kopia lustrzana https://github.com/collective/icalendar
formatings
rodzic
ae97335ceb
commit
1c097510d5
134
CHANGES.rst
134
CHANGES.rst
|
|
@ -37,123 +37,123 @@ Changelog
|
||||||
3.3 (2013-02-08)
|
3.3 (2013-02-08)
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
* Drop support for Python < 2.6.
|
- Drop support for Python < 2.6.
|
||||||
[thet]
|
[thet]
|
||||||
|
|
||||||
* Allow vGeo to be instantiated with list and not only tuples of geo
|
- Allow vGeo to be instantiated with list and not only tuples of geo
|
||||||
coordinates. Fixes #83.
|
coordinates. Fixes #83.
|
||||||
[thet]
|
[thet]
|
||||||
|
|
||||||
* Don't force to pass a list to vDDDLists and allow setting individual RDATE
|
- Don't force to pass a list to vDDDLists and allow setting individual RDATE
|
||||||
and EXDATE values without having to wrap them in a list.
|
and EXDATE values without having to wrap them in a list.
|
||||||
[thet]
|
[thet]
|
||||||
|
|
||||||
* Fix encoding function to allow setting RDATE and EXDATE values and not to
|
- Fix encoding function to allow setting RDATE and EXDATE values and not to
|
||||||
have bypass encoding with an icalendar property.
|
have bypass encoding with an icalendar property.
|
||||||
[thet]
|
[thet]
|
||||||
|
|
||||||
* Allow setting of timezone for vDDDLists and support timezone properties for
|
- Allow setting of timezone for vDDDLists and support timezone properties for
|
||||||
RDATE and EXDATE component properties.
|
RDATE and EXDATE component properties.
|
||||||
[thet]
|
[thet]
|
||||||
|
|
||||||
* Move setting of TZID properties to vDDDTypes, where it belongs to.
|
- Move setting of TZID properties to vDDDTypes, where it belongs to.
|
||||||
[thet]
|
[thet]
|
||||||
|
|
||||||
* Use @staticmethod decorator instead of wrapper function.
|
- Use @staticmethod decorator instead of wrapper function.
|
||||||
[warvariuc, thet]
|
[warvariuc, thet]
|
||||||
|
|
||||||
* Extend quoting of parameter values to all of those characters: ",;: ’'".
|
- Extend quoting of parameter values to all of those characters: ",;: ’'".
|
||||||
This fixes an outlook incompatibility with some characters. Fixes: #79,
|
This fixes an outlook incompatibility with some characters. Fixes: #79,
|
||||||
Fixes: #81.
|
Fixes: #81.
|
||||||
[warvariuc]
|
[warvariuc]
|
||||||
|
|
||||||
* Define VTIMETZONE subcomponents STANDARD and DAYLIGHT for RFC5545 compliance.
|
- Define VTIMETZONE subcomponents STANDARD and DAYLIGHT for RFC5545 compliance.
|
||||||
[thet]
|
[thet]
|
||||||
|
|
||||||
|
|
||||||
3.2 (2012-11-27)
|
3.2 (2012-11-27)
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
* Documentation file layout restructuring.
|
- Documentation file layout restructuring.
|
||||||
[thet]
|
[thet]
|
||||||
|
|
||||||
* Fix time support. vTime events can be instantiated with a datetime.time
|
- Fix time support. vTime events can be instantiated with a datetime.time
|
||||||
object, and do not inherit from datetime.time itself.
|
object, and do not inherit from datetime.time itself.
|
||||||
[rdunklau]
|
[rdunklau]
|
||||||
|
|
||||||
* Correctly handle tzinfo objects parsed with dateutil. Fixes #77.
|
- Correctly handle tzinfo objects parsed with dateutil. Fixes #77.
|
||||||
[warvariuc, thet]
|
[warvariuc, thet]
|
||||||
|
|
||||||
* Text values are escaped correclty. Fixes #74.
|
- Text values are escaped correclty. Fixes #74.
|
||||||
[warvariuc]
|
[warvariuc]
|
||||||
|
|
||||||
* Returned old folding algorithm, as the current implementation fails in some
|
- Returned old folding algorithm, as the current implementation fails in some
|
||||||
cases. Fixes #72, Fixes #73.
|
cases. Fixes #72, Fixes #73.
|
||||||
[warvariuc]
|
[warvariuc]
|
||||||
|
|
||||||
* Supports to_ical() on date/time properties for dates prior to 1900.
|
- Supports to_ical() on date/time properties for dates prior to 1900.
|
||||||
[cdevienne]
|
[cdevienne]
|
||||||
|
|
||||||
|
|
||||||
3.1 (2012-09-05)
|
3.1 (2012-09-05)
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
* Make sure parameters to certain properties propagate to the ical output.
|
- Make sure parameters to certain properties propagate to the ical output.
|
||||||
[kanarip]
|
[kanarip]
|
||||||
|
|
||||||
* Re-include doctests.
|
- Re-include doctests.
|
||||||
[rnix]
|
[rnix]
|
||||||
|
|
||||||
* Ensure correct datatype at instance creation time in ``prop.vCalAddress``
|
- Ensure correct datatype at instance creation time in ``prop.vCalAddress``
|
||||||
and ``prop.vText``.
|
and ``prop.vText``.
|
||||||
[rnix]
|
[rnix]
|
||||||
|
|
||||||
* Apply TZID parameter to datetimes parsed from RECURRENCE-ID
|
- Apply TZID parameter to datetimes parsed from RECURRENCE-ID
|
||||||
[dbstovall]
|
[dbstovall]
|
||||||
|
|
||||||
* Localize datetimes for timezones to avoid DST transition errors.
|
- Localize datetimes for timezones to avoid DST transition errors.
|
||||||
[dbstovall]
|
[dbstovall]
|
||||||
|
|
||||||
* Allow UTC-OFFSET property value data types in seconds, which follows RFC5545
|
- Allow UTC-OFFSET property value data types in seconds, which follows RFC5545
|
||||||
specification.
|
specification.
|
||||||
[nikolaeff]
|
[nikolaeff]
|
||||||
|
|
||||||
* Remove utctz and normalized_timezone methods to simplify the codebase. The
|
- Remove utctz and normalized_timezone methods to simplify the codebase. The
|
||||||
methods were too tiny to be useful and just used at one place.
|
methods were too tiny to be useful and just used at one place.
|
||||||
[thet]
|
[thet]
|
||||||
|
|
||||||
* When using Component.add() to add icalendar properties, force a value
|
- When using Component.add() to add icalendar properties, force a value
|
||||||
conversion to UTC for CREATED, DTSTART and LAST-MODIFIED. The RFC expects UTC
|
conversion to UTC for CREATED, DTSTART and LAST-MODIFIED. The RFC expects UTC
|
||||||
for those properties.
|
for those properties.
|
||||||
[thet]
|
[thet]
|
||||||
|
|
||||||
* Removed last occurrences of old API (from_string).
|
- Removed last occurrences of old API (from_string).
|
||||||
[Rembane]
|
[Rembane]
|
||||||
|
|
||||||
* Add 'recursive' argument to property_items() to switch recursive listing.
|
- Add 'recursive' argument to property_items() to switch recursive listing.
|
||||||
For example when parsing a text/calendar text including multiple components
|
For example when parsing a text/calendar text including multiple components
|
||||||
(e.g. a VCALENDAR with 5 VEVENTs), the previous situation required us to look
|
(e.g. a VCALENDAR with 5 VEVENTs), the previous situation required us to look
|
||||||
over all properties in VEVENTs even if we just want the properties under the
|
over all properties in VEVENTs even if we just want the properties under the
|
||||||
VCALENDAR component (VERSION, PRODID, CALSCALE, METHOD).
|
VCALENDAR component (VERSION, PRODID, CALSCALE, METHOD).
|
||||||
[dmikurube]
|
[dmikurube]
|
||||||
|
|
||||||
* All unit tests fixed.
|
- All unit tests fixed.
|
||||||
[mikaelfrykholm]
|
[mikaelfrykholm]
|
||||||
|
|
||||||
|
|
||||||
3.0.1b2 (2012-03-01)
|
3.0.1b2 (2012-03-01)
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
* For all TZID parameters in DATE-TIME properties, use timezone identifiers
|
- For all TZID parameters in DATE-TIME properties, use timezone identifiers
|
||||||
(e.g. Europe/Vienna) instead of timezone names (e.g. CET), as required by
|
(e.g. Europe/Vienna) instead of timezone names (e.g. CET), as required by
|
||||||
RFC5545. Timezone names are used together with timezone identifiers in the
|
RFC5545. Timezone names are used together with timezone identifiers in the
|
||||||
Timezone components.
|
Timezone components.
|
||||||
[thet]
|
[thet]
|
||||||
|
|
||||||
* Timezone parsing, issues and test fixes.
|
- Timezone parsing, issues and test fixes.
|
||||||
[mikaelfrykholm, garbas, tgecho]
|
[mikaelfrykholm, garbas, tgecho]
|
||||||
|
|
||||||
* Since we use pytz for timezones, also use UTC tzinfo object from the pytz
|
- Since we use pytz for timezones, also use UTC tzinfo object from the pytz
|
||||||
library instead of own implementation.
|
library instead of own implementation.
|
||||||
[thet]
|
[thet]
|
||||||
|
|
||||||
|
|
@ -161,19 +161,19 @@ Changelog
|
||||||
3.0.1b1 (2012-02-24)
|
3.0.1b1 (2012-02-24)
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
* Update Release information.
|
- Update Release information.
|
||||||
[thet]
|
[thet]
|
||||||
|
|
||||||
|
|
||||||
3.0
|
3.0
|
||||||
---
|
---
|
||||||
|
|
||||||
* Add API for proper Timezone support. Allow creating ical DATE-TIME strings
|
- Add API for proper Timezone support. Allow creating ical DATE-TIME strings
|
||||||
with timezone information from Python datetimes with pytz based timezone
|
with timezone information from Python datetimes with pytz based timezone
|
||||||
information and vice versa.
|
information and vice versa.
|
||||||
[thet]
|
[thet]
|
||||||
|
|
||||||
* Unify API to only use to_ical and from_ical and remove string casting as a
|
- Unify API to only use to_ical and from_ical and remove string casting as a
|
||||||
requirement for Python 3 compatibility:
|
requirement for Python 3 compatibility:
|
||||||
New: to_ical.
|
New: to_ical.
|
||||||
Old: ical, string, as_string and string casting via __str__ and str.
|
Old: ical, string, as_string and string casting via __str__ and str.
|
||||||
|
|
@ -185,27 +185,27 @@ Changelog
|
||||||
2.2 (2011-08-24)
|
2.2 (2011-08-24)
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
* migration to https://github.com/collective/icalendar using svn2git preserving
|
- migration to https://github.com/collective/icalendar using svn2git preserving
|
||||||
tags, branches and authors.
|
tags, branches and authors.
|
||||||
[garbas]
|
[garbas]
|
||||||
|
|
||||||
* using tox for testing on python 2.4, 2.5, 2.6, 2.6.
|
- using tox for testing on python 2.4, 2.5, 2.6, 2.6.
|
||||||
[garbas]
|
[garbas]
|
||||||
|
|
||||||
* fixed tests so they pass also under python 2.7.
|
- fixed tests so they pass also under python 2.7.
|
||||||
[garbas]
|
[garbas]
|
||||||
|
|
||||||
* running tests on https://jenkins.plone.org/job/icalendar (only 2.6 for now)
|
- running tests on https://jenkins.plone.org/job/icalendar (only 2.6 for now)
|
||||||
with some other metrics (pylint, clonedigger, coverage).
|
with some other metrics (pylint, clonedigger, coverage).
|
||||||
[garbas]
|
[garbas]
|
||||||
|
|
||||||
* review and merge changes from https://github.com/cozi/icalendar fork.
|
- review and merge changes from https://github.com/cozi/icalendar fork.
|
||||||
[garbas]
|
[garbas]
|
||||||
|
|
||||||
* created sphinx documentation and started documenting development and goals.
|
- created sphinx documentation and started documenting development and goals.
|
||||||
[garbas]
|
[garbas]
|
||||||
|
|
||||||
* hook out github repository to http://readthedocs.org service so sphinx
|
- hook out github repository to http://readthedocs.org service so sphinx
|
||||||
documentation is generated on each commit (for master). Documentation can be
|
documentation is generated on each commit (for master). Documentation can be
|
||||||
visible on: http://readthedocs.org/docs/icalendar/en/latest/
|
visible on: http://readthedocs.org/docs/icalendar/en/latest/
|
||||||
[garbas]
|
[garbas]
|
||||||
|
|
@ -214,36 +214,36 @@ Changelog
|
||||||
2.1 (2009-12-14)
|
2.1 (2009-12-14)
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
* Fix deprecation warnings about ``object.__init__`` taking no parameters.
|
- Fix deprecation warnings about ``object.__init__`` taking no parameters.
|
||||||
|
|
||||||
* Set the VALUE parameter correctly for date values.
|
- Set the VALUE parameter correctly for date values.
|
||||||
|
|
||||||
* Long binary data would be base64 encoded with newlines, which made the
|
- Long binary data would be base64 encoded with newlines, which made the
|
||||||
iCalendar files incorrect. (This still needs testing).
|
iCalendar files incorrect. (This still needs testing).
|
||||||
|
|
||||||
* Correctly handle content lines which include newlines.
|
- Correctly handle content lines which include newlines.
|
||||||
|
|
||||||
|
|
||||||
2.0.1 (2008-07-11)
|
2.0.1 (2008-07-11)
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
* Made the tests run under Python 2.5+
|
- Made the tests run under Python 2.5+
|
||||||
|
|
||||||
* Renamed the UTC class to Utc, so it would not clash with the UTC object,
|
- Renamed the UTC class to Utc, so it would not clash with the UTC object,
|
||||||
since that rendered the UTC object unpicklable.
|
since that rendered the UTC object unpicklable.
|
||||||
|
|
||||||
|
|
||||||
2.0 (2008-07-11)
|
2.0 (2008-07-11)
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
* EXDATE and RDATE now returns a vDDDLists object, which contains a list
|
- EXDATE and RDATE now returns a vDDDLists object, which contains a list
|
||||||
of vDDDTypes objects. This is do that EXDATE and RDATE can contain
|
of vDDDTypes objects. This is do that EXDATE and RDATE can contain
|
||||||
lists of dates, as per RFC.
|
lists of dates, as per RFC.
|
||||||
|
|
||||||
***Note!***: This change is incompatible with earlier behavior, so if you
|
***Note!***: This change is incompatible with earlier behavior, so if you
|
||||||
handle EXDATE and RDATE you will need to update your code.
|
handle EXDATE and RDATE you will need to update your code.
|
||||||
|
|
||||||
* When createing a vDuration of -5 hours (which in itself is nonsensical),
|
- When createing a vDuration of -5 hours (which in itself is nonsensical),
|
||||||
the ical output of that was -P1DT19H, which is correct, but ugly. Now
|
the ical output of that was -P1DT19H, which is correct, but ugly. Now
|
||||||
it's '-PT5H', which is prettier.
|
it's '-PT5H', which is prettier.
|
||||||
|
|
||||||
|
|
@ -251,16 +251,16 @@ Changelog
|
||||||
1.2 (2006-11-25)
|
1.2 (2006-11-25)
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
* Fixed a string index out of range error in the new folding code.
|
- Fixed a string index out of range error in the new folding code.
|
||||||
|
|
||||||
|
|
||||||
1.1 (2006-11-23)
|
1.1 (2006-11-23)
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
* Fixed a bug in caselessdicts popitem. (thanks to Michael Smith
|
- Fixed a bug in caselessdicts popitem. (thanks to Michael Smith
|
||||||
<msmith@fluendo.com>)
|
<msmith@fluendo.com>)
|
||||||
|
|
||||||
* The RFC 2445 was a bit unclear on how to handle line folding when it
|
- The RFC 2445 was a bit unclear on how to handle line folding when it
|
||||||
happened to be in the middle of a UTF-8 character. This has been clarified
|
happened to be in the middle of a UTF-8 character. This has been clarified
|
||||||
in the following discussion:
|
in the following discussion:
|
||||||
http://lists.osafoundation.org/pipermail/ietf-calsify/2006-August/001126.html
|
http://lists.osafoundation.org/pipermail/ietf-calsify/2006-August/001126.html
|
||||||
|
|
@ -272,53 +272,53 @@ Changelog
|
||||||
1.0 (2006-08-03)
|
1.0 (2006-08-03)
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
* make get_inline and set_inline support non ascii codes.
|
- make get_inline and set_inline support non ascii codes.
|
||||||
|
|
||||||
* Added support for creating a python egg distribution.
|
- Added support for creating a python egg distribution.
|
||||||
|
|
||||||
|
|
||||||
0.11 (2005-11-08)
|
0.11 (2005-11-08)
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
* Changed component .from_string to use types_factory instead of hardcoding
|
- Changed component .from_string to use types_factory instead of hardcoding
|
||||||
entries to 'inline'
|
entries to 'inline'
|
||||||
|
|
||||||
* Changed UTC tzinfo to a singleton so the same one is used everywhere
|
- Changed UTC tzinfo to a singleton so the same one is used everywhere
|
||||||
|
|
||||||
* Made the parser more strict by using regular expressions for key name,
|
- Made the parser more strict by using regular expressions for key name,
|
||||||
param name and quoted/unquoted safe char as per the RFC
|
param name and quoted/unquoted safe char as per the RFC
|
||||||
|
|
||||||
* Added some tests from the schooltool icalendar parser for better coverage
|
- Added some tests from the schooltool icalendar parser for better coverage
|
||||||
|
|
||||||
* Be more forgiving on the regex for folding lines
|
- Be more forgiving on the regex for folding lines
|
||||||
|
|
||||||
* Allow for multiple top-level components on .from_string
|
- Allow for multiple top-level components on .from_string
|
||||||
|
|
||||||
* Fix vWeekdays, wasn't accepting relative param (eg: -3SA vs -SA)
|
- Fix vWeekdays, wasn't accepting relative param (eg: -3SA vs -SA)
|
||||||
|
|
||||||
* vDDDTypes didn't accept negative period (eg: -P30M)
|
- vDDDTypes didn't accept negative period (eg: -P30M)
|
||||||
|
|
||||||
* 'N' is also acceptable as newline on content lines, per RFC
|
- 'N' is also acceptable as newline on content lines, per RFC
|
||||||
|
|
||||||
|
|
||||||
0.10 (2005-04-28)
|
0.10 (2005-04-28)
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
* moved code to codespeak.net subversion.
|
- moved code to codespeak.net subversion.
|
||||||
|
|
||||||
* reorganized package structure so that source code is under 'src' directory.
|
- reorganized package structure so that source code is under 'src' directory.
|
||||||
Non-package files remain in distribution root.
|
Non-package files remain in distribution root.
|
||||||
|
|
||||||
* redid doc/.py files as doc/.txt, using more modern doctest. Before they
|
- redid doc/.py files as doc/.txt, using more modern doctest. Before they
|
||||||
were .py files with big docstrings.
|
were .py files with big docstrings.
|
||||||
|
|
||||||
* added test.py testrunner, and tests/test_icalendar.py that picks up all
|
- added test.py testrunner, and tests/test_icalendar.py that picks up all
|
||||||
doctests in source code and doc directory, and runs them, when typing::
|
doctests in source code and doc directory, and runs them, when typing::
|
||||||
|
|
||||||
python2.3 test.py
|
python2.3 test.py
|
||||||
|
|
||||||
* renamed iCalendar to lower case package name, lowercased, de-pluralized and
|
- renamed iCalendar to lower case package name, lowercased, de-pluralized and
|
||||||
shorted module names, which are mostly implementation detail.
|
shorted module names, which are mostly implementation detail.
|
||||||
|
|
||||||
* changed tests so they generate .ics files in a temp directory, not in the
|
- changed tests so they generate .ics files in a temp directory, not in the
|
||||||
structure itself.
|
structure itself.
|
||||||
|
|
|
||||||
2
TODO.rst
2
TODO.rst
|
|
@ -4,7 +4,7 @@ TODO
|
||||||
- Add a __add__ method to cal.Component, so that ``cal[key] = val`` works as
|
- Add a __add__ method to cal.Component, so that ``cal[key] = val`` works as
|
||||||
expected. Currently, the value is added as is, but not converted to the
|
expected. Currently, the value is added as is, but not converted to the
|
||||||
correct subcomponent, as specified in prop.TypesFactory. See also the NOTE
|
correct subcomponent, as specified in prop.TypesFactory. See also the NOTE
|
||||||
in: icalendar.tests.example.rst, Components, line 82.
|
in: icalendar.tests.example.rst, Components, line 82.
|
||||||
|
|
||||||
|
|
||||||
OLD TODO's
|
OLD TODO's
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue