commit 1e5349545689cc02bd5d559fd982fc5755c0b85f Author: Philip Withnall Date: Fri Dec 10 22:35:57 2010 +0000 documents: Disconnect from the content-type notification signal We can't change GDataDownloadStream to emit notification signals for content-type in the download thread in the 0.7 branch, since that would be an API break. This means that the notifications could potentially be delivered after gdata_documents_document_download() returns. Since the closure for the notification idle function maintains a reference to the GDataDownloadStream, this means that the signal handler won't be disconnected automatically once the GDataDownloadStream is unreffed in gdata_documents_document_download(). Consequently, it's possible to get invalid writes into random bits of memory unless we disconnect from the content-type notification signal. This commit does that. .../services/documents/gdata-documents-document.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) commit 150dd9a8f411e8c344d193f043f6b07975b298e5 Author: Philip Withnall Date: Fri Dec 10 16:49:25 2010 +0000 youtube: Fix a crash in the error handling code if no GError is passed in gdata/services/youtube/gdata-youtube-service.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 9634554c9834459ecfacee9810f27f0b3186bf0d Author: Philip Withnall Date: Fri Dec 10 12:12:40 2010 +0000 picasaweb: Fix memory leaks in the picasaweb test suite gdata/tests/picasaweb.c | 21 +++++++++++++++++++-- 1 files changed, 19 insertions(+), 2 deletions(-) commit 5def93ade455d307cd347fe03eecd11d15cf12df Author: Philip Withnall Date: Fri Dec 10 12:12:17 2010 +0000 picasaweb: Fix a memory leak in GDataPicasaWebService gdata/services/picasaweb/gdata-picasaweb-service.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit 5812c5bc12d99dd2c92f8ca839f53c201b43ba16 Author: Philip Withnall Date: Fri Dec 10 12:11:49 2010 +0000 core: Fix a memory leak in GDataMediaGroup gdata/media/gdata-media-group.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit b5f4fdeaf1d3872527f11d9cd229a5ea721937fb Author: Philip Withnall Date: Fri Dec 10 11:54:43 2010 +0000 picasaweb: Update test URIs It appears that the test account on PicasaWeb has been moved to a different server, so we need to update a few URIs in the tests accordingly. gdata/tests/picasaweb.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit fe5b90b927a36e4aa8371b327a81e0610d9b7344 Author: Philip Withnall Date: Fri Dec 10 11:44:22 2010 +0000 tests: Fix memory leaks in the general test suite gdata/tests/general.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit 053feac0e5420c870c82e7940a99f5c69f69225c Author: Philip Withnall Date: Fri Dec 10 11:30:43 2010 +0000 contacts: Fix a leak in GDataContactsContact gdata/services/contacts/gdata-contacts-contact.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit ef9b89684dad3e3f11b565e0c0eb9135750de56c Author: Philip Withnall Date: Fri Dec 10 11:18:49 2010 +0000 contacts: Fix memory leaks in the contacts test suite gdata/tests/contacts.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 5295a7bc9cdee0e8af62444fbcf24c7cc804f747 Author: Philip Withnall Date: Fri Dec 10 10:46:29 2010 +0000 calendar: Fix memory leaks in the calendar test suite gdata/tests/calendar.c | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) commit 58fdb142798b8abf6924bb4e1f63bacb682ee3e8 Author: Philip Withnall Date: Fri Dec 10 01:59:20 2010 +0000 core: Fix a major memory leak in GDataDownloadStream It turns out that we were leaking the entirety of every file downloaded using a GDataDownloadStream. Whoops. gdata/gdata-download-stream.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 36491c59007069b8b0d5dfd93e8fb71c82a4b2b5 Author: Philip Withnall Date: Fri Dec 10 01:52:54 2010 +0000 core: Fix a memory leak in the URI handling code gdata/gdata-service.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit b9e230361db56e04242186dc61ac11c6321da25c Author: Philip Withnall Date: Fri Dec 10 01:50:39 2010 +0000 core: Fix a memory leak in the logging code gdata/gdata-service.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 8770a46d068fc134e3d2906667b7f733d9a2e6e8 Author: Philip Withnall Date: Thu Dec 9 19:01:32 2010 +0000 documents: Fix some memory leaks in the documents test suite gdata/tests/documents.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) commit ea725115983c625e62eb86be7366d751153a9e0a Author: Philip Withnall Date: Thu Dec 9 18:58:33 2010 +0000 core: Fix a memory leak in GDataBatchOperation gdata/gdata-batch-feed.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 72329e544a330ef47c0c9afd60559c29de46d4cf Author: Philip Withnall Date: Thu Dec 9 18:46:39 2010 +0000 documents: Fix a memory leak in GDataDocumentsQuery gdata/services/documents/gdata-documents-query.c | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) commit 19f82923ced02788884cc800de66a3d161559aee Author: Philip Withnall Date: Thu Dec 9 14:22:09 2010 +0000 documents: Don't fail the batch tests if cleaning up fails gdata/tests/documents.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) commit bebaf4d172493a69e510207ea6769cefc95607b1 Author: Philip Withnall Date: Thu Dec 9 18:16:56 2010 +0000 documents: Don't return a content type if a return location wasn't provided .../services/documents/gdata-documents-document.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit b9a3208c7cb4044e2e1ca867d163e34b160e8682 Author: Philip Withnall Date: Thu Dec 9 14:14:38 2010 +0000 documents: Work around an ETag problem when uploading new documents Google's servers appear to modify newly uploaded documents a few seconds after returning the entry and ETag for them to the client, thus changing the documents' ETags and causing subsequent queries by the client to fail due to an outdated ETag. This commit hacks the test suite to sleep for 5 seconds after uploading a new document before querying for the new document to get the updated ETag. See: http://code.google.com/a/google.com/p/apps-api-issues/issues/detail?id=2337 gdata/tests/documents.c | 52 +++++++++++++++++++++++++++++++++++++---------- 1 files changed, 41 insertions(+), 11 deletions(-) commit 81245b75c901b33b55804c0adc64834f47c58151 Author: Philip Withnall Date: Wed Dec 1 20:45:03 2010 +0000 Bug 635736 — Asynchronous authentication tests broken The asynchronous authentication tests have been broken for a while, probably caused due to changes of asynchronous callback functions within GIO. We previously depended on an idle function to set the username and password after a successful asynchronous authentication, but due to the priority changes this has stopped being called before the asynchronous result callback, meaning that the results of authentication weren't available to the callback. This made it look like authentication had failed, when in reality it had succeeded and the results were waiting in the main loop's queue. This changes it so that the authentication information in GDataService is set inside the authentication thread, protected by a mutex. Closes: bgo#635736 gdata/gdata-service.c | 65 ++++++++++++++++++++++++++---------------------- 1 files changed, 35 insertions(+), 30 deletions(-) commit bc7651ea21d1a5a0d996616977e3a48e1b259e36 Author: Philip Withnall Date: Thu Dec 2 18:12:57 2010 +0000 picasaweb: Fix parsing of GDataPicasaWebFile:checksum gdata/services/picasaweb/gdata-picasaweb-file.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ce6b170b80c2b859f5c975ceeaaea45e664a7c85 Author: Philip Withnall Date: Thu Dec 2 18:06:15 2010 +0000 youtube: Emit XML for a video's aspect ratio gdata/services/youtube/gdata-youtube-group.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 9dd90e47a866308c65f70576ef581f02dda37d67 Author: Philip Withnall Date: Thu Dec 2 18:00:54 2010 +0000 youtube: Don't notify on a non-existent property when changing aspect ratio gdata/services/youtube/gdata-youtube-group.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 8307186b4d36ba6702110ddaff0650436112d7e5 Author: Evan Nemerson Date: Fri Nov 19 23:50:37 2010 -0800 build: Include information about exported packages in GIR Closes: bgo#635335 Makefile.am | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 796577dcc1769680e53d05f6ed43b831d01d980a Author: Philip Withnall Date: Sat Nov 27 23:11:13 2010 +0000 core: Store the start index as an unsigned int in GDataQuery The external interface was accepting unsigned values, but was storing them as signed internally. gdata/gdata-query.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit d50fcbe3a305808ed9adbc35059f158f801e2078 Author: Philip Withnall Date: Sat Nov 27 21:47:46 2010 +0000 core: Store the maximum number of results as an unsigned int in GDataQuery The external interface was accepting unsigned values, but was storing them as signed internally, leading to interesting things happening when G_MAXUINT was passed as max-results, as recommended by the documentation. gdata/gdata-query.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 57d7197bc07539e269d9eef4ecea4517f327eeef Author: Philip Withnall Date: Sun Oct 17 15:45:49 2010 +0100 Release version 0.7.0 NEWS | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 94 insertions(+), 1 deletions(-)