vContent

Changelog

(0) +10 tip
10:7f92fa2ec22c
2009-01-15 Paul Boddie changeset files shortlog graph Use more portable filename construction.
tests/test_calendar.py tests/test_calendar_stream.py tests/test_card.py tests/test_card_stream.py
9:18ef1a1eab60
2008-11-03 Paul Boddie changeset files shortlog graph Renamed the StreamWriter.write method to write_content_line. Added support for skipping blank lines when reading content. Added support for opening streams using filenames in the convenience methods, introducing close methods on certain classes in order to support the proper closure of streams after use.
tests/test_calendar_stream.py tests/test_card_stream.py vCalendar.py vContent.py
8:c408f51100a9
2008-11-02 Paul Boddie changeset files shortlog graph Overhauled the reading and writing to more properly handle folded lines, introducing a ContentLine class for parsing whole content lines, and making a separate Writer class which is able to transparently fold lines for the StreamWriter class. Added iterwrite functions, although their name could be better chosen. Updated the tests to more properly test reading and to test writing.
tests/test_calendar_stream.py tests/test_card_stream.py tests/test_reader.py vCalendar.py vContent.py
7:7eeb730fcbdb
2008-11-02 Paul Boddie changeset files shortlog graph Added elementary writing support. Converted test.vcf to use CRLF newlines. Fixed quoting in test.ics. Made the decode method use the names of properties, although this has no real use currently. Made format information global in the vCalendar module.
tests/test.ics tests/test.vcf tests/test_calendar_stream.py tests/test_card_stream.py vCalendar.py vContent.py
6:a66f7923d548
2008-11-02 Paul Boddie changeset files shortlog graph Fix typing error.
vCalendar.py
5:3fdf59812622
2008-10-23 Paul Boddie changeset files shortlog graph Added a vCalendarStreamParser class which decodes content, reducing the vCalendarParser class to something which only assembles the content. Fixed the decode_parameters method to actually return the decoded parameters. Added test files and new tests for stream parsing. Added iterparse functions and made the vCalendar.parse and vCalendar.iterparse functions use their vContent counterparts.
tests/test.ics tests/test.vcf tests/test_calendar.py tests/test_calendar_stream.py tests/test_card.py tests/test_card_stream.py vCalendar.py vContent.py
4:f988b4dd5531
2008-10-18 Paul Boddie changeset files shortlog graph Changed the Reader class to more properly handle quoting, updating the StreamParser class to use the regular expressions provided. Fixed the handleProperty docstring. Added a vCalendar module which has specialised knowledge about that format. Added test programs for the Reader and for each module's parse function.
tests/test_calendar.py tests/test_card.py tests/test_reader.py vCalendar.py vContent.py
3:0a6992ed6bc7
2008-10-17 Paul Boddie changeset files shortlog graph Renamed element to component and component to property in order to be consistent with RFC 2445.
vContent.py
2:b5f2be07e2f8
2008-10-17 Paul Boddie changeset files shortlog graph Separated parser functionality out into two distinct classes, adopting SAX-like conventions.
vContent.py
1:97d39ea15ccf
2008-10-17 Paul Boddie changeset files shortlog graph Fixed value decoding, performing character substitutions before explicitly specified decoding operations.
vContent.py
(0) +10 tip