summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
43 hourswipmaxim nikonov
43 hourswipmaxim nikonov
48 hourswipmaxim nikonov
2 dayswipmaxim nikonov
2 dayswipmaxim nikonov
2 dayswipmaxim nikonov
2 dayswipmaxim nikonov
2 dayswipmaxim nikonov
2 dayswi[maxim nikonov
2 dayswipmaxim nikonov
2 dayswipmaxim nikonov
2 dayswipmaxim nikonov
3 dayswipmaxim nikonov
3 dayswipmaxim nikonov
3 dayswipmaxim nikonov
3 dayswipmaxim nikonov
3 dayswipmaxim nikonov
3 dayswipmaxim nikonov
3 dayswip: forkmaxim nikonov
4 daysImprove test/utf8 demo by using Fl_Grid and moreAlbrecht Schlosser
- separate layout and contents of example text widgets - use Fl_Grid for more flexibility in the layout of the main window - reformat some parts but not all code to FLTK style - add comments, fix font style calculation ("near fixed pitch") - add tooltips with user instructions to some of the widgets - add "rainbow" emoji as colored emoji example - reformat contents of the "unichar drop box"
6 daysFix compiler warning, rename confusing variable, format codeAlbrecht Schlosser
- fix: comparison of integer expressions of different signedness - rename confusing variable 'l' to 'len' (l can be confused with 1) - minor comment and code formatting This commit should not change the behavior.
6 daysWindows: define required Windows version for Pen/Tablet supportAlbrecht Schlosser
This is necessary for some (not all!) Windows toolchains that define the required symbols only for Windows 8 and later.
6 daysmacOS: remove code present only to support macOS versions 10.6 and earlier - ↵ManoloFLTK
cont'd.
6 daysmacOS: remove code present only to support macOS versions 10.6 and earlier.ManoloFLTK
It's possible to build and run FLTK 1.5 with its use of C++11 for macOS 10.7 and SDK 10.7. This commit makes 10.7 the required minimal version of macOS to build and run FLTK 1.5.
7 daysFix obvious indenting errors after removal of old codeAlbrecht Schlosser
... by commit e0405d2135939d08289205e3a38df329076e16c1
7 daysmacOS: remove code present only to support macOS versions 10.3 and 10.4.ManoloFLTK
This is a first step towards removing the code related to support of old macOS versions that are not compatible with C++11 which FLTK 1.5 requires.
7 daysRestore usability with macOS SDK < 10.12ManoloFLTK
7 daysImprove documentation of functions dedicated to processing of emoji sequences.ManoloFLTK
7 daysAvoid leaving file descriptor open after failed call to mkstemp()ManoloFLTK
7 daysFix typo in CMake config fileAlbrecht Schlosser
9 daysFix in Fl_Text_Buffer::next_char() necessary for empty buffer.ManoloFLTK
9 daysWayland paste and DnD: fix minor issue revealed by valgrind - cont'd.ManoloFLTK
9 daysEmoji support: fix in Fl_Text_Buffer::next_char() necessary for keycap emoji ↵ManoloFLTK
sequences.
9 daysWayland paste and DnD: fix minor issue revealed by valgrind.ManoloFLTK
10 daysCMake: add try_compile() to figure out if Pen/Tablet is supportedAlbrecht Schlosser
This test is specifically intended to disable Pen/Tablet support on classic MinGW (32-bit) platforms that lack required symbol definitions although Pen/Tablet support might be supported by the Windows system. This test can be extended for other platforms, but for now it's performed only on Windows.
10 daysEmojis: add support of keycap emoji sequences.ManoloFLTK
- It is expected that all emojis listed in the Wikipedia "emoji" article as of early 2026 are recognized as single glyphs by FLTK text widgets. - Document functions fl_utf8_{next|previous}_composed_char() relatively to the notion of "emoji sequence". - Remove signed/unsigned comparison compilation warnings.
11 daysImprove usage of std::map::key_comp() member in fl_wayland_clipboard_dnd.cxxManoloFLTK
11 daysImprove usage of std::map objects in fl_wayland_clipboard_dnd.cxxManoloFLTK
11 daysFix typo in documentation of fl_utf8len1().ManoloFLTK
12 daysWayland: improve handling of priorities between diverse clipboard mime-types.ManoloFLTK
13 daysRemove usage of fl_utf8froma(), improve layout of test/utf8Albrecht Schlosser
- use demo strings in UTF-8 encoding rather than converting them which also simplifies the code - replace some hard-coded width and pos. values with constants - enlarge width of text widgets (left column) of the main window - replace display of Unicode range U+D800 ... U+DFFF with a text explaining that this space is used by UTF-16 surrogate pairs to prevent warning messages about invalid Unicode text.
13 daysModify fl_utf8toa() to make it account for composed emojis.ManoloFLTK
13 daysImprove documentation of fl_utf8_{next|from}_composed_char()ManoloFLTK
13 daysLet text widgets handle gracefully composed unicode characters - Cont'd.ManoloFLTK
This commit adds support of another type of composed characters: flags. It also fixes Fl_Text_Buffer::prev_char() and Fl_Text_Buffer::next_char() that must use Fl_Text_Buffer::byte_at() to access to the content of the text buffer.
2026-01-24Fix "Setting window custom cursor from SVG image crashes" - cont'd (#1363)ManoloFLTK
2026-01-24Let Fl_Text_Editor and Fl_Input handle gracefully composed unicode characters.ManoloFLTK
2026-01-23Wayland: use UTF8 text from clipboard when available.ManoloFLTK
2026-01-23Wayland: add support of recoded UTF8 text in clipboard.ManoloFLTK
2026-01-22Fix "Setting window custom cursor from SVG image crashes" (#1363)ManoloFLTK
2026-01-21Improve handling of text containing context-dependent unicode points.ManoloFLTK
This commit makes platforms Windows and macOS compute string widths with the same mechanism as what is in place for platforms Wayland/X11: - the width of a string containing a single codepoint is computed and memorized in the table of character widths; - the width of a string containing several codepoints is computed as such rather than as the sum of the widths of its composing characters. The result is that FLTK text widgets input and draw correctly also complex emojis encoded with context-dependent codepoints. Function fl_utf8_remove_context_dependent() is no longer necessary.