Commit dd6bbd2f authored by Philip Withnall's avatar Philip Withnall

Release version 0.17.2

parent 6056e5fd
Overview of changes from libgdata 0.17.1 to libgdata 0.17.2
===========================================================
Major changes:
• More Google Drive API porting
• Port from v2 to v3 of the Calendar API
• Update and re-enable a lot of unit tests
(streams, youtube, freebase, calendar).
• Add calendar-cli demo
• Port to use installed-tests; this adds --enable-always-build-tests and
--enable-installed-tests configure options
• Port to autoconf-archive macros and add an implicit build-time dependency
on autoconf-archive
• Allow applications to store and restore the refresh token for a
GDataOAuth2Authorizer to avoid re-authenticating on each startup
• Bump libuhttpmock dependency to 0.5.0
API changes:
• Add gdata_calendar_service_insert_calendar_event(),
gdata_calendar_service_insert_calendar_event_async()
• Deprecate GDataCalendarCalendar:times-cleaned,
gdata_calendar_calendar_get_times_cleaned(), GDataCalendarCalendar:edited,
gdata_calendar_calendar_get_edited()
• Deprecate GDataCalendarFeed:timezone, gdata_calendar_feed_get_timezone(),
GDataCalendarFeed:times-cleaned, gdata_calendar_feed_get_times_cleaned()
• Add GDataAccessHandlerIface.get_rules as a virtual method backing
gdata_access_handler_get_rules()
• Add GDataCalendarAccessRule
• Add GDataDocumentsAccessRule
• Add gdata_oauth2_authorizer_dup_refresh_token(),
gdata_oauth2_authorizer_set_refresh_token()
• Add GDataBatchable.is_supported virtual function
Bugs fixed:
• Bug 684920 — Port to Google Drive API v2
• Bug 664353 — Upgrade to Calendar API version 3
• Bug 750335 — Silence a bunch of warnings
• Bug 750480 — Fix -Werror build for clang
• Bug 750395 — Fix the GDataAccessRule example
• Bug 750746 — Cold start OAuth2 authorization
• Bug 751782 — Enable Drive authorization domains if a GOA account has "files" enabled
• Bug 750914 — Build fails because -Werror=unused-function
Updated translations:
• oc (Cédric Valmary (Tot en òc))
• pl (Piotr Drąg)
• pt (Pedro Albuquerque)
• th (Akom Chotiphantawanon)
Overview of changes from libgdata 0.17.0 to libgdata 0.17.1
===========================================================
......
......@@ -59,7 +59,7 @@ GDK_PIXBUF_MAX_ALLOWED=GDK_VERSION_2_14
# 4. If any interfaces have been removed or changed since the last public release, then set age to 0.
#
# Note that versioning started at 2:0:0 to ensure no conflicts with e-d-s' libgdata library, whose maximum version was 1:0:0
GDATA_LT_VERSION=22:0:0
GDATA_LT_VERSION=23:0:1
AC_SUBST(GDATA_LT_VERSION)
GDATA_VERSION_MAJOR=gdata_version_major
......
......@@ -290,6 +290,10 @@
<title>Index of new symbols in 0.17.0</title>
<xi:include href="xml/api-index-0.17.0.xml"><xi:fallback/></xi:include>
</index>
<index role="0.17.2">
<title>Index of new symbols in 0.17.2</title>
<xi:include href="xml/api-index-0.17.2.xml"><xi:fallback/></xi:include>
</index>
<xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
</part>
</book>
......@@ -66,7 +66,7 @@ typedef struct _GDataAccessHandler GDataAccessHandler; /* dummy typedef */
* access rules don't require authorization; new in version 0.9.0
* @get_rules: (nullable): a function to query, parse and return a #GDataFeed of
* #GDataAccessRules for a given entry — the virtual function for
* gdata_access_handler_get_rules(); new in version UNRELEASED
* gdata_access_handler_get_rules(); new in version 0.17.2
*
* The class structure for the #GDataAccessHandler interface.
*
......
......@@ -52,7 +52,7 @@ typedef struct _GDataBatchable GDataBatchable; /* dummy typedef */
* #GDataBatchable to return %FALSE for all #GDataBatchOperationTypes if the
* server no longer supports batch operations. If this method is not
* implemented, it is assumed that all #GDataBatchOperationTypes are
* supported. Since: UNRELEASED.
* supported. Since: 0.17.2.
*
* All the fields in the #GDataBatchableIface structure are private and should never be accessed directly.
*
......
......@@ -831,7 +831,7 @@ gdata_entry_get_etag (GDataEntry *self)
*
* Sets the value of the #GDataEntry:etag property to @etag.
*
* Since: UNRELEASED
* Since: 0.17.2
*/
void
_gdata_entry_set_etag (GDataEntry *self, const gchar *etag)
......
......@@ -375,7 +375,7 @@ gdata_oauth2_authorizer_class_init (GDataOAuth2AuthorizerClass *klass)
*
* The refresh token is opaque data and must not be parsed.
*
* Since: UNRELEASED
* Since: 0.17.2
*/
g_object_class_install_property (gobject_class, PROP_REFRESH_TOKEN,
g_param_spec_string ("refresh-token",
......@@ -1390,7 +1390,7 @@ gdata_oauth2_authorizer_get_client_secret (GDataOAuth2Authorizer *self)
*
* Return value: (transfer full): the authorizer's refresh token
*
* Since: UNRELEASED
* Since: 0.17.2
*/
gchar *
gdata_oauth2_authorizer_dup_refresh_token (GDataOAuth2Authorizer *self)
......@@ -1419,7 +1419,7 @@ gdata_oauth2_authorizer_dup_refresh_token (GDataOAuth2Authorizer *self)
* This is used to periodically refresh the access token. Set it to %NULL to
* clear the current authentication from the authorizer.
*
* Since: UNRELEASED
* Since: 0.17.2
*/
void
gdata_oauth2_authorizer_set_refresh_token (GDataOAuth2Authorizer *self,
......
......@@ -1134,7 +1134,7 @@ gdata_parser_strv_from_json_member (JsonReader *reader,
*
* Return value: %TRUE if @element matched @element_name, %FALSE otherwise
*
* Since: UNRELEASED
* Since: 0.17.2
*/
gboolean
gdata_parser_color_from_json_member (JsonReader *reader,
......
......@@ -26,7 +26,7 @@
* #GDataCalendarAccessRule is a subclass of #GDataAccessRule to represent an
* access rule affecting users of a shared calendar in Google Calendar.
*
* Since: UNRELEASED
* Since: 0.17.2
*/
#include <config.h>
......@@ -263,7 +263,7 @@ get_content_type (void)
* Return value: (transfer full): a new #GDataCalendarAccessRule; unref with
* g_object_unref()
*
* Since: UNRELEASED
* Since: 0.17.2
*/
GDataCalendarAccessRule *
gdata_calendar_access_rule_new (const gchar *id)
......
......@@ -91,7 +91,7 @@ G_BEGIN_DECLS
* All the fields in the #GDataCalendarAccessRule structure are private and
* should never be accessed directly.
*
* Since: UNRELEASED
* Since: 0.17.2
*/
typedef struct {
GDataAccessRule parent;
......@@ -103,7 +103,7 @@ typedef struct {
* All the fields in the #GDataCalendarAccessRuleClass structure are private
* and should never be accessed directly.
*
* Since: UNRELEASED
* Since: 0.17.2
*/
typedef struct {
/*< private >*/
......
......@@ -154,7 +154,7 @@ gdata_calendar_calendar_class_init (GDataCalendarCalendarClass *klass)
*
* The number of times the calendar has been cleared of events.
*
* Deprecated: UNRELEASED: Unsupported by the online API any more. There
* Deprecated: 0.17.2: Unsupported by the online API any more. There
* is no replacement; this will always return
* <code class="literal">0</code>.
**/
......@@ -184,7 +184,7 @@ gdata_calendar_calendar_class_init (GDataCalendarCalendarClass *klass)
*
* The background color used to highlight the calendar in the user’s
* browser. This used to be restricted to a limited set of colours, but
* since UNRELEASED may be any RGB colour.
* since 0.17.2 may be any RGB colour.
**/
g_object_class_install_property (gobject_class, PROP_COLOR,
g_param_spec_boxed ("color",
......@@ -226,7 +226,7 @@ gdata_calendar_calendar_class_init (GDataCalendarCalendarClass *klass)
* For more information, see the <ulink type="http" url="http://www.atomenabled.org/developers/protocol/#appEdited">
* Atom Publishing Protocol specification</ulink>.
*
* Deprecated: UNRELEASED: Unsupported by the online API any more. There
* Deprecated: 0.17.2: Unsupported by the online API any more. There
* is no replacement; this will always return -1.
**/
g_object_class_install_property (gobject_class, PROP_EDITED,
......@@ -663,7 +663,7 @@ gdata_calendar_calendar_set_timezone (GDataCalendarCalendar *self, const gchar *
* Gets the #GDataCalendarCalendar:times-cleaned property.
*
* Return value: the number of times the calendar has been totally emptied
* Deprecated: UNRELEASED: Unsupported by the online API any more. There is no
* Deprecated: 0.17.2: Unsupported by the online API any more. There is no
* replacement; this will always return <code class="literal">0</code>.
**/
guint
......@@ -794,7 +794,7 @@ gdata_calendar_calendar_get_access_level (GDataCalendarCalendar *self)
* Gets the #GDataCalendarCalendar:edited property. If the property is unset, <code class="literal">-1</code> will be returned.
*
* Return value: the UNIX timestamp for the time the calendar was last edited, or <code class="literal">-1</code>
* Deprecated: UNRELEASED: Unsupported by the online API any more. There is no
* Deprecated: 0.17.2: Unsupported by the online API any more. There is no
* replacement; this will always return <code class="literal">-1</code>.
**/
gint64
......
......@@ -57,7 +57,7 @@ gdata_calendar_feed_class_init (GDataCalendarFeedClass *klass)
* url="http://en.wikipedia.org/wiki/Tz_database#Names_of_time_zones">reference</ulink>.
*
* Since: 0.3.0
* Deprecated: UNRELEASED: Unsupported by the online API any more. There
* Deprecated: 0.17.2: Unsupported by the online API any more. There
* is no replacement; this will always return %NULL.
**/
g_object_class_install_property (gobject_class, PROP_TIMEZONE,
......@@ -74,7 +74,7 @@ gdata_calendar_feed_class_init (GDataCalendarFeedClass *klass)
* The number of times the feed has been completely cleared of entries.
*
* Since: 0.3.0
* Deprecated: UNRELEASED: Unsupported by the online API any more. There
* Deprecated: 0.17.2: Unsupported by the online API any more. There
* is no replacement; this will always return 0.
**/
g_object_class_install_property (gobject_class, PROP_TIMES_CLEANED,
......@@ -126,7 +126,7 @@ gdata_calendar_feed_get_property (GObject *object, guint property_id, GValue *va
* Return value: the feed's timezone, or %NULL
*
* Since: 0.3.0
* Deprecated: UNRELEASED: Unsupported by the online API any more. There is no
* Deprecated: 0.17.2: Unsupported by the online API any more. There is no
* replacement; this will always return %NULL.
**/
const gchar *
......@@ -146,7 +146,7 @@ gdata_calendar_feed_get_timezone (GDataCalendarFeed *self)
* Return value: the number of times the feed has been totally emptied
*
* Since: 0.3.0
* Deprecated: UNRELEASED: Unsupported by the online API any more. There is no
* Deprecated: 0.17.2: Unsupported by the online API any more. There is no
* replacement; this will always return %NULL.
**/
guint
......
......@@ -129,7 +129,7 @@
* </programlisting>
* </example>
*
* Before version UNRELEASED, the Calendar service could be manipulated using
* Before version 0.17.2, the Calendar service could be manipulated using
* batch operations. That is no longer supported, and any batch operations
* created on the calendar will fail.
**/
......@@ -764,7 +764,7 @@ gdata_calendar_service_query_events_async (GDataCalendarService *self, GDataCale
* Return value: (transfer full): an updated #GDataCalendarEvent, or %NULL; unref with g_object_unref()
*
* Since: 0.2.0
* Deprecated: UNRELEASED: Use gdata_calendar_service_insert_calendar_event()
* Deprecated: 0.17.2: Use gdata_calendar_service_insert_calendar_event()
* instead to be able to specify the calendar to add the event to; otherwise
* the default calendar will be used.
**/
......@@ -802,7 +802,7 @@ gdata_calendar_service_insert_event (GDataCalendarService *self, GDataCalendarEv
* Return value: (transfer full): an updated #GDataCalendarEvent, or %NULL;
* unref with g_object_unref()
*
* Since: UNRELEASED
* Since: 0.17.2
*/
GDataCalendarEvent *
gdata_calendar_service_insert_calendar_event (GDataCalendarService *self,
......@@ -848,7 +848,7 @@ gdata_calendar_service_insert_calendar_event (GDataCalendarService *self,
* gdata_service_insert_entry_async(), which is the base asynchronous insertion function.
*
* Since: 0.8.0
* Deprecated: UNRELEASED: Use
* Deprecated: 0.17.2: Use
* gdata_calendar_service_insert_calendar_event_async() instead to be able to
* specify the calendar to add the event to; otherwise the default calendar
* will be used.
......@@ -890,7 +890,7 @@ gdata_calendar_service_insert_event_async (GDataCalendarService *self, GDataCale
* synchronous version of this function, and gdata_service_insert_entry_async(),
* which is the base asynchronous insertion function.
*
* Since: UNRELEASED
* Since: 0.17.2
*/
void
gdata_calendar_service_insert_calendar_event_async (GDataCalendarService *self,
......
......@@ -26,7 +26,7 @@
* #GDataDocumentsAccessRule is a subclass of #GDataAccessRule to represent an
* access rule affecting users of a Google Documents entry.
*
* Since: UNRELEASED
* Since: 0.17.2
*/
#include <config.h>
......@@ -216,7 +216,7 @@ get_json (GDataParsable *parsable, JsonBuilder *builder)
* Return value: (transfer full): a new #GDataDocumentsAccessRule; unref with
* g_object_unref()
*
* Since: UNRELEASED
* Since: 0.17.2
*/
GDataDocumentsAccessRule *
gdata_documents_access_rule_new (const gchar *id)
......
......@@ -40,7 +40,7 @@ G_BEGIN_DECLS
* All the fields in the #GDataDocumentsAccessRule structure are private and
* should never be accessed directly.
*
* Since: UNRELEASED
* Since: 0.17.2
*/
typedef struct {
GDataAccessRule parent;
......@@ -52,7 +52,7 @@ typedef struct {
* All the fields in the #GDataDocumentsAccessRuleClass structure are private
* and should never be accessed directly.
*
* Since: UNRELEASED
* Since: 0.17.2
*/
typedef struct {
/*< private >*/
......
......@@ -35,7 +35,7 @@
*
* Return value: a #GType corresponding to @content_type
*
* Since: UNRELEASED
* Since: 0.17.2
*/
GType
gdata_documents_utils_get_type_from_content_type (const gchar *content_type)
......
......@@ -533,7 +533,7 @@ _gdata_youtube_comment_set_channel_id (GDataYouTubeComment *self,
* comment has not yet been inserted, or if it is just attached to a channel
* rather than a video.
*
* Since: UNRELEASED
* Since: 0.17.2
*/
void
_gdata_youtube_comment_set_video_id (GDataYouTubeComment *self,
......@@ -558,7 +558,7 @@ _gdata_youtube_comment_set_video_id (GDataYouTubeComment *self,
* Set the ID of the channel the comment is attached to. This may be %NULL if
* the comment has not yet been inserted, but must be set otherwise.
*
* Since: UNRELEASED
* Since: 0.17.2
*/
void
_gdata_youtube_comment_set_channel_id (GDataYouTubeComment *self,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment