1. 28 Mar, 2001 3 commits
  2. 27 Mar, 2001 26 commits
    • Jeffrey Stedfast's avatar
      If we aren't going to even check the resp/free buffer that gets returned · 7b128390
      Jeffrey Stedfast authored
      2001-03-27  Jeffrey Stedfast  <fejj@ximian.com>
      
      	* providers/pop3/camel-pop3-folder.c (pop3_sync): If we aren't
      	going to even check the resp/free buffer that gets returned from
      	camel_pop3_command, don't even bother using it. Send in NULL
      	instead.
      	(pop3_get_message): Check to make sure that the `result' string is
      	non-NULL. It's possible that some POP servers may return with
      	"+OK\r\n<message>..." rather than the expected
      	"+OK ### octets\r\n<message>..."
      
      svn path=/trunk/; revision=8985
      7b128390
    • Jeffrey Stedfast's avatar
      Lets do some NULL checking here. First, make sure the gsrc isn't NULL and · de1dd89f
      Jeffrey Stedfast authored
      2001-03-27  Jeffrey Stedfast  <fejj@ximian.com>
      
      	* mail-account-editor.c (switch_page): Lets do some NULL checking
      	here. First, make sure the gsrc isn't NULL and also make sure that
      	account->source isn't NULL either.
      
      	* mail-account-gui.c (mail_account_gui_setup): If there isn't a
      	source_proto, make sure we select "None" as the source type.
      
      svn path=/trunk/; revision=8984
      de1dd89f
    • Anna Marie Dirks's avatar
      fixed button placement to comply with gnome standards. · f449bc01
      Anna Marie Dirks authored
      001-03-27 Anna Marie Dirks <anna@ximian.com>
      	* gui/e-itip-control.c: fixed button placement to comply
      	with gnome standards.
      
      svn path=/trunk/; revision=8983
      f449bc01
    • Larry Ewing's avatar
      set the FormatHTML property on the editor to let it know the mode. · 385e0d64
      Larry Ewing authored
      2001-03-27  Larry Ewing  <lewing@ximian.com>
      
      	* e-msg-composer.c (e_msg_composer_set_send_html): set the
      	FormatHTML property on the editor to let it know the mode.
      	(e_msg_composer_construct): set the FormatHTML property at
      	construct time.
      
      svn path=/trunk/; revision=8982
      385e0d64
    • Anna Marie Dirks's avatar
      fixed spacing and label alignment to comply with gnome standards. Also · f48fac46
      Anna Marie Dirks authored
      2001-03-27 Anna Marie Dirks <anna@ximian.com>
      	* gui/e-itip-control.glade: fixed spacing and label alignment to
      	comply with gnome standards. Also removed shadows from extraneous
      	scrolled windows to avoid bevelitous. There are many more changes
      	that need to happen to this viewer, but they all require a hacker
      	to do some c-coding, so I will avoid committing them until after the
      	.10 release.
      
      svn path=/trunk/; revision=8981
      f48fac46
    • Dan Winship's avatar
      set the initial druid button state after doing the mail_account_gui_setup, · 5bc0caf5
      Dan Winship authored
      	* mail-config-druid.c (construct): set the initial druid button
      	state after doing the mail_account_gui_setup, since that may
      	invoke signal handlers that will change it.
      
      svn path=/trunk/; revision=8980
      5bc0caf5
    • Dan Winship's avatar
      (save_service): Don't look at authtype if the widget is · 6c227e51
      Dan Winship authored
      	insensitive. (Fixes the "smtp://;auth=PLAINservername" bug.)
      
      svn path=/trunk/; revision=8979
      6c227e51
    • Dietmar Maurer's avatar
      we can now resolve to storages and streams. · fdb5b0e4
      Dietmar Maurer authored
      2001-03-27  Dietmar Maurer  <dietmar@ximian.com>
      
      	* wombat-moniker.c (wombat_moniker_resolve): we can now resolve to
      	storages and streams.
      
      svn path=/trunk/; revision=8978
      fdb5b0e4
    • Dan Winship's avatar
      Fill in signature and organization too. (mail_account_gui_save): Preserve · dbd459b5
      Dan Winship authored
      	* mail-account-gui.c (mail_account_gui_new): Fill in signature and
      	organization too.
      	(mail_account_gui_save): Preserve the "enabled" flag on the source.
      
      svn path=/trunk/; revision=8977
      dbd459b5
    • Not Zed's avatar
      Use gnome-dialog-close instead of object_unref, for some reason it doesn't · 31df1c2d
      Not Zed authored
      2001-03-27  Not Zed  <NotZed@Ximian.com>
      
              * mail-send-recv.c (receive_done): Use gnome-dialog-close instead
              of object_unref, for some reason it doesn't like being unref'd
              with a refcount of 1, _who knows_.  Gets rid of that refcount
              warning on get mail.
      
      svn path=/trunk/; revision=8976
      31df1c2d
    • Not Zed's avatar
      Unref the html filter when done. (summary_build_content_info): Disable · f964f65b
      Not Zed authored
      2001-03-27  Not Zed  <NotZed@Ximian.com>
      
              * camel-folder-summary.c (camel_folder_summary_finalize): Unref
              the html filter when done.
              (summary_build_content_info): Disable using the html parser to
              help index html mails until it gets sorted out.
      
      svn path=/trunk/; revision=8975
      f964f65b
    • Larry Ewing's avatar
      set the FormatHTML property on the editor to let it know the mode. · ad245944
      Larry Ewing authored
      2001-03-27  Larry Ewing  <lewing@ximian.com>
      
      	* e-msg-composer.c (e_msg_composer_set_send_html): set the
      	FormatHTML property on the editor to let it know the mode.
      
      svn path=/trunk/; revision=8974
      ad245944
    • Not Zed's avatar
      Fix a cut n paste bug, we want uid_removed not uid_changed deref, fixes · 0fc9632e
      Not Zed authored
      2001-03-27  Not Zed  <NotZed@Ximian.com>
      
      	* camel-vee-folder.c (folder_changed): Fix a cut n paste bug, we
      	want uid_removed not uid_changed deref, fixes bug #1999.
      
      svn path=/trunk/; revision=8973
      0fc9632e
    • Dan Winship's avatar
      add an argument to say whether or not you want "PLAIN" in the list (so you · 0a12cd8b
      Dan Winship authored
      	* camel-sasl.c (camel_sasl_authtype_list): add an argument to say
      	whether or not you want "PLAIN" in the list (so you don't end up
      	with "Password" twice in the config dialog).
      
      	* providers/imap/camel-imap-provider.c (camel_provider_module_init):
      	* providers/imap/camel-imap-store.c (query_auth_types): We don't
      	want PLAIN.
      
      	* providers/smtp/camel-smtp-provider.c (camel_provider_module_init):
      	* providers/smtp/camel-smtp-transport.c (query_auth_types): But we
      	do.
      
      svn path=/trunk/; revision=8972
      0a12cd8b
    • Dan Winship's avatar
      Probably the very last new config dialog ever. (Ha ha). From Anna, based · 6dd8aabe
      Dan Winship authored
      	* mail-config.glade: Probably the very last new config dialog
      	ever. (Ha ha). From Anna, based on a story by me.
      
      	* mail-account-gui.c: New code for the new mail-config.glade. This
      	abstracts out all of the common code between the account editor
      	and the druid. It also handles the spiffy new provider-specific
      	config stuff.
      
      	FIXME: The code to check if a service is ok or not is no longer
      	there... waiting until the online/offline stuff from the shell
      	appears.
      
      	* mail-account-editor.c, mail-config-druid.c: These are much
      	smaller now, since most of the interesting bits moved to
      	mail-account-gui.c
      
      	* mail-accounts.c: Add an enabled/disabled column/button to
      	replace the checkbox that used to be in the editor, because it
      	really makes more sense to have it out here. This looks ugly.
      	Probably ought to ETable it...
      	(load_accounts): Fill in the enabled column.
      	(mail_select, mail_unselect): toggle the sensitivity and name of
      	the Enable/Disable button appropriately
      	(mail_able): Handle the enable/disable button.
      
      	* mail-config.c: Remove reply-to from MailConfigIdentity since it
      	didn't belong there (and wasn't being saved anyway).
      	(mail_config_check_service): Simplify this a bit. This really
      	needs to pop up a dialog with a "connecting..." message and a
      	cancel button.
      
      svn path=/trunk/; revision=8971
      6dd8aabe
    • Dan Winship's avatar
      Kludge, copied+modified from mail_config_folder_to_cachename to deal with · 0b8af6dc
      Dan Winship authored
      	* mail-ops.c (uid_cachename_hack): Kludge, copied+modified from
      	mail_config_folder_to_cachename to deal with the different
      	behavior of the URL code now. Will go away when the keep-on-server
      	code moves.
      	(get_folderinfo_get): Only pass "subscribed_only" to
      	camel_store_get_folder_info if the store supports subscriptions...
      
      svn path=/trunk/; revision=8970
      0b8af6dc
    • Dan Winship's avatar
      Update this to reflect the CamelProvider structure change · 3843c543
      Dan Winship authored
      	* mail-local.c (local_provider): Update this to reflect the
      	CamelProvider structure change
      
      svn path=/trunk/; revision=8969
      3843c543
    • Dan Winship's avatar
      Add an "extra_conf" field to CamelProvider with structures and defines and · 4c42c93d
      Dan Winship authored
      	* camel-provider.h: Add an "extra_conf" field to CamelProvider
      	with structures and defines and stuff, for providers to specify
      	additional configuration options that they want. Also add a
      	"supports ssl" flag to the provider flags.
      
      	* camel-remote-store.c: add a "default_ssl_port" field.
      	(remote_construct): If the URL has the "use_ssl" parameter, set
      	the store's use_ssl flag.
      	(remote_connect): If using SSL and no port specified, use the
      	default_ssl_port rather than the default_port.
      
      	* providers/smtp/camel-smtp-provider.c (smtp_provider): add
      	CAMEL_PROVIDER_SUPPORTS_SSL and CAMEL_URL_ALLOW_USER. (The config
      	gui code knows that the ALLOW_USER and ALLOW_AUTH go together.)
      	(ssmtp_provider): gone
      
      	* providers/smtp/camel-smtp-transport.c (smtp_construct): Set a
      	flag if "use_ssl" param is set.
      	(smtp_connect): Check the CamelSmtpTransport use_ssl flag rather
      	than checking if this is smtp or ssmtp.
      
      	* providers/imap/camel-imap-provider.c (imap_conf_entries): Add a
      	bunch of IMAP-specific configuration options, like "check for new
      	mail in all folders" (default TRUE), "show only subscribed
      	folders" (default TRUE), "ignore server-supplied namespace", and
      	"apply filters to INBOX" (not yet implemented).
      	(imap_provider): We support SSL and we no longer allow a path in
      	the URL. (namespace is handled via extra_conf)
      	(simap_provider): Gone
      
      	* providers/imap/camel-imap-store.c (camel_imap_store_init): Set
      	default_ssl_port, don't set CAMEL_STORE_SUBSCRIPTIONS here
      	(construct): remove simap stuff, deal with "use_lsub",
      	"namespace", "check_all", and "filter" parameters. Set base_url
      	to not include params.
      	(imap_store_setup_online): Don't ask for the namespace if it was
      	set explicitly. Don't get subscribed folders if !use_lsub.
      	(imap_concat): Fix a bug.
      	(get_folder_info): Support for not checking all folders.
      
      	* providers/pop3/camel-pop3-provider.c (pop3_conf_entries): "keep
      	on server" (currently still implemented by the mailer code, not
      	here), "delete after N days" (not yet implemented).
      	(pop3_provider): we support SSL
      	(spop_provider): gone
      
      	* providers/pop3/camel-pop3-store.c (camel_pop3_store_init): Set
      	default_ssl_port
      	(pop3_connect): Remove spop code
      
      svn path=/trunk/; revision=8968
      4c42c93d
    • Dan Winship's avatar
      Fix parsing of params. (output_param): And unparsing... · 26b82892
      Dan Winship authored
      	* camel-url.c (camel_url_new_with_base): Fix parsing of params.
      	(output_param): And unparsing...
      
      svn path=/trunk/; revision=8967
      26b82892
    • Dan Winship's avatar
      Rewrite to use imap_store->namespace, not service->url->path · 6b7d4b65
      Dan Winship authored
      	* providers/imap/camel-imap-folder.c (imap_get_full_name): Rewrite
      	to use imap_store->namespace, not service->url->path
      
      svn path=/trunk/; revision=8966
      6b7d4b65
    • Jeffrey Stedfast's avatar
      Add "vtrash" as an allowed mail folder type. · 60efd7f1
      Jeffrey Stedfast authored
      2001-03-26  Jeffrey Stedfast  <fejj@ximian.com>
      
      	* mail-callbacks.c (transfer_msg): Add "vtrash" as an allowed mail
      	folder type.
      
      svn path=/trunk/; revision=8965
      60efd7f1
    • Jeffrey Stedfast's avatar
      Move all of the camel_vee_folder_construct() internals here. · 7e4fb782
      Jeffrey Stedfast authored
      2001-03-26  Jeffrey Stedfast  <fejj@ximian.com>
      
      	* camel-vee-folder.c (vee_folder_construct): Move all of the
      	camel_vee_folder_construct() internals here.
      	(camel_vee_folder_construct): This function basically becomes a
      	wrapper for vee_folder_construct and also checks to make sure that
      	the UNMATCHED vfodler is constructed otherwise constructs it.
      	(camel_vee_folder_new): Call vee_folder_construct() instead so
      	that we don't get into a dead-lock.
      
      svn path=/trunk/; revision=8964
      7e4fb782
    • Jeffrey Stedfast's avatar
      Updated to reflect changes made to the move/copy API in camel-folder.c · 5aef76bb
      Jeffrey Stedfast authored
      2001-03-26  Jeffrey Stedfast  <fejj@ximian.com>
      
      	* mail-ops.c (transfer_messages_transfer): Updated to reflect
      	changes made to the move/copy API in camel-folder.c
      	(add_vtrash_info): Use /Trash as the path instead of Trash.
      
      	* mail-local.c (reconfigure_folder_reconfigure): Updated this too.
      
      svn path=/trunk/; revision=8963
      5aef76bb
    • Jeffrey Stedfast's avatar
      oops, don't use uids->pdata[i], just use uids · 162a2e87
      Jeffrey Stedfast authored
      svn path=/trunk/; revision=8962
      162a2e87
    • Jeffrey Stedfast's avatar
      Updated to reflect changes made to the move/copy API in camel-folder.c · cae25657
      Jeffrey Stedfast authored
      2001-03-26  Jeffrey Stedfast  <fejj@ximian.com>
      
      	* mail-ops.c (transfer_messages_transfer): Updated to reflect
      	changes made to the move/copy API in camel-folder.c
      
      	* mail-local.c (reconfigure_folder_reconfigure): Updated this too.
      
      svn path=/trunk/; revision=8961
      cae25657
    • Jeffrey Stedfast's avatar
      Use camel_vtrash_folder_new() to create the vtrash folder now. · efddd51d
      Jeffrey Stedfast authored
      2001-03-26  Jeffrey Stedfast  <fejj@ximian.com>
      
      	* camel-store.c (init_trash): Use camel_vtrash_folder_new() to
      	create the vtrash folder now.
      
      	* camel-vtrash-folder.[c,h]: New subclass of CamelVeeFolder for
      	our vTrash folders.
      
      	* camel-folder.c (camel_folder_copy_messages_to): Don't watch for
      	vtrash folders anymore.
      	(camel_folder_move_messages_to): Same.
      
      	* camel-vee-folder.c (camel_vee_folder_class_init): Update.
      	(vee_move_messages_to): Rewrite to use the new move API.
      
      	* camel-filter-driver.c (do_copy): Updated to reflect
      	copy_message_to changes. Create a temporary uid array and use
      	that.
      	(do_move): Same.
      	(camel_filter_driver_filter_message): And again, here...
      
      	* providers/imap/camel-imap-folder.c (imap_copy_messages_to):
      	Update to the new API.
      	(imap_move_messages_to): Same.
      	(get_uid_set): New function to create a `set' string based on an
      	array of UIDs for use with imap_copy_messages_to.
      
      	* camel-folder.c (camel_folder_copy_messages_to): Replaces
      	camel_folder_copy_message_to
      	(camel_folder_move_message_to): Replaces
      	camel_folder_move_message_to.
      
      svn path=/trunk/; revision=8960
      efddd51d
  3. 26 Mar, 2001 11 commits
    • Ettore Perazzoli's avatar
      Get the shell to compile by implementing a missing function. · 7b792443
      Ettore Perazzoli authored
      svn path=/trunk/; revision=8959
      7b792443
    • Not Zed's avatar
      Fixed vfolder_new api. · b486701f
      Not Zed authored
      2001-03-20  Not Zed  <NotZed@Ximian.com>
      
              * mail-local.c (init_trash): Fixed vfolder_new api.
      
      svn path=/trunk/; revision=8958
      b486701f
    • Not Zed's avatar
      Added folder_created event here. · 1d80d46e
      Not Zed authored
      2001-03-27  Not Zed  <NotZed@Ximian.com>
      
              * camel-vee-store.c (vee_get_folder): Added folder_created event
              here.
      
              * camel-vee-folder.c (unmatched_finalise): Removed, moved into
              main finalise code.
              (message_changed): Just create a new change entry and promote it
              to a folder_changed thing.
              (vee_sync): Always rebuild folder on sync, even when not expunge.
              (folder_changed): If not autoupdating, make sure we remove any
              removed entries.
              (vee_folder_build_folder):
              (vee_folder_remove_folder): NOP if we're called on
              folder_unmatched.
              (vee_search_by_expression): Only search each folder once.  Should
              we also order the result in summary order?
      
      2001-03-20  Not Zed  <NotZed@Ximian.com>
      
              * camel-store.c (init_trash): Fix calling for vee_folder_new().
      
              * camel-folder-summary.c (camel_folder_summary_remove_index):
              Optimise slightly, use ptr_array_remove_index rather than have to
              search for the index by using summary_remove.
      
              * camel-vee-folder.h: Removed local member from VeeFolder, since
              it was never used.
      
              * camel-vee-store.c (camel_vee_store_finalise): Setup finalise
              function.
      
              * camel-vee-folder.c (camel_vee_folder_set_expression): New
              function to set the query of an existing vfolder.
              (camel_vee_folder_construct): New function for
              convenience/subclasses.
              (camel_vee_folder_new): Removed exception parameter, no longer
              needed (since we dont search yet).
              (camel_vee_folder_new): Changed to use folder_construct, and no
              longer raise the folder created signal.
              (vee_folder_build_folder): Make it return error on exception, so
              we can work without exceptions.
              (vee_folder_remove_folder): Use remove index rather than
              remove_uid, this is ok since we have the summary locked for our
              own access.
              (camel_vee_folder_add_folder): Only add the folder to the
              unmatched private if it is not a private folder.
              (camel_vee_folder_remove_folder): Only remove the folder from
              unmatched if it is not private.
              (vee_expunge): Just call sync with expunge set.
              (vee_sync): If expunging, also refresh the search.
              (vee_folder_build_folder): We do our own locking now, removed from
              callers, also trigger changed events here too (within locks),
              fixed callers appropriately.
              (vee_folder_remove_folder): Do our own locking, and trigger
              changed events.
              (vee_folder_add_info): Renamed of vee_folder_add, we now take a
              hash of the folder name, rather than use the folders address.
              (hash_folder): Convert a folder name into an 8 character hash.
              (vee_get_message, vee_search_by_expression, vee_set_message_flags,
              vee_set_message_user_flag, vee_move_message_to): Changed the uid
              to be an 8 byte hash + original uid, with no ':' anymore.
      
      svn path=/trunk/; revision=8957
      1d80d46e
    • Andraz Tori's avatar
      Updated Slovenian translation · 43f089b9
      Andraz Tori authored
      svn path=/trunk/; revision=8956
      43f089b9
    • Christopher James Lahey's avatar
      Added util/e-bit-array.lo. · 5aab042f
      Christopher James Lahey authored
      2001-03-26  Christopher James Lahey  <clahey@ximian.com>
      
      	* gal/Makefile.am (libgal_la_LIBADD): Added util/e-bit-array.lo.
      
      	* gal/util/Makefile.am: Added e-bit-array.c and e-bit-array.h.
      
      	* gal/util/e-bit-array.c, gal/util/e-bit-array.h: New class
      	containing the implementation of the bit array used in
      	e-selection-model-array.
      
      	* gal/widgets/e-selection-model-array.c,
      	e-selection-model-array.h: Refactored the bit array implementation
      	into a separate class.
      
      	* gal/widgets/e-selection-model-simple.c: Changed how it clears
      	the bit array of the ESelectionModelArray parent class.
      
      	* gal/widgets/e-selection-model.h: Added code to make the
      	declaration of EForeachFunc only get included once.
      
      svn path=/trunk/; revision=8955
      5aab042f
    • Jeffrey Stedfast's avatar
      When writing the last token (if not rfc2047 encoded), don't use · 4b93e802
      Jeffrey Stedfast authored
      2001-03-26  Jeffrey Stedfast  <fejj@ximian.com>
      
      	* camel-mime-utils.c (header_decode_text): When writing the last
      	token (if not rfc2047 encoded), don't use g_string_append_len, use
      	append_latin1.
      
      svn path=/trunk/; revision=8954
      4b93e802
    • Christopher James Lahey's avatar
      Updated these to match the new e_tree_model_node_removed signal. · 7443055a
      Christopher James Lahey authored
      2001-03-26  Christopher James Lahey  <clahey@ximian.com>
      
      	* e-tree-memory.c, e-tree-table-adapter.c: Updated these to match
      	the new e_tree_model_node_removed signal.
      
      	* e-tree-model.c, e-tree-model.h: Added an old_position parameter
      	to the node_removed signal so that it would be completely
      	deterministic.
      
      	* e-tree-sorted.c: Changed this so that paths keep track of their
      	original position.  This makes sorting much faster.
      
      svn path=/trunk/; revision=8953
      7443055a
    • Jeffrey Stedfast's avatar
      Don't spew a warning if the message-id wasn't set by the application, not · b86d822e
      Jeffrey Stedfast authored
      2001-03-26  Jeffrey Stedfast  <fejj@ximian.com>
      
      	* camel-mime-message.c (write_to_stream): Don't spew a warning if
      	the message-id wasn't set by the application, not a big deal since
      	we create one right here.
      
      svn path=/trunk/; revision=8952
      b86d822e
    • Jeffrey Stedfast's avatar
      Set the mime part content-id. · 8019a399
      Jeffrey Stedfast authored
      2001-03-26  Jeffrey Stedfast  <fejj@ximian.com>
      
      	* e-msg-composer-attachment.c (e_msg_composer_attachment_new): Set
      	the mime part content-id.
      
      svn path=/trunk/; revision=8951
      8019a399
    • Dan Winship's avatar
      Rename this from "PLAIN" to "Password": there's no reason the user needs · 5be44051
      Dan Winship authored
      	* camel-sasl-plain.c (camel_sasl_plain_authtype): Rename this from
      	"PLAIN" to "Password": there's no reason the user needs to see the
      	SASL mechanism name.
      
      svn path=/trunk/; revision=8950
      5be44051
    • Ettore Perazzoli's avatar
      Finish the DnD stuff by implementing move/copy on the shell side as · f342817e
      Ettore Perazzoli authored
      well.  Now we should just need to implement the corresponding bits in
      the components...
      
      svn path=/trunk/; revision=8949
      f342817e