]> git.vpit.fr Git - perl/modules/LaTeX-TikZ.git/log
perl/modules/LaTeX-TikZ.git
13 years agoKids of Set::{Circle,Line,Rectangle} should be Set::Points, not Points
Vincent Pit [Wed, 21 Jul 2010 10:35:35 +0000 (12:35 +0200)]
Kids of Set::{Circle,Line,Rectangle} should be Set::Points, not Points

13 years agoCoerce Points into Set::Points
Vincent Pit [Wed, 21 Jul 2010 10:33:43 +0000 (12:33 +0200)]
Coerce Points into Set::Points

13 years agoMake the formatter autocoerce the origin
Vincent Pit [Wed, 21 Jul 2010 10:32:21 +0000 (12:32 +0200)]
Make the formatter autocoerce the origin

13 years agoMove most of the autoload logic into Autocoerce->load
Vincent Pit [Tue, 20 Jul 2010 20:00:20 +0000 (22:00 +0200)]
Move most of the autoload logic into Autocoerce->load

This saves space, simplify the coerce wrapper, and improve covering
granularity.

13 years agoCoerce points from common types
Vincent Pit [Tue, 20 Jul 2010 19:50:41 +0000 (21:50 +0200)]
Coerce points from common types

13 years agoMake Points into a real class
Vincent Pit [Tue, 20 Jul 2010 19:33:37 +0000 (21:33 +0200)]
Make Points into a real class

And autoload type coercions when needed.

13 years agoRename L::T::API to ::Interface
Vincent Pit [Mon, 19 Jul 2010 12:16:28 +0000 (14:16 +0200)]
Rename L::T::API to ::Interface

13 years agoTest mod/clip/layer folding
Vincent Pit [Mon, 19 Jul 2010 09:54:55 +0000 (11:54 +0200)]
Test mod/clip/layer folding

13 years agoMore layer mod folding tests
Vincent Pit [Sun, 18 Jul 2010 23:29:08 +0000 (01:29 +0200)]
More layer mod folding tests

13 years agoTest clips
Vincent Pit [Sun, 18 Jul 2010 23:07:24 +0000 (01:07 +0200)]
Test clips

13 years agoMake sure Set->mod only accepts mods
Vincent Pit [Sun, 18 Jul 2010 23:06:19 +0000 (01:06 +0200)]
Make sure Set->mod only accepts mods

13 years agoFix layer folding
Vincent Pit [Sun, 18 Jul 2010 22:32:25 +0000 (00:32 +0200)]
Fix layer folding

We can't rely on the common mod folding optimization when both scopes
have specific layers applied, because all mods need to be reapplied after
the layer is enforced.

Also test layers in t/21-layer.t.

13 years agoRegister Tikz->formatter in the API
Vincent Pit [Sun, 18 Jul 2010 17:15:42 +0000 (19:15 +0200)]
Register Tikz->formatter in the API

So that we no longer have to load LaTeX::TikZ::Formatter manually.

13 years agoCall LaTeX::TikZ::Set::Rectangle explicitely in the formatter
Vincent Pit [Sun, 18 Jul 2010 17:11:46 +0000 (19:11 +0200)]
Call LaTeX::TikZ::Set::Rectangle explicitely in the formatter

13 years agoTested flattening of nested modified sets
Vincent Pit [Sun, 18 Jul 2010 17:04:45 +0000 (19:04 +0200)]
Tested flattening of nested modified sets

This covers LaTeX::TikZ::Scope->flatten.

13 years agoGet rid of LaTeX::TikZ::Set::Mod
Vincent Pit [Sun, 18 Jul 2010 16:47:48 +0000 (18:47 +0200)]
Get rid of LaTeX::TikZ::Set::Mod

Now all mods can hold mods (again), as Moose method modifiers allow us to
extend ->draw in the parent role.

13 years agoMore $set->mod and mod covering tests
Vincent Pit [Sun, 18 Jul 2010 12:51:42 +0000 (14:51 +0200)]
More $set->mod and mod covering tests

13 years agoFix Mod::Raw->tag
Vincent Pit [Sun, 18 Jul 2010 12:36:50 +0000 (14:36 +0200)]
Fix Mod::Raw->tag

13 years agoThe ->tag must be defined for a Mod, so simplify covering resolution
Vincent Pit [Sun, 18 Jul 2010 12:28:46 +0000 (14:28 +0200)]
The ->tag must be defined for a Mod, so simplify covering resolution

13 years agoTest mod covering
Vincent Pit [Sun, 18 Jul 2010 12:13:26 +0000 (14:13 +0200)]
Test mod covering

13 years agoTest mod foldings
Vincent Pit [Sun, 18 Jul 2010 10:30:15 +0000 (12:30 +0200)]
Test mod foldings

13 years agoIncrement the Test::Builder::Level in tests
Vincent Pit [Sun, 18 Jul 2010 10:29:57 +0000 (12:29 +0200)]
Increment the Test::Builder::Level in tests

13 years agoFix appending to a Set::Mod
Vincent Pit [Sun, 18 Jul 2010 10:10:38 +0000 (12:10 +0200)]
Fix appending to a Set::Mod

And start testing mods in t/20-mod.t.

13 years agoSet::Op should consume Set
Vincent Pit [Sun, 18 Jul 2010 10:04:31 +0000 (12:04 +0200)]
Set::Op should consume Set

13 years agoFix Set::Path->add
Vincent Pit [Sun, 18 Jul 2010 08:47:09 +0000 (10:47 +0200)]
Fix Set::Path->add

13 years agoCheck path elements with ->does
Vincent Pit [Sun, 18 Jul 2010 08:37:13 +0000 (10:37 +0200)]
Check path elements with ->does

13 years agoRemove string overloading completely for scope objects
Vincent Pit [Sun, 18 Jul 2010 08:11:39 +0000 (10:11 +0200)]
Remove string overloading completely for scope objects

It isn't really suited anymore to our situation. ->draw no longer needs
to return a scope object : it can now also return a plain array reference.

13 years agoBasic set tests in t/10-set.t
Vincent Pit [Sun, 18 Jul 2010 00:44:34 +0000 (02:44 +0200)]
Basic set tests in t/10-set.t

13 years agoStop drawing with the newline
Vincent Pit [Sun, 18 Jul 2010 00:44:06 +0000 (02:44 +0200)]
Stop drawing with the newline

Lines are now stored as lists. This requires ->draw to always return a
LaTeX::TikZ::Scope object.

13 years agoTest the API in t/01-api.t
Vincent Pit [Sat, 17 Jul 2010 23:07:23 +0000 (01:07 +0200)]
Test the API in t/01-api.t

13 years agoInitial commit
Vincent Pit [Sat, 17 Jul 2010 22:01:46 +0000 (00:01 +0200)]
Initial commit