Commit Graph
2417 Commits
Author SHA1 Message Date
Georges Basile Stavracas Neto a647033847 project: remove unused variables 2017-05-22 21:57:24 -03:00
Emin Tufan Çetin 93c7817be1 Update Turkish translation 2017-05-21 22:18:18 +00:00
Emmanuele Bassi 73255b3112 Use libical 2.0 for building Flatpak
Evolution-data-server recently bumped its dependency on libical from 1.0
to 2.0. Since we build e-d-s from Git in the Flatpak builder manifest,
we need to update the version of libical we build as well.
2017-05-19 19:58:48 +01:00
Yash Singh 6dd234296e event: add recurrence property & has-recurrence function
Recurrence property of the event enables us to add recurrences
to it in the future. It is the first step in that direction.

https://bugzilla.gnome.org/show_bug.cgi?id=782755
2017-05-18 14:50:14 -03:00
Georges Basile Stavracas Neto 4e262f6d5d event: remove unused code 2017-05-17 14:47:03 -03:00
Georges Basile Stavracas Neto f2ce665240 flatpak: allow communicating with org.gnome.ControlCenter 2017-05-17 09:05:05 -03:00
Georges Basile Stavracas Neto 05af332937 source-dialog: use DBus to spawn Control Center
In a Flatpak'd world, we cannot rely on the fact that
gnome-control-center binary will be installed at the
app's sandbox. But since it's a core app, we can rely
on the fact that it's available outside the sandbox.

To make it work, use DBus rather than raw spawn to
open control center.
2017-05-17 09:03:24 -03:00
Georges Basile Stavracas Neto dde6b5bf05 week-view: improve scroll timeout logic
Instead of keeping an active timeout source spamming the
console, just connect to the right signal and wait for the
week view to be visible again.
2017-05-16 17:48:25 -03:00
Georges Basile Stavracas Neto f25a7b0dd8 application: only override log handler with --debug 2017-05-16 15:01:11 -03:00
Georges Basile Stavracas Neto dc72ff4924 log: ignore GdkPixbuf messages 2017-05-16 14:57:21 -03:00
Georges Basile Stavracas Neto 4323990138 window: fix style 2017-05-16 14:57:17 -03:00
Georges Basile Stavracas Neto 09fe510937 views: use the new GcalClock to redraw
Instead of having each view manage it's own timeout (or
even worse, making GcalWindow manage it), use the newly
introduced GcalClock API to do that.
2017-05-16 14:57:15 -03:00
Georges Basile Stavracas Neto 15563607dd manager: create and keep an internal clock
This clock will be used in the future by other classes
to update stuff.
2017-05-16 14:57:13 -03:00
Georges Basile Stavracas Neto e7a05bdc4c clock: introduce GcalClock
GcalClock is an internal clock for GNOME Calendar that
sends a few utility signals, such as :day-changed and
:minute-changed.

It also watches for suspend/resume events to properly
send the signal right after the resume.
2017-05-16 14:57:11 -03:00
Mohammed Sadiq be731fcae7 event-widget: fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=782566
2017-05-15 17:28:25 -03:00
Mohammed Sadiq 4dde284170 week-header: fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=782561
2017-05-15 17:23:31 -03:00
Carlo Lobrano b3e286cffb org.gnome.Calendar.json: removed comments
Currently this json file contains comments in C-style.

However, comments in json files are not allowed and they could
break external programs that make use of them.

To fix it, I removed any comment from org.gnome.Calendar.json file.

https://bugzilla.gnome.org/show_bug.cgi?id=781787
2017-05-13 09:10:38 +02:00
Mario Blättermann 887d86b450 Update German translation 2017-05-12 15:04:00 +00:00
Jeremy Bicha ed195f4952 Fix header for Spanish translation 2017-05-10 19:13:51 -04:00
Orkun Tezer a54e91a9b3 week-header: use g_date_time_add_days for dnd date calculation
Dnd at week header crashes with segmentation fault

The problem, calculation of dnd_date returns NULL when week_start is
in previous month.

Fix that by using g_date_time_add_days() function

https://bugzilla.gnome.org/show_bug.cgi?id=781955
2017-05-08 21:49:46 -03:00
Georges Basile Stavracas Neto f9454b6a8a event-widget: properly escape event description
When we escape first, then truncate, we might end up truncating at
the middle of a special character sequence, breaking the markup.

Fix that by escaping after truncating.
2017-05-08 21:26:21 -03:00
Mohammed Sadiq 178e6a269a week-view: fix signal emission on scrolled_window
This was causing segfault in week-view

https://bugzilla.gnome.org/show_bug.cgi?id=782269
2017-05-06 12:51:25 -03:00
Mohammed Sadiq 9ed375cd99 application: fix setting active-date logic
https://bugzilla.gnome.org/show_bug.cgi?id=782192
2017-05-06 12:25:16 -03:00
Balázs Úr 0c01c6eff1 Update Hungarian translation 2017-05-05 19:51:24 +00:00
Kevin Lopez ec3ef0d0a3 search-view: hide if click is performed outside
Result drop down should disappear when any click is performed outside
that drop down.

https://bugzilla.gnome.org/show_bug.cgi?id=74796

