Commit Graph
3485 Commits
Author SHA1 Message Date
Georges Basile Stavracas Neto 2d46e673ca timeline: Add filtering API
This will be used by the search.
2020-04-01 21:06:51 -03:00
Georges Basile Stavracas Neto 7cfc264c6d views: Remove ECalDataModel code 2020-04-01 21:06:51 -03:00
Georges Basile Stavracas Neto 9787f02e5b views: Implement GcalTimelineSubscriber 2020-04-01 21:06:51 -03:00
Georges Basile Stavracas Neto 6bcf1a3705 manager: Add GcalTimelineSubscribers to GcalTimeline
Instead of subscribing to the ECalDataModel's API, use the
new API.
2020-04-01 21:06:51 -03:00
Georges Basile Stavracas Neto 3692a0ccf6 Introduce the new calendar monitoring API
It is, as expected, heavily inspired by the ECalDataModel code,
except it uses GDateTime, is timezone aware, and can handle all
day events correctly.
2020-04-01 21:06:51 -03:00
Georges Basile Stavracas Neto 94413c26b1 event: Remove event cache
It's for the best. The cache was being more
problematic than it was worth it.
2020-04-01 21:06:51 -03:00
Georges Basile Stavracas Neto 92f331cd9f range-tree: Add API to remove data
It'll be useful to remove entries without knowing their
range.
2020-04-01 21:06:50 -03:00
Georges Basile Stavracas Neto ec0c17f6fb range-tree: Support destroy function 2020-04-01 21:06:50 -03:00
Georges Basile Stavracas Neto 78248bec5e calendar: Mark all properties as G_PARAM_EXPLICIT_NOTIFY
We explicitly notify them all, so mark them as such. Otherwise,
GLib notifies it when changing these properties through bindings
and such.
2020-04-01 21:06:50 -03:00
Georges Basile Stavracas Neto 90597ca128 calendar: Only notify visibility when it changes
Otherwise we get weird double-notify issues from it.
2020-04-01 21:06:50 -03:00
Georges Basile Stavracas Neto f182813e49 event: Protect event cache with a lock
We'll be creating events from multiple threads soon,
so make sure the event cache is protected enough.
2020-04-01 21:06:50 -03:00
Georges Basile Stavracas Neto ae2a6b9d21 range-tree: Switch to use GDateTime
Using raw integers forces us to select a pre-defined
start and end ranges for the timeline. Since we want
to reuse this data structure on GcalTimeline, make it
a bit more useful.
2020-04-01 21:06:50 -03:00
Georges Basile Stavracas Neto 047078d67d build: Move foward typedefs to gcal-types.h
Standard practice; gcal-types.h is meant to only be
used by header files.
2020-04-01 21:06:50 -03:00
Georges Basile Stavracas Neto 58ce571e93 build: Include src/ files
This will be required by tests in order to
find headers in src/
2020-04-01 21:06:50 -03:00
Georges Basile Stavracas Neto f3a9fcf8f1 contrib: Fix and simplify range checks 2020-04-01 21:06:50 -03:00
Kai A. Hiller 8f0a860966 gcal-calender-popover: Make sorting stable
When multiple calendars with the same name exist, their relative order in the
list is random and changes e.g. when toggling the checkmark next to them. The
result is glitchy behavior.

