summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
AgeCommit message (Collapse)Author
2021-02-14DocumentWidget: Alignment excludes bannerJaakko Keränen
Short pages are vertically centered, but the site banner should be excluded from this because it is not part of the actual page contents.
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-10Window: Keep scroll position when resizing verticallyJaakko Keränen
Fixed broken logic. IssueID #138
2021-02-10Window: Keep scroll position when resizing verticallyJaakko Keränen
IssueID #138
2021-02-08DocumentWidget: Update hover link after context menu closesJaakko Keränen
IssueID #145
2021-02-07DocumentWidget: Wrong tab gets input query stringJaakko Keränen
Input submission events are now tied to a particular document and not implicitly to the current one. As a workaround, input queries will now force a tab to the foreground. IssueID #142
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-02Stripping the URL fragmentJaakko Keränen
Lagrange will retain URL fragments when parsing gemtext, but will strip them when making requests or when a DocumentWidget's URL is set. This allows opening URLs with fragments in an external browser. IssueID #128
2021-02-01DocumentWidget: Allow reloading the current URLJaakko Keränen
IssueID #129
2021-01-29Allow importing remote bookmarksJaakko Keränen
Importing bookmarks should be allowed to create local copies of remote bookmarks, so that one can add any locally missing bookmarks from a shared remote source.
2021-01-26Keybindings for new tab, close tab, add bookmarkJaakko Keränen
Added new keybindings for opening and closing a tab. Also added a keybinding for adding a bookmark so ⌘D can be made available. On macOS, there is a default Window > Close menu item, so treat that as a "tabs.close" command to make it bindable. IssueID #121
2021-01-24DocumentWidget: Fix/improve home row link navigationJaakko Keränen
Removed the second `U` from the set of home row keys for link navigation. Added a new command bound to `.` (period) for switching to the next set of links for home row navigation. This makes it possible to access all visible links via keyboard no matter how many there are. `.` can also be used to activate home row navigation if it isn't active. IssueID #111
2021-01-12Fixed: Percent-encode spaces when copyingJaakko Keränen
IssueID #112
2021-01-11Opening link in new tab via home row keysJaakko Keränen
Added a new keybinding for opening links via keyboard in new tab. The default binding is Shift+F. The H key is now used for setting the hover link.
2021-01-10Added a keybinding to hover on links via keyboardJaakko Keränen
Enables viewing full URLs when navigating via keyboard.
2021-01-10Showing the response header in Page InformationJaakko Keränen
Unsuccessful requests show the response header. IssueID #97
2021-01-10Option to show full URL when hovering on a linkJaakko Keränen
The URL is shown in the bottom of the page. IssueID #64
2021-01-10CleanupJaakko Keränen
2021-01-04Added a client certificate import dialogJaakko Keränen
Todo: Drag-and-drop; the actual identity creation step.
2021-01-03DocumentWidget: Updating trustJaakko Keränen
Hide the warning banner immediately. IssueID #107
2021-01-03Fixed redirection opening in the wrong tabJaakko Keränen
2021-01-03Improving the Page Information dialogJaakko Keränen
This should use a proper dialog instead of a simple message.
2021-01-03Updating the navbar URL when opening tabsJaakko Keränen
2021-01-03Expanded page informationJaakko Keränen
The Certificate Status popup was expanded with certificate fingerprint, media type, and content length.
2021-01-02Merge branch 'finger' into devJaakko Keränen
2021-01-02Add support for Finger protocolJaakko Keränen
A patch courtesy of John Cowan. IssueID #106
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-24Fixed percent-encoding the query stringJaakko Keränen
Good old mutable vs. non-mutable argument confusion. The encoded return value was ignored (and leaked).
2020-12-19Bookmark a link via context menuJaakko Keränen
2020-12-19Opening unrecognized schemes in default browserJaakko Keränen
This works if the OS supports the scheme as built-in or via some handler application. IssueID #103 IssueID #84
2020-12-18Import all links as bookmarksJaakko Keränen
2020-12-18Text: Improved handling of tab stopsJaakko Keränen
Text drawing can now be made aware of the available horizontal space.
2020-12-17Reorganized menus; added new bookmark list itemsJaakko Keränen
2020-12-16URL decoding preference affects input widgetsJaakko Keränen
2020-12-09DocumentWidget: Clicking on certificate warningJaakko Keränen
Show the Certificate Status dialog. IssueID #93
2020-12-06Fixed truncated tab titles; unfocus input on right-clickJaakko Keränen
IssueID #53
2020-12-05DocumentWidget: Default to plain text for text/*Jaakko Keränen
Also application/json. IssueID #88
2020-12-04SidebarWidget: Minimum and maximum widths considering both sidebarsJaakko 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-03DocumentWidget: Certificate warning improvementsJaakko Keränen
2020-12-02Show a banner warning about certificate issuesJaakko Keränen
2020-12-01Editing feed title in Feed Settings dialogJaakko Keränen
2020-12-01Subscribing to new headings on a pageJaakko Keränen
When "subscribed" and "headings" tags are used, the subscribed page is tracked for newly added headings (of any kind). This works for the weiph/pikkulogs out there.
2020-12-01DocumentWidget: Error page of unknown status codeJaakko Keränen
2020-11-30DocumentWidget: Clear input focus when clickingJaakko Keränen
If the document handles a left click, clear input focus from any widget that had it. IssueID #51
2020-11-28Windows: Horizontal mouse wheel directionJaakko Keränen
The same mouse behaves differently on different operating systems.
2020-11-28DocumentWidget: Inverted horizontal mouse wheel directionJaakko Keränen
2020-11-28DocumentWidget: Horizontal scrolling improvementsJaakko Keränen
Interaction with selection/found markers (will reset scrolling), and smooth horizontal scrolling with a mouse. IssueID #44
2020-11-28Scrolling wide preformatted blocks horizontallyJaakko Keränen
Not entirely glitch-free but should be good enough for now. IssueID #44
2020-11-28DocumentWidget: Markers disappear when scrollingJaakko Keränen
IssueID #46