summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* GWeatherLocation: Fix refcount of deserialized named timezoneswip/hadess/gnome-shell-crasherBastien Nocera2018-06-131-1/+1
| | | | | | | | | | | When deserialising named timezones, make sure to hand out a reference to the GWeatherLocation, as all the callers (and the public API) expect a reference to be handed out. This fixes a crash in gnome-shell when garbage collection is triggered and the returned location is unreferenced. See https://bugzilla.redhat.com/show_bug.cgi?id=1577561
* tests: Add a test replicating gnome-shell's world clock usageBastien Nocera2018-06-131-0/+90
| | | | | | | | This will crash when the timezones are listed as the UTC named timezone from the global_world tree variable will have been freed, and then accessed again. See https://bugzilla.redhat.com/show_bug.cgi?id=1577561
* Update Chinese (Taiwan) translationYi-Jyun Pan2018-06-131-190/+622
|
* Merge branch 'wip/muktupavels/fix-metar-data' into 'master'Bastien Nocera2018-06-051-4/+6
|\ | | | | | | | | Fix metar data See merge request GNOME/libgweather!5
| * weather-metar: properly extract metar datawip/muktupavels/fix-metar-dataAlberts Muktupāvels2018-04-301-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 283afc2d23355def1c1bab70a641f40cea52ba7f switched to new METAR data provider, but did not fully update code to properly extract METAR data. The code still assumes that data are separated by newlines. That means that now extracted data includes part of opening raw_text tag, location code and closing raw_text tag. Fix this by moving pointer to correct position to make sure that xml tag and location code is not included. Also search for closing tag to exclude it from data. Before: ext>EVRA 241450Z 22011KT 9999 -SHRA SCT034CB OVC039 11/05 Q1005 NOSIG</raw_text>\u000d After: 241450Z 22011KT 9999 -SHRA SCT034CB OVC039 11/05 Q1005 NOSIG
* | Merge branch 'wip/piotrdrag/vicenza-master' into 'master'Bastien Nocera2018-06-041-5/+0
|\ \ | | | | | | | | | | | | Remove closed Dal Molin Military Airport See merge request GNOME/libgweather!7
| * | Locations: Remove closed Dal Molin Military AirportPiotr Drąg2018-06-041-5/+0
|/ / | | | | | | | | | | | | | | | | | | Quick search confirms that it closed down and doesn’t send METAR anymore: https://en.wikipedia.org/wiki/Vicenza_Airport https://virtualglobetrotting.com/map/dal-molin-airport/ https://bugzilla.gnome.org/show_bug.cgi?id=794224
* | Update Chinese (China) translationBoyuan Yang2018-05-211-136/+292
|/
* tests: Add online interactive METAR testBastien Nocera2018-04-241-3/+35
| | | | | Given an ICAO code, fetch the METAR weather for that station. This makes it easier to debug problems with the live system.
* Update Romanian translationDaniel Șerbănescu2018-04-191-9/+9
| | | | (cherry picked from commit 08b14a9c180bf27e13103ca4c8340a8d3f930c5b)
* Update Romanian translationDaniel Șerbănescu2018-04-181-541/+956
| | | | (cherry picked from commit c2ab899209deba35c60918ba37098a612a8f046b)
* Update Romanian translationDaniel Șerbănescu2018-04-181-166/+248
|
* Update German translationFlorian Heiser2018-04-171-47/+52
|
* Update Catalan translationJordi Mas2018-04-171-1/+1
|
* Updated Slovenian translationMatej Urbančič2018-03-271-143/+225
|
* Added Slovenian translationMatej Urbančič2018-03-271-290/+303
|
* Update Arabic translationKhaled Hosny2018-03-251-270/+288
|
* Merge branch 'wip/gsettings-leak-fix' into 'master'Bastien Nocera2018-03-151-0/+1
|\ | | | | | | | | lib: Fix memory and D-Bus match rule leaks See merge request GNOME/libgweather!3
| * lib: Fix memory and D-Bus match rule leaksBastien Nocera2018-03-151-0/+1
| | | | | | | | | | | | | | | | From #3: > The GWeatherInfo settings object is never freed leading not only > to a memory leak, but also to a dbus match rule leak, which on > the system bus can quickly result in reaching the maximum amount > of allowed match rules. See gnome-shell#96.
* | Update Slovak translationDušan Kazik2018-03-141-276/+296
| | | | | | | | (cherry picked from commit 57b0f1cf79dc3220a99044b09fa5088aea072bb2)
* | Update Russian translationStas Solovey2018-03-131-120/+223
| | | | | | | | (cherry picked from commit c62ff3bbba064f85c43a925f4a126c22bb1fbe84)
* | Update Russian translationStas Solovey2018-03-131-3/+3
| | | | | | | | (cherry picked from commit a2b5b2efeac3335b478e7ef86e0d10be3fcf3be2)
* | Update Russian translationStas Solovey2018-03-131-281/+298
| | | | | | | | (cherry picked from commit f4bb67837d964a46bdf7eb4d6edc146fc82253c5)
* | Update Swedish translationAnders Jonsson2018-03-111-126/+227
| | | | | | | | (cherry picked from commit c797cec4e99ff6b5f1634eae59b3c33d84a0605d)
* | Update Swedish translationAnders Jonsson2018-03-111-281/+299
| | | | | | | | (cherry picked from commit 6f1ed93e95036ec36c166aa93f6eee4d0214e486)
* | Update Latvian translationRūdolfs Mazurs2018-03-091-188/+190
| |
* | Update Latvian translationRūdolfs Mazurs2018-03-091-364/+301
|/
* README: Update to latest resourcesBastien Nocera2018-03-091-8/+13
| | | | | Point to gitlab for new issues, wiki for how to contribute to the locations file, and developer.gnome.org for the API docs.
* Locations: Remove duplicate <station>sBastien Nocera2018-03-091-865/+11
| | | | | | within the same state or country. https://bugzilla.gnome.org/show_bug.cgi?id=792328
* tests: Check for duplicate weather stations in country or stateBastien Nocera2018-03-091-0/+54
| | | | | | | Check for duplicate weather stations in country or state, so as to avoid having duplicates listed at the same level. https://bugzilla.gnome.org/show_bug.cgi?id=792328
* GWeatherLocation: Add helper to get stringified levelBastien Nocera2018-03-093-0/+40
| | | | | | | Add gweather_location_level_to_string() to make printing the level of a location easier, and ease debugging. https://bugzilla.gnome.org/show_bug.cgi?id=792328
* tests: Rename "bad" duplicate weather station testBastien Nocera2018-03-091-10/+12
| | | | | | | | Rename the test as it's checking whether weather stations are badly duplicated, not whether they're unique in the state or country. Duplicate weather stations are allowed across state and country borders. https://bugzilla.gnome.org/show_bug.cgi?id=792328
* GWeatherLocation: Allow disabling automatic weather station creationBastien Nocera2018-03-091-1/+2
| | | | | | | | Add an environment variable to disable the copy of weather stations to attach them to cities. This makes it easier to find duplicate weather stations. https://bugzilla.gnome.org/show_bug.cgi?id=792328
* Locations: Disallow <location> in cityBastien Nocera2018-03-091-1/+1
| | | | | | Weather stations need to be attached to a state or country now. https://bugzilla.gnome.org/show_bug.cgi?id=792328
* Revert "data: Add temporary script to move <location>s"Bastien Nocera2018-03-093-84/+0
| | | | | | | | This reverts commit 5583da22fbe1d56e0280cdf37deeed5b146574e9. Now that the script has been used, no need to keep it around. https://bugzilla.gnome.org/show_bug.cgi?id=792328
* Locations: Move weather station locations to <state> or <country>Bastien Nocera2018-03-091-23080/+23076
| | | | | | And use this to find the closest weather station for a particular city. https://bugzilla.gnome.org/show_bug.cgi?id=792328
* data: Add temporary script to move <location>sBastien Nocera2018-03-093-0/+84
| | | | | | | | | | | Move <location>s to the administrative division above, be it <state> or <country> so that weather stations can be shared between multiple cities without the need to duplicate them. We can then use this to list major cities, and available airports/weather stations, without having to associate them too closely. https://bugzilla.gnome.org/show_bug.cgi?id=792328
* GWeatherLocation: Warn for locations without coordsBastien Nocera2018-03-091-4/+4
| | | | | | | Warn when trying to get distance between 2 locations and one of them has no coordinates. https://bugzilla.gnome.org/show_bug.cgi?id=792328
* tests: Only check city to weather station distancesBastien Nocera2018-03-091-0/+2
| | | | | | | And not to country or state. As those don't have coordinates anyway, they would have caused warnings and returned invalid values. https://bugzilla.gnome.org/show_bug.cgi?id=792328
* GWeatherLocation: Don't try to get distance to elements without coordsBastien Nocera2018-03-091-0/+4
| | | | | | | | Skip over elements that don't have valid coordinates when trying to find the closest weather station, as that would have returned incorrect values. https://bugzilla.gnome.org/show_bug.cgi?id=792328
* tests: Don't require weather stations to have timezonesBastien Nocera2018-03-091-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=792328
* GWeatherLocation: Remove ADM2 sub-divisionBastien Nocera2018-03-094-14/+5
| | | | | | Now that nothing uses it, remove ADM2. https://bugzilla.gnome.org/show_bug.cgi?id=792328
* locations: Remove <province> sub-divisionBastien Nocera2018-03-093-858/+781
| | | | | | | | | | | | | It's only used in the Italy, and matches to the description of a "state" and the GWEATHER_LOCATION_ADM1 level: @GWEATHER_LOCATION_ADM1: A location representing a "first-level administrative division"; ie, a state, province, or similar division. The only difference between ADM1 and ADM2 levels were that ADM1 levels are shown in the location entry, whereas ADM2 levels are not. https://bugzilla.gnome.org/show_bug.cgi?id=792328
* 3.28.03.28.0Bastien Nocera2018-03-092-1/+9
|
* Update Serbian Latin translationМилош Поповић2018-03-081-362/+293
|
* Update Serbian translationМарко Костић2018-03-081-362/+292
|
* Update French translationClaude Paroz2018-03-071-129/+136
|
* Update Greek translationEfstathios Iosifidis2018-03-061-377/+302
|
* Update French translationClaude Paroz2018-03-061-290/+268
|
* Updated Danish translationAlan Mortensen2018-03-061-9/+6
|