Commit Graph
3345 Commits
Author SHA1 Message Date
A S Alam 77a07f469a Update Punjabi translation 2019-09-02 14:33:42 +00:00
Marek Černocký 9ef59d5856 Updated Czech translation 2019-09-02 16:30:29 +02:00
Ask Hjorth Larsen cb8b9517b7 Updated Danish translation 2019-08-29 02:13:27 +02:00
Jordi Mas 36e4145296 Update Catalan translation 2019-08-28 15:42:16 +02:00
Марко Костић ad80d81776 Update Serbian translation 2019-08-26 19:44:48 +00:00
Seong-ho Cho 5167d9a45c Update Korean translation 2019-08-26 11:36:45 +00:00
Fran Dieguez 69c6061766 Update Galician translation 2019-08-25 22:39:35 +00:00
Georges Basile Stavracas Neto 666679f123 year-view: Remove stray message 2019-08-25 17:57:48 +03:00
Michael Catanzaro 748b7207e7 Don't leave dangling pointers in the GcalEvent cache
The cache has an unowned pointer to the GcalEvent's UID. We need to
update the cache with the GcalEvent's new UID to avoid use-after-free.

Fixes #434
2019-08-25 17:39:01 +03:00
Balázs Úr 15bf7892fa Update Hungarian translation 2019-08-24 18:41:50 +00:00
Rūdolfs Mazurs 5226f18c65 Update Latvian translation 2019-08-24 17:06:25 +00:00
Danial Behzadi 36bde05a22 Update Persian translation 2019-08-22 14:11:08 +00:00
Piotr Drąg 8c2b0a268b Update Polish translation 2019-08-20 17:05:15 +02:00
Jiri Grönroos cb3afe1258 Update Finnish translation 2019-08-17 13:24:54 +00:00
Bruce Cowan bfc8e6cdd4 Update British English translation 2019-08-13 21:19:32 +00:00
Aurimas Černius 8bcf0ff682 Updated Lithuanian translation 2019-08-08 22:27:41 +03:00
Tim Sabsch 9d4dfb6840 Update German translation 2019-08-05 22:17:01 +00:00
Kristjan SCHMIDT 12afb17e40 Update Esperanto translation 2019-08-05 20:13:47 +00:00
Anders Jonsson 5f42966895 Update Swedish translation 2019-08-05 19:47:11 +00:00
Charles Monzat 9f306afcbe Update French translation 2019-08-05 11:05:04 +00:00
Jordi Mas 7f5441ae07 Update Catalan translation 2019-08-05 06:14:55 +02:00
Florentina Mușat d1ad43522f Update Romanian translation 2019-08-03 12:08:05 +00:00
Jor Teron b06780906c Update Karbi translation 2019-08-02 07:17:54 +00:00
Javier Jardón 2b3023232f flatpak: build intltool before e-d-s
Needed now that it is not part of the runtime/SDK.
2019-07-31 19:01:37 +01:00
Kjartan Maraas 7f153c309b Update Norwegian Bokmål translation 2019-07-26 08:00:50 +00:00
Jor Teron f388504583 Update Karbi translation 2019-07-24 01:22:48 +00:00
Jordi Mas 97ea053f0e Update Catalan translation 2019-07-23 15:26:18 +02:00
Asier Sarasua Garmendia 829d25bc56 Update Basque translation 2019-07-20 07:05:03 +00:00
Goran Vidović a39bef0bf4 Update Croatian translation 2019-07-19 20:48:52 +00:00
Georges Basile Stavracas Neto f81320bdd1 3.33.4 2019-07-16 21:30:31 -03:00
Georges Basile Stavracas Neto 75d24803ed tests: Temporarily disable discoverer test 2019-07-16 21:30:31 -03:00
Jor Teron 05d71047c1 Add Karbi translation 2019-07-16 17:20:30 +00:00
Georges Basile Stavracas Neto 00e883ca63 year-view: Optimize sidebar update
Use the cached events to fill the sidebar, instead of
querying e-d-s every time we need an update.
2019-07-13 20:44:27 -03:00
Georges Basile Stavracas Neto 9aec1c097d new-calendar-page: Properly cleanup sources
We can't control a widget's property at destruction time.
Cleanup the sources directly.
2019-07-13 20:07:30 -03:00
Georges Basile Stavracas Neto b49486d0f9 calendar: Disconnect from the visible signals as well
Missed from the initial implementation.
2019-07-13 19:54:47 -03:00
Georges Basile Stavracas Neto 07acf540ae calendar: Disconnect from the correct object
The name changed signal comes from the ESource, not
the extension.
2019-07-13 19:54:17 -03:00
Georges Basile Stavracas Neto bb2a1321be calendar: Use gulong for signal handlers
They are unsigned longs, not unsigned ints.
2019-07-13 19:52:53 -03:00
Georges Basile Stavracas Neto 1d6dee8bbb manager: Avoid reentrancy
While deleting the calendar, we may run into a situation
where the GcalCalendar instance is destroyed before the
GcalManager:calendar-removed signal is emitted, causing
us to emit the signal with a destroyed object.

