| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=664353
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=737541
|
|
|
|
|
|
|
|
| |
Latitude/longitude are really expected with a '.' decimal point by the
service, breaking on locales that would use anything different. Use
g_ascii_formatd which always uses the '.' decimal point.
https://bugzilla.gnome.org/show_bug.cgi?id=737541
|
|
|
|
|
|
|
|
| |
The string array matches the GDataFreebaseSearchFilterType, using the
FilterNodeType was unintended, and TYPE_CONTAINER happened to match
GDATA_FREEBASE_SEARCH_FILTER_ALL.
https://bugzilla.gnome.org/show_bug.cgi?id=737541
|
|
|
|
|
|
|
| |
The async version was wrongly using the parent type, so the returned object
wasn't a GDataFreebaseTopicResult at all.
https://bugzilla.gnome.org/show_bug.cgi?id=737540
|
|
|
|
|
|
|
|
| |
Making it a boxed type makes it friendly to bindings, as there's
some more embedded knowledge about how to deal with this type
memory-wise.
https://bugzilla.gnome.org/show_bug.cgi?id=737936
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=737539
|
|
|
|
|
|
|
|
| |
The check was actually inverted, receiving a newly created object is
obviously the expected condition. This made the parsing of compound
objects a lot more shallower than the received data.
https://bugzilla.gnome.org/show_bug.cgi?id=737539
|
|
|
|
|
|
|
|
|
|
| |
Compound types are only meant to be handled through
reader_fill_compound_gvalue(), which will iterate through its "property"
array. Otherwise, compound elements with an ID (which is not mandatory,
but ok for these to have) would be created as shallow objects instead
of containers of further objects/values.
https://bugzilla.gnome.org/show_bug.cgi?id=737539
|
|
|
|
|
|
|
|
| |
Adapted from a bug report reproducer program by Debarshi Ray, this lists
all the documents in the user’s Google Documents account, getting the
account information from GOA.
https://bugzilla.gnome.org/show_bug.cgi?id=741345
|
| |
|
|
|
|
|
|
|
|
|
| |
The Google Documents servers always return a next page URI in a
GDataFeed unless on the final page of results, in which case no URI is
returned. Pass that information through to the GDataQuery so that
pagination works correctly for Google Documents.
https://bugzilla.gnome.org/show_bug.cgi?id=741345
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The pagination model previously used by GDataQuery was to assume that
the server would return an empty GDataFeed once the final page was
passed by calling gdata_query_next_page().
Unfortunately, the Google Documents servers don’t do that — instead,
they provide a next page URI in each GDataFeed, and don’t provide one on
the final page. GDataQuery did not support this kind of explicit
knowledge about the current page being the final one.
Add support for it with a delightful set of hacky internal functions.
Return a dummy empty feed from GDataService if passed a GDataQuery which
is flagged as having reached the end of its pagination.
https://bugzilla.gnome.org/show_bug.cgi?id=741345
|
|
|
|
|
|
|
| |
This will be used internally later to support constructing custom empty
feeds for pagination purposes.
https://bugzilla.gnome.org/show_bug.cgi?id=741345
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Split the bulk of feed parsing out into a virtual method on
GDataService. This will allow subclasses of GDataService to implement
service-specific tweaks to feed parsing, which is required for
pagination handling with Google Documents.
New API:
• GDataServiceClass.parse_feed
This does not break ABI — it consumes one of the struct’s expansion
slots.
https://bugzilla.gnome.org/show_bug.cgi?id=741345
|
|
|
|
|
|
|
|
|
| |
Instead, use g_main_context_invoke(), which guarantees to call the
callback synchronously if the GMainContext is owned, and in an idle
callback otherwise. This is exactly what we want for implementing
callbacks which could come from this thread or a worker thread.
https://bugzilla.gnome.org/show_bug.cgi?id=741345
|
|
|
|
|
|
|
|
| |
GDataLink enforces that all relations are proper URIs, prefixing
iana.org to those which aren’t — so we need to do the same when calling
gdata_feed_look_up_link().
https://bugzilla.gnome.org/show_bug.cgi?id=741345
|
|
|
|
|
|
| |
This fixes `make check` stalling forever on requesting user input. To
run the interactive tests, the programs now need to be run with
--interactive.
|
|
|
|
|
|
|
| |
Follow up to commit
732017e4e5235e28c578cc3367fa0c4548b65495732017e4e5235e28c578cc3367fa0c4548b65495.
https://bugzilla.gnome.org/show_bug.cgi?id=739956
|
| |
|
|
|
|
|
|
| |
Seems these elements broke on the server at some point.
https://code.google.com/a/google.com/p/apps-api-issues/issues/detail?id=3662
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=737799
|
|
|
|
|
| |
The authorisers are tested separately, and don’t need to be re-tested in
each unit test suite.
|
|
|
|
|
|
|
|
| |
Google have fixed the issue upstream, so the workaround is no longer
needed. Thanks Google!
https://bugzilla.gnome.org/show_bug.cgi?id=737799
https://code.google.com/a/google.com/p/apps-api-issues/issues/detail?id=3595
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=739395
|
|
|
|
|
|
|
|
| |
It’s time for libgdata to grow up and start guaranteeing some stability
for its users. In this vein, it’s already been API stable for around 3
years (since 0.9.1) — it’s about time that was made explicit.
http://upstream-tracker.org/versions/libgdata.html is quite interesting.
|
|
|
|
|
| |
This gives us flexibility for soft ABI breaks in future if needed, after
we lock down the ABI entirely.
|
|
|
|
|
|
| |
It was confusing Coverity.
Coverity issue: #74584
|
| |
|
| |
|
|
|
|
|
|
|
| |
This brings test coverage of the gdata/services/tasks/ directory up to
84% of lines and 90% of functions, which is good enough.
https://bugzilla.gnome.org/show_bug.cgi?id=657539
|
|
|
|
| |
Can’t insert a task to a non-tasklist.
|
|
|
|
| |
Apparently there are two ‘reason’ codes which correspond to this.
|
|
|
|
|
|
|
| |
When refreshing an OAuth 2.0 authorisation, only a new access token is
returned by the server — the refresh token is left unchanged, so a new
one is not returned. Do not use that as an excuse to forget the existing
refresh token.
|
|
|
|
| |
Set the GDataFeed:etag property and ignore the kind.
|
| |
|
| |
|
| |
|
|
|
|
| |
So that the correct character encoding is set for all tests.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a new GDataAuthorizer subclass to support OAuth 2.0
authorisation, which is needed for the Google Tasks unit tests.
This includes support for all Google OAuth 2.0 features (note that
Google’s implementation of OAuth 2.0 is not entirely standard, so this
OAuth 2.0 authoriser cannot be used outside of Google’s services). It
includes full unit tests too.
New API:
• GDATA_OAUTH2_REDIRECT_URI_OOB
• GDATA_OAUTH2_REDIRECT_URI_OOB_AUTO
• GDataOAuth2Authorizer
https://bugzilla.gnome.org/show_bug.cgi?id=646285
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
It’s read-only, but that hasn’t stopped us outputting all the other
read-only properties. This can be reverted if real life testing proves
it’s a problem.
|
|
|
|
| |
This introduces no functional changes.
|