aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.cxx
AgeCommit message (Expand)AuthorFilesLines
2019-11-21Make reference argument const as safe to do so.Neil1-4/+4
2019-05-29Bug [#2104]. Use 'l' long format length sub-specifier for HRESULT as it is long.Neil1-1/+1
2019-05-11Feature [feature-requests:#1283]. Standardise spelling - "color" -> "colour".Neil1-7/+7
2019-05-08Use value-initialization and nullptr (for true pointers) to avoid 'using NULL'Neil1-10/+5
2019-04-28Use const and noexcept for private methods.Neil1-6/+6
2019-04-27Feature [feature-requests:#1279]. Removed invalid check when avoiding SelectFontNeil1-12/+7
2019-04-12Bug [#2093]. Improve efficiency with single byte character sets.Zufu Liu1-2/+2
2019-04-11Feature [feature-requests:#1277]. Support coloured text on Windows 8.1+.Zufu Liu1-3/+15
2019-03-25Use generic std::abs instead of abs and fabs.Neil1-5/+5
2019-03-25Use generic versions of ceil, floor, round, lround, trunc from <cmath>.Neil1-15/+15
2019-03-20Implement WStringFromUTF8 to simplify code that creates wstring objects forNeil1-4/+2
2019-03-18Add some operators to Point to simplify client code.Neil1-3/+1
2019-02-24Use noexcept and constexpr where possible and reasonable.Neil1-37/+31
2019-02-24Remove font caching on Win32.Neil1-107/+7
2019-01-13Replace the only use of a function from <cctype> with a Scintilla function.Neil1-1/+0
2019-01-06Bug [#2068]. Fix some clang-tidy warnings.Zufu Liu1-4/+4
2018-10-17Use nullptr, default brace and member initialisation for some simple cases.Neil1-39/+29
2018-07-31Change lifetime of textLayout for bidirectional so it is always released inNeil1-3/+4
2018-07-10Use Select* macros from windowsx.h to avoid casts and for consistency.Neil1-8/+8
2018-06-02Define IScreenLineLayout as the main interface for implementing bidirectionalNeil1-216/+166
2018-05-24Fix warnings. Add const, constexpr, and noexcept. Initialize. Standard methods.Neil1-59/+64
2018-05-23Implement bidirectional mode bidiL2R for DirectDraw on Win32.Neil1-6/+419
2018-05-23Add definitions for bidirectional support to Platform.h and provide emptyNeil1-0/+41
2018-05-22Add GradientRectangle method to Surface to draw rectangles with vertical orNeil1-0/+58
2018-05-18Add <vector> to files that include Platform.h as likely needed in future.Neil1-1/+1
2018-05-15Replace ELEMENTS with std::size and drop inclusion of StringCopy.h.Neil1-1/+0
2018-05-14Avoid using 0 as NULL pointer.Neil1-1/+1
2018-05-14Fix warning.Neil1-1/+1
2018-05-14Use string_view for UniConversion functions.Neil1-6/+6
2018-05-14Modernize Platform.h (4) - update Surface to use string_view for text arguments.Neil1-60/+62
2018-05-14Modernize Platform.h (3) - update Surface to delete WidthChar, use size_t forNeil1-34/+7
2018-05-14Modernize Platform.h (2) - noexcept, const, constexpr.Neil1-12/+12
2018-05-14Modernize Platform.h (1) - noexcept, const, standard methods.Neil1-10/+8
2018-05-14Include <string_view> to allow future use in Platform interface and Unicode.Neil1-0/+1
2018-05-01Encapsulate conversions between WindowID and HWND and hoist cast out of switch.Neil1-26/+31
2018-05-01Use RectFromPRectangle to avoid casts.Neil1-1/+3
2018-04-30Add conversion function from Scintilla Point to Win32 POINT.Neil1-28/+36
2018-04-30Use Win32 types and avoid casting. Move code to avoid warnings.Neil1-7/+7
2018-04-30Use message parameter access macros provided by Windows instead of casting.Neil1-5/+3
2018-04-30Use C++ casts in preference to C casts. Use nullptr instead of 0.Neil1-3/+3
2018-04-27Use floor instead of casts when centring bitmaps inside the given rectangle.Neil1-4/+4
2018-04-26Use <chrono> for platform-independent timing and remove ElapsedTime.Neil1-48/+0
2018-04-25Remove variables and casts that are not needed.Neil1-4/+2
2018-04-20Remove test that is always true.Neil1-1/+1
2018-04-20Fix warnings from MSVC analyze and reduce casts.Neil1-84/+100
2018-04-20Feature [feature-requests:#1215]. Use standard functions in prference toNeil1-18/+4
2018-04-19Use ColourDesired constructor explicitly to make more obvious.Neil1-3/+3
2018-04-15Feature [feature-requests:#1215]. Stop warning about virtual call in destructor.Neil1-4/+14
2018-04-04Remove automatic detection of Direct2D support during build.Neil1-1/+1
2018-03-31Match struct initialization exactly to declaration to avoid warnings from clang.Neil1-3/+5