commit 9d9b31fe5f61becdde63e14f625b92ec2f107c21 Author: Daniel Mustieles Date: Mon May 30 19:14:47 2016 +0200 Updated Spanish translation po/es.po | 63 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 37 insertions(+), 26 deletions(-) commit ce0ce74961b4743120a3b6dd0ac256b63d9862a7 Author: Cédric Valmary Date: Mon May 30 16:18:18 2016 +0000 Updated Occitan translation po/oc.po | 52 ++++++++++++++++++++++++++++++++-------------------- 1 file changed, 32 insertions(+), 20 deletions(-) commit 2a01918dfb31d132e1abbcaa67f1c90da1fef36b Author: Akom Chotiphantawanon Date: Mon May 23 14:30:26 2016 +0700 Updated Thai translation po/th.po | 315 ++++++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 211 insertions(+), 104 deletions(-) commit 82b5953b764cf550544185343309e781da124be4 Author: Georges Basile Stavracas Neto Date: Sat May 21 19:15:14 2016 -0300 month-view: fix invalid cell calculation src/gcal-month-view.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 1c90791d3b370f1410670449670ce605d705c34c Author: Georges Basile Stavracas Neto Date: Sat May 21 19:06:15 2016 -0300 year-view: fix hover & dnd drawing on RTL locales src/gcal-year-view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5960a45d005200554b5e86ff293450e2e07099e2 Author: Georges Basile Stavracas Neto Date: Sat May 21 19:02:39 2016 -0300 month-view: consider the days delay when dealing with the cell The cell number does not consider the days delay, thus is not the current day. To find the current day, we must remove the days delay. src/gcal-month-view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 88730dbafbb1d7e0e57ecc0806e37b45b026581d Author: Georges Basile Stavracas Neto Date: Sat May 21 18:51:03 2016 -0300 year-view: don't render DnD when it leaves data/ui/year-view.ui | 1 + src/gcal-year-view.c | 14 ++++++++++++++ 2 files changed, 15 insertions(+) commit 82c7918b151255b3442432462d933c8b08e214da Author: Georges Basile Stavracas Neto Date: Sat May 21 18:46:08 2016 -0300 year-view: implement the ::drag-drop operation This magical commit finally implements the Drag and Drop on Year view, enabling users to drop events from the sidebar to the year navigator. data/ui/year-view.ui | 1 + src/gcal-year-view.c | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) commit 44f5cbe607379d8d0bdbca874b353d2c467e492d Author: Georges Basile Stavracas Neto Date: Sat May 21 18:22:35 2016 -0300 year-view: render DnD selector on hover This commit adds the ability to render a DnD square to give visual feedback for the hover operation. data/theme/gtk-styles.css | 5 ++++ data/ui/year-view.ui | 1 + src/gcal-year-view.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 72 insertions(+) commit c7d92e9f373719cec6df29fb9272f65bf5654959 Author: Georges Basile Stavracas Neto Date: Sat May 21 18:04:24 2016 -0300 year-view: make the year navigator a DnD dest This way, we can drop events at the widget. src/gcal-year-view.c | 7 +++++++ 1 file changed, 7 insertions(+) commit c2bf75d1517642e77842352d39365ed9e0354231 Author: Georges Basile Stavracas Neto Date: Sat May 21 17:44:29 2016 -0300 month-view: improve rendering of DnD target This commit makes the lines always 1px. src/gcal-month-view.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 220d7c88bd31aac48d5200e0770c8da0feea13e5 Author: Georges Basile Stavracas Neto Date: Sat May 21 17:32:53 2016 -0300 month-view: save the event when dragged and dropped This magical commit finally implements the Drag n' Drop feature for Month view by changing the start and end dates of the events according to the cell where the user drops the event. src/gcal-month-view.c | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) commit 1f534aa97e52943921cc493d632ab995f8f93998 Author: Georges Basile Stavracas Neto Date: Sat May 21 17:32:06 2016 -0300 month-view: hold a pointer to the singleton GcalManager It'll be used in the next commit to save the DnD'ed event. src/gcal-month-view.c | 10 ++++++++++ src/gcal-month-view.h | 3 +++ src/gcal-window.c | 1 + 3 files changed, 14 insertions(+) commit 982b7da02b1e78c91d8a8e649853344043a66520 Author: Georges Basile Stavracas Neto Date: Sat May 21 12:37:06 2016 -0300 month-view: draw a drop target background When dragging an event, it is very important to have a visual feedback of the possible target areas. As such, add a gtk_render_background() call to render the drag cell's background. data/theme/gtk-styles.css | 4 +++ src/gcal-month-view.c | 68 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) commit d0821d7e4df0a0978e35789eb5c5e4e1e8289a2b Author: Georges Basile Stavracas Neto Date: Sat May 21 11:29:41 2016 -0300 month-view: set as a drag destination The month view will be the first one to receive support for drag and drop. As such, it must be set as a drag destination. src/gcal-month-view.c | 7 +++++++ 1 file changed, 7 insertions(+) commit dc65a9e906a3ebf47f6b522505b39d71811029b1 Author: Georges Basile Stavracas Neto Date: Sat May 21 11:14:19 2016 -0300 event-widget: use a gint for date compare src/gcal-event-widget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b90d356c7bb03aa9c15b452730c5bfa07900b2f4 Author: Georges Basile Stavracas Neto Date: Sat May 21 11:09:32 2016 -0300 event-widget: set a proper icon for drag n' drop src/gcal-event-widget.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) commit f980bbc6381ec8c09c95017bbaf6306806128a6f Author: Georges Basile Stavracas Neto Date: Sat May 21 10:33:53 2016 -0300 event-widget: setup itself as a drag source Ideally, every single view will support drag and drop. So let's just assume that and make the event widget set itself as a drag source, and let each view set itself as a drag target. src/gcal-event-widget.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit f3da1b2cec8d6137415a6ed1512ae1a37ad80489 Author: Georges Basile Stavracas Neto Date: Sat May 21 17:34:26 2016 -0300 subscriber-view: iter the single day table When we modify an event, the start date may change and there is no way to retrieve it back. Since we're relying on the start date to get the cell number and, remove the widget, it leads to a crash because the widget is not removed. Fix that by brute-forcely search the widget in the correct table. src/gcal-subscriber-view.c | 50 ++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 42 insertions(+), 8 deletions(-) commit 96de78d9af09953c9a33d5cdb25737b48ce04d1f Author: Georges Basile Stavracas Neto Date: Sat May 21 10:21:20 2016 -0300 trivial: style fix src/gcal-event-widget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 049475b966cf0ed2ec0b41eae197c3de4b32fc97 Author: Tiago Santos Date: Sat May 21 20:22:11 2016 +0000 Updated Portuguese translation po/pt.po | 56 ++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 34 insertions(+), 22 deletions(-) commit 46deb620e7b607004a7e042906eeb90be34a1abc Author: Georges Basile Stavracas Neto Date: Fri May 20 22:33:35 2016 -0300 app-menu: add a Calendars... item in the app menu I won't hurt to have 2 ways to access this dialog and, appearently, the current behavior happens to bother some users. https://bugzilla.gnome.org/show_bug.cgi?id=762705 data/ui/menus.ui | 6 ++++++ data/ui/window.ui | 2 +- src/gcal-window.c | 36 +++++++++++++++++++----------------- 3 files changed, 26 insertions(+), 18 deletions(-) commit 9c150de822dd98edbd3113ace9ae4e3930aad58e Author: Georges Basile Stavracas Neto Date: Fri May 20 22:14:05 2016 -0300 year-view: don't cancel selection while dragging This breaks the users' expectations that the navigator will keep the selected dates. The old behavior was hazardous for users with disabilities. https://bugzilla.gnome.org/show_bug.cgi?id=762462 src/gcal-year-view.c | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) commit 6a8a4dfad014d8933a94c70d6de5d946e8928f88 Author: Georges Basile Stavracas Neto Date: Fri May 20 22:09:00 2016 -0300 year-view: add hover effect to the navigator The current implementation of the Year navigator gives absolutely no clue that the days are actually selectable, which may confuse some users. A simple way to inform the user that the Year navigator is actually interactive is the hovering effect. Fix the lack of feedback by adding the hover effect to the year navigator. https://bugzilla.gnome.org/show_bug.cgi?id=762462 data/theme/gtk-styles.css | 5 ++++ src/gcal-year-view.c | 70 +++++++++++++++++++++++++++++++++++++---------- 2 files changed, 60 insertions(+), 15 deletions(-) commit 8fd61389723c50bfc1bdd1b89573710e99acd05d Author: Anwar Sadath Date: Sun Mar 13 23:32:07 2016 +0530 edit-dialog: button labels using header capitalisation All the button labels in edit dialog following header capitalisation. https://bugzilla.gnome.org/show_bug.cgi?id=747961 data/ui/edit-dialog.ui | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f32fd7d2f6c04a0f8a808f1a8a9ba66aeba74177 Author: Isaque Galdino Date: Mon May 16 18:10:50 2016 -0300 year-view: Reduce maximum of month columns The view had a maximum of 6 month columns, leading to a huge amount of vertical spaces, so it was requested to reduce that. The maximum number of columns was reduced to 4, so the view will have a maximum 4x3 months layout. https://bugzilla.gnome.org/show_bug.cgi?id=753533 src/gcal-year-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7553d5191f2c46a212946e7ba0ad89c387f9b472 Author: Georges Basile Stavracas Neto Date: Fri May 20 11:36:36 2016 -0300 window: change check button state when a source is enabled Instead of destroying and readding the rows, simply set the checkbutton's active state when the source is enabled or disabled. https://bugzilla.gnome.org/show_bug.cgi?id=766259 src/gcal-window.c | 40 +++++++++++++++++++++++++++++++++------- 1 file changed, 33 insertions(+), 7 deletions(-) commit feedfa4be5d7f925f85780a2b2050371228fea4e Author: fosero Date: Wed Apr 27 23:46:22 2016 +0200 gtk-styles.css: adapt to GTK+ 3.21 CSS strictness GTK+ 3.21 is stricter about CSS values having a unit defined. Fix the gnome-calendar CSS accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=765698 data/theme/gtk-styles.css | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) commit a83e8dd972ac8f0b02222fd7af3feb3489ddae1e Author: Georges Basile Stavracas Neto Date: Thu May 19 09:57:42 2016 -0300 year-view: calculate number of rows on-the-fly Instead of adding another field to the structure and do many pointer lookups, calculate the number of rows on the fly. src/gcal-year-view.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit e6c9ecd7ebe6449f6fee9057a47a728a73e838f1 Author: Georges Basile Stavracas Neto Date: Wed May 18 11:57:43 2016 -0300 month-view: clear the pointer when it's not stored in place It leaks a reference, but only happens for end date. src/gcal-month-view.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 12e6de6383169aad1e828466eaede300241872ab Author: Georges Basile Stavracas Neto Date: Wed May 18 11:51:10 2016 -0300 month-view: update comments Many things changed during the mean time. src/gcal-month-view.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) commit 266474c1e3b91fa83c957264aaaa85963e2ee3b4 Author: Georges Basile Stavracas Neto Date: Wed May 18 11:27:11 2016 -0300 month-view: correctly check if dates are different The previous commit introduced many changes in the way the conditions are done. Unfortunately, one of these conditions was only partially fixed. Fix that by using the correct function to compare dates. src/gcal-month-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 692a9639a319ac05abcebd2d6fb224cd932bfaba Author: Georges Basile Stavracas Neto Date: Wed May 18 11:20:00 2016 -0300 month-view: fix various reference issues with GDateTime The current code does multiple needless unrefs, uses the GDateTime API in a wrongly manner and leaks references all around. This causes the Calendar application to emit multiple warning messages and in the worst case, crash immediately. Fix that by rewriting the critical sections of the code that deals with the start and end mark cells. https://bugzilla.gnome.org/show_bug.cgi?id=763641 src/gcal-month-view.c | 52 +++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 40 insertions(+), 12 deletions(-) commit 3ead41b83f65ca13601c8de0a970b66b8e276007 Author: Isaque Galdino Date: Tue May 17 08:45:34 2016 -0300 year-view: show all month's events User requested when clicking month's name, all month's events are shown in the sidebar. https://bugzilla.gnome.org/show_bug.cgi?id=755394 src/gcal-year-view.c | 34 ++++++++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 6 deletions(-) commit 97d88595745ae85d94667eb63dd88755af902852 Author: Isaque Galdino Date: Tue Apr 26 21:55:37 2016 -0300 year-view: Remove hardcoded values Improve year-view code, removing hardcoded values. year-view have hardcoded values for grid cell sizes (width and height). Those values need to be recalculated every time a change in font or any other style are changed. Sidebar width was also hardcoded instead of getting its value directly from the ui file. That would prevent it from drawing the content accordingly when ui file is changed. This patch fixes those two issues by retrieving those values from CSS or ui files. This patch also adds code to resize and redraw the window when show-week-numbers property is changed. Popover mode was also changed and now sidebar will always be shown when show-week-numbers is set or when there is space for only 3 or less columns. https://bugzilla.gnome.org/show_bug.cgi?id=753533 data/theme/gtk-styles.css | 1 + data/ui/year-view.ui | 34 +++++--- src/gcal-year-view.c | 215 +++++++++++++++++++++++++++++++++------------- 3 files changed, 181 insertions(+), 69 deletions(-) commit 32a3a8f530d431f1648401c5dc5fab1716586ff2 Author: Sveinn í Felli Date: Sun May 15 13:54:20 2016 +0000 Updated Icelandic translation (cherry picked from commit 05406537bc9825282671ca1f11ef620d9d866996) po/is.po | 344 +++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 226 insertions(+), 118 deletions(-) commit 365788e7ebf4554fe42b2f68fabfde6bb99f023a Author: Cédric Valmary Date: Mon May 9 15:54:50 2016 +0000 Updated Occitan translation po/oc.po | 84 ++++++++++++++++++++++++++++++---------------------------------- 1 file changed, 39 insertions(+), 45 deletions(-) commit b03edc6cd4a73e2758165c8cfa71a49b25a11382