Jürg Lehni
|
406d26e884
|
Unify the way item parents and projects as parents of top-level layers are handled as owners.
This automatically adds support for named children on project.layers, closing #491.
|
2016-01-12 00:54:04 +01:00 |
|
sapics
|
9bc7cbf5ee
|
Add jshint to node_modules/.gitignore
|
2016-01-12 08:47:43 +09:00 |
|
Jürg Lehni
|
20f90bbee2
|
Merge branch 'new-smooth' into develop
|
2016-01-11 20:26:41 +01:00 |
|
Jürg Lehni
|
4c92c0739e
|
Correctly handle negative smooth() indices on open paths.
|
2016-01-11 20:21:27 +01:00 |
|
Jürg Lehni
|
4830562e4f
|
Tweak documentation added to Point / Size #min() / #max() a bit.
|
2016-01-10 18:13:11 +01:00 |
|
Jürg Lehni
|
7b29bb177d
|
Merge remote-tracking branch 'megawac/526-reduce' into megawac-526-reduce
|
2016-01-10 18:06:11 +01:00 |
|
Jürg Lehni
|
c5eaaff073
|
Remove ctx.currentPath caching optimization.
Unfortunately all browser have moved away from this again, in favour of Path2D.
|
2016-01-10 11:51:56 +01:00 |
|
Jürg Lehni
|
4eafe808fa
|
Rename getEndDistanceSquared() to getSquaredLineLength()
|
2016-01-10 11:50:47 +01:00 |
|
Jürg Lehni
|
9a148700b7
|
Implement unit test for edge case from #799.
|
2016-01-09 12:16:50 +01:00 |
|
Jürg Lehni
|
e8390a76d8
|
Define Path#toShape() and Shape#toPath() as aliases to #clone().
|
2016-01-09 12:08:47 +01:00 |
|
Jürg Lehni
|
8639051081
|
More work and clean-up on JSHint compliance.
|
2016-01-09 12:05:42 +01:00 |
|
Jürg Lehni
|
c9c111070a
|
Merge pull request #898 from sapics/add-jshint-travis
Add jshint to travis
|
2016-01-09 11:34:11 +01:00 |
|
sapics
|
8077f228e9
|
Fix errors in jshint
|
2016-01-09 12:03:42 +09:00 |
|
sapics
|
d5d4d263f5
|
Add jshint to travis
|
2016-01-09 11:55:36 +09:00 |
|
Jürg Lehni
|
ec5e8ff51d
|
Switch blendMode to 'lighter' in CandyCrash example.
Closes #453
|
2016-01-08 23:27:45 +01:00 |
|
Jürg Lehni
|
3752102944
|
Update JSDoc.
|
2016-01-08 21:02:54 +01:00 |
|
Jürg Lehni
|
f2ae7840cf
|
A lot of work on documentation.
- @values lists
- Improve event documentation
- Compound path
- etc.
|
2016-01-08 20:45:54 +01:00 |
|
Jürg Lehni
|
64f997a3bc
|
More work on JSHint compliance.
|
2016-01-08 20:32:52 +01:00 |
|
Jürg Lehni
|
81273d2e6c
|
Update JSDoc.
|
2016-01-08 20:31:53 +01:00 |
|
Jürg Lehni
|
3280b5700c
|
Get things up to speed again with JSHint.
|
2016-01-08 18:16:29 +01:00 |
|
Jürg Lehni
|
b680301ce8
|
Fix issue where locations reference the wrong path after splitting.
|
2016-01-08 16:52:56 +01:00 |
|
Jürg Lehni
|
93ba42259b
|
Fix the way multiple children with the same name are handled.
|
2016-01-08 16:42:41 +01:00 |
|
Jürg Lehni
|
c064cb6c43
|
Implement additional unit tests for dealing with sibling items with the same name.
|
2016-01-08 16:41:33 +01:00 |
|
Jürg Lehni
|
74c1f54bb3
|
Fix one new failing boolean issue.
|
2016-01-08 15:33:05 +01:00 |
|
Jürg Lehni
|
66ff8d3a51
|
Fix multiple issues with boolean operations on open paths.
|
2016-01-08 15:17:58 +01:00 |
|
Jürg Lehni
|
9eb3e8777e
|
Define unit tests for curve unlinking.
|
2016-01-08 15:17:40 +01:00 |
|
Jürg Lehni
|
61f5f9bcfa
|
Implement unit test for #757
Currently failing.
|
2016-01-08 12:28:43 +01:00 |
|
Jürg Lehni
|
5060e83095
|
Remove selected state in Qbertify example.
|
2016-01-08 11:46:10 +01:00 |
|
Jürg Lehni
|
dd332e966c
|
Remove unused variable.
Apparently the code that required it was accidentally deleted earlier. Turns out it wasn't needed anymore anyway :)
|
2016-01-08 11:42:48 +01:00 |
|
Jürg Lehni
|
cb3d4341fd
|
paper.browser can still be null when the first key events fire.
|
2016-01-08 11:42:12 +01:00 |
|
Jürg Lehni
|
79508ff78b
|
Various comments adjustments.
|
2016-01-08 11:14:25 +01:00 |
|
Jürg Lehni
|
abafc886cd
|
Clean up propagateWinding() a bit.
|
2016-01-08 10:54:11 +01:00 |
|
Jürg Lehni
|
34a173ee18
|
Merge pull request #893 from sapics/atan2
Replace atan to atan2 for avoiding NaN
|
2016-01-08 10:28:44 +01:00 |
|
Jürg Lehni
|
b95136f673
|
Add additional @author tags to boolean code.
|
2016-01-08 10:27:22 +01:00 |
|
Jürg Lehni
|
a5304443a5
|
Condensate if / else statements into terniary chain.
And apply the same style to all multi-line if-statements.
|
2016-01-08 10:22:11 +01:00 |
|
Jürg Lehni
|
d186c2d356
|
Reformat code of #895 a bit.
- Respect 80 chars line-width
- Indent comments with current indentation level
- Use punctuation in comments
|
2016-01-08 10:05:47 +01:00 |
|
Jürg Lehni
|
18e00f6312
|
Merge pull request #895 from iconexperience/further-simplify-winding-calculation2
Further simplify and explain winding calculation in getWinding() (2)
|
2016-01-08 10:00:55 +01:00 |
|
iconexperience
|
07b89c7f18
|
Further simplify and explain winding calculation in getWinding()
|
2016-01-08 08:58:32 +01:00 |
|
sapics
|
5f876adc1c
|
Replace atan to atan2 for avoiding NaN
|
2016-01-08 12:24:53 +09:00 |
|
Jürg Lehni
|
3c66c013d1
|
Implement correct behavior for intersection, subtraction and intersection of fully overlapping paths.
|
2016-01-08 01:25:35 +01:00 |
|
Jürg Lehni
|
ba6c1201fe
|
Improve a couple of comments.
|
2016-01-08 01:09:15 +01:00 |
|
Jürg Lehni
|
eba9601601
|
Implement and brush up @iconexperience's new version of getWinding()
Along with optimizations and simplifications to _getMonoCurves()
Closes #890
|
2016-01-08 00:08:38 +01:00 |
|
Jürg Lehni
|
9c1aa47162
|
Implement unit test for 2nd edge case in #890
|
2016-01-07 23:19:47 +01:00 |
|
Jürg Lehni
|
6136bd8143
|
Fix issue with SVG serialization in newer versions of JSDOM.
And define some meaningful ranges for problematic Node.js modules.
Closes #821
|
2016-01-07 23:08:01 +01:00 |
|
Jürg Lehni
|
56869baaad
|
Only transform canvas if matrix is not the identity.
|
2016-01-07 22:07:26 +01:00 |
|
Jürg Lehni
|
7969e4647c
|
Use shadowBlur instead of shadowColor to clear shadows after fills.
|
2016-01-07 22:06:10 +01:00 |
|
Jürg Lehni
|
d1e4807c6a
|
Allow the use of Formater without additional processing of numbers.
precision >= 16 will output numbers as is.
|
2016-01-07 18:51:30 +01:00 |
|
Jürg Lehni
|
36a98706b3
|
Use epsilons when deciding for horizontal winding and dealing with horizontal mono-curves.
Relates to #890#issuecomment-169672571, fixing the 2nd case of the 2nd example.
|
2016-01-07 15:58:51 +01:00 |
|
Jürg Lehni
|
bc8fb92b9d
|
Rename some variables to be more clear about their role.
|
2016-01-07 15:55:24 +01:00 |
|
Jürg Lehni
|
5e01774c91
|
Further simplify checks of crossing vs touching in getWinding()
Relates to #890
|
2016-01-07 13:09:47 +01:00 |
|