Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-03-22 | Implement more support values. | Neil | 8 | -1/+54 | |
2021-03-22 | Replace multiple mode setting calls on Surface with SetMode as this is | Neil | 5 | -19/+8 | |
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-22 | Use PolyLine to simplify wrap marker arrows and allow thicker strokes when there | Neil | 4 | -31/+32 | |
is space. | |||||
2021-03-22 | Replace multiple calls when drawing boxes with Surface::RectangleFrame. | Neil | 4 | -35/+9 | |
Replace annotation boxing logic with calls to FillRectangle and Side. Switch to new AlphaRectangle signature. These will allow changing stroke width in future. | |||||
2021-03-21 | Update DrawTabArrow with new Surface calls so it can draw a thicker translucent | Neil | 1 | -16/+25 | |
arrow when an API is defined. | |||||
2021-03-20 | Replace FillRectangle with FillRectangleAligned as FillRectangle will stop | Neil | 4 | -60/+59 | |
aligning to pixel boundaries. Use Surface::SetMode as simpler and its predecessors will be removed. | |||||
2021-03-20 | Update CallTip with new Surface APIs. | Neil | 4 | -29/+24 | |
2021-03-20 | Use new Surface APIs for marker drawing. Clipping allows rounded fold markers to | Neil | 5 | -276/+286 | |
be highlighted better. | |||||
2021-03-20 | Use new Surface APIs that can adapt to different stroke widths and use clipping | Neil | 4 | -96/+102 | |
to allow more accurate less complex drawing code. | |||||
2021-03-20 | Use Surface::AllocatePixMap instead of changing an existing surface with | Neil | 10 | -89/+48 | |
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-25 | Translucent text. | Neil | 7 | -140/+127 | |
2021-03-20 | Add AllocatePixMap method on Surface to create a pixmap surface. | Neil | 7 | -34/+173 | |
2021-03-20 | Use SurfaceMode struct as a way to inform Surface of modes like code page and | Neil | 7 | -68/+125 | |
bidirectional options in an extensible way instead of adding a call for each element. | |||||
2021-03-25 | Add FillRectangleAligned to align rectangle to pixel grid on x-axis before | Neil | 7 | -0/+29 | |
filling it to avoid partially drawn pixels on left and right edges. | |||||
2021-03-20 | Implement LineDraw and PolyLine. | Neil | 7 | -0/+161 | |
2021-03-20 | Implement Stadium on all platforms except for Win32 GDI. | Neil | 7 | -2/+288 | |
2021-03-20 | Implement RectangleFrame. | Neil | 7 | -0/+57 | |
2021-03-25 | Use FillStroke for parameters to Polygon, RectangleDraw, RoundedRectangle, and | Neil | 7 | -6/+417 | |
Ellipse. | |||||
2021-03-19 | Support strokeWidth and float cornerSize in AlphaRectangle. Use FillStroke | Neil | 7 | -0/+209 | |
instead of separate colour and alpha arguments. | |||||
2021-03-25 | Implement translucent FillRectangle. | Neil | 7 | -23/+92 | |
2021-03-25 | Shorten names as containers provide context. | Neil | 1 | -7/+7 | |
2021-03-19 | UTF-8 text drawing and measurement. | Neil | 7 | -34/+554 | |
Move SurfaceGDI::WidthText to match declaration order. | |||||
2021-03-19 | Add an explicit FlushDrawing method to Surface that should be called after | Neil | 10 | -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-19 | Implement PopClip to allow local clipping. | Neil | 9 | -3/+54 | |
2021-03-19 | Add Surface::PixelDivisions which detects 'retina' displays that use | Neil | 9 | -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-19 | Add Platform::Supports for SupportsFeature API. | Neil | 12 | -2/+72 | |
2021-03-19 | Add Geometry.cxx for geometric and colour operations too complex for headers. | Neil | 11 | -7/+217 | |
Add FillStroke to hold parameters for drawing shapes. | |||||
2021-03-19 | Add localeName to FontParameters for Bug [#2027]. | Neil | 2 | -3/+9 | |
2021-03-19 | Switch enum to enum class. | Neil | 22 | -408/+437 | |
2021-03-19 | Protect against exceptions from ILexer5::Release as called inside destructor. | Neil | 1 | -2/+10 | |
2021-03-19 | Make simple constructor constexpr. | Neil | 1 | -1/+1 | |
2021-03-19 | Add SupportsFeature API but leave empty for now with no features defined. | Neil | 4 | -0/+14 | |
2021-03-19 | Ensure variables are initialised, are const where possible. | Neil | 1 | -21/+26 | |
Add default: break; to switches to avoid warnings. | |||||
2020-06-24 | Converting between UTF-8 and current encoding. | Neil | 8 | -0/+105 | |
Allows platform-independent code to be written just to handle Unicode. | |||||
2021-03-18 | Make Surface::Release and callers (where possible) noexcept. | Neil | 13 | -17/+17 | |
2021-03-18 | Use unique_ptr to add to RGBAImageSet. | Neil | 4 | -17/+13 | |
2021-03-18 | Use unique_ptr for CaseFolderForEncoding to show transfer of ownership. | Neil | 11 | -26/+26 | |
2021-03-18 | Use unique_ptr for Surface::Allocate to show transfer of ownership. | Neil | 10 | -23/+22 | |
2021-03-18 | std::optional is a basic vocabulary type that may be used widely so include | Neil | 46 | -0/+46 | |
almost everywhere. | |||||
2021-03-18 | Move assert and debug trace functions into their own header Debugging.h. | Neil | 52 | -101/+163 | |
PLATFORM_ASSERT is used in data structure headers which led to including graphics and windowing APIs in data structure modules. | |||||
2021-03-18 | ListBox options API. ListOptions is currently empty but may contain list item | Neil | 5 | -0/+22 | |
colours in the future. | |||||
2021-03-17 | Use unique_ptr for ListBox::Allocate to show transfer of ownership. | Neil | 6 | -13/+10 | |
2021-03-17 | Change Window::Cursor to an enum class. | Neil | 9 | -53/+53 | |
2021-03-17 | Remove Window::SetFont as never used. | Neil | 5 | -23/+1 | |
2021-03-17 | Change Font to an interface and stop using FontID. Fonts are shared and | Neil | 23 | -621/+485 | |
reference counted using std::shared_ptr. This optimizes memory and reduces potential for allocation bugs. | |||||
2021-03-17 | Make Window argument to Menu::Show const as that avoids warnings and the Window | Neil | 5 | -5/+5 | |
is not altered by showing a menu. | |||||
2021-03-17 | Mark Window::Destroy, ListBox::Clear, and Menu::Destroy as noexcept since | Neil | 5 | -20/+20 | |
destroying state should not throw. | |||||
2021-03-17 | Extract geometry and colour definitions from Platform.h into src/Geometry.h. | Neil | 54 | -196/+331 | |
2021-03-17 | Remove DynamicLibrary as loading lexers with SCI_LOADLEXERLIBRARY was removed | Neil | 5 | -188/+0 | |
for Scintilla 5. | |||||
2021-03-16 | Convert Platform from a class to a namespace. Does not change callers. | Neil | 6 | -46/+41 | |
Make Assert, DebugPrintf, and similar noexcept so they can be used in noexcept methods and they don't throw. |