]> git.vpit.fr Git - perl/modules/LaTeX-TikZ.git/log
perl/modules/LaTeX-TikZ.git
13 years agoIntroduce the ->begin and ->end path methods
Vincent Pit [Mon, 31 Jan 2011 15:38:45 +0000 (16:38 +0100)]
Introduce the ->begin and ->end path methods

13 years agoIntroduce LaTeX::TikZ::Set::Chain
Vincent Pit [Mon, 31 Jan 2011 12:50:26 +0000 (13:50 +0100)]
Introduce LaTeX::TikZ::Set::Chain

13 years agoRename LT::Set::Mutable to ::Container
Vincent Pit [Thu, 27 Jan 2011 14:26:47 +0000 (15:26 +0100)]
Rename LT::Set::Mutable to ::Container

And makes it require kids().

13 years agoMake LT::Set::Path the base role, remove ::Op, and rename the old ::Path to ::Union
Vincent Pit [Thu, 27 Jan 2011 14:01:07 +0000 (15:01 +0100)]
Make LT::Set::Path the base role, remove ::Op, and rename the old ::Path to ::Union

13 years agoSwitch to qw<>
Vincent Pit [Mon, 20 Dec 2010 23:23:38 +0000 (00:23 +0100)]
Switch to qw<>

13 years agoDon't import anything from Carp into LaTeX::TikZ::Set::Arrow
Vincent Pit [Mon, 6 Dec 2010 15:47:31 +0000 (16:47 +0100)]
Don't import anything from Carp into LaTeX::TikZ::Set::Arrow

13 years agoSanitize LaTeX::TikZ::Set::{layer,clip}
Vincent Pit [Mon, 6 Dec 2010 13:08:08 +0000 (14:08 +0100)]
Sanitize LaTeX::TikZ::Set::{layer,clip}

14 years agoSimplify the layer application logic
Vincent Pit [Fri, 26 Nov 2010 13:43:58 +0000 (14:43 +0100)]
Simplify the layer application logic

14 years agoFactor the check() test function in an helper test module
Vincent Pit [Fri, 26 Nov 2010 13:21:16 +0000 (14:21 +0100)]
Factor the check() test function in an helper test module

14 years agoFix drawing empty sequences
Vincent Pit [Wed, 27 Oct 2010 22:36:44 +0000 (00:36 +0200)]
Fix drawing empty sequences

14 years agoComplete LaTeX::TikZ::Tools documentation
Vincent Pit [Mon, 25 Oct 2010 10:08:47 +0000 (12:08 +0200)]
Complete LaTeX::TikZ::Tools documentation

14 years agoFix ->content description of raw mods and sets
Vincent Pit [Mon, 25 Oct 2010 09:55:02 +0000 (11:55 +0200)]
Fix ->content description of raw mods and sets

14 years agoPOD typo
Vincent Pit [Sat, 16 Oct 2010 22:37:55 +0000 (00:37 +0200)]
POD typo

14 years agoInsert rules after all their subrules and before all their superrules
Vincent Pit [Wed, 6 Oct 2010 00:24:00 +0000 (02:24 +0200)]
Insert rules after all their subrules and before all their superrules

14 years agoIgnore MYMETA.yml
Vincent Pit [Tue, 5 Oct 2010 22:56:00 +0000 (00:56 +0200)]
Ignore MYMETA.yml

14 years agoBump Mouse dependency
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.

14 years agoFix and test parent validation in LT::Meta::TC::Autocoerce
Vincent Pit [Sun, 22 Aug 2010 13:54:23 +0000 (15:54 +0200)]
Fix and test parent validation in LT::Meta::TC::Autocoerce

14 years agoLaTeX::TikZ::Tools::type_constraint shouldn't croak when it can't find the .pm file
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

14 years agoRevamp a sentence in LT::Meta::TC::Autocoerce's description
Vincent Pit [Sun, 15 Aug 2010 16:37:10 +0000 (18:37 +0200)]
Revamp a sentence in LT::Meta::TC::Autocoerce's description

14 years agoDocument the return value of LT::Functor::Rule::insert
Vincent Pit [Sun, 15 Aug 2010 16:32:00 +0000 (18:32 +0200)]
Document the return value of LT::Functor::Rule::insert

