Debian Codegraph @

Changes

raw
1 Revision history for HTML-Truncate
2
3 0.20 20090713
4 - Normalized test names to hyphen from underscore.
5 - Patch from the omnipresent t0m to fix TT2 recipe.
6
7 0.19 20090512
8 - Fixed Pod typos.
9
10 0.18 20090509
11 - Fixed broken README.
12
13 0.17 20090509
14 - Really been a year...?
15 - Typo in Pod.
16 - Autogenerate README.
17 - Bug in Pod showing utf8 => 1 setting.
18 - Fixed bad optimization in filter recipe.
19 - Fixed char counting problem I discovered while testing.
20 - Fixed standalone tag -- e.g., br -- close bug with repair.
21 - Might have made visual spacing counting more robust.
22
23 0.16 20080529
24 - Updated Pod a bit.
25
26 0.15 20080529
27 - Was considering trying to work around 5.6's utf8 issues but
28 it's not in the cards right now and I'd rather have a module
29 passing all its tests so, 5.8 or better required now.
30 Leaving skips in truncate_html.t in case I ever do it.
31
32 0.14 20080529
33 - Put in skips for tests involving utf8_mode and perl less
34 than 5.8.
35 - Put Encode into test reqs and put File::Spec version.
36
37 0.13 20080529
38 - Fixed my build to remove META.yml, 0.12 had the file from
39 0.11.
40 - Reorganized tests with /xt; pod-coverage, perlcritic, etc.
41 - Cleaned up Pod.
42 - Put license in Makefile explicitly.
43
44 0.12 20080528
45 - Discoered it didn't work nearly as well (regarding counting
46 of "visible" output as I thought so I rewrote it. Three
47 times actually but ended up with something similar to the
48 original in the end, mostly because, bizarrely,
49 HTML::TreeBuilder does not make text into nodes. This makes
50 the module half useless. If it only did that, it would
51 simple to have redone this module with it in a bombproof
52 way. I considered redoing it with XML::LibXML to achieve the
53 same thing and might add that in eventually with an "eval
54 require" kind of check.
55 - Added some accounting for <pre/> tags to be taken literally.
56 - Lorenzo Iannuzzi suggested a way to clip to word-ish
57 boundaries instead of truncating leaving hanging space. I
58 already do something similar in TT2 so I kept his as
59 on_space() and mine as cleanly(), which can accept a regex
60 if you know how you want to handle it better than the
61 default.
62 - Took out style setting, it was pointless, goofy, and
63 antithetical to the point of the module.
64 - Was going to take out "beta" notice - but rewrote too much
65 of it to do so.
66 - Moved to Module::Install.
67 - Noticed the utf8 ellipsis is tripping up perl 5.6. But I
68 don't want to put a prereq in... maybe skip that test for
69 that version.
70 - Several new tests.
71 - Pod clean up, mild reorg.
72
73 0.11 200607
74 - kevinr: Added the 'repair' option, allowing you to tell
75 HTML::Truncate to close unmatched open tags and discard
76 unmatched close tags, with Pod and tests.
77 - Added HTML::Tagset to prereqs; it's not used directly but
78 caused an error on my clean perl install.
79 - Fixed a couple of Pod spelling errors and typos.
80
81 0.10 20060304 1750
82 - Updated "alpha" --> "beta" in README.
83 - Removed .cvsignore from MANIFEST and put in MANIFEST.skip.
84 - Added TT recipe to Pod.
85
86 0.09 20060304 1247
87 - Ryo Okamoto reported two bugs (object needs its renewed text
88 reset per truncate call and pointed out that the chars vs
89 percent wasn't clear enough or bomb-proof). Also suggested
90 different behavior for dropping trailing tags if they've
91 lost their content (i.e., dropping the <b>\Z instead of
92 doing <b>...</b>).
93 - So calls to chars() now clears the percent() and vice versa.
94 - New test file "countdown" from Ryo Okamoto added.
95 - Pod updates to reflect changes.
96 - Took out defined check on chars. Zero should not be allowed.
97 - Added an "if" clause to the length padding check.
98 - Returning undef if percent() is called when it's unset and
99 not being set.
100
101 0.08 20060228 1622
102 - Fixed year in Change entry below (from 2003).
103 - Fixed percent to not allow a 0%.
104 - Fixed percent bug -- if it was loaded up front instead of in
105 the truncate() call, it was being silently dropped for the
106 default 100 chars.
107 - Made test path agnostic with File::Spec. Added to build
108 prereqs.
109 - Fixed bug with default percent being English instead of
110 decimal; shouldn't be there at all.
111 - Calling it beta now that the known bugs are out; couple
112 other Pod tweaks.
113
114 0.07 20060228 1130
115 - Added embed to skip tags.
116
117 0.06 20060101 0152
118 - Moved the 'ellipsis' to the end of the close tags; it's a
119 compromise but t'is for the best.
120 - And moved it back out. Bad compromise. Needs to have a tree
121 logic to decide if it should go inside the last block level
122 tag or not at all.
123 - Added <area /> to stand alone tags.
124 - Put in a more helpful "<open> closed by </close> near 'LAST
125 15 CHARS IN WHAT'S BEEN CLEANED'" for the malformed croak().
126 - Snip trailing whitespace off cleaned text; gets "This..."
127 instead of "That ..."
128
129 0.05 20051228 0050
130 - No surface changes.
131 - Added 'object' to default skip tags.
132 - _count_visual_chars.
133 - Put in a few points of attention for installing callbacks
134 over skip tags and a dummy sub{} for img tags.
135
136 0.04 20051222
137 - Couple Pod typos/sync-problems fixed.
138 - Another Pod typo in Synopsis fixed per Terrence Brannon.
139 - Added synopsis.t to avoid the same type of problem creeping back.
140
141 0.03 20051222 1532
142 - Added dont_skip_tags and add_skip_tags (not in tests yet).
143 - Built out Pod a bit more.
144 - Corrected a couple typos below in this document.
145
146 0.02 20051222 1325
147 - Took out the non-functional functional part at the sober
148 suggestion of Mark Stosberg.
149 - Built up Pod a bit; note about XHTML-esque input requirement.
150 - Moved stand alone and skip tags into object.
151
152 0.01 20051222 0114
153 - Alpha release; missing functionality, documentation, and tests.
154 - Basic OO interface seems to be working correctly.
155