summaryrefslogtreecommitdiff
path: root/src/macos.m
AgeCommit message (Collapse)Author
2021-11-07macOS: Use Sparkle for automatic updatesJaakko Keränen
2021-10-26macOS: Try to prevent SDL from being weird at launchJaakko Keränen
There appears to be some hacks in SDL regarding launch-time app activation. At least on my Macs, this leads to the forced unhiding of the dock in what appears to be mostly random behavior. Attempting to disable the hack via an SDL hint and activate the app manually.
2021-10-22CleanupJaakko Keränen
Very minor memory leaks.
2021-10-11macOS: Trying a different SDK version checkJaakko Keränen
2021-10-05macOS: Compiling with SDK older than 10.13Jaakko Keränen
IssueID #343
2021-10-03macOS: Compatibility with macOS 10.12 APIsJaakko Keränen
IssueID #343
2021-09-28macOS: Disable unused macOS 10.14 color codeJaakko Keränen
2021-09-26macOS: Position popup menus on selected itemJaakko Keränen
2021-09-26macOS: Experiment with system accent colorJaakko Keränen
This doesn't quite fit in the palette system currently, but it would be a nice addition later.
2021-09-26macOS: Context menu consumes modifier key releasesJaakko Keränen
2021-09-21LabelWidget: Tuned state colorsJaakko 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-08-15SDL 2.0.16 line drawing regression (OpenGL renderer)Jaakko Keränen
This is not specific to macOS, but seems to affect OpenGL rendering on all platforms.
2021-07-11CleanupJaakko Keränen
2021-07-06macOS: ^⌘Space shows character paletteJaakko Keränen
2021-06-09Merge branch 'dev' into work/typesetterJaakko Keränen
# Conflicts: # src/gmdocument.c # src/ui/documentwidget.c # src/ui/inputwidget.h
2021-05-28macOS: Attempted workaround for rendering issueJaakko Keränen
It appears that the SDL Metal renderer suffers from a glitch where display refresh is blocked for ~100 ms when resuming rendering after a period of sleep/waiting for events.
2021-05-11Cache GmDocuments in memoryJaakko Keränen
Navigation history keeps final GmDocuments in memory for quicker restore when navigating; no need to redo layout. Changed the color escape to Vertical Tab so Carriage Returns can be left in the source, reducing need to normalize spaces.
2021-03-29macOS: Fixed missing menu shortcutsJaakko Keränen
The built-in alternate bindings shouldn't affect the menu shortcuts.
2021-03-28macOS: Recreate menus after language changesJaakko Keränen
IssueID #192
2021-03-23Lang: Applied string IDs everywhereJaakko Keränen
More or less everywhere? 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-15macOS: Decoding handled URLsJaakko Keränen
When an URL is provided via the system URL handling mechanism, decode any percent-encoded characters in it.
2021-01-26Keybindings for new tab, close tab, add bookmarkJaakko Keränen
Added new keybindings for opening and closing a tab. Also added a keybinding for adding a bookmark so ⌘D can be made available. On macOS, there is a default Window > Close menu item, so treat that as a "tabs.close" command to make it bindable. IssueID #121
2020-12-13macOS: Disable page navigation while editing textJaakko Keränen
The Cmd+Left/Right keys used both for page navigation (by default) and for moving the cursor inside text editor. The input widget keys should take precedence.
2020-12-09macOS: Update shortcuts in menu itemsJaakko Keränen
When keybindings are changed the menus will need updating.
2020-11-26macOS: Touch bar buttons in the wrong orderJaakko Keränen
2020-11-23Sidebar: Populate with feed entriesJaakko Keränen
2020-11-14macOS: Disable menu shortcuts while binding keysJaakko Keränen
2020-11-14macOS: Workaround for menu shortcut keysJaakko Keränen
Avoid double-triggering actions because SDL doesn't eat the keydown events — it ignores key equivalents.
2020-09-27macOS: 10.13 should use OpenGL rendererJaakko Keränen
There appears to be a problem with SDL's Metal renderer under 10.13 (segfault on window creation).
2020-09-27macOS: Robust system appearance checkJaakko Keränen
This API does not exist on 10.13, so prepare for an exception.
2020-09-16macOS: Changing sidebar modes via touch barJaakko Keränen
2020-09-16macOS: Added basic touch bar buttonsJaakko Keränen
2020-09-11macOS: Handling launch URLs and drop'n'dropJaakko Keränen
Improved drop and drop event handling: multiple dropped files/URLs open in new tabs. The application registers gemini: as a handled URL scheme.
2020-09-09macOS: Deployment taget is 10.14Jaakko Keränen
2020-08-29Moved macOS sources to parent dirJaakko Keränen