Wykres commitów

682 Commity (1022e26055c6bfb14bbbafbb66ca43a2020396d3)

Autor SHA1 Wiadomość Data
Johannes Raggam cf533d22bd roundtrip test for property parameter adding 2013-12-26 09:59:12 +01:00
Johannes Raggam 94e20287a4 add how to add property parameters documentation 2013-12-26 09:41:53 +01:00
Johannes Raggam 82acd96524 Remove ability to add property parameters via a value's params attribute when
adding via cal.add (that was only possible for custom value objects and makes
  up a strange API), but support a parameter attribute on cal.add's method
  signature to pass a dictionary with property parameter key/value pairs.
  Fixes #116.
2013-12-26 09:27:59 +01:00
Johannes Raggam 4551ea8180 add missing test case ics file 2013-12-26 00:21:06 +01:00
Johannes Raggam 1c366d7c52 backport some of regebros modern python idiom changes from his regebro-refactor branch 2013-12-25 21:48:00 +01:00
Johannes Raggam 0c05b7daab Raise explicit error on another malformed content line case. fixes #115, fixes #114 2013-12-25 20:47:08 +01:00
Johannes Raggam a2600b467f Merge remote-tracking branch 'hajdbo/patch-1' 2013-12-25 01:34:11 +01:00
Johannes Raggam c1ea2c009e update coverage report, exclude test paths in compat module 2013-12-24 13:30:59 +01:00
Johannes Raggam db30fc0d4d fix tox coverage configuration to also run python 3 tests by not using unit2 script 2013-12-24 13:26:13 +01:00
Johannes Raggam 2e0ff7d912 conditionally install unittest2 only for python 2.6 2013-12-24 13:25:46 +01:00
Johannes Raggam e6a9903013 dont get dependencies from pypi downloaded icalendar egg but just use unittest2. more py3 configuration - tests still not run! 2013-12-24 13:06:03 +01:00
Johannes Raggam 08babba931 format imports according to https://github.com/plone/plone.api/blob/master/docs/contribute/conventions.rst 2013-12-24 01:44:53 +01:00
Johannes Raggam a08849e099 remove unused tests, move examples.rst to docs/usage.rst, pep8 everything 2013-12-24 01:29:05 +01:00
Johannes Raggam 6ded747631 bump version to 4.0 2013-12-23 15:53:04 +01:00
hajdbo b0002373b5 Malformed VEVENT line breaks the parser
See issue 114
2013-11-07 22:19:43 +01:00
Christian Geier 40bcdf6eff migrated most remaining doctests to unittests
left example.rst for merging with docs
these new tests are NOT working under python3.3 just yet
2013-10-31 00:53:03 +01:00
Christian Geier 328e3cd33d updated tox file for python 3.3 2013-10-29 18:43:46 +01:00
Christian Geier 8be6398133 abstracted dict.items() and iteritems()
took that line from werkzeug's compat file
2013-10-29 18:40:59 +01:00
Christian Geier 110fc95f05 added Stefan and me to credits.rst
the python 3 porting was started by Stefan and myself at PyCon DE 2013
as part of the "port to python 3" sprint and continued by me later.
2013-10-27 15:33:04 +01:00
Christian Geier 4eb75a5b41 added python3 support to CHANGES.rst 2013-10-27 15:32:44 +01:00
Christian Geier 84493ac5b5 removed some forgotten debugging helpers 2013-10-27 15:09:41 +01:00
Christian Geier 2074ff051c made the last test 'work' 2013-10-25 01:19:05 +02:00
Christian Geier 03c2b6206d test_contentline_class: sort list before comparing
the lists' elements were not always in the same order in python3.3
2013-10-25 01:10:04 +02:00
Christian Geier 05408de656 got rid of enclosed 'b's in uids 2013-10-25 00:01:45 +02:00
Christian Geier 25e54f19bd more bytestrings
this time there was the need to change some tests from
	str(caselessdict) == CaselessDict"{u'foo': u'bar'}"
to
	assert isinstance(caselessdict, CaselessDict)
	caselessdict == {u'foo': u'bar'}

down to 2 and a half (one is wobbly) failed tests in python3.3
2013-10-24 02:43:37 +02:00
Christian Geier 11c8e9d72d fixed the base64 incompat. 2013-10-24 02:39:05 +02:00
Christian Geier f1b1f9a1b2 used bytestrings where appropriate
again :-) hopefully I now got all the easy to fix errors
2013-10-22 00:35:37 +02:00
Christian Geier 5b131b1b63 added TODO for python3 2013-10-21 00:43:20 +02:00
Christian Geier 621cd87152 used bytestrings where appropriate
again
2013-10-20 23:59:46 +02:00
Christian Geier c91342de68 used bytestrings where appropriate
only in test_icalendar.py
don't yet know why one foldline test should raise an exception
2013-10-20 22:48:47 +02:00
Christian Geier fa22b7763e used bytestrings where appropriate
needed to introduce a unicode version of FOLD called uFOLD
some internal cleanup seems to be needed, not everything uses unicode
just yet
2013-10-20 22:21:00 +02:00
Christian Geier c32987cf12 fixed some encoding problems
all tests in test_encoding pass now (28 passed)
2013-10-20 21:18:38 +02:00
Christian Geier f815493707 used bytestrings where appropriate
27 tests passed now
2013-10-20 20:52:39 +02:00
Christian Geier 42b743a388 avoid b prefix in formatted strings 2013-10-19 10:59:24 +02:00
Christian Geier f438e6aeeb used bytestrings where appropriate 2013-10-18 19:50:04 +02:00
Christian Geier f45f6b3a6e use compatible strings in string containment tests 2013-10-18 19:30:38 +02:00
Christian Geier c93aa02432 use items instead of iteritems 2013-10-18 19:29:23 +02:00
Christian Geier 35f9d68e85 fixed some unicode incompatibilities 2013-10-18 18:35:46 +02:00
Christian Geier bdaad59e81 no more syntax errors under Python 3 2013-10-18 18:34:59 +02:00
cillianderoiste 64f32c96fb Bugfix: parts(), use unicode rather than a str for the exception message
exc can contain unicode characters which raises a UnicodeEncodeError
when formatting the string.
2013-10-07 16:41:26 +02:00
Johannes Raggam 00c969f846 commit message for #107. 2013-09-03 22:21:54 +02:00
Markus Unterwaditzer 0259e0d7c0 Tests. 2013-09-03 18:02:54 +02:00
Markus Unterwaditzer 0f2af70d62 Add more names that get converted to datetime 2013-08-29 17:50:41 +02:00
Johannes Raggam a7b2fab848 test for multiple exdate lines 2013-07-19 11:27:23 +02:00
Johannes Raggam ee82c78e27 remove recurrence.rst doctest, move it to test_recurrence.py 2013-07-19 10:54:25 +02:00
Johannes Raggam 4dd939d918 prepare release 2013-07-03 14:26:31 +02:00
Johannes Raggam eadddbdeec Let to_unicode be more graceful for non-unicode strings, as like CMFPlone's
safe_unicode does it.
2013-06-19 14:11:43 +02:00
Johannes Raggam 9352b3c148 gitignore upd. .mo files not in github but in egg, but we dont have .mo here anyways 2013-05-16 19:52:11 +02:00
Johannes Raggam d52091c86d dont ignore *.mo, ppl wont compile .po 2013-05-15 21:01:31 +02:00
Johannes Raggam 91af1f84d2 Parse an ics string and access some property parameters then.
This is a follow-up of a question recieved per email.
2013-05-06 13:49:30 +02:00