summaryrefslogtreecommitdiff
path: root/src/app.c
AgeCommit message (Collapse)Author
2022-02-20Adding context items to open in new windowJaakko Keränen
2022-02-19Fixed several event handling issuesJaakko Keränen
Events are expected to have a valid windowID now, and the current window also has to be correct when dispatching or processing any events.
2022-02-19App: Save multiple window rectanglesJaakko Keränen
2022-02-18Serializing multiple windowsJaakko Keränen
Not quite fully functional yet. The window positioning still needs to be written to prefs.cfg.
2022-02-18Basic opening and closing of new windowsJaakko Keränen
One can create a new window with `window.new` and close it with the window close button.
2022-02-17Don't suggest fonts any moreJaakko Keränen
Now you can just do searches in the font library.
2022-02-14Added option for autoshowing images in data URLsJaakko Keränen
Disabled by default to be consistent with behavior of other links.
2022-02-13Added a preference for maximum URL sizeJaakko Keränen
The setting defaults to 8 KB. Link lines with longer URLs are not recognized as links.
2022-02-09Merge branch 'dev' into work/v1.11Jaakko Keränen
# Conflicts: # res/lang/eo.bin # res/lang/ie.bin
2022-02-08macOS: Attempting workaround for Metal refresh issuesJaakko Keränen
For some reason, rendering to a separate render target instead of directly to the window helps with certain refresh glitches. More glitches still remain, though, perhaps related to not running window refresh at a constant rate but occasionally pausing to wait for input events.
2022-02-08App: CleanupJaakko Keränen
2022-02-07App: Draw frame during warmupJaakko Keränen
2022-02-07App: Removed an unnecessary refreshJaakko Keränen
When tickers are being run there already will be a refresh following immediately. Adding a recurring ticker will also post a refresh.
2022-02-06Merge branch 'dev' into work/v1.11Jaakko Keränen
# Conflicts: # CMakeLists.txt # res/fonts/SmolEmoji-Regular.ttf # res/lang/gl.bin # src/app.c
2022-02-05CleanupJaakko Keränen
2022-02-04App: Event processing tweakJaakko Keränen
Refresh events will never be dispatched (it would be pointless), but instead just set a flag that prevents SDL_WaitEvent() to be called. SDL_WaitEvent() should never be called anyway because `pendingRefresh` is set, but this makes it clearer and skips other unnecessary checks.
2022-01-29Don't have duplicate New Tab buttonsJaakko Keränen
There tab buttons don't need a New Tab button if the navbar has it.
2022-01-20Android: External downloads; Back button handling; bumped versionJaakko Keränen
2022-01-20Merge branch 'dev' of skyjake.fi:gemini/lagrange into devJaakko Keränen
2022-01-20Merge branch 'dev' into work/v1.11Jaakko Keränen
# Conflicts: # res/lang/cs.bin # res/lang/es.bin # res/lang/ru.bin # res/lang/sr.bin # res/lang/tr.bin # res/lang/uk.bin
2022-01-20App: Font Library cmap includes pack sizesJaakko Keränen
2022-01-19Event processing workaround (2.0.18+)Jaakko Keränen
This is most likely not needed for older SDL versions. IssueID #436 IssueID #438
2022-01-19Fontpack lookup via missing glyphsJaakko Keränen
IssueID #435
2022-01-16Customizable navbar button actionsJaakko Keränen
2022-01-16Event processing issue that causes menus to be dismissed immediatelyJaakko Keränen
This seems like a regression in SDL. SDL_PollEvent() doesn't behave like before. As a workaround, wait for events with a very short timeout. IssueID #436
2022-01-13App: Better way to determine directory for temporary filesJaakko Keränen
2022-01-13Showing files using `dbus-send` under FreedesktopJaakko Keränen
D-Bus command line tools can be called to make method calls to reveal a file's location in the file manager.
2022-01-07App: Optimizing periodic eventsJaakko Keränen
IssueID #416
2022-01-06App: Tell user about IPC command destinationJaakko Keränen
2022-01-05Merge branch 'work/v1.10' into devJaakko Keränen
# Conflicts: # CMakeLists.txt # Depends-Android.cmake # res/about/version.gmi # res/lang/cs.bin # res/lang/eo.bin # res/lang/es.bin # res/lang/fi.bin # res/lang/gl.bin # res/lang/ia.bin # res/lang/ie.bin # res/lang/ru.bin # res/lang/sr.bin # res/lang/tok.bin # res/lang/tr.bin # res/lang/uk.bin # res/lang/zh_Hant.bin # src/app.c # src/main.c # src/ui/documentwidget.c # src/ui/labelwidget.c # src/ui/sidebarwidget.c # src/ui/util.c
2022-01-03Android: Default return key behavior is to insert a newlineJaakko Keränen
2022-01-01Mobile: User-configurable phone toolbar buttonsJaakko Keränen
Actions for the first two mobile portrait phone toolbar buttons can be chosen in Settings.
2021-12-31Android: Better downloads directoryJaakko Keränen
2021-12-31Android: Download directoryJaakko Keränen
2021-12-31Android: JNI method for posting command eventsJaakko Keränen
2021-12-30Android: Updating for latest SDL and revised Gradle projectJaakko Keränen
2021-12-30Android: Updating for latest SDL and revised Gradle projectJaakko Keränen
2021-12-30DocumentWidget: Inlining "image/*" responsesJaakko Keränen
Image responses get inlined on gemtext pages. It would make sense to use this mechanism for all media since the MIME type is ultimately what matters in determining the appropriate presentation. The file extensions shouldn't matter. IssueID #373
2021-12-29iOS: Sharing file content and selected textJaakko Keränen
2021-12-29Inline download context menu; macOS: Show in FinderJaakko Keränen
The inline downloads UI finally has some interactivity: left-clicking on a finished download opens it in the default viewer app, and right-clicking shows a context menu with relevant actions.
2021-12-28Viewing unsupported files in another appJaakko Keränen
After receiving content of unsupported type, show a footer action button to open it in another app. IssueID #135
2021-12-27Android: Don't suggest to download fontsJaakko Keränen
2021-12-27Android: Keyboard height; other fixesJaakko Keränen
Send a notification from the Java side when the software keyboard is shown.
2021-12-27Android: Logging eventsJaakko Keränen
2021-12-27Reserved characters in URLsJaakko Keränen
Making URL encoding a little less convoluted. Now when sending out a request, the URL is fully encoded except for reserved characters. In the internal representation, non-ASCII characters are in decoded form (i.e., IRI). This means that if the user enters a URL in the input field manually, its non-ASCII characters will be percent encoded as well. However, in this case the user is expected to manually escape all reserved characters because the input field can't tell the difference between what is intended to be a reserved separator and what isn't. For example, a server might expect &-separated fields, and if the user enters such fields manually in the URL field, they shouldn't be converted to %26. When forming a query URL in the input dialog, user-entered text is fully percent-encoded because in that case the input is just a generic text string. IssueID #410
2021-12-25App: Tweaking idle sleep for mobileJaakko Keränen
2021-12-24macOS: Fixed selecting scope for new identityJaakko Keränen
The selected item was not found from a native popup menu.
2021-12-23Android: Various fixes to get things up and runningJaakko Keränen
Resource paths, runtime data, ignore mouse events. Assume that the Java side tells us the display pixel density via a command line argument.
2021-12-20CleanupJaakko Keränen
The "opened from sidebar" flag is unnecessary now.
2021-12-18App: If in the background, don't do periodic eventsJaakko Keränen
Does SDL stop all timers?