| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Automake 1.16.1 has issues with generating a valid Makefile. Since,
libgdata is one of the core-deps of GNOME, it should be ported from
Autotools + make to meson + ninja.
Significant contributions from both Iñigo Martínez and Mayank Sharma.
|
|
|
|
|
| |
‘*/’ is more standard, so this is basically a housekeeping improvement
in coding style.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
The GLib functions are locale-independent. While there are few
situations where a locale-independent server-provided string would be
parsed differently by strtoul() in different user locales, it’s best to
be safe (and consistent with our use of g_ascii_strtod(), which more
easily causes problems).
|
|
|
|
|
|
| |
This means we no longer have to register GTimeVal with the GType system, and
everything is generally neater because we never used GTimeVal's microsecond
precision anyway.
|
| |
|
|
|
|
|
|
|
| |
Add G_GNUC_PURE to all applicable getter functions, which should allow gcc to
optimise calls to libgdata in some cases. This required a little rewrite of
the authentication system to ensure the username and password (etc.) are only
changed on the #GDataService from the main thread.
|
|
|
|
|
| |
Make indentation and whitespacing consistent throughout the entire project.
I am so sad.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set the libxml2 memory allocation functions to be the GLib ones, allowing
us to free libxml2's memory with g_free(), meaning all return values from
libxml2 functions no longer have to be marshalled into the GLib memory
pool. This saves lots of string duplication.
Some statistics:
* g_strdup() calls before: 223; after: 170
* xmlFree() calls before: 296; after: 179
This only (apparently) gives a 2% decrease in memory usage according to
tests/memory, but it's better than nothing.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reorganised to use non-recursive automake for everything except API
documentation and translations. As a consequence of this reorganisation, two
private header files which were mistakenly installed before are no longer
installed (this will not be considered an API break). The introspection and
gtester include files have been updated.
Support for code coverage checking for the test suite has been added too,
using gcov. It can be invoked by `make gcov`, and will output a file called
"gcov-report.txt" in the main source directory with the results of the
checks.
|
|
|
|
|
|
|
| |
Patch based on one from Thibault Saunier <saunierthibault@gmail.com> to
add G_LOG_DOMAIN to the Makefiles of build subdirectories, to ensure the
"libgdata" log domain is set for all messages emitted by the library.
Closes: bgo#592124
|
|
|
|
|
| |
Patch from Richard Schwarting <aquarichy@gmail.com> to fix timestamp parsing
re. word size incompatibilities in the PicasaWeb service. Closes: bgo#589850
|
|
I'm an idiot.
|