Commit Graph
2970 Commits
Author SHA1 Message Date
Georges Basile Stavracas Neto 4fb135f7dc theme: improve spacing in month view 2018-04-30 22:03:52 -03:00
Georges Basile Stavracas Neto b6df8cde7b manager: fix reference management
GcalManager:remove_event() is an asynchronous function
that, by the time the callback is executed, unreferences
the event that is being removed. This implies that, when
the function was called, a reference was taken -- we don't
want the event to be finalized during the operation, after
all.

The problem is that the reference was never taken.

Fix that by properly owning a reference to the event when
removing it, and dropping it when the removal is finished.

Issue: #268
2018-04-30 21:26:03 -03:00
Georges Basile Stavracas Neto bc0744cc0d tests: update multiday test
Until we have a better control over the system timezone,
let's not hit that issue.
2018-04-30 20:45:46 -03:00
Georges Basile Stavracas Neto 91fdf1783b event: improve documentation for gcal_event_is_multiday
Add some examples, so I can remember them in a few days from
now.
2018-04-30 20:45:01 -03:00
Georges Basile Stavracas Neto 65b00e5a23 flatpak: build documentation too 2018-04-30 20:44:39 -03:00
Georges Basile Stavracas Neto 5ff7afab88 build: rename gtk_doc to documentation 2018-04-30 20:35:24 -03:00
Georges Basile Stavracas Neto bedc98b192 event: fix multiday check
Checking if an event is multiday is currently broken
because g_date_time_difference() returns raw time spans,
and that value means "there is 24h of difference between
these dates", when what we're looking for is "how many
days are between these two dates".

To fix that, use the GDate API instead of GDateTime.
2018-04-30 19:31:01 -03:00
Andrea Azzarone 9d0b44d4e3 view: Auto disconnect weather-changed signal handler
Use g_signal_connect_object in order to auto disconnect the weather-changed
signal handler when the view object is finalized.

https://gitlab.gnome.org/GNOME/gnome-calendar/issues/271
2018-04-11 17:45:02 +02:00
Yuras Shumovich a83e119e34 Update Belarusian translation
(cherry picked from commit b938087799dbc794cd051893b5c68777154ef89e)
2018-04-05 12:41:24 +00:00
Mingcong Bai 8fff4bf0be Update zh_CN translation 2018-03-29 16:57:03 +08:00
Matej Urbančič 4420f6e2e3 Updated Slovenian translation 2018-03-27 18:04:41 +02:00
Matej Urbančič e0e2a2a980 Added Slovenian translation 2018-03-20 21:41:00 +01:00
Sveinn í Felli f43dd51551 Update Icelandic translation
(cherry picked from commit 49010c0c51ca701043c7dcefd265a846af456c48)
2018-03-19 07:43:25 +00:00
Jordi Mas dfba28077a Update Catalan translation 2018-03-18 17:35:03 +01:00
Stas Solovey 59fd97520b Update Russian translation
(cherry picked from commit 0a1f7aa9127e6ff652e82be7b8f376c43582912c)
2018-03-13 16:44:48 +00:00
Anders Jonsson c2b545dafb Update Swedish translation
(cherry picked from commit 8237bbfb24a798951a8708eb46c3970ef99719e2)
2018-03-11 20:25:25 +00:00
Guillaume Bernard 37fef8b8a1 Update French translation
(cherry picked from commit ea59390307ad1fb145ce0bb5b619fb8b537f524a)
2018-03-11 12:11:14 +00:00
Guillaume Bernard daa98e5081 Update French translation
(cherry picked from commit cf5cc7dfdfc2184209bdd2993f60fb49b1e0cefe)
2018-03-11 09:37:09 +00:00
Aefgh39622 11b4fa8dbe Update Japanese translation 2018-03-10 02:44:18 +00:00
Efstathios Iosifidis 5c00a04950 Update Greek translation 2018-03-08 11:27:12 +00:00
Giorgos Argyropoulos fe1447494c Update Greek translation 2018-03-08 11:14:50 +00:00
Georges Basile Stavracas Neto 61b7845b5a Bump 3.29.0 release 2018-03-05 16:14:32 -03:00
Georges Basile Stavracas Neto 8cfb66aaed GNOME Calendar 3.27.92 2018-03-05 16:07:12 -03:00
Rafal Luzynski e6483e96e2 utils: Use nominative/genitive month names correctly
These changes are needed since the standalone (nominative) vs. full date
format (genitive) month names support has been introduced in Linux with
glibc 2.27.  They are also supported in *BSD systems.

