1. 27 Mar, 2001 1 commit
    • 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
  2. 26 Mar, 2001 25 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
    • Dan Winship's avatar
      Make the thumbnail cache global rather than per-MailDisplay, since · 4cc23476
      Dan Winship authored
      	* mail-display.c (pixbuf_gen_idle, etc): Make the thumbnail cache
      	global rather than per-MailDisplay, since content-ids ought to be
      	globally unique. Also, don't leak content-id strings when the
      	pixbuf generation fails, and remove pixbufs from the cache after 5
      	minutes.
      
      svn path=/trunk/; revision=8948
      4cc23476
    • Dan Winship's avatar
      remove a debugging printf that got away · 18cd45c1
      Dan Winship authored
      svn path=/trunk/; revision=8947
      18cd45c1
    • Dan Winship's avatar
      undo a boolean booboo · ad709988
      Dan Winship authored
      svn path=/trunk/; revision=8946
      ad709988
    • Dan Winship's avatar
      keep a reference on the store's current_folder. · f1e4609a
      Dan Winship authored
      	* providers/imap/camel-imap-command.c (camel_imap_command): keep a
      	reference on the store's current_folder.
      
      	* providers/imap/camel-imap-store.c (camel_imap_store_finalize):
      	(imap_disconnect): unref the current_folder before clearing it.
      
      svn path=/trunk/; revision=8945
      f1e4609a
    • Dan Winship's avatar
      Make fake content-id URLs be guaranteed unique: the old way (with %p on · 91e0ec52
      Dan Winship authored
      	* mail-format.c (get_cid): Make fake content-id URLs be guaranteed
      	unique: the old way (with %p on the CamelMimePart *) would
      	generate duplicates if memory was freed and re-allocated the right
      	way.
      
      	* mail-display.c (pixbuf_gen_idle, etc): Make the thumbnail cache
      	global rather than per-MailDisplay, since content-ids ought to be
      	globally unique. Also, don't leak content-id strings when the
      	pixbuf generation fails, and remove pixbufs from the cache after 5
      	minutes.
      
      svn path=/trunk/; revision=8944
      91e0ec52
    • Dan Winship's avatar
      Add missing accessor. · c92c8b1f
      Dan Winship authored
      	* camel-url.c (camel_url_get_param): Add missing accessor.
      
      svn path=/trunk/; revision=8943
      c92c8b1f
    • Dan Winship's avatar
      Simplify a bit using camel_session_get_provider. · 3eb45d09
      Dan Winship authored
      	* component-factory.c (mail_load_storages): Simplify a bit using
      	camel_session_get_provider.
      
      	* mail-callbacks.c (empty_trash): Ditto, and fix up use of
      	CamelException.
      
      svn path=/trunk/; revision=8942
      3eb45d09
    • Dan Winship's avatar
      New. Return the provider for a URL. · d3ce110b
      Dan Winship authored
      	* camel-session.c (camel_session_get_provider): New. Return
      	the provider for a URL.
      
      svn path=/trunk/; revision=8941
      d3ce110b
    • Radek Doulik's avatar
      create camel/misc/Makefile · 25d35e4e
      Radek Doulik authored
      2001-03-26  Radek Doulik  <rodo@ximian.com>
      
      	* configure.in: create camel/misc/Makefile
      
      svn path=/trunk/; revision=8940
      25d35e4e
    • Kjartan Maraas's avatar
      Replace <gnome.h> <and <bonobo.h> includes and add <stdlib.h> to remove · b32ab1a0
      Kjartan Maraas authored
      2001-03-26  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* wombat.c: Replace <gnome.h> <and <bonobo.h> includes
      	and add <stdlib.h> to remove warnings from newer gcc.
      
      2001-03-21  JP Rosevear  <jpr@ximian.com>
      
      svn path=/trunk/; revision=8939
      b32ab1a0
    • Kjartan Maraas's avatar
      Header shuffling. Move glibc headers before gnome stuff. Same here. Added · 69af2a1b
      Kjartan Maraas authored
      2001-03-26  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* disktail.c: Header shuffling. Move glibc headers before
      	gnome stuff.
      	* testindex.c: Same here.
      	* wordindexmem.c: Added <string.h> and <stdlib.h> to quench
      	warnings from newer gcc.
      
      svn path=/trunk/; revision=8938
      69af2a1b
    • Kjartan Maraas's avatar
      Replace includes of <gnome.h>, <bonobo.h> and <gtk/gtk.h> with the needed · 5fe6e035
      Kjartan Maraas authored
      2001-03-26  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* cal-client/client-test.c: Replace includes of <gnome.h>, <bonobo.h>
      	and <gtk/gtk.h> with the needed headers to speed up compile.
      	* cal-util/test-recur.c: Same here for <gtk/gtk.h>
      	* gui/calendar-commands.c: Replace <bonobo.h> and remove
      	<libgnorba/gnorba.h>
      	* gui/calendar-summary.c: Replace <gnome.h> and <bonobo.h>
      	* gui/calendar-summary.h: Added <bonobo/bonobo-generic-factory.h>
      	* gui/component-factory.c: Remove <bonobo.h>
      	* gui/control-factory.c: Replace <bonobo.h>
      	* gui/e-calendar-table.c: Remove <gnome.h>
      	* gui/e-itip-control.c: Replace <gnome.h> and <bonobo.h>
      	* gui/e-meeting-edit.c: Replace <bonobo.h>
      	* gui/e-tasks.c: Replace <gnome.h>
      	* gui/e-tasks.h: Replace <bonobo.h>
      	* gui/gnome-cal.h: Remove <bonobo.h>
      	* gui/main.c: Replace <bonobo.h> and <glade/glade.h>
      	* gui/tasks-control-factory.c: Replace <bonobo.h>
      	* gui/tasks-control.c: Replace <gnome.h> and <bonobo.h>
      	* gui/weekday-picker.c: Add <string.h> and <libgnome/gnome-defs.h>
      	* gui/alarm-notify/client-main.c: Remove <gnome.h> and <bonobo.h>
      	* gui/alarm-notify/notify-main.c: Replace <gnome.h> and <bonobo.h>
      	* gui/dialogs/alarm-notify-dialog.c: Replace <gnome.h>
      	* pcs/cal-backend.c: Replace <gtk/gtk.h>
      
      svn path=/trunk/; revision=8937
      5fe6e035
    • Radek Doulik's avatar
      clear name and email data after each address · ab54218f
      Radek Doulik authored
      2001-03-26  Radek Doulik  <rodo@ximian.com>
      
      	* mail-format.c (write_address): clear name and email data after
      	each address
      
      svn path=/trunk/; revision=8936
      ab54218f
    • George Lebl's avatar
      un Mar 25 22:31:19 2001 George Lebl <jirka@5z.com> · a6cc0bd7
      George Lebl authored
      	* e-tree.c (e_tree_class_init):  Fix gtk_signal_new arguments, INT
      	  and POINTER were switched causing my alpha to go nuts.
      
      svn path=/trunk/; revision=8935
      a6cc0bd7
  3. 25 Mar, 2001 14 commits
    • Dan Winship's avatar
      eh, changed my mind, put the exception back in camel_url_new() · a0b95ac7
      Dan Winship authored
      svn path=/trunk/; revision=8934
      a0b95ac7
    • Dan Winship's avatar
      New URL parser with full RFC1808 relative URL support. Yum. · 182c699c
      Dan Winship authored
      	* camel-url.c (camel_url_new_with_base): New URL parser with full
      	RFC1808 relative URL support. Yum.
      	(camel_url_new): Wrapper around camel_url_new_with_base now.
      	Removed the CamelException since no one ever used it...
      
      	* tests/Makefile.am: add misc subdir
      
      	* tests/misc/url.c: relative URL test cases from RFC 1808
      
      	* camel-session.c (camel_session_get_service): Update
      	camel_url_new call.
      
      svn path=/trunk/; revision=8933
      182c699c
    • Christian Rose's avatar
      Updated Swedish translation. · bedb4861
      Christian Rose authored
      svn path=/trunk/; revision=8932
      bedb4861
    • Fatih Demir's avatar
      Update · 095d7d0a
      Fatih Demir authored
      svn path=/trunk/; revision=8931
      095d7d0a
    • Dan Winship's avatar
      Fix a bug in this that probably would have been noticed sooner if ETree · 82a856a1
      Dan Winship authored
      	* component-factory.c (unref_standard_folders): Fix a bug in this
      	that probably would have been noticed sooner if ETree hadn't always
      	made the mailer crash before you got here. :-)
      
      svn path=/trunk/; revision=8930
      82a856a1
    • Dan Winship's avatar
      ref the sort_info taken from the state object. Ditto. Fixes the last ETree · 76808554
      Dan Winship authored
      	* e-table.c (et_real_construct): ref the sort_info taken from the
      	state object.
      	* e-tree.c (et_real_construct): Ditto. Fixes the last ETree
      	crash-on-exit bug for me.
      
      svn path=/trunk/; revision=8929
      76808554
    • Federico Mena Quintero's avatar
      The model_rows_{inserted,deleted} signals changed names; deal with it. · e29d5a8a
      Federico Mena Quintero authored
      2001-03-25  Federico Mena Quintero  <federico@ximian.com>
      
      	* gui/e-calendar-table.c (e_calendar_table_init): The
      	model_rows_{inserted,deleted} signals changed names; deal with it.
      	(e_calendar_table_on_rows_inserted): Updated for new ETable API.
      	(e_calendar_table_on_rows_deleted): Likewise.
      
      	* gui/gnome-cal.h (GnomeCalendarOpenMode): Removed unused enum.
      
      	* gui/gnome-cal.c (gnome_calendar_open): Constify.
      
      	* gui/calendar-commands.c (calendar_set_uri): Removed function,
      	since it was just calling gnome_calendar_open().
      
      	* gui/control-factory.c (set_prop): Replace usage of
      	calendar_set_uri() with gnome_calendar_open().
      	(load_calendar): Likewise.
      	(calendar_persist_init): Made static.
      
      	* gui/e-tasks.c: #include "calendar-config.h"
      	(e_tasks_update_all_config_settings): We are configuring a table,
      	not a calendar!  Use the appropriate function.
      
      svn path=/trunk/; revision=8928
      e29d5a8a
    • Andraz Tori's avatar
      Updated Slovenian translation · e831dbdd
      Andraz Tori authored
      svn path=/trunk/; revision=8927
      e831dbdd
    • Jeffrey Stedfast's avatar
      Allow the authtype to be NULL. (transport_auth_init): If the provider · c6348971
      Jeffrey Stedfast authored
      2001-03-25  Jeffrey Stedfast  <fejj@ximian.com>
      
      	* mail-account-editor.c (transport_auth_type_changed): Allow the
      	authtype to be NULL.
      	(transport_auth_init): If the provider allows authtypes but
      	doesn't *need* one, create a "None" menu item that the user can
      	choose. This should fix the bug people have been seeing recently
      	since dan removed the no_authtype authmech from the smtp provider.
      
      svn path=/trunk/; revision=8926
      c6348971
    • Jeffrey Stedfast's avatar
      Don't use copy_to if the source folder doesn't support summary info's. · 14c2e4a8
      Jeffrey Stedfast authored
      2001-03-25  Jeffrey Stedfast  <fejj@ximian.com>
      
      	* camel-filter-driver.c (do_copy): Don't use copy_to if the source
      	folder doesn't support summary info's.
      	(do_move): Same.
      	(camel_filter_driver_filter_message): And again here.  I think
      	this will fix the problem of "colour" tags not staying with the
      	message when it's copied to a folder during the filter process.
      
      svn path=/trunk/; revision=8925
      14c2e4a8
    • Christopher James Lahey's avatar
      Added e-selection-model-array.lo. · 1190e292
      Christopher James Lahey authored
      2001-03-25  Christopher James Lahey  <clahey@ximian.com>
      
      	* gal/Makefile.am (libgal_la_LIBADD): Added
      	e-selection-model-array.lo.
      
      	* gal/widgets/Makefile.am: Added e-selection-model-array.c and
      	e-selection-model-array.h.
      
      	* gal/widgets/e-selection-model-array.c,
      	gal/widgets/e-selection-model-array.h: New class that implements
      	the details of ESelectionModel.  ESelectionModel has been
      	refactored to just be a this virtual class.  ESelectionModelArray
      	is the original implementation of ESelectionModel.  This is what
      	most people will want to use or derive from.
      
      	* gal/widgets/e-selection-model-simple.c,
      	gal/widgets/e-selection-model-simple.h: Made the parent class of
      	this be ESelectionModelArray instead of ESelectionModel.  Changed
      	some function names to match this change.
      
      	* gal/widgets/e-selection-model.c,
      	gal/widgets/e-selection-model.h: Refactored most of the
      	implementation of this class into ESelectionModelArray.  Now just
      	a thin virtual class.
      
      From gal/e-table/ChangeLog:
      
      2001-03-25  Christopher James Lahey  <clahey@ximian.com>
      
      	* e-table-selection-model.c, e-table-selection-model.h: Made the
      	parent object of this be ESelectionModelArray instead of
      	ESelectionModel due to their refactoring.  Changed the commented
      	out code for saving the selection a bit.
      
      svn path=/trunk/; revision=8924
      1190e292
    • Christopher James Lahey's avatar
      Added '=' and '-' as tree node expand and collapse · 2ed07fe8
      Christopher James Lahey authored
      2001-03-25  Christopher James Lahey  <clahey@ximian.com>
      
      	* e-tree.c (item_key_press): Added '=' and '-' as tree node expand
      	and collapse
      
      svn path=/trunk/; revision=8923
      2ed07fe8
    • Jon Trowbridge's avatar
      Rather than starting the pending query by directly calling · 0f800056
      Jon Trowbridge authored
      2001-03-25  Jon Trowbridge  <trow@ximian.com>
      
              * gui/component/select-names/e-select-names-completion.c
              (e_select_names_completion_seq_complete_cb): Rather than starting
              the pending query by directly calling
              e_select_names_completion_do_query, call
              e_completion_begin_search.  Circumventing the ECompletion API was
              causing it to get confused in some cases.
      
      svn path=/trunk/; revision=8922
      0f800056
    • Jeffrey Stedfast's avatar
      Default to iso-8859-1 as the user's charset here if it is undefined. This · 5dfac3bc
      Jeffrey Stedfast authored
      2001-03-24  Jeffrey Stedfast  <fejj@ximian.com>
      
      	* openpgp-utils.c (openpgp_verify): Default to iso-8859-1 as the
      	user's charset here if it is undefined. This is a better choice
      	than us-ascii.
      
      svn path=/trunk/; revision=8921
      5dfac3bc