aboutsummaryrefslogtreecommitdiff
path: root/module/vcalendar/primitive.scm (unfollow)
Commit message (Collapse)Author
2019-04-10Rework how attributes and properties are accessed.Hugo Hörnquist
Made the fact that properties belong to an attribute shine through to scheme. This by setting the SCM field in the strbuf:ers in my vcomponents to a pair of their old SCM value, and a hash table representing the properties. This also meant that the primitive set-attribute! could be replaced by a set-car! on the pair returned by the primitive get-attribute. And that both set- and get-property now simple works on the hash table returned by get-attribute. The major problem with this release was that I for a while missed that DEEP_COPY(strbuf) now also needed to deep copy the SCM values. Without that attributes in a copied vcomponent would be shared with the original. This mainly lead to repeating events all being the same.
2019-04-06Add temporary set-attributes!Hugo Hörnquist
2019-03-31Add (read only) property access from scheme.Hugo Hörnquist
2019-03-24Add VIRTUAL vcomponents.Hugo Hörnquist
VIRTUAL vcomponents are vcomponents created without a source. Their primiary purpose is for creating brand new events, which will later be dumped to the proper files. They can however also be used in testing for great effect.
2019-03-22Move C and Scheme code into subdirs.Hugo Hörnquist
2019-03-10Add filter-children!Hugo Hörnquist
2019-03-08Add copy-vevent.Hugo Hörnquist
2019-03-02Expose KEY(TRIE(content_line)) to scheme.Hugo Hörnquist
2019-02-26Move load-extension to (vcalendar primitive).Hugo Hörnquist