summaryrefslogtreecommitdiff
path: root/src/ui
AgeCommit message (Collapse)Author
2022-01-07Text: Minor optimizationJaakko Keränen
When drawing glyphs, each one of them may be individually cached. Allocate less heap memory during these calls.
2022-01-07Text: CJK word wrappingJaakko Keränen
Improve mixed-language word wrapping, and position U+3001 and U+3002 near the baseline. IssueID #380
2022-01-07Layout glitch workaroundJaakko Keränen
2022-01-06Text: Detect Bengali, Oriya, Tamil scriptsJaakko Keränen
IssueID #345
2022-01-06Detect Devanagari textJaakko Keränen
Tell HarfBuzz when Devanagari has been detected. TODO: Check for other languages supported by HarfBuzz (there's a long list). IssueID #345
2022-01-05Consistent dialog titlesJaakko Keränen
Added a utility for setting up dialog titles consistently. They are now in all-caps and aligned appropriately.
2022-01-05Mobile: Incorrect number of items in page menuJaakko Keränen
2022-01-05Mobile: URL field padding on tabletsJaakko Keränen
2022-01-05CleanupJaakko Keränen
Post merge.
2022-01-05Merge branch 'work/v1.10' into devJaakko Keränen
# Conflicts: # CMakeLists.txt # Depends-Android.cmake # res/about/version.gmi # res/lang/cs.bin # res/lang/eo.bin # res/lang/es.bin # res/lang/fi.bin # res/lang/gl.bin # res/lang/ia.bin # res/lang/ie.bin # res/lang/ru.bin # res/lang/sr.bin # res/lang/tok.bin # res/lang/tr.bin # res/lang/uk.bin # res/lang/zh_Hant.bin # src/app.c # src/main.c # src/ui/documentwidget.c # src/ui/labelwidget.c # src/ui/sidebarwidget.c # src/ui/util.c
2022-01-05Handling keys while navigating via home rowJaakko Keränen
When navigating via home row, ensure that other widgets will not trigger when keys are pressed. The document is given keyboard focus even though it is not flagged as focusable, to make sure it gets to handle all the keys first. On macOS, disable all native menu items that have a home row keyboard shortcut. Also on macOS, disable all native menus when changing bindings. IssueID #419
2022-01-04SDL line drawing regression was fixed in 2.0.18Jaakko Keränen
2022-01-04Text: Fixed color escapes in the simple text rendererJaakko Keränen
2022-01-04Date in Gemini feed links is de-emphasizedJaakko Keränen
Use a regular font weight and dimmer color for the entry date.
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-24macOS: Fixed selecting scope for new identityJaakko Keränen
The selected item was not found from a native popup menu.
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-23Added UI language for Dutch (nl)Jaakko Keränen
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.