From regebro at codespeak.net Thu Aug 3 15:35:22 2006 From: regebro at codespeak.net (regebro at codespeak.net) Date: Thu, 3 Aug 2006 15:35:22 +0200 (CEST) Subject: [icalendar-checkins] r30946 - in iCalendar/trunk: . src/icalendar Message-ID: <20060803133522.0941D10078@code0.codespeak.net> Author: regebro Date: Thu Aug 3 15:35:15 2006 New Revision: 30946 Modified: iCalendar/trunk/CHANGES.txt iCalendar/trunk/src/icalendar/cal.py Log: make get_inline and set_inline support non ascii codes Modified: iCalendar/trunk/CHANGES.txt ============================================================================== --- iCalendar/trunk/CHANGES.txt (original) +++ iCalendar/trunk/CHANGES.txt Thu Aug 3 15:35:15 2006 @@ -1,4 +1,7 @@ -iCalendar trunk (1.0?) (unreleased) -=================================== +iCalendar 1.0 +============= + +* make get_inline and set_inline support non ascii codes. (ogrisel at nuxeo.com) + +* Added support for creating a python egg distribution. (lregebro at nuxeo.com) -* Added support for creating a python egg distribution. \ No newline at end of file Modified: iCalendar/trunk/src/icalendar/cal.py ============================================================================== --- iCalendar/trunk/src/icalendar/cal.py (original) +++ iCalendar/trunk/src/icalendar/cal.py Thu Aug 3 15:35:15 2006 @@ -18,7 +18,7 @@ from icalendar.caselessdict import CaselessDict from icalendar.parser import Contentlines, Contentline, Parameters from icalendar.parser import q_split, q_join -from icalendar.prop import TypesFactory +from icalendar.prop import TypesFactory, vText ###################################### @@ -260,7 +260,8 @@ """ Returns a list of values (split on comma). """ - vals = [v.strip('" ') for v in q_split(self[name])] + vals = [v.strip('" ').encode(vText.encoding) + for v in q_split(self[name])] if decode: return [self._decode(name, val) for val in vals] return vals @@ -273,7 +274,8 @@ """ if encode: values = [self._encode(name, value, 1) for value in values] - self[name] = types_factory['inline'](q_join(values)) + joined = q_join(values).encode(vText.encoding) + self[name] = types_factory['inline'](joined) ######################### From regebro at codespeak.net Thu Aug 3 15:36:15 2006 From: regebro at codespeak.net (regebro at codespeak.net) Date: Thu, 3 Aug 2006 15:36:15 +0200 (CEST) Subject: [icalendar-checkins] r30947 - iCalendar/trunk Message-ID: <20060803133615.E823A10078@code0.codespeak.net> Author: regebro Date: Thu Aug 3 15:36:09 2006 New Revision: 30947 Modified: iCalendar/trunk/version.txt Log: I think it's time to release 1.0 now. :) Modified: iCalendar/trunk/version.txt ============================================================================== --- iCalendar/trunk/version.txt (original) +++ iCalendar/trunk/version.txt Thu Aug 3 15:36:09 2006 @@ -1,2 +1,2 @@ -0.11 +1.0 From regebro at codespeak.net Thu Aug 3 15:40:32 2006 From: regebro at codespeak.net (regebro at codespeak.net) Date: Thu, 3 Aug 2006 15:40:32 +0200 (CEST) Subject: [icalendar-checkins] r30948 - iCalendar/tag/iCalendar-1.0 Message-ID: <20060803134032.50C5910078@code0.codespeak.net> Author: regebro Date: Thu Aug 3 15:40:24 2006 New Revision: 30948 Added: iCalendar/tag/iCalendar-1.0/ - copied from r30947, iCalendar/trunk/ Log: Release of 1.0. From regebro at codespeak.net Thu Aug 3 15:43:19 2006 From: regebro at codespeak.net (regebro at codespeak.net) Date: Thu, 3 Aug 2006 15:43:19 +0200 (CEST) Subject: [icalendar-checkins] r30949 - iCalendar/tag/iCalendar-1.0 Message-ID: <20060803134319.253CB10078@code0.codespeak.net> Author: regebro Date: Thu Aug 3 15:43:10 2006 New Revision: 30949 Modified: iCalendar/tag/iCalendar-1.0/CHANGES.txt iCalendar/tag/iCalendar-1.0/CREDITS.txt Log: I found the contributors file now. Added Olivier there instead. Modified: iCalendar/tag/iCalendar-1.0/CHANGES.txt ============================================================================== --- iCalendar/tag/iCalendar-1.0/CHANGES.txt (original) +++ iCalendar/tag/iCalendar-1.0/CHANGES.txt Thu Aug 3 15:43:10 2006 @@ -1,7 +1,7 @@ iCalendar 1.0 ============= -* make get_inline and set_inline support non ascii codes. (ogrisel at nuxeo.com) +* make get_inline and set_inline support non ascii codes. -* Added support for creating a python egg distribution. (lregebro at nuxeo.com) +* Added support for creating a python egg distribution. Modified: iCalendar/tag/iCalendar-1.0/CREDITS.txt ============================================================================== --- iCalendar/tag/iCalendar-1.0/CREDITS.txt (original) +++ iCalendar/tag/iCalendar-1.0/CREDITS.txt Thu Aug 3 15:43:10 2006 @@ -14,8 +14,10 @@ Contributors ------------ -- Lennart Regebro (regebro at nuxeo.com) +- Lennart Regebro (lregebro at nuxeo.com) - Sidnei da Silva (sidnei at enfoldsystems.com) +- Olivier Grisel (ogrisel at nuxeo.com) + Thanks to codespeak for hosting this project. From regebro at codespeak.net Thu Aug 3 15:44:30 2006 From: regebro at codespeak.net (regebro at codespeak.net) Date: Thu, 3 Aug 2006 15:44:30 +0200 (CEST) Subject: [icalendar-checkins] r30950 - iCalendar/trunk Message-ID: <20060803134430.1DF2F10078@code0.codespeak.net> Author: regebro Date: Thu Aug 3 15:44:18 2006 New Revision: 30950 Modified: iCalendar/trunk/CHANGES.txt iCalendar/trunk/CREDITS.txt Log: Added Olivier to credits. Modified: iCalendar/trunk/CHANGES.txt ============================================================================== --- iCalendar/trunk/CHANGES.txt (original) +++ iCalendar/trunk/CHANGES.txt Thu Aug 3 15:44:18 2006 @@ -1,7 +1,7 @@ iCalendar 1.0 ============= -* make get_inline and set_inline support non ascii codes. (ogrisel at nuxeo.com) +* make get_inline and set_inline support non ascii codes. -* Added support for creating a python egg distribution. (lregebro at nuxeo.com) +* Added support for creating a python egg distribution. Modified: iCalendar/trunk/CREDITS.txt ============================================================================== --- iCalendar/trunk/CREDITS.txt (original) +++ iCalendar/trunk/CREDITS.txt Thu Aug 3 15:44:18 2006 @@ -14,8 +14,10 @@ Contributors ------------ -- Lennart Regebro (regebro at nuxeo.com) +- Lennart Regebro (lregebro at nuxeo.com) - Sidnei da Silva (sidnei at enfoldsystems.com) +- Olivier Grisel (ogrisel at nuxeo.com) + Thanks to codespeak for hosting this project. From regebro at codespeak.net Thu Aug 3 16:00:39 2006 From: regebro at codespeak.net (regebro at codespeak.net) Date: Thu, 3 Aug 2006 16:00:39 +0200 (CEST) Subject: [icalendar-checkins] r30953 - iCalendar/tag/iCalendar-1.0 Message-ID: <20060803140039.78B451005A@code0.codespeak.net> Author: regebro Date: Thu Aug 3 16:00:34 2006 New Revision: 30953 Removed: iCalendar/tag/iCalendar-1.0/ Log: No, I was not happy with the release. (First time I do it, so be kind). I'll try again. From regebro at codespeak.net Thu Aug 3 16:02:25 2006 From: regebro at codespeak.net (regebro at codespeak.net) Date: Thu, 3 Aug 2006 16:02:25 +0200 (CEST) Subject: [icalendar-checkins] r30954 - iCalendar/trunk Message-ID: <20060803140225.3B9BB1005A@code0.codespeak.net> Author: regebro Date: Thu Aug 3 16:02:20 2006 New Revision: 30954 Modified: iCalendar/trunk/README.txt Log: Preparing for 1.0 release. Modified: iCalendar/trunk/README.txt ============================================================================== --- iCalendar/trunk/README.txt (original) +++ iCalendar/trunk/README.txt Thu Aug 3 16:02:20 2006 @@ -26,9 +26,12 @@ News ==== +* 2006-08-03: `iCalendar 1.0`_ released (`changes for 1.0`_) * 2005-11-08: `iCalendar 0.11`_ released (`changes for 0.11`_) * 2005-04-28: `iCalendar 0.10`_ released (`changes for 0.10`_) +.. _`iCalendar 1.0`: iCalendar-0.11.tgz +.. _`changes for 1.0`: changes-1.0.html .. _`iCalendar 0.11`: iCalendar-0.11.tgz .. _`changes for 0.11`: changes-0.11.html .. _`iCalendar 0.10`: iCalendar-0.10.tgz From regebro at codespeak.net Thu Aug 3 16:09:57 2006 From: regebro at codespeak.net (regebro at codespeak.net) Date: Thu, 3 Aug 2006 16:09:57 +0200 (CEST) Subject: [icalendar-checkins] r30955 - iCalendar/tag/iCalendar-1.0 Message-ID: <20060803140957.D6DFD1005A@code0.codespeak.net> Author: regebro Date: Thu Aug 3 16:09:56 2006 New Revision: 30955 Added: iCalendar/tag/iCalendar-1.0/ - copied from r30954, iCalendar/trunk/ Log: New 1.0 release. From faassen at codespeak.net Thu Aug 3 19:13:21 2006 From: faassen at codespeak.net (faassen at codespeak.net) Date: Thu, 3 Aug 2006 19:13:21 +0200 (CEST) Subject: [icalendar-checkins] r30961 - iCalendar/www Message-ID: <20060803171321.8DB7410063@code0.codespeak.net> Author: faassen Date: Thu Aug 3 19:13:20 2006 New Revision: 30961 Modified: iCalendar/www/publish.py Log: Add --link-stylesheet to make things work again. Modified: iCalendar/www/publish.py ============================================================================== --- iCalendar/www/publish.py (original) +++ iCalendar/www/publish.py Thu Aug 3 19:13:20 2006 @@ -33,7 +33,7 @@ def rest2html(source_path, dest_path, stylesheet_url): - command = ('rst2html.py --stylesheet=%s %s > %s' % + command = ('rst2html.py --stylesheet=%s --link-stylesheet %s > %s' % (stylesheet_url, source_path, dest_path)) os.system(command)