Jürg Lehni
|
7dbf6ceaff
|
Move Project#options to PaperScope#settings and define reasonable defaults.
|
2014-03-04 09:29:28 +01:00 |
|
Jürg Lehni
|
dad17ba28e
|
Minor clean-up in the way Base.exports are handled.
|
2014-03-03 22:53:00 +01:00 |
|
Jürg Lehni
|
2c16bd9eb1
|
Convert to standard paper.js loop format.
|
2014-02-26 01:24:00 +01:00 |
|
patrickheeney
|
aa2102ecb9
|
Fix event handlers for paperjs/paper.js#409
|
2014-02-25 13:02:53 -07:00 |
|
Jürg Lehni
|
4a95f6e4a6
|
Some more optimizations for JS minifier and V8.
|
2014-01-05 21:07:11 +01:00 |
|
Jürg Lehni
|
51eff78919
|
Minor PaperScript clean-ups.
|
2014-01-05 20:53:18 +01:00 |
|
Jürg Lehni
|
7291956155
|
Prevent unnecessary beans from being created.
|
2014-01-05 20:42:28 +01:00 |
|
Jürg Lehni
|
dd37704f2c
|
Use the same filtering for UpdateExpression and AssignmentExpression.
|
2014-01-05 20:23:11 +01:00 |
|
Jürg Lehni
|
cd7604952c
|
Filter out loop statements in operator overloading code, to optimize loop execution speed.
|
2014-01-05 20:15:57 +01:00 |
|
Jürg Lehni
|
132f6df6c8
|
Prevent overriding of global variables with undefined values during development.
|
2014-01-05 18:57:36 +01:00 |
|
Jürg Lehni
|
73f857170d
|
Remove unused arguments._read value and rename _index to __index.
|
2014-01-05 18:34:08 +01:00 |
|
Jürg Lehni
|
706fe2c77d
|
Rearrange Base.read argument sequence.
options are used more often than length.
|
2014-01-05 18:31:24 +01:00 |
|
Jürg Lehni
|
ea63d4c288
|
Merge branch 'refs/heads/master' into v8-optimizations
Conflicts:
src/core/Base.js
src/style/Color.js
|
2014-01-05 05:01:13 +01:00 |
|
Jürg Lehni
|
22e62a0527
|
Only expose globals if they are in use in the PaperScript code.
|
2014-01-04 22:22:19 +01:00 |
|
Jürg Lehni
|
227d511fc0
|
Only include the global handlers in the return statement that actually seem to be defined.
|
2014-01-04 22:10:16 +01:00 |
|
Jürg Lehni
|
4302682c1c
|
Implement a better way of handling exceptions in PaperScript on Firefox and Chrome.
Use dynamically inserted script tag rather than compiled function since Firefox reports correct line numbers there.
|
2014-01-04 21:57:29 +01:00 |
|
Jürg Lehni
|
42bed58624
|
Fix scoping issues in PaperScript code.
|
2014-01-04 19:01:17 +01:00 |
|
Jürg Lehni
|
0dddd897ab
|
Remove internal clamping of color values to facilitate proper mathematical calculations with colors.
Clamp only when producing CSS values. Closes #271.
|
2014-01-04 18:16:52 +01:00 |
|
Jürg Lehni
|
e22fa3a664
|
Update copyright notice.
|
2014-01-04 01:47:16 +01:00 |
|
Jürg Lehni
|
4594b66fd6
|
Fix comments.
|
2014-01-03 19:45:00 +01:00 |
|
Jürg Lehni
|
de939ab939
|
Clean up code and comments.
|
2014-01-03 18:31:07 +01:00 |
|
Jürg Lehni
|
57f1763abe
|
Merge branch 'refs/heads/paperscript-refactoring'
Conflicts:
src/core/PaperScope.js
|
2014-01-03 12:34:07 +01:00 |
|
Jürg Lehni
|
c197f531a4
|
Implement options.asString for Item#exportJSON()
|
2013-12-30 23:34:19 +01:00 |
|
Jürg Lehni
|
f97056e4b7
|
Change the way PaperScripts are executed in Node.js
Requiring a PaperScript returns an initialize method which receives the Canvas argument.
|
2013-12-29 16:36:23 +01:00 |
|
Jürg Lehni
|
35890383d8
|
Merge branch 'refs/heads/paperscript-refactoring' into v8-optimizations
|
2013-12-29 15:54:54 +01:00 |
|
Jürg Lehni
|
8395541298
|
Clean up docs and fix spelling mistakes.
|
2013-12-29 15:44:26 +01:00 |
|
Jürg Lehni
|
976b24b34c
|
Execute PaperScript using new Function() rather than eval() and with() {}
This results in some impressive speeding improvements, as modern JS engines are finally able to optimize the resulting code.
|
2013-12-29 15:32:23 +01:00 |
|
Jürg Lehni
|
5f466bbc7e
|
Move documentation for PaperScope#tools to the right place.
|
2013-12-28 22:48:50 +01:00 |
|
Jürg Lehni
|
3dbad9c477
|
Replace delete in favor of setting to undefined to prevent V8 deoptimization.
|
2013-12-17 23:27:48 +01:00 |
|
Jürg Lehni
|
a59a42376a
|
Clean up coding style a bit.
|
2013-12-16 21:40:40 +01:00 |
|
Jürg Lehni
|
25d8b1f0d2
|
Clean up code and comments in various places.
|
2013-12-11 17:10:09 +01:00 |
|
Jürg Lehni
|
24ce35cc6e
|
Make sure items removed from DOM remove all their events and reinstall them again when reinserted.
Closes #254.
|
2013-12-08 20:40:30 +01:00 |
|
Jürg Lehni
|
6e5d8939d5
|
Rename View#draw() -> View#update() and remove checkRedraw argument.
We always check for changes, since change propagation should work reliably.
|
2013-12-08 19:15:58 +01:00 |
|
Jürg Lehni
|
2cfa329fa6
|
Completely rework event handling on view and tools.
Fixes multiple issues on iOS:
- mousedown events were sometimes fired twice.,
- the presence of mousedown handlers broke scrolling.
Closes #266.
|
2013-12-06 21:49:44 +01:00 |
|
Jürg Lehni
|
41fa3b24e7
|
Only allow the installation of one onEventType handler at a time.
For more, use #attach() / #detach()
|
2013-12-06 14:04:03 +01:00 |
|
Jürg Lehni
|
1e57031811
|
Do not set insert: false for the root of the imported JSON.
|
2013-12-06 03:16:06 +01:00 |
|
Jürg Lehni
|
ee7fd8cdbe
|
Use double underscores to avoid clashes between math operators and 'private' methods.
Path already defines a #_add() method...
|
2013-12-05 21:11:12 +01:00 |
|
Jürg Lehni
|
88a4c64172
|
No need for generics in Base.
|
2013-12-02 14:42:27 +01:00 |
|
Jürg Lehni
|
93d10983ee
|
Update to latest Prepro.js and switch from global options object to __options, to avoid name clashes.
|
2013-11-29 20:26:38 +01:00 |
|
Jürg Lehni
|
aec19b9494
|
Make directly setting view.onFrame work again.
|
2013-11-29 20:03:52 +01:00 |
|
Jürg Lehni
|
79caf66a23
|
Update to latest Straps.js and remove unnecessary isArray argument in Base.each()
|
2013-11-29 19:53:48 +01:00 |
|
Jürg Lehni
|
5f7dbfb1ab
|
Fix issue with JSON import.
|
2013-11-29 12:18:55 +01:00 |
|
Jürg Lehni
|
593e0d8d7f
|
Remove Base.merge() and use a new Straps.js feature instead.
A more clever Base() constructor that allows merging.
|
2013-11-28 22:20:00 +01:00 |
|
Jürg Lehni
|
57227b9ff6
|
Fix newly introduce bug in Callback#fire()
|
2013-11-28 15:48:28 +01:00 |
|
Jürg Lehni
|
ed8de613c4
|
Improve error handling of PaperScripts on Firefox.
|
2013-11-27 19:07:02 +01:00 |
|
Jürg Lehni
|
ff538870e0
|
Fix error lineNumbers in PaperScript code for Firefox and Chrome.
|
2013-11-27 16:41:39 +01:00 |
|
Jürg Lehni
|
e87bf817de
|
Do not use Base.each() loops where it's not necessary.
|
2013-11-27 16:02:24 +01:00 |
|
Jürg Lehni
|
ca3993fe8e
|
Solve variable scoping issue differently by using Base.each() to provide a local closure scope.
|
2013-11-26 23:46:53 +01:00 |
|
Jürg Lehni
|
c18a5e6ffb
|
Remove Node.js specific bug-fix by msand again, since code won't be executed on Node anymore.
|
2013-11-26 23:41:24 +01:00 |
|
Jürg Lehni
|
f224bb3e86
|
Merge github.com:msand/paper.js into msand-master
|
2013-11-26 23:38:40 +01:00 |
|