Commit Graph

11756 Commits

Author SHA1 Message Date
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
79eb760686 oops, and here too
svn path=/trunk/; revision=13597
2001-10-11 19:42:38 +00:00
2bbc7815e9 pass FALSE along to the add_message_attachments call
svn path=/trunk/; revision=13596
2001-10-11 19:39:47 +00:00
bde8795c94 Deleted declaration of len.
2001-10-11  Jeffrey Stedfast  <fejj@ximian.com>

	* listener.c (impl_event): Deleted declaration of len.

	* e-msg-composer.c (e_msg_composer_add_message_attachments): Take
	a settext argument.
	(e_msg_composer_new_with_message): Updated to pass the settext argument.

svn path=/trunk/; revision=13595
2001-10-11 19:39:07 +00:00
377edd07b7 Attach the message attachments. Fixes bug #5439.
2001-10-11  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (do_forward_non_attached): Attach the message
	attachments. Fixes bug #5439.

svn path=/trunk/; revision=13594
2001-10-11 19:33:08 +00:00
93012d3c36 add wombat-private-moniker.[ch].
2001-10-11  Chris Toshok  <toshok@ximian.com>

	* Makefile.am (wombat_SOURCES): add wombat-private-moniker.[ch].

	* GNOME_Evolution_WombatLDAP.oaf.in: add wombat-private
	factory/moniker.

	* GNOME_Evolution_WombatNOLDAP.oaf.in: same.

	* wombat-private-moniker.[ch]: xmldb for private database -- non
	configuration settings, basically.

svn path=/trunk/; revision=13593
2001-10-11 19:06:09 +00:00
aee129e250 large reworking of i18n tagging and now uses gtk_html_stream write and U_
2001-10-11  Larry Ewing  <lewing@ximian.com>

        * gui/e-itip-control.c: large reworking of i18n tagging and now
        uses gtk_html_stream write and U_ where appropriate.  More to
        come.

svn path=/trunk/; revision=13592
2001-10-11 19:05:56 +00:00
f6dce20df1 Update the signature to match the new signal.
* e-summary-mail.c (update_folder_cb): Update the signature to
	match the new signal.

svn path=/trunk/; revision=13591
2001-10-11 19:01:06 +00:00
bb37bd26e7 Don't need this any more.
* gui/component/select-names/e-select-names.c (update_folder):
	Don't need this any more.

svn path=/trunk/; revision=13590
2001-10-11 19:00:26 +00:00
a2db1f2033 No longer need to pass folder display name to storage update_folder
* mail-folder-cache.c (update_1folder): No longer need to pass
	folder display name to storage update_folder methods.
	(setup_folder, free_folder_info): Meaning we no longer need to
	keep track of it.

	* evolution-outlook-importer.[ch], evolution-mbox-importer.[ch]:
	These copies are cruft. The real ones are in importers/.

svn path=/trunk/; revision=13589
2001-10-11 18:59:36 +00:00
0b63c0c627 gr. save then commit.
svn path=/trunk/; revision=13588
2001-10-11 18:54:34 +00:00
1a4d87b9d7 Remove "display_name" arg from update methods. It was only there to do the
* Evolution-Storage.idl: Remove "display_name" arg from update
	methods. It was only there to do the "Inbox (5)" hack, which is
	supported directly now.

	* evolution-storage.c (impl_Storage_updateFolder): no longer takes
	display_name.
	(evolution_storage_update_folder,
	evolution_storage_update_folder_by_uri): Likewise.
	(class_init): Update signal signature.

	* evolution-storage-listener.c
	(impl_GNOME_Evolution_StorageListener_notifyFolderUpdated): No
	longer takes display_name, but make it pass the unread_count along
	in the signal it emits.
	(class_init): Update signal signature.

	* e-local-storage.c (bonobo_interface_update_folder_cb):
	* e-corba-storage.c (impl_StorageListener_notifyFolderUpdated): No
	longer take display_name.

svn path=/trunk/; revision=13587
2001-10-11 18:53:41 +00:00
a035cd8f33 Based on patches from Fredrik Nilsson <jymdman@home.se>.
2001-10-11  Christopher James Lahey  <clahey@ximian.com>

	Based on patches from Fredrik Nilsson <jymdman@home.se>.

	* gal/util/e-util.c (e_format_number): Made this work properly for
	numbers with a full set of 0s for one of the grouping elements.

