Robert Niederreiter
5085d0be68
"bda.recipe.deployment pre tag commit"
2013-03-28 15:58:24 +01:00
Johannes Raggam
186a1d9979
handle decoding of vDDDLists
2013-03-28 12:07:49 +01:00
Johannes Raggam
94e2aa7535
vText, when decoded, should not return a instance of itself but an encoded string.
2013-03-24 06:32:58 +01:00
Johannes Raggam
4044d9c54c
use [test] extra_requires from setup.py, to install unittest2
2013-03-21 01:30:57 +01:00
Johannes Raggam
846417cc50
this is now more a python library than a zope product. now, install it with easy_install, pip or buildout, as you like.
2013-03-21 01:25:48 +01:00
Johannes Raggam
87791f9a5d
enable content_line method, which seem to be a good thing. it's also defined in RFC5545
2013-03-20 20:57:22 +01:00
Johannes Raggam
49cc7a8366
changelog
2013-03-20 19:38:51 +01:00
Johannes Raggam
3c34ce3a97
remove interfaces, as it is unused
2013-03-20 19:38:17 +01:00
Johannes Raggam
0a6fd063ca
use htmlcoverage
2013-03-20 19:35:30 +01:00
Johannes Raggam
83d6ecfe55
add tests, remove unused
2013-03-20 19:26:36 +01:00
Robert Niederreiter
186c683782
Merge pull request #99 from warvariuc/master
...
Using DEFAULT_ENCODING instead of utf-8 in foldline function.
2013-03-20 06:16:50 -07:00
Johannes Raggam
a2b54aa4b8
comments on decoded method
2013-03-20 14:16:12 +01:00
Johannes Raggam
924c72bb71
fix test, where a vText property is decoded to a vText property. currently the decoded method calls the properties from_ical, and when parsing from an ical string, we want to encode the string into a real icalendar.prop property. the decoding could be changed in future to be decoded into python natives only - if feel we would need this.
2013-03-20 14:12:03 +01:00
Johannes Raggam
747b52e0a0
Merge branch 'master' of github.com:collective/icalendar
2013-03-20 14:09:49 +01:00
Johannes Raggam
c8acc47984
rename former doctests to test_unit_MODULENAME
2013-03-20 14:08:16 +01:00
Robert Niederreiter
5d89c57d90
merged
2013-03-20 14:07:49 +01:00
Robert Niederreiter
5db142451e
remove test_doctests, duplicate, comment test and referring code
2013-03-20 14:04:56 +01:00
Johannes Raggam
de5ac3eccf
one more todo
2013-03-20 14:02:45 +01:00
Johannes Raggam
426c05972a
fix test, where a vText property is decoded to a vText property. currently the decoded method calls the properties from_ical, and when parsing from an ical string, we want to encode the string into a real icalendar.prop property. the decoding could be changed in future to be decoded into python natives only - if feel we would need this.
2013-03-20 14:00:13 +01:00
Victor Varvaryuk
25bdd403f1
Merge branch 'master' of git://github.com/collective/icalendar
...
Conflicts:
src/icalendar/prop.py
2013-03-20 16:56:31 +04:00
Johannes Raggam
a1f671b7b1
Merge branch 'master' of github.com:collective/icalendar
2013-03-20 13:53:41 +01:00
Victor Varvaryuk
e61b49ac44
Using DEFAULT_ENCODING instead of utf-8 in foldline function.
2013-03-20 16:50:53 +04:00
Robert Niederreiter
e4d9b7de4e
Merge pull request #98 from warvariuc/master
...
Please comment
2013-03-20 05:50:27 -07:00
Johannes Raggam
f77d51880f
use classmethod instead of staticmethod, where the methods use the class as factory
2013-03-20 13:44:01 +01:00
Johannes Raggam
3aef43f035
Allow seconds in vUTCOffset properties. Fixes #55 .
2013-03-20 13:04:47 +01:00
Johannes Raggam
616fa68655
Let ``Component.decode`` correctly decode vRecur properties. Fixes #70 .
2013-03-20 11:35:42 +01:00
Johannes Raggam
845803a602
docstrings
2013-03-20 11:16:46 +01:00
Johannes Raggam
9d11844bb0
formating
2013-03-20 10:52:04 +01:00
Johannes Raggam
4681ccfab7
move all tests from issues.rst to test_fixed_issues.py. remove docmods from test_doctests, since we dont have any more
2013-03-20 10:49:56 +01:00
Johannes Raggam
71da2fa8ea
Don't let Component.add re-encode already encoded values. This simplifies
...
the API, since there is no need explicitly pass encode=False. Fixes #82 .
2013-03-20 10:20:27 +01:00
Victor Varvaryuk
89a74cc3ba
Optimized line folding algorithm. foldline function now expects only unicode.
...
Now not accepting unsecaped new line characters in a content line.
When folding line - preserving space at the end, if present.
Modified the tests accordingly.
2013-03-20 12:49:57 +04:00
Johannes Raggam
2f53d1f180
merge with master;
2013-03-19 14:25:45 +01:00
Victor Varvaryuk
198654fbc6
Added myself to the contributer list
2013-03-19 16:12:01 +04:00
Victor Varvaryuk
aa70f7253f
Merge branch 'master' of git://github.com/collective/icalendar
2013-03-19 16:11:38 +04:00
Johannes Raggam
1c097510d5
formatings
2013-03-19 12:43:46 +01:00
Johannes Raggam
ae97335ceb
avoid circular imports and create parser_tools, which doesnt import anything from icalendar. fix __repr__ to output no unicode but encoded strings, even with dict or list/tuple items. as a sideeffect, change the signature of __repr__ to not output the subcomponents classes.
2013-03-19 12:40:34 +01:00
Johannes Raggam
412c853516
avoid recursion error
2013-03-19 11:11:42 +01:00
Johannes Raggam
58c93b9f91
use unittest2 all over, import centrally
2013-03-19 11:05:13 +01:00
Johannes Raggam
8af9ff64a4
merge with warvuriac/unicode
2013-03-19 10:31:44 +01:00
Victor Varvaryuk
104387cc4a
CaselessDict keys are now automatically converted to unicode.
...
Test fixes. Small refactoring and polishing.
2013-03-19 12:35:00 +04:00
Victor Varvaryuk
8200590705
Added % symbol to some tests
2013-03-19 10:37:33 +04:00
Johannes Raggam
f331f69715
note
2013-03-18 23:31:10 +01:00
Johannes Raggam
f44a20b1d9
test output for issuee #80 . FIXES #80
2013-03-18 23:25:05 +01:00
Johannes Raggam
e05916db16
convert from encoded back to unicode, for internal use. FIXES #80
2013-03-18 23:22:03 +01:00
Johannes Raggam
2d8638f642
Switch to unicode internally.
2013-03-18 20:53:00 +01:00
Johannes Raggam
b79db87fa9
safe_unicode from Products.CMFPlone.utils
2013-03-18 15:04:42 +01:00
Johannes Raggam
c094391bdb
default_encoding and sequencetypes as const in __init__
2013-03-18 14:54:27 +01:00
Johannes Raggam
fdd6aa023e
+roadmap
2013-03-18 14:15:53 +01:00
Johannes Raggam
226da3d890
update readme
2013-03-18 13:16:27 +01:00
Johannes Raggam
79b8a765fe
doctests to unittests
2013-03-18 13:11:53 +01:00