* mail-account-gui.c: Changes to allow combined store/transport
providers (like exchange and nntp). You can only select the
transport if the account is also using that provider for the
source.
(source_type_changed): If changing away from a combined
store/transport type, disable that provider on the transport page.
If change to a combined store/transport type, enable and select
that provider on the transport page.
(mail_account_gui_setup): Do some additional bookkeeping here to
make the above stuff work.
(transport_type_changed): If the provider is a combined
store/transport type, pretend it doesn't need any additional URL
configuration.
(mail_account_gui_transport_complete): if the transport provider
is also a store provider, then as long as it matches the source
for the account, it's considered complete.
(mail_account_gui_save): If the selected transport is a combined
store/transport provider, use the source page's information to
fill in the transport url.
* mail-local.c (mail_local_provider_init): Don't set up
service_cache.
svn path=/trunk/; revision=16331
* camel-provider.h (CamelProvider): make service_cache be an array
of CAMEL_NUM_PROVIDER_TYPES elements so you can have a single
provider offer both stores and transports. (Eg, Exchange, NNTP)
* providers/imap/camel-imap-provider.c: Don't initialize
service_cache here. (The session code can do it itself since the
url_hash and url_equal functions are stored as part of the
provider.)
* providers/nntp/camel-nntp-provider.c: Likewise.
* providers/local/camel-local-provider.c: Likewise.
* providers/pop3/camel-pop3-provider.c: Likewise.
* providers/sendmail/camel-sendmail-provider.c: Likewise.
* providers/smtp/camel-smtp-provider.c: Likewise.
* camel-session.c (register_provider): Initialize the provider's
service cache(s) here.
(camel_session_class_init): Don't initialize.
vee_provider.service_cache here.
(camel_session_destroy_provider): Update to destroy multiple
service_caches.
(service_cache_remove, get_service): Tweak these a bit to deal
with multiple service_caches.
svn path=/trunk/; revision=16330
2002-04-03 Not Zed <NotZed@Ximian.com>
* providers/local/camel-local-folder.c
(camel_local_folder_construct): Turn indexing back on, fingers
crossed ...
* camel-block-file.c (sync_nolock): #!@$@$#@~#$
DF@#$!Q@$#!@$#!#%. Well it helps if we're iterating a list to
iterate the node pointer ...
* camel-text-index.c (text_index_sync): Sync the key tables
explcitly.
(text_index_sync): Debug out frag info.
(camel_text_index_dump): Added a (rather large, but optional) raw
dumping mode for debugging purposes.
* camel-partition-table.c (camel_key_table_finalise): Sync root
block when done.
svn path=/trunk/; revision=16329
2002-04-02 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (do_edit_messages): Pass the UID of the message
being edited to the save-draft signal handler.
(composer_save_draft_cb): Pass the old draft uid to our async
append_message function and let the append_message callback worry
about deleting the old draft message on success.
(save_draft_done): Delete the old draft message if we successfully
appended the new draft message.
svn path=/trunk/; revision=16328
2002-04-02 Jeffrey Stedfast <fejj@ximian.com>
* camel-tcp-stream-ssl.c (set_errno): Handle a ton more nspr i/o
errno's.
(stream_connect): Act as if we are doing a non-blocking
connect. This is to try and work around bug #15120 where users get
an EINPROGRESS error. Maybe importing a PRFileDesc into SSL mode
automagically makes it non-blocking? I dunno.
2002-04-01 Jeffrey Stedfast <fejj@ximian.com>
* camel-folder-summary.c (message_info_new): Updated the
construction of the references to match JWZ's updated algorithm
initialization (ie, append any In-Reply-To reference onto any
References header and never take more than a single message-id
from the In-Reply-To header since anything after the first will
probably just be email addresses). Fixes bug #1336.
svn path=/trunk/; revision=16327
2002-04-02 Christopher James Lahey <clahey@ximian.com>
* e-storage-set-view.c (e_storage_set_view_set_show_checkboxes):
Set the show_checkboxes field here instead of the show_folders
field.
svn path=/trunk/; revision=16326
2002-04-02 Christopher James Lahey <clahey@ximian.com>
* e-storage-set-view.c (etree_value_at): If folder is NULL, return
the correct type of data.
svn path=/trunk/; revision=16325
2002-04-02 Christopher James Lahey <clahey@ximian.com>
* Makefile.am (etspec_DATA): Added
e-storage-set-view-checkboxes.etstate and
e-storage-set-view-no-checkboxes.etstate here.
* e-storage-set-view-checkboxes.etstate,
e-storage-set-view-no-checkboxes.etstate: The two possible states
of the EStorageSetView.
* e-storage-set-view.c, e-storage-set-view.h
(e_storage_set_view_set_show_checkboxes,
e_storage_set_view_get_show_checkboxes): Added this functionality.
Added a model column to the underlying table for the checkbox
data.
* e-storage-set-view.etspec: Added a view column for the
checkboxes.
svn path=/trunk/; revision=16324
2002-04-03 Not Zed <NotZed@Ximian.com>
* camel-text-index.c (text_index_sync): Sync the key tables
explcitly.
* camel-partition-table.c (camel_key_table_finalise): Sync root
block when done.
(camel_key_table_sync): New function, sync key table (root) explicitly.
2002-04-02 Not Zed <NotZed@Ximian.com>
* camel-block-file.c (camel_block_file_free_block): Mark root
block dirty when we change it (this function isn't used yet
anyway).
* camel-text-index.c (text_index_add_name_to_word): Touch the root
block when we modify the counts. Also, abort processing on any
errors.
(text_index_sync): Fix typo in comments. Sync the block file
inside the lock.
(text_index_compress_nosync): Lock the old index while we're
compressing.
(text_index_compress_nosync): Remove the bogus while() at the end
of the while() loops! Also plug a memleak - records weren't
freed.
(text_index_rename): Lock around rename op.
(text_index_add_name): More typos.
(text_index_sync): Touch root when changing it.
(text_index_add_name): "
(text_index_delete_name): "
(camel_text_index_new): Touch root if we change it.
(text_index_cursor_reset): Make sure we NULL pointers after we
free them (nothing uses this yet).
* camel-partition-table.c (hash_key): Remove some debug
accidentally left in.
(camel_partition_table_add): When linking in the next block list,
set the right previous pointer.
(camel_key_table_add): Simplify the 'left' calculation (it was
already ok though).
(camel_key_table_next): Initialise returns before processing.
Broaden the lock slightly, and simplify validity calculations.
svn path=/trunk/; revision=16323
2002-04-02 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-store.c (imap_keepalive): Put back in
the exception setup stuff i disabled for debugging.
svn path=/trunk/; revision=16320
2002-04-02 Not Zed <NotZed@Ximian.com>
* providers/local/camel-local-folder.c
(camel_local_folder_construct): Temporarily disable indexing.
2002-03-28 Not Zed <NotZed@Ximian.com>
* camel-partition-table.c (camel_key_table_lookup): Change range
checking assert to a warning.
* providers/pop3/camel-pop3-folder.c (pop3_finalize): Make sure we
flush out all outstanding commands before finalising, stops being
finalised while outsanding requests are processed by the store
finalise.
(pop3_get_message): Instead of pre-fetching all messages, just
pre-fetch a maxiumum number at any one time, stops us running out
of cache fd's.
* providers/nntp/camel-nntp-folder.c (nntp_folder_init/finalise):
Setup priv data + locks, & free.
* providers/imap/camel-imap-folder.c (imap_rescan): Batch all
message_chagned events into a single folder_changed event
(otherwise updates can be >>> expensive, like >5 hours for 80K
messages changing!). Alternately it could use folder
freeze/unfreeze perhaps.
2002-03-27 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-store.c (imap_keepalive): Pass an
exception to called code so it behaves properly since it uses the
passed exception to check returns.
svn path=/trunk/; revision=16319
2002-04-01 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser-ui.c: Removed an unused pixmap from
Tools/Settings to avoid a big nasty bonobo warning.
svn path=/trunk/; revision=16318
2002-04-01 Jeffrey Stedfast <fejj@ximian.com>
* rule-editor.c (rule_edit): Set 're' as the parent window rather
than as the parent widget.
(add_editor_clicked): Only unref the editor if it is non-NULL.
svn path=/trunk/; revision=16317
2002-04-01 Jeffrey Stedfast <fejj@ximian.com>
* mail-composer-prefs.c (mail_composer_prefs_construct):
Re-Implemented the signature editor stuff (mostly just copy/paste
from Radeks original code).
* mail-signature-editor.c (mail_signature_editor): Use the right
oafiid for the html editor control.
svn path=/trunk/; revision=16316
2002-04-01 Chris Toshok <toshok@ximian.com>
* libversit/vobject.c (newStrItem): only include if USE_STRTBL is
defined.
(deleteStrItem): same.
(hashStr): same.
(lookupStr): if USE_STRTBL is defined, use existing behavior. if
not defined, just dup the string.
(unUseStr): if USE_STRTBL is defined, use existing behavior. if
svn path=/trunk/; revision=16314
2002-04-01 Rodrigo Moya <rodrigo@ximian.com>
* pcs/cal-backend-db.c: simple fix for DB3 header inclusion in
Mac OS X, by Max Horn <max@quendi.de>
svn path=/trunk/; revision=16309
* gui/component/select-names/e-select-names-text-model.c:
parent_class should be static. (From Max Horn <max@quendi.de>)
svn path=/trunk/; revision=16304
2002-03-31 JP Rosevear <jpr@ximian.com>
* gui/e-itip-control.c (clean_up): free the my_address member
(find_my_address): fall back on a CN match if possible
(change_status): handle changing the status of a non-existent
address by adding a new attendee
(update_attendee_status): if the attendee response is not from a
user on the list of attendees, ask the user if they want to add
the attendee any how (as an optional participant)
(ok_clicked_cb): if we are suppose to rsvp and the status was ok,
but the attendee address is not known, find it
svn path=/trunk/; revision=16303
just a playground for testing the idea.]
* Makefile.am: Added support for the ENABLE_SHLIB_COMPONENTS
conditional.
* GNOME_Evolution_Summary.oaf.in.in: New.
* e-summary-mail.c (update_folder_cb): Protect against
summary->mail being NULL.
* component-factory.c: Add a shlib factory.
(create_component): Get a @factory and @data.
(component_factory_init): Actually make it use a
BonoboGenericFactory again.
* configure.in: Add argument `--enable-shlib-components'. New
substitutions OAF_SHLIB_LOCATION, OAF_SHLIB_PREFIX,
OAF_SHLIB_SUFFIX.
svn path=/trunk/; revision=16299
2002-03-29 Jeffrey Stedfast <fejj@ximian.com>
* mail-preferences.c (colorpicker_get_color): Don't shift the r, g
and b values here either.
* mail-composer-prefs.c (colorpicker_get_color): Don't shift the
r, g, b values.
svn path=/trunk/; revision=16297
* e-shell-settings-dialog.c: Add type "Page".
(page_new): New helper function.
(page_free): New helper function.
(compare_page_func): Callback for sorting a GList of pages.
(sort_page_list): New helper function.
(load_pages): Create the pages, sort them, add them sorted. Now
we have a priority field that overrides alphabetical sorting.
svn path=/trunk/; revision=16291
2002-03-29 Jeffrey Stedfast <fejj@ximian.com>
* mail-composer-prefs.c (mail_composer_prefs_construct): Same
here.
* mail-preferences.c (mail_preferences_construct): Do some gtk
hackery action so we can detect if a option menu has changed.
svn path=/trunk/; revision=16290
2002-03-29 JP Rosevear <jpr@ximian.com>
* gui/e-calendar-table.c: implement new pop up menu items for
"Save as", "Print", "Assign Task", "Forward as iCalendar"
* gui/e-day-view.c: similarly, also "Publish Free/Busy
Information" and "New Meeting" and "New Task"
* gui/e-week-view.c: ditto
* gui/dialogs/task-editor.c (show_assignment): move the assignment
page stuff here
(task_editor_show_assignment): use it
(assign_task_cmd): ditto
* gui/dialogs/task-editor.h: new proto
* gui/dialogs/comp-editor.c (save_as_cmd): use new e-util file
selector function
svn path=/trunk/; revision=16287
* GNOME_Evolution_Mail.oaf.in: Cleaned up a bunch [removing
duplicates ;-)], set up icons for all the configuration pages.
svn path=/trunk/; revision=16286
2002-03-29 JP Rosevear <jpr@ximian.com>
* e-dialog-utils.c (e_file_dialog_save): open a file selection
dialog with the given title and return the selected file name
(save_ok): if the ok button is clicked, make sure the file doesn't
already exist and if it does, see if the user wants to over write
it
* e-dialog-utils.h: new proto
svn path=/trunk/; revision=16284
2002-03-29 Jeffrey Stedfast <fejj@ximian.com>
* configure.in: Use iconv-detect.c to generate a iconv-detect.h
file containing information about the preferred charset formats to
use with the system iconv.
* iconv-detect.c: New program to detect the preferred charset
formats for use with the system iconv.
* gal/util/e-iconv.c (e_iconv_charset_name): Update to use macros
defined in iconv-detect which is created at configure time.
svn path=/trunk/; revision=16282