Now when two calendars have the same name we do a secondary sort by their ID,
resulting in a nice deterministic order.
2020-04-01 22:58:28 +00:00
Georges Basile Stavracas Neto 9f0c20fe24 flatpak: Build EDS without libcanberra 2020-04-01 22:52:39 +00:00
Yosef Or Boczko f2a87bbf07 Update Hebrew translation
(cherry picked from commit b02fe021c8fd05e08c0121293d5c8bc79cb4a858)
2020-04-01 15:49:30 +00:00
Jwtiyar Nariman d591334eae Add Kurdish Sorani translation
(cherry picked from commit cfbe0afb920b3651484346d16aa2a92798a02f7a)
2020-03-28 21:22:27 +00:00
Georges Basile Stavracas Neto 0cb9645076 Bump 3.37 version 2020-03-17 00:26:25 -03:00
Daniel Șerbănescu 2e9a1f8c65 Update Romanian translation 2020-03-10 16:44:19 +00:00
Tim Sabsch 95a4a027e5 Update German translation 2020-03-09 22:54:01 +00:00
Kjartan Maraas 9023351072 Update Norwegian Bokmål translation 2020-03-09 13:52:01 +00:00
Jordi Mas 91698ed73f Update Catalan translation 2020-03-07 13:45:39 +01:00
Georges Basile Stavracas Neto fb2830bbc2 3.36.0 2020-03-06 22:34:50 -03:00
Nathan Follens 09d9ffa385 Update Dutch translation 2020-03-06 14:22:51 +00:00
Milo Casagrande e66c60fba4 Update Italian translation 2020-03-03 07:46:38 +00:00
Aman Alam a1be5c3889 Update Punjabi translation 2020-03-02 05:38:08 +00:00
Matej Urbančič 3cbfd8b4af Updated Slovenian translation 2020-02-29 22:40:06 +01:00
Georges Basile Stavracas Neto 22c9570f16 3.35.92 2020-02-29 15:19:34 -03:00
Daniel Korostil dc53b102f5 Update Ukrainian translation 2020-02-27 10:51:44 +00:00
Seong-ho Cho c4ed07824b Update Korean translation 2020-02-22 10:42:36 +00:00
Piotr Drąg 8a34f014c5 Update Polish translation 2020-02-20 15:25:28 +01:00
Kalev Lember e0053ff9d7 appdata: Avoid accidental appdata ID rename
Make sure it's "org.gnome.Calendar.desktop" and doesn't drop the
.desktop prefix as that confuses apps and metadata collections that
refer to the exact ID.
2020-02-20 14:40:59 +01:00
Michael Catanzaro a439fd2b1d date-time-utils: fall back to UTC when timezone is unrecognized
For whatever reason, libical doesn't support the Etc/UTC timezone.
Currently we crash gnome-calendar whenever libical doesn't support the
current timezone (as returned by GTimeZone). Let's fall back to UTC
instead.

Fixes #485
2020-02-18 17:07:55 -06:00
Michael Catanzaro 20509d2ac8 flatpak: Follow libhandy-0-0 2020-02-18 23:07:14 +00:00
Марко Костић 05c63aabf4 Update Serbian translation 2020-02-17 19:53:19 +00:00
Balázs Meskó fb3c3475eb Update Hungarian translation 2020-02-17 06:46:52 +00:00
Fran Dieguez 0e71ce78b2 Update Galician translation 2020-02-14 21:15:11 +00:00
Ask Hjorth Larsen 66365659bf Updated Danish translation 2020-02-13 19:26:55 +01:00
Christian Kirbach 742f0d356d Update German translation
(cherry picked from commit 94a9fa2c7f5d593fe4350a18db962af751bf1c20)
2020-02-13 05:20:06 +00:00
Sabri Ünal 808a1df477 Update Turkish translation 2020-02-11 10:48:23 +00:00
Marek Černocký b16b5fa196 Updated Czech translation 2020-02-11 07:56:46 +01:00
Julien Humbert bf96abd496 Update French translation 2020-02-09 17:55:50 +00:00
Jiri Grönroos 15c01f7c28 Update Finnish translation 2020-02-09 12:42:41 +00:00
Anders Jonsson 7139bea70e Update Swedish translation 2020-02-08 15:16:59 +00:00
Bruce Cowan 13fbf32a48 Update British English translation 2020-02-08 13:17:35 +00:00
Alexandre Franke f14a7ce5c0 Update French translation 2020-02-08 00:04:58 +00:00
Danial Behzadi 9e4bf653d4 Update Persian translation 2020-02-07 15:36:48 +00:00
Georges Basile Stavracas Neto bca17d78bb flatpak: Upgrade to libical 3.0.7 2020-02-04 18:45:52 -03:00