aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa
AgeCommit message (Collapse)AuthorFilesLines
2021-03-22Implement more support values.Neil1-0/+2
2021-03-22Replace multiple mode setting calls on Surface with SetMode as this isNeil1-4/+2
extensible. For CallTip, GTK and Qt hardcode BidiR2L to false as they don't support bidirectional, its the same as current, and the BidiR2L state on EditModel isn't easily accessible.
2021-03-20Replace FillRectangle with FillRectangleAligned as FillRectangle will stopNeil1-2/+2
aligning to pixel boundaries. Use Surface::SetMode as simpler and its predecessors will be removed.
2021-03-20Use Surface::AllocatePixMap instead of changing an existing surface withNeil1-1/+1
InitPixMap. Changed DropGraphics from releasing surfaces to deleting them. This simplifies code and the added cost of allocating a new Surface is small.
2021-03-25Translucent text.Neil2-22/+28
2021-03-20Add AllocatePixMap method on Surface to create a pixmap surface.Neil2-0/+54
2021-03-20Use SurfaceMode struct as a way to inform Surface of modes like code page andNeil2-17/+26
bidirectional options in an extensible way instead of adding a call for each element.
2021-03-25Add FillRectangleAligned to align rectangle to pixel grid on x-axis beforeNeil2-0/+7
filling it to avoid partially drawn pixels on left and right edges.
2021-03-20Implement LineDraw and PolyLine.Neil2-0/+35
2021-03-20Implement Stadium on all platforms except for Win32 GDI.Neil2-0/+56
2021-03-20Implement RectangleFrame.Neil2-0/+19
2021-03-25Use FillStroke for parameters to Polygon, RectangleDraw, RoundedRectangle, andNeil2-0/+146
Ellipse.
2021-03-19Support strokeWidth and float cornerSize in AlphaRectangle. Use FillStrokeNeil2-0/+62
instead of separate colour and alpha arguments.
2021-03-25Implement translucent FillRectangle.Neil2-0/+23
2021-03-19UTF-8 text drawing and measurement.Neil2-0/+108
Move SurfaceGDI::WidthText to match declaration order.
2021-03-19Add an explicit FlushDrawing method to Surface that should be called afterNeil2-0/+4
completing a bitmap. Currently only has a real implementation on Direct2D. Avoiding implicit flushes inside Copy and FillRectangle produced a 23% speed improvement on files with about 1 indentation guide per line as the drawing pipeline was being flushed for each indentation guide.
2021-03-19Implement PopClip to allow local clipping.Neil2-0/+6
2021-03-19Add Surface::PixelDivisions which detects 'retina' displays that useNeil2-0/+18
multiple display pixels per logical pixel. Likely will only return >1 for Apple displays. Can be used for finer placement of elements.
2021-03-19Add Platform::Supports for SupportsFeature API.Neil2-0/+15
2021-03-19Add Geometry.cxx for geometric and colour operations too complex for headers.Neil1-0/+12
Add FillStroke to hold parameters for drawing shapes.
2021-03-19Switch enum to enum class.Neil2-37/+35
2020-06-24Converting between UTF-8 and current encoding.Neil2-0/+35
Allows platform-independent code to be written just to handle Unicode.
2021-03-18Make Surface::Release and callers (where possible) noexcept.Neil2-2/+2
2021-03-18Use unique_ptr for CaseFolderForEncoding to show transfer of ownership.Neil2-5/+5
2021-03-18Use unique_ptr for Surface::Allocate to show transfer of ownership.Neil1-2/+2
2021-03-18std::optional is a basic vocabulary type that may be used widely so includeNeil3-0/+3
almost everywhere.
2021-03-18Move assert and debug trace functions into their own header Debugging.h.Neil4-0/+4
PLATFORM_ASSERT is used in data structure headers which led to including graphics and windowing APIs in data structure modules.
2021-03-18ListBox options API. ListOptions is currently empty but may contain list itemNeil1-0/+4
colours in the future.
2021-03-17Use unique_ptr for ListBox::Allocate to show transfer of ownership.Neil1-3/+2
2021-03-17Change Window::Cursor to an enum class.Neil2-8/+8
2021-03-17Remove Window::SetFont as never used.Neil1-6/+0
2021-03-17Change Font to an interface and stop using FontID. Fonts are shared andNeil4-88/+86
reference counted using std::shared_ptr. This optimizes memory and reduces potential for allocation bugs.
2021-03-17Make Window argument to Menu::Show const as that avoids warnings and the WindowNeil1-1/+1
is not altered by showing a menu.
2021-03-17Mark Window::Destroy, ListBox::Clear, and Menu::Destroy as noexcept sinceNeil1-4/+4
destroying state should not throw.
2021-03-17Extract geometry and colour definitions from Platform.h into src/Geometry.h.Neil4-0/+4
2021-03-17Remove DynamicLibrary as loading lexers with SCI_LOADLEXERLIBRARY was removedNeil1-51/+0
for Scintilla 5.
2021-03-16Convert Platform from a class to a namespace. Does not change callers.Neil1-6/+6
Make Assert, DebugPrintf, and similar noexcept so they can be used in noexcept methods and they don't throw.
2021-03-16Set deployment target of ScintillaTest to the minimum supported by current ↵Neil1-0/+4
Xcode.
2021-03-10Use Lexilla in ScintillaTest. Switch from ScintillaFramework to Scintilla.Neil Hodgson3-33/+63
2021-03-10Turn off warnings for quoted include in framework headers.Neil Hodgson1-2/+2
These are 'framework headers' from the point of view of client code but are 'user headers' from Scintilla's POV. Using angle brackets so they are 'system headers' could cause problems with other build systems.
2021-03-10Add public headers (ILexer.h, ILoader.h, Scintilla.h, Sci_Position.h) to ↵Neil Hodgson1-3/+19
project. Mark them as well as (ScintillaView.h, InfoBar.h, InfoBarCommunicator.h) as public so they will be copied into the framework's Headers directory for use by clients.
2021-03-10Increase deployment target to 10.9 as it is the minimum supported by Xcode 12.4.Neil Hodgson1-4/+4
2021-03-05Update version number to 5.0.0.Neil2-5/+5
2021-02-07Made comment make sense.Neil Hodgson1-1/+1
2021-02-07On macOS 11, autocompletion list text was being truncated. An extra 22 pixelsNeil Hodgson1-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-09Update Xcode project and remove SciLexer.h from ScintillaView.h.Neil2-129/+16
2021-01-29Remove Lexilla files from ScintillaNeil8-1473/+0
2020-11-28Update version number to 4.4.6 and release date.Neil3-7/+7
2020-11-02Use std::size instead of ELEMENTS so StringCopy.h is only used by Lexilla andNeil1-1/+0
can be removed from Scintilla.
2020-09-18Updated Xcode projects for Xcode 12.Neil Hodgson1-1/+3