Wykres commitów

138 Commity (e1eaa55f65206de60045c1245edc1a20050be7ba)

Autor SHA1 Wiadomość Data
Rok Garbas e1eaa55f65 removing dependency on setuptools 2012-01-08 20:29:58 +01:00
Rok Garbas 0d44bf0612 manually applying patch http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-python/icalendar/files/2.1_p20100409/01_all_UIDGenerator-fix.patch?view=markup 2012-01-08 20:29:58 +01:00
George V. Reilly 1cbe085cba Added sorted_items. 2012-01-08 20:29:57 +01:00
George V. Reilly b212e695e2 Merged fixes from kjoconnor. 2012-01-08 20:29:57 +01:00
George V. Reilly 8d7bbb4f1a Better canonical sorting algorithm. 2012-01-08 20:29:57 +01:00
George V. Reilly 232ad0cb32 Fix some typos in comments. 2012-01-08 20:29:57 +01:00
George V. Reilly f3cbae6869 Generate VEVENTs in canonical order.
The default sorted order was extremely irritating:
DTEND before DTSTART, etc.
Now the important properties are listed first:
        'SUMMARY', 'DTSTART', 'DTEND', 'DURATION', 'DTSTAMP',
        'UID', 'RECURRENCE-ID', 'SEQUENCE',
        'RRULE' 'EXRULE', 'RDATE', 'EXDATE',

Also, fixed spelling of RECURRENCE-ID and LAST-MODIFIED.
2012-01-08 20:28:38 +01:00
Johannes Raggam bd2ca32972 whitespace 2011-09-14 02:35:54 +02:00
Johannes Raggam 0ea6920c68 add foldline with perfect utf-8 support 2011-09-14 02:35:40 +02:00
Johannes Raggam aa7fe2016e unify API - use to_ical and from_ical 2011-09-13 23:42:17 +02:00
Rok Garbas 4d0cc5fae7 Merge pull request #9 from martinmelin/master
Output datetime objects as iCalendar Value Data Type DATE-TIME, not DATE
2011-09-03 16:14:12 -07:00
Martin Melin e97d28bb66 Merge remote branch 'upstream/master' 2011-09-03 09:49:54 +02:00
Johannes Raggam 8f6764389b update documentation a bit 2011-09-02 12:55:12 +02:00
Martin Melin 82a568d4ce Don't output VALUE=DATE for datetime objects
When for example doing:

    event.add('dtstart', datetime.now())

the resulting output would be:

    DTSTART;VALUE=DATE:20110830T190000Z

Fix this so datetime objects are handled according to RFC 2445,
which means use iCalendar data type DATE-TIME instead of DATE.
2011-08-30 19:37:11 +02:00
Rok Garbas 5841772724 Merge branch 'master' of github.com:collective/icalendar 2011-08-30 09:42:32 +02:00
Rok Garbas 3686f9f64d easy_install was failing because of typo in url ... FIXES #8 2011-08-30 09:40:55 +02:00
Rok Garbas 4d527778cd Merge pull request #6 from frog32/patch-1
daylight saving time bug
2011-08-26 07:07:11 -07:00
Marc Egli 7967e02608 utcoffset respects the given date. this is a problem when creating a datetime which is normaltime and currently there is daylight saving time. to fix this we should use the actual date to determine utcoffset. 2011-08-26 16:00:41 +02:00
Rok Garbas 1b25cdd020 Merge branch 'master' of github.com:collective/icalendar 2011-08-25 00:05:18 +02:00
Rok Garbas 94bcf0b791 master is now "new trunk" for 3.X series 2011-08-25 00:04:22 +02:00
Rok Garbas 2354d4ffa3 making sure first page on pypi renders nicely. 2011-08-24 23:59:43 +02:00
Rok Garbas eb43379c45 Preparing for 2.2 release 2011-08-24 23:18:36 +02:00
Rok Garbas 6696065a44 master is now "new trunk" for 3.X series 2011-08-18 12:32:48 +02:00
Rok Garbas 82b7c93110 icalendar ready to be released 2011-08-18 12:30:59 +02:00
Johannes Raggam 48aa8bfc87 more 3rd person speak 2011-08-18 11:17:51 +02:00
Rok Garbas 0f057a74a7 updating style adding rfc5545 text and converting it to rst 2011-08-18 09:46:21 +02:00
George V. Reilly fe4e4ef803 TZOFFSET{FROM,TO}:0000 -> +0000
Google Calendar and http://severinghaus.org/projects/icv/ complain about a TZOFFSET of 0000 but accept +0000.

Signed-off-by: Rok Garbas <rok@garbas.si>
2011-08-18 07:50:45 +02:00
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