summaryrefslogtreecommitdiff
path: root/src/ui/window.c
AgeCommit message (Collapse)Author
2021-02-14SidebarWidget: Handling feed entry URLs with spacesJaakko Keränen
The sidebar failed to realize that an entry was the current one and/or already read, because URL encoding is not consistently applied. This needs addressing soon — internally, all URLs should have a consistent format (fully encoded or decoded, NFC normalized).
2021-02-13Windows: Custom frame preference; further minor tweaksJaakko Keränen
2021-02-13Windows: Custom frame app icon, finishing touchesJaakko Keränen
2021-02-13Windows: Further custom frame improvementsJaakko Keränen
Saving the window rectangle and snap mode. Frame title alignment.
2021-02-13Windows: Improved custom frame behaviorJaakko Keränen
Windows-key shortcuts and cursor edge snapping. Still missing: window shadow and saving the snap mode.
2021-02-12Windows: Custom frame behaviorJaakko Keränen
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.
2021-02-11Windows: Experimenting with a custom window frame and title barJaakko Keränen
Added the build option ENABLE_CUSTOM_FRAME that causes the window to be created as borderless. Lagrange's own UI widgets are used to draw the title bar elements, including the window buttons. There is plenty of sizing behavior still missing, for instance snapping to fullscreen left/right side, double-clicking the frame edges, and proper maximize mode that doesn't cover the entire screen. The window system menu is also missing, but that can be shown manually when appropriate. A command-line option should also be provided to disable winbar in case the default title bar is required.
2021-02-11Windows: Draw something immediately when the window is openedJaakko Keränen
Avoids having a flash of white or other system-provided default window contents when opening a window for the first time.
2021-02-10App: Events posted early may cause a crashJaakko Keränen
Attempting to ask SDL about a non-existent window's ID.
2021-02-10Window: Keep scroll position when resizing verticallyJaakko Keränen
IssueID #138
2021-02-05Experimenting with an iOS buildJaakko Keränen
iPlatformApple applies to both macOS and iOS. Added iPlatformAppleDesktop and iPlatformAppleMobile to make a distinction between the two. IssueID #96
2021-02-03Improved first-run experienceJaakko Keränen
Use a remote source for Getting Started bookmarks. Tweaked default values of preferences.
2021-02-03Window: Fixed invalid contents are restoring in fullscreen modeJaakko Keränen
When the window was put in the background in fullscreen mode and then restored to foreground, buffered contents were lost. IssueID #130
2021-02-03Window: Fullscreen mode shouldn't affect the retained window rectJaakko Keränen
IssueID #130
2021-02-02Linux: Use SDL to query display monitor DPI valueJaakko Keränen
IssueID #133
2021-02-02Improved focus switching for dialogsJaakko Keränen
Widgets can now be defined as being the "focus root", i.e., the topmost widget under which focus switching happens. Normally this is the window root widget, but dialogs use this flag to confine focus switching inside the dialog. InputWidget in Overwrite mode will focus switch to the next focusable widget when the text field becomes full.
2021-01-27Added preference for maximum cache sizeJaakko Keränen
Rather than simply limiting each tab's cache to 50 most recent URLs, there is now a user-configurable maximum size. If more content is cached, the oldest/largest responses will be removed from memory. The default maximum cache size is 10 MB. IssueID #109
2021-01-19Closing tabs with the middle mouse buttonJaakko Keränen
IssueID #115
2021-01-17macOS: Added Debug Information to Help menuJaakko Keränen
2021-01-04Update Help and release notesJaakko Keränen
2021-01-04Added a client certificate import dialogJaakko Keränen
Todo: Drag-and-drop; the actual identity creation step.
2021-01-03Added menu item for import a certificateJaakko Keränen
2020-12-31Text: Clear glyph cache when it fills upJaakko Keränen
We can use a smaller glyph cache if we clear it when it fills up. Even a large cache would eventually fill up, so clearing is a good strategy anyway. Clears occur still rather infrequently.
2020-12-30Update bookmark icons when opening pagesJaakko Keränen
If bookmarks are imported or added manually, they won't have the correct site icons. Whenever a page is loaded the bookmark icon is now updated.
2020-12-19macOS: Adjusted menu itemsJaakko Keränen
2020-12-19Duplicating a bookmark; cloud icon colorJaakko Keränen
2020-12-19Remote bookmark sourcesJaakko Keränen
Bookmarks tagged "remotesource" are fetched and all links are treated as remote bookmarks. Remote bookmarks are not saved locally.
2020-12-18Import all links as bookmarksJaakko Keränen
2020-12-17Reorganized menus; added new bookmark list itemsJaakko Keränen
2020-12-16URL decoding preference affects input widgetsJaakko Keränen
2020-12-15Window: More subtle rotating download animationJaakko Keränen
2020-12-15Window: Use a rotating arrow as the download animationJaakko Keränen
2020-12-15Window: Show a little animation during downloadsJaakko Keränen
The Stop/Reload button shows a little Unicode animation during downloads. IssueID #101
2020-12-09macOS: Update shortcuts in menu itemsJaakko Keränen
When keybindings are changed the menus will need updating.
2020-12-09InputWidget: Usability improvementsJaakko Keränen
Select all when search bar gets focus, so it's easy to enter a new search term. One press of Escape will both unfocus and dismiss the search bar. IssueID #65
2020-12-06Fixed unnecessary immediate refreshJaakko Keränen
2020-12-04SidebarWidget: Interaction with the right sidebarJaakko Keränen
2020-12-04Added a second sidebar; removed hover outlineJaakko Keränen
A sidebar on the right is a better solution than a kludgy non-interactive special-purpose outline that appears when hoving the mouse on the document scrollbar.
2020-12-01Added dialog for changing feed typeJaakko Keränen
This also gives feedback about a newly added subscription.
2020-12-01Added key shortcut for subscibing to pageJaakko Keränen
2020-11-30Added keybindings for prev/next tabJaakko Keränen
IssueID #75
2020-11-28Cleanup: Removed (hidden) preformatted wrap optionJaakko Keränen
2020-11-28Updated release notesJaakko Keränen
2020-11-28Windows: Refreshing window contents during window resizingJaakko Keränen
SDL clears all buffered rendertargets so we must redraw everything.
2020-11-28Workaround for SDL window resize issueJaakko Keränen
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
2020-11-27Feeds: Separate timestamps for posting and discoveryJaakko Keränen
The discovery time is needed for knowing how long the entry can be retained in the history.
2020-11-27Subscribing via menu; cleanup after unsubscribeJaakko Keränen
2020-11-27Window: Added "Show Feed Entries" menu itemJaakko Keränen
2020-11-26Feeds: Manual refreshJaakko Keränen
2020-11-26Feeds: Working on menu itemsJaakko Keränen