Commits

Show all
Author Commit Message Labels Comments Date
Jason R. Coombs
Preparing for 0.4.1 release
Tags
0.4.1
Jason R. Coombs
Improved robustness around part-edit - now selects notepad on windows if no XML_EDITOR or EDITOR environment variable defined
Jason R. Coombs
Added support for editing [Content-Types] Bumped to 0.4.1-dev Fixed indentation
Jason R. Coombs
Fixed issue with 'with' statement for Python 2.5
Jason R. Coombs
Added tag 0.4 for changeset 0b2ec6fb9b2b
Jason R. Coombs
Updated to 0.4 for release
Tags
0.4
Jason R. Coombs
Added test to catch regression where .save no longer accepts streams. Fixed regression.
Jason R. Coombs
Fixed logic where file would be saved even if unchanged. Added support for pretty-printing XML before editing
Jason R. Coombs
Added two command-line scripts for listing and editing content in an OOXML package
Jason R. Coombs
Fixed deprecation warning in lxml usage
Jason R. Coombs
Merging registering-parts branch as it's now passing all tests in openpack and paradocx
Jason R. Coombs
Merged changes from default.
Branches
registering-parts
Jason R. Coombs
Added support for loading core properties into the class
Branches
registering-parts
Jason R. Coombs
Fixed issue where core_properties attribute of a Package was no longer available
Branches
registering-parts
Jason R. Coombs
Fixed two issues with the new code causing failing tests.
Branches
registering-parts
Jason R. Coombs
Changed __dict__.update to use setattr (in case subclasses override behavior by hooking into attributes/properties)
Jason R. Coombs
Added common parameters for serializing XML elements
Jason R. Coombs
Changed signature of Part again to not automatically set attributes on the instance
Jason R. Coombs
Began refactor to use metaclasses so Parts are self-registering and Part-loading logic can be tied to their respective parts
Branches
registering-parts
Jason R. Coombs
Added DefaultNamed mixin for parts which have a default name
Jason R. Coombs
Refactored new tests into original classes
Jason R. Coombs
Added helper methods to retrieve parts from a package by content type and by class
Jason R. Coombs
Updated Pack.base and Pack.name to be properties. Name is validated when set.
Jason R. Coombs
Adding test to capture Part naming validation
Jason R. Coombs
Added as_stream to zippack so a package can be easily handed off to as a stream (such as in an HTTP response). Added a test for saving and reloading empty packages. Fixed an issue that emerged where relationships weren't loaded and saved the same way if there were no relationships present. Unified the relationship dump/store mechanism by moving it to the Relationships class.
Jason R. Coombs
Backing out 3618d9377381 - this method isn't needed
Jason R. Coombs
Added method to Relationships to clear them
Jason R. Coombs
Removed another attribute from basepack (start_part), as it doesn't appear to be relevant until we have an Office Package. Created test suite for officepack. Changed OfficePackage.start_part to be a read-only property, as I believe that's how it is used.
YouGov, plc.
Bumping to 0.4 as these recent checkins have substantially changed the API
YouGov, plc.
Documenting that the tests now require py.test 1.0 or later
  1. Prev
  2. Next