summaryrefslogtreecommitdiff
path: root/src/app.c
AgeCommit message (Collapse)Author
2021-11-28Fixed page timestamp; 24-hour time preferenceJaakko Keränen
IssueID #349
2021-11-25Unsplit button in toolbarJaakko Keränen
IssueID #378
2021-11-24App: Finding the resources fileJaakko Keränen
While the hardcoded path is still there, it is now checked in addition to the normal executable-relative paths, not replacing them. IssueID #395
2021-11-24SidebarWidget: Save feeds mode (all/unread)Jaakko Keränen
2021-11-23Preferences: Option for ANSI background color (SGR)Jaakko Keränen
2021-11-23Select folder when adding/editing bookmarksJaakko Keränen
Most recently used folder is persistently stored in bookmarks.ini. IssueID #358
2021-11-14Merge branch 'dev' into work/v1.9Jaakko Keränen
# Conflicts: # CMakeLists.txt # Depends.cmake # src/lang.c
2021-11-12Fixed crash if "open" command has no "url"Jaakko Keränen
IssueID #385
2021-11-07Windows: Call the updater; added a missing resourcesJaakko Keränen
2021-11-04Merge branch 'dev' into work/v1.9Jaakko Keränen
# Conflicts: # src/lang.c
2021-11-03Redo cached document layout if neededJaakko Keränen
Changing the fonts, zoom level, or window width will cause cached documents to be laid out again if they are restored from memory.
2021-10-31Changed format of resources.lgrJaakko Keränen
Resources are now stored in a ZIP archive, and it comes with an explicit version number. All the old embed/bincat stuff was removed as unnecessary. resources.lgr is also a valid fontpack, for loading the built-in fonts. IssueID #363
2021-10-29App: resources.lgr load orderJaakko Keränen
Try loading from the local directory first, then the system-wide one. This way uninstalled builds are more likely to use the right resources. IssueID #363
2021-10-27Upgrade assistance: download "classic-set" fontpackJaakko Keränen
2021-10-27App: Upgrading to version 1.8.0Jaakko Keränen
Removal of the embedded font library means that the UI strings may not have the right fonts available. The app version is now recorded in prefs.cfg.
2021-10-26Preferences: Warn about missing glyphsJaakko Keränen
2021-10-23CleanupJaakko Keränen
2021-10-22CleanupJaakko Keränen
Very minor memory leaks.
2021-10-22Cleanup: Tidying up per-frame memory allocsJaakko Keränen
No need to use Garbage here to collect per-frame strings and arrays.
2021-10-22Merge branch 'work/v1.8' into devJaakko Keränen
2021-10-22Working on tab close buttonsJaakko Keränen
An [x] button appears on tab buttons when hovering on them. Still needs a bit of layout tweaks and the first tab doesn't have a button yet.
2021-10-20Installing individual TTF files; generate fontpack.iniJaakko Keränen
2021-10-19Preferences: Add bookmarks to bottom/topJaakko Keränen
IssueID #358 # Conflicts: # res/lang/de.bin # res/lang/en.bin # res/lang/eo.bin # res/lang/es.bin # res/lang/es_MX.bin # res/lang/fi.bin # res/lang/fr.bin # res/lang/gl.bin # res/lang/ia.bin # res/lang/ie.bin # res/lang/isv.bin # res/lang/pl.bin # res/lang/ru.bin # res/lang/sk.bin # res/lang/sr.bin # res/lang/tok.bin # res/lang/zh_Hans.bin # res/lang/zh_Hant.bin
2021-10-18Preferences: ANSI escape flagsJaakko Keränen
FG color and font style escapes can be enabled separately. FG color remains enabled by default like before.
2021-10-18CleanupJaakko Keränen
2021-10-17FontPack management via "about:fonts"Jaakko Keränen
2021-10-17Media and FontPacks (work in progress)Jaakko Keränen
Saving this as the last point of progress. This direction is too complicated: Media needs to be a lot more sophisticated to allow dynamic and interactive media at the level of FontPacks. (A bit like Player handles audio playback.) This will be reverted. FontPack management will happen using an another method.
2021-10-15Preferences: Option to bold visited links, tooJaakko Keränen
Cleaned up serialization of the bool preferences a little.
2021-10-14Preferences: Saving the ANSI escape preferenceJaakko Keränen
2021-10-14Preferences: ANSI escape sequences in GemtextJaakko Keränen
It can be argued that using ANSI escapes to style text goes against the intended use of Gemtext. Therefore, all ANSI escapes are now disabled by default in Gemtext.
2021-10-14App: Fixed a crash at shutdownJaakko Keränen
2021-10-13Added preference for font smoothingJaakko Keränen
2021-10-11Preferences: Add bookmarks to bottom/topJaakko Keränen
IssueID #358
2021-10-11Media refactoring; working on FontPack managementJaakko Keränen
Media still needs more work to get rid of redundancies and make lookups faster. FontPacks are manipulated as Media items (not unlike images) so they can be previewed on page, and installed via a click. FontPack management is not trivial as it includes such details as versioning and whether individual packs are enabled or disabled.
2021-10-09Prefs: System light/dark theme preferenceJaakko Keränen
Remember which UI color themes are selected for system light and dark modes separately. Previously it would always switch to a hardcoded color theme when toggling the "Use system theme" option.
2021-10-08Font configuration; Prefs has a string value arrayJaakko Keränen
Added a second version of Iosevka with more line spacing, to be used as the default monospace document font.
2021-10-06Revised runtime font managementJaakko Keränen
The built-in fonts are loaded via FontPack, and the font table is now constructed dynamically based on available fonts. A full set of variants (style, size) are prepared for each font, but some of the data gets allocated lazily when needed. GmRun needed a larger allocation for fonts, so now all the fields are combined into a single bit field. TODO: Glyph scaling, vertical offsets, and symbol lookup are still not fully working.
2021-10-03App: Don't divide by zeroJaakko Keränen
2021-10-01Added feeds update progress indicatorJaakko Keränen
Show some status info about the progress of feed refresh. The search query and feeds indicators now use the small UI font size.
2021-09-30SidebarWidget: Scroll view to newly added itemsJaakko Keränen
New bookmarks and folders shouldn't appear outside the visible part of the list.
2021-09-27Window: Fixed regressions in retaining window placementJaakko Keränen
Window placement was not restored correctly when the window was maximized. Maximizing a window (on Windows) causes a spurious move event to be received from SDL, and that would mess up the remembered position. Now window placemenet is saved after a run through the event loop, so the rest of the window messages have been handled.
2021-09-27Windows: Enable dark mode; use dark title bar for dark themesJaakko Keränen
This is quite a hack, but Win32 apps don't seem to have documented access to dark mode.
2021-09-26macOS: Popup window fixes; simply window creationJaakko Keränen
2021-09-26Window: Set window position during creation; popups use sw renderJaakko Keränen
The renderer is created separately so it's possible to set the window position at creation time. Popup window use basic software rendering for (hopefully) better performance.
2021-09-26X11: Tuning popup window behavior and appearanceJaakko Keränen
2021-09-25Windows: Various fixes after MainWindow refactoringJaakko Keränen
2021-09-25Persistent bookmark folder stateJaakko Keränen
Incremented the version of state.lgr so it can include bookmark folder open/closed state for each of the two/four sidebars.
2021-09-24SidebarWidget: Creating folders inside clicked folderJaakko Keränen
2021-09-24Bookmark foldersJaakko Keränen
The user can now create bookmark folders, and drag bookmarks into them. Folders can also be nested. The bookmark sorting menu item sorts inside the chosen folder/root. Remote bookmark sources appear also as folders, although they cannot be sorted/edited. IssueID #339
2021-09-21Fixed issues with popup windowsJaakko Keränen