Commit graph

32 commits

Author SHA1 Message Date
Ryan McGrath 6b8aad4a94
Fix up the repo so examples work as they should 2020-03-26 18:06:11 -07:00
Ryan McGrath d512b7bcf5
Bring back dependency on core-graphics because, well, I'm apparently a moron. Further sketching out of WindowDelegate. 2020-03-26 17:31:42 -07:00
Ryan McGrath b0232ca225
Window movement delegate callback support 2020-03-25 19:57:47 -07:00
Ryan McGrath 34b02b28b5
On dropping a View, which is the originating View, we check to see if there's a superview and remove it if so 2020-03-24 21:42:07 -07:00
Ryan McGrath d7c367e7e9
Experimenting with Drop logic - will extend to View/etc if it works fine with Window. I... think it will. 2020-03-23 21:16:13 -07:00
Ryan McGrath 8910a88a93
Fix up the WebView implementation so that Subatomic compiles on the latest appkit codebase. Undo an experimental NSString wrapper type that caused problems. Docs forthcoming. 2020-03-21 16:46:35 -07:00
Ryan McGrath e4f96b4ab5
Working on getting WKWebView working again - close 2020-03-20 18:37:00 -07:00
Ryan McGrath c1da7b1b37
Clean up warnings, finish moving View/ViewController to new paradigm, general cleanup - need to rewrite docs 2020-03-20 15:03:19 -07:00
Ryan McGrath fc53848ba2
Add in an autolayout example 2020-03-20 14:02:46 -07:00
Ryan McGrath e50bb25e9f
More work on Application methods 2020-03-20 13:12:01 -07:00
Ryan McGrath f45c86743b
Moving to a model where ther are actual examples, since the handler logic is finally ironed out well. 2020-03-19 20:07:44 -07:00
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 dd88beeb10
.gitignore lol 2020-02-27 18:34:59 -08:00
Ryan McGrath 963015b37a
Initial commit 2020-02-27 18:34:34 -08:00