Commit Graph

11801 Commits

Author SHA1 Message Date
de99472df4 kill evolution-ldif-importer.
2001-10-12  Chris Toshok  <toshok@ximian.com>

	* tools/killev: kill evolution-ldif-importer.

svn path=/trunk/; revision=13647
2001-10-13 01:32:13 +00:00
29175904b0 Revert the change to remove the Score column until Chris can fix ETable so
* message-list.c, message-list.h, message-list.etspec: Revert the
	change to remove the Score column until Chris can fix ETable so
	it's possible to remove a column without breaking everyone's
	exisiting settings.

svn path=/trunk/; revision=13646
2001-10-13 01:29:14 +00:00
5a9173f1b7 Fix race conditions in creating folders
svn path=/trunk/; revision=13645
2001-10-13 00:26:34 +00:00
516c4d5513 Add a component name to the e_passwords_init() call.
2001-10-12  Jon Trowbridge  <trow@ximian.com>

	* gui/component/addressbook-factory.c (main): Add a component name
	to the e_passwords_init() call.

svn path=/trunk/; revision=13644
2001-10-12 23:53:56 +00:00
2d5c3e4c42 oops, it should remove the bcc header, not the cc header
svn path=/trunk/; revision=13643
2001-10-12 23:09:34 +00:00
2
fa32b99837 Added environmental variable IBEX_OPEN_THRESHOLD which limits the maximum
2001-10-12    <NotZed@Ximian.com>

        * ibex_block.c (ibex_use): Added environmental variable
        IBEX_OPEN_THRESHOLD which limits the maximum number of open ibex's
        that can be active at any time.  The smallest this can be set to
        is the default of 5.

svn path=/trunk/; revision=13642
2001-10-12 23:08:32 +00:00
dad441ba03 Remove the stripheader filter from the build.
2001-10-12  Jeffrey Stedfast  <fejj@ximian.com>

	* Makefile.am: Remove the stripheader filter from the build.

	* camel-mime-filter-stripheader.[c,h]: Removed.

	* providers/smtp/camel-smtp-transport.c (smtp_data): Check the
	return value of camel_stream_flush to make sure it flushed the
	data successfully before continuing. Don't use the stripheader
	filter, it was completely broken - instead remove the header and
	set it again after we send.

svn path=/trunk/; revision=13641
2001-10-12 22:45:10 +00:00
c90ced3180 call e_passwords_init and e_passwords_shutdown.
2001-10-12  Chris Toshok  <toshok@ximian.com>

	* main.c (main): call e_passwords_init and e_passwords_shutdown.

	* mail-session.h: add prototypes for
	mail_session_{get,add}_password.

	* mail-session.c (init): empty this out - we use e_passwords
	instead of a local hashtable.
	(get_password): use e_passwords_get_password and
	e_passwords_add_password.
	(forget_password): use e_passwords_forget_password.
	(mail_session_remember_password): use
	e_passwords_remember_password.
	(mail_session_forget_password): use e_passwords_forget_password.
	(mail_session_get_password): new function, use
	e_passwords_get_password.
	(mail_session_add_password): same, use e_passwords_add_password.
	(mail_session_forget_passwords): use e_passwords_forget_passwords.

	* mail-config.c (mail_config_write_on_exit): fix this up so it
	works as desired with the e_passwords stuff.

svn path=/trunk/; revision=13640
2001-10-12 22:28:04 +00:00
2
47d5ddd057 Unhook from all events before removing folder.
2001-10-12    <NotZed@Ximian.com>

        * camel-vee-folder.c (camel_vee_folder_remove_folder): Unhook from
        all events before removing folder.
        (camel_vee_folder_add_folder): Hook onto delete event.
        (camel_vee_folder_finalise): Unhook from deleted event for suibfolder.
        (subfolder_deleted): When the folder is deleted, remove it from
        the vfolder automagically.

