/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Author : * Peter Williams * * Copyright 2000 Ximian, Inc. (www.ximian.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA */ #ifndef MAIL_TOOLS_H #define MAIL_TOOLS_H #include #include /*eek*/ /* Get a CamelFolder from a root url and a foldername (uses the global session)*/ CamelFolder * mail_tool_get_folder_from_urlname (const gchar *url, const gchar *name, guint32 flags, CamelException *ex); /* Get a useful name for a given CamelFolder (ie, not "mbox") */ char *mail_tool_get_folder_name (CamelFolder *folder); /* Get the filename for our movemail folder or storage */ gchar *mail_tool_get_local_movemail_path (void); /* Get the CamelFolder for the local inbox */ CamelFolder *mail_tool_get_local_inbox (CamelException *ex); /* Get the "inbox" for a url (uses global session) */ CamelFolder *mail_tool_get_inbox (const gchar *url, CamelException *ex); /* Get the "trash" for a url (uses global session) */ CamelFolder *mail_tool_get_trash (const gchar *url, CamelException *ex); /* Does a camel_movemail into the local movemail folder * and returns the path to the new movemail folder that was created. which shoudl be freed later */ char * mail_tool_do_movemail (const gchar *source_url, CamelException *ex); /* Transfers all the messages from source into dest; * source is emptied and synced. */ void mail_tool_move_folder_contents (CamelFolder *source, CamelFolder *dest, gboolean use_cache, CamelException *ex); /* Generates the subject for a message forwarding @msg */ gchar * mail_tool_generate_forward_subject (CamelMimeMessage *msg); /* Make a message into an attachment */ CamelMimePart * mail_tool_make_message_attachment (CamelMimeMessage *message); /* Parse the ui into a real CamelFolder any way we know how. */ CamelFolder * mail_tool_uri_to_folder (const char *uri, CamelException *ex); GHashTable * mail_lookup_url_table (CamelMimeMessage *mime_message); gchar *mail_tool_quote_message (CamelMimeMessage *message, const char *fmt, ...); gchar *mail_tool_forward_message (CamelMimeMessage *message); #endif rep'>log msg
Commit message (Expand)AuthorAgeFilesLines
* use DB_NOTFOUND constJP Rosevear2001-08-212-2/+7
* null out card_sexp so that we don't crash when copyingJP Rosevear2001-08-202-1/+8
* fix warnings, get compiling againJP Rosevear2001-08-205-25/+38
* Used Delete icon in menu.Damon Chaplin2001-08-202-1/+2
* use bigger Save icon for toolbar.Damon Chaplin2001-08-202-0/+4
* use 'Save As' icon rather than 'Save' as it seems more appropriate. AlsoDamon Chaplin2001-08-202-1/+7
* Added display_name and description to the type.Ettore Perazzoli2001-08-202-1/+7
* use new Cut/Copy/Paste/Save/Search icons.Damon Chaplin2001-08-202-1/+13
* Forgot to mention that this commit fixes Ximian bug #4670.Chris Lahey2001-08-201-1/+2
* Set the folder bar message here.Christopher James Lahey2001-08-207-4/+167
* Added full country list. Fixes Ximian bug #5123.Christopher James Lahey2001-08-192-1/+236
* Set the pixtype for "ContactEditorDelete" to "pixbuf". Likewise. Likewise.Ettore Perazzoli2001-08-193-0/+8
* add prototype for addressbook_get_other_contact_storage.Chris Toshok2001-08-183-5/+22
* connect to the "changed" signal on "entry-web" to update command state.Chris Toshok2001-08-182-0/+11
* call e_card_set_id on the list's card so we can continue to use thisChris Toshok2001-08-183-0/+29
* call e_sexp_encode_string on the search string the user types in so itChris Toshok2001-08-182-6/+16
* changed to new print icon.Damon Chaplin2001-08-182-0/+5
* rename physical_uri to uri, since it includes the addressbook.db for file:Chris Toshok2001-08-183-35/+79
* If we get the "sequence_complete" signal when we aren't searching, itJon Trowbridge2001-08-182-18/+39
* Changed the messages here in the right click menus.Christopher James Lahey2001-08-183-4/+11
* unref our card_sexp. (create_card_handler): make sure to set the id of theChris Toshok2001-08-172-34/+134
* use card_sexp. (pas_backend_file_book_view_free): same.Chris Toshok2001-08-175-324/+461
* Added code so the user can create a new contact or contact list fromChristopher James Lahey2001-08-172-1/+42
* Added a closing paren.Jeffrey Stedfast2001-08-172-0/+5
* Renamed from _begin to match changes in gal 0.10.99.3.Jon Trowbridge2001-08-172-3/+7
* Check that name != NULL before we start messing with it. (Fixes bug #7329)Jon Trowbridge2001-08-162-9/+17
* Boost scoring on an exact nickname match. Manually addressify match.Jon Trowbridge2001-08-164-74/+82
* set title of initial dialog to Addressbook Sources (bug #6704).Chris Toshok2001-08-162-0/+6
* don't let people add subdirs in the ldap server storage - everything isChris Toshok2001-08-162-0/+9
* implement using search_for_dn.Chris Toshok2001-08-152-4/+19
* Tell the search bar to translate the subitem texts.Federico Mena Quintero2001-08-152-0/+7
* Add "Any Category" option for category searches.Jon Trowbridge2001-08-142-8/+26
* Fix up to match the pas_book_new/get_vcard changes.Dan Winship2001-08-142-37/+27
* Got rid of an extraneous _ here.Christopher James Lahey2001-08-143-2/+10
* Oops, forgot to write this function.Christopher James Lahey2001-08-142-0/+28
* Added focus targets here. Fixes part of Ximian bug #5843.Christopher James Lahey2001-08-142-52/+67
* Grab focus here. Fixes Ximian bug #2265.Christopher James Lahey2001-08-142-0/+7
* Fixed two const warnings here.Christopher James Lahey2001-08-144-3/+18
* As usual, I forgot to mention that that last commit fixes Ximian bug #6490.Chris Lahey2001-08-141-1/+1
* Call e_card_set_book here.Christopher James Lahey2001-08-147-172/+192
* don't g_strdup the stuff we're passing into e_list_append, since it doesChris Toshok2001-08-141-0/+12
* don't g_strdup the stuff we're passing into e_list_append, since it doesChris Toshok2001-08-141-8/+8
* don't access source->auth if source == NULL (bug #7086).Chris Toshok2001-08-142-1/+7
* Changed get_card to be asyncronous.Christopher James Lahey2001-08-1411-239/+218
* svn path=/trunk/; revision=11916Kjartan Maraas2001-08-123-5/+2
* Added bugzilla numberKjartan Maraas2001-08-111-0/+1
* Add headers to make it stand on itw own. Marked some strings forKjartan Maraas2001-08-113-2/+8
* Marked some strings for translation. Same here.Kjartan Maraas2001-08-113-5/+10
* Remove single- or double-quotes from names before sticking them into theJon Trowbridge2001-08-112-5/+21
* Properly handle "Category is" queries by checking the search barJon Trowbridge2001-08-112-6/+46
* Removed comment about the need to resolve nicknames properly, because weJon Trowbridge2001-08-112-8/+12
* did a little packing-magic to get the two tables at bottom of this dialogAnna Marie Dirks2001-08-113-27/+66
* redesigned this dialog to fix bug #6815.Anna Marie Dirks2001-08-103-194/+302
* remove passwd_cb.Chris Toshok2001-08-102-8/+4
* If the last character we inserted was a "magic comma", remember itsJon Trowbridge2001-08-103-0/+29
* Hook up some magic to (basically) cardify an entry on focus-out. (What weJon Trowbridge2001-08-1012-32/+681
* [ Fixes ximian bugs #5080, #6021, #6704, #6705 ]Chris Toshok2001-08-108-884/+1116
* Upped the minimum width on all addressbook columns to 75. Fixes Ximian bugChristopher James Lahey2001-08-092-39/+44
* mark the dialog as changed so the save button is immediately available.Chris Toshok2001-08-093-2/+48
* better to assume that we can write to the local addressbook than that weChris Toshok2001-08-092-1/+7
* call e_pixmap_update so we can use the same save/save-as pixmaps as theChris Toshok2001-08-092-0/+16
* new function, used by the context menu.Chris Toshok2001-08-092-3/+45
* escape *, \, (, and ), as per rfc2254. (func_contains): escape the string.Chris Toshok2001-08-082-4/+56
* Fixes Clahey bug #2200 :-)Nat Friedman2001-08-084-0/+25
* ifdef this HAVE_LDAP.Chris Toshok2001-08-082-0/+7
* set the title of the window to "Advanced Search".Chris Toshok2001-08-082-1/+7
* pass view->view instead of the EBook. (addressbook_search_menu_items):Chris Toshok2001-08-084-122/+74
* [ Fixes bug #5066 ] new function, remove the source. (register_storage):Chris Toshok2001-08-082-0/+22
* use g_strcasecmp since ldap attribute names are not case sensitive.Chris Toshok2001-08-082-1/+6
* make sure we update the changed state if a successful drop happens.Chris Toshok2001-08-082-0/+14
* Make the OK button the keyboard default instead of Cancel. Bug #4942.Jason Leach2001-08-082-0/+7
* new EBookOp destructor (e_book_unqueue_op): use e_book_op_freeRadek Doulik2001-08-072-16/+34
* set op->listener to NULL to catch possible use of freed opRadek Doulik2001-08-053-1/+20
* Made it so that if there's one less match than possible compares areChristopher James Lahey2001-08-052-1/+7
* Once again forgot to mark which bug this fixes. Ximian bug #3699.Chris Lahey2001-08-041-1/+1
* Check for storage != NULL here. This shouldn't come up unless addressbookChristopher James Lahey2001-08-042-13/+24
* Added annotation that my last commit fixes Ximian bug #4674.Chris Lahey2001-08-041-1/+2
* Changed the criteria of whether the first part of each iteration matchedChristopher James Lahey2001-08-042-29/+32
* Update for EvolutionStorage API changes. (addressbook_storage_add_source):Jason Leach2001-08-042-2/+8
* Noted that the last commit fixes Ximian bug #2202Chris Lahey2001-08-041-1/+2
* Made this change the query based on which letter is clicked.Christopher James Lahey2001-08-042-2/+76
* Fixed warnings here.Christopher James Lahey2001-08-033-10/+11
* Made the list of E_CARD_PHONE types in phone_correspondences more completeChristopher James Lahey2001-08-034-51/+105
* Add camel dependency.Jon Trowbridge2001-08-0310-142/+224
* Removed some extra padding and pack the addressbook view into a frame withJason Leach2001-08-032-16/+24
* Update the updated Save, Save As, and Print icons for menus and theJason Leach2001-08-032-2/+20
* ChangeLog fix. Should have been:Christopher James Lahey2001-08-021-1/+2
* Added ContactsSaveAsVCard, ContactsSendContactToOther, andChristopher James Lahey2001-08-024-29/+114
* Removed this file from this unused directory.Christopher James Lahey2001-08-012-8/+5
* Added file-exists.glade.Christopher James Lahey2001-08-014-1/+158
* Removed thrash checking code here since thrashing shouldn't happen nowChristopher James Lahey2001-08-013-83/+88
* Added #include <e-util/e-path.h>.Christopher James Lahey2001-07-313-3/+18
* Properly handle the case where our "cleaned" completion is the emptyJon Trowbridge2001-07-313-20/+102
* Fix a return value bug, to make it so if it fails to load anJason Leach2001-07-312-26/+34
* Fix support for gtkhtml when compiled with gconf supportFrédéric Crozat2001-07-302-0/+13
* Tidy ldaddsJP Rosevear2001-07-282-4/+8
* Fixing a small, stupid mistake; use e_select_names_model_get_textificationJon Trowbridge2001-07-262-2/+13
* Removed some debugging chatter.Jon Trowbridge2001-07-266-22/+116
* change the way x-evolution-any-field is converted to an ldap query. itChris Toshok2001-07-262-14/+12
* Properly dup the results of e_destination_get_email.Jon Trowbridge2001-07-254-3/+20
* Added checks for all of the args of the exposed functions, so that weJon Trowbridge2001-07-252-0/+23
* "_Add Anyway" to "Add Anyway".Jason Leach2001-07-252-1/+6
* Added fallbacks for the name in the case of an e-card, to avoid theJon Trowbridge2001-07-252-1/+19
* need the EDestination magic here too for when we modify an already shownChris Toshok2001-07-254-5/+52
* call widget_changed. (phone_entry_changed): same. (email_entry_changed):Chris Toshok2001-07-252-25/+100
* Check if evolution_shell_client_get_local_storage returnsJon Trowbridge2001-07-252-0/+20
* Don't stop the idle_queue and unref from here, since this might be calledDan Winship2001-07-252-11/+15
* Re-fix for my 07-18 not-quite-fix.Dan Winship2001-07-245-8/+84
* Add an extra @type arg to the xferFolder and removeFolder methods inEttore Perazzoli2001-07-232-12/+26
* Add a `user_creatable' property to folder types and make componentsEttore Perazzoli2001-07-222-1/+7
* [ patch contributed by Jos Dehaes <jos.dehaes@bigfoot.com> ]Chris Toshok2001-07-192-15/+75
* Flush the listener's queue before unreffing it to ensure that it doesn'tDan Winship2001-07-194-5/+22
* prune the list of cards that match our query using the avoid list here,Chris Toshok2001-07-192-17/+29
* [ Fixes bugs #4611 - crash searching in the name field at Bigfoot for "\"Chris Toshok2001-07-182-6/+25
* Hold a reference to our listener while the idle function is active.Jon Trowbridge2001-07-187-19/+68
* Removed old, broken code and annoying g_messages.Jon Trowbridge2001-07-183-50/+22
* Patch from Taylor Hayward <thayward@gjpc.com>. Added accelerators to a fewChristopher James Lahey2001-07-175-57/+61
* Added addSectionWithLimit to the SelectNames interface.Jon Trowbridge2001-07-179-37/+254
* [ Fix bug #4705 - LDAP storage gets saved with corrupted binddn]Chris Toshok2001-07-174-5/+29
* Use other folders to import intoIain Holmes2001-07-172-2/+15
* Commented out some unused variables and labels. (e_destination_importv):Christopher James Lahey2001-07-153-0/+22
* Added a call to e_table_view_to_model_row here.Christopher James Lahey2001-07-152-3/+16
* Changed Company to Organization here.Christopher James Lahey2001-07-132-2/+7
* add ldap cflagsJP Rosevear2001-07-132-0/+5
* Oops. I introduced my own bug, accidently set `email' to a g_free'dJeffrey Stedfast2001-07-132-1/+7
* Optimized the same way I optimized g_strsplit. If you use a GPtrArrayJeffrey Stedfast2001-07-132-97/+76
* Check the file even if the extension is NULLIain Holmes2001-07-132-6/+9
* add accelerators, taylor's patchJP Rosevear2001-07-122-3/+8
* Crash fix because strcmp() hates NULL arguments. Bug #3777.Jason Leach2001-07-122-1/+14
* Added some comments for clarity and fixed a pretty noticable bug with howJason Leach2001-07-112-0/+12
* assign OID's to the schema entries, and add schema support for contactChris Toshok2001-07-112-24/+54
* Set bf->priv->file_db before calling do_create.Christopher James Lahey2001-07-103-2/+15
* Check that str isn't the empty string before doing an insert.Jon Trowbridge2001-07-093-14/+58
* Marked a string for translation. Also add the neccesary includes to makeKjartan Maraas2001-07-092-1/+5
* Marked a string for translation.Kjartan Maraas2001-07-092-1/+6
* CVS is unhappy this evening. My commit keeps dying in the middle.Jon Trowbridge2001-07-079-145/+106
* Detect the embedded EDestination XML, and convert it to a nice-lookingJon Trowbridge2001-07-0710-374/+922
* Removed. [It was just bogus testing code for the right-click menuEttore Perazzoli2001-07-062-15/+10
* Added some accelerators, padding, and a "memebers" frame; also fixedAnna Marie Dirks2001-07-061-0/+5
* 2001-07-05 Anna Marie Dirks <anna@ximian.com:Anna Dirks2001-07-061-218/+186
* Fix a memory leak here.Christopher James Lahey2001-07-052-3/+14
* Set info->avoid = NULL. This shouldn't make a difference, but it can'tChristopher James Lahey2001-07-052-0/+7
* Upped the required version of gal.Christopher James Lahey2001-07-052-2/+14
* added $(BONOBO_CONF_LIBS) to get it to compile.Damon Chaplin2001-07-032-0/+6
* Added $(BONOBO_CONF_LIBS).Christopher James Lahey2001-07-034-12/+14
* srcdir != builddir compile fix.Peter Williams2001-07-025-0/+15
* Turned off wombatification of the categories master list here.Christopher James Lahey2001-07-022-0/+15
* use ECARD_UID_LINK_PREFIX.Chris Toshok2001-07-026-3/+73
* Added related_contacts field.Christopher James Lahey2001-07-029-140/+284
* Fall back to use the name field if all else fails (which can happen withJon Trowbridge2001-07-022-0/+10
* Fix for the "recipient not specified" bug --- we were not correctlyJon Trowbridge2001-07-022-1/+13
* Check args. Somewhere in the code (somewhere in the minicard stuff) thisJon Trowbridge2001-07-012-0/+7
* I was accidentally comparing characters and strings here, and didn't seeJon Trowbridge2001-07-012-13/+29
* Marked strings for translation.Chyla Zbigniew2001-06-302-3/+8
* Make the standard for considering two cards to be match stricter.Jon Trowbridge2001-06-309-64/+429
* Added a search field to the query here. (e_select_names_init): Update theChristopher James Lahey2001-06-304-105/+148
* Change the uri here to have addressbook.db at the end.Christopher James Lahey2001-06-303-3/+15
* Change the query when the "Update List" button is pushed.Christopher James Lahey2001-06-304-19/+70
* add EVOLUTION_IMAGESDIR define.Chris Toshok2001-06-294-1/+52
* sJose Maria Celorio2001-06-291-0/+1
* pop up list editor for lists, contact editor otherwise.Chris Toshok2001-06-295-10/+48
* remove ancient e-table include, and add include for contact-editor so weChris Toshok2001-06-294-18/+52
* add support for X-EVOLUTION-LIST and X-EVOLUTION-LIST-SHOW-ADDRESSES.Chris Toshok2001-06-293-0/+94
* Add method `ShellComponent::handleExternalURI' and anEttore Perazzoli2001-06-282-1/+8
* track storage change - we're only using 1 array now.Chris Toshok2001-06-286-76/+365
* Oops. Can't use the wombat version of the master categories list yet.Christopher James Lahey2001-06-272-2/+8
* memmove counts were off in this function. (remove_card, modify_card):Christopher James Lahey2001-06-272-5/+16
* Added a categories combo here. It's not used yet.Christopher James Lahey2001-06-274-6/+61
* Added category searching to the advanced search dialog here.Christopher James Lahey2001-06-272-0/+27
* Added category searching to the file backend.Christopher James Lahey2001-06-273-0/+39
* Capitalized fields. Added X-EVOLUTION-RELATED-CONTACTS field.Chris Lahey2001-06-271-2/+3
* libwombat:Peter Williams2001-06-272-0/+5
* Added a note about the use of this file.Chris Lahey2001-06-261-0/+5
* Added this file for fields we need to add to ECard.Chris Lahey2001-06-261-0/+3
* change layout slightly, the icon no longer pushes everything to the left,Chris Toshok2001-06-266-112/+327
* Add a huge steaming pile of code to handle the case of single-addressJon Trowbridge2001-06-254-31/+723
* correct path to libecontacteditor.a. (minicard_widget_test_LDADD): same.Chris Toshok2001-06-2537-7238/+1315
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-23103-206/+206
* Renamed. (The old name, edit_contact_info_have_book_cb was a hold-overJon Trowbridge2001-06-225-52/+170
* fix a refcounting memleak.Chris Toshok2001-06-212-3/+12
* fix memory leak.Chris Toshok2001-06-212-1/+7
* add prototype for close_dialog to remove warnings.Chris Toshok2001-06-213-0/+7
* Changed attachData to accept a sequence of chars rather than a string.Dave Camp2001-06-212-3/+13
* track change to e_addressbook_show_contact_editor signature.Chris Toshok2001-06-2011-98/+82