Commit Graph
3723 Commits
Author SHA1 Message Date
Rajat Jain 19ee70f9ab window: Add missing keyboard shortcut
Add missing accelerator for <Alt>+Down as it was
mentioned in shortcuts dialog but not implemented.

Fixes #492

Signed-off-by: Rajat Jain <rajatjain.ix@gmail.com>
2021-05-11 19:11:31 +00:00
Sebastian Keller 44e2420645 range: Handle zero-length ranges when calculating overlap
Zero length ranges, such as for events without a DTEND could be
considered to overlap a range if they were at exactly the end of the
range. The end of a range however is the first date that is supposed to
not overlap, so a zero-length range on exactly this point should not be
considered overlapping.

This fixes cases where all-day events from the next month could show up
on the same day of the current month if they did not have a DTEND.

This also adds tests for all possible cases of such zero-length events
overlapping.

Fixes https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/701
2021-04-21 13:59:26 +00:00
Pawan Chitrakar ce969c35b7 Update Nepali translation 2021-04-17 02:54:04 +00:00
Kalev Lember cd5595d20f appdata: Fix the date for 40.0 release 2021-04-13 01:14:08 +00:00
Johannes Maibaum a2a6d2e4aa weather-service: Set contact_info to DOAP file URL
Currently, GNOME Calendar does not set up the contact_info needed in
libgweather 40 API. This leads to the following assertion, and no
weather forecast info being shown in Calendar:

`gweather_info_update: assertion 'info->contact_info != NULL' failed.`

To fix the assertion, set the URL to the DOAP file on the master branch.
GNOME Weather does the same, see:

https://gitlab.gnome.org/GNOME/gnome-weather/-/commit/6763f7dc9cb25eac4aa13e94e07ea932a42c8e4d

Part of #682
2021-04-13 01:07:37 +00:00
Johannes Maibaum 78d0df1404 window: Remove nested CLAMP() on switching views 2021-04-11 19:06:38 +02:00
Johannes Maibaum 4c51539168 window: Fix GcalWindow's change-view accelerators
Commit 2d5b1aa9d1 removed the
GCAL_WINDOW_VIEW_DAY variant of the GcalWindowView enum. Since then, the
change-view accelerators to switch to GCAL_WINDOW_VIEW_{WEEK,MONTH,YEAR}
were broken, as the accelerator setup was assuming
GCAL_WINDOW_VIEW_WEEK==1, which isn't true anymore with
GCAL_WINDOW_VIEW_DAY being gone.

This change fixes the enum values in the accelerator setup.
2021-04-11 19:06:05 +02:00
Sebastian Keller fb242dd109 time-zone-monitor: Use local timezone as fallback without dbus service
On systems without anything providing the org.freedesktop.timedate1
interface, the timezone returned by the monitor would always be NULL,
because it was never set. This can lead to crashes in places that expect
the monitor to always return a valid timezone. So in that case use the
local timezone from when the monitor got initialized.

Fixes https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/703
2021-04-11 00:27:08 +00:00
Sebastian Keller a0d24cd5d8 time-zone-monitor: Fix timezone leak on timezone changes
The old timezone was never being unref'ed before it got overwritten.
2021-04-11 00:27:08 +00:00
Pawan Chitrakar 899897c5fc Update Nepali translation 2021-04-07 16:34:25 +00:00
Chao-Hsiung Liao dc6931abb9 Update Chinese (Taiwan) translation 2021-04-03 00:30:58 +00:00
Zander Brown e0fbb922bb Update British English translation 2021-04-02 13:29:32 +00:00
Nathan Follens 636bad1f75 Update Dutch translation 2021-04-01 18:19:59 +00:00
Yaron Shahrabani 94ab4b7d8f Update Hebrew translation 2021-03-30 22:19:18 +00:00
Yosef Or Boczko 169a1485c1 Update Hebrew translation 2021-03-29 19:07:16 +00:00
Boyuan Yang fc74ecf62f Update Chinese (China) translation 2021-03-25 02:58:29 +00:00
Georges Basile Stavracas Neto 62749c165a 40.0 2021-03-22 15:54:41 -03:00
Georges Basile Stavracas Neto 9a636f33e5 tests: Disable unauthorized test again
Needs more love.