svn path=/trunk/; revision=13639
2001-10-12 22:27:56 +00:00
2
d3f0028320 Fix case of some entries to work with solaris, incl adding UTF-8.
2001-10-12    <NotZed@Ximian.com>

        * gal/util/e-iconv.c: Fix case of some entries to work with
        solaris, incl adding UTF-8.
        (e_iconv_init): Dont down-case the name, only the key.
        (e_iconv_charset_name): Use capitals for ISO and CP for Solaris's
        iconv to work.
        (e_iconv_open): If we can't convert, say we're not busy, so it
        gets re-used next open, spit out a warning.

svn path=/trunk/; revision=13638
2001-10-12 22:27:22 +00:00
1641994074 new parameter to e_passwords_init, and add prototype for
2001-10-12  Chris Toshok  <toshok@ximian.com>

	* e-passwords.h: new parameter to e_passwords_init, and add
	prototype for e_passwords_clear_component_passwords.

	* e-passwords.c (e_passwords_init): copy off the component name.
	(e_passwords_shutdown): free/NULL the component name.
	(e_passwords_clear_component_passwords): new function.  remove the
	subtree rooted at /Passwords/<ComponentName>.
	(e_passwords_remember_password): use component_name when building
	up the path.
	(e_passwords_get_password): same.
	(e_passwords_add_password): remove/free the currently stored
	session password for this key if there is one, before adding the
	new one.

svn path=/trunk/; revision=13637
2001-10-12 22:19:34 +00:00
74d8c78022 Fix strings and the importer window not drawing correctly
svn path=/trunk/; revision=13636
2001-10-12 22:12:21 +00:00
1bd22eb65b return fill_component success
2001-10-12  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/alarm-page.c: return fill_component success

	* gui/dialogs/task-page.c: ditto

	* gui/dialogs/task-details-page.c: ditto

	* gui/dialogs/schedule-page.c: ditto

	* gui/dialogs/recurrence-page.c: ditto

	* gui/dialogs/event-page.c: ditto

	* gui/dialogs/meeting-page.c: use e_notice instead of
	duplicate_error
	(meeting_page_get_cancel_comp): duh, deleted_attendees is an array
	now
	(meeting_page_fill_component): spew gui errors if there is no
	organizer or no attendees, return success

	* gui/dialogs/event-editor.c (event_editor_send_comp): always call
	parent method and don't send the cancellation comp if the method
	is publish
	(refresh_meeting_cmd): use the orginal comp to refresh
	(forward_cmd): prompt the user for the version they want to send
	(current, original)

	* gui/dialogs/task-editor.c (forward_cmd): as above
	(refresh_task_cmd): ditto

	* gui/dialogs/comp-editor-page.c
	(comp_editor_page_fill_component): return boolean of whether the
	component could be filled or not

	* gui/dialogs/comp-editor-page.h: update proto

	* gui/dialogs/comp-editor.c (prompt_to_save_changes): take a param
	on whether to try and send or not
	(comp_editor_get_current_comp): only fill component if its changed
	(comp_editor_save_comp): prompt user as well

	* gui/dialogs/comp-editor.h: change proto

	* gui/itip-utils.c: replace error_dialog with e_notice
	(comp_content_type): specify charset

svn path=/trunk/; revision=13635
2001-10-12 22:09:57 +00:00
02c6e32789 Updated Spanish translation.
svn path=/trunk/; revision=13634
2001-10-12 22:05:24 +00:00
a5931319b6 Use new e_table_header_prioritized_column field.
2001-10-12  Christopher James Lahey  <clahey@ximian.com>

	* e-table-click-to-add.c (set_initial_selection): Use new
	e_table_header_prioritized_column field.

	* e-table-header.c, e-table-header.h
	(e_table_header_prioritized_column): New function.  Refactors the
	code from ETableClickToAdd to find the column with the highest
	priority.

	* e-table-selection-model.c, e-table-selection-model.h
	(model_changed_idle): Changed this function to use the
	e_table_header_prioritized_column function.  Added an argument to
	set the "header" on this selection model.

	* e-table-utils.h: Indentation cleanup.

	* e-table.c (et_real_construct): Set the "header" argument on the
	selection model here.

	* e-table.h: #include <gal/e-table/e-table-sorter.h>

