summaryrefslogtreecommitdiff
path: root/src/ui
AgeCommit message (Collapse)Author
2022-01-27DocumentWidget: Navigate to parent vs. index.gmiJaakko Keränen
index.gmi is typically identical to the directory itself, so don't go from `/index.gmi` to `/`, but skip directly to the parent directory.
2022-01-27DocumentWidget: Fixed crash while media players activeJaakko Keränen
2022-01-24Gopher: Set item type to 1 when navigating to parentJaakko Keränen
As suggested in: gemini://ruario.flounder.online/gemlog/2022-01-19_Some_Gopher_improvements_for_Lagrange.gmi
2022-01-24DocumentWidget: Cancelling an input queryJaakko Keränen
This has been broken for a while...
2022-01-22Window: Don't trigger a draw during SDL_ShowWindowJaakko Keränen
IssueID #442
2022-01-21InputWidget: Fixed hang if widget is very narrrowJaakko Keränen
2022-01-20DocumentWidget: Fixed crash when downloading a large fileJaakko Keränen
2022-01-17SidebarWidget: Fixed actions getting hidden on Feeds tabJaakko Keränen
2022-01-16Added menu string for customizing toolbarJaakko Keränen
2022-01-16Navbar menu placementJaakko Keränen
Popup menus opened from navbar buttons should open below the button. IssueID #436
2022-01-16SidebarWidget: Blank tabs cleanupJaakko Keränen
Contents of the empty sidebar (e.g., first launch) were a bit messy, with incorrect paddings and minor layout issues.
2022-01-16Customizable navbar button actionsJaakko Keränen
2022-01-16DocumentWidget: Banner glitchesJaakko Keränen
Banner warnings were duplicated for example when under some conditions. Internal "about:" pages should never show banners or warnings. IssueID #435
2022-01-16Event processing issue that causes menus to be dismissed immediatelyJaakko Keränen
This seems like a regression in SDL. SDL_PollEvent() doesn't behave like before. As a workaround, wait for events with a very short timeout. IssueID #436
2022-01-16CleanupJaakko Keränen
2022-01-16Fixed context menu in input fieldsJaakko Keränen
The menu was being dismissed immediately.
2022-01-14Windows: Fixed installing a drag-and-dropped font fileJaakko Keränen
The name of the file was not determined correctly.
2022-01-14DocumentWidget: Fixed possible crash during long downloadsJaakko Keränen
Hover can't be updated when the document is hidden.
2022-01-14CleanupJaakko Keränen
2022-01-13Showing files using `dbus-send` under FreedesktopJaakko Keränen
D-Bus command line tools can be called to make method calls to reveal a file's location in the file manager.
2022-01-13Fixed a build errorJaakko Keränen
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.