root/livinglogic.java.ul4/src/main/resources/versiondoc.txt @ 686:9c00a7e3b94e

Revision 686:9c00a7e3b94e, 7.7 KB (checked in by Walter Doerwald <walter@…>, 7 years ago)

Variable unpacking in for loops can now be nested arbitrarily deep.

Line 
1exp-53:
2-------
3Comments:
4* Variable unpacking in for loops can now be nested arbitrarily deep.
5
6
7exp-52:
8-------
9Comments:
10* Fixed implementation of And to try the first operand first.
11
12
13exp-51:
14-------
15Comments:
16* Added the functions min() and max().
17* Added a proper (threaded) implementation of InterpretedTemplate.reader().
18
19
20exp-50:
21-------
22Comments:
23* The UL4 parser has been ported to ANTLR. The final jar doesn't
24  contain any Python/Jython any longer.
25
26* Moving to ANTLR made several syntax changes necessary:
27
28    @2012-04-16 -> @(2012-04-16)
29    <?render x()?> -> <?print x.render()?>
30    <?print x.render()?> -> <?print x.renders()?>
31
32* UL4 templates now support the functions fromjson, asul4on, fromul4on.
33
34* The function json has been renamed to asjson.
35
36* Added support for templates and floats to UL4ON.
37
38
39exp-49:
40-------
41Comments:
42* Now the new style Javascript code generation is used (i.e. the code
43  is generated by Javascript itself).
44
45
46exp-48:
47-------
48Comments:
49* Renamed the function first, last and firstlast to isfirst, islast and
50  isfirstlast.
51
52
53exp-47:
54-------
55Comments:
56* Added support for the new UL4ON object serialization format (via the
57  class com.livinglogic.ul4on.Utils).
58
59
60exp-46:
61-------
62Comments:
63* Added support for the new UL4 functions first(), last(), firstlast() and
64  enumfl().
65
66
67exp-45:
68-------
69Comments:
70* Added new utility classes MapUtils, ChainedHashMap and ObjectAsMap.
71* Template, Opcode and Location now expose their attributes via a Map interface.
72
73
74exp-44:
75-------
76Comments:
77* Enhanced Location.toString() for literals.
78* Fixed LocationException.toString() for parsing errors.
79
80
81exp-43:
82-------
83Comments:
84* Fixed location handling bugs with subtemplates.
85* Sub templates are now created by annotate().
86
87
88exp-42:
89-------
90Comments:
91* Updated to match the implementation in XIST 3.23 (i.e. names for templates).
92
93
94exp-40:
95-------
96Comments:
97* Added a new method Color.fromrepr().
98
99
100exp-39:
101-------
102Comments:
103* Fixed offsets into the source and the opcodes list for subtemplates.
104
105
106exp-38:
107-------
108Comments:
109* Updated Jython to version 2.5.2.
110
111
112exp-37:
113-------
114Comments:
115* Fixed comparison operator when only one of the arguments is null.
116
117
118exp-36:
119-------
120Comments:
121* The functionality for generating Javscript source from a template has been
122  moved to a separate class JavascriptSource4Template.
123* Fixed many bugs that were detected by running the XIST test suite with
124  templates converted to Java.
125* Updated commons-lang.jar to version 2.6 (StringEscapeUtils.escapeJava()
126  was escaping '/' in version 2.4)
127* InterpretedTemplate now has a new method compileToJava() that can be used to
128  compile the template into native Java code. (This generates Java source
129  code for the template and compiles this with the help of the Java compiler).
130
131
132exp-35:
133-------
134Comments:
135* Sets can now be sorted.
136
137
138exp-34:
139-------
140Comments:
141* Iterators can now be sorted.
142
143
144exp-33:
145-------
146file format: 14
147Comments:
148* Update file format to be compatible with XIST 3.15.
149
150
151exp-32:
152-------
153Comments:
154* Added InterpretedTemplate.reader() that returns a java.io.Reader object for
155  reading the template output.
156* Removed all versions of the render methods that didn't have a variables
157  argument.
158
159
160exp-31:
161-------
162Comments:
163* Added missing implementation for the "contains" opcode in
164  InterpretedTemplate.Renderer().
165
166
167exp-30:
168-------
169Comments:
170* Added two methods InterpretedTemplate.render() that render the template output
171  to a java.io.Writer.
172
173
174exp-29:
175-------
176Comments:
177* Fixed InterpretedTemplate.load() to conform to the format produced by Pythons
178  version.
179
180
181exp-28:
182-------
183Comments:
184* Fixed problems with linefeeds in comments for tag code in
185  Template.javascriptSource().
186
187
188exp-27:
189-------
190file format: 13
191
192Comments:
193* Added a new method InterpretedTemplate.javascriptSource() that generates
194  Javascript source from the template.
195* Updated date literals to used a "@" suffix.
196* Fixed various bugs.
197
198
199exp-26:
200-------
201Comments:
202* Support for the UL4 methods startswith and endswith has been added.
203
204
205exp-25:
206-------
207Comments:
208* Support for the UL4 function randchoice has been added.
209
210
211exp-24:
212-------
213Comments:
214* Support for the following new date methods has been added: day, month, year,
215  hour, minute, second, microsecond, weekday and yearday.
216* Date parsing has been enhanced (microseconds are still not supported).
217* Support for the UL4 functions random and randrange has been added.
218
219
220exp-23:
221-------
222Comments:
223* Add support for more number types in the 1 and 2 arg version of toInteger().
224* Add support for more number types to toFloat().
225* Add support for more number types to repr().
226* repr() of BigIntegers now ensures that the result contains a decimal point.
227* Add support for more number types and Color objects to json().
228* Add support for more number types to chr().
229* Add support for more number types to hex()/oct()/bin() and fixed the result
230  for negative values.
231* Added the UL4 function utcnow() and the support method Utils.utcnow().
232* Added the UL4 method mimeformat() and the support method Utils.mimeformat().
233* The JSP render method has a Writer as argument instead of a JSPWriter.
234
235
236exp-22:
237-------
238Comments:
239* The build file now forces compilation with Java 1.5.
240
241
242exp-21:
243-------
244Comments:
245* Now Utils.format() can be called without a locale argument (which is
246  useful for the JSP code generated by the XIST function ll.xist.ns.jsp.fromul4().
247
248
249exp-20:
250-------
251Comments:
252* Utils.sub(), Utils.mul(), Utils.truediv() and Utils.floordiv() now support
253  all valid combinations of bool/int/float/string operands.
254* type() now returns the correct type for all Number subclasses.
255* Added function abs().
256
257
258exp-19:
259-------
260Comments:
261* Utils.add() now supports all combinations of bool/int/float operands.
262
263
264exp-18:
265-------
266Comments:
267* Utils.xmlescape() now uses ObjectUtils.toString() to support null.
268
269
270exp-17:
271-------
272Comments:
273* Fixed error for unsupported operations.
274* Utils.iterator() now supports Iterable not just Collection.
275
276
277exp-16:
278-------
279Comments:
280* Fixed bug in the block nesting check logic.
281
282
283exp-15:
284-------
285Comments:
286* Reverted the fix to the rgb() function (argument are float values between 0
287  and 1).
288
289
290exp-14:
291-------
292Comments:
293* Fixed the rgb() function.
294
295
296exp-13:
297-------
298Comments:
299* Updated to use Jython 2.5 (i.e. Java 1.5).
300* All that's needed to use Jython is now in ul4jython.jar (which is generated
301  by makejar.sh).
302
303
304exp-12:
305-------
306file format: 11
307
308Comments:
309* Added float() and iscolor() functions.
310
311
312exp-11:
313-------
314file format: 10
315
316Comments:
317* Added join() method.
318
319
320exp-10:
321-------
322file format: 9
323
324Comments:
325* Added reversed() function.
326
327
328exp-9:
329------
330
331Comments:
332* Added int() with two arguments.
333* Added render method.
334
335
336exp-8:
337------
338
339Comments:
340* Added support for Long in a few spots in Utils.java.
341
342
343exp-7:
344------
345
346Comments:
347* Added interface JSPTemplate for an UL4 template converted to JSP.
348
349
350exp-6:
351------
352file format: 7
353
354Comments:
355* Added <?note?> tag.
356* Added functions type(), vars(), zip().
357* Added one-arg find and rfind methods.
358* Added support for ** in dict literals and render calls.
359* Added Template method pythonSource().
360* Added support for color objects.
361
362
363exp-5:
364------
365file format: 5
366
367Comments:
368* Added printx tag/opcode.
369* Added string method capitalize().
370* Enhance exception for unclosed blocks.
371* Added function get() and dictionary method get().
372* Fixed jump calculation for breaks and continues in for-blocks.
373
374
375exp-4:
376------
377Comments:
378* Added support for a csvescape() function.
379
380
381exp-3:
382------
383Comments:
384* The org.apache.commons package is now used to implement some of the operations.
385* Added support for a string method replace().
386* Added support for a repr() function.
387
388
389exp-2:
390------
391file format: 4
392
393Comments:
394* Added break and continue tags/opcodes.
395
396
397exp-1:
398------
399file format: 3
400
401* Initial version.
Note: See TracBrowser for help on using the browser.