aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.cxx
AgeCommit message (Collapse)AuthorFilesLines
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.
2015-03-12Reduce size of buffers allocated on stack to avoid warnings from Visual StudioNeil1-1/+1
analyze.
2015-01-13Using size_t instead of unsigned int for conversions to UTF16 for 64-bitNeil1-2/+2
compatibility and to lessen the number of casts.
2015-01-11Support removed for Windows 95, 98, and ME.Neil1-42/+6
2015-01-10On Windows GDI, assume font names are encoded in UTF-8 and use wide characterNeil1-8/+12
calls to allow use of Asian font names.
2014-12-20Check for failure of SystemParametersInfo.Neil1-8/+9
2014-10-07Trace failures to flush when drawing bitmaps in Direct2D.Neil1-1/+4
2014-10-07Feature [feature-requests:#1080]. Allow right click selection in popup menu.Neil1-1/+1
2014-07-23Avoid shadowed names mostly in method prototypes. Turn off shadowNeil1-4/+4
warnings for lexers since they may be maintained by others.
2014-05-31Merge 343-Win32-Fix which fixes hangs and crashes at shutdown on Windows.Neil1-1/+1
2014-05-26Bug [#1602]. Bug [#1603]. Fix hangs and crashes at shutdown.Neil1-24/+26
2014-05-24Header include statements are now in a standardised order with that orderNeil1-1/+1
defined in scripts/HeaderOrder.txt.
2014-05-03Replacing the int-based constructors for Point and PRectangle with FromIntsNeil1-9/+9
static methods as there were too many failures with mixed types and not-quite matching types.
2014-05-03Turn on MSVC 'possible loss of data' warnings and add explicit casts.Neil1-12/+14
2014-05-03Explicit and more consistent use of XYPOSITION versus int.Neil1-74/+101
Fixes possible loss of data warnings when switched on.
2014-04-25Free system libraries at finalization.Neil1-3/+21