| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2020-07-29 | Backport: Use dynamic_cast for SurfaceGDI::Copy as it will fail better if a ↵ | Neil | 1 | -1/+1 | |
| mistake made. Backport of changeset 8464:73514a371867. | |||||
| 2020-07-28 | Backport: Fix factory leak by using global factory instead of getting from ↵ | Neil | 1 | -4/+1 | |
| render target. Backport of changeset 8461:3626579329d1. | |||||
| 2020-07-27 | Backport: Add private SurfaceD2D::GetBitmap to better encapsulate the bitmap ↵ | Neil | 1 | -8/+11 | |
| render target and simplify callers. Backport of changeset 8460:6e7bbeda1f5a. | |||||
| 2020-07-15 | Backport: Hoist common conversion code into RectangleFromPRectangle. | Neil | 1 | -4/+12 | |
| Backport of changeset 8405:004e2fe0cc50. | |||||
| 2020-07-15 | Backport: Add extra checking and assertions for NULLs. | Neil | 1 | -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-11 | Backport: Removed GetNearestColor as paletted displays are no longer supported. | Neil | 1 | -3/+1 | |
| Backport of changeset 8397:c1ad4413f156. | |||||
| 2020-06-15 | Backport: Use ReleaseUnknown to extend noexcept over finalisation. | Zufu Liu | 1 | -22/+9 | |
| Backport of changeset 8305:986abc429f9a. | |||||
| 2020-06-11 | Backport: Bug [#2185]. Fix printing to use correct text size. | Neil | 1 | -1/+3 | |
| Backport of changeset 8301:b006d175ac85. | |||||
| 2020-06-06 | Backport: Implement gradients for GDI. GradientRectangle previously drew an ↵ | Neil | 1 | -5/+60 | |
| average of the first two stops over the whole rectangle. Backport of changeset 8291:41857e0d7b3a. | |||||
| 2020-06-06 | Backport: Add DIBSection class to simplify bitmap operations on GDI. | Neil | 1 | -66/+121 | |
| Backport of changeset 8290:7d93501a4443. | |||||
| 2020-06-06 | Backport: Avoid type-pun union when converting from RGBA colour to DWORD as ↵ | Neil | 1 | -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-06 | Backport: Specify locally visible methods as noexcept. | Neil | 1 | -20/+20 | |
| Backport of changeset 8288:8b00e43e66b2. | |||||
| 2020-06-06 | Backport: Prefer .data() over &[0] as more explicit. | Neil | 1 | -2/+2 | |
| Backport of changeset 8287:f8749b773e12, but without C++17 and C++20 features. | |||||
| 2020-06-06 | Backport: Add ReleaseUnknown to safely release IUnknown* and avoid warnings ↵ | Neil | 1 | -8/+3 | |
| when done in noexcept context. Backport of changeset 8286:bddda9b7df4f. | |||||
| 2020-06-06 | Backport: Bug [#2063]. On Windows 8.1 where GetDpiForWindow is not ↵ | Zufu Liu | 1 | -0/+23 | |
| available, use GetDpiForMonitor to emulate it. Backport of changeset 8285:426f23226f0d. | |||||
| 2020-05-28 | Backport: Bug [#2063]. Call AdjustWindowRectExForDpi when available to find ↵ | Zufu Liu | 1 | -8/+16 | |
| correct size. Backport of changeset 8267:5899b54cc783. | |||||
| 2020-05-27 | Backport: Bug [#2063]. Make reverse arrow cursor scale with DPI. | Zufu Liu | 1 | -9/+21 | |
| Backport of changeset 8265:01940b16fb7e. | |||||
| 2020-05-27 | Backport: Bug [#2063]. Add SystemMetricsForDpi and use for ListBox and mouse ↵ | Zufu Liu | 1 | -10/+36 | |
| drag and drop. Simplify IME font definition. Backport of changeset 8264:2dd165934cbb. | |||||
| 2020-05-20 | Backport: Fix some minor warnings. | Neil | 1 | -8/+7 | |
| Backport of changeset 8246:2cb0e52ada52. | |||||
| 2020-05-19 | Backport: Bug [#2171]. Implement per-monitor DPI Awareness on Windows. | Neil | 1 | -21/+38 | |
| Backport of changeset 8244:134a3860b01e. | |||||
| 2020-06-17 | Backport: Encapsulate GetProcAddress in a way that avoids undefined and ↵ | mitchell | 1 | -26/+22 | |
| conditionally defined behaviour. Backport of changeset 8243:09cccd3f867b. | |||||
| 2020-04-05 | Backport: Feature [feature-requests:1345]. Use ListBox_ macros in preference ↵ | Neil | 1 | -10/+10 | |
| to LB_ messages. Modify types to match. Backport of changeset 8111:d15f7fe3467b. | |||||
| 2020-04-05 | Backport: Feature [feature-requests:1345] Use more typesafe code to clear ↵ | Neil | 1 | -4/+4 | |
| window pointers, share implementation of window pointers between files, use GetWindowStyle. Backport of changeset 8110:33f16ac2c3ca. | |||||
| 2020-03-26 | Backport: Fix spelling mistakes. | Neil | 1 | -2/+2 | |
| Backport of changeset 8028:78a688809e75. | |||||
| 2020-03-25 | Backport: Replace const with constexpr where possible. | Neil | 1 | -10/+6 | |
| Backport of changeset 8026:3d47c097aa3f. | |||||
| 2020-03-17 | Backport: Remove CRITICAL_SECTION by creating reverse arrow cursor at ↵ | Neil | 1 | -30/+17 | |
| initialization. InitializeCriticalSection inside DllMain can cause exceptions on old Windows. Backport of changeset 8009:ef650c1aa3ca. | |||||
| 2020-02-15 | Backport: Extract image conversion from RGBA to BGRA premultiplied into ↵ | Neil | 1 | -21/+6 | |
| common function. Backport of changeset 7987:beeac488af4d. | |||||
| 2020-02-15 | Backport: Bug [#2138]. For pixmap, balance call to BeginDraw with EndDraw. | Neil | 1 | -0/+2 | |
| This avoids a warning when Direct2D debugging turned on. Backport of changeset 7986:8c409393be53. | |||||
| 2020-03-27 | Backport: Use dynamic_cast and assertion instead of static_cast to fail ↵ | mitchell | 1 | -13/+20 | |
| earlier if there is a bug. Backport of changeset 7984:0f23c38fa1ac. | |||||
| 2020-02-09 | Backport: Use uniform initialization for resetting GDI handles to avoid ↵ | Neil | 1 | -20/+20 | |
| NULL/0 warnings. Changed HDC, HPEN, HBRUSH, HFONT, HRGN, and HBITMAP. Backport of changeset 7980:587c0b6a5317. | |||||
| 2020-02-09 | Backport: Feature [feature-requests:#1340] Move and use Point functions to ↵ | Zufu Liu | 1 | -4/+4 | |
| avoid casting. Backport of changeset 7976:4ba647207671. | |||||
| 2020-01-31 | Backport: Avoid Clang warning with extra test. | Neil | 1 | -5/+5 | |
| Harmonize types to avoid casts. Backport of changeset 7967:ddf1b734e7f8. | |||||
| 2020-01-31 | Backport: Use more typesafe functions to remove casts. | Neil | 1 | -13/+5 | |
| Backport of changeset 7966:2f6615753946. | |||||
| 2020-01-06 | More synchronizing LongTerm3 with default. | mitchell | 1 | -1/+2 | |
| Ideally this covers anything missed during the backport process. | |||||
| 2020-01-03 | Backport: Use safe mechanism for converting between function pointers and void*. | mitchell | 1 | -7/+6 | |
| Backport of changeset 7863:507307a6c315. | |||||
| 2020-01-03 | Fixed a build error on Windows introduced by r7280 (changeset 9cf6a15d6c85). | mitchell | 1 | -0/+6 | |
| 2019-12-29 | Backport: Move suppression of Clang warning language-extension-token from ↵ | Neil | 1 | -0/+5 | |
| makefile to only C++ file that requires it. Backport of changeset 7844:bb2bc0e7f17a. | |||||
| 2019-12-03 | Backport: Bug [#2144]. Fixed drawing of translucent rounded rectangles with ↵ | Neil | 1 | -1/+1 | |
| Direct2D. Backport of changeset 7782:da8db8ba734d. | |||||
| 2019-11-21 | Backport: Make reference argument const as safe to do so. | Neil | 1 | -4/+4 | |
| Backport of changeset 7771:7935a8d953e5. | |||||
| 2019-05-29 | Backport: Bug [#2104]. Use 'l' long format length sub-specifier for HRESULT ↵ | Neil | 1 | -1/+1 | |
| as it is long. Backport of changeset 7539:b22c2d7b0301. | |||||
| 2019-05-11 | Backport: Feature [feature-requests:#1283]. Standardise spelling - "color" ↵ | Neil | 1 | -7/+7 | |
| -> "colour". Backport of changeset 7498:7dd63f4402ae. | |||||
| 2019-05-08 | Backport: Use value-initialization and nullptr (for true pointers) to avoid ↵ | Neil | 1 | -10/+5 | |
| 'using NULL' warnings. Backport of changeset 7493:614a823a36cb. | |||||
| 2019-04-28 | Backport: Use const and noexcept for private methods. | Neil | 1 | -6/+6 | |
| Backport of changeset 7485:3c487fc19b62. | |||||
| 2019-04-27 | Backport: Feature [feature-requests:#1279]. Removed invalid check when ↵ | Neil | 1 | -12/+7 | |
| avoiding SelectFont if font not changed. Didn't correct the check as its not justified by minimal performance benefit so removed the supporting variable. Backport of changeset 7474:6bb2a6d284d9. | |||||
| 2019-04-12 | Backport: Bug [#2093]. Improve efficiency with single byte character sets. | Zufu Liu | 1 | -2/+2 | |
| Backport of changeset 7424:0d4b29e058f7. | |||||
| 2019-04-11 | Backport: Feature [feature-requests:#1277]. Support coloured text on Windows ↵ | Zufu Liu | 1 | -3/+15 | |
| 8.1+. Backport of changeset 7419:76fcbb9c97a1. | |||||
| 2019-03-25 | Backport: Use generic std::abs instead of abs and fabs. | Neil | 1 | -5/+5 | |
| Backport of changeset 7330:09e5fe965a79. | |||||
| 2019-03-31 | Backport: Use generic versions of ceil, floor, round, lround, trunc from ↵ | mitchell | 1 | -15/+15 | |
| <cmath>. Backport of changeset 7329:2662ef098d93, but without std::round and std::lround, since older Mac OSX SDKs may not have them. | |||||
| 2019-03-20 | Backport: Implement WStringFromUTF8 to simplify code that creates wstring ↵ | Neil | 1 | -4/+2 | |
| objects for regular expressions and calling the Win32 API. Backport of changeset 7325:6148329fb2f3, but replaced std::string_view usage with const char* and size_t components. Also used #ifdef instead of C++17 `if constexpr` at suggestion of Neil. | |||||
| 2019-03-18 | Backport: Add some operators to Point to simplify client code. | Neil | 1 | -3/+1 | |
| Backport of changeset 7321:d488340e94c0. | |||||
