]>
git.vpit.fr Git - perl/modules/LaTeX-TikZ.git/log
Vincent Pit [Mon, 20 Dec 2010 23:23:38 +0000 (00:23 +0100)]
Switch to qw<>
Vincent Pit [Mon, 6 Dec 2010 15:47:31 +0000 (16:47 +0100)]
Don't import anything from Carp into LaTeX::TikZ::Set::Arrow
Vincent Pit [Mon, 6 Dec 2010 13:08:08 +0000 (14:08 +0100)]
Sanitize LaTeX::TikZ::Set::{layer,clip}
Vincent Pit [Fri, 26 Nov 2010 13:43:58 +0000 (14:43 +0100)]
Simplify the layer application logic
Vincent Pit [Fri, 26 Nov 2010 13:21:16 +0000 (14:21 +0100)]
Factor the check() test function in an helper test module
Vincent Pit [Wed, 27 Oct 2010 22:36:44 +0000 (00:36 +0200)]
Fix drawing empty sequences
Vincent Pit [Mon, 25 Oct 2010 10:08:47 +0000 (12:08 +0200)]
Complete LaTeX::TikZ::Tools documentation
Vincent Pit [Mon, 25 Oct 2010 09:55:02 +0000 (11:55 +0200)]
Fix ->content description of raw mods and sets
Vincent Pit [Sat, 16 Oct 2010 22:37:55 +0000 (00:37 +0200)]
POD typo
Vincent Pit [Wed, 6 Oct 2010 00:24:00 +0000 (02:24 +0200)]
Insert rules after all their subrules and before all their superrules
Vincent Pit [Tue, 5 Oct 2010 22:56:00 +0000 (00:56 +0200)]
Ignore MYMETA.yml
Vincent Pit [Tue, 5 Oct 2010 22:54:57 +0000 (00:54 +0200)]
Bump Mouse dependency
Version 0.72 introduced a bug which prevented "where" clauses to be called
for parametrized type constraints. The bug was fixed in 0.78, but we may as
well depend on the latest of this time.
Vincent Pit [Sun, 22 Aug 2010 13:54:23 +0000 (15:54 +0200)]
Fix and test parent validation in LT::Meta::TC::Autocoerce
Vincent Pit [Sun, 22 Aug 2010 13:52:13 +0000 (15:52 +0200)]
LaTeX::TikZ::Tools::type_constraint shouldn't croak when it can't find the .pm file
Vincent Pit [Sun, 15 Aug 2010 16:37:10 +0000 (18:37 +0200)]
Revamp a sentence in LT::Meta::TC::Autocoerce's description
Vincent Pit [Sun, 15 Aug 2010 16:32:00 +0000 (18:32 +0200)]
Document the return value of LT::Functor::Rule::insert
Vincent Pit [Sun, 15 Aug 2010 16:31:39 +0000 (18:31 +0200)]
Remove some unused variables
Vincent Pit [Sun, 15 Aug 2010 16:28:54 +0000 (18:28 +0200)]
Don't undef the $rule in LT::Functor::Rule::insert
Otherwise, we're unable to test if the subsequent rules are to be removed.
Vincent Pit [Sun, 15 Aug 2010 16:22:30 +0000 (18:22 +0200)]
Prevent some "uninitialized" warnings when pruning a rule list
This part of the code is obviously *not* tested.
Vincent Pit [Sun, 15 Aug 2010 16:15:12 +0000 (18:15 +0200)]
Rewrite functors description
Vincent Pit [Mon, 2 Aug 2010 13:01:04 +0000 (15:01 +0200)]
This is 0.02
Vincent Pit [Mon, 2 Aug 2010 12:41:39 +0000 (14:41 +0200)]
Complete doc for LT::Meta::TC::Autocoerce
Vincent Pit [Mon, 2 Aug 2010 10:02:05 +0000 (12:02 +0200)]
Require the mapper attribute
Vincent Pit [Mon, 2 Aug 2010 09:59:09 +0000 (11:59 +0200)]
Allow returning undef from the autocoercion mapper
Vincent Pit [Mon, 2 Aug 2010 09:43:05 +0000 (11:43 +0200)]
Don't try to load the autocoercion package when calling ->check
This makes things a little lighter and is conceptually more correct.
Vincent Pit [Sun, 1 Aug 2010 22:58:23 +0000 (00:58 +0200)]
Localize the die handler when requiring for autocoercion
This speeds up things vastly when a slow die handler (e.g. \&Carp::confess)
is set.
Vincent Pit [Sun, 1 Aug 2010 22:35:16 +0000 (00:35 +0200)]
Replace LaTeX::TikZ::Set::Path::Elements by LaTeX::TikZ::Set::Op
I guess the failures that led me to introduce this were caused by some
loading order issue.
Vincent Pit [Sun, 1 Aug 2010 22:10:24 +0000 (00:10 +0200)]
Rename LT::Mod->cover to ->covers
Vincent Pit [Sun, 1 Aug 2010 21:56:50 +0000 (23:56 +0200)]
Bump the default space width of patterns to 10
Vincent Pit [Sun, 1 Aug 2010 21:48:44 +0000 (23:48 +0200)]
Enable taint mode for the functor test
Vincent Pit [Sun, 1 Aug 2010 21:02:42 +0000 (23:02 +0200)]
More docs for LT::Functor/LT::Functor::Rule
Vincent Pit [Sun, 1 Aug 2010 20:35:33 +0000 (22:35 +0200)]
LT::Functor: compare sets with numeric equality
Vincent Pit [Sun, 1 Aug 2010 20:34:05 +0000 (22:34 +0200)]
LT::Functor: don't process the mods at all if the new set is the same as the old one
Vincent Pit [Sun, 1 Aug 2010 20:31:11 +0000 (22:31 +0200)]
Move most of the functor logic into a new LT::Functor::Role class
Vincent Pit [Sun, 1 Aug 2010 18:39:20 +0000 (20:39 +0200)]
More typos in POD
Vincent Pit [Sun, 1 Aug 2010 16:16:24 +0000 (18:16 +0200)]
Small doc clarification in LT::Functor
Vincent Pit [Sun, 1 Aug 2010 16:14:00 +0000 (18:14 +0200)]
In LaTeX::TikZ::Functor, move ->default_rule after ->new
Vincent Pit [Sun, 1 Aug 2010 16:13:01 +0000 (18:13 +0200)]
Functors overhaul
Vincent Pit [Sun, 1 Aug 2010 13:13:50 +0000 (15:13 +0200)]
Document the Set/Set::Op roles
Vincent Pit [Sun, 1 Aug 2010 13:06:10 +0000 (15:06 +0200)]
Fix cover for Mod::Pattern and Mod::Raw
Vincent Pit [Sun, 1 Aug 2010 13:05:43 +0000 (15:05 +0200)]
Document the Mod role
Vincent Pit [Sat, 31 Jul 2010 14:27:26 +0000 (16:27 +0200)]
Bump perl dependency to 5.8
Tests fail under 5.6.2 at least because of partial overloading support.
Vincent Pit [Sat, 31 Jul 2010 13:46:44 +0000 (15:46 +0200)]
Test autocoercion
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
Vincent Pit [Thu, 29 Jul 2010 11:11:22 +0000 (13:11 +0200)]
Add kwalitee test
Vincent Pit [Thu, 29 Jul 2010 11:07:45 +0000 (13:07 +0200)]
Add portability files test
Vincent Pit [Thu, 29 Jul 2010 11:05:44 +0000 (13:05 +0200)]
Add POD coverage test
Vincent Pit [Thu, 29 Jul 2010 11:05:11 +0000 (13:05 +0200)]
Fix spacing in one use_ok
Vincent Pit [Thu, 29 Jul 2010 10:49:08 +0000 (12:49 +0200)]
Complete the example for Formatter->render
Vincent Pit [Mon, 26 Jul 2010 09:41:54 +0000 (11:41 +0200)]
Silence a warnings with Moose 1.09
Vincent Pit [Fri, 23 Jul 2010 20:37:25 +0000 (22:37 +0200)]
Test handler definedness in LaTeX::TikZ::Functor
Vincent Pit [Fri, 23 Jul 2010 19:51:42 +0000 (21:51 +0200)]
More docs for LaTeX::TikZ::Formatter
Vincent Pit [Fri, 23 Jul 2010 13:54:20 +0000 (15:54 +0200)]
Fix typos in POD
Vincent Pit [Fri, 23 Jul 2010 13:51:31 +0000 (15:51 +0200)]
Fix synopsis
Vincent Pit [Fri, 23 Jul 2010 11:33:09 +0000 (13:33 +0200)]
This is 0.01
Vincent Pit [Fri, 23 Jul 2010 10:57:51 +0000 (12:57 +0200)]
Document the interface
Vincent Pit [Fri, 23 Jul 2010 08:30:03 +0000 (10:30 +0200)]
More documentation boilerplate
Vincent Pit [Thu, 22 Jul 2010 22:31:18 +0000 (00:31 +0200)]
First cut at the documentation
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
Vincent Pit [Thu, 22 Jul 2010 21:35:25 +0000 (23:35 +0200)]
Add a sample script
Vincent Pit [Thu, 22 Jul 2010 21:30:47 +0000 (23:30 +0200)]
Inline LaTeX::TikZ::Set->mods_unique
Vincent Pit [Thu, 22 Jul 2010 20:54:33 +0000 (22:54 +0200)]
Make ->render return one body for each argument
Vincent Pit [Thu, 22 Jul 2010 20:04:22 +0000 (22:04 +0200)]
Test formatter origin
Vincent Pit [Thu, 22 Jul 2010 19:58:45 +0000 (21:58 +0200)]
Test labeled points
Vincent Pit [Thu, 22 Jul 2010 19:45:37 +0000 (21:45 +0200)]
Enforce the non-negativity of some attributes with anonymous types
Vincent Pit [Thu, 22 Jul 2010 19:43:46 +0000 (21:43 +0200)]
Add missing new fields to t/30-functor.t translator
Vincent Pit [Thu, 22 Jul 2010 19:39:14 +0000 (21:39 +0200)]
Complete origin support in the formatter object
Vincent Pit [Thu, 22 Jul 2010 19:08:04 +0000 (21:08 +0200)]
Add label and position support to Set::Point
Vincent Pit [Thu, 22 Jul 2010 19:07:17 +0000 (21:07 +0200)]
Make some accessors writable for the formatter object
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.
Vincent Pit [Thu, 22 Jul 2010 14:22:22 +0000 (16:22 +0200)]
Introduce LaTeX::TikZ::Functor
Vincent Pit [Thu, 22 Jul 2010 13:04:15 +0000 (15:04 +0200)]
Fix type constraint on Set::Op in Mod::Clip
Vincent Pit [Wed, 21 Jul 2010 17:33:42 +0000 (19:33 +0200)]
Globally store layer objects as weak references
Vincent Pit [Wed, 21 Jul 2010 17:25:56 +0000 (19:25 +0200)]
Pattern covering tests
Vincent Pit [Wed, 21 Jul 2010 17:25:32 +0000 (19:25 +0200)]
Only declare once each mod, tag-wise
Vincent Pit [Wed, 21 Jul 2010 17:00:53 +0000 (19:00 +0200)]
Complete patterns implementation, interface and tests
Vincent Pit [Wed, 21 Jul 2010 16:04:10 +0000 (18:04 +0200)]
Introduce LaTeX::TikZ::Set::Arrow
Vincent Pit [Wed, 21 Jul 2010 15:55:45 +0000 (17:55 +0200)]
Really allow coercing a string into a mod object
Vincent Pit [Wed, 21 Jul 2010 15:47:16 +0000 (17:47 +0200)]
Always call ->assert_valid after ->coerce
Vincent Pit [Wed, 21 Jul 2010 14:56:49 +0000 (16:56 +0200)]
Introduce LaTeX::TikZ::Set::Arc
Vincent Pit [Wed, 21 Jul 2010 14:12:20 +0000 (16:12 +0200)]
Test fill mods covering
Vincent Pit [Wed, 21 Jul 2010 13:21:55 +0000 (15:21 +0200)]
Test rectangle and circle clips covering
Vincent Pit [Wed, 21 Jul 2010 13:10:25 +0000 (15:10 +0200)]
Make Set::Point delegates ->x and ->y to the underlying point
Vincent Pit [Wed, 21 Jul 2010 13:09:35 +0000 (15:09 +0200)]
Allow a bare Tikz->point for 0
Vincent Pit [Wed, 21 Jul 2010 12:47:03 +0000 (14:47 +0200)]
Introduce LaTeX::TikZ::Set::Polyline
Vincent Pit [Wed, 21 Jul 2010 10:36:58 +0000 (12:36 +0200)]
Test geometrical sets
Vincent Pit [Wed, 21 Jul 2010 10:36:30 +0000 (12:36 +0200)]
Fix Rectangle constructor arguments
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
Vincent Pit [Wed, 21 Jul 2010 10:33:43 +0000 (12:33 +0200)]
Coerce Points into Set::Points
Vincent Pit [Wed, 21 Jul 2010 10:32:21 +0000 (12:32 +0200)]
Make the formatter autocoerce the origin
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.
Vincent Pit [Tue, 20 Jul 2010 19:50:41 +0000 (21:50 +0200)]
Coerce points from common types
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.
Vincent Pit [Mon, 19 Jul 2010 12:16:28 +0000 (14:16 +0200)]
Rename L::T::API to ::Interface
Vincent Pit [Mon, 19 Jul 2010 09:54:55 +0000 (11:54 +0200)]
Test mod/clip/layer folding
Vincent Pit [Sun, 18 Jul 2010 23:29:08 +0000 (01:29 +0200)]
More layer mod folding tests
Vincent Pit [Sun, 18 Jul 2010 23:07:24 +0000 (01:07 +0200)]
Test clips
Vincent Pit [Sun, 18 Jul 2010 23:06:19 +0000 (01:06 +0200)]
Make sure Set->mod only accepts mods
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.
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.