Silme:Wishlist

From MozillaWiki
Revision as of 11:53, 10 November 2009 by Gandalf (talk | contribs) (Created page with '==Adrian== * port (move) locale tests from compare-locales to Silme (e.g. finding duplicates, testing accesskeys, spell checking) * port (move) diff format parsers from compare-l…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Adrian

  • port (move) locale tests from compare-locales to Silme (e.g. finding duplicates, testing accesskeys, spell checking)
  • 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
  • better exception handling:
    • catch only specific errors (avoid the use of "except Exception")
    • raise only specific errors (avoid the use of "raise Exception")
    • if possible, raise the original error (do not raise a new one), e.g.:
   try:
     foo()
   except KeyError, e:
     raise

instead of:

   try:
     foo()
   except KeyError:
     raise KeyError("foo")

Gandalf

  • Add support for msgctx for gettext
  • Clean silme.format/silme.io API