Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-03-16 | Convert Platform from a class to a namespace. Does not change callers. | Neil | 1 | -6/+6 | |
Make Assert, DebugPrintf, and similar noexcept so they can be used in noexcept methods and they don't throw. | |||||
2021-02-07 | Made comment make sense. | Neil Hodgson | 1 | -1/+1 | |
2021-02-07 | On macOS 11, autocompletion list text was being truncated. An extra 22 pixels | Neil Hodgson | 1 | -0/+7 | |
was added to the width just on macOS 11. Its likely that there is a better way to discover the additional width needed. | |||||
2020-11-02 | Use std::size instead of ELEMENTS so StringCopy.h is only used by Lexilla and | Neil | 1 | -1/+0 | |
can be removed from Scintilla. | |||||
2019-12-13 | Implement DynamicLibrary on Cocoa. | Neil | 1 | -7/+45 | |
2019-12-13 | Add or fix file name comments. | Neil | 1 | -1/+1 | |
2019-06-16 | Fix Xcode static analysis warning by renmaing GetImage to CreateImage. | Neil Hodgson | 1 | -6/+6 | |
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. | |||||
2019-05-11 | Feature [feature-requests:#1283]. Standardise spelling - "color" -> "colour". | Neil | 1 | -1/+1 | |
2019-03-25 | Use generic std::abs instead of abs and fabs. | Neil | 1 | -1/+1 | |
2019-03-25 | Use generic versions of ceil, floor, round, lround, trunc from <cmath>. | Neil | 1 | -6/+7 | |
2018-10-04 | Fix crash when particular patterns of invalid UTF-8 led to failure to create a | Neil Hodgson | 1 | -1/+4 | |
CFStringRef. Performs more stringent validation on input text. | |||||
2018-06-07 | Update Cocoa enumerations to current names instead of deprecated names. | Neil Hodgson | 1 | -2/+2 | |
2018-06-02 | Implement IScreenLineLayout for Cocoa Core Text as ScreenLineLayout. | Neil | 1 | -4/+211 | |
2018-06-02 | Define IScreenLineLayout as the main interface for implementing bidirectional | Neil | 1 | -10/+2 | |
features by platform code. Implement IScreenLineLayout for Win32 / DirectWrite as ScreenLineLayout. | |||||
2018-05-23 | Add definitions for bidirectional support to Platform.h and provide empty | Neil | 1 | -0/+19 | |
implementations for each platform. | |||||
2018-05-22 | Add GradientRectangle method to Surface to draw rectangles with vertical or | Neil | 1 | -0/+44 | |
horizontal gradients. | |||||
2018-05-21 | If decoding DBCS text fails, use the MacRoman encoding to ensure something is | Neil Hodgson | 1 | -2/+12 | |
visible. | |||||
2018-05-21 | Remove CGContextRef field in QuartzTextLayout as it is only used in draw method | Neil Hodgson | 1 | -5/+2 | |
where it can easily be provided. Retaining a CGContextRef in QuartzTextLayout could lead to it being used after being invalidated. | |||||
2018-05-14 | Modernize Platform.h (4) - update Surface to use string_view for text arguments. | Neil | 1 | -21/+20 | |
2018-05-14 | Modernize Platform.h (3) - update Surface to delete WidthChar, use size_t for | Neil | 1 | -13/+2 | |
Polygon and delete the standard copy and assignment methods. | |||||
2018-05-14 | Modernize Platform.h (2) - noexcept, const, constexpr. | Neil | 1 | -3/+3 | |
ColourDesired is an int instead of long for consistency over different platforms. Changes made to Point, PRectangle, and ColourDesired. RoundXYPosition removed. | |||||
2018-05-14 | Modernize Platform.h (1) - noexcept, const, standard methods. | Neil | 1 | -7/+7 | |
Changes made to FontParameters, Font, Window, ListBoxEvent, ListBox, Menu, DynamicLibrary, and Platform. | |||||
2018-05-14 | Include <string_view> to allow future use in Platform interface and Unicode. | Neil | 1 | -0/+1 | |
2018-05-01 | Remove dead function and unnecessary casts. Convert C casts to C++ casts. | Neil Hodgson | 1 | -26/+12 | |
Use nullptr where unambiguous and is C++ as distinct from Objective C. | |||||
2018-04-26 | Use <chrono> for platform-independent timing and remove ElapsedTime. | Neil | 1 | -28/+0 | |
Also use #if for painting measurement as there are 7 sections of code to enable. | |||||
2018-04-25 | Remove variables and casts that are not needed. | Neil | 1 | -2/+2 | |
2018-04-22 | Reduce casts by moving casting from char* to UInt8* into ↵ | Neil Hodgson | 1 | -9/+17 | |
QuartzTextLayout::SetText and adding helper TextStyleFromFont to cast from Font to QuartzTextStyle. | |||||
2018-04-15 | Feature [feature-requests:#1215]. Stop warning about virtual call in destructor. | Neil | 1 | -2/+8 | |
2018-03-22 | Feature [feature-requests:#1211]. Use pre-computed table for UTF8BytesOfLead. | Zufu Liu | 1 | -15/+4 | |
Friendlier treatment of invalid UTF-8. Add tests for UniConversion handling invalid UTF-8. Simplify UTF8Classify tests. | |||||
2018-02-27 | Added <utility> and <tuple> to header order and moved POSIX header <sys/time.h> | Neil | 1 | -2/+2 | |
after standard C++ language headers. | |||||
2017-11-09 | Close autocompletion list for escape and delete on macOS 10.13 as the window | chinhster | 1 | -1/+1 | |
was emptying but stayed visible. | |||||
2017-06-12 | Removed unused functions and methods from Platform.h. | Neil | 1 | -131/+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-11 | Implement SCN_AUTOCSELECTIONCHANGE notification. | Neil | 1 | -17/+58 | |
2017-06-08 | Indented consistently by using astyle. | Neil | 1 | -1447/+1241 | |
2017-06-07 | Use property dot syntax. | Neil Hodgson | 1 | -35/+35 | |
Part of modernization. | |||||
2017-06-07 | Using modern Objective C literals and indexing. | Neil Hodgson | 1 | -4/+4 | |
2017-06-05 | Converted to Automatic Reference Counting. | Neil Hodgson | 1 | -30/+19 | |
2017-05-07 | Use unique_ptr on Cocoa. | Neil Hodgson | 1 | -16/+13 | |
2017-05-02 | For Cocoa, use unique_ptr for drawing surfaces and don't check for allocation | Neil | 1 | -12/+8 | |
failure as that throws an exception. | |||||
2017-04-22 | Restrict cursor changing to visible bounds so the text area cursor doesn't show | Neil | 1 | -1/+1 | |
over other views above and below ScintillaView. | |||||
2017-04-22 | Replace C++ std::map with Cocoa NSMutableDictionary as easier to switch to ARC | Neil | 1 | -54/+19 | |
since memory ownership doesn't cross between C++ and Objective C as much. | |||||
2017-04-22 | Simplify NSImage creation by using its initWithCGImage directly instead of | Neil | 1 | -23/+16 | |
creating an NSBitmapImageRep first. | |||||
2017-04-22 | Include <memory> for std::unique_ptr. | Neil | 1 | -0/+1 | |
2017-04-01 | Standardize on C++ headers, remove headers that aren't needed and add <cstddef> | Neil | 1 | -1/+2 | |
where it may be needed in the future. | |||||
2017-03-30 | Make autocompletion slightly wider to avoid text truncation. | Neil Hodgson | 1 | -1/+2 | |
2017-03-04 | Use "override" for Cocoa platform code and add to Editor where possible. | Neil Hodgson | 1 | -24/+24 | |
2017-01-24 | Use safer static_cast instead of reinterpret_cast. Remove cast to void*. | Neil | 1 | -1/+1 | |
2017-01-24 | Remove casts from id to Objective C object as they are not needed. Use safer | Neil | 1 | -28/+28 | |
static_cast instead of reinterpret_cast between void* and id or Objective C object. | |||||
2017-01-24 | Use correct signatures for pattern draw and release functions and avoid | Neil | 1 | -6/+5 | |
reinterpret_cast | |||||
2017-01-23 | Use safer static_cast instead of reinterpret_cast when converting FontID to | Neil | 1 | -11/+11 | |
QuartzTextStyle. |