aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk
AgeCommit message (Collapse)AuthorFilesLines
2022-01-30Simplify pango_layout_set_text and suppress type warnings.Neil1-11/+15
Avoid strlen when .length() available.
2022-01-30Use unique_ptr for PangoContext and PangoLayout.Neil Hodgson1-40/+36
2022-01-30Use language field instead of calling pango_context_get_language as now alwaysNeil Hodgson1-2/+2
available.
2022-01-30Feature [feature-requests:#1427] Make GTK MeasureWidths andNeil Hodgson1-11/+66
MeasureWidthsUTF8 reentrant so they can be called safely from multiple threads.
2022-01-28Guard macOS option for dynamic library from being active on Linux.Neil Hodgson1-1/+3
2022-01-28Use Pango library pango_units_from_double pango_units_to_double instead ofNeil Hodgson1-19/+8
custom equivalents as should no longer need to be compatible with very old Pango.
2022-01-28Bug [#2310] Use fractional glyph positions on GTK to make monospaced fonts workNeil Hodgson1-0/+9
better with Chinese text.
2022-01-12Remove checking for lexers as Scintilla can no longer be built with lexers.Neil1-3/+1
2022-01-11Correct comment about dependency generation.Neil1-1/+1
2021-11-21Bug [#2296] Fix multi-monitor widget positioning on waylandJan Dolinar1-0/+11
2021-10-24Bug [#2287] Fix primary selection paste within same instance.Neil Hodgson2-3/+9
2021-10-12Minor code simplifications from clang-tidy.Neil1-4/+4
2021-10-12Feature [feature-requests:#1416] Mark override destructors as override.Neil2-2/+2
2021-10-09Fix warning from Cppcheck2.6.Neil1-3/+1
2021-10-06Update dependencies.Neil1-0/+1
2021-10-02Do not unref the global settings object as gtk_settings_get_default does notMitchell Foral1-3/+0
transfer ownership.
2021-09-28Widen styleNumber in PositionCacheEntry from 8 to 16 bits to allow stylesNeil2-0/+2
larger than 255 to be represented. Before this, it may have been possible but extremely rare for a cache entry to wrongly match a styled lexeme and produce incorrect layout. Using uint16_t from cstdint instead of a bit field as tools perform more checking on that.
2021-09-19Respond to changes in system font scaling by clearing any cached layout data.Neil Hodgson2-0/+14
2021-09-13Hold onto global GtkSettings object as used multiple times.Neil Hodgson2-12/+26
2021-09-12Round up ascent and descent of fonts on GTK to make it more likely thatNeil Hodgson1-2/+2
underscores and accents will be visible.
2021-07-17Updated dependencies.Neil1-0/+1
2021-07-03Remove remnants of support for including lexers in Scintilla.Neil1-10/+4
2021-06-17Implement GetDirectStatusFunction on GTK.Neil1-0/+3
2021-06-17Add SciFnDirectStatus, a direct access function which also returns status so canNeil2-1/+12
improve performance for client code that called SCI_GETSTATUS after every API to check for failure.
2021-05-25Update dependencies.Neil1-55/+41
2021-05-25Use correct enumeration.Neil Hodgson1-1/+1
2021-05-25Place functions in correct internal namespace.Neil Hodgson1-1/+2
2021-05-24Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.hNeil6-257/+293
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-22Rename ColourAlpha to ColourRGBA to avoid clashes when a ColourAlpha typedefNeil3-27/+27
will be published in externally visible header.
2021-04-28Bug [#2227]. On GTK 3 with Wayland, fix primary selection.Neil Hodgson2-48/+64
2021-04-27Rename CharacterSet and CharacterCategory modules in Scintilla to CharacterTypeNeil4-24/+24
and CharacterCategoryMap to avoid clashes with Lexilla when building an executable that includes both.
2021-04-25Feature [feature-requests:#1402]. Unify colour type with ColourAlpha.Neil3-9/+9
Change ColourDesired to ColourAlpha in styles. Remove ColourDesired.
2021-04-23Remove volatile qualifiers as they cause an error with Clang 12.Neil Hodgson1-2/+2
The glib documentation shows use without volatile and mentions that - While location has a volatile qualifier, this is a historical artifact and the pointer passed to it should not be volatile. https://developer.gnome.org/glib/stable/glib-Threads.html#g-once-init-enter
2021-04-15Add default case to IME checking of underline type to prevent warnings.Neil Hodgson1-0/+1
2021-04-15Add casts to prevent warnings from MSVC.Neil1-21/+23
2021-04-15Avoid warning from MSVC.Neil1-1/+3
2021-04-15Widen some position and length values to match core APIs.Neil2-6/+6
2021-04-15Avoid crash on Win32 as it doesn't support font options.Mitchell Foral1-4/+6
2021-04-06Minor fixes - noexcept, unnamed namespace, initialisation, casting.Neil1-61/+81
Leaves GTK object definition as is since this is essentially C code with documentation and examples in C.
2021-04-06Explicit wide call to prevent fail if built in different Unicode mode on Win32.Neil1-1/+1
2021-04-05More noexcept on Cocoa, GTK, and Qt.Neil1-3/+3
2021-04-05Change CaseConversion to an enum class.Neil1-1/+1
2021-04-05Detect (some) changes to font options and clear position caches when changed.Neil2-0/+44
To experiment, use the Fonts panel of the Tweaks application.
2021-04-04Respond to changes in font antialiasing and hinting options on GTK 2.Neil1-4/+8
2021-03-30Treat SC_MARK_CHARACTER as Unicode for a wider variety of symbols.Neil1-1/+2
2021-03-29Modify ListBox::GetValue to return a std::string to avoid fixed size buffersNeil1-6/+6
and the possibility of truncation.
2021-03-29Add SCI_SETELEMENTCOLOUR and related APIs to change colours of visible elements.Neil2-0/+2
Implement SC_ELEMENT_LIST* to change colours of autocompletion lists.
2021-03-28Use PenColourAlpha instead of PenColour ensuring translucent text works.Neil1-36/+26
Use enum class for encoding type. Avoid warnings.
2021-03-26Add SC_SUPPORTS_PIXEL_MODIFICATION to differentiate character cell andNeil1-0/+1
pixel oriented platforms.
2021-03-22Remove IntegerRectangle.h as not widely usefulNeil2-2/+14
Add IntegerRectangle struct for local use in PlatGTK.cxx.