aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.cxx
AgeCommit message (Collapse)AuthorFilesLines
2018-05-01Use RectFromPRectangle to avoid casts.Neil1-1/+3
2018-04-30Add conversion function from Scintilla Point to Win32 POINT.Neil1-28/+36
Use namespaces more consistently. Fix typo.
2018-04-30Use Win32 types and avoid casting. Move code to avoid warnings.Neil1-7/+7
Use const where there is a benefit.
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
Also use #if for painting measurement as there are 7 sections of code to enable.
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
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-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
DISABLE_D2D may still be defined to remove Direct2D features.
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
Friendlier treatment of invalid UTF-8. Add tests for UniConversion handling invalid UTF-8. Simplify UTF8Classify tests.
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
interfaces ILexer4 and IDocument.
2017-06-12Removed unused functions and methods from Platform.h.Neil1-110/+2
Replaced Platform::Clamp with Sci::clamp but will later change this to std::clamp once on full C++17 compilers. Drop MouseButtonBounce workaround for very early GTK+/Linux.
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
limiting scope, making comments more accurate, and avoiding warnings from clang analyze.
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
as that throws an exception. Also use unique_ptr for tab stop positions.
2017-04-22Include <memory> for std::unique_ptr.Neil1-0/+1
2017-04-21More consistent deletion of standard methods.Neil1-3/+3
2017-04-19Use =delete for unwanted functions.Neil1-9/+9
2017-04-19Drop "virtual" when "override" used.Neil1-19/+19
2017-04-17Simplify expression.Neil1-1/+2
2017-04-07Prefer C++ static cast over C-style casts.Neil1-2/+2
2017-04-07Use same parameter names in declarations and definitions.Neil1-7/+7
2017-04-06Added const where possible.Neil1-47/+47
2017-04-01Standardize on C++ headers, remove headers that aren't needed and add <cstddef>Neil1-9/+9
where it may be needed in the future.
2017-03-30Stop drawing a focus rectangle on the autocompletion list.Neil1-4/+1
Raise the default list length to 9 items.
2017-03-10Bug [#1653]. Detect if Windows 8+ or KB2533623 installed before using flag.Neil1-5/+17
LOAD_LIBRARY_SEARCH_SYSTEM32 causes failure of Direct2D on original Windows 7 so check for availability before using.
2017-03-09Drop support for Windows NT 4 by statically linking to system APIs that areNeil1-65/+10
only available from Windows 2000 and later.
2017-03-04Use C++11 keyword "override" for methods that override a base class.Neil1-103/+103
2016-05-03Avoid use of const_cast when retrieving window positions.Neil1-4/+5
2016-05-03Fix off-by-one error that allowed resizing autocompletion from bottom when itNeil1-1/+1
was located above the caret.
2016-03-07Include stddef.h as using ptrdiff_t and stddef.h is its home.Neil1-0/+1
2016-01-07Remove pragmas that were needed for Windows 9x which is no longer supported.Neil1-10/+0
2015-11-20Remove line end whitespace.Neil1-1/+1
2015-11-20Using DirectWrite, for ligatures and other character clusters, display caret andNeil1-4/+3
selections part-way through clusters so that the caret doesn't stick to the end of the cluster making it easier to understand editing actions.
2015-09-25Replace reinterpret_cast with static_cast where possible.Neil1-35/+35
2015-09-25Remove null occurrences of reinterpret_cast which just converted HDC to HDC.Neil1-15/+15
2015-07-16Cast for 64-bit warning with Visual C++ 2015.Neil1-1/+1
2015-06-24Simplify text measurement and drawing by removing segmentation and failureNeil1-88/+25
handling that was needed to support Windows 95.
2014-01-20Fix typos in comments (win32)Stefan Weil1-3/+3
2015-05-13Bug [#1703]. Fix bug when drawing text margins in buffered mode which would useNeil1-2/+7
default encoding instead of chosen encoding.
2015-03-15Bug [#1705]. Fix a bug with Mingw-w64. Probably due to incorrect definition ofNeil1-2/+3
DWRITE_TEXT_METRICS struct in header.