| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2022-07-04 | Avoid C-style cast and range reduction warnings from cppcheck 2.8. | Neil Hodgson | 1 | -4/+4 | |
| 2022-01-31 | Implement more unique_ptr allocation wrappers and place in new Wrappers.h ↵ | Neil Hodgson | 1 | -0/+1 | |
| header. | |||||
| 2021-09-28 | Widen styleNumber in PositionCacheEntry from 8 to 16 bits to allow styles | Neil | 1 | -0/+1 | |
| larger than 255 to be represented. Before this, it may have been possible but extremely rare for a cache entry to wrongly match a styled lexeme and produce incorrect layout. Using uint16_t from cstdint instead of a bit field as tools perform more checking on that. | |||||
| 2021-05-24 | Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.h | Neil | 1 | -84/+91 | |
| and ScintillaStructures.h using scoped enumerations. Use these headers instead of Scintilla.h internally. External definitions go in the Scintilla namespace and internal definitio0ns in Scintilla::Internal. | |||||
| 2021-05-22 | Rename ColourAlpha to ColourRGBA to avoid clashes when a ColourAlpha typedef | Neil | 1 | -1/+1 | |
| will be published in externally visible header. | |||||
| 2021-04-27 | Rename CharacterSet and CharacterCategory modules in Scintilla to CharacterType | Neil | 1 | -1/+1 | |
| and CharacterCategoryMap to avoid clashes with Lexilla when building an executable that includes both. | |||||
| 2021-04-25 | Feature [feature-requests:#1402]. Unify colour type with ColourAlpha. | Neil | 1 | -1/+1 | |
| Change ColourDesired to ColourAlpha in styles. Remove ColourDesired. | |||||
| 2021-04-23 | Remove volatile qualifiers as they cause an error with Clang 12. | Neil Hodgson | 1 | -2/+2 | |
| The glib documentation shows use without volatile and mentions that - While location has a volatile qualifier, this is a historical artifact and the pointer passed to it should not be volatile. https://developer.gnome.org/glib/stable/glib-Threads.html#g-once-init-enter | |||||
| 2021-03-29 | Add SCI_SETELEMENTCOLOUR and related APIs to change colours of visible elements. | Neil | 1 | -0/+1 | |
| Implement SC_ELEMENT_LIST* to change colours of autocompletion lists. | |||||
| 2021-03-18 | std::optional is a basic vocabulary type that may be used widely so include | Neil | 1 | -0/+1 | |
| almost everywhere. | |||||
| 2021-03-18 | Move assert and debug trace functions into their own header Debugging.h. | Neil | 1 | -0/+1 | |
| PLATFORM_ASSERT is used in data structure headers which led to including graphics and windowing APIs in data structure modules. | |||||
| 2021-03-17 | Extract geometry and colour definitions from Platform.h into src/Geometry.h. | Neil | 1 | -0/+1 | |
| 2020-11-02 | Use std::size instead of ELEMENTS so StringCopy.h is only used by Lexilla and | Neil | 1 | -1/+0 | |
| can be removed from Scintilla. | |||||
| 2020-03-29 | Widen types to size_t to match change from int to position of CallTipSetHlt | Neil | 1 | -0/+1 | |
| in Scintilla.iface. | |||||
| 2019-12-13 | Move SCI_LOADLEXERLIBRARY from platform layers to ScintillaBase.cxx. | Neil | 1 | -6/+0 | |
| This allows removal of related #include statements. | |||||
| 2019-12-13 | Fix incorrect comments. | Neil | 1 | -1/+1 | |
| 2019-04-05 | Bug [#2095]. gtk: Accessible: emit the text deletion signal before deletion | Colomban Wendling | 1 | -7/+3 | |
| This allows the accessibility layer to request detail, such as which characters have been deleted. ATK will query the deleted range to report the data that was removed, so it must still be available for the query to give a correct answer. So, emit the signal in BEFOREDELETE instead of DELETETEXT. | |||||
| 2019-04-05 | Bug [#2094]. gtk: Accessible: use the built-in character position cache | Colomban Wendling | 1 | -10/+6 | |
| It's quite a lot faster even after trying and optimizing the custom version, and it makes the code simpler. Also improve ByteOffsetFromCharacterOffset() to make use of the cache, making it drastically faster. | |||||
| 2019-03-29 | Include "CharacterCategory.h" in all files that include "Document.h" as it will | Neil | 1 | -0/+1 | |
| be needed for adding a CharacterCategory feature. | |||||
| 2019-03-27 | Fix problem with MinGW which defines NOMINMAX itself. | Neil | 1 | -0/+1 | |
| 2019-03-27 | Replace NULL/0 with nullptr. Mark noexcept where simple. | Neil | 1 | -47/+47 | |
| Move some static functions into anonymous namespace. | |||||
| 2019-03-27 | Add <algorithm> for std::min/max. Standardize on _WIN32 to gate Win32 features. | Neil | 1 | -1/+3 | |
| Protect from windows.h definition of min/max. | |||||
| 2019-01-07 | Stop variable shadowing. This makes the code easier to understand and improves | Neil | 1 | -1/+1 | |
| performance very slightly. | |||||
| 2018-05-14 | Include <string_view> to allow future use in Platform interface and Unicode. | Neil | 1 | -0/+1 | |
| 2018-05-02 | Decrease use of casts and replace reinterpret_cast with static_cast. | Neil Hodgson | 1 | -1/+1 | |
| 2018-03-24 | Feature [feature-requests:#1212]. Move Unicode conversions into UniConversion. | Zufu Liu | 1 | -1/+0 | |
| Move Unicode conversion functions UnicodeFromUTF8 and UTF8FromUTF32Character into UniConversion. | |||||
| 2018-03-15 | Use forward class definitions of XPM and RGBAImage so only code that uses them | Neil | 1 | -1/+0 | |
| needs to #include "XPM.h". Move definition of standard methods on LineMarker from header to implementation to reduce included text and further isolate use of XPM and RGBAImage. | |||||
| 2017-09-11 | The Scintilla namespace is always active for internal symbols and for the lexer | Neil | 1 | -2/+0 | |
| interfaces ILexer4 and IDocument. | |||||
| 2017-08-28 | New header ILoader.h defines ILoader interface as it does not belong in ↵ | Neil | 1 | -0/+1 | |
| ILexer.h. | |||||
| 2017-05-21 | Make SparseVector work with move-only types. | Neil | 1 | -0/+1 | |
| Define UniqueString as a move-only string and use in a SparseVector for ContractionState. Remove SparseVector method specializations that are no longer needed. | |||||
| 2017-04-01 | Standardize on C++ headers, remove headers that aren't needed and add <cstddef> | Neil | 1 | -2/+3 | |
| where it may be needed in the future. | |||||
| 2017-03-31 | Using Sci::Position and Sci::Line to mark variables that are document positions | Neil | 1 | -29/+29 | |
| and lines. | |||||
| 2017-03-08 | Bug [#1910]. Fixed more duplicate code. | Neil | 1 | -7/+0 | |
| 2017-03-07 | Bug [#1910]. Accessibility support may be queried and, on GTK+, disabled. | Neil | 1 | -0/+23 | |
| 2017-03-06 | Use several C++11 features as examples so problems with these features are seen. | Vicente | 1 | -0/+1 | |
| Features used are move constructor, unique_ptr, deleted functions, enum class, lambda expression, and range for loop. | |||||
| 2017-03-04 | Use C++11 keyword "override" for methods that override a base class. | Neil | 1 | -1/+1 | |
| 2017-02-21 | Bug [#1910]. GTK a11y: Speed up converting byte offsets to character offsets | Colomban Wendling | 1 | -0/+7 | |
| Use a per-line cache to avoid re-computing the offset from the start of the buffer each time. This dramatically speeds up multiple replacements on large files. | |||||
| 2017-02-26 | Bug [#1907]. GTK: Fix crash after destroying the widget on GTK < 3.3.6 | Colomban Wendling | 1 | -1/+3 | |
| On GTK2 and GTK3 < 3.3.6 there is no GtkAccessibleClass::widget_unset() method, so we can't destroy our accessible object right away. So, to avoid accessing a destroyed widget, we need to check whether the widget still exists in the the ScintillaGTKAccessible destructor. In other methods it's not necessary because the wrapping GObject class makes sure not to forward other when the widget has been destroyed, but we still have to destroy the C++ instance no matter what, so the check has to be on this side. | |||||
| 2017-02-08 | Bug [#1907]. GTK: Prevent running signal handlers on a destroyed a11y object | Colomban Wendling | 1 | -0/+1 | |
| Avoid crash when detaching the widget from the accessible object without destroying that widget. In such situations, the widget is still valid but we will have destroyed the orphaned accessible object. Thus, we must make sure we disconnected the signal handlers the late accessible had set up on the widget, as they won't be implicitly disconnected by widget finalization in this case. | |||||
| 2016-12-18 | GTK: Ensure styles are valid when retrieving them for accessibility purposes | Colomban Wendling | 1 | -3/+4 | |
| 2016-12-18 | GTK: Fix reporting deletion length in the accessible | Colomban Wendling | 1 | -2/+8 | |
| We cannot compute the length in characters after the text has been deleted, so we need to compute it in BEFOREDELETE. However, we need to emit the signal once the buffer has actually changed, so we need to cache the value in-between those events. | |||||
| 2016-12-18 | GTK: Fix off-by-one error in accessible attribute runs | Colomban Wendling | 1 | -3/+3 | |
| 2016-12-18 | GTK: Fix accessible object lifetime on GTK < 3.8 | Colomban Wendling | 1 | -20/+20 | |
| 2016-10-24 | GTK: Add some documentation on accessible object reference ownerships | Colomban Wendling | 1 | -0/+22 | |
| 2016-10-26 | Include windows.h on Windows and provide a ATK_CHECK_VERSION if not defined. | Neil | 1 | -0/+8 | |
| 2016-10-23 | Bug [#1874]. GTK: Avoid warnings about unused parameters | Colomban Wendling | 1 | -2/+2 | |
| Either remove the parameter name if it is never used, or mark it with G_GNUC_UNUSED when it might be used depending on some preprocessor flags. | |||||
| 2016-10-21 | Initial accessibility support for the GTK platform v7 | Colomban Wendling | 1 | -0/+1197 | |
