aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model.c
Commit message (Collapse)AuthorAgeFilesLines
* Convert ETableModel to an interface.Matthew Barnes2013-06-191-16/+30
| | | | Similar to what was recently done to ETreeModel.
* ETable-related cleanups.Matthew Barnes2013-06-191-912/+896
|
* Add a boolean return to e_cal_model_remove_client().Matthew Barnes2013-06-011-3/+16
| | | | | | | | The function now returns TRUE if the ECalClient was actually removed from the model, or FALSE if the model did not have the ECalClient. Use this to avoid an unnecessary gnome_calendar_update_query() call in cal_shell_view_selector_client_removed().
* Add a boolean return to e_cal_model_add_client().Matthew Barnes2013-06-011-7/+19
| | | | | | | | The function now returns TRUE if the ECalClient was actually added to the model, or FALSE if the model already had the ECalClient. Use this to avoid an unnecessary gnome_calendar_update_query() call in cal_shell_view_selector_client_added_cb().
* ECalModel: Make view handling thread-safe.Matthew Barnes2013-04-131-221/+304
|
* Add e_cal_model_ref_default_client().Matthew Barnes2013-04-131-15/+17
| | | | Replaces e_cal_model_get_default_client(), which was not thread-safe.
* Remove e_cal_model_get_client_for_source().Matthew Barnes2013-04-131-36/+0
| | | | | | | | Was not thread-safe because it did not reference the return value. The function was only used to implement the Refresh action on the sidebar menu. e_client_selector_ref_cached_client() works better for this anyway.
* Add e_cal_model_list_clients().Matthew Barnes2013-04-131-3/+6
| | | | | | | Replaces e_cal_model_get_client_list(). Does the same thing, except the returned ECalClient instances are referenced for thread-safety.
* ECalModel: Make the ClientData queue thread-safe.Matthew Barnes2013-04-131-56/+124
|
* ECalModel: Give ClientData a reference count.Matthew Barnes2013-04-131-103/+143
| | | | | | | | Adds some private ECalModel functions: client_data_new() client_data_ref() client_data_unref()
* ECalModel: Rename ECalModelClient struct to ClientData.Matthew Barnes2013-04-131-29/+31
| | | | | | ECalModelClient looks like a public type name, but it's strictly internal to ECalModel. Plus all the variable names of that type are already "client_data".
* ECalModel: Track ECalModelClient structs in a GQueue.Matthew Barnes2013-04-131-55/+65
|
* Convert all "week-start-day" properties to GDateWeekday.Matthew Barnes2013-03-171-16/+15
|
* EDayView: Move "work-day-*" properties to ECalModel.Matthew Barnes2013-03-171-0/+303
| | | | EWeekView would like to use them too, please.
* Defer "backend-died" alerts to EShell.Matthew Barnes2013-02-171-1/+1
|
* Remove usage of deprecated e_client_is_opened().Matthew Barnes2013-01-261-86/+2
| | | | e_client_is_opened() always returns TRUE, so skip it.
* E_CLIENT_ERROR_BUSY is no longer used.Matthew Barnes2013-01-251-57/+0
|
* Coding style and whitespace cleanup.Matthew Barnes2012-11-111-97/+134
|
* Replace deprecated GLib symbols (as of GLib 2.34.x)Milan Crha2012-11-061-9/+9
|
* Bug #678476 - Critical warnings on calendar factory consoleMilan Crha2012-08-211-2/+8
|
* Coding style and whitespace cleanup.Matthew Barnes2012-08-201-1/+1
|
* Reduce usage of g_type_class_peek_parent().Matthew Barnes2012-06-251-10/+4
| | | | G_DEFINE_TYPE macros define a static "parent_class" variable.
* Do not call g_object_notify() when property didn't changeMilan Crha2012-06-181-0/+30
|
* Adapt to single-include E-D-S libraries.Matthew Barnes2012-06-041-6/+1
|
* Adapt calendar/gui to the new ESource API.Matthew Barnes2012-06-031-31/+103
|
* Fix possible memory leaks of GError structuresMilan Crha2012-04-231-0/+1
|
* Adapt to libedataserver[ui] changes.Matthew Barnes2012-04-221-2/+2
|
* Coding style and whitespace cleanup.Matthew Barnes2012-02-201-43/+32
|
* Coding style and whitespace cleanup.Matthew Barnes2012-01-191-1/+1
|
* Introduce libemail-engine and libemail-utils.Matthew Barnes2012-01-191-3/+7
| | | | | | | These libraries are bound for E-D-S so they live at the lowest layer of Evolution for now -- even libeutil can link to them (but please don't). This is the first step toward moving mail handing to a D-Bus service.
* Bug #666106 - libical 0.47 handles CATEGORIES as multiple parametersMilan Crha2011-12-141-20/+49
|
* Bug #664634 - Deadlock when processing completed tasks filterMilan Crha2011-11-241-0/+2
|
* Miscellaneous cleanups from the account-mgmt branch.Matthew Barnes2011-09-271-9/+102
| | | | | Reducing diff noise so I can see important changes easier when comparing branches. A few API changes, but nothing that affects functionality.
* The EExtension framework is now in libebackend.Matthew Barnes2011-09-261-1/+1
| | | | | | | | The EModule, EExtensible and EExtension classes as well as the e_type_traverse() function have been moved to Evolution-Data-Server's libebackend library to replace e-data-server-module.c. Now Evolution-Data-Server modules use the same framework as Evolution.
* Bug #659568 - One day delay in calendar viewMilan Crha2011-09-261-7/+11
|
* Bug #659932 - 'Use system time zone' in not honored immediatelyMilan Crha2011-09-261-0/+2
|
* Bug #658835 - Color Scheme off in calendarMilan Crha2011-09-261-17/+41
|
* Bug #659125 - Reference counting issues in calendarMilan Crha2011-09-151-5/+18
|
* Bug #655253 - Do not show detached instances twice in a calendarMilan Crha2011-09-151-19/+33
|
* Coding style and whitespace cleanup.Matthew Barnes2011-09-041-88/+214
|
* Coding style and whitespace cleanup.Matthew Barnes2011-08-131-9/+26
|
* Bug #655190 - Sluggish performance interacting with calendar/tasksMilan Crha2011-08-021-38/+118
|
* Keep opening EClient-s till they report busy errorMilan Crha2011-06-271-2/+70
|
* Bug #653154 - Crash when constructing calendar viewMilan Crha2011-06-271-7/+24
|
* Do not use deprecated EBook/ECal APIMilan Crha2011-06-141-168/+155
|
* Including <glib.h> directly is rarely needed.Matthew Barnes2011-05-281-1/+0
|
* Coding style cleanups.Matthew Barnes2011-05-091-1/+1
|
* Add itip_address_is_user().Matthew Barnes2011-04-261-1/+1
| | | | | Convenience function that checks whether the given email address matches a registered mail identity.
* Remove redundant EAccountList utilities.Matthew Barnes2011-04-261-1/+2
| | | | | Kill itip_addresses_get() and itip_addresses_get_default(), and use e_get_account_list() and e_get_default_account() instead.
* Coding style and whitespace cleanup.Matthew Barnes2011-03-061-1/+2
|
* Fix Gtk-Doc comment notation.Matthew Barnes2011-03-021-4/+7
| | | | Seeing lots of what I assume to be doxygen syntax in comment blocks.
* Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedlyMilan Crha2011-02-251-11/+3
|
* Order matters, process master object first, then detached instancesMilan Crha2011-02-181-2/+40
|
* Remove NULL checks for GObject methods.Matthew Barnes2011-02-131-4/+3
| | | | | As of GLib 2.28 all GObject virtual methods, including constructed(), are safe to chain up to unconditionally. Remove unnecessary checks.
* More whitespace cleanup.Matthew Barnes2011-01-311-11/+11
|
* libetable cleanups.Matthew Barnes2011-01-171-1/+1
|
* Make sure ECalModelComponent::client is reffed as it should beMilan Crha2011-01-141-0/+2
|
* Bug #635673 - Stack overflow when opening slow calendarMilan Crha2010-11-241-4/+17
|
* Move calendar preferences to the calendar module.Matthew Barnes2010-11-051-11/+425
| | | | | Continue replacing the use of calendar-config functions with GObject property bindings to EShellSettings properties.
* Bug #617611 - redo_queries calls gtk+ functions in non-main threadMilan Crha2010-10-131-12/+55
|
* Bug #629462 - Tasks 'Due' filters don't work properlyMilan Crha2010-09-291-2/+11
|
* Coding style cleanups.Matthew Barnes2010-09-131-1/+1
|
* Use the and operator only if there are two conditionsChenthill Palanisamy2010-09-081-5/+12
|
* Bug #624021 - Honour weeks shown in a multi week view on printMilan Crha2010-09-011-1/+3
|
* Coding style and whitespace cleanup.Matthew Barnes2010-07-121-1/+1
|
* Bug #623204 - Be able to report detailed errors from backendsMilan Crha2010-07-091-6/+25
|
* Merge branch 'express2'Matthew Barnes2010-05-271-0/+15
|\
| * Merge commit 'origin/gnome-2-30' into express2Michael Meeks2010-04-221-0/+15
| |\
| | * Bug 596601 (bnc) - monitor system timezone changes in evolutionChenthill Palanisamy2010-04-161-0/+15
| | |
| * | Merge branch 'gnome-2-30' into express2Matthew Barnes2010-04-131-0/+2
| |\|
| | * Bug #611646 - Calendar shows recurring birthdays incorrectlyMilan Crha2010-04-131-0/+2
| | |
| * | Add extensions to configure calender widgets.Matthew Barnes2010-04-071-75/+6
| |/ | | | | | | | | | | | | | | | | | | | | Make ECalendarItem, ECalendarView, ECalModel, EDateEdit, EMeetingStore, and EMeetingTimeSelector extensible and register extensions to automatically bind every instance to the appropriate EShellSettings. Conflicts: calendar/gui/gnome-cal.c modules/calendar/e-cal-shell-content.c
* | Bug #611646 - Calendar shows recurring birthdays incorrectlyMilan Crha2010-04-131-0/+2
| |
* | Bug #325121 - Do not translate developer strings in g_param_spec_*Milan Crha2010-04-021-1/+1
| |
* | Add extensions to configure calender widgets.Matthew Barnes2010-03-201-75/+6
|/ | | | | | Make ECalendarItem, ECalendarView, ECalModel, EDateEdit, EMeetingStore, and EMeetingTimeSelector extensible and register extensions to automatically bind every instance to the appropriate EShellSettings.
* Bug 611727 - Date navigator marks dates for inactive calendarsMatthew Barnes2010-03-101-0/+7
|
* Improve sidebar and ECalModel interaction.Matthew Barnes2010-01-301-12/+36
| | | | | Restores the "default client" behavior from 2.28, so that "Click to Add" task and memo fields work properly.
* Remove a couple silly ECalModel functions.Matthew Barnes2010-01-251-23/+1
|
* Remove dead assignments found by clang.Matthew Barnes2010-01-161-4/+2
|
* Bug #602098 - No progress notification from GnomeCalendarMilan Crha2009-11-181-0/+27
|
* Bug #599627 - Crash when adding a new task in a tableC de-Avillez2009-11-031-6/+2
|
* Bug #596860 - Duplicate event gets shown in calendar viewMilan Crha2009-10-161-0/+5
| | | | Interim/partial solution.
* Bug #555901 - Preserve Start/End/Due timezone when editing in list viewMilan Crha2009-10-161-20/+57
|
* Bug #593753 - Calendar search in list view doesn't work properlyMilan Crha2009-10-151-0/+2
|
* Bug #597564 - Invalid g_object_unref call in redo_queriesMilan Crha2009-10-071-16/+21
|
* Relax the EBinding API to reduce GObject casting.Matthew Barnes2009-09-021-6/+6
| | | | | Also make it more fault-tolerant by warning about non-existent property names instead of just crashing.
* Coding style and whitespace cleanup.Matthew Barnes2009-08-301-1/+1
|
* Centralize week-start-day tracking in calendar views.Matthew Barnes2009-08-191-37/+61
| | | | | Track the value in ECalModel instead of in GnomeCalendar, EDayView and EWeekView.
* Fix compiler warnings and deprecated GTK+ API usage.Matthew Barnes2009-08-161-2/+0
|
* Bug #539334 - Postpone processing event when called recursivelyMilan Crha2009-08-111-6/+125
|
* More refactoring of settings management.Matthew Barnes2009-08-091-6/+7
|
* Replace more "config" classes with property bindings.Matthew Barnes2009-08-061-25/+113
|
* Add properties to calendar classes.Matthew Barnes2009-07-311-117/+157
| | | | | So we can bind them to EShellSettings and kill off EDayViewConfig and similar GConf notification classes.
* Trimming redundancy.Matthew Barnes2009-07-291-7/+12
|
* Fix excessive whitespace.Matthew Barnes2009-07-141-4/+0
|
* Merge branch 'master' into kill-bonoboMatthew Barnes2009-07-111-3/+3
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: addressbook/util/addressbook.h calendar/gui/e-week-view-main-item.c configure.ac e-util/Makefile.am mail/em-account-editor.c mail/em-folder-selection-button.c shell/e-shell.c
| * Bug #252296 - Do not preset alarm for all day eventsMilan Crha2009-07-031-3/+3
| |
| * More code cleanup.Matthew Barnes2009-06-021-2/+2
| |
| * Whitespace cleanup.Matthew Barnes2009-05-291-4/+4
| |
| * Prefer GLib basic types over C types.Matthew Barnes2009-05-291-76/+76
| |
| * Remove trailing whitespace, again.Matthew Barnes2009-05-291-14/+14
| |
* | More code cleanup.Matthew Barnes2009-06-021-2/+2
| |
* | Whitespace cleanup.Matthew Barnes2009-05-291-4/+4
| |
* | Prefer GLib basic types over C types.Matthew Barnes2009-05-271-76/+76
| |
* | Merge branch 'master' into kill-bonoboMatthew Barnes2009-05-271-23/+23
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: a11y/widgets/ea-combo-button.c a11y/widgets/ea-combo-button.h addressbook/gui/component/addressbook-component.c addressbook/gui/component/addressbook-component.h addressbook/gui/component/addressbook-view.c addressbook/gui/component/addressbook-view.h addressbook/gui/component/component-factory.c addressbook/gui/widgets/e-addressbook-view.c addressbook/gui/widgets/eab-contact-display.c addressbook/gui/widgets/eab-gui-util.h addressbook/gui/widgets/eab-menu.c addressbook/gui/widgets/eab-menu.h addressbook/gui/widgets/eab-popup-control.c addressbook/gui/widgets/eab-popup-control.h addressbook/gui/widgets/eab-popup.c addressbook/gui/widgets/eab-popup.h calendar/gui/cal-search-bar.c calendar/gui/calendar-commands.c calendar/gui/calendar-component.c calendar/gui/comp-editor-factory.c calendar/gui/comp-editor-factory.h calendar/gui/control-factory.c calendar/gui/dialogs/comp-editor.c calendar/gui/e-cal-component-memo-preview.c calendar/gui/e-cal-component-memo-preview.h calendar/gui/e-calendar-table.c calendar/gui/e-memo-table.c calendar/gui/e-memos.c calendar/gui/e-tasks.c calendar/gui/gnome-cal.c calendar/gui/gnome-cal.h calendar/gui/itip-bonobo-control.c calendar/gui/itip-bonobo-control.h calendar/gui/main.c calendar/gui/memos-component.c calendar/gui/memos-control.c calendar/gui/memos-control.h calendar/gui/migration.c calendar/gui/migration.h calendar/gui/tasks-component.c calendar/gui/tasks-control.c calendar/importers/main.c composer/Makefile.am composer/e-composer-header-table.c composer/e-composer-header.c composer/e-composer-header.h composer/e-composer-name-header.c composer/e-composer-private.c composer/e-composer-text-header.c composer/e-msg-composer.c composer/e-msg-composer.h e-util/e-corba-utils.h e-util/e-logger.c e-util/e-logger.h e-util/e-util-labels.c e-util/e-util-labels.h em-format/em-format.c mail/Makefile.am mail/e-mail-shell-migrate.c mail/em-account-editor.c mail/em-account-editor.h mail/em-composer-prefs.c mail/em-composer-utils.c mail/em-composer-utils.h mail/em-folder-browser.c mail/em-folder-tree-model.c mail/em-folder-tree.c mail/em-folder-tree.h mail/em-folder-utils.c mail/em-folder-utils.h mail/em-folder-view.c mail/em-format-html-display.c mail/em-format-html.c mail/em-mailer-prefs.c mail/em-mailer-prefs.h mail/em-message-browser.c mail/em-message-browser.h mail/em-network-prefs.h mail/em-popup.c mail/em-utils.c mail/importers/Makefile.am mail/mail-component-factory.c mail/mail-component.c mail/mail-config-factory.c mail/mail-config-factory.h mail/mail-config.c mail/mail-dialogs.glade mail/mail-types.h plugins/calendar-weather/calendar-weather.c plugins/mail-account-disable/mail-account-disable.c plugins/select-one-source/select-one-source.c po/POTFILES.in shell/e-component-registry.c shell/e-component-registry.h shell/e-component-view.c shell/e-component-view.h shell/e-corba-config-page.c shell/e-corba-config-page.h shell/e-shell-constants.h shell/e-shell-settings-dialog.c shell/e-shell-settings-dialog.h shell/e-shell-window-commands.c shell/e-shell-window.c shell/e-shell.h shell/e-sidebar.c shell/e-sidebar.h shell/e-user-creatable-items-handler.c shell/e-user-creatable-items-handler.h shell/es-menu.c shell/es-menu.h shell/evolution-component.h shell/evolution-config-control.c shell/evolution-config-control.h shell/evolution-listener.c shell/evolution-listener.h shell/evolution-shell-component-utils.c shell/evolution-shell-component-utils.h shell/importer/evolution-importer-client.c shell/importer/evolution-importer-client.h shell/importer/evolution-importer-listener.c shell/importer/evolution-importer-listener.h shell/importer/evolution-importer.c shell/importer/evolution-importer.h shell/importer/evolution-intelligent-importer.c shell/importer/evolution-intelligent-importer.h shell/importer/intelligent.c shell/main.c shell/test/evolution-test-component.c shell/test/evolution-test-component.h widgets/menus/gal-view-instance.c widgets/menus/gal-view-menus.c widgets/menus/gal-view-menus.h widgets/misc/Makefile.am widgets/misc/e-activity-handler.c widgets/misc/e-activity-handler.h widgets/misc/e-charset-picker.c widgets/misc/e-combo-button.c widgets/misc/e-combo-button.h widgets/misc/e-config-page.h widgets/misc/e-dropdown-button.c widgets/misc/e-dropdown-button.h widgets/misc/e-filter-bar.c widgets/misc/e-info-label.c widgets/misc/e-info-label.h widgets/misc/e-multi-config-dialog.c widgets/misc/e-multi-config-dialog.h widgets/misc/e-search-bar.c widgets/misc/e-search-bar.h widgets/misc/e-task-bar.c widgets/misc/e-task-bar.h widgets/misc/e-task-widget.c widgets/misc/e-task-widget.h widgets/misc/test-dropdown-button.c widgets/misc/test-error.c widgets/misc/test-info-label.c widgets/table/e-table-example-1.c
| * | Remove trailing whitespace, again.Matthew Barnes2009-05-271-14/+14
| |/
| * Fix compiler warnings in calendar.Matthew Barnes2009-05-261-9/+9
| |
| * Allow Last Modified and Created columns for event tableMilan Crha2009-04-271-0/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ** Fix for bug #575773 * gui/e-calendar-table.etspec: * gui/e-cal-list-view.etspec: * gui/e-memo-table.etspec: * gui/e-cal-model.h: (ECalModelField), (struct _ECalModelComponent): * gui/e-cal-model.c: (get_datetime_from_utc), (ecm_value_at), (ecm_duplicate_value), (ecm_free_value), (ecm_initialize_value), (ecm_value_is_empty), (ecm_value_to_string), (e_cal_view_objects_modified_cb), (e_cal_model_component_finalize), (e_cal_model_component_init): Allow showing CREATED and LAST-MODIFIED properties in a table. * gui/print.c: (print_comp_draw_real): * gui/e-cal-component-preview.c: (write_html): * conduits/todo/todo-conduit.c: (local_record_from_comp): Possible leak fix.
| * Possible leak fixMilan Crha2009-04-251-2/+6
| | | | | | | | ** Part of fix for bug #571272
* | Allow Last Modified and Created columns for event tableMilan Crha2009-04-281-0/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ** Fix for bug #575773 * gui/e-calendar-table.etspec: * gui/e-cal-list-view.etspec: * gui/e-memo-table.etspec: * gui/e-cal-model.h: (ECalModelField), (struct _ECalModelComponent): * gui/e-cal-model.c: (get_datetime_from_utc), (ecm_value_at), (ecm_duplicate_value), (ecm_free_value), (ecm_initialize_value), (ecm_value_is_empty), (ecm_value_to_string), (e_cal_view_objects_modified_cb), (e_cal_model_component_finalize), (e_cal_model_component_init): Allow showing CREATED and LAST-MODIFIED properties in a table. * gui/print.c: (print_comp_draw_real): * gui/e-cal-component-preview.c: (write_html): * conduits/todo/todo-conduit.c: (local_record_from_comp): Possible leak fix.
* | Possible leak fixMilan Crha2009-04-281-2/+6
| | | | | | | | ** Part of fix for bug #571272
* | Merge branch 'master' into kill-bonoboMatthew Barnes2009-04-251-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was a particularly messy merge. Watch out for regressions! Conflicts: ChangeLog NEWS a11y/ChangeLog a11y/widgets/ea-combo-button.c a11y/widgets/ea-combo-button.h a11y/widgets/ea-widgets.c addressbook/ChangeLog addressbook/gui/component/GNOME_Evolution_Addressbook.server.in.in addressbook/gui/component/addressbook-component.c addressbook/gui/component/addressbook-component.h addressbook/gui/component/addressbook-config.c addressbook/gui/component/addressbook-migrate.h addressbook/gui/component/addressbook-view.c addressbook/gui/component/addressbook-view.h addressbook/gui/component/addressbook.h addressbook/gui/component/autocompletion-config.c addressbook/gui/component/autocompletion-config.h addressbook/gui/component/component-factory.c addressbook/gui/component/e-book-shell-module-migrate.c addressbook/gui/component/ldap-config.glade addressbook/gui/contact-editor/Makefile.am addressbook/gui/contact-editor/contact-editor.glade addressbook/gui/contact-editor/e-contact-editor-address.c addressbook/gui/contact-editor/e-contact-editor-address.h addressbook/gui/contact-editor/e-contact-editor-im.c addressbook/gui/contact-editor/e-contact-editor-im.h addressbook/gui/contact-editor/e-contact-editor.c addressbook/gui/contact-editor/e-contact-editor.h addressbook/gui/contact-editor/eab-editor.c addressbook/gui/contact-editor/eab-editor.h addressbook/gui/contact-editor/test-editor.c addressbook/gui/contact-list-editor/Makefile.am addressbook/gui/widgets/Makefile.am addressbook/gui/widgets/e-addressbook-model.c addressbook/gui/widgets/e-addressbook-model.h addressbook/gui/widgets/e-addressbook-reflow-adapter.c addressbook/gui/widgets/e-addressbook-view.c addressbook/gui/widgets/e-addressbook-view.h addressbook/gui/widgets/e-minicard-view.c addressbook/gui/widgets/eab-contact-display.c addressbook/gui/widgets/eab-gui-util.c addressbook/gui/widgets/eab-menu.c addressbook/gui/widgets/eab-menu.h addressbook/gui/widgets/eab-popup-control.c addressbook/gui/widgets/eab-popup-control.h addressbook/gui/widgets/eab-popup.c addressbook/gui/widgets/eab-popup.h addressbook/gui/widgets/eab-vcard-control.c addressbook/gui/widgets/eab-vcard-control.h addressbook/gui/widgets/gal-view-minicard.c addressbook/gui/widgets/gal-view-minicard.h addressbook/printing/e-contact-print-style-editor.c addressbook/printing/e-contact-print-style-editor.h addressbook/printing/e-contact-print.glade addressbook/printing/test-contact-print-style-editor.c addressbook/tools/evolution-addressbook-export.c addressbook/util/Makefile.am calendar/ChangeLog calendar/gui/Makefile.am calendar/gui/apps_evolution_calendar.schemas.in calendar/gui/calendar-component.c calendar/gui/calendar-component.h calendar/gui/calendar-config.c calendar/gui/comp-editor-factory.c calendar/gui/comp-editor-factory.h calendar/gui/comp-util.c calendar/gui/comp-util.h calendar/gui/control-factory.c calendar/gui/control-factory.h calendar/gui/dialogs/alarm-dialog.c calendar/gui/dialogs/cal-prefs-dialog.c calendar/gui/dialogs/cal-prefs-dialog.glade calendar/gui/dialogs/cal-prefs-dialog.h calendar/gui/dialogs/comp-editor.c calendar/gui/dialogs/comp-editor.h calendar/gui/dialogs/event-editor.c calendar/gui/dialogs/event-page.c calendar/gui/dialogs/memo-editor.c calendar/gui/dialogs/memo-page.c calendar/gui/dialogs/recurrence-page.c calendar/gui/dialogs/task-details-page.c calendar/gui/dialogs/task-details-page.glade calendar/gui/dialogs/task-editor.c calendar/gui/dialogs/task-page.c calendar/gui/e-cal-component-memo-preview.c calendar/gui/e-cal-component-memo-preview.h calendar/gui/e-cal-component-preview.c calendar/gui/e-cal-component-preview.h calendar/gui/e-cal-event.h calendar/gui/e-cal-model.c calendar/gui/e-cal-popup.c calendar/gui/e-calendar-table.c calendar/gui/e-calendar-view.c calendar/gui/e-day-view.c calendar/gui/e-itip-control.c calendar/gui/e-memo-table.c calendar/gui/e-memos.c calendar/gui/e-memos.h calendar/gui/e-tasks.c calendar/gui/e-tasks.h calendar/gui/e-week-view.c calendar/gui/gnome-cal.c calendar/gui/goto.c calendar/gui/itip-bonobo-control.c calendar/gui/itip-bonobo-control.h calendar/gui/itip-utils.c calendar/gui/itip-utils.h calendar/gui/main.c calendar/gui/memos-component.c calendar/gui/memos-control.c calendar/gui/memos-control.h calendar/gui/migration.c calendar/gui/migration.h calendar/gui/tasks-component.c calendar/gui/tasks-control.c calendar/importers/main.c composer/ChangeLog composer/e-composer-actions.c composer/e-composer-private.c composer/e-msg-composer.c composer/e-msg-composer.h composer/evolution-composer.ui configure.in doc/reference/shell/eshell-overrides.txt e-util/ChangeLog e-util/Makefile.am e-util/e-corba-utils.c e-util/e-corba-utils.h e-util/e-gui-utils.c e-util/e-gui-utils.h e-util/e-logger.c e-util/e-non-intrusive-error-dialog.c e-util/e-non-intrusive-error-dialog.h e-util/e-plugin-ui.c e-util/e-util-labels.c e-util/e-util-labels.h e-util/e-util.c e-util/e-util.h filter/ChangeLog filter/filter-option.c help/C/evolution.xml help/ChangeLog help/Makefile.am help/cs/cs.po help/de/de.po help/es/es.po help/eu/figures/Screenshot-Free-Busy.png help/eu/figures/evo_blink.png help/eu/figures/evo_dialog-info.png help/eu/figures/evo_dialog-warning.png help/eu/figures/evo_email_a.png help/eu/figures/evo_flag_follow_up_a.png help/eu/figures/evo_proxyadd_a.png help/eu/figures/evo_shd_memo_a.png help/eu/figures/exchange-delegation.png help/eu/figures/exchange-identity.png help/eu/figures/exchange-receive-options.png help/eu/figures/exchange-receive.png help/eu/figures/exchg-identity.png help/eu/figures/exchng-identity.png help/eu/figures/exchng-rec-mail.png help/eu/figures/exchng-rec-option.png help/eu/figures/exchng-rec-options.png help/eu/figures/free_busy.png help/eu/figures/full-1.png help/eu/figures/full-2.png help/eu/figures/full-3.png help/eu/figures/full-4.png help/eu/figures/full-5.png help/eu/figures/full-6.png help/eu/figures/full-7.png help/eu/figures/mail-druid-pic.png help/eu/figures/mail-inbox.png help/eu/figures/mail-threaded.png help/eu/figures/mainwindow-pic.png help/eu/figures/minus.png help/eu/figures/plus.png help/eu/figures/proxy-cal.png help/eu/figures/proxy-login.png help/eu/figures/schedule.png help/eu/figures/stock_search.png help/eu/figures/sub-others-folder.png help/eu/figures/sub-pub-fold.png help/eu/figures/vfolder-createrule-fig.png help/quickref/Makefile.am mail/ChangeLog mail/Makefile.am mail/default/Makefile.am mail/e-mail-shell-module-migrate.c mail/e-searching-tokenizer.c mail/em-account-editor.c mail/em-account-prefs.h mail/em-composer-prefs.c mail/em-composer-prefs.h mail/em-composer-utils.c mail/em-filter-folder-element.c mail/em-folder-browser.c mail/em-folder-selection-button.h mail/em-folder-selector.c mail/em-folder-tree-model.c mail/em-folder-tree-model.h mail/em-folder-tree.c mail/em-folder-tree.h mail/em-folder-utils.c mail/em-folder-utils.h mail/em-folder-view.c mail/em-format-html-display.c mail/em-format-html-print.c mail/em-format-html-print.h mail/em-format-html.c mail/em-format-quote.h mail/em-format.c mail/em-format.h mail/em-html-stream.h mail/em-mailer-prefs.c mail/em-mailer-prefs.h mail/em-message-browser.c mail/em-message-browser.h mail/em-migrate.h mail/em-network-prefs.h mail/em-popup.c mail/em-search-context.h mail/em-subscribe-editor.c mail/em-utils.c mail/em-utils.h mail/filtertypes.xml mail/mail-component-factory.c mail/mail-component.c mail/mail-config-factory.c mail/mail-config-factory.h mail/mail-config.c mail/mail-config.glade mail/mail-crypto.c mail/mail-crypto.h mail/mail-dialogs.glade mail/mail-folder-cache.c mail/mail-mt.c mail/mail-send-recv.c mail/mail-send-recv.h mail/mail-session.c mail/mail-session.h mail/mail-types.h mail/mail-vfolder.c mail/message-list.c mail/message-tag-followup.c mail/searchtypes.xml mail/vfoldertypes.xml plugins/attachment-reminder/Makefile.am plugins/audio-inline/org-gnome-audio-inline.eplug.xml plugins/caldav/ChangeLog plugins/caldav/caldav-source.c plugins/calendar-http/ChangeLog plugins/calendar-weather/ChangeLog plugins/calendar-weather/calendar-weather.c plugins/email-custom-header/ChangeLog plugins/email-custom-header/email-custom-header.c plugins/exchange-operations/ChangeLog plugins/google-account-setup/ChangeLog plugins/google-account-setup/Makefile.am plugins/google-account-setup/google-contacts-source.c plugins/google-account-setup/google-source.c plugins/import-ics-attachments/ChangeLog plugins/import-ics-attachments/Makefile.am plugins/import-ics-attachments/icsimporter.c plugins/itip-formatter/ChangeLog plugins/itip-formatter/itip-view.c plugins/mail-account-disable/ChangeLog plugins/mail-account-disable/mail-account-disable.c plugins/mail-notification/ChangeLog plugins/mail-notification/mail-notification.c plugins/mail-to-meeting/ChangeLog plugins/mail-to-task/ChangeLog plugins/mark-all-read/mark-all-read.c plugins/publish-calendar/ChangeLog plugins/publish-calendar/publish-format-fb.c plugins/publish-calendar/publish-format-ical.c plugins/save-attachments/ChangeLog plugins/save-attachments/Makefile.am plugins/save-attachments/save-attachments.c plugins/select-one-source/ChangeLog plugins/select-one-source/Makefile.am plugins/select-one-source/select-one-source.c plugins/startup-wizard/ChangeLog plugins/startup-wizard/startup-wizard.c plugins/webdav-account-setup/ChangeLog plugins/webdav-account-setup/Makefile.am plugins/webdav-account-setup/webdav-contacts-source.c po/ChangeLog po/POTFILES.in po/ar.po po/bg.po po/bn_IN.po po/ca.po po/cs.po po/da.po po/de.po po/el.po po/en_GB.po po/es.po po/et.po po/fr.po po/gl.po po/gu.po po/hi.po po/hu.po po/it.po po/ja.po po/kn.po po/ko.po po/lt.po po/ml.po po/mr.po po/nb.po po/nl.po po/pa.po po/pl.po po/pt.po po/ru.po po/sl.po po/sr.po po/sr@latin.po po/sv.po po/ta.po po/te.po po/th.po po/tr.po po/zh_HK.po po/zh_TW.po shell/ChangeLog shell/Evolution-Component.idl shell/Makefile.am shell/apps_evolution_shell.schemas.in shell/e-component-registry.c shell/e-component-registry.h shell/e-component-view.c shell/e-component-view.h shell/e-corba-config-page.c shell/e-corba-config-page.h shell/e-shell-constants.h shell/e-shell-importer.c shell/e-shell-importer.h shell/e-shell-nm.c shell/e-shell-settings-dialog.c shell/e-shell-settings-dialog.h shell/e-shell-view.c shell/e-shell-view.h shell/e-shell-window-commands.c shell/e-shell-window-commands.h shell/e-shell-window.c shell/e-shell-window.h shell/e-shell.c shell/e-shell.h shell/e-sidebar.c shell/e-sidebar.h shell/e-user-creatable-items-handler.c shell/e-user-creatable-items-handler.h shell/es-menu.c shell/es-menu.h shell/evolution-component.c shell/evolution-component.h shell/evolution-config-control.c shell/evolution-config-control.h shell/evolution-listener.c shell/evolution-listener.h shell/evolution-shell-component-utils.c shell/evolution-shell-component-utils.h shell/importer/evolution-importer-client.c shell/importer/evolution-importer-client.h shell/importer/evolution-importer-listener.c shell/importer/evolution-importer-listener.h shell/importer/evolution-importer.c shell/importer/evolution-importer.h shell/importer/evolution-intelligent-importer.c shell/importer/evolution-intelligent-importer.h shell/importer/import.glade shell/importer/intelligent.c shell/importer/intelligent.h shell/main.c shell/shell.error.xml shell/test/evolution-test-component.c shell/test/evolution-test-component.h smime/ChangeLog smime/lib/Makefile.am ui/Makefile.am ui/evolution-addressbook.xml ui/evolution-calendar.xml widgets/ChangeLog widgets/menus/gal-view-menus.c widgets/menus/gal-view-menus.h widgets/misc/ChangeLog widgets/misc/Makefile.am widgets/misc/e-activity-handler.c widgets/misc/e-activity-handler.h widgets/misc/e-attachment-bar.c widgets/misc/e-attachment-bar.h widgets/misc/e-attachment.c widgets/misc/e-attachment.h widgets/misc/e-calendar-item.c widgets/misc/e-charset-picker.c widgets/misc/e-combo-button.c widgets/misc/e-combo-button.h widgets/misc/e-config-page.c widgets/misc/e-config-page.h widgets/misc/e-dropdown-button.c widgets/misc/e-dropdown-button.h widgets/misc/e-filter-bar.h widgets/misc/e-info-label.c widgets/misc/e-info-label.h widgets/misc/e-multi-config-dialog.c widgets/misc/e-multi-config-dialog.h widgets/misc/e-online-button.c widgets/misc/e-search-bar.c widgets/misc/e-search-bar.h widgets/misc/e-signature-combo-box.c widgets/misc/e-signature-combo-box.h widgets/misc/e-signature-editor.c widgets/misc/e-signature-editor.h widgets/misc/e-task-bar.c widgets/misc/e-task-bar.h widgets/misc/e-task-widget.c widgets/misc/e-task-widget.h widgets/misc/test-dropdown-button.c widgets/misc/test-info-label.c widgets/misc/test-multi-config-dialog.c widgets/table/ChangeLog widgets/table/e-cell-date.c widgets/table/e-table-group-container.c widgets/table/e-table-group-leaf.c widgets/table/e-table-group.c widgets/table/e-table-group.h widgets/table/e-table.c widgets/table/e-table.h
| * Bug 577929 – Consolidate marshallersMatthew Barnes2009-04-231-4/+4
| | | | | | | | | | | | Consolidate all marshalling specifications to e-util/e-marshal.list. This reduces code duplication and makes it slightly easier to locate unused marshallers.
| * ** Fix for bug #573122Milan Crha2009-03-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-03-04 Milan Crha <mcrha@redhat.com> ** Fix for bug #573122 * gui/dialogs/cal-prefs-dialog.c: (timezone_changed), (show_config): * gui/calendar-config.c: (calendar_config_get_icaltimezone): * gui/e-cal-model.c: (ecm_value_at): Do not pass NULL to icalcomponent_get_first_component. svn path=/trunk/; revision=37366
| * Fixes #347287.Chenthill Palanisamy2009-01-301-2/+2
| | | | | | | | svn path=/trunk/; revision=37187
| * ** Fix for bug #541209Suman Manjunath2009-01-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-21 Suman Manjunath <msuman@novell.com> ** Fix for bug #541209 ** Adapt to the new APIs from upstream libical. Changes made include using the "_r" counterpart for the following APIs: + icalproperty_as_ical_string () + icalvalue_as_ical_string () + icalcomponent_as_ical_string () + icalparameter_as_ical_string () + icaldurationtype_as_ical_string () + icalenum_reqstat_code () + icallangbind_property_eval_string () + icallangbind_quote_as_ical () + icalmime_text_end_part () + icalperiodtype_as_ical_string () + icalproperty_enum_to_string () + icalproperty_get_parameter_as_string () + icalproperty_get_value_as_string () + icalproperty_get_property_name () + icalrecurrencetype_as_string () + icaltime_as_ical_string () + icalreqstattype_as_string () + icalvalue_binary_as_ical_string () + icalvalue_int_as_ical_string () + icalvalue_utcoffset_as_ical_string () + icalvalue_string_as_ical_string () + icalvalue_recur_as_ical_string () + icalvalue_text_as_ical_string () + icalvalue_attach_as_ical_string () + icalvalue_duration_as_ical_string () + icalvalue_date_as_ical_string () + icalvalue_datetime_as_ical_string () + icalvalue_float_as_ical_string () + icalvalue_geo_as_ical_string () + icalvalue_datetimeperiod_as_ical_string () + icalvalue_period_as_ical_string () + icalvalue_trigger_as_ical_string () + icalvalue_as_ical_string () svn path=/trunk/; revision=37113
| * ** Fix for bug #567850Milan Crha2009-01-201-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-19 Milan Crha <mcrha@redhat.com> ** Fix for bug #567850 * gui/e-cal-model.h: (e_cal_model_set_default_time_func): * gui/e-cal-model.c: (struct _ECalModelPrivate), (ecm_append_row), (e_cal_model_set_default_time_func): New functionality to retrieve a default time for a model's new event created from a "click-to-add" row. * gui/gnome-cal.c: (gc_get_default_time), (setup_widgets): Set the new time callback for the memo table. svn path=/trunk/; revision=37100
| * ** Fix for bug #554454Milan Crha2009-01-141-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-14 Milan Crha <mcrha@redhat.com> ** Fix for bug #554454 * gui/e-cal-model.c: (e_cal_view_objects_modified_cb): Do not crash when received 'modified' event for something not in a model. And a leak fix. svn path=/trunk/; revision=37068
| * Show reason of a failure on a console too.Milan Crha2008-12-181-1/+1
| | | | | | | | | | | | | | | | | | | | 2008-12-17 Milan Crha <mcrha@redhat.com> * gui/e-cal-model.c: (update_e_cal_view_for_client): Show reason of a failure on a console too. svn path=/trunk/; revision=36913
| * ** Fix for bug #563633Jeff Cai2008-12-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | 2008-12-08 Jeff Cai <jeff.cai@sun.com> ** Fix for bug #563633 * gui/e-cal-model.c: Add an unused member for _ECalModelComponentPrivate svn path=/trunk/; revision=36851
| * Chenthill Palanisamy <pchenthill@novell.com> ** Fix for bug #551628 (Remove ↵Suman Manjunath2008-09-141-6/+27
| | | | | | | | | | | | old events from the view when objects are modified). svn path=/trunk/; revision=36322
| * ** Fix for bug #551382Milan Crha2008-09-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-09-09 Milan Crha <mcrha@redhat.com> ** Fix for bug #551382 * gui/e-week-view.c: (model_comps_deleted_cb): * gui/e-cal-model.c: (redo_queries): Get rid of unused variables. * gui/e-cal-model.c: (e_cal_view_objects_modified_cb): Use result of g_list_prepend, thus report changes properly. svn path=/trunk/; revision=36282
| * Fixes #544187.Chenthill Palanisamy2008-09-081-12/+112
| | | | | | | | svn path=/trunk/; revision=36276
| * Change License from GPL to LGPL. 2nd batch.Sankarasivasubramanian Pasupathilingam2008-09-031-12/+16
| | | | | | | | | | | | More changes to come. svn path=/trunk/; revision=36247
| * Fixed some warnings.Chenthill Palanisamy2008-08-141-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-17 Chenthill Palanisamy <pchenthill@novell.com> * gui/dialogs/event-page.c: (source_changed_cb): * gui/dialogs/memo-page.c: (source_changed_cb): * gui/e-cal-model.c: (e_cal_model_set_timezone), (e_cal_view_done_cb): * gui/e-day-view-config.c: Fixed some warnings. svn path=/trunk/; revision=35987
| * Fixes #347287Chenthill Palanisamy2008-08-131-44/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-15 Chenthill Palanisamy <pchenthill@novell.com> Fixes #347287 * gui/e-cal-list-view-config.c: * (e_cal_list_view_config_set_view): * gui/e-cal-list-view.c: (e_cal_list_view_new): * gui/e-cal-list-view.h: * gui/e-cal-model.c: (e_cal_model_set_timezone), * (add_instance_cb), (e_cal_view_objects_added_cb), (e_cal_view_done_cb), (update_e_cal_view_for_client), (cal_opened_cb), (add_new_client), (e_cal_model_component_class_init), (e_cal_model_component_finalize), (e_cal_model_component_init), (e_cal_model_component_get_type), (e_cal_model_copy_component_data), (e_cal_model_free_component_data): * gui/e-cal-model.h: * gui/e-calendar-view.c: (e_calendar_view_init), (e_calendar_view_set_model): * gui/e-calendar-view.h: * gui/e-day-view-config.c: (e_day_view_config_set_view): * gui/e-day-view.c: (time_range_changed_cb), (model_row_changed_cb), (model_cell_changed_cb), (model_rows_inserted_cb), (model_rows_deleted_cb), (timezone_changed_cb), (e_day_view_init), (init_model), (e_day_view_new), (e_day_view_set_mins_per_row), (e_day_view_add_event), (e_day_view_check_layout): * gui/e-day-view.h: * gui/e-week-view-config.c: (e_week_view_config_set_view): * gui/e-week-view.c: (time_range_changed_cb), (model_row_changed_cb), (model_cell_changed_cb), (model_rows_inserted_cb), (model_rows_deleted_cb), (timezone_changed_cb), (e_week_view_init), (init_model), (e_week_view_new), (e_week_view_add_event), (e_week_view_check_layout): * gui/e-week-view.h: * gui/gnome-cal.c: (message_proxy), (create_thread_pool), (message_push), (update_query_async), (update_query), (set_search_query), (set_timezone), (setup_widgets), (update_view_times), (display_view), (display_view_cb), (add_mclient_async), (add_mclient), (client_cal_opened_cb), (default_client_cal_opened_cb), (gnome_calendar_remove_source_by_uid), (gnome_calendar_on_date_navigator_selection_changed): Use a single model for all the views. svn path=/trunk/; revision=35977
* | Merge revisions 37108:37199 from trunk.Matthew Barnes2009-02-011-3/+3
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37200
* | Merge revisions 37075:37107 from trunk.Matthew Barnes2009-01-211-1/+36
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37112
* | Merge revisions 37047:37074 from trunk.Matthew Barnes2009-01-151-0/+9
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37075
* | Merge revisions 36866:37046 from trunk.Matthew Barnes2009-01-121-1/+1
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37050
* | Merge revisions 36811:36865 from trunk.Matthew Barnes2008-12-111-0/+1
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36867
* | Merge revisions 36016:36533 from trunk.Matthew Barnes2008-10-021-6/+27
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36534
* | Saving progress. Experimenting with directory layout.Matthew Barnes2008-09-251-4/+4
| | | | | | | | | | | | | | Saving progress. Experimenting with directory layout. svn path=/branches/kill-bonobo/; revision=36446
* | Merge revisions 36016:36303 from trunk.Matthew Barnes2008-09-111-24/+128
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36307
* | Merge revisions 35951:35992 from trunk.Matthew Barnes2008-08-151-46/+101
|/ | | | svn path=/branches/kill-bonobo/; revision=35994
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35665
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-061-1/+1
| | | | | | | | | | 2008-06-06 Matthew Barnes <mbarnes@redhat.com> ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES defined. (#536637) svn path=/trunk/; revision=35606
* Fixes#516408Chenthill Palanisamy2008-02-251-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-02-24 Chenthill Palanisamy <pchenthill@novell.com> Fixes#516408 * gui/dialogs/e-send-options-utils.c (e_sendoptions_utils_fill_component): * gui/e-cal-model.c (search_by_id_and_client): * gui/e-calendar-table.c (copy_row_cb), (e_calendar_table_copy_clipboard): * gui/e-calendar-view.c (e_calendar_view_copy_clipboard), (icalcomp_contains_category): * gui/e-day-view.c (model_rows_deleted_cb), (e_day_view_find_event_from_uid), (e_day_view_reshape_day_events), (e_day_view_on_drag_data_get): * gui/e-itip-control.c (update_item): * gui/e-memo-table.c (copy_row_cb), * (e_memo_table_copy_clipboard): * gui/e-memos.c (obtain_list_of_components): * gui/e-tasks.c (obtain_list_of_components): * gui/e-week-view.c (model_rows_deleted_cb), (e_week_view_reshape_events), (e_week_view_find_event_from_uid): * gui/gnome-cal.c (gnome_calendar_purge): * gui/itip-utils.c (comp_limit_attendees), (itip_send_comp), (reply_to_calendar_comp), (itip_publish_comp): Free the memory returned by libical svn path=/trunk/; revision=35081
* ** Fix for bug #440426Milan Crha2008-02-211-0/+4
| | | | | | | | | | | | 2008-02-20 Milan Crha <mcrha@redhat.com> ** Fix for bug #440426 * gui/e-cal-model.c: (e_cal_model_dispose), (remove_client): Unset also default_client if removing it. svn path=/trunk/; revision=35065
* ** Part of fix for bug #515744Milan Crha2008-02-181-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-02-18 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #515744 * addressbook/gui/component/addressbook-migrate.c: (get_source_name): * plugins/groupwise-features/send-options.c: (get_source): * plugins/groupwise-features/share-folder-common.c: (get_container_id): * plugins/groupwise-features/install-shared.c: (install_folder_response): * plugins/external-editor/external-editor.c: (convert_to_camel_internet_address), (org_gnome_external_editor): * plugins/itip-formatter/itip-formatter.c: (idle_open_cb): * mail/em-folder-view.c: (emfv_setup_view_instance): * mail/mail-component.c: (impl_finalize): * mail/message-list.c: (ml_tree_value_at): * composer/e-msg-composer.c: (drop_action): * e-util/e-config.c: (ep_finalise): Use proper member to free. * widgets/misc/e-cursors.c: (e_cursors_init): * widgets/misc/e-calendar-item.c: (e_calendar_item_draw_month): * calendar/gui/dialogs/comp-editor.c: (drop_action): * calendar/gui/calendar-config.c: (calendar_config_get_hide_completed_tasks_sexp): * calendar/gui/comp-editor-factory.c: (edit_existing): * calendar/gui/e-day-view.c: (e_day_view_reshape_long_event), (e_day_view_on_top_canvas_drag_data_received): * calendar/gui/e-day-view-main-item.c: (e_day_view_main_item_draw_events_in_vbars), (e_day_view_main_item_draw_long_events_in_vbars): * calendar/gui/e-day-view-top-item.c: (e_day_view_top_item_draw_long_event): * calendar/gui/e-cal-model.c: (redo_queries): * calendar/gui/e-calendar-table.c: (e_calendar_table_open_task): * calendar/gui/e-memo-table.c: (open_memo): * calendar/gui/print.c: (print_todo_details): * calendar/gui/migration.c: (get_source_name): Memory leak fix. * calendar/gui/e-week-view.c: (e_week_view_reshape_events): Simplifies things. svn path=/trunk/; revision=35044
* ** Fix for bug #475781Milan Crha2008-01-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-25 Milan Crha <mcrha@redhat.com> ** Fix for bug #475781 * plugins/save-calendar/csv-format.c: (do_save_calendar_csv): * plugins/save-calendar/rdf-format.c: (do_save_calendar_rdf): * plugins/itip-formatter/itip-formatter.c: (format_itip_object): * calendar/gui/dialogs/recurrence-page.c: (fill_ending_date), (recurrence_page_fill_widgets): * calendar/gui/dialogs/memo-page.c: (memo_page_fill_widgets): * calendar/gui/e-day-view.c: 2*(e_day_view_finish_long_event_resize), 2*(e_day_view_on_editing_stopped): * calendar/gui/itip-utils.c: (comp_compliant), (reply_to_calendar_comp): * calendar/gui/e-week-view.c: (e_week_view_on_editing_stopped): * calendar/gui/e-calendar-view.c: (e_calendar_view_add_event), (e_calendar_view_get_tooltips): * calendar/gui/e-cal-component-preview.c: (write_html): * calendar/gui/e-cal-component-memo-preview.c: (write_html): * calendar/gui/e-cal-model.c: (add_instance_cb): Fix memory leaks around ECalComponentDateTime. svn path=/trunk/; revision=34895
* ** Fix for bug #325730Milan Crha2007-11-301-6/+9
| | | | | | | | | | | | | | | 2007-11-30 Milan Crha <mcrha@redhat.com> ** Fix for bug #325730 * gui/e-calendar-table.c: (hide_completed_rows): * gui/e-cal-model.c: (e_cal_view_objects_added_cb), (e_cal_view_objects_removed_cb), (remove_client_objects): Reverting part of previous patch (2007-11-23) and added notifications about model_changed after done with deleting. svn path=/trunk/; revision=34617
* ** Fix for bug #325730Milan Crha2007-11-231-5/+8
| | | | | | | | | | | | | | | | 2007-11-23 Milan Crha <mcrha@redhat.com> ** Fix for bug #325730 * gui/e-memos.c: (table_selection_change_cb): * gui/e-tasks.c: (table_selection_change_cb): Clear task/memo preview when have more or less than one row selected. * gui/e-cal-model.c: (e_cal_view_objects_added_cb), (e_cal_view_objects_removed_cb), (remove_client_objects): First delete, then notify, so we read from updated store. svn path=/trunk/; revision=34577
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-65/+65
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* 2007-09-27 mcrha Fix for bug #346686Milan Crha2007-09-271-0/+38
| | | | svn path=/trunk/; revision=34315
* ** Fix for bug #471791 (Move away from asserts to g_ret*)Srinivasa Ragavan2007-09-031-10/+15
| | | | svn path=/trunk/; revision=34156
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-1/+1
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* Added advanced search options.Chenthill Palanisamy2007-06-041-0/+31
| | | | svn path=/trunk/; revision=33648
* ** Fixes bug #373116Matthew Barnes2007-04-021-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-04-01 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #373116 * calendar/gui/calendar-component.c (ensure_sources): * calendar/gui/e-cal-model.c (ecm_get_color_for_component): * calendar/gui/memos-component.c (ensure_sources): * calendar/gui/migration.c (create_calendar_contact_source), (create_calendar_sources), (create_task_sources), (create_memo_sources), (add_gw_esource): * calendar/gui/tasks-component.c (ensure_sources): * plugins/groupwise-account-setup/camel-gw-listener.c (add_esource): Use the new ESource color API. * calendar/gui/dialogs/cal-prefs-dialog.c: * calendar/gui/dialogs/cal-prefs-dialog.glade: * calendar/gui/dialogs/calendar-setup.c: * calendar/gui/dialogs/calendar-setup.glade: * filter-colour.c (get_widget): * mail/em-composer-prefs.c: * mail/em-composer-prefs.h: * mail/em-mailer-prefs.c: * mail/em-mailer-prefs.h: * mail/mail-config.glade: Migrate from GnomeColorPicker to GtkColorButton. * filter/filter-colour.h: Store color as a GdkColor instead of separate RGBA components. * filter/filter-colour.c (color_eq): Use gdk_color_equal() to compare colors. * filter/filter-colour.c (xml_encode): Encode color as a single property ("spec"). * filter/filter-colour.c (xml_decode): Read the color from a single property ("spec"). Provide a migration path for old XML files. * calendar/gui/calendar-component.c (calendar_config_get_tasks_due_today_color), (calendar_config_get_tasks_overdue_color): Return a GdkColor instead of an X color specification. * calendar/gui/calendar-component.c (calendar_config_set_tasks_due_today_color), (calendar_config_set_tasks_overdue_color): Accept a GdkColor instead of an X color specification. * calenar/gui/e-cal-model-tasks.c (ecmt_get_color_for_component): Adapt to modified color API in calendar-component.c by converting the GdkColor to an X color specification. This is an ugly hack to be fixed later. svn path=/trunk/; revision=33349
* ** Fixes bug #419524Matthew Barnes2007-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 2007-03-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #419524 * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>. * e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list): * mail/em-migrate.c (emm_setup_initial): * shell/e-component-registry.c (query_components): * shell/e-shell-settings-dialog.c (load_pages): * shell/e-shell-window-commands.c (command_quick_reference): * tools/killev.c (main): Use g_get_language_names() instead of gnome_i18n_get_language_list(). * e-util/e-util.c: Remove e_gettext(). * e-util/Makefile.am: Remove e-i18n.h. svn path=/trunk/; revision=33319
* Fixes #389961 Check if the item is a event before processing the end time.Wang Xin2007-01-081-16/+20
| | | | | | | | | | | | 2007-01-08 Wang Xin <jedy.wang@sun.com> Fixes #389961 * gui/e-cal-model.c:(e_cal_model_set_instance_times): Check if the item is a event before processing the end time. svn path=/trunk/; revision=33115
* Fixes #367183.Chenthill Palanisamy2006-11-201-1/+10
| | | | svn path=/trunk/; revision=33003
* Fixes #332101Chenthill Palanisamy2006-10-171-2/+2
| | | | svn path=/trunk/; revision=32902
* Added support Gw notes.Chenthill Palanisamy2006-07-221-0/+5
| | | | svn path=/trunk/; revision=32378
* Handle the start_time_zone != end_time_zone scenario. FixesHarish Krishnaswamy2006-07-071-0/+22
| | | | | | | | | | 2006-07-07 Harish Krishnaswamy <kharish@novell.com> * gui/e-cal-model.c: (e_cal_model_set_instance_times): Handle the start_time_zone != end_time_zone scenario. Fixes bugzilla.novell.com #190421. svn path=/trunk/; revision=32251
* partially fixes #332911Chenthill Palanisamy2006-05-111-0/+19
| | | | svn path=/trunk/; revision=31971
* Commiting Johnny's patch for adding ' Click to add' feature in Memo.Srinivasa Ragavan2006-04-221-0/+4
| | | | svn path=/trunk/; revision=31857
* Fixes bug 335214Irene Huang2006-04-041-0/+1
| | | | | | | | | | | | 2006-04-04 Irene Huang <Irene.Huang@sun.com> Fixes bug 335214 * gui/e-cal-model.c: (e_cal_view_objects_added_cb): Call e_table_model_pre_change (E_TABLE_MODEL (model)); before deleting row. svn path=/trunk/; revision=31760
* Fixes #330842Chenthill Palanisamy2006-03-221-1/+6
| | | | svn path=/trunk/; revision=31739
* Fixes #334003Chenthill Palanisamy2006-03-131-2/+4
| | | | svn path=/trunk/; revision=31704
* Pass the client along with the id for search to handle cases where theHarish Krishnaswamy2006-02-091-2/+2
| | | | | | | | | | | 2006-02-09 Harish Krishnaswamy <kharish@novell.com> * gui/e-cal-model.c: (e_cal_view_objects_added_cb): Pass the client along with the id for search to handle cases where the same backend source has multiple clients in the view. Remove the FIXME. svn path=/trunk/; revision=31462
* Cleanups: - remove unused vars - remove extraneous semi-colons - add someKjartan Maraas2006-02-081-22/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-09 Kjartan Maraas <kmaraas@gnome.org> * gui/alarm-notify/alarm-notify-dialog.c: (add_alarm_to_notified_alarms_dialog): * gui/alarm-notify/alarm-queue.c: (remove_queued_alarm), (open_alarm_dialog), (menu_item_toggle_callback), (populate): * gui/alarm-notify/alarm.c: (pop_alarm), (alarm_remove): * gui/alarm-notify/config-data.c: (config_data_replace_string_list): * gui/cal-search-bar.c: (regen_query): * gui/calendar-view-factory.c: * gui/calendar-view.c: * gui/comp-editor-factory.c: (edit_existing), (resolve_pending_requests), (impl_editExisting), (impl_editNew): * gui/control-factory.c: * gui/dialogs/cal-attachment-select-file.c: (comp_editor_select_file_attachments): * gui/dialogs/calendar-setup.c: (eccp_get_source_type): * gui/dialogs/comp-editor.c: (comp_editor_class_init), (commit_all_fields), (delete_event_cb), (editor_key_press_event), (menu_file_save_cb), (menu_file_close_cb), (make_icon_from_comp), (comp_editor_focus), (needs_send_cb): * gui/dialogs/delete-comp.c: (delete_component_dialog): * gui/dialogs/e-delegate-dialog.c: * gui/dialogs/event-editor.c: * gui/dialogs/event-page.c: (event_page_fill_widgets), (popup_delete_cb), (list_key_press): * gui/dialogs/meeting-page.c: (remove_clicked_cb), (popup_delete_cb), (button_press_event), (list_key_press), (meeting_page_construct): * gui/dialogs/memo-editor.c: (init_widgets), (memo_editor_set_e_cal), (memo_editor_edit_comp), (memo_editor_send_comp): * gui/dialogs/memo-page.c: * gui/dialogs/recurrence-page.c: (fill_exception_widgets), (exception_add_cb): * gui/dialogs/schedule-page.c: (clear_widgets), (schedule_page_fill_component): * gui/dialogs/task-details-page.c: (task_details_page_fill_timezones), (complete_date_changed): * gui/dialogs/task-editor.c: * gui/dialogs/task-page.c: (task_page_fill_widgets), (popup_delete_cb), (list_key_press): * gui/e-alarm-list.c: (get_alarm_string): * gui/e-cal-component-memo-preview.c: (write_html): * gui/e-cal-component-preview.c: (write_html): * gui/e-cal-list-view-config.c: (e_cal_list_view_config_set_property), (e_cal_list_view_config_get_property), (e_cal_list_view_config_dispose): * gui/e-cal-list-view.c: * gui/e-cal-model-calendar.c: (ecmc_value_at): * gui/e-cal-model-memos.c: (ecmm_value_at): * gui/e-cal-model-tasks.c: (get_due_status), (ecmt_value_at), (ecmt_set_value_at), (ecmt_is_cell_editable), (ecmt_value_is_empty), (e_cal_model_tasks_mark_task_complete), (e_cal_model_tasks_update_due_tasks): * gui/e-cal-model.c: (get_classification), (ecm_get_color_for_component), (e_cal_model_set_default_client), (e_cal_view_objects_modified_cb), (e_cal_model_add_client), (e_cal_model_remove_client), (e_cal_model_set_instance_times): * gui/e-cal-popup.c: (ecalp_part_popup_saveas): * gui/e-calendar-table-config.c: (e_calendar_table_config_set_property), (e_calendar_table_config_get_property), (e_calendar_table_config_dispose): * gui/e-calendar-table.c: (e_calendar_table_class_init): * gui/e-calendar-table.h: * gui/e-calendar-view.c: (e_calendar_view_set_property), (e_calendar_view_get_property), (open_event_with_flags), (e_calendar_view_get_tooltips): * gui/e-cell-date-edit-config.c: (e_cell_date_edit_config_set_property), (e_cell_date_edit_config_get_property), (e_cell_date_edit_config_dispose): * gui/e-cell-date-edit-text.c: * gui/e-comp-editor-registry.c: * gui/e-date-edit-config.c: (e_date_edit_config_set_property), (e_date_edit_config_get_property), (e_date_edit_config_dispose): * gui/e-day-view-config.c: (e_day_view_config_set_property), (e_day_view_config_get_property), (e_day_view_config_dispose): * gui/e-day-view-main-item.c: (e_day_view_main_item_set_arg), (e_day_view_main_item_draw_day_event), (e_day_view_main_item_event): * gui/e-day-view-time-item.c: (e_day_view_time_item_set_arg), (e_day_view_time_item_get_column_width): * gui/e-day-view-top-item.c: (e_day_view_top_item_set_arg), (e_day_view_top_item_draw_long_event), (e_day_view_top_item_draw_triangle), (e_day_view_top_item_event): * gui/e-day-view.c: (process_component), (e_day_view_style_set), (e_day_view_recalc_cell_sizes), (e_day_view_foreach_event), (e_day_view_reshape_resize_long_event_rect_item), (e_day_view_update_long_event_resize), (e_day_view_update_resize), (e_day_view_reshape_long_event), (e_day_view_reshape_day_event), (e_day_view_change_duration_to_start_of_work_day), (tooltip_destroy), (e_day_view_on_text_item_event), (e_day_view_on_editing_stopped): * gui/e-itip-control.c: (e_itip_control_class_init), (find_cal_opened_cb), (find_server), (set_date_label), (ok_clicked_cb): * gui/e-meeting-attendee.c: * gui/e-meeting-list-view.c: (e_meeting_list_view_remove_attendee_from_name_selector): * gui/e-meeting-store.c: (role_to_text), (partstat_to_text), (e_meeting_store_set_value): * gui/e-meeting-time-sel-item.c: (e_meeting_time_selector_item_set_arg), (e_meeting_time_selector_item_paint_all_attendees_busy_periods): * gui/e-meeting-time-sel.c: (e_meeting_time_selector_construct), (e_meeting_time_selector_recalc_date_format): * gui/e-memo-table-config.c: (e_memo_table_config_set_property), (e_memo_table_config_get_property), (e_memo_table_config_dispose): * gui/e-memo-table.c: (e_memo_table_class_init), (task_compare_cb): * gui/e-memos.c: (update_view), (backend_error_cb), (open_ecal): * gui/e-mini-calendar-config.c: (e_mini_calendar_config_set_property), (e_mini_calendar_config_get_property), (e_mini_calendar_config_dispose): * gui/e-pub-utils.c: (is_publish_time), (e_pub_publish): * gui/e-tasks.c: (process_completed_tasks), (backend_error_cb): * gui/e-timezone-entry.c: (e_timezone_entry_destroy): * gui/e-week-view-config.c: (e_week_view_config_set_property), (e_week_view_config_get_property), (e_week_view_config_dispose): * gui/e-week-view-event-item.c: (e_week_view_event_item_draw), (e_week_view_event_item_draw_icons): * gui/e-week-view-main-item.c: (e_week_view_main_item_set_arg): * gui/e-week-view-titles-item.c: (e_week_view_titles_item_set_arg), (e_week_view_titles_item_draw): * gui/e-week-view.c: (process_component), (tooltip_destroy), (tooltip_event_cb), (e_week_view_reshape_event_span), (e_week_view_on_text_item_event), (e_week_view_event_move), (e_week_view_on_editing_stopped), (e_week_view_do_key_press): * gui/gnome-cal.c: (dn_e_cal_view_objects_modified_cb), (dn_e_cal_view_done_cb), (table_selection_change_cb), (gnome_calendar_goto), (focus_current_view), (backend_error_cb), (gnome_calendar_set_selected_time_range), (gnome_calendar_get_current_time_range), (gnome_calendar_get_visible_time_range), (gnome_calendar_delete_selected_occurrence): * gui/goto.c: (goto_dialog): * gui/itip-utils.c: (comp_fb_normalize): * gui/memos-component.c: (create_new_memo), (impl_requestCreateItem): * gui/migration.c: (migrate_memos): * gui/print.c: (print_month_small), (print_day_details), (print_todo_details), (print_comp_item): * gui/tasks-component.c: (create_new_todo), (impl_requestCreateItem): * gui/weekday-picker.c: Cleanups: - remove unused vars - remove extraneous semi-colons - add some comments where assignments were done without using the results later - remove break; statements after return foo; - add casts in some places to be more type correct - rename variables with name clashes - s/if/ifdef in some cases - mark some code static - remove some unused functions - use guint for 1-bit bitfields svn path=/trunk/; revision=31451
* Fixes #324195Chenthill Palanisamy2005-12-191-0/+9
| | | | svn path=/trunk/; revision=30872
* fixes #318777Chenthill Palanisamy2005-11-281-5/+26
| | | | svn path=/trunk/; revision=30693
* gui/e-alarm-list.c gui/e-cal-component-memo-preview.cTor Lillqvist2005-11-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-24 Tor Lillqvist <tml@novell.com> * gui/e-alarm-list.c * gui/e-cal-component-memo-preview.c * gui/e-cal-component-preview.c * gui/e-cal-model.c * gui/e-cell-date-edit-text.c * gui/e-date-time-list.c * gui/e-itip-control.c * gui/e-memos.c * gui/e-tasks.c * gui/itip-utils.c * gui/print.c * gui/alarm-notify/alarm-notify-dialog.c * gui/alarm-notify/util.c * gui/dialogs/alarm-dialog.c * gui/dialogs/alarm-list-dialog.c * gui/dialogs/comp-editor-util.c * gui/dialogs/recurrence-page.c: Include e-time-utils.h from libedataserver instead of using evolution's copy which is going away. svn path=/trunk/; revision=30659
* fixes #266144, #317575.Chenthill Palanisamy2005-10-111-35/+34
| | | | svn path=/trunk/; revision=30503
* fixes #264449.Chenthill Palanisamy2005-10-031-30/+28
| | | | svn path=/trunk/; revision=30467
* Fixes #274188.Chenthill Palanisamy2005-09-301-1/+2
| | | | svn path=/trunk/; revision=30446
* Use g_ascii_strcasecmp() instead of strcasecmp(). We are comparing toTor Lillqvist2005-09-281-3/+3
| | | | | | | | | | | 2005-09-28 Tor Lillqvist <tml@novell.com> * gui/e-cal-model.c (set_classification): Use g_ascii_strcasecmp() instead of strcasecmp(). We are comparing to literal ASCII strings, just casefolding ASCII is enough. Also better for portability. svn path=/trunk/; revision=30393
* source-type is an enum not a pointer!Not Zed2005-08-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-08-23 Not Zed <NotZed@Ximian.com> * gui/e-cal-config.h: source-type is an enum not a pointer! * gui/tasks-component.c (selector_tree_drag_data_received): constify uid. * gui/itip-utils.c (comp_sentby): use the right list type for attendees. * gui/gnome-cal.c (config_categories_changed_cb): fix cast. (setup_widgets): fix casts. * gui/e-tasks.c: add missing e-categories.h include. (config_categories_changed_cb): fix cast. * gui/e-week-view.c (e_week_view_realize): remove unused. * gui/e-select-names-editable.c (e_select_names_editable_get_emails): remve unused. * gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set): remove/comment unused. * gui/e-meeting-store.c (freebusy_async): g* strikes again, use the right lock/unlock function for the g-spastic-mutex. (process_callbacks_main_thread): fix signature to match usage. (refresh_queue_add): cast off warning * gui/e-itip-control.c (cleanup_ecal): fix signature to match use * gui/e-day-view.c (process_component): remove unused vars. (e_day_view_realize): more. (e_day_view_on_event_double_click): cast (e_day_view_update_calendar_selection_time): define out unused * gui/e-calendar-table.c (e_calendar_table_init): more a11y related casts. * gui/e-calendar-view.c (on_edit_appointment): proper boolean conversion of a pointer. (transfer_selected_items): cast (on_unrecur_appointment): remove unused prop (e_calendar_view_open_event): proper boolean conversion of pointer. * gui/e-cal-popup.c (needs_to_accept): remove unused. * gui/e-cal-model.c (set_instance_times): remove unused. :include missing calendar-config. * gui/dialogs/meeting-page.c (clear_widgets): yawn, another gtklabel wawrning. (meeting_page_fill_component): constify attendees. * gui/dialogs/e-send-options-utils.c: remove unused global sod, add missing string.h * gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_construct): remove unused. * gui/dialogs/comp-editor.c (response_cb): wtf, this can't use em_utils!!! #if 0 it out and add a build warning. (cab_popup_position): pointer cast. (set_attachment_list): remove unused. * gui/dialogs/calendar-setup.c (eccp_general_offline): change very incorrect N_ macro to _. (CalendarSourceDialog): Umm, source_type is an enum, not a pointer. (eccp_get_source_color): remove unused. svn path=/trunk/; revision=30217
* Fixes #309991Chenthill Palanisamy2005-07-221-0/+26
| | | | | | | | | | | | | 2005-07-22 Chenthill Palanisamy <pchenthill@novell.com> Fixes #309991 * gui/e-cal-model.c: (ensure_dates_are_in_default_zone), (e_cal_view_objects_added_cb): * gui/gnome-cal.c: (ensure_dates_are_in_default_zone), (dn_e_cal_view_objects_added_cb): If the start date and end date are in UTC convert them to default zone while displaying. svn path=/trunk/; revision=29850
* show the progress indication in the view while downloading calendar itemsChenthill Palanisamy2005-07-021-2/+26
| | | | | | from EDS svn path=/trunk/; revision=29618
* uncomment code that shouldn't be.Rodrigo Moya2005-05-061-9/+9
| | | | | | | | | 2005-05-06 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (e_cal_view_objects_added_cb): uncomment code that shouldn't be. svn path=/trunk/; revision=29278
* Fixes #271679Rodrigo Moya2005-05-061-15/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-05-06 Rodrigo Moya <rodrigo@novell.com> Fixes #271679 * gui/dialogs/comp-editor.c (save_comp): * gui/e-week-view.c (e_week_view_on_editing_stopped, e_week_view_change_event_time): set correct start/end times for individual instances and remove all rules and exceptions. (e_week_view_reshape_event_span): show recurrence icons for detached instances also. * gui/e-day-view.c (e_day_view_finish_resize, e_day_view_finish_long_event_resize, e_day_view_on_editing_stopped, e_day_view_on_top_canvas_drag_data_received, e_day_view_on_main_canvas_drag_data_received, e_day_view_change_event_time): set the correct start/end times when modifying individual instances and remove all rules and exceptions. (e_day_view_on_top_canvas_motion, e_day_view_on_main_canvas_motion): disable D&D for recurring events. (e_day_view_reshape_long_event, e_day_view_reshape_day_event): check for detached instances and show recurrence icons for them also. * gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons): * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event): check for detached instances and show recurrence icons for them also. * gui/e-cal-model.c (set_instance_times): don't use the RECURRENCE-ID to get the datetime. * gui/e-calendar-view.c (e_calendar_view_delete_selected_occurrence): exceptions need to be date only. (e_calendar_view_copy_clipboard): remove RECURRENCE-IDs from components we copy to the clipboard. (e_calendar_view_cut_clipboard): when cutting instances, remove only the selected instances. (on_unrecur_appointment): use MOD_ALL to modify the master object and remove recurrence-id from detached event. * gui/dialogs/recur-comp.c (recur_component_dialog): re-enabled. svn path=/trunk/; revision=29276
* If the status is busy call open method again, do not remove the client. IFChenthill Palanisamy2005-04-081-0/+5
| | | | | | | | | | | | | 2005-04-05 Chenthill Palanisamy <pchenthill@novell.com> * gui/e-cal-model.c: (cal_opened_cb): If the status is busy call open method again, do not remove the client. * gui/gnome-cal.c: (client_cal_opened_cb), (default_client_cal_opened_cb): IF the status is busy and the load_state is not loaded call open method. svn path=/trunk/; revision=29181
* Remove the component from the view, if its already present before addingChenthill Palanisamy2005-02-101-2/+14
| | | | | | | | | | 2005-02-10 Chenthill Palanisamy <pchenthill@novell.com> * gui/e-cal-model.c: (e_cal_view_objects_added_cb): Remove the component from the view, if its already present before adding it. svn path=/trunk/; revision=28763
* set instance times correctly.Rodrigo Moya2005-02-081-29/+8
| | | | | | | | 2005-02-08 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (set_instance_times): set instance times correctly. svn path=/trunk/; revision=28747
* clear the component preview when we update the view.Rodrigo Moya2005-02-041-3/+2
| | | | | | | | | | | | 2005-02-04 Rodrigo Moya <rodrigo@novell.com> * gui/e-tasks.c (update_view): clear the component preview when we update the view. * gui/e-cal-model.c (set_instance_times): use the correct timezone. Removed commented code. svn path=/trunk/; revision=28708
* redo the queries after emitting the 'time_range_changed' signal, since nowRodrigo Moya2005-01-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | 2005-01-03 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (e_cal_model_set_time_range): redo the queries after emitting the 'time_range_changed' signal, since now the views will only update their internal data but not redraw the events on that signal. * gui/e-day-view.c (model_changed_cb): removed, no longer needed. (e_day_view_recalc_day_starts): no need to call e_day_view_update_query. (e_day_view_init): no need to connect to 'model_changed' signal on the model, we already connect to the row/cell_changed ones. * gui/e-week-view.c (time_range_changed_cb): no need to call e_week_view_update_query. (model_changed_cb): removed, no longer needed. (e_week_view_init): no need to connect to 'model_changed' signal on the model, we already connect to the row/cell_changed ones. svn path=/trunk/; revision=28214
* removed superfluous if check. (e_cal_view_objects_modified_cb): add allRodrigo Moya2004-12-271-6/+4
| | | | | | | | | | 2004-12-26 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (search_by_uid_and_client): removed superfluous if check. (e_cal_view_objects_modified_cb): add all objects at once. svn path=/trunk/; revision=28203
* get instance times using the correct timezone. (redo_queries): emitRodrigo Moya2004-12-231-9/+8
| | | | | | | | | | | | | | 2004-12-23 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (set_instance_times): get instance times using the correct timezone. (redo_queries): emit signals before clearing the array. * gui/e-day-view.c (process_component): * gui/e-week-view.c (process_component): no need to try to update, always add. svn path=/trunk/; revision=28192
* Change copyright from ximian to novellJP Rosevear2004-12-221-1/+1
| | | | | | | | 2004-12-22 JP Rosevear <jpr@novell.com> * gui/e-cal-model.c: Change copyright from ximian to novell svn path=/trunk/; revision=28182
* no need to convert times now. (add_instance_cb): no need to convert here.Rodrigo Moya2004-12-221-29/+18
| | | | | | | | | 2004-12-21 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (set_instance_times): no need to convert times now. (add_instance_cb): no need to convert here. svn path=/trunk/; revision=28167
* Merge from recurrences-work-branchRodrigo Moya2004-12-221-123/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-21 Rodrigo Moya <rodrigo@novell.com> Merge from recurrences-work-branch * gui/e-cal-model.c (free_comp_data): renamed to e_cal_model_free_component_data and made it public. (clear_objects_array, e_cal_view_objects_removed_cb, remove_client_objects): use e_cal_model_free_component_data. (get_dtstart): get the DTSTART correctly for recurrences. (add_instance_cb): initialize all members of ECalModelComponent, and use the correct icalcomponent when setting the field. (set_instance_times): new function to set the instance_* fields of the ECalModelComponent when not expanding recurrences. (e_cal_view_objects_added_cb): expand recurrences for all objects when the model is set to expand. Call set_instance_times when not expanding recurrences. (e_cal_view_objects_modified_cb): made it remove objects and re-add them. (copy_ecdv): check values before using them. (e_cal_model_copy_component_data): Added code to copy the instance_* and color fields. * gui/e-cal-model-calendar.c (get_dtend): get the DTEND correctly for recurrences. (ecmc_set_value_at): ask user which instances to modify. * gui/e-day-view.c (e_day_view_find_event_from_uid): changed to search by UID and RID if given. (process_component): changed to not expand recurrences at all, this is now done on the model. (row_deleted_check_cb, remove_uid_cb): removed these functions. (model_rows_deleted_cb): changed to just remove the rows signalled from the model, which is the responsible for the recurrence expansion. (e_day_view_new): set the model to expand recurrences. (e_day_view_remove_event_cb): check the value searched in the array. (e_day_view_do_key_press): use e_day_view_find_event_from_uid correctly. * gui/e-week-view.c (e_week_view_find_event_from_uid): changed to search by UID and RID if given. (process_component_recur_cb): removed. (process_component): changed to not expand recurrences at all, this is now done on the model. (row_deleted_check_cb, remove_uid_cb): removed these functions. (model_rows_deleted_cb): changed to just remove the rows signalled from the model, which is the responsible for the recurrence expansion. (e_week_view_new): set the model to expand recurrences. (e_week_view_remove_event_cb): check the value searched in the array. Set the ECalModelComponent field to NULL after freeing it. (e_week_view_do_key_press): use e_week_view_find_event_from_uid correctly. * gui/dialogs/recur-comp.c (recur_component_dialog): remove the RECURRENCE-ID from the object when modifying all instances. svn path=/trunk/; revision=28166
* convert to G_DEFINE_TYPEJP Rosevear2004-10-141-16/+7
| | | | | | | | | | | | | | | | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * gui/e-cal-list-view-config.c: convert to G_DEFINE_TYPE * gui/e-cal-list-view.c: ditto * gui/e-cal-model-calendar.c: ditto * gui/e-cal-model-tasks.c: ditto * gui/e-cal-model.c: ditto * gui/e-calendar-table-config.c: ditto * gui/e-calendar-table.c: ditto * gui/e-calendar-view.c: ditto svn path=/trunk/; revision=27580
* Fixes #66344JP Rosevear2004-09-241-2/+8
| | | | | | | | | | | | | | | | 2004-09-24 JP Rosevear <jpr@novell.com> Fixes #66344 * gui/e-cal-model-calendar.c (get_dtend): check for existence of property and null time instead of sending through bad data * gui/e-cal-model.c (get_dtstart): ditto * gui/e-cal-model-tasks.c (get_completed): ditto (get_due): ditto svn path=/trunk/; revision=27368
* Fixes #62706JP Rosevear2004-08-171-1/+5
| | | | | | | | | | | 2004-08-16 JP Rosevear <jpr@ximian.com> Fixes #62706 * gui/e-cal-model.c (e_cal_model_set_timezone): set the default timezone on the server svn path=/trunk/; revision=26955
* guard against re-running the same query.Rodrigo Moya2004-08-111-0/+3
| | | | | | | | | 2004-08-10 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (e_cal_model_set_search_query): guard against re-running the same query. svn path=/trunk/; revision=26868
* Fixes #57622Rodrigo Moya2004-08-021-52/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-30 Rodrigo Moya <rodrigo@novell.com> Fixes #57622 * gui/e-cal-model.h: added ECalModelFlags enum type. * gui/e-cal-model.c (e_cal_model_set_flags, e_cal_model_get_flags): new functions. (e_cal_model_init): initialize the new internal field to keep the flags. (e_cal_view_objects_added_cb): expand recurrences if the model flags contain the EXPAND_RECUR bit. (e_cal_view_objects_modified_cb): if EXPAND_RECUR is on, remove all recurrences and regenerate them. (e_cal_view_objects_removed_cb): remove all instances for given UIDs. (add_new_client): killed warning. (get_dtstart): use the instance_start time when dealing with recurrences. * gui/e-cal-model-calendar.c (get_dtend): use the instance_end time when dealing with recurrences. * gui/e-cal-list-view.c (e_cal_list_view_new): set the EXPAND_RECUR flag on the model for the list view. * gui/e-week-view.c (e_week_view_add_event): * gui/e-day-view.c (e_day_view_add_event): fill in the instance's start and end times in the ECalModelComponent struct. * gui/e-calendar-view.c (e_calendar_view_delete_selected_occurrence): use the instance_start field to retrieve the RECUR-ID, now that all the views fill it in. svn path=/trunk/; revision=26790
* Fixes #62006JP Rosevear2004-07-291-1/+3
| | | | | | | | | | | 2004-07-27 JP Rosevear <jpr@novell.com> Fixes #62006 * gui/e-cal-model.c (add_new_client): don't load the events if we are already doing the query svn path=/trunk/; revision=26760
* Fixes #61760JP Rosevear2004-07-241-6/+3
| | | | | | | | | | | 2004-07-23 JP Rosevear <jpr@novell.com> Fixes #61760 * gui/e-cal-model.c (add_new_client): don't check against the URI, just against the client svn path=/trunk/; revision=26720
* include config.h. See #61395.Not Zed2004-07-221-0/+4
| | | | | | | | | | | | | | 2004-07-20 Not Zed <NotZed@Ximian.com> * gui/e-cal-model.c: * importers/icalendar-importer.c: * gui/dialogs/select-source-dialog.c: * gui/dialogs/copy-source-dialog.c: * gui/alarm-notify/util.c: * common/authentication.c: * gui/migration.c: include config.h. See #61395. svn path=/trunk/; revision=26694
* Fixes #57287, 58748JP Rosevear2004-07-141-29/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-12 JP Rosevear <jpr@novell.com> Fixes #57287, 58748 * gui/tasks-component.c (source_added_cb): if the source was added in the main calendar, select it because the user caused this to happen by creating a task (create_component_view): listen for source_added signal on the tasks * gui/gnome-cal.c (view_selection_changed_cb): if the user created a task, make sure we are displaying the relevant event list (set_timezone): set the default zone of the default client (setup_widgets): listen for the user_created signal (gnome_calendar_destroy): clean up default client (client_cal_opened_cb): disconnect from the open signal (default_client_cal_opened_cb): set the default client on the models (open_ecal): make the callback function a param (gnome_calendar_add_source): include the default client when searching for an existing client (gnome_calendar_set_default_source): make the default client independent of the rest of the clients * gui/e-week-view.c (e_week_view_on_editing_stopped): emit user_created signal * gui/e-tasks.c (user_created_cb): if the user created a task, make sure we are displaying the relevant task list (set_timezone): set the timezone on the client (setup_widgets): listen for user_created signal (e_tasks_destroy): unref default client (default_client_cal_opened_cb): set the default on the model when it opens (open_ecal): open a task list (e_tasks_add_todo_source): include the default client when searching for an existing client (e_tasks_set_default_source): make the default client independent of the rest of the clients * gui/e-day-view.c (e_day_view_on_editing_stopped): emit user_created signal * gui/e-calendar-view.h: add signal proto * gui/e-calendar-view.c (e_calendar_view_class_init): add user_created signal * gui/e-calendar-table.h: add signal proto * gui/e-calendar-table.c (e_calendar_table_class_init): add user_created signal (row_appended_cb): if row is appended, emit user_created signal (e_calendar_table_init): listen for row_appended signal * gui/e-cal-model.h: add signal proto * gui/e-cal-model.c (e_cal_model_class_init): add row_appended signal (ecm_append_row): don't leak, emit row appended signal (e_cal_model_set_default_client): remove the existing default if it was only used as the default (update_e_cal_view_for_client): short circuit query create (add_new_client): look for an existing client and update its record if found, handle opening things here (e_cal_model_add_client): just call add_new_client (remove_client_objects): just remove a client's objects (remove_client): use above, handle removal of client if its default * gui/calendar-component.c (source_added_cb): if the source was added in the main calendar, select it because the user caused this to happen by creating an appointment (create_component_view): listen for source_added signal on the calendar svn path=/trunk/; revision=26644
* as belowRadek Doulik2004-07-131-8/+8
| | | | | | | | | | | | | | | | | | 2004-07-08 Radek Doulik <rodo@ximian.com> * gui/e-cal-model.c (e_cal_model_date_value_to_string): as below * gui/e-cal-model-calendar.c (ecmc_value_to_string): as below * gui/e-cal-model.c (ecm_value_to_string): as below * gui/e-cal-model-tasks.c (ecmt_value_to_string): dup the string value, it's free-ed later. instead of returning NULL return g_strdup ("") as gal does Fixes #56271 svn path=/trunk/; revision=26634
* removed g_assert call, since we shouldn't crash when getting wrongRodrigo Moya2004-06-111-1/+2
| | | | | | | | | | 2004-06-10 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (e_cal_view_objects_modified_cb): removed g_assert call, since we shouldn't crash when getting wrong notifications from a backend. svn path=/trunk/; revision=26312
* use e_cal_generate_instances_for_object instead ofRodrigo Moya2004-05-141-7/+1
| | | | | | | | | | | | | | 2004-05-14 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.c (process_component): * gui/e-week-view.c (process_component): * gui/gnome-cal.c (gnome_calendar_purge): * gui/tag-calendar.c (tag_calendar_by_comp): * gui/e-cal-model.c (e_cal_model_generate_instances): use e_cal_generate_instances_for_object instead of e_cal_recur_generate_instances. svn path=/trunk/; revision=25905
* Fixes #52294JP Rosevear2004-05-071-8/+44
| | | | | | | | | | | | | | | | | 2004-05-07 JP Rosevear <jpr@ximian.com> Fixes #52294 * gui/e-cal-model.c (set_dtstart): set the tzid properly (ecm_is_cell_editable): set check properly * gui/e-cal-model-tasks.c (set_due): set the tzid properly (ecmt_is_cell_editable): set check properly * gui/e-cal-model-calendar.c (set_dtend): set the tzid properly (ecmc_is_cell_editable): kill fixme and set check properly svn path=/trunk/; revision=25825
* fix comment and checkJP Rosevear2004-05-071-3/+1
| | | | | | | | | | | | 2004-05-07 JP Rosevear <jpr@ximian.com> * gui/e-cal-model.c (ecm_is_cell_editable): fix comment and check * gui/e-cal-model-tasks.c (ecmt_set_value_at): set a parent field properly (ecmt_is_cell_editable): fix comment and check svn path=/trunk/; revision=25823
* use the source color if it is set. Yay for ugly colors.Larry Ewing2004-04-301-2/+22
| | | | | | | | | | | | 2004-04-29 Larry Ewing <lewing@ximian.com> * gui/e-cal-model.c (ecm_get_color_for_component): use the source color if it is set. Yay for ugly colors. * gui/e-cal-model.h: add a color holder to the ECalModelComponent since the return value of the color stuff is const. svn path=/trunk/; revision=25696
* kill warningJP Rosevear2004-04-301-2/+0
| | | | | | | | 2004-04-29 JP Rosevear <jpr@ximian.com> * gui/e-cal-model.c (e_cal_model_set_default_client): kill warning svn path=/trunk/; revision=25692
* just add the client, we have protection against re-adding it any howJP Rosevear2004-04-081-15/+9
| | | | | | | | | | 2004-04-07 JP Rosevear <jpr@ximian.com> * gui/e-cal-model.c (e_cal_model_set_default_client): just add the client, we have protection against re-adding it any how (cal_opened_cb): stop listening to the open signal svn path=/trunk/; revision=25359
* guard against the case that we redo queries while still waiting for aJP Rosevear2004-03-271-0/+4
| | | | | | | | | | 2004-03-26 JP Rosevear <jpr@ximian.com> * gui/e-cal-model.c (update_e_cal_view_for_client): guard against the case that we redo queries while still waiting for a client to open svn path=/trunk/; revision=25205
* Fixes #53134JP Rosevear2004-03-271-2/+4
| | | | | | | | | | | | 2004-03-26 JP Rosevear <jpr@ximian.com> Fixes #53134 * gui/e-cal-model.c (get_description): make sure to set the string to NULL so that if this component doesn't have a description we don't double free next time we are called svn path=/trunk/; revision=25204
* finds the client data for a client (cal_opened_cb): update the queryJP Rosevear2004-03-271-30/+61
| | | | | | | | | | | | | | | | 2004-03-26 JP Rosevear <jpr@ximian.com> * gui/e-cal-model.c (find_client_data): finds the client data for a client (cal_opened_cb): update the query (add_new_client): return client data (e_cal_model_add_client): add the client immediately no matter what, and possibly wait for it to open (remove_client): guard against NULL query (e_cal_model_remove_client): use find_client_data (e_cal_model_dispose): guard against a NULL query svn path=/trunk/; revision=25200
* fix off by one error when emitting deleted signalJP Rosevear2004-03-261-1/+1
| | | | | | | | | 2004-03-25 JP Rosevear <jpr@ximian.com> * gui/e-cal-model.c (remove_client): fix off by one error when emitting deleted signal svn path=/trunk/; revision=25193
* remove unused variableJP Rosevear2004-03-241-2/+2
| | | | | | | | | | | | | | | | | | 2004-03-23 JP Rosevear <jpr@ximian.com> * gui/dialogs/copy-source-dialog.c (copy_source): remove unused variable * gui/e-cal-model.c (e_cal_model_copy_component_data): make the precondition return NULL * gui/control-factory.c (get_prop): make sure this code isn't reached * gui/calendar-component.c (calendar_component_peek_source_selector): cast to kill warning svn path=/trunk/; revision=25159
* Fixes #55716JP Rosevear2004-03-201-0/+4
| | | | | | | | | | | 2004-03-19 JP Rosevear <jpr@ximian.com> Fixes #55716 * gui/e-cal-model.c (remove_client): unset the default if the client removed was the default svn path=/trunk/; revision=25132
* set the search query (e_tasks_init): set the query to be #t by defaultJP Rosevear2004-03-161-1/+3
| | | | | | | | | | | | 2004-03-15 JP Rosevear <jpr@ximian.com> * gui/e-tasks.c (search_bar_sexp_changed_cb): set the search query (e_tasks_init): set the query to be #t by default * gui/e-cal-model.c (redo_queries): use the search query if there is one (and no time is set), make sure to dup the #f svn path=/trunk/; revision=25085
* Rename e-cal-view to e-calendar-view and fix includesJP Rosevear2004-03-161-0/+2
| | | | | | | | | | | | | | | 2004-03-15 JP Rosevear <jpr@ximian.com> * Rename e-cal-view to e-calendar-view and fix includes * gui/dialogs/comp-editor-page.c (comp_editor_page_fill_widgets): pre-conditions should return FALS * gui/e-cal-model.c (copy_ecdv): return the new struct * gui/Makefile.am: build renamed files svn path=/trunk/; revision=25075
* Fixes #52253JP Rosevear2004-03-161-66/+231
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-15 JP Rosevear <jpr@ximian.com> Fixes #52253 * gui/print.c (print_week_summary_cb): copy component data * gui/gnome-cal.c (get_times_for_views): calculate the time range for each view (set_search_query): set the search query on the model (set_week_start): set the week start day (week_start_changed_cb): track if it changes (setup_config): set its notification (setup_widgets): update the view times and date navigator (gnome_calendar_init): remove dead values (gnome_calendar_goto_date): just calc the new time and let update_view_times handle it (gnome_calendar_goto): ditto (gnome_calendar_direction): ditto o (gnome_calendar_set_selected_time_range): ditto (gnome_calendar_dayjump): ditto (update_view_times): set the time ranges on the models (set_view): use the new preserve day setting (gnome_calendar_set_view): don't update the view times, just switch (gnome_calendar_get_selected_time_range): get the time range (gnome_calendar_on_date_navigator_selection_changed): don't re-update the date navigator, centralize the view setting * gui/e-week-view.c (time_range_changed_cb): handle the time range changing (process_component): move here (model_changed_cb): handle the model changing (update_row): updated a changed row (model_row_changed_cb): update a row (model_cell_changed_cb): ditto (model_rows_inserted_cb): handle events being added (row_deleted_check_cb, remove_uid_cb, model_rows_deleted_cb): handle events being deleted (timezone_changed_cb): handle timezone changing (e_week_view_init): create the model and listen to it (e_week_view_new): don't create the model here (e_week_view_set_selected_time_range): no need to cast (e_week_view_set_first_day_shown): ditto (e_week_view_set_weeks_shown): ditto (e_week_view_update_event_cb): free and copy the data using new routines (e_week_view_foreach_event): step through every event (e_week_view_remove_event_cb): we no longer track allocated status (e_week_view_on_button_release): don't set the seleciton in the calendar (e_week_view_free_events): free the data with the util (e_week_view_add_event): no need to track allocated status (e_week_view_on_adjustment_changed): no need to cast * gui/e-day-view.c (e_day_view_class_init): update query is no longer used via class method (time_range_changed_cb): handle the time range changing (process_component): move here (model_changed_cb): handle the model changing (update_row): updated a changed row (model_row_changed_cb): update a row (model_cell_changed_cb): ditto (model_rows_inserted_cb): handle events being added (row_deleted_check_cb, remove_uid_cb, model_rows_deleted_cb): handle events being deleted (timezone_changed_cb): handle timezone changing (e_day_view_init): create a model, connect to its signals (e_day_view_destroy): we don't have our own query anymore (e_day_view_update_event_cb): free and copy the data using new routines (e_day_view_remove_event_cb): we no longer track allocated status (e_day_view_set_selected_time_range): actually set the selection (e_day_view_recalc_day_starts): no need to cast (e_day_view_recalc_work_week): ditto (e_day_view_update_calendar_selection_time): don't call back to the main calendar (e_day_view_free_event_array): use the free util (e_day_view_add_event): don't track allocated status * gui/e-calendar-marshal.list: add marshaller * gui/e-cal-view.h: remove field * gui/e-cal-view.c: no longer listen for model signals (e_calendar_view_class_init): make the model arg not construct time * gui/e-cal-model.h: update/add protos * gui/e-cal-model.c (e_cal_model_class_init): set the dispose handler and add a time_range_changed signal (e_cal_model_init): defaults for queries (e_cal_model_dispose): dispose of things (e_cal_model_finalize): remove bits that are in dispose now (search_by_uid_and_client): allow NULL client to find any uid (e_cal_view_objects_added_cb): ref the client (update_e_cal_view_for_client): use the full query (remove_client): pre change for each row and emit deleted signals (redo_queries): relaunch the query for each client (e_cal_model_get_time_range): get the time range (e_cal_model_set_time_range): set the time range and redo the queries (e_cal_model_set_search_query): get the search query (e_cal_model_set_search_query): set the search query and redo the queries (e_cal_model_get_component_for_uid): get the component info based on uid (copy_ecdv): copy and ECellDateEditValue (e_cal_model_copy_component_data): copy component data (e_cal_model_free_component_data): unref the client svn path=/trunk/; revision=25072
* return "" instead of NULL if there is no default_category set. FixesNot Zed2004-03-121-1/+1
| | | | | | | | | 2004-03-12 Not Zed <NotZed@Ximian.com> * gui/e-cal-model.c (ecm_initialize_value): return "" instead of NULL if there is no default_category set. Fixes #53419. svn path=/trunk/; revision=25042
* prevent from adding the same client more than once.Rodrigo Moya2004-03-041-0/+3
| | | | | | | | | 2004-03-03 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-model.c (e_cal_model_add_client): prevent from adding the same client more than once. svn path=/trunk/; revision=24951
* don't assert if we can't find the component, just continue with next itemRodrigo Moya2004-01-221-1/+2
| | | | | | | | | | 2004-01-22 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-model.c (e_cal_view_objects_removed_cb): don't assert if we can't find the component, just continue with next item in the list. svn path=/trunk/; revision=24365
* month and week view printing works again, day view is next to fixRadek Doulik2004-01-181-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | 2004-01-18 Radek Doulik <rodo@ximian.com> * gui/print.c (print_border_with_triangles): use rgb color as fillcolor (print_week_day_event): ditto * gui/e-cal-model.c (e_cal_model_get_rgb_color_for_component): new helper function, gets component color as rgb double values * gui/print.c (print_week_summary_cb): uncommented and updated for e_cal_model_generate_instances (print_week_summary): use e_cal_model_generate_instances (print_border_with_triangles): pass rgb fillcolor (print_border_rgb): new function to print border with rgb color background * gui/e-cal-model.c (e_cal_model_generate_instances): new function, similar to e_cal_generate_instances. see comments to understand how to use cb_data svn path=/trunk/; revision=24292
* make sure timezone value is sane (get_completed): dittoJP Rosevear2003-11-201-2/+2
| | | | | | | | | | | | | | 2003-11-19 JP Rosevear <jpr@ximian.com> * gui/e-cal-model-tasks.c (get_due): make sure timezone value is sane (get_completed): ditto * gui/e-cal-model.c (get_dtstart): add more guards * gui/e-cal-model-calendar.c (get_dtend): ditto svn path=/trunk/; revision=23442
* make sure the timezone value is saneJP Rosevear2003-11-191-5/+5
| | | | | | | | | | | 2003-11-18 JP Rosevear <jpr@ximian.com> * gui/e-cal-model.c (get_dtstart): make sure the timezone value is sane * gui/e-cal-model-calendar.c (get_dtend): ditto svn path=/trunk/; revision=23435
* emit the added signal for the correct rowsJP Rosevear2003-11-171-8/+5
| | | | | | | | | 2003-11-16 JP Rosevear <jpr@ximian.com> * gui/e-cal-model.c (e_cal_view_objects_added_cb): emit the added signal for the correct rows svn path=/trunk/; revision=23375
* add it via e-tasks (remove_uri_for_source): remove it via e-tasksJP Rosevear2003-11-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-16 JP Rosevear <jpr@ximian.com> * gui/tasks-component.c (add_uri_for_source): add it via e-tasks (remove_uri_for_source): remove it via e-tasks (get_default_task): provide a default for editing (impl_createControls): create the control directly (impl_requestCreateItem): implement * gui/gnome-cal.c (gnome_calendar_purge): don't let the two list iterators clobber each other * gui/e-tasks.h: add protos * gui/e-tasks.c (e_tasks_destroy): free the client list and the hash, disconnect signals (e_tasks_new_task): use the default client (e_tasks_add_todo_uri): add a uri (e_tasks_remove_todo_uri): remove a uri (e_tasks_set_default_uri): set default uri (e_tasks_get_default_client): get default client (e_tasks_delete_completed): expunge from all clients (e_tasks_setup_view_menus): use default client uri * gui/e-tasks.c (set_timezone): set the timezone for all clients (e_tasks_init): set up the clients has table * gui/e-calendar-table.etspec: yank some useless display columns * gui/e-cal-model.c (remove_client): remove objects in reverse order so we don't clobber ourselves * gui/calendar-component.c: add FIXME svn path=/trunk/; revision=23373
* use a standard calendar status (backend_cal_opened_online): dittoJP Rosevear2003-11-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | 2003-11-11 JP Rosevear <jpr@ximian.com> * gui/calendar-offline-handler.c (backend_cal_opened_offline): use a standard calendar status (backend_cal_opened_online): ditto * gui/alarm-notify/alarm-queue.c (cal_opened_cb): ditto * gui/gnome-cal.c (client_cal_opened_cb): ditto * gui/e-tasks.c (cal_opened_cb): ditto * gui/e-itip-control.c (default_server_started_cb): ditto * gui/e-cal-model.c (cal_opened_cb): ditto * gui/comp-editor-factory.c (cal_opened_cb): ditto svn path=/trunk/; revision=23286
* Remove get-vtype check from the completed-tasks query (and don't leak theDan Winship2003-11-111-36/+1
| | | | | | | | | | | | | * gui/e-tasks.c (e_tasks_delete_completed): Remove get-vtype check from the completed-tasks query (and don't leak the sexp string). * gui/e-cal-model.c (update_e_cal_view_for_client): Don't adjust the sexp to use get-vtype. * gui/gnome-cal.c (adjust_e_cal_view_sexp, gnome_calendar_purge): Remove get-vtype check from queries svn path=/trunk/; revision=23263
* Various changes to merge in evolution-data-server reliance.JP Rosevear2003-11-071-57/+57
| | | | svn path=/trunk/; revision=23206
* fixed typo in menu item label.Rodrigo Moya2003-10-291-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-29 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-component.c (fill_popup_menu_callback): fixed typo in menu item label. * gui/e-cal-model.[ch] (e_cal_model_get_use_24_hour_format): new function. * gui/e-cal-view.[ch]: no need to keep the 'use_24_hour' setting, it's already in the model. (e_cal_view_get_use_24_hour_format, e_cal_view_set_use_24_hour_format): new functions. * gui/e-day-view.[ch] (e_day_view_get_24_hour_format, (e_day_view_set_24_hour_format): removed. (e_day_view_convert_time_to_display, e_day_view_update_event_label, e_day_view_get_time_string_width): use the ECalView's function to get the 24 hour format. * gui/e-week-view.[ch] (e_week_view_get_24_hour_format, e_week_view_set_24_hour_format): removed. (e_week_view_convert_time_to_display, e_week_view_get_time_string_width): use the ECalView's function to get the 24 hour format. * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): * gui/e-day-view-time-item.c (e_day_view_time_item_draw): * gui/e-week-view-event-item.c (e_week_view_draw_time): don't use the view's use_24_hour_format, but the ECalView method. svn path=/trunk/; revision=23113
* changed fill_component_from_model virtual method to get an ETableModel,Rodrigo Moya2003-10-271-3/+2
| | | | | | | | | | | | | | | | | 2003-10-27 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-model.h: changed fill_component_from_model virtual method to get an ETableModel, not an ECalModel. * gui/e-cal-model.c (ecm_append_row): the source model sent from ETable is an ETableModel, not an ECalModel. * gui/e-cal-model-calendar.c (ecmc_fill_component_from_model): get an ETableModel for the 'source_model' argument. * gui/e-cal-model-tasks.c (ecmt_fill_component_from_model): ditto. svn path=/trunk/; revision=23082
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-221-115/+167
| | | | svn path=/trunk/; revision=22965
* Add e-cal-list-view.etspec. (libevolution_calendar_la_SOURCES): AddHans Petter Jansson2003-10-101-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-10 Hans Petter Jansson <hpj@ximian.com> * calendar/gui/Makefile.am (etspec_DATA): Add e-cal-list-view.etspec. (libevolution_calendar_la_SOURCES): Add e-cal-list-view.[ch]. * calendar/gui/calendar-commands.c (show_list_view_clicked): Implement. (calendar_get_text_for_folder_bar_label): Add case for list view. Use month case and tweak it so it doesn't show "%d - %d" if the time span contains only one day. (verbs): Add list view. (pixmaps): Add list view. * calendar/gui/calendar-view-factory.c (calendar_view_factory_get_title): Add list view case. (calendar_view_factory_get_type_code): Add list view case. * calendar/gui/control-factory.c (get_prop): Add list view case. * calendar/gui/e-cal-model.c (get_classification): Fix to conform to updated libical. (ecm_set_value_at): Add missing break statements. (ecm_get_color_for_component): Add braces for clarity. * calendar/gui/gnome-cal.c (gnome_calendar_get_current_view_widget): Add list view case. (get_focus_location): Add list view case. (connect_list_view_focus): Implement. (setup_widgets): Set up list view. (gnome_calendar_direction): Add list view case. (set_view): Add list view case. (gnome_calendar_setup_view_menus): Add list view factory. (gnome_calendar_construct): Account for list view. (gnome_calendar_update_config_settings): Account for list view. (get_days_shown): Implement list view case. * calendar/gui/gnome-cal.h (GnomeCalendarViewType): Add list view. * calendar/gui/e-cal-list-view.[ch]: Implement ECalListView, subclassing ECalView. * ui/evolution-calendar.xml: Add calendar list view task button. * art/listview.xpm: Add calendar list view icon. svn path=/trunk/; revision=22850
* Import new libical from mainline HEAD and make appropriate changes toHans Petter2003-09-121-3/+14
| | | | | | Evolution. svn path=/trunk/; revision=22538
* Merged from calendar-views-with-model branchRodrigo Moya2003-08-201-28/+96
| | | | svn path=/trunk/; revision=22308
* Merged missing bits from branchRodrigo Moya2003-08-091-35/+204
| | | | svn path=/trunk/; revision=22152
* Merge new-calendar-branch into HEADRodrigo Moya2003-08-081-0/+1303
svn path=/trunk/; revision=22129