| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-01-28 | Integrate py2appintegrate-py2app--rb3 | Teddy Wing | |
| Purpose: -------- This change switches the packaging tool on Mac from PyInstaller to Py2app in order to take advantage of Py2app's support for ARGV emulation. This allows us to open files by dragging them onto the application. With Adrien's change ac63e80c57b37527f331b209f88d583deeeabcd3, dragging files onto the application will open files even if the application is already launched. To Build: --------- Run $ sh Lib/build.sh This is the same as: $ python setup.py py2app Only use py2app if we run the setup file on a Mac. We also have some pre- and post-build instructions that need to be run, and these are only executed when on a Mac and the `py2app` argument is passed to `setup.py` (so they don't get mistakenly run on `python setup.py install`). If the build script is run on a non-Mac platform, PyInstaller will be used to build the application bundle as before. Additional Information ---------------------- * setup.py: Uncommented the `sys` import as I needed it to determine the current platform and whether we're running `py2app`. * Globs are used in the Qt framework paths to allow developers/packagers to use different versions of Qt5. I did this because I'm running OS X 10.8 and couldn't get Qt 5.5 to build on my machine, so I'm using homebrew/versions/qt52. Homebrew is assumed. * The `libqsvgicon.dylib` dylib must be added manually or our glyph view toolbar icons don't get rendered. * The `libqcocoa.dylib` library must be added or we get this error when trying to start the application: This application failed to start because it could not find or load the Qt platform plugin "cocoa". Reinstalling the application may fix this problem. Abort trap: 6 * We supply a `qt.conf` file to specify the location of the Qt plugins directory. This allows us to specify where to find the dylibs we manually copied into the application bundle. Info.plist ---------- The Info.plist file generated for the application bundle has been extended and modified. * `NSHighResolutionCapable=YES` was kept * `LSBackgroundOnly=NO` was removed because not setting it turns it off by default * Include the `CFBundleIdentifier` copied from `TruFont.spec` * Set `NSHumanReadableCopyright` to empty string. Otherwise by default Py2app will insert this key for you whether you like it or not with the value "Copyright not specified". * Add the `CFBundleDocumentTypes` key to declare TruFont as an app capable of opening *.ufo files. This allows us to select TruFont as the default app to open one or all files of this type using the "Open with…" functionality throughout OS X. Known Issues ------------ * The button borders in the glyph view toolbar are wrong. They're square when they should be invisible with gradiented backgrounds. Not sure how to correct this. * This application bundle is about 20 Mb larger than the previous one generated by PyInstaller. Not sure what's going on there. | |||
| 2016-01-28 | defcon: upgrade saving method | Adrien Tétar | |
| 2016-01-27 | meta: minor fixes throughout | Adrien Tétar | |
| 2016-01-24 | fontView: check for required attrs before exporting | Adrien Tétar | |
| 2016-01-24 | Revert "glyphView: print more errors on assertion failure" | Adrien Tétar | |
| This reverts commit d6fea8bf440d46054f0489fc023e0207b4d1f9f5. | |||
| 2016-01-24 | fontView: more glyphList | Adrien Tétar | |
| 2016-01-24 | fontView: bring glyphList loading into the app, harden | Adrien Tétar | |
| 2016-01-24 | fontView: improved error reporting | Adrien Tétar | |
| 2016-01-23 | featureTextEditor: more drag and drop | Adrien Tétar | |
| 2016-01-23 | featureTextEditor: drag/drop fea files only | Adrien Tétar | |
| 2016-01-21 | __main__: cleanup unused imports | Adrien Tétar | |
| 2016-01-21 | selectionTool: allow anchor rename | Adrien Tétar | |
| 2016-01-21 | fontView: refactor spawning mechanism | Adrien Tétar | |
| now app-centric | |||
| 2016-01-21 | FilterSelectionFactory: fix open-contour issue | Adrien Tétar | |
| 2016-01-21 | ColorVignette: polish painting | Adrien Tétar | |
| 2016-01-17 | uiMethods: fix removal derp | Adrien Tétar | |
| 2016-01-17 | uiMethods: remove trailing offCurve in open contour | Adrien Tétar | |
| 2016-01-17 | drawing: fix a few things | Adrien Tétar | |
| 2016-01-17 | tools: change switching logic, add shortcuts | Adrien Tétar | |
| * block change of tool inside a mouse event chain (mousePress -> [mouseMove] -> mouseRelease) and block * add toolDisabled() * add tools shortcuts (numbers) | |||
| 2016-01-12 | fontView: use ufo2ft, add repr. | Adrien Tétar | |
| 2016-01-11 | metricsWindow: fix update sync | Adrien Tétar | |
| 2016-01-10 | selectionTool: impl. onCurve sliding w. Alt | Adrien Tétar | |
| 2016-01-10 | bezierMath: refactor and split projection/distance | Adrien Tétar | |
| 2016-01-09 | fontView: recover from invalid fonts | Adrien Tétar | |
| 2016-01-09 | drawing: draw lines with FP precision | Adrien Tétar | |
| 2016-01-09 | representationFactories: remove the old StartPoints factory | Adrien Tétar | |
| 2016-01-09 | drawing: show selected anchors | Adrien Tétar | |
| 2016-01-09 | selectionTool: allow Shift constraint of offCurves | Adrien Tétar | |
| 2016-01-09 | app: reform entry points | Adrien Tétar | |
| 2016-01-07 | glyphViewFactory: drop robofab calls | Adrien Tétar | |
| 2016-01-04 | scriptingWindow: define qApp var to append to ev.loop | Adrien Tétar | |
| 2016-01-04 | colorWidgets: add a TODO | Adrien Tétar | |
| 2016-01-02 | PyInstaller isn't needed to run the program | Adrien Tétar | |
| 2015-12-26 | baseTool: exclude components in magnetPos | Adrien Tétar | |
| 2015-12-26 | glyphView: add fitScaleBBox | Adrien Tétar | |
| 2015-12-26 | drawing: small vMetrics tweaks | Adrien Tétar | |
| 2015-12-25 | codeEditor: better quotation regex | Adrien Tétar | |
| 2015-12-25 | README: badge | Adrien Tétar | |
| 2015-12-25 | glyphView: don't use bounds for size-hint, so to have scrollbars stability | Adrien Tétar | |
| we use a fixed offset instead | |||
| 2015-12-25 | tools: updates | Adrien Tétar | |
| 2015-12-25 | ComponentQPainterPathFactory: use the components pen | Adrien Tétar | |
| 2015-12-22 | glyphView: enable layer actions selectively | Adrien Tétar | |
| 2015-12-22 | codeEditor: fix some textCursor bookkeeping issue | Adrien Tétar | |
| 2015-12-21 | fontView: expand edit actions | Adrien Tétar | |
| 2015-12-21 | glyphView: prepareUndo() before paste | Adrien Tétar | |
| 2015-12-21 | glyphView: print more errors on assertion failure | Adrien Tétar | |
| 2015-12-20 | ComponentQPainterPathFactory: handle nested components | Adrien Tétar | |
| 2015-12-20 | penTool: don't freeze when clicking on non-point | Adrien Tétar | |
| 2015-12-20 | meta: some fixups | Adrien Tétar | |
| 2015-12-18 | Merge pull request #150 from trufont/glyphView_ng | Adrien Tétar | |
| glyphView_ng | |||
