aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa
AgeCommit message (Collapse)AuthorFilesLines
2018-10-11Backport: Add SCI_SETCOMMANDEVENTS API to allow turning off command events.Neil1-1/+1
This can reduce the time taken to fold a document by half. Backport of changeset 7110:09c647755bed.
2018-08-16Backport: For reverse arrow margin cursor, move hotspot to the tip of the arrow.Neil Hodgson1-1/+1
This fixes a bug where clicking seemed to affect the wrong margin. Backport of changeset 7075:bcf0028997ea.
2018-06-21Backport: Feature [feature-requests:#1185]. Add lexers for SAS and Stata.Luke Rasmussen1-5/+13
Backport of changeset 7056:974bc87e0696.
2018-06-30Updated for 3.10.0.rel-3-10-0mitchell1-2/+2
2018-05-25Backport: Add GradientRectangle method to Surface to draw rectangles with ↵mitchell2-0/+45
vertical or horizontal gradients. Backport of changeset 6965:90c71d69e3b6.
2018-05-21Backport: Remove CGContextRef field in QuartzTextLayout as it is only used ↵Neil Hodgson2-20/+8
in draw method where it can easily be provided. Retaining a CGContextRef in QuartzTextLayout could lead to it being used after being invalidated. Backport of changeset 6963:a8774d6100a6.
2018-05-25Backport: Add <vector> to files that include Platform.h as likely needed in ↵mitchell2-0/+4
future. Backport of changeset 6959:b534742f5fa5.
2018-05-15Backport: Fix crashes for invalid DBCS characters when dragging text, ↵Neil Hodgson1-0/+10
changing case of text, case-insensitive searching, and retrieving text as UTF-8. Backport of changeset 6952:7bfe9ec5222a.
2018-05-25Backport: Modernize Platform.h (3) - update Surface to delete WidthChar, use ↵mitchell2-17/+3
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.Neil1-7/+7
Changes made to FontParameters, Font, Window, ListBoxEvent, ListBox, Menu, DynamicLibrary, and Platform. Backport of changeset 6938:a42c7cc3254b.
2018-05-01Backport: Remove dead function and unnecessary casts. Convert C casts to C++ ↵Neil Hodgson2-30/+15
casts. Use nullptr where unambiguous and is C++ as distinct from Objective C. Backport of changeset 6777:cc47e21d83ea.
2018-05-01Backport: Hoist conversion between NSEvent time and Editor method time into ↵Neil Hodgson1-5/+19
function. Backport of changeset 6776:21643ea8bb67.
2018-05-01Backport: Bug [#2012]. Use '0' instead of '0l'.Neil1-1/+1
Backport of changeset 6768:afe3117ead02.
2018-05-06Backport: Use <chrono> for platform-independent timing and remove ↵mitchell1-28/+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: Remove variables and casts that are not needed.Neil1-2/+2
Backport of changeset 6739:e204054d5d07.
2018-04-25Backport: Use set of coercion functions for transforming WndProc parameters ↵Neil1-3/+3
into pointers. Backport of changeset 6738:5b39367ee7da.
2018-04-25Backport: Standardized signature of TargetAsUTF8 and EncodedFromUTF8.Neil2-4/+4
Backport of changeset 6737:5c4aea8a1e8a.
2018-04-22Backport: Fix problems with 64-bit positions by using types that expand to ↵Neil Hodgson3-32/+33
64-bits and removing casts to int. Backport of changeset 6730:990e4d71ecb3.
2018-04-22Backport: Reduce casts by moving casting from char* to UInt8* into ↵Neil Hodgson2-12/+20
QuartzTextLayout::SetText and adding helper TextStyleFromFont to cast from Font to QuartzTextStyle. Backport of changeset 6729:2d72313a7d6d.
2018-04-15Backport: Feature [feature-requests:#1215]. Stop warning about virtual call ↵Neil2-2/+11
in destructor. Backport of changeset 6690:2107e0144806.
2018-03-27Backport: Use an interface for ContractionState so that there can be differentNeil1-3/+3
implementations of that interface. Backport of changeset 6656:ffa2a06d3987.
2018-05-05Backport: Feature [feature-requests:#1212]. Move Unicode conversions into ↵mitchell1-4/+0
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-15/+4
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-22Updating for 3.8.0.mitchell1-2/+2
2018-03-15Backport: Use forward class definitions of XPM and RGBAImage so only code ↵Neil1-1/+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-06Backport: Feature [feature-requests:#1210]. Maxima lexer added.Gunter Königsmann1-0/+4
Backport of changeset 6474:7a2aeece58b6.
2018-03-03Backport: Promote methods from int to ptrdiff_t to allow extension to 64-bits.Neil2-8/+8
Backport of changeset 6472:aa859585e0c2.
2018-03-03Backport: Use Position and Line types in ScintillaCocoa to allow for later ↵Neil1-7/+7
changes. Backport of changeset 6471:3546815875df.
2018-02-27Backport: Added <utility> and <tuple> to header order and moved POSIX header ↵Neil2-4/+4
<sys/time.h> after standard C++ language headers. Backport of changeset 6461:abc640b89c43.
2018-02-10Backport: Eliminate calls of Scintilla APIs that have been removed.Neil Hodgson1-3/+0
Backport of changeset 6451:d5eb40fd400d.
2017-11-09Backport: Close autocompletion list for escape and delete on macOS 10.13 as ↵chinhster1-2/+1
the window was emptying but stayed visible. Backport of changeset 6416:ab409d732f0f.
2017-10-26Backport: Bug [#1979]. Fix Cocoa hang when Scintilla loaded from SMB share ↵Chinh Nguyen1-5/+11
on macOS 10.13. Backport of changeset 6406:c8b0846ddcc2.
2017-09-18Backport: Bug [#1885]. Improve scrolling on macOS 10.12.Neil Hodgson1-8/+15
Backport of changeset 6393:711d6bbf62b6.
2017-09-11Backport: The Scintilla namespace is always active for internal symbols and ↵Neil2-4/+0
for the lexer and document interfaces. Backport of changeset 6388:d62863ae40a3.
2017-08-28Backport: Include ILoader.h in public interface to Scintilla framework.Neil Hodgson1-0/+4
Backport of changeset 6384:f569378826ff.
2017-08-28Backport: New header ILoader.h defines ILoader interface as it does not ↵Neil1-0/+1
belong in ILexer.h. Backport of changeset 6383:9c8257ff60b7.
2017-07-18Backport: Bug [#1958]. Make doCommandBySelector work but avoid double effect ↵Neil Hodgson1-4/+7
of 'delete' key. Backport of changeset 6356:8526860a2628.
2017-07-17Backport: Casts required for Unix LP64 after changes to ↵Neil Hodgson1-4/+5
Sci_Position/Sci_PositionU. Backport of changeset 6351:b7126dd1f020.
2017-06-22Backport: Add a DefaultLexer class which lexers can subclass if they want ↵Neil1-0/+8
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-11/+0
Backport of changeset 6311:3a180dc6e9c8.
2017-06-12Backport: Simplify mouse and keyboard handling by only retaining the ↵Neil1-19/+14
'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.Neil4-146/+6
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-22/+61
Backported from changeset 6306:7e28cdba6d61.
2017-06-09Backport: Use min and max from std instead of own version from platform.Neil1-2/+2
Backport of changeset 6297:4bf96081f6e6.
2018-03-13Backport: Bug as it uses a getter and discards the result instead of a setter.mitchell1-1/+1
Backport of changeset 6293:fdca97e72d4e.
2018-03-11Added optional Lua lexer support.mitchell1-0/+4
This support is disabled by default and must be enabled via compile-time option.
2017-06-15Apply change set 6308 to LongTerm3 branch.Neil Hodgson1-1/+1
Fix bug where retrieving encoded bytes failed.
2017-05-23Updated for 3.7.5 release.Neil1-2/+2
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.