svn path=/trunk/; revision=13586
2001-10-11 18:08:54 +00:00
5e23b58d82 Fix the order of the help/ subdirs. These must be sorted as a preorder
2001-10-11  Federico Mena Quintero  <federico@ximian.com>

	* configure.in (AC_OUTPUT): Fix the order of the help/ subdirs.
	These must be sorted as a preorder walk for a tree!

svn path=/trunk/; revision=13585
2001-10-11 17:16:05 +00:00
6eed3b5466 blah
svn path=/trunk/; revision=13584
2001-10-11 16:47:37 +00:00
dbcaac3afa Make sure the service/storage are non-NULL.
2001-10-11  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (free_storage): Make sure the
	service/storage are non-NULL.

	* mail-callbacks.c (e_gnome_dialog_parent_destroyed): Call
	gtk_main_quit.
	(send_receive_mail): Don't use e_gnome stuff since this doesn't
	need to be run using gnome_dialog_run_and_close().
	(composer_send_cb): Same.
	(edit_msg): Here too.
	(resend_msg): And here.
	(search_msg): Same.
	(filter_edit): Here too.
	(filter_edit): Don't use e_gnome_dialog_set_parent() because we
	don't do gnome_dialog_run_and_close on this dialog.
	(e_gnome_error_dialog_parented): Removed.
	(e_gnome_ok_dialog_parented): Removed.

svn path=/trunk/; revision=13583
2001-10-11 16:47:17 +00:00
a7b886424f Updated Ukrainian Translation
svn path=/trunk/; revision=13582
2001-10-11 16:40:28 +00:00
69b2e6d8ee Use e_strdup_append_strings here instead of g_strdup_printf because
2001-10-11  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-table-text-model.c (e_table_text_model_insert,
	e_table_text_model_insert_length, e_table_text_model_delete),
	gal/e-text/e-text-model.c (e_text_model_real_insert,
	e_text_model_real_insert_length): Use e_strdup_append_strings here
	instead of g_strdup_printf because printf("%.*s") is locale
	dependent on some systems.

	* gal/util/e-util.c (e_strdup_append_strings): New function to
	append a bunch of strings with optional lengths.

svn path=/trunk/; revision=13581
2001-10-11 16:17:41 +00:00
ae61b9ce68 Updated Ukrainian Translation
svn path=/trunk/; revision=13580
2001-10-11 10:25:45 +00:00
1ceb0afee6 Updated Ukrainian Translation
svn path=/trunk/; revision=13579
2001-10-11 10:18:10 +00:00
81c256ebc1 Check that view->view != NULL. (save_contact_cb): Check that view->view !=
2001-10-11  Jon Trowbridge  <trow@ximian.com>

        * gui/component/addressbook.c (new_contact_cb): Check that
        view->view != NULL.
        (save_contact_cb): Check that view->view != NULL.
        (search_cb): Check that view->view != NULL.
        (delete_contact_cb): Check that view->view != NULL.
        (print_cb): Check that view->view != NULL.
        (print_preview_cb): Check that view->view != NULL.
        (stop_loading_cb): Check that view->view != NULL.
        (cut_contacts_cb): Check that view->view != NULL.
        (copy_contacts_cb): Check that view->view != NULL.
        (paste_contacts_cb): Check that view->view != NULL.
        (select_all_contacts_cb): Check that view->view != NULL.
        (send_contact_cb): Check that view->view != NULL.
        (send_contact_to_cb): Check that view->view != NULL.
        (update_command_state): Check that view->view != NULL.  Hold a
        reference to the AddressbookView for the duration of the function,
        in case we exit during bonobo-reentrancy.
        (addressbook_view_ref): Added.
        (addressbook_view_unref): Added.  Simple ref counting for
        AddressbookView objects.
        (addressbook_view_clear): Zero out an AddressbookView.  This is
        now separated from the deallocation of the AddressbookView object,
        so that we don't leave a dangling pointer if we exit during
        bonobo-reentrancy in update_command_state. (Which often seems to
        happen if we exit while addressbook operations are going on.)
        (destroy_callback): Replace previous call to addressbook_view_free
        with addressbook_view_clear/addressbook_view_unref calls.
        (addressbook_factory_new_control): Initialize the reference count
        in the AddressbookView object.

        * gui/widgets/e-addressbook-view.c (e_addressbook_view_destroy):
        Carefully zero out our destroyed object.
        (command_state_change): Hold a reference to ourselves during the
        signal emission.
        (get_selected_cards): Ref cards as we add them to the list.
        (e_addressbook_view_stop): Check for view != NULL.
        (e_addressbook_view_can_create): Check for view != NULL.
        (e_addressbook_view_can_print): Check for view != NULL.
        (e_addressbook_view_can_save_as): Check for view != NULL.
        (e_addressbook_view_can_send): Check for view != NULL.
        (e_addressbook_view_can_send_to): Check for view != NULL.
        (e_addressbook_view_can_delete): Check for view != NULL.
        (e_addressbook_view_can_cut): Check for view != NULL.
        (e_addressbook_view_can_copy): Check for view != NULL.
        (e_addressbook_view_can_paste): Check for view != NULL.
        (e_addressbook_view_can_select_all): Check for view != NULL.
        (e_addressbook_view_can_stop): Check for view != NULL.

        * gui/widgets/e-addressbook-model.c (addressbook_destroy): Be
        careful about zeroing out our destroyed object.

        * backend/ebook/e-book-view.c (e_book_view_stop): Added.  Stops
        event processing in the underlying listener.

