Silme:0.8: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
*port (move) locale tests from compare-locales to Silme (e.g. finding duplicates, testing accesskeys, spell checking)
Silme 0.8 has been released on October 16th 2009.
*port (move) diff format parsers from compare-locales to Silme (full tree, short-path tree, full-relative-path list, JSON-tree)
 
*move tests to lib/testing and leave just a few scripts in scripts/ for running the tests
Download url: "hg clone http://hg.mozilla.org/l10n/silme/file/silme-0.8.0"
 
== Changes ==
 
* silme.compatibility.v05 improvements
* silme.core.list pythonization (for entity in list: etc.)
* silme.core.list.entities returns dict(), not list()
* silme.core.structure iterations (for elem in package:) and len(package)
* silme.core.structure:
** structure[3] will return third element
** structure['entity_id'] will return the entity
* silme.diff.list iterations (for chunk in listDiff)
* silme.core.List.diff() will now store entity order if its stored in the compared Lists
* silme.diff.package:
** iterations
** if elem in packageDiff
** for elem in packageDiff
* fixes to the bug that cause silme not to be able to discover formats/io's on Ubuntu
* utf_8_sig (BOM) added as a default fallback to dtd/properties
* be more verbose when throwing an exception while reading a file
* bring back silme.io.jar reader
* more unit-testing

Latest revision as of 11:31, 10 November 2009

Silme 0.8 has been released on October 16th 2009.

Download url: "hg clone http://hg.mozilla.org/l10n/silme/file/silme-0.8.0"

Changes

  • silme.compatibility.v05 improvements
  • silme.core.list pythonization (for entity in list: etc.)
  • silme.core.list.entities returns dict(), not list()
  • silme.core.structure iterations (for elem in package:) and len(package)
  • silme.core.structure:
    • structure[3] will return third element
    • structure['entity_id'] will return the entity
  • silme.diff.list iterations (for chunk in listDiff)
  • silme.core.List.diff() will now store entity order if its stored in the compared Lists
  • silme.diff.package:
    • iterations
    • if elem in packageDiff
    • for elem in packageDiff
  • fixes to the bug that cause silme not to be able to discover formats/io's on Ubuntu
  • utf_8_sig (BOM) added as a default fallback to dtd/properties
  • be more verbose when throwing an exception while reading a file
  • bring back silme.io.jar reader
  • more unit-testing