Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-07-17 | Add SCI_AUTOCSETOPTIONS to allow choosing a non-resizeable autocompletion list | Neil | 1 | -5/+7 | |
on Win32. This also avoids a header rectangle above the list. | |||||
2021-06-09 | Reduce casts by defining methods for common conversions. | Neil | 1 | -2/+2 | |
2021-06-05 | Bug [#2259]. Fix gcc link-time-optimization compilation. | Neil | 1 | -0/+1 | |
2021-05-24 | Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.h | Neil | 1 | -58/+60 | |
and ScintillaStructures.h using scoped enumerations. Use these headers instead of Scintilla.h internally. External definitions go in the Scintilla namespace and internal definitio0ns in Scintilla::Internal. | |||||
2021-05-22 | Rename ColourAlpha to ColourRGBA to avoid clashes when a ColourAlpha typedef | Neil | 1 | -43/+43 | |
will be published in externally visible header. | |||||
2021-05-17 | Fix issues reported by Coverity and Visual C++ Analysis. | Neil | 1 | -8/+20 | |
Throw when (impossible) dynamic_cast failures occur as it isn't reasonable to recover. That removes 'noexcept' from some methods. Cast to avoid 'sub-expression overflow' warnings. Add default initializations and noexcept where safe. Move DropRenderTarget out of #if to avoid some preprocessor use. | |||||
2021-05-16 | Remove untenable noexcept as RGBAImageSet constructor can throw. | Neil | 1 | -1/+1 | |
2021-05-03 | Rename Opaque to WithoutAlpha as it returns a colour with 0 alpha. New Opaque | Neil | 1 | -2/+2 | |
method returns a colour with maximum (0xff) alpha. | |||||
2021-04-25 | Feature [feature-requests:#1402]. Unify colour type with ColourAlpha. | Neil | 1 | -20/+20 | |
Change ColourDesired to ColourAlpha in styles. Remove ColourDesired. | |||||
2021-04-20 | Avoid some warnings and make similar code more consistent. | Neil | 1 | -15/+8 | |
2021-04-20 | If text format creation fails, could be because of bad locale so try "en-us". | Neil | 1 | -0/+7 | |
2021-04-20 | Bug [#2246]. Fix encoding used for DirectWrite text display. | Neil | 1 | -5/+6 | |
2021-04-09 | Bug [#2243]. Fix crash when technology=2 (SC_TECHNOLOGY_DIRECTWRITERETAIN).rel-5-0-1 | Neil | 1 | -1/+1 | |
2021-04-07 | Feature [feature-requests:#1364]. Correct argument to TextWide for | Neil | 1 | -2/+2 | |
autocompletion lists. | |||||
2021-04-05 | Mark more destructors as noexcept. Delete unwanted LisboxX standard methods. | Neil | 1 | -13/+16 | |
2021-03-31 | Feature [feature-requests:1393]. Optimization in SurfaceD2D::AverageCharWidth. | Zufu Liu | 1 | -1/+1 | |
2021-03-29 | Modify ListBox::GetValue to return a std::string to avoid fixed size buffers | Neil | 1 | -4/+3 | |
and the possibility of truncation. | |||||
2021-03-29 | Add SCI_SETELEMENTCOLOUR and related APIs to change colours of visible elements. | Neil | 1 | -10/+28 | |
Implement SC_ELEMENT_LIST* to change colours of autocompletion lists. | |||||
2021-03-26 | Add SC_SUPPORTS_PIXEL_MODIFICATION to differentiate character cell and | Neil | 1 | -1/+10 | |
pixel oriented platforms. | |||||
2021-03-26 | Bug [#2224]. Switch XYPOSITION to double so it has more precision to fix | Neil | 1 | -71/+91 | |
problems with very long documents. Fixes uneven line heights on Cocoa after around 1.1 million lines. | |||||
2021-03-26 | Simplify dwordMultiplied as only ever called for ColourAlpha. | Neil | 1 | -9/+9 | |
2021-03-22 | Minimize differences between SurfaceD2D::MeasureWidthsUTF8 and MeasureWidths. | Neil | 1 | -6/+6 | |
2021-03-25 | Remove old Surface methods that have been replaced. | Neil | 1 | -381/+1 | |
2021-03-22 | Implement more support values. | Neil | 1 | -0/+2 | |
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-25 | Translucent text. | Neil | 1 | -78/+51 | |
2021-03-20 | Add AllocatePixMap method on Surface to create a pixmap surface. | Neil | 1 | -12/+55 | |
2021-03-20 | Use SurfaceMode struct as a way to inform Surface of modes like code page and | Neil | 1 | -37/+42 | |
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/+10 | |
filling it to avoid partially drawn pixels on left and right edges. | |||||
2021-03-20 | Implement LineDraw and PolyLine. | Neil | 1 | -0/+79 | |
2021-03-20 | Implement Stadium on all platforms except for Win32 GDI. | Neil | 1 | -0/+103 | |
2021-03-20 | Implement RectangleFrame. | Neil | 1 | -0/+18 | |
2021-03-25 | Use FillStroke for parameters to Polygon, RectangleDraw, RoundedRectangle, and | Neil | 1 | -6/+150 | |
Ellipse. | |||||
2021-03-19 | Support strokeWidth and float cornerSize in AlphaRectangle. Use FillStroke | Neil | 1 | -0/+87 | |
instead of separate colour and alpha arguments. | |||||
2021-03-25 | Implement translucent FillRectangle. | Neil | 1 | -19/+39 | |
2021-03-19 | UTF-8 text drawing and measurement. | Neil | 1 | -34/+259 | |
Move SurfaceGDI::WidthText to match declaration order. | |||||
2021-03-19 | Add an explicit FlushDrawing method to Surface that should be called after | Neil | 1 | -13/+12 | |
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 | -0/+15 | |
2021-03-19 | Add Surface::PixelDivisions which detects 'retina' displays that use | Neil | 1 | -0/+12 | |
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/+19 | |
2021-03-19 | Add localeName to FontParameters for Bug [#2027]. | Neil | 1 | -1/+2 | |
2021-03-19 | Ensure variables are initialised, are const where possible. | Neil | 1 | -21/+26 | |
Add default: break; to switches to avoid warnings. | |||||
2021-03-18 | Make Surface::Release and callers (where possible) noexcept. | Neil | 1 | -4/+4 | |
2021-03-18 | Use unique_ptr to add to RGBAImageSet. | Neil | 1 | -2/+2 | |
2021-03-18 | Use unique_ptr for Surface::Allocate to show transfer of ownership. | Neil | 1 | -4/+4 | |
2021-03-18 | std::optional is a basic vocabulary type that may be used widely so include | Neil | 1 | -0/+1 | |
almost everywhere. | |||||
2021-03-18 | Move assert and debug trace functions into their own header Debugging.h. | Neil | 1 | -0/+1 | |
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/+6 | |
colours in the future. | |||||
2021-03-17 | Use unique_ptr for ListBox::Allocate to show transfer of ownership. | Neil | 1 | -3/+2 | |
2021-03-17 | Change Window::Cursor to an enum class. | Neil | 1 | -9/+9 | |