root/livinglogic.java.ul4/docs/versiondoc.txt @ 402:6235a6f4b2ab

Revision 402:6235a6f4b2ab, 5.8 KB (checked in by Walter Doerwald <walter@…>, 8 years ago)

Fixed offsets into the source and the opcodes list for subtemplates.

Now the subtemplates doesn't use substrings/list for the source and the
opcodes, but uses the complete string/list from the parent, and keeps the
starting and ending offsets.

Line 
1exp-39:
2-------
3Comments:
4* Fixed offsets into the source and the opcodes list for subtemplates.
5
6
7exp-38:
8-------
9Comments:
10* Updated Jython to version 2.5.2.
11
12
13exp-37:
14-------
15Comments:
16* Fixed comparison operator when only one of the arguments is null.
17
18
19exp-36:
20-------
21Comments:
22* The functionality for generating Javscript source from a template has been
23  moved to a separate class JavascriptSource4Template.
24* Fixed many bugs that were detected by running the XIST test suite with
25  templates converted to Java.
26* Updated commons-lang.jar to version 2.6 (StringEscapeUtils.escapeJava()
27  was escaping '/' in version 2.4)
28* InterpretedTemplate now has a new method compileToJava() that can be used to
29  compile the template into native Java code. (This generates Java source
30  code for the template and compiles this with the help of the Java compiler).
31
32
33exp-35:
34-------
35Comments:
36* Sets can now be sorted.
37
38
39exp-34:
40-------
41Comments:
42* Iterators can now be sorted.
43
44
45exp-33:
46-------
47file format: 14
48Comments:
49* Update file format to be compatible with XIST 3.15.
50
51
52exp-32:
53-------
54Comments:
55* Added InterpretedTemplate.reader() that returns a java.io.Reader object for
56  reading the template output.
57* Removed all versions of the render methods that didn't have a variables
58  argument.
59
60
61exp-31:
62-------
63Comments:
64* Added missing implementation for the "contains" opcode in
65  InterpretedTemplate.Renderer().
66
67
68exp-30:
69-------
70Comments:
71* Added two methods InterpretedTemplate.render() that render the template output
72  to a java.io.Writer.
73
74
75exp-29:
76-------
77Comments:
78* Fixed InterpretedTemplate.load() to conform to the format produced by Pythons
79  version.
80
81
82exp-28:
83-------
84Comments:
85* Fixed problems with linefeeds in comments for tag code in
86  Template.javascriptSource().
87
88
89exp-27:
90-------
91file format: 13
92
93Comments:
94* Added a new method InterpretedTemplate.javascriptSource() that generates
95  Javascript source from the template.
96* Updated date literals to used a "@" suffix.
97* Fixed various bugs.
98
99
100exp-26:
101-------
102Comments:
103* Support for the UL4 methods startswith and endswith has been added.
104
105
106exp-25:
107-------
108Comments:
109* Support for the UL4 function randchoice has been added.
110
111
112exp-24:
113-------
114Comments:
115* Support for the following new date methods has been added: day, month, year,
116  hour, minute, second, microsecond, weekday and yearday.
117* Date parsing has been enhanced (microseconds are still not supported).
118* Support for the UL4 functions random and randrange has been added.
119
120
121exp-23:
122-------
123Comments:
124* Add support for more number types in the 1 and 2 arg version of toInteger().
125* Add support for more number types to toFloat().
126* Add support for more number types to repr().
127* repr() of BigIntegers now ensures that the result contains a decimal point.
128* Add support for more number types and Color objects to json().
129* Add support for more number types to chr().
130* Add support for more number types to hex()/oct()/bin() and fixed the result
131  for negative values.
132* Added the UL4 function utcnow() and the support method Utils.utcnow().
133* Added the UL4 method mimeformat() and the support method Utils.mimeformat().
134* The JSP render method has a Writer as argument instead of a JSPWriter.
135
136
137exp-22:
138-------
139Comments:
140* The build file now forces compilation with Java 1.5.
141
142
143exp-21:
144-------
145Comments:
146* Now Utils.format() can be called without a locale argument (which is
147  useful for the JSP code generated by the XIST function ll.xist.ns.jsp.fromul4().
148
149
150exp-20:
151-------
152Comments:
153* Utils.sub(), Utils.mul(), Utils.truediv() and Utils.floordiv() now support
154  all valid combinations of bool/int/float/string operands.
155* type() now returns the correct type for all Number subclasses.
156* Added function abs().
157
158
159exp-19:
160-------
161Comments:
162* Utils.add() now supports all combinations of bool/int/float operands.
163
164
165exp-18:
166-------
167Comments:
168* Utils.xmlescape() now uses ObjectUtils.toString() to support null.
169
170
171exp-17:
172-------
173Comments:
174* Fixed error for unsupported operations.
175* Utils.iterator() now supports Iterable not just Collection.
176
177
178exp-16:
179-------
180Comments:
181* Fixed bug in the block nesting check logic.
182
183
184exp-15:
185-------
186Comments:
187* Reverted the fix to the rgb() function (argument are float values between 0
188  and 1).
189
190
191exp-14:
192-------
193Comments:
194* Fixed the rgb() function.
195
196
197exp-13:
198-------
199Comments:
200* Updated to use Jython 2.5 (i.e. Java 1.5).
201* All that's needed to use Jython is now in ul4jython.jar (which is generated
202  by makejar.sh).
203
204
205exp-12:
206-------
207file format: 11
208
209Comments:
210* Added float() and iscolor() functions.
211
212
213exp-11:
214-------
215file format: 10
216
217Comments:
218* Added join() method.
219
220
221exp-10:
222-------
223file format: 9
224
225Comments:
226* Added reversed() function.
227
228
229exp-9:
230------
231
232Comments:
233* Added int() with two arguments.
234* Added render method.
235
236
237exp-8:
238------
239
240Comments:
241* Added support for Long in a few spots in Utils.java.
242
243
244exp-7:
245------
246
247Comments:
248* Added interface JSPTemplate for an UL4 template converted to JSP.
249
250
251exp-6:
252------
253file format: 7
254
255Comments:
256* Added <?note?> tag.
257* Added functions type(), vars(), zip().
258* Added one-arg find and rfind methods.
259* Added support for ** in dict literals and render calls.
260* Added Template method pythonSource().
261* Added support for color objects.
262
263
264exp-5:
265------
266file format: 5
267
268Comments:
269* Added printx tag/opcode.
270* Added string method capitalize().
271* Enhance exception for unclosed blocks.
272* Added function get() and dictionary method get().
273* Fixed jump calculation for breaks and continues in for-blocks.
274
275
276exp-4:
277------
278Comments:
279* Added support for a csvescape() function.
280
281
282exp-3:
283------
284Comments:
285* The org.apache.commons package is now used to implement some of the operations.
286* Added support for a string method replace().
287* Added support for a repr() function.
288
289
290exp-2:
291------
292file format: 4
293
294Comments:
295* Added break and continue tags/opcodes.
296
297
298exp-1:
299------
300file format: 3
301
302* Initial version.
Note: See TracBrowser for help on using the browser.