svn path=/trunk/; revision=13633
2001-10-12 21:52:49 +00:00
0ad57aa1b9 Actualizando cositas
svn path=/trunk/; revision=13632
2001-10-12 21:50:17 +00:00
c0ee48e111 Actualizando cositas
svn path=/trunk/; revision=13631
2001-10-12 21:42:59 +00:00
af4cb39650 Fix some strings
svn path=/trunk/; revision=13630
2001-10-12 21:41:59 +00:00
1534d99bbd Changed the crash fix to just return -1.
2001-10-12  Christopher James Lahey  <clahey@ximian.com>

	* gal/util/e-iconv.c (e_iconv_open): Changed the crash fix to just
	return -1.

svn path=/trunk/; revision=13629
2001-10-12 21:32:42 +00:00
dd8def8723 Convert URLS so we can get clickable links.
2001-10-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (mail_error_write): Convert URLS so we can get
	clickable links.

svn path=/trunk/; revision=13628
2001-10-12 21:28:52 +00:00
c60e4c4a61 commit the importer originally from Michael M. Morrison, with fixups by
2001-10-12  Chris Toshok  <toshok@ximian.com>

	* backend/ebook/evolution-ldif-importer.c: commit the importer
	originally from Michael M. Morrison, with fixups by toshok.

	* backend/ebook/Makefile.am (bin_PROGRAMS): add
	evolution-ldif-importer.
	(oaf_in_files): add
	GNOME_Evolution_Addressbook_LDIF_Importer.oaf.in.

	* backend/ebook/e-card-simple.h: add WANTS_HTML and IS_LIST.

	* backend/ebook/e-card-simple.c (field_data): add WANTS_HTML and
	IS_LIST.
	(e_card_simple_set): fix typo.

	* backend/ebook/.cvsignore: ignore
	GNOME_Evolution_Addressbook_LDIF_Importer.oaf and
	evolution-ldif-importer.

	* backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.oaf.in:
	ldif importer oafinfo.

svn path=/trunk/; revision=13627
2001-10-12 21:00:13 +00:00
fdd4274ddf removed Score stuff from the message-list
svn path=/trunk/; revision=13626
2001-10-12 20:40:48 +00:00
6445c55f20 Copy the can group state on the sort info here.
2001-10-12  Christopher James Lahey  <clahey@ximian.com>

	* e-table-state.c (e_table_state_duplicate): Copy the can group
	state on the sort info here.

svn path=/trunk/; revision=13625
2001-10-12 20:25:21 +00:00
12cd9f731c Added a boolean type here.
2001-10-12  Christopher James Lahey  <clahey@ximian.com>

	* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h:
	Added a boolean type here.

svn path=/trunk/; revision=13624
2001-10-12 19:29:27 +00:00
a04cc4c834 Updated Slovak translation.
2001-10-12  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

	* sk.po: Updated Slovak translation.

svn path=/trunk/; revision=13623
2001-10-12 16:20:17 +00:00
2025fe2753 Fixed a crash here for NULL ofrom.
2001-10-12  Christopher James Lahey  <clahey@ximian.com>

	* gal/util/e-iconv.c (e_iconv_open): Fixed a crash here for NULL
	ofrom.

