Page MenuHomePhabricator

Add a very basic ICS syntax parser
ClosedPublic

Authored by epriestley on Sep 8 2016, 8:49 PM.
Tags
None
Referenced Files
F18759677: D16520.id.diff
Mon, Oct 6, 5:17 AM
F18598597: D16520.diff
Sep 13 2025, 5:22 AM
F18508060: D16520.id.diff
Sep 5 2025, 2:35 AM
F17942752: D16520.id39765.diff
Jul 31 2025, 7:07 AM
F17939279: D16520.id39758.diff
Jul 31 2025, 3:00 AM
F17866922: D16520.id.diff
Jul 28 2025, 5:11 AM
F17849150: D16520.diff
Jul 27 2025, 8:18 AM
Unknown Object (File)
Jul 1 2025, 9:54 PM
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.