Jürg Lehni
db82f41151
Update year, author email addresses and links
2020-05-23 22:24:42 +02:00
sasensi
80131f0398
Fix PaperScript#compile() with prefix operators
...
Closes #1611
2019-06-09 19:23:53 +02:00
sasensi
5a3cf624aa
Fix importSVG() linear gradient x2 default values
2019-06-09 14:42:52 +02:00
sapics
be4199b6eb
Update copyright year to 2019
2018-12-27 16:13:01 +09:00
sapics
cfc5a912da
Replace url to avoid redirection
...
Replace http://jonathanpuckey.com to https://puckey.studio
2018-11-14 11:24:32 +01:00
sasensi
6a3b8fc384
Minor code refactoring to try to make online build pass
2018-10-17 18:08:54 +02:00
sasensi
07d2edac74
Fix mouse interactions tests error
...
Mouse interactions tests only passed in `gulp load` context.
This make sure that native event classes are used in built context.
This also remove the reference to `CanvasProvider` which is not
available in built context.
Fixes bug introduced in #1570
2018-10-17 18:08:54 +02:00
sasensi
1bd67b2d9b
Add mouse interaction tests
...
- Tests common mouse interactions scenarios to prevent regressions
when making changes. These tests are not run in node context.
- Prevent name collision between Javascript native classes and Paper.js
classes (Event and MouseEvent) by patching load.js.
- Uses a polyfill for MouseEvent which is missing in PhantomJS.
- Adds View._clearState() method and use it in tests to make sure that
each new test is started with a fresh state.
2018-10-17 14:40:05 +02:00
Jürg Lehni
288c3d4012
Fix issue in setPathData(), horizontal or vertical lineto and relative moveto commands.
...
Relates to #1101
2016-07-19 10:09:55 +02:00
Jürg Lehni
02658c9e74
Clean-up code from PR #1087
...
Closes #1085
2016-07-09 01:01:19 +02:00
Jürg Lehni
ed4347714b
Remove duplicate unit tests.
2016-02-10 13:26:40 +01:00
Jürg Lehni
a02d7248c0
Move Path_Bounds tests to Item_Bounds.
...
And add a test for shape.strokeBounds without strokeScaling.
2016-02-02 13:55:36 +01:00
Jürg Lehni
af5984747f
SVG: Rename 'SVG' prefix to 'Svg'
...
- To make it clear it's not browser-provided functionality
- To reflect how DomElement / DomEvent are already named, for the same reason
2016-02-01 12:50:22 +01:00
Jürg Lehni
bc2729683c
Core: Renamed Symbol and PlacedSymbol classes and properties.
...
- Symbol -> SymbolDefinition
- PlacedSymbol -> SymbolItem
- Symbol#definition -> SymbolDefinition#item
- PlacedSymbol#symbol -> SymbolItem#definition
- Deprecate Project#symbols
Closes #770
2016-01-31 16:52:51 +01:00
Jürg Lehni
a7a07fb6d5
Update JSDoc and do some documentation spring-cleaning.
...
- Convert from {@code ...} to shorter `...`
- Reformat some documentation comment blocks
- Update copyright notices
2015-12-30 21:55:19 +01:00
Jürg Lehni
3816407ee7
Clean up SVGExport tests.
2015-07-27 11:42:41 +02:00
Jürg Lehni
07b58e928e
Implement unit test for shape.toPath().toShape()
...
Currently failing for rect.
2015-06-16 18:38:57 +02:00
rumman
33046fff47
emitter tests
2015-04-08 10:42:50 +02:00
Jürg Lehni
f0d28d7529
Implement unit test for #609
2015-01-04 17:46:59 +01:00
Jürg Lehni
a683493e59
Implement unit tests for path intersection.
...
Related: #565 , #568 , #570 , #571
2015-01-04 14:01:32 +01:00
Jonathan Puckey
4aaf689c1e
Add tests for Item#getItems, Item#match & Project#getItems.
2014-04-15 17:10:47 +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
0f5e74a08e
Implement failing test for #437 .
2014-03-30 13:53:35 +02:00
Jürg Lehni
641514cbf3
Rename Item_Contains tests to PathItem_Contains and add more failing tests for #400 .
2014-02-19 14:35:04 +01:00
Jürg Lehni
e22fa3a664
Update copyright notice.
2014-01-04 01:47:16 +01:00
Jürg Lehni
d761c6c25f
Implement tests for Curve#getPointAt().
...
More to come.
2013-06-17 08:54:42 -07:00
Jürg Lehni
13d97796aa
Start implementing unit tests for TextItem / PointText.
...
One failing already.
2013-06-12 16:50:24 -07:00
Jürg Lehni
96d9b6730f
Rename Svg acronyms in API to SVG.
2013-04-23 07:19:08 -07:00
Jürg Lehni
4b24690207
Implement Shape#contains() and define unit tests for it.
2013-04-20 20:54:06 -07:00
Jürg Lehni
163036ec72
Define unit tests for Path#contains, some are currently failing.
2013-04-20 17:25:37 -07:00
Jürg Lehni
b4a99415d0
Merge PathStyle, CharacterStyle and ParagraphStyle into Style.
...
Closes #130 .
2013-04-09 16:46:20 -07:00
Jonathan Puckey
15dab4c2db
Add failing raster test where creating a raster without a source and then setting its size throws an error.
2013-03-17 16:52:54 +01:00
Jonathan Puckey
8e58084d93
Add initial set of JSON tests.
2013-03-17 14:50:51 +01:00
Jürg Lehni
fa097e02f2
Implement unit tests for Matrix#getRotation() and #getScaling().
...
Of which one test is failing.
2013-02-08 19:38:32 -08:00
Jürg Lehni
6c9c16ad3d
Update copyright information comments, and year.
2013-01-28 18:03:27 -08:00
Jürg Lehni
142bf28a70
Convert SvgExporter / SvgImporter code to function scopes that only expose functionality through methods on Item and Project.
2012-11-06 13:07:18 -08:00
Jürg Lehni
1ce332756e
Rename ImportSvg to SvgImporter, and ExportSvg to SvgExporter.
2012-11-02 17:40:07 -07:00
Jürg Lehni
160095d6e3
Rename SVG to Svg to follow naming convention.
2012-10-22 19:17:11 -04:00
skierons
71edb9ed88
Added the Import/Export to the load script
2012-09-30 19:01:08 -03:00
Jürg Lehni
853263263e
Implement tests for bounds caching.
2011-11-28 22:59:34 +01:00
Jürg Lehni
afec10c5bf
Move prepro.js to lib/and include() statements for test units to their own files inside tests/
2011-07-27 22:00:31 +01:00