2002-09-20 JP Rosevear <jpr@ximian.com>
* gui/comp-util.c (cal_comp_is_on_server): check to see if the
component is already on the server or not
* gui/comp-util.h: change proto
* gui/e-week-view.c (e_week_view_on_editing_stopped): only delete
the event if the summary is empty and the component is not already
on the server
* gui/e-day-view.c (e_day_view_on_editing_stopped): same
Fixes#14111
svn path=/trunk/; revision=18138
002-09-20 JP Rosevear <jpr@ximian.com>
* gui/dialogs/meeting-page.c (meeting_page_fill_widgets): set the
deleted attendees array to size 0 after we clean it up
Fixes#30479
svn path=/trunk/; revision=18135
2002-09-20 Rodrigo Moya <rodrigo@ximian.com>
* pcs/query.c (parse_sexp): remove the query from the cache if it
failed.
(start_cached_query_cb): notify of errors in the query.
svn path=/trunk/; revision=18133
2002-09-20 Not Zed <NotZed@Ximian.com>
* tests/misc/split.c: New regression test for word
splitting/search input parsing code.
* tests/folder/test9.c (main): Fix for filter_driver api change.
* camel-search-private.c (camel_search_words_split): Handle "'s
and \'s to escape characters. For fat, lazy, slobs who dont like
anything changing.
svn path=/trunk/; revision=18130
* gal/util/e-iconv.c: Make locale_charset a char *, not
const char *. Kills a warning in the !HAVE_CODESET case.
(e_iconv_init): No longer need to cast locale_charset to (char *)
while mangling it in the HAVE_CODESET case.
* gal/util/e-xml-utils.c: #include <stdlib.h> for free()
* gal/widgets/e-categories-master-list-array.c: Likewise
svn path=/trunk/; revision=18129
2002-09-19 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (do_edit_messages): Unset the changed bit on
the composer and also drop any undo operations (since we loaded
the message into the composer). Fixes bug #30580.
svn path=/trunk/; revision=18127
brokenness]
(set_dialog_size): New.
(impl_realize): Override for GtkWidget::realize; invoke
set_dialog_size() to set a minimum size.
(class_init): Install.
svn path=/trunk/; revision=18126
2002-09-19 Rodrigo Moya <rodrigo@ximian.com>
* pcs/query.c: added a list of EComponentListener's to control the
lifetime of the listeners.
(query_init): initialize new member.
(query_destroy): free new member.
(start_cached_query_cb): create a EComponentListener for the new
listener being added.
svn path=/trunk/; revision=18122
* e-table.c (et_real_construct): Set the selection model's
selection_mode after setting the table model, or things will break
in the GTK_SELECTION_SINGLE case if the table doesn't start out
empty.
svn path=/trunk/; revision=18121
2002-09-19 Rodrigo Moya <rodrigo@ximian.com>
More fixes for #24210
* pcs/query.c: added list of cached queries and changed the Query
class to work with several listeners, not only one.
(query_init): initialize new members.
(query_destroy): free new members.
(add_component, remove_component, parse_sexp, match_component,
process_components_cb): notify all listeners.
(notify_uid_cb, start_cached_query_cb): implemented integration of
cached queries.
(query_new): search the query in the cache before creating a new
one. And if we create a new one, store it in the cache.
svn path=/trunk/; revision=18120
(resort): New.
(sort_idle_callback): Use it.
(insert_storages): Use resort() instead of queue_resort() so we
sort immediately.
svn path=/trunk/; revision=18116
2002-09-19 Not Zed <NotZed@Ximian.com>
* filtertypes.xml: Changed source account, use header-source
rather than (= (get-source) ...)
svn path=/trunk/; revision=18113
2002-09-19 Not Zed <NotZed@Ximian.com>
* camel-filter-search.c (camel_filter_search_match): Take new
session arg. Update callers.
(symbols[]): changed get-source to header-source
(header_source): Chagned from get_source. Now a boolean, returns
true if source matches one of the arguments. Uses the provider
url comparison directly for accurate checking. Makes 'filter on
source' work.
* camel-filter-driver.c (camel_filter_driver_new): Take new arg,
session.
(camel_filter_driver_finalise): Free session.
svn path=/trunk/; revision=18112
2002-09-19 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-folder.c (parse_fetch_response): Don't
increment the response pointer when deciding what type of header
response we got, this screws up the string that we strdup into the
part_spec string later. Also, instead of using the entire blob of
HEADER.FIELDS that we get in the response, shorten it to just
HEADER.FIELDS to use as the part_spec key.
svn path=/trunk/; revision=18111
002-09-19 JP Rosevear <jpr@ximian.com>
* gui/dialogs/recurrence-page.c (simple_recur_to_comp): bump the
month_num by 1 because it indexs at 0
(recurrence_page_fill_widgets): lower the month_num by one as above
Fixes#30381
svn path=/trunk/; revision=18110
2002-09-18 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-command.c
(camel_imap_command_response): If we get an ALERT, pass it to the
user. An rfc2060 MUST, and bug #22496.
svn path=/trunk/; revision=18107
2002-09-18 Not Zed <NotZed@Ximian.com>
* evolution-wizard.c (impl_GNOME_Evolution_Wizard_notifyAction):
Allow 'back' to run if we're on the finish page. For #29293.
svn path=/trunk/; revision=18106
2002-09-18 Not Zed <NotZed@Ximian.com>
* mail-config-druid.c (wizard_back_cb): If going back from a page
past our end (i.e. the final page), jump to the last page we know
of. For #29293.
svn path=/trunk/; revision=18105
2002-09-17 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-folder.c (parse_fetch_response):
Handle when the response is from a HEADER.FIELDS (if so, we don't
want to cache the result).
(imap_update_summary): Request specific headers when building the
CamelMessageInfo's rather than fetching the full headers.
svn path=/trunk/; revision=18102
2002-09-18 Not Zed <NotZed@Ximian.com>
* component-factory.c (notify_listener_exception): helper to map a
camel excpeiton to a listener result.
(storage_create_folder): Use above to return more meaningful error.
(storage_remove_folder): "
(storage_xfer_folder): ". For #28209.
svn path=/trunk/; revision=18101
2002-09-17 Mike Kestner <mkestner@ximian.com>
* gal/util/e-iconv.c : apply patch for 27447 from Matt Avery for
a bug in the solaris iconv implementation.
svn path=/trunk/; revision=18100
2002-09-17 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (add_attachments_from_multipart): Handle
multipart/signed and multipart/encrypted parts in a more expected
way. Fixes bug #28453.
svn path=/trunk/; revision=18099
2002-09-17 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-component.c (add_creatable_item):
don't add the user creatable item for ldap-contact folders atm,
since it results in their being duplicate New Contact and New
Contact List menu items.
svn path=/trunk/; revision=18098
2002-09-17 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (mail_display_render): Use e_strftime_fix_am_pm
here which fixes locale issues as well as working around systems
that don't support %P (afaik).
* mail-ops.c (prep_offline_do): Cache important messages too.
svn path=/trunk/; revision=18095
* e-storage-set-view.c: New member sort_idle_id in
EStorageSetViewPrivate.
(init): Init to zero.
(impl_destroy): Remove the idle source if not zero.
(queue_resort): New.
(sort_idle_callback): Idle function to sort.
(setup_folder_changed_callback): New.
(new_folder_cb): Call it on the new folder so we get the callback
for new folders too.
(popup_folder_menu): Ref the folder before popping up the menu,
unref it after popping it down [the folder might be unreffed in
gnome_popup_menu_do_popup_modal() because of a folder action].
(new_storage_cb): Just queue_resort() instead of sorting.
(new_folder_cb): Likewise.
(insert_folders): Likewise.
(insert_storages): Likewise.
(folder_changed_cb): Queue a resort here too.
* e-folder.c (class_init): Set up "name_changed" signal.
(e_folder_set_name): Emit "name_changed".
* e-folder.h: New signal "name_changed".
svn path=/trunk/; revision=18093
2002-09-17 Mike Kestner <mkestner@ximian.com>
* gal/e-table/e-table-item.c (eti_event): exit editing on dblclick.
ungrab based on grabbed_count. unset grabbed_col and grabbed_row
on ungrab.
svn path=/trunk/; revision=18089
2002-09-17 Kjartan Maraas <kmaraas@gnome.org>
* e-folder-list.c (create_display_string): Mark a string for
translation.
svn path=/trunk/; revision=18086