George V. Reilly
f0117b7898
vRecur.ical()'s parts are in canonical order.
...
Mac iCal ignores RRULEs where FREQ is not the first rule part. vRecur.ical() now sorts those parts according to the order listed in RFC 5545, section 3.3.10.
Signed-off-by: Rok Garbas <rok@garbas.si>
2011-08-18 07:37:53 +02:00
Eric Hanchrow
04ae7637e7
style: compare len(comps) to 1 explicitly, to reinforce that the comparison is numeric
...
Signed-off-by: Rok Garbas <rok@garbas.si>
2011-08-18 07:34:35 +02:00
Eric Hanchrow
82b3ef9f7b
Use % operator rather than "format" method, to maintain backwards compatibility
...
Signed-off-by: Rok Garbas <rok@garbas.si>
2011-08-18 07:33:54 +02:00
Eric Hanchrow
b71e86c9ea
(Component.from_string): Slightly-better exception messages
...
Signed-off-by: Rok Garbas <rok@garbas.si>
2011-08-18 07:33:32 +02:00
Eric Hanchrow
9d6ed39caa
Parameters.from_string: move the exception handler inside the loop
...
... so that the exception message is more informative.
Signed-off-by: Rok Garbas <rok@garbas.si>
2011-08-18 07:33:08 +02:00
Eric Hanchrow
05fb1f35db
Fix a few places that re-raise ValueError:
...
Rather than throwing away the information in the original exception,
we will instead _add_ some information.
This should make it easier to see _why_ we're failing to parse an
iCalendar file.
Signed-off-by: Rok Garbas <rok@garbas.si>
2011-08-18 07:32:23 +02:00
Eric Hanchrow
5703439609
Ignore exceptions while parsing VEVENTs.
...
Signed-off-by: Rok Garbas <rok@garbas.si>
2011-08-18 07:30:11 +02:00
Pavel Repin
d1f5e064d8
Make vText parser more forgiving.
...
Badly encoded bytes will be replaced with the official U+FFFD REPLACEMENT CHARACTER.
Signed-off-by: Rok Garbas <rok@garbas.si>
2011-08-18 07:26:57 +02:00
Eric Hanchrow
eb8c5d7228
Contentline: new doctest
...
Signed-off-by: Rok Garbas <rok@garbas.si>
2011-08-18 07:23:46 +02:00
Eric Hanchrow
093f3881ff
Contentline.__str__: Fix utf-8 line-folding problem.
...
From http://codespeak.net/pipermail/icalendar-dev/2010-April/000152.html
Signed-off-by: Rok Garbas <rok@garbas.si>
2011-08-18 07:22:14 +02:00
Pavel Repin
4b7ff822b2
Ignore certain turd files.
...
Signed-off-by: Rok Garbas <rok@garbas.si>
2011-08-18 07:05:01 +02:00
Rok Garbas
f95e98e943
type in styles of documentation
2011-08-18 06:14:40 +02:00
Rok Garbas
e6dff7d319
adding some styles to documentation
2011-08-18 06:04:59 +02:00
Rok Garbas
2fe738a2cd
Merge branch 'feature-sphinx-documentation'
...
Conflicts:
.gitignore
README.rst
2011-08-18 05:40:18 +02:00
Rok Garbas
694db23c1d
Merge branch 'feature-tox-for-testing'
2011-08-18 05:38:32 +02:00
Rok Garbas
2389dcfce4
generating xml reports
2011-08-18 04:16:28 +02:00
Rok Garbas
0cc882650e
adding more documentation, gitignore file added
2011-08-18 03:58:49 +02:00
Rok Garbas
bbaefe7824
adding final touches for the first version of docs ... more needed ofcourse
2011-08-18 03:57:17 +02:00
Rok Garbas
7fbad46bdd
adding initial sphinx documentation
2011-08-18 00:07:32 +02:00
Rok Garbas
8e25193970
some formatting of README
2011-08-17 23:53:52 +02:00
Rok Garbas
ed670df76c
some wording fixed
2011-08-17 23:48:20 +02:00
Rok Garbas
b4f8f4f8c7
changes warn to warnigns
2011-08-17 23:45:55 +02:00
Rok Garbas
2133250e04
adding description about this fork
2011-08-17 23:40:23 +02:00
Rok Garbas
493cc9b9e5
moving README.txt to README.rst so first page is nicely parsed as reST on github
2011-08-17 23:07:29 +02:00
Rok Garbas
5bdf664962
fixed tests so they pass, remove *tests* code from reports in coverage
2011-08-17 23:05:22 +02:00
Rok Garbas
fa69fa40cb
SchoolTool not needed in favor of unittest2/tox/coverage
2011-08-17 22:21:06 +02:00
Rok Garbas
58353a0bd0
adding coverage to tox.ini
2011-08-17 22:16:58 +02:00
Rok Garbas
f85309cd3f
making tests run with unittest2 and tox
2011-08-17 21:42:52 +02:00
Rok Garbas
a5fb7e9857
adding MANIFEST.in file (to make sure everything is in packages that is needed for building)
2011-08-17 21:37:11 +02:00
Rok Garbas
5180279892
moving version number to setup.py
2011-08-17 21:36:01 +02:00
Rok Garbas
b9602da281
updating gitignore list
2011-08-17 21:33:44 +02:00
Rok Garbas
081be720b6
adding tox.ini file and make tests run on python 2.4, 2.5, 2.6, 2.7
2011-08-17 21:23:20 +02:00
Rok Garbas
f7ff1533dc
adding gitignore list
2011-08-17 21:23:00 +02:00
Wichert Akkerman
cd6635fa20
Onwards
2009-12-14 13:44:42 +00:00
Andreas Zeidler
37d381813d
fix typo & remove unused imports
2009-12-09 20:31:46 +00:00
Andreas Zeidler
4b36dbecb7
fix deprecation warnings about `object.__init__` taking no parameters
2009-12-09 20:23:08 +00:00
Wichert Akkerman
83e2db33ce
Set the VALUE parameter correctly for date values
2009-11-26 19:36:04 +00:00
Wichert Akkerman
fcdd55aa27
Add a failing test for proper rendering of date values
2009-11-26 19:11:23 +00:00
Wichert Akkerman
2394e7c8eb
Add changelog entry
2009-11-26 18:21:54 +00:00
Wichert Akkerman
66ce1ecde9
Fix handling of multi-line paragraphs
2009-11-26 18:19:15 +00:00
Wichert Akkerman
32eeaddddc
Add a failing test
2009-11-26 17:04:22 +00:00
Lennart Regebro
70a5f503ce
Added a test for long binary data.
2009-01-01 19:18:48 +00:00
Lennart Regebro
6f4b33ae83
Long binary data would be base64 encoded with newlines, which made the iCalendar files incorrect. (This still needs testing).
2009-01-01 16:42:39 +00:00
Lennart Regebro
7029f35e67
That line was strange...
2008-07-11 20:03:06 +00:00
Lennart Regebro
e2806fd0d7
UTC object were unpicklable.
2008-07-11 20:01:27 +00:00
Lennart Regebro
123d191344
Updated docs before release.
2008-07-11 18:07:09 +00:00
Lennart Regebro
e8e1cdf1a3
Prettier output of negative durations.
2008-07-11 18:01:30 +00:00
Lennart Regebro
5138b88d0e
Fixed the EXDATE bug.
2008-07-11 17:52:08 +00:00
Lennart Regebro
0ae30c45bb
Run doctests also under 2.5/2.6.
2008-07-11 17:27:05 +00:00
Lennart Regebro
0e4ea2eb19
Preparing for release of 1.2.
2006-11-25 12:18:51 +00:00