forked from ingydotnet/jemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Changes
246 lines (219 loc) · 7.48 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
---
version: 0.27
date: Sat May 26 02:53:31 UTC 2012
changes:
- Fixed collision of bin/jemplate and ./jemplate in Makefile
---
version: 0.261
date: Tuesday April 27 09:35:06 PDT 2010
changes:
- Fixed rt56956 with test case - DIV operator broken (Agent Zhang)
---
version: 0.260
date: Monday April 26 12:03:40 PDT 2010
---
version: 0.25_2
date: Saturday April 24 18:48:53 PDT 2010
changes:
- Implemented rt4308 - Capture implementation (Tom Molesworth)
- Added test for rt37570 - List method for lists (fixed in 5eaf340da...)
---
version: 0.25_1
date: Thursday April 22 17:58:53 PDT 2010
changes:
- Fixed rt53454 with test case - Support rudimentary array range operator
- Fixed rt53453 with test case - Make Jemplate slice like TT slice
- Fixed rt53967 with test case - Compiler double-dot path fail
- Added test case for rt37539 - Intermediate instantiation
- Added test case for rt37540 - Iterate over empty object
- Added test case for rt37895 - Inconsistent jemplate version
---
version: 0.25
date: Wednesday April 21 13:44:19 PDT 2010
changes:
- release
---
version: 0.24_4
date: Saturday January 09 17:06:40 PST 2010
changes:
- added .pairs (VMethod) functionality with tests
- fixed quoted.t failing test
---
version: 0.24_3
date: Mon Jun 8 2009
changes:
- fixed bug, related to empty template body (http://rt.cpan.org/Public/Bug/Display.html?id=37061)
- fixed bug in Parser.yp, which produced compilation error for macroses
- fixed "intermediate instantiation" issue (http://rt.cpan.org/Public/Bug/Display.html?id=37539)
- fixed "iteration over empty object" issue (http://rt.cpan.org/Public/Bug/Display.html?id=37540)
- added and tested MACRO directive
- added PRE_PROCESS and POST_PROCESS configuration options
- added and tested global scope access via GLOBAL modifier (GLOBAL.jQeuery etc)
- added dummy LOCAL modifier, for symmetry
- added "init" method for Jemplate singleton
- added experimental RAW directive (RAW jQuery, equivalent of jQuery = GLOBAL.jQuery)
VMethods:
- added "list" for lists (http://rt.cpan.org/Public/Bug/Display.html?id=37570)
- added "item" for hashes
- fixed "import" for hashes
Test suite:
- combined back to a single copy
Patches:
- Integrated patch from RT#37895
version: 0.24_2
date: Monday June 08 10:37:54 PDT 2009
changes:
- Fix to get tests working on MSWin32 (rt23883)
---
version: 0.24
date: Fri Sep 19 15:09:35 PDT 2008
changes:
- Convert tests to standard Test.Base setup!
---
version: 0.23_1
date: Monday August 18 15:22:03 PDT 2008
changes:
- Fixed issue with runtime_source_code that broke Catalyst::View::Jemplate
- Some beta MACRO functionality
- Ingy refactored tjs/ into tests/
---
version: 0.23
date: Friday June 06 12:51:18 PDT 2008
changes:
- Incorporated 'jemplate-url.patch' to match uri/url filtering behavior to TT, thanks leedo
---
version: 0.22
date: Mon Apr 28 21:52:03 PDT 2008
changes:
- Fixed a few buglets found in 0.21
---
version: 0.21
date: Mon Apr 28 12:44:13 CST 2008
changes:
- Robert Krimen provided massive improvements including:
- jQuery support
- YUI support
- Many new command line options for fine grained control
- Doc changes
- Much refactoring
- Ingy added:
- A standalone Jemplate compiler (bin/jemplate)
- Some doc: (bin/README)
---
version: 0.20
date: Wed Nov 22 09:12:25 PST 2006
changes:
- Fix tests due to assumed file glob sorting. Thanks Cees.
- Fix tests where compile line numbers are off by one or two.
---
version: 0.19
date: Tue Nov 21 08:22:25 PST 2006
changes:
- Fixed setting a hash value. Reported by Theo Petersen. Thanks.
- David added ability to compile path names by passing directory to recurse
- Allow TT2 compile time options to be specified on command line.
- Create runtime code from CLI script.
- Allow Jemplate objects to be created with runtime configs.
- Port some TT2 runtime options.
- Better doc
- --runtime command prints the runtime JavaScript module
- --list lists the template names to be used
---
version: 0.18
date: Wed Mar 8 02:06:47 PST 2006
changes:
- Made Test.Base stuff its own module. Now Jemplate relies on that module.
- Christian Hansen added a simple daemon for running tests.
- Cees Hek added all hash virtual methods (except `import` which caused
major grief)
- Cees monkeyed around in the Stash lookup code
- Yann K implemented the `replace` filter
- Ingy made `foo.bar()` always call a method `bar`.
- Ingy completely refactored Test.Base and then proceeded to refactor the
Jemplate test suite in kind.
- gugod pulled over some uri escaping code from Kwiki
- chansen tweaked the daemon to honor caching rules
- Cory Bennett fixed some bug having to do with a JavaScript String object.
- Cees fixed the defaults for the `indent` and `truncate` filters.
- Stephen Howard reported that Jemplate was not localising the stash for
the INCLUDE directive, and he even supplied a patch, but Ingy had
already made the fix.
- Ingy played with the Stash lookup code and hopefully got it just perfect.
- Ingy added support for the DEFAULT directive.
- Lots more tests in this release.
---
version: 0.17
date: Tue Feb 28 22:44:04 PST 2006
changes:
- Fixed ajax callback bugs
- Fixed inserting result into a dom element in Safari
- Cory Bennett fixed Test.Harness on Konqueror
- Cory sorted keys in FOR i IN obj. This should give expected consistency to
users.
- Cees Hek implemented all the string functions. With tests!!
- Cees added the truncate filter.
- Yann Kerhervé changed the position of arguments in filters
- Yann fixed the indent and html filters and added repeat filter
- Yann adapted some tests from the TT test suite!
---
version: 0.16
date: Mon Feb 27 22:14:37 PST 2006
changes:
- Ingy added JSON and Ajax support into Jemplate.js
- Ingy got tests working on Mozilla, IE, Safari and Opera
- Ingy streamlined Makefiles and testing
- Ingy refactored documentation
- Cory Bennett JAVASCRIPT directive for inlining JavaScript
- Cory added -nojs flag to `jemplate` command line tool
- Cory eliminated nasty eq/== hack
- Cory added support for foo.0 numeric indexing
- Cory added quoting support
- Cory got [% FOR i IN obj %] working to iterate over keys of object
- Cory fixed [% "$foo/$bar" %] for quoted strings
- Cory fixed concatenation
- Yann Kerhervé added filtering support
- Yann added these filters: collapse, html, html_break, html_entity,
html_line_break, html_para, indent, lcfirst, lower, null, trim, ucfirst,
upper, uri
- Ingy removed PERL and RAWPERL support
- Cory made test output display nicely
- Ingy made test index link to subtests
---
version: 0.15
date: Fri Feb 24 18:02:46 PST 2006
changes:
- Support SWITCH CASE and WRAPPER directives thanks to xantus and yann!
- Now the Stash really works, thanks to Miyagawa!
- Test.Base JavaScript runtime test framework!
- Support all the TT array primitives in JS!
---
version: 0.14
date: Mon Feb 13 23:48:51 PST 2006
changes:
- Support WHILE, NEXT, LAST, CLEAR, RETURN and STOP
---
version: 0.13
date: Tue Feb 7 23:39:04 PST 2006
changes:
- Support SET and FOREACH
---
version: 0.12
date: Tue Feb 7 20:14:19 PST 2006
changes:
- Added Jemplate->compile_module and Jemplate->compile_module_cached
- Much refactoring
- Added output argument to Jemplate.process(template, data, output);
output can be a function or DOM element id for innerHTML replacement
---
version: 0.11
date: Mon Feb 6 23:56:37 PST 2006
changes:
- Added IF/ELSIF/ELSE support
- Added PROCESS support
- Move Jemplate.js to share/ directory
---
version: 0.10
date: Mon Feb 6 16:33:53 PST 2006
changes:
- Maiden voyage.
- Only supports text with simple variable substitution.