aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32
AgeCommit message (Collapse)AuthorFilesLines
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.
2020-02-09Backport: Standardise header guard names and use.Neil1-0/+5
Backport of changeset 7981:098231fb9d66.
2020-02-09Backport: Use uniform initialization for resetting GDI handles to avoid ↵Neil2-25/+25
NULL/0 warnings. Changed HDC, HPEN, HBRUSH, HFONT, HRGN, and HBITMAP. Backport of changeset 7980:587c0b6a5317.
2020-02-09Backport: Add noexcept to avoid warning.Neil1-2/+2
Backport of changeset 7979:d4834f824a9a.
2020-02-09Backport: Add a size to timer enumeration to avoid warnings.Neil1-1/+1
Backport of changeset 7978:d8030b757ed7.
2020-02-09Backport: Feature [feature-requests:#1340] Use Win32 types for EM_ messages.Zufu Liu1-9/+9
Backport of changeset 7977:508b5f6afbbc.
2020-02-09Backport: Feature [feature-requests:#1340] Move and use Point functions to ↵Zufu Liu3-14/+15
avoid casting. Backport of changeset 7976:4ba647207671.
2020-01-31Backport: Avoid Clang warning with extra test.Neil1-5/+5
Harmonize types to avoid casts. Backport of changeset 7967:ddf1b734e7f8.
2020-01-31Backport: Use more typesafe functions to remove casts.Neil3-19/+19
Backport of changeset 7966:2f6615753946.
2020-01-28Backport: Break WndProc up into shorter, more focussed methods.Neil1-399/+508
Backport of changeset 7965:983d3524f946.
2020-03-27Backport: Bug [#2152]. Ignore Alt+Keypad keys that will result in a WM_CHAR.mitchell1-2/+31
Backport of changeset 7961:6950bccc71ce.
2020-01-23Backport: Improve tracing of key down messages with more information.Neil1-1/+7
This is commented out and may be enabled by changing source code. Backport of changeset 7960:ff2eaa3cd2db.