aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/ScintillaWin.cxx
AgeCommit message (Collapse)AuthorFilesLines
2018-05-24Fix warnings. Add const, constexpr, and noexcept. Initialize. Standard methods.Neil1-21/+21
Replace 0 and NULL with nullptr for COM, DirectWrite and least ambiguous cases.
2018-05-23Implement bidirectional mode bidiL2R for DirectDraw on Win32.Neil1-0/+1
2018-05-15Replace ELEMENTS with std::size and drop inclusion of StringCopy.h.Neil1-3/+2
2018-05-15Encapsulate WideCharToMultiByte and MultiByteToWideChar to simplify calling ↵Neil1-58/+64
sites and standardize use of options.
2018-05-14Use string_view for UniConversion functions.Neil1-21/+25
2018-05-14Modernize Platform.h (1) - noexcept, const, standard methods.Neil1-2/+3
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.Neil1-0/+1
2018-05-01Use RectFromPRectangle to avoid casts.Neil1-2/+2
2018-05-01Bug [#2012]. Use '0' instead of '0l'.Neil1-2/+2
2018-04-30Add conversion function from Scintilla Point to Win32 POINT.Neil1-23/+49
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.Neil1-8/+7
Use const where there is a benefit.
2018-04-30Use message parameter access macros provided by Windows instead of casting.Neil1-30/+8
2018-04-30Use C++ casts in preference to C casts. Use nullptr instead of 0.Neil1-1/+2
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-26Use <chrono> for platform-independent timing and remove ElapsedTime.Neil1-2/+4
Also use #if for painting measurement as there are 7 sections of code to enable.
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-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-11Bug [#2008]. Avoid warning unsigned >= 0.Neil1-1/+1
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.
2018-04-04Remove automatic detection of Direct2D support during build.Neil1-1/+1
DISABLE_D2D may still be defined to remove Direct2D features.
2018-04-04Move DLL entry points DllMain and Scintilla_DirectFunction into ScintillaDLL.cxxNeil1-22/+12
to simplify build process by eliminating the compilation of ScintillaWin.cxx into ScintillaWinS.o|obj.
2018-04-04Cache client rectangle on EditView so it can be used easily inside EditView.Neil1-2/+2
2018-03-15Use forward class definitions of XPM and RGBAImage so only code that uses themNeil1-1/+0
needs to #include "XPM.h". Move definition of standard methods on LineMarker from header to implementation to reduce included text and further isolate use of XPM and RGBAImage.
2018-01-21Type casts in case Sci::Position and Sci::Line are extended to 64-bits.Neil1-14/+14
Use of const where reasonable.
2017-12-19Start of bidirectional code - implement SCI_SETBIDIRECTIONAL.Neil1-0/+11
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-2/+0
interfaces ILexer4 and IDocument.
2017-08-28New header ILoader.h defines ILoader interface as it does not belong in ↵Neil1-0/+1
ILexer.h.
2017-06-22Cast between Sci_Position.h types used for lexers and Position.h types used inNeil1-6/+6
core to allow the Sci_Position.h types to widen to 64-bits.
2017-06-12Remove old timer code in favour of the FineTicker* methods.Neil1-8/+0
2017-06-12Simplify mouse and keyboard handling by only retaining the 'WithModifiers" form.Neil1-23/+23
All events include a set of keyboard modifier flags. Older calls that passed individual parameters for each key were removed.
2017-06-12Removed unused functions and methods from Platform.h.Neil1-16/+24
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-05-21Make SparseVector work with move-only types.Neil1-0/+1
Define UniqueString as a move-only string and use in a SparseVector for ContractionState. Remove SparseVector method specializations that are no longer needed.
2017-05-02More consistent use of size_t when converting Unicode formats.Neil1-20/+21
2017-05-02Use unique_ptr for drawing surfaces and don't check for allocation failureNeil1-43/+39
as that throws an exception. Also use unique_ptr for tab stop positions.
2017-04-21More consistent deletion of standard methods.Neil1-1/+1
2017-04-20More consistent deletion of standard methods.Neil1-2/+3
2017-04-15Avoid calling virtual functions in constructors and destructors.Neil1-3/+3
2017-04-07Prefer C++ static cast over C-style casts.Neil1-5/+5
2017-04-07Use same parameter names in declarations and definitions.Neil1-2/+2
2017-04-06Added const where possible.Neil1-39/+39
2017-04-01Standardize on C++ headers, remove headers that aren't needed and add <cstddef>Neil1-7/+8
where it may be needed in the future.
2017-03-31Hide decorations details a little.Neil1-1/+1
2017-03-31Using Sci::Position and Sci::Line to mark variables that are document positionsNeil1-42/+42
and lines.