summaryrefslogtreecommitdiff
path: root/src/ui/uploadwidget.c
AgeCommit message (Collapse)Author
2021-12-03Mobile: Manage Identities via SettingsJaakko Keränen
2021-12-02Mobile: Button group style; upload dialog tweaksJaakko Keränen
Use checkmarks for selections in button groups.
2021-11-21Site-specific Titan upload identityJaakko Keränen
The identity to be used for uploads is now in sitespec.ini, so it applies to an entire site root. This should match actual use cases better than having URL-specific identities. Also fixed an issue with native menus. Replacing the items with new ones was not implemented. IssueID #379
2021-10-23UploadWidget: Remember token; Upload button visibilityJaakko Keränen
The token is saved just like the text editor content. In a single panel layout, the Upload button should only be shown when a detail panel is visible. The text editor panel shouldn't scroll because the input widget does its own scrolling.
2021-10-06Fixed a couple of font issuesJaakko Keränen
Scaling of monospace and symbols; cache reset.
2021-10-06Revised runtime font managementJaakko Keränen
The built-in fonts are loaded via FontPack, and the font table is now constructed dynamically based on available fonts. A full set of variants (style, size) are prepared for each font, but some of the data gets allocated lazily when needed. GmRun needed a larger allocation for fonts, so now all the fields are combined into a single bit field. TODO: Glyph scaling, vertical offsets, and symbol lookup are still not fully working.
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: Adjusted max heightJaakko Keränen
2021-09-18UploadWidget: Identity selectionJaakko Keränen
2021-09-17CleanupJaakko Keränen
2021-09-17UploadWidget: Updating the identities dropdownJaakko Keränen
2021-09-17Fixed minor widget glitchesJaakko Keränen
2021-09-15iOS: Picking files for uploadJaakko Keränen
2021-09-14UploadWidget: Identity selection (mobile)Jaakko Keränen
2021-09-14UploadWidget: Mobile fixesJaakko 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-09Mobile: Working on dialogsJaakko Keränen
The new panels maker offers a declarative solution for creating consistent UIs.
2021-08-19UploadWidget: "Close" is a better button labelJaakko Keränen
"Cancel" would imply here that changes made in the editor would be cancelled, when the opposite is true: the editor contents are saved persistently.
2021-08-06InputWidget: Return key, input focus behaviorJaakko Keränen
In the long-form text entry mode, don't use the user's configured Return key behavior, since that's meant for shorter input fields. Input fields no longer lose focus when the window loses input focus, but the cursor will stop blinking. This makes it easier to resume typing after switching window focus, and also on macOS the symbol picker is easier to use.
2021-08-04InputWidget: Line breaks only make sense in some fieldsJaakko Keränen
For example, any URL field should disallow line breaks. The line break modifier preference should be disregarded in an input field where there are no line breaks.
2021-08-01CleanupJaakko Keränen
2021-08-01UploadWidget: Allow expanding to full window heightJaakko Keränen
2021-07-26UploadWidget: Use frameless widgetsJaakko Keränen
2021-07-25UploadWidget: Fixes and improvementsJaakko Keränen
Fixed update after undo. Line wrap long destination URLs. Don't open a new upload dialog if one is already open.
2021-07-24InputWidget: Focus, cursor and scrollingJaakko Keränen
Tweak that lets a single-line editor (URL field) keep its first line visible when unfocused.
2021-07-24CleanupJaakko Keränen
2021-07-24Added site-specific configuration; default Titan portJaakko Keränen
When using the upload shortcut, enable configuring a specific port for Titan via site-specific parameters.
2021-07-23UploadWidget: Adjusting dialog layoutJaakko Keränen
2021-07-23InputWidget: Fixes to updating widget heightJaakko Keränen
2021-07-23InputWidget: Automatic backup modeJaakko Keränen
2021-07-23UploadWidget: Expand to input field sizeJaakko Keränen
2021-07-22UploadWidget: Added UI stringsJaakko Keränen
2021-07-21InputWidget: Fixed and reliabilityJaakko Keränen
Cursor movement and pasting.
2021-07-21Revising InputWidget (continued)Jaakko Keränen
Finding cursor position via coordinates. Handling the mark. Visual wrapped lines vs. content lines. Vertical scrolling inside the visual range.
2021-07-20Revising InputWidgetJaakko Keränen
`InputWidget` needs to be better at handling multiple lines. The previous implementation assumed that the content was short enough to be fully redrawn each frame, which is not a great idea when you have thousands of lines.
2021-07-18UploadWidget: Monitoring progressJaakko Keränen
Socket can now tell us how much data is being sent, so the upload progress can be monitored.
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.