Hello community, here is the log from the commit of package xmlbird for openSUSE:Factory checked in at 2020-08-29 20:33:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xmlbird (Old) and /work/SRC/openSUSE:Factory/.xmlbird.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xmlbird" Sat Aug 29 20:33:59 2020 rev:2 rq:829632 version:1.2.11 Changes: -------- --- /work/SRC/openSUSE:Factory/xmlbird/xmlbird.changes 2019-03-21 09:53:21.106788024 +0100 +++ /work/SRC/openSUSE:Factory/.xmlbird.new.3399/xmlbird.changes 2020-08-29 20:34:25.369265079 +0200 @@ -1,0 +2,6 @@ +Tue Aug 25 15:42:11 UTC 2020 - Dirk Mueller <[email protected]> + +- update to 1.2.11: + * no upstream changelog available + +------------------------------------------------------------------- Old: ---- xmlbird-1.2.10.tar.gz New: ---- xmlbird-1.2.11.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xmlbird.spec ++++++ --- /var/tmp/diff_new_pack.YCVN41/_old 2020-08-29 20:34:28.305266316 +0200 +++ /var/tmp/diff_new_pack.YCVN41/_new 2020-08-29 20:34:28.309266318 +0200 @@ -1,7 +1,7 @@ # # spec file for package xmlbird # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define soname libxmlbird %define sover 1 Name: xmlbird -Version: 1.2.10 +Version: 1.2.11 Release: 0 Summary: XML parser License: LGPL-3.0-or-later ++++++ xmlbird-1.2.10.tar.gz -> xmlbird-1.2.11.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xmlbird-1.2.10/.travis.yml new/xmlbird-1.2.11/.travis.yml --- old/xmlbird-1.2.10/.travis.yml 2018-10-14 16:59:17.000000000 +0200 +++ new/xmlbird-1.2.11/.travis.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,10 +0,0 @@ -language: c -compiler: gcc -before_install: - - sudo add-apt-repository ppa:vala-team/ppa -y - - sudo apt-get update -qq - - sudo apt-get install -qq libglib2.0-dev libgee-dev valac-0.22 python3 -script: - - python3 ./configure - - python3 ./build.py - - python3 ./test.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xmlbird-1.2.10/README.md new/xmlbird-1.2.11/README.md --- old/xmlbird-1.2.10/README.md 2018-10-14 16:59:17.000000000 +0200 +++ new/xmlbird-1.2.11/README.md 2019-11-30 21:39:01.000000000 +0100 @@ -1,6 +1,6 @@ ![xmlbird logo][xmlbird] -# XML Bird - XML parser +# XML Bird – XML parser XML Bird is an XML parser for programs written in Vala or C. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xmlbird-1.2.10/libxmlbird/XmlElement.vala new/xmlbird-1.2.11/libxmlbird/XmlElement.vala --- old/xmlbird-1.2.10/libxmlbird/XmlElement.vala 2018-10-14 16:59:17.000000000 +0200 +++ new/xmlbird-1.2.11/libxmlbird/XmlElement.vala 2019-11-30 21:39:01.000000000 +0100 @@ -38,10 +38,7 @@ attributes = parse_attributes (tag); leaf = children == null; - - if (leaf) { - content = tag.get_content (); - } + content = tag.get_content (); } internal XmlElement.attribute (Attribute attribute) { @@ -131,7 +128,7 @@ } public class Iterator : GLib.Object { - int index = 0; + int index = -1; Elements? xml_elements; internal Iterator (Elements? xml_elements) { @@ -144,6 +141,8 @@ } Elements e = (!) xml_elements; + index++; + return index < e.size; } @@ -154,8 +153,13 @@ } Elements e = (!) xml_elements; + + if (unlikely (index >= e.size || index < 0)) { + XmlParser.warning (@"Element index out of bounds ($index >= $(e.size))."); + return new XmlElement.empty (); + } + XmlElement element = e.get_element (index); - index++; return element; } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xmlbird-1.2.10/libxmlbird/XmlString.vala new/xmlbird-1.2.11/libxmlbird/XmlString.vala --- old/xmlbird-1.2.10/libxmlbird/XmlString.vala 2018-10-14 16:59:17.000000000 +0200 +++ new/xmlbird-1.2.11/libxmlbird/XmlString.vala 2019-11-30 21:39:01.000000000 +0100 @@ -16,7 +16,7 @@ /** * Representation of a string in the XmlParser. This class adds reference - * counting and copies a pointer to string instead of the data. It is + * counting and copies a pointer to the string instead of the data. It is * faster if the string is big. */ internal class XmlString : GLib.Object { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xmlbird-1.2.10/scripts/version.py new/xmlbird-1.2.11/scripts/version.py --- old/xmlbird-1.2.10/scripts/version.py 2018-10-14 16:59:17.000000000 +0200 +++ new/xmlbird-1.2.11/scripts/version.py 2019-11-30 21:39:01.000000000 +0100 @@ -13,7 +13,7 @@ Lesser General Public License for more details. """ -XMLBIRD_VERSION = '1.2.10' +XMLBIRD_VERSION = '1.2.11' LIBXMLBIRD_SO_VERSION_MAJOR = '1' LIBXMLBIRD_SO_VERSION_MINOR = '0' LIBXMLBIRD_SO_VERSION = LIBXMLBIRD_SO_VERSION_MAJOR;
