Commit Graph
100 Commits
Author SHA1 Message Date
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 21ab796fb3 Added source change notification.
Added support in GcalEditDialog to notify when the source
of an event has changed.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos b4f7cee991 Handled change of end-date of an event.
Added code to GcalWindow to update the event end-date through
the manager.
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 f0e5880476 Reworked date change observers.
Hooked signals from date and time entries.
Added comparison and adjustment if the interval.
Removed SimpleDate and SimpleTime structs.
Added _get_end_date for end-date change notification.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos 8af404eea1 Fixed error when replacing a number.
Added FIXME to remember me implement or review the need
of delete_text implementation.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos 6c9ff2d12d Removed gcc-4.7 warnings.
Compilation with gcc 4.7 gave me some warnings about initialization.
2012-12-01 15:28:52 -05:00
Erick Pérez Castellanos ba68b831cc Added modified signals to both widgets.
GcalDateEntry and GcalTimeEntry now have a ::modified signal.
2012-12-01 15:28:52 -05:00
Erick Pérez Castellanos c6887e9a37 Moved from guint to gint to match libical internal data.
The internal attributes of both widgets were guint types, but
since libical library has those values (day,month,hour) as int
inside icaltimetype struct, I decided t move to gint in order to
avoid compiler warnings, and ugly hidden things.
2012-12-01 15:28:51 -05:00
Erick Pérez Castellanos 69871884f9 Added start-date change handling.
Missing: moving end_date accordingly.
2012-12-01 15:28:51 -05:00
Erick Pérez Castellanos 8594de0f28 Added GcalDateEntry widget.
Initial approach. I really don't like the implementation, is kinda week.
And it needs a lot of testing, localization kind of testing.
2012-12-01 15:28:51 -05:00
Erick Pérez Castellanos 8e02fab3f8 Cleaned debug info. 2012-10-10 15:55:18 -04:00
Erick Pérez Castellanos eb8e31207c Minor misc fixes.
Theme fixes to show right scrollbar elsewhere.
gcal-time-entry.h cleaning.
UI fixes around the searchbar in GcalWindow.
2012-10-10 15:55:18 -04:00
Erick Pérez Castellanos 24cfaab837 Added support for storing event data.
Initial support for storing event-data so the EditDialog can
tell which properties has changed.
Changed time entries for GcalTimeEntry objects.
Set ::activates-default property of summary_entry to handle change title
with one keystroke.
2012-10-10 15:55:18 -04:00
Erick Pérez Castellanos b6a34f7666 Added GcalTimeEntry widget.
GcalTimeEntry widget handle 24-hour format time.
2012-10-10 15:55:18 -04:00
Erick Pérez Castellanos 4da9b460f1 Hooked support for editing into GcalWindow
Initial stage of connection editing events functionality of the dialog
to calls in GcalManager API and updating the event widget and its position
inside the view.
2012-10-10 15:55:18 -04:00
Erick Pérez Castellanos 20eccc8a31 Added support to obtain properties of the event
Added very initial support to handle obtention of the modified properties
of the edited event. There's still some kind of Model implementation to keep
track of the changes made by the user.
2012-10-10 15:55:18 -04: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 6e8ffcf5cf Added reposition_child to GcalView interface.
Provided implementation for GcalMonthView.
2012-10-10 15:55:18 -04:00
Erick Pérez Castellanos 92d907d12e Updated docs and configure.ac 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
Erick Pérez Castellanos 2020042232 Updated Roadmap. 2012-09-20 08:54:40 -04:00
Erick Pérez Castellanos c3f8a4b973 Updated EditaDialog to match mockups.
Note: There's still missing one pixel border, I can't find the reason today.
And there's still need to theme better the background of the readonly header.
But the major changes are done.
2012-09-13 13:29:24 -04:00
Erick Pérez Castellanos 4ef16c7f1a Improving Searchbar looking. Fixes to GcalWeekView 2012-09-10 10:48:48 -04:00
Erick Pérez Castellanos 65c8f83e81 Renamed GcalArrowContainer to GcalArrowBin. 2012-09-10 10:29:41 -04:00
Erick Pérez Castellanos 8ac7e58d88 Fixed non-construct properties setting.
Added push/pop composite pairs of functions.
Moved non-construct properties setting to after the construct process have
ended.
2012-08-30 00:59:17 -04:00
Erick Pérez Castellanos 54d42cc23a Added transient magic to GcalEditDialog. 2012-08-29 22:22:04 -04:00
Erick Pérez Castellanos cd106e6a5a Changed reminders icon in GcalEventWidget. 2012-08-27 20:13:07 -04:00
Erick Pérez Castellanos 2c000324f6 Removed disabled calendars from menu. 2012-08-27 15:36:19 -04:00
Erick Pérez Castellanos 4c3e232623 Removed read-only sources from EditDialog.
Removed disabled and read-only calendars from showing in GcalEditDialog.
2012-08-26 11:33:00 -04:00
Erick Pérez Castellanos 6be38d7a51 Added code to handle show/hide if searchbar.
Eventually it will be better to pack the entire searchbar into a full widget so
it can emit signals and the code become easier to read and maintain.
2012-08-25 02:01:16 -04:00
Erick Pérez Castellanos 600aad6f3b Reworked GcalToolbar to match the mockups.
Added search-button and GcalToolbar::search-events signal.
Moved and changed add-button. Restyled with "suggested-action" class.
2012-08-25 01:59:06 -04:00
Erick Pérez Castellanos 070d10bf47 Reworked internal structure of GcalWindow.
Removed unneeded widgets. Removed unneeded layouts managers.
Added constraints to handle actors sizing.
Renamed main_toolbar attribute to toolbar_actor
Added searchbar_actor. Initial approach.
2012-08-25 00:35:12 -04:00
Erick Pérez Castellanos 7071219747 Updated docs. Changed GcalWindow internals skel. 2012-08-25 00:22:14 -04:00
Erick Pérez Castellanos 9d151a625a Fixed segfault on gcal_window_show_hide_actor_cb. 2012-08-24 23:21:12 -04:00
Erick Pérez Castellanos 0e427a5f8f Added sync to GcalEventOverlay and GcalEditDialog
Added code to wait untill GcalEventOverlay is hidden to show GcalEditDialog.
2012-08-23 15:25:03 -04:00
Erick Pérez Castellanos 2f6d66e6e6 Updated TODO.
Implemented.
2012-08-23 15:06:42 -04:00
Erick Pérez Castellanos a570538cb6 Added code to handle new signal from manager.
Added code to GcalWindow to handle event-created signal from GcalManager.
Added marshaler.
2012-08-23 15:01:06 -04:00
Erick Pérez Castellanos b6bdce9aec Minor fixes.
Changed values representing signals in GcalEventOverlay
Fixing code style in GcalEventWidget
2012-08-23 15:00:09 -04:00
Erick Pérez Castellanos 4c3bf3c318 Added method to obtain event-uuid from the dialog. 2012-08-23 14:59:34 -04: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 063d569e3d Updated TODO 2012-08-23 11:27:15 -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 2aa0054ba7 Removed gcc warning. 2012-08-23 11:17:21 -04:00
Erick Pérez Castellanos 749b1b18f0 UI fixes, and calling read-only API of GcalManager 2012-08-23 09:43:58 -04:00
Erick Pérez Castellanos fabf3c282a Changed icon used for reminders.
Removed empty lines.
2012-08-23 09:43:58 -04:00
Erick Pérez Castellanos 5eadc377a4 Used timezone support at initial date retrieving. 2012-08-23 09:43:58 -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 8c0f6fba73 UI fixes to GcalEditDialog. 2012-08-23 09:43:58 -04:00
Erick Pérez Castellanos 7f1c54a761 Fixed POTFILES.in to match code changes. 2012-08-23 09:43:58 -04:00
Erick Pérez Castellanos 7581e8bad0 Reworked details view of an event.
Removed editable-widgets.
Added GcalEditDialog
Reworked delete-event trigger
Moved method from GcalEventOverlay to utils to use it on GcalEditDialog
2012-08-23 09:43:58 -04:00
Erick Pérez Castellanos c4ab6fe503 Updated event style. 2012-08-23 09:43:58 -04:00
Erick Pérez Castellanos 2ba4a361f0 Fixes to GtkNotification by Cosimo. 2012-08-23 09:43:57 -04:00
Erick Pérez Castellanos 21640c04c9 Added new doc, Views. 2012-08-23 09:43:57 -04:00
Erick Pérez Castellanos 983b63fbac Added has_reminders get/set handling.
Minor fixes.
2012-08-23 09:43:57 -04:00
Erick Pérez Castellanos b884816bda Fixed GcalToolbar behavior. 2012-08-23 09:43:57 -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 fa9e9eacdb Updated to match lastest Gtk+ API 2012-08-23 09:43:57 -04:00
Erick Pérez Castellanos e1a78d1975 Changed drawing mechanic of GcalEventWidget.
Added symbolic icon for reminders event
Renamed signal to GcalEventWidget::activate
Renamed properties enums
Fixed size requisition
2012-08-23 09:43:57 -04:00
Erick Pérez Castellanos 009e65cdd3 Fixed bug when destroying child widgets. 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 45e5eb5222 Added license-type to About dialog. 2012-08-23 09:43:57 -04:00
Erick Pérez Castellanos 83659ce098 Required updated version of libical.
Required an updated version of libical in order to get the right headers.
2012-08-23 09:43:56 -04:00
Erick Pérez Castellanos 9c2d2dc442 Updated docs. Updated TODO. 2012-08-20 23:49:30 -04:00
Erick Pérez Castellanos 4fa4912459 Added navigation arrows to weel-view. 2012-08-20 23:49:13 -04:00
Erick Pérez Castellanos 5b23fea95f Added create-event overlay.
Added new-event mark to month-view.
Added navigation arrows to month-view.
Initially moved edit-event to a dialog.
2012-08-20 23:45:58 -04:00
Erick Pérez Castellanos 4cce38de72 Made this changes too long ago and can't remember what this was about. 2012-08-20 23:43:56 -04:00
Erick Pérez Castellanos c7aded0cdd Added artists to the About dialog. 2012-08-20 23:42:29 -04:00
Erick Pérez Castellanos 0715f92155 Fixed icon and typo.
Using now x-office-calendar-symbolic icon now.
2012-08-19 03:06:05 -04:00
Erick Pérez Castellanos 5742f8e459 Improved autotools files.
Moved all the style data to a theme directory ala gnome-shell.
Added close-window.svg image.
Added gcal-marshalers.list and rules to Makefile.am to generate the correct
source and header.

