Logoj0ke.net Open Build Service > Projects > devel:python > python-lxml > python-lxml.changes
Sign Up | Log In

File python-lxml.changes of Package python-lxml

 
1
-------------------------------------------------------------------
2
Tue Mar  2 19:50:28 UTC 2010 - toms@suse.de
3
4
- Update to 2.2.6 (2010-03-02):
5
  Fixed several Python 3 regressions by building with Cython 0.11.3
6
7
8
-------------------------------------------------------------------
9
Mon Mar  1 21:56:05 UTC 2010 - toms@suse.de
10
11
- Updated to 2.2.5 (2010-02-28):
12
  Features added
13
    * Support for running XSLT extension elements on the input root
14
      node (e.g. in a template matching on "/").
15
16
  Bugs fixed
17
    * Crash in XPath evaluation when reading smart strings from a
18
      document other than the original context document.
19
    * Support recent versions of html5lib by not requiring its
20
      XHTMLParser in htmlparser.py anymore.
21
    * Manually instantiating the custom element classes in
22
      lxml.objectify could crash.
23
    * Invalid XML text characters were not rejected by the API when
24
      they appeared in unicode strings directly after non-ASCII characters.
25
    * lxml.html.open_http_urllib() did not work in Python 3.
26
    * The functions strip_tags() and strip_elements() in lxml.etree
27
      did not remove all occurrences of a tag in all cases.
28
    * Crash in XSLT extension elements when the XSLT context
29
      node is not an element.
30
31
- Fixed .changes file to match order from factory
32
 
33
34
-------------------------------------------------------------------
35
Fri Nov 13 21:50:52 UTC 2009 - toms@suse.de
36
37
- Updated to 2.2.4 (2009-11-11):
38
  Features added
39
    * None
40
41
  Bugs fixed
42
    * Static build of libxml2/libxslt was broken.
43
44
45
-------------------------------------------------------------------
46
Fri Oct 30 17:25:06 UTC 2009 - toms@suse.de
47
48
- Updated to 2.2.3 (2009-10-30):
49
  Features added
50
   None
51
  Bugs fixed
52
    * The resolve_entities option did not work in the incremental
53
      feed parser.
54
    * Looking up and deleting attributes without a namespace could
55
      hit a namespaced attribute of the same name instead.
56
    * Late errors during calls to SubElement() (e.g. attribute related
57
      ones) could leave a partially initialised element in the tree.
58
    * Modifying trees that contain parsed entity references could result
59
      in an infinite loop.
60
    * ObjectifiedElement.__setattr__ created an empty-string child
61
      element when the attribute value was rejected as a non-unicode/non-ascii string
62
    * Syntax errors in lxml.cssselect could result in misleading error messages.
63
    * Invalid syntax in CSS expressions could lead to an infinite loop
64
      in the parser of lxml.cssselect.
65
    * CSS special character escapes were not properly handled in lxml.cssselect.
66
    * CSS Unicode escapes were not properly decoded in lxml.cssselect.
67
    * Select options in HTML forms that had no explicit value attribute
68
      were not handled correctly. The HTML standard dictates that their value
69
      is defined by their text content. This is now supported by lxml.html.
70
    * XPath raised a TypeError when finding CDATA sections. This is now fully supported.
71
    * Calling help(lxml.objectify) didn't work at the prompt.
72
    * The ElementMaker in lxml.objectify no longer defines the default namespaces
73
      when annotation is disabled.
74
    * Feed parser failed to honour the 'recover' option on parse errors.
75
    * Diverting the error logging to Python's logging system was broken.
76
77
78
-------------------------------------------------------------------
79
Wed Sep 23 17:37:53 CEST 2009 - toms@suse.de
80
81
- Improved spec file with help from Alexandre D. Rogoski. Thanks!
82
  (debug_package macro)
83
84
85
-------------------------------------------------------------------
86
Mon Jul 20 14:04:56 CEST 2009 - toms@suse.de
87
88
- Updated to 2.2.2 (2009-06-21):
89
  Features added
90
    * New helper functions strip_attributes(), strip_elements(),
91
      strip_tags() in lxml.etree to remove attributes/subtrees/tags
92
      from a subtree.
93
94
  Bugs fixed
95
    * Namespace cleanup on subtree insertions could result in missing
96
      namespace declarations (and potentially crashes) if the element
97
      defining a namespace was deleted and the namespace was not used
98
      by the top element of the inserted subtree but only in deeper
