summaryrefslogtreecommitdiff
path: root/src/ui/util.c
AgeCommit message (Collapse)Author
2021-10-30Added Ukrainian UI translationJaakko Keränen
Kudos to Alyssa Liddell for a 100% translation.
2021-10-27Upgrade assistance: download "classic-set" fontpackJaakko Keränen
2021-10-26Preferences: Warn about missing glyphsJaakko Keränen
2021-10-25Message/question text wrapping; cleanupJaakko Keränen
2021-10-23CleanupJaakko Keränen
2021-10-22Util: Wrap value input promptJaakko Keränen
2021-10-22Mobile: Minor fixes and tweaksJaakko Keränen
Tab close button visibility, newly added preferences, "Manage Fonts" button, button icon color.
2021-10-22Tab close buttons, shown on hoverJaakko Keränen
IssueID #354
2021-10-22Merge branch 'work/v1.8' into devJaakko Keränen
2021-10-22Working on tab close buttonsJaakko Keränen
An [x] button appears on tab buttons when hovering on them. Still needs a bit of layout tweaks and the first tab doesn't have a button yet.
2021-10-19Preferences: Add bookmarks to bottom/topJaakko Keränen
IssueID #358 # Conflicts: # res/lang/de.bin # res/lang/en.bin # res/lang/eo.bin # res/lang/es.bin # res/lang/es_MX.bin # res/lang/fi.bin # res/lang/fr.bin # res/lang/gl.bin # res/lang/ia.bin # res/lang/ie.bin # res/lang/isv.bin # res/lang/pl.bin # res/lang/ru.bin # res/lang/sk.bin # res/lang/sr.bin # res/lang/tok.bin # res/lang/zh_Hans.bin # res/lang/zh_Hant.bin
2021-10-18Preferences: ANSI escape flagsJaakko Keränen
FG color and font style escapes can be enabled separately. FG color remains enabled by default like before.
2021-10-15Preferences: Option to bold visited links, tooJaakko Keränen
Cleaned up serialization of the bool preferences a little.
2021-10-14Preferences: ANSI escape sequences in GemtextJaakko Keränen
It can be argued that using ANSI escapes to style text goes against the intended use of Gemtext. Therefore, all ANSI escapes are now disabled by default in Gemtext.
2021-10-13Added preference for font smoothingJaakko Keränen
2021-10-11Preferences: Add bookmarks to bottom/topJaakko Keränen
IssueID #358
2021-10-10Feeds: Added option to ignore web linksJaakko Keränen
2021-10-09Preferences: Selecting fonts to useJaakko Keränen
Now all the available fonts are selectable in the dialog. Added preformatted and UI font settings and shuffled the order a bit to make more sense.
2021-10-08Font configuration; Prefs has a string value arrayJaakko Keränen
Added a second version of Iosevka with more line spacing, to be used as the default monospace document font.
2021-10-08Colored popup framesJaakko Keränen
2021-10-07DocumentWidget: Line width based on font glyph widthJaakko Keränen
The idea is that the amount of content should be the same per line regardless of the font.
2021-10-06Revised runtime font managementJaakko Keränen
The built-in fonts are loaded via FontPack, and the font table is now constructed dynamically based on available fonts. A full set of variants (style, size) are prepared for each font, but some of the data gets allocated lazily when needed. GmRun needed a larger allocation for fonts, so now all the fields are combined into a single bit field. TODO: Glyph scaling, vertical offsets, and symbol lookup are still not fully working.
2021-09-30SidebarWidget: Scroll view to newly added itemsJaakko Keränen
New bookmarks and folders shouldn't appear outside the visible part of the list.
2021-09-27SidebarWidget: Editing folder namesJaakko Keränen
Use the regular bookmark editor but hide the Special Tags section, and disable all but the Title for now.
2021-09-26Popup menus are positioned on selected itemJaakko Keränen
2021-09-26Compute popup menu bounds in pointsJaakko Keränen
Display bounds and the window rectangle are handled in points, so determine if the menu fits inside its root in points, too.
2021-09-26macOS: Popup window fixes; simply window creationJaakko Keränen
2021-09-26Use popup windows only when inline menus don't fitJaakko Keränen
Performance of popup windows may not be great.
2021-09-26Added a PerfTimer utilityJaakko Keränen
2021-09-26X11: Tuning popup window behavior and appearanceJaakko Keränen
2021-09-26macOS: Experiment with system accent colorJaakko Keränen
This doesn't quite fit in the palette system currently, but it would be a nice addition later.
2021-09-26Fixed context menu centering with popup windowsJaakko Keränen
2021-09-26Root: Crash when closing split viewJaakko Keränen
Some deleted widgets were kept around in the root's onTop list.
2021-09-25Lang: Added eo, es_MX, gl, isv, and skJaakko Keränen
New almost completed or in-progress UI translations.
2021-09-24Bookmark foldersJaakko Keränen
The user can now create bookmark folders, and drag bookmarks into them. Folders can also be nested. The bookmark sorting menu item sorts inside the chosen folder/root. Remote bookmark sources appear also as folders, although they cannot be sorted/edited. IssueID #339
2021-09-24SidebarWidget: Reordering bookmarks manuallyJaakko Keränen
One can now drag and drop bookmarks to change their order in the list.
2021-09-21Added build options for popup/macOS menusJaakko Keränen
2021-09-21Fixed issues with popup windowsJaakko Keränen
2021-09-21Disabling items in native menusJaakko Keränen
Added the special prefix `///` to mark items disabled.
2021-09-21macOS: Improving native menu behaviorJaakko Keränen
Selected items and dynamic label updates.
2021-09-21macOS: Native context menusJaakko Keränen
Popup context menus now use NSMenu. There are still has a few glitches with the navbar identity button, but most menus are working. SDL required another little tweak to force it to update mouse button state after the synchronously handled context menu goes away. Otherwise SDL's internal mouse button state shows that the right mouse button is held down.
2021-09-20Experimenting with independent popup windowsJaakko Keränen
Toe dipping into multiple window support by allowing popup menu widgets to be displayed in independent windows. This is not a 100% replacement for native menus, but it gets pretty close.
2021-09-19Refactoring Window to split off MainWindowJaakko Keränen
MainWindow represents (one of) the main windows of the app, while the basic Window will be a used for popups. Only MainWindow supports split view modes.
2021-09-18UploadWidget: Identity selectionJaakko Keränen
2021-09-17Mobile: About pageJaakko Keränen
2021-09-17iOS: Build dateJaakko Keränen
2021-09-17UploadWidget: Updating the identities dropdownJaakko Keränen
2021-09-15Mobile: Minor improvementsJaakko Keränen
Fixed issues: scrollbar goes under toolbar, value input dialog grows too tall, Undo/Select All in the clip menu.
2021-09-13Mobile: New selection logic for InputWidgetJaakko Keränen
Touch-based interaction requires a different kind of selection and copy/paste behavior. This isn't done yet; especially multi-line text still needs work.
2021-09-12Mobile: Better Settings tap targets; fixed safe area drawingJaakko Keränen