commit 32ee20d46978cf3e265dceda82c3947ed5c0595b Author: Philip Withnall Date: Mon Mar 29 23:03:00 2010 +0100 [tests] Added a missing #include gdata/tests/general.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 73920df8d9751b583dbc15ca5aee125de3808703 Author: Philip Withnall Date: Mon Mar 29 19:19:45 2010 +0100 [core] Improve error reporting when there's no network connection Add GDATA_SERVICE_ERROR_NETWORK_ERROR and GDATA_SERVICE_ERROR_PROXY_ERROR, to be returned by all network operations (authentication, queries, insertions, updates and deletions) in case of a local network error or a proxy error, respectively. gdata/gdata-service.c | 37 ++++++++++++++++++++++++++++--------- gdata/gdata-service.h | 12 +++++++++--- gdata/tests/general.c | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+), 12 deletions(-) commit f75bdd6ec554bc8fbb93820b83e74c28c9b86337 Author: Philip Withnall Date: Sat Mar 27 16:21:19 2010 +0000 [docs] More documentation warning fixes HACKING | 8 ++++++- gdata/atom/gdata-author.c | 6 +++- gdata/atom/gdata-category.c | 6 +++- gdata/atom/gdata-generator.c | 6 +++- gdata/atom/gdata-link.c | 14 +++++++----- gdata/exif/gdata-exif-tags.c | 12 +++++----- gdata/gd/gdata-gd-email-address.c | 6 +++- gdata/gd/gdata-gd-im-address.c | 6 +++- gdata/gd/gdata-gd-name.c | 6 +++- gdata/gd/gdata-gd-organization.c | 6 +++- gdata/gd/gdata-gd-phone-number.c | 6 +++- gdata/gd/gdata-gd-postal-address.c | 6 +++- gdata/gd/gdata-gd-reminder.c | 16 ++++++++------ gdata/gd/gdata-gd-when.c | 8 ++++-- gdata/gd/gdata-gd-where.c | 6 +++- gdata/gd/gdata-gd-who.c | 6 +++- gdata/gdata-buffer.c | 6 ++-- gdata/gdata-download-stream.c | 11 +++++---- gdata/gdata-feed.c | 6 ++-- gdata/gdata-parser.c | 2 +- gdata/gdata-query.c | 18 ++++++++-------- gdata/gdata-service.h | 7 +++-- gdata/gdata-upload-stream.c | 4 +- gdata/georss/gdata-georss-where.c | 5 ++- gdata/media/gdata-media-content.c | 8 +++--- gdata/media/gdata-media-thumbnail.c | 6 ++-- gdata/services/calendar/gdata-calendar-calendar.c | 2 +- gdata/services/calendar/gdata-calendar-event.c | 2 +- gdata/services/calendar/gdata-calendar-query.c | 8 +++--- gdata/services/contacts/gdata-contacts-contact.c | 4 +- gdata/services/documents/gdata-documents-entry.c | 4 +- .../documents/gdata-documents-spreadsheet.c | 12 +++++----- gdata/services/picasaweb/gdata-picasaweb-album.c | 16 ++++++++------ gdata/services/picasaweb/gdata-picasaweb-file.c | 22 ++++++++++--------- gdata/services/picasaweb/gdata-picasaweb-query.c | 13 ++++++----- gdata/services/picasaweb/gdata-picasaweb-user.c | 14 ++++++------ gdata/services/youtube/gdata-youtube-group.c | 4 +- gdata/services/youtube/gdata-youtube-query.c | 15 +++++++------ gdata/services/youtube/gdata-youtube-video.c | 6 ++-- 39 files changed, 181 insertions(+), 138 deletions(-) commit 12aff6fe46aab6fc1e30443f80c652f63b00bc04 Author: Philip Withnall Date: Sat Mar 27 00:28:56 2010 +0000 [documents] Minor documentation fix .../documents/gdata-documents-presentation.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 607628bc9432e241737af96a46f18b91e99d83e4 Author: Philip Withnall Date: Thu Mar 25 13:29:18 2010 +0000 [core] Ensure newly-created entries can never be inserted if they have an ID It should not be possible to use gdata_service_insert_entry() on an entry created by the program which has an ID. gdata/gdata-entry.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) commit 4220a521fcba43243ac2fd0b10340a8c6d481c80 Author: Philip Withnall Date: Thu Mar 25 13:10:22 2010 +0000 [docs] Small function link fix gdata/gdata-entry.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 85a55dbc2c0a174dfd84ec6a8b6094e38fc33a74 Author: Philip Withnall Date: Thu Mar 25 00:27:06 2010 +0000 [picasaweb] Add functions to get album and file IDs Add gdata_picasaweb_album_get_id() and gdata_picasaweb_file_get_id() to get the forms of ID which were previously (incorrectly) returned by gdata_entry_get_id() for the two classes. docs/reference/gdata-docs.xml | 4 + docs/reference/gdata-sections.txt | 2 + gdata/gdata-parsable.c | 6 +- gdata/gdata.symbols | 2 + gdata/services/picasaweb/gdata-picasaweb-album.c | 97 +++++++++++++++++++--- gdata/services/picasaweb/gdata-picasaweb-album.h | 1 + gdata/services/picasaweb/gdata-picasaweb-file.c | 82 +++++++++++++++++- gdata/services/picasaweb/gdata-picasaweb-file.h | 1 + gdata/tests/picasaweb.c | 10 ++- 9 files changed, 184 insertions(+), 21 deletions(-) commit 3a05c76a9f4d6da5a4b4db95faafa2932ae08265 Author: Philip Withnall Date: Wed Mar 24 23:35:49 2010 +0000 [core] Add namespace checks to all parse_xml() functions This should (theoretically, though untested) speed up parsing a little, since whole chunks of unrelated elements can now be skipped at once in the search for the right element. Important: these changes accidentally fix the behaviour of gdata_entry_get_id() for #GDataPicasaWebAlbum, which was returning incorrect results before. Any applications which depend on the broken behaviour should be updated to deal with the correct form IDs (i.e. URIs), or use a new gdata_picasaweb_album_get_id() function which will be added shortly. gdata/atom/gdata-author.c | 57 ++-- gdata/exif/gdata-exif-tags.c | 3 + gdata/gd/gdata-gd-name.c | 29 ++- gdata/gd/gdata-gd-organization.c | 8 +- gdata/gd/gdata-gd-postal-address.c | 29 +- gdata/gd/gdata-gd-when.c | 8 +- gdata/gdata-access-rule.c | 63 ++--- gdata/gdata-entry.c | 147 +++++----- gdata/gdata-feed.c | 301 +++++++++++---------- gdata/gdata-parser.c | 21 ++ gdata/gdata-parser.h | 3 + gdata/georss/gdata-georss-where.c | 9 +- gdata/media/gdata-media-group.c | 205 +++++++------- gdata/services/calendar/gdata-calendar-calendar.c | 130 +++++----- gdata/services/calendar/gdata-calendar-event.c | 262 +++++++++--------- gdata/services/calendar/gdata-calendar-feed.c | 8 +- gdata/services/contacts/gdata-contacts-contact.c | 175 ++++++------ gdata/services/documents/gdata-documents-entry.c | 97 ++++---- gdata/services/documents/gdata-documents-feed.c | 10 +- gdata/services/picasaweb/gdata-picasaweb-album.c | 191 +++++++------- gdata/services/picasaweb/gdata-picasaweb-feed.c | 107 ++++---- gdata/services/picasaweb/gdata-picasaweb-file.c | 191 +++++++------- gdata/services/picasaweb/gdata-picasaweb-user.c | 10 +- gdata/services/youtube/gdata-youtube-control.c | 11 +- gdata/services/youtube/gdata-youtube-group.c | 135 +++++----- gdata/services/youtube/gdata-youtube-video.c | 217 ++++++++------- gdata/tests/picasaweb.c | 4 +- 27 files changed, 1250 insertions(+), 1181 deletions(-) commit ccc97ebd14311d8d9b682c9b4ab4ba751c137360 Author: Philip Withnall Date: Mon Mar 22 18:27:14 2010 +0000 [build] Add missing includes to gdata.h gdata/gdata.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 9cb89d705f7e23d3cda3cd68b76355a2331623f0 Author: Philip Withnall Date: Mon Mar 22 18:16:12 2010 +0000 [docs] Added missing Since tags gdata/atom/gdata-author.c | 2 ++ gdata/atom/gdata-category.c | 2 ++ gdata/atom/gdata-link.c | 2 ++ gdata/gd/gdata-gd-email-address.c | 2 ++ gdata/gd/gdata-gd-email-address.h | 4 +++- gdata/gd/gdata-gd-im-address.c | 2 ++ gdata/gd/gdata-gd-im-address.h | 4 +++- gdata/gd/gdata-gd-name.c | 2 ++ gdata/gd/gdata-gd-organization.c | 2 ++ gdata/gd/gdata-gd-organization.h | 4 +++- gdata/gd/gdata-gd-phone-number.c | 2 ++ gdata/gd/gdata-gd-phone-number.h | 4 +++- gdata/gd/gdata-gd-postal-address.c | 2 ++ gdata/gd/gdata-gd-postal-address.h | 4 +++- gdata/gd/gdata-gd-reminder.c | 2 ++ gdata/gd/gdata-gd-reminder.h | 4 +++- gdata/gd/gdata-gd-when.c | 2 ++ gdata/gd/gdata-gd-when.h | 4 +++- gdata/gd/gdata-gd-where.c | 4 ++++ gdata/gd/gdata-gd-where.h | 4 +++- gdata/gd/gdata-gd-who.c | 4 ++++ gdata/gd/gdata-gd-who.h | 4 +++- gdata/gdata-access-handler.c | 4 +++- gdata/gdata-access-rule.c | 2 ++ gdata/gdata-parsable.c | 8 ++++++++ gdata/media/gdata-media-category.c | 2 ++ gdata/media/gdata-media-content.c | 2 ++ gdata/media/gdata-media-content.h | 4 +++- gdata/media/gdata-media-credit.c | 2 ++ gdata/services/contacts/gdata-contacts-contact.c | 2 ++ gdata/services/contacts/gdata-contacts-contact.h | 6 +++++- gdata/services/contacts/gdata-contacts-query.c | 2 ++ gdata/services/contacts/gdata-contacts-query.h | 6 +++++- gdata/services/contacts/gdata-contacts-service.c | 2 ++ gdata/services/contacts/gdata-contacts-service.h | 6 +++++- gdata/services/documents/gdata-documents-feed.c | 3 +++ gdata/services/documents/gdata-documents-folder.c | 5 ++++- .../documents/gdata-documents-presentation.c | 3 +++ gdata/services/documents/gdata-documents-query.c | 2 ++ gdata/services/documents/gdata-documents-service.c | 3 +++ .../documents/gdata-documents-spreadsheet.c | 5 ++++- gdata/services/documents/gdata-documents-text.c | 3 +++ gdata/services/picasaweb/gdata-picasaweb-album.c | 2 ++ gdata/services/picasaweb/gdata-picasaweb-feed.c | 4 +++- gdata/services/picasaweb/gdata-picasaweb-file.c | 2 ++ gdata/services/picasaweb/gdata-picasaweb-query.c | 2 ++ gdata/services/picasaweb/gdata-picasaweb-service.c | 6 +++++- gdata/services/picasaweb/gdata-picasaweb-user.c | 2 ++ gdata/services/youtube/gdata-youtube-content.c | 4 +++- gdata/services/youtube/gdata-youtube-content.h | 4 +++- gdata/services/youtube/gdata-youtube-credit.c | 2 ++ gdata/services/youtube/gdata-youtube-credit.h | 4 +++- gdata/services/youtube/gdata-youtube-query.c | 2 ++ gdata/services/youtube/gdata-youtube-state.c | 2 ++ gdata/services/youtube/gdata-youtube-video.c | 2 ++ 55 files changed, 155 insertions(+), 21 deletions(-) commit d0c8dfd4e95de41e49f6308280601574960da5e1 Author: Philip Withnall Date: Mon Mar 22 16:59:44 2010 +0000 [gd] Ensure comparisons of two NULL values return 0 Add test cases too. gdata/gd/gdata-gd-email-address.c | 2 +- gdata/gd/gdata-gd-im-address.c | 2 +- gdata/gd/gdata-gd-name.c | 2 +- gdata/gd/gdata-gd-organization.c | 2 +- gdata/gd/gdata-gd-phone-number.c | 2 +- gdata/gd/gdata-gd-postal-address.c | 2 +- gdata/gd/gdata-gd-reminder.c | 2 +- gdata/gd/gdata-gd-when.c | 2 +- gdata/gd/gdata-gd-where.c | 2 +- gdata/gd/gdata-gd-who.c | 2 +- gdata/tests/general.c | 60 ++++++++++++++++++++++++++++++++++++ 11 files changed, 70 insertions(+), 10 deletions(-) commit d2820ef404a7b7b3d2a5bd7013e9f05e61524f6e Author: Philip Withnall Date: Mon Mar 22 16:50:33 2010 +0000 [documents] Fix gcc printf format warning message gdata/services/documents/gdata-documents-service.c | 26 +++++++++++-------- 1 files changed, 15 insertions(+), 11 deletions(-) commit 3558a8975c099c8a892c5bbf08399ff523cea0a6 Author: Philip Withnall Date: Mon Mar 22 16:47:09 2010 +0000 [docs] Fix various documentation errors Fix various small documentation errors (generally broken links and typos) and add documentation for the properties in #GDataEntry. gdata/gd/gdata-gd-who.c | 4 +- gdata/gdata-entry.c | 79 +++++++++++++++++-- gdata/gdata-service.h | 4 +- gdata/services/documents/gdata-documents-entry.c | 14 +++- gdata/services/documents/gdata-documents-service.c | 2 +- gdata/services/youtube/gdata-youtube-service.h | 2 +- 6 files changed, 87 insertions(+), 18 deletions(-) commit bd82bdbb3f9fe99a670241706a64c57118a28952 Author: Philip Withnall Date: Mon Mar 22 00:12:07 2010 +0000 [youtube] Ensure service's parse_error_response always sets an error Ensure #GDataYouTubeService's parse_error_response() always sets an error before returning; there was a case where it wouldn't if the server's response was completely unparsable. This could've caused the crash in bgo#613529. gdata/services/youtube/gdata-youtube-service.c | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) commit 81c5e2df14b3db690ab59ecc260e92ef1693f2ba Author: Philip Withnall Date: Sun Mar 21 23:29:32 2010 +0000 Bug 613529 — Sending ETag with modified query Ensure #GDataQuery:etag is unset after any property of a query is changed. This ensures that if a single query instance is reused for multiple queries (as in Totem's YouTube plugin), there's no chance that the server could unexpectedly return an "unchanged" status. Closes: bgo#613529 gdata/gdata-query.c | 58 +++++++++++++++++++--- gdata/gdata-service.c | 6 +- gdata/services/calendar/gdata-calendar-query.c | 29 ++++++++++- gdata/services/contacts/gdata-contacts-query.c | 14 +++++- gdata/services/documents/gdata-documents-query.c | 19 +++++++ gdata/services/picasaweb/gdata-picasaweb-query.c | 20 +++++++- gdata/services/youtube/gdata-youtube-query.c | 29 ++++++++++- gdata/tests/calendar.c | 35 ++++++++++++- gdata/tests/contacts.c | 26 +++++++++- gdata/tests/documents.c | 33 +++++++++++-- gdata/tests/general.c | 37 ++++++++++++++ gdata/tests/picasaweb.c | 28 ++++++++++- gdata/tests/youtube.c | 35 ++++++++++++- 13 files changed, 343 insertions(+), 26 deletions(-) commit 815eb4f5a275f03775daf65db7fe872af001fcc9 Author: Philip Withnall Date: Fri Mar 19 21:33:36 2010 +0000 Release version 0.6.3 NEWS | 16 ++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 18 insertions(+), 2 deletions(-)