svn path=/trunk/; revision=13578
2001-10-11 08:31:29 +00:00
4e40ea7c7f Silence warning I missed.
--Larry

svn path=/trunk/; revision=13577
2001-10-11 04:30:10 +00:00
dfbc58d046 Fix up the logic here.
* mail-config.c (new_source_created): Fix up the logic here.

svn path=/trunk/; revision=13576
2001-10-10 22:52:10 +00:00
f3e2d67d4d Same hack as below.
2001-10-10  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-tcp-stream-openssl.c (ssl_verify): Same hack as below.

	* camel-tcp-stream-ssl.c (ssl_bad_cert): Hack around the fact that
	adding a cert to nss's certdb seems to not work.

svn path=/trunk/; revision=13575
2001-10-10 22:13:05 +00:00
6f8c05ce9e Updated Polish translation
svn path=/trunk/; revision=13574
2001-10-10 22:04:31 +00:00
0
12c3606459 Only re-build the folder if we're expunging. Also only clear out the
2001-10-10    <NotZed@Ximian.com>

        * camel-vee-folder.c (vee_sync): Only re-build the folder if we're
        expunging.  Also only clear out the changed folders list if we're
        expungung and everything worked.

svn path=/trunk/; revision=13573
2001-10-10 21:50:42 +00:00
55cf0a3f33 slight wording changes, mainly LGPL=>GPL
svn path=/trunk/; revision=13572
2001-10-10 21:50:30 +00:00
c9c7f4f327 Updated Spanish translation.
svn path=/trunk/; revision=13571
2001-10-10 21:49:55 +00:00
4587657ec7 try again, updates evolution/po/da.po
try again, updates
evolution/po/da.po

svn path=/trunk/; revision=13570
2001-10-10 21:36:29 +00:00
e055b4a0fd Added a hack for Solaris systems.
2001-10-10  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-charset-map.c (camel_charset_map_init): Added a hack for
	Solaris systems.

svn path=/trunk/; revision=13569
2001-10-10 21:36:22 +00:00
82b63c067c set the default character set to utf-8.
2001-10-10  Larry Ewing  <lewing@ximian.com>

	* gui/e-itip-control.c (init): set the default character set to
	utf-8.

