Page MenuHomePhabricator

Add a very basic ICS syntax parser
ClosedPublic

Authored by epriestley on Sep 8 2016, 8:49 PM.
Tags
None
Referenced Files
F13060073: D16520.diff
Fri, Apr 19, 5:17 PM
Unknown Object (File)
Fri, Apr 12, 3:20 PM
Unknown Object (File)
Thu, Apr 11, 7:38 AM
Unknown Object (File)
Tue, Apr 2, 12:58 PM
Unknown Object (File)
Mar 15 2024, 4:23 AM
Unknown Object (File)
Feb 23 2024, 3:29 AM
Unknown Object (File)
Feb 3 2024, 11:53 AM
Unknown Object (File)
Feb 3 2024, 1:05 AM
Subscribers
None

Details

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.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Add a very basic ICS syntax parser.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Sep 8 2016, 9:04 PM
This revision was automatically updated to reflect the committed changes.