aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32
AgeCommit message (Collapse)AuthorFilesLines
2018-06-15Updates for 4.1.0.Neil1-2/+2
2018-06-07Remove compile-time ENABLE_BIDIRECTIONAL option as bidirectional feature is nowNeil2-9/+1
controlled completely at run-time.
2018-06-02Define IScreenLineLayout as the main interface for implementing bidirectionalNeil1-216/+166
features by platform code. Implement IScreenLineLayout for Win32 / DirectWrite as ScreenLineLayout.
2018-05-24Fix warnings. Add const, constexpr, and noexcept. Initialize. Standard methods.Neil3-81/+86
Replace 0 and NULL with nullptr for COM, DirectWrite and least ambiguous cases.
2018-05-23Implement bidirectional mode bidiL2R for DirectDraw on Win32.Neil2-6/+420
2018-05-23Add definitions for bidirectional support to Platform.h and provide emptyNeil1-0/+41
implementations for each platform.
2018-05-22Add GradientRectangle method to Surface to draw rectangles with vertical orNeil1-0/+58
horizontal gradients.
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.Neil2-4/+2
2018-05-15Encapsulate WideCharToMultiByte and MultiByteToWideChar to simplify calling ↵Neil1-58/+64
sites and standardize use of options.
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.Neil2-27/+31
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
Polygon and delete the standard copy and assignment methods.
2018-05-14Modernize Platform.h (2) - noexcept, const, constexpr.Neil1-12/+12
ColourDesired is an int instead of long for consistency over different platforms. Changes made to Point, PRectangle, and ColourDesired. RoundXYPosition removed.
2018-05-14Modernize Platform.h (1) - noexcept, const, standard methods.Neil2-12/+11
Changes made to FontParameters, Font, Window, ListBoxEvent, ListBox, Menu, DynamicLibrary, and Platform.
2018-05-14Include <string_view> to allow future use in Platform interface and Unicode.Neil3-0/+3
2018-05-06Updates for 4.0.5.rel-4-0-5Neil1-2/+2
2018-05-01Encapsulate conversions between WindowID and HWND and hoist cast out of switch.Neil1-26/+31
2018-05-01Update dependencies.Neil2-22/+31
2018-05-01Use RectFromPRectangle to avoid casts.Neil3-3/+7
2018-05-01Bug [#2012]. Use '0' instead of '0l'.Neil1-2/+2
2018-04-30Add conversion function from Scintilla Point to Win32 POINT.Neil2-51/+85
Use namespaces more consistently. Fix typo.
2018-04-30Use const where possible.Neil1-21/+21
2018-04-30Use const for IME, code page and related code.Neil1-28/+27
2018-04-30Use Win32 types and avoid casting. Move code to avoid warnings.Neil2-15/+14
Use const where there is a benefit.
2018-04-30Use message parameter access macros provided by Windows instead of casting.Neil2-35/+11
2018-04-30Use C++ casts in preference to C casts. Use nullptr instead of 0.Neil2-4/+5
2018-04-28Delete standard functions on classes where there could be attempts to copy.Neil1-0/+12
2018-04-28Remove unused definition and replace 0 with nullptr.Neil1-2/+1
2018-04-28Initialize timers in definition instead of looping to avoid cast and warning.Neil1-4/+1
2018-04-27Use floor instead of casts when centring bitmaps inside the given rectangle.Neil1-4/+4
2018-04-26Update dependencies for ElapsedPeriod.Neil1-6/+15
2018-04-26Use <chrono> for platform-independent timing and remove ElapsedTime.Neil3-64/+20
Also use #if for painting measurement as there are 7 sections of code to enable.
2018-04-26Update deps for LexCoffeeScript not using Platform.h.Neil1-4/+4
2018-04-25Remove variables and casts that are not needed.Neil1-4/+2
2018-04-25Use set of coercion functions for transforming WndProc parameters into pointers.Neil1-7/+7
2018-04-25Standardized signature of TargetAsUTF8 and EncodedFromUTF8.Neil1-2/+2
2018-04-25Remove casts that are not needed since sptr_t and Sci::Position are the same ↵Neil1-1/+1
type.
2018-04-22Remove casts between char and unsigned char where possible.Neil1-4/+4
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
RoundXYPosition, XYMinimum, and XYMaximum.
2018-04-19Use ColourDesired constructor explicitly to make more obvious.Neil1-3/+3
Constructor not marked explicit as may be used in external platform layers.
2018-04-19Casting changed in many places, due to change to 64-bit variables for 64-bitNeil1-13/+13
builds. Some of the changes ensure no truncation while others remove casts that are no longer needed because the externally visible Sci_Position is now identical to Sci::Position. Some extra methods (CellBuffer::UCharAt and Document::SciLineFromPosition) added to avoid casting in client code. Sci::Line is currently identical to Sci::Position but it could be made smaller so lines have Sci::Line types and are cast. Some arguments widened.
2018-04-15Feature [feature-requests:#1215]. Stop warning about virtual call in destructor.Neil1-4/+14
2018-04-11Bug [#2008]. Avoid warning unsigned >= 0.Neil1-1/+1
2018-04-07Updates for 4.0.4.rel-4-0-4Neil1-2/+2
2018-04-05Backed out changeset: 7402342dc7a3 Caching client rectangle on EditView.Neil1-2/+2
This change was not compatible with Cocoa as it uses document-based coordinates rather than view-based.