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.

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