Commit Graph
3244 Commits
Author SHA1 Message Date
Georges Basile Stavracas Neto 73ddbbdc60 window: Remove non-existing signal handler 2019-05-24 21:26:50 -03:00
Georges Basile Stavracas Neto badd1fb0f1 calendar: Fix double free
The GError is unreferenced twice.
2019-05-24 21:25:28 -03:00
Jean Felder 9a2cc7ec1c appdata: Fix week-view image url 2019-05-20 14:34:28 +02:00
Milan Crha 3ca07505a6 Update libical version to 3.0.5 in the flatpak manifest 2019-05-17 22:14:04 +02:00
Milan Crha a0cae4356a Port to libecal-2.0
Fixes https://gitlab.gnome.org/GNOME/gnome-calendar/merge_requests/70
2019-05-17 21:58:55 +02:00
Daniel Mustieles 9357db6e23 Updated Spanish translation 2019-05-13 15:37:42 +02:00
Georges Basile Stavracas Neto dcdd3f6ee8 Remove stray g_message()s
Leftovers from previous commits.
2019-05-11 13:41:50 -03:00
Georges Basile Stavracas Neto ea043ab48b calendar-popover: Show success after synchronizing
https://gitlab.gnome.org/GNOME/gnome-calendar/issues/395
2019-05-10 13:45:00 -03:00
Georges Basile Stavracas Neto 198180d023 manager: Fix typo 2019-05-10 13:44:43 -03:00
Georges Basile Stavracas Neto 117d56a1c9 calendar-popover: Relabel as "Synchronize Calendars"
https://gitlab.gnome.org/GNOME/gnome-calendar/issues/396
2019-05-10 13:30:29 -03:00
Georges Basile Stavracas Neto 647c9ee2c7 calendar-popover: Adjust UI
Add a separator and remove spacing.
2019-05-10 13:15:50 -03:00
Georges Basile Stavracas Neto c5ec57f78e calendar-popover: Improve calendar settings button
Change the label to "Manage Calendars…" and make it a model
button.
2019-05-10 13:14:23 -03:00
Georges Basile Stavracas Neto 405787307c window: Move synchronize button to the calendar popover 2019-05-10 13:10:50 -03:00
Georges Basile Stavracas Neto 0639b4e7ae window: Show a spinner while synchronizing 2019-05-10 13:04:33 -03:00
Georges Basile Stavracas Neto f4c4a91465 manager: Add 'synchronizing' property
Will be useful to know if there are any clients being
synchronized.
2019-05-10 12:42:13 -03:00
Georges Basile Stavracas Neto 1c0131a55f edit-dialog: Restore time removal of all-day events
All day events have no time period. This was a fallout from
the previous commit.
2019-05-10 11:53:24 -03:00
Florian Latifi 6e5372189d edit-dialog: Don't convert date to timezone if all-day
When the all-day checkbox is ticked, transforming to the
UTC timezone may change the dates of the event. On positive
timezone offsets, this happens frequently.

Fix that by only transforming to a timezone when the event
is not marked as all-day.

Fixes https://gitlab.gnome.org/GNOME/gnome-calendar/issues/338
2019-05-10 11:49:14 -03:00
Georges Basile Stavracas Neto 7ad0f100a7 manager: Properly bind default calendar
We need to convert from ESource to GcalCalendar.
2019-05-10 11:20:51 -03:00
Kukuh Syafaat 6a2ab5ec6a Update Indonesian translation 2019-05-10 08:25:53 +00:00
Georges Basile Stavracas Neto 79eea9376b window: Add new event button
As per the latest mockups [1]

[1] https://teams.pages.gitlab.gnome.org/Design/web-experiments/calendar/headerbar
2019-05-09 17:42:59 -03:00
Georges Basile Stavracas Neto 771c5c30f0 window: Reorganize a few functions 2019-05-09 17:42:59 -03:00
Georges Basile Stavracas Neto 0baeaa160a window: Delegate changing dates to GcalView
The view knows its time range, and knows what the
next or previous dates should be. So instead of
calculating the next date manually, ask the views
for that.
2019-05-09 17:42:59 -03:00
Georges Basile Stavracas Neto da31180cba view: Let views handle subscription range
Instead of GcalWindow handling the ranges themselves,
delegate this responsibility to the views.
2019-05-09 17:42:58 -03:00
Mingcong Bai 72b958f94c Update Chinese (China) translation 2019-05-08 09:47:21 +00:00
Georges Basile Stavracas Neto 1f0179c431 ci: Simplify CI
Only build with the 'flatpak' stage, since it does
everything we do on other stages already.
2019-05-04 22:45:14 -03:00
Georges Basile Stavracas Neto a88b628507 build: Make generated sources a dependency
So that they are 100% certain to be generated before
starting to build libgcal.
2019-05-04 22:15:17 -03:00
Georges Basile Stavracas Neto a2609d6853 project: Reorganize much 2019-05-04 19:48:40 -03:00
Piotr Drąg c3e1a377b7 Update POTFILES.in 2019-05-04 22:21:58 +02:00
Georges Basile Stavracas Neto 70cb7c14a9 build: Make libgcal a static library
This avoids us building everything twice.
2019-05-04 12:28:45 -03:00
Georges Basile Stavracas Neto 682e614e4b Remove developer docs
They're essentially useless.
2019-05-04 12:28:24 -03:00
Georges Basile Stavracas Neto f55b4531ef project: Move ui-related classes to gui/ 2019-05-04 12:14:05 -03:00
Georges Basile Stavracas Neto d5fbce1385 window: Remove search mode 2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto bb8d5b92ce manager: Handle default calendars via GcalCalendar 2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto 7811b90730 tests: Fix test suite
Introduce a new GcalStubCalendar class that essentially
removes the ECalClient initialization from GcalCalendar,
and use it as part of a new private library consumed by
the tests.
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto 28c5a41639 build: Properly include deps and directories in libgcal_dep 2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto ada9bcc473 calendar: Fix signal handler cleanup on finalize() 2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto 5e3eb40c53 utils: Add gcal_clear_signal_handler 2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto 245df513d7 event: Simplify color handling
We can use GcalCalendar::color property directly now.
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto 02cbfdadf2 calendar: Make it a derivable class 2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto df182d1b88 manager: Remove "loading" property
The stack is robust enough to handle dynamically
loading the calendars.
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto e7c6120133 manager: Remove gcal_manager_is_client_writable()
It is now handled by GcalCalendar, and nobody else uses
it.
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto e617d29309 source-dialog: Use more GcalCalendar API 2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto e800bb2476 manager: Remove gcal_manager_enable/disable_source()
This is now managed by GcalCalendar itself.
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto 560419ed8a editorconfig: Update tab width 2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto e3e19b4cea application: Parse CSS more aggressively 2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto 2ef1cbc463 manager: Toggle data model sources when changed
Instead of other classes needing to manually set and
unset whether a source is registered in the data model,
we can now simply call GcalCalendar.set_visible() and
have the model be updated for us.
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto fd3d2ea3f6 window: Move calendar popover to GcalCalendarPopover
This helps reducing the LOC number of GcalWindow, and
allows us to also implement the popover in a better way.
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto 64fa11f4c0 calendar: Fix double unref 2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto 1a5ff545a2 project: Move a few classes to core/ 2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto 7297d369fb manager: Remove gcal_manager_get_client()
Not used anymore.
2019-05-04 12:05:39 -03:00