6 Commits

Author SHA1 Message Date
dsward2 d0524048db Replace CocoaHTTPServer with GCDWebServer - https://github.com/swisspol/GCDWebServer 2020-03-24 18:16:14 -05:00
dsward2 f1764538fd This commit updates some third-party source code.
The old CocoaAsyncSocket project was replaced with a built version of CocoaAsyncSocket.framework from the main GitHub repository - https://github.com/robbiehanson/CocoaAsyncSocket/releases/tag/7.6.3

The CocoaLumberjack project was replaced with an updated project acquired with the Swift Package Manager in Xcode at https://github.com/CocoaLumberjack/CocoaLumberjack.  SPM installs the source code in the Xcode DerivedData folder.  The new framework should be built from the CocoaLumberjack.xcworkspace file before building macSVG.
2019-10-29 21:08:28 -05:00
dsward2 ad219ea929 In macSVGDocument, a standard macOS Share button was added. The Share button supports AirDrop, the easiest way to preview the current design on other devices like iPhones, other Macs, etc. The receiving iPhone will launch Safari and load the document from the macSVG HTTP server.
In SVGHttpConnection findFrontmostMacSVGDocument, the code was wrapped in a GCD dispatch_sync call to ensure that [NSApp OrderedDocuments] executes on the main thread.
2019-10-04 04:18:24 -05:00
dsward2 3c1480d679 Implemented a modal application Preferences window in MacSVGAppDelegate. Initially, it contains controls to enable and disable the built-in HTTP server, and to specify a port number for the HTTP server.
The registered default setting for the HTTP server is not enabled, and the default port number is 8080.

Also, harmonized the unitForAttribute: method in some classes.
2016-12-24 18:33:52 -06:00
Evelyn Fecher-Ward f56efa5311 Updated macSVG to modern Objective-C syntax with Xcode tools. Most third-party source code was left unmodified.
A few bugs were fixed for getBbox and updating selection rects and handles during animation.
2016-10-05 02:16:09 -05:00
dsward2 3283d3127e Initial commit of macSVG v0.5 2016-09-15 10:13:52 -05:00