summaryrefslogtreecommitdiff
path: root/src/ui
AgeCommit message (Collapse)Author
2020-10-11Fixed saving a page that was restored from cacheJaakko Keränen
2020-10-11Fixed saving a page with a tilde in the filenameJaakko Keränen
The tilde was assumed to be a home directory name, and therefore the name was considered to be an absolute path in itself.
2020-10-11Focus behavior of the URL entry fieldJaakko Keränen
Opening a new tab will now set input focus to the URL field. Switching tabs when the URL field is focused will select the full new URL. There was an issue previously where selecting a bookmark while the URL field was focused would cause unexpected behavior. The URL was first unfocused and that would trigger the document to fetch the URL that was in the input field.
2020-10-10DocumentWidget: Fixed stopping a streaming playerJaakko Keränen
A partially received media request will be cancelled and deleted if the inline viewer is closed.
2020-10-10Player: Wider Play/Pause buttonJaakko Keränen
2020-10-09DocumentWidget: Animate players after tab changeJaakko Keränen
2020-10-09Support Ogg Vorbis audioJaakko Keränen
Playback starts as soon as possible, so one can listen while streaming. stb_vorbis.c needed a tiny tweak to not die on a file without (Ogg? Vorbis?) comments.
2020-10-09Fixed memory leak on tab closeJaakko Keränen
The DocumentWidget was not actually deleted when a tab was closed, only hidden.
2020-10-08Player: Rewind button in the UIJaakko Keränen
2020-10-08Player: Play/pause button in the UIJaakko Keränen
2020-10-08DocumentWidget: Start playing audio immediatelyJaakko Keränen
2020-10-08DocumentWidget: Updating audio contentJaakko Keränen
2020-10-07Fixed constant window redrawingJaakko Keränen
There were a couple of uninitialized values, which meant that the hovering outline was sometimes interpreted to be in an indefinite animation.
2020-10-07Drawing an audio player UIJaakko Keränen
2020-10-06Updating media contentJaakko Keränen
Making it possible for media to be partially updated, for streaming. Also fixed a problem with multiple concurrent audio players started on a single media item.
2020-10-04Fixed window position retain errorJaakko Keränen
At least on macOS, there is a stray window move event during app launch that causes the wrong position to be saved. At launch, the window position comes from preferences.
2020-10-04Working on audio playbackJaakko Keränen
Audio players are displayed the same way as images. When playing, a decoder runs in a background thread producing samples suitable for output.
2020-10-01Refactor: Separate media from GmDocumentJaakko Keränen
2020-09-30Windows: Initial/minimum window size vs. UI scale factorJaakko Keränen
2020-09-30Windows: Use the system UI scaling factorJaakko Keränen
Check for system UI scaling factor via Direct2D DPI values.
2020-09-30Windows: Improved fix for UI blankingJaakko Keränen
Must invalidate all buffered visuals if the renderer is reset.
2020-09-29CleanupJaakko Keränen
2020-09-29Text: Better readability with Fira SansJaakko Keränen
Increased Fira Sans line spacing, now more in line with Nunito.
2020-09-29Lighter separators in Light modeJaakko Keränen
2020-09-28SidebarWidget: Max limit for sidebar widthJaakko Keränen
Must leave some space for the document.
2020-09-28GmDocument: Tweaks in the dark color themeJaakko Keränen
2020-09-28Adjusted light mode color paletteJaakko Keränen
The accent color hues weren't quite right.
2020-09-27macOS: 10.13 should use OpenGL rendererJaakko Keränen
There appears to be a problem with SDL's Metal renderer under 10.13 (segfault on window creation).
2020-09-27DocumentWidget: Side icon animation glitchesJaakko Keränen
2020-09-26Fixed menu item label in error messageJaakko Keränen
2020-09-26CleanupJaakko Keränen
2020-09-26DocumentWidget: Show top heading on the sideJaakko Keränen
2020-09-26Preferences: Added side icon, hover outlineJaakko Keränen
2020-09-25Document side elements; hover outlineJaakko Keränen
2020-09-22DocumentWidget: Drawing side elementsJaakko Keränen
The banner appears on the left, if there is room in the margin. Also added a document timestamp in the bottom to see when the data was received.
2020-09-22Drawing with alpha blendingJaakko Keränen
2020-09-22Added an animation utilityJaakko Keränen
2020-09-21Preferences: Line width, 1st paragraph; tab switch keysJaakko Keränen
2020-09-21Radio button widget flagJaakko Keränen
2020-09-21Merge branch 'release' into devJaakko Keränen
Window state bug fixes from the release branch.
2020-09-21macOS: Window size/mode restoration tweaksJaakko Keränen
Don't bother with maximized mode, it causes a needless animation at launch.
2020-09-21Restoring maximized windowsJaakko Keränen
Window position and size are stored when move/resize events are received, not only when the window is closed.
2020-09-21Reload fonts when renderer is resetJaakko Keränen
For some reason, SDL deletes the contents of render targets when the window is resized. IssueID #6
2020-09-21Document theme color saturation preferenceJaakko Keränen
2020-09-21Added Prefs; placeholders for new optionsJaakko Keränen
2020-09-21Text: Using Unicode symbols in monospaceJaakko Keränen
If the regular monospace font is missing a Unicode character, one is used from Symbola. However, these replacements were taken from the wrong sized font. Also, since the replacements are not monospace (Symbola isn't) they are now centered in their location for a better alignment.
2020-09-20Improved text selection starting on empty spaceJaakko Keränen
IssueID #4
2020-09-20Text: Japanese font sized for UI textJaakko Keränen
This font is needed for example for tab titles where there are japanese glyphs.
2020-09-20Opening links in a new background tabJaakko Keränen
2020-09-20Widget: Expanded flags to 64 bitsJaakko Keränen
Ran out of room in 32 bits, more flags needed for arranging.