root/livinglogic.java.ul4/src/main/resources/versiondoc.txt @ 798:600e0e0c759d

Revision 798:600e0e0c759d, 10.0 KB (checked in by Walter Doerwald <walter@…>, 7 years ago)

Added methods append, insert, pop and update.

Added support for * and ** arguments to Signature.

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