summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 3.26.4HEAD3.26.4masterBastien Nocera2022-08-082-1/+7
|
* build: Install binaries in libexecdirBastien Nocera2022-08-082-4/+6
| | | | Closes: #29
* nominatim: Validate response as UTF-8Will Thompson2022-08-061-4/+4
| | | | | | | | | | 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.)
* nominatim: Correctly read response data from soup3Will Thompson2022-08-061-7/+10
| | | | | | | | | | | | | | | | | | | | | | | 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
* tests: Check that setlocale() succeededBastien Nocera2022-07-041-4/+4
|
* ci: Add Swedish langpackBastien Nocera2022-07-041-0/+1
|
* ci: Run installed-tests tooBastien Nocera2022-07-021-0/+2
|
* ci: Install library in /usrBastien Nocera2022-07-021-1/+1
|
* tests: Fix locale in "pi" testBastien Nocera2022-07-021-0/+6
| | | | | | The test expects the locale to be en_GB.UTF-8, so set it as such. Closes: #27
* build: Install pi data for installed testsJan Tojnar2022-07-021-0/+1
|
* lib: Fix building for Windows platformBiswapriyo Nath2022-07-011-0/+6
| | | | | | | | | 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
* 3.26.33.26.3Bastien Nocera2022-06-302-1/+10
|
* ci: Always export dist artifactsBastien Nocera2022-06-301-1/+3
|
* ci: Simplify libsoup2 buildBastien Nocera2022-06-301-4/+0
|
* ci: Use distribution-built libsoup3Bastien Nocera2022-06-301-10/+1
| | | | | This should makes tests quicker now that libsoup3 is available from the distribution we use.
* tests: Re-enable Paris, Texas testBastien Nocera2022-06-301-13/+13
|
* tests: Add π building in St AndrewsBastien Nocera2022-06-302-0/+38
| | | | | | See https://twitter.com/davidxnewton/status/1442232598932213761 Closes: #24
* tests: Re-enable long-disabled "Bonneville" testBastien Nocera2022-06-303-11/+16
| | | | Adapt the test slightly for administrative level changes.
* tests: Install .test file as required for installed-testsBastien Nocera2022-06-302-0/+21
| | | | | | See https://wiki.gnome.org/Initiatives/GnomeGoals/InstalledTests Closes: #21
* build: Install tests in datadir not libexecdirBastien Nocera2022-06-301-1/+1
| | | | Otherwise gnome-desktop-testing-runner can't find them.
* build: Expand tests install dirBastien Nocera2022-06-302-2/+2
|
* build: Fix tests not being enabled if not installedBastien Nocera2022-06-302-23/+23
| | | | | | 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.
* tests: Exercise geocode_forward_set_bounded() helperBastien Nocera2022-06-301-1/+2
|
* geocode-nominatim: Handle boolean "bounded" attributeBastien Nocera2022-06-301-5/+11
| | | | | | 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.
* forward: Fix "bounded" data typeBastien Nocera2022-06-301-1/+1
| | | | Closes: #25
* README: Add information about libsoup 3.x API version changeBastien Nocera2022-06-301-0/+6
|
* README: Update users in READMEBastien Nocera2022-06-301-2/+9
|
* ci: Update ABI check for API version changeBastien Nocera2022-06-301-3/+2
|
* build: Namespace installed-tests for new APIBastien Nocera2022-06-301-1/+1
|
* build: Namespace gtk-doc output for new APIBastien Nocera2022-06-301-1/+1
|
* build: Namespace shared library for new APIBastien Nocera2022-06-301-1/+5
|
* build: Install soup3 build as API version 2.0Bastien Nocera2022-06-301-1/+5
|
* location: Stop using g_get_current_time()Bilal Elmoussaoui2022-05-111-3/+3
| | | | It is not 2038 safe, replace it with equivalent g_get_real_time().
* lib: Stop using g_type_class_add_private()Bilal Elmoussaoui2022-05-115-219/+405
| | | | It was deprecated, replace it with the G_DEFINE_TYPE_WITH_CODE macro.
* build: Avoid using global argumentsStephan Vedder2022-05-111-11/+11
|
* ci: Fix undoing delangification when package isn't availableBastien Nocera2022-05-112-6/+28
| | | | | | | | | | 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
* build: Expose libsoup API version in pkg-configpgriffis/soupapiversionPatrick Griffis2021-09-211-0/+7
| | | | | This allows projects that depend on geocode-glib to ensure the correct version of libsoup is matched at build time.
* ci: Build both soup2 and soup3 variantsPatrick Griffis2021-09-172-115/+45
| | | | | Use check-abi upstream to run our ABI checks, and use the new --*-parameters options to force different soup backends.
* lib: Add support for libsoup3 through a compile-time optionDaniel Kolesa2021-09-175-9/+111
| | | | | Make it possible to build the library against either libsoup2 or libsoup3.
* Merge branch 'wip/hadess/helper' into 'master'Bastien Nocera2021-09-171-0/+7
|\ | | | | | | | | doap: Add myself as a helper See merge request GNOME/geocode-glib!17
| * doap: Add myself as a helperBastien Nocera2021-09-171-0/+7
|/
* Merge branch 'wip/hadess/simplify-ci' into 'master'Bastien Nocera2021-09-161-3/+16
|\ | | | | | | | | ci: Simplify dependencies installation See merge request GNOME/geocode-glib!16
| * ci: Simplify dependencies installationBastien Nocera2021-09-161-3/+16
|/
* Merge branch 'hicolor' into 'master'Bastien Nocera2020-05-091-1/+1
|\ | | | | | | | | build: Install POI icons into the hicolor theme See merge request GNOME/geocode-glib!13
| * build: Install POI icons into the hicolor themeChris Mayo2020-05-071-1/+1
|/ | | | The gnome theme is defunct.
* Merge branch 'wip/hadess/3.26.2' into 'master'3.26.2Bastien Nocera2020-03-092-1/+8
|\ | | | | | | | | 3.26.2 See merge request GNOME/geocode-glib!12
| * 3.26.2Bastien Nocera2020-03-092-1/+8
|/
* Merge branch 'wip/issue-18' into 'master'Bastien Nocera2019-11-062-22/+21
|\ | | | | | | | | location: Allow unknown parameters inside geo: URL See merge request GNOME/geocode-glib!11
| * location: Allow unknown parameters inside geo: URLThomas Pointhuber2019-11-062-22/+21
|/
* Merge branch 'wip/hadess/fixes' into 'master'Bastien Nocera2019-11-065-464/+125
|\ | | | | | | | | | | | | Build fixes Closes #2 and #3 See merge request GNOME/geocode-glib!8