2002-07-18 Peter Williams <peterw@ximian.com>
* mail-format.c (handle_multipart_digest): Change the HTML to
make this a little prettier.
svn path=/trunk/; revision=17506
2002-07-18 Peter Williams <peterw@ximian.com>
* folder-browser-window.c (folder_browser_window_new): Load the
messagedisplay XML file as a base for the UI, so that things
appear. Don't add the global UI items as they don't make sense
here.
(fb_window_close): New function, used to ... close the window,
suprisingly.
svn path=/trunk/; revision=17505
2002-07-18 Not Zed <NotZed@Ximian.com>
* main.c (main): Put the mcheck stuff back in, which was removed
without a changelog entry.
svn path=/trunk/; revision=17504
* e-shortcuts-view-model.c (get_icon_for_item): Get the
EStorageSet from the shortcut's shell since there is no
e_shortcuts_get_storage_set() anymore.
* e-shortcuts-view.c (get_shortcut_info): Likewise.
(impl_shortcut_drag_motion): Likewise.
(impl_shortcut_drag_data_received): Likewise.
* e-shell.c (e_shell_construct): e_shortcuts_new_from_file(), not
e_shortcuts_new() here.
* e-shortcuts.c: Removed members storage_set and
folder_type_registy in EShortcutsPrivate. New member shell.
(init): Init to NULL.
(e_shortcuts_construct): Removed arg @storage_set and
@folder_type_registry, new arg @shell.
(e_shortcuts_new): Removed.
(e_shortcuts_new_from_file): New.
(impl_destroy): Renamed from destroy().
(e_shortcuts_get_storage_set): Removed.
(e_shortcuts_get_shell): New.
(load_shortcuts): Accept any URI that can be parsed (by
e_shell_parse_uri).
* e-shell.c (e_shell_parse_uri): New.
* e-shell-view.c (evolution_uri_for_default_uri): New.
(display_uri): Use it to determine the evolution: uri given a
default: uri.
* e-shell.c (impl_Shell_handleURI): Pass it over to
e_shell_create_view_from_uri_and_settings() even if it's an
E_SHELL_DEFAULTURI_PREFIX.
(handle_default_uri): Removed.
svn path=/trunk/; revision=17497
2002-07-09 Peter Williams <peterw@ximian.com>
* libversit/Makefile.am (privlib_LIBRARIES): Install libversit.a so
that people compiling against the addressbook can do so successfully.
* Makefile.am: create our *Conf.sh files and dist them and install
them.
* configure.in: Define and subst some variables that the Conf.sh
file need.
2002-07-08 Peter Williams <peterw@ximian.com>
* backend/ebook/Makefile.am: Install libebook-static.la.
Also change --all-static to -all-static, which is the right flag.
* backend/pas/Makefile.am: Install the PAS headers in
$(includedir)/evolution/pas. Install libpas.a
2002-07-08 Peter Williams <peterw@ximian.com>
* cal-util/Makefile.am: Install libcal-util-static.la
and fix the -all-static flag to make it install statically.
* pcs/Makefile.am: Install libpcs.a and its headers.
* pcs/cal-backend-util.h: Same sort of include namespacing fix,
but for pcs.
* pcs/cal.h:
* pcs/query.h:
* pcs/cal-factory.h:
* pcs/cal-backend.h:
* pcs/cal-backend-file.h: Same.
2002-07-17 Peter Williams <peterw@ximian.com>
* calendar/cal-util/Makefile.am (GTKDOC_LIBS): Because we're
using libtool as our LD, we can reference .la's and libtool
will DTRT for us.
* calendar/cal-client/Makefile.am (GTKDOC_LIBS): Same here.
2002-07-03 Peter Williams <peterw@ximian.com>
* Makefile.am: Install libeutil, libeconduit, and libedb3util and
their headers.
2002-07-08 Peter Williams <peterw@ximian.com>
* Makefile.am: Reference the new libefilterbar.a.
2002-07-12 Peter Williams <peterw@ximian.com>
* Makefile.am (INCLUDES): Add -I$(builddir)/libical/src/libical
for the generated ical.h (some headers rely on this because
they too get installed.)
2002-07-09 Peter Williams <peterw@ximian.com>
* e-timezone-dialog/Makefile.am: Add -I$(top_builddir)/libical/src/libical;
some headers that we rely on get installed, so they point to the ical.h that
gets generated and installed; consequently we need to be able to find the
generated ical.h
* misc/Makefile.am: Install libemiscwidgets.a and its headers. However,
break EFilterBar into a separate libefilterbar.a because we don't want
the installed library to depend on libfilter.
svn path=/trunk/; revision=17496
2002-07-17 Jeffrey Stedfast <fejj@ximian.com>
* filter-label.c (xml_create): Use the U_() macro to get the UTF-8
translation.
svn path=/trunk/; revision=17495
2002-07-17 <jpr@ximian.com>
* gui/calendar-model.c (calendar_model_value_at): use util
function to see if the user is the organizer
* gui/dialogs/cancel-comp.c (cancel_component_dialog): add
deleting proto to indicate whether cancelling or deleting is the
primary operation
* gui/dialogs/cancel-comp.h: update proto
* gui/dialogs/comp-editor.c (delete_cmd): offer to cancel
* gui/dialogs/task-editor.c (cancel_task_cmd): call
cancel_component_dialog with new param
* gui/dialogs/event-editor.c (cancel_meeting_cmd): ditto
* gui/e-week-view.c (e_week_view_on_editing_stopped): only update
request if user is organizer
(e_week_view_show_popup_menu): disable the meeting and meeting
organizer mask if appropriate
(e_week_view_delete_event_internal): offer to cancel the meeting
(e_week_view_on_cut): ditto
(selection_received): send request if its a meeting
* gui/e-day-view.h: add meeting icon/mask
* gui/e-day-view.c (e_day_view_on_event_right_click): disable the
meeting and meeting organizer mask if appropriate
(e_day_view_delete_event_internal): offer to cancel meeting
(e_day_view_on_cut): ditto
(e_day_view_finish_long_event_resize): only update request if user
is organizer
(e_day_view_reshape_long_event): add meeting icon to count
(e_day_view_reshape_day_event): ditto
(e_day_view_on_top_canvas_drag_data_received): only update request
if user is organizer
(e_day_view_on_main_canvas_drag_data_received): ditto
(selection_received): offer to send meeting info
* gui/e-day-view-main-item.c
(e_day_view_main_item_draw_day_event): draw meeting icon if
appropriate (using dummy icon atm)
svn path=/trunk/; revision=17491
of the XML manually with bonobo_ui_component_set() otherwise the
verbs don't get added on the other side for us to be able to do
bonobo_ui_component_set_prop().
(setup_bonobo_menus): New, menu setup code taken from
update_bonobo_menus().
(remove_bonobo_menus): New; removes the Bonobo menus.
(update_bonobo_menus): Rewritten, just call remove_bonobo_menus()
first and setup_bonobo_menus() then.
(e_search_bar_set_ui_component): Call setup_bonobo_menus() and
remove_bonobo_menus() as appropriate instead of just
update_bonobo_menus().
svn path=/trunk/; revision=17490
2002-07-17 Not Zed <NotZed@Ximian.com>
* providers/pop3/camel-pop3-store.c (pop3_try_authenticate): Got
rid of the stupid "tryagain" semantics, which didn't work.
(pop3_connect): Fixed here to only retry under proper conditions.
svn path=/trunk/; revision=17488
2002-07-16 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_set_headers): Set the
from-account last so that auto-cc/bcc recipients don't get
overwritten when setting the cc/bcc recipient fields.
svn path=/trunk/; revision=17487
2002-07-16 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-filter-canon.c (filter): When CRLF encoding, "empty"
(after stripping trailing whitespace characters) lines need to end
in CRLF also, not just lines with data in them.
svn path=/trunk/; revision=17485
2002-07-16 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/select-names.glade: remove the option
menu and browse button, and add a custom widget placeholder for
the folder-selector.
* gui/component/select-names/e-select-names.c
(addressbook_model_set_uri): move the "append /addressbook.db"
stuff here.
(e_addressbook_create_ebook_table): remove the code setting
initial uri from here.
(e_select_names_folder_free): gone.
(e_select_names_option_activated): gone.
(add_menu_item): gone.
(update_option_menu): gone.
(new_folder): gone.
(removed_folder): gone.
(folder_browse): gone.
(hookup_listner): gone.
(add_additional_select_names_uris): gone.
(e_select_names_hookup_listners): gone.
(e_addressbook_create_folder_selector): new function, create the
folder selector button.
(folder_selected): new function, callback for the folder selector.
just calls addresbook_model_set_uri.
(e_select_names_init): get the folder selector and initialize it
to show /local/Contacts. also, set the model's uri here to the
same folder. nuke the code involving the old option menu and
browse button.
svn path=/trunk/; revision=17484
2002-07-16 Jeffrey Stedfast <fejj@ximian.com>
* mail-accounts.c (account_able_clicked): Re-enable some #if 0'd code.
* mail-vfolder.c (vfolder_load_storage): Updated to not pass TRUE
for an auto_connect argument since that argument no longer exists.
* mail-account-gui.c (add_new_store): Updated to not pass an
auto_connect argument.
* component-factory.c (add_storage): Don't ever auto-connect here.
(mail_add_storage): No longer takes an auto_connect argument.
(mail_load_storages): Only load the account storages that are
enabled.
svn path=/trunk/; revision=17483
2002-07-16 Peter Williams <peterw@ximian.com>
* providers/imap/camel-imap-folder.c (imap_sync_online): Clean
up some improper usage of CamelExceptions (looking at
camel_exception_is_set when ex = NULL).
* providers/imap/camel-imap-store.c (get_folder_online): Here too.
* providers/imap/camel-imap-message-cache.c
(camel_imap_message_cache_new): Nothing sets the exception so
don't bother to check it at the end of this function. Prevents
a warning about checking a NULL exception's value.
svn path=/trunk/; revision=17482
2002-07-16 Peter Williams <peterw@ximian.com>
* e-msg-composer.c (create_composer): Instead of doing this with a
weakref, do it by connecting to the destroy signal. The weakref was
not getting notified in certain conditions that I could never really
pin down, and this caused problems at exit.
* e-msg-composer-hdrs.c (create_headers): Reorder to create reply_to
before from, because create_from_optionmenu causes from_changed to
be called, which expects reply_to.entry to exist.
svn path=/trunk/; revision=17480
2002-07-16 Jeffrey Stedfast <fejj@ximian.com>
* providers/smtp/camel-smtp-transport.c (smtp_helo): Make the
standard AUTH format take priority over the AUTH= priority, since
sometimes servers only list a subset of the supported authtypes in
the AUTH= response while they list all authtypes in the standard
AUTH response. Fixes "bug" #27841.
svn path=/trunk/; revision=17479
2002-07-08 Peter Williams <peterw@ximian.com>
* gui/component/select-names/Makefile.am (idl_DATA): Install the
SelectNames IDL and ancillary changes.
svn path=/trunk/; revision=17477
2002-07-15 Peter Williams <peterw@ximian.com>
* providers/imap/camel-imap-folder.c (imap_get_message): If we're
not online and the message isn't in our cache, give up.
svn path=/trunk/; revision=17475
2002-07-15 Not Zed <NotZed@Ximian.com>
* e-sexp.c (term_eval_caststring): Cast to a string type.
(term_eval_castint): Cast to an int type.
(symbols[]): Add to symbol table.
* e-memory.c: Some more profiling for epoolv's.
svn path=/trunk/; revision=17474
2002-07-15 Not Zed <NotZed@Ximian.com>
* message-list.c (ml_tree_value_at): Lookup the label colour based
on the label token, not an integer.
* folder-browser.c (on_right_click): Lookup the label name from
the filter type. Sigh, a bunch of other code should do similar
but i'm going to leave it as integers.
(set_msg_label): Set the label directly.
svn path=/trunk/; revision=17473
2002-07-15 Not Zed <NotZed@Ximian.com>
* filter-score.[ch]: cvs remove.
* filter-element.c: Remove reference to filter-score.h
* vfoldertypes.xml: Fix label vfolder rule as below, also add
score and size rules from filtertypes.xml.
* filtertypes.xml (score): Use (cast-int (user-tag "score")) to
get the value directly, rather than (get-score).
(label): Use (user-tag "label") to get the value directly, rather
than (get-label). The label is now a string too.
* filter-label.c (filter_label_get_type): Make filter-label
inherit from filter-option. Which makes more sense doesn't it
... surely.
(validate): Removed, optionlists are self-validating.
(xml_create): Initialise the list of options from our
configuration database. If it isn't working, ignore it and set it
up anyway.
(filter_label_init): Override the xml type.
(filter_label_count):
(filter_label_label):
(filter_label_index): Some helper functions for external
interfaces. All of the mail config/etc should use this.
* filter-option.c (free_option):
(xml_create):
(clone): Made the "value" type in glib memory rather than xml
memory space.
(filter_option_add): Utility function to add a new option to the
list.
(clone): Use above function to simplify code.
(xml_create): Same here.
(xml_encode): Allow subclasses to override the type.
svn path=/trunk/; revision=17472
2002-07-15 Not Zed <NotZed@Ximian.com>
* camel-filter-search.c (get_label): Removed.
(get_score): Removed. Labels & scores are stored in tags, we
already have a function to get tags.
(user_tag): Fail if we dont get valid arguments, it must be a
string type.
(system_flag): Same here.
svn path=/trunk/; revision=17471
2002-07-15 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.c (header_msgid_generate): Try to get the FQDN
from the results of gethostname(). If that fails, then fall back
to the results gotten from gethostname() or if that fails just use
"localhost.localdomain". Addresses bug #17416.
(header_decode_param): Protect against a NULL value.
svn path=/trunk/; revision=17470
2002-07-15 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (composer_send_cb): Pass 'info' into
mail_append_mail(), seems I created the info but forgot to pass it
in.
(composer_send_queued_cb): If the message is successfully queued,
we destroy the composer, otherwise we unref it. Don't ever destroy
and then unref it.
svn path=/trunk/; revision=17468
2002-07-15 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (build_message): added save_html_object_data
parameter, use gtkhtml command to save object data when wanted
svn path=/trunk/; revision=17466
2002-07-15 Jeffrey Stedfast <fejj@ximian.com>
* providers/smtp/camel-smtp-transport.c (smtp_data): Get rid of
the constant 'required' variable, just use the value when calling
set_best_encoding.
svn path=/trunk/; revision=17465
2002-07-15 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-local-provider.c: Changed the mbox and
spool provider descriptions to try and be more clear. I'm not sure
I like the mention of Evolution in the mbox provider description,
but there was no other way to make it clear that it MOVED mail out
of the mbox folder into a folder managed by Evolution without
mentioning Evolution. *sigh* Anyways, to me "retrieve" means move,
but apparently this isn't clear to the weak minded.
svn path=/trunk/; revision=17464
2002-07-14 Rodrigo Moya <rodrigo@ximian.com>
Fixes#8001
* importers/icalendar-importer.c (connect_to_shell): new function for
connecting the importers (both iCal and vCal) to the shell, needed for
some information retrieval about the folders we're importing to.
(ical_importer_new, vcal_importer_new): call connect_to_shell.
(importer_destroy_cb): unref the shell client object.
(get_uri_from_folder_path): retrieve the uri from the storage
registry.
(check_folder_type): removed.
* importers/Makefile.am: included libeshell to LIBS.
svn path=/trunk/; revision=17463
* evolution-signature-editor.xml: Add a Control-Return accel for
"FileSaveClose".
* evolution-contact-list-editor.xml: Add a Control-Return accel for
"ContactListEditorSaveClose".
* evolution-contact-editor.xml: Add a Control-Return accel for
"ContactEditorSaveClose".
svn path=/trunk/; revision=17462
2002-07-14 Rodrigo Moya <rodrigo@ximian.com>
* evolution-storage.c (impl_Storage_getFolderAtPath): no need to
convert the value returned by e_folder_tree_get_folder to a
GNOME_Evolution_Folder, since it already is, and duplicate it before
returning.
svn path=/trunk/; revision=17461
2002-07-15 Peter Williams <peterw@ximian.com>
* providers/imap/camel-imap-folder.c (imap_rescan): >= is not appropriate
here because the sequences are 1-based; so seq = summary_len is valid.
Hopefully addresses 15646, because this caused the last message in a folder
to be reloaded, replacing its CamelMessageInfo, and the tree view was using
the old CamelMessageInfo.
svn path=/trunk/; revision=17460
2002-07-15 Peter Williams <peterw@ximian.com>
* mail-offline-handler.c (service_is_relevant): Account for the case
that when a disco store is "online" but actually offline and we're
going online, we should actually connect it.
* component-factory.c (mail_load_storages): Always set auto_connect
to FALSE, same reason as below.
* mail-session.c (mail_session_init): Initialize our session to not be online,
since the shell will tell us to go online if we need to.
svn path=/trunk/; revision=17459
2002-07-10 Peter Williams <peterw@ximian.com>
* configure.in (privlibdir): Define a versioned library directory that we can
use for things that are ABI-sensitive: camel providers, importers... Define
camel_providerder in terms of this, resulting in a new location for the
providers. Camel will have to be rebuilt for it to get the new
-D flag.
mail:
2002-07-10 Peter Williams <peterw@ximian.com>
* Makefile.am (importerdir): Define this in terms of the new
privlibdir, again resulting in a new directory name.
* importers/Makefile.am (importersdir): Here too.
svn path=/trunk/; revision=17457