lp:ubuntu/karmic/x-kit
- Get this branch:
- bzr branch lp:ubuntu/karmic/x-kit
Branch information
Recent revisions
- 4. By Alberto Milone
-
* new upstream release: 0.4.2:
+ xorgparser.py:
- remove harmless but useless lines after an Exception in getValue()
- make sure that if optiontype != None the option (differently from
the value) is always put in quotation marks in addOption()
+ 0-test.py:
- add a test for the quotation marks check in addOption() - 3. By Alberto Milone
-
* new upstream release: 0.4:
+ xorgparser.py:
- preserve commented lines inside sections too
- add removeSection()
- add commentOut{Option| SubOption| Section| SubSection} ()
o the new "Comments" key in self.globaldict contains commented options and
subsections before these are merged into self.comments
o when a whole section is commented out, its content and its subsections are
immediately moved to self.comments
o commented lines are not meant to be uncommented
o commented lines are ignored by the validator
- add getSubSections()
o return the subsections contained in the section passed as an argument
- separate __getOptionsToBlacklist( ) from removeOption() so that it can be shared
with commentOutOption()
- docstrings clean-up
+ 0-test.py:
- add tests for the new methods in xorgparser.py - 2. By Alberto Milone
-
* xorgparser.py:
- make sure that globaldict is preserved when
writing its content to the destination file (use tempdict)
- do not close file objects in writeFile()
* 0-test.py: add testWriteFile1(), testWriteFile2() and
testWriteFile3() - 1. By Alberto Milone
-
[ Alberto Milone ]
* add getBrokenReferences() to xorgparser.Parser()
* move getPosition() and isSection() to xorgparser since they are now required
by getBrokenReferences(). Move the relevant tests to 0-test.py
* remove all the arguments from xutils.XUtils. checkNFixSectio n()
* make checkNFixSection() rely on getBrokenReferences()
* Parser.__process() will now check the following additional cases:
- if duplicate sections are found
- if broken references are found
- if there are sections which don't have an identifier but should
have one (except for completely empty sections, which are ignored
and don't appear in globaldict)
* clean up Parser.getIds()
* remove sys.exit from Parser.getReferences( )
* disable checkDuplicateOptions by default
* move getIdentifier and isSection to xorgparser
* move all the validator methods to __complianceRules()
* add getBrokenReferences() to xorgparser
* add validateOptions to the default checks
* improve getDefaultServerLayout( ) in xorgparser so that if one default ServerLayout
is set, its existence will be checked
* make sure that each ServerLayout has at least 1 reference to a Screen section
* print something useful for debugging when raising ParseException
* update the README with a note on case-sensitive section names[ Martin Pitt ]
* debian/rules: Remove some cruft.
* debian/control: Rename package x-kit to python-xkit for conforming to
Python package naming policy. Also fix section to be 'python'.
* debian/rules: Run the test suite during build and clean up the spewage.
* Add debian/python- xkit.examples: Ship examples/ directory.
* debian/control: Add Vcs-Bzr:.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ubuntu/lucid/x-kit