14 years agoRemove some unused variables
Vincent Pit [Sun, 15 Aug 2010 16:31:39 +0000 (18:31 +0200)]
Remove some unused variables

14 years agoDon't undef the $rule in LT::Functor::Rule::insert
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.

14 years agoPrevent some "uninitialized" warnings when pruning a rule list
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.

14 years agoRewrite functors description
Vincent Pit [Sun, 15 Aug 2010 16:15:12 +0000 (18:15 +0200)]
Rewrite functors description

14 years agoThis is 0.02 v0.02
Vincent Pit [Mon, 2 Aug 2010 13:01:04 +0000 (15:01 +0200)]
This is 0.02

14 years agoComplete doc for LT::Meta::TC::Autocoerce
Vincent Pit [Mon, 2 Aug 2010 12:41:39 +0000 (14:41 +0200)]
Complete doc for LT::Meta::TC::Autocoerce

14 years agoRequire the mapper attribute
Vincent Pit [Mon, 2 Aug 2010 10:02:05 +0000 (12:02 +0200)]
Require the mapper attribute

14 years agoAllow returning undef from the autocoercion mapper
Vincent Pit [Mon, 2 Aug 2010 09:59:09 +0000 (11:59 +0200)]
Allow returning undef from the autocoercion mapper

14 years agoDon't try to load the autocoercion package when calling ->check
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.

14 years agoLocalize the die handler when requiring for autocoercion
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.

14 years agoReplace LaTeX::TikZ::Set::Path::Elements by LaTeX::TikZ::Set::Op
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.

14 years agoRename LT::Mod->cover to ->covers
Vincent Pit [Sun, 1 Aug 2010 22:10:24 +0000 (00:10 +0200)]
Rename LT::Mod->cover to ->covers

14 years agoBump the default space width of patterns to 10
Vincent Pit [Sun, 1 Aug 2010 21:56:50 +0000 (23:56 +0200)]
Bump the default space width of patterns to 10

14 years agoEnable taint mode for the functor test
Vincent Pit [Sun, 1 Aug 2010 21:48:44 +0000 (23:48 +0200)]
Enable taint mode for the functor test

14 years agoMore docs for LT::Functor/LT::Functor::Rule
Vincent Pit [Sun, 1 Aug 2010 21:02:42 +0000 (23:02 +0200)]
More docs for LT::Functor/LT::Functor::Rule

14 years agoLT::Functor: compare sets with numeric equality
Vincent Pit [Sun, 1 Aug 2010 20:35:33 +0000 (22:35 +0200)]
LT::Functor: compare sets with numeric equality

14 years agoLT::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: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

14 years agoMove most of the functor logic into a new LT::Functor::Role class
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

14 years agoMore typos in POD
Vincent Pit [Sun, 1 Aug 2010 18:39:20 +0000 (20:39 +0200)]
More typos in POD

14 years agoSmall doc clarification in LT::Functor
Vincent Pit [Sun, 1 Aug 2010 16:16:24 +0000 (18:16 +0200)]
Small doc clarification in LT::Functor

14 years agoIn LaTeX::TikZ::Functor, move ->default_rule after ->new
Vincent Pit [Sun, 1 Aug 2010 16:14:00 +0000 (18:14 +0200)]
In LaTeX::TikZ::Functor, move ->default_rule after ->new

14 years agoFunctors overhaul
Vincent Pit [Sun, 1 Aug 2010 16:13:01 +0000 (18:13 +0200)]
Functors overhaul

14 years agoDocument the Set/Set::Op roles
Vincent Pit [Sun, 1 Aug 2010 13:13:50 +0000 (15:13 +0200)]
Document the Set/Set::Op roles

14 years agoFix cover for Mod::Pattern and Mod::Raw
Vincent Pit [Sun, 1 Aug 2010 13:06:10 +0000 (15:06 +0200)]
Fix cover for Mod::Pattern and Mod::Raw

14 years agoDocument the Mod role
Vincent Pit [Sun, 1 Aug 2010 13:05:43 +0000 (15:05 +0200)]
Document the Mod role

14 years agoBump perl dependency to 5.8
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.

14 years agoTest autocoercion
Vincent Pit [Sat, 31 Jul 2010 13:46:44 +0000 (15:46 +0200)]
Test autocoercion

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