vContent

Changelog

(0) -10 +10 tip
14:aaeb2407797f
2011-07-17 Paul Boddie changeset files shortlog graph Added copyright and licensing information. Changed the licence to GPLv3.
docs/COPYING.txt docs/gpl-3.0.txt vCalendar.py vContent.py
13:8cad23bb4880
2011-07-17 Paul Boddie changeset files shortlog graph Used raw strings to make some literals easier to read.
vCalendar.py
12:ac747b9b54fa
2009-03-15 Paul Boddie changeset files shortlog graph Introduced default value parameters for handleProperty and makeComponent in the vContent.Parser class. Supported parser_cls parameterisation in the vCalendarParser.parse method. Added try...finally to various tests.
tests/test_calendar.py tests/test_card.py vCalendar.py vContent.py
11:428f343f0626
2009-03-14 Paul Boddie changeset files shortlog graph Changed the StreamWriter infrastructure in order to provide a more coherent mechanism for encoding data for output, employing the write method as the public method for sending data for output, and fixing the ALTREP output for the test iCalendar file. Introduced encoding parameters in the convenience functions. Added and improved docstrings. Made the streaming tests check the equivalence of the generated files and the original files.
tests/test_calendar_stream.py tests/test_card_stream.py vCalendar.py vContent.py
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
(0) -10 +10 tip