summaryrefslogtreecommitdiff
path: root/src/ui
AgeCommit message (Collapse)Author
2021-05-18Merge branch 'dev' into work/typesetterJaakko Keränen
# Conflicts: # src/ui/documentwidget.c # src/ui/inputwidget.c
2021-05-18SidebarWidget: Don't animate at launchJaakko Keränen
2021-05-17Mobile: Tablet layout improvementsJaakko Keränen
2021-05-17Touch: Fixes for split view event dispatchJaakko Keränen
2021-05-17SidebarWidget: Animate show/hideJaakko Keränen
Also addressed clipping issues when using multiple roots.
2021-05-17Mobile: Preferences on tablet devicesJaakko Keränen
Use the mobile layout on tablets as well.
2021-05-17Mobile: Landscape Preferences layoutJaakko Keränen
2021-05-17SidebarWidget: Icon alignmentJaakko Keränen
2021-05-17Mobile: Return key insert newline by defaultJaakko Keränen
To avoid accidentally submitting queries, use the software keyboard Return key for inserting newlines.
2021-05-17Mobile: Swipe improvementsJaakko Keränen
Edge swipe direction is determined in a more dynamic way.
2021-05-17Mobile: Landscape/portrait Preferences layoutJaakko Keränen
2021-05-16Widget: Fixed arrangement resettingJaakko Keränen
The expand flag should be reset only in the context of the parent's arrangement/resize direction.
2021-05-16Cleanup: Moved mobile UI code to its own fileJaakko Keränen
The mobile UI related code has grown large enough to warrant a separate file. Also, work-in-progress redo of the Preferences layout so it can be used with landscape as well.
2021-05-16Changed UI icons related to bookmarksJaakko Keränen
Use the Book and Bookmark characters.
2021-05-16Widget: Fade opacity based on area covering rootJaakko Keränen
2021-05-15Widget: Rearranging expanding widgetsJaakko Keränen
When starting a new arrangement, expanding widgets must be reset so they won't affect the outcome.
2021-05-15Mobile: Various improvements and fixesJaakko Keränen
- fill the safe area with theme background - don't set button hover states if dragging/scrolling - edge-draggable widgets must be flagged as such - Preferences top panel offset matches sibling panels' offset - allow toolbar to unhide when document is not scrollable
2021-05-14InputWidget: Touch tweaksJaakko Keränen
2021-05-14Mobile and iOS: Various fixes and cleanupJaakko Keränen
Several regressions occurred when the split view mode was implemented.
2021-05-14Translation: Minimum width for dialogJaakko Keränen
2021-05-14Window: Fixed crash at shutdownJaakko Keränen
2021-05-14Widget: Prevent overflow scrolling if not tallJaakko Keränen
2021-05-14Show "Line break" help text in input dialogJaakko Keränen
2021-05-14Widget: Fixed layout issueJaakko Keränen
Reset sequential arrangements so the previous child bounds don't affect a newly calculated arrangement.
2021-05-14InputWidget: Rewrap when width changesJaakko Keränen
2021-05-14Text: Fixed handling of newlinesJaakko Keränen
In the `tryAdvance*` methods, don't advance past newlines since this is intended to be a line-based operation.
2021-05-14DocumentWidget: Keep scroll position for special responsesJaakko Keränen
For example, receiving an input prompt response shouldn't change the current scroll position in the open document.
2021-05-14InputWidget: Fixed cursor moving; scroll the dialogJaakko Keränen
Up/down movement sometimes ended up in the wrong cursor position. Now the nearest overflow-scrollable parent scrolls to keep the cursor visible.
2021-05-13InputWidget: Drawing hint and buffered textJaakko Keränen
Improved TextBuf to handle word/bound-wrapped content.
2021-05-13SidebarWidget: No actions in empty IdentitiesJaakko Keränen
2021-05-13Lang: Added Polish UI translationJaakko Keränen
IssueID #192
2021-05-13SidebarWidget: Never disable for context menuJaakko Keränen
Sidebars were disabled so the hover item wouldn't change while accessing a context menu, but that's no longer necessary because the context item is tracked separately.
2021-05-13Widget: Remove timed commands when destroyedJaakko Keränen
2021-05-13Debug info shows total cache/RAM usageJaakko Keränen
2021-05-12Merge branch 'dev' into work/typesetterJaakko Keränen
2021-05-12Keep labels aligned with expanding inputsJaakko Keränen
A widget may copy its height from another widget.
2021-05-12InputWidget: Shift-click to select a rangeJaakko Keränen
2021-05-12DocumentWidget: Input query length validationJaakko Keränen
Enforce the maximum length of 1024 bytes for Gemini URLs. The input query prompt shows how many bytes are remaining.
2021-05-12CleanupJaakko Keränen
Use the Return key symbol consistently, also in the Search Query indicator. The input dialog "Send" label now no longer needs the "⇒" icon.
2021-05-12InputWidget: Expanding while editingJaakko Keränen
The navbar layout cannot accommodate more than one line of text, but allow the editor to expand while writing text.
2021-05-12DocumentWidget: Clean up drawingJaakko Keränen
Children drawn were twice?
2021-05-11InputWidget: Word wrapping, inserting newlinesJaakko Keränen
2021-05-11Cache GmDocuments in memoryJaakko Keränen
Navigation history keeps final GmDocuments in memory for quicker restore when navigating; no need to redo layout. Changed the color escape to Vertical Tab so Carriage Returns can be left in the source, reducing need to normalize spaces.
2021-05-09Window: Workaround for lack of window expose eventJaakko Keränen
IssueID #264
2021-05-09Fixed showing of pinning indicatorJaakko Keränen
The indicator always shows the current tab's status.
2021-05-09Window: Fixed closing all tabs in the left splitJaakko Keränen
Take the current tab from the other side if the active side is out of tabs.
2021-05-09Window: Keep the current tab when unsplittingJaakko Keränen
2021-05-09BindingsWidget: Scrollbar is not shownJaakko Keränen
IssueID #257
2021-05-07Window: First move with custom frame may be cancelledJaakko Keränen
Use of uninitialized memory.
2021-05-07Gempub: Restoring pages from cacheJaakko Keränen
Only auto-open the first chapter when navigating normally, and not via cache. Otherwise the previous read position would be lost.