Commit Graph
2742 Commits
Author SHA1 Message Date
Georges Basile Stavracas Neto bbbabecc58 Merge branch 'master' into 'master'
Add <Ctrl>+f shortcut to activate search bar.

See merge request GNOME/gnome-calendar!5
2017-12-05 23:13:44 +00:00
George Willian Condomitti 7c2ca40f0b window: Add <Ctrl>+f shortcut to toggle search bar.
[221]
2017-12-04 16:04:41 -02:00
Kukuh Syafaat 91beda2687 Update Indonesian translation 2017-12-03 08:21:25 +00:00
Georges Basile Stavracas Neto 8c4a0ca613 event-widget: always hide color box on vertical events
Otherwise we get weird borders on Week view.
2017-12-01 11:26:59 -02:00
Georges Basile Stavracas Neto a2b66f212f project: ignore more folders 2017-11-30 14:45:47 -02:00
Georges Basile Stavracas Neto e8468ec0df event-widget: use a 16px rounded rectangle for event colors
This looks better than the thin borders, helps a lot colorblind
people and makes the overall layout just as good.

Ship it!

[#211]
2017-11-30 14:45:47 -02:00
Georges Basile Stavracas Neto 3c6df94be9 Merge branch 'nextcould-translations' into 'master'
project: update Nextcloud in translations

See merge request GNOME/gnome-calendar!4
2017-11-28 23:56:59 +00:00
Valtteri Tastula dd30a6598f project: update Nextcloud in translations
Update "ownCloud" to "Nextcloud" in all translation files.

Related to #163
2017-11-29 01:49:11 +02:00
Günther Wutz fff12ced31 source-dialog: fixed URI label in dialog
Show new the correct URI scheme and port for calendar location in
source dialog. We had a hard coded URI label and always showed https
even when the calendar source used http, and no port. So the showed
label was most of the time wrong.

Related to #41
2017-11-28 18:10:17 -02:00
Georges Basile Stavracas Neto 141e631f22 Merge branch 'issues/220' into 'master'
doc: add an issue template

Closes #220

See merge request GNOME/gnome-calendar!2
2017-11-28 14:41:48 +00:00
Thiago Mendes 641c8c22e1 doc: add an issue template
This adds two new templates whenever an user decides to open a new issue:

Bug.md is a template for new bugs
Feature.md is a template for new features

Both files came from the gnome-todo project.

Fixes: #220
2017-11-27 17:05:55 -02:00
Georges Basile Stavracas Neto 0e1404a11b flatpak: use GitLab url 2017-11-27 13:30:51 +00:00
Georges Basile Stavracas Neto ea8b9e76e7 event-widget: use a stack to handle orientation
Instead of setting the position of the labels in a grid,
use two different grids and switch between them using a
stack.
2017-11-25 11:43:52 -02:00
Georges Basile Stavracas Neto f8ce4937c2 month-view: move variables around
Just to make it clear that these variables are only used when
we really need to reprocess the event widgets.
2017-11-25 11:43:52 -02:00
Georges Basile Stavracas Neto 63f3078a80 week-grid: don't try to optimize allocation
This is making the week grid miss some valid reallocation
cases.
2017-11-25 11:43:52 -02:00
Jeremy Bicha 710b661afe CONTRIBUTING.md: tweak formatting
so that it displays better when viewed on the website
2017-11-24 23:48:36 +00:00
Caio Marcelo de Oliveira Filho ad404c26ed utils: simplify gcal_dup_icaltime
Instead of copying member by member, copy the entire struct contents.
It works as before, but doesn't depend on the member names.

This fixes compiling gnome-calendar with libical 3.0.0, since the
struct icaltimetype had one of the members removed (is_utc).

https://bugzilla.gnome.org/show_bug.cgi?id=790072
2017-11-24 15:13:02 -02:00
Georges Basile Stavracas Neto cbcffe3bcd trivial: remove obsolete TODO 2017-11-21 22:51:57 -02:00
Georges Basile Stavracas Neto e73240bc9a trivial: style fix 2017-11-21 20:13:28 -02:00
Georges Basile Stavracas Neto e34964802c month-view: remove unused variable 2017-11-21 20:13:28 -02:00
Kjartan Maraas 715842ede4 Updated Norwegian bokmål translation. 2017-11-20 12:16:33 +01:00
Georges Basile Stavracas Neto 7e2601e1a2 project: add the right file to the resources 2017-11-19 13:52:39 -02:00
Georges Basile Stavracas Neto a3d1bfcfc5 application: load custom css files
So that theme maintainers can drop their CSS here,
and make Calendar look beautiful everywhere.
2017-11-19 13:42:11 -02:00
Georges Basile Stavracas Neto 41fb5c83d6 theme: fine tune line color 2017-11-19 13:34:23 -02:00
Georges Basile Stavracas Neto bb2566dab8 month-view: hide last row if it's empty
This can make it put up to 5 events in my 1366x768 screen!

\o/
2017-11-19 12:29:29 -02:00
Georges Basile Stavracas Neto 0f1a8c93f2 month-view: fix hiding event widgets when removing 2017-11-19 12:18:32 -02:00
Georges Basile Stavracas Neto 1f1e351c47 month-view: remove useless field
This also fixes the bug where changing the text
direction doesn't reposition the event widgets.
2017-11-19 12:11:02 -02:00
Georges Basile Stavracas Neto 2e750b69e5 month-view: reorganize code
This is another major reorganization of the Month view's
allocation code. The goal is not to reduce the number
of lines, but to make them readable and maintainable.

During this reorganization, multiple bugs that were never
hit were ironed out! That itself would be a major win, but
since the code is actually more readable, we can expect
more improvements from now on.
2017-11-19 12:05:52 -02:00
Georges Basile Stavracas Neto 192e860edc trivial: style fix 2017-11-18 21:57:25 -02:00
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