aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Platform.h
AgeCommit message (Collapse)AuthorFilesLines
2021-03-16Moved Platform.h to src as it is private to Scintilla.Neil1-579/+0
2020-07-18Remove some constexpr as they made shiboken fail.Neil1-2/+2
2020-07-14Make simple methods on simple classes constexpr.Neil1-31/+31
2020-02-09Feature [feature-requests:#1340] Move and use Point functions to avoid casting.Zufu Liu1-2/+2
2019-03-18Add some operators to Point to simplify client code.Neil1-0/+12
2018-07-31Define PLAT_HAIKU and use to avoid a reported compilation problem on 32-bitNeil1-0/+5
Haiku where ptrdiff_t and int are the same size but different types.
2018-06-02Define IScreenLineLayout as the main interface for implementing bidirectionalNeil1-3/+9
features by platform code. Implement IScreenLineLayout for Win32 / DirectWrite as ScreenLineLayout.
2018-05-30Add TabPositionAfter method to IScreenLine as this calculation is needed on eachNeil1-0/+1
platform and it allows extension to custom tab stops.
2018-05-24Fix warnings. Add const, constexpr, and noexcept. Initialize. Standard methods.Neil1-1/+1
Replace 0 and NULL with nullptr for COM, DirectWrite and least ambiguous cases.
2018-05-23Add definitions for bidirectional support to Platform.h and provide emptyNeil1-0/+23
implementations for each platform.
2018-05-22Add GradientRectangle method to Surface to draw rectangles with vertical orNeil1-4/+70
horizontal gradients.
2018-05-17Use nullptr instead of 0 in headers as this diminishes the number of warnings.Neil1-2/+2
2018-05-14Modernize Platform.h (5) - remove ElapsedTime.Neil1-8/+0
Replaced by ElapsedPeriod.
2018-05-14Modernize Platform.h (4) - update Surface to use string_view for text arguments.Neil1-5/+5
2018-05-14Modernize Platform.h (3) - update Surface to delete WidthChar, use size_t forNeil1-7/+6
Polygon and delete the standard copy and assignment methods.
2018-05-14Modernize Platform.h (2) - noexcept, const, constexpr.Neil1-56/+23
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.Neil1-37/+33
Changes made to FontParameters, Font, Window, ListBoxEvent, ListBox, Menu, DynamicLibrary, and Platform.
2018-04-26Use <chrono> for platform-independent timing and remove ElapsedTime.Neil1-1/+1
Also use #if for painting measurement as there are 7 sections of code to enable.
2018-04-21Remove CallBackAction which was replaced by IListBoxDelegate.Neil1-5/+0
2018-04-20Avoid MSVC analyze warnings about statics by making Point constructor constexpr.Neil1-1/+1
2018-04-20Remove casts, drop default argument, use const.Neil1-3/+3
2018-04-14Make some changes recommended by clang-tidy.Neil Hodgson1-2/+2
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-8/+0
interfaces ILexer4 and IDocument.
2017-06-12Removed unused functions and methods from Platform.h.Neil1-26/+1
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-1/+14
2017-04-07Prefer C++ static cast over C-style casts.Neil1-1/+1
2017-04-07Allowing assigning Windows and ensure cursorLast is initialized.Neil1-0/+8
2017-04-06Added const where possible.Neil1-1/+1
2016-11-07Move warning suppression from global header to Qt platform layer header soNeil1-4/+0
warnings are visible for platform-independent code.
2015-11-20Remove line end whitespace.Neil1-1/+1
2015-03-29Bug [#1682] Removed the ascent member of Font and all wxWidgets-specific code.Neil1-6/+0
2015-01-16When the mouse is on the line between margin and text changed to treat as withinNeil1-0/+5
text. Helps on PLAT_CURSES.
2014-05-03Replacing the int-based constructors for Point and PRectangle with FromIntsNeil1-10/+7
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-8/+8
2014-05-03Using casts and an alternate PRectangle constructor to make XYPOSITION <-> intNeil1-0/+4
conversions and other conversions more consistent.
2014-05-03Convenience Point constructor from integers as common source of shapes.Neil1-0/+2
2014-05-03Fix comments that have not been correct since conversion to XYPOSITION.Neil1-2/+2
2014-05-03Move RoundXYPosition to global header to enable use in more modules.Neil1-1/+3
2014-04-29Stop disabling warnings where no longer needed.Neil1-1/+2
2014-03-16Avoid warnings from Clang analyzer.Neil1-1/+11
2013-09-16Remove dead code that was a remnant of Carbon support.nyamatongwe1-16/+0
2013-09-10Use C++ struct initialization {} so can drop -Wno-missing-braces setting for ↵Neil1-1/+0
gcc.
2013-09-10Drop warning setting -Wno-missing-braces since this has had no effect since ↵Neil1-1/+0
gcc 4.2.
2013-06-29Include PLAT_TK for implementation on Tk platform.Neil1-0/+6
2013-05-24Made methods const where they can be and are logically const as well.nyamatongwe1-10/+10
2013-04-03Renaming PLAT_NCURSES to PLAT_CURSES as may work on other implementations.nyamatongwe1-4/+4
2012-07-24Add ncurses platform. Rest of the implementation is an external project.nyamatongwe1-0/+5
From Mitchell Foral.
2012-06-13Moved Qt platform section as it was interfering with GTK+ sub-platforms.nyamatongwe1-4/+4
2012-05-17Avoid noisy warnings from GCC on Qt.nyamatongwe1-0/+6
2012-05-17Added PLAT_QT for Qt builds.nyamatongwe1-0/+5