Commit Graph
43 Commits
Author SHA1 Message Date
Georges Basile Stavracas Neto 75143200cb manager: change signal name to ::'source-activated' 2014-12-16 13:01:29 -02:00
Georges Basile Stavracas Neto 96e0055fcb manager: added missing signal signature 2014-12-16 11:16:10 -02:00
Georges Basile Stavracas Neto 0cefc9f5ea manager: implemented GcalManager::source-added and GcalManager::source-removed signals 2014-12-16 11:12:48 -02:00
Georges Basile Stavracas Neto e53e514a7e manager: stub functions for enabling/disabling sources 2014-12-15 15:34:58 -02:00
Erick Pérez Castellanos 9188d37e53 manager: removed EVENT_CREATED signal
Since we are opening edit-dialog on event creation directly, we don't
need this notification anymore.
2014-12-05 08:17:30 -05:00
Erick Pérez Castellanos b36a390292 manager: updated GcalManager::create_event
Move the API to use ECalComponent instead of uids.
2014-12-04 17:10:56 -05:00
Erick Pérez Castellanos 83eb99efba manager: update retrieve sources API
The move to newer API is to drop GtkListStore dependency on the manager.
2014-12-04 17:10:55 -05:00
Erick Pérez Castellanos 329118079d manager: update GcalManager::remove_event API
Move GcalManager::remove_event API to new style using ESource and
ECalComponent instead of uuid
Update GcalWindow uses of this API
2014-12-04 17:10:55 -05:00
Erick Pérez Castellanos 7fa696c137 manager: added ECalDataModel for search alone 2014-12-04 17:10:54 -05:00
Georges Basile Stavracas Neto 2e8b677d6a app: implemented sync action
Useful when the local calendar differs from the remote calendar (i.e. you added an event at Google Calendar).
2014-12-04 17:10:52 -05:00
Erick Pérez Castellanos f4eaf2217d search: added initial search implementation 2014-12-04 17:10:49 -05:00
Georges Basile Stavracas Neto 56e69f7c88 edit-dialog: implements GCAL_RESPONSE_SAVE_EVENT
This patch mainly implements GCAL_RESPONSE_SAVE_EVENT. It updates the event correctly, no matter in which source it is.

Signed-off-by: Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
2014-12-04 17:10:49 -05:00
Erick Pérez Castellanos 792c6a9cec manager: remove internal query
The internal query is not needed since that's handled now by the
ECalDataModel instance
2014-12-04 17:10:45 -05:00
Erick Pérez Castellanos bc2a348d0b manager: use ECalDataModel to handle events
Initial work. Code is marked all over the place with comments
GcalManager:set_subscriber will set a view and a new range in the
internal ECalDataModel instance.
More cleaning is needed, along the way unneeded methods will be removed
2014-12-04 17:10:41 -05:00
Erick Pérez Castellanos 6d3e30b160 edit-dialog: added stub code
The code added make the dialog show up. Probably anything else works,
but it's start to keep the project building while GcalManager migration
is finished and new GcalEditDialog is built.
2014-12-04 17:10:40 -05:00
Erick Pérez Castellanos 65653d16b4 manager: remove get_event* methods
Now those values are accesible from inside GcalEventWidget and
GcalEditDialog using its internals copies of ECalComponent of the event
they represent
2014-12-04 17:10:39 -05:00
Erick Pérez Castellanos ef6d464071 manager: migrate :objects-added signal
GcalManager:objects-added signal pass a list of struct containing
ECalComponents for the event widgets. This ECalComponent instance will
be owned and released by the event widget. Look at: GcalEventWidget::finalize
2014-12-04 17:10:38 -05:00
Erick Pérez Castellanos 9752b719f0 manager: initial work on new design
GcalManager new design includes:
1. remove deprecated methods from eds
2. remove event cache
3. remove the need for keeping date range logic
4. reorder code according to HACKING code style document

This changes will cause some other changes among the application. While
this commit build just fine, work is missing yet. Next I will fix
GcalEventWigdet and the rest of the affected components.
2014-12-04 17:10:38 -05:00
Erick Pérez Castellanos a53b3e8225 gcal-manager: add API to get default calendar 2014-12-04 17:10:30 -05:00
Erick Pérez Castellanos 1ada96616b build: moved gobject construction to new sugar
Misc formatting fixes
Misc minor refactoring
2014-12-04 17:10:29 -05:00
Erick Pérez Castellanos 6ada73c619 Added support for moving events between sources.
Added support in GcalManager for moving events.
The implementation is pretty simplistic. It doesn't handle
any errors, but since I'm lazy I'm planning to let it that
way till the day bugs start appearing.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos 9cc6eb8e77 Added method for setting event end-date.
GcalManager::set_event_end_date method added.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos 21088e7fb9 Added API to modify some events properties.
New APIS:
    GcalManager::set_event_summary
    GcalManager::set_event_location
    GcalManager::set_event_description
    GcalManager::set_event_start_date

