summaryrefslogtreecommitdiff
path: root/src/ui/window.c
AgeCommit message (Collapse)Author
2021-04-27Refactor: Update event processing to not assume a single UI rootJaakko Keränen
Most actions should occur in the context of the current UI root.
2021-04-27UI root sizing is independent of window sizingJaakko Keränen
2021-04-27Keeping track of current UI rootJaakko Keränen
The current UI root should always be set explicitly before the UI is accessed.
2021-04-27Refactor: Added a proper Root objectJaakko Keränen
`Root` encapsulates the root widget and the associated UI state.
2021-04-27Refactor: Moving RootData so it can become non-global stateJaakko Keränen
2021-04-27Refactor: Separating UI creation and root widget from WindowJaakko Keränen
Making the way for multiple roots/windows.
2021-04-27Window: Display DPI is only used to enlarge UI, never shrinkJaakko Keränen
2021-04-24Added "Show Downloads" and "Open Downloaded File"Jaakko Keränen
Contents of the Downloads folder can now be viewed as a directory index page.
2021-04-21iOS: Background audio; MP3/AAC playbackJaakko Keränen
2021-04-21Window: "Use system theme" turned off inadvertentlyJaakko Keränen
2021-04-20Mobile: Fixed invalid touch positionsJaakko Keränen
2021-04-18Added build option to disable IPCJaakko Keränen
It may take a while to add D-Bus support, so adding a way to disable the incompatible IPC mechanism for Flatpak builds. IssueID #245
2021-04-17Window: CleanupJaakko Keränen
2021-04-17if LAGRANGE_OVERRIDE_DPI is set, use that as the DPICharles
If the setting is invalid (e.g. the variable is set to something which is not an integer), then a warning is printed to standard error, and the environment variable is ignored. If the environment variable is an empty string, it is also ignored.
2021-04-16Back/Forward buttons vs. navigation positionJaakko Keränen
The Back and Forward arrow buttons are disabled if the navigation position is at the end/beginning of the history. IssueID #247
2021-04-15Window: Borderless "Updating Feeds" indicatorJaakko Keränen
2021-04-14Mobile: More prominent context menu iconJaakko Keränen
The horizontal middle ellipsis character is quite thin in the available fonts, so use three bullets instead.
2021-04-13Mobile: Use string IDs in menusJaakko Keränen
2021-04-12Mobile: Sidebar tweaksJaakko Keränen
Adjusted font sizes and action buttons moved to the top.
2021-04-12Lang: Removed redundant UI stringJaakko Keränen
"menu.copy.source" had only one use and was replaced with the identical "menu.page.copysource".
2021-04-11Added a "Clear Selection" stringJaakko Keränen
2021-04-11Mobile: Long press to select; navbar page menuJaakko Keränen
DocumentWidget now supports a long-press drag selection mode. The context menu was moved to the URL bar, replacing the reload button.
2021-04-10SidebarWidget: Action button fontsJaakko Keränen
2021-04-10Mobile: Incorrect menu item labelsJaakko Keränen
2021-04-10Identities: New/Import buttons below listJaakko Keränen
2021-04-10Mobile: Close menus when toolbar hiddenJaakko Keränen
2021-04-10Mobile: Zooming using pinch gesturesJaakko Keränen
2021-04-10Mobile: Freeze UI draws when app hiddenJaakko Keränen
Maybe a workaround for the squished view issue?
2021-04-09Mobile: Wrong menu item labelJaakko Keränen
2021-04-08Mobile: Sidebar on orientation change; paddingJaakko Keränen
Sidebar is hidden on orientation changes. Added a bottom padding to account for the overlapped toolbar.
2021-04-07Window: Only draw widgets after window exposedJaakko Keränen
No point in wasting time drawing anything before the window is actually visible. Should test this is different platforms, though...
2021-04-07Windows: Don't set a maximum size for the windowJaakko Keränen
The maximum size was introduced to avoid the window being too large at launch, but this doesn't work if the window is moved to different monitor. IssueID #199
2021-04-07macOS: No display scaling, only pixel ratioJaakko Keränen
IssueID #239
2021-04-07SidebarWidget: Store width as resolution independent unitsJaakko Keränen
DPI and pixel ratio changes should not radically change width of the sidebar. IssueID #239
2021-04-07Window: Adjusted minimum display scalingJaakko Keränen
2021-04-07Window: Pixel ratio and display scalingJaakko Keränen
IssueID #239
2021-04-05Mobile: Fixing the build post-1.3Jaakko Keränen
2021-04-03Window: Defer events posted during startupJaakko Keränen
2021-04-03Drawing only during window updateJaakko Keränen
Glyphs were inadvertently being cached already during measuring for layout. DocumentWidget was buffering graphics too early. Now buffered draws are prepared during normal drawing, when needed.
2021-03-31CleanupJaakko Keränen
2021-03-30Widget: Arrangement debugging; min sizeJaakko Keränen
There is a problem with repeated arrangements: the previous set sizes affect subsequent outcomes. This results in Preferences not being able to reduce in size, only to expand. It should be possible to reset sizes back to zero/minimum size before starting an arrangement, but LabelWidget needs to cooperate by using `minSize` to set its default size. `minSize` is preferable to fixedSize because then the widget can go through the usual arranging logic. To be continued at a later time...
2021-03-28macOS: Recreate menus after language changesJaakko Keränen
IssueID #192
2021-03-26Added Noto Sans SC; font table cleanupJaakko Keränen
Added the Noto Sans Simplified Chinese font. This adds another ~10 MB to resources.lgr, increasing the urgency of distributing fonts via separate downloads. The font table was getting difficult to manage, so now the sizes are broken out into a separate enum, and the table is reordered to match the FontSize order.
2021-03-23UI language preference; switching at runtimeJaakko Keränen
IssueID #192
2021-03-23Lang: Applied more string IDsJaakko Keränen
IssueID #192
2021-03-22Lang: Improvements; macOS menu itemsJaakko Keränen
Use char pointer ranges for the array of IDs and strings to avoid allocations. Translate macOS menu items. IssueID #192
2021-03-22Basic language string mechanismJaakko Keränen
Added a set of English strings. Lang can load a language. LabelWidget can replace IDs in the label. IssueID #192
2021-03-22Lang: Began replacing UI strings with IDsJaakko Keränen
IssueID #192
2021-03-21iOS: Save to Files; hide toolbar on scrollJaakko Keränen
There is no downloads directory on mobile. Instead, the downloaded file is temporarily cached and given to the iOS document picker to export. Added an option to hide the bottom toolbar while scrolling down.
2021-03-20Mobile: Balance navbar buttonsJaakko Keränen
Moved Identity button to the right since on the left there is the new Sidebar button.