summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-09-09Tuned mouse wheel smooth scrollingJaakko Keränen
Removed the two-stage acceleration of mouse wheel scrolling in favor of slightly faster base scrolling speed overall. This makes the behavior more consistent and predictable.
2021-09-04Text: Fixed hang when wrapping a long wordJaakko Keränen
The simple text renderer would get stuck in an infinite loop when encountering a word that wouldn't fit on a line. IssueID #330
2021-09-01Fixed encoding of % in URL query stringJaakko Keränen
2021-08-31X11: Tell SDL not to bypass window compositorJaakko Keränen
IssueID #160
2021-08-29Fixed running under KMSDRM video driver on LinuxJaakko Keränen
SDL2 works fine without a window system, but it seems the DPI-querying API will crash so let's not call that. Should still add command line options to control the screen resolution, i.e., overriding the window size.
2021-08-29DocumentWidget: Fixed minor text artifactsJaakko Keränen
Clearing the background of all runs is required because sometimes a run will overlap with another, or is drawn multiple times.
2021-08-28InputWidget: Tell SDL where text input is happeningJaakko Keränen
2021-08-26LabelWidget: Fixed noTopFrame flag regressionJaakko Keränen
A refactoring oversight.
2021-08-25Audio init errors should not be fatalJaakko Keränen
IssueID #325
2021-08-25SidebarWidget: Fixed right-clicking on sidebar tabsJaakko Keränen
The sidebar context menu should open when clicking on the tabs, not the item context menu.
2021-08-24Text: Character hit test vs. clustersJaakko Keränen
When multiple codepoints are in the same cluster, the hit test should only consider the first codepoint of the cluster, or otherwise the cursor is positioned somewhere in the middle of the cluster and not at the start.
2021-08-24InputWidget: Reverted an earlier change to fix cursor movement regressionJaakko Keränen
In word-wrapped lines, a character will be hit multiple times and the latest hit is what counts.
2021-08-22CleanupJaakko Keränen
2021-08-22Window: Update UI layout after split changesJaakko Keränen
2021-08-19UploadWidget: "Close" is a better button labelJaakko Keränen
"Cancel" would imply here that changes made in the editor would be cancelled, when the opposite is true: the editor contents are saved persistently.
2021-08-19InputWidget: Cursor behavior around invisible codepointsJaakko Keränen
Emoji variation selectors would confuse cursor positioning and insertion behavior, breaking the assumption that each line ends with a single newline.
2021-08-18GmRequest: Detect UTF-8 in local files of unknown typeJaakko Keränen
2021-08-18DocumentWidget: Incorrect message in Page InfoJaakko Keränen
2021-08-17Window: Redraw tweaks on MSYSJaakko Keränen
2021-08-17Window: Experimenting with draw-driven UI resizeJaakko Keränen
The notification about UI resize will not occur until a draw has been started, so we can avoid any unnecessary resize handling between draws. May not work?
2021-08-17Added build option for window drawing during resizeJaakko Keränen
The option defaults to OFF because generally SDL should be handling this and the resize watcher is a bit of hack.
2021-08-15SDL 2.0.16 line drawing regression (OpenGL renderer)Jaakko Keränen
This is not specific to macOS, but seems to affect OpenGL rendering on all platforms.
2021-08-15macOS: Workaround for an apparent SDL regressionJaakko Keränen
On macOS with SDL 2.0.16, there's a problem with the bottom right corner of a rectangle drawn as a line strip being off by one. SDL_RenderDrawLines() is behaving oddly on macOS with SDL 2.0.16.
2021-08-14macOS: Workaround for an apparent SDL regressionJaakko Keränen
On macOS with SDL 2.0.16, there's a problem with the bottom right corner of a rectangle drawn as a line strip being off by one.
2021-08-10CleanupJaakko Keränen
2021-08-10DocumentWidget: Fixed drawing of empty documentJaakko Keränen
An empty document would could the widget to be drawn as a black non-themed rectangle, with a single-pixel horizontal line in the middle. This fixes that by just clearing the widget to the UI background color. The most notable situation where this occurred was immediately after activating split view mode.
2021-08-07App: Immediate refresh after going to split modeJaakko Keränen
2021-08-06InputWidget: Omit default scheme; highlight domain nameJaakko Keränen
These were working in v1.5 but were broken in v1.6.
2021-08-06InputWidget: Return key, input focus behaviorJaakko Keränen
In the long-form text entry mode, don't use the user's configured Return key behavior, since that's meant for shorter input fields. Input fields no longer lose focus when the window loses input focus, but the cursor will stop blinking. This makes it easier to resume typing after switching window focus, and also on macOS the symbol picker is easier to use.
2021-08-04InputWidget: Line breaks only make sense in some fieldsJaakko Keränen
For example, any URL field should disallow line breaks. The line break modifier preference should be disregarded in an input field where there are no line breaks.
2021-08-04DocumentWidget: Slightly wider minimum bordersJaakko Keränen
2021-08-03InputWidget: On PCs, use Ctrl+Shift+A to select all textJaakko Keränen
2021-08-03InputWidget: Slower blink; adjusted colorsJaakko Keränen
Slowed down the cursor blinking by half. Adjusted the focused input widget colors to be less harsh in dark mode.
2021-08-02Added --tab-url option to print active tab's URLJaakko Keränen
IssueID #319
2021-08-02Text: Fixed drawing wrapped text without HarfBuzzJaakko Keränen
2021-08-02InputWidget: CleanupJaakko Keränen
2021-08-02InputWidget: Fixed selection update after deletingJaakko Keränen
2021-08-02DocumentWidget: Redirecting between gemini/titan schemesJaakko Keränen
Automatic redirects between `gemini` and `titan` are allowed, because a reasonable response to a Titan request is a redirect to a Gemini URL. Gemini may likewise redirect to a Titan URL to initiate an upload.
2021-08-02InputWidget: Simple text renderer needs fixingJaakko Keränen
2021-08-01CleanupJaakko Keränen
2021-08-01UploadWidget: Allow expanding to full window heightJaakko Keränen
2021-08-01Translations for hardcoded English stringsJaakko Keränen
IssueID #276
2021-07-31Window: Update contents when (re)shownJaakko Keränen
IssueID #311
2021-07-31Window: Fonts reinit after render device/targets resetJaakko Keränen
2021-07-30InputWidget: Home/End moves to start/end of wrapped line segmentJaakko Keränen
2021-07-30InputWidget: Fixed undefined behavior when inserting a newlineJaakko Keränen
2021-07-28Titan: Reloading should re-open the Upload UIJaakko Keränen
2021-07-27InputWidget: Fixed cursor and selection issuesJaakko Keränen
Cursor position was miscalculated because WrapText works a bit differently with maxWidth==0. Selection was not always updated as intended.
2021-07-27GmCerts: As a fallback, use Gemini identities for Titan URLsJaakko Keränen
Allows configuring Titan-specific identities.
2021-07-27GmCerts: Use Gemini identities for Titan URLsJaakko Keränen
The upload dialog needs to have some UI for displaying/selecting which identity is used for the upload.