2002-04-19 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (stream_write_or_redisplay_when_loaded): Ref the
html object here, this is an async handler so it's possible for
our caller (or someone else) to unref the html object before we
finish.
(load_content_free): Unref the async handler's ref of the html
object here.
(mail_display_new): Ref the html widget here so that we can be
sure that so long as the mail-display is "alive", so is the html
object. See bug #22328 for details. Basically, the message-browser
is being closed before the message gets loaded and so the html
object was being destroyed but the mail-display was still alive.
(mail_display_destroy): Unref the html object when the
mail-display is destroyed.
svn path=/trunk/; revision=16544
2002-04-19 Anna Marie Dirks <anna@ximian.com>
* mail-config.glade: Added yet more accelerators for the new config
dialog--this time for the composer pages
svn path=/trunk/; revision=16543
2002-04-19 Anna Marie Dirks <anna@ximian.com>
* gui/dialogs/cal-prefs-dialog.glade: Collapsed notebook into two pages
and added accelerators for everything, as part of my config dialog
polishing project
svn path=/trunk/; revision=16540
2002-04-19 Jeffrey Stedfast <fejj@ximian.com>
* camel-multipart.c (write_to_stream): Don't g_return_val_if_fail
here if the boundary is an empty string. See bug #23676 for
details. The way I see it, we have 2 options: 1) leave this fix
the way it is, thus allowing multipart boundaries to be
empty-strings; or 2) make camel_multipart_get_boundary() change
the boundary to something legal if the boundary is an
empty-string. Since the parser should be able to handle an
empty-string boundary *and* more importantly because we want to
keep the same boundaries as the original raw message so as to be
able to verify multipart/signed parts, I vote for solution #1.
svn path=/trunk/; revision=16539
2002-04-19 Anna Marie Dirks <anna@ximian.com>
* mail-config.glade: Added a bunch of accelerators for the new config
dialog
svn path=/trunk/; revision=16538
2002-04-19 JP Rosevear <jpr@ximian.com>
* e-cell-toggle.c (etog_print): print the cell in the allotted
area
(etog_print_height): return the print height
svn path=/trunk/; revision=16536
2002-04-19 Anna Marie Dirks <anna@ximian.com>
* glade/e-shell-config-default-folders.glade: Minor label tweaks;
changed "Default folders" to "Default Folders", and added accelerators.
svn path=/trunk/; revision=16535
2002-04-18 Chris Toshok <toshok@ximian.com>
* gui/component/ldap-config.glade: change order of scope option
menu to match how it's stored.
svn path=/trunk/; revision=16534
2002-04-18 Chris Toshok <toshok@ximian.com>
* gui/component/GNOME_Evolution_Addressbook.oaf.in: change ldap
config control text so it fits in the config dialog.
* gui/component/ldap-config.c: #ifdef lots of stuff HAVE_LDAP so
it'll build/run in either case.
(addressbook_source_dialog_destroy): rename
addressbook_add_server_druid_destroy to this, and free lots more
stuff.
(addressbook_add_server_druid):
addressbook_add_server_druid_destroy ->
addressbook_source_dialog_destroy.
(do_schema_query): add 3 second timeout to schema query.
(addressbook_edit_server_dialog): hook up destroy signal.
(config_control_new): if HAVE_LDAP isn't defined, put up a label
saying so.
svn path=/trunk/; revision=16533
2002-04-19 Not Zed <NotZed@Ximian.com>
* devel-docs/camel-index.txt: Start of a white-paperish document
describing camel-index and older libibex.
svn path=/trunk/; revision=16531
2002-04-18 Chris Toshok <toshok@ximian.com>
* gui/component/ldap-config.c (addressbook_dialog_get_source):
fill in source->ssl.
(addressbook_source_dialog_set_source): set up auth/scope/ssl
option menus properly.
* gui/component/addressbook-storage.c
(addressbook_storage_init_source_uri): always include the
limit/ssl in the uri so we don't need to rely on defaults
everywhere.
(ldap_source_foreach): store the ssl option.
* gui/component/addressbook-storage.h: reorder SSLType to match
the UI.
* backend/pas/pas-backend-ldap.c: (struct _PASBackendLDAPPrivate)
add field for ldap_timeout.
(pas_backend_ldap_connect): reorder things a bit - we need to
start tls before the root dse query, if we can.
(pas_backend_ldap_load_uri): track the way ssl parameters are
given in the uri, and parse out the timeout.
* gui/component/ldap-config.c (port_changed_func): use the
symbolic SSL name instead of an integer constant.
svn path=/trunk/; revision=16529
2002-04-18 JP Rosevear <jpr@ximian.com>
* gui/dialogs/recurrence-page.c (simple_recur_to_comp): properly
handle -ve recurrence values
(month_num_submenu_selection_done_cb): track the current date in
use
(make_recur_month_num_submenu): make a submenu of dates
(make_recur_month_num_menu): make the date/relation option menu
(month_num_menu_selection_done_cb): update the date properly and
keep both option menus consistent
(month_day_menu_selection_done_cb): keep both option menus
consistent
(make_monthly_special): listen for selection done signal
(make_recurrence_special): destroy old month_num_menu
(recurrence_page_fill_widgets): properly handle -ve recurrence
values
svn path=/trunk/; revision=16526
* backend/ebook/e-book-util.c (e_book_load_default_book): Append
/addressbook.db to the end of the default URI if it starts with
file:
* backend/ebook/e-book.c (e_book_load_uri_step): Fix this to not
loop forever if you have more than one backend.
svn path=/trunk/; revision=16519
2002-04-18 Radek Doulik <rodo@ximian.com>
* mail-callbacks.c (do_mail_print): use default paper name in case
of wrong translation
svn path=/trunk/; revision=16516
2002-04-18 Jeffrey Stedfast <fejj@ximian.com>
* filtertypes.xml: The score "is" rule should have a value of "is"
and not "less-than".
svn path=/trunk/; revision=16514
2002-04-18 JP Rosevear <jpr@ximian.com>
* gui/e-day-view.c (e_day_view_on_settings): show the settings
* gui/e-week-view.c (e_week_view_on_settings): ditto
* gui/calendar-commands.c (control_util_show_settings): show the
settings dialog
* gui/calendar-commands.h: new proto
* gui/control-factory.c (control_factory_new_control): set the
control as object data on the calendar
svn path=/trunk/; revision=16511
2002-04-18 JP Rosevear <jpr@ximian.com>
* evolution-shell-view.c (impl_ShellView_show_settings): emit
show_settings signal
(corba_class_init): assign epv method
(class_init): add signal
* evolution-shell-view.h: new signal
* e-shell.c (init): init settings_dialog private member
(settings_dialog_destroy_cb): reset dialog pointer
(e_shell_show_settings): show the settings dialog, bring it to the
front if one already exists for this shell
* e-shell.h: new proto
* e-shell-view.c (corba_interface_show_settings): implement
showSettings method
(setup_corba_interface): listen for show_settings signal
(e_shell_view_show_settings): show the settings dialog
* e-shell-view.h: new proto
* e-shell-view-menu.c (command_settings): call
e_shell_view_show_settings instead
* Evolution-ShellView.idl: add showSettings method
svn path=/trunk/; revision=16510
2002-04-18 JP Rosevear <jpr@ximian.com>
* gal/widgets/e-popup-menu.c (e_popup_menu_create): handle toggle
and radio items
(make_item): the item is now passed in from above and not returned
svn path=/trunk/; revision=16508
2002-04-18 Not Zed <NotZed@Ximian.com>
* providers/local/camel-local-store.c (rename_folder): If we get a
failure, make sure we set an exception.
* camel-text-index.c (camel_text_index_rename): If the file
doesn't exist, just assume it never did, dont return failure.
(text_index_rename): Add '.index' to the path name we're using,
since we dont get it passed in.
svn path=/trunk/; revision=16505
2002-04-15 Not Zed <NotZed@Ximian.com>
* mail-identify.c (mail_identify_mime_part): Turn off the code
which downloads the part if we can't identify it. See discussion
in #11778.
svn path=/trunk/; revision=16504
2002-04-18 Not Zed <NotZed@Ximian.com>
* camel-folder-search.c (check_header): When doing a contains
match, split the words and perform an and on it.
(match_words_messages): If we have an index, but were forced to do
a full search, first lookup a subset of messages using
the index and a simplified word set. Only do a manual search of
this subset.
2002-04-17 Not Zed <NotZed@Ximian.com>
* camel-folder-search.c (match_message_index): Changed to take a
utf8 string not a regex pattern.
(match_words_index): Matches against a camel_search_words list.
(match_words_1message): Matches a single message against a
camel_search_words list.
(match_words_message): Same, but gets the message from the folder
for you.
(match_words_messages): Matches a list of messages against a words
list.
(search_body_contains): Rewritten to handle multiple word
searches. For #23371.
* providers/imap/camel-imap-search.c (sync_match): Split words
when searching, to support multiple search words. Also, try
searching specifying charset of utf8 if we can, if that fails,
fall back to not specifying charset. TODO: It should translate
the strings into the locale default charset?
* providers/imap/camel-imap-store.c (connect_to_server): Added new
cap - utf8_search, if set, we tell the server we're searching
using utf8, otherwise we dont (incorrectly, since we always use
utf8 to search).
* camel-search-private.c (camel_ustrstrcase): Make this class public.
(camel_search_words_split): Split a word into multiple words based
on whitespace, and keep track of whether the word is simple
(indexable directly), or not.
(camel_search_words_free): Free 'em.
svn path=/trunk/; revision=16501
2002-04-17 Jeffrey Stedfast <fejj@ximian.com>
* camel-vee-folder.c (vee_search_by_expression): If the vee-folder
is the unmatched, we don't have our own expression so we cannot
merge them. Instead, just use the expression passed in. This fixes
a Null-Pointer-Read crash on Solaris systems at least.
svn path=/trunk/; revision=16500
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped required gal version number to 0.19.99.12.
svn path=/trunk/; revision=16499
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped required gal version number to 0.19.99.11.
From addressbook/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_create_categories): Changed this to use
ECategoriesMasterListOptionMenu.
* gui/component/select-names/e-select-names.c
(section_right_click_cb),
gui/widgets/e-addressbook-reflow-adapter.c,
gui/widgets/e-addressbook-view.c: Updated these to match the new
EPopupMenu.
From calendar/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view.c,
gui/dialogs/meeting-page.c: Updated these to match the new
EPopupMenu.
From mail/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* folder-browser.c, mail-display.c: Updated these to match the new
EPopupMenu.
From shell/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* e-activity-handler.c: Updated this to match the new EPopupMenu.
svn path=/trunk/; revision=16498
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped version number to 0.19.99.11.
* gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h: Changed
this to be API compatible with gal 0.19. Added a bunch of pound
defines and added API for toggle and radio menu items.
* gal/widgets/e-categories.c: Updated this to match the new
EPopupMenu.
From gal/e-table/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* e-table-header-item.c: Updated this to match the new EPopupMenu.
svn path=/trunk/; revision=16496
2002-04-17 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (handle_multipart_signed): Handle broken
multipart/signed parts such as where the signature part is not the
last part (as it should be). Fixes bug #23583.
* folder-browser.c (message_list_drag_data_get): Free the temp
GByteArrays.
svn path=/trunk/; revision=16495
2002-04-17 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (handle_multipart_signed): Handle broken
multipart/signed parts such as where the signature part is not the
last part (as it should be). Fixes bug #23583.
* folder-browser.c (message_list_drag_data_get): Free the temp
GByteArrays.
(setup_popup_icons): Connect to the destroy signal on the pixmap
objects using gtk_object_unref as the callback - this way when the
popup menu gets destroyed, the pixmaps clean themselves up.
(on_right_click): Same idea for the label_menu.
svn path=/trunk/; revision=16494
2002-04-17 Jeffrey Stedfast <fejj@ximian.com>
* mail-local.c (mail_local_folder_construct): Just use g_basename.
(mlf_finalize): Free the real_path.
* folder-browser.c (on_right_click): Unref the GdkGC so we don't
leak it.
svn path=/trunk/; revision=16493
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* gal/widgets/e-canvas.c (emit_event): If there is a grabbed_item,
send all events to it.
svn path=/trunk/; revision=16492
2002-04-16 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-hdrs.c (destroy): Unref the priv->tooltips object
here.
* e-msg-composer-attachment-bar.c (destroy): Free the priv struct.
* e-msg-composer.c (set_editor_signature): We don't need a 'name'?
So don't strdup it.
svn path=/trunk/; revision=16485
2002-04-16 Jeffrey Stedfast <fejj@ximian.com>
* camel-filter-driver.c (camel_filter_driver_filter_folder): Get
rid of an unused variable.
* providers/smtp/camel-smtp-transport.c (smtp_helo): Use
camel_gethostbyaddr since gethostbyaddr is not reentrant.
* camel-http-stream.c (http_connect): Updated after the rename of
camel_get_host_byname.
* camel-service.c (camel_gethostbyname): Renamed.
(camel_gethostbyaddr): New cancellable/reentrant version of
gethostbyaddr.
svn path=/trunk/; revision=16484
2002-04-16 Jeffrey Stedfast <fejj@ximian.com>
* e-host-utils.c (e_gethostbyaddr_r): New wrapper around
gethostbyaddr_r if the system has it, else a whole new
implementation.
svn path=/trunk/; revision=16483