forked from racke/Template-Flute
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChanges
409 lines (248 loc) · 10.7 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
Revision history for Template::Flute
0.0080 Wed Nov 20 13:40:31 2013 CET
[ENHANCEMENTS]
* Support for nested lists (Grega Pompe).
[TESTS]
* Remove tests based on Config::Scoped from list separator tests.
0.0066 Tue Sep 17 09:35:22 2013 CEST
[BUG FIXES]
* Fix append operation on element text within lists.
[DOCUMENTATION]
* Add section about "Simple operators" to the documentation.
[TESTS]
* Add test for append operation on element text within lists.
0.0065 Thu Sep 12 21:44:47 2013 CEST
[BUG FIXES]
* Reset iterator after using it for a dropdown to allow multiple elements sharing the same iterator.
[DOCUMENTATION]
* Fix wrong specification in first example of the description
(GH #12, Grega Pompe).
0.0064 Fri Aug 16 12:31:54 2013 CEST
[BUG FIXES]
* Fix spurious joiner added regardless whether append value is empty or not.
* Add support for auto_iterators to values.
[TESTS]
* Add tests for checkboxes.
* Add tests for HTML entities and XML::Twig version (Marco Pessotto).
* Add test with nested <span> as param in a list.
* Add tests for append operations on value elements using joiner.
0.0063 Wed Jun 12 14:57:48 2013 CEST
[BUG FIXES]
* Pass through filters setting to included templates.
[DOCUMENTATION]
* Add documentation about dropdowns.
* Add section about inserting html to the documentation.
[TESTS]
* Add dropdown (select) tests for values.
0.0062 Sat May 25 19:56:51 2013 CEST
[BUG FIXES]
* Fix bug causing problems with container values sharing HTML element
through ID with container.
* Execute POD tests only for release testing (GH #3).
[DOCUMENTATION]
* Add example for "Display image only if present" to documentation.
* Add example for "Display link in a list only if present" to documentation.
* Fix example in Template::Flute::Filters::JsonVar module.
[TESTS]
* Add test for UTF-8 string in values hash.
0.0061 Sun Jan 27 11:25:30 2013 CET
[BUG FIXES]
* Fix json_var filter by using JSON module.
0.0060 Thu Jan 24 14:30:26 2013 CET
[BUG FIXES]
* Ensure that a formerly cut element is pasted back only when a
parent element is present for the previous sibling.
* Fix toggle operation on value elements.
* Fix crash "Unexpected element left on stash: field" caused by sort element.
[ENHANCEMENTS]
* Add support for chained filters.
* Add json_var filter.
* Add strip filter.
* Add strict option to date filter.
* Apply toggle operation to params without target as well.
* Add paging elements.
* Allow deeper lookups into values hash with dotted values for field attribute.
0.0052 Tue Sep 4 20:08:34 2012 CEST
[BUG FIXES]
* Fix append operation without target on value elements.
0.0051 Thu Jul 19 15:28:09 2012 CEST
[BUG FIXES]
* Exclude Moo method BUILDARGS from POD coverage test.
0.0050 Tue Jul 17 19:10:39 2012 CEST
[ENHANCEMENTS]
* Add paginator class.
* Skip translation of HTML script elements.
* Remove surrounding whitespace from text before passing to translation.
* Add country name filter.
[DOCUMENTATION]
* Add example for using increments.
* Expand name and description section for currency filter.
[TESTS]
* Add basic test for list increments.
* Add basic tests for values and list params.
0.0040 Wed Jun 6 18:25:28 2012 CEST
[ENHANCEMENTS]
* Add language name filter.
* Add support for flat trees.
[BUG FIXES]
* Prevent Perl warning on undefined values for append operation.
* Fix design flaw in filtering where twig method isn't called on second
usage of a filter.
* Reset twig handler variable to prevent filtering of unrelated elements.
[DOCUMENTATION]
* Add documentation of format option to POD for date filter class.
0.0030 Thu May 10 08:48:01 2012 CEST
[ENHANCEMENTS]
* Add toggle tree suboperation.
* Add support for sorting to Template::Flute::Iterator.
* Add asterisk selector to JSON iterator.
[BUG FIXES]
* Fix sharing elements between container and value when using class and id.
[DOCUMENTATION]
* Add documentation for param elements and filter attribute.
0.0025 Wed Mar 14 14:39:21 2012 CET
[BUG FIXES]
* Remove static class from first list element.
[DOCUMENTATION]
* Add documentation for param elements and filter attribute.
* Add append operation for values.
* Fix documentation of Template::Flute::HTML's values method.
[TESTS]
* Add test for European style of price display.
0.0024 Mon Dec 19 11:53:16 2011 CET
[ENHANCEMENTS]
* Add link attribute to form specification element.
0.0023 Fri Dec 16 16:40:26 2011 CET
[ENHANCEMENTS]
* Recognize containers through id attribute.
* Allow container values to share the same HTML element with the
container.
* Use subtree of JSON as iterator through selector and children
parameters.
* Add joiner attribute to param element.
[BUG FIXES]
* Fix alternate classes to append rather than replace list class.
0.0022 Mon Nov 14 08:35:40 2011 CET
[BUG FIXES]
* Use standard locale for currency filter test.
0.0021 Thu Nov 10 18:36:22 2011 CET
[BUG FIXES]
* Add check for DateTime::Format::ISO8601 module to date filter test.
[DOCUMENTATION]
* Add documentation on filter prerequisites.
0.0020 Thu Nov 3 23:32:33 2011 CET
[ENHANCEMENTS]
* Allow filter options to be passed in the constructor.
* Add filter base class and loader for filter classes.
* Add currency, date, eol, nobreak_single and upper filter.
* Add foo|!bar and foo&!bar to the possible expressions for container visibility.
* Add separator element for lists.
[BUG FIXES]
* Fix replacement for value elements with op append.
* Pass through auto_iterators setting to included templates.
* Prevent Perl warning on undefined values for value elements.
* Add output_html_doctype to XML::Twig constructor for upcoming XML::Twig release.
[TESTS]
* Add form name test.
[DOCUMENTATION]
* Expand Template::Flute's POD on specification, template, forms and lists.
0.0011 Thu Aug 25 10:33:21 2011 CEST
[BUG FIXES]
* Remove all of multiple invisible containers from the HTML output.
0.0010 Fri Jul 1 15:33:01 2011 CEST
[ENHANCEMENTS]
* Add include feature.
* Add expression feature for containers which offers a better control
on their visibility (e.g. container value="warnings|errors" for
message areas)
[BUG FIXES]
* Fix crash on i18n elements with key attribute.
* Prevent warning on i18n elements without name attribute.
* Clean up added i18n-key HTML attributes after translation has
been finished.
[TESTS]
* Add test for i18n elements with key attribute.
0.0009 Tue Jun 21 14:24:57 2011 CEST
[ENHANCEMENTS]
* Add lookup into object attributes for list iterators in case
specification is passed as object.
* Add support for checkboxes to Template::Flute::Form's fill method.
[BUG FIXES]
* Let HTML templates handled by File::Slurp and the encoding
determined by the specification.
* Turn second bless in Template::Flute's constructor into a
simple return.
[DOCUMENTATION]
* Add documentation about iterators parameter for Template::Flute's
constructor.
0.0008 Tue May 31 21:56:38 2011 CEST
[ENHANCEMENTS]
* Add keep attribute to field element with possible value "empty_value"
to preserve HTML option tags with empty value.
* Add support for auto_iterators to forms.
* Add iterators method to Template::Flute::Form class.
[BUG FIXES]
* Prevent warning caused by undefined value in Template::Flute::Form's
fill method.
* Accept 0 as value for list inputs.
* Prevent crashes from parsing empty strings for the hook operator.
* Prevent warning caused by undefined $value in Template::Flute::HTML's
set_selected method.
* Prevent warning caused by undefined $rep_str in Template::Flute's
_replace_within_elts method.
[TESTS]
* Add test for select tags inside forms.
0.0007 Fri Apr 22 10:47:36 2011 CEST
[API CHANGES]
* Renamed Template::Flute::Specification method element_by_class
to elements_by_class to match the changed return value.
[ENHANCEMENTS]
* Allows two elements like params or values to tie to the same class.
* Enable passing specification and/or template as string to the
Template::Flute constructor.
* Add support for field attribute to value element.
[TESTS]
* Add tests for HTML attribute targets and Template::Flute::I18N class.
* Add test for textarea in forms.
[DOCUMENTATION]
* Add "SYNOPSIS" section to POD for Template::Flute::I18N class.
0.0006 Sun Apr 3 07:09:34 2011 CEST
[BUG FIXES]
* Declare dependency on HTML::TreeBuilder.
0.0005 Fri Apr 1 17:35:30 2011 CEST
[ENHANCEMENTS]
* Accept full parameter in Template::Flute::Utils::derive_filename function.
This is useful to resolve relative paths, e.g for images in a HTML document.
Also add test for this function.
[BUG FIXES]
* Fix tests to handle missing Config::Scoped module gracefully.
0.0004 Thu Mar 31 21:21:59 2011 CEST
[ENHANCEMENTS]
* Resolve iterator name to object for lists.
* Add process_template method to Template::Flute class.
* Add Template::Flute::Iterator::JSON class.
* Apply replacement to src attribute instead of tag body for HTML <img> tags.
* Add iterators method to Template::Flute::HTML class.
[BUG FIXES]
* Fix MANIFEST and remove unused dist.ini file.
[DOCUMENTATION]
* Add "See also", fix Synopsis and constructor documentation
for Template::Flute::Iterator class.
0.0003 Tue Mar 29 15:52:11 2011 CEST
[ENHANCEMENTS]
* Add auto_iterators parameter to Template::Flute class.
* Add seed method to Template::Flute::Iterator class.
* Add hook operation to value elements.
* Add specification method to Template::Flute class.
[DOCUMENTATION]
* Add documentation about value elements to Template::Flute's POD.
* Fix wrong POD headers for some methods in Template::Flute::List class.
* Fixed wrong module name Template::Zoom in Workflow POD section.
Thanks to Terrence Brannon for the report.
* Fix duplicate "METHODS" POD header in Template::Flute::List class.
0.0002 Mon Mar 14 08:39:23 2011 CET
[BUG FIXES]
* Add missing modules Template::Flute::Utils and
Template::Flute::Container to MANIFEST.
0.0001 Sun Mar 13 15:40:50 2011 CET
* Initial release.