99
      subtrees.
100
    * Raising an exception from a parser target callback didn't always
101
      terminate the parser.
102
    * Only {true, false, 1, 0} are accepted as the lexical representation
103
      for BoolElement ({True, False, T, F, t, f} not any more),
104
      restoring lxml <= 2.0 behaviour.
105
106
107
-------------------------------------------------------------------
108
Wed Jun 03 10:47:00 CEST 2009 - toms@suse.de
109
110
- Updated to 2.2.1:
111
  Features added:
112
    * Injecting default attributes into a document during XML Schema
113
      validation (also at parse time).
114
    * Pass huge_tree parser option to disable parser security restrictions
115
      imposed by libxml2 2.7.
116
117
  Bugs fixed
118
    * The script for statically building libxml2 and libxslt didn't work in Py3.
119
    * XMLSchema() also passes invalid schema documents on to libxml2 for
120
      parsing (which could lead to a crash before release 2.6.24).
121
122
Full list: http://codespeak.net/lxml/changes-2.2.1.html
123
124
125
-------------------------------------------------------------------
126
Fri Apr 03 08:41:00 CEST 2009 - toms@suse.de
127
128
- Merged changes file with old entries
129
130
-------------------------------------------------------------------
131
Wed Apr 02 08:58:00 CEST 2009 - toms@suse.de
132
133
- Added rpmlintrc source into SPEC file
134
135
-------------------------------------------------------------------
136
Tue Mar 31 08:34:00 CEST 2009 - toms@suse.de
137
138
- Fixed SPEC file and added PDF source
139
140
-------------------------------------------------------------------
141
Wed Mar 23 12:56:00 CEST 2009 - toms@suse.de
142
143
* Updated to 2.2 (excerpt):
144
  See also http://codespeak.net/lxml/changes-2.2.html
145
146
  Features added:
147
  - Allow lxml.html.diff.htmldiff to accept Element objects,
148
    not just HTML strings.
149
  - XSLT.strparam() class method to wrap quoted string parameters
150
    that require escaping.
151
  - Support strings and instantiable Element classes as child
152
    arguments to the constructor of custom Element classes.
153
  - GZip compression support for serialisation to files and
154
    file-like objects.
155
  - Support for standalone flag in XML declaration through
156
    tree.docinfo.standalone and by passing standalone=True/False
157
    on serialisation.
158
159
  Bugs fixed:
160
  - Memory leak in XPath evaluators.
161
  - Setting the base attribute in lxml.objectify from a unicode
162
    string failed.
163
  - Crash when parsing indented XML in one thread and merging
164
    it with other documents parsed in another thread.
165
  - Crash when parsing an XML Schema with external imports from
166
    a filename.
167
  - iter_links (and related link-rewriting functions) in lxml.html
168
    would interpret CSS like url("link") incorrectly (treating the
169
    quotation marks as part of the link).
170
  - Failing import on systems that have an io module.
171
  - Potential memory leak on exception handling. This was due
172
    to a problem in Cython, not lxml itself.
173
  - Crash when using an XPath evaluator in multiple threads.
174
  - Fixed missing whitespace before Link:... in lxml.html.diff.
175
176
  Other changes
177
  - The global error log (which is copied into the exception log)
178
    is now local to a thread, which fixes some race conditions.
179
  - More robust error handling on serialisation.
180
  - Export lxml.html.parse.
181
182
-------------------------------------------------------------------
183
Wed Sep 18 10:00:00 CEST 2008 - toms@suse.de
184
185
- Updated to 2.1.2
186
  Features added
187
  * lxml.etree now tries to find the absolute path name of files
188
    when parsing from a file-like object. This helps custom resolvers
189
    when resolving relative URLs, as lixbml2 can prepend them with
190
    the path of the source document.
191
192
  Bugs fixed
193
  * Memory problem when passing documents between threads.
194
  * Target parser did not honour the recover option and raised an
195
    exception instead of calling .close() on the target.
196
197
198
-------------------------------------------------------------------
199
Wed Jul 30 07:47:00 CEST 2008 - toms@suse.de
200
201
- Updated to 2.1.1
202
  Features added:
203
  * No new features
204
  Bugs fixed
205
  * Crash when parsing XSLT stylesheets in a thread and using them
206
    in another.
207
  * Encoding problem when including text with ElementInclude under
208
    Python 3.
