Commit Graph

8929 Commits

Author SHA1 Message Date
d82d5a7997 Add method `ShellComponent::handleExternalURI' and an
`external_uri_schemas' attribute.  Update the EvolutionShellComponent
GTK+ wrapper accordingly.  Update all the components to pass a NULL
`external_uri_schemas' list when initializing themselves as
EvolutionShellComponents.

svn path=/trunk/; revision=10548
2001-06-27 23:17:41 +00:00
3797918d01 Initialize the private send_lock. (camel_transport_finalize): Free the
2001-06-27  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-transport.c (camel_transport_init): Initialize the private
	send_lock.
	(camel_transport_finalize): Free the private send_lock.
	(camel_transport_get_type): Set the init and finalize functions.
	(camel_transport_send): Lock the transport.
	(camel_transport_send_to): Same.

	* camel-private.h: Add CAMEL_TRANSPORT_(UN)LOCK macros.

svn path=/trunk/; revision=10547
2001-06-27 22:43:00 +00:00
5a223c85b9 Updated to match the current API.
2001-06-27  Jeffrey Stedfast  <fejj@ximian.com>

	* tests/folder/test9.c (main): Updated to match the current API.

	* tests/folder/test3.c: #include <gtk/gtk.h> since we use
	gtk_init().

svn path=/trunk/; revision=10546
2001-06-27 22:21:05 +00:00
016826bc8a Use the new header_address_fold.
2001-06-27  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-internet-address.c
	(camel_internet_address_encode_address): Use the new
	header_address_fold.

	* camel-mime-utils.c: Removed some old #if 0'd code of mine.
	(rfc2047_encode_word): If enclen is 0, don't write an encoded word
	token (=?iso-8859-7?Q??= would be an invalid token).
	(header_address_fold): New function to wrap address headers -
	header_fold() was force-wrapping rfc2047 encoded words which was
	making the test suite fail. The *real* solution, however, is to
	not create rfc2047 encoded words longer than 72 chars.

svn path=/trunk/; revision=10545
2001-06-27 22:14:20 +00:00
4cbcd49a8b Bump required gal version for new accessors in ETree.
2001-06-27  Peter Williams  <peterw@ximian.com>

        * configure.in (gal): Bump required gal version for new accessors
        in ETree.

mail:

2001-06-27  Peter Williams  <peterw@ximian.com>

        * folder-browser-ui.c: Uncomment EditSelectThread. Yaay!

        * mail-callbacks.c (select_thread): New function. Self-explanatory
        name. Implementation is a little hairy.

        * mail-callbacks.h: Prototype it here.

        * mail-callbacks.c (invert_selection): Here too.
        (select_all): Here too.

        * subscribe-dialog.c (subscribe_select_all): Update to use new
        ETree accessors.
        (subscribe_invert_selection): Here too.

calendar:

2001-06-27  Peter Williams  <peterw@ximian.com>

        * conduits/*/Makefile.am (INCLUDES): More srcdir != builddir
        fixes.

svn path=/trunk/; revision=10544
2001-06-27 21:22:37 +00:00
6fa46ef11d Bump version number due to incompatible changes in ETree.
2001-06-27  Peter Williams  <peterw@ximian.com>

        * configure.in: Bump version number due to incompatible changes
        in ETree.


gal/e-table:

2001-06-27  Peter Williams  <peterw@ximian.com>

        * e-tree-selection-model.c (e_tree_selection_model_add_to_selection): New function,
        heavily based on select_single_row.

        * e-tree-selection-model.h: Added prototype;

        * e-tree.c (e_tree_get_model): New accessor function.
        (e_tree_get_selection_model): Same.
        (e_tree_selected_count, e_tree_select_all, e_tree_invert_select): Removed. With
        the accessors these become pointless.

        * e-tree.h: Prototype the functions above. Remove a few functions that
        don't make sense anymore.

svn path=/trunk/; revision=10543
2001-06-27 21:11:34 +00:00
780e047c04 track storage change - we're only using 1 array now.
2001-06-27  Chris Toshok  <toshok@ximian.com>

	* gui/contact-list-editor/e-contact-list-model.c
	(contact_list_row_count): track storage change - we're only using
	1 array now.
	(contact_list_value_at): same.
	(contact_list_model_destroy): same.
	(e_contact_list_model_init): same.
	(e_contact_list_model_add_email): same.
	(e_contact_list_model_add_card): same.
	(e_contact_list_model_remove_row): same.
	(e_contact_list_model_remove_all): new function - just free/unref
	all existing rows.
	(e_contact_list_model_get_email): new function, returns the
	alloc'ed string containing either an email address or an encoded
	ECardId.

	* gui/contact-list-editor/e-contact-list-model.h: remove the 2
	separate arrays for email and cards, and store them in the same
	array.

	* gui/contact-list-editor/e-contact-list-editor.h (struct
	_EContactListEditor): add the visible_addr_checkbutton widget.

	* gui/contact-list-editor/e-contact-list-editor.c
	(visible_addrs_toggled_cb): new function.
	(e_contact_list_editor_init): connect to "toggled" on
	visible_addrs_checkbutton.
	(file_save_cb): new function.
	(tb_save_and_close_cb): new function.
	(verbs): add Save and Save & Close.
	(list_added_cb): new function.
	(list_modified_cb): new function.
	(save_card): new function - we do *not* use e_card_merging_* calls
	here.
	(e_contact_list_editor_get_arg): un-#if 0 code in the "card"
	getter.
	(e_contact_list_editor_set_arg): same for the "card" setter.
	(extract_info): new function.
	(fill_in_info): new function.

	* gui/contact-list-editor/contact-list-editor.glade: add a
	checkbutton at the bottom to determine whether to visibly include
	mail addresses in mail sent to this list.

svn path=/trunk/; revision=10542
2001-06-27 21:04:44 +00:00
513c03c3f8 work around an e-tree bug
2001-06-27  jacob berkman  <jacob@ximian.com>

	* folder-browser.c (save_cursor_pos): work around an e-tree bug

svn path=/trunk/; revision=10541
2001-06-27 20:58:40 +00:00
f348217fed Updated to use TigerT's attachment icon.
2001-06-27  Jeffrey Stedfast  <fejj@ximian.com>

	* evolution-message-composer.xml: Updated to use TigerT's
	attachment icon.

svn path=/trunk/; revision=10540
2001-06-27 20:43:10 +00:00
2d8b087e44 Added a pixcache array for special pixmaps to use in the composer.
2001-06-27  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c: Added a pixcache array for special pixmaps to
	use in the composer.
	(setup_ui): Set the pixcache.

svn path=/trunk/; revision=10539
2001-06-27 20:39:33 +00:00
e3a611329e Install the add-attachment.png icon.
2001-06-27  Jeffrey Stedfast  <fejj@ximian.com>

	* Makefile.am: Install the add-attachment.png icon.

svn path=/trunk/; revision=10538
2001-06-27 20:37:35 +00:00
8b1870fd9c Copy and Move to Folder now require the Shift key.
2001-06-27  Jeffrey Stedfast  <fejj@ximian.com>

	* evolution-mail-message.xml: Copy and Move to Folder now require
	the Shift key.

svn path=/trunk/; revision=10537
2001-06-27 19:30:43 +00:00
205fef856f Fixed Cut/Copy/Paste to work - it turns out I couldn't share a single
2001-06-27  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c: Fixed Cut/Copy/Paste to work - it turns out I
	couldn't share a single GtkInvisible between all the
	FolderBrowser's after all.

svn path=/trunk/; revision=10536
2001-06-27 19:18:50 +00:00
721eed6e4e this is even better in size. /tigert
svn path=/trunk/; revision=10535
2001-06-27 17:06:49 +00:00
b614b62be2 new version of the calendar mini icon on the folder tree.. /tigert
svn path=/trunk/; revision=10534
2001-06-27 17:00:12 +00:00
b195445a97 Make "Move" the default action.
2001-06-27  Jeffrey Stedfast  <fejj@ximian.com>

	* filtertypes.xml: Make "Move" the default action.

svn path=/trunk/; revision=10533
2001-06-27 16:43:16 +00:00
b85cea598a forgot to save before comitting...
svn path=/trunk/; revision=10532
2001-06-27 16:34:01 +00:00
24ab648dbb Change to use more reality-based API below. Include folder-browser-ui.h
2001-06-27  Peter Williams  <peterw@ximian.com>

        * folder-browser-factory.c (control_deactivate): Change to use
        more reality-based API below.
        Include folder-browser-ui.h too.
        (control_activate): Remove now-unused 'int state'.

        * folder-browser-ui.h: Changed prototypes to match changes below.

        * folder-browser-ui.c (folder_browser_ui_rm_message): Commented out
        to reflect reality of how this stuff works (you can't actually remove
        the pieces).
        (folder_browser_ui_rm_global): Same.
        (folder_browser_ui_rm_list): Left because here we add the view menus.
        (folder_browser_ui_add_list): ... which were moved here.
        (folder_browser_ui_rm_all): New function, does the job of old ui_rm()

svn path=/trunk/; revision=10531
2001-06-27 16:32:01 +00:00
041edb0ec8 Changed the Expunge accel to ^E instead of ^X since ^X is Cut and
2001-06-27  Jeffrey Stedfast  <fejj@ximian.com>

	* evolution-mail-list.xml: Changed the Expunge accel to ^E instead
	of ^X since ^X is Cut and reveresed the order of the
	Cut/Copy/Paste and Select* menu item groups.

svn path=/trunk/; revision=10530
2001-06-27 16:18:13 +00:00
44c167b08d fixed (e_calendar_table_on_copy): fixed
2001-06-27  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-calendar-table.c (selection_received): fixed
	(e_calendar_table_on_copy): fixed

svn path=/trunk/; revision=10529
2001-06-27 12:48:14 +00:00
63e66cab10 Remove a ChangeLog entry that referred to code that I haven't
committed yet.  Ooops.  :-)

svn path=/trunk/; revision=10528
2001-06-27 08:07:53 +00:00
202810cc38 Oops. Can't use the wombat version of the master categories list yet.
2001-06-26  Christopher James Lahey  <clahey@ximian.com>

	* gui/component/select-names/e-select-names.c
	(e_select_names_create_categories): Oops.  Can't use the wombat
	version of the master categories list yet.

svn path=/trunk/; revision=10527
2001-06-27 03:23:53 +00:00
b8624a9ad3 stripped all blank lines from iCalendar files. Apparently they aren't
2001-06-26  Damon Chaplin  <damon@ximian.com>

	* zoneinfo/*: stripped all blank lines from iCalendar files.
	Apparently they aren't exactly legal. Oops.

svn path=/trunk/; revision=10526
2001-06-27 03:22:21 +00:00
8cb9e29ae5 memmove counts were off in this function. (remove_card, modify_card):
2001-06-26  Christopher James Lahey  <clahey@ximian.com>

	* gui/widgets/e-addressbook-table-adapter.c (create_card): memmove
	counts were off in this function.
	(remove_card, modify_card): Moved the table notifications around a
	bit here.

svn path=/trunk/; revision=10525
2001-06-27 03:17:29 +00:00
2ac2af6d4b Added a categories combo here. It's not used yet.
2001-06-26  Christopher James Lahey  <clahey@ximian.com>

	* gui/component/select-names/e-select-names.c,
	gui/component/select-names/e-select-names.h,
	gui/component/select-names/select-names.glade
	(e_select_names_create_categories): Added a categories combo here.
	It's not used yet.

svn path=/trunk/; revision=10524
2001-06-27 03:15:53 +00:00
98ba73cd57 Plug a leak. Every time the ETable would query the model for the
string at the top of the tree, a "My Evolution" string would be
leaked.

svn path=/trunk/; revision=10523
2001-06-27 02:39:03 +00:00
eb2c101eaf Avoid calling the listener directly in `e-local-folder.c'; instead,
just return appropriate values from the signal handlers, as expected
by the API.

