- Mar 16, 2024
-
-
Andre Klapper authored
-
- Aug 08, 2022
-
-
Bastien Nocera authored
-
Bastien Nocera authored
Closes: #29
-
- Aug 06, 2022
-
-
Will Thompson authored
Previously, the bytes read from the server's response were assumed to be valid UTF-8. Particularly since we are copying it anyway, validate it at the same time. (In practice this is probably a non-issue because it just ends up getting passed to json_parser_load_from_data() which validates its input as UTF-8 anyway.)
-
Will Thompson authored
Previously, the soup3 branch would call g_bytes_unref_to_data() on the response data, with a NULL out parameter for the size, and then proceed to use the data pointer as a NULL-terminated string. This is wrong for two reasons: - g_bytes_unref_to_data()'s size parameter may not be NULL - The response data is not NULL-terminated Instead, do what the soup2 branch does: use g_strndup() to get a NULL-terminated string. No automatic test, but the async branch at least can be tested by running the test binary with an argument: _build/geocode-glib/tests/geocode-glib aoeuaoeuaoeu Note that you must change the search term each time, since the result is cached. Fixes: #30
-
- Jul 04, 2022
-
-
Bastien Nocera authored
-
Bastien Nocera authored
-
- Jul 02, 2022
-
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
The test expects the locale to be en_GB.UTF-8, so set it as such. Closes: #27
-
- Jul 01, 2022
-
-
Jan Tojnar authored
-
Biswapriyo Nath authored
This fixes two build errors in Windows platform. ../geocode-glib/geocode-glib.c:30:10: fatal error: langinfo.h: No such file or directory ../geocode-glib/geocode-glib.c:233:63: error: 'LC_MESSAGES' undeclared (first use in this function) More info about setlocale function here https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/setlocale-wsetlocale
-
- Jun 30, 2022
-
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
This should makes tests quicker now that libsoup3 is available from the distribution we use.
-
Bastien Nocera authored
-
Bastien Nocera authored
See https://twitter.com/davidxnewton/status/1442232598932213761 Closes: #24
-
Bastien Nocera authored
Adapt the test slightly for administrative level changes.
-
Bastien Nocera authored
See https://wiki.gnome.org/Initiatives/GnomeGoals/InstalledTests Closes: #21
-
Bastien Nocera authored
Otherwise gnome-desktop-testing-runner can't find them.
-
Bastien Nocera authored
-
Bastien Nocera authored
We should always have been building the tests, and allow them to be run uninstalled with "meson test" even if the builder didn't want to have them available as installed-tests.
-
Bastien Nocera authored
-
Bastien Nocera authored
This parameter has usually been passed as a free-form string, but we should handle it as a boolean as that's what comes from our forward search API.
-
Bastien Nocera authored
Closes: #25
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
-
- May 11, 2022
-
-
It is not 2038 safe, replace it with equivalent g_get_real_time().
-
It was deprecated, replace it with the G_DEFINE_TYPE_WITH_CODE macro.
-
-
Bastien Nocera authored
We need to install or reinstall glib2 and glibc packages after removing /etc/rpm/macros.image-language-conf or we won't have the translation files we want installed. But in some cases, the package might not be available for reinstall, so try to install the dependencies and only reinstall the package if a newer version didn't get installed. Installed package XXX (from koji-override-1) not available
-
- Sep 21, 2021
-
-
Patrick Griffis authored
This allows projects that depend on geocode-glib to ensure the correct version of libsoup is matched at build time.
-
- Sep 17, 2021
-
-
Use check-abi upstream to run our ABI checks, and use the new --*-parameters options to force different soup backends.
-
Make it possible to build the library against either libsoup2 or libsoup3.
-