2003-04-19 Chris Toshok <toshok@ximian.com>
[ fixes bug #40954 ]
* backend/pas/pas-backend-file.c (pas_backend_file_dispose): guard
against NULL bf->priv->summary (happens if the initial load_uri
failed).
(pas_backend_file_load_uri): always set bf->priv->uri, since it's
used in _get_uri, which is called when the backend goes away.
This only happened before if you tried to load a folder that
didn't exist.
svn path=/trunk/; revision=20898
* gui/component/GNOME_Evolution_Addressbook.server.in.in: Clean up
server names.
* gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in:
Likewise
* backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in:
Likewise. Also mark the evolution:menu_name for i18n.
* backend/ebook/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in:
Likewise
svn path=/trunk/; revision=20704
2003-03-31 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book-util.c (get_local_book_uri): new function,
just return the local uri.
(set_default_book_uri_local): use get_local_book_uri.
(e_book_default_book_open): only try and reload the default book
if it's not already the local book.
svn path=/trunk/; revision=20610
2003-03-30 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-vcard.[ch]: braindead, and *extremely* forgiving
vcard parser. not for public consumption yet.
svn path=/trunk/; revision=20589
2003-03-28 Chris Toshok <toshok@ximian.com>
[ fixes bug #40403 ]
* backend/ebook/e-card.c (e_card_get_vobject): revert the fix for
28945, as was done on the 1.2 branch. this is because the "fix"
actually breaks internal use of contact lists. We need to make
the exporting of contacts DTRT, instead of fixing it here.
svn path=/trunk/; revision=20568
2003-03-28 Chris Toshok <toshok@ximian.com>
[ fix the contact editor so that the only time the address is
parsed is when the user types in the address GtkTextView. ]
* gui/contact-editor/e-contact-editor.c (address_mailing_changed):
make this use delivery addresses instead of labels.
(full_addr_clicked): same.
(find_address_mailing): same.
* backend/ebook/e-card-simple.c
(e_card_simple_set_delivery_address): make this operate similar to
e_card_simple_set_address: it sets both the delivery address and
the label for the address.
svn path=/trunk/; revision=20567
2003-03-26 Chris Toshok <toshok@ximian.com>
[ fixes bug #19178 ]
* backend/ebook/evolution-ldif-importer.c (ebook_open): use
e_book_load_address_book_by_uri on the passed in uri.
(load_file_fn): pass the uri.
* backend/ebook/evolution-vcard-importer.c (ebook_open): use
e_book_load_address_book_by_uri on the passed in uri.
(load_file_fn): pass the uri.
svn path=/trunk/; revision=20543
* backend/ebook/e-card.c (e_card_list_send, e_card_send): Remove
these from here; talking to the mailer doesn't really belong at
the libebook level anyway.
* backend/ebook/Makefile.am: Remove Evolution-Composer CORBA
stuff, which fixes some linking problems on OS X.
* gui/widgets/e-addressbook-util.c (e_addressbook_send_card_list,
e_addressbook_send_card): Move from e-card.c and rename.
* gui/widgets/Makefile.am: move Evolution-Composer CORBA stuff
here
* gui/widgets/e-addressbook-view.c (send_as, send_to,
e_addressbook_view_send, e_addressbook_view_send_to): Update for
new function names.
* gui/contact-list-editor/e-contact-list-editor.c (file_send_as_cb,
file_send_to_cb): Likewise
* gui/contact-editor/e-contact-editor.c (file_send_as_cb,
file_send_to_cb): Likewise
svn path=/trunk/; revision=20103
2003-02-26 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book.c (e_book_load_uri): if we fail to activate
factories for a given protocol, return.
* gui/component/ldap-config.glade: remove the two unused custom
widgets to cut down on gtk warning spam.
svn path=/trunk/; revision=20080
2003-02-16 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-file.c
(pas_backend_file_search_timeout): move the bulk of the
non-summary searching stuff here. we aggregate up to our
threshold, then send them to the front end and register a timeout
to do another batch. This keeps us from totally spamming the UI,
making things a bit more responsive.
(pas_backend_file_search): set up the closure and call the timeout
in an idle func.
svn path=/trunk/; revision=19920
* backend/ebook/Makefile.am: Install load-pine-addressbook and
load-gnomecard-addressbook into ${privdatadir}/tools. Install
evolution-vcard-importer and evolution-ldif-importer into
${privlibexecdir}.
* backend/ebook/GNOME_Evolution_Addressbook_VCard_Importer.server.in:
Removed.
* backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.server.in:
Removed.
* backend/ebook/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in:
New. Specify an absolute path for the executable, using
@LIBEXECDIR@.
* backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in:
Likewise.
svn path=/trunk/; revision=19870
2003-02-09 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(sexp_initials): gone.
(match_initials): gone.
(book_query_sexp): remove the primary handling.
(book_query_score): same.
* backend/ebook/e-card.c (e_card_set_property):
g_value_get_pointer => g_value_get_object for "category_list".
* backend/ebook/e-book.c (struct _EBookPrivate): add a comment.
* backend/pas/pas-backend-ldap.c (func_beginswith): performance at
the cost of a tiny bit of correctness. If the ldap server doesn't
support evolutionPerson don't query on fileAs, use sn (since
that's effectively what gets used in the display when fileAs isn't
supported.)
svn path=/trunk/; revision=19863
2003-02-08 Chris Toshok <toshok@ximian.com>
[ huge change, all for 1 little performance problem :) fixes#18207 ]
* gui/widgets/e-addressbook-model.c (get_view): use
e_book_check_static_capability here to make things a little
prettier.
(remove_card): complain about my life, and add code to use one
"model_changed" signal if we get back a list of cards instead of
multiple "card_removed" signals.
* gui/widgets/e-addressbook-model.h: little clean up.
* gui/widgets/e-addressbook-view.c (delete): write a bulk-remove
case for this. if the backend supports it, send all the ids at
once. otherwise loop over the ids.
(e_addressbook_view_delete_selection): fake a CardAndBook
structure and call delete, instead of duplicating the code in 2
places.
* gui/component/addressbook.c (delete_contact_cb): don't call
e_contact_editor_confirm_delete here, it's handled by the
EAddressbookView.
* backend/pas/pas-card-cursor.c (pas_card_cursor_construct): fix a
compiler warning about a stupid crash.
* backend/pas/pas-book.h (PASOperation): RemoveCard ->
RemoveCards.
(PASRemoveCardsReques): char *id -> GList *ids.
(PASRequest): PASRemoveCardRequest -> PASRemoveCardsRequest.
* backend/pas/pas-book.c (pas_book_queue_remove_cards): build up a
GList from the id sequence.
(pas_book_respond_remove): notifyCardRemoved ->
notifyCardsRemoved.
(impl_GNOME_Evolution_Addressbook_Book_removeCards): rename.
(pas_book_free_request): free the idlist for RemoveCards.
(pas_book_class_init): removeCard -> removeCards.
* backend/pas/pas-book-view.h: change prototype for
pas_book_view_notify_remove, and add prototype for
pas_book_view_notify_remove_1.
* backend/pas/pas-book-view.c (pas_book_view_notify_remove_1):
build up a list and call pas_book_view_notify_remove.
(pas_book_view_notify_remove): build up the corba id sequence and
call BookViewListener::notifyCardsRemoved.
* backend/pas/pas-backend.h: remove_card -> remove_cards.
* backend/pas/pas-backend.c (pas_backend_remove_cards): rename
from _remove_card.
(process_client_requests): RemoveCard -> RemoveCards and
_remove_card -> _remove_cards.
* backend/pas/pas-backend-ldap.c (check_schema_support):
g_strcasecmp -> g_ascii_strcasecmp.
(remove_card_handler): _remove => _remove_1.
(modify_card_modify_handler): same.
(pas_backend_ldap_process_remove_cards): rename from _remove_card.
(pas_backend_ldap_class_init): _remove_card -> _remove_cards.
* backend/pas/pas-backend-file.c (pas_backend_file_class_init):
remove_card -> remove_cards.
(pas_backend_file_get_static_capabilities): add "bulk-removes".
(pas_backend_file_process_remove_cards): rewrite this function
largely, so that it handles lists of ids. first we loop through
and for every successful deletion we build a list of deleted
ECards. Then for each view we build a list (a subset of the
deleted ECard list) and pass back that list to the view.
(pas_backend_file_process_modify_card): use _remove_1 instead of
_remove.
(ecard_matches_search): new function.
* backend/pas/pas-backend-card-sexp.c
(pas_backend_card_sexp_match_vcard): rewrite in terms of
_match_ecard.
(pas_backend_card_sexp_match_ecard): new function, the guts from
_match_vcard.
* backend/pas/pas-backend-card-sexp.h: add prototype for
pas_backend_card_sexp_match_ecard.
* backend/idl/addressbook.idl: the card removal stuff now takes
CardIdList.
* backend/ebook/e-book.c (e_book_get_static_capabilities): cache
successful capability queries (since they're static).
(e_book_check_static_capability): new, convenience function to
check if a particular capability is supported.
(e_book_remove_card_by_id): build a single element GList and call
e_book_remove_cards.
(e_book_remove_cards): build up a CORBA sequence from the GList
and call Book::removeCards.
(e_book_dispose): free the cached capabilities string.
* backend/ebook/e-book.h: add new prototypes for
e_book_check_static_capability and e_book_remove_cards.
* backend/ebook/e-book-view.h (struct _EBookViewClass): rename
"card_removed" signal to "cards_removed".
* backend/ebook/e-book-view.c (e_book_view_do_removed_event): id
-> ids, and free the id list.
(e_book_view_check_listener_queue): CardRemovedEvent ->
CardsRemovedEvent.
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_queue_response): free the id list.
(e_book_view_listener_queue_idlist_event): new function, used for
cards_removed.
(e_book_view_listener_queue_status_event): id -> ids.
(e_book_view_listener_queue_sequence_event): same.
(e_book_view_listener_queue_message_event): same.
(impl_BookViewListener_notify_cards_removed): call
queue_idlist_event.
(e_book_view_listener_dispose): free the id list.
(e_book_view_listener_class_init): track change to idl call.
* backend/ebook/e-book-view-listener.h
(EBookViewListenerOperation): CardRemovedEvent ->
CardsRemovedEvent.
(EBookViewListenerResponse): char *id -> GList *ids.
* backend/ebook/e-book-listener.c
(impl_BookListener_respond_r
svn path=/trunk/; revision=19854
2003-02-08 Chris Toshok <toshok@ximian.com>
[ huge change, all for 1 little performance problem :) fixes#18207 ]
* gui/widgets/e-addressbook-model.c (get_view): use
e_book_check_static_capability here to make things a little
prettier.
(remove_card): complain about my life, and add code to use one
"model_changed" signal if we get back a list of cards instead of
multiple "card_removed" signals.
* gui/widgets/e-addressbook-model.h: little clean up.
* gui/widgets/e-addressbook-view.c (delete): write a bulk-remove
case for this. if the backend supports it, send all the ids at
once. otherwise loop over the ids.
(e_addressbook_view_delete_selection): fake a CardAndBook
structure and call delete, instead of duplicating the code in 2
places.
* gui/component/addressbook.c (delete_contact_cb): don't call
e_contact_editor_confirm_delete here, it's handled by the
EAddressbookView.
* backend/pas/pas-card-cursor.c (pas_card_cursor_construct): fix a
compiler warning about a stupid crash.
* backend/pas/pas-book.h (PASOperation): RemoveCard ->
RemoveCards.
(PASRemoveCardsReques): char *id -> GList *ids.
(PASRequest): PASRemoveCardRequest -> PASRemoveCardsRequest.
* backend/pas/pas-book.c (pas_book_queue_remove_cards): build up a
GList from the id sequence.
(pas_book_respond_remove): notifyCardRemoved ->
notifyCardsRemoved.
(impl_GNOME_Evolution_Addressbook_Book_removeCards): rename.
(pas_book_free_request): free the idlist for RemoveCards.
(pas_book_class_init): removeCard -> removeCards.
* backend/pas/pas-book-view.h: change prototype for
pas_book_view_notify_remove, and add prototype for
pas_book_view_notify_remove_1.
* backend/pas/pas-book-view.c (pas_book_view_notify_remove_1):
build up a list and call pas_book_view_notify_remove.
(pas_book_view_notify_remove): build up the corba id sequence and
call BookViewListener::notifyCardsRemoved.
* backend/pas/pas-backend.h: remove_card -> remove_cards.
* backend/pas/pas-backend.c (pas_backend_remove_cards): rename
from _remove_card.
(process_client_requests): RemoveCard -> RemoveCards and
_remove_card -> _remove_cards.
* backend/pas/pas-backend-ldap.c (check_schema_support):
g_strcasecmp -> g_ascii_strcasecmp.
(remove_card_handler): _remove => _remove_1.
(modify_card_modify_handler): same.
(pas_backend_ldap_process_remove_cards): rename from _remove_card.
(pas_backend_ldap_class_init): _remove_card -> _remove_cards.
* backend/pas/pas-backend-file.c (pas_backend_file_class_init):
remove_card -> remove_cards.
(pas_backend_file_get_static_capabilities): add "bulk-removes".
(pas_backend_file_process_remove_cards): rewrite this function
largely, so that it handles lists of ids. first we loop through
and for every successful deletion we build a list of deleted
ECards. Then for each view we build a list (a subset of the
deleted ECard list) and pass back that list to the view.
(pas_backend_file_process_modify_card): use _remove_1 instead of
_remove.
(ecard_matches_search): new function.
* backend/pas/pas-backend-card-sexp.c
(pas_backend_card_sexp_match_vcard): rewrite in terms of
_match_ecard.
(pas_backend_card_sexp_match_ecard): new function, the guts from
_match_vcard.
* backend/pas/pas-backend-card-sexp.h: add prototype for
pas_backend_card_sexp_match_ecard.
* backend/idl/addressbook.idl: the card removal stuff now takes
CardIdList.
* backend/ebook/e-book.c (e_book_get_static_capabilities): cache
successful capability queries (since they're static).
(e_book_check_static_capability): new, convenience function to
check if a particular capability is supported.
(e_book_remove_card_by_id): build a single element GList and call
e_book_remove_cards.
(e_book_remove_cards): build up a CORBA sequence from the GList
and call Book::removeCards.
(e_book_dispose): free the cached capabilities string.
* backend/ebook/e-book.h: add new prototypes for
e_book_check_static_capability and e_book_remove_cards.
* backend/ebook/e-book-view.h (struct _EBookViewClass): rename
"card_removed" signal to "cards_removed".
* backend/ebook/e-book-view.c (e_book_view_do_removed_event): id
-> ids, and free the id list.
(e_book_view_check_listener_queue): CardRemovedEvent ->
CardsRemovedEvent.
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_queue_response): free the id list.
(e_book_view_listener_queue_idlist_event): new function, used for
cards_removed.
(e_book_view_listener_queue_status_event): id -> ids.
(e_book_view_listener_queue_sequence_event): same.
(e_book_view_listener_queue_message_event): same.
(impl_BookViewListener_notify_cards_removed): call
queue_idlist_event.
(e_book_view_listener_dispose): free the id list.
(e_book_view_listener_class_init): track change to idl call.
* backend/ebook/e-book-view-listener.h
(EBookViewListenerOperation): CardRemovedEvent ->
CardsRemovedEvent.
(EBookViewListenerResponse): char *id -> GList *ids.
* backend/ebook/e-book-listener.c
(impl_BookListener_respond_remove_cards): rename from remove_card.
svn path=/trunk/; revision=19853
2003-02-06 Chris Toshok <toshok@ximian.com>
* gui/component/e-address-popup.c (email_table_save_card_cb):
check the status, not the book, and unref the book here.
(contact_editor_cb): same.
(start_query): unref the book in the failure case.
(add_card_idle_cb): addressbook_load_default_book returns void
now.
(edit_contact_info_cb): same.
(e_address_popup_query): same.
* gui/component/addressbook.c (control_activate_cb): track change
to addressbook_load_uri return type.
(set_prop): same.
(addressbook_load_uri): return type is void now.
(addressbook_load_default_book): same.
* gui/component/addressbook.h:
addressbook_load_uri/addressbook_load_default_book return void
now.
* conduit/address-conduit.c (start_addressbook_server):
e_book_load_default_book returns void now.
* backend/ebook/e-book-util.h: track changes to return types.
* backend/ebook/e-book-util.c (e_book_load_address_book_by_uri):
fallout from change to e_book_load_uri. return type for this
function is void now too.
(e_book_use_address_book_by_uri): same.
(e_book_use_default_book): same.
(e_book_load_default_book): same.
(got_uri_book_cb): if unsuccessful and book is non-NULL, unref it
here.
(got_default_book_cb): same.
* backend/ebook/e-book.c (e_book_load_uri): no longer return a
gboolean. any error is communicated to the callback.
* backend/ebook/e-book.h: e_book_load_uri no longer returns a
gboolean (it's void.)
* backend/ebook/evolution-ldif-importer.c (ebook_create): track
change to the e_book_load_uri family of functions.
* backend/ebook/test-client-list.c (ebook_create): same.
* backend/ebook/test-client.c (ebook_create): same.
* backend/ebook/load-pine-addressbook.c (ebook_create): same.
* backend/ebook/evolution-vcard-importer.c (ebook_create): same.
svn path=/trunk/; revision=19839
* backend/ebook/Makefile.am (e-book-marshal.c, e-book-marshal.h):
Use different tmp file names so these rules can be executed in
parallel without interfering with each otehr.
* backend/pas/Makefile.am: Make the ORBit compilation work
properly with parallel makes (i.e. make sure it does not spawn
multiple orbit-idl processes on the same IDL file at the same
time).
* gui/component/select-names/Makefile.am: Likewise.
* backend/ebook/Makefile.am: Likewise.
svn path=/trunk/; revision=19834
2003-01-23 Chris Toshok <toshok@ximian.com>
[ fixes bug #31014, roll this in from the 1.2 branch ]
* backend/pas/pas-backend-ldap.c: use "categories" instead of
"category" for the ECard field so the UI/get_supported_fields stuff
actually thinks its usable in the contact editor..
svn path=/trunk/; revision=19599
2003-01-23 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_connect): fix
for bug 34883 broke ssl transactions (at least those where we were
connecting to port 636). Move it to after the SSL stanza.
svn path=/trunk/; revision=19598
* gui/component/select-names/Makefile.am (gladedir): Version using
$(BASE_VERSION).
(etspecdir): Likewise.
(iconsdir): Likewise.
* gui/contact-list-editor/Makefile.am (iconsdir): Version using
$(BASE_VERSION).
(gladedir): Likewise.
* gui/merging/Makefile.am (gladedir): Version using $(BASE_VERSION).
* gui/search/Makefile.am (ruledir): Version using $(BASE_VERSION).
* gui/component/Makefile.am (INCLUDES): Update EVOLUTION_IMAGESDIR
to be versioned through $(BASE_VERSION).
* gui/widgets/e-addressbook-view.c (init_collection): Use
EVOLUTION_GALVIEWSDIR.
* gui/widgets/Makefile.am (INCLUDES): Define EVOLUTION_GALVIEWSDIR
and update EVOLUTION_IMAGESDIR.
svn path=/trunk/; revision=19551
2003-01-15 Chris Toshok <toshok@ximian.com>
* backend/ebook/Makefile.am (bin_PROGRAMS): reenable all the
importers/loaders.
* backend/ebook/evolution-ldif-importer.c,
backend/ebook/evolution-vcard-importer.c: Finish gnome2 port
issues, and get these to compile.
* backend/ebook/load-gnomecard-addressbook.c,
backend/ebook/load-pine-addressbook.c: same.
svn path=/trunk/; revision=19485
2003-01-09 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook.c (control_activate_cb): try to load
the uri again if it failed previously.
(book_open_cb): set failed_to_load based on the response.
(set_prop): initialize failed_to_load to FALSE before we kick off
the first load.
* backend/pas/pas-book-factory.c
(pas_book_factory_process_request): if the load_uri fails, remove
it from the hashtable and free it, so we'll try to load it again
from scratch the next time it's requested instead of serving up a
backend that doesn't function.
* backend/pas/pas-backend.c (pas_backend_get_uri): we need to be
able to get the uri from backends that aren't loaded (so we can
remove them from the hashtable.)
svn path=/trunk/; revision=19392
2003-01-09 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (query_ldap_root_dse): build up
the list of supported auth_methods.
(pas_backend_ldap_process_get_supported_auth_methods): respond
with the list of auth methods we've built up.
(pas_backend_ldap_dispose): unref the auth_method list.
(pas_backend_ldap_class_init): hook up
pas_backend_ldap_process_get_supported_auth_methods.
* backend/pas/pas-backend.c
(pas_backend_get_supported_auth_methods): new function.
(process_client_requests): add clause for GetSupportedAuthMethods.
* backend/pas/pas-backend.h: add prototype for
pas_backend_get_supported_auth_methods, and add it to the class
vtable.
* backend/pas/pas-book.h: add GetSupportedAuthMethods enum member
and PASGetSupportedAuthMethodsRequest. and add prototype for
pas_book_respond_get_supported_auth_methods.
* backend/pas/pas-book.c
(pas_book_queue_get_supported_auth_methods): new function.
(impl_GNOME_Evolution_Addressbook_Book_getSupportedAuthMethods):
new function.
(pas_book_respond_get_supported_auth_methods): new function.
(pas_book_free_request): add clause for GetSupportedAuthMethods.
(pas_book_class_init): hook up getSupportedAuthMethods.
* backend/ebook/e-book-listener.c
(e_book_listener_queue_get_supported_fields_response): fields ->
list.
(e_book_listener_queue_get_supported_auth_methods_response): new
function.
(impl_BookListener_response_get_supported_auth_methods): new
function.
(e_book_listener_class_init): hook up
epv->notifySupportedAuthMethods.
* backend/ebook/e-book-listener.h: add
GetSupportedAuthMethodsResponse enum member, and change the field
name from "fields" to list (and use it for both GetSupportedFields
and GetSupportedAuthMethods)
* backend/ebook/e-book.c (e_book_get_supported_auth_methods): new
function.
(e_book_do_response_get_supported_auth_methods): new function.
* backend/ebook/e-book.h: add prototype for
e_book_get_supported_auth_methods.
* backend/idl/addressbook.idl: add getSupportedAuthMethods IDL
call.
svn path=/trunk/; revision=19386
2003-01-09 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-book-factory.c (backend_last_client_gone_cb):
deal with backends that might not have loaded successfully
(they'll have a NULL uri).
svn path=/trunk/; revision=19385
existing backends do it exactly the same way. (Part of 32866).
* backend/pas/pas-backend.h (PASBackendClass): add new methods for
the various pas book requests.
* backend/pas/pas-backend.c: Add a clients list to
PASBackendPrivate.
(pas_backend_create_card, etc): Add these to invoke the new
methods.
(process_client_requests, book_destroy_cb): Moved here and
slightly rewritten from pas-backend-file.
(last_client_gone): Now static.
(add_client, remove_client): Default implementations, based on
pas-backend-file, that add the client to/remove it from the
backend's clients list and connect to its requests_queued signal.
(pas_backend_init, pas_backend_dispose): Deal with the clients
list.
* backend/pas/pas-backend-file.c (struct _PASBackendFilePrivate):
Remove GList *clients.
(pas_backend_file_process_client_requests,
pas_backend_file_book_destroy_db, pas_backend_file_add_client,
pas_backend_file_remove_client): Gone.
(pas_backend_file_class_init): Remove add_client/remove_client
method initializations, add initializations for processing the
various book requests.
* backend/pas/pas-backend-ldap.c (struct _PASBackendLDAPPrivate):
Remove GList *clients.
(pas_backend_ldap_process_create_card, etc): Make these take the
specific PAS*Request types rather than a generic PASRequest.
(pas_backend_ldap_process_client_requests,
pas_backend_ldap_book_destroy_db, pas_backend_ldap_add_client,
pas_backend_ldap_remove_client): Gone.
(pas_backend_ldap_class_init): Remove add_client/remove_client
method initializations, add initializations for processing the
various book requests.
svn path=/trunk/; revision=19287
2003-01-07 Chris Toshok <toshok@ximian.com>
* backend/pas/evolutionperson.schema: fix the SYNTAX for the
telephone attributes, and make the fax attributes more closely
mirror those from core.schema. Fixes the schema for openldap-2.1.
svn path=/trunk/; revision=19268
2002-12-18 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-minicard.c (e_minicard_realize): drop use of
"font" arg.
(get_left_width): use pango to calculate this instead of a GdkFont.
* gui/widgets/e-minicard-view.c: drop include of e-unicode.h.
* gui/widgets/e-minicard-label.c (e_minicard_label_construct):
don't need to create the font anymore.
* gui/search/Makefile.am (INCLUDES): add -D*_DISABLE_DEPRECATED.
* gui/search/e-addressbook-search-dialog.c
(e_addressbook_search_dialog_new): use g_object_new instead of
gtk_type_new.
* gui/merging/Makefile.am (INCLUDES): add -D*_DISABLE_DEPRECATED.
* gui/contact-list-editor/Makefile.am (INCLUDES): add
-D*_DISABLE_DEPRECATED.
* gui/contact-list-editor/e-contact-list-editor.c (is_named):
strdup (or not, if we don't need to save the value) instead of
using the e_utf8 functions.
(fill_in_info): same.
* gui/contact-editor/Makefile.am (INCLUDES): add
-D*_DISABLE_DEPRECATED.
* gui/contact-editor/e-contact-save-as.c (e_contact_save_as):
strdup (or not, if we don't need to save the value) instead of
using the e_utf8 functions.
(e_contact_list_save_as): same.
* gui/contact-editor/e-contact-quick-add.c (clicked_cb): strdup
(or not, if we don't need to save the value) instead of using the
e_utf8 functions.
(build_quick_add_dialog): same.
* gui/contact-editor/e-contact-editor.c (phone_entry_changed):
strdup (or not, if we don't need to save the value) instead of
using the e_utf8 functions.
(file_as_set_style): same.
(name_entry_changed): same.
(full_name_clicked): same.
(categories_clicked): same.
(set_field): same.
(fill_in_field): same.
(fill_in_single_field): same.
(extract_field): same.
(extract_single_field): same.
* gui/contact-editor/e-contact-editor-fullname.c (extract_field):
just strdup, it's already utf8.
* gui/contact-editor/e-contact-editor-address.c (extract_field):
they're all entries, use GTK_ENTRY foo here.
* gui/component/select-names/Makefile.am (INCLUDES): add
-D*_DISABLE_DEPRECATED.
* gui/component/select-names/e-select-names.c
(e_select_names_add_section): remove the extra
utf8_from_locale_string stuff.
* gui/component/select-names/e-select-names-popup.c
(set_uiinfo_label): gtk_container_children ->
gtk_container_get_children, and remove the extra utf8 stuff.
* gui/component/Makefile.am (INCLUDES): add
-D*_DISABLE_DEPRECATED.
* gui/component/addressbook-storage.c
(addressbook_storage_init_source_uri): g_string_sprintfa ->
g_string_append_printf.
* gui/component/addressbook-config.c (focus_help):
gtk_notebook_set_page -> gtk_notebook_set_current_page.
(addressbook_source_dialog_set_source): same.
(auth_optionmenu_activated): gtk_container_children ->
gtk_container_get_children.
(ssl_optionmenu_activated): same.
(ssl_optionmenu_selected): same, and gtk_notebook_set_page ->
gtk_notebook_set_current_page.
(scope_optionmenu_activated): same.
(set_advanced_button_state): same.
(addressbook_ldap_init): hook "response" to gtk_widget_destroy to
make the dialog go away when clicked.
(addressbook_ldap_auth): same.
(addressbook_root_dse_query): same.
(do_ldap_root_dse_query): same.
(addressbook_config_control_new): fix return type and cast.
(main): remove call to gtk_widget_push_visual.
* gui/component/addressbook-config.h:
addressbook_config_control_new returns a BonoboObject, not a
BonoboControl.
* gui/component/addressbook.c: remove e-unicode.h include.
* backend/pas/Makefile.am (INCLUDES): Add
-DLIBGNOME_DISABLE_DEPRECATED.
* backend/ebook/Makefile.am (INCLUDES): Add
-DLIBGNOME_DISABLE_DEPRECATED.
* backend/ebook/e-card.c (e_card_get_property): remove misleading
comment.
svn path=/trunk/; revision=19160
2002-12-17 Chris Toshok <toshok@ximian.com>
[ Fixes bug #35135 ]
* backend/ebook/e-book-util.c (set_default_book_uri_local): don't
free the default_book_uri here, it's done in set_default_book_uri.
(set_default_book_uri): break some stuff out from
set_default_book_uri_from_bonobo_conf to here so it can be used
both from that function and the bonobo listener.
(default_folder_listener): set the new default book uri.
(set_default_book_uri_from_bonobo_conf): install the bonobo conf
listener so we'll get updates.
svn path=/trunk/; revision=19148