| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Closes: #29
|
|
|
|
|
|
|
|
|
|
| |
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.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: https://gitlab.gnome.org/GNOME/geocode-glib/-/issues/30
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
The test expects the locale to be en_GB.UTF-8, so set it as such.
Closes: #27
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This should makes tests quicker now that libsoup3 is available from the
distribution we use.
|
| |
|
|
|
|
|
|
| |
See https://twitter.com/davidxnewton/status/1442232598932213761
Closes: #24
|
|
|
|
| |
Adapt the test slightly for administrative level changes.
|
|
|
|
|
|
| |
See https://wiki.gnome.org/Initiatives/GnomeGoals/InstalledTests
Closes: #21
|
|
|
|
| |
Otherwise gnome-desktop-testing-runner can't find them.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Closes: #25
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
This allows projects that depend on geocode-glib to ensure the
correct version of libsoup is matched at build time.
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| | |
doap: Add myself as a helper
See merge request GNOME/geocode-glib!17
|
|/ |
|
|\
| |
| |
| |
| | |
ci: Simplify dependencies installation
See merge request GNOME/geocode-glib!16
|
|/ |
|
|\
| |
| |
| |
| | |
build: Install POI icons into the hicolor theme
See merge request GNOME/geocode-glib!13
|
|/
|
|
| |
The gnome theme is defunct.
|
|\
| |
| |
| |
| | |
3.26.2
See merge request GNOME/geocode-glib!12
|
|/ |
|
|\
| |
| |
| |
| | |
location: Allow unknown parameters inside geo: URL
See merge request GNOME/geocode-glib!11
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Build fixes
Closes #2 and #3
See merge request GNOME/geocode-glib!8
|