Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2025-04-03 | Turn on type conversion warnings for GCC and fix them. | Neil | 1 | -4/+4 | |
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 | 1 | -2/+7 | |
2025-03-20 | Move SurfaceGDI, SurfaceD2D, ListBox, and associated code out of PlatWin.cxx to | Neil | 1 | -3506/+11 | |
new files SurfaceGDI.cxx, SurfaceD2D.cxx, and ListBox.cxx + associated headers. | |||||
2025-03-20 | Standardize render target initialization. | Neil | 1 | -11/+4 | |
Use symbolic names for DPI instead of inline value 96. | |||||
2025-03-19 | Encapsulate WM_PAINT handling. | Neil | 1 | -3/+1 | |
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 | 1 | -3/+3 | |
2025-03-09 | Avoid warnings by replacing &[0] with .data(), adding [[nodiscard]], replacing | Neil | 1 | -3/+3 | |
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-20 | Move SizeOfRect to header to allow use in ScintillaWin.cxx where it simplifies | Neil | 1 | -4/+0 | |
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 | 1 | -36/+19 | |
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 | 1 | -1/+77 | |
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 | 1 | -5/+6 | |
2025-02-09 | Add RenderTargets to hold one render target at a time, either Hwnd or DC. | Neil | 1 | -9/+17 | |
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 | Update Direct2D headers to Direct2D 1.1. | Neil | 1 | -2/+2 | |
Doesn't change functionality yet but ensures more recent APIs will be available. | |||||
2025-02-09 | Standardize DLL freeing. | Neil | 1 | -15/+21 | |
2024-11-26 | Bug [#2458]. Add include of cstdint to provide intptr_t and uintptr_t. | Neil | 1 | -0/+1 | |
2024-08-15 | Add SCI_STYLESETSTRETCH to support condensed and expanded text styles. | Neil | 1 | -2/+4 | |
2024-06-21 | Feature [feature-requests:#1520]. Cherry pick DISABLE_D2D warning fix from ↵ | Martijn Laan | 1 | -1/+1 | |
isscint. | |||||
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 | 1 | -70/+277 | |
Implement arrow cursor colour choice. React to most settings changes. | |||||
2024-05-06 | Make LoadD2D noexcept so can be called in more situations. | Zufu Liu | 1 | -2/+6 | |
2024-04-18 | Bug [#2321]. Scale reverse arrow cursor for margins to match other cursors. | Zufu Liu | 1 | -3/+10 | |
2024-03-17 | Fix MSVC C5055 warning in C++20 mode. | Neil | 1 | -1/+1 | |
2024-01-18 | Add const to avoid cppcheck 2.13 warning. | Markus Nißl | 1 | -1/+1 | |
2024-01-18 | Use the multi-threaded option to Direct2D to avoid crashes when Scintilla | Markus Nißl | 1 | -2/+2 | |
instances created on different threads. | |||||
2023-10-06 | Fix COPY_INSTEAD_OF_MOVE performance warnings from Coverity. | Neil | 1 | -1/+1 | |
2023-06-22 | Bug [#2382]. Fix reverse arrow cursor when scaled. | Markus Nißl | 1 | -39/+89 | |
2023-04-09 | Feature [feature-requests:#1485] Follow rule-of-zero to omit standard methods. | Zufu Liu | 1 | -9/+3 | |
2023-03-27 | Bug [#1923]. Remove dependence on MSIMG32.DLL on Win32 by replacing AlphaBlend | Mat Berchtold | 1 | -3/+3 | |
by GdiAlphaBlend. | |||||
2023-03-27 | Declare const where possible. | Neil | 1 | -10/+10 | |
2023-02-22 | Remove _CRT_SECURE_NO_DEPRECATE. | Neil | 1 | -2/+2 | |
Replace [v]sprintf with bounds checked [v]snprintf. | |||||
2022-11-29 | Bug [#2344]. When GDI scaling is active, ensure correct monitor used for | Neil | 1 | -2/+2 | |
determining scale factor. Function name changed to avoid possibility of confusion with Win32 API. | |||||
2022-11-26 | Bug [#2344]. Avoid blurry display with DirectWrite in GDI scaling mode. | Markus Nißl | 1 | -8/+44 | |
https://sourceforge.net/p/scintilla/code/merge-requests/28/ | |||||
2022-10-29 | Bug [#2344]. Use the top-level window to find the monitor for DirectWrite | Markus Nißl | 1 | -0/+23 | |
rendering parameters. Temporarily switch DPI awareness to find correct monitor in GDI scaling mode. https://sourceforge.net/p/scintilla/code/merge-requests/34/ | |||||
2022-10-23 | Feature [feature-requests:#1457] Reuse MouseWheelDelta for autocompletion lists. | Zufu Liu | 1 | -10/+4 | |
This code triggers when wheel rotated and mouse is outside list. | |||||
2022-09-17 | Bug [#2344]. Limit render target to image area when drawing images with Direct2D | Markus Nißl | 1 | -6/+8 | |
for autocompletion lists. This prevents the text appearing blurred with GDI scaling. |