Jürg Lehni
|
06366fb0ed
|
Support prefixed UpdateExpressions and fix a bug in suffixed UpdateExpression when assigning to plain variables.
Related #492
|
2014-07-26 12:40:00 +02:00 |
|
Jürg Lehni
|
54f0197eba
|
Correctly handle UpdateExpressions (a++, a--) that are directly following AssignmentExpressions.
Closes #492
|
2014-07-26 12:29:05 +02:00 |
|
Jürg Lehni
|
6e6df750f0
|
Use names less likely to be used in code for Operator Overloading handlers.
|
2014-07-26 12:28:00 +02:00 |
|
Jürg Lehni
|
0198f4c45f
|
Reuse PaperScope objects when associating multiple scripts with the same canvas.
Closes #504.
|
2014-07-26 12:03:34 +02:00 |
|
Jürg Lehni
|
dc375d4c76
|
Correctly match the use of the unary operator $_ in PaperScript.
Closes #502
|
2014-07-23 12:17:55 +02:00 |
|
Jürg Lehni
|
9d7ec13724
|
Update prepro.js to version that can evaluate whole expressions, and fix a newly introduced issue with it.
|
2014-05-14 15:14:03 +02:00 |
|
Jürg Lehni
|
74d14ecf0c
|
Fix PaperScript support on Node.js
Closes #470.
|
2014-05-05 20:10:29 +02:00 |
|
Jürg Lehni
|
87e72744ea
|
Fix PaperScript.parse() for use with load.js
|
2014-04-30 17:08:43 +02:00 |
|
Jürg Lehni
|
735150d165
|
Minor adjustments in new source map code.
Handle empty code properly.
|
2014-04-30 17:04:58 +02:00 |
|
Jürg Lehni
|
2d702d0247
|
Directly expose Acorn parser through PaperScript.parse(), and replace options.inline with options.source.
|
2014-04-30 16:40:11 +02:00 |
|
Jürg Lehni
|
c36712758b
|
Expose Acorn through PaperScript object.
|
2014-04-30 16:27:43 +02:00 |
|
Jürg Lehni
|
43f319e762
|
Remove support for Esprima as Acorn.js does everything we need.
|
2014-04-30 16:26:04 +02:00 |
|
Jürg Lehni
|
e96ec6a2f1
|
Remove breakpoint support again in PaperScript as this code is better placed in sketch.
|
2014-04-30 16:25:38 +02:00 |
|
Jürg Lehni
|
5e6d0377f4
|
Support adding breakpoints to PaperScript.
|
2014-04-30 13:37:07 +02:00 |
|
Jürg Lehni
|
9e45d7f5eb
|
Automatically detect PaperScript code inlined on page.
|
2014-04-30 12:32:08 +02:00 |
|
Jürg Lehni
|
af9b3cd5c6
|
Simplify source-map support since all browser appear to require the shifting of inlined code.
|
2014-04-30 11:47:15 +02:00 |
|
Jürg Lehni
|
43bc9f14da
|
Add more comments and clean up code a bit.
|
2014-04-30 11:39:05 +02:00 |
|
Jürg Lehni
|
d91aac52b4
|
Check in initial support for source-maps in PaperScript.
Probably needs more testing and work.
|
2014-04-30 11:34:02 +02:00 |
|
Jürg Lehni
|
8317aacc1b
|
Split Item#hitTest() into separate private function that does need to do arguments reading, for improved performance also when iterating over children.
|
2014-04-29 20:06:48 +02: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 |
|