File: NEWS

package info (click to toggle)
jaxml 3.01-6.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 156 kB
  • ctags: 101
  • sloc: python: 632; makefile: 4
file content (136 lines) | stat: -rw-r--r-- 5,606 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# jaxml (c) 2000-2001 Jerome Alet & Free Software Foundation
#
# $Id: NEWS,v 1.31 2003/06/26 06:59:31 jerome Exp $
#

jaxml NEWS:
===========

        3.01:   - Small fix.
        
        3.00:   - Full support for XML namespaces added (see end of test program)
                - Named indentation levels, for easier use.
                
        2.24:   - Copyright strings changed.

        2.23:   - a typo caused a bug when _do_nothign() was called
                  in CGI scripts

        2.22:   - nothing is output when there's no content to output.

        2.21:   - the _updatemapping() method now returns the new mapping's
                  content.
                - a minor bug which prevented headers
                  to be kept correct when adding or multiplying documents
                  was corrected.
                - the copy module is not needed anymore.

        2.20:   - basic arithmetic operations can now be made on XML_document
                  instances, these constructs are now accepted:

                                firstdoc + seconddoc
                                seconddoc + firstdoc

                        Where firstdoc is an instance of XML_document
                        or one of its subclasses, and seconddoc is
                        either an instance of XML_document or one of
                        its subclasses or a string of text.

                        Nota Bene: This will not exactly concatenate the
                        two documents, instead the second one will be inserted
                        as plain text at the current position in the new one.
                        This may cause the indentation of the resulting document
                        looks bad.

                                yourdoc * intvalue
                                intvalue * yourdoc

                        Will repeat your document just like the * operator
                        works with strings of text.

                        Nota Bene: Since a multiplication is a big addition, same
                        remark as above.

                - an infinite loop problem occured when doing a dir(yourdoc),
                  it is now corrected, but as a consequences every method
                  name beginning with "__" can't be used as a tag name.
                  This shouldn't cause any problem, because tag names
                  beginning with "__" are probably a very bad idea, if allowed
                  at all.
                - an _updatemapping method was added to allow you to initialise
                  or update the internal mapping used for the new templating
                  facility.

        2.10:   - Docstrings added to the _TAGGED_document.Tag class.
                - The __repr__ method is now defined once for all.
                - You can now use yourdoc["something"] = "anotherthing"
                  to do powerful templating. See the test/test.py program
                  for details, but beware: documents are not real mappings.
                - Truth value can now be tested: returns false for empty
                  documents.

   2.00beta1:   - Now fully integrates the jahtml module's
                  functionnalities, providing access to
                  an HTML_document class and a CGI_document
                  class. WARNING: the API for what was in jahtml has
                  changed, you MUST modify your programs before removing
                  the old jahtml module.
                - The jahtml module is now considered as being obsolete.
                - includes templating facilities for the XML_document class
                  as well as for the HTML_document and CGI_document classes

        1.29:   - Rollback on certain "speed optimisations"
                - Needs cStringIO again.

        1.28:   - Numerous speed optimisations
                - Doesn't need the cStringIO module anymore

        1.27:   - Speed optimisation

        1.26:   - The notation for naming spaces was introduced:

                        doc.space.tag(...)

                will produce:

                        <space:tag>
                          ...
                        </space:tag>

        1.25:   - A new useful notation was introduced, you can now
                  do something like:

        doc.onetag("...", attr="yes").othertag().adnauseam("easy tag nesting")

        1.24:   - Tags that enclose nothing are now handled correctly,
                  see test/test.py for examples.
                - Calls to yourtag("Some text", dummy="DUMMY") will
                  now produce:

                        <yourtag dummy="DUMMY">Some text</yourtag>

                  instead of :

                        <yourtag dummy="DUMMY">
                          Some text
                        </yourtag>

                - Some changes to the test program to reflect the
                  new behaviour.

        1.23:   - Now the license is set in setup.py
                - Now the _output() method accepts None
                  as the file argument
                - Minor changes to the documentation

        1.22:   - small problem in the documentation

        1.21:   - small bug correction with empty text

        1.2 :   - Large scale speed optimisations. The test
                  program launched 5000 times is now 2.5 times
                  faster than the 1.1
                  See the file CREDITS for details

        1.1 :   - Now uses distutils as the installation method.
                - Documentation fixes, thanks to Kragen Sitaker.