2001-07-03 Damon Chaplin <damon@ximian.com>
* backend/ebook/Makefile.am (evolution_vcard_importer_LDADD):
added $(BONOBO_CONF_LIBS) to get it to compile.
svn path=/trunk/; revision=10734
2001-07-03 Damon Chaplin <damon@ximian.com>
* src/libical/icalcomponent.c (icalcomponent_merge_component): fixed
bad assertion, '!=' -> '=='.
(icalcomponent_merge_vtimezone): get the TZID from vtimezone, not comp.
svn path=/trunk/; revision=10733
2001-07-03 Damon Chaplin <damon@ximian.com>
* pcs/cal-backend.[hc]: added virtual method to get a VTIMEZONE
component given a TZID. We need this to resolve TZIDs when expanding
an event using cal_recur_generate_instances() in query.c.
* pcs/cal-backend-file.c (cal_backend_file_get_timezone): implemented
virtual method.
(cal_backend_file_update_object): fixed bug, kind -> child_kind.
* pcs/query.c (func_occur_in_time_range): use the virtual method for
resolving TZIDs. The other way didn't work anyway, as we didn't have
the entire VCALENDAR with VTIMEZONEs in it.
* gui/dialogs/recurrence-page.c (init_widgets):
(make_ending_until_special): moved the call to
e_date_edit_set_get_time_callback() from init_widgets to
make_ending_until_special(), since that is where the widget gets
created.
* gui/e-timezone-entry.c (e_timezone_entry_set_timezone): handle zone
being NULL.
svn path=/trunk/; revision=10732
2001-07-02 Federico Mena Quintero <federico@ximian.com>
* gui/dialogs/alarm-options.[ch]: New files with the alarm options
dialog; this configures the repeat/duration properties and the
options specific to each alarm action type.
* gui/dialogs/alarm-page.c (AlarmPagePrivate): Added the alarm
options button. Also, keep an alarm structure which we are
editing and an alarm options dialog.
(init_widgets): Connect to the options button.
(add_clicked_cb): Clone the component we are editing instead of
creating a new one so that we preserve the data from the alarm
options dialog.
(button_options_clicked_cb): Pop up the alarm options dialog.
* cal-util/cal-component.c (cal_component_alarm_new): Doh,
initialize the other fields in the new alarm.
svn path=/trunk/; revision=10731
2001-07-03 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text.c (e_text_point): If lines is NULL here split
into lines and just return that the point is outside this text
object.
svn path=/trunk/; revision=10730
2001-07-02 Damon Chaplin <damon@ximian.com>
* e-calendar-item.c:
* e-cell-date-edit.c:
* e-dateedit.c: added functions to set a callback to get the current
time, which is used instead of localtime(). We need this as we have to
use our own timezones.
svn path=/trunk/; revision=10728
2001-07-02 Christopher James Lahey <clahey@ximian.com>
* e-tree-sorted.c (ets_destroy): Only free the root here if it's
non-NULL.
svn path=/trunk/; revision=10726
2001-07-02 Christopher James Lahey <clahey@ximian.com>
* e-table-header-item.c (ethi_header_context_menu): Made the
remove this column menu item greyed out if it's the last column.
svn path=/trunk/; revision=10725
2001-07-02 JP Rosevear <jpr@ximian.com>
* gui/calendar-commands.c (publish_freebusy_cmd): publish
free/busy information for the currently viewed time range
svn path=/trunk/; revision=10723
2001-07-02 Christopher James Lahey <clahey@ximian.com>
* gui/component/Makefile.am (evolution_addressbook_LDADD): Added
$(BONOBO_CONF_LIBS).
* gui/component/select-names/e-select-names.c
(e_select_names_create_categories),
gui/contact-editor/e-contact-editor.c (categories_clicked):
Switched to an ECategoriesMasterListWombat instead of an
ECategoriesMasterListArray here.
svn path=/trunk/; revision=10722
2001-07-02 Christopher James Lahey <clahey@ximian.com>
* Makefile.am (libeutil_la_SOURCES): Added
e-categories-master-list-wombat.c and
e-categories-master-list-wombat.h.
(INCLUDES): Added $(BONOBO_CONF_CFLAGS).
* e-categories-master-list-wombat.c,
e-categories-master-list-wombat.h: New class implementing a master
list that stores its state using bonobo-conf.
svn path=/trunk/; revision=10720
2001-07-02 Sam Creasey <sammy@oh.verio.com>
* mail-account-editor-news.c: Added an MailAccountEditorNews, for
NNTP configuratuion. Based on MailAccountEditor, but stripped.
* Makefile.am: added mail-account-editor-news.c and
mail-account-editor-news.h to SOURCES if ENABLE_NNTP is defined.
* mail-accounts.c (load_news): Moved this function, and fixed some
slight brokenness.
(news_edit): Added functional code using MailAccountEditorNews
(news_add): Added functional code using news_edit after
allocation.
* mail-config.glade: news_editor_window widget added. Used by
MailAccountEditorNews.
* mail-display.c (save_data_cb): Store the pathname used when
saving messages so that the next save box will default to the
previous path.
* message-browser.c (message_browser_new): add signal handler for
size_allocate on the message browser. Thus new windows are size
as they were last allocated.
(message_browser_size_allocate_cb): handler to store allocations.
* message-list.c (message_list_setup_etree): connect to the
info_changed signals for the state of the message_list->tree.
Save the folder state to disk, so that when additional
message_lists are created, they are consistant. e.g. the next
buttons do the same thing in the browser, and in the message
viewer after changing sorting options.
* subscribe-dialog.c (build_tree): freeze sc->folder model while
building the tree. Not doing so takes a very long time over 40000
newsgroups.
svn path=/trunk/; revision=10719
2001-07-02 Christopher James Lahey <clahey@ximian.com>
* configure.in: Made evolution depend on bonobo-conf 0.2.
From calendar/ChangeLog:
2001-07-02 Christopher James Lahey <clahey@ximian.com>
* gui/Makefile.am (INCLUDES): Added $(BONOBO_CONF_CFLAGS).
(evolution_calendar_LDADD): Added $(BONOBO_CONF_LIBS).
From composer/ChangeLog:
2001-07-02 Christopher James Lahey <clahey@ximian.com>
* Makefile.am (INCLUDES): Added $(BONOBO_CONF_CFLAGS).
From shell/ChangeLog:
2001-07-02 Christopher James Lahey <clahey@ximian.com>
* Makefile.am (INCLUDES): Added $(BONOBO_CONF_CFLAGS).
(evolution_LDADD): Added $(BONOBO_CONF_LIBS).
svn path=/trunk/; revision=10718
2001-07-02 Sam Creasey <sammy@oh.verio.com>
* filter-int.c: Added an integer type for filtering values. used
for size.
* Makefile.am (SOURCES): added filter-int.c, filter-int.h
* filtertypes.xml: added a part entry for size based filters
svn path=/trunk/; revision=10717
2001-07-02 Sam Creasey <sammy@oh.verio.com>
* providers/nntp/camel-nntp-folder.c: Implemented
nntp_folder_search_by_expression and
nntp_folder_search_free. Basic search functionality e.g. unread
marking now works for NNTP folders.
* camel_filter_search.c (get_size): Added get-size sexp directive
to get the size of a message for filters.
* providers/nntp/camel-nntp-folder.c (camel_nntp_folder_new):
Always check with the NNTP server after summary load -- this
function now always expires old summary entries and syncs with
the news server.
* providers/nntp/camel-nntp-utils.c (camel_nntp_get_headers):
Only fetch headers for articles not already logged in
the summary file.
* providers/nntp/camel-nntp-grouplist.c
(camel_nntp_get_grouplist_from_*): change from g_list_append()
to g_list_prepend() + g_list_reverse. Traversing 40,000
element linked lists sucks.
* providers/nntp/camel-nntp-store.c (camel_nntp_command):
Should the NNTP connection die with
CAMEL_EXCEPTION_SERVICE_NOT_CONNECTED, make a single retry
attempt. Timing out the NNTP link is less painful this way.
svn path=/trunk/; revision=10716
2001-07-02 Federico Mena Quintero <federico@ximian.com>
Support for ATTACH, DESCRIPTION properties in alarm components.
* cal-util/cal-component.c (scan_alarm_property): Deal with
ATTACH, DESCRIPTION properties.
(cal_component_alarm_get_attach): New function. Libical is
actually bogus; supposedly icalattachtype structures are
refcounted but the property functions return them by value.
(cal_copmonent_alarm_set_attach): New function.
(cal_component_alarm_get_description): New function.
(cal_component_alarm_set_description): New function.
svn path=/trunk/; revision=10714
2001-07-02 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c (eti_event): Don't send the double click signal
if there's no row selected.
svn path=/trunk/; revision=10712
2001-07-02 Jeffrey Stedfast <fejj@ximian.com>
* mail-accounts.c (construct): Setup the Empty Trash On Exit
widgets.
* mail-config.c (config_read): Option to emtpy trash on exit.
(mail_config_write_on_exit): Same.
(mail_config_set_empty_trash_on_exit): Set the option.
(mail_config_get_empty_trash_on_exit): Get the option.
* component-factory.c (owner_unset_cb): Empty the trash folders if
the user set the "empty trash on exit" option.
svn path=/trunk/; revision=10711
2001-07-02 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (transfer_msg): Updated for the
mail_transfer_messages API.
* folder-browser.c (message_list_drag_data_recieved): Update for
the mail_transfer_messages API.
(selection_received): Same.
* mail-ops.c (mail_transfer_messages): Renamed from
mail_do_transfer_messages and also added a callback/data arguments
since we need it component_factory::xfer_folder.
* component-factory.c (xfer_folder): Use mail_transfer_messages
instead.
(destination_folder_handle_drop): Update to pass in a NULL
callback arg and a NULL data argument to mail_transfer_messages.
svn path=/trunk/; revision=10710
* configure.in: Check for gtkhtml 0.9.99.1.
2001-07-02 Larry Ewing <lewing@ximian.com>
* mail-display.c (save_part): move the saving logic out of save_cb
so that we can reuse it for the image saving code.
(save_cb): call save_part.
(save_url): new function to resolve an save an html url.
(image_save_as): save function for images and. Add it to the
link_menu, and add MASK_URL and MASK_SRC to the structure so that
we cans show the proper menus.
(html_button_press_event): call get_src as well to find external
urls references. Add popup masking.
svn path=/trunk/; revision=10707
2001-07-02 Federico Mena Quintero <federico@ximian.com>
Support for repeat/duration properties in alarm components.
* cal-util/cal-component.h (CalAlarmRepeat): New structure that
pairs the repeat/duration values of an alarm component, which must
be set both together or not set at all.
* cal-util/cal-component.c (CalComponentAlarm): Added fields for
the repeat and duration properties.
(scan_alarm_property): Scan the DURATION and REPEAT properties.
(make_alarm): Nullify/initialize all the fields in the alarm.
(cal_component_alarm_get_repeat): New function.
(cal_component_alarm_set_repeat): New function.
* gui/dialogs/alarm-page.glade: Changed the label of display
alarms from "Show a dialog" to "Display a message".
svn path=/trunk/; revision=10706
2001-07-02 Anna Marie Dirks <anna@ximian.com>
* filter-rule.c (get_widget): Changed "Add criterion" button to have
normal button relief in response to complaints of it not appearing
clickable.
* filter-filter.c: Changed "Add action" button to have normal button
relief in response to complaints of it not appearing clickable.
svn path=/trunk/; revision=10705
2001-07-02 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (attach_to_multipart): Set the
user-chosen charset.
* e-msg-composer.c (menu_change_charset_cb): New callback function
to get the user-set charset.
(init): Set the charset to NULL.
(best_charset): Take a default_charset param that holds the value
the user set for this particular message using the menu.
(destroy): Free the charset.
svn path=/trunk/; revision=10704
2001-07-02 Anna Marie Dirks <anna@ximian.com>
*misc/e-filter-bar.c (option_changed): Specified a default size
for the Advanced Search dialog such that when it first appear, it
is large enough to view all parts of a search clause without
the user needing to resize it.
svn path=/trunk/; revision=10703
2001-07-02 Jeffrey Stedfast <fejj@ximian.com>
* e-charset-picker.c (e_charset_picker_bonobo_ui_populate): Take a
callback function and user_data so that we can add listeners to
each of the menu items.
svn path=/trunk/; revision=10702
2001-07-02 JP Rosevear <jpr@ximian.com>
* gui/dialogs/task-details-page.c
(task_details_page_fill_widgets): fill in delegated from field
svn path=/trunk/; revision=10701
2001-07-02 Rodrigo Moya <rodrigo@ximian.com>
* evolution-tasks.xml: make the 'Task Preferences' menu item appear
as the first item in the 'Tools' menu
svn path=/trunk/; revision=10700
2001-07-02 Rodrigo Moya <rodrigo@ximian.com>
* gui/dialogs/task-page.c (categories_clicked_cb):
* gui/dialogs/event-page.c (categories_clicked_cb): use the new
self-contained e_categories_config_open_dialog_for_entry() function
* gui/e-week-view-event-item.c (e_week_view_item_draw_icons):
* gui/e-day-view-top-item.c (e_day_view_reshape_long_event):
(e_day_view_reshape_day_event): ditto
* gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
use e_categories_config_get_icon_for() to retrieve the icon
associated with each category
svn path=/trunk/; revision=10699
2001-07-02 Rodrigo Moya <rodrigo@ximian.com>
* e-categories-config.[ch]: new file for a set of functions for
managing category-related (icons, colors) configuration
svn path=/trunk/; revision=10698
2001-07-02 JP Rosevear <jpr@ximian.com>
* gui/e-itip-control.c (send_freebusy): implement
* cal-util/cal-component.c (set_attendee_list): add the delto
property rather than the delfrom property twice
* gui/dialogs/task-editor.c (task_editor_edit_comp): show
delegation info if appropriate
(delegate_task_cmd): delegate command
(cancel_task_cmd): cancel command
(refresh_task_cmd): refresh command
* gui/dialogs/task-details-page.c: Load new widgets
(task_details_page_show_delegation): show/hide delegation info widgets
* gui/dialogs/task-details-page.h: new proto
* gui/dialogs/event-editor.c (event_editor_edit_comp): free
attendee list when finished
* gui/dialogs/comp-editor.c (setup_widgets): explicitly show the
widgets, update pixmaps after the verbs have been added
(comp_editor_focus): don't do a show all
svn path=/trunk/; revision=10697
2001-07-02 Peter Williams <peterw@ximian.com>
* README (Introduction): Add comment noting that Camel actually
exists now :-)
svn path=/trunk/; revision=10696
2001-07-02 Peter Williams <peterw@ximian.com>
* mail-folder-cache.h: New file. Protoypes for the Mail Folder Cache, which
provides a place for all the disparate pieces of the mailer to save bits of
information about a folder. Centralizes the information display code.
* mail-folder-cache.c: New file. Implements the Mail Folder Cache.
* Makefile.am (evolution_mail_SOURCES): Add the mail-folder-cache.{c,h}
* folder-browser-factory.c (fb_get_svi): Copy of that absurdly long-named
function in mail-display.c that gets the GNOME_Evolution_ShellView.
(control_activate): Set the ShellView for the folder cache.
* folder-browser.c (got_folder): Tell the folder browser about this folder.
* mail-callbacks.c (create_folders): Tell the folder cache about the new
folders.
* mail-local.c (reconfigure_folder_reconfigure): Don't unhook our
events as we no longer hook them up.
(register_folder_registered): Tell the folder cache about this
folder's place in the local storage.
(register_folder_register): No longer hook events; the Folder Cache
will do this.
(local_folder_changed, local_folder_changed_proxy): Move to mail-folder-cache.c
(free_local_folder): No longer unhook events.
* mail-ops.c (do_update_subfolders_rec): Instead of setting the
folder status ourselves, inform the Folder Cache about the changes.
* mail-tools.c (mail_tool_uri_to_folder): Replace danw's cache
with the new Mail Folder Cache.
(cache_folder, etc): removed.
svn path=/trunk/; revision=10694
2001-07-02 Jeffrey Stedfast <fejj@ximian.com>
* evolution-message-composer.xml: Set it up to have an
e-charset-picker bonobo-ui menu attached to the Edit menu.
svn path=/trunk/; revision=10691
2001-07-02 Jeffrey Stedfast <fejj@ximian.com>
* mail-accounts.c: #include widgets/misc/e-charset-picker.h since
it was moved there from libgal.
svn path=/trunk/; revision=10689
2001-07-02 Jeffrey Stedfast <fejj@ximian.com>
* Makefile.am: Updated to build e-charset-picker.c
* e-charset-picker.[c,h]: Moved here from gal.
(e_charset_picker_bonobo_ui_populate): New function to populate a
bonobo-ui with a charset picker menu.
svn path=/trunk/; revision=10687
2001-07-02 Kevin Breit <battery841@mediaone.net>
* C/apx-common-tasks.sgml: Created its own file.
* C/usage-mainwindow.sgml: You name it.
* C/preface.sgml: Pulled shortcuts from here into its own apx
* C/evolution.sgml: Reordered entities
svn path=/trunk/; revision=10686