Commit Graph

1334 Commits

Author SHA1 Message Date
juliandescottes
0b1ec655ae retina: update lasso & shape select icons 2016-07-25 09:32:50 +02:00
juliandescottes
144cf4b7de release: set version to 0.9.0-SNAPSHOT 2016-07-24 19:42:46 +02:00
juliandescottes
a778cbb787 release: version 0.8.1 2016-07-24 19:25:15 +02:00
Julian Descottes
94b781a2e5 Merge pull request #510 from juliandescottes/scroll-selected-layer
Issue #502: scroll selected layer into view when redrawing layer list
2016-07-24 19:22:17 +02:00
juliandescottes
ba56a32b88 Issue #502: scroll selected layer into view when redrawing layer list 2016-07-24 19:21:07 +02:00
Julian Descottes
fc0521784b Merge pull request #509 from juliandescottes/retina-icons
retina icons
2016-07-24 19:19:15 +02:00
juliandescottes
a96bc0c72f retina icons 2016-07-24 17:06:47 +02:00
juliandescottes
f49a9fd588 chore: update nwjs to 0.15.4 2016-07-23 00:23:07 +02:00
Julian Descottes
872afd17f7 Merge pull request #508 from leereilly/alt-option-button-osx
Replace 'alt' buttons with 'option' buttons on Macs?
2016-07-22 13:55:28 +02:00
Lee Reilly
89c4044016 Replace 'alt' buttons with 'option' buttons on Macs 2016-07-20 12:35:05 -06:00
juliandescottes
782939039d release: set version to 0.9.0-SNAPSHOT 2016-07-10 15:56:50 +02:00
juliandescottes
db62daccf9 release: release version 0.8.0 2016-07-10 14:14:29 +02:00
juliandescottes
0bc7f3bc05 dev env: automatically remove fake header from desktop builds 2016-07-10 13:59:11 +02:00
Julian Descottes
4518f50efa consider layer with opacity=0 as transparent 2016-07-04 00:23:03 +02:00
Julian Descottes
01a0bcf13c extract dev header to separate template 2016-07-03 15:40:04 +02:00
Julian Descottes
94a9a1495f chore: update grunt-nw-builder to 2.0.3 (finally fixes osx app issue!) 2016-07-03 00:32:33 +02:00
Julian Descottes
cd36a57a1a export controller: add synchronized rows input, remove poweroftwo checkbox 2016-07-02 16:49:17 +02:00
Julian Descottes
b39b3befa1 Merge pull request #487 from code-dot-org/piskel-on-npm
Prepare for npm publishing
2016-06-22 12:08:31 +02:00
Brad Buchanan
93055f4b4a Prepare for npm publishing
Introduces some small package changes that simplify publishing Piskel to NPM as a ready-to-use application.

Since Piskel is not simply a JavaScript "module" (not something one would 'require' into another application) its role as a package on npm is somewhat unconventional - it contains the release build of Piskel, ready to serve as a static website, and a small `piskel-root` utility that will print the absolute path to that content (which will have been installed who-knows-where by npm).

Mostly this works by adding the "files" and "bin" entries to package.json, and by adding an .npmignore file (which simply prevents npm from using your .gitignore and ignoring the built files that we want to ship).

With these settings in place you could publish to npm anytime (as long as you have permission) but I've added `preversion` and `postversion` scripts to simplify and automate the process.  Here's how you publish a release:

```
npm login # If not already logged in
npm version [major|minor|patch|<other>] # see `npm help version` for more options
```

By itself this will lint, run the full test suite, do a release build, make sure the working directory is clean, bump the version number in package.json, commit the version number change and add a git tag with the new version, push the new version to GitHub and publish the release build output to npm.

If you don't have an npm account, create one at npmjs.com.  You'll need to do the initial release.

An npm user should then be able to download the latest Piskel release by running `npm install piskel`.  They could then find the location of Piskel's index.html by running `` `npm bin`/piskel-root `` (perhaps more useful for automation purposes... our own build copies the built Piskel release from its npm-installed location to a directory where it gets served by Rails).

