summaryrefslogtreecommitdiff
path: root/src/ui/util.c
AgeCommit message (Collapse)Author
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-18UploadWidget: Identity selectionJaakko Keränen
2021-09-17Mobile: About pageJaakko Keränen
2021-09-17iOS: Build dateJaakko Keränen
2021-09-17UploadWidget: Updating the identities dropdownJaakko Keränen
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-12Mobile: Draw optimizations; focus handlingJaakko Keränen
Widgets can now be marked for buffering their contents, which is useful if their contents change seldom but they are drawn often. For example, the navbar is always visible but doesn't change very often, and during animations menu contents are static but there is a moving animation so everything gets drawn 60 FPS. Focus handling was also improved so the lookup results can be scrolled while entering text, and one can tap outside an input field to unfocus it.
2021-09-11Mobile: Many UI improvements; Upload UIJaakko Keränen
2021-09-10Mobile: Fixed minor UI issuesJaakko Keränen
Overflow-scrolling should be allowed over input fields, too. Fixed placement of the URL label in the link context menu.
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-08CleanupJaakko Keränen
2021-09-08CleanupJaakko Keränen
2021-09-08Mobile: Added Identities, Help, About to Settings screensJaakko Keränen
2021-09-08Mobile: Preferences is completed, improvedJaakko Keränen
2021-09-07Mobile: Redoing PreferencesJaakko Keränen
Contents of the Preferences split panel view are created based on arrays of MenuItems. This removes the confusing indirection of trying to modify the desktop widget tree to fit mobile.
2021-09-07Added BG-to-FG image colorization modeJaakko Keränen
2021-09-07Added image colorization preferenceJaakko Keränen
Option to colorize images to grayscale, text color, or preformatted color.
2021-07-23Window: Mouse wheel events vs. split modeJaakko Keränen
Only process mouse wheel events on the root over which the mouse is currently.
2021-07-23UploadWidget: Expand to input field sizeJaakko Keränen
2021-07-22Preferences: Added setting for Return key behaviorJaakko Keränen
2021-07-22Added a setting for Return key behaviorJaakko Keränen
User preference for line break / accept behavior in input fields. Still needs to be added to the Preferences dialog.
2021-07-17Working on Titan uploadsJaakko Keränen
There may be a bug in `TlsRequest` when sending out large amounts of data.
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
2021-07-11Preferences: Added setting for line spacingJaakko Keränen
IssueID #229
2021-07-10Fixed input dialog closing accidentallyJaakko Keränen
The input dialog shouldn't respond to the generic "cancel" command because that'll easily lead to loss of user-entered text. "cancel" is emitted in many situations, including right before a context menu is opened.
2021-07-06Text run measurement API change; bug fixesJaakko Keränen
The distinction between measure_Text and advance_Text was not very clear. Now there are only measure_Text functions that return both the bounds and the cursor position advancement, and the appropriate metrics are used by the caller.
2021-06-15Fixed visual artifact during sidebar animationJaakko Keränen
The sidebars are not supposed to have borders or background fades.
2021-06-15Mobile: Show identity name in toolbarJaakko Keränen
Shuffled the widget flags a bit to make room for a new one.
2021-06-15Preferences: New Fonts tab; reorganizedJaakko Keränen
Added a fonts tab and reorganized settings more logically. Some of the General items were more appropriate for the Style page.
2021-06-15Mobile: Minor tweaksJaakko Keränen
Slightly thicker fetch progress indicator, smaller search query indicator on the phone.
2021-06-13Touch: Swiping away the sidebarJaakko Keränen
2021-06-12Touch: Revising edge swiping eventsJaakko Keränen
Edge swiping now has its own set of commands that are posted, allowing widgets to respond more flexibly.
2021-06-10Preferences: Memory size limitJaakko Keränen
Memory used for RAM storage of media along with navigation history so it can be restored instantly.
2021-06-10Tight mode for Query/Feeds indicatorJaakko Keränen
2021-05-29Preferences: Added toggle for UI animationsJaakko Keränen
2021-05-28Lang: Translations for New Identity scopesJaakko Keränen
2021-05-25Removed Symbola, replaced with other/new fontsJaakko Keränen
Symbola's license is not permissive enough, so it has been removed. Added "Smol Emoji" with face emoticons and other UI characters for Lagrange. More symbols provided by Noto Sans Symbols and Noto Sans Symbols 2. The fallback fonts are now Iosevka, which has a pretty good coverage (although monospace), and the user's chosen TrueType font (which could still be a local copy of Symbola). Still a work in progress: some characters are missing. IssueID #283
2021-05-25Preferences: "Close" instead of "Dismiss"Jaakko Keränen
IssueID #285
2021-05-20Identity creation user experienceJaakko Keränen
Revised the New Identity dialog to hide the additional fields by default. Added a new option to select where the new identity will be active (current domain/page/nowhere). When the new identity is automatically activated, reload the URL used for activation.
2021-05-20Dialog show/hide animationsJaakko Keränen
Use the animations introduced for mobile on desktop as well. Adding a preference for this might be prudent.
2021-05-17Mobile: Preferences on tablet devicesJaakko Keränen
Use the mobile layout on tablets as well.
2021-05-16Cleanup: Moved mobile UI code to its own fileJaakko Keränen
The mobile UI related code has grown large enough to warrant a separate file. Also, work-in-progress redo of the Preferences layout so it can be used with landscape as well.
2021-05-15Widget: Rearranging expanding widgetsJaakko Keränen
When starting a new arrangement, expanding widgets must be reset so they won't affect the outcome.
2021-05-15Mobile: Various improvements and fixesJaakko Keränen
- fill the safe area with theme background - don't set button hover states if dragging/scrolling - edge-draggable widgets must be flagged as such - Preferences top panel offset matches sibling panels' offset - allow toolbar to unhide when document is not scrollable
2021-05-14Mobile and iOS: Various fixes and cleanupJaakko Keränen
Several regressions occurred when the split view mode was implemented.
2021-05-14Translation: Minimum width for dialogJaakko Keränen