commit 6183ad324e74633c2044fdd3700b9e4fd8edb3e6 Author: Bastien Nocera Date: Wed Apr 29 11:39:01 2015 +0200 0.3.1 NEWS | 9 +++++++++ configure.ac | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) commit 51af68df5bfcf143bc8cced02f96c79403884a8f Author: Heiher Date: Tue Apr 21 07:51:00 2015 +0800 gom: Fix converting pointer to GType A gpointer will be the same size as a GType (64-bit), but GPOINTER_TO_INT() will clamp that to int (32-bit) causing crashes when we try to access the invalid GType values. This solves crashes when gom was compiled with "-fPIE -pie" CFLAGS https://bugzilla.gnome.org/show_bug.cgi?id=748196 gom/gom-repository.c | 5 ++--- gom/gom-resource.c | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) commit 363b4669dd8e95c17a35944f1c75cc066792787a Author: Alexander Larsson Date: Tue Apr 14 16:48:39 2015 +0200 tests: Test id setting and deletion in stress1 test too tests/test-gom-stress.c | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) commit 9fe1ed826d15bda1c4acb12a80ba254b2bfcc28b Author: Alexander Larsson Date: Tue Apr 14 15:49:43 2015 +0200 gom: Add gom_resource_group_delete_[a]sync functions These are for deleting a group of objects as a transaction. https://bugzilla.gnome.org/show_bug.cgi?id=747849 gom/gom-resource-group.c | 146 +++++++++++++++++++++++++++++++++++++++++++++++ gom/gom-resource-group.h | 8 +++ gom/gom-resource-priv.h | 3 + gom/gom-resource.c | 2 +- tests/test-gom-stress.c | 20 +++++++ 5 files changed, 178 insertions(+), 1 deletion(-) commit 67d76633ffbdb7a566958be24059c4e251491d59 Author: Alexander Larsson Date: Tue Apr 14 15:41:35 2015 +0200 gom: Ensure we update ids when saving a resource group We move the freeing of the items to the destruction of the asyncresult and then we iterate over all items calling gom_resource_set_post_save_properties on a successfull operation. This also updates test-gom-stress to ensure we're getting the right ids when calling gom_resource_group_write_sync(). https://bugzilla.gnome.org/show_bug.cgi?id=747849 gom/gom-resource-group.c | 26 +++++++++++++++++++++----- gom/gom-resource-priv.h | 19 +++++++++++-------- gom/gom-resource.c | 8 ++++---- tests/test-gom-stress.c | 14 +++++++++++++- 4 files changed, 49 insertions(+), 18 deletions(-) commit f2ef936eace226b6178eb0690ee09b5af155e07a Author: Alexander Larsson Date: Fri Apr 10 14:44:35 2015 +0200 tests: Add test for IS [NOT] NULL filters https://bugzilla.gnome.org/show_bug.cgi?id=747618 tests/test-gom-find-specific.c | 113 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 112 insertions(+), 1 deletion(-) commit bcee8b7b67ffb387c24c50def35de54dea33b2f6 Author: Alexander Larsson Date: Fri Apr 10 14:44:17 2015 +0200 filter: Add IS NULL and IS NOT NULL filters https://bugzilla.gnome.org/show_bug.cgi?id=747618 gom/gom-filter.c | 48 +++++++++++++++++++++++++++---- gom/gom-filter.h | 86 ++++++++++++++++++++++++++++++-------------------------- 2 files changed, 89 insertions(+), 45 deletions(-) commit d62e3743d82b044669d27832c83ff6a40c07f511 Author: Álvaro Peña Date: Tue Mar 31 09:31:20 2015 +0200 resource: Fix saving a modified object again If the resource has been saved correctly in the database, we need to set to TRUE the "is-from-table" data related to the GomResource object. This data is used to set the "is_from_table" internal variable. https://bugzilla.gnome.org/show_bug.cgi?id=742925 gom/gom-resource.c | 2 ++ 1 file changed, 2 insertions(+) commit 9748e261843207eef144c9142310cc27d021f1fb Author: Álvaro Peña Date: Tue Mar 31 09:30:52 2015 +0200 tests: Update an object after created This test ensures that an object that has been saved can be updated with the same reference. https://bugzilla.gnome.org/show_bug.cgi?id=742925 tests/Makefile.include | 6 ++ tests/test-gom-update.c | 207 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 213 insertions(+) commit bb59a549738f3d34c7701a84f96fc6ad3a5a994e Author: Samir Ribic Date: Fri Mar 13 23:37:56 2015 +0000 Added Bosnian translation po/LINGUAS | 1 + po/bs.po | 199 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 200 insertions(+) commit 2e4d297d21d3e3a494d986da0951e97397b5ae0c Author: Alexander Larsson Date: Thu Mar 12 14:52:43 2015 +0100 Support g_autoptr() for all gom object types This allows you to use e.g. g_autoptr(GomResource) in your code, but does not make gom itself use g_autoptr, or require a new enough glib to support it. https://bugzilla.gnome.org/show_bug.cgi?id=746095 gom/Makefile.include | 1 + gom/gom-autocleanups.h | 40 ++++++++++++++++++++++++++++++++++++++++ gom/gom.h | 2 ++ 3 files changed, 43 insertions(+)