frenchie/icalparse.git
13 years agoMuch more robust about handling Content-Type 0.7.2 version-0.7.2
James French [Thu, 5 Aug 2010 06:36:34 +0000 (14:36 +0800)]
Much more robust about handling Content-Type

Can handle multiple content-type lines which is a _good_ thing.
Will correctly identify the charset parameter (if supplied) and go with that.
Content sniffing is not specified by the RFC so it won't be implemented.

13 years agoHandles MIME encodings from FTP now too
James French [Thu, 5 Aug 2010 05:56:01 +0000 (13:56 +0800)]
Handles MIME encodings from FTP now too

* Provided the remote end specifies what it is.
* Default behaviour is to follow the RFC ie use remote if given or assume UTF-8

13 years agoUnicode support for urllib2/http
James French [Tue, 3 Aug 2010 08:22:05 +0000 (16:22 +0800)]
Unicode support for urllib2/http

13 years agoMuch better unicode support
James French [Tue, 3 Aug 2010 08:03:24 +0000 (16:03 +0800)]
Much better unicode support

13 years agoRemoved erroneous comments
James French [Tue, 3 Aug 2010 05:02:37 +0000 (13:02 +0800)]
Removed erroneous comments

13 years agohttplib2 passes remote encoding (if any) through
James French [Tue, 3 Aug 2010 05:00:16 +0000 (13:00 +0800)]
httplib2 passes remote encoding (if any) through

Minor code refactor to allow for the change.

13 years agoFixed missing length parameter 0.7.1 version-0.7.1
James French [Mon, 2 Aug 2010 16:34:00 +0000 (00:34 +0800)]
Fixed missing length parameter

13 years agoA step closer to real unicode support
James French [Mon, 2 Aug 2010 16:18:48 +0000 (00:18 +0800)]
A step closer to real unicode support

Doesn't glob multi-byte characters at line folds

13 years agoBetter unicode support as per the RFC(s)
James French [Mon, 2 Aug 2010 08:29:31 +0000 (16:29 +0800)]
Better unicode support as per the RFC(s)

Will unfold lines and then treat them as UTF-8.
Before folding lines, they're converted to 8-bit strings and split at 75 octets.

13 years agolost a line break in the license for parserrules.py
James French [Mon, 2 Aug 2010 08:12:30 +0000 (16:12 +0800)]
lost a line break in the license for parserrules.py

13 years agoSome cleanup
James French [Mon, 2 Aug 2010 08:08:15 +0000 (16:08 +0800)]
Some cleanup

Fixes broken comments
Makes the verbose option actually verbose

13 years agoWrite output, ready for primetime 0.7 version-0.7
James French [Mon, 2 Aug 2010 07:03:48 +0000 (15:03 +0800)]
Write output, ready for primetime

13 years agoAdded License message to parserrules
James French [Mon, 2 Aug 2010 06:38:12 +0000 (14:38 +0800)]
Added License message to parserrules

13 years agoMore efficient lineFolder implementation
James French [Mon, 2 Aug 2010 06:35:01 +0000 (14:35 +0800)]
More efficient lineFolder implementation

13 years agoRejoins fields into lines ready to be folded
James French [Mon, 2 Aug 2010 06:30:33 +0000 (14:30 +0800)]
Rejoins fields into lines ready to be folded

13 years agoRules implemented
James French [Mon, 2 Aug 2010 06:24:06 +0000 (14:24 +0800)]
Rules implemented

13 years agoLoads rules from a source file
James French [Mon, 2 Aug 2010 05:54:34 +0000 (13:54 +0800)]
Loads rules from a source file

13 years agoSplits in prep for running the rules
James French [Mon, 2 Aug 2010 05:49:27 +0000 (13:49 +0800)]
Splits in prep for running the rules

13 years agoAdded rules.py
James French [Mon, 2 Aug 2010 05:47:52 +0000 (13:47 +0800)]
Added rules.py

Provides documentation of how the rules work

13 years agoAdded .gitignore
James French [Mon, 2 Aug 2010 05:13:45 +0000 (13:13 +0800)]
Added .gitignore

13 years agoCatching some more exceptions
James French [Mon, 2 Aug 2010 05:12:33 +0000 (13:12 +0800)]
Catching some more exceptions

13 years agoFixed the unfold function
James French [Mon, 2 Aug 2010 05:05:47 +0000 (13:05 +0800)]
Fixed the unfold function

* Correctly identifies folds and removes them
* Checks for a complete ICS file before doing anything

13 years agoChecks for the correct opening stanza
James French [Mon, 2 Aug 2010 04:54:00 +0000 (12:54 +0800)]
Checks for the correct opening stanza

13 years agoURLs open much more robustly now
James French [Mon, 2 Aug 2010 04:25:26 +0000 (12:25 +0800)]
URLs open much more robustly now

13 years agoRemoved depricated regular expression
James French [Sun, 1 Aug 2010 16:06:41 +0000 (00:06 +0800)]
Removed depricated regular expression

13 years agoComment cleaup, added function
James French [Sun, 1 Aug 2010 16:04:49 +0000 (00:04 +0800)]
Comment cleaup, added function

13 years agoMuch simplified unfolding function
James French [Sun, 1 Aug 2010 15:57:32 +0000 (23:57 +0800)]
Much simplified unfolding function

13 years agoBug fix: Properly reads from stdin
James French [Sun, 1 Aug 2010 08:18:57 +0000 (16:18 +0800)]
Bug fix: Properly reads from stdin

13 years agoNow parses urls/files okay
James French [Sun, 1 Aug 2010 07:18:39 +0000 (15:18 +0800)]
Now parses urls/files okay

13 years agoReplaced getopt with optparse (which will need to be replaced again)
James French [Sun, 1 Aug 2010 06:11:22 +0000 (14:11 +0800)]
Replaced getopt with optparse (which will need to be replaced again)

13 years agoInitial Commit, includes folding and unfolding lines
James French [Sun, 1 Aug 2010 05:44:48 +0000 (13:44 +0800)]
Initial Commit, includes folding and unfolding lines

UCC git Repository :: git.ucc.asn.au