]> git.vpit.fr Git - perl/modules/LaTeX-TikZ.git/log
perl/modules/LaTeX-TikZ.git
14 years agoAllow passing a type constraint as the parent to LT::Meta::TypeConstraint::Autocoerce
Vincent Pit [Sat, 31 Jul 2010 12:36:00 +0000 (14:36 +0200)]
Allow passing a type constraint as the parent to LT::Meta::TypeConstraint::Autocoerce

14 years agoAdd kwalitee test
Vincent Pit [Thu, 29 Jul 2010 11:11:22 +0000 (13:11 +0200)]
Add kwalitee test

14 years agoAdd portability files test
Vincent Pit [Thu, 29 Jul 2010 11:07:45 +0000 (13:07 +0200)]
Add portability files test

14 years agoAdd POD coverage test
Vincent Pit [Thu, 29 Jul 2010 11:05:44 +0000 (13:05 +0200)]
Add POD coverage test

14 years agoFix spacing in one use_ok
Vincent Pit [Thu, 29 Jul 2010 11:05:11 +0000 (13:05 +0200)]
Fix spacing in one use_ok

14 years agoComplete the example for Formatter->render
Vincent Pit [Thu, 29 Jul 2010 10:49:08 +0000 (12:49 +0200)]
Complete the example for Formatter->render

14 years agoSilence a warnings with Moose 1.09
Vincent Pit [Mon, 26 Jul 2010 09:41:54 +0000 (11:41 +0200)]
Silence a warnings with Moose 1.09

14 years agoTest handler definedness in LaTeX::TikZ::Functor
Vincent Pit [Fri, 23 Jul 2010 20:37:25 +0000 (22:37 +0200)]
Test handler definedness in LaTeX::TikZ::Functor

14 years agoMore docs for LaTeX::TikZ::Formatter
Vincent Pit [Fri, 23 Jul 2010 19:51:42 +0000 (21:51 +0200)]
More docs for LaTeX::TikZ::Formatter

14 years agoFix typos in POD
Vincent Pit [Fri, 23 Jul 2010 13:54:20 +0000 (15:54 +0200)]
Fix typos in POD

14 years agoFix synopsis
Vincent Pit [Fri, 23 Jul 2010 13:51:31 +0000 (15:51 +0200)]
Fix synopsis

14 years agoThis is 0.01 v0.01
Vincent Pit [Fri, 23 Jul 2010 11:33:09 +0000 (13:33 +0200)]
This is 0.01

14 years agoDocument the interface
Vincent Pit [Fri, 23 Jul 2010 10:57:51 +0000 (12:57 +0200)]
Document the interface

14 years agoMore documentation boilerplate
Vincent Pit [Fri, 23 Jul 2010 08:30:03 +0000 (10:30 +0200)]
More documentation boilerplate

14 years agoFirst cut at the documentation
Vincent Pit [Thu, 22 Jul 2010 22:31:18 +0000 (00:31 +0200)]
First cut at the documentation

14 years agoAlso set the width/height of a rectangle when both corners were passed
Vincent Pit [Thu, 22 Jul 2010 22:30:27 +0000 (00:30 +0200)]
Also set the width/height of a rectangle when both corners were passed

14 years agoAdd a sample script
Vincent Pit [Thu, 22 Jul 2010 21:35:25 +0000 (23:35 +0200)]
Add a sample script

14 years agoInline LaTeX::TikZ::Set->mods_unique
Vincent Pit [Thu, 22 Jul 2010 21:30:47 +0000 (23:30 +0200)]
Inline LaTeX::TikZ::Set->mods_unique

14 years agoMake ->render return one body for each argument
Vincent Pit [Thu, 22 Jul 2010 20:54:33 +0000 (22:54 +0200)]
Make ->render return one body for each argument

14 years agoTest formatter origin
Vincent Pit [Thu, 22 Jul 2010 20:04:22 +0000 (22:04 +0200)]
Test formatter origin

14 years agoTest labeled points
Vincent Pit [Thu, 22 Jul 2010 19:58:45 +0000 (21:58 +0200)]
Test labeled points

14 years agoEnforce the non-negativity of some attributes with anonymous types
Vincent Pit [Thu, 22 Jul 2010 19:45:37 +0000 (21:45 +0200)]
Enforce the non-negativity of some attributes with anonymous types

14 years agoAdd missing new fields to t/30-functor.t translator
Vincent Pit [Thu, 22 Jul 2010 19:43:46 +0000 (21:43 +0200)]
Add missing new fields to t/30-functor.t translator

