summaryrefslogtreecommitdiff
path: root/src/ui
AgeCommit message (Collapse)Author
2021-07-02Text: Skip space at word wrap positionJaakko Keränen
2021-07-02CleanupJaakko Keränen
2021-07-02Text: Nunito kerning adjustmentJaakko Keränen
2021-07-02Text: Word wrapping; fixed glyph cachingJaakko Keränen
2021-07-01Text: Working on line wrappingJaakko Keränen
2021-07-01Text: Working on HarfBuzzJaakko Keränen
2021-07-01Using Canonical URLsJaakko Keränen
2021-06-30CleanupJaakko Keränen
2021-06-30Text: Internal and ANSI color escapesJaakko Keränen
2021-06-30Text: Use HarfBuzz to shape textJaakko Keränen
This kind of already works! HarfBuzz will composite glyphs as expected. Still missing: half-pixel offsets, line wrapping, color escapes, monospace grid alignment. FriBidi will still be required to determine/reorder text direction within each run.
2021-06-30Canonical URIsJaakko Keränen
Internally, all URIs should be converted to a canonical form so that they can be compared against each other. The canonical form is an IRI with spaces and reserved characters percent-encoded.
2021-06-26Text: Link with HarfBuzz; old run_Font_ is a fallbackJaakko Keränen
HarfBuzz will provide proper Unicode text shaping for both simple and complex scripts. The old `run_Font_` is available for use as a fallback if HarfBuzz is not available due to size or complexity constraints (it's written in C++).
2021-06-25Merge branch 'dev' into work/v1.6Jaakko Keränen
# Conflicts: # CMakeLists.txt
2021-06-24DocumentWidget: Fixed link number alignmentJaakko Keränen
The link numbers were not aligned with all fonts.
2021-06-24Text: Tune kerning on NunitoJaakko Keränen
2021-06-17Color: Load palettes from a config fileJaakko Keränen
IssueID #263
2021-06-17CleanupJaakko Keränen
2021-06-17DocumentWidget: Spaces in image URLJaakko Keränen
On a generated image page, the image link URL was not escaped so any spaces would cause it to be broken. These content links also should not use the background highlighting meant for links open in other tabs.
2021-06-17CleanupJaakko Keränen
2021-06-16DocumentWidget: Spaces in image URLJaakko Keränen
On a generated image page, the image link URL was not escaped so any spaces would cause it to be broken. These content links also should not use the background highlighting meant for links open in other tabs.
2021-06-15Fixed visual artifact during sidebar animationJaakko Keränen
The sidebars are not supposed to have borders or background fades.
2021-06-15Text: Small font is semibold for legibilityJaakko Keränen
2021-06-15TextBuf: Attempted workaroundJaakko Keränen
It is possible that calling `SDL_RenderClear` was not performing the expected clearing of the TextBuf texture due to the wrong blend mode being in effect. IssueID #271
2021-06-15Mobile: Showing identity name in toolbarJaakko Keränen
Tweaked the position to work without safe area insets as well. It would make things easier to have the name as a child of the Identity button and keep the size of the button fixed.
2021-06-15Mobile: Show identity name in toolbarJaakko Keränen
Shuffled the widget flags a bit to make room for a new one.
2021-06-15Mobile: Draw Identity button as outlineJaakko Keränen
2021-06-15Preferences: New Fonts tab; reorganizedJaakko Keränen
Added a fonts tab and reorganized settings more logically. Some of the General items were more appropriate for the Style page.
2021-06-15Mobile: Minor tweaksJaakko Keränen
Slightly thicker fetch progress indicator, smaller search query indicator on the phone.
2021-06-15DocumentWidget: Caching error page documentsJaakko Keränen
2021-06-15iOS: Gentle haptic tap for sidebar-back-swipeJaakko Keränen
2021-06-14Mobile: Toolbar color depends on sidebarJaakko Keränen
Toolbar should reflect the colors of the current view, whether it's a page or the sidebar.
2021-06-14TextBuf: Attempted workaroundJaakko Keränen
It is possible that calling `SDL_RenderClear` was not performing the expected clearing of the TextBuf texture due to the wrong blend mode being in effect. IssueID #271
2021-06-14Swiping and sidebar; various tweaksJaakko Keränen
When a page is opened from the sidebar, swiping back will now reopen the sidebar. Another swipe will dismiss the sidebar and navigate back as usual. Attempted to cache theme colors in GmDocument, but there were issues with theme changes.
2021-06-13Mobile: Swipe navigationJaakko Keränen
Swipes are working much better. Todo: - Pinch must always cancel/override edge swipes. - Use the right palette for the "swipein" placeholder.
2021-06-13Mobile: Working on swipe navigationJaakko Keränen
Swipes back and forward are now working, although there are some glitches remaining. Most notably, when swiping back the previous document does not appear until the finger is released.
2021-06-13Touch: Swiping away the sidebarJaakko Keränen
2021-06-12Touch: Revising edge swiping eventsJaakko Keränen
Edge swiping now has its own set of commands that are posted, allowing widgets to respond more flexibly.
2021-06-12CleanupJaakko Keränen
2021-06-11iOS: Opening a file via document pickerJaakko Keränen
Use a native file picker to open files. Declare support for .gmi/.gemini files so they can be opened via Files and share sheets.
2021-06-11Mobile: Minor tweaksJaakko Keränen
2021-06-10Mobile: Horizontal sidebar animationJaakko Keränen
Also fixing glitch with search input field where pressing Return would insert newline.
2021-06-10DocumentWidget: Deleting local files via link context menuJaakko Keränen
2021-06-10Preferences: Memory size limitJaakko Keränen
Memory used for RAM storage of media along with navigation history so it can be restored instantly.
2021-06-10Tight mode for Query/Feeds indicatorJaakko Keränen
2021-06-10DocumentWidget: Pause audio when document changesJaakko Keränen
While document media is now kept in memory even in history, it's quite strange if audio players keep playing on a page viewed in the past without a way to control the playback.
2021-06-09Merge branch 'dev' into work/typesetterJaakko Keränen
# Conflicts: # src/gmdocument.c # src/ui/documentwidget.c # src/ui/inputwidget.h
2021-06-09CertImportWidget: Respond to "input.paste"Jaakko Keränen
The "input.paste" command is triggered via menus before CertImportWidget gets the key.
2021-06-08Normalize (NFC) document/input field contentJaakko Keränen
The text renderer has problems with composites so normalizing the text (using Unicode normalization form C) yields better results for now.
2021-05-29CleanupJaakko Keränen
2021-05-29Keys: Redundant split menu language stringsJaakko Keränen