Jürg Lehni
f803afa4b6
Exclude dist/ folder.
...
- We now build on NPM publish through Gulp.
- We offer prebuilt versions on the prebuilt/module and prebuilt/dist branches.
2016-01-31 13:04:23 +01:00
Jürg Lehni
834d2303a6
Travis CI: Implement automatic deployment of prebuilt versions on each commit, and caching of assets and NVM.
...
Builds are deployed to prebuilt/dist an prebuilt/module branches.
2016-01-31 12:43:38 +01:00
Jürg Lehni
90e1cf8f5e
Canvas: Throw an error if a canvas cannot provide a 2D context.
2016-01-31 12:43:38 +01:00
Jürg Lehni
8c60931200
Tests: Update to gulp-qunits 2.0.1
2016-01-31 12:43:38 +01:00
Jürg Lehni
e232ebc443
Examples: Move away from using a symlink to be able to require('paper') from within examples.
...
- Node 5 / NPM 3 struggles with it
- It never worked on Windows
2016-01-31 12:43:38 +01:00
Jürg Lehni
e4ece39603
Gulp: Use gulp jshhint
instead of npm run lint
.
2016-01-31 12:43:38 +01:00
Jürg Lehni
f2a132f498
Tests: Don't use noGlobas in Node.js QUnit tests for now.
...
As it simply doesn't work yet.
2016-01-31 12:43:38 +01:00
Jürg Lehni
aa192d8388
Travis CI: More work at getting the right fonts installed for the tests to pass.
2016-01-31 12:43:38 +01:00
Jürg Lehni
567f286774
Tests: Switch to our own gulp-qunits module.
...
Since it handles PhantomJS as well as Node.js execution, and formats errors identically and quickly.
2016-01-31 12:43:38 +01:00
Jürg Lehni
e02e9f4643
Node: Improve DOMParser#parseFromString() polyfill for Node.js
...
And no need to move imported SVG nodes into document, since we don't have styling in Node.js
2016-01-31 12:43:38 +01:00
Jürg Lehni
662b974104
Tests: gulp test
now performs both browser and nod based tests.
2016-01-31 12:43:38 +01:00
Jürg Lehni
e0429f44df
Tests: Improve QUnit test logging and various cleanup on helpers.
2016-01-31 12:43:38 +01:00
Jürg Lehni
f7053689bc
Travis CI: Activate test:node task again.
2016-01-31 12:43:38 +01:00
Jürg Lehni
c22911f43b
Travis CI: Try installing msttcorefonts to solve the font-size issue in tests.
2016-01-31 12:43:32 +01:00
Jürg Lehni
1c1ff8c808
Travis CI: Try to fix failing test on Travis by specifying font.
2016-01-31 12:43:26 +01:00
Jürg Lehni
639bf07a47
Tests: Clean up Emitter tests.
2016-01-31 12:43:20 +01:00
Jürg Lehni
4c84c3dad5
Tests: Start getting QUnit tests to work on Node.js
...
Work in progress…
2016-01-31 12:43:20 +01:00
Jürg Lehni
0c1b4376d3
Core: Fix issue with RegExp detection if object is from another context.
2016-01-31 12:43:03 +01:00
Jürg Lehni
fadef949ff
Node: Fix display of percentage in Node.js frames export.
2016-01-31 12:42:53 +01:00
Jürg Lehni
0455d39e33
Automatically determine correct padding for numbers in View#exportFrames()
2016-01-27 13:38:04 +01:00
Jürg Lehni
85d60e199e
Get View#exportFrames() to work again on Node.js
2016-01-27 13:27:11 +01:00
Jürg Lehni
e7c4e3c990
Implement View#autoUpdate to control automatic updates.
...
Closes #921
2016-01-27 13:10:04 +01:00
Jürg Lehni
b56d18d6a4
Override DomEvent.requestAnimationFrame() in Node.js to avoid setInterval() timers
2016-01-27 13:02:50 +01:00
Jürg Lehni
414742459d
Make sure PDF support actually works.
2016-01-27 12:51:26 +01:00
Jürg Lehni
1e649362bd
Fix issue in View#exportImage()
2016-01-27 12:51:02 +01:00
Jürg Lehni
b40ff49523
Add explanation about View#_itemEvents.native.
2016-01-27 12:17:38 +01:00
Jürg Lehni
5fa0810ca3
Streamline View#_countItemEvent() code a bit.
2016-01-27 12:15:00 +01:00
Jürg Lehni
0cfa83fc32
Make item-level mousedrag events work again.
2016-01-27 12:11:59 +01:00
Jürg Lehni
d72db14c1f
Switch to the paperjs.org version of rhill-voronoi-core.js
2016-01-27 11:56:26 +01:00
Jürg Lehni
d22104985d
Fix spelling mistake.
2016-01-27 11:51:54 +01:00
Jürg Lehni
1888e7d64f
Remove mention of paper-node.js from README.
2016-01-27 11:49:17 +01:00
Jürg Lehni
810428569a
Some jshint related fixes.
2016-01-27 11:45:20 +01:00
Jürg Lehni
d92628a432
Make click and doubleclick events work on View.
2016-01-27 11:38:45 +01:00
Jürg Lehni
3276616f53
Introduce Item._itemHandlers to remove code redundancy.
2016-01-27 11:38:14 +01:00
Jürg Lehni
ed8a904b74
Some Curve._evaluateMethods related cleanup.
2016-01-27 11:37:12 +01:00
Jürg Lehni
849688833e
Implement key events on View.
...
Closes #896
2016-01-27 11:36:39 +01:00
Jürg Lehni
0b991cefdd
Only mark an image as loaded if it actually has src set and is complete.
2016-01-27 10:45:39 +01:00
Jürg Lehni
8391543115
Further improve Raster documentation.
2016-01-27 10:39:03 +01:00
Jürg Lehni
9cf912090c
Implement Raster#_setImage() that doesn't trigger events.
...
For internal use / updates.
2016-01-27 10:33:01 +01:00
Jürg Lehni
26a64415a5
Document Raster#onLoad() and #onError()
2016-01-27 10:32:28 +01:00
Jürg Lehni
c5632d8a6a
Improve documentation for event handlers on View and Item.
2016-01-27 10:27:14 +01:00
Jürg Lehni
52017340d2
Do not fire two subsequent mousedown events.
...
This should fix #922 , but needs testing.
2016-01-27 09:53:09 +01:00
Jürg Lehni
caa93a51ca
Improve handling of removeOn*() and filter out duplicate move events.
...
Closes #913
2016-01-27 09:48:20 +01:00
Jürg Lehni
ee4760afc4
Fix issue with zoomed retina canvases when repeatetly initializing same view canvas.
2016-01-27 09:38:57 +01:00
Jürg Lehni
e722be5b62
Add support for PDF canvas on Node.js again.
2016-01-27 09:34:37 +01:00
Jürg Lehni
86f6d8eccd
Fix crash in unit tests.
2016-01-26 23:27:38 +01:00
Jürg Lehni
4af8999135
Clean up View#_handleFrame()
2016-01-26 22:35:46 +01:00
Jürg Lehni
b71ffdbe71
Remove all direct calls to view.update() and favor of the new view.requestUpdate()
...
Pure window.requestAnimationFrame() smoothness, automatic updates even when working directly from JavaScript, and no more slow-downs from onLoad events!
Closes #830 , #925
2016-01-26 21:37:27 +01:00
Jürg Lehni
9ad63a7231
Merge branch 'unified-version' into develop
2016-01-26 21:06:54 +01:00
Jürg Lehni
5e69de3bd1
Restructure event handling on Raster item.
...
- Trigger #onLoad() events from Raster#setImage() also
- Add support for Raster#onError() handler
Closes #849 and #924
2016-01-26 21:06:36 +01:00