root/livinglogic.java.ul4/docs/versiondoc.txt @ 399:b0aa6873fb78

Revision 399:b0aa6873fb78, 5.7 KB (checked in by Walter Doerwald <walter@…>, 8 years ago)

Update Jython to version 2.5.2.

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