By itself this may not seem _that_ useful, but it's a step toward making Piskel easier to embed with other appilications.  I've got a start on the next big improvement, where a parent application can `require('piskel')` to get an API object that facilitates communication with the editor running within an iframe.  You can see an early version of that at https://github.com/code-dot-org/piskel/pull/7
2016-06-17 17:07:03 -07:00
Julian Descottes
b1fcc68924 Merge pull request #485 from code-dot-org/import-service
Extract import logic to ImportService
2016-06-17 09:46:32 +01:00
Brad Buchanan
7e112776b6 Use Constants.EMPTY_FUNCTION 2016-06-16 18:13:08 -07:00
Brad Buchanan
efbfeca200 Improved comments 2016-06-16 18:12:13 -07:00
Brad Buchanan
e1cba9f13b Re-adopt ns convention for module definition 2016-06-16 18:09:47 -07:00
Brad Buchanan
e37d93f7f9 Extract import logic to ImportService
Isolates import dialog logic from actual import logic, which makes headless import eaiser to implement.
2016-06-14 18:12:25 -07:00
Julian Descottes
c49fe4d6a0 Issue #483 - limit zoom to have 10 sprite pixels displayed on screen 2016-06-09 11:05:59 +02:00
Julian Descottes
c0f0445544 Fix Transform tool CMD modifier on OSX 2016-06-05 00:25:41 +02:00
Julian Descottes
014a1d418f Merge pull request #482 from juliandescottes/feature-tiled-drawing
Feature tiled drawing
2016-06-04 17:07:28 +02:00
Julian Descottes
4b8e5ace07 Issue #470: remove references to tiled-preview, rename preferences 2016-06-04 17:03:34 +02:00
Julian Descottes
5533664900 Issue #470: move the seamless overlay color to Constants.js 2016-06-04 16:58:49 +02:00
Julian Descottes
21b2261a9d Feature #470: update application settings layout 2016-06-04 16:50:58 +02:00
juliandescottes
f2ff3bc74e Feature #470: Tiled drawing improvements 2016-06-04 16:50:58 +02:00
Julian Descottes
51da3ec80d Merge pull request #481 from juliandescottes/chore-update-package-fields
chore: Update package.json fields
2016-06-04 10:59:14 +02:00
Julian Descottes
92ab0602ee chore: Update package.json fields 2016-06-04 10:54:21 +02:00
Julian Descottes
7777be2226 Merge pull request #478 from code-dot-org/fix-peerDependencies
Downgrade grunt to ^0.4.5
2016-06-04 10:31:06 +02:00
Brad Buchanan
30e3b4dd09 Downgrade grunt to ^0.4.5
This eliminates the peerDependencies complaints on `npm install` from
the various grunt plugins being used.  I looked at upgrading the
plugins but several still have no official support for grunt 1+.
2016-06-03 12:21:21 -07:00
Julian Descottes
3d0d82b5f7 Merge pull request #474 from juliandescottes/feature-spritesheet-options
Add FramesheetRenderer unit test
2016-05-29 22:31:01 +02:00
Julian Descottes
e6c8c59e81 Add FramesheetRenderer unit test 2016-05-29 22:30:09 +02:00
Julian Descottes
20fd196321 Merge pull request #473 from juliandescottes/feature-spritesheet-options
Feature spritesheet options
2016-05-29 11:54:28 +02:00
Julian Descottes
058b6fa333 Issue #293: add FramesheetRenderer unit tests 2016-05-29 11:47:57 +02:00
Julian Descottes
c8fa83462a Issue #293: remove unused user settings 2016-05-29 11:19:54 +02:00
Julian Descottes
fae04f3616 Issue #293: use input type number and fix linting issues 2016-05-29 11:06:45 +02:00
Julian Descottes
169ce21556 Issue #293: Add spritesheet layout options in PNG export tab 2016-05-29 10:45:19 +02:00
Julian Descottes
5a0d5da5f4 Merge pull request #472 from juliandescottes/export-tabs
Fix #446: Split export panel in tabs
2016-05-23 23:30:07 +02:00
Julian Descottes
2f295825f2 Issue #446: store selected export tab in user preferences 2016-05-23 22:51:48 +02:00
Julian Descottes
c63c764060 Issue #446: Improve export panels style consistency 2016-05-23 22:29:20 +02:00
Julian Descottes
ba8964a2af Issue #446: Cleanup gif export panel 2016-05-23 00:40:23 +02:00
Julian Descottes
f66c2578ab Issue #446: Add export tabs, move zoom controls 2016-05-22 23:37:28 +02:00
Julian Descottes
32e701aa55 Move ImageExportController to ExportController and Fix line height for toolbox titles 2016-05-22 15:49:39 +02:00
Julian Descottes
e272fbe32f Merge pull request #471 from juliandescottes/GMartigny-issue_#447_dirty_state_on_replace
G martigny issue #447 dirty state on replace
2016-05-22 15:09:57 +02:00
Julian Descottes
aa9c1659fc Issue #447: apply review comments 2016-05-22 15:05:22 +02:00