root/livinglogic.java.ul4/src/main/resources/versiondoc.txt @ 679:d7d891bd0637

Revision 679:d7d891bd0637, 7.5 KB (checked in by Walter Doerwald <walter@…>, 7 years ago)

Document changes since 0.50.

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