Commit Graph
3377 Commits
Author SHA1 Message Date
Jordan Petridis 985e6d3a42 ci: quote yaml strings 2019-09-30 18:31:34 +03:00
Georges Basile Stavracas Neto 86ce0b7c80 ci: Remove double deploy stages 2019-09-30 12:27:38 -03:00
Georges Basile Stavracas Neto d91984ed54 ci: Actually deploy Flatpaks 2019-09-30 12:21:16 -03:00
Georges Basile Stavracas Neto c3fb16bb1b Reimplement Flatpak publishing 2019-09-30 12:19:06 -03:00
Christopher Davis 18814e014d CI: Use development profile for CI builds
Adds the -Dprofile=development argument to meson args for
CI builds. Syncs CI with flatpak manifest.
2019-09-30 12:04:08 -03:00
Christopher Davis 0aa9e42016 flatpak: Add development styling to window
Adds .devel style class to the main window for development
builds of Calendar.

Related to https://gitlab.gnome.org/GNOME/gnome-calendar/issues/285
2019-09-30 12:04:08 -03:00
Christopher Davis 0d6b2327e0 flatpak: Allow dual installation of app bundles
Part of https://gitlab.gnome.org/GNOME/Initiatives/issues/1.
Allows for the installation of development bundles alongside
stable versions.

Related to https://gitlab.gnome.org/GNOME/gnome-calendar/issues/285
2019-09-30 12:04:08 -03:00
Georges Basile Stavracas Neto 151c47a8b3 Bump 3.35.0 2019-09-30 12:03:36 -03:00
Jakub Steiner 7845676f0d icon: create a nightly app icon
- Provide a development variant of the app icon
  See https://gitlab.gnome.org/GNOME/Initiatives/issues/12
  for more info.

/label ~"9. Initiative: NightlyAppIcons"
2019-09-30 14:40:15 +00:00
Jakub Steiner 0cdd7ec12d icon: avoid using text in app icon
- new icon metaphor to avoid using letters/numbers

Fixes https://gitlab.gnome.org/GNOME/gnome-calendar/issues/351
2019-09-30 14:34:30 +00:00
Matej Urbančič 6434cf828d Updated Slovenian translation 2019-09-26 22:02:06 +02:00
Dušan Kazik 5dd5d034c1 Update Slovak translation 2019-09-26 07:05:33 +00:00
Michael Catanzaro cb14c3f46c Fix double free in gcal_quick_add_popover_set_property
This already uses an autoptr.

Fixes #455
2019-09-21 16:06:48 +00:00
Michael Catanzaro 50b6d00784 manager: add GcalContext property
This improves access to the GcalContext inside GcalManager.

Also, remove test-manager since it only tests that gcal_manager_new()
returns non-NULL.
2019-09-19 16:04:04 -05:00
Michael Catanzaro 8e6a3b9f3f Fix crashes when e_cal_util_get_system_timezone() returns NULL
The return value is nullable, but gnome-calendar fails to check it.

Because the nullable return value is inconvenient for us, we can instead
add and use gcal_context_get_icaltimezone() to supplement the existing
gcal_context_get_timezone().

We'll also need a function to convert from GTimeZone to ICalTimezone,
gcal_timezone_to_icaltimezone().

Fixes #419
2019-09-19 16:01:44 -05:00
Michael Catanzaro d0d4166d23 context: initialize GcalSearchEngine later
After the next commit, GcalSearchEngine will require GcalContext to be
ready to initialize itself.
2019-09-19 15:37:45 -05:00
Georges Basile Stavracas Neto 5e4bbe446f utils: Pass GcalCalendar to ask_recurrence_modification_type()
The method ask_recurrence_modification_type() currently
receives an ESource, and tried to fetch the ECalClient
from the ESource by using g_object_get_data().

However, since we moved to GcalCalendar, we do not set
this data field in ESource.

Receive a GcalCalendar instead, and use the appropriate
function gcal_calendar_get_client() instead.
2019-09-14 21:38:53 -03:00
Michael Catanzaro 18ae67cb59 Use more g_signal_connect_object()
Most of these are probably paranoid, not bugs. I haven't done an
exhaustive review to see what really needs it: that would be
time-consuming and require significant familiarity with the Calendar
codebase. This was just a quick check. Anyway, I vote for paranoid
when it comes to using g_signal_connect() regardless. It's dangerous,
and there's no reason to ever leave a signal connected after the user
data object has been destroyed.

Fixes #423
2019-09-14 23:28:42 +00:00
Georges Basile Stavracas Neto 9644c30eee date-time-utils: Fix weekday calculation
GNOME Calendar needs to deal with two different
weekday ranges:

 1. Sunday → 0 ... Saturday → 6
 2. Monday → 1 ... Sunday → 7 (used by GDateTime)

When converting (2) into (1), the correct calculation
is `weekday % 7`.

However, gcal_date_time_get_start_of_week() was doing
`weekday - 1` instead.

Fix it and do the correct calculation instead.

https://gitlab.gnome.org/GNOME/gnome-calendar/issues/451
2019-09-14 11:14:01 -03:00
Georges Basile Stavracas Neto 450aa5e158 log: Remove g_get_current_time 2019-09-14 10:46:14 -03:00
Georges Basile Stavracas Neto e39bd95c87 log: Use g_autofree 2019-09-14 10:39:38 -03:00
Georges Basile Stavracas Neto 43f5de8a0c main: Trivial style cleanup 2019-09-13 18:53:13 -03:00
Georges Basile Stavracas Neto 22596db1d1 window: Readd <Ctrl>n shortcut
https://gitlab.gnome.org/GNOME/gnome-calendar/issues/383
2019-09-13 18:49:05 -03:00
Roger 88ce5407d5 Update README.md 2019-09-13 21:13:35 +00:00
Roger a8882b441b Add info to README 2019-09-13 21:13:35 +00:00
Georges Basile Stavracas Neto 5b49c4fc46 3.34.0 2019-09-09 12:31:13 -03:00
Ryuta Fujii 0a663eb87b Update Japanese translation 2019-09-08 15:11:48 +00:00
Ryuta Fujii d14c99d9d8 Update Japanese translation 2019-09-08 14:58:27 +00:00
Sabri Ünal 6b878e24ce Update Turkish translation 2019-09-06 19:30:15 +00:00
Milo Casagrande 38a09fc8ef Update Italian translation 2019-09-05 11:52:29 +00:00
Michael Catanzaro 5d2c0faf41 Fix use-after-free in GcalManager code
This was originally discovered and fixed by Milan Crha; I'm just
forward-porting his fix to the master branch. self->clients takes
ownership of this source but we don't currently have ownership here,
leading to a double free vulnerability.

Fixes #435
2019-09-03 12:07:26 +00:00
Hannie Dumoleyn 5fd4c91e2b Update Dutch translation 2019-09-03 08:35:46 +00:00
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