John Napiorkowski [Fri, 15 May 2015 18:59:08 +0000]
getting things synced up for a release
Simon Elliott [Mon, 10 Mar 2014 17:50:37 +0000]
merge
John Napiorkowski [Tue, 25 Feb 2014 15:12:01 +0000]
replace Makefile.PL with dist.ini
Simon Elliott [Thu, 28 Feb 2013 12:32:16 +0000]
dev version
Simon Elliott [Thu, 28 Feb 2013 12:20:53 +0000]
bump version
Simon Elliott [Thu, 28 Feb 2013 12:18:17 +0000]
patches from rt
Simon Elliott [Sun, 24 Feb 2013 17:58:28 +0000]
clean up error
Simon Elliott [Wed, 20 Feb 2013 14:51:20 +0000]
update version
Simon Elliott [Wed, 20 Feb 2013 14:23:31 +0000]
disable broken test
Simon Elliott [Sat, 4 Jun 2011 15:25:02 +0000]
improvement
Simon Elliott [Sat, 4 Jun 2011 14:17:52 +0000]
ignore if attr doesn't exist.
Simon Elliott [Sat, 4 Jun 2011 12:24:43 +0000]
merge helpers
add remove_from_attribute to make remove_class actually do what it's supposed to.
Simon Elliott [Fri, 20 May 2011 21:56:58 +0000]
update docs
Simon Elliott [Fri, 20 May 2011 19:57:32 +0000]
update docs.
Simon Elliott [Fri, 20 May 2011 19:50:48 +0000]
another test
Simon Elliott [Fri, 20 May 2011 17:48:12 +0000]
some simple shorthand helpers.
add_class
remove_class
set_class
set_id
Simon Elliott [Fri, 20 May 2011 09:33:10 +0000]
test for hashref support on codestream
Simon Elliott [Fri, 20 May 2011 09:30:11 +0000]
add DESTROY methods to fix 5.14 noticing them being missing.
Simon Elliott [Thu, 19 May 2011 17:23:07 +0000]
also work in streambase
Simon Elliott [Thu, 19 May 2011 16:32:52 +0000]
additional test
Simon Elliott [Thu, 19 May 2011 16:23:44 +0000]
Support for hashref in AUTOLOADed methods i.e
$z->repeat_content({
div => ['foo'],
span => ['bar'],
})
Matt S Trout [Mon, 18 Mar 2013 15:42:57 +0000]
add comment to tell people to stop being scared of the parser
Simon Elliott [Thu, 28 Feb 2013 12:32:16 +0000]
dev version
Simon Elliott [Thu, 28 Feb 2013 12:26:25 +0000]
merge
Simon Elliott [Thu, 28 Feb 2013 12:20:53 +0000]
bump version
Simon Elliott [Thu, 28 Feb 2013 12:18:17 +0000]
patches from rt
Simon Elliott [Sun, 24 Feb 2013 17:59:13 +0000]
name
Simon Elliott [Sun, 24 Feb 2013 17:58:28 +0000]
clean up error
Simon Elliott [Wed, 20 Feb 2013 14:51:45 +0000]
merge
Simon Elliott [Wed, 20 Feb 2013 14:51:20 +0000]
update version
Simon Elliott [Wed, 20 Feb 2013 14:23:31 +0000]
disable broken test
David Dorward [Wed, 21 Dec 2011 18:07:54 +0000]
Add tests for parsing sections of HTML defined as containing CDATA.
Matt S Trout [Mon, 25 Jul 2011 04:21:10 +0000]
add auto-fetch code for Distar
Simon Elliott [Mon, 13 Jun 2011 12:23:55 +0000]
Merge branch 'master' of git.shadowcat.co.uk:HTML-Zoom
Simon Elliott [Mon, 13 Jun 2011 12:23:44 +0000]
test for collect on void element
Florian Ragwitz [Fri, 10 Jun 2011 20:20:22 +0000]
Failing test for mixed-case attr name matching
Simon Elliott [Thu, 9 Jun 2011 16:31:43 +0000]
(with skip)
Simon Elliott [Thu, 9 Jun 2011 16:30:26 +0000]
remove bad test add good one
Simon Elliott [Thu, 9 Jun 2011 15:54:49 +0000]
apply_if doc
Simon Elliott [Thu, 9 Jun 2011 14:20:37 +0000]
tests for issues with void elements.
Simon Elliott [Sat, 4 Jun 2011 15:25:02 +0000]
improvement
Simon Elliott [Sat, 4 Jun 2011 14:17:52 +0000]
ignore if attr doesn't exist.
Simon Elliott [Sat, 4 Jun 2011 12:24:43 +0000]
merge helpers
add remove_from_attribute to make remove_class actually do what it's supposed to.
Simon Elliott [Sat, 4 Jun 2011 11:43:45 +0000]
merge helpers
Simon Elliott [Tue, 31 May 2011 10:43:58 +0000]
doc from_events.
Simon Elliott [Fri, 20 May 2011 21:56:58 +0000]
update docs
Simon Elliott [Fri, 20 May 2011 19:57:32 +0000]
update docs.
Simon Elliott [Fri, 20 May 2011 19:50:48 +0000]
another test
Simon Elliott [Fri, 20 May 2011 19:44:16 +0000]
support for hashref in set_attribute + add_to_attribute
Simon Elliott [Fri, 20 May 2011 18:00:06 +0000]
die instead
Simon Elliott [Fri, 20 May 2011 17:59:59 +0000]
deprecate long form args
Simon Elliott [Fri, 20 May 2011 17:48:12 +0000]
some simple shorthand helpers.
add_class
remove_class
set_class
set_id
Florian Ragwitz [Fri, 20 May 2011 10:34:27 +0000]
Version 0.009006
Simon Elliott [Fri, 20 May 2011 10:21:16 +0000]
add DESTROY methods to placate perl >= 5.13.1
Simon Elliott [Fri, 20 May 2011 09:33:10 +0000]
test for hashref support on codestream
Simon Elliott [Fri, 20 May 2011 09:30:11 +0000]
add DESTROY methods to fix 5.14 noticing them being missing.
Simon Elliott [Thu, 19 May 2011 17:23:07 +0000]
also work in streambase
Simon Elliott [Thu, 19 May 2011 16:32:52 +0000]
additional test
Simon Elliott [Thu, 19 May 2011 16:23:44 +0000]
Support for hashref in AUTOLOADed methods i.e
$z->repeat_content({
div => ['foo'],
span => ['bar'],
})
Florian Ragwitz [Thu, 12 May 2011 16:50:53 +0000]
Version 0.009005
Florian Ragwitz [Thu, 12 May 2011 16:50:24 +0000]
Delete hatespace
Florian Ragwitz [Thu, 5 May 2011 11:10:31 +0000]
- Add a failing test for meta chars in selectors
- Parse meta-characters in selectors
- Failing test for escaped dots in class selectors
- Unescape meta characters in css selectors
- Only unescape meta characters
- Updated Changes file
John Napiorkowski [Fri, 22 Apr 2011 17:35:44 +0000]
dwim selects and bugfixes, new transform_attribute method and handled trailing '/' in tags better
updated changes
Matt S Trout [Sat, 30 Apr 2011 10:35:15 +0000]
Changes entry for transform_attribute
Robert Buels [Sun, 10 Apr 2011 23:30:34 +0000]
add transform_attribute, which runs a coderef on the value of an attribute, and can either add or delete the attribute as well
Matt S Trout [Thu, 24 Feb 2011 20:30:33 +0000]
reformat Changes
Add spaces in front of changes entries to bring them in line with the
rest of my projects
Matt S Trout [Thu, 24 Feb 2011 20:10:16 +0000]
add / to excluded characters in attribute names to correctly parse <br/> etc.
for <br/>, the '/' was being interpreted as the attribute string so
$in_place_close wasn't being set. Adding / to the exclusion list fixes this.
Matt S Trout [Thu, 24 Feb 2011 20:07:52 +0000]
delete t/bugs/void_element.t - invalid test
This test file attempts to verify behaviour where tags are not closed; while
Zoom is designed primarily for HTML it specialises in XHTMLish HTML and as such
I don't really see a need to make this work.
If we were to support mangled HTML, we'd probably want to sit down and think
seriously about what rules to provide - we could inject missing close tag
events but I suspect that would require some bookkeeping to do sensibly.
Matt S Trout [Mon, 14 Feb 2011 22:09:49 +0000]
Release commit for 0.009004
Matt S Trout [Mon, 14 Feb 2011 22:02:42 +0000]
more Changes cleanup
Matt S Trout [Mon, 14 Feb 2011 21:34:57 +0000]
clean up POD
Matt S Trout [Mon, 14 Feb 2011 21:34:39 +0000]
recursive testing, fixup prereqs
Matt S Trout [Mon, 14 Feb 2011 21:29:16 +0000]
todo bug tests
Matt S Trout [Mon, 14 Feb 2011 21:29:08 +0000]
cleanup Changes formatting
Matt S Trout [Mon, 14 Feb 2011 19:49:28 +0000]
Module::Install -> Distar
Matt S Trout [Mon, 14 Feb 2011 19:11:04 +0000]
fix bug where first event isn't passed to filter during collect w/out inside
Matt S Trout [Mon, 14 Feb 2011 19:05:04 +0000]
add strictures commit (out of order)
Simon Elliott [Mon, 31 Jan 2011 16:34:44 +0000]
Merge branch 'master' of git://git.shadowcat.co.uk/catagits/HTML-Zoom
Oliver Charles [Fri, 28 Jan 2011 15:33:55 +0000]
Added apply_if to only run an apply block if a predicate is true
Jakub Narebski [Mon, 24 Jan 2011 20:02:39 +0000]
Merge branch 'documentation'
Jakub Narebski [Mon, 24 Jan 2011 13:27:34 +0000]
Documenting HTML::Zoom::FilterBuilder further
Only prepend_contents and append_contents are not documented at all.
Note also that documentation migh not fit actual current behavior!!!
Jakub Narebski [Mon, 24 Jan 2011 12:44:31 +0000]
HTML::Zoom::FilterBuilder: =head2 sections should not contain args
The reason for this is being able to link to <manpage>#set_attribute
via L</set_attribute> or L<HTML::Zoom::FilterBuilder/set_attribute>.
Requested-by: Matt S Trout <mst@shadowcat.co.uk>
Jakub Narebski [Mon, 24 Jan 2011 12:04:33 +0000]
Improve [attr~="value"] selector (attribute contains word)
Instead of first splitting attribute value into words, and then
checking that one of words is equal to given value
grep { $_ eq $value } split ' ', $attr;
use regexp anchored to words boundary for word matching
/\b\Q$value\E\b/
Strictly speaking it makes [attr=~"value"] selector not conformant to
CSS2+ specification, but it shouldn't matter in real life. See
http://www.w3.org/TR/CSS2/selector.html#attribute-selectors
[att~=val]
[..] If "val" contains white space, it will never represent anything
(since the words are separated by spaces). If "val" is the empty
string, it will never represent anything either.
Suggested-by: Matt S Trout <mst@shadowcat.co.uk>
Jakub Narebski [Mon, 10 Jan 2011 13:35:06 +0000]
Add test for 'flush_before' option
'flush_before' is actually option to ->collect() filter, which
underlies the ->replace() and ->repeat() filters.
Working version of example code from HTML::Zoom manpage (search for
'flush_before') is used in this test.
Jakub Narebski [Sun, 9 Jan 2011 13:59:44 +0000]
Add indirect test of '*' all match selector
Jakub Narebski [Sun, 9 Jan 2011 13:27:44 +0000]
Add support for [attr|="value"] selector (prefix selector)
http://www.w3.org/TR/css3-selectors/#attribute-selectors
http://www.w3.org/TR/CSS2/selector.html#attribute-selectors
http://api.jquery.com/attribute-contains-prefix-selector/
Description: Selects elements that have the specified attribute with
a value either equal to a given string or starting with that string
followed by a hyphen (-).
This selector was introduced into the CSS specification to handle
language attributes.
Note that this selector is primarily intended to allow language
subcode matches (e.g., the `hreflang` attribute on the <a> element in
HTML; for `lang` or `xml:lang` attribute there is `:lang`
pseudo-class selector).
Jakub Narebski [Sun, 9 Jan 2011 13:09:20 +0000]
Add support for [attr!="value"] selector (attribute not equal)
http://api.jquery.com/attribute-not-equal-selector/
Description: Select elements that either don't have the specified
attribute, or do have the specified attribute but not with a certain
value.
This selector is equivalent to :not([attr="value"]).
Jakub Narebski [Sun, 9 Jan 2011 12:44:11 +0000]
Turn pod-ed out failing tests in t/selector.t into todo tests
Descendant selectors ('elem1 elem2') doesn't work yet. The code was
"commented out"; turn it into TODO tests, taking into account the fact
that HTML::Zoom::SelectorBuilder dies on selectors it doesn't support.
While at if fix typo in failing test.
Jakub Narebski [Sun, 9 Jan 2011 12:31:36 +0000]
Add support for [attr~="value"] selector (attribute contains word)
http://www.w3.org/TR/CSS2/selector.html#attribute-selectors
http://api.jquery.com/attribute-contains-word-selector/
This selector matches the test string against each word in the
attribute value, where a "word" is defined as a string delimited by
whitespace. The selector matches if the test string is exactly equal
to any of the words.
Simon Elliott [Wed, 17 Nov 2010 10:22:41 +0000]
test for broken void elements
Joe Higton [Sat, 16 Oct 2010 23:41:28 +0000]
Added test to demonstrate bug
Joe Higton [Wed, 13 Oct 2010 07:33:41 +0000]
Catch unmatched "[" in selector parser with a helpful error
Matt S Trout [Tue, 12 Oct 2010 15:48:42 +0000]
debugging code
Joe Higton [Mon, 11 Oct 2010 16:54:19 +0000]
Change log for the next release (first attempt)
Joe Higton [Mon, 11 Oct 2010 16:08:36 +0000]
Test to show bad error message on malformed selector
Matt S Trout [Sun, 10 Oct 2010 18:56:56 +0000]
make FilterStream and MappedStream sensitive to being peeked so they peek the next stream up instead of next-ing it
Matt S Trout [Sun, 10 Oct 2010 09:04:34 +0000]
mark todo-repeat.t as broken to prevent test fails
Matt S Trout [Sun, 10 Oct 2010 09:00:33 +0000]
fixup todo-forms.t and rename to forms.t (now works)
Matt S Trout [Sun, 10 Oct 2010 08:53:46 +0000]
rename span from todo since it now works
John Napiorkowski [Mon, 4 Oct 2010 16:17:48 +0000]
trying to make the documentation a little more straightforward to setup