[gxml] Release 0.9.90



commit acb803c34ccf108abdabcf0aff187fee15c88197
Author: Daniel Espinosa <esodan gmail com>
Date:   Tue Mar 15 20:10:11 2016 -0600

    Release 0.9.90

 NEWS                            |   14 ++++++++++++--
 configure.ac                    |    2 +-
 gxml/GXmlDocument.vala          |    2 +-
 gxml/SerializableProperty.vala  |    2 +-
 gxml/TDocument.vala             |    2 +-
 test/GDocumentTest.vala         |    2 +-
 test/Makefile.am                |    4 +++-
 test/gxml-performance-graph.ods |  Bin 0 -> 17449 bytes
 8 files changed, 20 insertions(+), 8 deletions(-)
---
diff --git a/NEWS b/NEWS
index 95c6922..3299080 100644
--- a/NEWS
+++ b/NEWS
@@ -1,9 +1,19 @@
 ===============
-Version 0.9.3
+Version 0.9.90
 ===============
 
 * API change TwNode and derived classes renamed to TNode
-* Added Read capabilities to TDocument
+* Added parse capabilities to TDocument
+* Improved performance tests, pointing: GDocument has better memory usage and
+  better performance than xDocument; TDocument has better performance than
+  GDocument but more memory usage than GDocument.
+* Bug fixes
+* New and updated translations:
+    Updated Czech      by Marek Černocký <marek manet cz>
+    Added Hungarian    by Matej Urbančič <mateju svn gnome org>
+    Added Slovenian    by Matej Urbančič <mateju svn gnome org>
+    Added Greek        by Γιάννης Κουτσούκος <giankoyt gmail com>
+    
 
 
 ===============
diff --git a/configure.ac b/configure.ac
index 5d1dd07..bb5e8c9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12,7 +12,7 @@
 # Release Version
 m4_define([project_major_version], [0])
 m4_define([project_minor_version], [9])
-m4_define([project_micro_version], [3])
+m4_define([project_micro_version], [90])
 m4_define([project_nano_version], [0])
 
 # LT_VERSION
diff --git a/gxml/GXmlDocument.vala b/gxml/GXmlDocument.vala
index c276fea..5ebc6f9 100644
--- a/gxml/GXmlDocument.vala
+++ b/gxml/GXmlDocument.vala
@@ -70,7 +70,7 @@ public class GXml.GDocument : GXml.GNode, GXml.Document
     var b = new MemoryOutputStream.resizable ();
     b.splice (istream, 0);
     if (b.data == null)
-      throw new DocumentError.INVALID_DOCUMENT_ERROR ("stream doesn't provide data'");
+      throw new DocumentError.INVALID_DOCUMENT_ERROR (_("stream doesn't provide data"));
     this.from_string ((string) b.data);
   }
   public GDocument.from_doc (Xml.Doc doc) { this.doc = doc; }
diff --git a/gxml/SerializableProperty.vala b/gxml/SerializableProperty.vala
index bda8eb9..c184034 100644
--- a/gxml/SerializableProperty.vala
+++ b/gxml/SerializableProperty.vala
@@ -112,7 +112,7 @@ public interface GXml.SerializableProperty : Object
       return false;
     }
     if (attr.name == null) {
-      GLib.warning ("XML Attribute name is not set, when deserializing to: "+this.get_type ().name ());
+      GLib.warning (_("XML Attribute name is not set, when deserializing to: %s"), this.get_type ().name ());
       return false;
     }
     string name = "";
diff --git a/gxml/TDocument.vala b/gxml/TDocument.vala
index c5c657d..a3e7dc6 100644
--- a/gxml/TDocument.vala
+++ b/gxml/TDocument.vala
@@ -113,7 +113,7 @@ public class GXml.TDocument : GXml.TNode, GXml.Document
           }
         }
         if (found > 1) {
-          GLib.warning ("Document have more than one root GXmlElement. Using first found");
+          GLib.warning (_("Document have more than one root GXmlElement. Using first found"));
         }
       }
       return _root;
diff --git a/test/GDocumentTest.vala b/test/GDocumentTest.vala
index 69c54d9..8bb8826 100644
--- a/test/GDocumentTest.vala
+++ b/test/GDocumentTest.vala
@@ -295,7 +295,7 @@ class GDocumentTest : GXmlTest {
                                assert (d.root.children[1].children[1].children[1].children.size == 1);
                                assert (d.root.children[1].children[1].children[1].children[0] is GXml.Text);
                                assert (d.root.children[1].children[1].children[1].children[0].value == 
"status_only");
-                       } catch { assert_not_reached (); }
+                       } catch (GLib.Error e) { GLib.message ("ERROR: "+e.message); assert_not_reached (); }
                });
                Test.add_func ("/gxml/gdocument/libxml_to_string", () => {
                        try {
diff --git a/test/Makefile.am b/test/Makefile.am
index b8b120c..3ea62a6 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -146,7 +146,8 @@ CLEANFILES = \
 DISTCLEANFILES = \
   _serialization_test_*.xml \
   test-large-tw.xml \
-  tw-test.xml
+  tw-test.xml \
+  t-test.xml
 
 EXTRA_DIST += \
        $(sources) \
@@ -159,5 +160,6 @@ EXTRA_DIST += \
        test-collection.xml \
        index.html \
        t-read-test.xml \
+       gdocument-read.xml \
        $(NULL)
 
diff --git a/test/gxml-performance-graph.ods b/test/gxml-performance-graph.ods
new file mode 100644
index 0000000..771428b
Binary files /dev/null and b/test/gxml-performance-graph.ods differ


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]