* e-corba-storage-registry.c
(impl_StorageRegistry_removeListener): Fix up GList/GSList
confusion.
* e-shell-user-creatable-items-handler.c
(get_default_action_for_view): Don't look into the types list if
it's empty.
svn path=/trunk/; revision=15954
2002-03-06 Jeffrey Stedfast <fejj@ximian.com>
* camel-tcp-stream-openssl.c: compile fixes.
(camel_tcp_stream_openssl_enable_ssl): Check to make sure that the
sockfd != -1, it's not enough to check that it is non-zero. Also
set the sockfd to -1 on fail (open_ssl_connection will close the
sockfd on fail).
svn path=/trunk/; revision=15953
2002-03-06 Jeffrey Stedfast <fejj@ximian.com>
* configure.in: Allow the user to enable OpenSSL over Mozilla NSS
using --enable-openssl or --disable-nss.
svn path=/trunk/; revision=15952
2002-03-06 Rodrigo Moya <rodrigo@ximian.com>
Should fix#21240
* gui/alarm-notify/alarm-notify.c: replaced use of GnomeVFSURI
with EUri, to allow non-registered methods.
svn path=/trunk/; revision=15944
2002-03-05 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-itip-control.c (e_itip_control_set_data): reverted my last
change of adding the METHOD property to the incoming request.
* gui/itip-utils.c (comp_string): added extra
X-MICROSOFT-CDO-REPLYTIME property for broken Outlook. Should fix
#20783.
svn path=/trunk/; revision=15940
2002-03-05 Jeffrey Stedfast <fejj@ximian.com>
* camel-tcp-stream-openssl.c (camel_tcp_stream_openssl_new_raw):
Start the ssl stream off in non-ssl mode (useful for STARTTLS).
(camel_tcp_stream_openssl_enable_ssl): New function to toggle an
ssl stream into ssl mode.
(open_ssl_connection): Close the sockfd on fail so our caller
doesn't have to - this also allows us to save the original errno.
(stream_connect): If we want ssl mode, do our ssl stuff.
(camel_tcp_stream_openssl_class_init): Init some SSL stuff here
instead of in open_ssl_connection since these only ever need to be
called once.
(stream_read): Only use SSL_read if we are in ssl mode.
(stream_write): Only use SSL_write if we are in ssl mode.
* providers/smtp/camel-smtp-transport.c (smtp_helo): Check for the
STARTTLS extension.
(connect_to_server): Try to use STARTTLS whenever possible rather
than the old way of doing things.
(connect_to_server_wrapper): Wrapper around connect_to_server() to
first try STARTTLS and then attempt normal SSL mode if we can't
connect via STARTTLS.
* camel-tcp-stream-ssl.c (camel_tcp_stream_ssl_enable_ssl): New
function to toggle an ssl stream into ssl mode.
(camel_tcp_stream_ssl_new_raw): Start the ssl stream off in
non-ssl mode (useful for STARTTLS).
(stream_connect): Only connect in SSL mode if required.
svn path=/trunk/; revision=15937
* gui/itip-utils.c (comp_compliant): Reset the DTSTAMP of the new
component. (RFC2245 says DTSTAMP corresponds to the time the
particular iCalendar representation of the object was created.)
Fixes#21198.
svn path=/trunk/; revision=15930
2002-03-05 JP Rosevear <jpr@ximian.com>
* gui/print.c: remove unneeded parameter from print_text_size
everywhere
(get_font_for_size): calculate a font size based on the available
height
(print_text): calculate the top of where the font should be drawn
(print_text_size): use get_font_for_size
(print_day_background): use get_font_for_size
2002-03-05 JP Rosevear <jpr@ximian.com>
* gui/e-meeting-time-sel-item.c
(e_meeting_time_selector_item_draw): pass the real table
to e_meeting_model_etable_view_to_model_row
(e_meeting_time_selector_item_paint_busy_periods): ditto
* gui/dialogs/meeting-page.c (right_click_cb): ditto
* gui/e-meeting-model.h: update protos
* gui/e-meeting-model.c
(e_meeting_model_etable_model_to_view_row): take in to account the
fact the table used the without model
(e_meeting_model_etable_view_to_model_row): ditto
svn path=/trunk/; revision=15926
2002-03-05 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-minicard-view-widget.c
(e_minicard_view_widget_realize): don't set "editable" here, as
the way things work the backend isn't able to override a setting
from the UI, so writable books never show up as writable.
svn path=/trunk/; revision=15917
2002-03-04 Chris Toshok <toshok@ximian.com>
[fixes bug #20871]
* gui/component/select-names/select-names.glade: add the
status-message label.
* gui/component/select-names/e-select-names.h (struct
_ESelectNames): add status_message field.
* gui/component/select-names/e-select-names.c (status_message):
new function, set the label's text from the message.
(e_select_names_init): get the status-message label, and if it's
valid, connect to the status_message signal of the
EAddressbookModel.
svn path=/trunk/; revision=15913
2002-03-04 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (load_http): Added more debugging code to help
figure out why a certain image isn't loading - looks like
gnome-vfs is getting a premature EOF?
svn path=/trunk/; revision=15910
2002-03-04 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser.c (my_folder_browser_init): Connect to the
focus-in/out events on the message-list so that we can disable the
EditInvertSelection and EditSelectThread menu items when the
message-list is not in focus.
* folder-browser-ui.c (folder_browser_ui_message_list_unfocus):
New function to de-sensitize some items if the message-list is not
in focus.
(folder_browser_ui_message_list_focus): New function to sensitize
some items if the message-list is not in focus.
* mail-callbacks.c (invert_selection): Only invert the selection
of the message-list if it is the widget in focus.
* message-list.c (message_list_select): Do not explicitly grab the
focus here.
svn path=/trunk/; revision=15909
2002-03-04 Jeffrey Stedfast <fejj@ximian.com>
* forward.xpm, reply.xpm, reply_to_all.xpm: Rename the internal
structure to coincide with the filenames.
svn path=/trunk/; revision=15908
2002-03-04 Damon Chaplin <damon@ximian.com>
* gui/tasks-control.c: added support for printing the Tasks table.
I hacked it a bit so the user could choose portrait or landscape mode.
This is bug #9677. ETable printing has a few issues, though, and it
isn't very pretty.
svn path=/trunk/; revision=15906
2002-03-04 Damon Chaplin <damon@ximian.com>
* e-cell.c (e_cell_print): only call the cell's print method if it has
one. Avoids crashing for unimplemented print methods.
svn path=/trunk/; revision=15903
2002-03-04 Ettore Perazzoli <ettore@ximian.com>
[Fix#20234, Deleting Folder gratuitiously causes /local to open.]
* e-shell-view.c (find_inbox_in_storage): New helper function to
heuristically find an Inbox folder.
(handle_current_folder_removed): New function to handle the
removal of the currently displayed folder in a slightly smarter
way than before. It tries to display the parent folder of the
folder that got deleted and, if not possible, the Inbox in the
same storage. If neither of this is possible, it displays the
default local Inbox. [It still doesn't handle the case where you
have no Inbox gracefully, but that can come later.]
(storage_set_removed_folder_callback): Call
`handle_current_folder_removed'.
2002-03-04 Ettore Perazzoli <ettore@ximian.com>
[Fix#20237, Shell silently drops xfer_folder errors.]
* e-shell-folder-commands.c (xfer_result_callback): Display an
error message if the operation failed.
svn path=/trunk/; revision=15898
* gui/itip-utils.c (comp_subject): Prefix the subject with an
indicator like "Accepted" or "Cancelled" explaining what the
action is, since Outlook doesn't display any of that information
inline like we do. (20780)
svn path=/trunk/; revision=15896
2002-03-01 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-part-utils.c
(camel_mime_part_construct_content_from_parser): Reverted my
pgp/mime fixes here too.
* camel-mime-part.c (write_to_stream): Removed my pgp/mime raw
stream hack, this is causing problems such as some messages to not
displaying, view->source not working at all, etc.
svn path=/trunk/; revision=15883
2002-02-28 Rodrigo Moya <rodrigo@ximian.com>
* calendar/gui/e-itip-control.c (e_itip_control_set_data): added the
METHOD property to the top level component we create.
svn path=/trunk/; revision=15880
2002-02-28 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-completion-view.c
(e_completion_view_key_press_handler): If tab is hit and the
cursor is still in the entry, move down into the entry otherwise
unbrowse.
svn path=/trunk/; revision=15878
2002-02-28 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_search): don't
ref the view here, since it keeps the view alive until the search
is over, which we don't want. we want the view's death to cancel
the search. This speeds up starting new searches after one is
already active (since switching searches actually creates a new
book view and destroys the old one.)
(ldap_search_dtor): remove the matching unref here. The unref as
it was was incorrect anyway, and caused a crash (we needed
search_op->view, not op->view.)
svn path=/trunk/; revision=15877
2002-02-28 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-parser.c: Changed offset variables from int's to
off_t's since the system may support large files.
svn path=/trunk/; revision=15874
2002-02-28 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-part-utils.c
(camel_mime_part_construct_content_from_parser): Rearrange the
save filter stuff so that we save raw streams for all mime
parts. If the mime part turns out to be a multupart, then don't
bother saving the raw stream, we only need to save the raw stream
for leaf parts.
svn path=/trunk/; revision=15873
* backend/pas/pas-backend-file.c (pas_backend_file_search): move
card_count++ inside the if that checks to see if a card matches
(and adds the card to the list).
svn path=/trunk/; revision=15872
2002-02-27 Chris Toshok <toshok@ximian.com>
[fixes bug #20690]
* backend/pas/pas-backend-ldap.c (func_and): the data arg is not
GList** anymore, it's PASBackendLDAPSExpData*, so use
ldap_data->list instead of *list.
(func_or): same.
(func_not): same.
(func_contains): same.
(func_is): same.
(func_endswith): same.
(func_beginswith): same, but also special case the beginswith
"fileAs" query type (the one used by the alphabet buttons on the
right hand side, so we can deal with entries that don't have
fileAs attributes, and return meaningful responses.)
(pas_backend_ldap_build_query): initialize the
PASBackendLDAPSExpData struct and pass that instead of &list.
Also, take the PASBackendLDAP arg to add to the struct in case we
need it at some point in the future.
(ldap_search_handler): pass in the PASBackendLDAP.
svn path=/trunk/; revision=15871