Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
414 commits
Select commit Hold shift + click to select a range
19fc802
print
Jan 1, 2015
bc5e9a5
testing and debugging
Jan 2, 2015
f100024
error
Jan 2, 2015
1dafd49
testing getter
Jan 2, 2015
6f45e8a
addfunc
Jan 2, 2015
e1cce11
more output
Jan 2, 2015
e190461
more output
Jan 2, 2015
2471c2d
list?
Jan 2, 2015
200be8a
working through the logic
Jan 2, 2015
1461593
what?
Jan 2, 2015
05661fc
well?
Jan 2, 2015
83c2f3c
argh
Jan 2, 2015
d795b1c
al;alkdf;laknd;laskn
Jan 2, 2015
cc0528d
missing comma
Jan 2, 2015
caf1394
list rruleset
Jan 2, 2015
462e339
property?
Jan 2, 2015
0d902b7
what do we have for rrulest?
Jan 2, 2015
10963a4
what now?
Jan 2, 2015
883b4c0
empty list
Jan 2, 2015
79bd18e
assetEqual
Jan 2, 2015
52180dd
list new rrruleset
Jan 2, 2015
1c4a923
working through getter
Jan 2, 2015
723e5a7
this is tricky
Jan 2, 2015
3fad2a4
rruleset?
Jan 2, 2015
2c592af
use dateutil 2.0 or better
Jan 2, 2015
4438ca8
oh holy crap
Jan 2, 2015
533990a
ok, what do we have now?
Jan 2, 2015
d4658c9
fix rulestr
Jan 2, 2015
fa53e3a
test freeBusy
Jan 2, 2015
d91dd94
testing serialize
Jan 2, 2015
a7b5461
testing timedelta to string
Jan 2, 2015
921e262
actually test ;)_)
Jan 2, 2015
0f22273
test minutes and hours
Jan 2, 2015
190b617
tests
Jan 2, 2015
11fe380
int, to avoid decimal problems
Jan 2, 2015
f1ee0f4
windows line endings?
Jan 2, 2015
27923d9
just call split on the string.
Jan 2, 2015
221e85e
test availabilty
Jan 2, 2015
51f77e1
missing paren
Jan 2, 2015
36df263
more availabity testing
Jan 2, 2015
6980aa6
this is a very weird test.
Jan 2, 2015
0541ed6
stray line
Jan 2, 2015
956dbbc
cleanup on test
Jan 2, 2015
f6c0515
something feels off here.
Jan 2, 2015
efbca0b
print
Jan 2, 2015
ccf9184
datestr
Jan 2, 2015
a5a72cc
datetostr
Jan 2, 2015
41304b0
not getting dates back ok
Jan 2, 2015
2928215
so....
Jan 2, 2015
54dd702
format fix
Jan 2, 2015
a67ea5b
was sup with the dt obj
Jan 2, 2015
f98db8f
cleanup... what's up with DT objects here.
Jan 2, 2015
552a7bc
what's up with obj?
Jan 2, 2015
0def830
child?
Jan 2, 2015
ab4eb01
show child serialized
Jan 2, 2015
1c6fab7
what's going on in this serialization?
Jan 2, 2015
e9b9452
backing up through this
Jan 2, 2015
8885395
do this now
Jan 2, 2015
13f625d
what type are we dealing with
Jan 2, 2015
9fe90a4
do over
Jan 2, 2015
5ae28c2
removed some prints
Jan 2, 2015
e57780d
removed key. replace
Jan 2, 2015
f2ea016
removed 3 tests for now
Jan 2, 2015
f645f02
testing general file parsing.
Jan 5, 2015
9dc8355
testing standard ics
Jan 5, 2015
135d34b
tzinfo?
Jan 5, 2015
5df972d
this is strange
Jan 5, 2015
7d8b5d4
str?
Jan 5, 2015
f68a6ab
more et-related testing
Jan 5, 2015
dcf8b20
cleanup
Jan 5, 2015
a4378e4
assert datetime type
Jan 5, 2015
72caad0
str
Jan 5, 2015
59ec101
assert True?
Jan 5, 2015
f4514aa
cleanup on tests
Jan 5, 2015
dbbbf83
fixed dtstamp
Jan 5, 2015
cf710e7
isinstance
Jan 5, 2015
a74ccff
valarm description
Jan 5, 2015
ac6540a
corrected is instance syntax
Jan 5, 2015
7db33a5
fixed typo
Jan 5, 2015
c8b98d0
still not clear on this.
Jan 5, 2015
41e9a2b
tzinfo
Jan 5, 2015
a155e66
repr?
Jan 5, 2015
c3a13c1
date
Jan 5, 2015
126709f
date()
Jan 5, 2015
7482ec0
date/time
Jan 5, 2015
221ee85
forgot parens
Jan 5, 2015
a65e1c8
commented out some failing tests
Jan 5, 2015
2d6b6a8
removed more py3 failing tests
Jan 5, 2015
1bb1746
line feed?
Jan 5, 2015
3261e95
can I get passing tests?
Jan 5, 2015
e48fc0a
str
Jan 5, 2015
b4c70a3
stringToTextValues
Jan 5, 2015
77bc2f7
stringToPeriod
Jan 5, 2015
10d3792
tzutc
Jan 5, 2015
8358069
not a list
Jan 5, 2015
a4bdfc7
test multidatebehavior
Jan 5, 2015
ed50984
missed comma
Jan 5, 2015
aa0fb21
fix import
Jan 5, 2015
282982b
str
Jan 5, 2015
305200f
bad line and stream parsing
Jan 6, 2015
addcf50
attribute error?
Jan 6, 2015
c649237
do over
Jan 6, 2015
afdaba1
recover from parseErrror?
Jan 6, 2015
0e209a0
test_recurrence
Jan 6, 2015
3cb3d2e
findBegin?
Jan 6, 2015
052da7b
when all else fails, start printing.
Jan 6, 2015
ebcefb5
getrruleset
Jan 6, 2015
025e327
back up to working build :-(
Jan 6, 2015
3f9afc9
test regexes
Jan 6, 2015
6ee9863
testing scratch-build
Jan 6, 2015
e4ea146
fix for regex tests
Jan 6, 2015
e2e5bb1
load timezones
Jan 6, 2015
50cadcc
pass timezone file
Jan 6, 2015
d2152ea
capitalization matters
Jan 6, 2015
8f892c3
xrange removal and setup fix
Jan 6, 2015
3c0efab
just write the line?
Jan 6, 2015
963e007
line endings?
Jan 6, 2015
6cc50dd
no \r?
Jan 6, 2015
e5e9840
output newlines?
Jan 6, 2015
5e7c236
ok, just fix the missing bytes line?
Jan 6, 2015
091df40
maxDiff = None
Jan 6, 2015
bfcffa0
parsedtstart
Jan 6, 2015
8c9e3ac
fix for parsedtstart
Jan 6, 2015
04f60ad
behavior registry
Jan 6, 2015
91cb278
print
Jan 6, 2015
770feaf
indentation
Jan 6, 2015
c0c2433
second try on behavior_registry
Jan 6, 2015
f27bf97
keys
Jan 6, 2015
4108930
testing getbhehavior
Jan 6, 2015
e7a11f9
multidatebehavoir?
Jan 6, 2015
f1952d8
import icalendar
Jan 6, 2015
a93cd6c
vfreebusy
Jan 6, 2015
c7007a8
testing for behaviors
Jan 6, 2015
1d91f80
sorted dict
Jan 6, 2015
4b07ae9
behavior
Jan 6, 2015
8e82a82
keys
Jan 6, 2015
8e0e229
print()
Jan 6, 2015
2364923
maxdiff
Jan 6, 2015
98e21a1
oh lord
Jan 6, 2015
46226c1
missing paren
Jan 6, 2015
619db55
ordering
Jan 6, 2015
0762c36
behavior class name
Jan 6, 2015
9e2dcab
warning logger
Jan 6, 2015
c919b8b
VCALENDAR
Jan 6, 2015
44d1831
str
Jan 6, 2015
55295c9
get a thing
Jan 6, 2015
574257e
print
Jan 6, 2015
a3e0085
isComponent
Jan 6, 2015
c851770
list map?
Jan 6, 2015
b93c95b
freebusy?
Jan 6, 2015
534c843
second try
Jan 6, 2015
3f9ca74
non_component_behavior?
Jan 6, 2015
1394d90
isinstance
Jan 6, 2015
653f8ca
non_component_behavior
Jan 6, 2015
78f638e
behavior registry back?
Jan 6, 2015
d40bb29
list map
Jan 6, 2015
fe54872
testing unicode part 1
Jan 6, 2015
f9e3300
test unicode part 2
Jan 6, 2015
7d40e5e
encoding
Jan 6, 2015
1bc497b
badline
Jan 6, 2015
42cc5d6
missing hash thing
Jan 6, 2015
cc40bea
base.readone
Jan 6, 2015
55ba482
trying simple serialize again
Jan 6, 2015
d8fdde1
line endings
Jan 6, 2015
595dbea
can i get some proper values now?
Jan 6, 2015
874cd26
full date
Jan 6, 2015
26191d5
is it really a date time
Jan 6, 2015
128fcb2
more date time shenanigans
Jan 6, 2015
9d4a50c
fixed dtend
Jan 6, 2015
9ba66f1
returned more date time tests
Jan 6, 2015
c2ee95b
brought back free busy test
Jan 6, 2015
230c04b
replacing more line numbers
Jan 6, 2015
d5f17de
adding another test
Jan 6, 2015
bc62722
and another
Jan 6, 2015
5f83158
test for vtimezones
Jan 7, 2015
012f60a
someone forgot to tidy up
Jan 7, 2015
94d88ce
cleanup
Jan 7, 2015
8ed6b37
needed some love in tz setter
Jan 7, 2015
e483899
pacific
Jan 7, 2015
ca1baaf
again
Jan 7, 2015
23557a4
we're removing ALL the new lines :-)
Jan 7, 2015
5c366ce
closing file?
Jan 7, 2015
4fc2a54
maxdiff
Jan 7, 2015
848ad87
timezones?
Jan 7, 2015
8525c1d
fixed stray >
Jan 7, 2015
6e41b2b
typo
Jan 7, 2015
a12cbc4
assertTrue
Jan 7, 2015
8c45199
Let's try serializing timezones
Jan 7, 2015
29b5dbb
newline at end
Jan 8, 2015
c65b738
ellipses? damn.
Jan 8, 2015
7c92d3e
forget it
Jan 8, 2015
568c050
try to clean up
Jan 8, 2015
21e19ea
bah
Jan 8, 2015
5ea3a36
ical to hcal?
Jan 8, 2015
3de1149
ical to hcal
Jan 8, 2015
3ebf92d
vcard3
Jan 9, 2015
7e6efd3
output?
Jan 9, 2015
762530b
findBegin?
Jan 9, 2015
d4bf11e
no value
Jan 9, 2015
0af9852
weirdness in test file?
Jan 9, 2015
8e6938e
card tests
Jan 9, 2015
250d375
classmethod
Jan 9, 2015
0f0be11
behavori
Jan 9, 2015
19f7026
cleanup on card tests
Jan 9, 2015
e25b06e
removed stupid start failure test
Jan 9, 2015
9a5da39
extra space
Jan 9, 2015
e00a0aa
Multi-text serialization test
Jan 12, 2015
ef4d973
category.value = ['Random category']
Jan 12, 2015
0511f8f
test_semicolon_separated
Jan 12, 2015
ed2bc15
Generate UIDs automatically test
Jan 12, 2015
4281ff5
uid?
Jan 12, 2015
d29b277
unicode testing
Jan 12, 2015
7ff25a2
import
Jan 12, 2015
b2f081b
tzid
Jan 12, 2015
9012122
no tzid?
Jan 12, 2015
b146920
removed entirety of tzid test
Jan 12, 2015
65da650
comment bad
Jan 12, 2015
9a01ec3
Revert 0511f8f..65da650
Jan 12, 2015
77b0f41
read me and minor updates
Jan 13, 2015
6974d09
more minor read me updates
Jan 13, 2015
ea4f0f3
more minor read me updates
Jan 13, 2015
04c0099
py3 fixes
Mar 17, 2015
166aea6
fix for split-brained behaviour on py2/3
Mar 17, 2015
fc2177d
add change_tz tests and fix use of 'file'
Mar 18, 2015
164c315
Merge pull request #3 from novocaine/master
tBaxter Mar 18, 2015
dc104b0
locked dateutil version
Mar 18, 2015
5dbf949
incremented version
Mar 18, 2015
a88cc36
Put readComponents back into init with readOne
hadleyrich Apr 15, 2015
46026fd
Merge pull request #4 from hadleyrich/master
tBaxter Apr 16, 2015
f079b75
adding broken test code
tobixen May 4, 2015
8e33192
bugfix for folded lines
tobixen May 4, 2015
8a781cf
cleanup - random whitespace removed
tobixen May 4, 2015
2e37117
Merge pull request #5 from tobixen/master
tBaxter May 4, 2015
e2af95d
two bugfixes; in python2, unicode input was no longer supported - and…
tobixen May 6, 2015
0f745f0
oups - a debug line accidentally slipped through on the previous commit
tobixen May 6, 2015
3af3c9f
comment fixes
tobixen May 6, 2015
b3f9bbc
bugfix 1: I had accidentally disabled the u-function - and tests pass…
tobixen May 6, 2015
8b4656e
omg ... forgot to remove a debug thingy
tobixen May 7, 2015
88a1a9b
Merge pull request #6 from tobixen/master
tBaxter Aug 28, 2015
d5e092f
incremented version number for bug fix
Aug 28, 2015
1715719
Merged 'card handling' to master and incremented version.
Aug 31, 2015
5bdf217
removed old comment
Aug 31, 2015
3a01844
Setup.py cleanup
Nov 2, 2015
cc12527
set date util back to 2.4.0
Nov 2, 2015
213f647
Merge pull request #14 from tBaxter/setup.py-changes
tBaxter Nov 2, 2015
165ac0a
Fixed timezone declaration when using python3.
sdiemer Nov 20, 2015
0646266
Ignore all __pycache__ dirs.
sdiemer Dec 2, 2015
d217ad9
Changed version.
sdiemer Dec 2, 2015
01795fb
Merge pull request #17 from UbiCastTeam/master
tBaxter Dec 2, 2015
09aa7f9
updated readme
Jan 5, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

__pycache__

vobject.egg-info/PKG-INFO

vobject.egg-info/SOURCES.txt

vobject.egg-info/dependency_links.txt

vobject.egg-info/entry_points.txt

vobject.egg-info/requires.txt

vobject.egg-info/top_level.txt

vobject.egg-info/zip-safe
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: python
python:
- "2.7"
- "3.4"
install: pip install -e .
script:
- python tests.py
sudo: false
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include README.md
recursive-include test_files *.ics
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
VObject
=======

### I am no longer maintaining this fork of vobject.

### All development efforts have moved to [Python-Card-Me](https://github.com/tBaxter/python-card-me), which picks up exactly where this left off. Thank you for your support.
227 changes: 0 additions & 227 deletions README.txt

This file was deleted.

Binary file added dist/vobject-0.8.2.tar.gz
Binary file not shown.
59 changes: 31 additions & 28 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
Description
-----------

Parses iCalendar and vCard files into Python data structures, decoding the relevant encodings. Also serializes vobject data structures to iCalendar, vCard, or (experimentally) hCalendar unicode strings.
Parses iCalendar and vCard files into Python data structures, decoding the relevant encodings.
Also serializes vobject data structures to iCalendar, vCard, or (experimentally)
hCalendar unicode strings.

Requirements
------------
Expand Down Expand Up @@ -44,31 +46,32 @@

doclines = __doc__.splitlines()

setup(name = "vobject",
version = "0.8.1c",
author = "Jeffrey Harris",
author_email = "jeffrey@osafoundation.org",
license = "Apache",
zip_safe = True,
url = "http://vobject.skyhouseconsulting.com",
entry_points = { 'console_scripts': ['ics_diff = vobject.ics_diff:main',
'change_tz = vobject.change_tz:main']},
include_package_data = True,
test_suite = "test_vobject",

install_requires = ['python-dateutil >= 1.1'],

platforms = ["any"],
packages = find_packages(),
description = doclines[0],
long_description = "\n".join(doclines[2:]),
classifiers = """
Development Status :: 5 - Production/Stable
Environment :: Console
License :: OSI Approved :: BSD License
Intended Audience :: Developers
Natural Language :: English
Programming Language :: Python
Operating System :: OS Independent
Topic :: Text Processing""".strip().splitlines()
setup(name="vobject",
version="0.8.6",
author="Jeffrey Harris, Tim Baxter",
author_email="mail.baxter@gmail.com",
license="Apache",
zip_safe=True,
url="http://vobject.skyhouseconsulting.com",
entry_points={
'console_scripts': [
'ics_diff = vobject.ics_diff:main',
'change_tz = vobject.change_tz:main'
]
},
include_package_data=True,
install_requires=['python-dateutil == 2.4.0'],
platforms=["any"],
packages=find_packages(),
description=doclines[0],
long_description="\n".join(doclines[2:]),
classifiers="""
Development Status :: 5 - Production/Stable
Environment :: Console
License :: OSI Approved :: BSD License
Intended Audience :: Developers
Natural Language :: English
Programming Language :: Python
Operating System :: OS Independent
Topic :: Text Processing""".strip().splitlines()
)
14 changes: 14 additions & 0 deletions test_files/availablity.ics
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
BEGIN:VAVAILABILITY
UID:test
DTSTART:20060216T000000Z
DTEND:20060217T000000Z
BEGIN:AVAILABLE
UID:test1
DTSTART:20060216T090000Z
DTEND:20060216T120000Z
DTSTAMP:20060215T000000Z
SUMMARY:Available in the morning
END:AVAILABLE
BUSYTYPE:BUSY
DTSTAMP:20060215T000000Z
END:VAVAILABILITY
10 changes: 10 additions & 0 deletions test_files/badline.ics
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
BEGIN:VCALENDAR
METHOD:PUBLISH
VERSION:2.0
BEGIN:VEVENT
DTSTART:19870405T020000
X-BAD/SLASH:TRUE
X-BAD_UNDERSCORE:TRUE
UID:EC9439B1-FF65-11D6-9973-003065F99D04
END:VEVENT
END:VCALENDAR
16 changes: 16 additions & 0 deletions test_files/badstream.ics
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
X-WR-TIMEZONE;VALUE=TEXT:US/Pacific
METHOD:PUBLISH
PRODID:-//Apple Computer\, Inc//iCal 1.0//EN
X-WR-CALNAME;VALUE=TEXT:Example
VERSION:2.0
BEGIN:VEVENT
DTSTART:20021028T140000Z
BEGIN:VALARM
TRIGGER:a20021028120000
ACTION:DISPLAY
DESCRIPTION:This trigger has a nonsensical value
END:VALARM
END:VEVENT
END:VCALENDAR
7 changes: 7 additions & 0 deletions test_files/freebusy.ics
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
BEGIN:VFREEBUSY
UID:test
DTSTART:20060216T010000Z
DTEND:20060216T030000Z
FREEBUSY:20060216T010000Z/PT1H
FREEBUSY:20060216T010000Z/20060216T030000Z
END:VFREEBUSY
Loading