Georges Basile Stavracas Neto
0580637772
flatpak: Run EDS nested to the sandbox
...
EDS keeps changing its D-Bus API and we can't really
rely on it matching the host. Thus, make EDS run nested
to the sandbox.
2019-02-01 13:31:56 -02:00
Georges Basile Stavracas Neto
2e684a6288
flatpak: Build GOA with meson
...
It's faster. It's the future.
2019-02-01 13:31:08 -02:00
Georges Basile Stavracas Neto
12866fc741
Bump 3.31.0 release
2018-09-15 01:52:34 -03:00
Georges Basile Stavracas Neto
13a375f483
edit-dialog: fix code style
2018-09-14 20:16:54 -03:00
Georges Basile Stavracas Neto
e6d7651c50
edit-dialog: use 'self' instead of 'dialog'
2018-09-14 20:16:54 -03:00
Georges Basile Stavracas Neto
565558cbd3
project: Bump minimum glib version
...
We use APIs that are available at 2.58.0 now.
2018-09-14 20:16:54 -03:00
Georges Basile Stavracas Neto
a799678f68
event: rewrite timezone support
...
Now with something that hopefully works.
https://gitlab.gnome.org/GNOME/gnome-calendar/issues/43
https://gitlab.gnome.org/GNOME/gnome-calendar/issues/302
2018-09-14 20:16:54 -03:00
Georges Basile Stavracas Neto
84324b3a6f
event: remove unimplemented and unused prototype
2018-09-14 17:08:15 -03:00
Georges Basile Stavracas Neto
63ed4c48c8
3.30.0
2018-09-03 12:08:34 -03:00
Georges Basile Stavracas Neto
19740edc4a
3.29.92
2018-08-27 22:06:44 -03:00
Georges Basile Stavracas Neto
696520c988
3.29.90
2018-07-31 12:35:57 -03:00
Georges Basile Stavracas Neto
54a8c55d81
project: remove trash
2018-07-31 12:35:56 -03:00
Georges Basile Stavracas Neto
af095fce48
application: Free icaltimetype with g_free
...
g_date_time_unref is reserved to GDateTime pointers.
2018-07-31 12:35:56 -03:00
Georges Basile Stavracas Neto
f17c7b91b8
tests: Set TZ before running tests
...
Otherwise, we're depending on the host machine to run
the tests.
2018-07-31 12:35:56 -03:00
Georges Basile Stavracas Neto
77245a3c45
ci: Adjust Flatpak manifest path
2018-07-29 21:19:14 -03:00
Georges Basile Stavracas Neto
474ce8b9da
application: Integrate with Night Light
...
This is mostly a nice touch of integration for when
using the Night Light feature. It can be disabled by
switching the 'follow-night-light' dconf key to false,
but no user interface widgetry was added.
2018-07-29 00:54:02 -03:00
Georges Basile Stavracas Neto
7d99af9c36
window: Simplify window menu
...
We could have relied on the popover menu automatic
menu handling capabilities from the very beginning.
2018-07-29 00:54:02 -03:00
Georges Basile Stavracas Neto
89e80e688b
appmenu: Remove "New Event" entry
...
The "New Event" menu item is confusing and misleading, since
it is contextless item that has a context-aware action. The
result varies depending on which view you are, but this is in
no way communicated.
So just remove that, and all the GcalWindow API that is not
used anymore altogether.
2018-07-29 00:54:02 -03:00
Georges Basile Stavracas Neto
7e9ef5e055
date-chooser: Ensure selected day is contained in new month
...
When navigating through the dates of GcalDateChooser, if we
select a day (e.g. 31) that is not contained inside the next
or previous month, Calendar crashes.
Fix that by ensuring that the selected day is always contained
in the new month.
https://gitlab.gnome.org/GNOME/gnome-calendar/issues/284
2018-07-24 19:40:38 -03:00
Georges Basile Stavracas Neto
8fd74a7859
project: Reorganize files
...
Add a build-aux/ folder and move the Flatpak and
Meson auxiliary files there.
2018-07-24 19:22:38 -03:00
Georges Basile Stavracas Neto
82cf8d970a
project: Update .gitignore
...
We don't need to ignore all this Autotools trash
anymore.
2018-07-24 19:11:34 -03:00
Georges Basile Stavracas Neto
56f789cdd9
project: fix README link
...
Calendar has a dedicate page in the GNOME Wiki nowadays,
point to it.
2018-07-24 19:07:27 -03:00
Georges Basile Stavracas Neto
98ec549967
contrib: Bring ECalDataModel changes
...
This particular changeset is important because it fixes that
annoying issue of the event staying when edited out of the
range (out of the month in Month view, week in Week view,
etc).
Commit: https://gitlab.gnome.org/GNOME/evolution/commit/3cea6c53337382330c443f50f858424ead2005b6
2018-07-24 19:02:07 -03:00
Georges Basile Stavracas Neto
6da7cf380d
flatpak: Fix build
2018-06-01 16:57:29 -03:00
Georges Basile Stavracas Neto
34c7a16390
event: really fix multiday check
...
The time difference should've been greater than
zero since the beginning.
2018-05-05 23:06:14 -03:00
Georges Basile Stavracas Neto
d66a76af88
event-widget: React to time changes
...
When an event is timed, and we move past its end
date and time, the event does not react to that
and continues with the opacity of a regular event.
Fix that by reacting to minute changes.
2018-05-04 21:49:30 -03:00
Georges Basile Stavracas Neto
cfa8794313
manager: Move GcalClock to GcalApplication
...
GcalManager is basically an object that is shared
among classes that need to modify calendars, while
GcalClock is just a wall clock implementation.
Move it to GcalApplication, so that objects without
access to GcalManager can still access the clock.
2018-05-04 21:37:53 -03:00
Georges Basile Stavracas Neto
d9417d207c
project: add Epic.md
2018-05-02 18:52:51 -03:00
Georges Basile Stavracas Neto
df7216f2f5
month-popover: don't be so small
...
This commit limits the month popover at least
250px wide. To make it actually usable.
2018-05-01 20:29:57 -03:00
Georges Basile Stavracas Neto
1da2151bb9
month-popover: popdown when adding new event
2018-05-01 20:29:36 -03:00
Georges Basile Stavracas Neto
d272bbe3c8
week-view: use the correct inclusive end date
...
Event dates are, by definition, inclusive on their
start dates, but exclusives on their end dates. That
means that end dates don't actually contain the date
they represent.
Week grid code, however, was considering that end date
as inclusive, and the layout code was miscalculated
because of that.
Fix that by using an inclusive end date when calculating
the event span. Since Calendar does not support subsecond
precision, we do that by subtracting one second from the
exclusive end date.
Issue: #279
2018-05-01 18:50:27 -03:00
Georges Basile Stavracas Neto
93b22f2c43
month-view: reorganize code
2018-05-01 11:06:47 -03:00
Georges Basile Stavracas Neto
601076f6a4
event-widget: force squared color boxes
...
On HiDPI displays, the color boxes of timed events
appear distorted and not squared.
Fix that by setting a fixed size, and changing the
box alignment to always shrink to a squared state.
2018-05-01 10:24:48 -03:00
Georges Basile Stavracas Neto
fd5e6daf13
event-widget: use correct end date on tooltip
...
The end date of all-day events should have one day decreased,
since the final day is not technically what the user expects
it to be.
Issue: #257
2018-04-30 22:19:13 -03:00
Georges Basile Stavracas Neto
4fb135f7dc
theme: improve spacing in month view
2018-04-30 22:03:52 -03:00
Georges Basile Stavracas Neto
b6df8cde7b
manager: fix reference management
...
GcalManager:remove_event() is an asynchronous function
that, by the time the callback is executed, unreferences
the event that is being removed. This implies that, when
the function was called, a reference was taken -- we don't
want the event to be finalized during the operation, after
all.
The problem is that the reference was never taken.
Fix that by properly owning a reference to the event when
removing it, and dropping it when the removal is finished.
Issue: #268
2018-04-30 21:26:03 -03:00
Georges Basile Stavracas Neto
bc0744cc0d
tests: update multiday test
...
Until we have a better control over the system timezone,
let's not hit that issue.
2018-04-30 20:45:46 -03:00
Georges Basile Stavracas Neto
91fdf1783b
event: improve documentation for gcal_event_is_multiday
...
Add some examples, so I can remember them in a few days from
now.
2018-04-30 20:45:01 -03:00
Georges Basile Stavracas Neto
65b00e5a23
flatpak: build documentation too
2018-04-30 20:44:39 -03:00
Georges Basile Stavracas Neto
5ff7afab88
build: rename gtk_doc to documentation
2018-04-30 20:35:24 -03:00
Georges Basile Stavracas Neto
bedc98b192
event: fix multiday check
...
Checking if an event is multiday is currently broken
because g_date_time_difference() returns raw time spans,
and that value means "there is 24h of difference between
these dates", when what we're looking for is "how many
days are between these two dates".
To fix that, use the GDate API instead of GDateTime.
2018-04-30 19:31:01 -03:00
Georges Basile Stavracas Neto
61b7845b5a
Bump 3.29.0 release
2018-03-05 16:14:32 -03:00
Georges Basile Stavracas Neto
8cfb66aaed
GNOME Calendar 3.27.92
2018-03-05 16:07:12 -03:00
Georges Basile Stavracas Neto
41c8804450
tests: add more event tests
2018-02-27 14:57:34 -03:00
Georges Basile Stavracas Neto
a8350555da
event: trivial cleanups
2018-02-27 14:57:20 -03:00
Georges Basile Stavracas Neto
c51957f214
test: properly initialize variables
2018-02-26 23:39:15 -03:00
Georges Basile Stavracas Neto
bc3a41d96c
tests: Add event test
2018-02-26 23:18:54 -03:00
Georges Basile Stavracas Neto
3b860ece2e
utils: add autoptr support to ECalComponent
2018-02-26 23:18:10 -03:00
Georges Basile Stavracas Neto
e630c12f01
tests: reorganize meson file
2018-02-26 22:16:02 -03:00
Georges Basile Stavracas Neto
f19bf803ba
docs: update CONTRIBUTING.md
2018-02-23 16:11:36 -03:00
Georges Basile Stavracas Neto
1234dd8292
manager: small cleanup
...
Use g_clear_pointer()
2018-02-23 15:48:15 -03:00
Georges Basile Stavracas Neto
6ce9aa2f3f
ci: make test verbose
2018-02-23 15:48:15 -03:00
Georges Basile Stavracas Neto
e7ecf6a915
Revert "ci: Install project before running tests"
...
This reverts commit 3bf88e2103 .
2018-02-21 19:24:09 +00:00
Georges Basile Stavracas Neto
3bf88e2103
ci: Install project before running tests
2018-02-21 16:55:48 +00:00
Georges Basile Stavracas Neto
528c1b32f0
ci: Add missing geoclue2-devel dependency
2018-02-20 22:06:38 +00:00
Georges Basile Stavracas Neto
d64a03a57d
ci: Rework CI steps
2018-02-18 19:01:46 +00:00
Georges Basile Stavracas Neto
bd0b16c58f
flatpak: Trivial style update
2018-02-18 19:01:24 +00:00
Georges Basile Stavracas Neto
9984a3a1e7
Bump 3.27.90 release
2018-02-12 00:07:51 +00:00
Georges Basile Stavracas Neto
c60a881ca3
event: Use G_DEFINE_QUARK
2018-01-30 02:07:47 -02:00
Georges Basile Stavracas Neto
cc45db2354
appdata: Update bugtracker URL
2018-01-30 02:01:33 -02:00
Georges Basile Stavracas Neto
05f8446aa9
style: Remove tabs
2018-01-30 01:59:20 -02:00
Georges Basile Stavracas Neto
832e0e3599
style: Fix CSS for selected month cells
2018-01-30 01:58:39 -02:00
Georges Basile Stavracas Neto
503191377f
application: More code style cleanup and reorganization
2018-01-30 01:30:59 -02:00
Georges Basile Stavracas Neto
ab259fe57b
date-selector: Use parameter specs to declare properties
2018-01-30 01:10:43 -02:00
Georges Basile Stavracas Neto
f83826515e
edit-dialog: Use parameter specs to define properties
2018-01-30 01:10:25 -02:00
Georges Basile Stavracas Neto
f3b4f68bf0
event: Use parameter specs to declare properties
2018-01-30 01:10:08 -02:00
Georges Basile Stavracas Neto
2856131064
flatpak: Make master builds traceable and run with --debug
2018-01-30 00:39:05 -02:00
Georges Basile Stavracas Neto
37283f7d38
flatpak: Update to libical 3.0.1
2018-01-30 00:39:05 -02:00
Georges Basile Stavracas Neto
8892c31379
week-view: Remove embarrassing debug message
2018-01-28 12:50:04 -02:00
Georges Basile Stavracas Neto
09b986f526
quick-add-popover: Only remove existing rows
...
We can receive the source-changed signal on read-only sources,
and these sources have no row associated. Trying to remove the
non-existing row would yield a warning.
2018-01-28 12:45:57 -02:00
Georges Basile Stavracas Neto
f698981aa8
application: Improve order of statup
...
This commit makes sure that logging is set before
actually logging anything. It also sychronizes the
application startup with the manager startup.
2018-01-28 12:39:13 -02:00
Georges Basile Stavracas Neto
194407ecfb
views: Instrument and fix reference leaks
2018-01-28 12:08:04 -02:00
Georges Basile Stavracas Neto
58b3340736
window: Remove dead code
...
An unused variable and a binding to a non existing property
2018-01-28 11:17:50 -02:00
Georges Basile Stavracas Neto
7364d8bf29
manager: Handle refresh in the source directly
...
Instead of implementing code to refresh sources, let's just
use the ESourceRefresh extension and let Evolution handle that.
2018-01-28 10:43:48 -02:00
Georges Basile Stavracas Neto
037567209c
view: Remove first weekday helpers when unecessary
...
Not all views need to know the first weekday, and those
who need, it can be stored internally.
2018-01-28 10:20:19 -02:00
Georges Basile Stavracas Neto
30ba757c40
utils: Cleanup first weekday function
2018-01-28 09:59:08 -02:00
Georges Basile Stavracas Neto
3873b3b5bb
shell-search-provider: Remove dead fixme
2018-01-28 09:56:17 -02:00
Georges Basile Stavracas Neto
b936759e5c
project: Make time format a first-class citizen
...
The current code deals with 12/24h clock formats almost like
a workaround of the issue. This commit adds proper support to
different clock formats.
2018-01-28 02:30:55 -02:00
Georges Basile Stavracas Neto
79987734cd
enums: Generate enums with standard GLib syntax
2018-01-28 02:30:07 -02:00
Georges Basile Stavracas Neto
c7f6fd19c4
project: Move enums to gcal-enums.h
2018-01-28 00:44:36 -02:00
Georges Basile Stavracas Neto
b45f7b2392
doap: Update database link
2018-01-28 00:32:07 -02:00
Georges Basile Stavracas Neto
71e9c3e0c7
shell-search-provider: Instrument and modernize code
2018-01-28 00:27:56 -02:00
Georges Basile Stavracas Neto
0bfc6fe291
shell-search-provider: Rework property initialization
2018-01-28 00:13:15 -02:00
Georges Basile Stavracas Neto
74f353eb33
window: Make menu completely non-homogeneous
2018-01-27 23:54:04 -02:00
Georges Basile Stavracas Neto
9424d8f3cc
weather-settings: Only deserialize valid locations
2018-01-27 23:32:21 -02:00
Georges Basile Stavracas Neto
fe53414b07
weather-settings: Instrument more loading functions
2018-01-27 23:27:25 -02:00
Georges Basile Stavracas Neto
a7aa997ac3
weather-service: Remove more dead code
2018-01-27 23:27:03 -02:00
Georges Basile Stavracas Neto
c4ca9cac3c
project: Rename GcalSearchView to GcalSearchPopover
...
This was never a view, but a popover.
2018-01-27 23:02:36 -02:00
Georges Basile Stavracas Neto
1dcf0d1f24
project: Unify headers
2018-01-27 22:35:20 -02:00
Georges Basile Stavracas Neto
ac4f8feb15
weather-service: More small refactorings
...
Now it appears to be fully funcitonal again!
2018-01-27 22:26:30 -02:00
Georges Basile Stavracas Neto
718266f349
window: Bind manager to GcalWeatherSettings
...
A missing entry point from the previous refactorings
2018-01-27 22:25:57 -02:00
Georges Basile Stavracas Neto
50ec8fd30b
window: Notify properties by pspec
...
It avoids lookups on the class properties.
2018-01-27 22:25:32 -02:00
Georges Basile Stavracas Neto
6dc3d9ee39
weather-settings: Improve start/stop logic
2018-01-27 21:56:58 -02:00
Georges Basile Stavracas Neto
5dddff9939
weather-service: Fix debug location
...
This is tricking us into thinking the code is being
executed when in fact it's falling into the early return.
2018-01-27 21:56:14 -02:00
Georges Basile Stavracas Neto
5a651b01f8
window: Rework property initialization
...
There is a clear chain of properties that must be respected
in order to make Calendar initialize properly:
1. GcalManager, since it provider access to the settings
2. The initial date
3. GcalWeatherService, that depends on settings and the initial date
2018-01-27 21:46:15 -02:00
Georges Basile Stavracas Neto
5a0844c127
application: Remove conditional include
...
We always generate the config file nowadays.
2018-01-27 21:26:33 -02:00
Georges Basile Stavracas Neto
737181c655
application: Use g_auto* to simplify code
2018-01-27 21:11:08 -02:00
Georges Basile Stavracas Neto
499db7bfd4
weather: Rework weather management
...
This commit brings a few changes that I was too lazy to
split in different commits:
* Remove a few useless arguments in the GcalWeatherService API
* Move the weather management code from GcalWindow to GcalWeatherSettings
* A few style changes
2018-01-27 20:36:29 -02:00
Georges Basile Stavracas Neto
ab20672aeb
weather: Move to a subdirectory
2018-01-27 15:24:32 -02:00
Georges Basile Stavracas Neto
a8d6bfea0b
month-popover: Properly mark static function as static
2018-01-27 14:30:31 -02:00