Note: GcalManager::set_event_start_date isn't finished since still
      needs to handle all-day status of the event.
2012-10-10 15:55:18 -04:00
Erick Pérez Castellanos c3acffa9d7 Changed mode declaration for emacs. 2012-09-20 09:00:46 -04:00
Cosimo Cecchi 8fabdc9eb6 build: fix icaltime.h include path 2012-08-24 19:00:38 +02:00
Erick Pérez Castellanos 49afd07fc7 Added GcalManager::event-created signal.
The signal is emitted when an event is created through GcalManager.
2012-08-23 14:58:08 -04:00
Erick Pérez Castellanos 4801dd3513 Added more details to event-details view.
Added start and end date loading.
Added start and end time loading.
Added calendar loading.
2012-08-23 11:26:00 -04:00
Erick Pérez Castellanos bba41ad784 Added read-only query API to GcalManager. 2012-08-23 09:43:58 -04:00
Erick Pérez Castellanos 22163f1d86 Added initial timezone support. 2012-08-23 09:43:58 -04:00
Erick Pérez Castellanos fc3c165f04 Added has_reminders API to GcalManager. 2012-08-23 09:43:57 -04:00
Erick Pérez Castellanos a9da2aa552 Made simple-add event work.
Fixed GcalEventOverlay handling of dates.
Added initial code and methods to handle adding events to GcalManager.
Fixed in GcalMonthView handling of dates passed to event-creation.
Fixed gcal-utils sources for gcc warning.
Fixed calling order in GcalWindow.
2012-08-23 09:43:57 -04:00
Erick Pérez Castellanos 6a46b4b2f4 Corrected icaltime header inclusion. 2012-08-17 10:34:35 -04:00
Giovanni Campagna 970529cb2f [PATCH] Port to newer EvolutionDataServer
Since 3.5.3, evolution-data-server has changed API regarding
storage and retrieval of sources, introducing the ESourceRegistry
and removing GConf.
Adapt to that.
2012-07-12 10:04:56 -04:00
Erick Pérez Castellanos ade7c97aed Added method for faking ::events-added signal.
Added a method for sending a fake signal to newly created that don't cause an
update of the timespan covered by the actual query of GcalManager.
Added get_event_all_day method for find out if and event is all-day.
2012-07-11 10:50:29 -04:00
Erick Pérez Castellanos 07ac070f08 First approach of Event view ended.
For now the view, works only for viewing, and not for editing.
The delete button works, though.
It's needed yet a notification for an event deletion.
2012-07-03 15:20:01 -04:00
Erick Pérez Castellanos 0709722107 Added reminders widget.
This one implies a lot of assumptions/simplification,
mostly because the API to manage Alarm in e-d-s is huge,
and we want simplicity.
2012-07-03 15:20:00 -04:00
Erick Pérez Castellanos 8e35adf4a0 Added method to get events properties. 2012-07-03 15:20:00 -04:00
Erick Pérez Castellanos 61f2b0f778 Added methods to get color, summary of an event. 2012-05-17 14:54:56 -04:00
Erick Pérez Castellanos a873e0b73f Added a bunch of changes.
Fixed some minors align issues
Added method to GcalManager to get dtstart from events
Added method to GcalManager to sync COLUMN_ACTIVE with GcalManagerUnit::enabled
attribute
Added method for receiving button press events of view in GcalWindow
2012-05-15 23:32:29 -04:00
Erick Pérez Castellanos deccf55055 Changes in GcalManager
Added loading active sources to GcalManager
Added objects-added signal hook, processing, and emission of events-added signal
2012-05-10 17:11:56 -04:00
Erick Pérez Castellanos 38c901e311 Added signals to GcalManager
Added internal structure to keep events, cal_clients, etc.
2012-05-09 19:45:22 -04:00
Erick Pérez Castellanos 809f54bc0f Complete migration to icaltimetype. 2012-05-04 11:48:30 -04:00
Erick Pérez Castellanos 7890bd684b Added GcalManager, updated GcalApplication for using it 2012-05-02 22:31:56 -04:00