commit 56ae69d6c4f1dab5700076cd022e1e4d312d868b Author: Georges Basile Stavracas Neto Date: Tue Aug 30 00:29:50 2016 -0300 edit-dialog: keep start and end dates synchronized Never let them enter in an invalid state, where the end date is ahead of the start date. https://bugzilla.gnome.org/show_bug.cgi?id=770263 data/ui/edit-dialog.ui | 4 +++ src/gcal-edit-dialog.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) commit 3560a9de433fd9e533bd480579717e3d4bd919c2 Author: Georges Basile Stavracas Neto Date: Mon Aug 29 23:20:45 2016 -0300 edit-dialog: fix insensitive time choosers They are hidden now, no need to handle the sensitive state of them as well. src/gcal-edit-dialog.c | 2 -- 1 file changed, 2 deletions(-) commit a483af3741158263b96ea977cf385efcbe9a74c6 Author: Georges Basile Stavracas Neto Date: Mon Aug 29 23:19:46 2016 -0300 edit-dialog: simplify sensitive state handling Instead of manually handling every single widget, simply sync the GtkWidget:sensitive property of the topmost box. data/ui/edit-dialog.ui | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) commit cd50bec506e95a9f95cc6be9075f9bab3588c754 Author: Georges Basile Stavracas Neto Date: Mon Aug 29 23:08:39 2016 -0300 project: fix build warnings https://bugzilla.gnome.org/show_bug.cgi?id=770466 src/Makefile.am | 1 + src/e-cal-data-model.c | 14 ++++---- src/gcal-application.c | 23 +++++++------ src/gcal-application.h | 4 +-- src/gcal-edit-dialog.c | 83 ++++++++++++++++------------------------------ src/gcal-event.c | 2 -- src/gcal-manager.c | 12 ++++--- src/gcal-month-view.c | 2 +- src/gcal-source-dialog.c | 23 ++++++++----- src/gcal-subscriber-view.c | 1 - src/gcal-week-view.c | 6 ++-- src/gcal-window.c | 15 ++++++--- 12 files changed, 87 insertions(+), 99 deletions(-) commit 1cb71ea4a95b5de1e40a70d30e48049574b86c69 Author: Ernestas Kulik Date: Sat Aug 27 10:04:54 2016 +0300 Don’t use GNOME_COMPILE_WARNINGS GNOME_COMPILE_WARNINGS is still being used, despite its deprecated status. This commit also tweaks configure.ac a little, removing redundant macro calls and definitions and quoting all macro arguments. https://bugzilla.gnome.org/show_bug.cgi?id=770466 configure.ac | 51 +++++++++++++++++---------------------------------- src/Makefile.am | 4 +++- 2 files changed, 20 insertions(+), 35 deletions(-) commit b06474e0658dfb49ed91a9e18917d731159ef210 Author: Baurzhan Muftakhidinov Date: Sun Aug 28 10:15:40 2016 +0000 Updated Kazakh translation po/kk.po | 200 ++++++++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 146 insertions(+), 54 deletions(-) commit b6c7ae5cdff311cf10c41719465018f30c864e57 Author: Мирослав Николић Date: Sun Aug 28 08:53:27 2016 +0200 Updated Serbian translation po/sr.po | 30 +++++++----------------------- po/sr@latin.po | 30 +++++++----------------------- 2 files changed, 14 insertions(+), 46 deletions(-) commit 26db75047d82584fc9556ae690939a9a58393d4d Author: Мирослав Николић Date: Sun Aug 28 06:31:27 2016 +0200 Updated Serbian translation po/sr.po | 263 ++++++++++++++++++++++++++++++++--------------- po/sr@latin.po | 314 ++++++++++++++++++++++++++++++++++++++------------------- 2 files changed, 389 insertions(+), 188 deletions(-) commit 29125e1ee380f72d2d2b5c21dc3da23861cdd8ef Author: Enrico Nicoletto Date: Mon Aug 22 20:16:29 2016 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 222 +++++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 152 insertions(+), 70 deletions(-) commit 4d77114f6adf153aab630b28b99570e33e0f0db6 Author: Piotr Drąg Date: Mon Aug 22 16:49:23 2016 +0200 Updated Polish translation po/pl.po | 234 +++++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 159 insertions(+), 75 deletions(-) commit ba3d29ddd7093e2c6ab385e0c5f2db818561bcc7 Author: Alexandre Franke Date: Mon Aug 22 09:41:52 2016 +0000 Updated French translation po/fr.po | 199 ++++++++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 146 insertions(+), 53 deletions(-) commit 3fe4c78502d43ae2f957294194666711a99b7640 Author: Akom Chotiphantawanon Date: Sun Aug 21 16:39:27 2016 +0700 Updated Thai translation po/th.po | 167 +++++++++++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 124 insertions(+), 43 deletions(-) commit f3aeba5070ef1065ee8a390200528aab0af0a43b Author: Mario Blättermann Date: Sun Aug 21 09:26:50 2016 +0000 Updated German translation po/de.po | 49 ++++++++++++++++++++++++++----------------------- 1 file changed, 26 insertions(+), 23 deletions(-) commit 6134e35430d4c5e624ea8746c984cb84a796a882 Author: Fabio Tomat Date: Sat Aug 20 09:32:47 2016 +0000 Updated Friulian translation po/fur.po | 61 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 32 insertions(+), 29 deletions(-) commit 454c2b9e42ff0e0111eceb4cd5a67421c585fe89 Author: Balázs Úr Date: Fri Aug 19 21:07:04 2016 +0000 Updated Hungarian translation po/hu.po | 50 ++++++++++++++++++++------------------------------ 1 file changed, 20 insertions(+), 30 deletions(-) commit 1c9b5691694e9fac1980a73390f1fcac5db6770e Author: Andika Triwidada Date: Fri Aug 19 12:11:33 2016 +0000 Updated Indonesian translation po/id.po | 132 ++++++++++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 102 insertions(+), 30 deletions(-) commit 92653c929df7437e3b5c05f02532d94b38634e1e Author: Marek Černocký Date: Fri Aug 19 10:05:55 2016 +0200 Updated Czech translation po/cs.po | 205 ++++++++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 151 insertions(+), 54 deletions(-) commit 27ca660e772bd42908ff33002efc9f252e194f66 Author: nj4710 Date: Wed Aug 10 00:09:32 2016 +0530 month-view: highlight the whole cell of current day In this commit, we changed the background area of current day. Presently, the current day is highlighted by the number. This makes difficult for the user to identify it when there are lot of events. To fix this, we changed the color of background and made background area equal to the cell's area. https://bugzilla.gnome.org/show_bug.cgi?id=755946 data/theme/gtk-styles.css | 5 +---- src/gcal-month-view.c | 6 +++--- 2 files changed, 4 insertions(+), 7 deletions(-) commit b9c2a611fe09eadf5869a4cd38402397b2dafe3a Author: Daniel Mustieles Date: Tue Aug 16 12:26:00 2016 +0200 Updated Spanish translation po/es.po | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) commit 89d43b0750839deb5832e313759c71943de90646 Author: Jiri Grönroos Date: Fri Aug 12 12:19:37 2016 +0000 Updated Finnish translation po/fi.po | 232 ++++++++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 163 insertions(+), 69 deletions(-) commit 7243f703c328e3d3eaadb23491f92007e177c4e1 Author: Ernestas Kulik Date: Thu Aug 11 11:26:33 2016 +0300 month-view: update events after dnd The month view is not updated after a DnD operation. This commit marks the children as changed after a drop. https://bugzilla.gnome.org/show_bug.cgi?id=769470 src/gcal-month-view.c | 3 +++ 1 file changed, 3 insertions(+) commit 04617fc06b09ee62b19805f26ac0f4feb673893e Author: Ernestas Kulik Date: Sat Aug 6 16:40:43 2016 +0300 year-view: fix dnd Currently, the end date is set by calling gcal_event_set_date_end() with new_start instead of new_end, which is incorrect. With the former issue fixed, the difference evaluates to one less than required when dragging to a later date. This can be fixed by calculating the drop date by adding to the start date and adding the difference. This commit fixes both issues. https://bugzilla.gnome.org/show_bug.cgi?id=769470 src/gcal-year-view.c | 29 +++++++++++------------------ 1 file changed, 11 insertions(+), 18 deletions(-) commit b5fb1d4ec3155ba26b80f4d723cf1fffc80f62cd Author: Ernestas Kulik Date: Wed Aug 3 22:20:04 2016 +0300 month-view: fix dnd Currently, the event is moved by a number of cells, calculated from the start date and the cell index. The problem with that is that it does not work with events, whose start and end dates of which are on different months or years. This commit changes the logic so that the start date is calculated by taking the year and month difference into consideration and the end date is set by adding the event length to the adjusted start date. https://bugzilla.gnome.org/show_bug.cgi?id=769470 src/gcal-month-view.c | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) commit 79f641269e850c295ccc7f280c021ed540deee32 Author: Dušan Kazik Date: Wed Aug 10 07:13:27 2016 +0000 Updated Slovak translation po/sk.po | 65 +++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 31 deletions(-) commit 05fe92f392fb4d1316bf58de6a43591da4e70728 Author: Yosef Or Boczko Date: Tue Aug 9 17:56:22 2016 +0300 Updated Hebrew translation po/he.po | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) commit 7af215aef2778d2d1c70e3e612e8829b28e68da1 Author: Yosef Or Boczko Date: Tue Aug 9 17:56:10 2016 +0300 Mark a string as translatable data/ui/edit-dialog.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0f25665ad36f67fbf62e11f19e815e0a1b15e78d Author: Yosef Or Boczko Date: Tue Aug 9 17:49:02 2016 +0300 Updated Hebrew translation po/he.po | 227 +++++++++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 164 insertions(+), 63 deletions(-) commit c502f66034615820b66946e262bdb7371dbf4623 Author: Balázs Úr Date: Thu Aug 4 21:40:41 2016 +0000 Updated Hungarian translation po/hu.po | 229 ++++++++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 159 insertions(+), 70 deletions(-) commit 46a05e5d00ec0430daae2ad19f5f5e07fb730715 Author: Ernestas Kulik Date: Tue Aug 2 00:35:39 2016 +0300 edit-dialog: fake inclusive end date for all-day events Currently, all-day multi-day events are displayed inconsistently with regard to other calendar applications. That is due to strict following of RFC 5545, which mandates non-inclusive all-day multi-day event end dates. This commit makes the edit dialog display a faked date for such events. https://bugzilla.gnome.org/show_bug.cgi?id=769300 src/gcal-edit-dialog.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) commit b0b74784d008f3baaa7e018344ff8779a2a418e2 Author: Daniel Mustieles Date: Tue Aug 2 16:47:38 2016 +0200 Updated Spanish translation po/es.po | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) commit 8e2e0ee34e90bd4b823835fb2da81a56a6fae275 Author: Jordi Mas Date: Mon Aug 1 07:52:05 2016 +0200 Update Catalan translation po/ca.po | 223 +++++++++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 159 insertions(+), 64 deletions(-) commit c16864ff97b37a196f5adfa35ca6f134cbd4e3a5 Author: Ernestas Kulik Date: Thu Jul 28 00:46:36 2016 +0300 time-selector: fix 12-hour format Currently, the date selector allows hours in range [0; 11], which is not the convention. This commit fixes the conversion logic. https://bugzilla.gnome.org/show_bug.cgi?id=756377 src/gcal-time-selector.c | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) commit d0143db01b205c265b039309558c4100ec61161c Author: Ernestas Kulik Date: Wed Jul 27 22:24:36 2016 +0300 time-selector: fix AM to PM time logic Currently, the hour component of the time is doubled when switching from AM to PM, which is incorrect. This commit fixes the logic by adding 12 hours when switching to PM. https://bugzilla.gnome.org/show_bug.cgi?id=765370 src/gcal-time-selector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dd4142f255b59aef0d3374f801ddc4dccd4bc89e Author: Ernestas Kulik Date: Wed Jul 27 22:12:57 2016 +0300 edit-dialog: set time format unconditionally If GcalEditDialog.format_24h is initialized to zero, the call to gcal_edit_dialog_set_time_format() from GcalWindow will not make period_combo boxes visible on systems, where 12-hour clocks are used. This commit fixes that by removing the if statement from the function. https://bugzilla.gnome.org/show_bug.cgi?id=765370 src/gcal-edit-dialog.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit 0a4f0c0e46138f335c8dc26b91ff9d3a014e2fc7 Author: Tiago Santos Date: Wed Jul 27 06:59:57 2016 +0000 Updated Portuguese translation po/pt.po | 181 +++++++++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 129 insertions(+), 52 deletions(-) commit f8a3c7731c9dd60a3f79e982c9a8c610be4166f4 Author: Ting-Wei Lan Date: Wed Jul 27 12:19:56 2016 +0800 date-chooser: don't reimplement get_first_weekday Function calendar_get_week_start do the same things with the same code as function get_first_weekday, so it is better to remove calendar_get_week_start and switch all the use of calendar_get_week_start to get_first_weekday. This also fixes build problems on non-glibc systems because get_first_weekday provides fallback for non-glibc systems. https://bugzilla.gnome.org/show_bug.cgi?id=769140 src/gcal-date-chooser.c | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) commit e3d29c989e29c555d15f142e015b16ae35945a17 Author: Lapo Calamandrei Date: Tue Jul 26 18:58:52 2016 +0200 date-selector: change style class on other month days use .other-month in place of .dim-label since the .dim-label style was not fitting, so better to use a specific class then a generic one. data/theme/gtk-styles.css | 14 +++++--------- src/gcal-date-chooser-day.c | 4 ++-- 2 files changed, 7 insertions(+), 11 deletions(-) commit cef7f02a65ebc1e78571fb237f6ead422639e85e Author: Georges Basile Stavracas Neto Date: Sat Jul 23 19:48:48 2016 -0300 date-selector: update text even for today When the date selector is initialized, the text is blank, even when the date is set for today. Fix that by updating the text when setting the date. src/gcal-date-selector.c | 1 + 1 file changed, 1 insertion(+) commit 095a209615e562145b21f2fa96c349981a7a022d Author: Lapo Calamandrei Date: Sun Jul 24 18:55:21 2016 +0200 css: restyle date chooser... ...making it more consistent with shell calendar and gtkcalendar. data/theme/gtk-styles.css | 70 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 50 insertions(+), 20 deletions(-) commit ff44b4ac56f1cae9eae4d2997be2858389f6c399 Author: Aurimas Černius Date: Sun Jul 24 17:04:23 2016 +0300 Updated Lithuanian translation po/lt.po | 208 ++++++++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 154 insertions(+), 54 deletions(-) commit faf85a7fb011fb9c31930ec6bae543bc84929e86 Author: Georges Basile Stavracas Neto Date: Sat Jul 23 17:38:33 2016 -0300 date-chooser: support hovering days Another fixup in order to make the current date chooser more streamlined with GNOME Shell's calendar. data/theme/gtk-styles.css | 10 +++++++++- src/gcal-date-chooser-day.c | 36 +++++++++++++++++++++++++++++++++++- 2 files changed, 44 insertions(+), 2 deletions(-) commit 93900ae9e9ed8f2c30fe5976517bb35c8f129fc2 Author: Georges Basile Stavracas Neto Date: Sat Jul 23 17:18:18 2016 -0300 date-chooser: tweak style To keep the current date chooser in sync with GNOME Shell, tweak the week names to show only the first, upcased letter of the week name. Also, this commit avoids making day number circles ellipses when the week number is not present. src/gcal-date-chooser-day.c | 3 +++ src/gcal-date-chooser.c | 10 +++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) commit 2744f5acd29f8d822eb6db2c72e217eeb9cb6f94 Author: Georges Basile Stavracas Neto Date: Fri Jul 22 01:24:56 2016 -0300 date-selector: bind weekday numbers with desktop The current implementation of the new calendar widget accepts showing the week numbers in a modern and much more consistent way. The behavior, however, is not aligned with the rest of the application and the desktop, which share a setting to show or hide the week number. Fix that by synchronizing the new calendar's week number property with the specific setting. src/gcal-date-selector.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit 459756b2a2ff253dfc3dce97c5c68d7190089628 Author: Georges Basile Stavracas Neto Date: Fri Jul 22 01:23:52 2016 -0300 edit-dialog: adapt to better display the date selectors This commit is purely aesthetical, and is here in order to make the edit dialog look more like the proposed mockups. data/ui/edit-dialog.ui | 4 ---- 1 file changed, 4 deletions(-) commit bdac4e4c79948c941da1f64e847f08fe48933bfb Author: Georges Basile Stavracas Neto Date: Fri Jul 22 01:03:23 2016 -0300 date-selector: turn into a entry After making the date selector use the brand new date chooser widget, it is now time to make it an entry. This commit, then turns GcalDateSelector into a GtkEntry subclass, and add all the plumbing that is necessary to make it work as such. As a side effect, this commit adds rudimentary natural language support for parsing dates. data/ui/date-selector.ui | 14 +++---- src/gcal-date-selector.c | 99 +++++++++++++++++++++++++++++++++++++++++------- src/gcal-date-selector.h | 2 +- 3 files changed, 93 insertions(+), 22 deletions(-) commit 4ef9f75dfbcbad56b5c91853a786eb1d4d57378d Author: Georges Basile Stavracas Neto Date: Thu Jul 21 23:55:58 2016 -0300 date-selector: move to use the new date chooser After adding the new GcalDateChooser widget, change the current date selector to use it as the internal widget of the popover. The next logical step is turning GcalDateSelector into an entry. data/ui/date-selector.ui | 122 +----------------- src/gcal-date-selector.c | 329 +++-------------------------------------------- 2 files changed, 25 insertions(+), 426 deletions(-) commit c2dca8a3dcb598e2b6f1c9dfe219fe4870bf4781 Author: Georges Basile Stavracas Neto Date: Thu Jul 21 17:00:22 2016 -0300 date-chooser: add date chooser widget This is mainly a copy-paste from an old branch authored by Matthias Clasen. The code style was updated to match Calendar's one, and the theming was improved a little bit. data/Makefile.am | 2 + data/calendar.gresource.xml | 2 + data/theme/gtk-styles.css | 31 ++ data/ui/date-chooser.ui | 54 +++ data/ui/multi-choice.ui | 71 ++++ src/Makefile.am | 6 + src/gcal-date-chooser-day.c | 443 ++++++++++++++++++++++++ src/gcal-date-chooser-day.h | 50 +++ src/gcal-date-chooser.c | 817 ++++++++++++++++++++++++++++++++++++++++++++ src/gcal-date-chooser.h | 77 +++++ src/gcal-multi-choice.c | 481 ++++++++++++++++++++++++++ src/gcal-multi-choice.h | 51 +++ 12 files changed, 2085 insertions(+) commit 4880c68347a4d67bc2209c59c83f2a320abbe059 Author: Georges Basile Stavracas Neto Date: Wed Jul 20 19:11:50 2016 -0300 Bump 3.21.4 release NEWS | 15 +++++++++++++++ configure.ac | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-)