summaryrefslogtreecommitdiff
path: root/src/ui
AgeCommit message (Collapse)Author
2021-04-05Added option to disable bold linksJaakko Keränen
IssueID #233
2021-04-05Text: Fixed crash during word wrappingJaakko Keränen
Word wrap position must not go past end of input.
2021-04-05Added new language strings for media, feeds listJaakko Keränen
"about:feeds", inline downloads, and media player UI didn't have translations.
2021-04-05Fixed color escapes in link visit dateJaakko Keränen
A color escape may be longer than two characters. `run_Font_()` was not parsing extended color escapes correctly.
2021-04-04DocumentWidget: Key navigation mode vs. bound actionsJaakko Keränen
Events are dispatched first to child widgets, so the menus and actions of DocumentWidget were still handling key navigation events even though they shouldn't.
2021-04-04Widget: Added a debug utilityJaakko Keränen
Printing the list of parents.
2021-04-04Text: Kerning was brokenJaakko Keränen
Kerning has been broken by the changes for adaptive Emoji spacing inside monospace text. Now the current X position is updated correctly also for kerning.
2021-04-03Lang: Added Occidental and SerbianJaakko Keränen
IssueID #192
2021-04-03InputWidget: Don't buffer contents too earlyJaakko Keränen
2021-04-03Window: Defer events posted during startupJaakko Keränen
2021-04-03Drawing only during window updateJaakko Keränen
Glyphs were inadvertently being cached already during measuring for layout. DocumentWidget was buffering graphics too early. Now buffered draws are prepared during normal drawing, when needed.
2021-03-31Text: Preserve alpha when caching glyphsJaakko Keränen
Ensure no blending is done. Glyphs are supposed to be cached as-is.
2021-03-31Text: Workaround for glyph rasterization problem with older SDL versionsJaakko Keränen
2021-03-31CleanupJaakko Keränen
2021-03-30Widget: Arrangement debugging; min sizeJaakko Keränen
There is a problem with repeated arrangements: the previous set sizes affect subsequent outcomes. This results in Preferences not being able to reduce in size, only to expand. It should be possible to reset sizes back to zero/minimum size before starting an arrangement, but LabelWidget needs to cooperate by using `minSize` to set its default size. `minSize` is preferable to fixedSize because then the widget can go through the usual arranging logic. To be continued at a later time...
2021-03-29Paint: Fixed clipping of negative X regionsJaakko Keränen
2021-03-29Widget: Flag for allowing horizontal overflowJaakko Keränen
Two-column headings are supposed to span both columns.
2021-03-29VisBuf: Increase buffer size for scrolling; fixed glitchesJaakko Keränen
Instead of 1.5x coverage, the buffer now has a full 2x.
2021-03-29Lang: Added Chinese (Traditional)Jaakko Keränen
2021-03-29Fixed: Missing bindingsJaakko Keränen
Don't use built-in default bindings to update buttons or menu items.
2021-03-29Preferences: Partially reorganized groupingJaakko Keränen
With new options introduced, a slightly different grouping makes more sense.
2021-03-29Preferences: Collapse preformatted blocks on page loadJaakko Keränen
IssueID #180
2021-03-29Fixed: Keyboard shortcuts stop workingJaakko Keränen
Menus can't be disabled or otherwise their items can't be triggered any more. Hidden menus are still supposed to receive key events. IssueID #224
2021-03-29Improving alt text animation; cleaned up key shortcut labelsJaakko Keränen
Remove extra Plus signs from key shortcuts.
2021-03-29LabelWidget: Tuning button colorsJaakko Keränen
2021-03-29Default dialog buttons show key shortcutJaakko Keränen
2021-03-29DocumentWidget: Tuning alt text hoveringJaakko Keränen
2021-03-29macOS: Fixed missing menu shortcutsJaakko Keränen
The built-in alternate bindings shouldn't affect the menu shortcuts.
2021-03-28CleanupJaakko Keränen
2021-03-28Folding preformatted blocks and showing alt textJaakko Keränen
The alt text of preformatted blocks is shown on mouse hover. The blocks can be clicked to toggle folding. IssueID #180
2021-03-28Text: Word wrapping and whitespaceJaakko Keränen
When wrapping, continue after whitespace.
2021-03-28Text: Added a noteJaakko Keränen
2021-03-28Added Noto Sans ArabicJaakko Keränen
Added a font for Arabic, making the glyphs available for rendering. Of course, this doesn't solve Arabic text rendering yet. There is still the RTL direction to work out and possibly some missing glyph combining rules. IssueID #195
2021-03-28macOS: Recreate menus after language changesJaakko Keränen
IssueID #192
2021-03-27InputWidget: Select by wordJaakko Keränen
IssueID #134
2021-03-27DocumentWidget: Advanced text selectionJaakko Keränen
Double click to select by word, triple click by paragraph. IssueID #134
2021-03-27Processing of double clicksJaakko Keränen
The click handling utility no longer treats double clicks as a special case. An arbitrary number of clicks is kept in a separate counter.
2021-03-27GmDocument: Finding position in sourceJaakko Keränen
The returned position at a source location is now a range, pointing to the left and right edges of the contacted character.
2021-03-27Text: Further word wrap fixesJaakko Keränen
Set the correct break position in noWrap mode.
2021-03-27Built-in hot key binding for RefreshJaakko Keränen
This shouldn't override F5/⌘R in menus. IssueID #223
2021-03-27Lang: Added Spanish (es)Jaakko Keränen
IssueID #192
2021-03-27Document: Fixed autoreload intervals; added stringsJaakko Keränen
2021-03-26Keys: Built-in bindings for internet hot keysJaakko Keränen
IssueID #223
2021-03-26Lang: Replaced "bytes" with "num.bytes"Jaakko Keränen
A new string to include the numeric value. IssueID #192
2021-03-26Cleanup: Omit partially translated "de"Jaakko Keränen
Only show the languages that are currently (more or less) fully translated. IssueID #192
2021-03-26LookupWidget: Missing strings; inconsistent fontsJaakko Keränen
Fonts used in the lookup results list used inconsistent sizes. Now they all use the "UI content" (medium) size. The result headings were not translated at all.
2021-03-26SidebarWidget: Use a translated stringJaakko Keränen
2021-03-26CleanupJaakko Keränen
2021-03-26Added Noto Sans SC; font table cleanupJaakko Keränen
Added the Noto Sans Simplified Chinese font. This adds another ~10 MB to resources.lgr, increasing the urgency of distributing fonts via separate downloads. The font table was getting difficult to manage, so now the sizes are broken out into a separate enum, and the table is reordered to match the FontSize order.
2021-03-25Added keybinding for subscribing to pageJaakko Keränen
IssueID #209