svn path=/trunk/; revision=13568
2001-10-10 21:04:29 +00:00
7e628d1745 Check for either a matching account name, or for a matching e-mail address
2001-10-10  Jon Trowbridge  <trow@ximian.com>

        * e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_from_account):
        Check for either a matching account name, or for a matching e-mail
        address embedded in the passed-in string. (Fixes half of bug
        #3255)
        (destroy): Call bonobo_object_release_unref on corba_select_names,
        not CORBA_Object_release.  Otherwise we leak stuff all over the
        place. (Bug #11878)

        * e-msg-composer.c (e_msg_composer_new_with_message): If our message
        doesn't contain an X-Evolution-Account header, pass in the From
        header as the account name.  (Fixes the other half of #3255)

svn path=/trunk/; revision=13567
2001-10-10 20:47:46 +00:00
484c8193e1 Implement these functions as pass through to the child cell.
2001-10-10  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-popup.c (ecp_get_bg_color), e-cell-tree.c
	(ect_get_bg_color): Implement these functions as pass through to
	the child cell.

	* e-cell-text.c, e-cell-text.h (ect_get_bg_color): Implemented
	this using a bg_color_column which can be set through the argument
	of the same string.

	* e-cell.c, e-cell.h (e_cell_get_bg_color): Added this function to
	allow background color to change by cell.

	* e-table-item.c (eti_get_cell_background_color): Call
	e_cell_get_bg_color to allow background color to change by cell.

svn path=/trunk/; revision=13566
2001-10-10 20:44:25 +00:00
d74fe8f60d If our select names dialog is still around, destroy it. Otherwise, the
2001-10-10  Jon Trowbridge  <trow@ximian.com>

        * gui/component/select-names/e-select-names-manager.c
        (e_select_names_manager_destroy): If our select names dialog is
        still around, destroy it.  Otherwise, the dialog will hang around
        after our composer goes away.

svn path=/trunk/; revision=13565
2001-10-10 20:38:47 +00:00
f33633d773 use new function to copy the attachments from the source message. This
2001-10-10  Larry Ewing  <lewing@ximian.com>

	* mail-callbacks.c (mail_generate_reply): use new function to copy
	the attachments from the source message.  This still isn't perfect
	but it should avoid the problems with headers being transfered.
	This makes images in replies work again.

svn path=/trunk/; revision=13564
2001-10-10 20:37:13 +00:00
fee8a6f66d add prototype.
2001-10-10  Larry Ewing  <lewing@ximian.com>

	* e-msg-composer.h: add prototype.

	* e-msg-composer.c (e_msg_composer_add_message_attachments): new
	function to copy attachments from the a message to a composer.
	(e_msg_composer_set_pending_body): make simple function to
	abstract this.
	(e_msg_composer_apply_pending_body): apply the pending body to
	the composer.
	(e_msg_composer_new_with_message): use
	e_msg_composer_add_message_attachments to copy attachments.

svn path=/trunk/; revision=13563
2001-10-10 20:35:33 +00:00
44f3c6d906 Fixed polling in offline mode
svn path=/trunk/; revision=13562
2001-10-10 19:54:28 +00:00
0
6e1a9c1903 oops, we want get_unread_message_count, not get_message_count!
2001-10-10    <NotZed@Ximian.com>

        * providers/local/camel-maildir-store.c (scan_dir): oops, we want
        get_unread_message_count, not get_message_count!

2001-10-09    <NotZed@Ximian.com>

        * camel-service.c (camel_service_disconnect): Duplicate connect
        code that unregisters a cancel op if we created one.

svn path=/trunk/; revision=13561
2001-10-10 19:48:27 +00:00
b1e9620e1a Minimum time of updates is 5 minutes
svn path=/trunk/; revision=13560
2001-10-10 19:07:49 +00:00
cde89b0c78 updated
svn path=/trunk/; revision=13559
2001-10-10 19:03:29 +00:00
22d4b2eee5 Return the original key in the hash table if requested.
2001-10-10  Federico Mena Quintero  <federico@ximian.com>

	* pcs/cal-factory.c (lookup_backend): Return the original key in
	the hash table if requested.
	(backend_last_client_gone_cb): Use lookup_backend() so that we
	have the URI mangling done for us.
	(impl_CalFactory_open): The type should be GtkType *, not GtkType!

svn path=/trunk/; revision=13557
2001-10-10 18:42:47 +00:00
5e55caa71b remove unneeded assertions
2001-10-10  JP Rosevear  <jpr@ximian.com>

	* cal-client/cal-client.c (cal_set_mode_cb): remove unneeded
	assertions

svn path=/trunk/; revision=13556
2001-10-10 16:24:36 +00:00
7b0e31d80f 0.16.99.
* configure.in: 0.16.99.

svn path=/trunk/; revision=13555
2001-10-10 15:56:43 +00:00
10a3c7d469 0.16.
svn path=/trunk/; revision=13554
2001-10-10 15:35:32 +00:00
f2f4729383 Added info about the shell, plus some minor fixes for consistency.
* NEWS: Added info about the shell, plus some minor fixes for
consistency.

svn path=/trunk/; revision=13553
2001-10-10 14:37:48 +00:00
1359335208 fix logic checks
2001-10-10  JP Rosevear  <jpr@ximian.com>

	* pcs/cal-factory.c (add_uri): fix logic checks

	* gui/dialogs/event-editor.c (event_editor_init): init the
	exisiting_org boolean
	(set_menu_sens): base sensitivity on existing_org boolean
	(event_editor_edit_comp): set exisiting_org boolean

	* gui/dialogs/task-editor.c: same as above

	* gui/calendar-offline-handler.c (add_connection): handle the
	protocol or host being unknown

	* cal-util/cal-component.c (cal_component_has_organizer):
	implement

svn path=/trunk/; revision=13552
2001-10-10 14:37:14 +00:00