| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 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. | |||||
| 2025-02-19 | Silence warnings with explicit, using, noexcept, [[nodiscard]], unnamed | Neil | 1 | -132/+118 | |
| namespace, = default, in-class default member initializers, avoiding NULL, avoiding unnecessary else. Use POINT for insets as POINT has integer fields avoiding casts. Simplified cursor setting. | |||||
| 2025-02-19 | Use ComPtr for render targets of SurfaceD2D. | Neil | 1 | -14/+13 | |
| Add comments about different types of Surface. | |||||
| 2025-02-18 | Use ComPtr for text formats and text layouts. | Neil | 1 | -59/+42 | |
| 2025-02-18 | Use ComPtr for geometric and graphic objects: brush, geometry, geometry sink, | Neil | 1 | -80/+78 | |
| stroke style, bitmap, and gradients to remove explicit release calls and possible leaks. Ensure HPEN and HBRUSH initialised. Not converting render targets, text formats or text layouts yet. | |||||
| 2025-02-17 | Switch to using ComPtr from WRL for render target code for simplicity and | Neil | 4 | -134/+73 | |
| familiarity. | |||||
| 2025-02-12 | Debug tracing was accidentally turned on so turn it off again. | Neil | 1 | -1/+1 | |
| 2025-02-12 | Implement Direct2D/DirectWrite 1.1. Add SC_TECHNOLOGY_DIRECT_WRITE_1 to use an | Neil | 3 | -49/+337 | |
| explicit swap chain and ID2D1DeviceContext. Stop supporting DirectWrite on Windows Vista. | |||||
| 2025-02-11 | Update Direct2D and DirectWrite functions and types to Direct2D 1.1. | Neil | 4 | -14/+51 | |
| 2025-02-10 | Use ID2D1HwndRenderTarget::Resize when handling WM_SIZE to avoid larger state | Neil | 1 | -1/+14 | |
| invalidation which may be more costly to restore. | |||||
| 2025-02-09 | Add RenderTargets to hold one render target at a time, either Hwnd or DC. | Neil | 3 | -39/+74 | |
| Drawing code just needs one or the other but other calls need a particular type with casting hiding potential problems. This will be more important in the future when a third type of render target ID2D1DeviceContext will be added. Use unique_ptr more for render targets to ensure they are freed correctly. | |||||
| 2025-02-09 | Wrap GetClientRect so it can be used more easily to produce const result. | Neil | 1 | -18/+21 | |
| Move GetSizeUFromRect earlier for possible new code. | |||||
| 2025-02-09 | Update Direct2D headers to Direct2D 1.1. | Neil | 2 | -4/+4 | |
| Doesn't change functionality yet but ensures more recent APIs will be available. | |||||
| 2025-02-09 | Standardize DLL freeing. | Neil | 1 | -15/+21 | |
| 2024-12-15 | Updates for version 5.5.4.rel-5-5-4 | Neil | 1 | -2/+2 | |
| 2024-12-03 | Feature [feature-requests:#1537]. Declare IME retrieval methods const. | Zufu Liu | 1 | -2/+2 | |
| 2024-11-26 | Bug [#2458]. Add include of cstdint to provide intptr_t and uintptr_t. | Neil | 2 | -0/+3 | |
| 2024-10-17 | Bug [#2449]. Only return 1 for WM_MOUSEHWHEEL. | Zufu Liu | 1 | -1/+2 | |
| 2024-10-14 | Updates for version 5.5.3. | Neil | 1 | -2/+2 | |
| 2024-10-14 | Bug [#2449]. Fix horizontal scrolling with Logi Options+. | Neil | 1 | -1/+1 | |
| Return 1 instead of documented 0 as this prevents interception of following WM_MOUSEHWHEEL messages, likely by Logi Options+ mouse driver. | |||||
| 2024-10-14 | Bug [#2449]. Fix direction of horizontal scrolling with touchpad. | Zufu Liu | 1 | -1/+5 | |
| 2024-08-27 | Use UndoGroup to ensure action ended if exception occurs. | Neil | 1 | -2/+1 | |
| 2024-08-18 | Updates for version 5.5.2.rel-5-5-2 | Neil | 1 | -2/+2 | |
| 2024-08-15 | Add SCI_STYLESETSTRETCH to support condensed and expanded text styles. | Neil | 1 | -2/+4 | |
| 2024-08-09 | Simplify code that sets an empty selection at a position. | Neil | 1 | -4/+2 | |
| 2024-07-19 | Updates for version 5.5.1.rel-5-5-1 | Neil | 1 | -2/+2 | |
| 2024-06-29 | Ensure clipboard is closed even if exception occurs while clipboard open. | Neil | 1 | -5/+25 | |
| 2024-06-21 | Feature [feature-requests:#1520]. Cherry pick DISABLE_D2D warning fix from ↵ | Martijn Laan | 1 | -1/+1 | |
| isscint. | |||||
| 2024-06-20 | Feature [feature-requests:#1518]. Cherry pick SCI_CUTALLOWLINE from isscint. | Martijn Laan | 1 | -1/+1 | |
| 2024-05-22 | Bug [#2321]. Use const for some unique_ptr variables. | Zufu Liu | 1 | -10/+8 | |
| 2024-05-13 | Move Direct2D unique_ptr creation functions and use where possible. | Neil | 1 | -73/+60 | |
| This encapsulates lifetimes better, ensuring resources will be freed and increases consistency between methods. | |||||
| 2024-05-10 | Bug [#2321]. Remove unused variable and declaration. | Zufu Liu | 1 | -4/+0 | |
| 2024-05-09 | Bug [#2321]. Scale reverse arrow cursor with Direct2D when enabled. | Zufu Liu | 3 | -95/+292 | |
| Implement arrow cursor colour choice. React to most settings changes. | |||||
