summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2026-03-12build(deps): bump actions/checkout from 5 to 6HEADmasterdependabot[bot]2-2/+2
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
2026-03-12tests: use top_builddir for test data pathVictor Kareh1-1/+1
distcheck uses a VPATH build where Locations.xml is generated in the build directory, not the source directory. Use top_builddir/data instead of top_srcdir/data so the test finds the generated file.
2026-03-12tests: fix test to load location data from source treeVictor Kareh2-2/+13
The test crashed in CI because mateweather_location_new_world loads Locations.xml from the compiled-in install path, which doesn't exist during make check before installation. Allow the parser to respect a MATEWEATHER_XML_LOCATION_DIR environment variable to override the data directory, and set it via AM_TESTS_ENVIRONMENT to point at the source tree.
2026-03-12ci: Fix builds to stop swallowing make check failuresVictor Kareh1-3/+1
2026-03-12data: Remove check-timezones.shVictor Kareh2-42/+0
The code is quite clunky and a similar test already exists in test_libmateweather. Backported from libgweather: https://gitlab.gnome.org/GNOME/libgweather/-/commit/b5fcc840
2026-03-12tests: Add tests for timezone validityVictor Kareh1-0/+64
For every timezone defined in the location hierarchy, verify its validity by checking it exists in the system zoneinfo directory. The upstream test used gweather_location_get_timezone_str() and gweather_timezone_get_by_tzid() which do not exist in libmateweather. Instead, walk the location tree collecting all timezone IDs from timezone definitions and validate each against ZONEINFO_DIR. Adapted from libgweather: https://gitlab.gnome.org/GNOME/libgweather/-/commit/2dab8a81
2026-03-12tests: Add test for libmateweatherVictor Kareh2-1/+54
This is the first automated test for libmateweather, so it is named generically to be extended. The upstream test_named_timezones test is omitted since libmateweather does not have the NAMED_TIMEZONE location level. Adapted from libgweather: https://gitlab.gnome.org/GNOME/libgweather/-/commit/2373f56f
2026-03-12ci: migrate from Travis CI to GitHub Actionsmbkma10-213/+323
Replace Travis CI configuration with GitHub Actions workflows. Add CI build workflow for Debian, Fedora, Ubuntu, and Archlinux. Add release workflow for automated GitHub releases on tags. Add dependabot configuration for GHA pin updates. Remove obsolete .travis.yml and .build.yml.
2026-02-26locations: Update active stations from NOAA METAR datanate1-296/+17675
- Add 1673 new weather stations verified against live NOAA METAR data - Rename 5 Uzbekistan ICAO codes to reflect the UT->UZ prefix change - Replace stale EHVB with EHRD for The Hague - Rename Kowloon to Hong Kong for VHHH - Add Kosovo as a new country in the Europe region - Add 5 new timezone entires to existing country blocks Fixes #19 Fixes #29 Fixes #59 Fixes #119 Fixes #129 Fixes #142 Closes #108
2026-02-25metar: fix pointer offset in metar_finishnate1-5/+5
The pointer offset for the `METAR/SPECI` search key is 6 characters too short. The search key is now `<raw_text>METAR KPDX` (21 chars), but the code still advances by 15 characters, which was correct for the old format `<raw_text>KPDX` This lands the pointer on `KPDX 161753Z...` instead of `161753Z...`. The regex parser skips the unrecognized tokens so it often still works, but it passes garbage to metar_parse and could cause subtle parser failures.
2026-02-12locations: remove compression supportVictor Kareh3-48/+5
libxml2 is removing built-in zlib support, which breaks reading compressed Locations.xml.gz files. Instead of implementing our own decompression, drop compression entirely. Fixes: #144
2026-01-11configure: fix disable behaviorThibaud CANALE1-2/+2
Original author: Sam James <[email protected]> Bug: https://bugs.gentoo.org/968600 Signed-off-by: Thibaud CANALE <[email protected]>
2025-12-11location: provide extra checks to avoid SEGFAULTThibaud CANALE2-33/+35
Bug report in Gentoo: https://bugs.gentoo.org/965885 Signed-off-by: Thibaud CANALE <[email protected]>
2025-09-30metar: Support SPECI report dataVictor Kareh1-4/+12
Since AviationWeather updated their API, they now return two report types: METAR (standard hourly repors) and SPECI (special intermediate reports). We can parse those out from the response since the format is similar, and the only thing that changes is the prefix.
2025-09-18metar: Update AviationWeather URLVictor Kareh1-2/+2
According to their website: "The AviationWeather Data API has been redeveloped in 2025." Also they put 'METAR' (or 'SPECI') onto the beginning of data to make it ICAO compliant, so we add code to parse that. Fixes #135
2025-07-25Port to libsoup-3.0Đoàn Trần Công Danh11-93/+156
2025-07-02Bump version to 1.29.0lukefromdc2-1/+5
2024-02-14release 1.28.0v1.28.0raveit652-1/+7
2024-02-14Revert "release 1.28.0"raveit652-7/+1
This reverts commit f4ce3914b76bf41ed2c636572b749e5f02b243b5. tag was missing
2024-02-13release 1.28.0raveit652-1/+7
2024-02-13tx: sync with transifexraveit6524-4781/+4716
2024-01-23ci: use ubuntu jammy as dockerraveit651-1/+1
2023-12-19The url with 'www.' is a permanent redirect (308) to the url without itOlivier Gagnon1-1/+1
2023-10-25timezone: declare 'tzdir' as 'const char'raveit651-1/+2
fixes build warning ``` mateweather-timezone.c:74:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 74 | tzdir = g_getenv ("TZDIR"); ```
2023-10-19release 1.27.1v1.27.1raveit652-15/+24
2023-10-19tx: sync with transifexraveit65138-18087/+17083
2023-10-19Tbilisi, Georgia (Country) IATA Airport code (TBS) changed to ICAO code (UGTB)Mike Ovchinnikov1-1/+1
2023-10-19fix some location namesraveit653-21/+18
2023-10-18Dataserver url changedMike Ovchinnikov1-1/+1
2023-09-01tx: cleanup configsraveit651-16/+0
2023-09-01tx: rebuilding locations.potraveit651-7/+7
2023-07-31Use TZDIR for ZONEINFO_DIR if the variable is set.宋文武1-3/+5
2023-04-15Fix -Wincompatible-pointer-types-discards-qualifiers warningrbuj2-8/+8
2023-04-15Chicago area updatesLinas Vepštas1-11/+11
* Chicago area updates Some of the Chicago zones report: Note This is the final forecast issuance for the Cook County forecast zone (ILZ014). Subsequent Cook County forecasts will be issued for three new zones, Northern Cook County (ILZ103), Central Cook County (ILZ104) and Southern Cook County (ILZ105). For more information, please visit www.weather.gov/lot/Forecast_Zone_Change. That URL notes that the Chicago area changes in March 2020. I've updated based on the URL's https://forecast.weather.gov/MapClick.php?zoneid=ILZ103 and likewise for ILZ104, ILZ105, etc. I understand Mate weather applet is in maintenance mode, but until the cut-over is done, all the current MATE distros are still shipping this (outdated) version.
2023-01-14release 1.27.0v1.27.0mbkma2-1/+18
2023-01-13rename Europe/Kiev to Europe/Kyiv (#115)mbkma1-5/+4
2022-12-13Fix build warnings about missing field initializer (#102)Robert Antoni Buj Gelonch2-2/+2
2022-11-11tx: sync with transifexmbkma135-78914/+72143
2022-11-10configure.ac: The macro 'AC_HELP_STRING' is obsolete (#112)Robert Antoni Buj Gelonch1-1/+1
2022-10-29tx: update resourcembkma2-131/+135
2022-10-28tx: migrate config filembkma2-11/+28
2022-08-06configure.ac: Bump Autoconf version because of LT_INITrbuj1-1/+1
2022-07-24locations: add San Miguel de Tucuman (Argentina)Rodolfo Guagnini1-1/+10
San Miguel is the capital city of an state of Argentina, and it has international airport with corresponding 4 letter code. I used other Argentina city as template, updated the name, the airport's code, latitud and longitude taken from wikipedia: https://en.wikipedia.org/wiki/Teniente_General_Benjam%C3%ADn_Matienzo_International_Airport
2022-02-13ci: drop -Wunused-parameter compiler cflag from debian buildraveit651-1/+1
2021-12-11Use a blank line at mostrbuj8-18/+0
2021-12-11tx: add transifex config for locations.potraveit651-1/+8
2021-12-11add locations.potraveit651-0/+19362
2021-12-11generate locations.pot with makepotraveit651-0/+2
2021-12-11CorrectionsMejans1-44/+44
According to the linguistic counsel
2021-08-03release 1.26.0v1.26.0raveit652-1/+18