summaryrefslogtreecommitdiff
path: root/src/ui/util.c
AgeCommit message (Collapse)Author
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-24SidebarWidget: Reordering bookmarks manuallyJaakko Keränen
One can now drag and drop bookmarks to change their order in the list.
2021-09-21Added build options for popup/macOS menusJaakko Keränen
2021-09-21Fixed issues with popup windowsJaakko Keränen
2021-09-21Disabling items in native menusJaakko Keränen
Added the special prefix `///` to mark items disabled.
2021-09-21macOS: Improving native menu behaviorJaakko Keränen
Selected items and dynamic label updates.
2021-09-21macOS: Native context menusJaakko Keränen
Popup context menus now use NSMenu. There are still has a few glitches with the navbar identity button, but most menus are working. SDL required another little tweak to force it to update mouse button state after the synchronously handled context menu goes away. Otherwise SDL's internal mouse button state shows that the right mouse button is held down.
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-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