svn path=/trunk/; revision=13622
2001-10-12 15:54:04 +00:00
8c65b37a09 Updated Polish translation
svn path=/trunk/; revision=13621
2001-10-12 08:33:13 +00:00
ef416a0cf4 Check to see if the uri we are setting is the same as the current uri. If
2001-10-12  Jon Trowbridge  <trow@ximian.com>

	* gui/component/select-names/e-select-names.c
	(addressbook_model_set_uri): Check to see if the uri we are
	setting is the same as the current uri.  If so, do nothing.
	(Bug #11324)

svn path=/trunk/; revision=13620
2001-10-12 07:53:25 +00:00
59c7688bd6 Store our listener id. (popup_info_free): Disconnect our listener when we
2001-10-12  Jon Trowbridge  <trow@ximian.com>

	* mail-display.c (html_button_press_event): Store our listener id.
	(popup_info_free): Disconnect our listener when we free the popup.
	(Bug #11040)

svn path=/trunk/; revision=13619
2001-10-12 07:24:40 +00:00
9b86a51681 [Fix #7643, Starting new view doesn't honor "view" settings.]
* e-shell-view-menu.c (command_open_folder_in_new_window): Pass
the parent @shell_view as the @template_view arg to
`e_shell_create_view()'

* e-shell-view.c (activate_shortcut_cb): Pass the _view as the
@template_view arg to `e_shell_create_view()'.

* e-shell-folder-commands.c
(e_shell_command_open_folder_in_other_window): Pass the parent
@shell_view as the @template_view arg to `e_shell_create_view()'.

* e-shell.c (e_shell_create_view): New arg @template_view.
(impl_Shell_createNewView): Pass %NULL as @template_view when
calling it.
(e_shell_restore_from_settings): Likewise.

svn path=/trunk/; revision=13618
2001-10-12 06:29:09 +00:00
33423ed255 Also flush GDK after flushing GTK. Otherwise GTK might queue draw requests
* main.c (quit_box_new): Also flush GDK after flushing GTK.
Otherwise GTK might queue draw requests to X that don't get
executed.

svn path=/trunk/; revision=13617
2001-10-12 05:37:56 +00:00
ac07e6a338 [Hopefully really, finally fix #8615 and friends.]
* main.c (no_views_left_cb): Invoke `e_shell_disconnect_db()'
before unreffing the shell.

* e-shell.c (e_shell_disconnect_db): New.
(destroy): Call it instead of unreffing the db manually here.

svn path=/trunk/; revision=13616
2001-10-12 05:23:47 +00:00
e7ea619548 Don't free the folder_command_data here. It is supposed to be freed in the
* e-shell-folder-commands.c
(folder_selection_dialog_folder_selected_callback): Don't free the
folder_command_data here.  It is supposed to be freed in the async
callback.  The leak that Dan supposedly fixed was probably only
due to the fact that the component that was supposed to perform
the xfer didn't report a result.  Now that xfer actually works, it
was triggering the crash instead.  [Fixes #9769.]

svn path=/trunk/; revision=13615
2001-10-12 04:21:19 +00:00
7bb7bfa681 Only invoke `progress_listener_servant_free()', no need to also do
* e-shell-offline-handler.c (prepare_for_offline): Only invoke
`progress_listener_servant_free()', no need to also do `__fini()'
on it as `__fini()' is also called by the former.  [Fixes #12329.]
Also, print out the CORBA exception that gets raised so we have
some more clues about what is wrong.

svn path=/trunk/; revision=13614
2001-10-12 04:04:47 +00:00
9d6d152922 Don't die if the folder_bar_popup is %NULL. Fixes #10922.
* e-shell-view.c
(reparent_storage_set_view_box_and_destroy_popup): Don't die if
the folder_bar_popup is %NULL.  Fixes #10922.

svn path=/trunk/; revision=13613
2001-10-12 04:01:22 +00:00
be75a3f952 On second thought, that should be a less-than-or-equal... :)
svn path=/trunk/; revision=13612
2001-10-12 03:50:16 +00:00
1b235d03d5 Display the default view only if we are starting our own shell, or if the
* main.c (idle_cb): Display the default view only if we are
starting our own shell, or if the command-line has no arguments
and we are talking to an already existing shell.

* e-uri-schema-registry.c
(e_uri_schema_registry_set_handler_for_schema): Do not return a
value.

svn path=/trunk/; revision=13611
2001-10-12 03:48:22 +00:00
3253815c84 Added. Heuristic for whether or not we want to revert to an earlier
2001-10-11  Jon Trowbridge  <trow@ximian.com>

	* backend/ebook/e-destination.c
	(e_destination_reverting_is_a_good_idea): Added.  Heuristic for
	whether or not we want to revert to an earlier cardified state.
	(e_destination_cardify): Don't be quite as aggressive about
	reverting to previous cardified states. (Bug #11890)

svn path=/trunk/; revision=13610
2001-10-12 03:47:18 +00:00
8afca4e071 Listen for "destroy" events from the control, so that we don't leave stray
2001-10-11  Jon Trowbridge  <trow@ximian.com>

	* mail-callbacks.c (addrbook_sender): Listen for "destroy" events
	from the control, so that we don't leave stray windows laying
	around. (Bug #9101)

svn path=/trunk/; revision=13609
2001-10-12 03:19:22 +00:00
88e80089d1 change prototype for e_passwords_get_password.
2001-10-11  Chris Toshok  <toshok@ximian.com>

	* e-passwords.h: change prototype for e_passwords_get_password.

	* e-passwords.c (e_passwords_get_password): remove 'const' from
	return type - the return type is now allocated and must be freed
	by the caller.

svn path=/trunk/; revision=13608
2001-10-12 02:01:38 +00:00
1
6335fc8ec8 convert the uids list to a subset appropriate for each subfolder before
2001-10-11    <NotZed@Ximian.com>

        * camel-vee-folder.c (vee_search_by_uids): convert the uids list
        to a subset appropriate for each subfolder before trying to search
        on it.

svn path=/trunk/; revision=13607
2001-10-11 23:39:08 +00:00
d80806e8e8 Left in some test code, shit.
svn path=/trunk/; revision=13606
2001-10-11 23:15:12 +00:00
25e7651b80 missed locale.h for some system that requires it.
svn path=/trunk/; revision=13605
2001-10-11 23:02:20 +00:00
f9b9d73b82 Changed these to use the new ref and unref functions for ECard auxillary
2001-10-11  Christopher James Lahey  <clahey@ximian.com>

	* backend/ebook/e-card-simple.c (e_card_simple_destroy,
	fill_in_info, e_card_simple_sync_card, e_card_simple_set_phone,
	e_card_simple_set_address, e_card_simple_set_delivery_address,
	file_as_get_style, file_as_set_style, e_card_simple_set,
	e_card_simple_set_arbitrary),
	gui/contact-editor/e-contact-editor-address.c
	(e_contact_editor_address_destroy,
	e_contact_editor_address_set_arg,
	e_contact_editor_address_get_arg),
	gui/contact-editor/e-contact-editor-fullname.c
	(e_contact_editor_fullname_destroy,
	e_contact_editor_fullname_set_arg,
	e_contact_editor_fullname_get_arg),
	gui/contact-editor/e-contact-editor.c (phone_entry_changed,
	address_text_changed, name_entry_changed, full_name_clicked,
	full_addr_clicked, fill_in_info): Changed these to use the new ref
	and unref functions for ECard auxillary types.

	* backend/ebook/e-card-simple.h: Added a comment.

	* backend/ebook/e-card-types.h: Added ref_count field to all the
	types.

	* backend/ebook/e-card.c, backend/ebook/e-card.h: Added ref and
	unref functions here for all the ECard auxillary types.  Removed
	the corresponding free functions.  Switched to using these
	functions where appropriate.

	* gui/component/addressbook-factory.c: #include
	<e-util/e-passwords.h>

	* gui/component/addressbook.c (load_uri_cb): const correctify.

	* gui/component/select-names/e-select-names-manager.c,
	gui/component/select-names/e-select-names.c: #include
	<addressbook/gui/component/addressbook.h>

	* gui/widgets/e-addressbook-model.c (modify_card): Removed an
	unnecessary ref here.

svn path=/trunk/; revision=13604
2001-10-11 22:39:22 +00:00
1
f35bfdac73 Added a checkbox for body indexing.
2001-10-11    <NotZed@Ximian.com>

        * local-config.glade: Added a checkbox for body indexing.

        * mail-local.c (mail_local_reconfigure_folder): Get index_body
        widget.
        (mail_local_folder_reconfigure): Add an 'index_body' argument &
        implement.  Dont do anything if nothing changed.

        * openpgp-utils.c (openpgp_verify): Use e_iconv_open.

svn path=/trunk/; revision=13603
2001-10-11 22:09:43 +00:00
1
a5fa3f992d Removed charset/locale charset lookup and iconv_open/close functions,
2001-10-11    <NotZed@Ximian.com>

        * camel-charset-map.[ch]: Removed charset/locale charset lookup
        and iconv_open/close functions, moved to gal.  Fixed all callers.

svn path=/trunk/; revision=13602
2001-10-11 22:08:20 +00:00
1
736e73548c bumped revision to .1
2001-10-11    <NotZed@Ximian.com>

	* configure.in: bumped revision to .1

	* gal/widgets/test-font-loading.c (print_gdk_font_name): Close
	iconv when done.

	* gal/widgets/e-unicode.c (e_utf8_to_gtk_string_sized): Close
	iconv when dont with it.
	(e_utf8_from_charset_string_sized): Changed for e_iconv api
	changes.
	(e_utf8_to_charset_string_sized): "
	(e_utf8_from_gtk_string_sized): Close iconv when done with it.
	(e_utf8_from_locale_string_sized): "
	(e_utf8_to_locale_string_sized): "

	* gal/widgets/e-font.c (e_locale_encoding): Removed.
	(e_iconv_from_charset): Removed.
	(e_iconv_to_charset): Removed.
	(e_iconv_from_locale): Removed.
	(e_iconv_to_locale): Removed.
	(e_iconv_from_gdk_font): Changd to use new e-iconv apis.
	(e_iconv_to_gdk_font): "
	(e_font_unref): Close iconv's when done with them.
	(translate_encoding): Removed.
	(get_locale_charset): Removed.
	(e_gdk_font_encoding): Fix for api changes.

	* gal/util/e-iconv.c: New stuff to commonify/fix up some problems
	with the iconv cache/conversion stuff inside e-font.

svn path=/trunk/; revision=13601
2001-10-11 22:07:28 +00:00
d965c00a22 Same.
2001-10-11  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-tcp-stream-ssl.c (ssl_cert_is_saved): Same.

	* camel-tcp-stream-openssl.c (ssl_cert_is_saved): Instead of
	opening the file, stat it and make sure that it belongs to us.

svn path=/trunk/; revision=13600
2001-10-11 21:57:20 +00:00
df87ab4949 make the private dir so it gets created in ~/evolution.
2001-10-11  Chris Toshok  <toshok@ximian.com>

	* Makefile.am (install-data-hook): make the private dir so it gets
	created in ~/evolution.

svn path=/trunk/; revision=13599
2001-10-11 20:14:24 +00:00
7d7fcc9aea open the bonobo config db for our passwords. (e_passwords_shutdown): sync
2001-10-11  Chris Toshok  <toshok@ximian.com>

	* e-passwords.c (e_passwords_init): open the bonobo config db for
	our passwords.
	(e_passwords_shutdown): sync and unref the bonobo db, and clear
	out the per session hash.
	(e_passwords_forget_passwords): remove the bonobo config db
	/Passwords path, and free up the session hash (but don't destroy
	it).
	(e_passwords_remember_password): remove the key/value from the
	session hash, after inserting it into the bonobo db.
	(e_passwords_get_password): look up a session password for the
	uri, and if it's not there, consult the bonobo db.
	(e_passwords_ask_password): quiet gcc's warnings, and only consult
	the toggle button state if we actaully created it.

svn path=/trunk/; revision=13598
2001-10-11 20:13:23 +00:00