summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-07-29 09:26:16 +0100
committerRichard Hughes <richard@hughsie.com>2016-07-29 09:26:45 +0100
commit285fdc7e51ba51d7ff09748f3adeddc0a061a412 (patch)
tree68bc653001ccd38a2d47f3cb077d7d79bdc7337e
parent284c54de42e95fbda366835bb618092cf38b2ebc (diff)
downloadappstream-glib-285fdc7e51ba51d7ff09748f3adeddc0a061a412.tar.gz
trivial: Post branch version bump
Also, fix the 'Since' tags on the API not in the 0.5.* branch.
-rw-r--r--RELEASE6
-rw-r--r--configure.ac4
-rw-r--r--libappstream-glib/as-app.c4
-rw-r--r--libappstream-glib/as-app.h2
-rw-r--r--libappstream-glib/as-node.c4
-rw-r--r--libappstream-glib/as-review.c82
-rw-r--r--libappstream-glib/as-review.h2
-rw-r--r--libappstream-glib/as-tag.h10
-rw-r--r--libappstream-glib/as-utils.c2
9 files changed, 58 insertions, 58 deletions
diff --git a/RELEASE b/RELEASE
index 3cbd5d4..1d02705 100644
--- a/RELEASE
+++ b/RELEASE
@@ -5,7 +5,7 @@ Appstream-Glib Release Notes
git shortlog appstream_glib_0_5_17.. | grep -i -v trivial | grep -v Merge > NEWS.new
--------------------------------------------------------------------------------
-Version 0.5.18
+Version 0.6.1
~~~~~~~~~~~~~~
Released: 2016-xx-xx
@@ -28,8 +28,8 @@ git add *.po
4. Commit changes in git:
-git commit -a -m "Release version 0.5.18"
-git tag -s -f -m "Release 0.5.18" appstream_glib_0_5_18
+git commit -a -m "Release version 0.6.1"
+git tag -s -f -m "Release 0.6.1" appstream_glib_0.6.1
<gpg password>
git push --tags
git push
diff --git a/configure.ac b/configure.ac
index f9aa97e..bbfd828 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,8 +1,8 @@
AC_PREREQ(2.63)
m4_define([as_major_version], [0])
-m4_define([as_minor_version], [5])
-m4_define([as_micro_version], [18])
+m4_define([as_minor_version], [6])
+m4_define([as_micro_version], [1])
m4_define([as_version],
[as_major_version.as_minor_version.as_micro_version])
diff --git a/libappstream-glib/as-app.c b/libappstream-glib/as-app.c
index 8c26eb1..cf64c46 100644
--- a/libappstream-glib/as-app.c
+++ b/libappstream-glib/as-app.c
@@ -850,7 +850,7 @@ as_app_get_screenshots (AsApp *app)
*
* Returns: (element-type AsScreenshot) (transfer none): an array
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
GPtrArray *
as_app_get_reviews (AsApp *app)
@@ -2567,7 +2567,7 @@ as_app_add_screenshot (AsApp *app, AsScreenshot *screenshot)
*
* Adds a review to an application.
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
void
as_app_add_review (AsApp *app, AsReview *review)
diff --git a/libappstream-glib/as-app.h b/libappstream-glib/as-app.h
index d642333..5c68c78 100644
--- a/libappstream-glib/as-app.h
+++ b/libappstream-glib/as-app.h
@@ -78,7 +78,7 @@ typedef enum {
AS_APP_PARSE_FLAG_APPEND_DATA = 8, /* Since: 0.1.8 */
AS_APP_PARSE_FLAG_ALLOW_VETO = 16, /* Since: 0.2.5 */
AS_APP_PARSE_FLAG_USE_FALLBACKS = 32, /* Since: 0.4.1 */
- AS_APP_PARSE_FLAG_ADD_ALL_METADATA = 64, /* Since: 0.5.18 */
+ AS_APP_PARSE_FLAG_ADD_ALL_METADATA = 64, /* Since: 0.6.1 */
/*< private >*/
AS_APP_PARSE_FLAG_LAST,
} AsAppParseFlags;
diff --git a/libappstream-glib/as-node.c b/libappstream-glib/as-node.c
index 513be2d..9d651d4 100644
--- a/libappstream-glib/as-node.c
+++ b/libappstream-glib/as-node.c
@@ -1065,7 +1065,7 @@ as_node_get_attribute_as_int (const AsNode *node, const gchar *key)
*
* Return value: integer value, or %G_MAXINT for error
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
guint
as_node_get_attribute_as_uint (const AsNode *node, const gchar *key)
@@ -1223,7 +1223,7 @@ as_node_add_attribute_as_int (AsNode *node, const gchar *key, gint value)
*
* Adds a new attribute to a node.
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
void
as_node_add_attribute_as_uint (AsNode *node, const gchar *key, guint value)
diff --git a/libappstream-glib/as-review.c b/libappstream-glib/as-review.c
index 9488ff6..d54db98 100644
--- a/libappstream-glib/as-review.c
+++ b/libappstream-glib/as-review.c
@@ -29,7 +29,7 @@
*
* This object represents a user-submitted application review.
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
#include "config.h"
@@ -192,7 +192,7 @@ as_review_class_init (AsReviewClass *klass)
/**
* AsReview:id:
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
pspec = g_param_spec_string ("id", NULL, NULL,
NULL,
@@ -202,7 +202,7 @@ as_review_class_init (AsReviewClass *klass)
/**
* AsReview:summary:
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
pspec = g_param_spec_string ("summary", NULL, NULL,
NULL,
@@ -212,7 +212,7 @@ as_review_class_init (AsReviewClass *klass)
/**
* AsReview:description:
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
pspec = g_param_spec_string ("description", NULL, NULL,
NULL,
@@ -222,7 +222,7 @@ as_review_class_init (AsReviewClass *klass)
/**
* AsReview:locale:
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
pspec = g_param_spec_string ("locale", NULL, NULL,
NULL,
@@ -232,7 +232,7 @@ as_review_class_init (AsReviewClass *klass)
/**
* AsReview:rating:
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
pspec = g_param_spec_int ("rating", NULL, NULL,
-1, 100, 0,
@@ -242,7 +242,7 @@ as_review_class_init (AsReviewClass *klass)
/**
* AsReview:flags:
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
pspec = g_param_spec_uint64 ("flags", NULL, NULL,
AS_REVIEW_FLAG_NONE,
@@ -254,7 +254,7 @@ as_review_class_init (AsReviewClass *klass)
/**
* AsReview:version:
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
pspec = g_param_spec_string ("version", NULL, NULL,
NULL,
@@ -264,7 +264,7 @@ as_review_class_init (AsReviewClass *klass)
/**
* AsReview:reviewer-id:
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
pspec = g_param_spec_string ("reviewer-id", NULL, NULL,
NULL,
@@ -274,7 +274,7 @@ as_review_class_init (AsReviewClass *klass)
/**
* AsReview:reviewer-name:
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
pspec = g_param_spec_string ("reviewer-name", NULL, NULL,
NULL,
@@ -284,7 +284,7 @@ as_review_class_init (AsReviewClass *klass)
/**
* AsReview:date:
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
pspec = g_param_spec_object ("date", NULL, NULL,
AS_TYPE_REVIEW,
@@ -309,7 +309,7 @@ as_review_init (AsReview *review)
*
* Returns: the review priority, or 0 for unset.
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
gint
as_review_get_priority (AsReview *review)
@@ -327,7 +327,7 @@ as_review_get_priority (AsReview *review)
* Sets the priority for the review, where positive numbers indicate
* a better review for the specific user.
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
void
as_review_set_priority (AsReview *review, gint priority)
@@ -345,7 +345,7 @@ as_review_set_priority (AsReview *review, gint priority)
*
* Returns: the review identifier, e.g. "deadbeef"
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
const gchar *
as_review_get_id (AsReview *review)
@@ -363,7 +363,7 @@ as_review_get_id (AsReview *review)
*
* Returns: the one-line summary, e.g. "Awesome application"
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
const gchar *
as_review_get_summary (AsReview *review)
@@ -380,7 +380,7 @@ as_review_get_summary (AsReview *review)
*
* Sets the review identifier that is unique to each review.
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
void
as_review_set_id (AsReview *review, const gchar *id)
@@ -398,7 +398,7 @@ as_review_set_id (AsReview *review, const gchar *id)
*
* Sets the one-line summary that may be displayed in bold.
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
void
as_review_set_summary (AsReview *review, const gchar *summary)
@@ -417,7 +417,7 @@ as_review_set_summary (AsReview *review, const gchar *summary)
*
* Returns: the string, or %NULL
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
const gchar *
as_review_get_description (AsReview *review)
@@ -434,7 +434,7 @@ as_review_get_description (AsReview *review)
*
* Sets the multi-line review text that forms the body of the review.
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
void
as_review_set_description (AsReview *review, const gchar *description)
@@ -453,7 +453,7 @@ as_review_set_description (AsReview *review, const gchar *description)
*
* Returns: the string, or %NULL
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
const gchar *
as_review_get_locale (AsReview *review)
@@ -470,7 +470,7 @@ as_review_get_locale (AsReview *review)
*
* Sets the locale for the review.
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
void
as_review_set_locale (AsReview *review, const gchar *locale)
@@ -489,7 +489,7 @@ as_review_set_locale (AsReview *review, const gchar *locale)
*
* Returns: integer as a percentage, or 0 for unset
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
gint
as_review_get_rating (AsReview *review)
@@ -506,7 +506,7 @@ as_review_get_rating (AsReview *review)
*
* Sets the star rating of the review, where 100 is 5 stars..
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
void
as_review_set_rating (AsReview *review, gint rating)
@@ -525,7 +525,7 @@ as_review_set_rating (AsReview *review, gint rating)
*
* Returns: a #AsReviewFlags, e.g. %AS_REVIEW_FLAG_SELF
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
AsReviewFlags
as_review_get_flags (AsReview *review)
@@ -543,7 +543,7 @@ as_review_get_flags (AsReview *review)
* Gets any flags set on the review, for example if the user has already
* voted on the review or if the user wrote the review themselves.
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
void
as_review_set_flags (AsReview *review, AsReviewFlags flags)
@@ -560,7 +560,7 @@ as_review_set_flags (AsReview *review, AsReviewFlags flags)
*
* Adds flags to an existing review without replacing the other flags.
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
void
as_review_add_flags (AsReview *review, AsReviewFlags flags)
@@ -578,7 +578,7 @@ as_review_add_flags (AsReview *review, AsReviewFlags flags)
*
* Returns: the reviewer ID, e.g. "deadbeef", or %NULL
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
const gchar *
as_review_get_reviewer_id (AsReview *review)
@@ -596,7 +596,7 @@ as_review_get_reviewer_id (AsReview *review)
*
* Returns: the reviewer name, e.g. "David Smith", or %NULL
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
const gchar *
as_review_get_reviewer_name (AsReview *review)
@@ -613,7 +613,7 @@ as_review_get_reviewer_name (AsReview *review)
*
* Sets the name of the reviewer, which can be left unset.
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
void
as_review_set_reviewer_id (AsReview *review, const gchar *reviewer_id)
@@ -631,7 +631,7 @@ as_review_set_reviewer_id (AsReview *review, const gchar *reviewer_id)
*
* Sets the name of the reviewer, which can be left unset.
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
void
as_review_set_reviewer_name (AsReview *review, const gchar *reviewer_name)
@@ -649,7 +649,7 @@ as_review_set_reviewer_name (AsReview *review, const gchar *reviewer_name)
*
* Sets the version string for the application being reviewed.
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
void
as_review_set_version (AsReview *review, const gchar *version)
@@ -668,7 +668,7 @@ as_review_set_version (AsReview *review, const gchar *version)
*
* Returns: the version string, e.g. "0.1.2", or %NULL for unset
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
const gchar *
as_review_get_version (AsReview *review)
@@ -686,7 +686,7 @@ as_review_get_version (AsReview *review)
*
* Returns: (transfer none): the #GDateTime, or %NULL for unset
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
GDateTime *
as_review_get_date (AsReview *review)
@@ -703,7 +703,7 @@ as_review_get_date (AsReview *review)
*
* Sets the date the review was originally submitted.
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
void
as_review_set_date (AsReview *review, GDateTime *date)
@@ -726,7 +726,7 @@ as_review_set_date (AsReview *review, GDateTime *date)
*
* Returns: A string value, or %NULL for not found
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
const gchar *
as_review_get_metadata_item (AsReview *review, const gchar *key)
@@ -747,7 +747,7 @@ as_review_get_metadata_item (AsReview *review, const gchar *key)
* It is left for the the plugin to use this method as required, but a
* typical use would be to store some secure authentication token.
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
void
as_review_add_metadata (AsReview *review, const gchar *key, const gchar *value)
@@ -766,7 +766,7 @@ as_review_add_metadata (AsReview *review, const gchar *key, const gchar *value)
*
* Returns: %TRUE for success
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
gboolean
as_review_equal (AsReview *review1, AsReview *review2)
@@ -810,7 +810,7 @@ as_review_equal (AsReview *review1, AsReview *review2)
*
* Returns: (transfer none): A populated #GNode
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
GNode *
as_review_node_insert (AsReview *review, GNode *parent, AsNodeContext *ctx)
@@ -889,7 +889,7 @@ as_review_node_insert (AsReview *review, GNode *parent, AsNodeContext *ctx)
*
* Returns: %TRUE for success
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
gboolean
as_review_node_parse (AsReview *review, GNode *node,
@@ -975,7 +975,7 @@ as_review_node_parse (AsReview *review, GNode *node,
*
* Returns: %TRUE for success
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
gboolean
as_review_node_parse_dep11 (AsReview *im, GNode *node,
@@ -991,7 +991,7 @@ as_review_node_parse_dep11 (AsReview *im, GNode *node,
*
* Returns: (transfer full): a #AsReview
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
AsReview *
as_review_new (void)
diff --git a/libappstream-glib/as-review.h b/libappstream-glib/as-review.h
index e19e9c8..a2633e2 100644
--- a/libappstream-glib/as-review.h
+++ b/libappstream-glib/as-review.h
@@ -56,7 +56,7 @@ struct _AsReviewClass
*
* The flags for the review.
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
typedef enum {
AS_REVIEW_FLAG_NONE = 0,
diff --git a/libappstream-glib/as-tag.h b/libappstream-glib/as-tag.h
index f4eab76..3ceb884 100644
--- a/libappstream-glib/as-tag.h
+++ b/libappstream-glib/as-tag.h
@@ -143,11 +143,11 @@ typedef enum {
AS_TAG_TRANSLATION, /* Since: 0.5.8 */
AS_TAG_CONTENT_RATING, /* Since: 0.5.12 */
AS_TAG_CONTENT_ATTRIBUTE, /* Since: 0.5.12 */
- AS_TAG_VERSION, /* Since: 0.5.18 */
- AS_TAG_REVIEWS, /* Since: 0.5.18 */
- AS_TAG_REVIEW, /* Since: 0.5.18 */
- AS_TAG_REVIEWER_NAME, /* Since: 0.5.18 */
- AS_TAG_REVIEWER_ID, /* Since: 0.5.18 */
+ AS_TAG_VERSION, /* Since: 0.6.1 */
+ AS_TAG_REVIEWS, /* Since: 0.6.1 */
+ AS_TAG_REVIEW, /* Since: 0.6.1 */
+ AS_TAG_REVIEWER_NAME, /* Since: 0.6.1 */
+ AS_TAG_REVIEWER_ID, /* Since: 0.6.1 */
/*< private >*/
AS_TAG_LAST
} AsTag;
diff --git a/libappstream-glib/as-utils.c b/libappstream-glib/as-utils.c
index 78690c8..8d9123c 100644
--- a/libappstream-glib/as-utils.c
+++ b/libappstream-glib/as-utils.c
@@ -1678,7 +1678,7 @@ as_utils_string_replace (GString *string, const gchar *search, const gchar *repl
*
* Returns: a #GDateTime, or %NULL for error.
*
- * Since: 0.5.18
+ * Since: 0.6.1
**/
GDateTime *
as_utils_iso8601_to_datetime (const gchar *iso_date)