aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32
AgeCommit message (Collapse)AuthorFilesLines
2020-09-12Updated for 3.21.1.rel-3-21-1mitchell1-2/+2
2020-08-03Backport: Bug [#2170]. Fixed cursor flicker when click past end of file and ↵uhf71-1/+4
there is an indicator at file end. Backport of changeset 8471:34147e899966.
2020-07-31Backport: Refactored ContextCursor to avoid multiple Point conversions.Neil1-15/+15
Reversed order of selection checks as SelectionEmpty is lighter than PointInSelection. Backport of changeset 8468:7b1106eeebbb.
2020-07-31Backport: Bug [#2170]. Fixed cursor flicker over an indicator with hover style.uhf71-0/+2
Backport of changeset 8467:cb319e3ab20e.
2020-07-29Backport: Use dynamic_cast for SurfaceGDI::Copy as it will fail better if a ↵Neil1-1/+1
mistake made. Backport of changeset 8464:73514a371867.
2020-07-28Backport: Fix factory leak by using global factory instead of getting from ↵Neil1-4/+1
render target. Backport of changeset 8461:3626579329d1.
2020-07-27Backport: Add private SurfaceD2D::GetBitmap to better encapsulate the bitmap ↵Neil1-8/+11
render target and simplify callers. Backport of changeset 8460:6e7bbeda1f5a.
2020-07-27Updated for version 3.21.0.rel-3-21-0mitchell1-2/+2
2020-07-15Backport: Hoist common conversion code into RectangleFromPRectangle.Neil1-4/+12
Backport of changeset 8405:004e2fe0cc50.
2020-07-15Backport: Add 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. Backport of changeset 8403:0c52875b4c8c.
2020-07-11Backport: Removed GetNearestColor as paletted displays are no longer supported.Neil1-3/+1
Backport of changeset 8397:c1ad4413f156.
2020-06-19Reverted experimental Lexilla and SCI_SETILEXER support.mitchell5-50/+4
When testing, it works when compiled with debug symbols enabled, but crashes without them. It doesn't seem worth maintaining.
2020-06-15Backport: Use ReleaseUnknown to extend noexcept over finalisation.Zufu Liu4-25/+12
Backport of changeset 8305:986abc429f9a.
2020-06-11Backport: Fix bug on Win32 where calling WM_GETTEXT for more text than in ↵Neil1-1/+1
document could return less text than in document. Backport of changeset 8302:2faf8ba9d1fb.
2020-06-11Backport: Bug [#2185]. Fix printing to use correct text size.Neil1-1/+3
Backport of changeset 8301:b006d175ac85.
2020-06-11Backport: Avoid warning for potential nullptr dereference that is not ↵Neil1-2/+4
actually possible. Backport of changeset 8298:95489a5b6e62.
2020-06-06Backport: Implement gradients for GDI. GradientRectangle previously drew an ↵Neil1-5/+60
average of the first two stops over the whole rectangle. Backport of changeset 8291:41857e0d7b3a.
2020-06-06Backport: Add DIBSection class to simplify bitmap operations on GDI.Neil1-66/+121
Backport of changeset 8290:7d93501a4443.
2020-06-06Backport: Avoid type-pun union when converting from RGBA colour to DWORD as ↵Neil1-13/+9
this may be undefined or implementation defined behaviour. Drop some casts by hoisting out part of dwordMultiplied. Backport of changeset 8289:a53064f376c5.
2020-06-06Backport: Specify locally visible methods as noexcept.Neil1-20/+20
Backport of changeset 8288:8b00e43e66b2.
2020-06-06Backport: Prefer .data() over &[0] as more explicit.Neil1-2/+2
Backport of changeset 8287:f8749b773e12, but without C++17 and C++20 features.
2020-06-06Backport: Add ReleaseUnknown to safely release IUnknown* and avoid warnings ↵Neil3-14/+22
when done in noexcept context. Backport of changeset 8286:bddda9b7df4f.
2020-06-06Backport: Bug [#2063]. On Windows 8.1 where GetDpiForWindow is not ↵Zufu Liu1-0/+23
available, use GetDpiForMonitor to emulate it. Backport of changeset 8285:426f23226f0d.
2020-05-28Backport: Bug [#2171]. Check for DPI change in WM_DPICHANGED_AFTERPARENT ↵Zufu Liu1-11/+12
instead of every paint. Backport of changeset 8268:61ff49227e40.
2020-05-28Backport: Bug [#2063]. Call AdjustWindowRectExForDpi when available to find ↵Zufu Liu1-8/+16
correct size. Backport of changeset 8267:5899b54cc783.
2020-05-27Backport: Bug [#2063]. Make reverse arrow cursor scale with DPI.Zufu Liu3-9/+67
Backport of changeset 8265:01940b16fb7e.
2020-05-27Backport: Bug [#2063]. Add SystemMetricsForDpi and use for ListBox and mouse ↵Zufu Liu3-19/+46
drag and drop. Simplify IME font definition. Backport of changeset 8264:2dd165934cbb.
2020-05-25Backport: Ensure dpi initialized and updated after WM_DPICHANGED.Zufu Liu1-0/+3
Backport of changeset 8261:e66e1391c102.
2020-05-20Backport: Fix some minor warnings.Neil2-15/+14
Backport of changeset 8246:2cb0e52ada52.
2020-05-19Backport: Bug [#2171]. Implement per-monitor DPI Awareness on Windows.Neil3-21/+61
Backport of changeset 8244:134a3860b01e.
2020-06-17Backport: Encapsulate GetProcAddress in a way that avoids undefined and ↵mitchell3-31/+38
conditionally defined behaviour. Backport of changeset 8243:09cccd3f867b.
2020-05-02Backport: Feature [feature-requests:1349] Define CopyAllowLine only on ↵Neil1-7/+0
Editor, not subclass. Backport of changeset 8223:a81895285b46.
2019-12-31Backport: Implement SCI_SETILEXER.Neil5-4/+49
Backport of changeset 7871:ff54e1fc74f3, but with the ability to distinguish between ILexer and ILexer5 interfaces.
2020-05-09Updated for 3.20.0.mitchell1-2/+2
2020-05-09Updated makefile deps.mitchell2-8/+336
2020-04-17Backport: Arithmetic between enums is deprecated so use constexpr instead of ↵Neil1-3/+4
enum or cast. Added constexpr where reasonable. Backport of changeset 8151:5f70c1eb371b.
2020-04-05Backport: Feature [feature-requests:1345]. Use ListBox_ macros in preference ↵Neil1-10/+10
to LB_ messages. Modify types to match. Backport of changeset 8111:d15f7fe3467b.
2020-04-05Backport: Feature [feature-requests:1345] Use more typesafe code to clear ↵Neil3-14/+9
window pointers, share implementation of window pointers between files, use GetWindowStyle. Backport of changeset 8110:33f16ac2c3ca.
2020-03-26Backport: Fix spelling mistakes.Neil2-3/+3
Backport of changeset 8028:78a688809e75.
2020-03-25Backport: Replace const with constexpr where possible.Neil1-10/+6
Backport of changeset 8026:3d47c097aa3f.
2020-03-25Backport: Fix link warning by using incorrect subsystem value for 64-bit ↵Neil1-0/+6
Windows XP. Relies on Platform environment variable and defaults to 32-bit. Backport of changeset 8025:5a6e242072ae.
2020-03-17Backport: Remove CRITICAL_SECTION by creating reverse arrow cursor at ↵Neil1-30/+17
initialization. InitializeCriticalSection inside DllMain can cause exceptions on old Windows. Backport of changeset 8009:ef650c1aa3ca.
2020-03-13Backport: Using constexpr in UniConversion and CaseConvert.Neil1-1/+1
Backport of changeset 8004:7052c60ce1b2.
2020-03-13Backport: Mark ImmEscapeW as global.Neil1-1/+1
Backport of changeset 8003:5cc508fe4b9c.
2020-03-11Backport: Handle Japanese IME input when both GCS_COMPSTR and GCS_RESULTSTR set.Zufu Liu1-2/+4
Backport of changeset 8002:92d3ec579869.
2020-02-18Backport: Bug [#2156]. Move IME method declarations together.Neil1-5/+4
Backport of changeset 7988:2fe0730cf4d7.
2020-02-15Backport: Extract image conversion from RGBA to BGRA premultiplied into ↵Neil1-21/+6
common function. Backport of changeset 7987:beeac488af4d.
2020-02-15Backport: Bug [#2138]. For pixmap, balance call to BeginDraw with EndDraw.Neil1-0/+2
This avoids a warning when Direct2D debugging turned on. Backport of changeset 7986:8c409393be53.
2020-03-27Backport: Use dynamic_cast and assertion instead of static_cast to fail ↵mitchell1-13/+20
earlier if there is a bug. Backport of changeset 7984:0f23c38fa1ac.
2020-02-12Backport: Bug [#2156]. Process IME messages that were broken by [983d35].Neil1-7/+19
Move WM_INPUTLANGCHANGE[REQUEST] into IMEMessage. Backport of changeset 7982:5205bdd9c737.