Commit graph

2265 commits

Author SHA1 Message Date
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
Jürg Lehni
a750564d24 Add comment stripping directly to Prepro.js, and remove jsstrip.pl 2011-07-26 16:01:15 +01:00
Jürg Lehni
ba4ff62052 Clean up white space. 2011-07-26 16:00:49 +01:00
Jürg Lehni
dfa85fc0da Remove debug info. 2011-07-26 13:20:27 +01:00
Jürg Lehni
f98c8f29fc Implement Prepro.js for the browser too, in order to be able to load the library from paper.js source files and preprocess on the fly on the browser side. 2011-07-26 12:27:36 +01:00
Jürg Lehni
5b6df3d3bf Change ./preprocess.sh for docs.sh too. 2011-07-26 10:17:59 +01:00
Jürg Lehni
11cf28b403 Merge remote-tracking branch 'origin/master' 2011-07-26 10:10:10 +01:00
Jürg Lehni
8eaeb7fb5e Remove filepp.pl as preprocessor and switch to our own Prepro.js, a simple preprocesssor for JavaScript that speaks JavaScript, written in JavaScript, allowing preprocessing to either happen at build time or compile time. 2011-07-26 10:09:31 +01:00
Jonathan Puckey
63628be923 Fix bug in CompoundPath#draw(ctx, draw) which was causing an error when a compound path didn't have any children. 2011-07-25 21:41:09 +02:00
Jürg Lehni
a0a426982f Documentation: Fix display of pseudo code. 2011-07-25 09:16:41 +01:00
Jürg Lehni
2c1fdc0744 Clean up Matrix constructor. 2011-07-25 09:15:35 +01:00
Jürg Lehni
68ba8e25e4 Documentation: Fix Matrix properties. 2011-07-25 09:15:18 +01:00
Jürg Lehni
43cc8e45b2 Clean up and separate PaperScript documetation from JavaScript related classes. Work in progress. 2011-07-25 00:25:23 +01:00
Jürg Lehni
b6c684c1b4 Merge remote-tracking branch 'origin/master' 2011-07-24 19:42:04 +01:00
Jürg Lehni
c6c311d558 Move definition of VERSION / DATE to preprocess.sh, so docs.sh works too. 2011-07-24 19:41:13 +01:00
Jonathan Puckey
e418c277f9 Merge branch 'master' of github.com:paperjs/paper.js 2011-07-21 00:01:44 +02:00
Jonathan Puckey
4daffc895a Handlers are no longer passed to Tool#initialize(). 2011-07-21 00:01:33 +02:00
Jonathan Puckey
4bba0a5201 Merge remote branch 'origin/master' 2011-07-20 18:09:47 +02:00
Jürg Lehni
b37d4d9a9b Fix preprocess.sh calling sequence for docs library. 2011-07-20 00:00:26 +01:00
Jürg Lehni
88626e3903 ToolEvent#getItem(): Replace all #parent getters with direct access to internal variable. 2011-07-19 23:55:56 +01:00
Jürg Lehni
a87c2a9638 Merge remote-tracking branch 'origin/master' 2011-07-19 23:53:29 +01:00
Jürg Lehni
688c1671ed Remove all parameters from Tool constructor, to simplify use outside PaperScript. 2011-07-19 23:53:13 +01:00
Jürg Lehni
9f1f4d334e Introduce PaperScope#setup(canvas), as a simple way to setup a standard project when not using PaperScript. 2011-07-19 23:52:32 +01:00
Jürg Lehni
470360301c Improve documentation for PaperScope#install() 2011-07-19 23:51:50 +01:00
Jonathan Puckey
6808dc4b1c PathEditing example: add black stroke to paths. 2011-07-17 18:16:47 +02:00
Jonathan Puckey
61fa298780 Add PathEditing example, which shows of hit-testing of paths. 2011-07-17 17:57:44 +02:00
Jonathan Puckey
f7711fab57 Add failing HitResult test. 2011-07-15 15:07:12 +02:00
Jonathan Puckey
d90be80fbe More work on HitResult tests. 2011-07-15 14:53:54 +02:00
Jonathan Puckey
8e816f6bfc HitResult#getOptions: only have fill / stroke / segments options set to true if no options object was provided. 2011-07-15 14:52:38 +02:00
Jonathan Puckey
53a602fb56 Path#_hitTest: check that a stroke hit test was requested. 2011-07-15 14:50:42 +02:00
Jonathan Puckey
611d9e3af3 Item#hitTest: ignore top level layers when hit testing for bounds or center. 2011-07-15 13:00:40 +02:00
Jonathan Puckey
91ab38ffd1 Path#getHandleBounds: remove optimization as it leads to problems when hit testing handles. 2011-07-15 12:58:34 +02:00
Jonathan Puckey
db620e62be Fix mistake in HitResult test. 2011-07-15 11:31:12 +02:00
Jonathan Puckey
cb80b828a5 ToolEvent#getItem: replace getter with direct access to internal variable. 2011-07-14 19:28:25 +02:00
Jonathan Puckey
cb65399063 Add 2 more HitResult tests, which test hitting selected paths and guides. 2011-07-14 14:24:32 +02:00
Jonathan Puckey
738573e224 Add more HitResult tests. 2011-07-13 18:19:00 +02:00
Jonathan Puckey
1ffb8debc3 Add HitResult tests (work in progress). 2011-07-13 17:35:54 +02:00
Jonathan Puckey
61052a9da9 Merge remote branch 'origin/master' 2011-07-13 16:54:01 +02:00
Jonathan Puckey
0098e2490f Implement ToolEvent#item. 2011-07-13 16:52:44 +02:00
Jürg Lehni
cb3d59effa Update dist version to 0.2. 2011-07-13 13:30:22 +01:00
Jürg Lehni
37c1866e5a Merge remote-tracking branch 'origin/master' 2011-07-13 13:27:26 +01:00
Jürg Lehni
86b1d82636 Add VERSION and DATE to headers and support for it in build scripts. 2011-07-13 13:27:14 +01:00
Jonathan Puckey
8aa7b02a23 Merge remote branch 'origin/master' 2011-07-13 14:12:01 +02:00
Jonathan Puckey
595144961d Update View size before calling View#onResize. 2011-07-13 14:10:26 +02:00
Jürg Lehni
a3bfc8fe40 Support all ways of defining a Point in SegmentPoint.create(), through fallback to Point.read(). 2011-07-13 12:46:16 +01:00
Jonathan Puckey
ff685f294a Fix problem with passing a Size to the Segment constructor. 2011-07-13 13:29:50 +02:00
Jonathan Puckey
4947a63bad Add failing test where new Segment(size) creates a Segment with Segment#point: {x: NaN, y: NaN}. 2011-07-13 12:55:25 +02:00
Jürg Lehni
62453a4212 Increase version number. 2011-07-11 12:24:05 +02:00
Jürg Lehni
0f72ab35fa Update JsDoc. 2011-07-11 12:21:53 +02:00
Jürg Lehni
b5b1e50ccf Improve detection of passed Rectangles or Points in Rectangle#contains() 2011-07-11 12:21:24 +02:00