Age | Commit message (Collapse) | Author |
|
Added a set of English strings. Lang can load a language.
LabelWidget can replace IDs in the label.
IssueID #192
|
|
IssueID #192
|
|
|
|
|
|
|
|
Added a new mechanism to issue periodic but not per-frame commands. This is used for main-thread operations like checking if it's time to fade away the scrollbars.
Scrollbars are faded away completely on Apple platforms. Adjusted list right margins accordingly.
|
|
|
|
This is quite experimental.
The page contents are sent to an instance of LibreTranslate (powered by Argos Translate), which may or may not successfully translate the contents without mangling the gemtext markup.
|
|
|
|
|
|
IssueID #200
|
|
|
|
|
|
|
|
|
|
|
|
The extra bold that is used for titles is too bold for links.
|
|
|
|
IssueID #174
|
|
Only one instance of Lagrange is allowed to run per a runtime directory. Otherwise the instances will overwrite each others' files.
Added a check at startup to see if an instance is already running. If so, options can be used to communicate with it.
By default, a new tab is opened in the running instance.
IssueID #37
IssueID #164
IssueID #174
IssueID #178
|
|
|
|
|
|
|
|
Handle finger down, motion, and up events to implement basic taps, long presses, and inertia scrolling.
Much finetuning still to be done, and certain widgets like input fields and scrollbars need a direct drag mode (they were working fine via the "mouse" events already).
|
|
|
|
|
|
Added the build option ENABLE_CUSTOM_FRAME that causes the window
to be created as borderless. Lagrange's own UI widgets are used to
draw the title bar elements, including the window buttons.
There is plenty of sizing behavior still missing, for instance
snapping to fullscreen left/right side, double-clicking the frame
edges, and proper maximize mode that doesn't cover the entire screen.
The window system menu is also missing, but that can be shown
manually when appropriate.
A command-line option should also be provided to disable winbar
in case the default title bar is required.
|
|
|
|
This is to facilitate AppImage packaging for Linux.
|
|
iPlatformApple applies to both macOS and iOS. Added iPlatformAppleDesktop and iPlatformAppleMobile to make a distinction between the two.
IssueID #96
|
|
Also added a build option to disable changing the user download
directory within Lagrange, since that's set via XDG config.
|
|
|
|
|
|
|
|
|
|
Use the .lgr extension for Lagrange binary files.
|
|
The product bundle identifier must match the Info.plist file.
|
|
Todo: Drag-and-drop; the actual identity creation step.
|
|
The bold UI label font is used for highlighted sidebar items and default buttons.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Iosevka replaces Fira Mono as the monospace font.
Emojis are now allowed to be wider than normal monospace glyphs. However, if whitespace permits, the original monospacing is restored.
IssueID #73
|
|
Not just bug fixes here.
|
|
|
|
It appears at least on macOS, SDL is doing a while lot of stuff while waiting for new events. Perhaps because it has some sort of high-frequency input/sensor processing? Not sure.
Now Lagrange will idle by polling events every 15 ms and sleeping in between. This reduces CPU time by an order of magnitude on macOS. Need to still test on other platforms.
|
|
|