209
210
-------------------------------------------------------------------
211
Wed Jul 09 16:21:00 CEST 2008 - toms@suse.de
212
213
- Corrected SPEC file:
214
  * requires now libxml2 and libxslt
215
  * Cleaned up spec file, added %{py_requires}
216
  * Inserted PDF documentation
217
- Updated to 2.1:
218
  Features added
219
  * Smart strings can be switched off in XPath (smart_string keyword option).
220
  * lxml.html.rewrite_links() strips links to work around documents with
221
    whitespace in URL attributes.
222
223
  Bugs fixed
224
  * Custom resolvers were not used for XMLSchema includes/imports and
225
    XInclude processing.
226
  * CSS selector parser dropped remaining expression after a function
227
    with parameters.
228
229
- Other changes
230
  * objectify.enableRecursiveStr() was removed, use objectify.enable_recursive_str()
231
    instead
232
  * Speed-up when running XSLTs on documents from other threads
233
234
-------------------------------------------------------------------
235
Fri Jun 20 11:23:00 CEST 2008 - toms@suse.de
236
237
- Updated to 2.0.7:
238
- Features added:
239
  * Pickling ElementTree objects in lxml.objectify.
240
- Bugs fixed:
241
  * Descending dot-separated classes in CSS selectors were not
242
    resolved correctly.
243
  * ElementTree.parse() didn't handle target parser result.
244
  * Potential threading problem in XInclude.
245
  * Crash in Element class lookup classes when the __init__()
246
    method of the super class is not called from Python subclasses.
247
- Other changes:
248
  * Non-ASCII characters in attribute values are no longer escaped on serialisation.
249
250
- Changes from 2.0.6:
251
- Features added:
252
  * No new features
253
- Bugs fixed
254
  * Incorrect evaluation of el.find("tag[child]").
255
  * Windows build was broken.
256
  * Moving a subtree from a document created in one thread into a
257
    document of another thread could crash when the rest of the
258
    source document is deleted while the subtree is still in use.
259
  * Rare crash when serialising to a file object with certain encodings.
260
- Other changes:
261
  * lxml should now build without problems on MacOS-X (2.0.6)
262
263
264
-------------------------------------------------------------------
265
Wed May 15 08:37:00 CEST 2008 - toms@suse.de
266
267
- SPEC: Fixed some warnings from rpmlint and removed duplicate doc dir
268
- Updated to 2.0.5
269
- Features added:
270
  - No new features
271
- Bugs fixed:
272
  - Resolving to a filename in custom resolvers didn't work.
273
  - lxml did not honour libxslt's second error state "STOPPED",
274
    which let some XSLT errors pass silently.
275
  - Memory leak in Schematron with libxml2 >= 2.6.31.
276
277
278
-------------------------------------------------------------------
279
Mon Apr 14 07:46:20 CEST 2008 - toms@suse.de
280
281
- Features added:
282
  - No new features
283
284
- Bugs fixed:
285
  - Hanging thread in conjunction with GTK threading.
286
  - Crash bug in iterparse when moving elements into other documents.
287
  - HTML elements' .cssselect() method was broken.
288
  - ElementTree.find*() didn't accept QName objects
289
290
291
-------------------------------------------------------------------
292
Fri Mar 28 11:01:26 CET 2008 - toms@suse.de
293
294
- Split documentation into subpackage python-lxml-doc
295
- Updated to 2.0.3
296
- Features added
297
  - soupparser.parse() allows passing keyword arguments on to
298
    BeautifulSoup.
299
  - fromstring() method in lxml.html.soupparser.
300
301
- Bugs fixed:
302
  - lxml.html.diff didn't treat empty tags properly (e.g., <br>).
303
  - Handle entity replacements correctly in target parser.
304
  - Crash when using iterparse() with XML Schema validation.
305
  - The BeautifulSoup parser (soupparser.py) did not replace entities,
306
    which made them turn up in text content.
307
  - Attribute assignment of custom PyTypes in objectify could fail
308
    to correctly serialise the value to a string.
309
310
- Other changes
311
  - lxml.html.ElementSoup was replaced by a new module lxml.html.soupparser
312
    with a more consistent API. The old module remains for
313
    compatibility with ElementTree's own ElementSoup module.
314
  - Setting the XSLT_CONFIG and XML2_CONFIG environment variables at
315
    build time will let setup.py pick up the xml2-config and xslt-config
316
    scripts from the supplied path name.
317
  - Passing --with-xml2-config=/path/to/xml2-config to setup.py will
318
    override the xml2-config script that is used to determine the
