summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-10-14Player: Volume adjustment UIJaakko Keränen
2020-10-14CleanupJaakko Keränen
2020-10-12SidebarWidget: Improved list scroll barJaakko Keränen
Sometimes the sidebar's scroll bar would not get updated correctly. There still remains an issue where the scroll maximum is incorrect if the sidebar is hidden at launch.
2020-10-12Clear input focus when switching tabsJaakko Keränen
2020-10-12Normalizing long spaces to a tab stopJaakko Keränen
Experimenting with terminal friendly space normalization where sometimes multiple spaces are used to align content horizontally (with a fixed-width font). When encountering 8 or more consecutive spaces, they are all replaced with a single tab character. Gemtext allows clients to normalize whitespace as they see fit.
2020-10-11Text: Font tuningJaakko Keränen
2020-10-11Paste from clipboard on middle mouse clickJaakko Keränen
2020-10-11Remember which Preferences tab is openJaakko Keränen
2020-10-11Added a preference for heading fontJaakko Keränen
Body and heading fonts can be selected separately.
2020-10-11Added two serif fonts; minor color tweaksJaakko Keränen
Added the EB Garamond and Literata fonts as serif font choices.
2020-10-11Media: Pause other players when a new one startsJaakko Keränen
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-09CleanupJaakko Keränen
Moved buffers out of player.c. Include MIME type with the data so the correct decoder can be chosen. Added stb_vorbis: https://github.com/nothings/stb
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-08Media: Images not processed until data is completeJaakko Keränen
2020-10-08DocumentWidget: Start playing audio immediatelyJaakko Keränen
2020-10-08DocumentWidget: Updating audio contentJaakko Keränen
2020-10-08Helper for checking a successful status codeJaakko Keränen
2020-10-08Player: Total input sizeJaakko 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-06WAV: 24-bit PCM, float 32/64; fixed audio issuesJaakko Keränen
The decoder now waits only on two conditions: more input is needed, or when the output buffer is full. Previously there was a race condition that caused the decoder to randomly miss the first signal and not play anything.
2020-10-04Playing back a WAV fileJaakko Keränen
Simple test case works now: loading a 16-bit stereo PCM WAV from a file (i.e., no streaming) and playing it back.
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-01Player: Setting up the audio outputJaakko Keränen
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-30Windows: Declare as HiDPI awareJaakko Keränen
2020-09-29CleanupJaakko Keränen
2020-09-29Added stub for audio playerJaakko 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-29GmDocument: List bullets use a different colorJaakko Keränen
More distinctive.
2020-09-28CleanupJaakko 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).