2000-12-13 Larry Ewing <lewing@helixcode.com>
* e-html-utils.c (e_text_to_html): make sure we actually make
enough space for " ".
svn path=/trunk/; revision=6964
2000-12-12 JP Rosevear <jpr@helixcode.com>
* gui/dialogs/task-editor.c (task_editor_set_todo_object): Use
set_title_from_comp
(save_todo_object): ditto
(set_title_from_comp): Make sure the title is encoded properly (as in
event-editor)
svn path=/trunk/; revision=6962
2000-12-12 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer-hdrs.c (set_entry): Don't convert the utf-8
string to a gtkstring because the widget expects to get a utf-8
string.
svn path=/trunk/; revision=6960
2000-12-12 Joe Shaw <joe@helixcode.com>
* src/libical/icalrecur.c: #if 0ed out some #if 1ed test code that
was breaking my build by #including ical.h. No cookie!
svn path=/trunk/; revision=6959
2000-12-12 Christopher James Lahey <clahey@helixcode.com>
* component-factory.c (create_view): Added a cast.
* mail-summary.c: Added #include "mail-summary.h". Commented out
folder_free, summary_free, and view_destroy_cb since they're not
used.
(do_changed): Added a cast.
(create_summary_view): Changed some types so that casting would be
easier.
* session.c (mail_session_remember_password): Added a cast.
svn path=/trunk/; revision=6956
2000-12-12 Christopher James Lahey <clahey@helixcode.com>
* camel-folder-summary.c, camel-folder-summary.h: Added #ifndef
NO_WARNINGS around a #warning. Added (void) to the prototype and
declaration of camel_message_info_new.
* camel-mime-message.h: Added an include for
camel-mime-filter-bestenc.h. Added a prototype for
camel_mime_message_set_best_encoding. Reformatted prototypes to
line up.
* camel-mime-parser.c: Added #if d(!)0 around the states string
lookup table since it's only used in debugging output.
* camel-seekable-substream.c (stream_flush): Added a cast.
* providers/imap/camel-imap-auth.c: Added #include <netinet/in.h>.
* providers/imap/camel-imap-folder.c (imap_refresh_info): Made uid
and flags const to fix warnings here.
* providers/imap/camel-imap-store.c (get_folder_info): Made p
const to fix warnings here.
svn path=/trunk/; revision=6954
2000-12-12 Christopher James Lahey <clahey@helixcode.com>
* wordindex.c (cache_sanity): Made cache_sanity only be included
if d(x) is defined as x.
* wordindexmem.c: Made node_sanity and cache_sanity only be
included if d(x) is defined as x or if MALLOC_CHECK is defined.
Made sync_value only be included if d(x) is defined as x.
svn path=/trunk/; revision=6947
2000-12-12 Jeffrey Stedfast <fejj@helixcode.com>
* e-splash.c (button_press_event): Return TRUE as we have handled
the event.
svn path=/trunk/; revision=6946
* configure.in: Add a check for "extern int timezone;" vs struct
tm tm_gmtoff, stolen from Evolution's configure.in.
* src/libical/icaltime.c (icaltime_utc_offset,
icaltime_local_utc_offset): Use HAVE_TIMEZONE, add tm_gmtoff
support.
* src/libical/icallexer.l: Remove ical_yy_scan_buffer, ..._string,
and ..._bytes prototypes, since it compiles fine without them on
Linux, and bombs out due to prototype mismatch on my NetBSD box.
svn path=/trunk/; revision=6945
* e-shell-view.c (get_control_for_uri): Pass path+1 rather than
path to get_type_for_storage, to match the convention used by its
other callers.
svn path=/trunk/; revision=6942
2000-12-11 Jeffrey Stedfast <fejj@helixcode.com>
* e-splash.c (e_splash_construct): Connect a button-press-event
signal on the splash screen so users can click it to hide it.
(button_press_event): New callback to hide the splash screen.
svn path=/trunk/; revision=6938
2000-12-11 Christopher James Lahey <clahey@helixcode.com>
* gal/util/e-util.c, gal/util/e-util.h: Fixed a warning by making
e_strstrcase return a const gchar.
svn path=/trunk/; revision=6936
2000-12-11 Christopher James Lahey <clahey@helixcode.com>
* e-cell-text.c (ect_draw): Made selected rows ignore their color
specification.
svn path=/trunk/; revision=6935
2000-12-11 Federico Mena Quintero <federico@helixcode.com>
* configure.in: Make AC_INIT() check for a file that is not
autogenerated!
svn path=/trunk/; revision=6934
2000-12-11 Federico Mena Quintero <federico@helixcode.com>
This is to make things work with libical 0.21helix1 and later.
Warnings remain because at last libical was constified; will take
care of those tomorrow.
* cal-util/timeutil.h: #include <ical.h> instead of <icaltypes.h>
* gui/e-itip-control.c: Likewise.
* gui/e-meeting-edit.c: Likewise.
* gui/itip-utils.h: Likewise.
* cal-util/cal-component.c (alarm_uid_from_prop): constify.
(cal_component_get_status): Updated for new libical API.
(cal_component_set_status): Likewise.
* gui/calendar-model.c (ensure_task_complete): Removed unused
status code.
(ensure_task_not_complete): Update for new status API.
* gui/dialogs/task-editor.c (status_string_to_value): Removed
function.
(status_value_to_string): Removed function.
(status_string_map): Removed variable.
(fill_widgets): Update for new status API.
(dialog_to_comp_object): Likewise.
svn path=/trunk/; revision=6932
2000-12-11 Jeffrey Stedfast <fejj@helixcode.com>
* filter-folder.c (button_clicked): Added a kludge, 'is_active'
which is a static variable that holds whether or not there is an
active shell folder dialog up or not.
* vfolder-editor.c (rule_delete): Autoselect the rule that ends up
in the same position (or the one above it if the list is shorter
than the position).
svn path=/trunk/; revision=6927
2000-12-11 Jeffrey Stedfast <fejj@helixcode.com>
* vfolder-editor.c (rule_delete): Autoselect the rule that ends up
in the same position (or the one above it if the list is shorter
than the position).
svn path=/trunk/; revision=6926
2000-12-11 Damon Chaplin <damon@helixcode.com>
* cal-util/cal-recur.c (generate_instances_for_chunk): updated the
tests on the start & end time just before calling the callback. It
was skipping occurrences that started before the required interval's
start time, which was wrong. We want all occurrences that intersect
the interval.
(cal_obj_time_weekday): removed the CalRecurrence* argument, since it
isn't needed.
svn path=/trunk/; revision=6925
* session.c (mail_session_enable_interaction): New function to
tell the code that it's ok (or not) to interact with the user when
trying to authenticate to a service. Starts out turned off.
(mail_session_request_dialog): If interaction is disabled, fail if
the password isn't in the cache.
* component-factory.c (owner_set_cb): Call
mail_session_enable_interaction() after everything else. (This
means that the IMAP password dialog will no longer pop up [under
the splash screen] at startup.)
svn path=/trunk/; revision=6924
* component-factory.c (create_view): Deal with "mailstorage" type
views (top-level mail storages) by trying to fill the storage's
folder tree again if we failed before.
(add_storage): Create new storages with a URI and type
"mailstorage".
* mail-ops.c (cleanup_scan_subfolders): On success, mark the
storage as having been loaded, so create_view won't try again.
svn path=/trunk/; revision=6923
2000-12-11 Jeffrey Stedfast <fejj@helixcode.com>
* mail-format.c (decode_pgp): Updated to reflect arguments to the
openpgp functions - now also takes an outlen argument.
(try_inline_pgp): Updated.
(handle_multipart_encrypted): Updated here too.
* mail-crypto.c (crypto_exec_with_passwd): Updated to handle
binary streams and such.
(mail_crypto_openpgp_encrypt): Always initialize the passwd_fds
even if we don't plan on signing. Added an 'inlen' to specify the
length of the input data (as it could be binary). Also added a
'userid' argument for cases when we want to sign as well as
encrypt.
(mail_crypto_openpgp_decrypt): Updated to take an outlen argument
in case the ciphertext is encrypted binary data.
(mail_crypto_openpgp_clearsign): Added a 'hash' and 'detach'
arguments. 'hash' allows the program to specify the preferred hash
function (which will come in handy when generating
PGP/MIME). 'detach' allows the program to specify whether it wants
a detached signature or the entire signed text.
svn path=/trunk/; revision=6921