Closes https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/700
2021-03-22 15:54:41 -03:00
Milo Casagrande 3c5e38f8e9 Update Italian translation 2021-03-15 07:49:06 +00:00
Ask Hjorth Larsen 78344b0fc5 Updated Danish translation 2021-03-13 16:47:17 +01:00
Kjartan Maraas e7aba03364 Update Norwegian Bokmål translation 2021-03-13 14:24:59 +00:00
Georges Basile Stavracas Neto c37a9ef9ff Post-release version bump 2021-03-12 11:13:08 -03:00
Georges Basile Stavracas Neto 2465b9e7be 40.rc 2021-03-12 11:06:59 -03:00
Georges Basile Stavracas Neto 46c225e07c build: Bump GLib dependency
We depend on a newer version now.
2021-03-12 11:06:07 -03:00
Georges Basile Stavracas Neto d38c1f2f41 tests: Enable unauthorized discovery test
This one is actually implemented, what's not implemented is the WebDAV one.
2021-03-12 11:03:26 -03:00
Rūdolfs Mazurs d694402522 Update Latvian translation 2021-03-07 14:46:19 +00:00
Seong-ho Cho 7067c5483c Update Korean translation 2021-03-07 08:32:06 +00:00
Piotr Drąg eb51cc1884 Update Polish translation 2021-02-28 13:43:38 +01:00
Georges Basile Stavracas Neto d1a0dbd8f5 event: Switch to g_time_zone_new_identifier()
And add the relevant NULL checks here.
2021-02-26 19:26:49 -03:00
Georges Basile Stavracas Neto 27c6d2c017 time-zone-monitor: Switch to g_time_zone_new_identifier()
We don't even need to check for NULL here because if the system timezone
is invalid, we're too screwed to have a fallback path anyway.
2021-02-26 19:26:49 -03:00
Georges Basile Stavracas Neto 64fe7e543c utils/date-time-utils: Use g_time_zone_new_identifier()
g_time_zone_new() is deprecated in favor of it, so use it.
2021-02-26 19:26:49 -03:00
Georges Basile Stavracas Neto 9800fbec4b utils/date-time-utils: Trivial style cleanup 2021-02-26 19:26:49 -03:00
Georges Basile Stavracas Neto 97d127c9db Post-release version bump 2021-02-26 19:26:49 -03:00
Goran Vidović 346fd00747 Update Croatian translation 2021-02-25 15:46:56 +00:00
Fran Dieguez 09be8deb6e Update Galician translation 2021-02-24 14:37:06 +00:00
Asier Sarasua Garmendia 1a2a9b487b Update Basque translation 2021-02-23 19:39:32 +00:00
Aurimas Černius e3bea86a7e Updated Lithuanian translation 2021-02-21 21:34:46 +02:00
Jiri Grönroos d1ba1c4953 Update Finnish translation 2021-02-21 13:44:58 +00:00
Emin Tufan Çetin 4f84a13e1b Update Turkish translation 2021-02-15 13:44:01 +00:00
Georges Basile Stavracas Neto 232d7e725e 40.beta 2021-02-14 13:53:18 -03:00
Christopher Davis 709cfb75fa gui: Use HdyViewSwitcher
For GNOME 40 apps should migrate to use HdyViewSwitcher.
For now, this does not mean full adaptivity.
2021-02-14 16:34:13 +00:00
Eric Daigle a93ae8778a new-calendar-page: add callback for new calendar color chooser
The color chosen in the new calendar page is currently ignored
when creating a new calendar, as described in #681.

Added a callback similar to that used for the name text entry,
allowing new calendars to be created with the chosen color.

Closes https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/681
2021-02-14 16:01:11 +00:00
A S Alam 1f08a10db8 Update Punjabi translation 2021-02-14 05:08:02 +00:00
Guillaume Bernard 1e27c938f7 Update French translation 2021-02-08 07:10:00 +00:00
Fran Dieguez 696f2f21f9 Update Galician translation 2021-01-31 15:52:24 +00:00
Boyuan Yang 77f76b6cbc Update Chinese (China) translation 2021-01-27 16:16:46 +00:00
Danial Behzadi b743dcf671 Update Persian translation 2021-01-22 12:11:30 +00:00
Balázs Meskó 442df955c1 Update Hungarian translation 2021-01-19 20:26:16 +00:00
Jordan Petridis 49f19b8d72 40.alpha 2021-01-18 20:09:09 +02:00
Fabio Tomat 1894c0fd07 Update Friulian translation 2021-01-17 14:07:38 +00:00