aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.cxx
AgeCommit message (Expand)AuthorFilesLines
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
2018-03-22Feature [feature-requests:#1211]. Use pre-computed table for UTF8BytesOfLead.Zufu Liu1-11/+8
2018-03-16Remove line-end white space.Neil1-1/+1
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-4/+0
2017-06-12Removed unused functions and methods from Platform.h.Neil1-110/+2
2017-06-11Implement SCN_AUTOCSELECTIONCHANGE notification.Neil1-9/+23
2017-06-09Use min and max from std instead of own version from platform.Neil1-6/+11
2017-05-08Improve Direct2D text measurement code by eliminating extraneous variables,Neil1-33/+33
2017-05-02More consistent use of size_t when converting Unicode formats.Neil1-1/+1
2017-05-02Use unique_ptr for drawing surfaces and don't check for allocation failureNeil1-44/+36