Commit Graph
2713 Commits
Author SHA1 Message Date
Georges Basile Stavracas Neto 9fa9de2df7 month-view: use a custom structure to help multiday allocation
Instead of using 3 different, barely synchronized arrays. This
makes the code easier to read, and is more semantic too.
2017-11-18 21:57:25 -02:00
Marek Cernocky 89d5b4ae4b Updated Czech translation 2017-11-17 21:49:29 +01:00
Günther Wutz 35c8d0d363 event-widget: reposition drag source to initial position 2017-11-16 18:35:25 -02:00
Günther Wutz b83b2b4e46 month-popover: typo fix in comment 2017-11-16 17:14:25 -02:00
Piotr Drąg 31de3bbe35 Update POTFILES.in 2017-11-16 00:59:35 +01:00
Georges Basile Stavracas Neto 7af8dd3c40 Bump 3.27.2 release 2017-11-15 21:31:35 -02:00
Georges Basile Stavracas Neto 34d20a07ec month-popover: remove leftover comment 2017-11-15 21:04:46 -02:00
Georges Basile Stavracas Neto 4d23949a99 month-view: properly update today mark
https://bugzilla.gnome.org/show_bug.cgi?id=775103
2017-11-15 20:15:28 -02:00
Georges Basile Stavracas Neto 7470db159d flatpak: add libdazzle 2017-11-15 20:04:07 -02:00
Georges Basile Stavracas Neto a66ff3bf85 Merge branch 'wip/gbsneto/month-cell-subwindow' 2017-11-15 19:25:39 -02:00
Georges Basile Stavracas Neto 54839efbf4 month-view: fix rtl
This removes much of the subtle complexities of the size allocation
function in month view, and finally delivers a readable and working
implementation of the month view.

This also introduces a small code refactoring, and fixes clicking
on a cell on RTL.
2017-11-15 19:03:10 -02:00
Georges Basile Stavracas Neto b638a1537c event-widget: also compare by multiday 2017-11-15 15:32:37 -02:00
Georges Basile Stavracas Neto 09cd5d05cb month-popover: sort events 2017-11-15 03:17:04 -02:00
Georges Basile Stavracas Neto 72b9b34235 month-view: win the fight against the sizing machinery
We can now guarantee that the month cells unconditionally get
their desired allocations, but the event widgets are only created
when necessary.

I won.
2017-11-15 02:31:03 -02:00
Georges Basile Stavracas Neto eff50668d4 month-view: introduce new overflow popover window
This ~almost~ implements a perfectly semantic transition (which
is kinda impossible now).
2017-11-15 02:03:26 -02:00
Muhammet Kara ba7d5f90d6 Update Turkish translation
(cherry picked from commit a08f4393fd4bcd055e4205cbacd920e09ec07410)
2017-11-14 17:46:55 +00:00
Tim Sabsch 2c3f1369c2 Update German translation 2017-11-13 21:35:22 +00:00
Georges Basile Stavracas Neto 8d6785b6f7 month-view: implement a different hiding algorithm
As if the previous one wasn't crazy enough :(
2017-11-13 19:27:55 -02:00
Georges Basile Stavracas Neto b4cc36b344 month-view: fight the sizing machinery even harder
Make sure something changed in child widgets AND events,
otherwise just top allocating at all.
2017-11-13 17:06:38 -02:00
Georges Basile Stavracas Neto 31409b6e44 month-view: improve layout algorithm
Multiday event handling was a mess, and still it. But this commit
makes it at least layout things correctly.

