Wykres commitów

766 Commity (d445fcf87cf98c41c16de94f55ca2b613ae8b10a)

Autor SHA1 Wiadomość Data
Christian Geier d445fcf87c Fix handling of non-unique VTIMEZONEs.
We should probably choose a better system for generating unique TZNAMEs.
2017-06-20 13:58:26 +02:00
Christian Geier 2e8311ba0a Reproduce #227
The issue here is that both VTIMEZONE subcomponents have the same
TZOFFSETFROM, TZOFFSETTO and DTSTART, but one is a DAYLIGHT and the
other is a STANDARD component. While this makes them pretty
useless and, if it is standard compliant, it probably shouldn't be.
2017-06-20 13:57:55 +02:00
Christian Geier 98c94feb96 Merge pull request #229 from collective/fix/218
Assertion for VTIMEZONE sub-components' DTSTART
2017-06-20 13:56:45 +02:00
Daniel M. Capella 8c9bbc7c4d readme: Remove unnecessary indentation (#225) 2017-06-19 19:46:34 +02:00
Jon Dufresne 5cb143d2c5 Rename [wheel] section to [bdist_wheel] as the former is legacy (#231)
See:

54ddbcc9ce/wheel/bdist_wheel.py?fileviewer=file-view-default#bdist_wheel.py-119:125

http://pythonwheels.com/
2017-06-19 19:44:42 +02:00
Christian Geier f94cd35b6b Assertion for VTIMEZONE sub-components' DTSTART 2017-05-26 14:59:54 +02:00
esteele fa86fd5dfb Back to development: 3.11.5
[ci skip]
2017-05-10 08:52:19 -04:00
esteele a0380b78db Preparing release 3.11.4
[ci skip]
2017-05-10 08:52:03 -04:00
Christian Geier 01f788e990 Merge pull request #220 from collective/fix/217
Fix handling of VTIMEZONEs with subcomponents with the same DTSTARTs

fixes #217
2017-04-19 00:35:51 +02:00
Christian Geier 5c269e1082 Fix handling of VTIMEZONEs with subcomponents with the same DTSTARTs
For VTIMEZONE subcomponents without a TZNAME we would construct a
TZNAME from their shared TZID and DTSTART, if their DTSTART was equal,
this would lead to the same TZNAME and with that to a broken timezone
object.

Fixes #217.
2017-04-19 00:21:59 +02:00
Christian Geier 0368e16faa Reproduce #217 2017-04-19 00:21:16 +02:00
Christian Geier 8a52e56fab Merge pull request #207 from geier/fix_base64_equal
Allow `=` in parameter values.
2017-04-19 00:19:43 +02:00
Markus Unterwaditzer 805f59d36a Extend tests 2017-04-19 00:07:41 +02:00
Markus Unterwaditzer 0f408d8cce Fix q_split for maxsplit=0 2017-04-19 00:07:41 +02:00
Christian Geier b82893ff56 New test for broken properties.
The fix for #197 makes the test data used for testing the error
messages for broken properties (which was valid data) work with
icalendar, we therefor need a new test with actually invalid data.
2017-04-19 00:07:41 +02:00
Christian Geier 124b328c93 Moved test_apple_xlocation() to test_icalendar.py 2017-04-19 00:07:41 +02:00
Christian Geier d0fd108ec7 Allow `=` in parameter values.
Some parameter values (e.g., BASE64 encoded binary data often ends with
one or two equal signs) may contain an equal sign (`=`). The current
implementation splits key-value pairs at all equal signs, which leads to
errors. Especially icalendar files generated by Apple's software often
feature BASE64 encoded binary data in parameter values.

This patch introduces a new parameter `maxsplit` to
icalendar.parser.q_split() which works similar as python's
string.split(sep, maxsplit) which we then use to split parameter
key-value pairs only at the first equal sign.

This patch fixes #197.
2017-04-19 00:07:41 +02:00
Christian Geier 6c86898399 On python2.6 install unittest2 for tox. (#214)
* On python2.6 install unittest2 for tox.

* fixup
2017-04-19 00:02:38 +02:00
Maurits van Rees 9e4a4f018d Back to development: 3.11.4
[ci skip]
2017-02-15 12:37:39 +01:00
Maurits van Rees ebd677a0eb Preparing release 3.11.3
[ci skip]
2017-02-15 12:37:19 +01:00
Maurits van Rees e921a8d4bc Removing setuptools is no breaking change.
Moved this changelog entry to the 'Bug fixes' header.

[ci skip]
2017-02-15 12:37:01 +01:00
Maurits van Rees 34dcb4f4ce Fixed RST by adding two lines to the long description.
[ci skip]
2017-02-15 12:20:19 +01:00
Markus Unterwaditzer 87f374d96e Introduce Hypothesis for testing (#191) 2017-02-05 21:36:33 +01:00
Markus Unterwaditzer 7fa23d44ba Wheels
Fix #199
2017-01-30 22:54:32 +01:00
Maurits van Rees 74ef4c1f62 Merge pull request #208 from untitaker/no-automerge
Remove custom merge strategy for changelog
2017-01-26 00:20:46 +01:00
Markus Unterwaditzer 4ff645203a Merge pull request #211 from jdufresne/no-require-setuptools
Drop requirement for setuptools package from setup.py
2017-01-25 20:11:38 +01:00
Jon Dufresne 70985f19b2 Drop requirement for setuptools package from setup.py
setuptools is shipped with Python, no need to include it as a requirement.

Further, it is not used by the icalendar package, but only by setup.py.

setuptools is imported by setup.py _before_ dependencies have been installed.
2017-01-24 07:06:08 -08:00
Markus Unterwaditzer fd1f8a17eb Merge pull request #212 from jdufresne/support
Document all supported versions of Python in setup.py
2017-01-24 14:44:25 +01:00
Markus Unterwaditzer b198f54e8e Merge pull request #213 from jdufresne/resource-warnings
Fix all "ResourceWarning: unclosed file ..." warnings during tests
2017-01-24 14:43:57 +01:00
Jon Dufresne fbed44e617 Fix all "ResourceWarning: unclosed file ..." warnings during tests 2017-01-23 18:36:23 -08:00
Jon Dufresne 80eb80c3a1 Document all supported versions of Python in setup.py 2017-01-23 18:25:37 -08:00
Markus Unterwaditzer a01dda2eed Remove custom merge strategy for changelog
This causes old PRs to add the changelog entry to already released
versions. It happened to me while rebasing #207
2017-01-19 12:44:40 +01:00
Markus Unterwaditzer 475996a02f Allow passing parameters to pytest
An invocation like "tox -epy -- --pdb" will pass --pdb to pytest.
2017-01-19 12:41:53 +01:00
Timo Stollenwerk ebb47ee991 Back to development: 3.11.3
[ci skip]
2017-01-12 17:34:09 +01:00
Timo Stollenwerk 5ec4e60560 Preparing release 3.11.2
[ci skip]
2017-01-12 17:33:22 +01:00
Timo Stollenwerk eca7a6160d Fix changelog style. 2017-01-12 17:32:51 +01:00
Christian Geier cda4f8d5a0 Merge pull request #206 from geier/tox_py35
Also test on python 3.5 and 3.6, allow failures on pypy3
2017-01-05 01:40:10 +01:00
Christian Geier 8160afdbef Also test on python 3.5 and 3.6.
Also allow failures on travis.ci with pypy3.
2016-12-30 15:16:03 +01:00
Maurits van Rees 3d3015f186 Back to development: 3.11.2
[ci skip]
2016-12-19 18:03:18 +01:00
Maurits van Rees 69b5ec7f54 Preparing release 3.11.1
[ci skip]
2016-12-19 18:03:04 +01:00
Maurits van Rees d7af875e42 Cleaned up empty headers from changelog.
[ci skip]
2016-12-19 18:02:57 +01:00
Christian Geier 1ffe304700 Merge pull request #204 from digsim/unicodefix
Handle UnicodeEncodeError in Error messages.
2016-11-29 00:06:19 +01:00
Andreas Ruppen 885a547d34 Handle UnicodeEncodeError in Error messages. Depending on the input, I might be that instead of collecting the thrown error message, python throws a new UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 96: ordinal not in range(128). So we use the six library and unicode function to properly treat the error message before adding it to the stack of already collected error messages. 2016-11-22 21:11:16 +01:00
Maurits van Rees b8e242af4d Back to development: 3.11.1
[ci skip]
2016-11-18 20:13:51 +01:00
Maurits van Rees 617ca66589 Preparing release 3.11
[ci skip]
2016-11-18 20:13:07 +01:00
Maurits van Rees 72ee6a1c2a Updated changelog and added PyPy and CPython classifiers.
[ci skip]
2016-11-18 20:12:55 +01:00
Christian Geier d277fb935f Merge pull request #203 from collective/gforcada-patch-1
Test with pypy and pypy3
2016-11-07 15:02:11 +01:00
Gil Forcada Codinachs 91c2797989 Test with pypy and pypy3
To check if it actually works
2016-11-05 19:11:20 +01:00
tpltnt 28df37305b Usage typo fixes (#198)
* minor typo fixes

* small rephrasing

* tiny typo fix

* missing period
2016-10-26 00:52:28 -05:00
Johannes Raggam c5a53fe973 Back to development: 3.11 2016-05-26 11:23:54 +02:00