2002-02-07 Radek Doulik <rodo@ximian.com>
* mail-callbacks.c (mail_generate_reply): call set_body later to
allow ignored words to be sent to gtkhtml control ahead
svn path=/trunk/; revision=15598
2002-02-07 JP Rosevear <jpr@ximian.com>
* gui/e-day-view.c: pass meeting boolean for
gnome_calendar_edit_object and gnome_calendar_new_appointment_for
* gui/e-week-view-event-item.c: ditto
* gui/e-week-view.c: ditto
* gui/tasks-control.c (confirm_expunge): kill warning
* gui/calendar-commands.c (new_meeting_cb): show a new meeting
dialog
(new_event_cb): pass new param
* gui/gnome-cal.c (gnome_calendar_edit_object): take meeting
boolean and show meeting page if true
(gnome_calendar_new_appointment_for): takeing meeting param and
pass to above
(gnome_calendar_new_appointment): add new param
* gui/gnome-cal.h: update proto
* gui/component-factory.c (create_component): take a comp editor
mode, determine vtype
(sc_user_create_new_item_cb): check for meeting user creatable
item
(create_object): add meeting as user creatable item
* gui/comp-editor-factory.c (edit_new): get a comp editor mode
now, determine vtype and show meeting page if required
(queue_edit_new): get comp editor mode
(impl_editNew): ditto, plus queue the mode directly instead of
determining the vtype
* gui/dialogs/event-editor.c (show_meeting): new internal util
function to show meeting page
(event_editor_show_meeting): show the meeting
(schedule_meeting_cmd): use show_meeting
* gui/dialogs/event-editor.h: new proto
* idl/evolution-calendar.idl: editNew takes a mode rather than a
type now
* cal-util/Makefile.am: fix includes
svn path=/trunk/; revision=15595
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped the required version of gal.
From addressbook/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-addressbook-view.c
(e_addressbook_view_setup_menus): Changed this function to use the
new GalViewMenus which takes a GalViewInstance, instead of a
GalViewCollection.
From calendar/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* gui/e-tasks.c (e_tasks_setup_view_menus), gui/gnome-cal.c
(gnome_calendar_setup_view_menus): Made these use the new
GalViewMenus stuff.
From mail/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* folder-browser.c, folder-browser.h, folder-browser-ui.c,
folder-browser-ui.h
(folder_browser_ui_setup_view_menus,
folder_browser_ui_discard_view_menus): Changed this to use the new
GalViewMenus stuff. Made these exported functions.
* mail-callbacks.c, message-browser.c: Changed these to not pass
the now removed row parameter to message_list_select.
* mail-config.c, mail-config.h (mail_config_folder_to_safe_url):
Refactored this out of mail_config_folder_to_cachename.
* message-list.c, message-list.h (message_list_select): Removed
the row argument. Changed this to use the new function in ETree
for finding the next cursor row that matches a test.
(message_list_construct): Handle a failed construction of the
ETree here.
(message_list_setup_etree, save_tree_state): Don't load or save
the header state. folder-browser-ui.c deals with this now.
From views/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* addressbook/galview.xml, calendar/galview.xml, mail/galview.xml,
tasks/galview.xml: Added default-view parameters.
* mail/As_Sent_Folder.galview: New galview.
* mail/Makefile.am, mail/galview.xml: Added As_Sent_Folder
galview.
From widgets/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* menus/gal-view-menus.c, menus/gal-view-menus.h
(gal_view_menus_new): Made this take a GalViewInstance instead of
a GalViewCollection. Reworked most of this to utilize the
interfaces provided by GalViewInstance.
svn path=/trunk/; revision=15592
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* gal-view-collection.c (gal_view_collection_load): Create the
local directory when loading instead of when saving. This way
instance data will have somewhere to be saved.
svn path=/trunk/; revision=15591
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped the version number to 0.19.99.5.
* gal/Makefile.am (libgal_la_LIBADD): Added
menus/gal-view-instance-save-as-dialog.lo.
* gal/e-text/e-text.c (next_word): Contains refactored code from
the E_TEP_FORWARD_WORD case of e_text_command.
(e_text_command): Implemented E_TEP_CAPS.
From gal/menus/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* Makefile.am (glade_DATA): Added
gal-view-instance-save-as-dialog.glade.
(libgalmenus_la_SOURCES): Added
gal-view-instance-save-as-dialog.c.
(libgalmenusinclude_HEADERS): Added
gal-view-instance-save-as-dialog.h.
* gal-view-collection.c, gal-view-collection.h
(gal_view_collection_append_with_title): Added this new version of
the append function that sets the title and returns the new id as
well.
(gal_view_collection_set_nth_view): Added this function to save
over another view.
(gal_view_collection_get_default_view,
gal_view_collection_set_default_view): Added the concept of a
default view for GalViewCollections.
* gal-view-etable.c, gal-view-etable.h
(gal_view_etable_attach_table, gal_view_etable_attach_tree,
gal_view_etable_detach): Added functions to set the state of a
table or tree and then send GalView "changed" signals whenever
that state changes.
(gal_view_etable_set_state): New function to set the ETableState
of a GalViewETable.
* gal-view-instance-save-as-dialog.c,
gal-view-instance-save-as-dialog.glade,
gal-view-instance-save-as-dialog.h: New dialog to save the current
custom view as a named view.
* gal-view-instance.c, gal-view-instance.h
(gal_view_instance_set_custom_view): New function to set the state
of an instance to custom view and set the custom view to a
particular GalView.
(gal_view_instance_exists): New function to check if this
particular instance has ever been opened before. Use before
gal_view_instance_load.
(gal_view_instance_save_as): New function to open a save as
dialog.
(gal_view_instance_load): Added this function which used to be
part of _construct. This function can be called multiple times,
and those extra times will be ignored. This is so you can set a
default view before loading.
(gal_view_instance_get_default_view,
gal_view_instance_set_default_view): Set the default view for this
instance. If unset, this falls back to the default view for the
corresponding GalViewCollection.
svn path=/trunk/; revision=15590
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* gal/util/e-text-event-processor-emacs-like.c: Emit E_TEP_CAPS
for the right values for M-l, M-c, and M-u.
* gal/util/e-text-event-processor-types.h
(ETextEventProcessorCommandAction): New action E_TEP_CAPS.
(ETextEventProcessorCaps): New enum giving values for E_TEP_CAPS
action.
svn path=/trunk/; revision=15589
2002-02-06 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (mail_account_gui_new): Rearranged the #if
checks so that we don't ever try to access any smime widgets
(since they are now being destroyed) if smime isn't enabled.
(mail_account_gui_save): Same here.
svn path=/trunk/; revision=15587
2002-02-06 Jeffrey Stedfast <fejj@ximian.com>
* camel-folder-summary.h: Remove the CAMEL_MESSAGE_NEEDS_REPLY
flag, we no longer will be using this.
svn path=/trunk/; revision=15586
2002-02-06 Jeffrey Stedfast <fejj@ximian.com>
* message-list.c: Removed references to NEEDS_REPLY.
* mail-callbacks.c (mark_as_needing_reply): Removed.
(mark_as_not_needing_reply): Removed.
(toggle_need_reply): Removed.
* folder-browser.c (on_right_click): Remove CAN_MARK_NEEDS_REPLY
stuff, this is going to be implemented in an entirely different
way.
svn path=/trunk/; revision=15585
2002-02-06 Damon Chaplin <damon@ximian.com>
* src/libicalvcal/icalvcal.c: major changes to support RRULE/EXRULE,
VALARMS and several other properties.
* src/libicalvcal/icalvcal.h (icalvcal_convert_with_defaults): new
function to pass defaults for a few values into the importer. These
are used when the vCalendar file doesn't provide the property but it
is required in iCalendar.
* src/libicalvcal/vcc.y: support multi-valued properties, by appending
new ones and separating by ';'. This was pinched from our changes to
evolution/libversit/vcc.y.
* src/libicalvcal/Makefile.am: renamed library to libicalvcal-evolution
Don't install the headers.
* design-data/parameters.csv: added new error for error's parsing
vCalendar properties.
svn path=/trunk/; revision=15582
2002-02-06 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (handle_text_plain): Look for DOCTYPE XML comments
too to decide if the message content is really HTML.
svn path=/trunk/; revision=15581
2002-02-05 Anna Marie Dirks <anna@ximian.com>
* evolution-mail-message.xml: Changed "Forward As" to "Forward" to improve grammar ("Forward As" implies an answer in the form of a noun, while "Redirect" is a verb), and added accelerators to "Add Sender to Addressbook" and "Redirect".
svn path=/trunk/; revision=15573
2002-02-04 Jeffrey Stedfast <fejj@ximian.com>
* vfoldertypes.xml: Same here.
* filtertypes.xml: For mlist matching, we only want "is" and "is
not" because that is all we really support anyway.
svn path=/trunk/; revision=15570
2002-02-04 JP Rosevear <jpr@ximian.com>
* conduits/todo/todo-conduit.c (e_todo_gui_new): new gui routines
for conduit settings
(e_todo_gui_fill_config): ditto
(e_todo_gui_fill_widgets): ditto
(e_todo_gui_destroy): ditto
(e_todo_context_destroy): destroy new_cfg and gui properly
(local_record_from_comp): set the priority to the default setting
if none is set on the icalendar object
(fill_widgets): fill gui widgets
(create_settings_window): create gui
svn path=/trunk/; revision=15569
2002-02-04 JP Rosevear <jpr@ximian.com>
* gui/contact-editor/e-contact-editor.c (find_address_mailing): tidy
* conduit/address-conduit.c (addrconduit_load_configuration): load
default address setting
(addrconduit_save_configuration): save default address setting
(e_addr_gui_new): new gui routine for conduit settings
(e_addr_gui_fill_widgets): ditto
(e_addr_gui_fill_config): ditto
(e_addr_gui_destroy): ditto
(e_addr_context_destroy): destroy the gui and new_cfg
(local_record_from_ecard): reinstate commented out bits, determine
which address to sync to pilot
(ecard_from_remote_record): determine which address to sync from
pilot
(fill_widgets): put the gui widgets in
(create_settings_window): create gui
(save_settings): fill gui
svn path=/trunk/; revision=15568
2002-02-04 JP Rosevear <jpr@ximian.com>
* gui/contact-editor/e-contact-editor.c (address_text_changed): if
the shown address in the mailing address or there is no mailing
address, set the default flag and make sure the button is checked
(address_mailing_changed): set the flags properly when the mailing
address changes
(e_contact_editor_init): listen for the check button being toggled
(find_address_mailing): find the address (if any) with the default
flag
(set_address_field): set the mailing address button appropriately
(fill_in_info): find the mailing address
* gui/contact-editor/e-contact-editor.h: add new class data member
* gui/contact-editor/contact-editor.glade: show mailing address
check button
svn path=/trunk/; revision=15561
2002-01-31 Not Zed <NotZed@Ximian.com>
* mail-callbacks.c (mail_generate_reply): Add attachments after
we've seen if the composer object is valid.
(mail_generate_reply): Support new flag REPLY_NO_QUOTE - if set,
then dont quote any of the message in the reply.
svn path=/trunk/; revision=15560
* mail-account-gui.c (mail_account_gui_new): Destroy the S/MIME
frame if not available, instead of just graying it out. [I would
just hide it, but it looks like there is a show_all somewhere so
that doesn't work.]
svn path=/trunk/; revision=15554
* e-summary-offline-handler.c (create_connection_list): Allocate
the ConnectionList list with the right number of entries instead
of zero.
svn path=/trunk/; revision=15552
2002-02-01 Jeffrey Stedfast <fejj@ximian.com>
* backend/ebook/e-destination.c (e_destination_is_auto_recipient):
New function to find out if a destination was one which was
auto-matically set by Evolution.
(e_destination_set_auto_recipient): Set whether or not the dest is
an auto-recipient.
(e_destination_touch): Don't touch the address if it is an
auto_recipient.
(e_destination_list_to_vector_sized): New function to avoid having
to calculate the length of the list ourselves. Allows for a bit of
optimization if our caller knows the length of the list.
(e_destination_xml_encode): Encode the auto_recipient bit.
(e_destination_xml_decode): Decode the auto_recipient bit.
svn path=/trunk/; revision=15550
2002-01-31 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (composer_get_message): Don't bother setting
the auto-cc/bcc recipients here. I'm moving the code to add them
in the GUI in the composer so they will already be in the
recipient list by this point.
svn path=/trunk/; revision=15549
2002-02-01 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (update_auto_recipients): Update the
auto-cc/bcc recipients in the composer header fields to match the
ones chosen in the account configuration.
svn path=/trunk/; revision=15548
the summary and try to go off-line. This is not the correct fix,
as the code should really be changed to only use one set of
connections for all the views, instead of binding the connections
to the view.]
* e-summary-factory.c (e_summary_factory_new_control): Call
`e_summary_offline_handler_add_summary()' instead of
e_summary_offline_handler_set_summary()'.
* e-summary-offline-handler.c: Replace member `summary' with
`summaries' in the ESummaryOfflineHandlerPriv. This way, instead
of assuming that there is only one summary, we keep a list of the
summaries.
(impl_destroy): Free ->summaries.
(e_summary_offline_handler_set_summary): Removed.
(e_summary_offline_handler_add_summary): New. Add the summary to
->summaries. Also, connect to the ::destroy handler so we can
bookkeep them correctly.
(create_connection_list): Made private from
e_summary_offline_handler_create_connection_list(). Get a GSList
instead of just one summary, and sum up all the connections from
it.
(impl_prepareForOffline): Use it.
(impl__get_isOffline): Return %FALSE if any of the summaries are
online, %TRUE otherwise.
(impl_goOffline): Call ::set_online on all the summaries. Pass
CORBA_OBJECT_NIL for the progress_listener as it doesn't really
get used anyways.
(impl_goOnline): Likewise. Pass CORBA_OBJECT_NIL, not NULL, for
the progress CORBA_Object pointer.
svn path=/trunk/; revision=15547
2002-02-01 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-simple.c (e_card_simple_sync_card): Made
this preserve addressbook flags other than the first three.
* backend/ebook/e-card-types.h: Added E_CARD_ADDR_MASK and
E_CARD_ADDR_DEFAULT.
* backend/ebook/e-card.c (get_address_flags): Added "PREF" to
E_CARD_ADDR_DEFAULT mapping.
* backend/ebook/test-client.c: Added #include "e-book-util.h".
svn path=/trunk/; revision=15546
2002-01-31 Christopher James Lahey <clahey@ximian.com>
* Makefile.am: Added gal-view-instance.c and gal-view-instance.h.
* gal-view-collection.c, gal-view-collection.h
(gal_view_collection_load_view_from_file): Factored out this
function so that it can be used outside of gal-view-collection.c.
(gal_view_collection_get_view_index_by_id,
gal_view_collection_get_view_id_by_index,
gal_view_collection_loaded): Added these functions.
* gal-view-instance.c, gal-view-instance.h: New class representing
a single folder of a particular type of folder.
svn path=/trunk/; revision=15544
2002-01-31 Christopher James Lahey <clahey@ximian.com>
* e-tree-model.c (e_tree_model_node_find): Made this function much
more readable. Got rid of all the gotos. Fixed a case where
going backwards during a root search checked the root node first.
(e_tree_model_node_real_traverse): Made backwards traversals be
postorder, as they should be, instead of preorder.
* e-tree.c (find_next_callback): Use an extra callback function
here to go from sorted path to model path.
svn path=/trunk/; revision=15543