It's not perfect, though; This commit brought back that terrible
allocation cycle issue, since we're showing and hiding events in
size-allocate.
2017-11-13 14:23:35 -02:00
Georges Basile Stavracas Neto 2c9f7e2041 month-view: reorganize header 2017-11-13 12:44:04 -02:00
Georges Basile Stavracas Neto 86b565a817 month-view: Improve code readability
No real changes except code reorganization and refactoring, just
to make it a little bit less painful to read and maintain.
2017-11-13 12:40:45 -02:00
Georges Basile Stavracas Neto 2a11959bdd month-cell: show +X in overflow label
Instead of "Other X Events".
2017-11-11 18:15:18 -02:00
Georges Basile Stavracas Neto b5ad149261 month-cell: improve calculation of header box height
Should also consider the top and bottom margins.
2017-11-11 18:15:02 -02:00
Georges Basile Stavracas Neto 432e7ab7ea month-cell: move day label to the start of the cell 2017-11-11 18:08:22 -02:00
Georges Basile Stavracas Neto 4dd4c2410f month-cell: Move day label to top, split from overflow 2017-11-11 17:48:59 -02:00
Georges Basile Stavracas Neto af90070cf4 doap: remove Isaque and Erick as maintainers
They don't maintain it anymore.
2017-11-11 17:35:01 -02:00
Georges Basile Stavracas Neto 1968151114 project: add libdazzle dependency 2017-11-11 17:33:49 -02:00
Милош Поповић 12b762fee3 Update Serbian translation
(cherry picked from commit ebb351f7245dc83d8ecebf1076dcdd31860f8644)
2017-11-11 17:12:57 +00:00
Kjartan Maraas 1f84b3a509 Updated Norwegian bokmål translation. 2017-11-09 19:51:21 +01:00
gogo f2848092ab Update Croatian translation 2017-11-09 14:31:57 +00:00
Florian Brosch 07fd080deb Do not show "Insert Emoji" for fixed form entries. 2017-11-08 23:51:32 -02:00
Florian Brosch 22b0014bf9 source-dialog: Use the right file chooser action 2017-11-08 23:44:21 -02:00
Florian Brosch 1e1216d3f7 sourc-edialog: rename owncloud to nextcloud 2017-11-08 23:43:48 -02:00
Florian Brosch 8d55c7ea04 source-dialog: Avoid known file extensions in calendar name suggestions 2017-11-08 23:40:45 -02:00
Florian Brosch 4b3351d549 source-dialog: Convert filename to utf8 before displaying it 2017-11-08 23:32:31 -02:00
Florian Brosch 4c84cfbbdb source-dialog: plug two memory leaks 2017-11-08 23:28:19 -02:00
Georges Basile Stavracas Neto caffb60065 utils: add autoptr support for ESource 2017-11-08 23:26:25 -02:00
Kjartan Maraas 419d581a9d Updated Norwegian bokmål translation. 2017-11-05 12:58:04 +01:00
Georges Basile Stavracas Neto 5977eeefc8 month-cell: only update label when date changes
If the date is the same, we don't need to update the label.
This might cause an infinite resize loop.
2017-10-31 01:11:26 -02:00
Georges Basile Stavracas Neto 907e55ccbe month-view: remove reminescent dnd code
Month view does not manage Drag n' Drop anymore, but
this code was left behind by accident.
2017-10-31 01:00:15 -02:00
Georges Basile Stavracas Neto 1e54c9db12 month-view: only idle add month cell update when necessary 2017-10-31 00:34:45 -02:00
Georges Basile Stavracas Neto 523609f2c0 month-view: always update month cells in idle
This way, we can schedule the multiple resizing queueing
operations to after the size-allocate phase is over.
2017-10-29 19:05:42 -02:00
Georges Basile Stavracas Neto e04b7f0fd3 event-widget: lazily relayout main grid 2017-10-29 19:05:34 -02:00
Qizhi Zhou ab8364bf9f Update zh_CN translation 2017-10-25 22:28:47 +08:00
Pawan Chitrakar 2673f31bc4 Update Nepali translation
(cherry picked from commit 2903f1fb2108f2f8575b5cffe37daf9e13454e65)
2017-10-16 09:03:22 +00:00
Fabio Tomat 37784e8f52 Update Friulian translation
(cherry picked from commit 4dbb141601c7694e27ff309e1646b8521166c427)
2017-10-11 06:06:41 +00:00
Aurimas Černius c3e526ecb5 Updated Lithuanian translation 2017-10-08 22:37:11 +03:00
Georges Basile Stavracas Neto 2357f5d766 month-cell: draw out-of-month cell day labels differently 2017-10-07 11:41:00 -03:00
Georges Basile Stavracas Neto 3411dbb13d month-view: don't outsmart GTK resizing machinery
If we need to resize, then let's just accept we need to
resize the month view (event if that's an expensive
operation) and do the resizing.

This fixed many minor annoyances like invisible overflow
labels, on-the-fly text direction changes, etc.
2017-10-07 11:40:48 -03:00