https://bugzilla.gnome.org/show_bug.cgi?id=747962
2017-05-04 08:55:50 -03:00
Orkun Tezer a6e347d8f2 week-header: Move events at column after remove event from list
The Problem: When user remove 4rt fullday event, header only shows two
events and not shows 3rd fullday event

Because, we check and set visibility of event that user wants to remove
from calendar, before remove event from event list which causes 3rd
event unvisible.

Fix that with check and set visibility of event after remove event
from event list, then visibilties and overflow corretly calculated

https://bugzilla.gnome.org/show_bug.cgi?id=777423
2017-05-03 21:55:39 -03:00
Kukuh Syafaat d21397a4e9 Update Indonesian translation 2017-05-02 09:40:28 +00:00
Yuras Shumovich 0045288542 Add Belarusian translation
(cherry picked from commit 24dbb7d465ce2fab13ecc69e693cd90ec68368c6)
2017-05-01 15:16:24 +00:00
Fabio Tomat 0e6e5dbe05 Update Friulian translation 2017-04-30 11:32:02 +00:00
gogo 97ff64559b Update Croatian translation 2017-04-29 22:52:52 +00:00
Georges Basile Stavracas Neto 817325da05 month-view: simplify code 2017-04-29 12:57:06 -03:00
Georges Basile Stavracas Neto 7dc5eb5bf5 week-grid, week-header: properly initialize datetimes
Since we use autoptr on those, we may end up falling in to
the early return and mistakenly unreferencing the not
initialized new date.
2017-04-29 12:57:06 -03:00
Piotr Drąg b1b20737c8 Update POTFILES.in 2017-04-29 16:10:08 +02:00
Piotr Drąg 1457accb3a Add translator comments to the .desktop file
So hopefully we get fewer invalid translations that possibly break build.
2017-04-29 16:08:10 +02:00
Georges Basile Stavracas Neto e2c40af9ff docs: update list of undocumented symbols 2017-04-29 10:47:25 -03:00
Georges Basile Stavracas Neto dac4f4cd50 project: cleanup gitignore 2017-04-29 10:47:25 -03:00
Georges Basile Stavracas Neto 45f11ed5c0 project: drop intltool usage 2017-04-29 10:47:25 -03:00
Kukuh Syafaat fa526f0a7c Update Indonesian translation 2017-04-26 02:07:17 +00:00
Georges Basile Stavracas Neto 0aaa58de0f Bump 3.25.1 release 2017-04-24 10:55:08 -03:00
Georges Basile Stavracas Neto b9c1a36256 project: update NEWS and appdata from gnome-3-24 2017-04-24 10:50:09 -03:00
Georges Basile Stavracas Neto 7d771830f1 edit-dialog: fix g_list_sort() usage 2017-04-24 10:03:28 -03:00
Evgeny Shulgin 7798f38ad9 window: use case-insensitive sorting in the calendar list
g_strcmp0() is used when comparing the display name of the ESource.
This is not a valid sort, because in this case we will get an order
like "a" < "z" < "B" < "Z", but it should be like "a", "B", "z", "Z".

We will use g_ascii_strcasecmp to fix it.

https://bugzilla.gnome.org/show_bug.cgi?id=781231
2017-04-24 09:54:17 -03:00
Evgeny Shulgin 6728ddd019 source-dialog: use case-insensitive sorting in the calendar list
g_strcmp0() is used when comparing the display name of the ESource.
This is not a valid sort, because in this case we will get an order
like "a" < "z" < "B" < "Z", but it should be like "a", "B", "z", "Z".

We will use g_ascii_strcasecmp() to fix it.

https://bugzilla.gnome.org/show_bug.cgi?id=781231
2017-04-24 09:54:17 -03:00
Evgeny Shulgin d76bf34640 edit-dialog: sort the list of calendars in alphabetical order
Since gcal_manager_get_sources() returns a GList of ESource received
from the hash table, they are not sorted alphabetically. Because of
this, edit-dialog shows the unsorted list.

I added a function for sorting this GList that is case-insensitive.

https://bugzilla.gnome.org/show_bug.cgi?id=781231
2017-04-24 09:54:17 -03:00
gogo d5b61e32c5 Update Croatian translation 2017-04-23 16:38:13 +00:00
Isaque Galdino 997e958fb9 year-view: Uninitialised values
Valgrind was reporting some "Conditional jump or move depends on
uninitialised value(s)" and "Invalid read of size 4" when hovering
year-view.

It was found some uninitialised variables in the code and they were
initialised before being used.

https://bugzilla.gnome.org/show_bug.cgi?id=781430
2017-04-21 23:24:11 -03:00
Fabio Tomat e2f6bb13d3 Update Friulian translation 2017-04-21 19:49:54 +00:00
Georges Basile Stavracas Neto 9d91c11b52 year-view: simplify code
By storing the coordinates array in a local pointer,
we avoid 9 super slow full memory lookups. That matters
when we're inside the drawing function, trying to keep
60fps.
2017-04-19 16:48:51 -03:00
Georges Basile Stavracas Neto c5772f994e shell-search: don't crash 2017-04-19 16:46:19 -03:00
Georges Basile Stavracas Neto 141f8d87b8 window: attach update date timeout to window
So we can properly remove the timeout source whenever the
window is finalized.

https://bugzilla.gnome.org/show_bug.cgi?id=781431
2017-04-18 09:55:56 -03:00