Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
3 days | implicitly instantiate RunStyles: support ptrdiff_t if it has the same ↵ | Robin Haberkorn | 4 | -16/+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-22 | Stop making .BSC file as not needed and shows warnings. | Neil | 1 | -1/+1 | |
2025-06-12 | Squash some warnings, mostly by defining constants symbolically. | Neil | 3 | -22/+26 | |
2025-06-12 | Bug [#2482]. Force list colours to be opaque. | Sven Ritter | 1 | -2/+2 | |
Enlarge bitmap to avoid visible blank background between items. | |||||
2025-06-03 | Updates for version 5.5.7. | Neil | 1 | -2/+2 | |
2025-06-01 | Add SCI_SCROLLVERTICAL API. | Neil | 1 | -0/+1 | |
2025-05-24 | Remove line end space. | Zufu Liu | 2 | -2/+2 | |
2025-04-26 | For Korean IME VK_HANJA key, simplify code and avoid duplication and warnings. | Neil | 1 | -19/+14 | |
2025-04-23 | Encapsulate IME input context fully in IMContext class. All access to HIMC goes | Neil | 1 | -71/+86 | |
through this now. | |||||
2025-04-22 | Move common IME code from platform layers to ScintillaBase. | Neil | 1 | -30/+0 | |
2025-04-19 | Decrease warnings for reinterpret_cast since it is a common Win32 idiom to pass | Neil | 1 | -6/+6 | |
pointers as integers to window procedures. | |||||
2025-04-19 | Move most of the implementation of the static ListBoxX::ControlWndProc to the | Neil | 1 | -22/+25 | |
member function ListBoxX::ListProc so it can directly access state. Stop using GWLP_USERDATA to hold the previous window procedure of subclassed window since it can be stored in the ListBoxX object with better type-safety. Decrease warnings for reinterpret_cast since it is a common Win32 idiom to pass pointers as integers to window procedures. | |||||
2025-04-04 | Indent makefile more consistently to help clarify structure. | Neil | 1 | -9/+9 | |
2025-04-03 | Turn on type conversion warnings for GCC and fix them. | Neil | 4 | -14/+16 | |
2025-04-03 | Silence 'magic' number clang-tidy warning where there is intense use of literal | Neil | 1 | -0/+6 | |
constants for processing character encodings or similar and where declaring constants would make the code more obscure, not less. | |||||
2025-03-29 | Updates for version 5.5.6. | Neil | 1 | -2/+2 | |
2025-03-29 | Updated make dependencies. | Neil | 2 | -0/+2 | |
2025-03-29 | Use emplace_back to shorten code and avoid warning. | Neil | 1 | -1/+1 | |
2025-03-29 | Use constant definitions to avoid warnings. | Neil | 2 | -6/+14 | |
2025-03-29 | Simplify some boolean expressions and place brackets around subexpressions. | Neil | 3 | -12/+8 | |
2025-03-29 | Simplify WM_CHAR, particularly the handling of surrogate pairs. | Neil | 1 | -11/+16 | |
2025-03-29 | Harmonize types by prioritizing UINT32 over size_t since DirectWrite wants | Neil | 1 | -22/+22 | |
UINT32. | |||||
2025-03-29 | Reorder fields to ensure textLayout destroyed before blobs which it depends on. | Neil | 1 | -1/+2 | |
Otherwise there may be a crash inside DirectWrite. | |||||
2025-03-29 | Updated make dependencies. | Neil | 2 | -0/+2 | |
2025-03-28 | Use constant definition to avoid warning. | Neil | 1 | -1/+2 | |
2025-03-28 | Standardize access to system colours through GetSysColor and avoid casts. | Neil | 4 | -5/+11 | |
2025-03-27 | Optimize case-insensitive DBCS search to be around 5 times faster by using 64K | Neil | 1 | -45/+64 | |
memory to cache folding data for each DBCS code page used. | |||||
2025-03-27 | Use constant definitions to avoid warnings. | Neil | 1 | -14/+20 | |
2025-03-27 | Use constant for pointsPerInch. | Neil | 4 | -3/+6 | |
2025-03-27 | Use empty method to avoid warnings. | Neil | 1 | -3/+3 | |
2025-03-25 | Feature [feature-requests:#1546]. Move build clutter from src directory by | Ahmet Sait | 1 | -2/+5 | |
defaulting DIR_O to src\obj. | |||||
2025-03-25 | Feature [feature-requests:#1546]. Fix building for ARM64 on Win32. | Ahmet Sait | 1 | -1/+6 | |
2025-03-20 | Move SurfaceGDI, SurfaceD2D, ListBox, and associated code out of PlatWin.cxx to | Neil | 15 | -3526/+3895 | |
new files SurfaceGDI.cxx, SurfaceD2D.cxx, and ListBox.cxx + associated headers. | |||||
2025-03-20 | Standardize render target initialization. | Neil | 3 | -44/+40 | |
Use symbolic names for DPI instead of inline value 96. | |||||
2025-03-20 | Break CTWndProc into 3 methods by adding CTProcessMessage and CTPaint as it was | Neil | 1 | -79/+93 | |
too long and complex. | |||||
2025-03-20 | Remove else after return where it decreases both nesting and number of lines. | Neil | 1 | -163/+147 | |
2025-03-19 | Avoid warnings with explicit, =default, and making deleted methods public. | Neil | 1 | -13/+11 | |
2025-03-19 | Avoid NULL warnings. | Neil | 1 | -12/+12 | |
2025-03-19 | Encapsulate WM_PAINT handling. | Neil | 3 | -17/+23 | |
2025-03-19 | Encapsulate GDI memory bitmap code into a GDIBitMap class. | Neil | 1 | -103/+101 | |
2025-03-18 | Set autocompletion list width by measuring each item to find the widest instead | Neil | 1 | -21/+19 | |
of using an approximation which was sometimes wrong, clipping long items. | |||||
2025-03-18 | Use DirectWrite for autocompletion lists when DirectWrite chosen for document | Neil | 1 | -135/+204 | |
text. | |||||
2025-03-17 | Standardize creation of DIB sections with common code always using | Neil | 1 | -23/+37 | |
BITMAPV5HEADER for both GDI drawing and cursor creation. | |||||
2025-03-17 | Handle setting redraw back on correctly as documented by Microsoft. | Neil | 1 | -2/+3 | |
Will allow future simplification of logic and optimization. | |||||
2025-03-17 | Avoid null warning. | Neil | 1 | -1/+1 | |
2025-03-12 | Hoist RECT to PRectangle conversions into a function. | Neil | 3 | -4/+8 | |
2025-03-09 | Avoid warnings by replacing &[0] with .data(), adding [[nodiscard]], replacing | Neil | 2 | -36/+36 | |
typedef with using, and initialising at declaration. | |||||
2025-03-06 | Move static functions and variables into unnamed namespace and use constexpr. | Neil | 1 | -12/+12 | |
2025-02-22 | Updates for version 5.5.5. | Neil | 1 | -2/+2 | |
2025-02-20 | Move SizeOfRect to header to allow use in ScintillaWin.cxx where it simplifies | Neil | 3 | -8/+7 | |
and avoids type warnings. |