Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-09-04 | Text: Fixed hang when wrapping a long word | Jaakko 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-08-29 | Fixed running under KMSDRM video driver on Linux | Jaakko 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-29 | DocumentWidget: Fixed minor text artifacts | Jaakko 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-28 | InputWidget: Tell SDL where text input is happening | Jaakko Keränen | |
2021-08-26 | LabelWidget: Fixed noTopFrame flag regression | Jaakko Keränen | |
A refactoring oversight. | |||
2021-08-25 | SidebarWidget: Fixed right-clicking on sidebar tabs | Jaakko Keränen | |
The sidebar context menu should open when clicking on the tabs, not the item context menu. | |||
2021-08-24 | Text: Character hit test vs. clusters | Jaakko 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-24 | InputWidget: Reverted an earlier change to fix cursor movement regression | Jaakko Keränen | |
In word-wrapped lines, a character will be hit multiple times and the latest hit is what counts. | |||
2021-08-22 | Cleanup | Jaakko Keränen | |
2021-08-22 | Window: Update UI layout after split changes | Jaakko Keränen | |
2021-08-19 | UploadWidget: "Close" is a better button label | Jaakko 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-19 | InputWidget: Cursor behavior around invisible codepoints | Jaakko 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-18 | DocumentWidget: Incorrect message in Page Info | Jaakko Keränen | |
2021-08-17 | Window: Redraw tweaks on MSYS | Jaakko Keränen | |
2021-08-17 | Window: Experimenting with draw-driven UI resize | Jaakko 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-15 | SDL 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-15 | macOS: Workaround for an apparent SDL regression | Jaakko 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-14 | macOS: Workaround for an apparent SDL regression | Jaakko 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-10 | DocumentWidget: Fixed drawing of empty document | Jaakko 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-06 | InputWidget: Omit default scheme; highlight domain name | Jaakko Keränen | |
These were working in v1.5 but were broken in v1.6. | |||
2021-08-06 | InputWidget: Return key, input focus behavior | Jaakko 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-04 | InputWidget: Line breaks only make sense in some fields | Jaakko 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-04 | DocumentWidget: Slightly wider minimum borders | Jaakko Keränen | |
2021-08-03 | InputWidget: On PCs, use Ctrl+Shift+A to select all text | Jaakko Keränen | |
2021-08-03 | InputWidget: Slower blink; adjusted colors | Jaakko Keränen | |
Slowed down the cursor blinking by half. Adjusted the focused input widget colors to be less harsh in dark mode. | |||
2021-08-02 | Text: Fixed drawing wrapped text without HarfBuzz | Jaakko Keränen | |
2021-08-02 | InputWidget: Cleanup | Jaakko Keränen | |
2021-08-02 | InputWidget: Fixed selection update after deleting | Jaakko Keränen | |
2021-08-02 | DocumentWidget: Redirecting between gemini/titan schemes | Jaakko 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-02 | InputWidget: Simple text renderer needs fixing | Jaakko Keränen | |
2021-08-01 | Cleanup | Jaakko Keränen | |
2021-08-01 | UploadWidget: Allow expanding to full window height | Jaakko Keränen | |
2021-08-01 | Translations for hardcoded English strings | Jaakko Keränen | |
IssueID #276 | |||
2021-07-31 | Window: Update contents when (re)shown | Jaakko Keränen | |
IssueID #311 | |||
2021-07-31 | Window: Fonts reinit after render device/targets reset | Jaakko Keränen | |
2021-07-30 | InputWidget: Home/End moves to start/end of wrapped line segment | Jaakko Keränen | |
2021-07-30 | InputWidget: Fixed undefined behavior when inserting a newline | Jaakko Keränen | |
2021-07-28 | Titan: Reloading should re-open the Upload UI | Jaakko Keränen | |
2021-07-27 | InputWidget: Fixed cursor and selection issues | Jaakko Keränen | |
Cursor position was miscalculated because WrapText works a bit differently with maxWidth==0. Selection was not always updated as intended. | |||
2021-07-26 | InputWidget: Fixed copying a range of text | Jaakko Keränen | |
2021-07-26 | UploadWidget: Use frameless widgets | Jaakko Keränen | |
2021-07-25 | UploadWidget: Fixes and improvements | Jaakko Keränen | |
Fixed update after undo. Line wrap long destination URLs. Don't open a new upload dialog if one is already open. | |||
2021-07-24 | LabelWidget: Fixed wrapped content positioning | Jaakko Keränen | |
2021-07-24 | InputWidget: Focus, cursor and scrolling | Jaakko Keränen | |
Tweak that lets a single-line editor (URL field) keep its first line visible when unfocused. | |||
2021-07-24 | Cleanup | Jaakko Keränen | |
2021-07-24 | Added site-specific configuration; default Titan port | Jaakko Keränen | |
When using the upload shortcut, enable configuring a specific port for Titan via site-specific parameters. | |||
2021-07-24 | Cleanup | Jaakko Keränen | |
2021-07-23 | Window: Mouse wheel events vs. split mode | Jaakko Keränen | |
Only process mouse wheel events on the root over which the mouse is currently. | |||
2021-07-23 | UploadWidget: Adjusting dialog layout | Jaakko Keränen | |
2021-07-23 | InputWidget: Fixes to updating widget height | Jaakko Keränen | |