Age | Commit message (Collapse) | Author |
|
|
|
Some of the logic for arranging widgets was invalid, leading to problems with the navbar:
- cannot resize children if own size depends on their size
- expanding children won't expand unless resizing all children
|
|
|
|
Added a menu for changing the split mode.
|
|
|
|
Restore previous root after processing events. Adjusted colors of the non-focused root.
|
|
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.
|
|
|
|
The current UI root should always be set explicitly before the UI
is accessed.
|
|
`Root` encapsulates the root widget and the associated UI state.
|
|
|
|
Making the way for multiple roots/windows.
|
|
|
|
IssueID #192
|
|
It is conceivable that a newly created GmRequest gets the same memory location than the one just destroyed.
IssueID #148
|
|
Use MIME hooks to generate a Gempub cover page with a preloaded cover image.
This required applying MIME filtering to "file://" requests as well.
Todo: More cleanup, add a gempub.c.
|
|
Contents of the Downloads folder can now be viewed as a directory index page.
|
|
One is now able to view directory and ZIP archive contents using file URLs.
Directory contents are shown as a list of links, enabling previewing supported formats. A link to the parent directory is included at the top of the page.
ZIP archives behave like directories, except they also recognize "index.gmi" and "index.gemini" files and display them instead of the regular directory index (when viewing a directory inside a ZIP archive). This enables archiving a Gemini capsule and browsing it as a ZIP archive.
Added a preference to disable loading of index pages.
|
|
|
|
The `GmRequest` object is destroyed after handling a redirect, but afterwards a check was still made to cache the request contents.
IssueID #148
|
|
The click is eaten to avoid accidentally clicking anything outside the menu.
|
|
Confused the `-` prefix and `---` as separator.
|
|
|
|
|
|
|
|
Added a `SmoothScroll` utility to make the smooth scroll and bounce behavior applicable elsewhere as well.
|
|
|
|
When a widget runs out of scrollable area, stop any momentum scrolls.
|
|
|
|
|
|
|
|
|
|
The scrolling stutters were being caused by timing and not slow text rendering. Now the momentum scroll is locked to display refresh rate.
|
|
|
|
Continue a scroll if there's still a momentum scroll ongoing instead of checking long-press.
|
|
|
|
Ensure there is more buffered content available in the current scrolling direction, and also make sure that all buffers get pre-rendered after a short delay with the view being stationary.
|
|
|
|
|
|
|
|
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
|
|
|
|
If the setting is invalid (e.g. the variable is set to something which
is not an integer), then a warning is printed to standard error, and the
environment variable is ignored. If the environment variable is an empty
string, it is also ignored.
|
|
|
|
One of the four buffers will be always outside the viewport.
|
|
The Back and Forward arrow buttons are disabled if the navigation position is at the end/beginning of the history.
IssueID #247
|
|
|
|
|