aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk
AgeCommit message (Collapse)AuthorFilesLines
2019-01-13Backport: Replace the only use of a function from <cctype> with a Scintilla ↵Neil1-1/+0
function. Remove inclusion of <cctype> except in lexers as cctype functions often behave poorly and may crash for out of bounds arguments. Backport of changeset 7228:348e55f8107c.
2019-01-07Backport: Stop variable shadowing. This makes the code easier to understand ↵Neil1-1/+1
and improves performance very slightly. Backport of changeset 7196:094210c79fd4.
2018-10-11Backport: Add SCI_SETCOMMANDEVENTS API to allow turning off command events.Neil1-3/+4
This can reduce the time taken to fold a document by half. Backport of changeset 7110:09c647755bed.
2018-05-25Backport: Add GradientRectangle method to Surface to draw rectangles with ↵mitchell1-0/+27
vertical or horizontal gradients. Backport of changeset 6965:90c71d69e3b6.
2018-05-25Backport: Modernize Platform.h (3) - update Surface to delete WidthChar, use ↵mitchell1-16/+4
size_t for Polygon and delete the standard copy and assignment methods. Backport of changeset 6940:89fd29243232.
2018-05-14Backport: Modernize Platform.h (2) - noexcept, const, constexpr.Neil1-3/+3
ColourDesired is an int instead of long for consistency over different platforms. Changes made to Point, PRectangle, and ColourDesired. RoundXYPosition removed. Backport of changeset 6939:7441dcb96e6a.
2018-05-14Backport: Modernize Platform.h (1) - noexcept, const, standard methods.Neil2-10/+9
Changes made to FontParameters, Font, Window, ListBoxEvent, ListBox, Menu, DynamicLibrary, and Platform. Backport of changeset 6938:a42c7cc3254b.
2018-05-02Backport: Decrease use of casts and replace reinterpret_cast with static_cast.Neil Hodgson4-26/+28
Backport of changeset 6782:8b447827f7a6.
2018-05-01Backport: Updated dependencies.Neil Hodgson1-29/+31
Backport of changeset 6775:c9895510ded6.
2018-05-01Backport: Bug [#2012]. Use '0' instead of '0l'.Neil1-1/+1
Backport of changeset 6768:afe3117ead02.
2018-04-28Backport: Delete standard functions on classes where there could be attempts ↵Neil1-0/+2
to copy. Backport of changeset 6756:29866b0927e0.
2018-04-26Backport: Update dependencies for ElapsedPeriod.Neil Hodgson1-15/+15
Backport of changeset 6743:7a9d4d15b8d3.
2018-05-06Backport: Use <chrono> for platform-independent timing and remove ↵mitchell1-22/+0
ElapsedTime. Also use #if for painting measurement as there are 7 sections of code to enable. Backport of changeset 6741:af5d9064c25c.
2018-04-25Backport: Use set of coercion functions for transforming WndProc parameters ↵Neil1-4/+4
into pointers. Backport of changeset 6738:5b39367ee7da.
2018-04-25Backport: Standardized signature of TargetAsUTF8 and EncodedFromUTF8.Neil2-6/+6
Backport of changeset 6737:5c4aea8a1e8a.
2018-04-05Backport: Backed out changeset: 7402342dc7a3 Caching client rectangle on ↵Neil1-5/+5
EditView. This change was not compatible with Cocoa as it uses document-based coordinates rather than view-based. Backport of changeset 6673:a22abea8d41e.
2018-04-04Backport: Cache client rectangle on EditView so it can be used easily inside ↵Neil1-5/+5
EditView. Backport of changeset 6669:7402342dc7a3.
2018-03-24Backport: Removed unwanted include.Neil1-1/+1
Backport of changeset 6646:c64207e7e584.
2018-05-05Backport: Feature [feature-requests:#1212]. Move Unicode conversions into ↵mitchell3-35/+32
UniConversion. Move Unicode conversion functions UnicodeFromUTF8 and UTF8FromUTF32Character into UniConversion. Backport of changeset 6645:463fa6965d9a.
2018-05-05Backport: Feature [feature-requests:#1211]. Use pre-computed table for ↵mitchell1-1/+1
UTF8BytesOfLead. Friendlier treatment of invalid UTF-8. Add tests for UniConversion handling invalid UTF-8. Simplify UTF8Classify tests. Backport of changeset 6643:ebbb4e5aaf93.
2018-03-21Backport: Fix some runtime warnings caused by previous change as wSelectionNeil Hodgson1-4/+4
created later and clients (such as SciTE's about box) may use API to set up text before window is realized. Backport of changeset 6637:f5bc6b39f3fa.
2018-03-21Backport: Fix warnings about NULL selection widget by moving creation and ↵Mitchell Foral1-4/+2
destruction of wSelection into the realize and unrealize handlers. Backport of changeset 6636:faac617dc312.
2018-03-16Backport: Remove line-end white space.Neil1-1/+1
Backport of changeset 6625:2dd6b8049c4e.
2018-03-15Backport: Use forward class definitions of XPM and RGBAImage so only code ↵Neil2-2/+0
that uses them 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. Backport of changeset 6624:32adac0930bb.
2018-03-08Backport: Create static library libscintilla.a or libscintilla.lib on Windows.Neil1-4/+5
Stop creating Lexers.a static library. Harmonize make files. Backport of changeset 6477:a65186aab9f9.
2018-03-06Backport: Feature [feature-requests:#1210]. Maxima lexer added.Gunter Königsmann1-0/+5
Backport of changeset 6474:7a2aeece58b6.
2017-11-21Backport: Update make dependencies due to splitting off ILoader.h.Neil Hodgson1-89/+107
Backport of changeset 6420:2286dd5fa625.
2017-11-21Backport: Update marshalling of signals from Scintilla, changing deprecated ↵Neil Hodgson3-42/+39
NONE to VOID. Has no effect on clients as NONE was an alias for VOID. Backport of changeset 6419:8760026bba6a.
2017-09-11Backport: The Scintilla namespace is always active for internal symbols and ↵Neil6-26/+0
for the lexer and document interfaces. Backport of changeset 6388:d62863ae40a3.
2017-08-28Backport: New header ILoader.h defines ILoader interface as it does not ↵Neil2-0/+2
belong in ILexer.h. Backport of changeset 6383:9c8257ff60b7.
2017-08-02Backport: Switch default modifier key for rectangular selections from Ctrl ↵Neil Hodgson1-4/+0
to Alt on Linux. Backport of changeset 6364:ea9f62ea6153.
2017-07-29Backport: Bug [#1876]. Fix scrollbar and corner drawing and flickering of text.Neil Hodgson2-6/+36
Backport of changeset 6362:383b9c10d569.
2017-07-23Backport: Lexer style metadata uses arrays of struct literals but don't want ↵Neil Hodgson1-2/+5
noise of extra braces for each element so turn off warning. Backport of changeset 6360:ff0e3efc436c.
2017-07-07Backport: Bug [#1949]. Fix drawing failure in wrap mode for GTK+ 2.x.Neil1-1/+2
Backport of changeset 6338:ebec660dcf48.
2017-06-22Backport: Add a DefaultLexer class which lexers can subclass if they want ↵Neil1-1/+1
reasonable default implementations of the ILexerWithSubStyles interface methods. Backport of changeset 6326:d18622e37a3e.
2017-06-12Backport: Remove old timer code in favour of the FineTicker* methods.Neil2-8/+0
Backport of changeset 6311:3a180dc6e9c8.
2017-06-12Backport: Simplify mouse and keyboard handling by only retaining the ↵Neil1-5/+10
'WithModifiers" form. All events include a set of keyboard modifier flags. Older calls that passed individual parameters for each key were removed. Backport of changeset 6310:af83baede430.
2017-06-12Backport: Removed unused functions and methods from Platform.h.Neil1-100/+0
Replaced Platform::Clamp with Sci::clamp. Drop MouseButtonBounce workaround for very early GTK+/Linux. Backported from changeset 6307:7030530a9a0f.
2017-06-11Backport: Implement SCN_AUTOCSELECTIONCHANGE notification.Neil1-9/+31
Backported from changeset 6306:7e28cdba6d61.
2017-06-10Backport: Require GTK+ 2.24 or later. Removes support for earlier versions.Baldur Karlsson2-63/+0
Backport of changeset 6301:90741c1cb988.
2017-06-09Backport: Use min and max from std instead of own version from platform.Neil2-8/+8
Backport of changeset 6297:4bf96081f6e6.
2018-03-11Added optional Lua lexer support.mitchell1-4/+16
This support is disabled by default and must be enabled via compile-time option.
2017-05-22Bug [#1946]. Builds are made with a sorted list of lexers to be more ↵Bernhard M. Wiedemann1-1/+1
reproducible.
2017-05-21Update make dependencies for GTK+.Neil1-63/+71
2017-05-21Make SparseVector work with move-only types.Neil2-0/+2
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-07Use unique_ptr on GTK+.Neil1-11/+6
2017-05-02For GTK+, use unique_ptr for drawing surfaces and don't check for allocationNeil1-36/+24
failure as that throws an exception.
2017-04-22Include <memory> for std::unique_ptr.Neil1-0/+1
2017-04-21More consistent deletion of standard methods.Neil1-1/+1
2017-04-19Use =delete for unwanted functions.Neil1-4/+3