summaryrefslogtreecommitdiff
path: root/src/app.c
AgeCommit message (Collapse)Author
2021-10-20Installing individual TTF files; generate fontpack.iniJaakko Keränen
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
2021-09-20Fixed build on Windows (MSYS)Jaakko Keränen
2021-09-20Experimenting with independent popup windowsJaakko Keränen
Toe dipping into multiple window support by allowing popup menu widgets to be displayed in independent windows. This is not a 100% replacement for native menus, but it gets pretty close.
2021-09-19Refactoring Window to split off MainWindowJaakko Keränen
MainWindow represents (one of) the main windows of the app, while the basic Window will be a used for popups. Only MainWindow supports split view modes.
2021-09-18Tracking hover widget; cleanupJaakko Keränen
The hover widget may get deleted during event processing, so Window keeps track of it for refreshing. TODO: Random crash when a destroyed menu is still in the onTop array (?).
2021-09-15Mobile: Minor improvementsJaakko Keränen
Fixed issues: scrollbar goes under toolbar, value input dialog grows too tall, Undo/Select All in the clip menu.
2021-09-13Mobile: New selection logic for InputWidgetJaakko Keränen
Touch-based interaction requires a different kind of selection and copy/paste behavior. This isn't done yet; especially multi-line text still needs work.
2021-09-12Mobile: Better Settings tap targets; fixed safe area drawingJaakko Keränen
2021-09-11Mobile: Many UI improvements; Upload UIJaakko Keränen
2021-09-10Mobile: Revised more dialogsJaakko Keränen
2021-09-09Mobile: Working on dialogsJaakko Keränen
The new panels maker offers a declarative solution for creating consistent UIs.
2021-09-07App: Added options -w, -h for window sizingJaakko Keränen
2021-09-07Added image colorization preferenceJaakko Keränen
Option to colorize images to grayscale, text color, or preformatted color.
2021-08-29Merge branch 'dev' into work/v1.7Jaakko Keränen
2021-08-29Fixed running under KMSDRM video driver on LinuxJaakko Keränen
SDL2 works fine without a window system, but it seems the DPI-querying API will crash so let's not call that. Should still add command line options to control the screen resolution, i.e., overriding the window size.
2021-08-20Added build options to force phone/tablet mobile UIJaakko Keränen
These options are mostly useful on mobile platforms that are not iOS or Android, and for testing purposes.
2021-08-17Added build option for window drawing during resizeJaakko Keränen
The option defaults to OFF because generally SDL should be handling this and the resize watcher is a bit of hack.
2021-08-07App: Immediate refresh after going to split modeJaakko Keränen
2021-08-02Added --tab-url option to print active tab's URLJaakko Keränen
IssueID #319
2021-07-24Added site-specific configuration; default Titan portJaakko Keränen
When using the upload shortcut, enable configuring a specific port for Titan via site-specific parameters.
2021-07-22Preferences: Added setting for Return key behaviorJaakko Keränen
2021-07-17Working on a UI for uploading text/dataJaakko Keränen
`UploadWidget` allows entering long-form text or dropping a file for uploading. InputWidget isn't yet well suited for really long documents... Some optimizations will be needed.
2021-07-11Preferences: Settings for smooth scroll speedJaakko Keränen
IssueID #297