summaryrefslogtreecommitdiff
path: root/src/ui
AgeCommit message (Collapse)Author
2022-01-04Text: Light and regular font weight via ANSI escapesJaakko Keränen
SGR codes 2 and 10.
2022-01-03Android: Fixed glitches with updating keyboard heightJaakko Keränen
2022-01-02Mobile: Tweaking URL input widget paddingJaakko Keränen
Portrait phone URL input field has some special padding rules. This should be done elsewhere (updateMetrics_Root?), but InputWidget does not check the Widget paddings currently.
2022-01-02Attempt to ensure invalidation of cached theme dataJaakko Keränen
2022-01-02Mobile: Taller portrait phone navbarJaakko Keränen
The navbar is an important tap target, so it should be the same height as most menu items and the toolbar.
2022-01-01Android: Show build version and date in Settings > AboutJaakko Keränen
2022-01-01Android: Fixed root sizing; clip menu not showing; toolbar buttonsJaakko Keränen
The keyboard height was miscalculated if there were system keys under the window.
2022-01-01Mobile: User-configurable phone toolbar buttonsJaakko Keränen
Actions for the first two mobile portrait phone toolbar buttons can be chosen in Settings.
2022-01-01iOS: Showing activity views on iPadJaakko Keränen
On iPad, activity views are popovers and require information about the source. The UI doesn't provide this, though, so just use the long-press tap position for now.
2021-12-31Mobile: Fixed crash when creating bookmarkJaakko Keränen
Use of uninitialized memory was possible related to the folder selection dropdown.
2021-12-30Added "Edit Page with Titan"Jaakko Keränen
A convenient way to copy the current page's source and open the Titan upload dialog with it prefilled. IssueID #415
2021-12-30DocumentWidget: Inlining "image/*" responsesJaakko Keränen
Image responses get inlined on gemtext pages. It would make sense to use this mechanism for all media since the MIME type is ultimately what matters in determining the appropriate presentation. The file extensions shouldn't matter. IssueID #373
2021-12-30DocumentWidget: Update banner while loadingJaakko Keränen
The banner would sometimes appear only after the page had finished loading, because the site icon got lost when the GmDocument was switched.
2021-12-29iOS: Sharing file content and selected textJaakko Keränen
2021-12-29Inline download context menu; macOS: Show in FinderJaakko Keränen
The inline downloads UI finally has some interactivity: left-clicking on a finished download opens it in the default viewer app, and right-clicking shows a context menu with relevant actions.
2021-12-28Viewing unsupported files in another appJaakko Keränen
After receiving content of unsupported type, show a footer action button to open it in another app. IssueID #135
2021-12-27Android: Replace toolbar Back button with Close TabJaakko Keränen
These should be user-configurable, though.
2021-12-27Text: Fixed color escapes in the simple text rendererJaakko Keränen
2021-12-27Android: Keyboard height; other fixesJaakko Keränen
Send a notification from the Java side when the software keyboard is shown.
2021-12-27Text: Fixed simple text rendererJaakko Keränen
2021-12-27Reserved characters in URLsJaakko Keränen
Making URL encoding a little less convoluted. Now when sending out a request, the URL is fully encoded except for reserved characters. In the internal representation, non-ASCII characters are in decoded form (i.e., IRI). This means that if the user enters a URL in the input field manually, its non-ASCII characters will be percent encoded as well. However, in this case the user is expected to manually escape all reserved characters because the input field can't tell the difference between what is intended to be a reserved separator and what isn't. For example, a server might expect &-separated fields, and if the user enters such fields manually in the URL field, they shouldn't be converted to %26. When forming a query URL in the input dialog, user-entered text is fully percent-encoded because in that case the input is just a generic text string. IssueID #410
2021-12-26Mobile: Tweaking link highlight on hoverJaakko Keränen
2021-12-26Mobile: Removed "Show URL on hover"Jaakko Keränen
2021-12-25Mobile: Same indication for hover links and open URLsJaakko Keränen
2021-12-25Mobile: Link info in context menuJaakko Keränen
2021-12-25Mobile: Fixed pull-to-refreshJaakko Keränen
2021-12-25CleanupJaakko Keränen
Warnings about lost precision.
2021-12-25SDL line drawing regression was fixed in 2.0.18Jaakko Keränen
2021-12-23Android: Various fixes to get things up and runningJaakko Keränen
Resource paths, runtime data, ignore mouse events. Assume that the Java side tells us the display pixel density via a command line argument.
2021-12-23LinkInfo: Show port, tooJaakko Keränen
2021-12-20Banner: MarginsJaakko Keränen
2021-12-20DocumentWidget: Cleaning up after refactoringJaakko Keränen
2021-12-20LinkInfo: More concise presentationJaakko Keränen
Bold hostname, including scheme if not `gemini`. Info is now on a single wrapped line.
2021-12-20CleanupJaakko Keränen
The "opened from sidebar" flag is unnecessary now.
2021-12-19Cleanup: Group together DocumentView methodsJaakko Keränen
2021-12-19DocumentWidget: Refactor to separate DocumentViewJaakko Keränen
Work in progress, but now DocumentView at least has its own type. The relationship is a bit muddled, though.
2021-12-18CleanupJaakko Keränen
2021-12-18LinkInfo: Identity at end of first lineJaakko Keränen
2021-12-18LinkInfo: Improved link metadata popupJaakko Keränen
2021-12-18TextBuf: Set base attributes for ANSI escapesJaakko Keränen
2021-12-18Added LinkInfoJaakko Keränen
2021-12-18DocumentWidget: Fixed open links highlight positionJaakko Keränen
2021-12-18Focusing the search input fieldJaakko Keränen
2021-12-18Image metadata; improved open URLs indicatorJaakko Keränen
Put a new GmRun under an inlined image with the image metadata, so it doesn't overlap the caption text. Open URLs are now indicated with a document-width box instead of window-width box. The box is also slightly expanded for a nicer look. Links have a bit of padding around them so this doesn't cause overlaps with other runs.
2021-12-18Banner: Increased padding in itemsJaakko Keränen
2021-12-18Nicer image metadata and open URLs highlightJaakko Keränen
Metadata of inlined images shouldn't overlap the caption text. Open URL highlights are not drawn fullwidth to avoid clashing with side elements and generally to look more consistent.
2021-12-18SidebarWidget: Use correct palette for outlineJaakko Keränen
The outline tab uses the current document's palette.
2021-12-18Fixed misaligned time in audio playerJaakko Keränen
TODO: This is font-dependent, so should actually use visual alignment...
2021-12-17Mobile: Input prompt actions menuJaakko Keränen
2021-12-17Mobile: Fixed phone sidebar background fadeJaakko Keränen