2003-11-01 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-view.c: setup filter-on-thread and vfolder-on-thread.
* mail-autofilter.c (rule_from_message): handle AUTO_THREAD
(rule_match_thread): new function to setup a filter on a msgid
svn path=/trunk/; revision=23158
* cal-util/cal-util.h: Add CAL_STATIC_CAPABILITY_NO_THISANDFUTURE
and CAL_STATIC_CAPABILITY_NO_THISANDPRIOR
* gui/dialogs/recur-comp.c (recur_component_dialog): Add a
CalClient argument. Use cal_client_get_static_capability to decide
whether or not to offer THISANDFUTURE and THISANDPRIOR options
* gui/dialogs/comp-editor.c (prompt_to_save_changes, save_cmd,
save_close_cmd): Pass a CalClient to recur_component_dialog.
* gui/e-day-view.c (e_day_view_finish_long_event_resize,
e_day_view_finish_resize, e_day_view_on_editing_stopped,
e_day_view_on_top_canvas_drag_data_received,
e_day_view_on_main_canvas_drag_data_received): Likewise
* gui/e-week-view.c (e_week_view_on_editing_stopped): Likewise
* gui/calendar-component.c (impl_createControls): set an exception
if we fail, so evo won't crash.
svn path=/trunk/; revision=23152
2003-10-31 JP Rosevear <jpr@ximian.com>
* configure.in: set up vars and rules for versioning the .server
files
* Makefile.am's: use rules for versioning .server file, ensure
built files are removed before disting
svn path=/trunk/; revision=23149
2003-10-31 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c (build_message): fix for e-account smime info
changes. Also enforce having a signing certificate set in
preferences before doing any signing.
(from_changed_cb): handle smime sign/encrypt default for account
(create_composer): force a from-changed when we start, to properly
setup signing options.
svn path=/trunk/; revision=23146
2003-10-31 Not Zed <NotZed@Ximian.com>
* e-account.c (e_account_(sg)et_from_xml): add encrypt_key id, and
change some of the names around to be more meaningful.
svn path=/trunk/; revision=23144
2003-10-30 Chris Toshok <toshok@ximian.com>
* gui/certificate-manager.h: add boilerplate.
* gui/certificate-manager.c
(certificate_manager_config_control_new): return NULL if the
NSS_InitReadWrite fails - we should probably give better status
though, or return a GtkLabel with an error message....
* gui/Makefile.am (INCLUDES): use CERT_UI_CFLAGS.
(TEST_LIBS): use CERT_UI_LIBS.
svn path=/trunk/; revision=23140
2003-10-30 Chris Toshok <toshok@ximian.com>
* tests/Makefile.am (INCLUDES): use CERT_UI_CFLAGS.
(TEST_LIBS): use CERT_UI_LIBS.
svn path=/trunk/; revision=23139
2003-10-30 Chris Toshok <toshok@ximian.com>
* configure.in: set enable_smime=yes wherever nss would be
enabled.. fixes manually specifying the nss libs and enabling the
smime ui. Also, add a section for generating the correct SMIME UI
flags. gross, but necessary. it should probably be wrapped in
with all the other nss library crap.
(AC_OUTPUT): add smime/tests
svn path=/trunk/; revision=23138
2003-10-30 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-tasks.[ch] (e_tasks_get_cal_client): removed.
* gui/tasks-control.c (sensitize_commands): fixed to work correctly
with the ECalView's model.
(tasks_control_set_property): don't use e_tasks_get_cal_client.
* gui/alarm-notify/alarm-notify.c (free_client_hash): new function
to remove items from the CalClient's hash table.
(alarm_notify_finalize): call free_client_hash() for each item
in the hash table.
svn path=/trunk/; revision=23136
2003-10-30 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify/notify-main.c (client_die_cb): use
bonobo_main_quit, not gtk_main_quit.
* gui/alarm-notify/alarm-queue.c (free_client_alarms_cb): callback
for freeing ClientAlarms stored in the hash table.
(alarm_queue_done): call free_client_alarms_cb() for each opened
client.
svn path=/trunk/; revision=23135
2003-10-24 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify/notify-main.c (client_die_cb): use
bonobo_main_quit, not gtk_main_quit.
* gui/alarm-notify/alarm-queue.c (free_client_alarms_cb): callback
for freeing ClientAlarms stored in the hash table.
(alarm_queue_done): call free_client_alarms_cb() for each opened
client.
svn path=/trunk/; revision=23134
2003-10-30 Rodrigo Moya <rodrigo@ximian.com>
* pcs/cal-backend-file.c (mark_dirty, save_idle): removed, since
we dont save the file anymore in idle callbacks.
(cal_backend_file_dispose): removed all traces of the idle saving.
(check_dup_uid, create_cal, cal_backend_file_add_timezone,
cal_backend_file_create_object, cal_backend_file_modify_object,
cal_backend_file_remove_object, cal_backend_file_receive_objects):
call save() directly instead of mark_dirty().
svn path=/trunk/; revision=23132
2003-10-30 Rodrigo Moya <rodrigo@ximian.com>
* pcs/cal-backend-file.c (cal_backend_file_modify_object):
implemented THIS and ALL recurrences cases, blowing away or detaching
recurrences from the main component as required.
(get_rid_string): make it return const.
(get_rid_timetype): new convenience function for getting
libical's recurrence ID from a CalComponent.
(cal_backend_file_is_read_only, remove_recurrence_cb,
remove_component): fixed warnings.
(remove_object_instance_cb): callback to remove the instances
from the hash on the THISANDPRIOR and THISANDFUTURE cases.
(cal_backend_file_remove_object): replaced mismatched if/else
statement with proper management of each of the recurrence cases.
svn path=/trunk/; revision=23131
2003-10-30 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c: Turn on SMIME_SUPPORTED.
(build_message): move some of the security code around, and fix
up smime code.
svn path=/trunk/; revision=23128
2003-10-30 Not Zed <NotZed@Ximian.com>
* camel-cipher-context.h: Added a note about api inconsistencies.
2003-10-30 Not Zed <NotZed@Ximian.com>
* camel-multipart-encrypted.c (camel_multipart_encrypted_decrypt):
fix for cipher_decrypt changes.
* camel-gpg-context.c, camel-cipher-context.c: moved all the init
code to the end to save having to keep forward declarations
around.
(camel_cipher_decrypt): changed to take mimepart input and return
a mimepart.
(gpg_decrypt): fix for changed args.
2003-10-29 Not Zed <NotZed@Ximian.com>
* camel-smime-context.[ch]: replaced entirely with a new
implementation which inherits from camel-cipher-context, and add
to build.
* camel-multipart-encrypted.c (camel_multipart_encrypted_encrypt):
fix for cipher_encrypt api changes.
(camel_multipart_encrypted_decrypt): use g_ascii_strcasecmp.
* camel-gpg-context.c (gpg_encrypt): Fix to handle input/output as
parts not streams
* camel-cipher-context.c (camel_cipher_encrypt): change to take
mimeparts rather than streams as input/output. And remove the
'sign' argument, it is implied if userid is supplied.
2003-10-28 Not Zed <NotZed@Ximian.com>
* tests/smime/pgp.c (main): fix for ciphercontext api changes.
* camel-multipart-signed.c (camel_multipart_signed_verify): pass
in the part to cipher_verify directly.
(camel_multipart_signed_sign): let the cipher context setup the
part details.
* camel-gpg-context.c (gpg_sign): put the signature stream into a
mimepart, with appropriate headers/encoding.
(swrite): write out a mimepart rather than a stream.
(gpg_verify): handle changed args.
* camel-cipher-context.c (camel_cipher_sign): write the signature
to a mimepart rather than a simple stream.
(camel_cipher_verify): take the signature as a mimepart not a
stream.
2003-10-22 Not Zed <NotZed@Ximian.com>
* camel-utf8.c (camel_ucs2_utf8, camel_utf8_ucs2): helpers for
ucs2 stuff. ucs2 is 16 bit truncated unicode.
svn path=/trunk/; revision=23127
2003-10-29 Chris Toshok <toshok@ximian.com>
* gui/component/GNOME_Evolution_Addressbook.server.in.in: add the
S/MIME config control here.
svn path=/trunk/; revision=23126
2003-10-29 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book-listener.c (e_book_listener_new): change
the poa hint to PER_REQUEST. fixes a couple of deadlocks.
svn path=/trunk/; revision=23125
2003-10-29 Chris Toshok <toshok@ximian.com>
* Makefile.am (SUBDIRS): use $SMIME_DIR. instead of explicitly
including smime.
* configure.in: add some smime foo - a status message, an
AM_CONDITIONAL (ENABLE_SMIME)
svn path=/trunk/; revision=23123
2003-10-29 JP Rosevear <jpr@ximian.com>
* gui/Makefile.am: build new files
* gui/dialogs/comp-editor-util.c (date_edit_destroy_cb): unref the
config manager
(comp_editor_new_date_edit): set up a config manager for the date
editor
* gui/e-date-edit-config.[hc]: config manager for e-date-edit
svn path=/trunk/; revision=23122
* Evolution-Component.idl: declare an exception for createControls
to return, so we don't have to just crash if it fails.
svn path=/trunk/; revision=23120
2003-10-29 Jeffrey Stedfast <fejj@ximian.com>
* GNOME_Evolution_Mail.server.in.in: Nuked the MailConfig
interface stuff.
* Mailer.idl: Removed. None of the interfaces are needed/used
anymore.
* folder-info.[c,h]: Removed. The summary was the only thing that
needed/used this code and it has been nuked into oblivion, so
these interfaces are no longer needed.
* mail-config.c: Removed old crufty CORBA interface snot that is
no longer needed or used.
svn path=/trunk/; revision=23118
2003-10-29 JP Rosevear <jpr@ximian.com>
* gui/dialogs/cal-prefs-dialog.c (update_config): no need to
update config settings everywhere explicitly
* gui/tasks-component.c (update_uris_for_selection): cast the
widget
* gui/gnome-cal.h: remove proto
* gui/gnome-cal.c (setup_widgets): don't update config settings
explicitly
(gnome_calendar_update_config_settings): kill
* gui/e-week-view.c: remove null chars
* gui/e-tasks.h: remove proto
* gui/e-tasks.c (set_timezone): set the timezone on the client
(timezone_changed_cb): changed timezone callback
(setup_config): setup config stuff
(e_tasks_init): setup config and widgets here
(e_tasks_new): construct is dead, no need to track all widgets
(cal_opened_cb): set the timezone upon opening
(e_tasks_update_all_config_settings): kill
* gui/control-factory.c (control_factory_new_control): create the
calendar ourselves
* gui/calendar-config.c (on_timezone_set): don't update the
settings everywhere here, we have config managers now
* gui/calendar-component.c (impl_createControls): create the
calendar ourselves
* gui/calendar-commands.h: remove protos
* gui/calendar-commands.c: remove dead functions
svn path=/trunk/; revision=23117
2003-10-29 JP Rosevear <jpr@ximian.com>
* gui/e-day-view-config.c (set_twentyfour_hour): set the format on
the cal view
* gui/e-week-view-config.c (set_twentyfour_hour): ditto
* gui/e-cal-list-view-config.c (set_twentyfour_hour): set the 24
hour format on the view
(twentyfour_hour_changed_cb): 24 hour format change callback
(e_cal_list_view_config_set_view): handle 24 hour format change
svn path=/trunk/; revision=23116
2003-10-29 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (set_timezone): set the timezone for all clients
(timezone_changed_cb): callback for changes
(setup_config): setup the configuration
(setup_widgets): setup up configuration managers for the list
view, task list and date navigator
(gnome_calendar_init): setup config
(gnome_calendar_destroy): destroy configuration managers and
notifications
(gnome_calendar_update_config_settings): remove dead bits
* gui/e-mini-calendar-config.[hc]: manage configuration of an
e-calendar
* gui/e-day-view-config.h: remove extraneous comment, type the
parent class correctly
* gui/e-week-view-config.h: ditto
* gui/e-day-view-config.c (e_day_view_config_class_init): type the
class correctly
(set_timezone): set timezone
(timezone_changed_cb): timezone changed callback
(e_day_view_config_set_view): track timezone changes
* gui/e-week-view-config.c: ditto
* gui/e-cell-date-edit-config.[hc]: manage configuration of a date
edit cell
* gui/e-calendar-table-config.[hc]: manage configuration of a
e-calendar-table
* gui/e-cal-list-view.c (get_current_time_cb): use the view
timezone to compute
* gui/e-cal-list-view-config.[hc]: manage configuration of a
list view
* gui/calendar-config.h: update protos
* gui/calendar-config.c
(calendar_config_add_notification_timezone): notify of timezone
change
(calendar_config_add_notification_dnav_show_week_no): notify of
show week number setting change
* gui/calendar-component.c (calendar_component_peek): remove bad
comma
* gui/Makefile.am: build new config classes
svn path=/trunk/; revision=23114
2003-10-29 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-component.c (fill_popup_menu_callback): fixed
typo in menu item label.
* gui/e-cal-model.[ch] (e_cal_model_get_use_24_hour_format): new
function.
* gui/e-cal-view.[ch]: no need to keep the 'use_24_hour' setting,
it's already in the model.
(e_cal_view_get_use_24_hour_format,
e_cal_view_set_use_24_hour_format): new functions.
* gui/e-day-view.[ch] (e_day_view_get_24_hour_format,
(e_day_view_set_24_hour_format): removed.
(e_day_view_convert_time_to_display, e_day_view_update_event_label,
e_day_view_get_time_string_width): use the ECalView's function to
get the 24 hour format.
* gui/e-week-view.[ch] (e_week_view_get_24_hour_format,
e_week_view_set_24_hour_format): removed.
(e_week_view_convert_time_to_display,
e_week_view_get_time_string_width): use the ECalView's function
to get the 24 hour format.
* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
* gui/e-day-view-time-item.c (e_day_view_time_item_draw):
* gui/e-week-view-event-item.c (e_week_view_draw_time):
don't use the view's use_24_hour_format, but the ECalView method.
svn path=/trunk/; revision=23113
2003-10-28 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.c: We should check List-Post before List-Id
(List-Post has to contain the mailing-list posting address,
whereas List-Id does not.) WAlso moved X-Loop to after List-Id to
make FreeBSD lusers happy. Fixes bug #32297.
svn path=/trunk/; revision=23111
2003-10-28 Jeffrey Stedfast <fejj@ximian.com>
* Fixes bug #35083
* providers/imap/camel-imap-store.c (connect_to_server): Same
here.
* providers/pop3/camel-pop3-store.c (connect_to_server): Same as
the smtp changes.
* providers/smtp/camel-smtp-transport.c (connect_to_server): If
HAVE_SSL is undefined, don't default to raw connections if the
option to connect via ssl is set. Instead set an exception and
return fail.
svn path=/trunk/; revision=23110
2003-10-28 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-component.c (impl_createControls): connect to
"fill_popup_menu" on the ESourceSelector.
(fill_popup_menu_callback): add popup menu items here.
(add_popup_menu_item): new function to add items to the
popup menu.
(new_calendar_cb): callbacks for the popup menu items.
svn path=/trunk/; revision=23108