Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
3 days | implicitly instantiate RunStyles: support ptrdiff_t if it has the same ↵ | Robin Haberkorn | 2 | -8/+0 | |
storage size as int, but does *not* alias it * This is the case e.g. on NetBSD 10 for ARMv6 where Sci::Position == ptrdiff_t == long int, but obviously for other platforms as well, where it causes "invalid conversion" and "undefined symbol" errors. Scintilla was testing for aliasability by comparing the storage size with sizeof() or PTRDIFF_MAX == INT_MAX at the preprocessor level. This was fundamentally flawed. * In LineVector<T>::InsertLines() we are now using the C++17 construct std::is_convertible_v<From*,To*> instead. * We need RunStyles<ptrdiff_t> as well on the affected platforms. AFAIK this is impossible to test for in a constant expression that can be used with the preprocessor. A workaround has been added previously for Haiku: https://groups.google.com/g/scintilla-interest/c/xPXquJUIXo8/m/BLXBpTTgBwAJ The workaround is not very robust, as probably nobody guarantees that ptrdiff_t never aliases on Haiku. If it does, you will suddenly get errors about duplicate template instantiations. Quite possibly, the explicit instantiations of RunStyles were wrong on certain 32-bit Linux variants as well. * We could have tried to explicitly instantiate RunStyles for all scalar types that could possibly be behind ptrdiff_t. Unfortunately, it would result in "possible loss of data" warnings on MSVC. Instead, we now implicitly instantiate RunStyles. | |||||
2025-06-01 | Add SCI_SCROLLVERTICAL API. | Neil | 1 | -0/+1 | |
2025-05-16 | Feature [feature-requests:#1488]. Update IME cursor position inside retrieve | johnsonj | 1 | -0/+7 | |
surrounding to better position candidate window. | |||||
2025-05-12 | Add SCI_AUTOC{G,S}ETIMAGESCALE and implement for Qt and GTK. | orbitalquark | 1 | -4/+30 | |
2025-05-11 | Feature [feature-requests:#1476]. Fix IME delete surrounding when tentative | johnsonj | 1 | -0/+4 | |
composition active. | |||||
2025-05-06 | Feature [feature-requests:#1476]. Simplify code for retrieve surrounding text. | johnsonj | 1 | -17/+2 | |
2025-05-05 | Bug [#2416]. Reset vertical scroll bar synchronously in SCI_SETDOCPOINTER to fix | Neil Hodgson | 1 | -0/+2 | |
bug where scroll position not restored in non-wrap mode. | |||||
2025-04-22 | Move common IME code from platform layers to ScintillaBase. | Neil | 2 | -25/+0 | |
2025-02-06 | Bug [#2460]. Workaround incorrect scaling of "reverse arrow" cursor under ↵ | Jiří Techet | 1 | -0/+6 | |
Windows and HiDPI screens The GDK_RIGHT_PTR cursor is provided only by GTK - there's no native Windows cursor of this shape so GTK renders the cursor by itself from the cursor theme bitmap. The code doing this is apparently buggy and does not take into account HiDPI screens so on a screen with 300% scaling, the cursor is 3x smaller. Workaround this by using GDK_HAND2 which maps to a native Windows cursor that doesn't suffer from this problem. See https://sourceforge.net/p/scintilla/bugs/2460/ | |||||
2024-11-26 | Bug [#2458]. Add include of cstdint to provide intptr_t and uintptr_t. | Neil | 1 | -0/+1 | |
2024-10-26 | On GTK, allow middle click to insert multiple times within a document. | Colomban Wendling | 1 | -1/+1 | |
https://github.com/geany/geany/issues/2629 | |||||
2024-08-15 | Add SCI_STYLESETSTRETCH to support condensed and expanded text styles. | Neil | 1 | -0/+2 | |
2024-08-09 | Simplify code that sets an empty selection at a position. | Neil | 1 | -2/+1 | |
2024-05-24 | Bug [#2439]. Prevent warnings in log from unreferencing NULL cursor. | Neil Hodgson | 1 | -1/+2 | |
2024-05-22 | Use standard attribute instead of GCC extension to avoid lint diagnostics. | Neil | 1 | -1/+1 | |
2024-03-02 | Updates for version 5.4.2.rel-5-4-2 | Neil | 1 | -0/+1 | |
2024-02-29 | Improve layout when a text run contains left-to-right and right-to-left ranges. | Neil Hodgson | 1 | -0/+22 | |
2024-02-01 | Move UndoHistory into its own module that is accessible from CellBuffer and | Neil | 2 | -0/+14 | |
tests but hidden from most of Scintilla. Access through std::unique_ptr. | |||||
2023-10-10 | Share definition of colour used for IME indicators on most platforms. | Neil | 1 | -4/+5 | |
2023-10-10 | Use global constants for opaque black and white and local constants for greys. | Neil | 1 | -1/+1 | |
Makes it easier to understand and reduces warnings. | |||||
2023-09-13 | Fix assertion failure on some systems when an INDIC_SQUIGGLEPIXMAP drawn for a | Enrico Tröger | 1 | -0/+2 | |
zero-width character. | |||||
2023-08-28 | Bug [#2401]. gtk: Set type hint for GTK_WINDOW_POPUP windows | Jiří Techet | 2 | -0/+3 | |
Without setting the hint the popup windows lead to some obscure behavior on macOS when the main window is full screened, see https://gitlab.gnome.org/GNOME/gtk/-/issues/5716 https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5778 while the solution from 5778 might be a sufficient workaround, setting the hints might be a good idea in general so the window manager knows better the purpose of these windows. | |||||
2023-06-28 | Add const where viable. | Neil | 1 | -1/+1 | |
2023-06-25 | Strip line end white-space. | Neil | 2 | -2/+2 | |
2023-02-28 | Cache client rectangle when view resized. That makes it safer to access from | Neil Hodgson | 2 | -1/+10 | |
secondary threads. | |||||
2023-02-22 | Remove _CRT_SECURE_NO_DEPRECATE. | Neil | 2 | -2/+1 | |
Replace [v]sprintf with bounds checked [v]snprintf. | |||||
2023-02-13 | Updated dependencies as PositionCache.cxx now uses DBCS.h. | Neil | 1 | -0/+1 | |
2023-01-27 | Feature [feature-requests:#1476] Add support for surrounding text in GTK ↵ | Colomban Wendling | 2 | -0/+68 | |
input methods Add support for retrieving and deleting surrounding text from input methods on GTK. | |||||
2023-01-17 | Bug [#2375]. On Win32, fix scrolling speed to not be too fast. | Enrico Tröger | 1 | -1/+1 | |
2022-12-01 | Change release compilation optimization option to favour speed over space. | Mitchell Foral | 1 | -1/+1 | |
-O2 for MSVC and -O3 for gcc and clang. Change code in Editor.cxx to avoid a warning that occurs with gcc -O3. | |||||
2022-10-04 | Bug [#2349]. Fix bug where there were too many or too few lines when wrapping. | Neil Hodgson | 1 | -0/+6 | |
2022-07-31 | Added change history which can display document changes (modified, saved, ...) | Neil | 2 | -0/+14 | |
in the margin or in the text. | |||||
2022-07-05 | Fix failures with non-UTF-8 text when multi-threading. The Converter object on | Neil Hodgson | 1 | -8/+33 | |
SurfaceImpl uses g_iconv and could be called from multiple threads without synchronization leading to occasional errors and potentially out-of-bounds writes. | |||||
2022-07-04 | Avoid C-style cast and range reduction warnings from cppcheck 2.8. | Neil Hodgson | 3 | -17/+15 | |
2022-04-29 | Feature [feature-requests:#1427] Enable multithreaded layout for GTK on macOS | Neil Hodgson | 1 | -3/+0 | |
and Win32. | |||||
2022-04-29 | Update make dependencies. | Neil | 1 | -0/+1 | |
2022-04-08 | Feature [feature-requests:#1389] Initialize CaseFolderTable to ASCII so | Neil | 1 | -2/+0 | |
subclasses do not need to call StandardASCII. Avoid some lint warnings. | |||||
2022-04-07 | Bug [#2322] Fix partial updates and non-responsive scroll bars on Xorg. | Neil Hodgson | 2 | -0/+29 | |
Also fixes bugs [#2196] and [#2312]. | |||||
2022-03-23 | On GTK, scroll horizontally with shift + scroll wheel. | Mitchell Foral | 1 | -7/+4 | |
2022-02-25 | Bug [#2309] Avoid crash for unexpected right-to-left text. | Neil Hodgson | 1 | -11/+41 | |
2022-02-24 | Bug [#2315] Update dependencies for KeyMap. | Neil | 1 | -0/+2 | |
2022-02-21 | Bug [#2317] Fix pixmap leak on GTK. | Neil Hodgson | 1 | -5/+6 | |
2022-02-16 | Fix re-entrant painting to maintain update region. | Mitchell Foral | 1 | -5/+5 | |
2022-02-16 | Fix preprocessor condition to enable threading on Linux. | Neil Hodgson | 1 | -1/+1 | |
2022-02-10 | Replace "OS X' with "macOS". | Neil | 2 | -2/+1 | |
2022-02-02 | Add Supports::ThreadSafeMeasureWidths for platforms to indicate if they support | Neil | 1 | -0/+4 | |
concurrent calls to MeasureWidths. | |||||
2022-01-31 | Turn off tracing that was accidentally committed. | Neil | 1 | -1/+1 | |
2022-01-31 | Place CaseFolderDBCS in unnamed namespace to avoid one definition rule warnings | Neil Hodgson | 1 | -0/+4 | |
(ctuOneDefinitionRuleViolation) from Cppcheck. | |||||
2022-01-31 | Implement more unique_ptr allocation wrappers and place in new Wrappers.h ↵ | Neil Hodgson | 6 | -257/+247 | |
header. | |||||
2022-01-31 | Simplify Converter and avoid warnings. | Neil Hodgson | 1 | -5/+2 | |