Prevent that by increasing the ref count before emiting
the signal.
2019-07-13 19:51:02 -03:00
Georges Basile Stavracas Neto f0060b7699 new-calendar-page: Use the new discoverer
The new discoverer is a vast improvement over the code
that use used to have here. Right now, we fail to use
Soup to detect the URL, and that's been reported multiple
times already.

Use the new web discoverer code, and adjust the UI to
match the new code. Namely, use a GtkPopover to show
the credentials widget.

Fixes #380
2019-07-13 16:04:31 -03:00
Georges Basile Stavracas Neto ff0644ad76 utils: Add auxiliary function to format display names
This will be used by the web source discoverer to format
any URLs that contain a file name in their path.
2019-07-13 16:04:31 -03:00
Georges Basile Stavracas Neto 371fdbc881 Introduce new source discoverer
The new source discoverer is a complete overhaul of
the current code. It is async-only, correctly threaded,
and easier to maintain.

A major new feature of this web source discoverer is
that it now pings the server to see if the URL feeds
us back with an iCalendar file.

Furthermore, it continues to use E-D-S WebDAV discovery
functions as a fallback mechanism.

Fixes #380
2019-07-13 16:04:30 -03:00
Georges Basile Stavracas Neto 2aa9bc1f61 tests: Add calendar server and tests
This will be used to write a propert test suite
for the new calendar discoverer code.
2019-07-13 16:04:30 -03:00
Georges Basile Stavracas Neto 54690e285a build: Improve test generation 2019-07-13 16:04:30 -03:00
Ömer Fadıl USTA 2e5067d75c Bump meson version to 0.50.0 2019-07-10 11:18:17 +03:00
Michael Catanzaro 34c062a7fa Fix crash in update_default_calendar_row()
It's wrong to call set_row() with NULL row.

Fixes #422
2019-07-10 01:01:42 +00:00
Michael Catanzaro 621d69e0bc utils: Use setlocale() in is_workday()
Trying to use environment variables to guess the locale was a good
attempt, but this is tricky because they have to be looked up in a
certain order: first LC_ALL, then fallback to LC_TIME, and finally LANG,
which was missed here. This caused a huge warning spam on the year view
when only LANG is set, and usually only LANG should be set since the
other environment variables are usually used for temporary overrides.
Instead, query the locale using setlocale().

Also, don't assert if the locale is shorter than expected (missing
territory code) since there is at least one valid locale that does not
have any territory codes (Esperanto) and since it's programmer error to
assert when the application processes unexpected input like this.

Fixes #424
2019-07-09 21:52:56 -03:00
Michael Catanzaro 223ed62034 weather-service: Fix buffer overflow in get_icon_name_sortkey()
We can just use strlen() here.

Fixes #425
2019-07-09 21:48:11 -03:00
Georges Basile Stavracas Neto 02a5eca945 weather-service: Reorganize file 2019-07-09 21:47:14 -03:00
Michael Catanzaro 04053dbf47 weather-service: Properly disconnect from GWeatherInfo
We fail to disconnect from the GWeatherInfo in both update_location()
and dispose. We have to fix update_location() manually. To avoid the
need to disconnect in dispose, we can just use g_signal_connect_object().
2019-07-09 21:26:22 -03:00
Georges Basile Stavracas Neto 8a98c697c4 week-header: Trivial style cleanup 2019-07-09 21:24:58 -03:00