aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32
AgeCommit message (Collapse)AuthorFilesLines
2025-02-19Use ComPtr for render targets of SurfaceD2D.Neil1-14/+13
Add comments about different types of Surface.
2025-02-18Use ComPtr for text formats and text layouts.Neil1-59/+42
2025-02-18Use ComPtr for geometric and graphic objects: brush, geometry, geometry sink,Neil1-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-17Switch to using ComPtr from WRL for render target code for simplicity andNeil4-134/+73
familiarity.
2025-02-12Debug tracing was accidentally turned on so turn it off again.Neil1-1/+1
2025-02-12Implement Direct2D/DirectWrite 1.1. Add SC_TECHNOLOGY_DIRECT_WRITE_1 to use anNeil3-49/+337
explicit swap chain and ID2D1DeviceContext. Stop supporting DirectWrite on Windows Vista.
2025-02-11Update Direct2D and DirectWrite functions and types to Direct2D 1.1.Neil4-14/+51
2025-02-10Use ID2D1HwndRenderTarget::Resize when handling WM_SIZE to avoid larger stateNeil1-1/+14
invalidation which may be more costly to restore.
2025-02-09Add RenderTargets to hold one render target at a time, either Hwnd or DC.Neil3-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-09Wrap GetClientRect so it can be used more easily to produce const result.Neil1-18/+21
Move GetSizeUFromRect earlier for possible new code.
2025-02-09Update Direct2D headers to Direct2D 1.1.Neil2-4/+4
Doesn't change functionality yet but ensures more recent APIs will be available.
2025-02-09Standardize DLL freeing.Neil1-15/+21
2024-12-15Updates for version 5.5.4.rel-5-5-4Neil1-2/+2
2024-12-03Feature [feature-requests:#1537]. Declare IME retrieval methods const.Zufu Liu1-2/+2
2024-11-26Bug [#2458]. Add include of cstdint to provide intptr_t and uintptr_t.Neil2-0/+3
2024-10-17Bug [#2449]. Only return 1 for WM_MOUSEHWHEEL.Zufu Liu1-1/+2
2024-10-14Updates for version 5.5.3.Neil1-2/+2
2024-10-14Bug [#2449]. Fix horizontal scrolling with Logi Options+.Neil1-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-14Bug [#2449]. Fix direction of horizontal scrolling with touchpad.Zufu Liu1-1/+5
2024-08-27Use UndoGroup to ensure action ended if exception occurs.Neil1-2/+1
2024-08-18Updates for version 5.5.2.rel-5-5-2Neil1-2/+2
2024-08-15Add SCI_STYLESETSTRETCH to support condensed and expanded text styles.Neil1-2/+4
2024-08-09Simplify code that sets an empty selection at a position.Neil1-4/+2
2024-07-19Updates for version 5.5.1.rel-5-5-1Neil1-2/+2
2024-06-29Ensure clipboard is closed even if exception occurs while clipboard open.Neil1-5/+25
2024-06-21Feature [feature-requests:#1520]. Cherry pick DISABLE_D2D warning fix from ↵Martijn Laan1-1/+1
isscint.
2024-06-20Feature [feature-requests:#1518]. Cherry pick SCI_CUTALLOWLINE from isscint.Martijn Laan1-1/+1
2024-05-22Bug [#2321]. Use const for some unique_ptr variables.Zufu Liu1-10/+8
2024-05-13Move Direct2D unique_ptr creation functions and use where possible.Neil1-73/+60
This encapsulates lifetimes better, ensuring resources will be freed and increases consistency between methods.
2024-05-10Bug [#2321]. Remove unused variable and declaration.Zufu Liu1-4/+0
2024-05-09Bug [#2321]. Scale reverse arrow cursor with Direct2D when enabled.Zufu Liu3-95/+292
Implement arrow cursor colour choice. React to most settings changes.
2024-05-06Make LoadD2D noexcept so can be called in more situations.Zufu Liu2-3/+7
2024-04-19Updates for version 5.5.0.rel-5-5-0Neil1-2/+2
2024-04-18Bug [#2321]. Scale reverse arrow cursor for margins to match other cursors.Zufu Liu6-11/+36
2024-03-22Bug [#2433]. Fix IME crash in windowed mode.Zufu Liu1-4/+14
2024-03-17Fix MSVC C5055 warning in C++20 mode.Neil1-1/+1
2024-03-11Feature [feature-requests:#1512]. Avoid warning C26467 float to unsigned.Zufu Liu1-1/+2
2024-03-09Updates for version 5.4.3.rel-5-4-3Neil1-2/+2
2024-03-02Updates for version 5.4.2.rel-5-4-2Neil1-2/+2
2024-02-28Ensure keyboard-initiated context menu appears in multi-screen situations whenNeil1-12/+14
in PopUp::Text mode.
2024-02-28Encapsulate LPARAM to POINT conversion. Make PointFromLParam constexpr.Neil1-4/+8
2024-02-01Move UndoHistory into its own module that is accessible from CellBuffer andNeil4-0/+28
tests but hidden from most of Scintilla. Access through std::unique_ptr.
2024-01-18Add const to avoid cppcheck 2.13 warning.Markus Nißl1-1/+1
2024-01-18Use the multi-threaded option to Direct2D to avoid crashes when ScintillaMarkus Nißl1-2/+2
instances created on different threads.
2023-12-29Avoid casts and warnings for clipboard format registration.Neil1-8/+11
2023-12-22Updates for version 5.4.1.Neil1-2/+2
2023-11-18Updates for version 5.4.0.rel-5-4-0Neil Hodgson1-2/+2
2023-11-07Feature [feature-requests:#1501] More use of LineStartPosition, LineEndPosition.Zufu Liu1-1/+1
2023-11-02Updates for version 5.3.8.Neil1-2/+2
2023-10-10Share definition of colour used for IME indicators on most platforms.Neil1-4/+4