aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2021-03-20Implement Stadium on all platforms except for Win32 GDI.Neil7-2/+288
2021-03-20Implement RectangleFrame.Neil7-0/+57
2021-03-25Use FillStroke for parameters to Polygon, RectangleDraw, RoundedRectangle, andNeil7-6/+417
Ellipse.
2021-03-19Support strokeWidth and float cornerSize in AlphaRectangle. Use FillStrokeNeil7-0/+209
instead of separate colour and alpha arguments.
2021-03-25Implement translucent FillRectangle.Neil7-23/+92
2021-03-25Shorten names as containers provide context.Neil1-7/+7
2021-03-19UTF-8 text drawing and measurement.Neil7-34/+554
Move SurfaceGDI::WidthText to match declaration order.
2021-03-19Add an explicit FlushDrawing method to Surface that should be called afterNeil10-13/+32
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.Neil9-3/+54
2021-03-19Add Surface::PixelDivisions which detects 'retina' displays that useNeil9-0/+46
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.Neil12-2/+72
2021-03-19Add Geometry.cxx for geometric and colour operations too complex for headers.Neil11-7/+217
Add FillStroke to hold parameters for drawing shapes.
2021-03-19Add localeName to FontParameters for Bug [#2027].Neil2-3/+9
2021-03-19Switch enum to enum class.Neil22-408/+437
2021-03-19Protect against exceptions from ILexer5::Release as called inside destructor.Neil1-2/+10
2021-03-19Make simple constructor constexpr.Neil1-1/+1
2021-03-19Add SupportsFeature API but leave empty for now with no features defined.Neil4-0/+14
2021-03-19Ensure variables are initialised, are const where possible.Neil1-21/+26
Add default: break; to switches to avoid warnings.
2020-06-24Converting between UTF-8 and current encoding.Neil8-0/+105
Allows platform-independent code to be written just to handle Unicode.
2021-03-18Make Surface::Release and callers (where possible) noexcept.Neil13-17/+17
2021-03-18Use unique_ptr to add to RGBAImageSet.Neil4-17/+13
2021-03-18Use unique_ptr for CaseFolderForEncoding to show transfer of ownership.Neil11-26/+26
2021-03-18Use unique_ptr for Surface::Allocate to show transfer of ownership.Neil10-23/+22
2021-03-18std::optional is a basic vocabulary type that may be used widely so includeNeil46-0/+46
almost everywhere.
2021-03-18Move assert and debug trace functions into their own header Debugging.h.Neil52-101/+163
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 itemNeil5-0/+22
colours in the future.
2021-03-17Use unique_ptr for ListBox::Allocate to show transfer of ownership.Neil6-13/+10
2021-03-17Change Window::Cursor to an enum class.Neil9-53/+53
2021-03-17Remove Window::SetFont as never used.Neil5-23/+1
2021-03-17Change Font to an interface and stop using FontID. Fonts are shared andNeil23-621/+485
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 WindowNeil5-5/+5
is not altered by showing a menu.
2021-03-17Mark Window::Destroy, ListBox::Clear, and Menu::Destroy as noexcept sinceNeil5-20/+20
destroying state should not throw.
2021-03-17Extract geometry and colour definitions from Platform.h into src/Geometry.h.Neil54-196/+331
2021-03-17Remove DynamicLibrary as loading lexers with SCI_LOADLEXERLIBRARY was removedNeil5-188/+0
for Scintilla 5.
2021-03-16Convert Platform from a class to a namespace. Does not change callers.Neil6-46/+41
Make Assert, DebugPrintf, and similar noexcept so they can be used in noexcept methods and they don't throw.
2021-03-16Moved Platform.h to src as it is private to Scintilla.Neil5-73/+73
2021-03-17Added tag start-platform-changes for changeset 6b462b5bd706Neil1-0/+1
2021-03-17Drop suppression that appears to no longer be needed.start-platform-changesNeil1-3/+0
2021-03-16Set deployment target of ScintillaTest to the minimum supported by current ↵Neil1-0/+4
Xcode.
2021-03-16Fix dlopen call.Neil1-1/+1
2021-03-16Add Scintilla 5 migration guide.Neil2-1/+229
2021-03-16Lexilla and ILexer5 are no longer provisional so remove "provisional" markings.Neil1-6/+6
2021-03-12Remove declarations of methods that are no longer implemented.Neil1-2/+0
2021-03-12Remove SetLexer, SetLexerLanguage, and LoadLexerLibrary methods.Neil5-50/+30
These have been superceded by Lexilla and the SetILexer API.
2021-03-11Make the file easier to parse from script.Neil1-9/+5
2021-03-11Only substitute one instance of RE for ReplaceREInFile.Neil1-1/+1
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