commit 81895bfb12694d85d948c1068e9345b0b02832e4 Author: Daniel Espinosa Date: Mon Sep 22 17:00:24 2014 -0500 Added SerializableObjectModel class help. configure.ac | 2 +- docs/mallard/C/Makefile.am | 3 ++- docs/mallard/C/gxml-serializable-objectmodel.page | 19 +++++++++++++++++++ docs/mallard/C/gxml-serializable.page | 15 +++++++++++++++ docs/mallard/Makefile.am | 4 +++- 5 files changed, 40 insertions(+), 3 deletions(-) commit e0a20b0c96fb525a0dcba97ffbd09831ad46d0fc Author: Daniel Espinosa Date: Thu Sep 18 19:28:20 2014 -0500 Adding Mallard documentation for Serializable Makefile.am | 2 +- configure.ac | 32 ++++++-- docs/Makefile.am | 133 ++-------------------------------- docs/mallard/C/Makefile.am | 33 +++++++++ docs/mallard/C/gxml-serializable.page | 57 +++++++++++++++ docs/mallard/C/index.page | 25 +++++++ docs/mallard/Makefile.am | 10 +++ docs/valadoc/Makefile.am | 126 ++++++++++++++++++++++++++++++++ docs/valadoc/wiki/concepts.valadoc | 3 + docs/valadoc/wiki/debugging.valadoc | 2 + docs/valadoc/wiki/glossary.valadoc | 1 + docs/wiki/concepts.valadoc | 3 - docs/wiki/debugging.valadoc | 2 - docs/wiki/glossary.valadoc | 1 - gxml/Serializable.vala | 2 +- 15 files changed, 293 insertions(+), 139 deletions(-) commit 6d038b640ff4438fc74a1cefd8e3d902d21ab351 Author: Daniel Espinosa Date: Fri Sep 5 07:44:24 2014 -0500 API change on Serializable. * SerializableError enumeration change name * Improved error reporting on transformations from string gxml/Serializable.vala | 29 ++++++++++++++++++++--------- gxml/SerializableGeeArrayList.vala | 2 +- gxml/SerializableGeeDualKeyMap.vala | 2 +- gxml/SerializableGeeHashMap.vala | 2 +- gxml/SerializableGeeTreeMap.vala | 2 +- gxml/SerializableJson.vala | 4 +++- gxml/SerializableObjectModel.vala | 4 +++- test/SerializableObjectModelTest.vala | 17 +++++++++++++++++ 8 files changed, 47 insertions(+), 15 deletions(-) commit c94861a10eb3d6ecf02db2a61c72708dc83e52e6 Author: Daniel Espinosa Date: Sun Aug 31 14:54:26 2014 -0500 Added missing required modules to gxml-0.4.pc file gxml/gxml-0.4.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 85671a89bdf734c23c8d6dcc732e8a7efd483df2 Author: Daniel Espinosa Date: Sat Aug 30 06:48:02 2014 -0500 Documentation improvement. Added Serializable performance test. gxml/Serializable.vala | 35 +++++++++-------------------------- test/gxml-performance.vala | 19 +++++++++++++++++++ 2 files changed, 28 insertions(+), 26 deletions(-) commit ac9f4969dd07457de1d7b65ab05f613053d71acc Author: Daniel Espinosa Date: Sun Aug 10 20:42:43 2014 -0500 Added performance tests for deserialize large files. configure.ac | 7 +++++++ gxml/Makefile.am | 10 +++++++++- test/gxml-performance.vala | 14 ++++++++++---- 3 files changed, 26 insertions(+), 5 deletions(-) commit 785c0dcb64d29ff1906ab864ba49fd10ad0760d1 Author: Daniel Espinosa Date: Tue Aug 5 20:17:05 2014 -0500 Added initial performance tests. Added Maintainers. * Large XML read performance * Deserialize large XML document MAINTAINERS | 3 +- configure.ac | 1 + gxml/Serializable.vala | 3 +- gxml/SerializableContainer.vala | 11 +- test/GXmlTest.vala | 3 +- test/Makefile.am | 1 + test/gxml-performance.vala | 100 + test/test-large.xml.in | 131043 +++++++++++++++++++++++++++++++++++++ 8 files changed, 131160 insertions(+), 5 deletions(-) commit a602656aa687d784329bea2cd3b733cb6494fb2e Author: Daniel Espinosa Date: Thu Jul 17 17:50:35 2014 -0500 Removed Xom last file. gxml/xom/Serialization.vala | 439 -------------------------------------------- 1 file changed, 439 deletions(-) commit 2700d6040c754973982c22ac17cb30ec130efc6d Author: Daniel Espinosa Date: Thu Jul 17 17:47:28 2014 -0500 Revert "Moved Xom to its own library libxom" This reverts commit de2cb220d6abdedce91017f4bef86864fe822b14. Conflicts: gxml/Makefile.am gxml/xom/Makefile.am test/Makefile.am test/SerializableTest.vala NEWS | 13 +- configure.ac | 3 - gxml/Enumeration.vala | 151 ++++++++ gxml/Makefile.am | 16 +- gxml/Serializable.vala | 566 ++++++++++++++++++++++++++++++ gxml/SerializableContainer.vala | 38 +++ gxml/SerializableGeeArrayList.vala | 144 ++++++++ gxml/SerializableGeeDualKeyMap.vala | 224 ++++++++++++ gxml/SerializableGeeHashMap.vala | 144 ++++++++ gxml/SerializableGeeTreeMap.vala | 147 ++++++++ gxml/SerializableJson.vala | 291 ++++++++++++++++ gxml/SerializableMapDualKey.vala | 27 ++ gxml/SerializableMapKey.vala | 27 ++ gxml/SerializableObjectModel.vala | 381 +++++++++++++++++++++ gxml/Serialization.vala | 3 +- gxml/xom/Enumeration.vala | 151 -------- gxml/xom/Makefile.am | 192 ----------- gxml/xom/Serializable.vala | 567 ------------------------------- gxml/xom/SerializableContainer.vala | 39 --- gxml/xom/SerializableGeeArrayList.vala | 144 -------- gxml/xom/SerializableGeeDualKeyMap.vala | 224 ------------ gxml/xom/SerializableGeeHashMap.vala | 144 -------- gxml/xom/SerializableGeeTreeMap.vala | 147 -------- gxml/xom/SerializableJson.vala | 293 ---------------- gxml/xom/SerializableMapDualKey.vala | 27 -- gxml/xom/SerializableMapKey.vala | 27 -- gxml/xom/SerializableObjectModel.vala | 382 --------------------- gxml/xom/namespace-info.vala.in | 24 -- gxml/xom/xom-0.4.pc.in | 14 - test/EnumerationTest.vala | 3 +- test/GXmlTest.vala | 2 +- test/Makefile.am | 5 +- test/SerializableBasicTypesTest.vala | 2 - test/SerializableGeeArrayListTest.vala | 1 - test/SerializableGeeCollectionsTest.vala | 1 - test/SerializableGeeDualKeyMapTest.vala | 1 - test/SerializableGeeHashMapTest.vala | 1 - test/SerializableGeeTreeMapTest.vala | 1 - test/SerializableObjectModelTest.vala | 8 +- test/SerializableTest.vala | 11 +- test/SerializationTest.vala | 9 +- 41 files changed, 2181 insertions(+), 2414 deletions(-) commit 3005aeb8e5104db520152496f6bc41110f2e4f9d Author: Daniel Espinosa Date: Wed Jun 11 13:54:56 2014 -0500 Added INSTALL file INSTALL | 370 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 370 insertions(+) commit 8093473c93aae4ce7fb9ef4db79ae6a1aee87d45 Author: Daniel Espinosa Date: Thu May 1 13:06:30 2014 -0500 Build improvements for Xom on Windows building DLL and VPATH gxml/Makefile.am | 32 ++++++++++++++++++-------------- gxml/xom/Makefile.am | 47 +++++++++++++++++++++++++---------------------- test/Makefile.am | 3 +++ 3 files changed, 46 insertions(+), 36 deletions(-) commit 3c4984bff980b0d5510223727126f4f162530378 Author: Daniel Espinosa Date: Wed Apr 30 17:18:58 2014 -0500 Enable generation of DLL for GXml configure.ac | 2 +- gxml/Makefile.am | 34 +++++++++++++++------------------- gxml/xom/Makefile.am | 6 +++--- 3 files changed, 19 insertions(+), 23 deletions(-) commit fac29b8fd10cf357d65a2bcf3db7781e9ee188c8 Author: Daniel Espinosa Date: Tue Apr 15 14:46:47 2014 -0500 GObject Introspection fixes for Xom gxml/xom/Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 628b8f997e600804038fb5d51e40a54b9c8e61fd Author: Daniel Espinosa Date: Tue Apr 15 14:17:50 2014 -0500 Fixed build on VPATH environment * Test suite now uses C code allowing to use VPATH building on a custom build directory. This keeps source tree untouched. test/Makefile.am | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) commit df90eb0b86e47835fce7a53ea4a951ecbb6ff5fa Author: Daniel Espinosa Date: Tue Apr 15 10:47:25 2014 -0500 Win32/64 distribution fixes * GXml and Xom symbols are autogenerated using --symbols from valac gxml/Makefile.am | 6 + gxml/gxml.symbols | 326 --------------------------------------------------- gxml/xom/Makefile.am | 6 + gxml/xom/xom.symbols | 191 ------------------------------ 4 files changed, 12 insertions(+), 517 deletions(-) commit 1f9d1bbc4d29b6cc1e5bffb453fff98b62283e84 Author: Daniel Espinosa Date: Mon Apr 14 19:03:09 2014 -0500 Moved Xom/Json implementation to Xom library Cleaned out GXml from any serialization framework. gxml/Document.vala | 4 +- gxml/Makefile.am | 5 +- gxml/Serializable.vala | 567 ----------------------------------------- gxml/SerializableJson.vala | 290 --------------------- gxml/Serialization.vala | 12 +- gxml/xom/Makefile.am | 7 +- gxml/xom/SerializableJson.vala | 293 +++++++++++++++++++++ gxml/xom/Serialization.vala | 439 +++++++++++++++++++++++++++++++ test/SerializableTest.vala | 10 +- test/SerializationTest.vala | 11 +- 10 files changed, 756 insertions(+), 882 deletions(-) commit de2cb220d6abdedce91017f4bef86864fe822b14 Author: Daniel Espinosa Date: Sun Apr 13 19:31:48 2014 -0500 Moved Xom to its own library libxom Xom is a library dependent of GXml to serialize GObjects to XML, providing a .NET Serialization like framework with a flexible, overriadable implementation. Xom.Serializable interface allows to create your own implementations. Xom provides serializable Gee collections to store a set of Serializabe implementors objects and serialize them to a XML document or an XML Element. configure.ac | 8 + gxml/Enumeration.vala | 151 -------- gxml/Makefile.am | 13 +- gxml/SerializableContainer.vala | 38 --- gxml/SerializableGeeArrayList.vala | 144 -------- gxml/SerializableGeeDualKeyMap.vala | 224 ------------ gxml/SerializableGeeHashMap.vala | 144 -------- gxml/SerializableGeeTreeMap.vala | 147 -------- gxml/SerializableMapDualKey.vala | 27 -- gxml/SerializableMapKey.vala | 27 -- gxml/SerializableObjectModel.vala | 381 --------------------- gxml/xom/Enumeration.vala | 151 ++++++++ gxml/xom/Makefile.am | 179 ++++++++++ gxml/xom/Serializable.vala | 567 +++++++++++++++++++++++++++++++ gxml/xom/SerializableContainer.vala | 39 +++ gxml/xom/SerializableGeeArrayList.vala | 144 ++++++++ gxml/xom/SerializableGeeDualKeyMap.vala | 224 ++++++++++++ gxml/xom/SerializableGeeHashMap.vala | 144 ++++++++ gxml/xom/SerializableGeeTreeMap.vala | 147 ++++++++ gxml/xom/SerializableMapDualKey.vala | 27 ++ gxml/xom/SerializableMapKey.vala | 27 ++ gxml/xom/SerializableObjectModel.vala | 382 +++++++++++++++++++++ gxml/xom/namespace-info.vala.in | 24 ++ gxml/xom/xom-0.4.pc.in | 14 + gxml/xom/xom.symbols | 191 +++++++++++ test/EnumerationTest.vala | 3 +- test/GXmlTest.vala | 2 +- test/Makefile.am | 13 +- test/SerializableBasicTypesTest.vala | 2 + test/SerializableGeeArrayListTest.vala | 1 + test/SerializableGeeCollectionsTest.vala | 1 + test/SerializableGeeDualKeyMapTest.vala | 1 + test/SerializableGeeHashMapTest.vala | 1 + test/SerializableGeeTreeMapTest.vala | 1 + test/SerializableObjectModelTest.vala | 8 +- test/SerializableTest.vala | 5 +- test/test.xml | 15 - test/test.xml.in | 15 + test/test_invalid.xml | 4 - test/test_invalid.xml.in | 4 + test/test_out_path_expected.xml | 15 - test/test_out_path_expected.xml.in | 15 + test/test_out_stream_expected.xml | 15 - test/test_out_stream_expected.xml.in | 15 + test/test_with_ns.xml | 63 ---- test/test_with_ns.xml.in | 63 ++++ 46 files changed, 2410 insertions(+), 1416 deletions(-) commit 12f2846d6ebfe9d10f4afbebd34baa5db8108f66 Author: Daniel Espinosa Date: Sun Apr 13 14:47:05 2014 -0500 Fixed make distcheck Makefile.am | 2 +- configure.ac | 2 +- gxml/Makefile.am | 23 ++++++----------------- 3 files changed, 8 insertions(+), 19 deletions(-) commit 4826f53c0bd0e0a6919dfcbf2ebece26818839e6 Author: Daniel Espinosa Date: Thu Apr 10 17:47:44 2014 -0500 More fixes for make distcheck - VPATH works * Still fails on valadoc compilation gxml/Makefile.am | 2 +- test/Makefile.am | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) commit 9f49cbb90c4daa60c2cb23a06c0b06f9e4d23073 Author: Daniel Espinosa Date: Thu Apr 10 09:44:12 2014 -0500 Fixes for make distcheck * Still requires to fix po built examples/c/Makefile.am | 2 +- examples/js/Makefile.am | 2 +- gxml/Makefile.am | 13 ++++--------- 3 files changed, 6 insertions(+), 11 deletions(-) commit b867d43c4f8292d9ea721b62499c12fa9c988aa6 Merge: 08fbd4f 3ade1e8 Author: Daniel Espinosa Date: Wed Apr 2 15:27:37 2014 -0600 Merge branch 'master' into serialization commit 08fbd4fea7e95d0e200408203825b87662a677ed Author: Daniel Espinosa Date: Tue Apr 1 12:48:46 2014 -0600 Adding license and Autor data for parsing symbols tool configure.ac | 2 +- gxml/symbols.py | 36 +++++++++++++++++++++++++++++++----- 2 files changed, 32 insertions(+), 6 deletions(-) commit 4a34996804a9163ff61f1a24847d2b0f1a7c312a Author: Daniel Espinosa Date: Fri Mar 28 11:24:48 2014 -0600 Fixes on Win32/64 build configure.ac | 40 ++++++- gxml/Makefile.am | 102 ++++++++++++----- gxml/gxml.symbols | 326 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ gxml/symbols.py | 26 +++++ 4 files changed, 462 insertions(+), 32 deletions(-) commit d748b26348b2954893655efd49591b8e043a4c1c Author: Daniel Espinosa Date: Mon Mar 17 18:26:53 2014 -0600 Adding file with enviromental configuration for cross compile crosscompile.env | 6 ++++++ 1 file changed, 6 insertions(+) commit 7d5ebef7b81585d3f20c95abb0faa2d0fcca86b2 Author: Daniel Espinosa Date: Mon Mar 17 18:14:31 2014 -0600 Fixes for Windows cross compile autogen.sh | 159 ++++++++++++++++++++++++++++++++++++++++++--------- configure.ac | 20 +++---- vapi/libxml-2.0.vapi | 6 +- 3 files changed, 147 insertions(+), 38 deletions(-) commit e46d6f24c3fe8a55a6536260bd8c569d6eede4e2 Author: Daniel Espinosa Date: Sat Feb 1 06:14:48 2014 -0600 Build Fixes * Added versioned namespace accordding to configure.c * Fixed missing namespace for SerializableMapDualKey interface * GObject Introspection fixes configure.ac | 1 + gxml/Attr.vala | 2 +- gxml/Makefile.am | 4 +++- gxml/SerializableMapDualKey.vala | 2 +- gxml/namespace-info.vala.in | 26 ++++++++++++++++++++++++++ 5 files changed, 32 insertions(+), 3 deletions(-) commit ef502d6913de426374dc0f70d3a4f8f3cfad9601 Author: Daniel Espinosa Date: Sat Feb 1 05:17:11 2014 -0600 Fixes on Builds and GObject Introspection support configure.ac | 17 ++++------------- gxml/Makefile.am | 52 +++++++++++++++++----------------------------------- gxml/gxml-0.4.deps | 5 +++++ gxml/gxml.deps | 5 ----- 4 files changed, 26 insertions(+), 53 deletions(-) commit 438754176dc7c77e8f3c321c96a45125354a3cd3 Author: Daniel Espinosa Date: Sat Feb 1 03:43:47 2014 -0600 Build fixes for GXml 0.4 gxml/Makefile.am | 10 +-- test/EnumerationTest.vala | 215 ++++++++++++++++++++++++++++++++++++++++++++++ test/GXmlTest.vala | 1 + test/Makefile.am | 4 +- 4 files changed, 219 insertions(+), 11 deletions(-) commit 3a5ffaa8f64fb8af7769c7290d3e0edd56dfb7d3 Author: Daniel Espinosa Date: Sat Feb 1 02:53:51 2014 -0600 Preparation for parallel installation of GXml 0.4 configure.ac | 8 ++++---- gxml/Makefile.am | 38 +++++++++++++++++++------------------- gxml/gxml-0.4.pc.in | 14 ++++++++++++++ gxml/gxml.pc.in | 14 -------------- 4 files changed, 37 insertions(+), 37 deletions(-) commit 30bad85e357a3e039fd2e844e7e5c9a718aa0e75 Author: Daniel Espinosa Date: Wed Jan 29 17:13:12 2014 -0600 Moved Enumeration Tests to a file gxml/Enumeration.vala | 7 +- gxml/Serializable.vala | 62 +++--------- gxml/SerializableJson.vala | 28 +++++ test/Makefile.am | 1 + test/SerializableObjectModelTest.vala | 185 +--------------------------------- 5 files changed, 49 insertions(+), 234 deletions(-) commit 50b174718be05e2fdac871ed35094450fff0bf0f Author: Daniel Espinosa Date: Tue Jan 28 18:43:09 2014 -0600 Addedo SerializableCollection to allow not just Gee collections gxml/SerializableContainer.vala | 13 ++++++++++++- gxml/SerializableGeeArrayList.vala | 4 ++-- gxml/SerializableGeeDualKeyMap.vala | 4 ++-- gxml/SerializableGeeHashMap.vala | 4 ++-- gxml/SerializableGeeTreeMap.vala | 4 ++-- gxml/SerializableObjectModel.vala | 8 ++------ 6 files changed, 22 insertions(+), 15 deletions(-) commit 2e9958ec06d5ddf2bef48733da423c66fe0307b0 Author: Daniel Espinosa Date: Mon Jan 20 12:39:08 2014 -0600 Removed XPath. gxml/Makefile.am | 6 +- gxml/Node.vala | 22 -- gxml/Serializable.vala | 2 +- gxml/XPathError.vala | 43 ---- gxml/XPathExpression.vala | 117 ---------- gxml/XPathNSResolver.vala | 64 ------ gxml/XPathResult.vala | 208 ------------------ test/GXmlTest.vala | 3 - test/Makefile.am | 5 +- test/SerializableBasicTypesTest.vala | 6 +- test/SerializableGeeArrayListTest.vala | 25 +++ test/SerializableGeeCollectionsTest.vala | 6 +- test/SerializableGeeDualKeyMapTest.vala | 25 +++ test/SerializableGeeHashMapTest.vala | 25 +++ test/SerializableGeeTreeMapTest.vala | 25 +++ test/SerializableObjectModelTest.vala | 25 +++ test/SerializableTest.vala | 27 ++- test/XPathExpressionTest.vala | 353 ------------------------------- test/XPathNSResolverTest.vala | 22 -- test/XPathResultTest.vala | 153 -------------- 20 files changed, 160 insertions(+), 1002 deletions(-) commit 77db95897473360d12942d4f828ce9b40b3255ec Author: Daniel Espinosa Date: Thu Jan 16 18:31:14 2014 -0600 Bug Fixes. API simplification for Serializable Containers. * Simplified implementing GObjects having Serializable Gee collections by adding SerializableContainer interface and implementing se/deserialization in SerializableObjectModel * Serializable Gee Collections now return default node_name from its elements * Fixed bugs on elements' content and unknown properties on complex tree with sub-containers * Fixed bug on unknown Text elements * Fixes, new ones and improves to Unit Test gxml/Makefile.am | 5 +- gxml/SerializableContainer.vala | 27 + gxml/SerializableGeeArrayList.vala | 11 +- gxml/SerializableGeeDualKeyMap.vala | 29 +- gxml/SerializableGeeHashMap.vala | 10 +- gxml/SerializableGeeTreeMap.vala | 13 +- gxml/SerializableObjectModel.vala | 57 +- test/Makefile.am | 4 +- test/SerializableBasicTypesTest.vala | 2 +- test/SerializableGeeCollectionsTest.vala | 310 ++++-- test/SerializableGeeHashMapTest.vala | 26 +- test/SerializableGeeTreeMapTest.vala | 30 +- test/SerializableObjectModelTest.vala | 1615 +++++++++++++++--------------- 13 files changed, 1190 insertions(+), 949 deletions(-) commit 51c043f602265c1447c2b4236158d8b00655b16d Author: Daniel Espinosa Date: Thu Dec 19 15:11:57 2013 -0600 Serializable API change unknown properties disable by default * Serializable deseralize/serialize unknown properties disable by default. Override get_enable_unknown_serializable_property gxml/Serializable.vala | 6 ++++- gxml/SerializableGeeArrayList.vala | 1 + gxml/SerializableGeeDualKeyMap.vala | 1 + gxml/SerializableGeeHashMap.vala | 1 + gxml/SerializableGeeTreeMap.vala | 1 + gxml/SerializableJson.vala | 1 + gxml/SerializableObjectModel.vala | 40 +++++++++++++++++++++----------- test/SerializableGeeCollectionsTest.vala | 23 ++++++------------ test/SerializableObjectModelTest.vala | 4 ++-- 9 files changed, 45 insertions(+), 33 deletions(-) commit 438826f9e239540981619340b1609222beaa1567 Author: Daniel Espinosa Date: Thu Dec 19 13:40:07 2013 -0600 Sync pkg checks with Gee 0.8. Fixes on NodeList port Gee.Collection * Requires GLib 2.32, Vala 0.20, Gee 0.10.5 * Unit Test pass * Node Unit Test improvements * Added some Element Unit Tests configure.ac | 6 +++--- gxml/NodeList.vala | 34 ++++++++++++++++++++++------------ test/ElementTest.vala | 48 +++++++++++++++++++++++++++++++++++++++++++++++- test/NodeTest.vala | 19 +++++++++++++------ 4 files changed, 85 insertions(+), 22 deletions(-) commit 666976f272b5870943e5ac68084c38ae2a2c9bff Author: Daniel Espinosa Date: Wed Dec 18 20:16:18 2013 -0600 Ported NodeList to Gee Collections. * NodeList requires Gee.Collection interface implementation * NodeList removed unused API * Removed GListNodeList implementation * Replaced GListNodeList with Gee.ArrayList * ChildNodeList is now a read only Gee.AbstractCollection * Test ported to new API gxml/NamedNodeMap.vala | 10 + gxml/NodeList.vala | 585 ++++++++++++------------------------------------- test/DocumentTest.vala | 5 +- test/ElementTest.vala | 8 +- test/NodeTest.vala | 59 +++-- 5 files changed, 203 insertions(+), 464 deletions(-) commit 88e9043a8c35bcd75b6c9b4a9a42cdea8d8173b5 Merge: 05b08af d2a5ab9 Author: Daniel Espinosa Date: Thu Dec 12 14:55:00 2013 -0600 Merge branch 'newattr' into serialization Conflicts: gxml/Makefile.am gxml/NamespaceAttr.vala test/GXmlTest.vala test/Makefile.am commit 05b08af321e753911ada2652c9dfadf1defdcb6d Author: Daniel Espinosa Date: Thu Dec 12 14:40:58 2013 -0600 Serializable API change for GXml.Element content set * Serializable: added serialize_use_xml_node_value () for classes requiring to save its content to GXml.Element contents * Ported all implementations to new Serializable API * Found a bug in deseralize/serialize/deserealize Gee Containers, so added tests cases to reproduce it. Not Fixed Yet. gxml/NodeList.vala | 1 + gxml/Serializable.vala | 16 +++ gxml/SerializableGeeArrayList.vala | 4 +- gxml/SerializableGeeDualKeyMap.vala | 1 + gxml/SerializableGeeHashMap.vala | 1 + gxml/SerializableGeeTreeMap.vala | 1 + gxml/SerializableJson.vala | 3 +- gxml/SerializableObjectModel.vala | 21 +++- test/SerializableGeeArrayListTest.vala | 7 +- test/SerializableGeeCollectionsTest.vala | 184 +++++++++++++++++++++++++++++-- test/SerializableGeeDualKeyMapTest.vala | 39 +++++++ test/SerializableGeeHashMapTest.vala | 48 ++++++-- test/SerializableObjectModelTest.vala | 33 +++--- 13 files changed, 315 insertions(+), 44 deletions(-) commit 4751274858c6e99839a42db36431a61ccf856e7b Author: Daniel Espinosa Date: Wed Dec 4 23:40:06 2013 -0600 Added Test cases and parse with options for Document gxml/BackedNode.vala | 3 +- gxml/Document.vala | 25 +++++++++--- test/DocumentTest.vala | 2 +- test/ElementTest.vala | 6 ++- test/SerializableGeeArrayListTest.vala | 51 +++++++++++++++++++++++ test/SerializableGeeHashMapTest.vala | 74 ++++++++++++++++++++++++++++++++++ test/SerializableObjectModelTest.vala | 2 +- 7 files changed, 151 insertions(+), 12 deletions(-) commit c9e925278e00904a710917a3c4d89a2163d8b3ea Merge: fc2852b 7d0fc9a Author: Daniel Espinosa Date: Tue Dec 3 10:02:15 2013 -0600 Merge remote-tracking branch 'origin/master' into serialization Conflicts: gxml/Serializable.vala gxml/Serialization.vala test/DocumentTest.vala Keeps changes on Serializable and Serialization from serializable branch. commit fc2852bf1adbd2a7a9261f9bfff7fe3fe6e71878 Author: Daniel Espinosa Date: Mon Dec 2 08:16:42 2013 -0600 Added SerializableHashMap and Test Suite gxml/Makefile.am | 1 + gxml/SerializableGeeHashMap.vala | 146 +++++++++++++++++++++ test/GXmlTest.vala | 1 + test/Makefile.am | 1 + test/SerializableGeeHashMapTest.vala | 238 +++++++++++++++++++++++++++++++++++ 5 files changed, 387 insertions(+) commit 782bb6909f42defcd3998a4c3faea5d875cd29d6 Author: Daniel Espinosa Date: Thu Nov 28 21:28:20 2013 -0600 Fixed deserealize booleans. Added Test case. gxml/Serializable.vala | 6 +-- test/GXmlTest.vala | 1 + test/Makefile.am | 1 + test/SerializableBasicTypesTest.vala | 77 ++++++++++++++++++++++++++++++++++++ 4 files changed, 80 insertions(+), 5 deletions(-) commit b6cf213c4cd7d9de188fc069f7152ce4cf85819c Author: Daniel Espinosa Date: Thu Nov 28 13:39:01 2013 -0600 API break at interfaces for SerializableTreeMap/DualKeyMap * Renamed SerializableMapId to SerializableMapKey * Renamed SerializableMapDualId to SerializableMapDualKey * Renamed functions to get Keys for SerializableMapKey and SerializableMapDualKey to avoid conflics with implementator's use of id() and primary/secundary_id () functions/properties. gxml/Makefile.am | 4 ++-- gxml/SerializableGeeDualKeyMap.vala | 6 +++--- gxml/SerializableGeeTreeMap.vala | 4 ++-- gxml/SerializableMapDualId.vala | 27 --------------------------- gxml/SerializableMapDualKey.vala | 27 +++++++++++++++++++++++++++ gxml/SerializableMapId.vala | 27 --------------------------- gxml/SerializableMapKey.vala | 27 +++++++++++++++++++++++++++ test/SerializableGeeCollectionsTest.vala | 20 ++++++++++---------- test/SerializableGeeDualKeyMapTest.vala | 6 +++--- test/SerializableGeeTreeMapTest.vala | 4 ++-- 10 files changed, 76 insertions(+), 76 deletions(-) commit 479a73942627fe0c889c28afa97d8120afafb4ef Author: Daniel Espinosa Date: Thu Nov 28 10:33:39 2013 -0600 Fixed Serializable Gee Collection with multiple type nodes * SerializableObjectModel fixed warnning message and just show when DEBUG is defined gxml/SerializableGeeArrayList.vala | 9 ++++++--- gxml/SerializableGeeDualKeyMap.vala | 9 ++++++--- gxml/SerializableGeeTreeMap.vala | 9 ++++++--- gxml/SerializableObjectModel.vala | 4 ++-- test/SerializableGeeDualKeyMapTest.vala | 2 +- 5 files changed, 21 insertions(+), 12 deletions(-) commit 3ade1e8db6711e89a81a7c29bb7e011735940e70 Author: Richard Schwarting Date: Wed Nov 27 12:38:59 2013 -0500 Serialization.vala: stop pretending that the only nodes deserialize_object might get are Documents, but handle getting either a Document or an Element node. serialize_object () needs to return a Document, as if it tried to just return a an object from one, its owner document would cease to be in scope and its memory would be freed. However, because a serialization document might contain multiple objects in a hierarchy (like with a collection), anyone implementing Serializable who wants to override how a collection deserializes its members would need to be able to call deserialize_object () on individual nodes (representing the members) and wouldn't have a Document for each one (since they're all in the collection's document) gxml/Serialization.vala | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit 28958eafcaf667001fbfba38be7e72ddbf6bdb19 Author: Richard Schwarting Date: Wed Nov 27 12:35:48 2013 -0500 Serializable.vala: whoops, haven't included esodan's blacklist yet gxml/Serializable.vala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit ed206655ffe2cf8f1688f41a82613ab40ce50d61 Author: Daniel Espinosa Date: Wed Nov 27 10:48:49 2013 -0600 Fixes to detect node name deserialize. * Now properties with cannonical names, chacaracters '-' are removed to find nodes names to serialize. * SerializableGeeArrayList and DualKeyMap now throws GLib.Error on non Serializable objects types * SerializableGeeArrayList, DualKeyMap and TreeMap just deserialize GXml.Element * Added new test case for convined Gee Collections gxml/Serializable.vala | 9 ++ gxml/SerializableGeeArrayList.vala | 12 +- gxml/SerializableGeeDualKeyMap.vala | 14 +- gxml/SerializableGeeTreeMap.vala | 11 +- gxml/SerializableObjectModel.vala | 14 +- test/GXmlTest.vala | 1 + test/Makefile.am | 1 + test/SerializableGeeCollectionsTest.vala | 263 +++++++++++++++++++++++++++++++ 8 files changed, 311 insertions(+), 14 deletions(-) commit afa3a8616b53788a403f78480598b97295d862ac Author: Richard Schwarting Date: Mon Nov 18 11:39:18 2013 -0500 Serializable.vala: wrap deserialize_property's signature gxml/Serializable.vala | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 6076e8fa6053701e9b859844c6a5ef89b443a178 Author: Richard Schwarting Date: Mon Nov 18 11:38:37 2013 -0500 Serializable.vala: move serialize_property higher up in the source file, wrap its signature gxml/Serializable.vala | 58 ++++++++++++++++++++++++++------------------------ 1 file changed, 30 insertions(+), 28 deletions(-) commit c596b3ca95b567ced85e1bad3a7c4c4552295b62 Author: Richard Schwarting Date: Mon Nov 18 11:36:22 2013 -0500 Serializable.vala: add a serialize () and a deserialize () interface method, in case there are object-level serialization tasks that aren't contained to individual properties. gxml/Serializable.vala | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) commit 4abc8e36683feaaaac0811475185c35d75dd9555 Author: Richard Schwarting Date: Mon Nov 18 11:28:25 2013 -0500 Node.vala: improve documentation, note behaviour when working with nodes from other documents gxml/Node.vala | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) commit c8b96a3990d4b581c50780d51f4be85996bba397 Author: Richard Schwarting Date: Mon Nov 18 11:27:34 2013 -0500 Document.vala: document copy_node () gxml/Document.vala | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit 072563e0ccf2307914791c4cebe66220dbee85fc Author: Richard Schwarting Date: Mon Nov 18 11:27:17 2013 -0500 BackedNode.vala: cosmetic; wrap long conditional gxml/BackedNode.vala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8843bc5995fae332caf8ea4f927bb606c46ebe15 Merge: 8bfae8a d2a5ab9 Author: Richard Schwarting Date: Sat Nov 16 15:34:46 2013 -0500 Attr.vala: fix a merge conflict commit 8bfae8a900c0cb80c7aaa97acbe641f98a733b49 Author: Richard Schwarting Date: Sat Nov 16 15:13:56 2013 -0500 Element.vala: add some whitespace between functions gxml/Element.vala | 1 + 1 file changed, 1 insertion(+) commit 7b8abd852cc56dc7f109666b8b9e1ab6396d91f2 Author: Daniel Espinosa Date: Thu Nov 14 10:41:16 2013 -0600 Serializable Gee.TreeMap added more Test cases * SerializableTreeMap now rize an error on unsupported type on deserialize * Added a test case (and example) on how to implement a class with a SerializableTreeMap property gxml/SerializableGeeTreeMap.vala | 6 +- test/SerializableGeeTreeMapTest.vala | 129 ++++++++++++++++++++++++++++++++--- 2 files changed, 123 insertions(+), 12 deletions(-) commit 1e9fa24e7f03e8cc0b25de5774ece095d6fe1f43 Author: Daniel Espinosa Date: Wed Nov 13 18:54:33 2013 -0600 Added Serializable Gee.ArrayList and Unit Tests gxml/Makefile.am | 1 + gxml/SerializableGeeArrayList.vala | 137 +++++++++++++++++++++++++++++++++ test/GXmlTest.vala | 1 + test/Makefile.am | 1 + test/SerializableGeeArrayListTest.vala | 115 +++++++++++++++++++++++++++ 5 files changed, 255 insertions(+) commit e25c4831733fa8d28c0f2b540f4536fe77801311 Author: Daniel Espinosa Date: Wed Nov 13 17:19:39 2013 -0600 Added collection DualKeyMap and Unit Tests gxml/Makefile.am | 2 + gxml/SerializableGeeDualKeyMap.vala | 222 ++++++++++++++++++++++++++++++++ gxml/SerializableMapDualId.vala | 27 ++++ test/GXmlTest.vala | 1 + test/Makefile.am | 1 + test/SerializableGeeDualKeyMapTest.vala | 210 ++++++++++++++++++++++++++++++ 6 files changed, 463 insertions(+) commit 0e3749b7681c3f8033fa5e2f0cfcaa318245bb9e Author: Daniel Espinosa Date: Tue Nov 12 12:33:04 2013 -0600 Added Gee.TreeMap implementing Serializable gxml/Makefile.am | 2 + gxml/SerializableGeeTreeMap.vala | 136 +++++++++++++++++++++++++++++++++++ gxml/SerializableMapId.vala | 27 +++++++ gxml/SerializableObjectModel.vala | 12 ++-- test/GXmlTest.vala | 1 + test/Makefile.am | 1 + test/SerializableGeeTreeMapTest.vala | 129 +++++++++++++++++++++++++++++++++ 7 files changed, 302 insertions(+), 6 deletions(-) commit f3f9ef7c3d8ac6684bb1750addefaa4598c9a28b Author: Daniel Espinosa Date: Tue Nov 12 09:26:52 2013 -0600 Format: replace tabs with spaces at Serializable's gxml/Serializable.vala | 1012 ++++++++--------- gxml/SerializableJson.vala | 378 +++---- gxml/SerializableObjectModel.vala | 547 +++++---- test/SerializableObjectModelTest.vala | 1980 ++++++++++++++++----------------- 4 files changed, 1956 insertions(+), 1961 deletions(-) commit 67c82680a8839365f63469c2181f47b10acba62a Author: Daniel Espinosa Date: Tue Nov 12 09:21:33 2013 -0600 Serializable API change for node's name and use_nick * Renamed serializable_node_name to just node_name () * Renamed and convert as function serializable_property_user_nick to property_use_nick * Updated SerializableJson, SerializableObjectModel and Unit tests gxml/Serializable.vala | 26 ++++++++++---------------- gxml/SerializableJson.vala | 8 ++++---- gxml/SerializableObjectModel.vala | 23 +++++++++++------------ test/SerializableObjectModelTest.vala | 22 +++++++--------------- 4 files changed, 32 insertions(+), 47 deletions(-) commit d2a5ab9ed2d9102a1cdee36c43d7337ef134903b Author: Richard Schwarting Date: Fri Nov 8 14:59:49 2013 -0500 test/XPathExressionTest.vala: use get_named_item () instead of [] to access attrs test/XPathExpressionTest.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ff9df581d879b58ff868cf33499085279a3742ed Author: Daniel Espinosa Date: Thu Nov 7 17:57:53 2013 -0600 Added Unit Test for deserialize Enumeration * Fixed use of camelcase representation of a enum property in a GXml.Attr * Fixed: no serialize enumeration with invalid value * Fixed: no deseralize enumeration with invalid GXml.Attr value * Changed SerializableEnumError to EnumerationError and INVALID_NAME to to INVALID_TEXT gxml/Enumeration.vala | 13 +++--- gxml/SerializableObjectModel.vala | 12 ++++-- test/SerializableObjectModelTest.vala | 75 +++++++++++++++++++++++++++++++++++ 3 files changed, 92 insertions(+), 8 deletions(-) commit d976efc34e485bc709711e5a0accc46084505e84 Author: Daniel Espinosa Date: Thu Nov 7 16:47:42 2013 -0600 Added Unit Test for serialize Enumeration gxml/SerializableObjectModel.vala | 60 +++++++++++++++++++++++------------ test/SerializableObjectModelTest.vala | 42 ++++++++++++++++++++++-- 2 files changed, 80 insertions(+), 22 deletions(-) commit 6abcfbb98ed53ada56616181f92b820fff4b685d Author: Daniel Espinosa Date: Thu Nov 7 16:15:18 2013 -0600 Added convenient Enumeration class manipulate Enum types * Added tests cases for Enumeration class gxml/Enumeration.vala | 143 ++++++++++++++++++++++++++++++++++ gxml/Makefile.am | 1 + po/POTFILES | 0 test/SerializableObjectModelTest.vala | 71 ++++++++++++++++- 4 files changed, 214 insertions(+), 1 deletion(-) commit ef2ada631ea576e67ee157f1878d15684091c916 Author: Daniel Espinosa Date: Wed Nov 6 22:59:19 2013 -0600 Serializable API change for serializable_node_name * Now serializable_node_name is a method to be overrided * SerializableObjectModel declares it as virtual to allow overrides in derived classes * SerializableObjectModel print message for problems with serializable_node_name value * Updated tests cases gxml/Serializable.vala | 2 +- gxml/SerializableJson.vala | 2 +- gxml/SerializableObjectModel.vala | 29 +++++++++++++++++++++++------ test/SerializableObjectModelTest.vala | 11 +++++++---- 4 files changed, 32 insertions(+), 12 deletions(-) commit c1f7db13c3f2bf7053e0d1c0b24f963445debab2 Author: Daniel Espinosa Date: Wed Nov 6 18:42:12 2013 -0600 Added check for serializable node name is null. gxml/SerializableObjectModel.vala | 2 ++ 1 file changed, 2 insertions(+) commit 0993e7d30e975eb94a5547ae3ca63b2b75becd34 Author: Daniel Espinosa Date: Mon Nov 4 13:11:12 2013 -0600 Fixed no serialize null Serializable. Set version to 0.4.0 configure.ac | 4 ++-- gxml/SerializableObjectModel.vala | 3 ++- test/SerializableObjectModelTest.vala | 9 +++++++++ 3 files changed, 13 insertions(+), 3 deletions(-) commit 6c98193214e9459a5ded09c4e724cd724c059547 Author: Daniel Espinosa Date: Fri Nov 1 13:48:40 2013 -0600 Added Node.copy(). More Unit Tests. * Added Node copy method, Element and Attr implementations too. * Fixed unknown attributes de/serialize () for SerializableObjectModel * All unknown properties are serialized back again to original file, to avoid data lost on de/serialize operation * Fixed issue with Element content text, using Text node representation * Added unit test for unknown properties de/serialize * Added unit test to avoid serialize properties set to null gxml/Attr.vala | 16 +++++ gxml/Element.vala | 29 ++++++++ gxml/Node.vala | 10 +++ gxml/SerializableObjectModel.vala | 51 +++++++------- test/SerializableObjectModelTest.vala | 121 ++++++++++++++++++++++++++++++---- 5 files changed, 193 insertions(+), 34 deletions(-) commit 2c08a5ee90b54472a9f527c28ce9de5e692c7a13 Author: Daniel Espinosa Date: Thu Oct 31 19:00:51 2013 -0600 Added documentation to Serializable.unknown_serializable_property * Added test case for unknown property saved to Serializable.unknown_serializable_property gxml/Serializable.vala | 4 ++- test/SerializableObjectModelTest.vala | 53 +++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 1 deletion(-) commit 234aef6a98689eda38d385baf8b0d024d9e29c54 Author: Daniel Espinosa Date: Thu Oct 31 18:21:51 2013 -0600 Fixed bug when using custome node name * Added test case for custome node name * Added test case when overriding deserialize * Added documentation to Serializable.ignored_serializable_properties gxml/Serializable.vala | 11 +++++- gxml/SerializableObjectModel.vala | 2 +- test/SerializableObjectModelTest.vala | 65 +++++++++++++++++++++++++++++++++-- 3 files changed, 73 insertions(+), 5 deletions(-) commit ca50740c08a61177908d4799929a9c0db83987eb Author: Daniel Espinosa Date: Thu Oct 31 10:32:20 2013 -0600 SerializableObjectModel.(de)serialize can be overrided. Added Node.add_namespace_attr() * Added test case to override serialize, by adding default implementations to be called by overriders * Added default implementations for (de)serialize(_property) * Added new Node.add_namespace_attr and BackedNode implementation gxml/BackedNode.vala | 12 ++++++++ gxml/NamespaceAttr.vala | 10 +++---- gxml/Node.vala | 7 +++++ gxml/SerializableObjectModel.vala | 29 +++++++++++++++--- test/ElementTest.vala | 2 +- test/SerializableObjectModelTest.vala | 55 +++++++++++++++++++++++++++++++++++ 6 files changed, 105 insertions(+), 10 deletions(-) commit a600dc7ebbb37221c363242f195a4bf462c579a9 Author: Daniel Espinosa Date: Tue Oct 29 17:58:12 2013 -0600 Added Unit Test for override Serializable.transformable_from_string * Added example to serialize a Gee collection * Fixed some compilation warnnings gxml/SerializableObjectModel.vala | 12 +-- test/DocumentTest.vala | 7 +- test/SerializableObjectModelTest.vala | 153 ++++++++++++++++++++++++---------- 3 files changed, 118 insertions(+), 54 deletions(-) commit 962bb342947141fe442871e60ea777ca5d1129ef Author: Daniel Espinosa Date: Mon Oct 28 23:08:46 2013 -0600 Added unit test for override Serializable.transform_to_string() test/SerializableObjectModelTest.vala | 46 +++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) commit aad75ccf0f0b43533ea71da2ec496741c1cd9c43 Author: Daniel Espinosa Date: Mon Oct 28 19:04:25 2013 -0600 Added new Serializable.transform_(to/from)_string * Implemented on SerializableJson/ObjectModel returning false and as virtual to allow overriding gxml/Serializable.vala | 95 +++++++++++++++++++++++++++++++-------- gxml/SerializableJson.vala | 16 ++++++- gxml/SerializableObjectModel.vala | 72 +++++++++++++++++------------ 3 files changed, 136 insertions(+), 47 deletions(-) commit 47b1d68995b303731c6a75789aaa3bac0a3a15a3 Author: Daniel Espinosa Date: Mon Oct 28 16:52:07 2013 -0600 SerializableObjectModel: fixed use_nick property. * SerializableObjectModel.serializable_property_use_nick = false by default * Fixed when property use nick as GXml.Element property name * Added test case for property using nick gxml/SerializableObjectModel.vala | 10 ++++- test/SerializableObjectModelTest.vala | 85 ++++++++++++++++++++++++++++++----- test/SerializationTest.vala | 2 +- 3 files changed, 84 insertions(+), 13 deletions(-) commit c9afb40146228ee761361b4b7da2cd1496b42606 Author: Daniel Espinosa Date: Thu Oct 24 08:10:12 2013 -0500 Fixing merging 'master' and 'serializable' branches. * All Unit tests pass * Resolved conflicts between GLib.Error and GXml.Error * Added to CLEANFILES all generated .c files gxml/Makefile.am | 8 +++++++- gxml/Serializable.vala | 8 ++++---- gxml/SerializableJson.vala | 8 ++++---- gxml/SerializableObjectModel.vala | 8 ++++---- gxml/Serialization.vala | 10 +++++----- test/Makefile.am | 2 +- test/SerializableObjectModelTest.vala | 22 +++++++++++----------- test/SerializableTest.vala | 4 ++-- test/SerializationTest.vala | 19 +++++++++++-------- 9 files changed, 49 insertions(+), 40 deletions(-) commit db53456376d84d63af379e6de83bcd9b5b5118a4 Author: Daniel Espinosa Date: Wed Oct 23 21:51:32 2013 -0500 Merged 'master' and 'serialization' branches README | 33 ++++ gxml/Attr.vala | 32 ++-- gxml/BackedNode.vala | 1 + gxml/CDATASection.vala | 3 +- gxml/CharacterData.vala | 18 +- gxml/Comment.vala | 3 +- gxml/Document.vala | 413 ++++++++++++++++++++++++++++++++++----------- gxml/DocumentFragment.vala | 2 +- gxml/DocumentType.vala | 8 +- gxml/DomException.vala | 13 +- gxml/Element.vala | 74 +++++--- gxml/Entity.vala | 6 +- gxml/Error.vala | 12 ++ gxml/Implementation.vala | 22 +-- gxml/Makefile.am | 1 + gxml/Node.vala | 143 +++++++++------- gxml/NodeList.vala | 21 +-- gxml/Notation.vala | 4 +- gxml/Serializable.vala | 4 +- gxml/Text.vala | 4 +- test/DocumentTest.vala | 148 +++++++++++++--- test/GXmlTest.vala | 8 +- vapi/glib-2.0.vapi | 116 ++++++------- vapi/libxml-2.0.vapi | 44 ++++- 24 files changed, 798 insertions(+), 335 deletions(-) commit 997399722ddfadcb16f65cb440040ed305ba89b6 Author: Daniel Espinosa Date: Wed Oct 23 20:31:49 2013 -0500 Serializable honors properties nick. SerializableObjectModel Unit Tests added. gxml/Serializable.vala | 3 + gxml/SerializableObjectModel.vala | 22 +- test/GXmlTest.vala | 1 + test/Makefile.am | 1 + test/SerializableObjectModelTest.vala | 459 ++++++++++++++++++++++++++++++++++ 5 files changed, 475 insertions(+), 11 deletions(-) commit 8c29aff9726d6ff6244b2167547f57615d36cffc Author: Richard Schwarting Date: Wed Oct 23 03:00:42 2013 -0400 test/SerializableTest.vala,SerializationTest.vala: update test expectations because GXmlSerialization now returns Documents, not just Nodes (since our change in the memory model) test/SerializableTest.vala | 2 +- test/SerializationTest.vala | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) commit dfe593ff456df76cc4f40b566f770c6522acee9d Author: Richard Schwarting Date: Wed Oct 23 02:59:01 2013 -0400 NamedNodeMap.vala: change GXmlNamedAttrMap so that we can preserve and return old Attrs as we should according to W3C DOM gxml/NamedNodeMap.vala | 79 ++++++++++++++++++++++++++++++-------------------- 1 file changed, 48 insertions(+), 31 deletions(-) commit cb5df4cb88497caf609d3ea7537f20b0f3c767aa Author: Richard Schwarting Date: Wed Oct 23 02:58:06 2013 -0400 Document.vala, gxml/Makefile.am: clean up some whitespace and remove some comments gxml/Document.vala | 2 +- gxml/Makefile.am | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-) commit 23bf4845761df5887f9932f4b6cca03e7d8a87e0 Author: Richard Schwarting Date: Wed Oct 23 02:56:35 2013 -0400 BackedNode.vala: add internal function set_xmlnode, mostly so we can replace the xmlNode a GXmlNode points to in the case of GXmlAttrs when we're manipualting them through our GXmlNamedAttrMap (which is how Elements handle them, through that) gxml/BackedNode.vala | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit e3efe3676b4c2df517212cfac413ed2a853224a5 Author: Richard Schwarting Date: Wed Oct 23 02:55:32 2013 -0400 Attr.vala: parent_node, previous_sibling, and next_sibling are supposed to be NULL for Attr according to W3C gxml/Attr.vala | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) commit cafca6ccce60e9807431e6a88b13cca14b0191bc Author: Richard Schwarting Date: Wed Oct 23 02:54:36 2013 -0400 DESIGN: add section on how to handle Xml.Attr <> GXml.Attr DESIGN | 40 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 37 insertions(+), 3 deletions(-) commit 2ad95c717b2bc0fb33eeb4fef655ea86be30a8a6 Author: Richard Schwarting Date: Tue Oct 22 02:52:51 2013 -0400 DocumentTest.vala, ElementTest.vala: make changes to account for the switch from a GLib.HashTable attributes to a GXml.NamedNodeMap; we should consider supporting GLibHashTable methods for backwards compatibility though (lookup, size, etc) test/DocumentTest.vala | 6 +++--- test/ElementTest.vala | 21 +++++++++++---------- 2 files changed, 14 insertions(+), 13 deletions(-) commit a3c1d571d9a0cb77c454db5c6d13bb6d07150598 Author: Richard Schwarting Date: Tue Oct 22 02:52:07 2013 -0400 DocumentTest.vala, ElementTest.vala: make changes to account for the switch from a GLib.HashTable attributes to a GXml.NamedNodeMap; we should consider supporting GLibHashTable methods for backwards compatibility though (lookup, size, etc) gxml/XPathExpression.vala | 1 - 1 file changed, 1 deletion(-) commit 715b51dfa71c56dfb181c05916fb32674cbda0ec Author: Richard Schwarting Date: Tue Oct 22 02:50:23 2013 -0400 Document.vala: remove the need to sync elements! yay! gxml/Document.vala | 34 ---------------------------------- 1 file changed, 34 deletions(-) commit 164b03ffe7ca26dd5b0f0d3931dcad478dd70cd3 Author: Richard Schwarting Date: Tue Oct 22 02:49:36 2013 -0400 NodeList.vala: deprecated AttrNodeList; we'll use the more generic one for xmlNodes gxml/NodeList.vala | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit a79a5e8b9ff5a546090a648f55084aadd6c7c2f4 Author: Richard Schwarting Date: Tue Oct 22 02:48:36 2013 -0400 Makefile.am: add NamedNodeMap.vala gxml/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 4f1c0861d0535905d591b24457a39858e41ffdd9 Author: Richard Schwarting Date: Tue Oct 22 02:48:06 2013 -0400 BackedNode.vala: remove HashTable attributes definition (use GXml.Node's default implementation anyway); don't need to sync elements now gxml/BackedNode.vala | 11 ----------- 1 file changed, 11 deletions(-) commit a3ef7104ac5cebedb3548bd5b08087f19dfb4955 Author: Richard Schwarting Date: Tue Oct 22 02:47:20 2013 -0400 Element.vala: switch from GLib.HashTable for attributes to GXml.NamedAttrMap; greatly simplify Attr handling within Element by bumping a lot to GXml.NamedAttrMap, and by removing the need to sync between GLib.HashTable and libxml2 gxml/Element.vala | 161 ++++++------------------------------------------------ 1 file changed, 17 insertions(+), 144 deletions(-) commit cd266058e316db322862b56522f814da11ad83d8 Author: Richard Schwarting Date: Tue Oct 22 02:44:22 2013 -0400 Node.vala: changed attributes from a GLib.HashTable to a GXml.NamedAttrMap gxml/Node.vala | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) commit a09942f908f426db133c588c7f20b475eb9b5ca8 Author: Richard Schwarting Date: Tue Oct 22 02:43:25 2013 -0400 NamedNodeMap.vala: add NamedMap interface and the NamedAttrMap implementation; may change NamedMap to NamedNodeMap yet; this will replace the GLib.HashTable usage for GXml.Node.attributes, and will allow us to rip out all the GXml<>libxml2 syncing code that occurs, since our NamedAttrMap will update the underlying libxml2 structures immediately when changes occur gxml/NamedNodeMap.vala | 130 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 130 insertions(+) commit 82e3b40740369eb8fc6f0869b94b66cee64407a8 Author: Richard Schwarting Date: Tue Oct 22 02:41:15 2013 -0400 Document.vala: add the ability to lookup attributes, since we'll map xmlAttr to GXmlAttr for caching in our Document now gxml/Document.vala | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) commit e78f339b77574ab495e4e18de7154b9a01f16808 Author: Richard Schwarting Date: Tue Oct 22 02:39:31 2013 -0400 Attr.vala: make Attr extend from BackedNode; treat its internal xmlAttr as an xmlNode; removes a lot of code gxml/Attr.vala | 119 +++++++++------------------------------------------------ 1 file changed, 18 insertions(+), 101 deletions(-) commit 522f568a8407f8f3f3afada940d2de5ac97b485b Author: Richard Schwarting Date: Tue Oct 22 02:37:56 2013 -0400 BackedNode.vala: clean up a little gxml/BackedNode.vala | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 3cf7e60f4ff11c4534fafce6870cbe2452c5a081 Author: Daniel Espinosa Date: Thu Oct 17 16:39:22 2013 -0500 All tests PASS for SerializableJson. Serialization API changes * Serializable has gained a protected properties property to be used by derived classes to save on demand lists of serializable properties * Serializable provides both abstract and virtual methods. Virtual methods have a default implementation to be used by implementators allowing to override on derived classes of implementators * Serializable implementators must implement abstract methods but if they want to derived classes to override them, they must be declared as virtual * SerializableJson has been ported to Serializable. Implements most mothods and reuse most of them with default implementation and declared as virtual in order to allow to be overriden on derived classes. * All Unit Tests for SerializableJson has been ported to Serializable and new SerializableJson and finish with PASS state. * SerializableObjectModel has been ported to Serializable. No tests yet. gxml/Serializable.vala | 73 ++++++++++++---------- gxml/SerializableJson.vala | 109 ++++++++++++++++++++------------- gxml/SerializableObjectModel.vala | 32 +++++++++- gxml/Serialization.vala | 36 +++++++---- test/SerializableTest.vala | 123 ++++++++++++++++---------------------- test/SerializationTest.vala | 65 +++++++++++--------- 6 files changed, 250 insertions(+), 188 deletions(-) commit b843164dee9eebc1805279ebfbc94d78972192d3 Author: Richard Schwarting Date: Tue Oct 15 20:59:44 2013 -0400 DESIGN: design document (used for newattr branch right now) DESIGN | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ gxml/Attr.vala | 8 +++---- gxml/NodeList.vala | 11 +++++---- 3 files changed, 77 insertions(+), 10 deletions(-) commit 8c268a9fb0e03a7a4d60f772a9ccb66a8379d59d Author: Richard Schwarting Date: Tue Oct 15 11:52:07 2013 -0400 test/*.xml: add a couple more test files; test_invalid.xml should have been there a while ago, but I suppose the tests would fail correctly either way :) test/test_invalid.xml | 4 ++++ test/test_with_ns.xml | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) commit 1f2ef3bf2fef33cda4443777f75d7e7f6ff1d69b Author: Richard Schwarting Date: Tue Oct 15 11:51:01 2013 -0400 XPathExpressionTest.vala: specify which type of Node, original used DomNode but GXml now just calls it Node test/XPathExpressionTest.vala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 2f4fe1ea6b2678c9bf3abf3b2d5dc5b578f5450c Author: Richard Schwarting Date: Tue Oct 15 11:50:31 2013 -0400 XPath: xml_error_msg -> GXml.get_last_error_msg; DomError -> GXml.Error; temporary, will decide on how to handle errors soon. gxml/Error.vala | 5 +++-- gxml/Node.vala | 4 ++-- gxml/XPathExpression.vala | 12 ++++++------ 3 files changed, 11 insertions(+), 10 deletions(-) commit 05268dc54236b57f4978be3b48186eaf28fc514d Author: Adam Ples Date: Mon Oct 14 05:44:01 2013 -0400 libxml-2.0.vapi: wrap some XPath functions vapi/libxml-2.0.vapi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit 28a689eb595d249c81dd31c021ab57c2939eddcb Author: Adam Ples Date: Mon Oct 14 05:41:21 2013 -0400 test/: add tests for XPath test/GXmlTest.vala | 12 +- test/Makefile.am | 5 + test/XPathExpressionTest.vala | 353 ++++++++++++++++++++++++++++++++++++++++++ test/XPathNSResolverTest.vala | 22 +++ test/XPathResultTest.vala | 153 ++++++++++++++++++ 5 files changed, 543 insertions(+), 2 deletions(-) commit 90bc0b1319693798f6a0ede8a7d1ba3b6a304494 Author: Adam Ples Date: Mon Oct 14 05:29:09 2013 -0400 gxml/: add initial XPath files, Error, Expression, NSResolver, and Result gxml/XPathError.vala | 43 ++++++++++ gxml/XPathExpression.vala | 118 ++++++++++++++++++++++++++ gxml/XPathNSResolver.vala | 64 ++++++++++++++ gxml/XPathResult.vala | 208 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 433 insertions(+) commit a71aef2d18fb4ed31a245c1e76b39d85c9627172 Author: Adam Ples Date: Mon Oct 14 05:24:50 2013 -0400 gxml/Makefile.am: add XPath files to be built gxml/Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) commit a5fee913124fb107e87dd51b82fe855c7283ea5a Author: Adam Ples Date: Mon Oct 14 05:24:28 2013 -0400 Error.vala: add get_last_error_msg convenience function NamespaceAttr.vala: make Ns accessible internally, for XPath Node.vala: add evaluate function for XPath gxml/Error.vala | 14 ++++++++++++++ gxml/NamespaceAttr.vala | 2 +- gxml/Node.vala | 22 ++++++++++++++++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) commit 3cc339f400c56d1d32b2e90cc0dd37724590d727 Author: Richard Schwarting Date: Mon Oct 14 05:43:27 2013 -0400 test/valgrind/libxml2.supp: play with the .supp test/valgrind/libxml2.supp | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) commit ddf03a4507c3eb71bcd2ea2b0a3d7ce8bb11d53a Author: Richard Schwarting Date: Mon Oct 14 05:43:12 2013 -0400 Attr.vala: del a comment gxml/Attr.vala | 3 --- 1 file changed, 3 deletions(-) commit 7d0fc9a3b5e7ed50bafbbe7fa42b853378ed4a84 Author: Richard Schwarting Date: Mon Oct 14 05:07:46 2013 -0400 libxml-2.0.vapi: add Xml.Error.get_last_error (xmlGetLastError) vapi/libxml-2.0.vapi | 4 ++++ 1 file changed, 4 insertions(+) commit d73e3487b2ef52745557f8e71889bab5adb3e764 Author: Richard Schwarting Date: Mon Oct 14 05:07:12 2013 -0400 NodeList.vala: touch a comment gxml/NodeList.vala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit c3b7d343c410f7e185264cb0c0bcf599d684f12e Author: Richard Schwarting Date: Mon Oct 14 05:06:42 2013 -0400 Document.vala: use error messages from libxml2 gxml/Document.vala | 87 +++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 60 insertions(+), 27 deletions(-) commit 497909947b910b2a79f5c7da93e661c537b4a8d8 Author: Richard Schwarting Date: Mon Oct 14 04:38:18 2013 -0400 GXmlTest.vala: add an error check for our boilerplate get_doc, print our test_error message to stderr (Test.message doesn't seem to?) test/GXmlTest.vala | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit f46ca9e2eb81e634dc863610a8b66a6b53ef0f6b Author: Richard Schwarting Date: Mon Oct 14 04:37:29 2013 -0400 DomException: add X_OTHER for a generic error code that's not part of the DOM spec gxml/DomException.vala | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit bf0986bdec417a1fbd48881dacd7f67c1d4c5df3 Author: Richard Schwarting Date: Mon Oct 14 04:36:41 2013 -0400 DocumentTest.vala: test error handling for doc save and load test/DocumentTest.vala | 148 ++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 128 insertions(+), 20 deletions(-) commit a094ff7a577d589d8d826cf566c651b9b5f7d210 Author: Richard Schwarting Date: Mon Oct 14 04:35:33 2013 -0400 Document.vala: add more error reporting gxml/Document.vala | 43 ++++++++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 19 deletions(-) commit 27d6c057a21df226c06f6eebdf5ea6081dfab204 Author: Richard Schwarting Date: Mon Oct 14 03:14:01 2013 -0400 gxml/*.vala: remove unnecessary periods gxml/Implementation.vala | 14 +++++++------- gxml/Node.vala | 4 ++-- gxml/NodeList.vala | 10 +++++----- gxml/Serializable.vala | 12 ++++++------ 4 files changed, 20 insertions(+), 20 deletions(-) commit 56069a19398b42c64a28830013f8454f2e79249a Author: Richard Schwarting Date: Mon Oct 14 03:11:31 2013 -0400 Error.vala: add WRITER errorcode gxml/Error.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b804ea0c9e0ecce0451cbf4d8e3d1125ec23b80e Author: Richard Schwarting Date: Mon Oct 14 03:11:09 2013 -0400 Element.vala: improve documentation by removing unnecessary periods, and inheriting more docs gxml/Element.vala | 36 ++++++++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 10 deletions(-) commit cfbcdb4de7871827739da1a485aab7ed34842bf5 Author: Richard Schwarting Date: Mon Oct 14 03:09:04 2013 -0400 Document.vala: improve documentation significantly, describe parametres, link more types, and indicate memory management on return types gxml/Document.vala | 243 ++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 192 insertions(+), 51 deletions(-) commit b94ae2d4871d1aea890fe774f01dad13a3e5baf9 Author: Richard Schwarting Date: Mon Oct 14 03:06:33 2013 -0400 gxml/*.vala: fix examples in comments regarding line breaking gxml/CDATASection.vala | 3 +-- gxml/Comment.vala | 3 +-- gxml/DocumentType.vala | 8 +++----- gxml/Element.vala | 16 +++++++++------- 4 files changed, 14 insertions(+), 16 deletions(-) commit 3370288f4a0c636baea3866df94a8cac881f1fe7 Author: Richard Schwarting Date: Mon Oct 14 02:56:10 2013 -0400 gxml/*.vala: add a linebreak between Version and URL; sadly only works in Valadoc HTML, not gtkdoc devhelp gxml/Attr.vala | 8 ++++---- gxml/CharacterData.vala | 16 ++++++++-------- gxml/Document.vala | 34 +++++++++++++++++----------------- gxml/DocumentFragment.vala | 2 +- gxml/DomException.vala | 4 ++-- gxml/Element.vala | 20 ++++++++++---------- gxml/Implementation.vala | 6 +++--- gxml/Node.vala | 42 +++++++++++++++++++++--------------------- gxml/NodeList.vala | 6 +++--- gxml/Text.vala | 4 ++-- 10 files changed, 71 insertions(+), 71 deletions(-) commit e9bfab4f69444a5b2119a3968e0ca640fd00fe4b Author: Richard Schwarting Date: Mon Oct 14 02:49:48 2013 -0400 README: add guidance for documentation README | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit fe761d0a47599f104ce590ee64714e1fc0a8b1cb Author: Richard Schwarting Date: Mon Oct 14 02:48:40 2013 -0400 Document.vala: add error handling to IO operations gxml/Document.vala | 63 +++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 46 insertions(+), 17 deletions(-) commit 355e9f67f912b64ca8cc5a36f539dc0bd908b549 Author: Daniel Espinosa Date: Fri Oct 11 13:05:44 2013 -0500 Fixed build. Squashed commit of the following: commit 8ff022ba1c3ee041aeae4a6efe3316b940747d49 Author: Daniel Espinosa Date: Tue Oct 8 16:15:06 2013 -0500 Moved Object Model Serialization to SerializableObjectModel commit 413cd1e63931196170eddc0a14731fe939659d92 Author: Daniel Espinosa Date: Tue Jul 30 16:14:43 2013 -0500 Fixes after 'soc2013' branch merge commit e0651b58ea64ea9357db80007e66d90647257200 Merge: 2a33ba7 69f18f1 Author: Daniel Espinosa Date: Tue Jul 30 15:05:38 2013 -0500 Merge branch 'gsoc2013' into serialization Conflicts: gxml/Node.vala gxml/NodeList.vala gxml/Serializable.vala gxml/Serialization.vala test/SerializableTest.vala commit 2a33ba7efc0dabecdf8b0444a99b7760f9f0e9c5 Author: Daniel Espinosa Date: Tue Jul 30 14:48:29 2013 -0500 Fixed deserialization get Element content commit 69f18f1980a970347d69e9b3a176524954dcf221 Author: Richard Schwarting Date: Sun Jul 28 01:30:12 2013 -0400 examples/c: fix some whitespace commit a2951fc791e2925978fef6a069fbd164b89ecba2 Author: Richard Schwarting Date: Sun Jul 28 01:30:12 2013 -0400 examples/c/document_factory.c: add print out of example nodes we create commit 0368f57388e8c9e382bdceaef0e6a4e442aea3a6 Author: Richard Schwarting Date: Sun Jul 28 01:30:12 2013 -0400 examples/js: rename several examples, add new ones commit d10d39a9fa5f62428ba37e03873fe3111cc16f0a Author: Richard Schwarting Date: Sun Jul 28 01:30:12 2013 -0400 Implementation.vala: extend from GObject commit 6c192647f1b9bf13fa0b537ff31bdb201cc788e3 Author: Richard Schwarting Date: Sun Jul 28 01:30:12 2013 -0400 document_create_minimal_2.c: incrementally expand the test of memory usage, mwahaha commit 7002159135ce6f2e4baf1a286ffdbd336841fa4f Author: Richard Schwarting Date: Sun Jul 28 01:30:12 2013 -0400 test/valgrind: add message.c to just test the allocations by g_message commit 35156771a8445bc0b4ecd977b366334676786383 Author: Richard Schwarting Date: Sun Jul 28 01:30:12 2013 -0400 test/valgrind/glib.supp: suppress g_log allocations commit 8e2f0819ead34e9fa3304b56ac73fa4a8c4f1cf2 Author: Richard Schwarting Date: Sun Jul 28 01:30:12 2013 -0400 TextTest.vala: INDEX_SIZE exceptions no longer result in null returns commit 481bcef345e8df6870fc76d96e47f6d7cd9a4a08 Author: Richard Schwarting Date: Sun Jul 28 01:30:12 2013 -0400 DocumentTest.vala: invalid characters no longer cause create_element to return null, so don't test for it commit faf06ccdb0690880acce58b4393fbc4e2bd89c18 Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 Document.vala: don't return null on create_element if invalid characters have been specified; print a g_warning and proceed instead (libxml2 accepts invalid characters anyway) commit 2295955d12448ba0b682630822170a5dd5f3c624 Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 CharacterData.vala: change behaviour when offset == length of string for bounds checking, since the end of a string is a fit place to insert things (but perhaps not remove :D) commit ef9124ef701320d746561a16eed7b1022aef8dce Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 Memory: Document.vala: node creation methods (e.g. create_element) now return unowned/weak references to the nodes they create; the Document alone owns them commit ac18ab2c896c87bbba755e51b36c149bc30e104b Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 Memory: Node.vala, BackedNode.vala, Element.vala, NodeList.vala, Attr.vala, Entity.vala, Document.vala: change ownership of return value to unowned for a bunch of methods (insert_before, append/remove/replace_child); references will be handled by the Document commit 74500fe0ef0e41bea2e838b608d8ec8608612c8b Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 Text.vala: address some compile time warnings; fail split more gracefully commit 175f49ee80f5325166bb59f7b35772ff4a802212 Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 Serialization.vala: address some compile-time warnings commit e29fae13ca81de3ff281057869e92cfc6fffe364 Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 test/vaglrind: add a couple new tests, fix the gtype.supp commit 2c7a6302f28c726dce1fee4a44548ce16ad956f7 Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 ProcessingInstruction.vala: docfix for an entity ref commit 2cf8640716c64d8fc5e74ee541f5dc9142fd591a Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 DocumentType.vala: docfix for an entity ref commit 51972d0dfa203f5e2b2e9208f52309e096d64eb3 Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 Document.vala: touch some comments commit 138e55515dc58658ef084d268d4141824ac7353e Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 CDATASection: docfix for an entity reference commit 77e88aec2ed6df42210353ccac69b947a318a0c2 Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 BackedNode.vala: add a TODO about memory usage commit bca62f6ca49f6454fed1e881eaf64e930c7af29e Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 examples/c: add document_factory.c, remove a comment from document_properties.c commit 489ea5de5c639c737394043a7920bec8b6bf4880 Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 examples/c: add Document properties example; rename examples commit 376e2da6c24c99a164dc831436deeb2dd80d0123 Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 tests/valgrind: correct some permissions commit e7ada06aec296f6e5543dc29b247ff388a9a77a5 Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 tests/valgrind: add memory testing files, like suppression files, and .c and .vala tests commit 42342ebd86322eedace4a847888ecf2369f6436f Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 examples/vala/example.vala: remove obsolete GError handling commit d446425cb88b796f309a965ce1d6ab034780eca1 Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 examples/js: refactor examples into their own files commit 2e71e81a62b20f0951804d3cadbfdde0362bebcf Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 examples/c: actually add .c files this time commit 0042e1d748e04bde69ed6a5adb0db4351bcd4e1c Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 examples/c/Makefile: update commit acabee7d409a7ba866ba55a7b244326153f5cdcb Author: Richard Schwarting Date: Sun Jul 28 01:30:10 2013 -0400 examples/c: refactor tests, remove GErrors, correct naming commit e4dc48ddefafc06e5b195a9cc95be39ce00a88bc Author: Richard Schwarting Date: Sun Jul 28 01:30:10 2013 -0400 Some documentation fixes commit 0c4810362363f8e0b9cb02e7189ed3031f8bee56 Author: Richard Schwarting Date: Sun Jul 28 01:30:10 2013 -0400 test/*.vala: change DomNode to GXml.Node commit b69d2a4b641036635ab8e9f4eac49ae8ea9b5b5e Author: Richard Schwarting Date: Sun Jul 28 01:30:10 2013 -0400 gxml/*.vala: Change all DomNode references to Node commit fafab2754ce79ef3e03704a58585eaa5f9b98818 Author: Richard Schwarting Date: Sun Jul 28 01:30:10 2013 -0400 Node.vala: Renamed DomNode to Node; this should break all the other files :D commit 6e2b4a87e1e89a52dafa4f3883f628a110af0430 Author: Richard Schwarting Date: Sun Jul 28 01:30:10 2013 -0400 Node.vala, Makefile.am: rename DomNode.vala to Node.vala for impending change commit d484ef0d1690ab7feca6dc39e26dd1b70edcdf1d Author: Richard Schwarting Date: Sat Jul 27 00:01:55 2013 -0400 DocumentTest.vala: first testing of warnings commit 38dafa3af26db5b7001695fa3ef5e53027cdaed9 Author: Richard Schwarting Date: Sat Jul 27 00:01:55 2013 -0400 GXmlTest.vala: change how our tests test for warnings commit e2a67bc4322b9a6eaaa6367a4305c8cb4aae281f Author: Richard Schwarting Date: Sat Jul 27 00:01:55 2013 -0400 Implementation.vala: factor out error checks into check_ functions commit 454507ecbebc2d9194c127cc5a31aa93d79e3cca Author: Richard Schwarting Date: Sat Jul 27 00:01:55 2013 -0400 CharacterData.vala, Element.vala, Document.vala, DomNode.vala, NodeList.vala: use new GXml.warning facility, so we can preserve the last error code commit f38da2f0985ed9592114fc9ef6d589ab28dda119 Author: Richard Schwarting Date: Sat Jul 27 00:01:55 2013 -0400 DomException.vala: add NAMESPACE error code commit 04027b595fff508885fc9f9760d45f281765b24a Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 DomException.vala: add facility to set the last DomException set; ooo, classic error codes commit d4a2c38df16f7dde9e5ecc2c12eec70b84d220b3 Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 Makefile.am: remove -Wall for now, since we can't do anything about most errors, due to vala :'( commit f2dcc043c729ba7976515e3b6334852d8b7c0bbb Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 DomException.vala: add a dummy DomError for the transitioning of the tests commit d472f9dcca1971ba2c980a48d9f42d2e5ef01524 Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 DomException.vala: change errordomain DomError -> enum DomException commit f4e861c02188b3575c92ee4a41de34117deb9b78 Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 GXmlTest.vala: override gtester handling of g_warnings; don't want to abort, but verify commit a0ee0fbd17e3216124d6ee2825f8ef1ed130a994 Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 Serialization.vala: DomError no longer thrown, so no need to catch it commit a8d71501ffba7e67c431dd6037084f68b54ba2cb Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 Makefile.am: DomError -> DomException commit eb3414791f8af1996ca05f6f61117ca089df79bf Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 DomException.vala: rename file to comply with spec, improve docs, whitespace commit f840d4543e0761612b0ce8629aa5fb4e41dcd156 Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 Document.vala: some small error handling changes; return on invalid chars for create_element commit f63fdeb3d912ba7b9f93bc1606846c16116836c9 Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 Tiny fixes. DomNode.vala: make check_wrong_document and check_read_only protected so only subclasses can see them Element.vala: fix remove_attribute_node ProcessingInstruction: properly get and set 'data' commit 841f354844e7097d738411cb74bd3f20b16fe506 Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 Text.vala: add more error checking from spec commit 03105730eb91aae9809fb68afa9e3349e51cbbae Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 Text.vala: update documentation, specifically adding refs to spec commit 5ed7290cca45ae6ee116c102b3e492622c44304f Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 ProcessingInstruction.vala: handle spec'd errors commit 2469c75a6bc296e82b0b8bc9e5f03b09531a897d Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 Element.vala: handle spec'd errors commit 9dc92434aa90a33ebc7ac5ed6e8f88ba8ddb80d7 Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 Document.vala, DomNode.vala: move check_wrong_document inot DomNode so other nodes (Element) can use it commit d2849156e166740162f30a5c6682c286a0019192 Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 Element.vala: update documentation, specifically references to spec commit f98463a2cc8acb5de2cb2d8d9bb177d51609ca67 Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 Attr.vala: update documentation, specifically references to spec commit 2ea11338a60474900b6a7bd751ea7b3744c2d4d0 Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 Document.vala, DomNode.vala: move check_read_only to DomNode, so all its descendents can call it commit 25e97099d8c0d20e8bd0e74583aacea28be7cfdb Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 Text.vala: make use of new check_index_size from parent class CharacterData commit 56d75a5800f4c8f4c4c99b25f750c95138ce7214 Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 CharacterData.vala: improve error handling, check more bounds, factor out bound checking commit 44be6d2463dbb2f232c6441e38d5a257adcbe324 Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 CharacterData.vala: update comments, particularly adding references to spec commit 39fff91947a3fce8eabc1175c71e0310e9e5d8b5 Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 NodeList.vala: improve documentation, particularly adding references to spec commit 9c3d5e4e7c0023b7a5f49547564ff535a2fe37a5 Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 DomNode.vala: remove some trailing whitespace commit 42197739fb57e8d17d52b1c1b0b5a0745b75b143 Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 Entity.vala: break API to fix typo: clone_node, not clone_nodes, part 2 commit 7e1645d8fe3dfc2e7dbf2abb15b6932693160649 Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 DomNode.vala: update documentation, particularly adding references to the spec commit eafb5b7ddb0920fe54e17531f7c064ca0afa780e Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 DomNode.vala, BackedNode.vala, Attr.vala: break API to fix typo: clone_node, not clone_nodes commit 982f2cb56186be8962f9e865d53558a39a0a19cf Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 DomNode.vala: update comments, especially adding references to spec commit b218f53cacb8bc7975b92fefe5ea960cd5471199 Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 DocumentFragment.vala: add spec reference commit 31c2c2e43a2f98f0f57c32e11209f202d0a38171 Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 Document.vala: Fix a comment commit 2a97a2b9d4f7096246c453fe0224995c7ad69b7b Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 Document.vala: add root element for Document.with_implementation commit c647f8ad808a91b590800f8a22f5462b6e273e73 Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 Document.vala: update error checking to use g_warning; add more error checks from spec commit bc26048f973c337c8461a12a73dc4f93405bee3a Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 Document.vala: Update comments, particularly with references to spec commit 36c3a9515312a4b451d7991038b32de58aebc5c1 Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 Implementation.vala: add commented out code to use xmlHasFeature in the future commit 48c4ec65b0ad9fc62f489490c6a366ba08f6e12e Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 Implementation.vala: add error checking to create_document commit 096c166cb0d61e604dbe1a44686f142fcee19c64 Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 Implementation.vala: Update comments with references to spec commit eb1cb9102181fe06c1c3a9b0cbd79c9640cea678 Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 Makefile.am: get rid of -Wall for now; reports a lot of warnings we can do nothing about using vala right now commit dc663b94cfd2c933b22466a05e659fbc5af47b15 Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 DocumentType.vala: update comments commit 58b0db8026e5651d3993f67e3a74924ae7086c52 Author: Richard Schwarting Date: Sat Jul 27 00:01:52 2013 -0400 NodeList.vala: change error handling to g_warning commit 2b7167238b9296256590c61e6722b3e95db8c333 Author: Richard Schwarting Date: Sat Jul 27 00:01:30 2013 -0400 libxml-2.0.vapi: define a few more methods from the C: validate_name, validate_qname, and (commented out) has_feature (for later) commit 1bfe1afc3952f047fead56ce1712c8d6e74201c1 Author: Richard Schwarting Date: Sat Jul 27 00:01:30 2013 -0400 libxml-2.0.vapi: fix the ctype for dump_memory_format's mem param commit 93c22c243025339dc490b239cb7c7db22293958a Author: Richard Schwarting Date: Sat Jul 27 00:01:30 2013 -0400 Revert to before the Utils fiasco commit bc775bc4b94b6707e27fabb231a5274f8ef75890 Author: Richard Schwarting Date: Sat Jul 27 00:01:30 2013 -0400 whatever commit d844ec522f7c87d9a9fc20145ace6d3bab4ef106 Author: Richard Schwarting Date: Sat Jul 27 00:01:30 2013 -0400 Revert "Revert "bleh"" This reverts commit c907fbb01b7a826afa3e7ff30d60e628f7cb185f. commit 344b71e8ece446b5b8ed57895bd69b57a9fd64b2 Author: Richard Schwarting Date: Sat Jul 27 00:01:30 2013 -0400 Revert "bleh" This reverts commit 671a8dc2ac7c81bb5a63086c99ab5a4262734dc1. commit 0001fcb98abeea618f269d67cfb61f24b09c86ff Author: Richard Schwarting Date: Sat Jul 27 00:01:29 2013 -0400 bleh commit ec99a84163ac68347b0cf8295b93a302eeeb896e Author: Richard Schwarting Date: Sat Jul 27 00:01:29 2013 -0400 test/Makefile.am: add UtilsTest.vala UtilsTest.vala: add a basic test; need more commit aad45f48f1efb86d3568459c3fedc3a0a9577a4a Author: Richard Schwarting Date: Sat Jul 27 00:01:29 2013 -0400 Utils.vala: fix some errors, add Utils.vala to Makefile.am commit ee3f0464f8f4cd44a3387880704d07a704296225 Author: Richard Schwarting Date: Sat Jul 27 00:01:29 2013 -0400 Utils.vala: add class of static internal methods to handle tasks like XML Name validation. commit 9c73918f34327248c82126af660904be84f5ea71 Author: Richard Schwarting Date: Sat Jul 27 00:01:29 2013 -0400 Implementation.vala, Document.vala: support creation of documents from Implementation commit 485dd65079da3bd20862033d14a0988e910f92be Author: Richard Schwarting Date: Sat Jul 27 00:01:29 2013 -0400 Document.vala: convert more entity references to their actual characters commit 7eb9fb8d93c72bdcda6fee474cd0af181bb7cbc0 Author: Richard Schwarting Date: Sat Jul 27 00:01:29 2013 -0400 NodeList.vala: fix comment so there's a separate long desc commit 7bae7e339522166b69ac7f2aaf787c0266167d2a Author: Richard Schwarting Date: Sat Jul 27 00:01:29 2013 -0400 Document.vala: update some comments and spacing commit 2958bf6ba3d65c5a574e6c9d42b08df48fa90f15 Author: Richard Schwarting Date: Sat Jul 27 00:01:29 2013 -0400 Fix < in docs; I swear that I had to use the entity reference before commit 09d96c495ad18da51daa450a7843a7675b6b657d Author: Richard Schwarting Date: Sat Jul 27 00:01:29 2013 -0400 Remove unnecessary linking for valadoc command commit 5cd50780e70ba7ec13226edfb8f9c3a146e3b97f Author: Richard Schwarting Date: Sat Jul 27 00:00:18 2013 -0400 Change some errors in CharacterData and Text to use g_warning instead of GError commit 0e9f943da51e96650fa4b8443e94f2a5dc8efdad Author: Richard Schwarting Date: Sat Jul 27 00:00:18 2013 -0400 Remove all throws declarations, since we're shifting to a document-level error variable commit f6259d42437b29431a57681f7e4977f6116858b7 Author: Richard Schwarting Date: Sat Jul 27 00:00:18 2013 -0400 Change error handling from throwing errors to setting a document-level error variable commit 1753318277bea690145b826bc05653c9f40ae895 Author: Richard Schwarting Date: Sat Jul 27 00:00:18 2013 -0400 Add some TODO items for the future commit ff872c1f218407d1875385918f040d2c794f950d Author: Richard Schwarting Date: Sat Jul 27 00:00:18 2013 -0400 Update libvala version; need a better solution to this commit e79195ad140bcfd7e8d473a0a4cd216822a588bd Author: Richard Schwarting Date: Sat Jul 27 00:00:18 2013 -0400 Fix some cnames in libxml-2.0.vapi commit 1e2973b930984762bb1488cc82b98fb49e51a9bb Author: Richard Schwarting Date: Sat Jul 27 00:00:18 2013 -0400 Set type=xmlChar* on method return values commit 0214abf0ec951d3c06c1b004a401725fee9e488d Author: Richard Schwarting Date: Sat Jul 27 00:00:18 2013 -0400 Set type=xmlChar* on fields commit 7c243912cb9c1c9d42fd639b0d7e5799bcf04324 Author: Richard Schwarting Date: Sat Jul 27 00:00:18 2013 -0400 Set type=xmlChar* on parametres, part 2: those with string return types and other nearby changes commit 582a65a1020cbdc2743ab4e117735f6a02db886b Author: Richard Schwarting Date: Sat Jul 27 00:00:18 2013 -0400 Set type=xmlChar* on parametres, part 1 commit c3762b2f133746a445cdc7913049ed5d06805c4d Author: Daniel Espinosa Date: Thu Jul 25 21:02:33 2013 -0500 Fixed (again) deserialize objects with objects as properties commit 9da1ce02046de4c0086a8fc66bf902fc4aaed02e Author: Daniel Espinosa Date: Thu Jul 25 18:30:29 2013 -0500 mplemented serialize non-automatic serializable properties * Implementors must attach a handler to serialize_unknown_property event in order to serialize any property type non handled automatically like GLib.Array, GLib.HashTable or others * Added serialized_node_name property to allow implementator to override default node name; default is GObject Type's name * Removed warning messsages commit c8430c044b7510f0f7f0c15b8353eea5a69802b9 Author: Daniel Espinosa Date: Wed Jul 24 12:36:49 2013 -0500 Bugs and warnning messages fixes. * Not used Serializable.serialized_xml_node removed * Serializable.deserealize fixed return value * Fixed a bug adding content to top level Element * Removed warnnings * Added SerializableError error domain commit 4f66b9d4356265852d2674b133e72e0b0b225bfd Author: Daniel Espinosa Date: Tue Jul 23 22:22:57 2013 -0500 Added UML diagram documentation commit 978589655a362c9ef270415119ff765f08823ea7 Author: Daniel Espinosa Date: Tue Jul 23 18:44:42 2013 -0500 SerializableObjectModel: removed value property commit f1ace6c4a21d46907932d875a647a5f6d8cd0121 Author: Daniel Espinosa Date: Tue Jul 23 18:04:48 2013 -0500 Fixed serialization and Element.content property commit 16da349fc9e803c7f8434d8c7b7bff2e7ab0d69a Author: Daniel Espinosa Date: Tue Jul 23 17:24:07 2013 -0500 Fixes on SerializableTest commit 1f11a5b6cf74dad097346fa2ca03db55983dc88a Author: Daniel Espinosa Date: Tue Jul 23 16:24:22 2013 -0500 Fixing Serializable.serialize() and deserialize() on conplex Element nodes commit 6ff61bc4284342842339c2411394053c2ed6c28a Author: Daniel Espinosa Date: Tue Jul 23 00:07:22 2013 -0500 Fixes to Serializable.deserialize() * Moved string_to_gvalue to Serializable interface * Serializable.serialize_property() deprecates use of ParamSpec commit d37d5ec6c9301490cef18e687995ac6833d5fdcb Author: Daniel Espinosa Date: Mon Jul 22 21:51:04 2013 -0500 Implemented Serializable.deserialize() * Added test case for serialize() * Added SerializableObjectModel class to help Serializable implementators commit 82fbfc1d5e99d3c9eda1ea533683d11916c7ec62 Author: Daniel Espinosa Date: Mon Jul 22 17:28:27 2013 -0500 Serializable now use nick for properties name. Fiexed segfault. * serialized_property_use_blurb renamed to serialized_property_use_nick * serialized_xml_node_value default to null commit 13ddd94dec7994bf5839723334fc9f3578e39eca Author: Daniel Espinosa Date: Mon Jul 22 16:33:12 2013 -0500 Fixing recursive XmlObjectModel serialization on Serializable properties commit 349673ea440f3cfdaeca5c27279171ced27b3e99 Author: Daniel Espinosa Date: Mon Jul 22 12:32:35 2013 -0500 Initial setup of XmlObjectModel to Serializable interface gxml/Serializable.vala | 9 +- gxml/SerializableJson.vala | 72 ++++--- gxml/SerializableObjectModel.vala | 7 +- gxml/Serialization.vala | 403 +++++++++++--------------------------- test/SerializableTest.vala | 15 +- test/SerializationTest.vala | 13 +- 6 files changed, 178 insertions(+), 341 deletions(-) commit 89c8e79b4d56b51fb9376f272d7c476ee7f5c4b4 Merge: 2a2b8fc 8ff022b Author: Daniel Espinosa Date: Wed Oct 9 15:55:01 2013 -0500 Merge master to serialization branch commit 2a2b8fcad86a7f5f73a2dc03492aa42af423a29e Author: Daniel Espinosa Date: Wed Oct 9 15:31:07 2013 -0500 Implemented proof of concept of SerializabelJson and SerializableObjectModel * Serializable methods has been implemented by SerializableJson * SerializableJson implements Serializable interface * SerializableObjectModel implements Serializable interface * Serializable interface defined to use both or any future serialization method * Serializable spects to add nodes to a given Node, if is Document a root if an Element childs Nodes. * Serializable can be used to serialize objects implementing it gxml/Makefile.am | 2 + gxml/Serializable.vala | 329 +++++++++++++++++++++++++++++++++----- gxml/SerializableJson.vala | 213 ++++++++++++++++++++++++ gxml/SerializableObjectModel.vala | 200 +++++++++++++++++++++++ 4 files changed, 701 insertions(+), 43 deletions(-) commit 8ff022ba1c3ee041aeae4a6efe3316b940747d49 Author: Daniel Espinosa Date: Tue Oct 8 16:15:06 2013 -0500 Moved Object Model Serialization to SerializableObjectModel docs/wiki/GXml-UML.dia | Bin 4245 -> 9708 bytes gxml/Serializable.vala | 162 ++++++-------------------------------- gxml/SerializableObjectModel.vala | 144 +++++++++++++++++++++++++++++++++ 3 files changed, 167 insertions(+), 139 deletions(-) commit 25cbe6beba12b8a8a2d9bc7522f014808e6c40b0 Author: Richard Schwarting Date: Wed Oct 2 10:07:07 2013 -0400 Document.vala: add GXml.Error to Document.from_path, use Xml.ParserCtxt.read_file instead of Xml.Parser.parse_file, for error-handling gxml/Document.vala | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit a53995435256ccddbe1bd2474c188232684c1720 Author: Richard Schwarting Date: Wed Oct 2 10:06:10 2013 -0400 Makefile.am: compile Error.vala gxml/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 002b873c2f38004ba6323c08fc2607930ce71953 Author: Richard Schwarting Date: Wed Oct 2 10:05:37 2013 -0400 Error.vala: Add GXml.Error errordomain, for actual exception handling unlike DomExceptions gxml/Error.vala | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 8f0919c1c81e539cc58c564395e87a84df36518c Author: Richard Schwarting Date: Wed Oct 2 10:04:14 2013 -0400 glib-2.0.vapi: get rid of trailing whitespace vapi/glib-2.0.vapi | 116 ++++++++++++++++++++++++++--------------------------- 1 file changed, 58 insertions(+), 58 deletions(-) commit 24e25190560eb502642a6e4f8c5b01f22e12b43b Author: Richard Schwarting Date: Wed Oct 2 10:01:59 2013 -0400 CharacterData,Implementation,Node.vala: change protected functions to internal, so they aren't exposed in C gxml/CharacterData.vala | 2 +- gxml/Implementation.vala | 2 +- gxml/Node.vala | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) commit e19f60f3847af955b0a5ddb8fd7a7b6ec23083e1 Author: Richard Schwarting Date: Wed Oct 2 10:00:14 2013 -0400 gxml/*.vala: update docs, markup special values, type links, and add memory management guidance gxml/Attr.vala | 9 +++-- gxml/BackedNode.vala | 1 + gxml/Document.vala | 8 ++-- gxml/Element.vala | 4 +- gxml/Entity.vala | 6 +-- gxml/Implementation.vala | 8 ++-- gxml/Node.vala | 95 +++++++++++++++++++++++++++++------------------- gxml/NodeList.vala | 2 +- gxml/Notation.vala | 4 +- gxml/Serializable.vala | 2 +- gxml/Serialization.vala | 2 +- 11 files changed, 82 insertions(+), 59 deletions(-) commit 2d3bdd9309dbcdf1c45b8540bcd39f9b175175b0 Author: Richard Schwarting Date: Wed Oct 2 09:56:12 2013 -0400 Attr.vala: rearrange description gxml/Attr.vala | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) commit 468825c69153d3e03c9443d3aaa76df5fe179710 Author: Richard Schwarting Date: Tue Oct 1 12:20:17 2013 -0400 libxml-2.0.vapi: improve XmlError, provide get_last_error method to xmlParserCtxt, define ErrorDomain enum vapi/libxml-2.0.vapi | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) commit 55feec65b1e4226e51084ef15abcea8e0f79d32b Author: Richard Schwarting Date: Sun Sep 29 02:03:16 2013 -0400 test/valgrind/gtype.supp: add some proper labels test/valgrind/gtype.supp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 4e15d89c0524bb9fa86d30f5b429bd5a47db36e0 Author: Richard Schwarting Date: Sun Sep 29 02:02:55 2013 -0400 test/valgrind: move a .supp rule to gtype.supp from glib.supp test/valgrind/glib.supp | 7 ------- test/valgrind/gtype.supp | 9 +++++++-- 2 files changed, 7 insertions(+), 9 deletions(-) commit f5554906e76f7622203dac5865b0bafd6275925e Author: Richard Schwarting Date: Sun Sep 29 02:02:10 2013 -0400 test/valgrind/Makefile: to use 'make run', get user to pass name of program to test as a macro test/valgrind/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 19ac631c9b86e10b2e50ab107a342176b614dad6 Author: Richard Schwarting Date: Sun Sep 29 02:01:20 2013 -0400 Node.vala: change doc gxml/Node.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 43d70a0673d7dc4012998e617ee5f4a8baf1716f Author: Richard Schwarting Date: Sun Sep 29 02:00:40 2013 -0400 gxml/{Element,Node}.vala: add documentation for memory usage gxml/Element.vala | 18 ++++++++++----- gxml/Node.vala | 69 +++++++++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 74 insertions(+), 13 deletions(-) commit 2ae665c4613b13674280e6eb7ca8942ee03998a1 Author: Richard Schwarting Date: Sun Sep 29 01:57:04 2013 -0400 Make clone_node's return value be an unowned Node; its memory is managed by its GXml.Document whose node_dict it lives in, and we don't want the caller to deal with its referencing gxml/Attr.vala | 3 ++- gxml/BackedNode.vala | 2 +- gxml/Document.vala | 2 +- gxml/Entity.vala | 3 ++- gxml/Node.vala | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) commit b8b6f5a5ad79ab759031a2d6ac4449f396ea847b Author: Richard Schwarting Date: Sun Sep 29 01:54:34 2013 -0400 Attr.vala: add an XML example gxml/Attr.vala | 3 +++ 1 file changed, 3 insertions(+) commit e9f73947396c3331e0b8f8fa12550de0b5f03d68 Author: Richard Schwarting Date: Tue Sep 24 06:33:23 2013 -0400 Text.vala: doc fix gxml/Text.vala | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 575a1246120eadeba169b0bed88159ff34eb0904 Author: Richard Schwarting Date: Tue Sep 24 06:32:58 2013 -0400 NodeList.vala: add a warning when appending EntityReferences, noting that we don't (yet) support those gxml/NodeList.vala | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 461b51f5c1396a754c8ebf487c0cacf940591ceb Author: Richard Schwarting Date: Tue Sep 24 06:32:25 2013 -0400 Node.vala: fix check_wrong_document so documents are handled properly gxml/Node.vala | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit abaeca6e9cfc7a380b62d66119e87779865ddf9c Author: Richard Schwarting Date: Tue Sep 24 06:31:45 2013 -0400 Entity.vala: doc fix gxml/Entity.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 12a6cf25a453d00a175123e92cc587c252c13b85 Author: Richard Schwarting Date: Tue Sep 24 06:31:29 2013 -0400 Element.vala: fix bug where stringifyings Elements would show unsynced versions without updated attributes gxml/Element.vala | 11 +++++++++++ 1 file changed, 11 insertions(+) commit a46fa7a47cb75328f60a26122fc900be77ee4ffa Author: Richard Schwarting Date: Tue Sep 24 06:30:59 2013 -0400 Document.vala: add child management support (YAY), improve documentation gxml/Document.vala | 103 +++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 97 insertions(+), 6 deletions(-) commit 0254725df96be5371c1c0b4112e4a8f248150f1e Author: Richard Schwarting Date: Tue Sep 24 06:28:47 2013 -0400 CharacterData.vala: improve documentation gxml/CharacterData.vala | 34 +++++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 11 deletions(-) commit 93f3284473c017b5d6496111a732dc65b4e9a340 Author: Richard Schwarting Date: Tue Sep 24 06:28:15 2013 -0400 Attr.vala: improve stringification gxml/Attr.vala | 7 +++++++ 1 file changed, 7 insertions(+) commit bf25fef5e76c7c2e5d72abee8bf77d07a348c1ff Author: Richard Schwarting Date: Tue Sep 24 06:27:49 2013 -0400 examples/js: add JavaScript examples examples/js/Makefile.am | 3 +- examples/js/attr.js | 1 + examples/js/bookshelf2.xml | 9 ++++ examples/js/bookshelf_node.xml | 4 ++ examples/js/cdata_section.js | 8 +++ examples/js/character_data.js | 51 +++++++++++++++++++ examples/js/comment.js | 54 ++++++++++++++++++++ examples/js/element.js | 47 +++++++++++++++++ examples/js/node_child_management.js | 99 ++++++++++++++++++++++++++++++++++++ examples/js/node_list.js | 69 +++++++++++++++++++++++++ examples/js/node_self.js | 69 +++++++++++++++++++++++++ examples/js/text.js | 36 +++++++++++++ 12 files changed, 449 insertions(+), 1 deletion(-) commit 5d24649bdb9c64dae152d6207e1aa3e6a0d56ed5 Author: Richard Schwarting Date: Tue Sep 24 06:24:52 2013 -0400 examples/c: add C examples examples/c/Makefile.am | 2 +- examples/c/Makefile.example | 2 +- examples/c/attr.c | 1 + examples/c/cdata_section.c | 3 ++ examples/c/character_data.c | 74 +++++++++++++++++++++++++++++++++++++++++++ examples/c/comment.c | 76 +++++++++++++++++++++++++++++++++++++++++++++ examples/c/element.c | 74 +++++++++++++++++++++++++++++++++++++++++++ examples/c/node_list.c | 68 ++++++++++++++++++++++++++++++++++++++++ examples/c/text.c | 52 +++++++++++++++++++++++++++++++ 9 files changed, 350 insertions(+), 2 deletions(-) commit 9f867eb48bf9fa4f48a5a922916c4accc3cb0880 Author: Richard Schwarting Date: Wed Aug 28 01:59:07 2013 -0230 examples/*/Makefile.am: update list of files to the actual ones available to pass make distcheck examples/c/Makefile.am | 2 +- examples/js/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit beb427f4171c1638529f5ee5d844ad3c288df39f Author: Simon Kågedal Reimer Date: Tue Aug 27 20:45:30 2013 +0200 configure.ac: Remove unneccessary check for libvaladoc We only need to check if the valadoc binary is installed. Signed-off-by: Richard Schwarting configure.ac | 1 - 1 file changed, 1 deletion(-) commit 1dfc11d4600771b70e389a1221aaecb1b2436792 Author: Richard Schwarting Date: Sun Aug 25 11:42:38 2013 -0230 configure.ac: GLIB_GSETTINGS, not GLIB_SETTINGS configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1a02e1eaa59b9bcf1bb402bde8a9648c226c19bb Author: Richard Schwarting Date: Sat Aug 24 15:18:33 2013 -0230 Node.vala, NodeList.vala: drop private _str fields for to_string; we wouldn't cash it anyway gxml/Node.vala | 6 +----- gxml/NodeList.vala | 7 +++---- 2 files changed, 4 insertions(+), 9 deletions(-) commit edf220543f610e315e3837c5a0ece0c4d63723b3 Author: Richard Schwarting Date: Fri Aug 23 10:18:46 2013 -0400 examples/js: put generated output into own directory examples/js/Makefile.am | 2 +- examples/js/document_save_to_path.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit ce658c44afef6c168c90abaf613ffda21162ccd4 Author: Richard Schwarting Date: Fri Aug 23 10:17:19 2013 -0400 examples/c: save generated output files into own directory examples/c/Makefile.am | 2 +- examples/c/Makefile.example | 2 +- examples/c/document_save_to_path.c | 2 +- examples/c/document_save_to_stream.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 35a4cca59095ddabf34a93b808023548b0ce4b90 Author: Richard Schwarting Date: Fri Aug 23 10:16:37 2013 -0400 examples/c/document_new.c: remove now-erroneous unrefs examples/c/document_new.c | 8 -------- 1 file changed, 8 deletions(-) commit 71b72eb86d9bcb7da3c9738d546deb70671f1fc0 Author: Richard Schwarting Date: Fri Aug 23 10:05:34 2013 -0400 configure.ac: we don't actually need vapigen configure.ac | 5 ----- 1 file changed, 5 deletions(-) commit bd92ae144a0b4dcf5855e2c38ffd8d06aeabe6c5 Author: Richard Schwarting Date: Fri Aug 23 09:59:18 2013 -0400 Node.vala: touch some comments gxml/Node.vala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit a433d54169bcf7be75a56e289ec15b1ecfa46ca9 Author: Richard Schwarting Date: Fri Aug 23 09:58:14 2013 -0400 Document.vala: correct the type for copy_node gxml/Document.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3f90a812db0fa67cd4ab8c363e01a7f4c52bf007 Author: Richard Schwarting Date: Fri Aug 23 09:57:50 2013 -0400 Document.vala: fix a comment gxml/Document.vala | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit c9c2606842a2049c56d17e5896214c4f48c2e4eb Author: Richard Schwarting Date: Fri Aug 23 09:57:16 2013 -0400 example.vala: remove obsolete try-catch examples/vala/example.vala | 70 +++++++++++++++++----------------------------- 1 file changed, 25 insertions(+), 45 deletions(-) commit 72093152511ee8d0dc3709d3c768caecf8eaf197 Author: Richard Schwarting Date: Tue Aug 6 23:52:44 2013 +0200 test/valgrind: change things due to fixes in memory handling test/valgrind/Makefile | 2 +- test/valgrind/document_create_minimal.c | 4 ---- test/valgrind/document_create_minimal_2.c | 7 ++----- 3 files changed, 3 insertions(+), 10 deletions(-) commit 656800634afaad2e068c950d866cb5a787ab740e Author: Richard Schwarting Date: Sun Jul 28 01:30:12 2013 -0400 document_create_minimal_2.c: incrementally expand the test of memory usage, mwahaha test/valgrind/document_create_minimal_2.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 6a5c35a0330f6e2d96bab88469666f95c0ea3b1b Author: Richard Schwarting Date: Sun Jul 28 01:30:12 2013 -0400 test/valgrind: add message.c to just test the allocations by g_message test/valgrind/Makefile | 4 ++-- test/valgrind/message.c | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) commit 99593e78f6a562a8ca2f994c619924e707e2c526 Author: Richard Schwarting Date: Sun Jul 28 01:30:12 2013 -0400 test/valgrind/glib.supp: suppress g_log allocations test/valgrind/glib.supp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit b620b282ef8552b24d744a3bb4c9b22106615176 Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 test/vaglrind: add a couple new tests, fix the gtype.supp test/valgrind/Makefile | 30 ++++++---------- test/valgrind/document_create_minimal.c | 55 ++++++++++++++++++++++++++++ test/valgrind/document_create_minimal_2.c | 60 +++++++++++++++++++++++++++++++ test/valgrind/gtype.supp | 5 +++ 4 files changed, 130 insertions(+), 20 deletions(-) commit 41e326a5ef69f9810a851fc69964faa096215d5b Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 tests/valgrind: correct some permissions test/valgrind/example.vala | 0 test/valgrind/small.vala | 0 2 files changed, 0 insertions(+), 0 deletions(-) commit 461dad7d37f6f888352c975ab1b1b96d1a4252ad Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 tests/valgrind: add memory testing files, like suppression files, and .c and .vala tests test/valgrind/Makefile | 49 +++++++++++++++++++++ test/valgrind/attributes.vala | 25 +++++++++++ test/valgrind/document.c | 12 ++++++ test/valgrind/example.vala | 76 +++++++++++++++++++++++++++++++++ test/valgrind/gfile.c | 13 ++++++ test/valgrind/gio.supp | 29 +++++++++++++ test/valgrind/glib.supp | 16 +++++++ test/valgrind/gobject.c | 12 ++++++ test/valgrind/gtype.supp | 45 +++++++++++++++++++ test/valgrind/libxml2.c | 28 ++++++++++++ test/valgrind/libxml2.supp | 43 +++++++++++++++++++ test/valgrind/scope.vala | 25 +++++++++++ test/valgrind/small.vala | 24 +++++++++++ test/valgrind/small2.vala | 24 +++++++++++ test/valgrind/small2a.c | 28 ++++++++++++ test/valgrind/small2b.c | 25 +++++++++++ test/valgrind/unlink_unattached_nodes.c | 45 +++++++++++++++++++ 17 files changed, 519 insertions(+) commit 9e874b4076f12ac8593371b732a489e449da8fe1 Author: Richard Schwarting Date: Tue Aug 20 16:21:43 2013 -0400 examples/js: rename examples examples/js/document_create.js | 64 +++++++++++++++--------------- examples/js/document_create_from_file.js | 13 ------ examples/js/document_create_from_path.js | 11 ----- examples/js/document_create_from_string.js | 21 ---------- examples/js/document_factory.js | 36 ----------------- examples/js/document_new.js | 34 ++++++++++++++++ examples/js/document_new_from_file.js | 13 ++++++ examples/js/document_new_from_path.js | 11 +++++ examples/js/document_new_from_string.js | 21 ++++++++++ 9 files changed, 112 insertions(+), 112 deletions(-) commit de735bec152c63e1284ca63d54d1caea170604db Author: Richard Schwarting Date: Sun Jul 28 01:30:12 2013 -0400 Implementation.vala: extend from GObject examples/js/create_document.js | 34 ------------------------------ examples/js/create_document_from_file.js | 13 ------------ examples/js/create_document_from_path.js | 11 ---------- examples/js/create_document_from_string.js | 21 ------------------ examples/js/document_create.js | 34 ++++++++++++++++++++++++++++++ examples/js/document_create_from_file.js | 13 ++++++++++++ examples/js/document_create_from_path.js | 11 ++++++++++ examples/js/document_create_from_string.js | 21 ++++++++++++++++++ examples/js/document_save_to_path.js | 11 ++++++++++ examples/js/save_document_to_path.js | 11 ---------- gxml/Implementation.vala | 2 +- 11 files changed, 91 insertions(+), 91 deletions(-) commit 241360bbf225e2ed48f637d13189d78a11ef95bf Author: Richard Schwarting Date: Wed Aug 21 15:21:06 2013 -0400 examples/c/node.c: fix some type issues examples/c/node.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit 4dcc5fbe4543ae1efd63a1c14baa560a4d480f28 Author: Richard Schwarting Date: Wed Aug 21 15:18:34 2013 -0400 examples/c: rename example.xml to more specific bookshelf_node.xml examples/c/bookshelf_node.xml | 4 ++++ examples/c/example.xml | 4 ---- examples/c/node.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) commit 81bb9b0b6c704f2f043dc5108af3723a4e9459d9 Author: Richard Schwarting Date: Wed Aug 21 15:16:45 2013 -0400 examples/c: add example.xml for the GXmlNode example examples/c/example.xml | 4 ++++ 1 file changed, 4 insertions(+) commit 80a173e14890874c1ff8155a47f37c5ec2783c34 Author: Richard Schwarting Date: Wed Aug 21 15:16:29 2013 -0400 examples/c: at long last, committing the GXmlNode example examples/c/Makefile.example | 4 +- examples/c/node.c | 202 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 204 insertions(+), 2 deletions(-) commit 958e2ea89ceee81d1a024de7eb0f6c99e897ce71 Author: Richard Schwarting Date: Tue Aug 20 16:23:01 2013 -0400 examples/c/Makefile: update names of files examples/c/Makefile.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2af12fbac4d4879775cc71e69d0bc48c5240d92d Author: Richard Schwarting Date: Tue Aug 20 16:20:42 2013 -0400 examples/c: rename examples examples/c/document_create.c | 92 +++++++++++++++----------------- examples/c/document_create_from_file.c | 22 -------- examples/c/document_create_from_path.c | 16 ------ examples/c/document_create_from_string.c | 20 ------- examples/c/document_create_minimal.c | 55 ------------------- examples/c/document_factory.c | 55 ------------------- examples/c/document_new.c | 59 ++++++++++++++++++++ examples/c/document_new_from_file.c | 22 ++++++++ examples/c/document_new_from_path.c | 16 ++++++ examples/c/document_new_from_string.c | 20 +++++++ examples/c/document_new_minimal.c | 55 +++++++++++++++++++ 11 files changed, 216 insertions(+), 216 deletions(-) commit 8110ac023fdddc7c1faa72fd995da29cf33f284f Author: Richard Schwarting Date: Sun Jul 28 01:30:12 2013 -0400 examples/c: fix some whitespace examples/c/document_create.c | 2 +- examples/c/document_create_from_file.c | 4 ++-- examples/c/document_create_from_path.c | 2 +- examples/c/document_properties.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) commit dfa6729a8fb6361c977f80c2aa7dce859d699da9 Author: Richard Schwarting Date: Sun Jul 28 01:30:12 2013 -0400 examples/c/document_factory.c: add print out of example nodes we create examples/c/document_factory.c | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) commit d4c68d4e954489c0a540b175d7e5015c9bbbd881 Author: Richard Schwarting Date: Sun Jul 28 01:30:12 2013 -0400 examples/js: rename several examples, add new ones examples/js/document_factory.js | 36 ++++++++++++++++++++++++++++++++++++ examples/js/document_properties.js | 19 +++++++++++++++++++ 2 files changed, 55 insertions(+) commit 152e52676552a2a7eeb38f679c8b74d2e6251b2c Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 examples/c: add document_factory.c, remove a comment from document_properties.c examples/c/Makefile.example | 2 +- examples/c/document_factory.c | 52 ++++++++++++++++++++++++++++++++++++++++ examples/c/document_properties.c | 1 - 3 files changed, 53 insertions(+), 2 deletions(-) commit 26c121c3be6cc0bd6f5d0a3f9719e30c3ee87f1f Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 examples/c: add Document properties example; rename examples examples/c/create_document.c | 59 -------------------------------- examples/c/create_document_from_file.c | 22 ------------ examples/c/create_document_from_path.c | 16 --------- examples/c/create_document_from_string.c | 20 ----------- examples/c/create_document_minimal.c | 55 ----------------------------- examples/c/document_create.c | 59 ++++++++++++++++++++++++++++++++ examples/c/document_create_from_file.c | 22 ++++++++++++ examples/c/document_create_from_path.c | 16 +++++++++ examples/c/document_create_from_string.c | 20 +++++++++++ examples/c/document_create_minimal.c | 55 +++++++++++++++++++++++++++++ examples/c/document_properties.c | 38 ++++++++++++++++++++ examples/c/document_save_to_path.c | 14 ++++++++ examples/c/document_save_to_stream.c | 20 +++++++++++ examples/c/save_document_to_path.c | 14 -------- examples/c/save_document_to_stream.c | 20 ----------- 15 files changed, 244 insertions(+), 206 deletions(-) commit e8b95f9f70fa0989424555d4f27318557fca2bc2 Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 examples/js: refactor examples into their own files examples/js/create_document.js | 34 +++++++++++++++ examples/js/create_document_from_file.js | 13 ++++++ examples/js/create_document_from_path.js | 11 +++++ examples/js/create_document_from_string.js | 21 +++++++++ examples/js/example.js | 70 ------------------------------ examples/js/save_document_to_path.js | 11 +++++ 6 files changed, 90 insertions(+), 70 deletions(-) commit 8fc8a1d55427087a8f7442bf9b1a067caf8bad04 Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 examples/c: actually add .c files this time examples/c/create_document.c | 59 ++++++++++++++++++++++++++++++++ examples/c/create_document_from_file.c | 22 ++++++++++++ examples/c/create_document_from_path.c | 16 +++++++++ examples/c/create_document_from_string.c | 20 +++++++++++ examples/c/create_document_minimal.c | 55 +++++++++++++++++++++++++++++ examples/c/save_document_to_path.c | 14 ++++++++ examples/c/save_document_to_stream.c | 20 +++++++++++ 7 files changed, 206 insertions(+) commit be749a99d5c72dc69b36768b931338a325d18837 Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 examples/c/Makefile: update examples/c/Makefile.example | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit aa64ffdfb028c9d01810d3b68ced8692d84bd145 Author: Richard Schwarting Date: Wed Aug 21 15:22:35 2013 -0400 BackedNode.vala: actually implement clone_node, add a TODO gxml/BackedNode.vala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit c30e011ea4182f77e8fe22885de5eb88da916daf Author: Richard Schwarting Date: Tue Aug 6 16:09:36 2013 +0200 test/Serializa{tion,ble}Test.vala: adapt to new behaviour of gxml_serialization_{de,}serialize_object test/SerializableTest.vala | 10 +++++----- test/SerializationTest.vala | 16 ++++++++-------- 2 files changed, 13 insertions(+), 13 deletions(-) commit 02da9144bbd40eb16f91a924bde74c36f2851ae8 Author: Richard Schwarting Date: Tue Aug 6 16:08:12 2013 +0200 Serialization.vala: API BREAK: change serialize_object and deserialize_object to work with (2) gxml/Serialization.vala | 74 ++++++++++++++++++++++++++----------------------- 1 file changed, 40 insertions(+), 34 deletions(-) commit 2d2779f4fbe7a7fc989f231a59ec0bd14ee872ed Author: Richard Schwarting Date: Fri Aug 23 09:26:37 2013 -0400 Serialization.vala: remove temporary _docs fix gxml/Serialization.vala | 4 ---- 1 file changed, 4 deletions(-) commit deaf4db5b51532d42970a6f817e5e4005b545dc2 Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 Memory: Document.vala: node creation methods (e.g. create_element) now return unowned/weak references to the nodes they create; the Document alone owns them gxml/Document.vala | 65 ++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 48 insertions(+), 17 deletions(-) commit 468c386e5734cda79f25f61f15c50a8791fa3434 Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 Memory: Node.vala, BackedNode.vala, Element.vala, NodeList.vala, Attr.vala, Entity.vala, Document.vala: change ownership of return value to unowned for a bunch of methods (insert_before, append/remove/replace_child); references will be handled by the Document gxml/Attr.vala | 8 ++++---- gxml/BackedNode.vala | 8 ++++---- gxml/Document.vala | 2 +- gxml/Element.vala | 16 ++++++++-------- gxml/Entity.vala | 8 ++++---- gxml/Node.vala | 8 ++++---- gxml/NodeList.vala | 24 ++++++++++++------------ 7 files changed, 37 insertions(+), 37 deletions(-) commit 035176d93876b55949587989d775a6802fe5f89b Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 Document.vala: Fix a comment (2) gxml/Document.vala | 2 ++ 1 file changed, 2 insertions(+) commit e7a60e0c91dfcb1159d5c4ab7364e31b75c64e4e Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 Node.vala: update comments, especially adding references to spec (2) gxml/Node.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 31cf69f4f422c0dd4da8dc36edb1ed9a60f68ee0 Author: Richard Schwarting Date: Tue Aug 6 16:04:42 2013 +0200 CharacterData.vala: fix whitespace gxml/CharacterData.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0256cee0f1f01873129f3074b98ef3eb0b771c81 Author: Richard Schwarting Date: Tue Aug 6 15:57:37 2013 +0200 test/: remove definition of deprecated GXmlDomError gxml/DomException.vala | 5 ----- 1 file changed, 5 deletions(-) commit eeb40e95b34693408a6f37eec05d5eb414f99402 Author: Richard Schwarting Date: Tue Aug 6 15:56:55 2013 +0200 test/: remove usage of deprecated GXmlDomError test/AttrTest.vala | 292 ++++++++------------ test/CharacterDataTest.vala | 125 +++------ test/DocumentTest.vala | 247 +++++++---------- test/ElementTest.vala | 616 ++++++++++++++++++----------------------- test/GXmlTest.vala | 17 +- test/NodeTest.vala | 652 +++++++++++++++++++------------------------- test/SerializableTest.vala | 13 +- test/SerializationTest.vala | 3 - test/TextTest.vala | 76 +++--- 9 files changed, 846 insertions(+), 1195 deletions(-) commit ea4f0646077dc9ab31ceb9829417fb1e08a90141 Author: Richard Schwarting Date: Wed Aug 21 15:39:50 2013 -0400 gxml/Node.vala, gxml/NodeList.vala: fix some documentation issues with linebreaks in {@link}s gxml/Node.vala | 4 ++-- gxml/NodeList.vala | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) commit 671745b8cabe2347f72bb142ac935d44dd376eac Author: Richard Schwarting Date: Wed Aug 21 15:25:35 2013 -0400 NodeList.vala: documentation fixes; link to GList when a method is based off of that, add some missing param fields gxml/NodeList.vala | 71 ++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 58 insertions(+), 13 deletions(-) commit 59523b495cafe7f973ce4abf6971bc34dd6b305b Author: Richard Schwarting Date: Wed Aug 21 15:24:43 2013 -0400 Node.vala: documentation fixes gxml/Node.vala | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) commit 3e654cc5ccd7ddbda0c54c787bc0ea0a22189f33 Author: Richard Schwarting Date: Sun Jul 28 01:30:10 2013 -0400 test/*.vala: change DomNode to GXml.Node test/AttrTest.vala | 6 +- test/DocumentTest.vala | 8 +- test/DomNodeTest.vala | 459 -------------------------------------------- test/ElementTest.vala | 42 ++-- test/GXmlTest.vala | 2 +- test/Makefile.am | 2 +- test/NodeTest.vala | 459 ++++++++++++++++++++++++++++++++++++++++++++ test/SerializableTest.vala | 8 +- test/SerializationTest.vala | 8 +- test/TextTest.vala | 2 +- 10 files changed, 498 insertions(+), 498 deletions(-) commit 3f8177ca8bb7d9baacd140e80e7bbea6c597be98 Author: Richard Schwarting Date: Sun Jul 28 01:30:10 2013 -0400 gxml/*.vala: Change all DomNode references to Node (2) gxml/Attr.vala | 18 ++--- gxml/BackedNode.vala | 30 ++++---- gxml/Document.vala | 24 +++--- gxml/DocumentType.vala | 2 +- gxml/Element.vala | 34 ++++----- gxml/Entity.vala | 14 ++-- gxml/EntityReference.vala | 2 +- gxml/Implementation.vala | 2 +- gxml/NamespaceAttr.vala | 2 +- gxml/Node.vala | 2 +- gxml/NodeList.vala | 162 ++++++++++++++++++++-------------------- gxml/Notation.vala | 2 +- gxml/ProcessingInstruction.vala | 2 +- gxml/Serializable.vala | 22 +++--- gxml/Serialization.vala | 36 ++++----- 15 files changed, 177 insertions(+), 177 deletions(-) commit 3b6fa8763f40a7f38bc0fcb299332b51b428a8ac Author: Richard Schwarting Date: Sun Jul 28 01:30:10 2013 -0400 Node.vala: Renamed DomNode to Node; this should break all the other files :D gxml/Node.vala | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) commit 81b28673097fd5dcb0cc66e723d8bdfdd29dca45 Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 Entity.vala: break API to fix typo: clone_node, not clone_nodes, part 2 gxml/Entity.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7c73d0455589393cc9c7db914bd1f6643cf20a3a Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 DomNode.vala, BackedNode.vala, Attr.vala: break API to fix typo: clone_node, not clone_nodes gxml/Attr.vala | 2 +- gxml/BackedNode.vala | 2 +- gxml/Node.vala | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit ddf6c1d18859ab01f2d3f7f4e21b88e4e5b2db02 Author: Richard Schwarting Date: Sun Jul 28 01:30:10 2013 -0400 Node.vala, Makefile.am: rename DomNode.vala to Node.vala for impending change gxml/DomNode.vala | 408 ------------------------------------------------------ gxml/Makefile.am | 2 +- gxml/Node.vala | 408 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 409 insertions(+), 409 deletions(-) commit 4b57eeb52d9a49fbbdb16c44c414c09b3257d2cd Author: Richard Schwarting Date: Sun Jul 28 01:30:12 2013 -0400 TextTest.vala: INDEX_SIZE exceptions no longer result in null returns test/TextTest.vala | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 913656379264ca9e2d0dc0abc28db905b1c8ed21 Author: Richard Schwarting Date: Sun Jul 28 01:30:12 2013 -0400 DocumentTest.vala: invalid characters no longer cause create_element to return null, so don't test for it test/DocumentTest.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 64d01c903273756612f449aef10d210b1bb85132 Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 Document.vala: don't return null on create_element if invalid characters have been specified; print a g_warning and proceed instead (libxml2 accepts invalid characters anyway) gxml/Document.vala | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit cc6de4f645947ca9bcd40891714d4f4e7c39246c Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 CharacterData.vala: change behaviour when offset == length of string for bounds checking, since the end of a string is a fit place to insert things (but perhaps not remove :D) gxml/CharacterData.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit efadb74699549369034e1bd1549fd26b76eea156 Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 Text.vala: address some compile time warnings; fail split more gracefully gxml/Text.vala | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 61f9bdd5a7e2ce28a6bb321ef6706efca8579201 Author: Richard Schwarting Date: Sun Jul 28 01:30:11 2013 -0400 Document.vala: touch some comments gxml/Document.vala | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit f47302107c53ac81b29a29c5ac458b2b8de51419 Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 Makefile.am: DomError -> DomException gxml/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 399e7736d59656702ff2c38b61c254f186860329 Author: Richard Schwarting Date: Sun Jul 28 01:30:10 2013 -0400 examples/c: refactor tests, remove GErrors, correct naming examples/c/example.c | 240 --------------------------------------------------- 1 file changed, 240 deletions(-) commit 40c6f6b0b12321d9ce26fdf8bff989a081ed7c0a Author: Richard Schwarting Date: Sun Jul 28 01:30:10 2013 -0400 Attr.vala: update documentation, specifically references to spec (2) gxml/Attr.vala | 6 +++--- gxml/Document.vala | 6 +++--- gxml/DomNode.vala | 7 ++++--- gxml/Implementation.vala | 2 +- gxml/NodeList.vala | 3 +++ 5 files changed, 14 insertions(+), 10 deletions(-) commit 48b790d9969bbaa96566d9ff72ddc3bc781c9d4b Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 Attr.vala: update documentation, specifically references to spec gxml/Attr.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3fc4dfb253236c7495ae52f4f0298b36c1781289 Author: Richard Schwarting Date: Sat Jul 27 00:01:55 2013 -0400 DocumentTest.vala: first testing of warnings test/DocumentTest.vala | 41 +++++++++++------------------------------ 1 file changed, 11 insertions(+), 30 deletions(-) commit a5cc130724efb1a65031603d51ec9f7a046e468b Author: Richard Schwarting Date: Sat Jul 27 00:01:55 2013 -0400 GXmlTest.vala: change how our tests test for warnings test/GXmlTest.vala | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit 1943ee31da2528d22fb946af6951fecbc779ffd9 Author: Richard Schwarting Date: Sat Jul 27 00:01:55 2013 -0400 Implementation.vala: factor out error checks into check_ functions gxml/Implementation.vala | 52 +++++++++++++++++++++++++++++------------------- 1 file changed, 31 insertions(+), 21 deletions(-) commit 4c0e8956661751b3846cab6253a919dbc22fa29b Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 Document.vala: add root element for Document.with_implementation gxml/Document.vala | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit ce5433944fc9b42746755e723b73add8264ff8c8 Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 Implementation.vala: add error checking to create_document gxml/Implementation.vala | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) commit 9d9683917fb1f43311d4831bd59ccc5d3c6c4b8e Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 Implementation.vala: Update comments with references to spec gxml/Implementation.vala | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit 30c4f76cedcfcdc55ae5c229ce1f56734151a56b Author: Richard Schwarting Date: Sat Jul 27 00:01:29 2013 -0400 Implementation.vala, Document.vala: support creation of documents from Implementation gxml/Document.vala | 25 ++++++++++++++++++++++++- gxml/Implementation.vala | 14 ++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) commit b56c14de4e3afcd54fcd31acced51de71df9a348 Author: Richard Schwarting Date: Sat Jul 27 00:01:55 2013 -0400 CharacterData.vala, Element.vala, Document.vala, DomNode.vala, NodeList.vala: use new GXml.warning facility, so we can preserve the last error code gxml/CharacterData.vala | 8 ++++---- gxml/Document.vala | 14 +++++++------- gxml/DomNode.vala | 2 +- gxml/Element.vala | 2 +- gxml/NodeList.vala | 5 ++--- 5 files changed, 15 insertions(+), 16 deletions(-) commit 0f86f37c78e6bc53aef8ed469bf3783c9874dfd6 Author: Richard Schwarting Date: Sat Jul 27 00:01:55 2013 -0400 DomException.vala: add NAMESPACE error code gxml/DomException.vala | 8 ++++++++ 1 file changed, 8 insertions(+) commit 2a8f1e6993aaf5c256f41697e802691c86b4b926 Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 DomException.vala: add facility to set the last DomException set; ooo, classic error codes gxml/DomException.vala | 144 +++++++++++++++++++++++++++---------------------- 1 file changed, 79 insertions(+), 65 deletions(-) commit 53dbde45356f70a2d6d8e49db86d9587938a7f97 Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 DomException.vala: add a dummy DomError for the transitioning of the tests gxml/DomException.vala | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 5b831ba30b10ef27446b91881bb96ffe8eac0966 Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 DomException.vala: change errordomain DomError -> enum DomException gxml/DomException.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 29aaf7dcd932c6ca837149fa8a1b48c75d7c56b1 Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 GXmlTest.vala: override gtester handling of g_warnings; don't want to abort, but verify test/GXmlTest.vala | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) commit 8e7dea6ef72e8f96b88539b8d9730d860d1f45a1 Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 Serialization.vala: DomError no longer thrown, so no need to catch it gxml/Serialization.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 96b095962edeb30a545c1fa9b0e524537ea37c81 Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 Document.vala: some small error handling changes; return on invalid chars for create_element gxml/Document.vala | 15 ++++++--- gxml/DomError.vala | 89 -------------------------------------------------- gxml/DomException.vala | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 99 insertions(+), 94 deletions(-) commit 5b9afa4f0781bd56ab8097407fa1171e714dc2d7 Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 Tiny fixes. DomNode.vala: make check_wrong_document and check_read_only protected so only subclasses can see them Element.vala: fix remove_attribute_node ProcessingInstruction: properly get and set 'data' gxml/DomNode.vala | 4 ++-- gxml/Element.vala | 8 ++------ gxml/ProcessingInstruction.vala | 12 +++++++++--- 3 files changed, 13 insertions(+), 11 deletions(-) commit 693f7226bb8a932424781fbcfc7d61434434e748 Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 Text.vala: add more error checking from spec gxml/Text.vala | 2 ++ 1 file changed, 2 insertions(+) commit a64b6203827cbc5e2e983b12e234eb777501a630 Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 ProcessingInstruction.vala: handle spec'd errors gxml/ProcessingInstruction.vala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 64f749935cf48a9aba8d479f3aab5c4707bb9157 Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 Element.vala: handle spec'd errors gxml/Element.vala | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) commit 7b0a3572ec1f15c21f2bc38a69f90f0a68e65cb2 Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 Document.vala, DomNode.vala: move check_wrong_document inot DomNode so other nodes (Element) can use it gxml/Document.vala | 8 +------- gxml/DomNode.vala | 7 +++++++ 2 files changed, 8 insertions(+), 7 deletions(-) commit cf62243a96383af02de14eeaa8c598d8fffd98be Author: Richard Schwarting Date: Sat Jul 27 00:01:54 2013 -0400 Document.vala, DomNode.vala: move check_read_only to DomNode, so all its descendents can call it gxml/Document.vala | 7 +------ gxml/DomNode.vala | 8 ++++++++ 2 files changed, 9 insertions(+), 6 deletions(-) commit fa002bd140c160d50b657e85dd81e144820ed37c Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 Text.vala: make use of new check_index_size from parent class CharacterData gxml/Text.vala | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit ce53385a9151b7c57dee4de85456cf41542383dd Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 CharacterData.vala: improve error handling, check more bounds, factor out bound checking gxml/CharacterData.vala | 57 +++++++++++++++++++++++++++++++++++++------------ 1 file changed, 43 insertions(+), 14 deletions(-) commit 72f630b75fa992f79d22cf86215c28dd269d3cd5 Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 CharacterData.vala: update comments, particularly adding references to spec gxml/CharacterData.vala | 38 +++++++++++++++++++++++++++++--------- 1 file changed, 29 insertions(+), 9 deletions(-) commit 5b595777773e717fbf63c64261dce4d5dbed4c4c Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 Document.vala: update error checking to use g_warning; add more error checks from spec (2) gxml/Document.vala | 85 +++++++++++++++++++++++++++++++++--------------------- 1 file changed, 52 insertions(+), 33 deletions(-) commit 6966c4466de0a08e38cc29fe9a7fe83d60e5541f Author: Richard Schwarting Date: Sat Jul 27 00:01:53 2013 -0400 Document.vala: Update comments, particularly with references to spec gxml/Document.vala | 109 +++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 80 insertions(+), 29 deletions(-) commit 625d19ae45800851c6debed6f5cf7400c0f9dcc4 Author: Richard Schwarting Date: Sat Jul 27 00:00:18 2013 -0400 Change some errors in CharacterData and Text to use g_warning instead of GError gxml/Attr.vala | 17 ++++++----------- gxml/CharacterData.vala | 22 ++++++++++++++++++++-- gxml/Text.vala | 6 ++++-- test/CharacterDataTest.vala | 15 ++++++++++++++- test/TextTest.vala | 17 +++++++---------- 5 files changed, 51 insertions(+), 26 deletions(-) commit 4a4fa3fa3cf2998e6b0225e15a631c4a55c80410 Author: Richard Schwarting Date: Sat Jul 27 00:00:18 2013 -0400 Remove all throws declarations, since we're shifting to a document-level error variable gxml/Attr.vala | 8 ++++---- gxml/BackedNode.vala | 4 ++-- gxml/Document.vala | 30 +++++++++++++++--------------- gxml/DomNode.vala | 8 ++++---- gxml/Element.vala | 16 ++++++++-------- gxml/Entity.vala | 8 ++++---- gxml/NodeList.vala | 4 ++-- gxml/Text.vala | 2 +- 8 files changed, 40 insertions(+), 40 deletions(-) commit 078ab13462d6d477f1621c8c7a2c1516e41465f8 Author: Richard Schwarting Date: Sat Jul 27 00:00:18 2013 -0400 Change error handling from throwing errors to setting a document-level error variable (2) gxml/Document.vala | 20 ++++++++++++++------ gxml/NodeList.vala | 9 +++++---- gxml/ProcessingInstruction.vala | 2 +- gxml/Text.vala | 2 +- 4 files changed, 21 insertions(+), 12 deletions(-) commit 9c0df85406233e6ac161ac51086f3e87a0963047 Author: Richard Schwarting Date: Thu Aug 22 16:09:02 2013 -0400 configure.ac: no longer test version-sensitive libvala, instead use AM_PROG_VALAC. Fix bgo #706521. configure.ac | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) commit 6d4fa61b8fbb37b6f16c1caf507d81e2338ca491 Author: Richard Schwarting Date: Thu Aug 22 15:07:15 2013 -0400 NEWS: add Daniel's name NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)