Homec4science

Add a very basic ICS syntax parser

Authored by epriestley <git@epriestley.com> on Sep 8 2016, 22:29.

Description

Add a very basic ICS syntax parser

Summary:
Ref T10747. Extremely rough parser for ICS syntax, based on RFC5545 + RFC6868.

This doesn't understand any of the content in an ICS file or know anything about calendaring or events yet, it just applies all the weird linewrapping, escaping, typing and parsing rules.

I'll refine this to be less bad and eventually do useful things, but I got a basic test case running at least.

Test Plan:

  • Added unit test.
  • Ran unit test.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10747

Differential Revision: https://secure.phabricator.com/D16520

Details

Committed
epriestley <git@epriestley.com>Sep 9 2016, 02:17
Pushed
aubortMar 17 2017, 12:03
Parents
rPHUf983effe304c: When stopping subprocesses, send SIGTERM first, then SIGKILL if that doesn't…
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU0107c187b6d8: Add a very basic ICS syntax parser (authored by epriestley <git@epriestley.com>).Sep 9 2016, 02:17