Commit graph

20 commits

Author SHA1 Message Date
Ryan McGrath bd82b8f27b
Force-drain NSAutoReleasePool after run completes, feature-gate webview, refactor app module structure to match the rest 2020-03-17 19:11:03 -07:00
Ryan McGrath aacfc81b99
Refactor rest of modules to use local foundation 2020-03-17 18:19:56 -07:00
Ryan McGrath c16dad564e
Wrap Foundation ourselves, because there's some considerations down the road and it's easier to do this now. 2020-03-17 16:55:09 -07:00
Ryan McGrath 66ffd83db0
CloudKit feature gate, move wrapper over to the module 2020-03-16 22:22:15 -07:00
Ryan McGrath 79bb456b93
Place User Notifications behind a feature flag, as the framework technically requires code signing 2020-03-16 22:08:12 -07:00
Ryan McGrath 5884d267c9
Remove unused code in color module 2020-03-15 23:15:20 -07:00
Ryan McGrath 7b5ed88bb1
Further work on finishing up AppController interface 2020-03-15 23:10:43 -07:00
Ryan McGrath f1689d7cf9
Nearing 100% coverage for API. This brings in some necessary cleanup now that we've found the right approach to all of this. 2020-03-15 19:53:09 -07:00
Ryan McGrath 3a89d8e5f5
Patch a few small autolayout bugs - not a huge fan of the clone() in constraints but fine for now 2020-03-12 19:18:16 -07:00
Ryan McGrath 86980d7329
Fixed color math, and ported AutoLayout 2020-03-12 18:18:32 -07:00
Ryan McGrath 3d93b04455
More or less finalized Toolbar support, at least for now 2020-03-12 12:33:41 -07:00
Ryan McGrath db33c382b7
Fix up the NSToolbar wrapper to follow the new paradigm 2020-03-11 19:45:35 -07:00
Ryan McGrath 8a5af12b47
Clean up some pointer shuffling stuff 2020-03-11 18:38:33 -07:00
Ryan McGrath f49eff24f9
Devised a better (safer) way to handle UI/Controller/Delegate setup 2020-03-11 17:56:17 -07:00
Ryan McGrath 80ba209413
Ongoing efforts, experimenting with stack/heap issues (ObjC/NSObject/AppKit are... mostly heap already), further work on Pasteboard support 2020-03-10 20:09:24 -07:00
Ryan McGrath d68cbdc450
Rename this folder because I need my tab-completes to not piss me off 2020-03-09 17:00:38 -07:00
Ryan McGrath 6c12a8fa29
General cleanup, implementing an NSPasteboard wrapper, support for setting background colors on views 2020-03-06 19:35:18 -08:00
Ryan McGrath 0446227a8d
Ongoing changes for the core.
- Implemented basic support for `NSPasteBoardType` and drag/drop events.
  Not complete, but close.
- `geometry.rs` implements a basic `Rect`, with some conversion logic
  for `NSRect`. Nothing special.
- Changes to `Window` to remove some of the forced delegate pattern.
  Autosave name is now just another setter.
- `WebView` no longer has a backing `View` by default, so implementors
  need to handle that on their own.
- Beginning to wrap `NSFileManager`, which is kind of important given
  that this supports both Sandboxed and non-Sandboxed apps.
- Documentation work ongoing.
2020-03-04 18:33:11 -08:00
Ryan McGrath 5cd3a53681
Warnings/imports/unused code cleanup, rework some enums that seemed a bit wonky in hindsight, set WKWebView download delegate pieces as a feature flag since it's technically a private API 2020-02-29 15:34:07 -08:00
Ryan McGrath 963015b37a
Initial commit 2020-02-27 18:34:34 -08:00