319
    C compiler options. The same applies for the --with-xslt-config option.
320
321
- Older changes:
322
  - see
323
    http://pypi.python.org/pypi/lxml/2.0.2
324
    http://pypi.python.org/pypi/lxml/2.0.1
325
    http://pypi.python.org/pypi/lxml/2.0
326
327
328
-------------------------------------------------------------------
329
Tue Oct 30 12:03:16 CET 2007 - toms@suse.de
330
331
- Updated to 1.3.6
332
- Bugs fixed
333
  - Backported decref crash fix from 2.0
334
  - Well hidden free-while-in-use crash bug in ObjectPath
335
336
- Other changes
337
  - The test suites now run gc.collect() in the tearDown() methods.
338
    While this makes them take a lot longer to run, it also makes
339
    it easier to link a specific test to garbage collection problems
340
    that would otherwise appear in later tests.
341
342
-------------------------------------------------------------------
343
Thu Aug 30 13:33:22 CEST 2007 - toms@suse.de
344
345
- Updated to 1.3.4
346
- Features added
347
  - The ElementMaker in lxml.builder now accepts the keyword arguments
348
    namespace and nsmap to set a namespace and nsmap for the Elements
349
    it creates.
350
  - The docinfo on ElementTree objects has new properties internalDTD
351
    and externalDTD that return a DTD object for the internal or external
352
    subset of the document respectively.
353
  - Serialising an ElementTree now includes any internal DTD subsets
354
    that are part of the document, as well as comments and PIs that are
355
    siblings of the root node.
356
357
- Bugs fixed
358
  - Parsing with the no_network option could fail
359
360
- Other changes
361
  - lxml now raises a TagNameWarning about tag names containing ':' instead
362
    of an Error as 1.3.3 did. The reason is that a number of projects
363
    currently misuse the previous lack of tag name validation to generate
364
    namespace prefixes without declaring namespaces. Apart from the danger
365
    of generating broken XML this way, it also breaks most of the
366
    namespace-aware tools in XML, including XPath, XSLT and validation.
367
    lxml 1.3.x will continue to support this bug with a Warning, while lxml
368
    2.0 will be strict about well-formed tag names (not only regarding ':').
369
  - Serialising an Element no longer includes its comment and PI siblings
370
    (only ElementTree serialisation includes them).
371
372
373
-------------------------------------------------------------------
374
Mon Jul 30 15:10:07 CEST 2007 - toms@suse.de
375
376
- Updated to 1.3.3
377
- Features added:
378
  - ElementTree compatible parser ETCompatXMLParser strips
379
    processing instructions and comments while parsing XML
380
  - Parsers now support stripping PIs (keyword argument 'remove_pis')
381
  - etree.fromstring() now supports parsing both HTML and XML,
382
    depending on the parser you pass
383
  - Support base_url keyword argument in HTML() and XML()
384
385
- Bugs fixed:
386
  - Parsing from Python Unicode strings failed on some platforms
387
  - Element() did not raise an exception on tag names containing ':'
388
  - Element.getiterator(tag) did not accept Comment and ProcessingInstruction
389
    as tags. It also accepts Element now.
390
391
392
-------------------------------------------------------------------
393
Fri Jan 19 13:03:00 CET 2007 - toms@suse.de
394
395
- Updated to 1.1.2
396
- Features added:
397
  - Data elements in objectify support repr(), which is now used by dump()
398
  - Source distribution now ships with a patched Pyrex
399
  - New C-API function makeElement() to create new elements with text, tail, attributes and namespaces
400
  - Reuse original parser flags for XInclude
401
  - Simplified support for handling XSLT processing instructions
402
403
- Bugs fixed:
404
  - Parser resources were not freed before the next parser run
405
  - Open files and XML strings returned by Python resolvers were not closed/freed
406
  - Crash in the IDDict returned by XMLDTDID
407
  - Copying Comments and ProcessingInstructions failed
408
  - Memory leak for external URLs in _XSLTProcessingInstruction.parseXSL()
409
  - Memory leak when garbage collecting tailed root elements
410
  - HTML script/style content was not propagated to .text
411
  - Show text xincluded between text nodes correctly in .text and .tail
412
  - 'integer - objectify.StringElement' operation was not supported
413
414
415
-------------------------------------------------------------------
416
Fri Dec  1 11:12:37 CET 2006 - toms@suse.de
417
418
- New package 1.1.2 moved from openSUSE build server
419