commit ce52cdd9ce901a9c5648efcd652875a57a5ac4af Author: Georges Basile Stavracas Neto Date: Tue Feb 14 10:58:29 2017 -0200 week-header: fix double dnd highlight src/views/gcal-week-header.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) commit 7cf41f8f455a214ec32e53e00f46ad1e21b75af3 Author: Georges Basile Stavracas Neto Date: Tue Feb 14 10:39:15 2017 -0200 month-view: fix warning on closing overflow popover src/views/gcal-month-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1b9a5721f199ff6c894e3cfc69cf5e4aa29c2a66 Author: Daniel Mustieles Date: Tue Feb 14 20:31:44 2017 +0100 Updated Spanish translation po/es.po | 124 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 67 insertions(+), 57 deletions(-) commit 05d9d85a23a06b67a990db26f0d82d1f33fca887 Author: Kukuh Syafaat Date: Mon Feb 13 07:06:28 2017 +0000 Update Indonesian translation po/id.po | 94 +++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 48 insertions(+), 46 deletions(-) commit 261944a465a14b3e68c7e67562f76a3f16904454 Author: Kjartan Maraas Date: Sun Feb 12 12:06:19 2017 +0100 Updated Norwegian bokmål translation. po/nb.po | 125 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 68 insertions(+), 57 deletions(-) commit e94cdac322da58ca87c6ece35a23088fb18189af Author: Inaki Larranaga Murgoitio Date: Sat Feb 11 20:36:54 2017 +0100 Update Basque language po/eu.po | 160 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 90 insertions(+), 70 deletions(-) commit 215e20eed80009a923089babb53a5ff6219a158a Author: Marek Černocký Date: Sat Feb 11 15:42:40 2017 +0100 Updated Czech translation po/cs.po | 128 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 69 insertions(+), 59 deletions(-) commit 45e75c0d177847b3aa44b2053bf589e7dc0676a6 Author: Bernd Homuth Date: Fri Feb 10 17:53:47 2017 +0000 Update German translation po/de.po | 129 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 73 insertions(+), 56 deletions(-) commit 144923338202efaa1ac90a1ff252984659bd36fd Author: Mohammed Sadiq Date: Tue Nov 22 16:21:43 2016 +0530 application: cleanup finalize method Calendar now segfaults due to faling function gtk_style_context_remove_provider_for_screen in application finalize method. As application finalize method is called only when the application closes, there isn't any hard requirement to cleanup every trailings. Operating System shall take care of that. So removing the failing functions so as to not segfault on exit anymore. https://bugzilla.gnome.org/show_bug.cgi?id=773871 src/gcal-application.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) commit 006ee304955434c6a5a6f1128ea0f240b2a1ad67 Author: Georges Basile Stavracas Neto Date: Thu Feb 9 11:20:28 2017 -0200 Revert "application: don't remove providers from screen when finalizing" This reverts commit 0ce04c0eeb44897218a7ea4d9d6443144c6a6872. src/gcal-application.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 0ce04c0eeb44897218a7ea4d9d6443144c6a6872 Author: Georges Basile Stavracas Neto Date: Thu Feb 9 11:05:34 2017 -0200 application: don't remove providers from screen when finalizing When finalizing the application, it is possible that the main window had already been destroyed and the Gtk+ CSS machinery to stop working. We currently try to remove the CSS providers from screen when finalizing, which (i) has no effect, and (ii) causes a segfault. Fix that by simply destroying the CSS providers, and not trying to remove them on finalize. https://bugzilla.gnome.org/show_bug.cgi?id=773871 src/gcal-application.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) commit 6ce45743c6f03d016cd0ac0f8b13288ec2e70483 Author: Yash Singh Date: Tue Feb 7 23:15:00 2017 +0530 gcal-window: Declare 'view' as type guint32 Earlier 'view' was declared as a 'guint' but was used as 'gint'. This patch changes the declaration of 'view' to gint32. https://bugzilla.gnome.org/show_bug.cgi?id=778299 src/gcal-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8f34049793a8bd07b2ca505a30b377dd0c4a96ca Author: Georges Basile Stavracas Neto Date: Thu Feb 9 10:12:44 2017 -0200 views: sync header labels' style The Week view exposed a bug where we had different CSS selectors for the exact same label. This made them look inconsistent, with different colors and paddings. Fix that by ensuring they all use the same style class. The Year view drawing code needed to be reworked a little. https://bugzilla.gnome.org/show_bug.cgi?id=778391 data/theme/gtk-styles.css | 25 +++++++------------------ data/ui/week-header.ui | 6 +++--- src/views/gcal-month-view.c | 6 +++--- src/views/gcal-year-view.c | 24 +++++++++++------------- 4 files changed, 24 insertions(+), 37 deletions(-) commit 1e471b1b0c432c375dee1319534cb924c79aee37 Author: Mohammed Sadiq Date: Thu Feb 9 07:59:54 2017 +0530 quick-add-popover: focus entry after calendar selection Pressing 'Enter' key shall always save the event. So focusing on 'Add' button after selecting calendar is redundant. Instead, focus on the entry, so that the user can add more text without manually focusing. https://bugzilla.gnome.org/show_bug.cgi?id=778373 src/gcal-quick-add-popover.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d63e007a7a2fe808e5e1b9258d02ed049677b69e Author: Georges Basile Stavracas Neto Date: Thu Jan 26 19:54:43 2017 -0200 week-grid, week-view: improve hour sidebar rendering The hour strings are too soft and can barely be read. Fix that by setting a stronger color. https://bugzilla.gnome.org/show_bug.cgi?id=777420 data/theme/gtk-styles.css | 7 +++++-- src/views/gcal-week-grid.c | 2 +- src/views/gcal-week-view.c | 21 ++++++++++++++++----- 3 files changed, 22 insertions(+), 8 deletions(-) commit 6c2653809b63f95e24ffb86cc8efa7ff96521353 Author: Georges Basile Stavracas Neto Date: Thu Jan 26 19:53:27 2017 -0200 week-grid: simplify drawing function This patch simplifies the drawing function by removing the unused layout and font descriptions. https://bugzilla.gnome.org/show_bug.cgi?id=777420 src/views/gcal-week-grid.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) commit ba0a15aae40f8de207aaa1f16afe0e0278daa5fe Author: Jiri Grönroos Date: Sat Feb 4 17:15:48 2017 +0000 Update Finnish translation po/fi.po | 124 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 67 insertions(+), 57 deletions(-) commit 4ab02f487c12ea6cc0d2d20f353247458676d3b1 Author: Andrei Ceapa Date: Sat Jan 28 16:54:52 2017 +0200 edit-dialog: allign circle with subtitle Move the circle in the headerbar on the same line with the subtitle, so that it will not move when the length of the event title increases. https://bugzilla.gnome.org/show_bug.cgi?id=772098 data/ui/edit-dialog.ui | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) commit ba871e4004f7daa0dc933e76c56d29e550c3a277 Author: Georges Basile Stavracas Neto Date: Thu Jan 26 19:28:00 2017 -0200 theme: reduce vertical padding This reduces each hour cell's height, and makes more of the week grid visible at a glance. https://bugzilla.gnome.org/show_bug.cgi?id=777767 data/theme/gtk-styles.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit cdc5bde96a56bf338216158dc1e9ebb34f8f054d Author: Georges Basile Stavracas Neto Date: Thu Jan 26 19:14:42 2017 -0200 week-grid: make sure events span at least 1 minute When adding an event with the same start and end dates and times, the event effectively spans 0 minutes, leading a division by zero and causing varius UI glitches. Fix that by making sure events span at least 1 minute. https://bugzilla.gnome.org/show_bug.cgi?id=777414 src/views/gcal-week-grid.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit e119d27718f2a86b5be04c5b00c479760b440b29 Author: Georges Basile Stavracas Neto Date: Thu Jan 26 19:13:54 2017 -0200 week-grid: enforce a minimum width https://bugzilla.gnome.org/show_bug.cgi?id=777414 src/views/gcal-week-grid.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 78a463ab538ff5a993060b3348db67844632746c Author: Abishek Date: Mon Jan 30 11:20:14 2017 -0500 week-header: align month_label, week_label and year_label There was a small alignment issue with week_label, month_label and year_label in week-view. Change the y-align property of month_label,week_label and year_label in week-header.ui to 0, so that they are aligned properly. https://bugzilla.gnome.org/show_bug.cgi?id=777417 data/ui/week-header.ui | 3 +++ 1 file changed, 3 insertions(+) commit 0b1dd67d2d1b11cc1f4139f754e06a184ffeaddc Author: Piotr Drąg Date: Thu Jan 26 04:58:18 2017 +0100 Fix translator comments They need to be exactly one line above a string to show up in .po files. src/gcal-quick-add-popover.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 063dfb1371f7e896d5ac693ce1889434c64485a1 Author: Efstathios Iosifidis Date: Wed Jan 25 22:23:59 2017 +0000 Update Greek translation po/el.po | 124 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 67 insertions(+), 57 deletions(-) commit 4ad67a623db7d732687d5f371a66752043f1631c Author: Baurzhan Muftakhidinov Date: Wed Jan 25 08:57:11 2017 +0000 Update Kazakh translation po/kk.po | 113 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 64 insertions(+), 49 deletions(-) commit e4555ea2924d3cfe3269bb8e67f3507d6f6d29e9 Author: Georges Basile Stavracas Neto Date: Tue Jan 24 09:22:57 2017 -0200 search-view: various fixes src/gcal-search-view.c | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) commit 53f9158f25eb59f18d52e45f9adb5c013f467b75 Author: Georges Basile Stavracas Neto Date: Tue Jan 24 08:59:00 2017 -0200 search-view: only decrease search counter when something is removed Because we were blindlessly decreasing the search hit counter without considering that we could've not removed anything, the search hit counter is going nuts. Fix that by properly checking if something was removed, and only decrease the search hit counter when that happens. src/gcal-search-view.c | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) commit c6b7d753a9129d2ed275e05740212f60b460e89b Author: Jordi Mas Date: Sun Jan 22 22:02:14 2017 +0100 Update Catalan translation po/ca.po | 184 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 102 insertions(+), 82 deletions(-) commit 8f28eeb30252e7d211b98afc3d828936f3988d2c Author: Piotr Drąg Date: Fri Jan 20 22:56:02 2017 +0100 Update Polish translation po/pl.po | 121 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 64 insertions(+), 57 deletions(-) commit 008df8bae4432e8b7878b55a55a0926b467ceccf Author: Dušan Kazik Date: Wed Jan 18 19:00:15 2017 +0000 Update Slovak translation po/sk.po | 112 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 64 insertions(+), 48 deletions(-) commit a21a043d730733d20f8491dd0c1fe417d2060def Author: Fabio Tomat Date: Wed Jan 18 13:51:11 2017 +0000 Update Friulian translation po/fur.po | 121 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 69 insertions(+), 52 deletions(-) commit c5d92c22d591193d3cb9f9aa19d50ee210472fc7 Author: Piotr Drąg Date: Tue Jan 17 15:21:52 2017 +0100 Use Unicode en dash in a translatable string See https://developer.gnome.org/hig/stable/typography.html https://bugzilla.gnome.org/show_bug.cgi?id=772263 src/gcal-quick-add-popover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8ab952b7ce5e5bbd1e2a4e6d0df2498f1f31bd32 Author: Piotr Drąg Date: Tue Jan 17 15:12:29 2017 +0100 Update POTFILES.in po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit c573201b74b87e68bb81bc580ef978e6001787a6 Author: Georges Basile Stavracas Neto Date: Tue Jan 17 11:29:36 2017 -0200 Update POTFILES.in po/POTFILES.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit e74cfc0e22ad531234450efb851032d295f9b57e Author: Georges Basile Stavracas Neto Date: Tue Jan 17 11:28:48 2017 -0200 project: move views to views/ folder src/Makefile.am | 26 +++++++++++++------------- src/{ => views}/gcal-month-view.c | 0 src/{ => views}/gcal-month-view.h | 0 src/{ => views}/gcal-year-view.c | 0 src/{ => views}/gcal-year-view.h | 0 5 files changed, 13 insertions(+), 13 deletions(-) commit 1f3f275cd661b7a363e9364343f6e5ae32b82ed6 Merge: eae6456 7a21e1e Author: Georges Basile Stavracas Neto Date: Tue Jan 17 11:25:53 2017 -0200 Merge branch 'wip/pandusonu/week-view' commit 7a21e1e5ac6e8d1092a05a009b69982f869b2446 Author: Georges Basile Stavracas Neto Date: Tue Jan 17 11:23:41 2017 -0200 week-header: implement drag n' drop src/views/gcal-week-header.c | 152 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 145 insertions(+), 7 deletions(-) commit 4974e03216f24cea0edfd24a7faa593670923dda Author: Georges Basile Stavracas Neto Date: Tue Jan 17 11:04:18 2017 -0200 event-widget: properly draw dnd icon Instead of using a pixbuf and relying on the underlying GdkWindow, simply perform a custom draw() over a manually created cairo context and avoid nasty crashes. src/gcal-event-widget.c | 35 +++++++++++++++++++++++------------ 1 file changed, 23 insertions(+), 12 deletions(-) commit 530aaa24c471be50fcd846c9d0280dc723238bf9 Author: Georges Basile Stavracas Neto Date: Tue Jan 17 10:56:32 2017 -0200 week-grid: implement drag n' drop src/views/gcal-week-grid.c | 174 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 172 insertions(+), 2 deletions(-) commit 096327e0468973d3792992a9d4d715b4935a80f2 Author: Georges Basile Stavracas Neto Date: Tue Jan 17 10:50:32 2017 -0200 week-view: set the header's and grid's manager as well src/views/gcal-week-view.c | 3 +++ 1 file changed, 3 insertions(+) commit 661d1d092685e8a16213efc931206a5efb6cb379 Author: Georges Basile Stavracas Neto Date: Tue Jan 17 09:37:04 2017 -0200 Update POTFILES.in po/POTFILES.in | 2 ++ 1 file changed, 2 insertions(+) commit eae645637c2eced0cd3b1dfbcf81a69df3d4b185 Author: Sveinn í Felli Date: Tue Jan 10 06:54:19 2017 +0000 Update Icelandic translation (cherry picked from commit ebd6928d26ef6505df3e9c7867d357fbf1144fd4) po/is.po | 237 +++++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 163 insertions(+), 74 deletions(-) commit 529acca2390b0b3270cfafac5822f36b244d14cb Author: Georges Basile Stavracas Neto Date: Mon Jan 9 18:25:55 2017 -0200 week-grid: fix index sorting This was causing conflicts on event overlapping calculation. src/views/gcal-week-grid.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 1accfdccd4832718b1b037ceaed2fd6f768cbb1f Author: Dušan Kazik Date: Sat Jan 7 15:47:33 2017 +0000 Update Slovak translation po/sk.po | 86 ++++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) commit f80ccd645f29b73555f2cbb6bfadb98252cc0e7a Author: Efstathios Iosifidis Date: Sat Dec 24 09:17:19 2016 +0000 Update Greek translation po/el.po | 64 +++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 35 insertions(+), 29 deletions(-) commit a30ce11721f283025b232e37bb892e13d8ed66e4 Author: Daniel Mustieles Date: Thu Dec 22 20:08:28 2016 +0100 Updated Spanish translation po/es.po | 95 ++++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 50 insertions(+), 45 deletions(-) commit 6470d1af25b1669d99d8a1936a859e796146d139 Author: Jiri Grönroos Date: Fri Dec 16 19:59:37 2016 +0000 Update Finnish translation po/fi.po | 114 +++++++++++++++++++++++++++++---------------------------------- 1 file changed, 52 insertions(+), 62 deletions(-) commit 30cb8a502074fbcd2dce99eade9c7192abd2c59c Author: Georges Basile Stavracas Neto Date: Thu Dec 15 17:32:27 2016 -0200 week-header: improve rendering of selection src/views/gcal-week-header.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) commit f013d7442ea2b2068013c90b7cf0a7a563b8ac22 Author: Georges Basile Stavracas Neto Date: Thu Dec 15 17:09:45 2016 -0200 week-header: fix event margins data/ui/week-header.ui | 1 - src/views/gcal-week-header.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) commit 9da0704e37f3d103cc230787238af0e6023784ce Author: Georges Basile Stavracas Neto Date: Thu Dec 15 17:03:26 2016 -0200 week-grid: set child widgets' orientation to vertical src/views/gcal-week-grid.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 4074bee50e6919d094934424c92c897f11951e6b Author: Georges Basile Stavracas Neto Date: Thu Dec 15 17:02:51 2016 -0200 event-widget: implement GtkOrientable So that we can control how much information, and how this information is displayed, depending on the widget orientation. src/gcal-event-widget.c | 104 +++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 90 insertions(+), 14 deletions(-) commit 69ad53352da6a7fb4dc852a49041380160ed70f1 Author: Georges Basile Stavracas Neto Date: Thu Dec 15 17:01:20 2016 -0200 week-grid: remove unused vars src/views/gcal-week-grid.c | 4 ---- 1 file changed, 4 deletions(-) commit 33f1e4cd3154209f38310bf831d98ceb98fe8d08 Author: Georges Basile Stavracas Neto Date: Wed Dec 14 17:18:48 2016 -0200 week-header: minor improvements on date selection src/views/gcal-week-header.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 84c411e50538ae41486b5fb1f58c1d6470cc3279 Author: Georges Basile Stavracas Neto Date: Wed Dec 14 17:11:37 2016 -0200 week-grid: fix inversed selection on RTL languages src/views/gcal-week-grid.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) commit 1cab5278f1676b44ee9461a909527806cd0dc5fd Author: Georges Basile Stavracas Neto Date: Wed Dec 14 17:11:11 2016 -0200 style: smoother selection background data/theme/gtk-styles.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ffaf7153d7c060fc43966e0b93fd1d84f02dc4b8 Author: Georges Basile Stavracas Neto Date: Wed Dec 14 17:00:11 2016 -0200 week-header: implement event creation data/theme/gtk-styles.css | 7 +- data/ui/week-header.ui | 182 ++++++++++++++++++++++--------------------- src/views/gcal-week-header.c | 165 ++++++++++++++++++++++++++++++++++++++- src/views/gcal-week-header.h | 2 + src/views/gcal-week-view.c | 1 + 5 files changed, 268 insertions(+), 89 deletions(-) commit 13e938a19439f9d63b2e049d7b3387aa758c35dd Author: Fábio Nogueira Date: Tue Dec 13 23:48:30 2016 +0000 Update Brazilian Portuguese translation po/pt_BR.po | 98 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 48 insertions(+), 50 deletions(-) commit 55d9232b0cd18a7e70a3976455b520034dea4108 Author: Georges Basile Stavracas Neto Date: Tue Dec 13 20:19:28 2016 -0200 quick-add-popover: fix creation of timed events On week view, we want to create events that span 1 day, but with different hours. The current code of Quick Add popover, however, doesn't support that, as the only test case up to now was month and year views - both not making use of timed events. Fix that by adding the necessary comparisons, adapting the strings and allowing events with the same date but different times. src/gcal-quick-add-popover.c | 82 ++++++++++++++++++++++++++++++-------------- 1 file changed, 57 insertions(+), 25 deletions(-) commit ab3b80f3b95fcf36dcfc186e9af6bdcb2b2c2896 Author: Georges Basile Stavracas Neto Date: Tue Dec 13 20:17:28 2016 -0200 event-widget: factor out clock format function This function will be used by other pieces of code later. We also gain a tiny performance improvement, as only one GSetting is ever created. src/gcal-event-widget.c | 9 +-------- src/gcal-utils.c | 14 ++++++++++++++ src/gcal-utils.h | 2 ++ 3 files changed, 17 insertions(+), 8 deletions(-) commit 9a07dad0e957bb3d0e603da71a0e43df12781185 Author: Georges Basile Stavracas Neto Date: Tue Dec 13 16:26:45 2016 -0200 week-grid: minor fixups src/views/gcal-week-grid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit e8906c9e04fc22a595f06f8fec4463c695d62082 Author: Georges Basile Stavracas Neto Date: Tue Dec 13 15:13:52 2016 -0200 week-view: smoothly scroll the grid when moving to today src/views/gcal-week-view.c | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) commit f134da5a1d2410f8851576d5f0fe6618acb75c0b Author: Georges Basile Stavracas Neto Date: Fri Dec 9 14:47:02 2016 -0200 week-view: avoid segfault when scrolling when unmapped src/views/gcal-week-view.c | 3 +++ 1 file changed, 3 insertions(+) commit 343283e37ad75e561b3704a5a5da5bae49d17878 Author: Georges Basile Stavracas Neto Date: Fri Dec 9 14:46:40 2016 -0200 week-grid: implement event creation data/theme/gtk-styles.css | 4 + data/ui/window.ui | 1 + src/views/gcal-week-grid.c | 192 +++++++++++++++++++++++++++++++++++++++++++++ src/views/gcal-week-grid.h | 2 + src/views/gcal-week-view.c | 11 ++- 5 files changed, 208 insertions(+), 2 deletions(-) commit 487b35ec6be5dff467eaf5456982910ce8f7257b Author: Baurzhan Muftakhidinov Date: Tue Dec 13 03:46:53 2016 +0000 Update Kazakh translation po/kk.po | 94 +++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 46 insertions(+), 48 deletions(-) commit 112b82c1795e93327ca6b4a1dbd127832c4b0079 Author: Georges Basile Stavracas Neto Date: Fri Dec 9 14:45:45 2016 -0200 utils: add utility to unref datetimes src/gcal-utils.h | 2 ++ 1 file changed, 2 insertions(+) commit 93acf26507efc3052381840f1d04f6f7079751a3 Author: Georges Basile Stavracas Neto Date: Fri Dec 9 00:03:21 2016 -0200 week-grid: properly position overlapping events When two or more events overlap, the week grid almost does the right thing and correctly calculates the width of the events. It fails, however, in calculating the position of the events. This commit introduces a simple yet efficient way to position the events. It uses a temporary range tree to efficiently store already positioned widgets, and checks for their indexes looking for a hole to position the new event. src/views/gcal-week-grid.c | 89 +++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 84 insertions(+), 5 deletions(-) commit bcfe13bcbc4e477a6f4870b679db8826dc951259 Author: Georges Basile Stavracas Neto Date: Thu Dec 8 20:33:34 2016 -0200 week-view: adapt view and widgets to handle RTL src/views/gcal-week-grid.c | 34 ++++++++++++++++++++++++++++++---- src/views/gcal-week-header.c | 30 ++++++++++++++++++++++++++---- src/views/gcal-week-view.c | 20 ++++++++++++++++---- 3 files changed, 72 insertions(+), 12 deletions(-) commit 3dde4580eaac0ff3cf22784ea30c23500e3603d6 Author: Gábor Kelemen Date: Thu Dec 8 21:54:45 2016 +0000 Update Hungarian translation po/hu.po | 98 ++++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 52 insertions(+), 46 deletions(-) commit 6d4f7198292474900b414945916d8fa392cd33ec Author: Georges Basile Stavracas Neto Date: Thu Dec 8 19:33:20 2016 -0200 week-header, week-grid: update drawing when time changes When minutes change, the week grid should update the today strip if it's visible and, if the day change, week header should update the blue week name. src/views/gcal-week-grid.c | 17 +++++++++++++++++ src/views/gcal-week-header.c | 15 +++++++++++++++ 2 files changed, 32 insertions(+) commit 23010afa1a7f74b304e8ec177201e15c53c8c4f6 Author: Georges Basile Stavracas Neto Date: Thu Dec 8 19:20:45 2016 -0200 window: fix today button sensitivitiness on week view src/gcal-window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7e53c433b741ff513741e80463c30f0643ff7650 Author: Georges Basile Stavracas Neto Date: Thu Dec 8 18:54:01 2016 -0200 week-view: center grid on date change data/ui/week-view.ui | 2 +- src/views/gcal-week-view.c | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) commit c1ab1c2d3b505eef7601ac2f2895ee6934c443b3 Author: Georges Basile Stavracas Neto Date: Thu Dec 8 18:41:36 2016 -0200 week-header, week-grid: remove duplicate code src/gcal-utils.c | 37 +++++++++++++++++++++++++++++++++++++ src/gcal-utils.h | 8 ++++++++ src/views/gcal-week-grid.c | 28 ---------------------------- src/views/gcal-week-header.c | 38 -------------------------------------- 4 files changed, 45 insertions(+), 66 deletions(-) commit 7a6ca3d7112b95c217a9a5ae960e277d64f270c8 Author: Georges Basile Stavracas Neto Date: Thu Dec 8 18:34:06 2016 -0200 week-view: simplify code src/views/gcal-week-view.c | 2 -- 1 file changed, 2 deletions(-) commit b8a297fddef19c32020c0e419bb3763fc390a177 Author: Georges Basile Stavracas Neto Date: Thu Dec 8 18:31:01 2016 -0200 week-header: small ui fix Add 2px at the bottom so events don't overlap with the bottom line. data/ui/week-header.ui | 1 + 1 file changed, 1 insertion(+) commit 36f716ebf4281c124f4f16a07a5a8031d3ec69d6 Author: Georges Basile Stavracas Neto Date: Thu Dec 8 18:23:25 2016 -0200 week-view: reimplement editing events data/ui/week-view.ui | 2 + data/ui/window.ui | 1 + src/views/gcal-week-grid.c | 72 +++++++++++++++++++++++++++++++++++- src/views/gcal-week-grid.h | 3 ++ src/views/gcal-week-header.c | 87 +++++++++++++++++++++++++++++++++++++++++--- src/views/gcal-week-header.h | 3 ++ src/views/gcal-week-view.c | 48 +++++++++++++++++++++--- 7 files changed, 204 insertions(+), 12 deletions(-) commit 5238e6ff9d69493ef313a7f762f5ca2c1a8bbf39 Author: Georges Basile Stavracas Neto Date: Thu Dec 8 17:50:30 2016 -0200 week-header: don't rearrange events if week didn't change src/views/gcal-week-header.c | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) commit f98a4656124f2a701618649a8174a8ff36016ce3 Author: Georges Basile Stavracas Neto Date: Thu Dec 8 16:40:00 2016 -0200 week-header: don't set a minimum content height src/views/gcal-week-header.c | 1 - 1 file changed, 1 deletion(-) commit f7658bede225cb9880eb7fbc06dbf4006715389f Author: Georges Basile Stavracas Neto Date: Thu Dec 8 16:39:02 2016 -0200 week-header: fix various issues with dates When breaking and merging event widgets, the start and end dates must be updated to reflect the current widget state. src/views/gcal-week-header.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit e474ac190263393dd472a090d797fafd8c987772 Author: Georges Basile Stavracas Neto Date: Thu Dec 8 16:21:08 2016 -0200 week-header: redraw the whole background on draw() src/views/gcal-week-header.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 6e3b4a5f04b3347efc8ed659313852f7f9a4933f Author: Georges Basile Stavracas Neto Date: Thu Dec 8 16:20:10 2016 -0200 week-header: don't leak overflow labels when expanded src/views/gcal-week-header.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 21c9f721aed1d5192aa013010904520ab214f22c Author: Georges Basile Stavracas Neto Date: Thu Dec 8 16:10:46 2016 -0200 week-header: properly propagate height when expanded data/ui/week-header.ui | 2 ++ 1 file changed, 2 insertions(+) commit 3f4715fd4a05f808982f6e799cb1712b57323436 Author: Georges Basile Stavracas Neto Date: Thu Dec 8 16:04:07 2016 -0200 week-header: batch fix overflow management It's getting close to be completely working. src/views/gcal-week-header.c | 66 ++++++++++++++++++++++++++++++++++++++------ 1 file changed, 57 insertions(+), 9 deletions(-) commit 13906a30000a213c073615546eefbd73010b2253 Author: Georges Basile Stavracas Neto Date: Thu Dec 8 16:00:39 2016 -0200 week-header: fix all-day events, add comments src/views/gcal-week-header.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 74ac2d83ee165d6d1f888762a7fa6146e07f44d2 Author: Georges Basile Stavracas Neto Date: Thu Dec 8 14:18:37 2016 -0200 week-view: fix active and current date handling The active date is the visible date, while the current date is today. We shouldn't confuse those two. src/views/gcal-week-header.c | 1 + src/views/gcal-week-view.c | 9 +++------ 2 files changed, 4 insertions(+), 6 deletions(-) commit 6fc89fb6260434c4fe21ba5b8a541001f800c1de Author: Georges Basile Stavracas Neto Date: Thu Dec 8 03:14:40 2016 -0200 week-header: remove needless margin src/views/gcal-week-header.c | 1 - 1 file changed, 1 deletion(-) commit e897f38eee1350fdd0186da410b4db61286d3196 Author: Georges Basile Stavracas Neto Date: Thu Dec 8 03:01:52 2016 -0200 week-header: simplify event addition src/views/gcal-week-header.c | 53 ++++++++++++++++++-------------------------- 1 file changed, 22 insertions(+), 31 deletions(-) commit 7e68588cfb387d284c9fefc8e6269e26165e379a Author: Georges Basile Stavracas Neto Date: Thu Dec 8 01:55:38 2016 -0200 week-header: rework drawing model data/theme/gtk-styles.css | 2 +- data/ui/week-header.ui | 186 ++++++++++++++++++++----------------------- src/views/gcal-week-header.c | 117 ++++++++++++++++++--------- 3 files changed, 168 insertions(+), 137 deletions(-) commit f50a258f05cb718d9345e7a28c25195d7ec8186c Author: Georges Basile Stavracas Neto Date: Thu Dec 8 00:34:30 2016 -0200 week-header: fix initial overflow check data/ui/week-header.ui | 1 - src/views/gcal-week-header.c | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) commit 1c48d0a543775ed2eeebd79dcb173301bbe49be7 Author: Georges Basile Stavracas Neto Date: Thu Dec 8 00:21:36 2016 -0200 week-header: fix date handling src/views/gcal-week-header.c | 71 ++++++++++++++++++++------------------------ 1 file changed, 32 insertions(+), 39 deletions(-) commit e5407d8c72c5cb4d4f631b407c48d11ccb0806c0 Author: Georges Basile Stavracas Neto Date: Wed Dec 7 23:58:33 2016 -0200 week-grid, week-header: special-case today when drawing The week grid should display a horizontal strip on the today column, and the week header should draw the week day labels with a custom color. data/theme/gtk-styles.css | 13 +++++++++- src/views/gcal-week-grid.c | 49 +++++++++++++++++++++++++++++++++++- src/views/gcal-week-header.c | 60 +++++++++++++++++++++++++++++++++++--------- 3 files changed, 108 insertions(+), 14 deletions(-) commit 1c048fb5383f25b1a05b6c36e08b9b7656875037 Author: Georges Basile Stavracas Neto Date: Wed Dec 7 21:31:48 2016 -0200 week-grid, week-header: improve rendering of vertical lines src/views/gcal-week-grid.c | 7 ++++--- src/views/gcal-week-header.c | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) commit 336e5840990a365635317c402f79186152a96925 Author: Georges Basile Stavracas Neto Date: Wed Dec 7 21:30:54 2016 -0200 week-grid: implement event handling This is the glorious commit where Week grid starts showing and handing events. data/ui/week-view.ui | 1 + src/views/gcal-week-grid.c | 264 ++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 250 insertions(+), 15 deletions(-) commit 29ad51b19af59f18b45c98c69e4951bfaca9f29b Author: Georges Basile Stavracas Neto Date: Wed Dec 7 21:27:25 2016 -0200 project: introduce GcalRangeTree In order to correctly implement the week grid, we must have a fast and optimized data structure to handle date intervals. This commit introduces, then, GcalRangeTree. The range tree is an augmented AVL tree designed to handle intervals (i.e. ranges) rather than single-dimensional keys. It is a very good struct since common operations like insert and removal are O(log n). It also is optimized for the ranges we work on, so the nodes only take up the absolutely minimum space required. src/Makefile.am | 2 + src/views/gcal-range-tree.c | 604 ++++++++++++++++++++++++++++++++++++++++++++ src/views/gcal-range-tree.h | 72 ++++++ 3 files changed, 678 insertions(+) commit c93d634454d086b286acecdfd94fa9bc894d9dd4 Author: Georges Basile Stavracas Neto Date: Wed Dec 7 17:02:47 2016 -0200 week-view: add events to the grid when needed src/views/gcal-week-view.c | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) commit 8a9a58419a009123d1b5424ea2dfe0a638f99964 Author: Georges Basile Stavracas Neto Date: Wed Dec 7 17:02:14 2016 -0200 week-grid: add stub add_event() and remove_event() src/views/gcal-week-grid.c | 67 ++++++++++++++++++++++++++++++++++++++++++++-- src/views/gcal-week-grid.h | 6 +++++ 2 files changed, 71 insertions(+), 2 deletions(-) commit 54ff4eefc310a6b2f3c7970d0af71ec2655472ef Author: Georges Basile Stavracas Neto Date: Sat Dec 3 01:40:10 2016 -0200 week-header: reimplement header expansion and collapsing src/views/gcal-week-header.c | 170 +++++++++++++++++++++++++++++-------------- 1 file changed, 117 insertions(+), 53 deletions(-) commit 4a7754c677112d6702aeb5e275fe24b25511919f Author: Georges Basile Stavracas Neto Date: Sat Dec 3 00:00:16 2016 -0200 week-header: fix merging events src/views/gcal-week-header.c | 48 ++++++++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 22 deletions(-) commit adc4bbae9ebe23a510b18d6f31b75e5de389dc3d Author: Georges Basile Stavracas Neto Date: Fri Dec 2 21:05:54 2016 -0200 week-header: simplify event removal src/views/gcal-week-header.c | 36 ++++++++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 10 deletions(-) commit e6ccc0e6e452692e9334fc0e1dc75961f6d452fb Author: Georges Basile Stavracas Neto Date: Fri Dec 2 18:22:49 2016 -0200 week-header: lots of cleanups and fixes I'm simply too tired to split them off in separate commits, so let me explain here. This commit: * Remove debug messages * Fixes many off-by-n and const-mistakes * Simplifies the code src/views/gcal-week-header.c | 81 +++++++++++++------------------------------- 1 file changed, 23 insertions(+), 58 deletions(-) commit 922e7ce54281f7db27dc339eacb5f78b5d756c91 Author: Georges Basile Stavracas Neto Date: Fri Nov 25 23:46:23 2016 +0100 week-header: remove unecessary code src/views/gcal-week-header.c | 16 ---------------- 1 file changed, 16 deletions(-) commit 18b788c997e3da88bdeabee91c6609537216e55f Author: Georges Basile Stavracas Neto Date: Thu Nov 24 01:52:37 2016 -0200 week-header: rename function src/views/gcal-week-header.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit ab50b0d039bb783fccfaab1641f96d2b6a9639d3 Author: Georges Basile Stavracas Neto Date: Thu Nov 24 01:46:28 2016 -0200 week-header: rewrite event moving method This method could've avoided an infinite loop case all this time, and I didn't realize it. src/views/gcal-week-header.c | 54 ++++++++------------------------------------ 1 file changed, 10 insertions(+), 44 deletions(-) commit 1903474ca64f35df857d20cac7d3457c1aa16d43 Author: Georges Basile Stavracas Neto Date: Thu Nov 24 00:49:03 2016 -0200 week-header: make event removal more robust The current code does not move the remaining events up and, when changing the week header various times, it ends up showing completely bogus events at bogus positions. Fix that by properly moving events up when removing them. src/views/gcal-week-header.c | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) commit 392c310f55982b09ec045ad0215c2d5e13011481 Author: Georges Basile Stavracas Neto Date: Thu Nov 24 00:48:13 2016 -0200 week-header: refactor event moving Instead of passing the position of the widget in the UI, pass the position of the widget in the model. src/views/gcal-week-header.c | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) commit 3b885d28745a90c1d89cd32de712808f987ca9f2 Author: Georges Basile Stavracas Neto Date: Tue Nov 22 17:04:37 2016 -0200 week-header: fix style src/views/gcal-week-header.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 2bc8f85ce8fddd61efd4b5d447b3cbbf603b7e89 Author: Georges Basile Stavracas Neto Date: Tue Nov 22 17:04:07 2016 -0200 week-header: simplify and extend moving column events src/views/gcal-week-header.c | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) commit de36d449ed97bed1266ae3de672599f3b966992d Author: Georges Basile Stavracas Neto Date: Sun Nov 6 19:48:51 2016 -0200 week-header: don't allow negative widths src/views/gcal-week-header.c | 2 ++ 1 file changed, 2 insertions(+) commit 92ba507b9ee086b1718685f5e549fb4c7d6bddf4 Author: Georges Basile Stavracas Neto Date: Sun Nov 6 19:28:25 2016 -0200 week-header: implement merging of consecultive events When an event is placed in the same row consecultively, we must guarantee that it's only one widget. src/views/gcal-week-header.c | 268 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 249 insertions(+), 19 deletions(-) commit bb0e927fc27925dd0d5104ce59230bb834f744b4 Author: Georges Basile Stavracas Neto Date: Sun Nov 6 19:28:04 2016 -0200 week-grid: style cleanup src/views/gcal-week-grid.c | 46 ++++++++++------------------------------------ src/views/gcal-week-grid.h | 21 ++++++++++++--------- 2 files changed, 22 insertions(+), 45 deletions(-) commit f4f2527e699c0ee0bce53f87531697cfe812a52c Author: Georges Basile Stavracas Neto Date: Thu Nov 3 15:58:44 2016 -0200 week-header: remove unused code src/views/gcal-week-header.c | 12 ------------ 1 file changed, 12 deletions(-) commit 6e318f346338cb2009d5e79b8b41da83b872a4fb Author: Georges Basile Stavracas Neto Date: Thu Nov 3 14:05:18 2016 -0200 week-header: start moving to use another event storage Instead of using a single, giant GList to store all the available events, use an array of sorted GLists. This commit adds temporary debug messages, beware the huge output. src/views/gcal-week-header.c | 604 +++++++++++++++++++++++++++---------------- src/views/gcal-week-header.h | 2 +- 2 files changed, 386 insertions(+), 220 deletions(-) commit c66029d49f25a7d981cb8d346692978a13a4d081 Author: Georges Basile Stavracas Neto Date: Thu Nov 3 14:04:56 2016 -0200 window: fix week view range src/gcal-window.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 1cf46abfed8a5707c84d7f1f8b8040562b01266c Author: Georges Basile Stavracas Neto Date: Thu Nov 3 14:02:58 2016 -0200 week-view: don't set the subscriber range twice src/views/gcal-week-view.c | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) commit 2e7c6c8c58e36267debd63c75dea442b7889dcfc Author: Georges Basile Stavracas Neto Date: Thu Nov 3 14:02:20 2016 -0200 week-header: visual improvements data/theme/gtk-styles.css | 2 +- data/ui/week-header.ui | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) commit 12da2c44e71c3a5ccf06d6d0999e95b8bcd197b4 Author: Georges Basile Stavracas Neto Date: Wed Nov 2 15:45:19 2016 -0200 week-view: improve drawing of the week grid src/views/gcal-week-grid.c | 5 ++++- src/views/gcal-week-view.c | 24 ++++++++---------------- 2 files changed, 12 insertions(+), 17 deletions(-) commit 39076d1aaf17c9d620e787e8cf286149ec94376b Author: Georges Basile Stavracas Neto Date: Wed Nov 2 15:45:01 2016 -0200 style: update hour sidebar padding data/theme/gtk-styles.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 16a2d6487410d309a20928106fcfa5ed85ebb69b Author: Georges Basile Stavracas Neto Date: Wed Nov 2 15:32:19 2016 -0200 week-header: simplify background drawing code By moving the drawing area to a separate place, we're able to avoid having to manually calculate the sidebar width. Also, because we can, the drawing code was simplified a little bit by moving the bottom border to CSS. data/theme/gtk-styles.css | 1 + src/views/gcal-week-header.c | 47 ++++++++++++-------------------------------- 2 files changed, 14 insertions(+), 34 deletions(-) commit 2298379e51280dbdd46e4b228da25b47dd5eb1de Author: Georges Basile Stavracas Neto Date: Wed Nov 2 15:17:50 2016 -0200 week-header: reorganize widgets Instead of a box inside the overlay, put the overlay inside the box. data/ui/week-header.ui | 280 +++++++++++++++++++++++++------------------------ 1 file changed, 142 insertions(+), 138 deletions(-) commit 154a01f4c16cabbef0243b3c58a77617deca6dab Author: Georges Basile Stavracas Neto Date: Wed Nov 2 14:05:48 2016 -0200 week-view, week-grid: various fixed This commit is a rebase, compile-warning remover and a misbehaviour fixer too. data/ui/week-header.ui | 36 +++++++++---- data/ui/week-view.ui | 8 +-- src/gcal-window.c | 8 ++- src/views/gcal-week-grid.c | 122 ++++++++++++++++++++++++++++++++++--------- src/views/gcal-week-header.c | 77 +++++++++------------------ src/views/gcal-week-header.h | 31 ++++++----- src/views/gcal-week-view.c | 97 +++++++++------------------------- 7 files changed, 201 insertions(+), 178 deletions(-) commit a94a15ebba19b0678c4e22a25ab3b714e64c5747 Author: pandusonu2 Date: Sun Aug 21 21:21:03 2016 +0530 window: add week-view shortcut Add the shortcut to switch between views to the week-view data/ui/help-overlay.ui | 7 +++++++ src/gcal-window.c | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) commit b51f8c3ca682795637460cdaa67df2265ac21054 Author: pandusonu2 Date: Fri Aug 5 00:23:30 2016 +0530 week-grid: realize the week-grid Activate the week-grid by writing the necessary realize, unrealize, map and unmap functions data/ui/week-view.ui | 8 ++-- src/views/gcal-week-grid.c | 114 ++++++++++++++++++++++++++++++++++++--------- src/views/gcal-week-view.c | 5 ++ 3 files changed, 101 insertions(+), 26 deletions(-) commit e16426db0522fa962340e7aec0303513fbd853bb Author: pandusonu2 Date: Fri Aug 12 23:08:46 2016 +0530 week-header: correct padding and drawing Correct the padding for the expand button, to set some space between the button and the border. Remove the extra code which results in drawing of an additional line. src/views/gcal-week-header.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) commit 97ed5267e24891ac99cdb79cce946b8f60d330a4 Author: pandusonu2 Date: Thu Jul 28 19:49:54 2016 +0530 week-view: fix the sync between sidebar width Fix the width of the sidebar sync between the week view and week header. data/ui/week-view.ui | 4 +- src/views/gcal-week-grid.c | 12 +++--- src/views/gcal-week-header.c | 46 ++++++++++++++++++----- src/views/gcal-week-view.c | 89 +++++++++++++++++++++++++++++++++----------- src/views/gcal-week-view.h | 1 - 5 files changed, 111 insertions(+), 41 deletions(-) commit 4fde7e369dc12061d44251904222f47543680a94 Author: pandusonu2 Date: Thu Jul 28 14:56:04 2016 +0530 week-header: remove unnecessary code and correct access of public functions Remove code of functions which are no longer being used. Also corrected a few public functions and made them private as they won't be used. src/views/gcal-week-header.c | 16 +---- src/views/gcal-week-view.c | 154 +++++++++++++------------------------------ src/views/gcal-week-view.h | 2 - 3 files changed, 48 insertions(+), 124 deletions(-) commit 680f220fb2ad89a93b1c14773f825830d80d6ffc Author: pandusonu2 Date: Thu Jul 21 23:45:35 2016 +0530 week-view: draw the hours labels Draw the hour labels in the sidebar of the week grid. data/theme/gtk-styles.css | 11 ++++++ data/ui/week-view.ui | 20 +++++++++- src/views/gcal-week-grid.c | 28 ------------- src/views/gcal-week-view.c | 99 +++++++++++++++++++++++++++++++++++++++++++++- 4 files changed, 126 insertions(+), 32 deletions(-) commit 4b1ff14b6a1fd6f05b2e84f182ccbe0af3d6f54a Author: pandusonu2 Date: Wed Jul 20 18:22:35 2016 +0530 week-header: work around with GtkOverlay error Using the height request function to fix the error with height allocation of GtkOverlay widget. data/ui/week-header.ui | 1 + src/views/gcal-week-header.c | 13 +++++++++++++ 2 files changed, 14 insertions(+) commit 7927d3b11f0061896c7a7ea38efd6dd29bea162c Author: pandusonu2 Date: Wed Jul 6 03:45:32 2016 +0530 week-header: add support for expanded and collapsed mode Add the expand button and the functions require to expand and collapse the header. data/ui/week-header.ui | 190 ++++++++++++++++++++++++------------------- src/views/gcal-week-header.c | 188 ++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 290 insertions(+), 88 deletions(-) commit d6ef05b31d44b77a20deb112b9370a4c83f92353 Author: pandusonu2 Date: Thu Jun 30 16:52:31 2016 +0530 week-header: adjust theming to match the mockups Set correct font weight, size and draw lines where required. data/theme/gtk-styles.css | 40 +++++++++++++++++++++++++++++++++++++++ data/ui/week-header.ui | 12 +++++++++--- src/views/gcal-week-header.c | 45 ++++++++++++++++++++++++++++++++------------ 3 files changed, 82 insertions(+), 15 deletions(-) commit 4544b39b475603aaa8e4f6e004ac3975bbb8d504 Author: pandusonu2 Date: Thu Jun 30 21:03:06 2016 +0530 week-header: sort events before placing them Sort the events based on multiday/single day, start date and duration. src/views/gcal-week-header.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit 175d22e9ef989b8a9e6df634d45392333f127b0f Author: pandusonu2 Date: Sat Jun 25 19:05:35 2016 +0530 week-header: reposition present events on changing active date. When an event lasts beyond the active week, the event placement doesn't change on changing the week. We removed all the present events and added them to the list of events to be added to reposition them. src/views/gcal-week-header.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit 665f91701bfba67a7f86edc71cb6214fe47412de Author: pandusonu2 Date: Sat Jun 25 05:18:40 2016 +0530 week-header: set correct padding for the grid Set the margin top, left, and right for the grid, according to the mockups. data/ui/week-header.ui | 2 +- src/views/gcal-week-header.c | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) commit 62d8fdc0575c2aa3c4b120caddfeb4ede6c15ab0 Author: pandusonu2 Date: Wed Jun 22 22:45:30 2016 +0530 week-header: manage event display, position and removal Manage the displaying, positioning and removal of events in the week-header. data/ui/week-header.ui | 81 ++++++++++++++++++++++++- src/views/gcal-week-header.c | 141 ++++++++++++++++++++++++++++--------------- src/views/gcal-week-header.h | 4 +- 3 files changed, 175 insertions(+), 51 deletions(-) commit 0a53f1440e81e77069ebf6db8ba01d87fecd54ba Author: pandusonu2 Date: Tue Jun 21 21:52:31 2016 +0530 week-header: set line width and height as in mockup Set the divider line width and height to match the mockup. src/views/gcal-week-header.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit a43df17b08e24a295180baa7cdd5152b6650653a Author: Georges Basile Stavracas Neto Date: Tue Jun 21 11:54:07 2016 -0300 week-header: turn into a GtkGrid If the header is a GtkScrolledWindow, all the content (including the top labels and week names) are scrolled. This is a wrong behavior, since only the events should be scrollable. Fix that by making GcalWeekHeader a GtkGrid, and adding the scrolled window in the correct position. data/ui/week-header.ui | 38 +++++++++++++++++++++----------------- src/views/gcal-week-header.c | 11 +++++++---- src/views/gcal-week-header.h | 2 +- 3 files changed, 29 insertions(+), 22 deletions(-) commit 61f25b78db430feae1afcfa56e60b361d2afba54 Author: pandusonu2 Date: Tue Jun 21 19:27:35 2016 +0530 week-header: override the size_allocate() Override the size_allocate() widget function to set proper alignment for the grid. src/views/gcal-week-header.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit 188d7742b4f06df12473d03eeec96decac56edab Author: pandusonu2 Date: Sat Jun 18 00:17:37 2016 +0530 week-view: display events in header Displaying events in the week-header based on duration of the event. data/ui/week-header.ui | 2 ++ src/views/gcal-week-header.c | 78 ++++++++++++++++++++++++++++++++++++++++++++ src/views/gcal-week-header.h | 4 +++ src/views/gcal-week-view.c | 27 ++++++++++++--- 4 files changed, 107 insertions(+), 4 deletions(-) commit 16a1c9b55bcc8e8fc1a39bf3cb4fa913db232d52 Author: pandusonu2 Date: Fri Jun 17 01:14:28 2016 +0530 week-header: corrected the date of start of the week The active date is taken as the start of the week Added a function to get the correct date at start of the week. src/views/gcal-week-header.c | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) commit 2e82f0a2b826b899a672f4e31dd36d8122e9e31b Author: pandusonu2 Date: Thu Jun 16 19:25:42 2016 +0530 week-header: use GDateTime in place of icaltimetype Switch to using GDateTime variables in place of icaltimetype variables wherever found. src/views/gcal-week-header.c | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) commit 4dec80af4fee196d9b9d93682ae11b24315906d4 Author: pandusonu2 Date: Thu Jun 16 03:31:17 2016 +0530 week-header: made the update_headers() Shifted the code to update labels from the draw() to a separate new function update_headers() src/views/gcal-week-header.c | 86 +++++++++++++++++++++++++++++--------------- 1 file changed, 57 insertions(+), 29 deletions(-) commit 1122b24216197bd13b0cf2483e3085b97d268991 Author: pandusonu2 Date: Tue Jun 14 01:50:23 2016 +0530 week-header: modify the draw() to match mockup Made changes in the draw() to match the mockups. data/theme/gtk-styles.css | 4 +- data/ui/week-header.ui | 58 ++++++++++++++++++++++--- data/ui/week-view.ui | 2 +- src/views/gcal-week-header.c | 101 ++++++++++++++++++++++++++++++++----------- 4 files changed, 130 insertions(+), 35 deletions(-) commit 9ff7d79d7dbb94422fc6cc0421d8eb0951b77bf9 Author: pandusonu2 Date: Fri Jun 10 21:23:54 2016 +0530 week-header: use stack-allocated structure Using stack allocated structure for certain variable in the draw(). Also disabling the week-grid for now. data/ui/week-view.ui | 4 ++-- src/views/gcal-week-header.c | 22 +++++++++++----------- src/views/gcal-week-view.c | 6 ++++++ 3 files changed, 19 insertions(+), 13 deletions(-) commit bffaa3bd76ea5d94013d321cbafcdc53a9271cb7 Author: pandusonu2 Date: Thu Jun 9 18:49:27 2016 +0530 week-view: add the EcalDataModelSubscriber functions Added the init, add, modified and removed functions of week-view for data model subscriber. src/views/gcal-week-view.c | 111 +++++++++++++++++++++++++++++++++++++++------ 1 file changed, 98 insertions(+), 13 deletions(-) commit 16fac7c3a043eb04e5b754fcb5839c045185c08e Author: pandusonu2 Date: Tue Jun 7 03:21:11 2016 +0530 week-view: make it a template class Made changes to make the week-view into a template class. data/Makefile.am | 1 + data/calendar.gresource.xml | 1 + data/ui/week-view.ui | 28 +++++++++++ src/gcal-window.c | 1 + src/views/gcal-week-header.c | 21 +++++++- src/views/gcal-week-view.c | 114 +++++++++++++++++++++++-------------------- src/views/gcal-week-view.h | 24 ++------- 7 files changed, 115 insertions(+), 75 deletions(-) commit 383cd818e9dd4459ca2de543a958b2533b9cefd3 Author: pandusonu2 Date: Mon Jun 6 21:55:40 2016 +0530 week-view: remove unused code Cleaning up the week-view.c file. Removing the previously written code which won't be required. src/views/gcal-week-view.c | 996 +-------------------------------------------- 1 file changed, 6 insertions(+), 990 deletions(-) commit c658d030b873e039fe7fd247c60c106b763651fc Author: pandusonu2 Date: Tue Jun 7 19:43:00 2016 +0530 week-grid: created the basic skeleton of week-grid Created the .h, .c and .ui file of week grid. Also made changes in the Makefile.am for it to get built. src/Makefile.am | 2 + src/views/gcal-week-grid.c | 309 +++++++++++++++++++++++++++++++++++++++++++++ src/views/gcal-week-grid.h | 45 +++++++ src/views/gcal-week-view.c | 1 + 4 files changed, 357 insertions(+) commit 69cade3d77b90c43c8262ea96065982184dace2a Author: pandusonu2 Date: Tue May 31 05:18:33 2016 +0530 week-header: created the basic skeleton of the week-header Created the .h, .c and .ui file of week header. Also made changes in the Makefile.am for it to get built. data/Makefile.am | 1 + data/calendar.gresource.xml | 1 + data/ui/week-header.ui | 29 +++++ src/Makefile.am | 2 + src/views/gcal-week-header.c | 293 +++++++++++++++++++++++++++++++++++++++++++ src/views/gcal-week-header.h | 45 +++++++ src/views/gcal-week-view.c | 33 +++-- src/views/gcal-week-view.h | 5 +- 8 files changed, 389 insertions(+), 20 deletions(-) commit 3656c781dacd37e03d101f84a0e2e7f1341e1cb4 Author: pandusonu2 Date: Sun May 29 02:06:04 2016 +0530 build: move week view to views/ subfolder Moved the gcal-week-view.{h,c} into views folder. Made changes in the src/Makefile.am and configure.ac to include the views/gcal-week-view.h. configure.ac | 2 +- src/Makefile.am | 5 +++-- src/{ => views}/gcal-week-view.c | 0 src/{ => views}/gcal-week-view.h | 0 4 files changed, 4 insertions(+), 3 deletions(-) commit d31f20ed72bc2e65a8aa943deb94a5bad393d9ed Author: pandusonu2 Date: Thu Jun 16 02:55:25 2016 +0530 window: updated update_active_date() for week-view Added the code required to update_active_date for week-view. src/gcal-window.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit 028eb7b994b35c171638f67d364c5b139ca47d7b Author: pandusonu2 Date: Fri May 20 22:38:35 2016 +0530 window: initialize and include week-view in the main window We add the week-view to the views_stack. Initialize the GtkWidget week_view in the gcal-window.c data/ui/window.ui | 13 ++++++++++++- src/gcal-window.c | 16 ++++++++-------- 2 files changed, 20 insertions(+), 9 deletions(-) commit d29520266daa2b94df10be5c378ab5da83606ca3 Author: Christian Hergert Date: Wed Nov 30 23:58:54 2016 -0800 flatpak: add Calendar flatpak manifest to simplify newcomer setup If using Builder 3.22.3, you can use this manifest to allow building Calendar against the GNOME master SDK. This means that contributing to Calendar can be as easy as installing Builder, cloning calendar, set the manifest build preference,and Build/Run. org.gnome.Calendar.json | 102 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) commit 0514d2b3b80755513a75c64ddd4f9e29cf1fd800