aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa
AgeCommit message (Collapse)AuthorFilesLines
2019-08-30Preparing for 3.11.0 release.rel-3-11-0mitchell1-2/+2
2019-07-11Backport: Bug [#2038]. Source of input reported in SCN_CHARADDED.mitchell3-8/+8
This may be SC_CHARACTERSOURCE_DIRECT_INPUT, SC_CHARACTERSOURCE_TENTATIVE_INPUT, or SC_CHARACTERSOURCE_IME_RESULT. Backport of changeset 7613:4cfac35c71bd.
2019-06-24Backport: On Cocoa, stop internal failures for missing fonts.Neil Hodgson1-3/+5
Avoid propagating terminating NULs from SCI_STYLEGETFONT and SCI_TARGETASUTF8. Backport of changeset 7601:b3e8143194f8.
2019-06-23Backport: Feature [feature-requests:#1297] Fixed one INDIC_IME forgotten in ↵Neil Hodgson1-1/+1
7594. Backport of changeset 7600:d4e5c9a89da4.
2019-06-22Backport: Feature [feature-requests:#1297] Update to use INDICATOR_ instead ↵Neil2-5/+5
of INDIC_ as INDIC_ is also used for indicator styles. Backport of changeset 7594:190079cd334f.
2019-07-11Backport: Feature [feature-requests:#1293]. InsertCharacter replaces AddCharUTF.mitchell1-2/+2
Backport of changeset 7575:e1e9f53b0423.
2019-06-16Backport: Fix Xcode static analysis warning by renmaing GetImage to CreateImage.Neil Hodgson3-8/+8
A naming convention is used by the analyzer where a "Create" prefix is used when the reference is owned by the caller and a "Get" prefix when the reference is not owned so should not be released. Backport of changeset 7573:9da2019c1c9d.
2019-07-11Backport: Feature [feature-requests:#1295]. Lexer added for DataFlex.mitchell1-2/+6
Backport of changeset 7569:ab69548334b7, but with custom `_strnlen` function since `strnlen` is not part of the C or C++ standard.
2019-06-05Preparing for 3.10.6 release.mitchell1-2/+2
2019-05-11Backport: Feature [feature-requests:#1283]. Standardise spelling - "color" ↵Neil2-3/+3
-> "colour". Backport of changeset 7498:7dd63f4402ae.
2019-05-27Backport: Feature [feature-requests:#1280]. Lexer added for X12.mitchell1-0/+4
Backport of changeset 7486:a99fa007805f, but with LexerX12::Terminator struct definition not having default values, which is a C++14 feature.
2019-05-09Updated version number for release.rel-3-10-5mitchell1-2/+2
2019-04-27Fixed bad backport involving std::round and std::lround for older Mac OSX SDKs.mitchell2-7/+7
This reverts parts of changeset 7371:886ffb3884fe.
2019-04-17Updated version number for release.mitchell1-2/+2
2019-04-17Backport: Move UniqueStringCopy into its own source file UniqueString.cxx to ↵mitchell1-0/+4
hide the implementation. Backport of changeset 7402:751b76b567f9, but with an alternative to C++17's string_view.
2019-03-29Backport: Include "CharacterCategory.h" in all files that include ↵Neil1-0/+1
"Document.h" as it will be needed for adding a CharacterCategory feature. Backport of changeset 7391:9d98d77e920f.
2019-03-28Backport: Updated ScintillaFramework internationalization to fix warnings ↵Neil Hodgson2-8/+8
from Xcode 10.2. Backport of changeset 7349:0b7800a19ed3, but only .cxx file reordering. Internationalization was not backported in case it's not compatible with earlier versions of XCode.
2019-03-25Backport: Use generic std::abs instead of abs and fabs.Neil2-2/+2
Backport of changeset 7330:09e5fe965a79.
2019-03-31Backport: Use generic versions of ceil, floor, round, lround, trunc from ↵mitchell4-10/+17
<cmath>. Backport of changeset 7329:2662ef098d93, but without std::round and std::lround, since older Mac OSX SDKs may not have them.
2019-03-11Backport: Make idle processing more efficient on Cocoa by only notifying the ↵Neil Hodgson1-1/+1
relevant Scintilla instance. Backport of changeset 7312:fac795d055c5.
2019-03-11Backport: Enable Base internationalization to avoid warning from Xcode.Neil Hodgson2-0/+2
Backport of changeset 7311:7a24b18327fa.
2019-03-09Updated version number for release.mitchell1-2/+2
2019-03-09Backport: Feature [feature-requests:#1265]. Common Intermediate Language ↵mitchell1-0/+4
(CIL) lexer. Backport of changeset 7283:aaeca7f7cf9d.
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-12Updates for version 3.10.2.mitchell1-2/+2
2018-11-21Backport: Feature [feature-requests:#1242]. Add lexer for NimJad Altahan1-1/+5
Backport of changeset 7173:3e6cf75864cc.
2018-11-20Bug [#2061]. Fix a crash that occurred when entering a dead key diacritic then aNeil Hodgson1-1/+12
character that can not take that diacritic, such as option+e (acute accent) followed by g. Backport of changeset 7171:d07ee885f2dd, but translated to C++11.
2018-10-31Updated for 3.10.1.rel-3-10-1mitchell1-2/+2
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.