root/livinglogic.java.ul4/src/main/resources/versiondoc.txt @ 685:1bbeaa48b3c0

Revision 685:1bbeaa48b3c0, 7.6 KB (checked in by Walter Doerwald <walter@…>, 7 years ago)

Document exp-52.

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