aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32
AgeCommit message (Collapse)AuthorFilesLines
2020-07-18Updates for 4.4.4.Neil1-2/+2
2020-07-17Tidied up code using wstring, which will often avoid allocating, and fixingNeil1-9/+9
variable names.
2020-07-17Fix truncation of locale due to not counting NUL. Add return code check.Neil1-2/+4
2020-07-15Hoist common conversion code into RectangleFromPRectangle.Neil1-4/+12
2020-07-15Stronger argument validation in BlobInline methods.Neil1-1/+9
2020-07-15Add extra checking and assertions for NULLs.Neil1-30/+34
Use ReleaseUnknown which is noexcept making it easier to reason about exceptions. Add constexpr where possible.
2020-07-11Removed GetNearestColor as paletted displays are no longer supported.Neil1-3/+1
2020-06-15Use ReleaseUnknown to extend noexcept over finalisation.Zufu Liu4-25/+12
2020-06-13Add include that defines back_inserter.Greg Smith1-0/+1
2020-06-11Fix bug on Win32 where calling WM_GETTEXT for more text than in document couldNeil1-1/+1
return less text than in document.
2020-06-11Bug [#2185]. Fix printing to use correct text size.Neil1-1/+3
2020-06-11Avoid warning for potential nullptr dereference that is not actually possible.Neil1-2/+4
2020-06-06Implement gradients for GDI. GradientRectangle previously drew an average of theNeil1-5/+60
first two stops over the whole rectangle.
2020-06-06Add DIBSection class to simplify bitmap operations on GDI.Neil1-66/+121
2020-06-06Avoid type-pun union when converting from RGBA colour to DWORD as this may beNeil1-13/+9
undefined or implementation defined behaviour. Drop some casts by hoisting out part of dwordMultiplied.
2020-06-06Specify locally visible methods as noexcept.Neil1-20/+20
2020-06-06Prefer .data() over &[0] as more explicit.Neil1-10/+7
Use range for when reasonable. Prefer transform over explicit loop.
2020-06-06Add ReleaseUnknown to safely release IUnknown* and avoid warnings when done inNeil3-18/+23
noexcept context.
2020-06-06Bug [#2063]. On Windows 8.1 where GetDpiForWindow is not available, useZufu Liu1-0/+23
GetDpiForMonitor to emulate it.
2020-06-06Use call_once for initialising Direct2D so only done once even with threads.Neil1-59/+61
2020-06-06Defer most initialisation until Scintilla window is created.Neil3-21/+28
Previously, more initialisation was performed inside DllMain but some actions such as loading libraries are unsafe inside DllMain. Avoid listbox UnregisterClass if no attempt to register which will occur if no Scintilla windows were created. std::call_once is used to ensure initialisation is performed at most once.
2020-06-03Updates for 4.4.3.Neil1-2/+2
2020-06-02Updates for 4.4.2.rel-4-4-2Neil1-2/+2
2020-05-28Updates for 4.4.0.Neil1-2/+2
2020-05-28Bug [#2171]. Check for DPI change in WM_DPICHANGED_AFTERPARENT instead of everyZufu Liu1-11/+12
paint.
2020-05-28Bug [#2063]. Call AdjustWindowRectExForDpi when available to find correct size.Zufu Liu1-8/+16
2020-05-27Bug [#2063]. Make reverse arrow cursor scale with DPI.Zufu Liu3-9/+67
2020-05-27Bug [#2063]. Add SystemMetricsForDpi and use for ListBox and mouse drag and ↵Zufu Liu3-19/+46
drop. Simplify IME font definition.
2020-05-25Ensure dpi initialized and updated after WM_DPICHANGED.Zufu Liu1-0/+3
2020-05-20Fix some minor warnings.Neil2-22/+21
2020-05-19Bug [#2171]. Implement per-monitor DPI Awareness on Windows.Neil3-21/+61
2020-05-19Encapsulate GetProcAddress in a way that avoids undefined and conditionallyNeil3-31/+38
defined behaviour.
2020-05-11Remove lexers from libscintilla.lib / libscintilla.a.Neil2-2/+2
2020-05-02Feature [feature-requests:1349] Define CopyAllowLine only on Editor, not ↵Neil1-7/+0
subclass.
2020-04-23Updates for 4.3.3.rel-4-3-3Neil1-2/+2
2020-04-17Making dependencies now requires Python 3.6+.Neil5-7/+9
2020-04-17Arithmetic between enums is deprecated so use constexpr instead of enum or cast.Neil1-3/+4
Added constexpr where reasonable.
2020-04-05Feature [feature-requests:1345]. Use ListBox_ macros in preference to LB_Neil1-10/+10
messages. Modify types to match.
2020-04-05Feature [feature-requests:1345] Use more typesafe code to clear window pointers,Neil3-14/+9
share implementation of window pointers between files, use GetWindowStyle.
2020-03-26Add Visual C++ project files for Lexilla.DLL and Scintilla.DLL with no lexers.Neil1-0/+182
2020-03-26Fix spelling mistakes.Neil2-3/+3
2020-03-25Replace const with constexpr where possible.Neil1-10/+6
2020-03-25Fix link warning by using incorrect subsystem value for 64-bit Windows XP.Neil1-0/+6
Relies on Platform environment variable and defaults to 32-bit.
2020-03-17Remove CRITICAL_SECTION by creating reverse arrow cursor at initialization.Neil1-30/+17
InitializeCriticalSection inside DllMain can cause exceptions on old Windows.
2020-03-13Using constexpr in UniConversion and CaseConvert.Neil1-1/+1
2020-03-13Mark ImmEscapeW as global.Neil1-1/+1
2020-03-11Handle Japanese IME input when both GCS_COMPSTR and GCS_RESULTSTR set.Zufu Liu1-2/+4
2020-03-06Readying 4.3.1 release.rel-4-3-2Neil1-2/+2
2020-03-06Fix bug where all drops were treated as rectangular.Neil1-1/+1
2020-03-01Readying 4.3.1 release.rel-4-3-1Neil1-2/+2