Jürg Lehni
|
878be7962e
|
Merge branch 'refs/heads/master' into solve-cubic
Conflicts:
src/path/Curve.js
src/path/PathItem.Boolean.js
src/util/Numerical.js
|
2015-01-02 15:33:23 +01:00 |
|
Jürg Lehni
|
c5b317600a
|
Support comparing colors with string values in Color#equals().
|
2014-04-27 11:16:22 +02:00 |
|
Jürg Lehni
|
6af797bbad
|
Optimize handling of property object in Item constructor.
Only check for values if it is a plain object, and avoid inserting into DOM twice if parent is specified.
|
2014-04-13 18:12:19 +02:00 |
|
Jürg Lehni
|
dafdd0ae28
|
Avoid double-insertion of root layer when importing JSON directly into it.
|
2014-04-13 16:44:00 +02:00 |
|
Jürg Lehni
|
d12607dd44
|
Use a Base object for PaperScope#settings and update straps.js to version that offers Base#set().
|
2014-04-11 13:32:06 +02:00 |
|
Jürg Lehni
|
64aaabbc2e
|
Export PaperScope reference into PaperScript as well, so the global paper always points to the current scope.
|
2014-04-07 11:53:32 +02:00 |
|
Jürg Lehni
|
f002c633a7
|
Remove trailing white spaces and ensure newlines at the end.
|
2014-04-06 13:48:03 +02:00 |
|
Jürg Lehni
|
4d52867b4a
|
Fix spelling mistakes and white-spaces.
|
2014-04-02 20:52:13 +02:00 |
|
Jürg Lehni
|
0aa73d90c5
|
Change the way context dependent font sizes are handled by delegating handling to view.
Closes #425
|
2014-03-17 16:41:57 +01:00 |
|
Jürg Lehni
|
3c257dcae0
|
Merge branch 'refs/heads/master' into apply-matrix
|
2014-03-13 00:54:05 +01:00 |
|
Jürg Lehni
|
56335ae5f5
|
Implement SVG-style #arcTo() version.
This should fix the arc related part of issue #413.
|
2014-03-12 23:00:47 +01:00 |
|
Jürg Lehni
|
d594b4264d
|
Define settings.applyMatrix and inherit at Item creation time.
|
2014-03-04 09:30:04 +01:00 |
|
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 |
|