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
Georges Basile Stavracas Neto
702c089c17
weather-service: Simplify code
2018-01-27 14:30:02 -02:00
Georges Basile Stavracas Neto
5a6fabddc8
window: Rework property creation
2018-01-27 14:28:55 -02:00
Georges Basile Stavracas Neto
333fa79437
resources: Don't strip XML blanks
...
It only makes it harder to debug, and we gain effectively
nothing from that.
2018-01-27 14:27:16 -02:00
Georges Basile Stavracas Neto
845eed5cea
ci: Use a Rawhide image
...
We depend on an unstable version of GWeather.
2018-01-27 12:52:14 -02:00
Georges Basile Stavracas Neto
50a5bbefaf
ci: Add libgweather dependency
2018-01-27 12:31:08 -02:00
Georges Basile Stavracas Neto
4f4b10baab
ci: update to Fedora 27
...
We should eventually add Ubuntu too.
2018-01-27 12:14:24 -02:00
Georges Basile Stavracas Neto
fe40a97926
project: Add missing dependencies to CI
2018-01-27 11:57:47 -02:00
Georges Basile Stavracas Neto
519de35520
project: Change build stage name to 'build-calendar'
2018-01-27 11:49:22 -02:00
Georges Basile Stavracas Neto
e4062c7952
project: Add CI integration
2018-01-27 13:47:46 +00:00
Georges Basile Stavracas Neto
a853e85293
project: delete configure script
...
Let's use raw Meson from now on.
2018-01-27 11:41:28 -02:00
Georges Basile Stavracas Neto
6c203d55c4
build: Remove even more dead code
2018-01-27 00:52:45 -02:00
Georges Basile Stavracas Neto
dd1e82e761
Merge branch 'meson-improvements' into 'master'
...
Meson improvements
See merge request GNOME/gnome-calendar!25
2018-01-27 01:58:52 +00:00
Cédric Valmary
20ac461a0a
Update Occitan translation
2018-01-24 13:39:04 +00:00
Dušan Kazik
1a05fcec6e
Update Slovak translation
2018-01-22 20:03:14 +00:00
Gil Forcada
a98b3ffe90
Update Catalan translation
2018-01-22 12:25:43 +00:00
Iñigo Martínez
1dcda5087b
project: Remove unused defines
...
meson generates the config.h file with multiple defines to be used
as guards, in the same way as autotools does. However, some of them
are not used.
This patch removes those unused defines.
https://bugzilla.gnome.org/show_bug.cgi?id=790234
2018-01-22 08:09:14 +01:00
Iñigo Martínez
66b113ac83
project: Rename build options
...
Following the new meson porting guidelines, this patch renames the
build options. The list of changes is as follows:
- Remove the enable prefix from boolean options.
- The character separator from multi-word options has been changed
to underscore.
https://bugzilla.gnome.org/show_bug.cgi?id=790234
2018-01-22 08:06:16 +01:00
Iñigo Martínez
1a246116ea
project: Remove default warning level
...
gnome-calendar uses 1 as the project's default warning level.
However, meson already uses this level as the default warning level.
This patch removes the warning level from project's default options.
https://bugzilla.gnome.org/show_bug.cgi?id=790234
2018-01-22 08:05:55 +01:00
Tim Sabsch
d7cf7a8ab5
Update German translation
2018-01-18 17:40:01 +00:00
Georges Basile Stavracas Neto
d68b45038c
project: update TODO
2018-01-16 08:32:43 -02:00
Fabio Tomat
189974d3dc
Update Friulian translation
2018-01-15 11:01:17 +00:00
Balázs Meskó
480f13488d
Update Hungarian translation
2018-01-12 22:47:08 +00:00
Jiri Grönroos
5581293dcb
Update Finnish translation
2018-01-12 08:00:02 +00:00
Georges Basile Stavracas Neto
f0a2a43438
Merge branch 'master' into 'master'
...
week-view: display "12 PM" correctly
See merge request GNOME/gnome-calendar!22
2018-01-10 16:08:08 +00:00
Georges Basile Stavracas Neto
e72f7356c1
Merge branch 'master' into 'master'
...
Issue #228 : Add --quit command line argument
See merge request GNOME/gnome-calendar!17
2018-01-10 15:33:31 +00:00
Adam Dingle
67efbd0f6c
week-view: display "12 PM" correctly
...
https://gitlab.gnome.org/GNOME/gnome-calendar/issues/235
2018-01-10 10:10:46 +01:00
Jiri Grönroos
9d87d4dfde
Update Finnish translation
2018-01-09 18:59:57 +00:00
Georges Basile Stavracas Neto
e63f55f8b9
Merge branch 'wip/piotrdrag/placeholder-translations' into 'master'
...
ui: Unmark placeholder strings from translation
See merge request GNOME/gnome-calendar!18
2018-01-03 16:51:13 +00:00
Christian Kirbach
3b0e225cc8
Update German translation
2017-12-25 14:52:47 +00:00
Marek Černocký
da9d8a94a4
Update Czech translation
2017-12-20 22:32:34 +00:00
Piotr Drąg
d491e83d27
ui: Unmark placeholder strings from translation
2017-12-20 20:10:13 +01:00
Akbar Hashmi
4048296314
application: Add --quit commandline argument
...
Overview: Clicking the close button in gnome-calendar doesn't always close all the instances of the application. The window is closed, but an instance of gnome-calendar is still running as a gapplication-service, which was probably run by gnome-shell search provider.
The two changes made were as follows:
1) added the argument quit to GOptionEntry
2) added the definition of quit to gcal_application_command_line
2017-12-19 07:41:40 +05:30
Emin Tufan Çetin
6f9bdf3879
Update Turkish translation
2017-12-18 17:02:57 +00:00
Georges Basile Stavracas Neto
b8f51e1d3d
window: a load more weather changes
2017-12-17 11:35:19 -02:00
Georges Basile Stavracas Neto
61b9ba85a2
month-view: cleanup includes
2017-12-16 23:52:06 -02:00
Georges Basile Stavracas Neto
9f1885d807
weather-service: use GPtrArray for public API
...
Using GLists and GSLists is a bad practice. These data
structures are too much inneficient and GPtrArray has
the advantage of having a free function pointer, so we
can hide the underlying free function from the consumers
of this API.
This also gets rid of another allocation cycle in Month
view.
2017-12-16 23:12:06 -02:00
Georges Basile Stavracas Neto
dcf4ff0bda
views: more weather service cleanups
...
Did I ever say how happy I'll be when people start
actually following my code style when densing code
to my projects?
2017-12-16 22:36:39 -02:00
Georges Basile Stavracas Neto
d283316382
views: simplify reference leak workaround
...
Oh so many unecessary casts =(
2017-12-16 21:49:22 -02:00
Georges Basile Stavracas Neto
5c1bf907fa
views: move :event-activated signal to GcalView
...
We don't really need to copy this signal to every GcalView
implementation. It's just wasting code.
2017-12-16 21:44:09 -02:00
Georges Basile Stavracas Neto
c306bbc1ef
month-view: properly cleanup weather data from cells
2017-12-16 21:34:31 -02:00