See also:
https://bugzilla.gnome.org/show_bug.cgi?id=749206
https://sourceware.org/bugzilla/show_bug.cgi?id=10871

https://gitlab.gnome.org/GNOME/gnome-calendar/issues/125
2018-03-05 15:57:03 -03:00
Alan Mortensen e7e693765b Updated Danish translation 2018-03-05 16:16:38 +01:00
Rūdolfs Mazurs a1de4b58a0 Update Latvian translation 2018-03-04 13:56:02 +00:00
gogo 8bffc184f5 Update Croatian translation 2018-02-28 20:52:42 +00:00
Aurimas Černius 685f8518e6 Updated Lithuanian translation 2018-02-27 23:10:48 +02:00
Georges Basile Stavracas Neto 41c8804450 tests: add more event tests 2018-02-27 14:57:34 -03:00
Georges Basile Stavracas Neto a8350555da event: trivial cleanups 2018-02-27 14:57:20 -03:00
Georges Basile Stavracas Neto c51957f214 test: properly initialize variables 2018-02-26 23:39:15 -03:00
Georges Basile Stavracas Neto bc3a41d96c tests: Add event test 2018-02-26 23:18:54 -03:00
Georges Basile Stavracas Neto 3b860ece2e utils: add autoptr support to ECalComponent 2018-02-26 23:18:10 -03:00
Georges Basile Stavracas Neto e630c12f01 tests: reorganize meson file 2018-02-26 22:16:02 -03:00
Milo Casagrande 29d56c2c59 Update Italian translation 2018-02-26 08:08:16 +00:00
Seong-ho Cho 0cbbae3ce6 Update Korean translation 2018-02-25 02:49:48 +00:00
Arnaud B 8ff016e569 Specify Meson as build system. 2018-02-24 14:37:42 +00:00
Baurzhan Muftakhidinov 8c2bafe63d Update Kazakh translation 2018-02-24 14:15:54 +00:00
Arnaud B 8d0707188d The libdazzle module moved to Gitlab. 2018-02-24 12:57:05 +00:00
Liivia Lilleväli 9faa4a663a Add Estonian translation 2018-02-24 11:24:15 +00:00
Georges Basile Stavracas Neto f19bf803ba docs: update CONTRIBUTING.md 2018-02-23 16:11:36 -03:00
Georges Basile Stavracas Neto 1234dd8292 manager: small cleanup
Use g_clear_pointer()
2018-02-23 15:48:15 -03:00
Georges Basile Stavracas Neto 6ce9aa2f3f ci: make test verbose 2018-02-23 15:48:15 -03:00
Daniel Mustieles 1f226db114 Updated Spanish translation 2018-02-22 10:17:38 +01:00
Marek Cernocky b1115ec539 Updated Czech translation 2018-02-22 09:59:55 +01:00
Georges Basile Stavracas Neto e7ecf6a915 Revert "ci: Install project before running tests"
This reverts commit 3bf88e2103.
2018-02-21 19:24:09 +00:00
Georges Basile Stavracas Neto 3bf88e2103 ci: Install project before running tests 2018-02-21 16:55:48 +00:00
Piotr Drąg f5b6a3696f Update Polish translation 2018-02-21 17:13:18 +01:00
Piotr Drąg 4c17887314 Remove po/Makevars
Meson doesn’t use it, and Damned Lies learned to read po/meson.build.
2018-02-20 23:28:01 +01:00
Georges Basile Stavracas Neto 528c1b32f0 ci: Add missing geoclue2-devel dependency 2018-02-20 22:06:38 +00:00