Note: The absence of this changes about the marshallers generation was
making imposible to compile the changes about GcalView API. This will complete
that commit.
2012-08-19 03:03:38 -04:00
Erick Pérez Castellanos b9a4bcb4b2 Fixed clutter deprecations.
Removed clutter_actor_animate calls.
Removed clutter_box_layout_set_vertical call.
Removed clutter_bin_layout_add calls.
2012-08-19 02:54:20 -04:00
Erick Pérez Castellanos 0820d49e4e Improving GcalView API.
Added GcalView::update signal for when the view will change it's date range
Added GcalView::create-event signal for when the view wants to create a new
event

Added GcalView::clear_selection method for clearing new-event mark.

Note: The views can choose to mark before send a ::create-event signal the range
over which they will create the new event. This will be called new-event mark.
2012-08-19 02:47:36 -04:00
Erick Pérez Castellanos 34d458d8a9 Fixed implementation of GcalFloatingContainer. 2012-08-17 10:35:40 -04:00
Erick Pérez Castellanos 6a46b4b2f4 Corrected icaltime header inclusion. 2012-08-17 10:34:35 -04:00
Erick Pérez Castellanos 7e1d477473 Added AUTHORS, ChangeLog hooks for autogeneration. 2012-08-17 10:29:51 -04:00
Erick Pérez Castellanos 3cdd9cfabf Fixed GcalWeekView scrollbar not showing. 2012-07-19 13:19:05 -04:00
Erick Pérez Castellanos f33feaf6b1 A bunch of UI fixes.
Made lighter the background of the views.
Added padding and fixed class to GcalToolbar.
2012-07-19 01:26:45 -04:00
Erick Pérez Castellanos 20dd623ba4 Fixes to match the changes in GcalWeekView.
Lightened some lines in GcalMonthView.
Changed cairo_set_source_rgba to cairo_set_source_rgb when applicable.
2012-07-19 01:02:34 -04:00
Erick Pérez Castellanos d03c95e765 Implementing GcalWeekView to match the mockups.
What to say about this commit.
There's just one FIXME in gcal-week-view.c, about the size/width of the
GtkScrollbar used. That should not be hardcoded.
Also the background color applied to the scrollbar through css-theming might be
better placed inside the code, since the effectis part of the view.
About this view is still missing a way of signaling the current day. We are on
it, yet.
2012-07-19 00:58:35 -04:00
Erick Pérez Castellanos 194fd67b7d Modified GcalMonthView to fit the mockups.
Added Drawing docs to the doc folder.
Fixed styles to reach the borders.
Made some refactoring of the class.
2012-07-15 12:26:22 -04:00
Erick Pérez Castellanos 08f5e46513 Changed toolbar button to Toggles.
Added behavior in GcalToolbar to manage the toogling mode of the view buttons
Added parameter in gcal_window_new to set the view-type initially.
2012-07-13 09:27:31 -04:00
Erick Pérez Castellanos f462712227 Added actua date mark to implemented views.
Following mockups by Reda Lazri, the actual day it's marked by drawing a box
around the weekday and a 2px line on the cell belonging to the actual date.
Added icon to gnome-calendar.desktop. Tweaked css a little bit.
2012-07-13 00:17:39 -04:00
Erick Pérez Castellanos 90900b3575 Added view action to application.
Added links to GcalWindow::active-view
Added fix to GcalWindow for checking for child/events widgets in view before
instantiation.
2012-07-11 10:50:29 -04:00
Erick Pérez Castellanos a4276a1263 Handled sources_model::active changes.
Handled sources_model::active changes by emitting fake ::events-added and
::events-removed signals.
Updated methods hooked to ECalClientView signals to take into account
GcalManagerUnit::enabled field.
2012-07-11 10:50:29 -04:00
Erick Pérez Castellanos 917984fa01 Theming fixes.
GcalWindow::activew-view added notify.
2012-07-11 10:50:29 -04:00
Erick Pérez Castellanos f38146bd61 Updated TODO. Updated styles. 2012-07-11 10:50:29 -04:00
Erick Pérez Castellanos c3faffaf4f Fixed Makefile.am. 2012-07-11 10:50:29 -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 63c7b1a91c Implemented ::set_date method.
Implemented set_date method, moving update of ::date attribute to another call
outside the construction process. The method can be used to set or update the
GcalView::active-date property
Implemented changes from GcalView API
Integrated GcalWeekView into application flow.
2012-07-11 10:50:29 -04:00
Erick Pérez Castellanos 89a941ec36 Reorganized GcalApplication source-file.
Connected settings to GcalWindow property.
2012-07-11 10:50:29 -04:00
Erick Pérez Castellanos 9a7bd95995 Reworked view handling inside GcalWindow.
Added properties ::active-view and ::active-date.
Added method for creating new views and for updating created ones.
Added bindings of property ::active-date to the same property of GcalView
Changed to use GcalView API.
Fixed some FIXMEs.
2012-07-11 10:50:29 -04:00
Erick Pérez Castellanos b819b70208 Added method for send ::events-added signal.
Added a hack for send ::events-added signal to newly created views even when the
range of dates covered is not changed.
2012-07-11 10:50:29 -04:00
Erick Pérez Castellanos 444298ae26 Improved GcalView API.
Added ::active-date property
Added set_date/get_date pair of methods for handling the property
Added get_initial_date/get_final_date pure virtual methods.
2012-07-11 10:50:28 -04:00
Erick Pérez Castellanos 681ee80f5b Minor docs adjustements. 2012-07-11 10:50:28 -04:00
Erick Pérez Castellanos e09ce361b0 Added GSettings to read/set the active view.
Placed code to generate G_TYPE_ENUM from my defined enums
Semi-integrated GcalWeekView
Updated TODO.
2012-07-11 10:50:28 -04:00
Erick Pérez Castellanos 55292f68ac Added regions to view.
Fixed/renamed/changed some classes names for css styling.
Fixed size_allocate, now taking into account regions differents font sizes.
2012-07-11 10:50:28 -04:00
Erick Pérez Castellanos 1021c7e781 Added GcalWeekView. Not integrated yet.
Refactoring the code inside GcalMonthView for drawing and for showing child
widgets.
Fixed ref_sink in GcalEditableRemainder. (Don't need it)
Added translation for weekdays abbreviation. (Thxs to ebassi & mclasen)
Passed make distcheck.
2012-07-11 10:50:28 -04:00
Erick Pérez Castellanos f83143050c Added undo notification system to event deletion.
Added GcalEventView::will-delete to let thw window knows about the change.
GcalWindow will handle the hiding of the event-widget till the notification goes
away or the user click "Undo".
Added method in GcalView interface to retrieve and event-widget by it's uuid.
Added some cosmetic changes in GcalMonthView as well.
2012-07-11 10:50:28 -04:00
Erick Pérez Castellanos 9eaa5238ae Fixed UI issue with GcalEditableReminder.
There was an issue when using the 'list-add' icon for adding a new reminder.
The issue is fixed, but still there's abunch of cleaning/aligning/redesigning
to do there.
2012-07-03 15:47:59 -04:00