* camel-transport.c (camel_transport_send_to): Change the message
arg to a CamelMimeMessage instead of a CamelMedium. Even the NNTP
provider returns CamelMimeMessages, and we're never going to
support anything more exotic than that. Also do a few more
g_return_if_fails here instead of in the providers.
(camel_transport_can_send): No longer needed.
(camel_transport_send): Remove this too. It wasn't being used any
more, and it doesn't behave exactly the same in sendmail and smtp.
* providers/smtp/camel-smtp-transport.c (smtp_send,
smtp_can_send): Gone.
(smtp_send_to): Update for arg change.
(smtp_data): Make this take a CamelMimeMessage too.
* providers/sendmail/camel-sendmail-transport.c (sendmail_send,
sendmail_can_send): Gone.
(sendmail_send_to): Update for arg change, and merge in the part
that used to be shared with sendmail_send.
svn path=/trunk/; revision=16278
2002-03-28 Jeffrey Stedfast <fejj@ximian.com>
* mail-accounts.c: Use a GtkCList instead of an ETable, for some
reason the etable was getting into some infinite resize loop or
something. I probably did something wrong but I can't figure out
what so I'm using a clist for now.
svn path=/trunk/; revision=16277
2002-03-28 Christopher James Lahey <clahey@ximian.com>
* e-msg-composer-select-file.c: Switch to using EFileSelection
here instead of GtkFileSelection.
svn path=/trunk/; revision=16276
2002-03-28 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped the required version of gal to 0.19.99.10.
svn path=/trunk/; revision=16275
2002-03-27 Larry Ewing <lewing@ximian.com>
* Makefile.am: fix for the changes to GTKHTML_DATADIR that include
the release number.
svn path=/trunk/; revision=16272
* mail-accounts.c (mail_accounts_tab_construct): Use
gtk_container_add() to put the toplevel in the parent widget,
instead of just gtk_widget_set_parent().
* mail-preferences.c (mail_preferences_construct): Likewise.
* mail-composer-prefs.c (mail_composer_prefs_construct): Likewise.
svn path=/trunk/; revision=16271
* mail-accounts.c (mail_accounts_tab_construct): Use
gtk_container_add() to put the toplevel in the parent widget,
instead of just gtk_widget_set_parent().
* mail-preferences.c (mail_preferences_construct): Likewise.
* mail-composer-prefs.c (mail_composer_prefs_construct): Likewise.
svn path=/trunk/; revision=16270
2002-03-27 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (mail_generate_reply): Updated to respect the
new mail-config options for default reply style that NotZed had
started to implement before there was a gui.
svn path=/trunk/; revision=16266
2002-03-27 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-file.c
(pas_backend_file_process_create_card): don't free req->vcard.
it's freed in pas_book_free_request.
(pas_backend_file_process_remove_card): don't free req->id for the
same reason.
(pas_backend_file_process_modify_card): don't free req->vcard for
the same reason.
(pas_backend_file_process_get_changes): don't free req->change_id
or release_unref the listener for the same reason.
svn path=/trunk/; revision=16265
2002-03-27 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (check_schema_support): make sure
to call ldap_value_free (values);, and ldap_msgfree (resp).
(get_ldap_library_info): don't ask me why, but it appears we have
to free each extension char*.
(query_ldap_root_dse): make sure to free values in the
subschemaSubentry code before overwriting it, and call
ldap_msgfree(resp) when we're all done.
(build_card_from_entry): don't leak the DN, ldap attributes, or
the berval the ldap_*_attribute calls use to step through the
attributes. the docs say this berval is freed when
ldap_next_attribute returns NULL, but if we don't free it it leaks
a substantial amount of memory.
(pas_backend_ldap_search): make sure to only allocate *op once,
and fix the g_warning since op isn't valid in its scope anymore.
svn path=/trunk/; revision=16262
* mail-display.c (do_attachment_header): unset GTK_CAN_FOCUS on
the button so that it can't grab focus when you click it.
(do_signature): Likewise on the signature button. #3904
svn path=/trunk/; revision=16261
2002-03-27 Jeffrey Stedfast <fejj@ximian.com>
* camel-filter-driver.c (camel_filter_driver_filter_folder):
Construct the source_url the right way. The previous way was
generating urls like pop://fejj@ximian.com;keep_on_server/inbox
which is wrong.
svn path=/trunk/; revision=16260
2002-03-26 Jeffrey Stedfast <fejj@ximian.com>
Sync with yet-another-mail-config branch.
* mail-composer-prefs.c: Updated to get the right widgets and
whatnot. Also updated to tell the evolution-config-control that
stuff has changed.
* mail-preferences.c: Updated to get the right widgets and
whatnot. Also updated to tell the evolution-config-control that
stuff has changed.
* mail-accounts.etspec: New file needed by mail-accounts.c
svn path=/trunk/; revision=16257
2002-03-26 Not Zed <NotZed@Ximian.com>
* mail-callbacks.c (addrbook_sender): Changed to get the address
from the messageinfo of the current selected message rather than
from the current_message.
(requeue_mail_reply): Only re-queue if we got a message, could
potentially cause an infinite loop trying to get a message it
can't.
(reply_to_sender, reply_to_list, reply_to_all): Always pass NULL
as the msg to mail_replay, this forces mail_reply to always load
the message anew. Fixes FIXME's and popup behaviour. Basically
this and stuff below fixes#8542. Its probably not the nicest
way, but it works.
(mark_as_important): Use the flags properly, we can set all flags
to any combination of on or off as we want, so we just need to
call set_flags once, thats why its set flags and not set_option.
(toggle_flags): Fixed the logic here also, so we dont have to call
set_message_flags more than once, and also implement a true toggle
for any number of simultaneous flags (whilst simplifying code).
* mail-vfolder.c (vfolder_gui_add_from_mlist): Removed the 'msg'
parameter, its not used, fixed callers.
* folder-browser.c (on_right_click): Lookup the mlist from
messageinfo, and change the 'no selected' logic slightly, fixes
most of #8542.
(filter_data_free): Free filter data struct.
(vfolder_type_got_message): Actually create vfolder once we have
the message we need to use for it. Code could probably be changed
to use messageinfo instead.
(vfolder_type_uid): Lookup a message based on uid, and use that to
create a vfolder based on type.
(vfolder_subject_uid, vfolder_sender_uid, vfolder_receipient_uid,
vfolder_mlist_uid): Callbacks for the popup menu, used to create
rules based on the uid rather than the message, which it loads as
required.
(filter_type_got_message, filter_*_uid): Similar to vfolder
stuff above.
(filter_menu[]): Changed callbacks to popup specific ones, not
folderbrowser specific ones used by bonobo.
(on_right_click): Initialise callback data for the filter submenu
so it can look up messages for callback implementation.
svn path=/trunk/; revision=16253
2002-03-25 Kevin Breit <mrproper@ximian.com>
* C/usage-mail.sgml: Added mention that 2048 maybe recommended by some people. Fixed a typo.
svn path=/trunk/; revision=16251
2002-03-26 Not Zed <NotZed@Ximian.com>
* camel-text-index.c (text_index_normalise): Changed to use just
g_utf8_strdown instead of utf8_normalise, to match the indexing
code. utf8_normalise is just far too expensive (saves approx 25%
total processing).
svn path=/trunk/; revision=16250
2002-03-25 Christopher James Lahey <clahey@ximian.com>
* gal/Makefile.am (libgal_la_LIBADD): Added
widgets/e-option-menu.lo.
* gal/util/e-util.c, gal/util/e-util.h (e_strdupv): Copied this
function from glib2.
(GET_STRING_ARRAY_FROM_ELLIPSIS,
GET_DUPLICATED_STRING_ARRAY_FROM_ELLIPSIS): Added these macros to
automate getting a NULL terminated array off of the stack.
* gal/widgets/Makefile.am (libwidgets_la_SOURCES): Added
e-option-menu.c.
(libwidgetsinclude_HEADERS): Added e-option-menu.h.
* gal/widgets/e-canvas.c (e_canvas_class_init): Reformatted this
function.
* gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h
(e_glade_xml_connect_widget, e_glade_xml_set_sensitive): Two new
functions to automate pulling a widget from a GladeXML and either
connecting a signal or setting the sensitivity.
* gal/widgets/e-option-menu.c, gal/widgets/e-option-menu.h: New
class to simplify the interface to GtkOptionMenu.
svn path=/trunk/; revision=16246
2002-03-25 Christopher James Lahey <clahey@ximian.com>
* e-table-memory-store.c (e_table_memory_store_insert,
e_table_memory_store_insert_adopt, e_table_memory_store_remove):
Call the parent function after doing all the internal work so that
when the changed signal goes out, our work is already done.
svn path=/trunk/; revision=16245
* e-shell.c (e_shell_construct): Register a "working" folder type
with the hourglass icon. (Would eventually like an animated gif,
when ETable supports that.)
* e-storage.c (e_storage_has_subfolders): Use "working" rather
than "noselect" as the folder type.
* e-shell-view.c (get_view_for_uri): Simplify a bit.
svn path=/trunk/; revision=16244
2002-03-25 Not Zed <NotZed@Ximian.com>
* camel-text-index.c (text_index_add_name): When we add a new
name, up all of the cache limits, because we're probably going to
be adding more.
(text_index_sync): Drop the cache limits back down again, we dont
need them when looking words up.
** MERGE camel_index branch.
* camel-text-index.[ch]: Added files i forgot to add (eep nearly
lost all this work!)
* camel-block-file.c (sync_nolock): Fix an infinite loop in syncing.
svn path=/trunk/; revision=16242
2002-03-24 Peter Williams <peterw@ximian.com>
* tools/killev: Change the OAFIID for the GtkHTML editor to
have :1.1 at the end.
svn path=/trunk/; revision=16241
2002-03-23 Kevin Breit <mrproper@ximian.com>
* C/usage-print.sgml: I fixed a typo which caused the documentation to not build.
svn path=/trunk/; revision=16239
* evolution-storage.c (evolution_storage_update_folder): Fix a
"how can this ever have worked" bug to make unread message counts
start working again. (#22293 etc)
svn path=/trunk/; revision=16228
* e-shell-folder-commands.c (e_shell_command_rename_folder): Use
e_folder_get_name. Don't assume it's the same as the last path
element.
svn path=/trunk/; revision=16227
* e-request.c (e_request_string): Document the fact that this
takes two locale charset strings and one UTF8 string and returns a
UTF8 string. (Huh.)
svn path=/trunk/; revision=16226
2002-03-21 Jeffrey Stedfast <fejj@ximian.com>
* camel-folder-summary.c (camel_message_info_new_from_header): Use
the date in the received header for the received_date.
svn path=/trunk/; revision=16225
* e-splash.c (e_splash_construct): Set the wmclass to
"evolution-splash" so sawfish knows it's not the same kind of
window as the main window.
svn path=/trunk/; revision=16222
* e-search-bar.c (update_bonobo_menus): Remove all the SearchBar
items before setting them up again.
(free_menu_items): New.
(impl_destroy): Call it.
(set_menu): Call it here too before adding the new items.
svn path=/trunk/; revision=16218
2002-03-19 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.c (header_encode_param): Fix this to work
right. We need to convert the input buffer to the charset we claim
in the encoded param (duh).
svn path=/trunk/; revision=16214