Age | Commit message (Collapse) | Author |
|
Only process mouse wheel events on the root over which the mouse is currently.
|
|
|
|
Added a menu for changing the split mode.
|
|
Root focus switching and opening links in the other root.
|
|
Various refactorings and fixes to handle root-global and window-global state, root-specific palettes, and proper coordinate system changes (e.g., when opening menus).
UI events are posted and handled in the context of a specific root.
|
|
Most actions should occur in the context of the current UI root.
|
|
|
|
`Root` encapsulates the root widget and the associated UI state.
|
|
Making the way for multiple roots/windows.
|
|
It may take a while to add D-Bus support, so adding a way to disable the incompatible IPC mechanism for Flatpak builds.
IssueID #245
|
|
IssueID #239
|
|
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.
|
|
There is no downloads directory on mobile. Instead, the downloaded file is temporarily cached and given to the iOS document picker to export.
Added an option to hide the bottom toolbar while scrolling down.
|
|
|
|
The default URL scheme is "gemini". If missing, it will always be added back when making requests. This allows it to be omitted from the URL input field if space needs saving.
Other schemes, like "gopher", won't be omitted.
|
|
|
|
|
|
Sliding panels and left-edge swipes.
|
|
Resize images down to the maximum texture size or the screen size, whichever is smaller.
IssueID #167
|
|
The software keyboard obstructs part of the UI, so need to offset the view if the focused input widget would not be visible.
|
|
|
|
Saving the window rectangle and snap mode. Frame title alignment.
|
|
Windows-key shortcuts and cursor edge snapping.
Still missing: window shadow and saving the snap mode.
|
|
A borderless SDL window gets no standard window behavior, so
this commit implements support for some of them. There is
special handling for the window frame and various snapping modes.
Not quite finished yet... It might make sense to research if
a custom window class could work with this app (with SDL); could be
less work.
|
|
Avoids having a flash of white or other system-provided default window
contents when opening a window for the first time.
|
|
Attempting to ask SDL about a non-existent window's ID.
|
|
IssueID #138
|
|
IssueID #130
|
|
The Stop/Reload button shows a little Unicode animation during downloads.
IssueID #101
|
|
Rearrange and draw window contents with an event watcher during window resizing because SDL is blocking the main thread.
Tested on macOS so far, may need a build option.
In reference to SDL bug: https://bugzilla.libsdl.org/show_bug.cgi?id=2077
|
|
Likely a rare situation, but this workaround should be relatively
safe -- ignore keydown events if they occur less than 10 milliseconds
after the window has received input focus.
IssueID #10
|
|
Also, added a command that gets posted when the mouse exits or enters the window area. This lets the hover outline to be updated accordingly.
|
|
Window position and size are stored when move/resize events are received, not only when the window is closed.
|
|
Build option to use software rendering if running under X11, and another
option to set the position of a window only after the window has been
shown. The latter is a workaround for an SDL bug regarding window
borders affecting the initial position.
|
|
|
|
|
|
The modal sheets switch mouse cursor to the default arrow.
|
|
Font changes cause window redrawing to pause so document layout doesn’t get an intermediate update with a different width.
Sheets are mouse-modal.
|
|
Create the window using the correct size and position, and don’t show the window contents while app state is being restored.
|
|
There can be multiple inline media requests on the page. Images are always associated with a link.
|
|
|
|
Borrowing the app skeleton from Bitwise Harmony.
|