svn path=/trunk/; revision=10522
2001-06-27 00:44:52 +00:00
4627fb4bea Added category searching to the advanced search dialog here.
2001-06-26  Christopher James Lahey  <clahey@ximian.com>

	* gui/search/addresstypes.xml: Added category searching to the
	advanced search dialog here.

svn path=/trunk/; revision=10521
2001-06-27 00:32:29 +00:00
7728e7dbd2 Added category searching to the file backend.
2001-06-26  Christopher James Lahey  <clahey@ximian.com>

	* backend/pas/pas-backend-file.c (compare_category): Added
	category searching to the file backend.

	* gui/component/addressbook.c (addressbook_query_changed): Added
	category searching to the search bar.

svn path=/trunk/; revision=10520
2001-06-27 00:22:02 +00:00
abec8da192 Capitalized fields. Added X-EVOLUTION-RELATED-CONTACTS field.
Capitalized fields.
Added X-EVOLUTION-RELATED-CONTACTS field.

svn path=/trunk/; revision=10519
2001-06-27 00:17:55 +00:00
6fdce740b0 Add a new `e_marshal_INT__POINTER_POINTER_POINTER_POINTER' marshaller
and bump version number.

(BTW, did I mention that GTK+ marshalling sucks?)

svn path=/trunk/; revision=10518
2001-06-27 00:17:18 +00:00
03b231a20b Renamed the occur field to occur_start; added an occur_end field. This way
2001-06-26  Federico Mena Quintero  <federico@ximian.com>

	* idl/evolution-calendar.idl (CalAlarmInstance): Renamed the occur
	field to occur_start; added an occur_end field.  This way we can
	present the complete times for the occurrence from the server.

	* cal-util/cal-component.h (CalAlarmInstance): Likewise.

	* pcs/cal-backend-file.c (add_alarm_occurrences_cb): Fill the new
	fields appropriately.
	(generate_absolute_triggers): Likewise; we use -1 in case the
	component has no DTSTART or DTEND because there are no meaningful
	occurrence dates here.
	(fill_alarm_instances_seq): Fill in the new fields.

	* cal-client/cal-client.c (build_alarm_instance_list): Likewise.

	* gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog):
	Take in both the occur_start and occur_end times.

	* gui/goto.c (goto_dialog): Free the dlg structure on the bail-out
	cases.

	* gui/dialogs/event-page.c (get_widgets): Do not assert if we
	cannot find the main widget; just return FALSE.

	* gui/dialogs/alarm-page.c (get_widgets): Likewise.

	* gui/dialogs/task-page.c (get_widgets): Likewise.

	* gui/dialogs/task-details-page.c (get_widgets): Likewise.

	* gui/dialogs/meeting-page.c (get_widgets): Likewise.

svn path=/trunk/; revision=10517
2001-06-27 00:12:28 +00:00
0bea524b92 Removed ui/evolution-mail.xml and replaced it with the 4 new
2001-06-26  Jeffrey Stedfast  <fejj@ximian.com>

	* POTFILES.in: Removed ui/evolution-mail.xml and replaced it with
	the 4 new evolution-mail*.xml files.

svn path=/trunk/; revision=10516
2001-06-26 23:05:17 +00:00
2d93db72a0 Since we want an error opening a folder to result in the message being
2001-06-26  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-filter-driver.c (open_folder): Since we want an error
	opening a folder to result in the message being copied to Inbox
	(assuming no other filters get a chance to `move` it), don't
	record any exceptions that may occur in this function.

svn path=/trunk/; revision=10515
2001-06-26 22:45:16 +00:00
e5e79cb370 Mail:
001-06-26  Peter Williams  <peterw@ximian.com>

	* folder-browser-ui.c: New file derived from folder-browser-factory.c.
	Contains the Bonobo UI code, split into three groups as described in
	ui/ChangeLog. Also contains the GalView stuff and the hookups into
	the Bonobo UI stuff.

	* folder-browser-factory.c: Move most of the UI stuff to folder-browser-ui.c.
	(control_activate): Add all three kinds of UI element to this folderbrowser.
	(control_deactivate): Remove all three kinds.

	* folder-browser-ui.h: New file. Prototypes functions to add UI elements
	to a FolderBrowser.

	* Makefile.am: Add folder-browser-ui.{c,h}

	* message-browser.c (PARENT_TYPE): Change to BONOBO_TYPE_WINDOW
	(message_browser_destroy): Chain to parent destroy function.
	(set_bonobo_ui): New function. Add the 'message' functions from the folder
	browser to our UI.
	(message_browser_close): BonoboVerbify this.

	* message-browser.h: Convert to BonoboWindow.

UI:

6-26  Peter Williams  <peterw@ximian.com>

	* evolution-mail-global.xml:
	* evolution-mail-list.xml:
	* evolution-mail-message.xml: New files. These are the result
	of splitting evolution-mail.xml into three pieces: one for the
	global mailer operations, one for the operations on a messagelist,
	and one for the operations on one or more messages.

	* evolution-mail-messagedisplay: New file. UI for the standalone
	message browser that you get when you double-click. Very skeleton.

	* evolution-mail.xml: Removed.

	* Makefile.am: Updated to install new files.

svn path=/trunk/; revision=10514
2001-06-26 22:37:13 +00:00
4b0115db80 Whoops my name was empty.
svn path=/trunk/; revision=10513
2001-06-26 22:34:38 +00:00
00a0bcfe5a Rest of previous commit (got messed up somehow).
svn path=/trunk/; revision=10512
2001-06-26 22:34:05 +00:00
7f184616bd libwombat:
2001-06-25  Peter Williams  <peterw@ximian.com>

        * Makefile.am (libwombat_static_la_SOURCES): Create a static
        libwombat for the conduits.

calendar:

2001-06-25  Peter Williams  <peterw@ximian.com>

        * conduits/calendar/Makefile.am (INCLUDES): Fixes for
        srcdir != builddir. Link to the static libwombat.

        * conduits/todo/Makefile.am (INCLUDES): Here too.

addressbook:

2001-06-25  Peter Williams  <peterw@ximian.com>

        * conduit/Makefile.am (INCLUDES): Fix for srcdir != builddir.

svn path=/trunk/; revision=10511
2001-06-26 22:32:38 +00:00
e13e11965b Helps if I spell "received" correctly.
2001-06-26  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (my_folder_browser_init): Helps if I spell
	"received" correctly.

	* mail-config.c (mail_config_set_thread_list): If the value is
	already in the hash table, first remove it before setting the new
	value so we don't leak.
	(mail_config_set_show_preview): Same.

svn path=/trunk/; revision=10510
2001-06-26 21:01:41 +00:00
4fb01ff2ff lock the cache around accesses
* providers/imap/camel-imap-folder.c (camel_imap_folder_selected,
	imap_append_offline, imap_append_online,
	camel_imap_folder_changed): lock the cache around accesses

	* providers/imap/camel-imap-store.c (get_folder_online): ref the
	newly-created folder (as current_folder) before calling
	camel_imap_folder_selected, in case that needs to do something
	that causes another folder to become current...

svn path=/trunk/; revision=10509
2001-06-26 19:20:01 +00:00
03d2f262c0 Don't pop up a progress dialog to say "I already finished this a while
* mail-mt.c (op_status_timeout): Don't pop up a progress dialog to
	say "I already finished this a while ago".

	* component-factory.c (storage_create_folder): Pass the path
	prefix to folder_created so it can add it to the folder tree in
	the right place.

	* mail-callbacks.c (folder_created): Take a path prefix.

svn path=/trunk/; revision=10508
2001-06-26 19:13:24 +00:00
1b6c44d638 Revised move/rename/copy questions, now that these functions work.
2001-06-26  Aaron Weber  <aaron@ximian.com>

	* C/evolution-faq.sgml: Revised move/rename/copy questions, now
	that these functions work.

svn path=/trunk/; revision=10507
2001-06-26 18:25:35 +00:00
0fb64920d3 Updated Spanish translation.
svn path=/trunk/; revision=10506
2001-06-26 18:12:41 +00:00
9dfc5f64b5 D'oh. s/FALSE/CAMEL_URL_HIDE_PASSWORD/
* camel-service.c (camel_service_get_url): D'oh.
        s/FALSE/CAMEL_URL_HIDE_PASSWORD/

svn path=/trunk/; revision=10505
2001-06-26 17:50:48 +00:00
091402fafb make ettore stop complaining so i can get back to work
2001-06-26  jacob berkman  <jacob@ximian.com>

	* mail-config.c (mail_config_get_show_preview): make ettore stop
	complaining so i can get back to work

svn path=/trunk/; revision=10504
2001-06-26 17:15:34 +00:00
9d51a76fa1 constify args
* camel-url.c (camel_url_encode): constify args

svn path=/trunk/; revision=10503
2001-06-26 16:50:46 +00:00
0601af0635 No longer returns a gboolean and also takes a CamelException.
2001-06-26  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (message_rfc822_dnd): No longer returns a
	gboolean and also takes a CamelException.
	(destination_folder_handle_drop): Do better error checking.

	* folder-browser.c (my_folder_browser_init): Connect to the
	tree-drag-data-recieved signal.
	(message_list_drag_data_recieved): New function that handles the
	recieving end of the DnD event.
	(x_evolution_message_parse): New convenience function to parse the
	x-evolution-message type so that the cut/paste and DnD code can
	share it.
	(selection_received): Use x_evolution_message_parse().

svn path=/trunk/; revision=10502
2001-06-26 16:44:08 +00:00
48d1ac7ba4 constify args
* camel-url.c (camel_url_encode): constify args

svn path=/trunk/; revision=10501
2001-06-26 16:14:10 +00:00
04ae8da716 Read in the default show_preview value. (mail_config_write_on_exit): Save
2001-06-26  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (config_read): Read in the default show_preview
	value.
	(mail_config_write_on_exit): Save the default show_preview value
	as well as saving the individual settings for each URI that has
	been changed.

svn path=/trunk/; revision=10500
2001-06-26 15:09:06 +00:00
9c1dcd7eaa When ANDing two bools, don't use a bitwise AND.
2001-06-25  Jeffrey Stedfast  <fejj@ximian.com>

	* e-sexp.c (term_eval_and): When ANDing two bools, don't use a
	bitwise AND.

svn path=/trunk/; revision=10499
2001-06-26 00:20:58 +00:00