14 years agoComplete origin support in the formatter object
Vincent Pit [Thu, 22 Jul 2010 19:39:14 +0000 (21:39 +0200)]
Complete origin support in the formatter object

14 years agoAdd label and position support to Set::Point
Vincent Pit [Thu, 22 Jul 2010 19:08:04 +0000 (21:08 +0200)]
Add label and position support to Set::Point

14 years agoMake some accessors writable for the formatter object
Vincent Pit [Thu, 22 Jul 2010 19:07:17 +0000 (21:07 +0200)]
Make some accessors writable for the formatter object

14 years agoRemove magic LaTeX::TikZ::Interface->import
Vincent Pit [Thu, 22 Jul 2010 14:55:39 +0000 (16:55 +0200)]
Remove magic LaTeX::TikZ::Interface->import

One should use ->register now. It has been made into a class method.

14 years agoIntroduce LaTeX::TikZ::Functor
Vincent Pit [Thu, 22 Jul 2010 14:22:22 +0000 (16:22 +0200)]
Introduce LaTeX::TikZ::Functor

14 years agoFix type constraint on Set::Op in Mod::Clip
Vincent Pit [Thu, 22 Jul 2010 13:04:15 +0000 (15:04 +0200)]
Fix type constraint on Set::Op in Mod::Clip

14 years agoGlobally store layer objects as weak references
Vincent Pit [Wed, 21 Jul 2010 17:33:42 +0000 (19:33 +0200)]
Globally store layer objects as weak references

14 years agoPattern covering tests
Vincent Pit [Wed, 21 Jul 2010 17:25:56 +0000 (19:25 +0200)]
Pattern covering tests

14 years agoOnly declare once each mod, tag-wise
Vincent Pit [Wed, 21 Jul 2010 17:25:32 +0000 (19:25 +0200)]
Only declare once each mod, tag-wise

14 years agoComplete patterns implementation, interface and tests
Vincent Pit [Wed, 21 Jul 2010 17:00:53 +0000 (19:00 +0200)]
Complete patterns implementation, interface and tests

14 years agoIntroduce LaTeX::TikZ::Set::Arrow
Vincent Pit [Wed, 21 Jul 2010 16:04:10 +0000 (18:04 +0200)]
Introduce LaTeX::TikZ::Set::Arrow

14 years agoReally allow coercing a string into a mod object
Vincent Pit [Wed, 21 Jul 2010 15:55:45 +0000 (17:55 +0200)]
Really allow coercing a string into a mod object

14 years agoAlways call ->assert_valid after ->coerce
Vincent Pit [Wed, 21 Jul 2010 15:47:16 +0000 (17:47 +0200)]
Always call ->assert_valid after ->coerce

14 years agoIntroduce LaTeX::TikZ::Set::Arc
Vincent Pit [Wed, 21 Jul 2010 14:56:49 +0000 (16:56 +0200)]
Introduce LaTeX::TikZ::Set::Arc

14 years agoTest fill mods covering
Vincent Pit [Wed, 21 Jul 2010 14:12:20 +0000 (16:12 +0200)]
Test fill mods covering

14 years agoTest rectangle and circle clips covering
Vincent Pit [Wed, 21 Jul 2010 13:21:55 +0000 (15:21 +0200)]
Test rectangle and circle clips covering

14 years agoMake Set::Point delegates ->x and ->y to the underlying point
Vincent Pit [Wed, 21 Jul 2010 13:10:25 +0000 (15:10 +0200)]
Make Set::Point delegates ->x and ->y to the underlying point

14 years agoAllow a bare Tikz->point for 0
Vincent Pit [Wed, 21 Jul 2010 13:09:35 +0000 (15:09 +0200)]
Allow a bare Tikz->point for 0

14 years agoIntroduce LaTeX::TikZ::Set::Polyline
Vincent Pit [Wed, 21 Jul 2010 12:47:03 +0000 (14:47 +0200)]
Introduce LaTeX::TikZ::Set::Polyline

14 years agoTest geometrical sets
Vincent Pit [Wed, 21 Jul 2010 10:36:58 +0000 (12:36 +0200)]
Test geometrical sets

14 years agoFix Rectangle constructor arguments
Vincent Pit [Wed, 21 Jul 2010 10:36:30 +0000 (12:36 +0200)]
Fix Rectangle constructor arguments

14 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

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

14 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

14 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.

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

14 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.

14 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

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

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

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

14 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

14 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.

14 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.

14 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

14 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.

14 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.

14 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

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

14 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

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

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

14 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

14 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.

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

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

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

14 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.

14 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

14 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.

14 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

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