1363 Commits

Author SHA1 Message Date
eef85c57b7 release: version 0.8.2 v0.8.2 2016-08-16 01:11:07 +02:00
d4e9b1e896 Merge pull request #516 from juliandescottes/feature-drag-selection
Feature drag selection
2016-08-16 01:10:18 +02:00
8e3ac50f81 Issue #290: cleanup unused code in SelectionManager 2016-08-16 01:04:55 +02:00
f4cbabe2ce Issue #290: selection tools: clear hasSelection flag when calling commitSelection 2016-08-16 00:40:01 +02:00
69393127fa Issue #290: rename dismissSelection to commitSelection 2016-08-16 00:40:01 +02:00
fc7fc6d9b0 Issue #290: Fix typo in comment 2016-08-16 00:40:01 +02:00
01aa4629cc Issue #290: Commit selection on ENTER 2016-08-16 00:40:01 +02:00
22797e5dc5 Issue #290: add missing parameter to dismissSelection in BaseSelect 2016-08-16 00:40:01 +02:00
0d5dc21a41 Issue #290: change boolean flag name to isMovingContent in BaseSelect 2016-08-16 00:40:01 +02:00
0d1210e71f Issue #290: fix wand cursor hotspot 2016-08-16 00:40:01 +02:00
34f2a9df0b Issue #163: show highlighter pixel for selection tools when no selection 2016-08-16 00:40:01 +02:00
a383e59280 Issue #290: allow to drag selection when using SHIFT while selection 2016-08-16 00:40:01 +02:00
230f1b23fc Merge pull request #518 from epicabsol/icontweaks
Cursor tweaks
2016-08-06 18:45:40 +02:00
77ccd60e77 Renamed lighten cursor
lighting.png -> lighten.png
2016-08-06 09:23:05 -07:00
5014937392 Merge pull request #517 from epicabsol/master
Correct desktop window icon
2016-08-06 13:08:26 +02:00
17e6cf9b38 Dither & stroke cursors
Added dither and stroke cursors. The line on the stroke cursor is quite
hard to see, but I think that's pretty unaviodable. I would suggest
moving to a larger cursor size.
2016-08-05 22:32:24 -07:00
d795c297f5 Lighting cursor, more tweaks
Added an icon for the lighting tool, although it's somewhat difficult to
see what it is without looking closely. I'd love to hear other ideas for
a cursor. (See juliandescottes/piskel#351)
I also reworked the hit point of the existing cursors by a few pixels.
2016-08-05 21:34:46 -07:00
f4bf053564 Reworked circle drawing cursor
Reworked circle drawing cursor to match the style of the rectangle
cursor.
2016-08-05 20:33:18 -07:00
d10c284436 Correct desktop window icon filename
I found the logo at dest/prod/logo.png, while there was no
dest/logo.png. Fixes juliandescottes/piskel#515
2016-08-05 19:06:49 -07:00
fdd4fb5b4e only update zoom for a valid modifier, fix zoom centering bug when using keyboard shortcuts 2016-07-30 00:01:32 +02:00
3e7999cfc5 Merge pull request #385 from smiegrin/master
Introduces zooming towards/away from mouse
2016-07-28 09:39:18 +02:00
f4c860ddfa Consolidates zooming into single function. 2016-07-26 09:28:18 -06:00
2dee5fcad1 Merge pull request #512 from juliandescottes/fix-move-viewport
Fix viewport shaking on touchmove event on mobile/tablet
2016-07-26 12:20:06 +02:00
4895017ebb Fix viewport shaking on touchmove event on mobile/tablet 2016-07-26 12:13:49 +02:00
81b1bca7f5 Merge branch 'master' of https://github.com/juliandescottes/piskel 2016-07-25 14:40:58 -06:00
0b1ec655ae retina: update lasso & shape select icons 2016-07-25 09:32:50 +02:00
144cf4b7de release: set version to 0.9.0-SNAPSHOT 2016-07-24 19:42:46 +02:00
a778cbb787 release: version 0.8.1 v0.8.1 2016-07-24 19:25:15 +02:00
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
ba56a32b88 Issue #502: scroll selected layer into view when redrawing layer list 2016-07-24 19:21:07 +02:00
fc0521784b Merge pull request #509 from juliandescottes/retina-icons
retina icons
2016-07-24 19:19:15 +02:00
a96bc0c72f retina icons 2016-07-24 17:06:47 +02:00
f49a9fd588 chore: update nwjs to 0.15.4 2016-07-23 00:23:07 +02:00
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
89c4044016 Replace 'alt' buttons with 'option' buttons on Macs 2016-07-20 12:35:05 -06:00
782939039d release: set version to 0.9.0-SNAPSHOT 2016-07-10 15:56:50 +02:00
db62daccf9 release: release version 0.8.0 v0.8.0 2016-07-10 14:14:29 +02:00
0bc7f3bc05 dev env: automatically remove fake header from desktop builds 2016-07-10 13:59:11 +02:00
4518f50efa consider layer with opacity=0 as transparent 2016-07-04 00:23:03 +02:00
01a0bcf13c extract dev header to separate template 2016-07-03 15:40:04 +02:00
94a9a1495f chore: update grunt-nw-builder to 2.0.3 (finally fixes osx app issue!) 2016-07-03 00:32:33 +02:00
cd36a57a1a export controller: add synchronized rows input, remove poweroftwo checkbox 2016-07-02 16:49:17 +02:00
b39b3befa1 Merge pull request #487 from code-dot-org/piskel-on-npm
Prepare for npm publishing
2016-06-22 12:08:31 +02:00
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
b1fcc68924 Merge pull request #485 from code-dot-org/import-service
Extract import logic to ImportService
2016-06-17 09:46:32 +01:00
7e112776b6 Use Constants.EMPTY_FUNCTION 2016-06-16 18:13:08 -07:00
efbfeca200 Improved comments 2016-06-16 18:12:13 -07:00
e1cba9f13b Re-adopt ns convention for module definition 2016-06-16 18:09:47 -07:00
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
c49fe4d6a0 Issue #483 - limit zoom to have 10 sprite pixels displayed on screen 2016-06-09 11:05:59 +02:00