Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-04-15 | Widen some position and length values to match core APIs. | Neil | 2 | -6/+6 | |
2021-04-15 | Avoid crash on Win32 as it doesn't support font options. | Mitchell Foral | 1 | -4/+6 | |
2021-04-06 | Minor fixes - noexcept, unnamed namespace, initialisation, casting. | Neil | 1 | -61/+81 | |
Leaves GTK object definition as is since this is essentially C code with documentation and examples in C. | |||||
2021-04-06 | Explicit wide call to prevent fail if built in different Unicode mode on Win32. | Neil | 1 | -1/+1 | |
2021-04-05 | More noexcept on Cocoa, GTK, and Qt. | Neil | 1 | -3/+3 | |
2021-04-05 | Change CaseConversion to an enum class. | Neil | 1 | -1/+1 | |
2021-04-05 | Detect (some) changes to font options and clear position caches when changed. | Neil | 2 | -0/+44 | |
To experiment, use the Fonts panel of the Tweaks application. | |||||
2021-04-04 | Respond to changes in font antialiasing and hinting options on GTK 2. | Neil | 1 | -4/+8 | |
2021-03-30 | Treat SC_MARK_CHARACTER as Unicode for a wider variety of symbols. | Neil | 1 | -1/+2 | |
2021-03-29 | Modify ListBox::GetValue to return a std::string to avoid fixed size buffers | Neil | 1 | -6/+6 | |
and the possibility of truncation. | |||||
2021-03-29 | Add SCI_SETELEMENTCOLOUR and related APIs to change colours of visible elements. | Neil | 2 | -0/+2 | |
Implement SC_ELEMENT_LIST* to change colours of autocompletion lists. | |||||
2021-03-28 | Use PenColourAlpha instead of PenColour ensuring translucent text works. | Neil | 1 | -36/+26 | |
Use enum class for encoding type. Avoid warnings. | |||||
2021-03-26 | Add SC_SUPPORTS_PIXEL_MODIFICATION to differentiate character cell and | Neil | 1 | -0/+1 | |
pixel oriented platforms. | |||||
2021-03-22 | Remove IntegerRectangle.h as not widely useful | Neil | 2 | -2/+14 | |
Add IntegerRectangle struct for local use in PlatGTK.cxx. | |||||
2021-03-25 | Remove old Surface methods that have been replaced. | Neil | 1 | -217/+1 | |
2021-03-22 | Implement more support values. | Neil | 1 | -0/+2 | |
2021-03-22 | Replace multiple mode setting calls on Surface with SetMode as this is | Neil | 1 | -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-22 | Use PolyLine to simplify wrap marker arrows and allow thicker strokes when there | Neil | 1 | -1/+0 | |
is space. | |||||
2021-03-22 | Replace multiple calls when drawing boxes with Surface::RectangleFrame. | Neil | 1 | -1/+0 | |
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-20 | Replace FillRectangle with FillRectangleAligned as FillRectangle will stop | Neil | 1 | -4/+4 | |
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 | 1 | -1/+0 | |
2021-03-20 | Use new Surface APIs for marker drawing. Clipping allows rounded fold markers to | Neil | 1 | -1/+0 | |
be highlighted better. | |||||
2021-03-20 | Use new Surface APIs that can adapt to different stroke widths and use clipping | Neil | 1 | -1/+0 | |
to allow more accurate less complex drawing code. | |||||
2021-03-20 | Use Surface::AllocatePixMap instead of changing an existing surface with | Neil | 1 | -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-25 | Translucent text. | Neil | 1 | -16/+16 | |
2021-03-20 | Add AllocatePixMap method on Surface to create a pixmap surface. | Neil | 1 | -15/+38 | |
2021-03-20 | Use SurfaceMode struct as a way to inform Surface of modes like code page and | Neil | 1 | -3/+28 | |
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 | 1 | -0/+5 | |
filling it to avoid partially drawn pixels on left and right edges. | |||||
2021-03-20 | Implement LineDraw and PolyLine. | Neil | 1 | -0/+27 | |
2021-03-20 | Implement Stadium on all platforms except for Win32 GDI. | Neil | 1 | -2/+61 | |
2021-03-20 | Implement RectangleFrame. | Neil | 1 | -0/+10 | |
2021-03-25 | Use FillStroke for parameters to Polygon, RectangleDraw, RoundedRectangle, and | Neil | 1 | -0/+59 | |
Ellipse. | |||||
2021-03-19 | Support strokeWidth and float cornerSize in AlphaRectangle. Use FillStroke | Neil | 1 | -0/+26 | |
instead of separate colour and alpha arguments. | |||||
2021-03-25 | Implement translucent FillRectangle. | Neil | 1 | -4/+23 | |
2021-03-19 | UTF-8 text drawing and measurement. | Neil | 1 | -0/+88 | |
Move SurfaceGDI::WidthText to match declaration order. | |||||
2021-03-19 | Add an explicit FlushDrawing method to Surface that should be called after | Neil | 1 | -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-19 | Implement PopClip to allow local clipping. | Neil | 1 | -1/+13 | |
2021-03-19 | Add Surface::PixelDivisions which detects 'retina' displays that use | Neil | 1 | -0/+6 | |
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 | 1 | -0/+14 | |
2021-03-19 | Add Geometry.cxx for geometric and colour operations too complex for headers. | Neil | 2 | -0/+4 | |
Add FillStroke to hold parameters for drawing shapes. | |||||
2021-03-19 | Switch enum to enum class. | Neil | 2 | -34/+36 | |
2020-06-24 | Converting between UTF-8 and current encoding. | Neil | 2 | -0/+20 | |
Allows platform-independent code to be written just to handle Unicode. | |||||
2021-03-18 | Make Surface::Release and callers (where possible) noexcept. | Neil | 1 | -2/+2 | |
2021-03-18 | Use unique_ptr to add to RGBAImageSet. | Neil | 1 | -7/+8 | |
2021-03-18 | Use unique_ptr for CaseFolderForEncoding to show transfer of ownership. | Neil | 2 | -5/+5 | |
2021-03-18 | Use unique_ptr for Surface::Allocate to show transfer of ownership. | Neil | 1 | -2/+2 | |
2021-03-18 | std::optional is a basic vocabulary type that may be used widely so include | Neil | 3 | -0/+3 | |
almost everywhere. | |||||
2021-03-18 | Move assert and debug trace functions into their own header Debugging.h. | Neil | 4 | -14/+27 | |
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 | 1 | -0/+4 | |
colours in the future. | |||||
2021-03-17 | Use unique_ptr for ListBox::Allocate to show transfer of ownership. | Neil | 1 | -3/+2 | |