| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-12 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor.c (_popup_position): push_in
= FALSE, no clue why... :)
(_arrow_pressed): call g_signal_stop_emission here, seems to fix
things.
* gui/component/select-names/e-select-names.c
(e_select_names_init): fix warnings.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_activate_dialog): fix warning.
* gui/component/addressbook.c (forget_passwords_cb): remove the
PENDING_PORT ifdef.
(load_uri_auth_cb): same.
(addressbook_authenticate): same.
* gui/component/addressbook-factory.c (main): same.
* gui/component/addressbook-storage.c (load_source_data): be
silent about text nodes if they contain nothing but whitespace.
svn path=/trunk/; revision=18728
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-11 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-card-cursor.c (pas_card_cursor_dispose): guard
against multiple invocations.
* backend/pas/pas-backend-ldap.c (view_destroy): change signature
to that of a weak ref notify function.
(cursor_destroy): same.
(pas_backend_ldap_book_destroy_cb): same.
(get_cursor_handler): ::destroy -> weak_ref.
(pas_backend_ldap_process_get_book_view): same.
(pas_backend_ldap_add_client): same.
* backend/pas/pas-backend-file.c (cursor_destroy): change
signature to that of a weak ref notify function.
(view_destroy): same.
(pas_backend_file_book_destroy_cb): same.
(pas_backend_file_process_get_cursor): ::destroy -> weak_ref.
(pas_backend_file_process_get_book_view): same.
(pas_backend_file_process_get_completion_view): same.
(pas_backend_file_process_get_changes): same.
(pas_backend_file_add_client): same.
* backend/ebook/test-client.c (get_cursor_cb): unref the book and
exit here.
(get_card_cb): pass a query string to get_cursor.
* backend/ebook/e-book-view.c (e_book_view_class_init): correct
marshaller for "card_added".
svn path=/trunk/; revision=18720
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-11 Chris Toshok <toshok@ximian.com>
* gui/widgets/test-reflow.c (destroy_callback): change signature
to that of a weak ref notify function.
(main): ::destroy -> weak_ref.
* gui/widgets/test-minicard.c (destroy_callback): change signature
to that of a weak ref notify function.
(main): ::destroy -> weak_ref.
* gui/widgets/test-minicard-view.c (destroy_callback): change
signature to that of a weak ref notify function.
(main): ::destroy -> weak_ref.
* gui/widgets/test-minicard-label.c (destroy_callback): change
signature to that of a weak ref notify function.
(main): ::destroy -> weak_ref.
* gui/widgets/e-minicard-widget.c (e_minicard_widget_init): ifdef
out the call to gnome_canvas_set_scroll_region. It doesn't seem
necessary judging from the rest of the code, and it also crashes
the addressbook if it's in.
* gui/widgets/e-minicard-widget-test.c (destroy_callback): change
signature to that of a weak ref notify function.
(main): ::destroy -> weak_ref.
* gui/widgets/e-minicard-control.c (free_struct): change signature
to that of a weak ref notify function.
(e_minicard_control_factory): ::destroy -> weak_ref.
* gui/widgets/e-addressbook-view.c (e_addressbook_view_init):
::destroy -> weak_ref.
(e_addressbook_view_print): same.
(free_closure): change signature to that of a weak ref notify
function.
(e_contact_print_destroy): same.
(invisible_destroyed): same.
* gui/widgets/e-addressbook-util.c
(e_addressbook_prompt_save_dialog): convert from GnomeDialog to
GtkDialog.
(e_addressbook_show_multiple_cards): same.
* gui/contact-list-editor/e-contact-list-editor.c
(prompt_to_save_changes): change response ids to use
GTK_RESPONSE_.
* gui/component/select-names/e-select-names-manager.c
(clear_widget): new function.
(e_select_names_manager_activate_dialog): ::destroy -> weak_ref.
* gui/component/select-names/e-select-names.c (clear_widget):
change signature to that of a weak ref notify function.
(e_select_names_init): ::destroy -> weak_ref.
* gui/component/e-address-popup.c (mini_wizard_destroy_cb): change
signature to that of a weak ref notify function.
(mini_wizard_new): ::destroy -> weak_ref.
* gui/component/addressbook-config.c
(addressbook_source_dialog_destroy): change signature to that of a
weak ref notify function.
(ldap_config_control_destroy_callback): same.
(addressbook_add_server_druid): ::destroy -> weak_ref.
(addressbook_edit_server_dialog): same.
(ldap_config_control_new): same.
* gui/component/addressbook.c (destroy_callback): change signature
to that of a a weak ref notify function.
(addressbook_factory_new_control): ::destroy -> weak_ref.
* gui/merging/e-card-merging.c (response): rename clicked to this,
and destroy the dialog here.
(match_query_callback): ::clicked -> ::response
* gui/merging/e-card-merging-book-commit-duplicate-detected.glade:
convert.
* gui/merging/e-card-duplicate-detected.glade: same.
svn path=/trunk/; revision=18719
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-11 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor.c (_arrow_pressed): change
around a little, still ifdefed though.
* gui/contact-editor/e-contact-save-as.c (file_exists): same.
(save_it): deal with the GtkDialog response ids.
* gui/contact-editor/e-contact-editor.c
(e_contact_editor_confirm_delete): just build the dialog here
(using gtk_message_dialog*).
* gui/contact-editor/Makefile.am (glade_DATA): remove
file-exists.glade and e-contact-editor-confirm-delete.glade.
svn path=/trunk/; revision=18712
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-10 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-card-sexp.c
(pas_backend_card_sexp_dispose): guard against multiple
invocations.
* backend/pas/pas-card-cursor.c (pas_card_cursor_dispose): same.
* backend/pas/pas-book.c (pas_book_dispose): same.
* backend/pas/pas-book-view.c (pas_book_view_dispose): same.
* backend/pas/pas-book-factory.c (pas_book_factory_dispose): same.
* backend/pas/pas-backend-summary.c (pas_backend_summary_dispose): same.
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_dispose): same.
* backend/pas/pas-backend-file.c (pas_backend_file_dispose): same.
* backend/ebook/e-book-listener.c (e_book_listener_dispose): guard
against multiple invocations.
* backend/ebook/e-card.c (e_card_dispose): same.
* backend/ebook/e-card-simple.c (e_card_simple_dispose): same.
* backend/ebook/e-card-cursor.c (e_card_cursor_dispose): same.
* backend/ebook/e-book.c (e_book_dispose): same.
* backend/ebook/e-book-view-listener.c (e_book_view_listener_dispose): same.
svn path=/trunk/; revision=18687
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-08 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-model.c (free_data): guard against
multiple invocations.
(remove_book_view): same.
(addressbook_dispose): same.
* gui/widgets/e-addressbook-view.c (e_addressbook_view_dispose):
same.
* gui/widgets/e-minicard-view-widget.c
(e_minicard_view_widget_dispose): same.
* gui/widgets/e-minicard-view.c (e_minicard_view_dispose): same.
* gui/widgets/e-minicard-widget.c (e_minicard_widget_dispose):
same.
svn path=/trunk/; revision=18685
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-08 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-reflow-adapter.c
(addressbook_get_property): oops, missed these casts.
* gui/component/addressbook.c (get_master_list): remove the
PENDING_PORT_WORK ifdef, just ported ECategoriesMasterList.
(make_suboptions): same.
* gui/contact-editor/e-contact-editor.c (categories_clicked):
same.
svn path=/trunk/; revision=18684
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-08 Chris Toshok <toshok@ximian.com>
* gui/widgets/test-reflow.c: port work.
* gui/widgets/test-minicard-view.c: port work.
* gui/widgets/e-minicard.[ch]: port work.
* gui/widgets/e-minicard-widget.c: port work.
* gui/widgets/e-minicard-view.c: port work.
* gui/widgets/e-minicard-view-widget.c
(e_minicard_view_widget_size_allocate): gtk_->g_ change i missed.
(e_minicard_view_widget_reflow): same.
* gui/widgets/e-minicard-label.c: port work.
* gui/widgets/e-minicard-control.c (get_prop): gtk_->g_ change i
missed.
* gui/widgets/e-addressbook-view.c (setup_menus): ifdef this
PENDING_PORT_WORK for now.
(has_email_address_1): gtk_->g_ change i missed.
(print): remove the PENDING_PORT_WORK from here, as the print_*
symbols now resolve.
(delete): gtk_->g_ changes.
(new_card): same.
(new_list): same.
(sources): same.
(create_minicard_view): same.
(table_double_click): same.
(create_table_view): same.
(e_contact_print_destroy): same.
(e_contact_print_button): same.
(e_addressbook_view_print): same, and remove the PENDING_PORT_WORK
ifdef.
(e_addressbook_view_print_preview): same.
(do_remove): gtk_->g_ changes.
(e_addressbook_view_save_state): same.
(view_transfer_cards): same.
* gui/widgets/e-addressbook-view.h (struct _EAddressbookView):
GtkObject -> GObject.
* gui/widgets/e-addressbook-util.c (e_addressbook_error_dialog):
GnomeDialog -> GtkDialog.
* gui/widgets/e-addressbook-table-adapter.c
(addressbook_set_value_at): a gtk_->g_ change i missed.
(e_addressbook_table_adapter_class_init): gtk_type_class ->
g_type_class_peek_parent.
* gui/widgets/e-addressbook-reflow-adapter.c
(addressbook_get_property): use g_object_get_property for
aggregated properties.
(e_addressbook_reflow_adapter_class_init): gtk_type_class ->
g_type_class_peek_parent.
* gui/merging/e-card-merging.c (match_query_callback): some misc
gtk_->g_ changes i missed.
svn path=/trunk/; revision=18682
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-08 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-model.h: parent class
is GObjectClass.
* gui/component/select-names/e-simple-card-bonobo.c
(impl_dispose): guard against multiple invocations, and chain
dispose.
* gui/component/select-names/e-select-names.c
(e_select_names_dispose): guard against multiple invocations.
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_dispose): guard against multiple
invocations.
(e_select_names_text_model_set_source): fix casts.
* gui/component/select-names/e-select-names-table-model.c
(e_select_names_table_model_add_source): remove the GTK_OBJECT
cast, fixes a warning.
(clear_info): guard against multiple invocations from ::dispose.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_dispose): same.
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_dispose): same.
* gui/component/select-names/e-select-names-bonobo.c
(impl_dispose): guard against multiple invocations.
svn path=/trunk/; revision=18681
|
|
|
|
|
|
|
|
|
| |
2002-11-08 Chris Toshok <toshok@ximian.com>
* printing/Makefile.am (contact_print_test_LDADD): add camel back in.
(contact_print_style_editor_test_LDADD): same.
svn path=/trunk/; revision=18677
|
|
|
|
|
|
|
|
| |
2002-11-08 Chris Toshok <toshok@ximian.com>
* Makefile.am (SUBDIRS): add printing back in.
svn path=/trunk/; revision=18676
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-08 Chris Toshok <toshok@ximian.com>
* gui/contact-list-editor/contact-list-editor.glade: convert to glade-2
* gui/contact-list-editor/e-contact-list-editor.c: port work.
* gui/contact-list-editor/e-contact-list-model.[ch]: port work.
svn path=/trunk/; revision=18668
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-08 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor-address.[ch]: port work.
* gui/contact-editor/e-contact-editor-fullname.[ch]: port work.
* gui/contact-editor/e-contact-editor.[ch]: port work.
* gui/contact-editor/e-contact-quick-add.c: port work.
* gui/contact-editor/e-contact-save-as.c: port work.
svn path=/trunk/; revision=18667
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-08 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book-util.c
(set_default_book_uri_from_config_db): prepend /apps/Evolution to
config db paths.
* gui/component/select-names/e-select-names-manager.c (read_completion_books_from_db): same.
(uris_listener): same.
svn path=/trunk/; revision=18664
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-08 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor.c: more porting work.
* e-contact-editor-fullname.[ch]: more porting work.
* e-contact-editor.c: more porting work.
* e-contact-quick-add.c: more porting work.
* e-contact-save-as.c: more porting work.
* test-editor.c: more porting work.
* e-contact-editor-confirm-delete.glade, file-exists.glade,
fulladdr.glade, fullname.glade: run these through
libglade-convert.
svn path=/trunk/; revision=18663
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-07 Chris Toshok <toshok@ximian.com>
* gui/component/Makefile.am (evolution_addressbook_LDADD): add
lots of libs back in since they're building now.
* gui/component/addressbook-config.c: more porting work.
* gui/component/addressbook.c: more porting work.
* gui/component/e-address-popup.[ch]: more porting work.
* gui/component/e-address-widget.[ch]: more porting work.
* gui/component/e-cardlist-model.[ch]: more porting work.
svn path=/trunk/; revision=18658
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-07 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-bonobo.[ch]: more
porting work.
* gui/component/select-names/e-select-names-completion.[ch]: more
porting work.
* gui/component/select-names/e-select-names-manager.[ch]: more
porting work.
* gui/component/select-names/e-select-names-model.[ch]: more
porting work.
* gui/component/select-names/e-select-names-popup.c: more
porting work.
* gui/component/select-names/e-select-names-table-model.[ch]: more
porting work.
* gui/component/select-names/e-select-names-text-model.[ch]: more
porting work.
* gui/component/select-names/e-select-names.[ch]: more
porting work.
svn path=/trunk/; revision=18657
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-07 Chris Toshok <toshok@ximian.com>
* backend/ebook/Makefile.am: tests are linking now, and link in
libcamel.la.
* backend/ebook/e-destination.c (e_destination_get_name): un-ifdef
since camel is compiling.
(e_destination_get_email): same.
(e_destination_get_address): same.
(e_destination_get_textrep): same.
* backend/ebook/e-card-compare.c (name_fragment_match): use e_utf8_casefold_*.
(name_fragment_match_with_synonyms): same.
(e_card_compare_name_to_string_full): same.
(e_card_compare_name): same.
svn path=/trunk/; revision=18655
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-07 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book-util.h: add prototypes for e_utf8_casefold_collate{_len}
* backend/ebook/e-book-util.c (e_utf8_casefold_collate_len): move
utf8_casefold_collate_len here.
(e_utf8_casefold_collate): move utf8_casefold_collate here.
svn path=/trunk/; revision=18654
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-06 Chris Toshok <toshok@ximian.com>
* printing/e-contact-print-envelope.c: port this to
gnome2/gnomeprint2.
* printing/e-contact-print-style-editor.c: same.
* printing/e-contact-print.c: same.
* printing/test-contact-print-style-editor.c: same.
* printing/test-print.c: same.
* printing/e-contact-print.glade: libglade-convert to libglade-2.
* printing/Makefile.am (contact_print_test_LDADD)
(contact_print_style_editor_test_LDADD): remove libcamel.la from
these for the time being to get things linking.
svn path=/trunk/; revision=18628
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-06 Chris Toshok <toshok@ximian.com>
* gui/widgets/gal-view-minicard.[ch]: gobjectify this.
* gui/widgets/e-minicard.[ch]: gobjectify this.
(e_minicard_class_init): change the
min/max values of the width/height paramspecs so that they can
actually be set to something other than 0.0.
* gui/widgets/e-minicard-widget.[ch]: gobjectify this.
* gui/widgets/e-minicard-view.[ch]: gobjectify this.
(set_empty_message): don't need e_utf8_from_locale_string anymore.
* gui/widgets/e-minicard-view-widget.[ch]: gobjectify this.
* gui/widgets/e-minicard-label.[ch]: gobjectify this.
* gui/widgets/e-addressbook-view.[ch]: gobjectify this.
* gui/widgets/e-addressbook-table-adapter.[ch]: gobjectify this.
* gui/widgets/e-addressbook-reflow-adapter.[ch]: gobjectify this.
* gui/widgets/e-addressbook-model.[ch]: gobjectify this.
* gui/widgets/e-minicard-control.c (e_minicard_control_factory):
fix bonobo_persist_stream_new api change.
* gui/contact-list-editor/e-contact-list-model.c
(e_contact_list_model_add_destination): get rid of the
gtk_object_sink here.
* gui/component/ldap-config.glade: glade-2 version of this file.
* gui/component/e-address-popup.c (e_address_popup_refresh_names):
don't need e_utf8_to_gtk_string anymore.
* gui/component/addressbook.c (make_suboptions): don't need
e_utf8_to_locale_string anymore.
* gui/component/addressbook-config.c
(addressbook_dialog_get_source): get rid of the e_utf8 gtk_entry
functions.
(addressbook_source_dialog_set_source): same.
(general_tab_check): same.
(port_changed_func): same.
(connecting_tab_check): same.
(query_for_supported_bases): same.
(display_name_check): same.
(display_name_page_prepare): same.
(edit_source_clicked): same.
(addressbook_config_create_new_source): same.
svn path=/trunk/; revision=18626
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-06 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-card-sexp.c
(pas_backend_card_sexp_class_init): use g_type_class_peek_parent.
* backend/pas/pas-card-cursor.c (pas_card_cursor_class_init): same.
* backend/pas/pas-book-view.c (pas_book_view_class_init): same.
* backend/pas/pas-book-factory.c (pas_book_factory_class_init): same.
* backend/pas/pas-backend-summary.c (pas_backend_summary_class_init): same.
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_class_init): same.
* backend/pas/pas-backend-file.c (pas_backend_file_class_init): same.
* backend/ebook/e-book-marshal.list: ENUM -> INT.
* backend/ebook/e-book-view.c (e_book_view_dispose): guard against
this being called multiple times.
(e_book_view_class_init): ENUM -> INT in the sequence_complete
signal.
* backend/ebook/e-book.c (e_book_do_response_open): un-ifdef the
component_died signal stuff.
svn path=/trunk/; revision=18623
|
|
|
|
|
|
|
|
|
| |
2002-11-06 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book-util.c (e_book_expand_uri): call
g_build_filename, not g_build_path.
svn path=/trunk/; revision=18600
|
|
|
|
|
|
|
|
| |
2002-11-06 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-destination.[ch]: fix the gnome-xml headers.
svn path=/trunk/; revision=18599
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-06 Chris Toshok <toshok@ximian.com>
* gui/widgets/gal-view-minicard.c: fix the gnome-xml headers.
* gui/widgets/e-addressbook-view.c
(e_addressbook_view_class_init): convert from gtk signals and args
to GSignal and GObject properties.
(e_addressbook_view_dispose): rename _destroy to this.
(e_addressbook_view_set_property): rework _set_arg to this.
(e_addressbook_view_get_property): rework _get_arg to this.
(display_view): if we're here we need to choose a view, regardless
of whether or not the GAL_IS_VIEW_* macros tell us which type it
is.
* gui/widgets/e-addressbook-table-adapter.c: fix the gnome-xml
headers.
* gui/widgets/e-addressbook-model.c
(e_addressbook_model_class_init): use INT, not ENUM in the signal here.
* gui/component/addressbook-config.c: another big gtk_* -> g_*
renaming.
* gui/component/addressbook.c: same.
* gui/component/e-address-popup.c: same.
* gui/component/e-address-widget.c: same.
* gui/component/e-cardlist-model.c: fix the gnome-xml headers, and
more gtk_* -> g_* renaming.
* gui/component/addressbook-component.c (owner_set_cb): use
evolution_shell_client_corba_objref as per ettore's change to
EvolutionShellClient..
(create_view): fix the call to bonobo_control_set_property.
(create_component): gtk_signal_connect -> g_signal_connect.
* gui/component/addressbook-storage.c: fix the gnome-xml
headers.
(addressbook_storage_setup): use
evolution_shell_client_corba_objref as per ettore's change to
EvolutionShellClient..
(addressbook_get_other_contact_storage): gtk_signal_connect ->
g_signal_connect.
(load_source_data): root->childs -> root->childrens.
svn path=/trunk/; revision=18598
|
|
|
|
|
|
|
|
| |
2002-11-06 Chris Toshok <toshok@ximian.com>
* gui/search/e-addressbook-search-dialog.c: fix some #include's.
svn path=/trunk/; revision=18596
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-06 Chris Toshok <toshok@ximian.com>
* Makefile.am (SUBDIRS): only build the backend and gui dirs for
now. printing and conduits are no-man's land at present.
* addressbook/gui/merging/e-card-merging.[ch]: Port to
GObject/gnome2.
svn path=/trunk/; revision=18595
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-05 Chris Toshok <toshok@ximian.com>
* gui/component/.cvsignore: ignore the new .server file.
* gui/component/Makefile.am: typical port stuff. switch the .oaf
to .server, and leave out a lot of libs so we can actually get
things linking.
* gui/component/GNOME_Evolution_Addressbook.server.in: rename
.oaf.in here.
* gui/component/addressbook-component.c: Port to GObject/gnome2.
* gui/component/addressbook-config.c: Port to GObject/gnome2.
* gui/component/addressbook-factory.c: Port to GObject/gnome2.
* gui/component/addressbook-storage.c: Port to GObject/gnome2.
* gui/component/addressbook.[ch]: Port to GObject/gnome2.
* gui/component/e-address-popup.[ch]: Port to GObject/gnome2.
* gui/component/e-address-widget.[ch]: Port to GObject/gnome2.
* gui/component/e-cardlist-model.h: Port to GObject/gnome2.
svn path=/trunk/; revision=18591
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-05 Chris Toshok <toshok@ximian.com>
* gui/contact-list-editor/.cvsignore: ignore the marshal generated
stuff.
* gui/contact-list-editor/Makefile.am: typical port stuff. add
marshaller generation foo, dist it...
* gui/contact-list-editor/e-contact-list-editor.[ch]: Port to
GObject/gnome2.
* gui/contact-list-editor/e-contact-list-model.[ch]: Port to
GObject/gnome2.
svn path=/trunk/; revision=18590
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-05 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/.cvsignore: ignore the marshal generated
stuff.
* gui/contact-editor/Makefile.am: typical port stuff. add
marshaller generation foo, dist it...
* gui/contact-editor/e-contact-editor-address.[ch]: Port to GObject/gnome2.
* gui/contact-editor/e-contact-editor-fullname.c: Port to GObject/gnome2.
* gui/contact-editor/e-contact-editor.c: Port to GObject/gnome2.
* gui/contact-editor/e-contact-quick-add.c: Port to GObject/gnome2.
* gui/contact-editor/e-contact-save-as.[ch]: Port to GObject/gnome2.
* gui/contact-editor/test-editor.c: Port to GObject/gnome2.
svn path=/trunk/; revision=18589
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-05 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-model.[ch]: Port to GObject/gnome2.
* gui/widgets/e-addressbook-reflow-adapter.c: Port to
GObject/gnome2.
* gui/widgets/e-addressbook-table-adapter.c: Port to
GObject/gnome2.
* gui/widgets/e-addressbook-util.c: Port to GObject/gnome2.
* gui/widgets/e-addressbook-view.[ch]: Port to GObject/gnome2.
* gui/widgets/e-minicard-control.c: Port to GObject/gnome2.
* gui/widgets/e-minicard-label.[ch]: Port to GObject/gnome2.
* gui/widgets/e-minicard-view-widget.[ch]: Port to GObject/gnome2.
* gui/widgets/e-minicard-view.[ch]: Port to GObject/gnome2.
* gui/widgets/e-minicard-widget-test.c: Port to GObject/gnome2.
* gui/widgets/e-minicard-widget.c: Port to GObject/gnome2.
* gui/widgets/e-minicard.[ch]: Port to GObject/gnome2.
* gui/widgets/gal-view-factory-minicard.c: Port to GObject/gnome2.
* gui/widgets/gal-view-minicard.c: Port to GObject/gnome2.
* gui/widgets/test-minicard-label.c: Port to GObject/gnome2.
* gui/widgets/test-minicard-view.c: Port to GObject/gnome2.
* gui/widgets/test-minicard.c: Port to GObject/gnome2.
* gui/widgets/test-reflow.c: Port to GObject/gnome2.
* gui/widgets/Makefile.am: typical port stuff. add marshaller
generation foo, dist it...
* gui/widgets/.cvsignore: ignore the marshaller stuff.
svn path=/trunk/; revision=18588
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-05 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-simple-card-bonobo.[ch]: Port to
GObject/gnome2.
* gui/component/select-names/e-select-names.[ch]: Port to
GObject/gnome2.
* gui/component/select-names/e-select-names-text-model.c: Port to
GObject/gnome2.
* gui/component/select-names/e-select-names-table-model.c: Port to
GObject/gnome2.
* gui/component/select-names/e-select-names-popup.[ch]: Port to
GObject/gnome2.
* gui/component/select-names/e-select-names-model.c: Port to
GObject/gnome2.
* gui/component/select-names/e-select-names-manager.[ch]: Port to
GObject/gnome2.
* gui/component/select-names/e-select-names-factory.c: Port to
GObject/gnome2.
* gui/component/select-names/e-select-names-completion.[ch]: Port
to GObject/gnome2.
* gui/component/select-names/e-select-names-bonobo.[ch]: Port to
GObject/gnome2.
* gui/component/select-names/Makefile.am: typical port stuff. add
marshaller generation foo, dist it, and switch the .oaf to .server
* gui/component/select-names/.cvsignore: ignore the marshaller
stuff.
svn path=/trunk/; revision=18587
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-05 Chris Toshok <toshok@ximian.com>
* backend/ebook/.cvsignore: ignore the generated marshaller files.
* backend/ebook/e-destination.c (e_destination_dispose): rename
e_destination_destroy.
(e_destination_equal): ifdef this out for now, PENDING_PORT_WORK.
(e_destination_get_name): same.
(e_destination_get_email): same.
(e_destination_get_address): same.
(e_destination_get_textrep): same.
* backend/ebook/Makefile.am: don't build the executables
(importers and loaders) for now. Also, s/oaf/server, and use
INTLTOOL_SERVER_RULE.
* backend/ebook/e-book-util.c (e_book_get_config_database):
un-#ifdef this.
(e_book_default_book_open): un-#ifdef ths code in here that relies
on the e_config_listener.
svn path=/trunk/; revision=18586
|
|
|
|
|
|
|
| |
* backend/pas/pas-backend-ldap.c (send_pending_adds): copy a
memleak fix from pas-backend-ad.
svn path=/trunk/; revision=18552
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-05 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-card.c: g_date_* => g_date_get_*, fixes
G_DISABLE_DEPRECATED build.
* backend/ebook/e-book-listener.[ch]: remove the servant crap i'd
c&p'ed and put in here.
* backend/ebook/e-book-view-listener.[ch]: remove the servant crap
i'd c&p'ed and put in here.
* backend/pas/pas-book-factory.[ch]: subclass from BonoboObject,
and remove the servant crap from here too. whee.
* backend/pas/pas-card-cursor.[ch]: remove the servant crap i'd
c&p'ed and put in here.
* backend/pas/pas-book.[ch]: remove the servant crap i'd c&p'ed
and put in here.
* backend/pas/pas-book-view.[ch]: remove the servant crap i'd
c&p'ed and put in here.
svn path=/trunk/; revision=18548
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-05 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-card-sexp.[ch]: port to gnome 2.
* backend/pas/pas-backend-file.[ch]: same.
* backend/pas/pas-backend-file.[ch]: same.
* backend/pas/pas-backend-ldap.[ch]: same.
* backend/pas/pas-backend-summary.[ch]: same.
* backend/pas/pas-backend.[ch]: same.
* backend/pas/pas-book-factory.[ch]: same.
* backend/pas/pas-book-view.[ch]: same.
* backend/pas/pas-book.[ch]: same.
* backend/pas/pas-card-cursor.[ch]: same.
* backend/pas/pas-marshal.list: list of marshallers.
* backend/pas/Makefile.am (libpas_a_SOURCES): add pas-marshal.c
also add the marshal building foo.
* backend/pas/.cvsignore: ignore pas-marshal.[ch]
svn path=/trunk/; revision=18544
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-05 Chris Toshok <toshok@ximian.com>
* backend/ebook/test-client-list.c (main): don't call
bonobo_activation_init directly.
* backend/ebook/test-client.c (get_card_cb): don't unref the card
here since we never reffed it.
(main): no need to call bonobo_activation_init, as
gnome_program_init did it for us.
* backend/ebook/e-card-simple.c (e_card_simple_get_property):
s/g_value_{set,get}_pointer/g_value_{set,get}_object
* backend/ebook/e-book-util.c (set_default_book_uri_local): make
sure to terminate args with NULL for g_build_filename.
* backend/ebook/e-book-listener.c: nuke e_book_listener_get_type
and use the BONOBO_TYPE_FUNC_FULL macro.
* backend/ebook/e-book-listener.h: add the epv to
EBookListenerClass so BONOBO_TYPE_FUNC_FULL works.
* backend/ebook/e-book-view-listener.c: nuke
e_book_view_listener_get_type and use the BONOBO_TYPE_FUNC_FULL
macro.
* backend/ebook/e-book-view-listener.h: add the epv to
EBookViewListenerClass so BONOBO_TYPE_FUNC_FULL works.
svn path=/trunk/; revision=18543
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-02 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book-types.h: just include glib.h instead of the
gtk stuff.
* backend/ebook/e-book-listener.[ch]: convert to
GObject/bonobo-activation/etc/etc.
* e-book-util.[ch]: same.
* e-book-view-listener.[ch]: same.
* e-book-view.[ch]: same.
* e-book.[ch]: same.
* e-card-compare.[ch]: same.
* e-card-cursor.[ch]: same.
* e-card-simple.[ch]: same.
* e-card.[ch]: same.
* e-destination.[ch]: same.
* evolution-ldif-importer.c: same.
* evolution-vcard-importer.c: same.
* load-gnomecard-addressbook.c: same.
* load-pine-addressbok.c: same.
* test-card.c: same.
* test-client-list.c: same.
* test-client.c: same.
* backend/ebook/Makefile.am: add e-book-marshal.c to SOURCES, add
e-book-marshal.[ch] to CLEANFILES, and add e-book-marshal.list to
EXTRA_DIST. Also, remove the camel libs from the test LDADD's,
and leave e-destination.[ch] out of the build.
* backend/ebook/.cvsignore: ignore e-book-marshal.[ch]
* backend/ebook/e-book-marshal.list: marshallers for e-book.
svn path=/trunk/; revision=18505
|
|
|
|
|
|
|
|
|
|
| |
2002-10-28 Larry Ewing <lewing@ximian.com>
* backend/ebook/e-card.c (addPropValueUTF8): never set the charset
on an item without also encoding it. Mime messages don't like
parts with multiple charsets.
svn path=/trunk/; revision=18451
|
|
|
|
|
|
|
| |
* gui/widgets/e-addressbook-model.c (addressbook_destroy):
Disconnect from the book's backend_died signal.
svn path=/trunk/; revision=18446
|
|
|
|
|
|
|
|
|
| |
2002-10-24 Chris Toshok <toshok@ximian.com>
* backend/pas/Makefile.am: install evolutionperson.schema to
$(datadir)/evolution.
svn path=/trunk/; revision=18444
|
|
|
|
|
|
|
|
|
|
|
| |
2002-10-24 Chris Toshok <toshok@ximian.com>
[ fixes #29144 ]
* gui/component/addressbook-config.c (edit_dialog_store_change):
use e_table_memory_storage_change instead of remove/insert, so the
selection is maintained.
svn path=/trunk/; revision=18435
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/select-names/e-select-names.c
(folder_selected): Set /Addressbook/select_names_uri in the
configdb to the selected folder.
(e_select_names_init): Look for /Addressbook/select_names_uri
before /DefaultFolders/contacts_uri for the initial folder. So the
select names dialog now starts up using the same folder you used
last time, which is useful when you have an LDAP company directory
(which can't be your default contacts folder because it's
read-only).
svn path=/trunk/; revision=18416
|
|
|
|
|
|
|
| |
* gui/component/addressbook-component.c (IS_CONTACT_TYPE): fix the
sense of a strcmp
svn path=/trunk/; revision=18408
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-10-20 Chris Toshok <toshok@ximian.com>
[ fix for #23764 ]
* gui/widgets/e-addressbook-view.c (jump_to_letters): handle
multiple letters associated with a single button.
(button_toggled): closure->letter -> closure->letters.
(free_closure): free closure->letters.
(create_alphabet): init closure->letters.
svn path=/trunk/; revision=18407
|
|
|
|
|
|
|
|
|
|
|
| |
2002-10-20 Chris Toshok <toshok@ximian.com>
[ fixes #29067 ]
* backend/pas/pas-backend-file.c (pas_backend_file_search): we
need to create a card_sexp even when doing summary queries since
it's used to check modifications of cards in the view.
svn path=/trunk/; revision=18404
|
|
|
|
|
|
|
|
|
|
|
| |
2002-10-20 Chris Toshok <toshok@ximian.com>
[ fixes #32144 ]
* gui/contact-editor/e-contact-save-as.c (e_contact_save_as):
convert the name to the gtk locale before saving.
(e_contact_list_save_as): same.
svn path=/trunk/; revision=18403
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-10-19 Chris Toshok <toshok@ximian.com>
[ probable fix for #25477, and memory leak fix ]
* gui/contact-editor/e-contact-editor.c (supported_fields_cb): if
the dialog isn't in the list of all dialogs it's been destroyed so
just return here.
* backend/ebook/e-book.c
(e_book_do_response_get_supported_fields): plug leak of
resp->fields.
svn path=/trunk/; revision=18396
|
|
|
|
|
|
|
|
| |
* backend/ebook/e-card.c (e_card_email_match_string): Return right
away rather than crashing if card->email is NULL.
(e_card_email_find_number): Likewise.
svn path=/trunk/; revision=18370
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-10-10 Kjartan Maraas <kmaraas@gnome.org>
[Â Fix #7094, #7064, #7095, #31944, #31945 ]
* gui/component/Makefile.am: Hook up new etspec file.
* gui/component/addressbook-config.c: Remove ETable spec.
* gui/component/addressbook-config.etspec: New file.
* gui/component/ldap-config.glade: Fix typo.
* gui/component/select-names/e-select-names.c: Remove inline spec.
* gui/component/select-names/e-select-names.etspec: New file.
* gui/contact-list-editor/Makefile.am: Hook up etspec.
* gui/contact-list-editor/e-contact-list-editor.c: Remove inline spec.
* gui/contact-list-editor/e-contact-list-editor.etspec: New file.
* gui/widgets/Makefile.am: Hook up new spec.
* gui/widgets/e-addressbook-view.c: Remove inline spec.
* gui/widgets/e-addressbook-view.etspec: New file.
svn path=/trunk/; revision=18361
|
|
|
|
|
|
|
|
|
|
|
| |
2002-10-02 Chris Toshok <toshok@ximian.com>
[ Fix #28392 ]
* gui/widgets/e-addressbook-view.c (do_popup_menu): #if 0 out the
gal_view submenu, since it's not spec'ed to be there anyway (as
per bug #16250).
svn path=/trunk/; revision=18322
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-23 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-table-adapter.c (addressbook_destroy):
free adapter->priv.
* gui/widgets/e-addressbook-model.c (addressbook_destroy): free
model->query.
* gui/component/select-names/e-select-names-manager.c
(load_completion_books): use e_book_expand_uri here, and free the
expanded uri after calling addressbook_load_uri, plugging a leak.
* gui/component/select-names/e-select-names.c (set_book): unref
esn->model before we unref esn. fixes an edge case memory
corruption bug.
(clear_widget): utility function to set a widget's ref to NULL
when it's destroyed.
(e_select_names_init): hook the status_message, categories option
menu, and select_entry to clear_widget.
(addressbook_model_set_uri): use e_book_expand_uri.
svn path=/trunk/; revision=18292
|
|
|
|
|
|
|
|
|
|
| |
2002-09-30 Chris Toshok <toshok@ximian.com>
[ Fixes #31321 ]
* backend/ebook/e-card.c (e_card_get_vobject): add VERSION:2.1 to
exported vCards.
svn path=/trunk/; revision=18274
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-30 Chris Toshok <toshok@ximian.com>
[ Fixes #31434 ]
* backend/pas/pas-backend-file.c (do_summary_query): always
retrieve the card from the db. use the summary strictly for
matching, not for storing all information. This fixes completion
of contact lists, since only 3 addresses were being stored and
contact lists can have more.
svn path=/trunk/; revision=18271
|
|
|
|
|
|
| |
appropriate ChangeLog files.
svn path=/trunk/; revision=18268
|
|
|
|
|
|
|
| |
* backend/ebook/e-card.c (e_card_list_send): update for
Composer_setHeaders change.
svn path=/trunk/; revision=18261
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-27 Chris Toshok <toshok@ximian.com>
[ fixes #27521 ]
* gui/contact-editor/e-contact-quick-add.c (editor_closed_cb):
always unref the contact editor when we get the editor_closed
signal.
svn path=/trunk/; revision=18255
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-27 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (check_schema_support): set the
timeout to 30 seconds.
(query_ldap_root_dse): same, and also return the ldap_error since
this function is the one that actually causes openldap to
connect() to the ldap host.
(pas_backend_ldap_connect): check the return value of
query_ldap_root_dse, and error out if it's not SUCCESS.
svn path=/trunk/; revision=18251
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook-storage.c (load_source_data): Change
folder type to "contacts/ldap".
(addressbook_storage_add_source): Likewise.
(create_ldap_folder): Check for type being "contacts" not
ldap contacts, since the ldap-specific type doesn't appear in the
menu.
svn path=/trunk/; revision=18241
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook-component.c (folder_types): Rename
"ldap-contacts" to "contacts/ldap" and add "contacts/public".
(IS_CONTACT_TYPE): update for new types.
* gui/component/select-names/e-select-names.c
(e_select_names_init): Use "contacts/*" for selector_types.
* gui/widgets/e-addressbook-util.c (e_addressbook_transfer_cards):
Likewise.
* gui/component/GNOME_Evolution_Addressbook.oaf.in: add
"evolution:config_item:type" = "contacts/ldap" to the LDAP sources
control so it comes up by default when you open Preferences in an
LDAP folder.
svn path=/trunk/; revision=18221
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-23 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-table-adapter.c (addressbook_destroy):
free adapter->priv.
* gui/widgets/e-addressbook-model.c (addressbook_destroy): free
model->query.
* gui/component/select-names/e-select-names-manager.c
(load_completion_books): use e_book_expand_uri here, and free the
expanded uri after calling addressbook_load_uri, plugging a leak.
* gui/component/select-names/e-select-names.c (set_book): unref
esn->model before we unref esn. fixes an edge case memory
corruption bug.
(clear_widget): utility function to set a widget's ref to NULL
when it's destroyed.
(e_select_names_init): hook the status_message, categories option
menu, and select_entry to clear_widget.
(addressbook_model_set_uri): use e_book_expand_uri.
svn path=/trunk/; revision=18217
|
|
|
|
|
|
|
|
|
| |
2002-09-23 JP Rosevear <jpr@ximian.com>
* conduit/Makefile.am: add libeutil to the link and link with
libcamel instead of libcamel-static.la
svn path=/trunk/; revision=18171
|
|
|
|
|
|
|
|
|
| |
2002-09-22 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-manager.h: oops, add
cached_folder_list to struct _ESelectNamesManager.
svn path=/trunk/; revision=18161
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-22 Chris Toshok <toshok@ximian.com>
[ Fixes #30481 ]
* gui/component/select-names/e-select-names.c
(e_select_names_init): initialize the select names dialog with the
default contacts folder.
svn path=/trunk/; revision=18160
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-22 Chris Toshok <toshok@ximian.com>
[ Fixes #28165, 29171 ]
* gui/component/select-names/e-select-names-manager.c
(uris_listener): check to see if the value has really changed.
the way the preferences dialog works is such that we'll get called
when any of the Folder Options are changed (default folders,
offline stuff, etc.) we really only want to tear down and build
back up the completion books if the autocomplete folder setting
changed.
(read_completion_books_from_db): cache the folder list, and call
load_completion_books.
(load_completion_books): new function, loads from the
cached_folder_list.
(e_select_names_manager_init): init cached_folder_list to NULL.
(e_select_names_manager_destroy): g_free (cached_folder_list).
svn path=/trunk/; revision=18154
|
|
|
|
|
|
|
|
|
|
| |
2002-09-20 Chris Toshok <toshok@ximian.com>
[ Fixes #30483 ]
* gui/component/select-names/e-select-names-completion.c
(name_style_query): argh, contains => beginswith.
svn path=/trunk/; revision=18150
|
|
|
|
|
|
|
|
|
|
|
| |
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 Kjartan Maraas <kmaraas@gnome.org>
* gui/component/ldap-config.glade: Fix a typo.
svn path=/trunk/; revision=18087
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-13 Chris Toshok <toshok@ximian.com>
[ Fixes bug #30250 ]
* backend/ebook/e-destination.c (e_destination_get_name): handle
"Unnamed Lists" here by setting their name to _("Unnamed List').
* backend/ebook/e-card-simple.c (e_card_simple_get): same.
* gui/contact-list-editor/e-contact-list-editor.c (is_named): new
function, return TRUE if the name field is filled in.
(prompt_to_save_changes): return TRUE if the list isn't named
(meaning it's not saveable.)
(command_state_changed): saving requires a name.
(add_email_cb): always call command_state_changed.
(remove_entry_cb): same.
(list_name_changed_cb): same.
(visible_addrs_toggled_cb): same.
(table_drag_data_received_cb): same.
svn path=/trunk/; revision=18059
|
|
|
|
|
|
|
| |
* backend/ebook/e-card-simple.c (e_card_simple_get): return
g_strdup("true"), not "true".
svn path=/trunk/; revision=18056
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-11 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_start_query): institute an arbitrary
minimum limit on the number of characters before we actually try
to autocomplete. It's 3, btw.
svn path=/trunk/; revision=18053
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-11 Chris Toshok <toshok@ximian.com>
[ fixes the other half of #17336 ]
* gui/contact-editor/e-contact-quick-add.c (quick_add_set_name):
parse the name when we're asked to set it, so the full name
doesn't get stored as (potentially) "Last, First" in the card.
svn path=/trunk/; revision=18051
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-11 Chris Toshok <toshok@ximian.com>
[ fixes part of #17336 ]
* gui/contact-editor/e-contact-editor-fullname.c
(e_contact_editor_fullname_init): get the window title from the
.glade file, and supply a suitable wm icon.
* gui/contact-editor/e-contact-editor-address.c
(e_contact_editor_address_init): same.
svn path=/trunk/; revision=18050
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-11 Chris Toshok <toshok@ximian.com>
[ fixes #30208 ]
* gui/component/addressbook.c (load_uri_auth_cb): if the user
clicked cancel in the password dialog, let them off the hook and
bind anonymously. Otherwise (if they failed to auth), prompt them
for the password again.
(addressbook_authenticate): new function, split out 99% of the
auth machinery here so it can be called multiple times. Also,
call the callback with E_BOOK_STATUS_CANCELLED if the user clicked
the cancel button in the dialog.
(load_uri_cb): call addressbook_authenticate if the book has auth
enabled.
(addressbook_load_uri): use g_new0.
svn path=/trunk/; revision=18049
|
|
|
|
|
|
|
|
|
|
| |
2002-09-05 Anna Dirks <anna@ximian.com>
* gui/component/GNOME_Evolution_Addressbook.oaf.in : Changed the
description of the Directory Servers page of the settings dialog
to be a little less wordy {This page can be used to configure blah-->
Configure blah.}
svn path=/trunk/; revision=17990
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-04 Chris Toshok <toshok@ximian.com>
[ Fixes #29904 ]
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_activate_obj): we need to activate
either a contact list editor or contact editor depending on if
it's a list (this screams for a utility function.)
svn path=/trunk/; revision=17980
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook-storage.c
(addressbook_get_other_contact_storage): Pass FALSE to
evolution_storage_new: the Other Contacts storage doesn't support
shared folders.
svn path=/trunk/; revision=17978
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook-component.c (create_component): Pass
NULL as @unpopulate_folder_context_menu_fn to
evolution_shell_component_new().
* gui/component-factory.c (create_object): Pass NULL as
@unpopulate_folder_context_menu_fn to
evolution_shell_component_new().
* mail-account-gui.c (mail_account_gui_save): Remove unused
variable.
* component-factory.c (unpopulate_folder_context_menu): New.
(create_component): Pass it to evolution_shell_component_new().
* component-factory.c (create_component): Pass NULL as
@unpopulate_folder_context_menu_fn to
evolution_shell_component_new().
* e-storage-set-view.c (popup_folder_menu): Remove the context
menu items using
evolution_shell_component_client_unpopulate_folder_context_menu()
instead of doing it ourself, since BonoboUI sucks.
* evolution-shell-component-client.c
(evolution_shell_component_client_unpopulate_folder_context_menu):
New.
* evolution-test-component.c (register_component): Pass NULL as
@unpopulate_folder_context_menu_fn to
evolution_shell_component_new().
* evolution-shell-component.c: New member
unpopulate_folder_context_menu_fn in
EvolutionShellComponentPrivate. New member uic in
EvolutionShellComponentPrivate.
(init): Init new members to NULL.
(destroy): bonobo_object_unref() priv->uic if not NULL.
(evolution_shell_component_new): New arg
@unpopulate_folder_context_menu_fn.
(evolution_shell_component_construct): Likewise.
(impl_populateFolderContextMenu): Set priv->uic to the newly
created UIComponent.
(impl_unpopulateFolderContextMenu): New, implementation for the
::unpopulateFolderContextMenu CORBA method.
(class_init): Install.
* Evolution-ShellComponent.idl (unpopulateFolderContextMenu): New
method.
(AlreadyPopulated): New exception.
(populateFolderContextMenu): Can raise it.
(NotPopulated): New exception.
svn path=/trunk/; revision=17963
|
|
|
|
|
|
|
|
|
|
| |
2002-09-03 Mike Kestner <mkestner@ximian.com>
* gui/component/select-names/e-select-names.c (e_select_names_destroy):
unref the "without", adapter, and model, then chain up the GnomeDialog
destroy function.
svn path=/trunk/; revision=17960
|
|
|
|
| |
svn path=/trunk/; revision=17956
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-03 Chris Toshok <toshok@ximian.com>
[ fixes #29699 ]
* gui/component/addressbook-config.c
(addressbook_add_server_druid): call _set_source with a NULL
source to fill in dialog settings that are set from the option
menus (like the SSL setting).
svn path=/trunk/; revision=17954
|
|
|
|
|
|
|
| |
[`view>view' instead of `view->view']. Also, cast to
GTK_WINDOW instead of GTK_WIDGET as it should be.
svn path=/trunk/; revision=17951
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* backend/idl/addressbook.idl (CallStatus): add QueryRefused, for
when the backend refuses to perform a query. (part of #25782)
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_convert_status): translate
GNOME_Evolution_Addressbook_BookViewListener_QueryRefused.
* gui/component/addressbook.c (search_result): Handle
E_BOOK_VIEW_STATUS_QUERY_REFUSED.
svn path=/trunk/; revision=17934
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-30 Chris Toshok <toshok@ximian.com>
[ fixes #27923]
* backend/pas/pas-backend-summary.c: up the version to 4_0 (4000).
(pas_backend_summary_load_item): handle wants_html{_set}, list,
and list_show_addresses.
(pas_backend_summary_save_item): same.
(pas_backend_summary_add_card): same.
(pas_backend_summary_get_summary_vcard): same.
svn path=/trunk/; revision=17932
|
|
|
|
|
|
|
|
|
|
| |
2002-08-29 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-component.c (add_creatable_item): call
evolution_shell_component_add_user_creatable_item twice here, once
for the "contacts" folder type, and once for "ldap-contacts".
svn path=/trunk/; revision=17929
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-29 Chris Toshok <toshok@ximian.com>
[ fixes #20347 ]
* gui/widgets/e-addressbook-view.c (e_addressbook_view_init): hook
up the backend_died signal.
(backend_died): new function, pop up an error dialog saying the
backend died.
* gui/widgets/e-addressbook-model.c (backend_died): new function,
emit the backend_died signal.
(e_addressbook_model_class_init): create the backend_died signal.
(e_addressbook_model_init): init backend_died_id
(e_addressbook_model_set_arg): disconnect the backend_died signal
from the old book and hook it up to the new book.
* gui/widgets/e-addressbook-model.h: add the backend_died signal.
* backend/ebook/e-book.c (backend_died_cb): new function, emit the
backend_died signal.
(e_book_do_response_open): create the component listener and hook
up the backend_died signal.
(e_book_destroy): disconnect the component listener and unref it.
* backend/ebook/e-book.h: add backend_died signal.
svn path=/trunk/; revision=17918
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-29 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-card-sexp.c (is_helper): use strcasecmp
here, since all the other helpers use case insensitive
comparisons.
* backend/pas/pas-backend-summary.c (is_helper): same.
svn path=/trunk/; revision=17917
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-29 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (category_ber): return NULL if
the list is empty.
(pas_backend_ldap_connect): always try to use ldapv3, not just
when we want to use tls.
svn path=/trunk/; revision=17916
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-29 Chris Toshok <toshok@ximian.com>
[ fixes #25038 ]
* gui/contact-editor/Makefile.am (INCLUDES): need to have
EVOLUTION_ICONSDIR defined.
* gui/contact-list-editor/Makefile.am (INCLUDES): same.
* gui/contact-editor/e-contact-editor.c (e_contact_editor_init):
set the window icon to the contact mini icon.
* gui/contact-list-editor/e-contact-list-editor.c
(e_contact_list_editor_init): set the window icon to the new
contact list icon.
* gui/widgets/e-minicard.c (LIST_ICON_FILENAME): change to (the
prettier, imo) "contact-list-16.png"
svn path=/trunk/; revision=17915
|
|
|
|
|
|
|
|
|
| |
2002-08-28 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_search): spew
the filter we're using for the search.
svn path=/trunk/; revision=17914
|
|
|
|
|
|
|
|
|
| |
2002-08-28 Mike Kestner <mkestner@ximian.com>
* gui/component/select-names/e-select-names-completion.c : stop the
EBookViews before unreffing.
svn path=/trunk/; revision=17910
|
|
|
|
|
|
|
|
| |
* gui/component/GNOME_Evolution_Addressbook.oaf.in: Add an
evolution:shell_component_launch_order and rename
evolution:shell_component_icon.
svn path=/trunk/; revision=17906
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-28 Chris Toshok <toshok@ximian.com>
[ oops, merged the .h and .glade file back to the HEAD from the
1-0 branch, but missed the .c file. ]
* gui/component/select-names/e-select-names.c (status_message): set
the status label's text.
(e_select_names_init): get the status message widget from the
glade ui.
svn path=/trunk/; revision=17889
|
|
|
|
|
|
|
|
|
|
| |
2002-08-28 Chris Toshok <toshok@ximian.com>
[ fixes #19286 ]
* gui/component/addressbook.c (delete_contact_cb): confirm
deletion of contacts when using the menubar or toolbar.
svn path=/trunk/; revision=17888
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-28 Chris Toshok <toshok@ximian.com>
[ fixes #28897 ]
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_clear_book_data): set book_data to NULL
after clearing/freeing the list. fixes a crash.
svn path=/trunk/; revision=17887
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-28 Chris Toshok <toshok@ximian.com>
[ fixes #20348 ]
* backend/pas/evolutionperson.schema: deprecate "categories" in
favor of "category". evolution no longer uses "categories".
* backend/pas/pas-backend-ldap.c (category_populate): new
function, "category" is the new name, and it's multivalued so we
need the complex-prop stuff..
(category_ber): new function, same.
(category_compare): new function, same.
* gui/component/addressbook.c (addressbook_search_activated): the
text is "Category is" so we should use "is" instead of "contains"
for the query.
svn path=/trunk/; revision=17885
|
|
|
|
|
|
|
|
|
|
| |
2002-08-27 Chris Toshok <toshok@ximian.com>
[ Fixes #14835 ]
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_search):
notify_complete with InvalidQuery if the parse fails.
svn path=/trunk/; revision=17883
|
|
|
|
|
|
|
|
|
|
| |
2002-08-27 Chris Toshok <toshok@ximian.com>
[ fixes #26907 ]
* gui/component/addressbook.c (addressbook_search_activated): use
beginswith for email.
svn path=/trunk/; revision=17882
|
|
|
|
|
|
|
|
|
|
| |
2002-08-26 Chris Toshok <toshok@ximian.com>
* printing/e-contact-print.c (complete_sequence): change prototype
for complete_sequence to match sequence_complete.
(e_contact_print_button): same.
svn path=/trunk/; revision=17872
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-26 Chris Toshok <toshok@ximian.com>
[ fixes #29446 ]
* gui/component/addressbook-config.c (scope_optionmenu_activated):
searching_modify_func can be NULL (since we don't require changes
to enable the "Next" button on this page when you create a
directory server.)
svn path=/trunk/; revision=17871
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-26 Chris Toshok <toshok@ximian.com>
[ Fixes (almost certainly) #24649, #25494, #27351, and other LDAP search crashes ]
* backend/pas/pas-backend-ldap.c (view_destroy): use an EList
instead of a GList to store the book_view's so we don't have weird
issues with modifying the list while it's being traversed.
(find_book_view): same.
(create_card_handler): same.
(remove_card_handler): same.
(modify_card_modify_handler): same.
(poll_ldap): same, and also ref the book_view before calling
ldap_search_op_timeout (and therefore send_pending_adds).
(ldap_search_handler): same.
(ldap_op_add): warn about conflicting ldap msgid's (shouldn't ever
happen..)
(homephone_populate): make this a bit more robust (if values[0] ==
NULL, values[1] won't be valid).
(business_populate): same.
(build_card_from_entry): break out of the prop_info loop when we
get a match, and only set the simple field if the value != NULL.
(ldap_search_dtor): free all the pending adds stuff.
(pas_backend_ldap_process_get_book_view): g_list_prepend =>
e_list_append.
(pas_backend_ldap_remove_client): simplify the removing of the
book (use g_list_remove instead of searching and then using
g_list_remove_link.)
(pas_backend_ldap_destroy): unref the book_views list.
(pas_backend_ldap_init): initialize the EList for book_views.
svn path=/trunk/; revision=17870
|
|
|
|
|
|
|
|
|
| |
2002-08-25 Mike Kestner <mkestner@ximian.com>
* gui/widgets/e-addressbook-view.c (remove_book_view): stop the
view before unref, in case the listener has pending events.
svn path=/trunk/; revision=17867
|
|
|
|
|
|
|
|
|
|
| |
2002-08-20 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook.c (book_open_cb): not sure what i was
thinking here... the EBook isn't valid if we couldn't open it, so
we can't turn around and query it for its capabilities.
svn path=/trunk/; revision=17827
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-19 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-manager.h: add the
listener_id slot.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_new): store off the listener_id.
(e_select_names_manager_destroy): remove the bonobo listener -
fixes a crash when modifying the completion folders after you
bring up a compose window.
(e_select_names_manager_entry_new): another random timeout change
- make the completion at 100ms.
svn path=/trunk/; revision=17815
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-19 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-book-view.c (pas_book_view_notify_complete):
take and pass the CallStatus to our listener.
* backend/pas/pas-book-view.h: change the prototype for
notify_complete to include the CallStatus.
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_seq_complete_cb): add the status arg.
* gui/widgets/e-addressbook-view.c
(e_addressbook_view_class_init): init the search_result signal.
(e_addressbook_view_init): connect to the model's search_result
signal.
(emit_search_result): emit our search_result signal.
(search_result): call emit_search_result.
* gui/widgets/e-addressbook-view.h (struct
_EAddressbookViewClass): add the search_result signal.
* gui/widgets/e-addressbook-model.c (sequence_complete): emit both
a "search_result" as well as the "stop_state_changed" signal.
(e_addressbook_model_class_init): init the search_result signal.
* gui/widgets/e-addressbook-model.h: add search_result signal.
* gui/component/addressbook.c (search_result): pop up a dialog
telling the user why the search failed or was truncated.
(addressbook_factory_new_control): connect to the "search_result"
signal on the view.
* conduit/address-conduit.c (sequence_complete): add the status
parameter to sequence_complete.
* backend/idl/addressbook.idl: add BookViewListener_CallStatus,
and change notifySequenceComplete to take a CallStatus.
* backend/pas/pas-backend-ldap.c (create_card_handler): pass
status back in the notify_complete call.
(remove_card_handler): same.
(modify_card_modify_handler): same
(ldap_search_handler): same, and parse out the ldap return code so
we can report limits being properly.
* backend/pas/pas-backend-file.c (do_summary_query): pass status
back in the notify_complete call.
(pas_backend_file_search): same, and get rid of the
status_message, as the status is passed back properly.
(pas_backend_file_search): pass status
back in the notify_complete call.
(pas_backend_file_changes): same.
(pas_backend_file_process_create_card): same.
(pas_backend_file_process_remove_card): same.
(pas_backend_file_process_modify_card): same.
* backend/ebook/e-book-util.c (simple_query_sequence_complete_cb):
add status parameter.
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_queue_status_event): change name from
_queue_empty_event, and take a status arg.
(e_book_view_listener_queue_id_event): init resp->status (to
SUCCESS).
(e_book_view_listener_queue_sequence_event): same.
(e_book_view_listener_queue_message_event): same.
(impl_BookViewListener_notify_sequence_complete): call
queue_status_event, and convert the corba status to
EBookViewStatus.
(e_book_view_listener_convert_status): new function, conver the
corba status to EBookViewStatus.
* backend/ebook/e-book-view-listener.h: add a "status" slot to
EBookViewListenerResponse.
* backend/ebook/e-book-view.h: change prototype for
sequence_complete signal.
* backend/ebook/e-book-view.c (e_book_view_do_complete_event):
sequence_complete takes a parameter now (EBookViewStatus).
(e_book_view_class_init): add the enum arg to the signal.
* backend/ebook/e-book-types.h: add EBookViewStatus enum.
svn path=/trunk/; revision=17814
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-19 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-file.c
(pas_backend_file_get_static_capabilities): add
"cache-completions" here, since file completion results are
blanket cached (as they're generated from a summary).
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_process_get_cursor): there should be no search
limit on the get_cursor_request, as it's meant to match every card
it can.
(ldap_search_handler): parse the ldap result in the
RES_SEARCH_RESULT case. we'll want more here soon, so we can
notify the front end if the result was truncated due to either the
size or time limit being exceeded.
(pas_backend_ldap_process_get_book_view): in the case of a
completion view, we hardcode (yeah yeah, i know, but really) the
search limit to MIN (100, user-specified-limit).
(pas_backend_ldap_search): each view has its own limit now,
defaulting from the user specified one for normal searches but
possibly different for completion views. use the view's limit
here.
svn path=/trunk/; revision=17811
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/select-names/e-select-names-bonobo.c
(entry_get_property_fn): add an "addresses" property, to get the
"Dan Winship <danw@ximian.com>" form, as opposed to "text", which
gets you what's displayed, which might be just "Dan Winship".
(entry_set_property_fn): When setting, just reuse the "text" code,
since it should properly cardify everything for us anyway.
(impl_SelectNames_get_entry_for_section): Add the property.
svn path=/trunk/; revision=17803
|
|
|
|
|
|
|
|
|
|
| |
2002-08-16 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.c
(addressbook_source_dialog_set_source): fix c&p error that was
losing the ssl setting.
svn path=/trunk/; revision=17792
|
|
|
|
| |
svn path=/trunk/; revision=17788
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-16 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (book_view_notify_status): new
function to save a little typing.
(find_book_view): same.
(pas_backend_ldap_connect): reorder things a bit - set the version
to VERSION3 *before* doing TLS, as tls requires v3, and if we're
doing ldaps://, do tls a little differently (not sure if this is
strictly necessary, but the openldap source did it.. *shrug*).
also, guard the schema check as this function can be called
multiple times for the same server (if the server goes down or
times us out.)
(pas_backend_ldap_reconnect): new function, reconnect and if
necessary reauth the user.
(pas_backend_ldap_process_create_card): use
find_book_view/book_view_notify_status/pas_backend_ldap_reconnect.
(pas_backend_ldap_process_remove_card): same.
(pas_backend_ldap_process_modify_card): same.
(pas_backend_ldap_process_get_vcard): same.
(pas_backend_ldap_process_get_cursor): same.
(pas_backend_ldap_search): same.
(poll_ldap): reconnect if ldap_result returns -1.
(pas_backend_ldap_process_authenticate_user): ick ick ick save off
the dn/passwd we auth with so we can use them to reauthenticate.
svn path=/trunk/; revision=17785
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-16 Chris Toshok <toshok@ximian.com>
[ fix 27333 ]
* gui/widgets/e-addressbook-model.c (get_view): "local" ->
"do-initial-query".
* backend/pas/pas-backend-file.c
(pas_backend_file_get_static_capabilities): "local" ->
"local,do-initial-query".
* gui/widgets/e-addressbook-model.c (get_view): "local" ->
"do-initial-query".
* gui/component/addressbook.c (book_open_cb): Only assume the
addressbook is local if "local" appears in its static
capabilities. We still use the ldap special case, but be nicer to
other networked backends.
svn path=/trunk/; revision=17782
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook-component.c (user_create_new_item_cb):
If invoked from a non-contact folder, add the contact to the
default contact folder, not the local one. If invoked from a
contact folder, don't append "addressbook.db" to the URI, let
ebook do the right thing. Fixes #28327 and #28325.
* backend/idl/addressbook.idl (CallStatus): Add NoSuchBook.
(Initially intended as part of a fix for #28327, but the other
changes make it so the error code never ends up getting used any
more, but it's still good to have.)
* gui/widgets/e-addressbook-util.c (e_addressbook_error_dialog):
Handle NO_SUCH_BOOK.
* backend/ebook/e-book-types.h (EBookStatus): Add
E_BOOK_STATUS_NO_SUCH_BOOK.
* backend/ebook/e-book-listener.c
(e_book_listener_convert_status): add case for NoSuchBook.
* backend/ebook/e-book-util.c (e_book_load_local_address_book):
Kill this. Nothing should ever explicitly load the local
addressbook.
(e_book_use_default_book): Replaces e_book_use_local_address_book,
using the default book instead.
(e_book_default_book_open): Fall back to local contact folder on
E_BOOK_STATUS_NO_SUCH_BOOK too.
(e_book_query_address_default): Use default book, not local.
* gui/component/e-address-widget.c (query_idle_fn): Use the
default book, not the local book.
* gui/component/select-names/e-select-names-popup.c
(edit_contact_info_cb): Use the default book, not the local book.
* backend/ebook/e-destination.c (e_destination_cardify): Use the
default book, not the local book.
(e_destination_touch): Query the default book, not the local book.
* backend/ebook/e-card-compare.c (e_card_locate_match,
e_card_locate_match_full): Use the default book, not the local
book.
svn path=/trunk/; revision=17764
|
|
|
|
|
|
|
|
|
| |
2002-08-08 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-summary.c (pas_backend_summary_init):
initialize summary->upgraded to quiet valgrind.
svn path=/trunk/; revision=17749
|
|
|
|
|
|
|
|
|
| |
* backend/ebook/test-client.c (TEST_VCARD): Use "\r" rather than
including literal CRs in the string, which confuses gcc on OS X.
* backend/ebook/test-card.c (TEST_VCARD): Likewise.
svn path=/trunk/; revision=17722
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-01 Chris Toshok <toshok@ximian.com>
[ fixes bug #25958 ]
* gui/component/addressbook.c (alphabet_state_changed): use
FULL_NAME in the case where we're untoggling a letter, and... well
use FULL_NAME in the other case too - we should never pop up the
advanced dialog.
svn path=/trunk/; revision=17683
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-01 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names.h (struct
_ESelectNames): no more search_entry.
* gui/component/select-names/e-select-names.c (update_query): no
more search_entry, search_entry => select_entry, and add file_as
to the query since some entries don't have names (like the Ximian,
Inc. default card.)
(e_select_names_init): no more search_entry, and add an "activate"
handler on select_entry that updates the query.
svn path=/trunk/; revision=17682
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-01 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names.h (struct
_ESelectNames): remove folders and folders_by_uri, and the 2
listeners.
* gui/component/select-names/e-select-names.c
(e_select_names_destroy): remove the hash_table_destroys of
folders and folders_by_uri, since they no longer exist. same for
other_contacts_listener and local_listener.
svn path=/trunk/; revision=17681
|
|
|
|
|
|
| |
"contact-list-16.png" for the "New Contact List" item.
svn path=/trunk/; revision=17678
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook-component.c (create_component): Change
the order so that "New Contact" is first and "New Contact List" is
next.
* gui/component-factory.c (create_object): Change the order of the
user creatable items a bit so that "New Appointment" and "New
Meeting" are at the top when in a calendar folder.
* component-factory.c (create_component): Put "New Mail Message"
before "New Message Post" instead of vice versa.
* evolution-mail-global.xml: Remove "New Mail Message" and "Post
Message" items.
svn path=/trunk/; revision=17661
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook-component.c (add_creatable_item): Pass
"contacts" as the @folder_type to
evolution_shell_component_add_user_creatable_item().
* gui/component-factory.c (add_creatable_item): New arg
@folder_type, pass it to
evolution_shell_component_add_user_creatable_item().
(create_object): Set the right folder types for the various
user-creatable items.
* component-factory.c (create_component): Pass "mail" as
@folder_type to
evolution_shell_component_add_user_creatable_item().
* evolution-test-component.c (register_component): Pass NULL for
@folder_type to
evolution_shell_component_add_user_creatable_item().
* e-shell-user-creatable-items-handler.c: New member folder_type
in struct MenuItem.
(ensure_menu_items): Initialize ->folder_type.
(item_is_default): New helper function.
(create_menu_xml): New arg @folder_type. Put the items on the top
using item_is_default().
(shell_view_view_changed_callback): Pass the folder type to
create_menu_xml().
* evolution-shell-component.c: New member folder_type in
UserCreatableItemType.
(user_creatable_item_type_new): New arg @folder_type.
(user_creatable_item_type_free): Free ->folder_type.
(evolution_shell_component_add_user_creatable_item): New arg
@folder_type.
(impl__get_userCreatableItemTypes): Set ->folderType in the
returned CORBA structs.
* Evolution-ShellComponent.idl: New member folderType in struct
UserCreatableItemType.
* e-shell-user-creatable-items-handler.c: New member component_id
in struct MenuItem. Removed member menu_xml from
EShellUserCreatableItemsHandlerPrivate.
(init): No need to initialize menu_xml here anymore.
(impl_destroy): ...And no need to free here, either.
(setup_menu_xml): New, derived from ensure_menu_xml(). This
orders the menu so that the items for the current component go at
the top.
(create_menu_xml): Removed.
(e_shell_user_creatable_items_handler_attach_menus): Set up
properly for the current component ID, using setup_menu_xml().
svn path=/trunk/; revision=17658
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-31 Chris Toshok <toshok@ximian.com>
[ roll in the following change from the 1.0 branch.]
* backend/pas/pas-backend-ldap.c:
(prop_info): change the CALURI and FBURL ecard attributes to map to the
RFC 2739 specified attributes.
(check_schema_support): check to see if calEntry is supported.
(add_objectclass_mod): insert calEntry if it's supported.
* backend/pas/evolutionperson.schema: deprecate freeBusyURI
and calendarURI.
svn path=/trunk/; revision=17657
|
|
|
|
|
|
| |
double free protocol and query.
svn path=/trunk/; revision=17653
|
|
|
|
|
|
|
|
|
|
| |
2002-07-27 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-summary.c (save_string): don't save
empty strings.
(pas_backend_summary_save): print out the errno when we fail.
svn path=/trunk/; revision=17623
|
|
|
|
|
|
|
|
|
|
| |
ContactNewList verbs.
(update_command_state): Don't set the sensitivity of
/commands/ContactNew and /commands/ContactNewList anymore.
(new_contact_cb): Removed.
(new_contact_list_cb): Removed.
svn path=/trunk/; revision=17614
|
|
|
|
|
|
|
|
|
| |
2002-07-24 Peter Williams <peterw@ximian.com>
* conduit/Makefile.am (libeaddress_conduit_la_LIBADD): Change
libversit.la -> libversit.a for danw's changes.
svn path=/trunk/; revision=17572
|
|
|
|
|
|
|
| |
* conduit/Makefile.am (libeaddress_conduit_la_LIBADD):
s/libversit_lt/libversit/
svn path=/trunk/; revision=17569
|
|
|
|
|
|
|
|
|
|
|
| |
* backend/pas/Makefile.am: Split pas-backend-file and
pas-backend-ldap out of libpas and build them as separate (noinst)
libraries libpasfile.a and libpasldap.a. This gets the db3 and
LDAP dependencies out of libpas, and people trying to create an
addressbook backend shouldn't be calling functions from the
existing backends anyway so there's no reason to install them.
svn path=/trunk/; revision=17528
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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
|
|
|
|
| |
svn path=/trunk/; revision=17478
|
|
|
|
|
|
|
|
|
| |
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-12 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-summary.c (free_summary_item): free the
full_name (as well as given_name. oops.)
(pas_backend_summary_new): new summaries are version 3.0 now.
(pas_backend_summary_load_item): all loaded summaries should be
3.0+, as we fail to load versions lower than that.
(pas_backend_summary_load_header): if the summary isn't version
3.0 fail out, as we need to rebuild the entire file to cache the
full_name fields.
(pas_backend_summary_save_item): save out the full_name.
(pas_backend_summary_add_card): put the item's full_name in the
card.
svn path=/trunk/; revision=17447
|
|
|
|
|
|
|
|
|
| |
* gui/component/select-names/e-select-names-bonobo.c
(entry_get_property_fn): Make the
ENTRY_PROPERTY_ID_SIMPLE_CARD_LIST case not crash, although
there's still something wrong.
svn path=/trunk/; revision=17446
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-10 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_start_query): e_book_get_book_view =>
e_book_get_completion_view, so the backends have the option of
using a pregenerated summary.
svn path=/trunk/; revision=17417
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-10 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-summary.c (clear_items): actually remove
the items from the pointer array too, so an error while loading
doesn't leave the memory summary corrupted.
(pas_backend_summary_load_header): bleah, load the num_items and
summary_mtime in the right order :) Also, set upgraded to TRUE if
we loaded a v1.0 summary.
(pas_backend_summary_open): make this return a gboolean, return
TRUE if the summary is already open (priv->fp != NULL). return
FALSE in error conditions.
(pas_backend_summary_load): if summary_open returns FALSE, return
FALSE, also set the dirty flag to FALSE after we load, and if the
summary was upgraded write it out.
(pas_backend_summary_save): update the in memory mtime to that of
the file when we save.
(summary_flush_func): if we're not dirty, do nothing and return.
(pas_backend_summary_is_up_to_date): make sure we've opened the
summary.
(pas_backend_summary_get_summary_vcard): fix compiler warning.
svn path=/trunk/; revision=17416
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-10 Peter Williams <peterw@ximian.com>
* backend/ebook/e-book-view-listener.h: Oops, missed this one.
* backend/ebook/Makefile.am (libebookinclude_HEADERS): Also
put addressbook.h here because several headers reference it.
svn path=/trunk/; revision=17412
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-09 Peter Williams <peterw@ximian.com>
* tools/Makefile.am (INCLUDES): Add include lines to get
ebook headers relative to <ebook/foo.h>, not "foo.h".
addressbook:
2002-07-08 Peter Williams <peterw@ximian.com>
* backend/ebook/e-book.h: Normalize includes to <ebook/foo.h>, so
that the installed headers will work sanely.
* backend/ebook/e-card-cursor.h:
* backend/ebook/e-book-view.h:
* backend/ebook/e-card-simple.h:
* backend/ebook/e-card.h:
* backend/ebook/e-destination.h: Same.
* printing/Makefile.am (INCLUDES): add -Iaddressbook/backend
to access the ebook headers. Also the builddir version to get
the generated addressbook.h
* gui/widgets/Makefile.am (INCLUDES): Same builddir fix.
* gui/merging/e-card-merging.c: Fix an ebook #include.
* gui/merging/Makefile.am (INCLUDES): Same idea.
* gui/contact-list-editor/Makefile.am (INCLUDES): Same.
* gui/contact-editor/Makefile.am (INCLUDES): Same builddir
change.
calendar:
2002-07-08 Peter Williams <peterw@ximian.com>
* gui/Makefile.am (INCLUDES): Change the -I flags to get
it to play nicely with the new Ebook header paradigm.
* gui/dialogs/Makefile.am: Same.
* gui/e-meeting-model.c: More of the same.
* gui/dialogs/e-delegate-dialog.c:
* gui/dialogs/e-meeting-model.c:
* gui/dialogs/comp-editor-util.c: Fix include lines to get
ebook headers.
* pcs/Makefile.am: Same.
composer:
2002-07-08 Peter Williams <peterw@ximian.com>
* Makefile.am (INCLUDES): Fix cflags for ebook header namespacing.
importers:
2002-07-08 Peter Williams <peterw@ximian.com>
* Makefile.am: Fix cflags to get at ebook headers correctly.
* pine-importer.c: Fix include lines to get ebook headers the "right"
way.
* evolution-gnomecard-importer.c: Same.
mail:
2002-07-08 Peter Williams <peterw@ximian.com>
* Makefile.am (INCLUDES): Add -I flags to get the ebook headers.
svn path=/trunk/; revision=17411
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook-storage.c (load_source_data): Pass
zero as the @sorting_priority to evolution_storage_new_folder().
(addressbook_storage_add_source): Likewise.
* subscribe-dialog.c (recursive_add_folder): Pass zero as
@sorting_priority to evolution_storage_new_folder().
* mail-folder-cache.c (real_flush_updates): Pass zero as
@sorting_priority to evolution_storage_new_folder().
* evolution-test-component.c (setup_custom_storage): Pass
@sorting_priority to evolution_storage_new_folder() so we test it.
Also make /FirstFolder have an "inbox" custom icon.
* e-local-storage.c (new_folder): Pass zero as @sorting_priority
to evolution_storage_new_folder().
* evolution-storage.c (evolution_storage_new_folder): New arg
@sorting_priority; put it in the CORBA folder struct.
* evolution-shell-client.c
(impl_FolderSelectionListener_selected): Copy the sortingPriority
as well.
* e-folder.c (e_folder_to_corba): Set sortingPriority.
* e-corba-storage-registry.c
(impl_StorageRegistry_getFolderByUri): Set sortingPriority in the
new CORBA Folder struct.
* e-corba-storage.c (impl_StorageListener_notifyFolderCreated):
Set the custom_icon if folder->customIconName is not an empty
string. Likewise, set the sorting_priority
* Evolution-common.idl: New member sortingPriority in struct
Folder.
* e-storage-set-view.c (folder_sort_callback): Sort according to
the sorting_priorities.
* e-folder.c: New member sorting_priority in EFolderPrivate.
(init): Init to zero.
(e_folder_set_custom_icon): Emit "changed" if required.
(e_folder_set_sorting_priority): New.
svn path=/trunk/; revision=17404
|
|
|
|
| |
svn path=/trunk/; revision=17403
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-10 Chris Toshok <toshok@ximian.com>
* backend/idl/addressbook.idl: add Book.getCompletionView.
* backend/ebook/e-book.c (e_book_get_completion_view): new
function, basically c&p of e_book_get_book_view, but call
getCompletionView.
* backend/ebook/e-book.h: add prototype for
e_book_get_completion_view.
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_process_client_requests): add a
GetCompletionView case here that just calls the same code as
GetBookView (since we don't build summaries for the ldap backend.)
* backend/pas/pas-backend-file.c (do_summary_query): add
@completion_search. If it's TRUE, just create the vcards from the
summary using pas_backend_summary_get_summary_vcard instead of
looking them up from the db.
(pas_backend_file_search): add @completion_search and pass it on
to do_summary_query.
(pas_backend_file_process_get_book_view): pass FALSE to
pas_backend_file_search.
(pas_backend_file_process_get_completion_view): new function,
basically c&p pas_backend_file_process_get_book_view, but pass
TRUE to pas_backend_file_search.
(pas_backend_file_process_client_requests): add a case for
GetCompletionView.
(pas_backend_file_load_uri): track the change to the summary api -
create the summary filename
* backend/pas/pas-book.c (pas_book_queue_get_completion_view): new
function, queue a GetCompletionView request to our queue.
(impl_GNOME_Evolution_Addressbook_Book_getCompletionView): new
function, call pas_book_queue_get_completion_view.
(pas_book_respond_get_completion_view): new function, just call
notifyViewRequested.
(pas_book_free_request): add a case for GetCompletionView.
(pas_book_get_epv): fill in epv->getCompletionView.
* backend/pas/pas-book.h: add a GetCompletionView PASOperation,
and a new structure (PASGetCompletionViewRequest). Also, add
get_completion_view to PASRequest.
* backend/pas/pas-backend-summary.c (clear_items): remove the
items from the hash table.
(pas_backend_summary_new): db_path -> summary_path.
(pas_backend_summary_destroy): db_.path -> summary_path, and
destroy the hash table.
(pas_backend_summary_init): db_path = summary_path, and initialize
the id_to_item hashtable.
(pas_backend_summary_load_header): handle the upgrading from
version 1.0 to version 2.0 (the addition of an mtime field in the
header)
(pas_backend_summary_load_item): version 1.0 and 2.0 have the same
format for items.
(pas_backend_summary_open): new function. open the summary so we
can load the header (and get the mtime).
(pas_backend_summary_load): rework this a bit since the header has
already been loaded, and also add the items to the hashtable.
(pas_backend_summary_add_card): add the new item to the hashtable.
(pas_backend_summary_remove_card): remove the item from the hash
table.
(pas_backend_summary_is_up_to_date): new function, chekc @t
against the summary's mtime.
(pas_backend_summary_get_summary_vcard): create a vcard from the
fields we have in the summary.
* backend/pas/pas-backend-summary.h: add prorotypes for
pas_backend_summary_is_up_to_date and
pas_backend_summary_get_summary_vcard.
svn path=/trunk/; revision=17402
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook-storage.c (load_source_data): Pass
NULL @custom_icon_name to evolution_storage_new_folder().
(addressbook_storage_add_source): Likewise. [Note we could be
passing a nice custom here. ;-)]
* subscribe-dialog.c (recursive_add_folder): Pass NULL for
@custom_icon_name to evolution_storage_new_folder().
* mail-folder-cache.c (real_flush_updates): Pass NULL for
@custom_icon_name to evolution_storage_new_folder().
* evolution-test-component.c (setup_custom_storage): Pass NULL for
@custom_icon_name to evolution_storage_new_folder().
* e-local-storage.c (new_folder): Pass the custom_icon_name here
to evolution_storage_new_folder().
* evolution-shell-client.c
(impl_FolderSelectionListener_selected): Set customIconName here
too.
* e-folder.c (e_folder_to_corba): Set customIconName too.
* e-corba-storage-registry.c
(impl_StorageRegistry_getFolderByUri): Set customIconName. Also,
use e_safe_corba_string() to clean up the code a bit.
* evolution-storage.c (evolution_storage_new_folder): New arg
@custom_icon_name.
* Evolution-common.idl: New member customIconName in struct
Folder.
svn path=/trunk/; revision=17397
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook-component.c (add_creatable_item): New
arg @tooltip; pass it to
evolution_shell_component_add_user_creatable_item() [which now has
a @tooltip arg].
* gui/component-factory.c (add_creatable_item): New arg @tooltip.
Pass it to evolution_shell_component_add_user_creatable_item(),
which now has a @tooltip arg.
(create_object): Added tooltips.
* component-factory.c (create_component): Pass a tooltip to
evolution_shell_component_add_user_creatable_item.
* e-shell-user-creatable-items-handler.c: New member tooltip in
struct MenuItem.
(ensure_menu_items): Initialize the tooltip member.
(shell_view_view_changed_callback): Set the tooltip for the "New"
button.
(ensure_menu_xml): Set up the tooltip here as well.
* evolution-shell-component.c: Add tooltip member to struct
UserCreatableItemType.
(user_creatable_item_type_new): New arg @tooltip.
(evolution_shell_component_add_user_creatable_item): New arg
@tooltip.
(impl__get_userCreatableItemTypes): Put the tooltip in the struct
as well.
* e-shell-user-creatable-items-handler.c (setup_toolbar_button):
Create a GtkTooltips object and attach it to the combo_button
using gtk_object_set_data().
(shell_view_view_changed_callback): Set up a tooltip for the
button, according to the default.
* Evolution-ShellComponent.idl: Add a tooltip member to struct
UserCreatableItemType.
svn path=/trunk/; revision=17343
|
|
|
|
|
|
|
|
|
|
| |
2002-06-27 Sean Atkinson <sean@cantab.net>
* gui/component/addressbook-config.c (query_for_supported_bases):
don't unref selection_model (otherwise 3 clicks of
"Show Supported Bases" crashes if LDAP server isn't running).
svn path=/trunk/; revision=17333
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-29 Chris Toshok <toshok@ximian.com>
* backend/pas/Makefile.am (libpas_a_SOURCES): add
pas-backend-summary.[ch].
* backend/pas/pas-backend-file.c (string_to_dbt): move this to the
top of the file so it can be used in..
(build_summary): loop over the db, adding cards ot the summary.
(do_summary_query): call pas_backend_summary_search and loop over
the returned id's looking them up in the db.
(pas_backend_file_search): call
pas_backend_summary_is_summary_query, and either call
do_summary_query if it's a query over just the set of attributes
in the summary or use the old, slow method if not.
(pas_backend_file_process_create_card): call
pas_backend_summary_add_card.
(pas_backend_file_process_remove_card): call
pas_backend_summary_remove_card.
(pas_backend_file_process_modify_card): call remove_card/add_card.
(pas_backend_file_load_uri): try to load the summary file, and if
it doesn't exist create it.
(pas_backend_file_destroy): unref the summary.
* backend/pas/pas-backend-summary.[ch]: new files, reading and
writing (and querying) summaries.
svn path=/trunk/; revision=17330
|
|
|
|
|
|
|
|
|
|
| |
2002-06-25 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-component.c (create_component):
reorder the adding of creatable items so the default is a new
contact, not a new contact list.
svn path=/trunk/; revision=17279
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-21 Sean Atkinson <sean@cantab.net>
* gui/component/addressbook-config.c (addressbook_edit_server_dialog):
remove source argument (get it from the dialog).
(edit_source_clicked): same.
(sources_table_double_click): added to edit server by double-clicking.
(ldap_dialog_new): use sources_table_double_click.
svn path=/trunk/; revision=17272
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-17 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-view.c (e_addressbook_view_save_as):
pass NULL to e_contact_list_save_as. modality sucks. fixes
broken build.
(save_as): same.
svn path=/trunk/; revision=17212
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-17 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-view.c (e_addressbook_view_save_as):
pass NULL to e_contact_list_save_as. modality sucks. fixes
broken build.
(save_as): same.
* gui/widgets/e-addressbook-reflow-adapter.c (save_as): same.
svn path=/trunk/; revision=17210
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-15 Chris Toshok <toshok@ximian.com>
[ fixes bug #26130 ]
* gui/contact-editor/e-contact-editor.c (file_save_as_cb): pass
ce->app as parent_window.
* gui/contact-list-editor/e-contact-list-editor.c
(file_save_as_cb): same .
* gui/contact-editor/e-contact-save-as.c (e_contact_list_save_as):
if a parent_window is specified, the file selector should be
modal/transient for that window.
(e_contact_save_as): same.
* gui/contact-editor/e-contact-save-as.h: track prototype changes
(addition of GtkWindow *parent_window to both calls.)
svn path=/trunk/; revision=17199
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-15 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_connect): use
ldap_unbind_ext.
(create_card_handler): don't leak the new vcard.
(pas_backend_ldap_process_authenticate_user): don't leak the dn.
svn path=/trunk/; revision=17197
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-14 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-file.c (pas_backend_file_search): up the
max threshold to 3000 cards from 1000 cards.. seems to improve
performance a bit. also remove the g_list_reverse since it
doesn't matter what order the cards arrive to the gui.
(pas_backend_file_changes): plug memory leaks.
svn path=/trunk/; revision=17196
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-14 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-compare.c (compare_email_addresses): Made
"" compare as not equal to "" for addresses.
(use_common_book_cb): Don't bother checking for nickname here
since we don't use it as a match later. Don't add "" as an
address to the list of query parts.
svn path=/trunk/; revision=17191
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-13 Christopher James Lahey <clahey@ximian.com>
* gui/contact-editor/e-contact-editor.c (enable_writable_fields):
Don't enable fields if the editor isn't editable and the
widget_field_mappings lists this field as being desensitize for
read only.
svn path=/trunk/; revision=17184
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-11 Chris Toshok <toshok@ximian.com>
[ fixes bug #17332 ]
* backend/ebook/e-book.c (e_book_get_static_capabilities): we
shouldn't ever return NULL here. in error cases we need to return
g_strdup("");
svn path=/trunk/; revision=17173
|
|
|
|
|
|
|
|
|
| |
2002-06-11 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-minicard-view.c (e_minicard_view_event): Made
double clicking on read only folders not do anything.
svn path=/trunk/; revision=17171
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-10 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-book-util.c (e_book_expand_uri): Made expand_uri
a bit more robust and readable.
(e_book_get_default_book_uri): Made e_book_get_default_book_uri
use e_book_expand_uri if using the bonobo_config value.
* gui/component/e-address-popup.c (start_query): Handle the
failure state here by acting as if there are no matches.
svn path=/trunk/; revision=17159
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-05 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-minicard.c (e_minicard_event): Call
e_minicard_selected in the GDK_BUTTON_RELEASE case here.
(e_minicard_drag_begin): Set E_REFLOW (parent)->maybe_in_drag =
FALSE if it's an EReflow.
svn path=/trunk/; revision=17124
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-04 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_book_ready): Commented out this unused
function.
* gui/component/select-names/e-select-names-manager.c
(open_book_cb): Ref if we're keeping the book. Don't unref if
we're not keeping the book.
(clean_cb): Commented out this unused function.
svn path=/trunk/; revision=17105
|
|
|
|
|
|
|
|
|
| |
2002-06-04 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-addressbook-view.c (init_collection): Set the
title of our GalVIewCollection.
svn path=/trunk/; revision=17102
|
|
|
|
|
|
|
|
|
|
| |
2002-05-29 Anna Marie Dirks <anna@ximian.com>
* gui/component/select-names/select-names.glade: Changed some spacing
and expanding behavior to make this dialog behave more like I intended
to.
svn path=/trunk/; revision=17037
|
|
|
|
|
|
|
|
|
|
| |
2002-05-24 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.c (CONFIG_CONTROL_FACTORY_ID):
put this back in, accidentally got snipped with the hacking going
on in here.
svn path=/trunk/; revision=17010
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-24 Chris Toshok <toshok@ximian.com>
[ part of #25047 ]
* gui/component/addressbook-config.c: remove the autocompletion
config control from here, as it lives in the shell now.
* gui/component/GNOME_Evolution_Addressbook.oaf.in: same.
svn path=/trunk/; revision=17001
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-24 Chris Toshok <toshok@ximian.com>
[ #24189 ]
* gui/component/select-names/e-select-names-manager.c
(focus_out_cb): ifdef out the body of this because it only works
with a single completion book. not sure what to do here, but it
doesn't impact most usage scenarios.
(completion_popup_cb): same.
(e_select_names_manager_entry_new): add the books that have been
loaded successfully by the time this entry is created.
(open_book_cb): add the opened book to the entries that have
already been created, and store it in our list so that entries
that are created in the future can catch up.
(read_completion_books_from_db): slurp in the folder list from the
config db and load all the uris.
(uris_listener): listener function - when there's a change it
calls _clear_books on all the created entries, and clears our
list. It then re-reads the books from the db.
(e_select_names_manager_new): create our bonobo listener and call
read_completion_books_from_db.
(e_select_names_manager_init): init completion_books.
(e_select_names_manager_destroy): free our list of
completion_books.
* gui/component/select-names/e-select-names-manager.h: switch from
a single EBook to a GList of completion_books here.
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_add_book): deal with the case where
there's an active query (by effectively restarting it.) This is
quite a contrived edge case.
(e_select_names_completion_clear_books): stop the current query
and clear our list of books.
(e_select_names_completion_new): track change to prototype, and
axe the majority of this method since an EBook* isn't passed
anymore.
(e_select_names_completion_clear_book_data): split this code out
from the destroy method so it can be called from _clear_books.
* gui/component/select-names/e-select-names-completion.h: the
constructor no longer takes an EBook -- pass in as many as you
want using _add_book. Also, add prototype for _clear_books.
* gui/component/addressbook.c (load_uri_cb): when
storing/retrieving passwords, use the cleaned (without params)
version of the uri, so changing things like download limit don't
cause the user to be prompted for a password again.
* gui/component/addressbook-component.c
(ensure_completion_uris_exist): new function - probably doesn't
belong in this file. Make sure the basic local Contacts folder
exists in the completion uris.
(addressbook_component_factory_init): call
ensure_completion_uris_exist.
* backend/ebook/e-book-util.h: add prototype for
e_book_get_default_book_uri.
* backend/ebook/e-book-util.c (e_book_get_default_book_uri): new
function, just return the default contacts uri.
(e_book_load_default_book): change
to use e_book_get_default_book_uri.
svn path=/trunk/; revision=16999
|
|
|
|
|
|
|
|
|
| |
2002-05-23 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.c (addressbook_root_dse_query):
fix parameter/local variable overloading.
svn path=/trunk/; revision=16996
|
|
|
|
| |
svn path=/trunk/; revision=16969
|
|
|
|
|
|
|
| |
* gui/component/addressbook.c (load_uri_cb): Don't try to invoke
e_book_get_uri() on NULL. Fixes #20069.
svn path=/trunk/; revision=16968
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-17 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-util.c (e_addressbook_error_dialog):
make sure we map status -> string correctly (add missing strings).
* backend/ebook/e-book-types.h (EBookStatus): add the missing
AUTHENTICATION_REQUIRED status code, to map to the idl response.
* backend/ebook/e-book-listener.c
(e_book_listener_convert_status): make sure we map all idl status
codes to EBookStatus statuses.
svn path=/trunk/; revision=16958
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* e-corba-storage.c (impl_StorageListener_notifyFolderCreated):
Set the can_sync_offline property on the EFolder based on the
canSyncOffline value on the CORBA folder.
* evolution-test-component.c (setup_custom_storage): Pass FALSE
for @sync_offline to evolution_storage_new_folder().
* e-local-storage.c (new_folder): Pass FALSE for @sync_offline to
evolution_storage_new_folder().
* evolution-storage.h (evolution_storage_new_folder): New arg
@can_sync_offline.
* subscribe-dialog.c (recursive_add_folder): Pass TRUE for
@sync_offline to evolution_storage_new_folder().
* mail-folder-cache.c (real_flush_updates): Pass TRUE for
@sync_offline to evolution_storage_new_folder().
* gui/component/addressbook-storage.c (load_source_data): Pass
FALSE for @sync_offline to evolution_storage_new_folder().
(addressbook_storage_add_source): Pass FALSE for @sync_offline to
evolution_storage_new_folder().
svn path=/trunk/; revision=16947
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook-component.c (request_quit): New, quit
handler for the EvolutionShellComponent.
(add_creatable_item): Set it up.
* gui/contact-editor/e-contact-list-editor.c
(e_contact_list_editor_request_close_all): New.
(e_contact_list_editor_new): Put the contact editor in a static
list and gtk_object_weakref() it.
(contact_list_editor_destroy_notify): New, GtkDestroyNotify
function for the contact editors.
* gui/contact-editor/e-contact-editor.c
(e_contact_editor_request_close_all): New.
(e_contact_editor_new): Put the contact editor in a static list
and gtk_object_weakref() it.
(contact_editor_destroy_notify): New, GtkDestroyNotify function
for the contact editors.
svn path=/trunk/; revision=16934
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* e-shell-view-menu.c (command_quit): Check with
e_shell_prepare_for_quit() before quitting.
* e-shell.c (e_shell_prepare_for_quit): New.
* evolution-test-component.c (request_quit_fn): New function
asking for confirmation to quit.
* evolution-shell-component.c (evolution_shell_component_new): New
arg @request_quit_fn.
(impl_requestQuit): New, implementation for
EvolutionShellComponent::requestQuit.
(evolution_shell_component_result_to_string): Handle
EVOLUTION_SHELL_COMPONENT_CANCEL.
(evolution_shell_component_client_request_quit): New.
* Evolution-ShellComponent.idl (requestQuit): New.
* component-factory.c (create_component): Pass NULL as
@request_quit_fn.
* component-factory.c (create_component): Pass NULL as
@request_quit_fn.
* gui/component-factory.c (create_object): Pass NULL as
@request_quit_fn.
* gui/component/addressbook-component.c (create_component): Pass
NULL as @request_quit_fn.
svn path=/trunk/; revision=16925
|
|
|
|
|
|
|
|
| |
2002-05-13 Christopher James Lahey <clahey@ximian.com>
* backend/idl/addressbook.idl: Removed an incorrect comment here.
svn path=/trunk/; revision=16775
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-13 Christopher James Lahey <clahey@ximian.com>
* gui/contact-editor/e-contact-editor.c (enable_writable_fields):
Enable the dropdown widgets even if the contact is not editable so
that you can view any email address, phone number, or postal
address on read only contacts.
svn path=/trunk/; revision=16767
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-10 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/Evolution-Addressbook-SelectNames.idl:
Added SimpleCard interface.
* gui/component/select-names/Makefile.am: Added
e-simple-card-bonobo.c and e-simple-card-bonobo.h.
* gui/component/select-names/e-select-names-bonobo.c
(entry_get_property_fn): Added SIMPLE_CARD_LIST arg.
* gui/component/select-names/e-simple-card-bonobo.c,
gui/component/select-names/e-simple-card-bonobo.h: New class to
represent an ECardSimple across Bonobo.
svn path=/trunk/; revision=16757
|
|
|
|
|
|
|
|
|
| |
2002-05-09 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names-bonobo.c
(entry_get_property_fn): Added "first_email" property.
svn path=/trunk/; revision=16734
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* e-local-storage.c (construct): Pass %FALSE as
@has_shared_folders to evolution_storage_new().
* evolution-storage.c: New member has_shared_folders in
EvolutionStoragePrivate.
(init): Initialize to FALSE.
(evolution_storage_new): New arg @has_shared_folders.
(evolution_storage_construct): Likewise.
(impl_Storage__get_folderList): Renamed from
impl_Storage__get_folder_list.
(impl_Storage__get_hasSharedFolders): New, implementation for
::hasSharedFolders.
(evolution_storage_get_epv): Install the CORBA method
implementation.
* Evolution-Storage.idl: Make Storage::name a readonly attribute. New attribute Storage::
* component-factory.c (add_storage): Pass %FALSE as
@has_shared_folders to evolution_storage_new().
* gui/component/addressbook-storage.c
(addressbook_get_other_contact_storage): Pass %FALSE as
@has_shared_folders to evolution_storage_new().
svn path=/trunk/; revision=16733
|
|
|
|
|
|
|
|
|
| |
2002-05-08 JP Rosevear <jpr@ximian.com>
* conduit/Makefile.am: link against the libtool version of
libversit
svn path=/trunk/; revision=16722
|
|
|
|
|
|
|
|
|
|
| |
2002-05-07 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.c
(addressbook_config_control_new): oops, add the NULL back at the
end of possible_types.
svn path=/trunk/; revision=16714
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-07 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.c (addressbook_ldap_init):
bleah, need to pass the GtkWindow here so we can pop up the a
modal parented dialog (gtk modal dialogs suck?).
(addressbook_ldap_auth): same.
(addressbook_root_dse_query): same.
(do_ldap_root_dse_query): same.
(addressbook_config_control_new): add "ldap-contacts" to the list
of possible types.
svn path=/trunk/; revision=16711
|
|
|
|
|
|
|
| |
* gui/component/addressbook-storage.c (create_ldap_folder):
s/ldap_config/addressbook_config/ so this compiles again.
svn path=/trunk/; revision=16703
|
|
|
|
| |
svn path=/trunk/; revision=16682
|
|
|
|
|
|
|
|
|
|
| |
2002-05-03 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book.c (activate_factories_for_uri): finally
remove the #if 0's and use the oaf query stuff to get backends
that handle specific protocols.
svn path=/trunk/; revision=16681
|
|
|
|
|
|
|
|
|
|
| |
2002-05-03 Christopher James Lahey <clahey@ximian.com>
* gui/component/addressbook-config.c
(addressbook_folder_list_changed_callback): Call
evolution_config_control_changed when the EFolderList changes.
svn path=/trunk/; revision=16680
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-03 Christopher James Lahey <clahey@ximian.com>
* gui/component/GNOME_Evolution_Addressbook.oaf.in: Updated this
to have the ConfigControlFactory have an addressbookwide generic
name and added OAFIID:GNOME_Evolution_Addressbook_ConfigControl.
* gui/component/Makefile.am (evolution_addressbook_SOURCES),
gui/component/addressbook-component.c,
gui/component/addressbook-storage.c, gui/component/addressbook.c:
Replaced ldap-config.c and ldap-config.h with addressbook-config.c
andaddressbook-config.h.
* gui/component/addressbook-config.c,
gui/component/addressbook-config.h: Based on ldap-config.c and
ldap-config.h. Added a folder list control. Made this a multi
factory.
* gui/component/ldap-config.c, gui/component/ldap-config.h:
Replaced these with addressbook-config.c and addressbook-config.h.
svn path=/trunk/; revision=16679
|
|
|
|
|
|
|
|
|
|
| |
2002-05-02 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c (selection_change):
Desensitize the to, cc, and bcc buttons if there's no selection
here. Fixes Ximian bug #21482.
svn path=/trunk/; revision=16671
|
|
|
|
|
|
|
|
|
|
| |
2002-05-01 Christopher James Lahey <clahey@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.c (verbs): Changed
some of these to bind to the ContactListEditor verbs since they're
marked as that in the ui file. Fixes Ximian bug #13034.
svn path=/trunk/; revision=16665
|
|
|
|
|
|
|
|
| |
2002-04-30 JP Rosevear <jpr@ximian.com>
* gui/component/Makefile.am (EXTRA_DIST): fix
svn path=/trunk/; revision=16652
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-30 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-addressbook-model.c,
gui/widgets/e-addressbook-model.h
(e_addressbook_model_peek_card): Added this function so that there
would be less duplication of cards during run time when
duplication is unnecessary.
* gui/widgets/e-addressbook-view.c: Cleaned up get_card_list and a
number of associated functions to be much more uniform and
simpler.
(get_has_email_address): Don't show the "Send Message to Contact"
menu item if there are no email addresses in the listed contacts.
Fixes bug #1298.
svn path=/trunk/; revision=16649
|
|
|
|
|
|
|
|
|
|
| |
2002-04-30 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card.c (e_card_list_send): Changed this to set a
subject when sending a contact. This makes the signature be set
properly also.
svn path=/trunk/; revision=16648
|
|
|
|
| |
svn path=/trunk/; revision=16617
|
|
|
|
| |
svn path=/trunk/; revision=16614
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-26 Jeffrey Stedfast <fejj@ximian.com>
* printing/Makefile.am: Don't link to libibex anymore.
* conduit/Makefile.am: Same.
* backend/ebook/Makefile.am: Again here.
* gui/component/Makefile.am: And finally here.
svn path=/trunk/; revision=16612
|
|
|
|
|
|
|
|
|
|
| |
2002-04-26 Jeffrey Stedfast <fejj@ximian.com>
* printing/Makefile.am: Don't link to libibex anymore.
* conduit/Makefile.am: Same.
svn path=/trunk/; revision=16611
|
|
|
|
|
|
|
|
| |
2002-04-26 Jeffrey Stedfast <fejj@ximian.com>
* printing/Makefile.am: Don't link to libibex anymore.
svn path=/trunk/; revision=16610
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-26 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_child_free): Unref the text_model here instead of
the model, since the model never gets set. Removed the model
field since it's no longer used.
svn path=/trunk/; revision=16592
|
|
|
|
|
|
|
|
|
| |
2002-04-24 Christopher James Lahey <clahey@ximian.com>
* gui/component/ldap-config.c: Updated this for the new
e_table_memory_store_insert function prototype.
svn path=/trunk/; revision=16582
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-24 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c,
gui/component/select-names/e-select-names.h,
gui/component/select-names/select-names.glade (folder_browse):
Added a "Browse..." button to switch to a different addressbook
folder.
* gui/widgets/e-addressbook-util.c (e_addressbook_transfer_cards):
Moved extern EvolutionShellClient out of this function so that
it'd be more readable.
svn path=/trunk/; revision=16574
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-23 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c,
gui/component/select-names/e-select-names.h: Coded handling of the
select_entry to search within the displayed contacts.
* gui/component/select-names/select-names.glade: Updated this
dialog to have an entry-select instead of an entry-find.
svn path=/trunk/; revision=16570
|
|
|
|
|
|
|
|
|
| |
2002-04-23 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/select-names.glade: Updated this
dialog to match the redesign.
svn path=/trunk/; revision=16569
|
|
|
|
|
|
|
|
|
| |
2002-04-23 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-addressbook-view.c (do_popup_menu): Make unused
menu items disappear instead of graying out.
svn path=/trunk/; revision=16568
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-23 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-addressbook-reflow-adapter.c,
gui/widgets/e-addressbook-reflow-adapter.h: Removed
e_addressbook_reflow_adapter_right_click and
e_addressbook_reflow_adapter_base_right_click.
* gui/widgets/e-addressbook-view.c: Handle right click menu for
both types of view. Merged right click on white space with right
click on main area. General clean up.
* gui/widgets/e-minicard-view-widget.c,
gui/widgets/e-minicard-view-widget.h: Removed a couple unnecessary
functions. Added e_minicard_view_widget_get_view. Added
right_click signal.
* gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h:
Added the right_click signal and the e_minicard_view_get_card_list
function.
svn path=/trunk/; revision=16567
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-22 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.h: Removed an unused
variable here.
* gui/widgets/e-addressbook-view.c (table_right_click,
table_white_space_event): Added a current view submenu to the
popup menu here.
svn path=/trunk/; revision=16561
|
|
|
|
|
|
|
|
|
|
| |
2002-04-22 Jeffrey Stedfast <fejj@ximian.com>
* gui/widgets/e-minicard-view.c (e_minicard_view_drag_begin):
Allow GDK_ACTION_COPY also, since the composer for example does
not accept MOVE's. Completes bug #8448.
svn path=/trunk/; revision=16558
|
|
|
|
|
|
|
|
|
| |
2002-04-18 Chris Toshok <toshok@ximian.com>
* gui/component/ldap-config.glade: change order of scope option
menu to match how it's stored.
svn path=/trunk/; revision=16534
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-18 Chris Toshok <toshok@ximian.com>
* gui/component/GNOME_Evolution_Addressbook.oaf.in: change ldap
config control text so it fits in the config dialog.
* gui/component/ldap-config.c: #ifdef lots of stuff HAVE_LDAP so
it'll build/run in either case.
(addressbook_source_dialog_destroy): rename
addressbook_add_server_druid_destroy to this, and free lots more
stuff.
(addressbook_add_server_druid):
addressbook_add_server_druid_destroy ->
addressbook_source_dialog_destroy.
(do_schema_query): add 3 second timeout to schema query.
(addressbook_edit_server_dialog): hook up destroy signal.
(config_control_new): if HAVE_LDAP isn't defined, put up a label
saying so.
svn path=/trunk/; revision=16533
|
|
|
|
|
|
|
|
| |
2002-04-18 Chris Toshok <toshok@ximian.com>
* gui/component/Makefile.am (INCLUDES): add LDAP_CFLAGS to INCLUDES
svn path=/trunk/; revision=16532
|
|
|
|
|
|
|
|
|
| |
2002-04-18 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook.c (book_open_cb): no more
source->type.
svn path=/trunk/; revision=16530
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-18 Chris Toshok <toshok@ximian.com>
* gui/component/ldap-config.c (addressbook_dialog_get_source):
fill in source->ssl.
(addressbook_source_dialog_set_source): set up auth/scope/ssl
option menus properly.
* gui/component/addressbook-storage.c
(addressbook_storage_init_source_uri): always include the
limit/ssl in the uri so we don't need to rely on defaults
everywhere.
(ldap_source_foreach): store the ssl option.
* gui/component/addressbook-storage.h: reorder SSLType to match
the UI.
* backend/pas/pas-backend-ldap.c: (struct _PASBackendLDAPPrivate)
add field for ldap_timeout.
(pas_backend_ldap_connect): reorder things a bit - we need to
start tls before the root dse query, if we can.
(pas_backend_ldap_load_uri): track the way ssl parameters are
given in the uri, and parse out the timeout.
* gui/component/ldap-config.c (port_changed_func): use the
symbolic SSL name instead of an integer constant.
svn path=/trunk/; revision=16529
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-18 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (get_ldap_library_info): fix
memory leaks.
* gui/component/GNOME_Evolution_Addressbook.oaf.in: remove the
Addressbook_ConfigControl stuff to LDAP_ConfigControl.
* gui/component/Makefile.am (evolution_addressbook_SOURCES):
remove addressbook-config.* and add ldap-config.*
(glade_DATA): same.
(evolution_addressbook_LDADD): add LDAP_LIBS.
* gui/component/addressbook-component.c (owner_set_cb):
addressbook_config_register_factory =>
ldap_config_register_factory.
* gui/component/addressbook.c (book_open_cb): remove source->type
check - they're always LDAP.
(load_uri_cb): same.
* gui/component/addressbook-storage.c (ldap_unparse_ssl): new
function.
(ldap_parse_ssl): new function.
(addressbook_storage_init_source_uri): use a more flexible scheme
to build up the uri's, and add in the ssl parameter.
(load_source_data): fill in source->ssl, and remove source->type
assignment.
(addressbook_source_copy): copy source->ssl, and remove
source->type copy.
(create_ldap_folder): addressbook_create_new_source =>
ldap_config_create_new_source.
* gui/component/addressbook-storage.h: remove
AddressbookSourceType (it was always LDAP), and add
AddressbookLDAPSSLType.
svn path=/trunk/; revision=16524
|
|
|
|
|
|
|
|
|
|
|
| |
* backend/ebook/e-book-util.c (e_book_load_default_book): Append
/addressbook.db to the end of the default URI if it starts with
file:
* backend/ebook/e-book.c (e_book_load_uri_step): Fix this to not
loop forever if you have more than one backend.
svn path=/trunk/; revision=16519
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped required gal version number to 0.19.99.11.
From addressbook/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_create_categories): Changed this to use
ECategoriesMasterListOptionMenu.
* gui/component/select-names/e-select-names.c
(section_right_click_cb),
gui/widgets/e-addressbook-reflow-adapter.c,
gui/widgets/e-addressbook-view.c: Updated these to match the new
EPopupMenu.
From calendar/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view.c,
gui/dialogs/meeting-page.c: Updated these to match the new
EPopupMenu.
From mail/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* folder-browser.c, mail-display.c: Updated these to match the new
EPopupMenu.
From shell/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* e-activity-handler.c: Updated this to match the new EPopupMenu.
svn path=/trunk/; revision=16498
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-11 Christopher James Lahey <clahey@ximian.com>
* gui/component/addressbook-component.c: Include
addressbook-config.h here as this file uses it.
* gui/component/select-names/e-select-names.c (SPEC, SPEC2): Made
this dialog searchable by typing in the ETable.
* gui/widgets/e-addressbook-model.c: Include e-addressbook-util.h
here.
* gui/widgets/e-addressbook-reflow-adapter.c
(e_addressbook_reflow_adapter_right_click),
gui/widgets/e-addressbook-view.c (table_right_click): Fixed a
memory leak here by using "selection-done" signal.
* gui/widgets/e-addressbook-reflow-adapter.c,
gui/widgets/e-addressbook-reflow-adapter.h,
gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard-view.c:
Added a right click menu for areas that aren't cards.
svn path=/trunk/; revision=16440
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* backend/ebook/e-book-util.c (e_book_load_default_book): Update
for new-and-improved consistent default folder uri.
* gui/component/addressbook.c (addressbook_load_default_book): Use
e_book_load_default_book rather than duplicating most of its logic
here.
(load_uri_cb): Modify to work as a callback for
addressbook_load_default_book as well as addressbook_load_uri.
svn path=/trunk/; revision=16409
|
|
|
|
|
|
|
| |
* gui/component/addressbook-component.c (create_view): Add
view_info arg, but don't do anything with it.
svn path=/trunk/; revision=16399
|
|
|
|
|
|
|
|
|
| |
2002-04-06 JP Rosevear <jpr@ximian.com>
* gui/component/GNOME_Evolution_Addressbook.oaf.in: add
config_item:type
svn path=/trunk/; revision=16378
|
|
|
|
|
|
|
|
| |
2002-04-04 JP Rosevear <jpr@ximian.com>
* conduit/Makefile.am: link to the static libversit
svn path=/trunk/; revision=16358
|
|
|
|
|
|
|
| |
* gui/widgets/e-addressbook-util.c (e_addressbook_transfer_cards):
Update for evolution_shell_client_user_select_folder API change.
svn path=/trunk/; revision=16355
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook.c: Remove AddressbookConfig,
ContactNew, ContactNewList EPixmap entries.
* gui/component/addressbook-factory.c (main): Print out a
debugging message just before the main loop starts, for debugging
purposes.
svn path=/trunk/; revision=16339
|
|
|
|
|
|
|
|
|
|
|
|
| |
* backend/ebook/e-card-simple.h: Fix spelling of
E_CARD_SIMPLE_PHONE_ID_TTYTDD and E_CARD_SIMPLE_FIELD_PHONE_TTYTDD
(they previously ended with "TTD" instead of "TDD")
* backend/ebook/e-card-simple.c: Update for spelling fix.
* backend/pas/pas-backend-ldap.c: Likewise
svn path=/trunk/; revision=16321
|
|
|
|
| |
svn path=/trunk/; revision=16312
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
* gui/component/GNOME_Evolution_Addressbook.oaf.in: Add priority
for the config page. Renamed to "Directory Servers".
svn path=/trunk/; revision=16292
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-27 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-file.c
(pas_backend_file_process_create_card): don't free req->vcard.
it's freed in pas_book_free_request.
(pas_backend_file_process_remove_card): don't free req->id for the
same reason.
(pas_backend_file_process_modify_card): don't free req->vcard for
the same reason.
(pas_backend_file_process_get_changes): don't free req->change_id
or release_unref the listener for the same reason.
svn path=/trunk/; revision=16265
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-27 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (check_schema_support): make sure
to call ldap_value_free (values);, and ldap_msgfree (resp).
(get_ldap_library_info): don't ask me why, but it appears we have
to free each extension char*.
(query_ldap_root_dse): make sure to free values in the
subschemaSubentry code before overwriting it, and call
ldap_msgfree(resp) when we're all done.
(build_card_from_entry): don't leak the DN, ldap attributes, or
the berval the ldap_*_attribute calls use to step through the
attributes. the docs say this berval is freed when
ldap_next_attribute returns NULL, but if we don't free it it leaks
a substantial amount of memory.
(pas_backend_ldap_search): make sure to only allocate *op once,
and fix the g_warning since op isn't valid in its scope anymore.
svn path=/trunk/; revision=16262
|
|
|
|
|
|
|
|
|
|
|
| |
* backend/ebook/Makefile.am: Update for libversit change: Use .a
rather than .la now.
* printing/Makefile.am: Likewise
* gui/component/Makefile.am: Likewise
svn path=/trunk/; revision=16210
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* e-search-bar.c (clear_verb_cb): New.
(setup_standard_verbs): New.
(e_search_bar_set_ui_component): Call it if a new
BonoboUIComponent is set.
(append_xml_menu_item): New helper function.
(update_bonobo_menus): Use it. Also add a "Clear" menu item.
(e_search_bar_construct): @menu_items can be NULL now.
(e_search_bar_new): Same here.
(set_menu): Work with NULL items.
* e-filter-bar.c (menubar_activated): Don't handle
E_FILTERBAR_RESET_ID anymore.
* e-filter-bar.h: Remove `E_FILTERBAR_RESET_ID' and `E_FILTERBAR_RESET'.
* folder-browser.c: Remove E_FILTERBAR_RESET menu entry.
* gui/cal-search-bar.c: Removed `search_menu_items'.
(cal_search_bar_menu_activated): Removed.
(cal_search_bar_class_init): Don't install.
(cal_search_bar_construct): No menu items here.
* gui/component/addressbook.c (addressbook_menu_activated):
Removed.
(addressbook_factory_new_control): Don't connect anymore, as this
signal has been removed from the ESearchBar.
(addressbook_factory_new_control): No more custom menu items here.
svn path=/trunk/; revision=16194
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-15 Jeffrey Stedfast <fejj@ximian.com>
* gui/widgets/e-addressbook-view.c (table_right_click): Update to
use new EPopupMenu API.
* gui/widgets/e-addressbook-reflow-adapter.c
(e_addressbook_reflow_adapter_right_click): Update to use new
EPopupMenu API.
* gui/component/select-names/e-select-names.c
(section_right_click_cb): Update to match new EPopupMenu api.
svn path=/trunk/; revision=16183
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* e-search-bar.c (init): Init various members to NULL.
(set_dropdown): Removed.
(add_dropdown): Removed.
(set_menu): New.
(add_menu_items): New.
(set_option): No need to setup the dropdown size here anymore.
(verb_cb): Function implementing the search menu verbs.
(update_bonobo_menus): New.
(e_search_bar_set_ui_component): New.
* e-search-bar.h: Remove the dropdown button stuff from struct
ESearchBar. Add `uic' and `items' members.
* e-filter-bar.c (e_filter_bar_new): Get a @uic arg.
* folder-browser-factory.c (control_activate): Set the UI
component on the search bar.
* gui/tasks-control.c (tasks_control_activate): Call
`e_tasks_set_ui_component()' here to give it the
BonoboUIComponent.
(tasks_control_deactivate): Likewise, call it here to unset the
BonoboUIComponent.
* gui/e-tasks.c (e_tasks_set_ui_component): New.
* gui/calendar-commands.c (calendar_control_activate): Call
gnome_calendar_set_ui_component() here.
(calendar_control_deactivate): ...And here, with a NULL
BonoboUIComponent.
* gui/gnome-cal.c (gnome_calendar_set_ui_component): New.
* gui/component/addressbook.c (control_activate): Call
`e_search_bar_set_ui_component()' to set the BonoboUIComponent for
the search bar.
* gui/component/GNOME_Evolution_Addressbook.oaf.in: Add an icon
for the LDAP sources configuration control.
svn path=/trunk/; revision=16178
|
|
|
|
|
|
|
| |
* gui/component/GNOME_Evolution_Addressbook.oaf.in: Add an icon
for the LDAP sources configuration control.
svn path=/trunk/; revision=16143
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook.c: Remove verb "AddressbookConfig".
(config_cb): Removed.
* gui/component/addressbook-config.c: Remove `dialog' member from
`AddresbookDialog'. Instead, add a `config_control' member.
(config_control_new): New.
(addressbook_config): Removed.
(addressbook_config_register_factory): New.
(config_control_factory_fn): New, factory function for the
ConfigControl page.
(addressbook_source_edit_changed): Don't change the sensitivity of
the dialog. Rather, invoke ::changed on the ConfigPage.
(auth_checkbutton_changed): No need to manually change the
sensitiviness of the buttons here either.
(add_source_clicked): Likewise, just invoke
evolution_config_control_changed().
(edit_source_clicked): Likewise.
(addressbook_dialog_close): Removed.
(config_control_destroy_callback): New, callback for when the
config control gets destroyed.
(addressbook_dialog_apply): Removed.
(config_control_apply_callback): New callback for
EvolutionConfigControl::apply.
(addressbook_dialog_ok): Removed.
(addressbook_config_control_new): Set up ->config_control and
connect the signals.
* gui/component/addressbook-config.glade: Call the main hbox in
the addressbook_sources dialog `addressbook_sources_main_hbox'.
* gui/component/addressbook-component.c (owner_set_cb): Call
`addresbook_config_register_factory'.
* gui/component/GNOME_Evolution_Addressbook.oaf.in: Add items for
OAFIID:GNOME_Evolution_Addresbook_ConfigControl and
OAFIID:GNOME_Evolution_Addressbook_ConfigControlFactory.
svn path=/trunk/; revision=16136
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-11 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names.c (update_query):
change contains x-evolution-any-field to beginswith on email,
full_name, and nickname. faster, and more applicable to this
dialog.
svn path=/trunk/; revision=16103
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-09 Chris Toshok <toshok@ximian.com>
* backend/idl/addressbook.idl: add TLSNotAvailable to
BookLister_CallStatus.
* backend/ebook/e-book-types.h: add TLS_NOT_AVAILABLE to the EBookStatus enum.
* backend/ebook/e-book-listener.c
(e_book_listener_convert_status): add TLS_NOT_AVAILABLE to the
switch.
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_get_static_capabilities): fix name.
(pas_backend_ldap_class_init): fix name.
(pas_backend_ldap_connect): change return type to CallStatus so we
can return different errors from here. Also, do STARTTLS if the
user has asked for it and the connection supports it, returning
TLSNotAvailable (and close the connection) if they chose to
require it.
(pas_backend_ldap_load_uri): return pas_backend_ldap_connect.
(func_beginswith): pull in change from evolution-1-0-branch to
make full_name beginswith search both cn and sn.
svn path=/trunk/; revision=16005
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-09 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-view.c (jump_to_letter): since I've
gone ahead and made the file backend (by way of
pas-backend-card-sexp.c) use case insensitive searches for
beginswith, there's no need to list upper and lower case here.
* gui/component/addressbook.c (addressbook_search_option_items):
reorder things to put "Any field contains" at the end, since it's
the least efficient search. Also reorder the enum to the same
ordering. Change "Name contains" to "Name begins with" and change
"Email contains" to "Email is".
(addressbook_search_activated): change FULL_NAME to beginswith,
and change EMAIL to is to match the labels.
* backend/pas/pas-backend-card-sexp.c (compare_name): new
function, so we can compare both full and family names (so
beginswith can operate on them both.)
(endswith_helper): use e_utf8_strstrcase here, since all the
backends backends use case insensitive searching.
(func_endswith): same.
svn path=/trunk/; revision=16004
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-07 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-book.c (pas_book_queue_create_card): track
union/struct change.
(pas_book_queue_remove_card): same.
(pas_book_queue_modify_card): same.
(pas_book_queue_get_cursor): same.
(pas_book_queue_get_vcard): same.
(pas_book_queue_authenticate_user): same.
(pas_book_queue_get_book_view): same.
(pas_book_queue_get_changes): same.
(pas_book_free_request): new function - free everything we need to
for each type of request.
(pas_book_destroy): call pas_book_free_request here instead of
just freeing 3 elements of the old struct. yay plugging memleaks.
* backend/pas/pas-book.h: make PASRequest a union and split out
members into structs, so it's a little clearer which fields are
used by which requests. Also, add prototype for
pas_book_free_request so backends can just free everything at once
(usually in their requests_queued signal func.)
* backend/pas/pas-backend-file.c
(pas_backend_file_process_create_card): track struct/union change.
(pas_backend_file_process_remove_card): same.
(pas_backend_file_process_modify_card): same.
(pas_backend_file_build_cards_list): same.
(pas_backend_file_process_get_vcard): same.
(pas_backend_file_process_get_cursor): same.
(pas_backend_file_process_get_book_view): same.
(pas_backend_file_process_get_changes): same.
(pas_backend_file_process_check_connection): same.
(pas_backend_file_process_authenticate_user): same.
(pas_backend_file_process_get_supported_fields): same.
(pas_backend_file_process_client_requests): case the union to the
specific struct and pass it to the process_* functions. also,
call pas_book_free_request here, instead of relying on each of the
functions to free their stuff.
svn path=/trunk/; revision=15987
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook-storage.c
(addressbook_get_other_contact_storage): Update for
evolution_storage_new() change.
svn path=/trunk/; revision=15966
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-05 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-minicard-view-widget.c
(e_minicard_view_widget_realize): don't set "editable" here, as
the way things work the backend isn't able to override a setting
from the UI, so writable books never show up as writable.
svn path=/trunk/; revision=15917
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-04 Chris Toshok <toshok@ximian.com>
[fixes bug #20871]
* gui/component/select-names/select-names.glade: add the
status-message label.
* gui/component/select-names/e-select-names.h (struct
_ESelectNames): add status_message field.
* gui/component/select-names/e-select-names.c (status_message):
new function, set the label's text from the message.
(e_select_names_init): get the status-message label, and if it's
valid, connect to the status_message signal of the
EAddressbookModel.
svn path=/trunk/; revision=15913
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-28 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_search): don't
ref the view here, since it keeps the view alive until the search
is over, which we don't want. we want the view's death to cancel
the search. This speeds up starting new searches after one is
already active (since switching searches actually creates a new
book view and destroys the old one.)
(ldap_search_dtor): remove the matching unref here. The unref as
it was was incorrect anyway, and caused a crash (we needed
search_op->view, not op->view.)
svn path=/trunk/; revision=15877
|
|
|
|
|
|
|
|
| |
* backend/pas/pas-backend-file.c (pas_backend_file_search): move
card_count++ inside the if that checks to see if a card matches
(and adds the card to the list).
svn path=/trunk/; revision=15872
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-27 Chris Toshok <toshok@ximian.com>
[fixes bug #20690]
* backend/pas/pas-backend-ldap.c (func_and): the data arg is not
GList** anymore, it's PASBackendLDAPSExpData*, so use
ldap_data->list instead of *list.
(func_or): same.
(func_not): same.
(func_contains): same.
(func_is): same.
(func_endswith): same.
(func_beginswith): same, but also special case the beginswith
"fileAs" query type (the one used by the alphabet buttons on the
right hand side, so we can deal with entries that don't have
fileAs attributes, and return meaningful responses.)
(pas_backend_ldap_build_query): initialize the
PASBackendLDAPSExpData struct and pass that instead of &list.
Also, take the PASBackendLDAP arg to add to the struct in case we
need it at some point in the future.
(ldap_search_handler): pass in the PASBackendLDAP.
svn path=/trunk/; revision=15871
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-24 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook.c (addressbook_query_changed): only
handle the ESB_ADVANCED case here now. the actual query work is
done in addressbook_search_activated.
(addressbook_search_activated): split out all the searching
functionality here.
(addressbook_factory_new_control): hook up "search_activated" to
addressbook_search_activated.
svn path=/trunk/; revision=15828
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-24 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.c
(addressbook_source_dialog_set_source): make the right auth page
start up open.
* gui/component/addressbook-storage.c (addressbook_source_free):
free the binddn.
(addressbook_source_copy): copy the binddn;
svn path=/trunk/; revision=15819
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-22 Chris Toshok <toshok@ximian.com>
[ Fixes bugs 20740, 16680, and god knows what else :) ]
* gui/widgets/e-addressbook-model.c (create_card): double the
allocated size every time we need more space instead of using a
fixed size increment. this helps huge queries. Also, remove the
gtk_object_get of "file_as", as it was dead code.
(book_view_loaded): handle errors here (by popping up a dialog).
* backend/pas/pas-backend-ldap.c (view_destroy): search_idle ->
search_timeout.
(build_card_from_entry): comment out some spew, and unref ecard
when we're done to plug a memory leak.
(send_pending_adds): send along to the client all the cards we've
been saving up.
(poll_ldap): use a timeout for ldap_result to keep the backend
from blocking (and it turns out keep the frontend from hanging
waiting on a ref to complete) on large db's with few matches.
Also, add some fairly smart, self-tuning aggregating of cards.
Keep track of the number of cards we've sent the last time through
as well as this time, and estimate the number we want to aggregate
the next time based on them (we average them at the moment),
subject to maximum/minimum number of cards. also, we have a
maximum aggregation time, after which we force a flush if there
are pending cards and recalculate our target pending number.
there's a minimum wait time to possibly keep outselves from
spamming the ui, although it's 0 at the moment.
Lastly, make sure to only notify the GUI of status messages when
we need to. this results in a *huge* savings.
(ldap_search_handler): initialize all the pending card stuff, and
use a timeout instead of an idle function for poll_ldap.
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_queue_response): performance optimization
for large adds. If we're a CardAddedEvent and there's an existing
CardAddedEvent at the end of the queue, just concat the lists of
cards together. This is to keep the gui from falling further and
further behind the ldap backend, which is merrily spewing updates
at the gui.
svn path=/trunk/; revision=15807
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/Makefile.am: Define $(iconsdir).
* gui/component/addressbook-component.c (add_creatable_item): New
helper function.
(create_component): Add the icons for the user creatable items as
well.
svn path=/trunk/; revision=15789
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-20 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-file.c (pas_backend_file_load_uri):
track change to signature, and (for now) just change all the
return FALSE's to _RepositoryOffline (what FALSE used to map to in
pas_book_factory_process_request), and change TRUE to _Success.
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_load_uri):
track change to signature, and differentiate between
pas_backend_ldap_connect failing (RepositoryOffline), and
ldap_url_parse failing (OtherError).
* backend/pas/pas-book-factory.c
(pas_book_factory_process_request): since pas_backend_load_uri
returns status now, use it to nodify the BookListener if there's a
failure.
* backend/pas/pas-backend.c (pas_backend_load_uri): track change
to signature.
* backend/pas/pas-backend.h: change return type of
pas_backend_load_uri to
GNOME_Evolution_Addressbook_BookListener_CallStatus to allow
differentiation between failure types.
* backend/ebook/e-book-listener.c
(e_book_listener_convert_status): handle _AUTHENTICATION_FAILED.
* backend/ebook/e-book-types.h (EBookStatus): add
_AUTHENTICATION_FAILED.
svn path=/trunk/; revision=15779
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-18 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-book-factory.c
(pas_book_factory_process_request): if the load_uri fails, notify
the listener that the repository is offline. (partial fix for bug
20347)
svn path=/trunk/; revision=15758
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-18 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (create_dn_from_ecard): escape
commas in the dn, since they're used by ldap to specify the node's
placement in the tree. (fixes bug 20089)
(rfc2254_escape): just use sprintf and %02X instead.
svn path=/trunk/; revision=15756
|
|
|
|
|
|
|
|
|
| |
2002-02-13 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c (set_book): Keep a
ref of the model in this case as well.
svn path=/trunk/; revision=15716
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-13 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c (set_book): Make
sure to only set the query once when creating a new book and not
at all on addressbook model creation. This prevents an accidental
pair of changes from making the addressbook model load a remote
addressbook.
* gui/widgets/e-addressbook-model.c (get_view): If this is the
first_get_view and the addressbook is remote, empty the view
instead of leaving it in the state it used to be in. This only
occurs if you set the book after the model has existed for a
while.
(e_addressbook_model_set_arg): When setting the book, set
first_get_view to TRUE.
svn path=/trunk/; revision=15715
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-13 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-addressbook-view.c (display_view): Attach to the
emvw instead of the emv here.
* gui/widgets/e-minicard-view-widget.c, e-minicard-view-widget.h:
Made this object have a "column_width" argument and a
"column_width_changed" signal which are a simple layer down to the
EMinicardView contained within.
* gui/widgets/gal-view-minicard.c, gui/widgets/gal-view-minicard.h
(gal_view_minicard_attach): Made this attach to an
EMinicardViewWidget instead of a EMinicardView.
svn path=/trunk/; revision=15714
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-13 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-book-util.c, backend/ebook/e-book-util.h
(e_book_expand_uri, e_book_load_address_book_by_uri,
e_book_use_address_book_by_uri): New functions that take a file://
url ending in the directory name and automatically append the
addressbook.db and do the appropriate thing.
* backend/pas/pas-backend-card-sexp.c,
backend/pas/pas-backend-card-sexp.h: Added copyright notice here.
* gui/component/addressbook-component.c
(destination_folder_handle_drop), gui/component/addressbook.c
(set_prop): Use e_book_expand_uri instead of
addressbook_expand_uri.
* gui/component/addressbook-storage.c: Fixed the fcntl include
here.
* gui/component/addressbook.c (ContactsCopyToFolder,
ContactsMoveToFolder): Added handlers for these two verbs.
* gui/component/addressbook.h: Removed addressbook_expand_uri in
favor of e_book_expand_uri.
* gui/widgets/e-addressbook-reflow-adapter.c (transfer_cards):
Added code to handle Move to and Copy to right click menu items.
* gui/widgets/e-addressbook-util.c,
gui/widgets/e-addressbook-util.h (e_addressbook_transfer_cards):
New function to pop up a dialog and transfer a set of cards to the
given folder.
* gui/widgets/e-addressbook-view.c,
gui/widgets/e-addressbook-view.h (display_view): Don't attach to
the view if it doesn't exist yet. We have to make this then
attach later.
(e_addressbook_view_copy_to_folder,
e_addressbook_view_move_to_folder): New functions utilizing
e_addressbook_transfer_cards.
(table_right_click): Add copy_to_folder and move_to_folder to the
right click menu for tables here.
(e_addressbook_view_discard_menus): Handle menu unmerging here.
* gui/widgets/e-minicard-view-widget.h (struct
_EMinicardViewWidget): Removed unused field.
svn path=/trunk/; revision=15711
|