Georges Basile Stavracas Neto
a88b628507
build: Make generated sources a dependency
...
So that they are 100% certain to be generated before
starting to build libgcal.
2019-05-04 22:15:17 -03:00
Georges Basile Stavracas Neto
a2609d6853
project: Reorganize much
2019-05-04 19:48:40 -03:00
Piotr Drąg
c3e1a377b7
Update POTFILES.in
2019-05-04 22:21:58 +02:00
Georges Basile Stavracas Neto
70cb7c14a9
build: Make libgcal a static library
...
This avoids us building everything twice.
2019-05-04 12:28:45 -03:00
Georges Basile Stavracas Neto
682e614e4b
Remove developer docs
...
They're essentially useless.
2019-05-04 12:28:24 -03:00
Georges Basile Stavracas Neto
f55b4531ef
project: Move ui-related classes to gui/
2019-05-04 12:14:05 -03:00
Georges Basile Stavracas Neto
d5fbce1385
window: Remove search mode
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
bb8d5b92ce
manager: Handle default calendars via GcalCalendar
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
7811b90730
tests: Fix test suite
...
Introduce a new GcalStubCalendar class that essentially
removes the ECalClient initialization from GcalCalendar,
and use it as part of a new private library consumed by
the tests.
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
28c5a41639
build: Properly include deps and directories in libgcal_dep
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
ada9bcc473
calendar: Fix signal handler cleanup on finalize()
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
5e3eb40c53
utils: Add gcal_clear_signal_handler
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
245df513d7
event: Simplify color handling
...
We can use GcalCalendar::color property directly now.
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
02cbfdadf2
calendar: Make it a derivable class
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
df182d1b88
manager: Remove "loading" property
...
The stack is robust enough to handle dynamically
loading the calendars.
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
e7c6120133
manager: Remove gcal_manager_is_client_writable()
...
It is now handled by GcalCalendar, and nobody else uses
it.
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
e617d29309
source-dialog: Use more GcalCalendar API
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
e800bb2476
manager: Remove gcal_manager_enable/disable_source()
...
This is now managed by GcalCalendar itself.
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
560419ed8a
editorconfig: Update tab width
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
e3e19b4cea
application: Parse CSS more aggressively
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
2ef1cbc463
manager: Toggle data model sources when changed
...
Instead of other classes needing to manually set and
unset whether a source is registered in the data model,
we can now simply call GcalCalendar.set_visible() and
have the model be updated for us.
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
fd3d2ea3f6
window: Move calendar popover to GcalCalendarPopover
...
This helps reducing the LOC number of GcalWindow, and
allows us to also implement the popover in a better way.
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
64fa11f4c0
calendar: Fix double unref
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
1a5ff545a2
project: Move a few classes to core/
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
7297d369fb
manager: Remove gcal_manager_get_client()
...
Not used anymore.
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
ea60c95a44
manager: Rework signals to use GcalCalendar
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
1118c74881
event: Receive and operate on GcalCalendar
...
Instead of receiving an ESource, receive a GcalCalendar
and operate on it. Many places needed to be adjusted for
that.
Tests need to be rethinked.
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
810ef7956b
manager: Replace gcal_manager_get_sources()
...
With a GcalCalendar-based function.
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
0acf0b60ba
utils: Receive const GdkRGBA*
...
We do not modify their values, they're const in
practice already.
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
5aa0dd910a
manager: Use GcalCalendar internally
...
Make GcalManager operate on GcalCalendar instead of ESources
internally. This is far from being a total switch.
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
b9848e5443
Introduce GcalCalendar
...
GcalCalendar is an abstraction on top of ESource
and ECalClient. Its initialization is asynchronous
and failable. This gives us more flexibility when
initializing and loading the calendars from EDS.
2019-05-04 12:05:39 -03:00
Daniel Mustieles
b99fd53f1c
Updated Spanish translation
2019-05-03 14:30:27 +02:00
Kukuh Syafaat
1aee45eb83
Update Indonesian translation
2019-05-03 10:58:16 +00:00
Fabio Tomat
9df7b09d43
Update Friulian translation
2019-05-02 18:28:52 +00:00
Piotr Drąg
696b2f21ff
Update POTFILES.in
2019-05-01 12:05:27 +02:00
Georges Basile Stavracas Neto
b8c80e08e8
source-dialog: Don't use g_autolist
...
Chaos ensues with it.
2019-04-29 17:13:30 -03:00
Georges Basile Stavracas Neto
d6c5bf032d
search: Open event from search results
...
And this finally hooks up the last missing bit from the
search engine: opening events from search results.
All the necessary plumbing is there for extending search
with other commands or results, such as go to date, etc.
2019-04-29 17:08:54 -03:00
Georges Basile Stavracas Neto
1aecd1043d
application: Add 'open-event' action
...
This will be used by the search engine to open
events.
2019-04-29 17:08:53 -03:00
Georges Basile Stavracas Neto
74af4af540
search-button: Remove useless debug message
2019-04-29 17:08:53 -03:00
Georges Basile Stavracas Neto
23c012aee1
event: Add date formatting function
...
Will be useful for the search results.
2019-04-29 17:08:53 -03:00
Georges Basile Stavracas Neto
3baa71f07d
application: Reorganize file a bit
2019-04-29 17:08:53 -03:00
Georges Basile Stavracas Neto
6994723d79
search: Introduce a search engine
...
This is architectured in such a way that it will
allow us to introduce other searcheable terms in
the future.
All the functionality that in the past was in
GcalManager is now spread across GcalSearchModel,
GcalSearchHitEvent and GcalSearchEngine.
2019-04-29 17:08:53 -03:00
Georges Basile Stavracas Neto
6ecb7465eb
event: Receive the time_t directly
...
There is absolutely no reason to receive a pointer
to an integer when we can receive the actual integer.
2019-04-29 17:08:53 -03:00
Georges Basile Stavracas Neto
b967f047bf
window: Remove search popover
...
Won't be missed.
2019-04-29 17:08:52 -03:00
Georges Basile Stavracas Neto
133e82f34e
theme: Allow use circle icon class on random images
...
Will be needed to tweak the suggestion row's GtkImage.
2019-04-29 17:08:52 -03:00
Georges Basile Stavracas Neto
0c3a16b688
application: Turn it into a DzlApplication
...
This is required for Dazzle resources to be registered
correctly.
2019-04-29 17:08:52 -03:00
Georges Basile Stavracas Neto
dfbd7fca26
search-button: Add a context property
...
We will use it later when GcalContext has a search
engine.
2019-04-29 17:08:52 -03:00
Georges Basile Stavracas Neto
907b71635b
manager: Move threading functions to utils
2019-04-29 17:08:52 -03:00
Georges Basile Stavracas Neto
36f4809c1c
window: Turn search button into a DzlSuggestionButton
...
Gives us a nice, smooth and sweet animation.
2019-04-29 17:08:51 -03:00
Georges Basile Stavracas Neto
f5741eaaea
build: Depend on libdazzle 3.33.1
2019-04-29 17:08:51 -03:00