aboutsummaryrefslogtreecommitdiff
path: root/src/strbuf.c (follow)
Commit message (Collapse)AuthorAge
* Rework how attributes and properties are accessed.Hugo Hörnquist2019-04-10
| | | | | | | | | | | | | | | | | 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.
* Fix errors shown by scan-build.Hugo Hörnquist2019-03-22
|
* Move C and Scheme code into subdirs.Hugo Hörnquist2019-03-22