| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
2001-11-02 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-simple.c (e_card_simple_get): Check for
NULL dates before converting them to strings. Fixes Ximian bug
#14394.
svn path=/trunk/; revision=14579
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 Joe Shaw <joe@ximian.com>
* configure.in: Require gal 0.15.99.8
* addressbook/backend/ebook/e-card-simple.c,
addressbook/gui/component/addressbook-storage.c,
addressbook/gui/widgets/e-addressbook-view.c,
calendar/gui/e-calendar-table.c,
calendar/gui/e-itip-control.c,
calendar/gui/e-meeting-model.c,
calendar/gui/itip-utils.c,
calendar/gui/print.c,
calendar/gui/alarm-notify/alarm-notify-dialog.c,
filter/rule-editor.c,
mail/mail-config.c,
mail/mail-folder-cache.c,
mail/mail-format.c,
mail/mail-local.c,
mail/mail-ops.c,
mail/mail-vfolder.c,
shell/e-local-storage.c,
shell/e-summary-storage.c: Change includes of
e-util/e-unicode-i18n.h to gal/util/e-unicode-i18n.h
svn path=/trunk/; revision=14427
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (add_objectclass_mod): overload
this function for modifying objectclasses too, so we can make sure
evolutionPerson shows up in the objectclasses of an entry if it
shows up in the schema for the server.
(create_card_handler): add @replace = FALSE in the call to
add_objectclass_mod.
(modify_card_handler): call add_objectclass_mod with @replace =
TRUE.
(anniversary_compare): fix typo - return "equal", not "TRUE".
(birthday_compare): same.
svn path=/trunk/; revision=14402
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-book-factory.h: add prototype for
pas_book_factory_dump_active_backends.
* backend/pas/pas-book-factory.c
(pas_book_factory_dump_active_backends): new function.
(dump_active_server_map_entry): new function.
svn path=/trunk/; revision=14371
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-simple.c (file_as_get_style,
file_as_set_style): Use the actual ECardName in the ECard instead
of parsing the full_name here.
svn path=/trunk/; revision=14338
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h
(e_card_simple_set_name): New function to set the ECardName on
this card and fix the file_as if necessary.
svn path=/trunk/; revision=14337
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h
(e_card_simple_get): Handle returning dates here.
(e_card_simple_get_allow_newlines): New function. Returns whether
it makes much sense to have newlines in this string.
* gui/component/addressbook-config.c,
gui/component/addressbook-config.h
(addressbook_create_new_source): The first argument here should
be const.
* gui/component/addressbook-storage.c: Added #include
"addressbook-config.h".
* gui/widgets/e-minicard-label.c (e_minicard_label_event): On an
escape here, cancel editing and remove the focus from the text.
* gui/widgets/e-minicard.c (add_field): Set allow_newlines here.
(field_activated): Stop editing on the activate signal and remove
the focus from the text. Fixes Ximian bug #12286.
svn path=/trunk/; revision=14335
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-28 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-card.c (e_card_date_from_string): Expose this
function.
(e_card_date_to_string): ...and this one. Fixes build problem in
pas-backend-ldap.c.
svn path=/trunk/; revision=14284
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-27 Chris Toshok <toshok@ximian.com>
[ bug #12979 ]
* backend/pas/pas-backend-ldap.c (anniversary_populate): new
function.
(anniversary_ber): new function.
(anniversary_compare): new function.
(birthday_populate): new function.
(birthday_ber): new function.
(birthday_compare): new function.
svn path=/trunk/; revision=14277
|
|
|
|
|
|
|
|
|
| |
2001-10-27 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-book.c (activate_factories_for_uri): Don't leak
stuff. (Bug #13709)
svn path=/trunk/; revision=14267
|
|
|
|
| |
svn path=/trunk/; revision=14243
|
|
|
|
|
|
|
|
|
| |
2001-10-27 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-destination.c (name_and_email_simple_query_cb,
nickname_simple_query_cb): Set book_uri when cardification occurs.
svn path=/trunk/; revision=14230
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-27 Jon Trowbridge <trow@gnu.org>
* backend/pas/pas-book.c (pas_book_check_queue): That should be a
bonobo_object_unref, not a gtk_object_unref.
(pas_book_queue_request): Likewise, we need to bonobo_object_ref
here.
(pas_book_destroy): If our pas_book_check_queue timeout is still
active, disable it. This should never happen, but it never hurts
to be careful.
(pas_book_destroy): Set book->priv to NULL after we free it.
svn path=/trunk/; revision=14218
|
|
|
|
| |
svn path=/trunk/; revision=14214
|
|
|
|
| |
svn path=/trunk/; revision=14211
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-27 Jon Trowbridge <trow@ximian.com>
* backend/pas/pas-book.c (pas_book_check_queue): Added paranoid
reentrancy guards.
(pas_book_queue_request): Changed our idle handler into a timeout,
so as to work w/ reentrancy guards.
(pas_book_init): Explicit initialization.
svn path=/trunk/; revision=14202
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-26 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-book-util.c (simple_query_card_added_cb): Return
on cancellation.
(simple_query_sequence_complete_cb): Act if not cancelled.
(simple_query_book_view_cb): Free & return on cancellation.
(e_book_simple_query_cancel): Set cancellation flag.
* gui/component/e-address-popup.c (e_address_popup_query): Hold a
reference to ourselves for the duration of our addressbook fetch.
(start_query): Release when we've fetched our addressbook.
(e_address_popup_cleanup): Break out most of what we do in
_destroy into a separate function.
(e_address_popup_destroy): Class cleanup.
(contact_editor_cb): Paranoid clean-up.
(add_contacts_cb): Paranoid clean-up.
(e_address_popup_ambiguous_email_add): Paranoid clean-up.
svn path=/trunk/; revision=14199
|
|
|
|
|
|
| |
explicitly.
svn path=/trunk/; revision=14188
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-23 Jon Trowbridge <trow@ximian.com>
* gui/component/addressbook.c: Fix command paths when we specify
our pixmaps, so we don't get a lot of totally useless & very ugly
bonobo-ui spew.
* backend/ebook/e-book-util.c (e_book_nickname_query): The empty
string as an arg shouldn't generate a warning.
svn path=/trunk/; revision=13973
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-20 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-book.c (activate_factories_for_uri): We
shouldn't leak the info returned by oaf_query.
* gui/contact-editor/e-contact-quick-add.c (card_added_cb): Remove
superfluous call to quick_add_unref.
(editor_closed_cb): Remove superfluous call to quick_add_unref.
* gui/component/select-names/e-select-names.c (esn_get_key_fn): We
need to unref the card returned by e_addressbook_model_get_card.
svn path=/trunk/; revision=13834
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-20 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-destination.c (e_destination_importv): Filter
out empty destinations. (also Bug #13036)
* printing/e-contact-print.c (e_contact_build_style): Use
gnome_font_new_closest; if gnome_font_new fails and returns NULL,
our spacing gets all messed up. (Bug #10785)
* gui/widgets/e-addressbook-view.c (e_addressbook_view_can_print):
Allow printing if there are any cards in our view. The selection
has nothing to do with it.
* backend/ebook/e-destination.c (e_destination_is_empty): Check
for strings that contain non-whitespace, rather than just looking
for a non-zero first character. (Bug #13036)
svn path=/trunk/; revision=13826
|
|
|
|
|
|
|
|
|
| |
2001-10-18 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card.c, backend/ebook/e-card.h
(e_card_list_get_vcard): Made this take a const GList.
svn path=/trunk/; revision=13773
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-18 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-manager.c
(focus_out_cb): Lag our cardification on focus-out. This seems to
help with the unintended cardifications that can result from the
weird focus-out/focus-in events that get generated when the popup
disappears.
* backend/ebook/e-card-compare.c: Removed some debug spew.
svn path=/trunk/; revision=13757
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-17 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card.c (e_card_get_vobject): Did a bit of clean
up here. Might fix some crashes, specifically Ximian bug #10164.
* gui/widgets/e-addressbook-view.c (SPEC): Updated the model
column numbers here. Fixes Ximian bug #12308.
svn path=/trunk/; revision=13721
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-17 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-file.c (pas_backend_file_upgrade_db):
add upgrade from 0.1 to 0.2, where we make sure id dbt's match
vcard id's, fixes longstanding bug (#7406) where cards were not
modifiable or removable after having been created during a 1-2
week long window in early betas.
(PAS_BACKEND_FILE_VERSION): change to 0.2
(PAS_ID_PREFIX): #define this here.
(pas_backend_file_create_unique_id): use PAS_ID_PREFIX instead of
the string.
svn path=/trunk/; revision=13720
|
|
|
|
| |
svn path=/trunk/; revision=13710
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-16 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-card.c (e_card_get_id): If card->id is NULL,
return an empty string.
(e_card_set_id): Don't allow the card id to be set to NULL; use
the empty string instead.
(e_card_get_vobject): When building our vcard, pass in the empty
string as the id if card->id is NULL. (Bug #10164)
svn path=/trunk/; revision=13705
|
|
|
|
|
|
|
|
|
| |
2001-10-15 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_add_client):
unref the book after we pass it off to evolution-addressbook.
svn path=/trunk/; revision=13691
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-15 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (create_card_dtor): unref
op->view.
(pas_backend_ldap_process_create_card): ref op->view.
(remove_card_dtor): unref op->view.
(pas_backend_ldap_process_remove_card): ref op->view.
(modify_card_dtor): unref op->view.
(pas_backend_ldap_process_modify_card): ref op->view.
(ldap_search_dtor): unref op->view.
(pas_backend_ldap_search): ref op->view.
svn path=/trunk/; revision=13690
|
|
|
|
|
|
|
|
|
|
| |
2001-10-15 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_process_get_book_view): make sure to unref the
book_view here so we don't leak them.
svn path=/trunk/; revision=13680
|
|
|
|
|
|
|
|
|
|
| |
2001-10-15 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card.c (addPropValueQP, addPropValueSets,
e_card_get_vobject): Properly decide whether a property needs to
be marked as QP by searching for '\n'. Fixes Ximian bug #3021.
svn path=/trunk/; revision=13675
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-12 Chris Toshok <toshok@ximian.com>
* backend/ebook/evolution-ldif-importer.c: commit the importer
originally from Michael M. Morrison, with fixups by toshok.
* backend/ebook/Makefile.am (bin_PROGRAMS): add
evolution-ldif-importer.
(oaf_in_files): add
GNOME_Evolution_Addressbook_LDIF_Importer.oaf.in.
* backend/ebook/e-card-simple.h: add WANTS_HTML and IS_LIST.
* backend/ebook/e-card-simple.c (field_data): add WANTS_HTML and
IS_LIST.
(e_card_simple_set): fix typo.
* backend/ebook/.cvsignore: ignore
GNOME_Evolution_Addressbook_LDIF_Importer.oaf and
evolution-ldif-importer.
* backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.oaf.in:
ldif importer oafinfo.
svn path=/trunk/; revision=13627
|
|
|
|
|
|
|
|
|
| |
2001-10-12 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h:
Added a boolean type here.
svn path=/trunk/; revision=13624
|
|
|
|
| |
svn path=/trunk/; revision=13612
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-11 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-destination.c
(e_destination_reverting_is_a_good_idea): Added. Heuristic for
whether or not we want to revert to an earlier cardified state.
(e_destination_cardify): Don't be quite as aggressive about
reverting to previous cardified states. (Bug #11890)
svn path=/trunk/; revision=13610
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-11 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-simple.c (e_card_simple_destroy,
fill_in_info, e_card_simple_sync_card, e_card_simple_set_phone,
e_card_simple_set_address, e_card_simple_set_delivery_address,
file_as_get_style, file_as_set_style, e_card_simple_set,
e_card_simple_set_arbitrary),
gui/contact-editor/e-contact-editor-address.c
(e_contact_editor_address_destroy,
e_contact_editor_address_set_arg,
e_contact_editor_address_get_arg),
gui/contact-editor/e-contact-editor-fullname.c
(e_contact_editor_fullname_destroy,
e_contact_editor_fullname_set_arg,
e_contact_editor_fullname_get_arg),
gui/contact-editor/e-contact-editor.c (phone_entry_changed,
address_text_changed, name_entry_changed, full_name_clicked,
full_addr_clicked, fill_in_info): Changed these to use the new ref
and unref functions for ECard auxillary types.
* backend/ebook/e-card-simple.h: Added a comment.
* backend/ebook/e-card-types.h: Added ref_count field to all the
types.
* backend/ebook/e-card.c, backend/ebook/e-card.h: Added ref and
unref functions here for all the ECard auxillary types. Removed
the corresponding free functions. Switched to using these
functions where appropriate.
* gui/component/addressbook-factory.c: #include
<e-util/e-passwords.h>
* gui/component/addressbook.c (load_uri_cb): const correctify.
* gui/component/select-names/e-select-names-manager.c,
gui/component/select-names/e-select-names.c: #include
<addressbook/gui/component/addressbook.h>
* gui/widgets/e-addressbook-model.c (modify_card): Removed an
unnecessary ref here.
svn path=/trunk/; revision=13604
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-11 Jon Trowbridge <trow@ximian.com>
* gui/component/addressbook.c (new_contact_cb): Check that
view->view != NULL.
(save_contact_cb): Check that view->view != NULL.
(search_cb): Check that view->view != NULL.
(delete_contact_cb): Check that view->view != NULL.
(print_cb): Check that view->view != NULL.
(print_preview_cb): Check that view->view != NULL.
(stop_loading_cb): Check that view->view != NULL.
(cut_contacts_cb): Check that view->view != NULL.
(copy_contacts_cb): Check that view->view != NULL.
(paste_contacts_cb): Check that view->view != NULL.
(select_all_contacts_cb): Check that view->view != NULL.
(send_contact_cb): Check that view->view != NULL.
(send_contact_to_cb): Check that view->view != NULL.
(update_command_state): Check that view->view != NULL. Hold a
reference to the AddressbookView for the duration of the function,
in case we exit during bonobo-reentrancy.
(addressbook_view_ref): Added.
(addressbook_view_unref): Added. Simple ref counting for
AddressbookView objects.
(addressbook_view_clear): Zero out an AddressbookView. This is
now separated from the deallocation of the AddressbookView object,
so that we don't leave a dangling pointer if we exit during
bonobo-reentrancy in update_command_state. (Which often seems to
happen if we exit while addressbook operations are going on.)
(destroy_callback): Replace previous call to addressbook_view_free
with addressbook_view_clear/addressbook_view_unref calls.
(addressbook_factory_new_control): Initialize the reference count
in the AddressbookView object.
* gui/widgets/e-addressbook-view.c (e_addressbook_view_destroy):
Carefully zero out our destroyed object.
(command_state_change): Hold a reference to ourselves during the
signal emission.
(get_selected_cards): Ref cards as we add them to the list.
(e_addressbook_view_stop): Check for view != NULL.
(e_addressbook_view_can_create): Check for view != NULL.
(e_addressbook_view_can_print): Check for view != NULL.
(e_addressbook_view_can_save_as): Check for view != NULL.
(e_addressbook_view_can_send): Check for view != NULL.
(e_addressbook_view_can_send_to): Check for view != NULL.
(e_addressbook_view_can_delete): Check for view != NULL.
(e_addressbook_view_can_cut): Check for view != NULL.
(e_addressbook_view_can_copy): Check for view != NULL.
(e_addressbook_view_can_paste): Check for view != NULL.
(e_addressbook_view_can_select_all): Check for view != NULL.
(e_addressbook_view_can_stop): Check for view != NULL.
* gui/widgets/e-addressbook-model.c (addressbook_destroy): Be
careful about zeroing out our destroyed object.
* backend/ebook/e-book-view.c (e_book_view_stop): Added. Stops
event processing in the underlying listener.
svn path=/trunk/; revision=13578
|
|
|
|
|
|
|
|
|
|
| |
2001-10-04 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book.c (activate_factories_for_uri): for some
reason, matching on protocol is causing problems for me.
disabling it for now.
svn path=/trunk/; revision=13415
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-02 Jon Trowbridge <trow@gnu.org>
* gui/component/select-names/e-select-names-completion.c
(name_style_query): Strip out commas before forming our query.
(match_name): Use e_card_compare_name_to_string_full, rather
than our crufty old matching code. Not only is this cleaner,
but that crufty old code was very broken when it came to
handling strings with whitespace. (Bug 8988)
(match_nickname): utf8 and bug fixes.
* backend/ebook/e-card-compare.c
(e_card_compare_name_to_string_full): Added. This is basically
e_card_compare_name_to_string with a bunch of extra options, so
that it can more readily be reused in other contexts.
(e_card_compare_name_to_string): This is now just a call to
e_card_compare_name_to_string_full with the extra args filled in
to defaults that simulate the old behavior.
svn path=/trunk/; revision=13384
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-02 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book.c (e_book_construct): remove most of the
oaf stuff from here. we do it in load_uri, where we'll have more
information (namely, the protocol we're using.)
(activate_factories_for_uri): do an oaf query to get a list of all
objects implementing our BookFactory interface and also supporting
the protocol used in the uri.
(e_book_load_uri): try activating book factories to handle this
uri, and start the iteration over the list.
(e_book_load_uri_from_factory): try and load the uri.
(e_book_load_uri_open_cb): callback function for the
BookFactory_openBook call - if it succeeds, call the user's
callback. otherwise step to the next factory.
(e_book_load_uri_step): go to the next factory in our list, and
error out if there are no more.
svn path=/trunk/; revision=13358
|
|
|
|
|
|
|
|
|
|
|
| |
001-10-01 JP Rosevear <jpr@ximian.com>
* backend/pas/pas-backend-file.c
(pas_backend_file_changes_foreach_key): if there is a db error,
assume deletion
(pas_backend_file_changes): write after all is done for efficiency
svn path=/trunk/; revision=13267
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-28 JP Rosevear <jpr@ximian.com>
* backend/pas/pas-backend-file.c
(pas_backend_file_changes_foreach_key): g_strdup
(pas_backend_file_changes): ditto, make sure to free all data and
do a hash write after each add/remove
* conduit/address-conduit.c (local_record_to_pilot_record): use
the local record category
(local_record_from_ecard): ndle the fields and category we don't
sync by making sure we don't overwrite them
svn path=/trunk/; revision=13232
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-26 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-book-factory.c (pas_book_factory_destroy): use
priv->iid instead of the hardcoded string here.
(pas_book_factory_activate): parameterize the factory's iid, as in
the calendar server, and provide a default if iid == NULL.
* backend/pas/pas-book-factory.h: add iid parameter for
pas_book_factory_activate.
svn path=/trunk/; revision=13180
|
|
|
|
|
|
|
|
|
| |
2001-09-26 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-destination.c (e_destination_get_textrep): Use
camel_address_format, not camel_address_encode.
svn path=/trunk/; revision=13173
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-26 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-card-compare.c (e_card_compare_name_to_string):
Properly handle names when the individual elements (given,
addition, family) contain whitespace. (Bug #10502)
* backend/ebook/e-destination.c (e_destination_set_name): Reset
textrep when we change the name.
(e_destination_set_email): Reset textrep when we change the email.
(e_destination_get_textrep): Make sure that the textrep version of
the address is properly quoted if it contains unsafe characters.
(All related to bug #10796)
* gui/component/select-names/e-select-names-completion.c
(match_nickname): Fix nickname matching. (bug #9698)
(make_match): Use e_completion_match_new when building our match,
rather than ad hoc manipulation of the struct.
svn path=/trunk/; revision=13158
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-26 JP Rosevear <jpr@ximian.com>
* backend/pas/pas-backend-file.c (pas_backend_file_changes): set
the last_use and use_score fields of the card to known values so
the card doesn't register as changed when only they have changed
2001-09-26 Peter Williams <peterw@ximian.com>
* conduit/address-conduit.c (ecard_from_remote_record): Fix this function
to set email addresses properly, and handle multiple occurrences of
email addresses, home phone numbers, and business phone numbers.
svn path=/trunk/; revision=13153
|
|
|
|
|
|
|
|
|
|
| |
2001-09-24 Chris Toshok <toshok@ximian.com>
* backend/pas/Makefile.am (LDAP_SCHEMA): add
evolutionperson.schema
(EXTRA_DIST): add LDAP_SCHEMA to the dist (but don't install it).
svn path=/trunk/; revision=13107
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-22 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-card-simple.c
(e_card_simple_get): add getters for the additional name fields.
(field_data): move FAMILY_NAME to the end of the list, and add
GIVEN_NAME, ADDITIONAL_NAME (middle name), and NAME_SUFFIX.
* backend/ebook/e-card-simple.h: same.
svn path=/trunk/; revision=13082
|
|
|
|
|
|
| |
OK, maybe it isn't such a slow process after all.
svn path=/trunk/; revision=13006
|
|
|
|
| |
svn path=/trunk/; revision=13005
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-19 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-destination.c (name_and_email_simple_query_cb):
Use the default e-mail address if we have nothing else to go on.
Previously we just failed, which basically meant that name-only
searches would never work properly.
(nickname_simple_query_cb): The logic was a bit tangled here; if
our query status isn't SUCCESS, always give up but don't leak the
destination. And if our nickname query fails and we try the
name-and-email query, use the textrep for a name-only search. The
only reason we are doing a nickname query in the first place is if
we have an obviously invalid e-mail.
(launch_cardify_query): Use e_destination_is_valid to determine
if we should try a nickname query first.
These changes basically fix bug 7728, and generally make the
auto-cardification of addresses a lot more clever and robust.
* backend/ebook/e-book-util.c (name_and_email_cb): Use
e_card_compare_name_to_string instead of e_card_name_match_string.
(e_book_name_and_email_query): The arguments to g_strsplit were
in the wrong order. Doh!
* backend/ebook/e-card-compare.c (e_card_compare_name_to_string):
Added. Replaces e_card_name_match_string, and actually works.
* backend/ebook/e-card.c: Removed e_card_name_match_string
function, which didn't work particularly well.
svn path=/trunk/; revision=13003
|
|
|
|
|
|
|
|
|
| |
2001-09-19 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-book-util.c (e_book_name_and_email_query):
Freeing name[i] instead of namev[i] is a bad idea. (bug #10270)
svn path=/trunk/; revision=12980
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-18 JP Rosevear <jpr@ximian.com>
* backend/ebook/e-card-simple.c (field_data): add caluri field data
* backend/ebook/e-card.c (e_card_get_vobject): add the caluri
property when appropriate
(parse_caluri): handle read caluri
(e_card_class_init): add caluri arg
(e_card_destroy): free the caluri
(e_card_get_arg): return caluri arg
(e_card_set_arg): set caluri from arg
(e_card_init): init caluri to null
* backend/ebook/e-card-simple.h: new simple field
* backend/ebook/e-card.h: new member
* gui/contact-editor/e-contact-editor.c (field_changed): util
callback to change the command state
(set_entry_changed_signal_field): hook up a change signal to above
(set_entry_changed_signals): use above function
* gui/contact-editor/e-contact-editor.glade: Add collaboration
page and fields
svn path=/trunk/; revision=12945
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-18 JP Rosevear <jpr@ximian.com>
* backend/pas/pas-backend-file.c
(pas_backend_file_build_cards_list): create a sexp and check if
the cards match before adding them to the list
(pas_backend_file_process_get_cursor): send extra param
svn path=/trunk/; revision=12940
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-17 Larry Ewing <lewing@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(name_style_query): use g_strfreev.
(match_name): s/g_free/g_strfreev.
(match_file_as): s/g_free/g_strfreev.
* backend/ebook/e-book-util.c (e_book_name_and_email_query): fix
the memory handling here. All there members of the vector need to
be freed all the time.
* backend/ebook/load-pine-addressbook.c (parse_line): free the
string outside of the test that makes sure there are three
entries.
svn path=/trunk/; revision=12936
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-17 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-destination.c (e_destination_is_valid): We want
to assume that a destination that comes from a card is
automatically valid, but the right way to check that is by calling
e_destination_from_card, not by checking if dest->priv->card !=
NULL. (Fixed bug #10017)
svn path=/trunk/; revision=12930
|
|
|
|
|
|
|
|
|
|
| |
2001-09-17 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-card.c (e_card_list_send): Do the right thing if
the card we are trying to send to has no valid e-mail addresses.
(bug #10137)
svn path=/trunk/; revision=12927
|
|
|
|
|
|
|
|
|
| |
2001-09-16 Chris Toshok <toshok@ximian.com>
* backend/pas/evolutionperson.schema: fix syntax errors (which are
broken, imo...)
svn path=/trunk/; revision=12866
|
|
|
|
|
|
|
|
|
| |
2001-09-15 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-card-compare.c (e_card_compare_name): No
loose name matches on family names. (#8802)
svn path=/trunk/; revision=12857
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-15 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-book-listener.c (e_book_listener_stop): Make
"stop" do nothing but set the stopped flag, as in
e-book-view-listener.c.
(e_book_listener_destroy): Clean up our queue here, rather than in
e_book_listener_stop.
(response_free): Added. Move the rather lengthy bit of code
needed to free a EBookListenerResponse into one place.
(e_book_listener_check_queue): Properly deal with the stopped
flag.
(e_book_listener_queue_response): If the stopped flag is set, just
drop the incoming response.
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_stop): Make "stop" do nothing but set the
stopped flag.
(e_book_view_listener_destroy): Move all of the clean-up that used
to be in e_book_view_listener_stop here. This considerably simplifies
the logic required to avoid various race conditions.
(e_book_view_listener_check_queue): Properly deal with the stopped flag.
(e_book_view_listener_queue_response): Drop all incoming responses if
we are stopped.
2001-09-14 Jon Trowbridge <trow@ximian.com>
* backend/pas/pas-book.c (pas_book_queue_request): Hold a
reference to the book on behalf of our idle function.
(pas_book_check_queue): When we are finished, drop the reference
we've been holding on behalf of the idle function.
* backend/pas/pas-backend-file.c
(pas_backend_file_process_create_card): Hold a reference to the
book_view while sending our notifications.
(pas_backend_file_process_remove_card): Hold a reference to the
book_view while sending our notifications.
* gui/contact-editor/e-contact-quick-add.c (quick_add_unref): Remove
debugging spew.
* backend/ebook/e-book-util.c: Remove a lot of unused code that
worked around bugs that have long since been fixed.
(simple_query_disconnect): Added. Breaks out the part of
simple_query_free that disconnect signals.
(simple_query_free): Replace code w/ a call to
simple_query_disconnect.
(simple_query_sequence_complete_cb): Call simple_query_disconnect
before executing the callback, so that our callbacks don't get
triggered by any book changes that might occur during that
callback.
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_check_queue): Changed to be consistent with
e_book_listener_check_queue.
(e_book_view_listener_queue_response): Also changed to use a
high-frequency timeout.
* backend/ebook/e-book-listener.c (e_book_listener_check_queue):
OK, I've agonized over this stupid little function, and it should
now be race-free.
(e_book_listener_queue_response): We process our response queue in
a high-frequency timeout rather than an idle. Using an idle
function leads to some tricky race conditions and bad interactions
with bonobo's semi-broken attempts to take over event processing.
(e_book_view_listener_stop): Manually disable our timeout and
clean up.
svn path=/trunk/; revision=12851
|
|
|
|
|
|
|
|
|
|
|
|
| |
<richard@tartarus.org>, as per #9258.]
* backend/pas/Makefile.am: Rename `LDAP_BACKEND_SOURCES' to
`LDAP_BACKEND_FILES'.
* backend/ebook/Makefile.am: Set CLEANFILES directly instead of
using `+='.
svn path=/trunk/; revision=12839
|
|
|
|
|
|
|
|
|
| |
2001-09-13 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_connect): use
ldap_init. ldap_open is deprecated in openldap 2.x.
svn path=/trunk/; revision=12820
|
|
|
|
| |
svn path=/trunk/; revision=12784
|
|
|
|
|
|
|
|
|
| |
2001-09-12 Larry Ewing <lewing@ximian.com>
* backend/ebook/e-destination.c: free the values that are being
leaked here.
svn path=/trunk/; revision=12783
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-08 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_check_queue): See
e_book_listener_check_queue below.
(e_book_view_listener_queue_response): See
e_book_listener_queue_response below.
* backend/ebook/e-book-listener.c (e_book_listener_check_queue):
Explicitly prohibit reentrancy. Use gtk-unref rather than
bobobo-unref.
(e_book_listener_queue_response): Hold a gtk-ref to the listener
while the idle function runs, not a bonobo-ref. As far as I can
tell, it is impossible to avoid a race condition here when we have
to worry about bonobo reentrancy.
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_insert_length): Alter a copy of the
original EDestination, rather than just using a new one. We need
to do this to preserve prior-card information for possible
reversion later.
(e_select_names_text_model_delete): Ditto.
* backend/ebook/e-destination.c (e_destination_clear_card): When
clearing a destination where ->card != NULL, store it for possible
reversion later.
(e_destination_revert): If we have an old card stored, go back to
using it for the destination.
(e_destination_is_valid): Tries to detect obviously broken
addresses.
(e_destination_cardify): If our destination is invalid, first try
to cardify simply by reverting to an older card.
(e_destination_destroy): Unref any cached old card.
(e_destination_copy): Copy the old card information.
2001-09-07 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names.c
(sync_table_and_models): Show all rows in the table, and then
remove the rows that correspond to entries in the
ESelectNamesModels in the children.
(real_add_address): Freeze/thaw our ESelectNamesModel, so that we
don't change our table while we are in the middle of iterating
over the selection.
(remove_address): Just delete the address from the
ESelectNamesModel, the signal handler will do the rest.
(selected_rows_foreach_cb): Call remove_address to do our dirty
work.
(e_select_names_add_section): Connect to the 'changed' signal from
the ESelectNamesModel, and call sync_table_and_models explicitly to
get our initial state correct.
* gui/component/select-names/e-select-names-table-model.c
(fill_in_info): Deal with EDestinations in our table that don't
come from cards.
* gui/component/select-names/e-select-names-manager.c: Added
another ESelectNamesModel* to the ESelectNamesManagerSection
struct. Called 'original_model', this contains a copy of the
model as it is when we begin using the SelectNames dialog.
(section_copy): Copy the original model.
(section_free): Free the original model.
(e_select_names_manager_add_section_with_limit): Initialize the
original model.
(e_select_names_clicked): I've changed the semantics of this
dialog quite a bit... no UI freeze can stop me! If OK is clicked,
we do nothing. If Cancel is clicked, we revert to the
'original_model' copy of our address entry state before we started
editting. Finally, we close the dialog before any of thing. Doing
it last caused problems, because signals were being triggered
which had dangling pointers as their closures.
(e_select_names_manager_activate_dialog): Copy our current state
to the original model, and share the same ESelectNamesModel
between the dialog and the address entry in the composer..
(e_select_names_manager_get_cards): Removed. It had been
#if 0/#endif-ed out for a while.
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_freeze): Added.
(e_select_names_model_thaw): Added.
(e_select_names_model_uncardify): Added. If possible,
"uncardifies" a specific model entry.
(e_select_names_model_changed): Changed to pay attention
to the freeze count.
* gui/component/select-names/e-select-names-completion.c
(clean_query_text): Strip leading/trailing whitespace from
queries.
* backend/ebook/e-destination.c (e_destination_uncardify): Added.
Converts a card-associated destination into a text-associated
destination w/ the e-mail address.
(e_destination_list_to_vector): Added. A convenience routine.
(e_destination_freev): Added. A convenience routine.
(e_destination_touchv): Added. I'm lazy.
svn path=/trunk/; revision=12709
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-06 Chris Toshok <toshok@ximian.com>
* gui/component/Makefile.am (INCLUDES): add -DEVOLUTION_IMAGESDIR.
* gui/widgets/e-addressbook-view.c (card_deleted_cb): remove
status messages from here.
(e_addressbook_view_delete_selection): same.
* gui/widgets/e-addressbook-model.c (sequence_complete): emit a
NULL status message along with the stop_state_changed. The null
status message will clear the status bar for this view.
* gui/component/addressbook.c (set_status_message): use the
EvolutionActivityClient stuff.
* backend/pas/pas-backend-ldap.c (view_destroy): remove status
message for abandoning a search.
(ldap_op_process_current): wrap status messages in _().
(ldap_op_process): same.
(create_card_handler): same, and remove the notify_status for ""
and add a notify_complete call after the card is added.
(remove_card_handler): same.
(modify_card_handler): same.
(poll_ldap): wrap status messages with _(), and remove the "Search
Complete" message.
(ldap_search_handler): wrap status message.
* backend/pas/pas-backend-file.c (pas_backend_file_search): use
_() on status messages, and make sure the last notify_* called is
notify_complete.
svn path=/trunk/; revision=12663
|
|
|
|
| |
svn path=/trunk/; revision=12610
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* backend/ebook/e-card-simple.c
(field_data): Marked "name" and "short_name" fields for translation.
(e_card_simple_get_name, e_card_simple_get_short_name): Return
localized version of the name (using U_() macro).
* gui/contact-editor/e-contact-editor.c (set_entry_changed_signals):
Connect "changed" signal from "entry-web" entry to widget_changed.
(changing this field wasn't making "Save and Close" button sensitive)
* gui/widgets/Makefile.am (glade_DATA): Removed alphabet.glade.
* gui/widgets/e-addressbook-view.c
(button_labels, button_letters): New strings containing a list of
labels and "values" of all buttons placed on the right side of the
addressbook view (intended for localization).
(struct LetterClosure): Changed the type of letter field to gunichar.
(e_utf8_split): New function, similar to g_strsplit, but operates on
UTF-8 strings.
(jump_to_letter): Don't hardcode letters, build queries dynamically
using UTF-8 and localized letters stored in button_letters.
(connect_button): Removed.
(create_alphabet): Don't use glade file, build buttons manually using
(localized) labels from button_labels. Use (localized) values from
button_letters when creating LetterClosure.
* gui/widgets/e-minicard-view-widget.[ch]
(e_minicard_view_widget_jump_to_letter): Changed the type of the
second argument from char to gunichar.
* gui/widgets/e-minicard-view.c
(compare_to_utf_str): Renamed from compare_to_letter, now operates on
UTF-8 string.
(e_minicard_view_jump_to_letter): Changed the type of the second
argument from char to gunichar + conversion to UTF-8 string.
* gui/widgets/e-minicard-view.h
(e_minicard_view_jump_to_letter): Changed the type of the second
argument from char to gunichar.
svn path=/trunk/; revision=12563
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-02 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-book.c (e_book_add_card, e_book_commit_card),
backend/pas/pas-backend-file.c (do_create),
backend/pas/pas-backend-ldap.c
(create_card_handler, remove_card_handler, modify_card_handler,
pas_backend_ldap_process_get_vcard, poll_ldap): Use
e_card_get_vcard_assume_utf8 instead of e_card_get_vcard here
since all internal communications and database storage are assumed
to be utf8.
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h
(e_card_simple_duplicate): Simplified this function considerably.
(e_card_simple_get_vcard_assume_utf8): Added this function.
* backend/ebook/e-card.c, backend/ebook/e-card.h (e_card_new,
e_card_load_cards_from_file, e_card_load_cards_from_string): Made
these functions pay attention to charset attributes.
(e_card_new_with_default_charset,
e_card_load_cards_from_file_with_default_charset,
e_card_load_cards_from_string_with_default_charset): New functions
that let you change the default charset from UTF-8.
(e_card_get_vcard): Made this write out charset attributes when
necessary.
(e_card_get_vcard_assume_utf8): New function that writes out a
card without writing out charset attributes.
* backend/ebook/evolution-vcard-importer.c (book_open_cb),
backend/ebook/load-gnomecard-addressbook.c (book_open_cb),
backend/ebook/test-card.c (main),
gui/component/addressbook-component.c
(destination_folder_handle_drop), gui/contact-editor/test-editor.c
(main), gui/contact-list-editor/e-contact-list-editor.c
(table_drag_data_received_cb), gui/widgets/e-addressbook-view.c
(selection_received), gui/widgets/e-minicard-control.c
(pstream_load): Changed the default charset to be used here to
ISO-8859-1.
* backend/ebook/load-gnomecard-addressbook.c (add_card_cb),
backend/ebook/load-pine-addressbook.c (add_card_cb),
backend/ebook/test-client-list.c (get_cursor_cb),
backend/ebook/test-client.c (get_cursor_cb, get_card_cb): Use
e_card_get_vcard_assume_utf8 to print out testing strings.
* gui/component/select-names/e-select-names-model.c,
gui/component/select-names/e-select-names-model.h
(e_select_names_model_contains): Changed this to be const
EDestination *dest to fix a warning.
* gui/contact-editor/e-contact-editor.c (e_contact_editor_init):
Translate window title here.
svn path=/trunk/; revision=12558
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-29 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-manager.c
(e_select_names_clicked): Use e_select_names_model_merge to
combine the selected names with any existing ones. This causes
you to not lose addresses typed directly into the entry while the
SelectNames dialog is up. (Bug #8058)
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_merge): Merge the contents of one
ESelectNamesModel into another, avoiding duplicates.
* backend/ebook/e-destination.c (e_destination_equal): Added.
Determines if two destinations appear to refer to the same
recipient.
* backend/ebook/e-card.c (e_card_list_send): Added cast to
g_free args to silence compiler warnings.
svn path=/trunk/; revision=12526
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-29 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-book-listener.c (e_book_listener_check_queue):
This function can be re-entrant during the signal emission; Added
extra ref/unrefs and checks to avoid problems if this happens.
This is similar to my recent changes to
e_book_view_listener_check_queue. (Fixes bug #7400)
svn path=/trunk/; revision=12523
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-27 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_check_queue): Added ref/unref pair to make
sure that our listener doesn't get finalized during the signal
emission and leave us with a dangling pointer. (Bug #7661)
svn path=/trunk/; revision=12493
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-27 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-card.c (e_card_list_send): Removed some debugging
spew that I left in by mistake.
* gui/widgets/e-addressbook-model.c (create_card): Removed debugging
spew.
svn path=/trunk/; revision=12492
|
|
|
|
|
|
|
|
|
| |
2001-08-27 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-card.c (e_card_list_send): Do the right thing if
the card we are trying to send to is a contact list. (Bug #6580)
svn path=/trunk/; revision=12491
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-24 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-destination.c (e_destination_set_card): Put a
freeze/thaw around our the set of operations that changes the
internal state of our card, so 'changed' signal callbacks won't be
invoked on a card in an intermediary state. This fixes the bug
that was causing the e-mail addresses in cards to be blank when
replying to a message. (An unexpected side-effect of toshok's
change on 8/22 to make sure that priv->email != NULL).
(e_destination_get_name): Code slightly rearranged for (IMO)
clarity.
svn path=/trunk/; revision=12466
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-22 Jon Trowbridge <trow@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.c (extract_info):
In the GUI, the toggle is labelled "hide addresses", not "show
addresses" -- so we have to reverse the boolean value we read in.
(fill_in_info): Same bug as before: since the GUI reads "hide", we
have to initialize the toggle to '!show_addresses', not
'show_addresses'.
* backend/ebook/e-destination.c
(e_destination_list_show_addresses): Added.
(e_destination_xml_encode): Encode the value of
e_destination_list_show_addresses into the XML.
(e_destination_xml_decode): Read and store the "show_addresses"
flag.
2001-08-22 Jon Trowbridge <trow@ximian.com>
* e-msg-composer-hdrs.c (set_recipients_from_destv): Added. Try
to properly handle contact lists in which the addresses of the
list members should be hidden.
(e_msg_composer_hdrs_to_message): Changed to extract the
destination data from the entries and pass it along to
set_recipients_from_destv.
2001-08-22 Jon Trowbridge <trow@ximian.com>
* mail-callbacks.c (ask_confirm_for_only_bcc): Provide alternative
text for this dialog for the case when a message has only Bcc
recipients because of a hidden contact list's addresses being
moved from To/Cc to Bcc.
(composer_get_message): Try to detect when our message has only
Bcc recipients because of moving addresses around due to a hidden
contact list, and show the dialog with the revised wording in this
case.
svn path=/trunk/; revision=12414
|
|
|
|
|
|
|
|
|
| |
2001-08-22 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-destination.c (e_destination_get_email): make
sure we don't get into a situation where priv->email == NULL.
svn path=/trunk/; revision=12393
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-20 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names.c
(e_addressbook_create_ebook_table): Wrap our addressbook table
adapter in an ETableWithout, so that we can make addresses appear
and disappear when we remove/add them to the section lists
(To/Cc/Bcc) on the right of the dialog.
(real_add_address_cb): When we add an address, hide it in the main
list.
(e_select_names_init): Get pointer to our without table from the
table's object data, and store it.
(remove_address): When we remove an address, show it in the main
list.
(card_key): Added. Allocate a unique key from an ECard.
(esn_get_key_fn): Added. Callback for ETableWithout.
(esn_dup_key_fn): Added. Callback for ETableWithout.
(esn_free_gotten_key_fn): Added. Callback for ETableWithout.
(esn_free_duped_key_fn): Added. Callback for ETableWithout.
* backend/ebook/e-card-simple.c (e_card_simple_get): Changed
E_CARD_SIMPLE_FIELD_NAME_OR_ORG to first try the FILE_AS
type. This allows the cards in the ESelectName dialog to
appear in proper sort order (i.e. as 'Doe, John' rather than
'John Doe'). Fixes ximian #6002.
svn path=/trunk/; revision=12334
|
|
|
|
|
|
|
|
|
| |
2001-08-20 JP Rosevear <jpr@ximian.com>
* backend/pas/pas-backend-file.c
(pas_backend_file_changes_foreach_key): use DB_NOTFOUND const
svn path=/trunk/; revision=12311
|
|
|
|
|
|
|
|
|
|
| |
2001-08-20 JP Rosevear <jpr@ximian.com>
* backend/pas/pas-backend-file.c
(pas_backend_file_process_get_changes): null out card_sexp so that
we don't crash when copying
svn path=/trunk/; revision=12290
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-17 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (view_destroy): unref our
card_sexp.
(create_card_handler): make sure to set the id of the vcard so it
gets properly transmitted back to the BookView, and notify all
matching BookViews to add the created card.
(remove_card_handler): notify all matching BookViews to remove the
card.
(modify_card_handler): notify all matching BookViews to modify the
card.
(pas_backend_ldap_process_get_book_view): init card_sexp based on
the view's search.
svn path=/trunk/; revision=12151
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-17 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-file.c
(pas_backend_file_book_view_copy): use card_sexp.
(pas_backend_file_book_view_free): same.
(vcard_matches_search): use the new pas_backend_card_sexp_match_vcard call.
(pas_backend_file_search): use card_sexp.
(pas_backend_file_process_get_book_view): same.
* backend/pas/Makefile.am (libpas_a_SOURCES): add
pas-backend-card-sexp.[ch].
svn path=/trunk/; revision=12150
|
|
|
|
|
|
|
|
| |
2001-08-16 Jeffrey Stedfast <fejj@ximian.com>
* backend/pas/evolutionperson.schema: Added a closing paren.
svn path=/trunk/; revision=12142
|
|
|
|
|
|
|
|
|
|
| |
2001-08-14 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_process_get_vcard): implement using
search_for_dn.
svn path=/trunk/; revision=12043
|
|
|
|
|
|
|
| |
* backend/pas/pas-backend-ldap.c: Fix up to match the
pas_book_new/get_vcard changes.
svn path=/trunk/; revision=12009
|
|
|
|
|
|
|
|
|
| |
2001-08-14 Christopher James Lahey <clahey@ximian.com>
* backend/pas/pas-book.c (pas_book_respond_get_vcard): Oops,
forgot to write this function.
svn path=/trunk/; revision=11999
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-14 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-book-view.c (add_book_iterator): Call
e_card_set_book here.
* backend/ebook/e-book.c (e_book_do_response_get_vcard): Call
e_card_set_book here.
* backend/ebook/e-card.c, backend/ebook/e-card.h: Pulled out the
part where the uri is made part of the uid. Made uri a separate
field.
* backend/ebook/e-destination.c, backend/ebook/e-destination.h:
Change this to use ECard's split uids and uris.
svn path=/trunk/; revision=11991
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-13 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (add_to_supported_fields): don't
g_strdup the stuff we're passing into e_list_append, since it does
the copy for us.
(check_schema_support): don't initialize supported_fields list
here, since there's a gross case where the programmer/user can
bring up the contact editor before the connection stuff is
finished, and we don't want to crash.
(pas_backend_ldap_init): move it here to we can guarantee it's
there. (bug #6546).
svn path=/trunk/; revision=11989
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-13 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-book-listener.c,
backend/ebook/e-book-listener.h, backend/ebook/e-book.c,
backend/ebook/e-book.h, backend/idl/addressbook.idl,
backend/pas/pas-backend-file.c, backend/pas/pas-book.c,
backend/pas/pas-book.h: Changed get_card to be asyncronous.
* backend/ebook/e-card.c, backend/ebook/test-client.c: Changed
these to deal with the new get_card functionality.
svn path=/trunk/; revision=11984
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-09 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_create_entry): Hook up some magic to
(basically) cardify an entry on focus-out. (What we do is actually
more complicated than that.)
* gui/component/select-names/e-select-names-bonobo.c
(entry_set_property_fn): After we set an entry's text, try to
cardify it. We need to do this so that (for example) reply
e-mails get properly cardified.
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_duplicate): Use e_select_names_model_append,
rather than manipulating lists directly.
(e_select_names_model_insert): Connect "changed" signal proxy for
added EDestination.
(e_select_names_model_append): Ditto.
(e_select_names_model_replace): Ditto, and disconnect signals for
replaced EDestination.
(e_select_names_model_delete): Ditto on the disconnection.
(e_select_names_model_delete_all): Ditto.
(e_select_names_model_cardify): Added. Try to cardify a specified
EDestination.
(e_select_names_model_cancel_cardify): Added. Cancel the pending
cardification of a single EDestination.
(e_select_names_model_cardify_all): Added. Cardify all of the
EDestinations in the model.
(e_select_names_model_cancel_cardify_all): Added. Cancel's any
and all pending cardifications.
* backend/ebook/e-destination.c (e_destination_class_init): Added
"changed" and "cardified" signals.
(e_destination_freeze): Added (static).
(e_destination_thaw): Added (static).
(e_destination_clear_card): Reset allow_cardify and
cannot_cardify, cancel any pending cardifications, and emit the
"changed" signal.
(e_destination_clear_strings): Emit the "changed" signal.
(e_destination_clear): Do freeze/thaw to prevent multiple signal
emissions.
(e_destination_set_card): Check that the card we are setting is
not equal to the current card, and emit the "changed" signal if we
are actually changing.
(e_destination_set_card_uri): Emit "changed" signal, if necessary.
(e_destination_set_name): Emit "changed" signal, if necessary.
(e_destination_set_email): Emit "changed" signal, if necessary.
(e_destination_set_html_mail_pref): Emit "changed" signal, if
necessary.
(use_card_cb): If we've just loaded/set the ECard, emit the
"changed" signal.
(e_destination_set_raw): Emit "changed" signal, if necessary.
(e_destination_allow_cardification): Added.
(e_destination_set_allow_cardification): Added.
(e_destination_cardify): Added. Tries to automatically convert
a string-based EDestination to one based on an ECard.
(e_destination_cardify_delayed): Added. Cardifies in a timeout.
(e_destination_cancel_cardify): Added. Cancels any pending
cardifications.
(e_destination_xml_decode): Added freeze/thaw.
* backend/ebook/e-book-util.c (e_book_nickname_query): Added. A
canned simple query for nicknames.
* backend/ebook/e-card.c (e_card_email_find_number): Added. Given
a card and an string containing an email address, return the index
number of the address inside of the card, or -1 if the address is
not found.
svn path=/trunk/; revision=11837
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-09 Chris Toshok <toshok@ximian.com>
[ Fixes ximian bugs #5080, #6021, #6704, #6705 ]
* gui/component/addressbook.c (book_open_cb): create our own
dialog that prompts for both the email address and the password.
the email address is stored in the source and filled in for the
user after the first time they enter one and press OK.
* gui/component/addressbook-storage.c (create_ldap_folder): has a
return value, not a int* parameter.
(create_ldap_folder): new function, we can create ldap servers
from the File->New->Folder menu item now.
(register_storage): hook up the "create_folder" signal.
(addressbook_storage_init_source_uri): remove the file case, we
only build ldap uris here.
(load_source_data): remove the file source stuff, and handle
"emailaddr".
(save_source_data): call ldap_source_foreach directly.
(addressbook_source_free): remove file source stuff.
(addressbook_source_copy): same.
* gui/component/addressbook-storage.h: get rid of all the file
source stuff from AddressbookSource, since this is only being used
for ldap servers.
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_process_authenticate_user): look up the ldap
entry based on the provided email address and use the resulting
DN/passwd to authenticate.
* gui/component/addressbook-config.c: pretty much gutted to make
it work with the new UI.
* gui/component/addressbook-config.glade: new version from anna.
svn path=/trunk/; revision=11834
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-08 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (rfc2254_escape): escape *, \, (,
and ), as per rfc2254.
(func_contains): escape the string.
(func_is): same.
(func_beginswith): same.
(func_endswith): same.
svn path=/trunk/; revision=11789
|
|
|
|
|
|
|
|
|
| |
2001-08-07 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (build_card_from_entry): use
g_strcasecmp since ldap attribute names are not case sensitive.
svn path=/trunk/; revision=11734
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-06 Radek Doulik <rodo@ximian.com>
* backend/ebook/e-book.c (e_book_op_free): new EBookOp destructor
(e_book_unqueue_op): use e_book_op_free
(e_book_do_response_create_card): ditto
(e_book_do_response_generic): ditto
(e_book_do_response_get_cursor): ditto
(e_book_do_response_get_view): ditto
(e_book_do_response_get_changes): ditto
(e_book_do_response_open): ditto
(e_book_do_response_get_supported_fields): ditto
svn path=/trunk/; revision=11696
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-05 Radek Doulik <rodo@ximian.com>
* backend/ebook/e-book.c (e_book_do_response_get_view): set
op->listener to NULL to catch possible use of freed op
(e_book_do_response_get_changes): ditto
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_check_queue): this callback could be (and
indeed is) called from signal emited above,
signal handler could call e_book_view_listener_stop, so we need
to check
if idle is still set and if not we don't want to unref again
svn path=/trunk/; revision=11692
|
|
|
|
|
|
|
|
|
|
| |
2001-08-04 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-compare.c (e_card_compare_name): Made it so
that if there's one less match than possible compares are
considered more VAGUE. Fixes Ximian bug #3400.
svn path=/trunk/; revision=11685
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-03 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card.c (e_card_name_match_string): Changed the
criteria of whether the first part of each iteration matched or
the second one did. Before it got it wrong sometimes and caused
the pointer to jump off the end of the array.
svn path=/trunk/; revision=11641
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-03 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-simple.c (e_card_simple_sync_card,
fill_in_info): Made the list of E_CARD_PHONE types in
phone_correspondences more complete by adding the new 5
E_CARD_PHONE types. Also, made it a bit less restrictive for some
types (E_CARD_PHONE_HOME will actually match
E_CARD_SIMPLE_PHONE_ID_HOME now.) Made e_card_simple_sync_card
and fill_in_info search for an exact match in the list of
phone_correspondences and then look for a partial match. Got rid
of not going forward when doing a remove from an EList since EList
handles this case automatically.
* backend/ebook/e-card-types.h: Added E_CARD_PHONE types for
assistant, callback, radio, telex, and ttytdd.
* backend/ebook/e-card.c (get_phone_flags, set_phone_flags):
Handle the new E_CARD_PHONE types.
svn path=/trunk/; revision=11612
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-02 Jon Trowbridge <trow@ximian.com>
* printing/Makefile.am (ecpsdir): Add camel dependency.
* gui/component/Makefile.am: Add camel dependency.
* backend/ebook/Makefile.am: Add camel dependency.
* gui/component/addressbook-factory.c (main): Properly init camel.
* backend/ebook/e-destination.c (e_destination_clear_strings):
Clear ->raw.
(e_destination_is_empty): We aren't empty if ->raw is set..
(e_destination_set_raw): Replaces e_destination_set_string.
(e_destination_get_name): Use camel's parser to extract the name
from ->raw.
(e_destination_get_email): Use camel's parser to extract the email
address from ->raw.
(e_destination_get_address): Use camel to produce properly quoted,
RFC-compliant addresses. Thanks camel! (Bug #5860)
* gui/component/select-names/e-select-names-completion.c
(emailify_match): Always append an e-mail address, as long as it
doesn't have one already at it's beginning or end. Don't limit
self to just emailifying entries tied to cards with multiple
addresses. (I didn't really want to do this, but people seem to
like keeping multiple cards for the same person, and other
solutions (like scanning all matches for duplicate names, and only
emailifying those) just seemed like way too much work for such a
limited payoff.)
* gui/component/select-names/e-select-names-text-model.c:
s/e_destination_set_string/e_destination_set_raw/.
* gui/component/select-names/e-select-names-popup.c
(popup_menu_card): Quote _'s in our popup menus, so that "foo_bar"
doesn't get displayed as "foobar" w/ the 'b' underlined. (Bug
#5558)
(popup_menu_nocard): Ditto.
2001-08-02 Jon Trowbridge <trow@ximian.com>
* Makefile.am: Added camel dependency (now needed by ebook).
2001-08-02 Jon Trowbridge <trow@ximian.com>
* gui/Makefile.am: Added camel dependency (now needed by ebook).
2001-08-02 Jon Trowbridge <trow@ximian.com>
* Makefile.am: Added camel dependency (now needed by ebook).
svn path=/trunk/; revision=11602
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-01 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_check_queue): Removed thrash checking code
here since thrashing shouldn't happen now that we've cleaned this
up some.
* backend/ebook/e-book.c (e_book_do_response_get_view): Properly
handle cases where construction fails.
svn path=/trunk/; revision=11539
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-30 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/evolution-vcard-importer.c: Added #include
<e-util/e-path.h>.
2001-07-23 Zbigniew Chyla <cyba@gnome.pl>
* gui/component/addressbook-config.c (addressbook_source_dialog):
Convert translated string to UTF8 before calling put_html.
svn path=/trunk/; revision=11496
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-30 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_do_query): Properly handle the case
where our "cleaned" completion is the empty string. This happens,
for example, if the query text is the string "\"". (Bug #5610).
* backend/ebook/e-destination.c (e_destination_get_address_textv):
Reassure fejj that I'm not doing something stupid here.
(e_destination_get_address): Fix address quoting. This is a
stop-gap measure until I can change this code to use Camel's
superior address-handling routines. (Also Bug #5610)
svn path=/trunk/; revision=11487
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-26 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-card.c: Removed some debugging chatter.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_create_entry): Store the completion
handler in the entry's object data.
* gui/component/select-names/e-select-names-bonobo.c
(entry_get_property_fn): Added support for getting "destinations"
and "allow_contact_lists" properties.
(entry_set_property_fn): Added support for setting "destinations"
and "allow_contact_lists" properties.
(impl_SelectNames_get_entry_for_section): Added definitions for
"destinations" and "allow_contact_lists" properties.
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_get_match_contact_lists): Added.
(e_select_names_completion_set_match_contact_lists): Added.
Controls whether contact lists are offered as options during
completion.
(book_query_process_card_list): Check if match_contact_lists
is set before (duh!) matching on a contact list.
(e_select_names_completion_init): Set match_contact_lists
to TRUE by default.
2001-07-26 Jon Trowbridge <trow@ximian.com>
* e-msg-composer-hdrs.c (set_recipients): Get "destinations",
rather than "text" from the entry_widget. (The getters/setters in
the control have been made more symmetric.)
svn path=/trunk/; revision=11422
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-25 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (func_contains): change the way
x-evolution-any-field is converted to an ldap query. it used to
be we'd nest queries like: (|(|(|(foo=*x*))(bar=*x*))(baz=*x*)).
now we build it like: (|(foo=*x*)(bar=*x*)(baz=*x*)). much more
efficient (both in the building, and on the server side no doubt).
svn path=/trunk/; revision=11407
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-25 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-destination.c (e_destination_get_name): Properly dup
the results of e_destination_get_email.
* gui/component/select-names/e-select-names-popup.c
(e_select_names_popup): Check that our destination isn't empty
before building our popup. (Bug #5250)
* backend/ebook/e-destination.c (e_destination_is_empty): Made
argument const.
svn path=/trunk/; revision=11395
|
|
|
|
|
|
|
|
|
|
| |
2001-07-24 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-destination.c (e_destination_get_name): Added
fallbacks for the name in the case of an e-card, to avoid the
"nameless contact" bug.
svn path=/trunk/; revision=11358
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* backend/ebook/e-book-listener.c (e_book_listener_stop): Don't
stop the idle_queue and unref from here, since this might be
called from inside e_book_listener_check_queue, and we don't want
to return to that function with the listener having been
destroyed.
(e_book_listener_check_queue): Don't exit early if the queue is
stopped. Proceed through the check if the queue is NULL (which is
must be if the queue is stopped), and then reach the existing code
to remove the idle handler. Combined with the above, this fixes
ximian #4485 (again). This is not a plot to boost my
showstopper-bugfixing count by fixing the same bug over and over
again.
svn path=/trunk/; revision=11346
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* backend/ebook/e-book-listener.c: Add a "stopped" flag like
EBookViewListener.
(e_book_listener_check_queue): Don't emit signals if the listener
is stopped.
(e_book_listener_queue_generic_response, etc): Don't queue
responses if the listener is stopped.
(e_book_listener_stop): Flush the queue and stop queue/emitting
further responses.
* backend/ebook/e-book.c (e_book_unload_uri): Revert the previous
change and call e_book_listener_stop() instead.
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_stop): When removing an idle handler, unref
the listener as well, since e_book_view_listener_queue_response
will have ref'ed it.
svn path=/trunk/; revision=11306
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* backend/ebook/e-book.c (e_book_unload_uri): Flush the listener's
queue before unreffing it to ensure that it doesn't emit any more
"responses_queued" signals after the EBook is destroyed.
* backend/ebook/e-book-listener.c (e_book_listener_check_queue,
e_book_listener_queue_response, e_book_listener_new): Use
bonobo_object_ref/unref rather than gtk_object_ref/unref.
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_queue_response, e_book_view_listener_new):
Likewise.
svn path=/trunk/; revision=11216
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-18 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-card-compare.c (simple_query_cb): prune the list
of cards that match our query using the avoid list here, instead
of using the avoid list in the query itself, since ldap can't
handle that.
(use_common_book_cb): remove the block of code including the avoid
list in the query sent to wombat.
svn path=/trunk/; revision=11211
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-17 Chris Toshok <toshok@ximian.com>
[ Fixes bugs #4611 - crash searching in the name field at Bigfoot for "\"
and #4554 - general ldap search crash ]
* backend/pas/pas-backend-ldap.c (func_contains): the length of
the big query string needs to take into account the length of the
footer as well as the header - fix random memory corruption here.
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_build_query):
list can be NULL, specifically if there's a parsing error in the
sexp, so deal with it.
svn path=/trunk/; revision=11192
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-17 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_queue_response): Hold a reference to our
listener while the idle function is active.
(e_book_view_listener_check_queue): Only unref the listener when
the idle function is finished.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_clicked): Instead of replacing section->model with
source, copy source onto section->model with
e_select_names_model_overwrite_copy. #if 0/#endif out all of the
stuff related to ETextModels, because it doesn't make any sense to
me, and everything appears to work without it.
(Die bug #2059. Die! Die! Die!)
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_overwrite_copy): Added. Copies the contents
of one ESelectNamesModel onto another.
* backend/ebook/e-destination.c (e_destination_copy): Made the argument
const.
svn path=/trunk/; revision=11165
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-17 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-destination.c (e_destination_set_string): Removed
old, broken code and annoying g_messages.
* backend/ebook/e-book-listener.c
(e_book_listener_queue_response): Hold a reference to the listener
while the idle function is active.
(e_book_listener_check_queue): Only release our reference to the
listener when the queue is empty. These two changes fix a race
condition, since the listener could be unrefed while the listener
was still active. (Seems to fix bug #4485)
svn path=/trunk/; revision=11164
|
|
|
|
| |
svn path=/trunk/; revision=11135
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-15 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-destination.c (e_destination_set_string):
Commented out some unused variables and labels.
(e_destination_importv): Check for the xml not parsing correctly
and just return NULL here.
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_import_destinationv): Handle a NULL destv
here.
svn path=/trunk/; revision=11112
|
|
|
|
|
|
|
|
| |
2001-07-12 JP Rosevear <jpr@ximian.com>
* backend/pas/Makefile.am: add ldap cflags
svn path=/trunk/; revision=11076
|
|
|
|
|
|
|
|
|
|
| |
2001-07-12 Jeffrey Stedfast <fejj@ximian.com>
* backend/ebook/e-destination.c (e_destination_xml_decode):
Oops. I introduced my own bug, accidently set `email' to a
g_free'd pointer - eek!
svn path=/trunk/; revision=11073
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-12 Jeffrey Stedfast <fejj@ximian.com>
* backend/ebook/e-destination.c (e_destination_importv): Optimized
the same way I optimized g_strsplit. If you use a GPtrArray
instead of a linked list, you save yourself from having to iterate
through the list an extra 3 times.
(e_destination_xml_decode): Do NOT, I repeat: do NOT!
e_utf8_xml1_decode something which is already in UTF-8 or you'll
corrupt it!! I smack thee who hath done this evil deed!
svn path=/trunk/; revision=11069
|
|
|
|
| |
svn path=/trunk/; revision=11066
|
|
|
|
|
|
|
|
|
| |
2001-07-12 Jason Leach <jleach@ximian.com>
* backend/ebook/evolution-vcard-importer.c (support_format_fn):
Crash fix because strcmp() hates NULL arguments. Bug #3777.
svn path=/trunk/; revision=11034
|
|
|
|
|
|
|
|
|
| |
2001-07-10 Chris Toshok <toshok@ximian.com>
* backend/pas/evolutionperson.schema: assign OID's to the schema
entries, and add schema support for contact lists.
svn path=/trunk/; revision=10979
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-10 Christopher James Lahey <clahey@ximian.com>
* backend/pas/pas-backend-file.c (pas_backend_file_load_uri): Set
bf->priv->file_db before calling do_create.
2001-07-06 Christopher James Lahey <clahey@ximian.com>
* gui/component/addressbook-component.c (factory_fn): Fixed order
of arguments to evolution_shell_component_new.
svn path=/trunk/; revision=10949
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-08 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_insert_length): Check that str isn't
the empty string before doing an insert.
* backend/ebook/e-destination.c (e_destination_set_string): We were
being too smart for our own good here, and causing problems for
the completion code... (bug #4253, bug #4255, bug #4280)
(e_destination_set_name): Clear any cached address.
(e_destination_set_email): Clear any cached address.
(e_destination_get_address): Handle the cases where the name
contains some e-mail information.
svn path=/trunk/; revision=10901
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-07 Jon Trowbridge <trow@ximian.com>
* gui/widgets/e-minicard.c (add_field): Detect the embedded
EDestination XML, and convert it to a nice-looking e-mail address.
* gui/contact-list-editor/e-contact-list-editor.c: Adjusted to
reflect changes to EContactListModel. (Yeah, this is vague,
but the changes are _really_ obvious and boring.)
* gui/contact-list-editor/e-contact-list-model.c: Revamped
to make everything an EDestination, rather than storing either
cards or strings.
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_insert_length): Use
e_destination_get_textrep.
* gui/component/select-names/e-select-names-table-model.c
(fill_in_info): Use e_destination_get_name and
e_destination_get_email.
* gui/component/select-names/e-select-names-popup.c
(popup_menu_card): Use e_destination_get_name instead of
e_card_name_to_string.
(quick_add_cb): Use e_destination_get_address.
(popup_menu_nocard): Use e_destination_get_name.
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_changed): Removed obsolete debugging code.
(e_select_names_model_get_textification): Use e_destination_get_textrep\.
(e_select_names_model_get_address_text): Use e_destination_get_address.
(e_select_names_model_get_string): Use e_destination_get_textrep.
(e_select_names_model_replace): Use e_destination_get_textrep.
(e_select_names_model_name_pos): Use e_destination_get_textrep.
* gui/component/select-names/e-select-names-completion.c
(emailify_match): Match only if this isn't a contact list.
(match_email): Match only if this isn't a contact list.
(match_name): Do the right thing in the case of a contact list.
(book_query_process_card_list): Don't construct a match for
each possible e-mail address if this is a contact list.
* backend/ebook/e-destination.c: Major-league de-crufting and
rationalization, combined with lots of hacks to make things work
properly with contact lists.
(e_destination_copy): Copy contact list info.
(e_destination_clear_card): Clear contact list info.
(e_destination_is_empty): If we contain a contact list, we aren't
empty.
(e_destination_set_card_uri): Added. Allows us to set a
destination by card URI.
(e_destination_set_name): Allows the contact's name only ("Jane
Smith") to be set.
(e_destination_set_email): Allows the contact's e-mail only
("jane@assbarn.com") to be set.
(e_destination_set_string): Takes a free-form string containing a
contact's name and/or e-mail, and tries to do the right thing with
it.
(e_destination_contains_card): Renamed. Used to be
e_destination_has_card.
(e_destination_from_card): Added. Returns TRUE if the
EDestination comes from either a ECard (which we presently hold)
or is specified by an ECard URI.
(e_destination_use_card): Allows an EDestination's ECard to be
accessed, via a callback. If we only are holding the URI, the
card will be loaded and stored in the EDestination.
(e_destination_get_name): Returns the name only ("Jane Smith"), or
NULL.
(e_destination_get_email): Returns the email only
("jane@assbarn.com"), or NULL.
(e_destination_get_address): Added. Returns a "full address" if
both the name & e-mail are available ("Jane Smith
<jane@assbarn.com>"), or just the e-mail if the name is unknown
("jane@assbarn.com>"). If the destination is a contact list,
returns a comma-separated list of addresses.
(e_destination_get_textrep): Added. Returns a "text
representation" of the EDestination. This is what is now
displayed for completed, "cardified" destinations in addressbook
entries.
(e_destination_is_evolution_list): Check to see if this
destination is for a contact list.
(e_destination_xml_encode): Added. Build an XML data structure
representing an EDestination.
(e_destination_xml_decode): Added. Parse an XML data structure,
constructing an EDestination.
(e_destination_export): Added. Returns a null-terminated string
containing an XML representation of the EDestination, with
newlines and excess whitespace removed.
(e_destination_import): Added. Parses a string containing an XML
representation of an EDestination.
(e_destination_exportv): Added. Returns a null-terminated string
containing an XML representation of a collection of EDestinations,
with newlines and excess whitespace removed.
(e_destination_importv): Added. Takes an XML representation of a
collection of destinations, parses it, and returns a vector of
EDestinations.
* backend/ebook/e-card.c (e_card_duplicate): Copy the ->book
pointer.
(e_card_get_id): Check that the argument is valid.
(e_card_set_id): Check that the argument is valid.
(e_card_get_book): Added. Return the EBook the ECard came from.
(e_card_get_uri): Added. Tries to returns a URI for the ECard,
which is of the form (EBook URI)/(ECard unique ID). Returns NULL
if the EBook URI or the ID are unknown/not set.
(e_card_get_vobject): If we have the URI, use it as the
VCUniqueStringProp, rather than just the ID. This is a hack to
make DnD work properly.
(parse_id): Detect if the unique ID we've been passed is a URI or
just a plain card ID, and do the right thing in either case.
(e_card_uri_extract_book_uri): Added. Convenience function for
parsing card URIs.
(e_card_uri_extract_card_id): Added. Convenience function for
parsing card URIs.
(e_card_load_uri): Added. Allows an ECard to be loaded by its
URI.
* backend/ebook/e-book-view.c: Added a EBook * to the
_EBookViewPrivate struct. This is meant to contain the EBook the
EBookView is associated with.
(add_book_iterator): Added. A convenience function for attaching
the EBook to a GList of cards (if no EBook is already stored).
(e_book_view_do_added_event): Record the EBook in the added
ECards.
(e_book_view_do_modified_event): Record the EBook in the modified
ECards.
(e_book_view_set_book): Added. Stores a pointer to the
EBookView's "parent" EBook.
(e_book_view_init): Init book_view->priv->book to NULL.
(e_book_view_destroy): Unref book_view->priv->book.
* backend/ebook/e-book.c: Added a uri field to _EBookPrivate.
(e_book_unqueue_op): Removed debugging spew.
(e_book_do_response_get_view): Attach the current EBook to the
created EBookView.
(e_book_do_response_get_changes): Attach the current EBook to the
created EBookView.
(e_book_load_uri): Save a copy of the uri in the EBook.
(e_book_get_uri): Added. Just returns book->priv->uri.
(e_book_get_card): Attach a pointer to the Ebook to the
newly-loaded ECard.
(e_book_add_card): Attach a pointer to the EBook to the
newly-added ECard.
(e_book_commit_card): Attach a pointer to the EBook to the
committed ECard.
(e_book_init): Initialize the uri to NULL.
(e_book_destroy): Free the uri string on destruction.
svn path=/trunk/; revision=10882
|
|
|
|
|
|
|
|
|
| |
2001-07-05 Christopher James Lahey <clahey@ximian.com>
* backend/pas/pas-backend-file.c (compare_category): Fix a memory
leak here.
svn path=/trunk/; revision=10803
|
|
|
|
|
|
|
|
|
|
| |
2001-07-05 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-compare.c (match_search_info_free): Set
info->avoid = NULL. This shouldn't make a difference, but it
can't hurt.
svn path=/trunk/; revision=10802
|
|
|
|
|
|
|
|
|
| |
2001-07-03 Damon Chaplin <damon@ximian.com>
* backend/ebook/Makefile.am (evolution_vcard_importer_LDADD):
added $(BONOBO_CONF_LIBS) to get it to compile.
svn path=/trunk/; revision=10734
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-01 Chris Toshok <toshok@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.c (fill_in_info):
use ECARD_UID_LINK_PREFIX.
* gui/contact-list-editor/e-contact-list-model.c
(e_contact_list_model_get_email): use ECARD_UID_LINK_PREFIX.
* backend/ebook/e-destination.h: add prototype for
e_destination_importv_list.
* backend/ebook/e-destination.c (e_destination_importv_list): new
function, take an ECard corresponding to an address list and
resolve any linked cards, returning an EDestination vector.
* backend/ebook/e-card.h (ECARD_UID_LINK_PREFIX): #define this here,
since we need to use it in a few places.
svn path=/trunk/; revision=10667
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-02 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card.c, backend/ebook/e-card.h: Added
related_contacts field.
* gui/component/select-names/e-select-names-model.c,
gui/component/select-names/e-select-names-model.h
(e_select_names_model_import_destinationv): Added this function.
* gui/contact-editor/contact-editor.glade: Replaced the entry here
for related contacts with a table which is filled in in the C code.
* gui/contact-editor/e-contact-editor.c,
gui/contact-editor/e-contact-editor.h (add_lists): Added a select
names entry here for the related contacts field.
* gui/widgets/Makefile.am: Removed all the test programs here
since there are circular dependencies now.
svn path=/trunk/; revision=10666
|
|
|
|
|
|
|
|
|
|
| |
2001-07-01 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-destination.c (e_destination_get_string): Fall
back to use the name field if all else fails (which can happen
with imported EDestinations).
svn path=/trunk/; revision=10665
|
|
|
|
|
|
|
|
|
|
| |
2001-07-01 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-destination.c (e_destination_is_empty): Fix for the
"recipient not specified" bug --- we were not correctly checking
for whether or not an EDestination was actually empty.
svn path=/trunk/; revision=10664
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-30 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-card.c (e_card_evolution_list): Check args.
Somewhere in the code (somewhere in the minicard stuff) this can
be called with a NULL arg, which was causing crashes.
(e_card_evolution_list_show_addresses): Check args.
svn path=/trunk/; revision=10644
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-30 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-destination.c (build_field): I was accidentally
comparing characters and strings here, and didn't see the compiler
warning. Fixed.
(e_destination_exportv): Don't export any empty destinations.
(bug#3825).
svn path=/trunk/; revision=10635
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-30 Jon Trowbridge <trow@ximian.com>
* gui/merging/e-card-merging.c (match_query_callback): Make the
standard for considering two cards to be match stricter.
* gui/component/select-names/e-select-names-completion.c
(make_match): Use the card's use-score to set the match's
sort_major value.
(match_name): Removed obsolete code.
(e_select_names_completion_begin): Added (double) cast to make
match->score calculation come out properly.
* backend/ebook/e-card.c: Added X-EVOLUTION-LAST-USE and
X-EVOLUTION-USE-SCORE to attribute_jump_array.
(e_card_get_today): Added. A convenience routine for getting
today's date and putting it in a GDate.
(e_card_get_use_score): Added. Compute the current, time-decayed,
use-score for the card.
(e_card_touch): Increment the use-score by one; update the last
used date.
(e_card_date_to_string): Added as a convenience routine, getting
rid of some code duplication.
(e_card_get_vobject): Add handlers for X-EVOLUTION-USE-SCORE and
X-EVOLUTION-LAST-USE.
(parse_last_use): Added.
(parse_use_score): Added.
(e_card_class_init): Added args for last-use and use-score.
(e_card_get_arg): Added handlers for last-use and use-score.
o
(e_card_set_arg): Added handlers for last-use and use-score.
* backend/ebook/e-destination.c: Added pending_card_id to
EDestinationPrivate struct.
(e_destination_copy): Copy the pending_card_id.
(e_destination_is_empty): Check for a pending_card_id. We are
non-empty if we have one.
(e_destination_clear_card): Clear pending_card_id.
(e_destination_set_card): Clear pending_card_id.
(e_destination_has_pending_card): Added.
(e_destination_use_card): Added. An asynchronous way to load a
pending card and then apply a callback to it.
(build_field): Be paranoid, map our special characters to '_'.
(e_destination_export): Use EXPORT_MAX_FIELDS symbol rather than a
hard-wired array size. Added the "card" entry.
(e_destination_import): Fix bug in handling of the "name" field.
Process the "card" field.
(e_destination_touch): "Touch" and commit the ECard corresponding
to the e-mail address in the destination. (A query against the
local addressbook is actually performed, in case the destination
isn't cardified.
* backend/ebook/e-card-compare.c (e_card_compare_name): Revamp the
way E_CARD_MATCH_FOO results are mapped to comparison results.
Report better matches when the family name is matched.
svn path=/trunk/; revision=10626
|
|
|
|
| |
svn path=/trunk/; revision=10593
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-28 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-card.c (e_card_get_vobject): add support for
X-EVOLUTION-LIST and X-EVOLUTION-LIST-SHOW-ADDRESSES.
(parse_list): new function, parse the boolean X-EVOLUTION-LIST.
(parse_list_show_addresses): new function, parse the boolean
X-EVOLUTION-LIST-SHOW-ADDRESSES.
(e_card_class_init): add args for "list" and
"list_show_addresses".
(e_card_set_arg): add support for list and list_show_addresses.
(e_card_get_arg): same.
(e_card_init): init list and list_show_addresses.
svn path=/trunk/; revision=10585
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-26 Christopher James Lahey <clahey@ximian.com>
* backend/pas/pas-backend-file.c (compare_category): Added
category searching to the file backend.
* gui/component/addressbook.c (addressbook_query_changed): Added
category searching to the search bar.
svn path=/trunk/; revision=10520
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-25 Jon Trowbridge <trow@ximian.com>
* gui/component/e-address-popup.c: Add a huge steaming pile of
code to handle the case of single-address merging. In other
words, if you go to "harvest" an address by right-clicking on it
in the mail viewer, and you already have a closely-matching
contact (w/ a different e-mail address), this gives you the
option of editting that contact's e-mail addresses to add the
one you just clicked on.
* backend/ebook/e-card-compare.c (match_search_info_free): It is
amazing how much better things work when you don't try to
dereference the pointer you just freed.
svn path=/trunk/; revision=10469
|
|
|
|
|
|
| |
helixcode.com with ximian.com all over the place.
svn path=/trunk/; revision=10440
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-21 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-popup.c
(make_contact_editor_cb): Renamed. (The old name,
edit_contact_info_have_book_cb was a hold-over from before, when
we weren't using e_book_use_local_address_book.)
* gui/component/e-address-popup.c
(e_address_popup_schedule_refresh): A Added. We now do the name
refreshes in an idle function, rather than in the setters.
(e_address_popup_set_free_form): Added. Properly handle inputs of
the form "Foo <bar@zar.com>", extracting the name and e-mail
address.
(e_address_popup_set_name): Check to make sure that the free-form
handler shouldn't be used to handle the input. Schedule a refresh
after making any changes.
(e_address_popup_set_email): Check to make sure that the free-form
handler shouldn't be used to handle the input. Schedule a refresh
after making any changes.
(e_address_popup_name_only_matches): Temporary place-holder for
handling name-only matches.
(query_cb): If our initial query fails (and included e-mail
information), do a name-only query. This is to handle the case of
adding new e-mail addresses to existing contacts.
(e_address_popup_query): Eliminated the "common_book" crap; using
e_book_use_local_address_book instead.
* backend/ebook/e-card-compare.c (match_search_info_free): Make
sure that the ->avoid list gets properly freed.
svn path=/trunk/; revision=10374
|
|
|
|
|
|
|
|
|
|
| |
2001-06-20 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-file.c
(pas_backend_file_process_get_supported_fields): fix a refcounting
memleak.
svn path=/trunk/; revision=10351
|
|
|
|
|
|
|
|
|
|
| |
2001-06-20 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book-listener.c
(e_book_listener_queue_get_supported_fields_response): fix memory
leak.
svn path=/trunk/; revision=10350
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-20 Dave Camp <dave@ximian.com>
* Evolution-Composer.idl: Changed attachData to accept a sequence of
chars rather than a string.
* evolution-composer.c (impl_Composer_attach_data): Changed the 'data'
argument to a GNOME_Evolution_Composer_AttachmentData, and pass
data->_buffer and data->_length to camel_mime_part_set_content().
2001-06-20 Dave Camp <dave@ximian.com>
* gui/itip-utils.c (itip_send_comp): Changed attach_data
to be a GNOME_Evolution_Composer_AttachmentData rather than a
CORBA_char*.
2001-06-20 Dave Camp <dave@ximian.com>
* backend/ebook/e-card.c (e_card_list_send): Changed attach_data
to be a GNOME_Evolution_Composer_AttachmentData rather than a
CORBA_char*.
svn path=/trunk/; revision=10343
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-19 Chris Toshok <toshok@ximian.com>
* contact-editor/e-contact-quick-add.c (ce_have_book): rename
ce_book_found_fields to this, remove the fetching of fields (the
contact editor code handles that now.), and change the add_card
signal to card_added.
(card_added_cb): copied somewhat from merge_cb above. we don't
need to do the merge here, just call the callback.
* contact-editor/e-contact-editor.c (e_contact_editor_class_init):
track signal change. add book arg, and is_read_only -> editable.
(wants_html_changed): if the card isn't already changed, flag it
as such (and update the commands.)
(phone_entry_changed): same.
(email_entry_changed): same.
(address_text_changed): same.
(name_entry_changed): same.
(company_entry_changed): same.
(full_name_clicked): is_read_only -> editable.
(full_addr_clicked): same.
(card_added_cb): new function, emit our card_added signal, and
close the dialog if we're supposed to. properly deal with error
status here.
(card_modified_cb): same, modulo card_added -> card_modified.
(save_card): actually call e_card_merging_book_{add/commit}_card
instead of using a signal. Also, add a gboolean arg to tell
whether or not to close the dialog after saving the card.
(card_deleted_cb): new function, just emit our "card_deleted"
signal.
(delete_cb): actually call e_book_remove_card here, instead of
using a signal.
(tb_save_and_close_cb): call save_card with TRUE for should_close.
(e_contact_editor_init): init changed = FALSE;
(e_contact_editor_destroy): unref our book if we have one.
(e_contact_editor_new): new signature, set the "book" arg, and
call e_book_get_supported_fields here.
(supported_fields_cb): new function, show the contact editor.
(e_contact_editor_set_arg): initialize changed to FALSE when
setting the card (but *after*, since the changed callbacks will
set it to TRUE.) also, call command_state_changed if editable
changes. also handle setting "book". oh, and is_read_only ->
editable.
(command_state_changed): new function - set the state of the
commands we care about.
(e_contact_editor_get_arg): add "book" handling, and is_read_only
-> editable.
(_phone_arrow_pressed): is_read_only -> editable.
(_email_arrow_pressed): same.
(_address_arrow_pressed): same.
(enable_writable_fields): same.
(set_editable): rename set_read_only to this, and is_read_only ->
editable.
* contact-editor/e-contact-editor.h (struct _EContactEditor):
is_read_only -> editable, add a "changed" flag so we can sensitize
commands correctly, and add an EBook* arg to e_contact_editor_new
and to the EContactEditor struct. Also, change all the signals to
past tense, and send the EBookStatus in them.
* contact-editor/e-contact-editor-address.c
(e_contact_editor_address_class_init): is_read_only -> editable.
(e_contact_editor_address_set_arg): same.
(e_contact_editor_address_get_arg): same.
* contact-editor/e-contact-editor-address.h (struct
_EContactEditorAddress): same.
* contact-editor/e-contact-editor-fullname.c
(e_contact_editor_fullname_class_init): same.
(e_contact_editor_fullname_set_arg): same.
(e_contact_editor_fullname_get_arg): same.
* contact-editor/e-contact-editor-fullname.h (struct
_EContactEditorFullname): same.
* contact-editor/Makefile.am: don't build contact-editor-test now,
until contact-editor gets moved to gui/ and we can more easily
depend on the e_card_merging_* calls.
* backend/pas/pas-backend-ldap.c (ldap_error_to_response): return
CardIdAlreadyExists for LDAP_ALREADY_EXISTS.
* backend/idl/addressbook.idl: Add CardIdAlreadyExists to the
BookListener status enum.
* backend/ebook/e-book-types.h: add
E_BOOK_STATUS_CARD_ID_ALREADY_EXISTS.
* backend/ebook/e-book-listener.c
(e_book_listener_convert_status): add support for
CardIdAlreadyExists.
svn path=/trunk/; revision=10317
|
|
|
|
|
|
|
|
|
| |
2001-06-15 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (search_for_dn): implement this
properly, using base and (objectclass=*).
svn path=/trunk/; revision=10249
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-11 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h:
Made e_card_simple_get_id return const char *.
* backend/ebook/e-card.c, backend/ebook/e-card.h: Made
e_card_get_id return const char *.
* gui/component/e-cardlist-model.c (e_cardlist_model_add): Made id
variable const here. Added a break to make it slightly more
efficient.
* gui/widgets/e-minicard.c, gui/widgets/e-minicard.h: Made
e_minicard_get_card_id return const char *.
svn path=/trunk/; revision=10183
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-11 Christopher James Lahey <clahey@ximian.com>
* backend/pas/pas-backend-file.c (entry_compare): Made this handle
the "id" property in searches.
(pas_backend_file_process_modify_card): Made id variable const
here.
* backend/pas/pas-backend-ldap.c (modify_card_handler): Made id
variable const here.
svn path=/trunk/; revision=10182
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-11 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-book-listener.c,
backend/ebook/e-book-listener.h, backend/ebook/e-book.c: Rolled
back the change 2 ago, dated 06/11/2001 01:51 in CVS, involving
e-book-listener.[ch] and e-book.c.
svn path=/trunk/; revision=10181
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-11 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-book.c (e_book_load_uri,
e_book_get_supported_fields, e_book_authenticate_user,
e_book_remove_card_by_id, e_book_add_vcard, e_book_commit_vcard,
e_book_get_cursor, e_book_get_book_view, e_book_get_changes): Made
it so that all of these functions queue their ops before calling
their CORBA functions. This way, if the response is sent back
before the CORBA function returns there's no problem. Added
e_book_unqueue_op so that the op could be unqueued if the CORBA
call fails.
svn path=/trunk/; revision=10180
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-11 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-book-listener.c, backend/ebook/e-book-listener.h
(e_book_listener_unpop_response): Added this function to put a
response back into the queue.
* backend/ebook/e-book.c (e_book_check_listener_queue,
e_book_queue_op): Handle the case where the op hasn't been queued
yet when we get the response. In this case we unpop the response.
Also, when queueing an op, we check to see if there are any
responses waiting.
svn path=/trunk/; revision=10179
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-11 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-compare.c, backend/ebook/e-card-compare.h
(e_card_locate_match_full): Added this function to let you do
slightly more complicated searches.
* gui/merging/e-card-merging.c (e_card_merging_book_add_card): Use
e_card_locate_match_full to check if the card exists in the book
it's being added to instead of in the default book.
svn path=/trunk/; revision=10178
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-09 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-compare.c (use_common_book_cb): Null
terminate the strv here.
(e_card_locate_match): ref here instead of unref.
* backend/ebook/e-card-simple.c (e_card_simple_get): Handle a NULL
card here.
* contact-editor/Makefile.am (INCLUDES), gui/widgets/Makefile.am
(INCLUDES): Added addressbook/gui/merging here.
* contact-editor/e-contact-quick-add.c (book_ready_cb),
gui/component/addressbook-component.c (dnd_drop_book_open_cb),
gui/widgets/e-addressbook-table-adapter.c
(addressbook_append_row), gui/widgets/e-addressbook-util.c
(add_card_cb), gui/widgets/e-addressbook-view.c
(selection_received), gui/widgets/e-minicard-control.c
(book_open_cb): Use e_card_merging_book_add_card instead of
e_book_add_card here.
* gui/Makefile.am (SUBDIRS): Added merging.
* gui/component/Makefile.am (evolution_addressbook_LDADD),
gui/widgets/Makefile.am (minicard_test_LDADD,
minicard_widget_test_LDADD): Added libecardmerging.a here.
* gui/merging/, gui/merging/.cvsignore, gui/merging/Makefile.am:
New addressbook library.
* gui/merging/e-card-duplicate-detected.glade: Glade file for
duplicate detected dialog.
* gui/merging/e-card-merging.c, gui/merging/e-card-merging.h: New
files for detecting duplicates before adding and putting up a
dialog if duplicates are found.
* gui/widgets/e-minicard-view.c: Include e-addressbook-util.h
here.
svn path=/trunk/; revision=10170
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-05 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card.c (e_card_set_arg): Copy dates as they come
in.
* backend/pas/pas-backend-file.c
(pas_backend_file_changes_foreach_key, pas_backend_file_changes,
pas_backend_file_process_remove_card,
pas_backend_file_process_modify_card,
pas_backend_file_build_all_cards_list, pas_backend_file_get_vcard,
pas_backend_file_maybe_upgrade_db): memset DBTs to 0 before using
them.
(pas_backend_file_build_all_cards_list): Reindented.
* contact-editor/contact-editor.glade: Replaced GnomeDateEdits
with a custom widget that creates an EDateEdit.
* contact-editor/e-contact-editor.c: Use an EDateEdit here instead
of a GnomeDateEdit.
svn path=/trunk/; revision=10125
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-04 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-card-compare.c: Added. Code for testing
if two ECards appear to pertain to the same contact (using loose
matching rules, as opposed to requiring exact equality) and to
query the addressbook for the "best match" to ECard.
svn path=/trunk/; revision=10114
|
|
|
|
|
|
|
| |
functions from a different Berkeley DB library when we really don't
mean to.
svn path=/trunk/; revision=10105
|
|
|
|
| |
svn path=/trunk/; revision=10085
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-31 Christopher James Lahey <clahey@ximian.com>
* README: Included information about db3.
* acconfig.h: Added HAVE_DB_H and HAVE_DB3_DB_H.
* configure.in: Added various checks for db3 libraries and
includes. Of note are the new configure options
--with-db3-includes=PREFIX and --with-db3-libs=PREFIX to specify
the location for your db3 library.
From addressbook/ChangeLog:
2001-05-31 Christopher James Lahey <clahey@ximian.com>
* backend/pas/Makefile.am (INCLUDES): Added db3 cflags.
* backend/pas/pas-backend-file.c: Updated this to use db3.
From e-util/ChangeLog:
2001-05-31 Christopher James Lahey <clahey@ximian.com>
* Makefile.am (INCLUDES): Added db3 cflags.
* e-dbhash.c: Made this use db3.
* e-db3-utils.c, e-db3-utils.h: New files with some helper
functions.
From wombat/ChangeLog:
2001-05-31 Christopher James Lahey <clahey@ximian.com>
* Makefile.am (wombat_LDADD): Added db3 libs.
svn path=/trunk/; revision=10077
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-23 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (view_destroy): fix strings such
that ones that happening at the beginning or during an operation
are followed by "..." and those that stop the operation are
followed by "."
(create_card_handler): same.
(ldap_op_process_current): same, and also call _notify_complete if
we can't connect to ldap server.
(poll_ldap): same, and change "Polling for LDAP search result" to
"Receiving LDAP search results"
* backend/pas/pas-backend-file.c (pas_backend_file_search): call
notify_status_message at the beginning of this function, and
whenever we call _notify_complete.
svn path=/trunk/; revision=9941
|
|
|
|
|
|
|
|
|
|
|
| |
* backend/ebook/e-book-listener.c (e_book_listener_check_queue):
ref the listener for the duration of this function, since emitting
"responses_queued" may cause it to be unreffed by its EBook in
some cases, which could cause the second response_queue check to
look at garbage data if it got destroyed.
(e_book_listener_destroy): Call g_source_remove if idle_id is set.
svn path=/trunk/; revision=9935
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-18 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-bonobo.c
(entry_get_property_fn): Return the serialized EDestinations
(rather than just a string w/ e-mail addresses) through the bonobo
component's property bag.
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_export_destinationv): Added. A convenience routine
for serializing the model's EDestinations into a string.
* gui/component/select-names/e-select-names-popup.c
(add_html_mail): Added. Puts in a check menu item for whether or
not the recipient wants HTML mail.
(popup_menu_card): Add menu item for HTML mail. Enable edit
contact info item.
(popup_menu_nocard): Add menu item for HTML mail. Enable edit
contact info item.
* backend/ebook/e-book-util.c (e_book_use_local_address_book):
Added. Fetches the local addressbook and caches it on the first
call. This is meant to be an easy and efficient way to get at the
local addressbook with the minimum of code.
(e_book_query_address_locally): Added. Convenience code that
does an e-mail only e_book_name_and_email_query against the
local address book.
* backend/ebook/e-destination.c
(e_destination_set_html_mail_pref): Added. Allows the intended
recipient's HTML mail preference to be manipulated.
(e_destination_get_email_verbose): Added. Cleaned up to use
e_destination_get_name.
(e_destination_get_html_mail_pref): Added. Read the recipient's HTML mail
preference. If the destination is linked to a card, the
preference is taken from the card (unless it has been explicitly
overridden by a called to e_destination_set_html_mail_pref).
(e_destination_get_address_textv): Added. Form a unified address string
from a NULL-terminated vector of EDestinations.
(e_destination_export): Added. Serialize an EDestination to a string.
(e_destination_import): Added. Unserialize a string to build an
EDestination.
(e_destination_exportv): Added. Serialize a NULL-terminated vector of
EDestinations to a string.
(e_destination_importv): Added. Unserialize a string to build a
NULL-terminated vector of EDestinations.
* gui/component/select-names/e-select-names-completion.c:
Implemented local versions of g_strcasecmp and g_strncasecmp
(which should really be in glib, I think...) for utf8, and used
them to make this code utf8-safe.
2001-05-18 Jon Trowbridge <trow@ximian.com>
* Makefile.am (evolution_mail_LDADD): Added libebook.la (which is
now required by the composer.)
2001-05-18 Jon Trowbridge <trow@ximian.com>
* e-msg-composer-hdrs.c (set_recipients): Properly unserialize the
string returned by the "text" property of the bonobo control,
convert it into EDestinations, and use them to get the e-mail
addresses of our recipients.
22001-05-18 Jon Trowbridge <trow@ximian.com>
* Makefile.am (SUBDIRS): Changed build order. Now addressbook
gets built before mail.
svn path=/trunk/; revision=9878
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-13 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook.h: add prototype for
addressbook_expand_uri.
* gui/component/addressbook-component.c
(destination_folder_handle_drop): create an EBook for
@physical_uri.
(dnd_drop_book_open_cb): actually add the dropped cards.
* gui/component/addressbook.c (addressbook_expand_uri): abstract
this code out from the set_prop method so we can use it in the
component.
(set_prop): call addressbook_expand_uri.
* backend/ebook/e-card.c (e_card_load_cards_from_string): new
function.
* backend/ebook/e-card.h: add prototype for
e_card_load_cards_from_string.
svn path=/trunk/; revision=9788
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-12 Gediminas Paulauskas <menesis@delfi.lt>
* folder-browser-factory.c: load pixmaps for MessageCopy and
MessageForwardAttached. Thanks Wayne Davis <wfdavis@seas.upenn.edu>
for a patch.
2001-05-12 Gediminas Paulauskas <menesis@delfi.lt>
* evolution-mail.xml: add pixmaps for MessageCopy and
MessageForwardAttached. Thanks Wayne Davis <wfdavis@seas.upenn.edu>
for a patch.
2001-05-12 Gediminas Paulauskas <menesis@delfi.lt>
* po/POTFILES.in: update with new/moved files.
Also:
remove duplicated DATADIR from mail/Makefile.am
fix warning in e-search-bar.c
svn path=/trunk/; revision=9782
|
|
|
|
|
|
|
|
|
| |
2001-05-11 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card.c (e_card_set_arg): If the name is set and
the full_name or file_as haven't been yet, set them.
svn path=/trunk/; revision=9770
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-11 Christopher James Lahey <clahey@ximian.com>
* backend/pas/pas-backend-file.c: Reordered the includes here.
(string_to_dbt): The sleepycat libdb documentation suggests
memseting the DBT to 0 so we do that here.
* gui/widgets/e-minicard-view-model.c (addressbook_height): Skip
the E_CARD_SIMPLE_FIELD_FAMILY_NAME field.
* gui/widgets/e-minicard.c (remodel): Skip the
E_CARD_SIMPLE_FIELD_FAMILY_NAME field.
svn path=/trunk/; revision=9764
|
|
|
|
|
|
|
|
|
| |
2001-05-11 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_connect): only
check schema support if we've connected.
svn path=/trunk/; revision=9763
|
|
|
|
| |
svn path=/trunk/; revision=9722
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-08 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/Makefile.am (libebookinclude_HEADERS): Removed
e-card-pairs.h since we're not using it.
* backend/ebook/e-book-view.c (e_book_view_check_listener_queue):
Added break; to default: case here.
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h:
Added changed variable so as to avoid sync_card when possible.
(e_card_simple_destroy): Free all the data here properly.
(e_card_simple_get_arg): Slight simplification here.
(fill_in_info, e_card_simple_arbitrary_foreach,
e_card_simple_get_arbitrary): Call e_card_free_empty_lists here to
save a bit of memory.
* backend/ebook/e-card.c, backend/ebook/e-card.h: Fixed up
includes a bit.
(e_card_list_get_vcard, e_card_list_send): Added these functions
for acting on a group of cards.
(parse_org): Cleaned up this function a bit.
(e_card_free_empty_lists): Added this function to delete
unnecessary ELists and save a bit of memory.
(e_v_object_get_child_value): Made this return NULL if not found
instead of g_strdup("").
* contact-editor/e-contact-save-as.c,
contact-editor/e-contact-save-as.h (e_contact_list_save_as): Added
this function to save multiple contacts.
* gui/widgets/Makefile.am: Commented out reflow test.
(libeminicard_a_SOURCES): Added e-minicard-view-model.c and
e-minicard-view-model.h.
* gui/widgets/e-minicard-view-model.c,
gui/widgets/e-minicard-view-model.h: Model for use in
EMinicardView.
* gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h:
Reworked this to use the new EReflow stuff.
* gui/widgets/e-minicard.c (e_minicard_event): Doesn't handle
right click menus now. Emits a signal on the parent canvas item
instead.
* printing/e-contact-print-envelope.c,
printing/e-contact-print-envelope.h
(e_contact_print_envelope_list_dialog_new): Added this function to
print multiple envelopes (only prints first for now.)
* printing/e-contact-print.c, printing/e-contact-print.h
(e_contact_print_card_list_dialog_new): Added this function to
print multiple cards. Only prints the first for now.
svn path=/trunk/; revision=9711
|
|
|
|
|
|
|
|
|
| |
2001-05-04 JP Rosevear <jpr@ximian.com>
* backend/pas/pas-backend-file.c
(pas_backend_file_process_get_book_view): init change_id to NULL
svn path=/trunk/; revision=9672
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-02 JP Rosevear <jpr@ximian.com>
* gui/component/addressbook.c (addressbook_view_free): unref the
book if the view is being destroyed
* backend/pas/pas-backend-file.c
(pas_backend_file_process_get_book_view): unref the book_view when
we are finished, it is only interesting if someone else has reffed
it now (weak reference)
(pas_backend_file_add_client): unref the book for the same reason
as above
svn path=/trunk/; revision=9647
|
|
|
|
|
|
|
|
|
|
| |
2001-04-30 JP Rosevear <jpr@ximian.com>
* backend/pas/pas-backend-file.c (vcard_matches_search): if the
view does not contain a search context, the result is by default
false fixes #2470
svn path=/trunk/; revision=9634
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-16 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-destination.c (e_destination_get_name): Added.
* gui/component/select-names/e-select-names.c
(real_add_address_cb): Use e_select_names_model_append. It's
nicer.
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_append): Added.
* gui/component/select-names/e-select-names-completion.c
(book_query_process_card_list): Filter out completion matches that
don't have an associated e-mail address.
(book_query_score): Give a bonus to the primary address, so that
it always comes up first in the completion results.
* gui/component/e-address-popup.c (e_address_popup_refresh_names):
Convert utf8 strings into gtk strings before displaying.
svn path=/trunk/; revision=9390
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-14 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-book-view-listener.c,
backend/ebook/e-book-view-listener.h: Added the function
e_book_view_listener_stop to tell the book view listener to stop
sending signals.
* backend/ebook/e-book-view.c (e_book_view_destroy): Tell the
EBookViewListener to stop when we're destroyed.
* backend/pas/pas-backend-file.c (view_destroy,
pas_backend_file_process_get_book_view,
pas_backend_file_process_get_changes): Cleaned these up a bit
using bonobo_object_ref and bonobo_object_unref.
(pas_backend_file_process_get_book_view,
pas_backend_file_process_get_changes): bonobo_object_release_unref
the EBookListener here.
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_process_get_book_view): Cleaned this up a bit
using bonobo_object_ref. Make sure to unref the listener when
we're done with it. Put the new book_view in the list before
telling the book_listener that it's ready.
* backend/pas/pas-book-view.c (pas_book_view_construct): Cleaned
this up a bit using bonobo_object_dup_ref.
(pas_book_view_destroy): Cleaned this up a bit using
bonobo_object_release_unref.
* backend/pas/pas-book.c (pas_book_queue_get_book_view,
pas_book_queue_get_changes): bonobo_object_dup_ref here instead of
just duplicating.
svn path=/trunk/; revision=9313
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-14 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-book-listener.c
(impl_BookListener_respond_get_cursor): Ref the cursor here when
we receive it.
(impl_BookListener_respond_get_view,
impl_BookListener_respond_get_changes): Ref the book_view here
when we receive it.
(impl_BookListener_respond_open_book): Ref the book here when we
receive it.
(e_book_listener_destroy): Unref the objects in our queue here.
* backend/ebook/e-book-view.c (e_book_view_construct): Cleaned
this up using bonobo_object_dup_ref.
(e_book_view_destroy): Cleaned this up using
bonobo_object_release_unref.
* backend/ebook/e-book.c (e_book_do_response_get_cursor,
e_book_do_response_get_view, e_book_do_response_get_changes,
e_book_unload_uri): Cleaned this up using
bonobo_object_release_unref.
svn path=/trunk/; revision=9311
|
|
|
|
|
|
|
|
|
|
| |
Do this everywhere, also fixup CLEANFILES
2001-04-14 Michael Meeks <michael@ximian.com>
* Makefile.am (dist-hook): remove built sources from dist.
svn path=/trunk/; revision=9309
|
|
|
|
|
|
|
|
|
| |
2001-04-12 Jason Leach <jasonleach@usa.net>
* backend/pas/pas-backend-file.c (INITIAL_VCARD): Update the Voice
and Fax phone numbers too, finishing off bug #1667.
svn path=/trunk/; revision=9296
|
|
|
|
|
|
|
|
|
| |
2001-04-11 Christopher James Lahey <clahey@ximian.com>
* backend/pas/pas-backend-file.c (INITIAL_VCARD): Update the built
in VCard.
svn path=/trunk/; revision=9293
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-12 JP Rosevear <jpr@ximian.com>
* conduit/address-conduit.c (local_record_from_ecard): put the
business address into the pilot record as that is what we put into
the desktop record
(ecard_from_remote_record): set both the address label and
delivery address to avoid bad parser guessing, fixes #2143
* backend/ebook/e-card-types.h: remove deprecated pilot code
* backend/ebook/e-card.c: ditto
* backend/ebook/e-card.h: ditto
svn path=/trunk/; revision=9279
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-11 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-simple.h: Added
E_CARD_SIMPLE_FIELD_LAST_SIMPLE_STRING.
* gui/component/addressbook-component.c (accepted_dnd_types):
Fixed a warning here.
* gui/widgets/e-addressbook-model.c: Modified this to have more
columns, but not let them be edited if they're not a simple
string.
* gui/widgets/e-minicard-view.c (e_minicard_view_init): Fixed a
warning and a memory leak here.
svn path=/trunk/; revision=9230
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-10 Gediminas Paulauskas <menesis@delfi.lt>
* AUTHORS: /me is a translator.
* configure.in (EVO_CHECK_LIB): fail with AC_MSG_ERROR, not echo &&
exit 1.
2001-04-10 Gediminas Paulauskas <menesis@delfi.lt>
* backend/ebook/evolution-gnomecard-importer.c: added missing #include.
* contact-editor/e-contact-editor.c (_arrow_pressed): popup menu items were
not translated after selecting one of them.
* gui/widgets/e-addressbook-view.c: mark popup menu items with N_().
Updated list[] for translators.
* gui/widgets/e-minicard.c: same.
* gui/widgets/e-minicard-view-widget.c (e_minicard_view_widget_set_arg): fix warning
for "editable" arg.
* gui/widgets/e-minicard-view.c: convert "empty_message" to utf8.
2001-04-10 Gediminas Paulauskas <menesis@delfi.lt>
* widgets/e-summary-subwindow.c: added some missing includes.
* widgets/e-summary-title-button.h: same.
2001-04-10 Gediminas Paulauskas <menesis@delfi.lt>
* menus/gal-view-menus.c: convert label to utf8.
svn path=/trunk/; revision=9215
|
|
|
|
|
|
|
|
|
|
| |
2001-04-08 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_add_client):
make sure to notify new clients to the writable status of an
already open (and authenticated) book.
svn path=/trunk/; revision=9206
|
|
|
|
| |
svn path=/trunk/; revision=9106
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-31 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names.c
(real_add_address_cb): Call e_select_names_model_clean after
adding address. This should deal with the bug reports related
to stray commas.
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_clean): Added. Remove all empty destinations.
* backend/ebook/e-destination.c (e_destination_is_empty): Added. Check
if an EDestination is in essentially a null state.
svn path=/trunk/; revision=9067
|
|
|
|
|
|
|
|
|
| |
2001-03-30 Christopher James Lahey <clahey@ximian.com>
* backend/pas/pas-backend-file.c (pas_backend_file_add_client):
Tell new clients that are added whether they're writable.
svn path=/trunk/; revision=9043
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-29 Jon Trowbridge <trow@ximian.com>
* printing/e-contact-print.c: Added #include <libgnome/gnome-paper.h>
* printing/e-contact-print-envelope.c: Added #include <time.h>
and #include <libgnome/gnome-paper.h>
* gui/component/select-names/e-select-names-completion.c
(match_email): Better handle matching of "nameless" contacts.
* backend/ebook/e-destination.c (e_destination_get_string): Better
handle the case of a "nameless" contact.
2001-03-29 Jon Trowbridge <trow@ximian.com>
* camel-filter-driver.c (camel_filter_driver_filter_message): Save
the source URL using camel_mime_message_set_source.
* camel-mime-message.c (camel_mime_message_set_source): Renamed
camel_mime_message_set_identity to this. Sets the X-Evolution-Source
header.
(camel_mime_message_get_source): Returns the X-Evolution-Source
header.
2001-03-29 Jon Trowbridge <trow@ximian.com>
* mail-callbacks.c: Added #include <time.h> to get things
to compile.
* mail-callbacks.c (mail_generate_reply): Look at the
X-Evolution-Source header, and try to find a corresponding
account. If this works, send the mail from this account.
If not, use the default account.
* mail-ops.c (send_queue_send): Strip out the X-Evolution-Source
header before sending.
* mail-config.c (mail_config_get_account_by_source_url): Added.
Look up accounts by source URL.
svn path=/trunk/; revision=9032
|
|
|
|
|
|
|
|
|
| |
2001-03-29 Kjartan Maraas <kmaraas@gnome.org>
* *.*: Clean up #includes. Replace <gnome.h>, <bonobo.h> and
<gtk/gtk.h> with more finegrained headers where needed.
svn path=/trunk/; revision=9026
|
|
|
|
|
|
|
|
| |
2001-03-28 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card.c (e_card_set_arg): Fixed some crashes.
svn path=/trunk/; revision=9001
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-23 Jon Trowbridge <trow@ximian.com>
* gui/widgets/e-minicard-widget.c (e_minicard_widget_set_card):
Added. Call me old-fashioned, but I just prefer to have a real
API rather than doing everything via gtk_object_get/set-type
calls.
(e_minicard_widget_set_arg): Changed to call
e_minicard_widget_set_card.
* backend/ebook/e-book-util.c: Small changes to get rid of
compiler warnings. (Casting out const, removed unused variables,
etc.) Removed some debugging messages.
* gui/component/addressbook-factory.c (main): Added call
to e_address_popup_factory_init.
* gui/component/e-address-popup.c: Added. A popup gadget that is
invoked (as a bonobo control) when an address is left-clicked in
the mailer. The addressbook is queries, and the address is either
displayed as a minicard (if it already exists) or in a "generic
format". A button is provided for editting/adding the contact.
Some of the semantics of this widget are a bit... non-standard,
because of bonobo issues. I can't really seem to replicate
popup-menu behavior because of how bonobo propogates events, etc.
so I've tried to produce something that I think is non-annoying.
YMMV.
2001-03-23 Jon Trowbridge <trow@ximian.com>
* mail-display.c (handle_embedded_address_object): #ifdef away
some code I don't quite want to delete yet.
(html_button_press_event): Remove some of Radek's placeholder
code, replace it with code to create my AddressPopup bonobo
control.
* mail-format.c: Remove some obsolete code that if #ifdef-ed out
a while ago.
* mail-ops.c (send_queue_send): Strip out the X-Evolution-Identity
header when sending.
2001-03-23 Jon Trowbridge <trow@ximian.com>
* camel-filter-driver.c (camel_filter_driver_filter_message):
Don't call camel_mime_message_set_identity. (The call is
commented out, left over from some earlier experimentation that I
want to be able to remember later...)
* camel-mime-message.c (camel_mime_message_set_identity): Added.
A function to set the X-Evolution-Identity header.
svn path=/trunk/; revision=8916
|
|
|
|
|
|
|
|
|
|
| |
Fix some warnings,
Allow the importers to import into any folder.
Update all importers for this change.
Don't emit the create_folder callback if the folder to be created already exists.
This should fix the libibex crash when importing.
svn path=/trunk/; revision=8912
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-17 Jon Trowbridge <trow@ximian.com>
* backend/pas/pas-backend-file.c (pas_backend_file_search):
Start feeding query matches back to the caller before the
entire search is complete; this gives us some "instant feedback"
rather than causing evolution to totally lock up...
svn path=/trunk/; revision=8792
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-17 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-book.c (e_book_queue_op): Tag all queued ops.
(e_book_cancel_op): Added. Search for a pending op with a given
tag, and mark it as inactive.
(e_book_do_response_get_cursor): Don't execute callback if this
operations has been cancelled.
(e_book_do_response_get_view): Ditto.
(e_book_do_response_get_changes): Ditto.
(e_book_do_response_get_supported_fields): Ditto.
(e_book_get_supported_fields): Return an operation tag (that can
be used to cancel the operation) rather than just TRUE/FALSE.
Zero is always an invalid tag and is returned in the case of an
error, so this shouldn't break any code that looked at the return
value (unless it did so in a particularly stupid way, of course).
(e_book_get_cursor): Ditto.
(e_book_get_book_view): Ditto.
(e_book_get_changes): Ditto.
(e_book_cancel): Added. Cancel a pending operation. (Basically
a call to e_book_cancel_op with error checking, etc.)
* backend/ebook/e-book-types.h: Added E_BOOK_STATUS_CANCELLED.
svn path=/trunk/; revision=8790
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-17 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book-listener.c
(e_book_listener_queue_writable_status): new function.
(impl_BookListener_report_writable): new function.
(e_book_listener_get_epv): fill in epv->notifyWritable.
* backend/ebook/e-book-listener.h: add writable status entries.
* backend/ebook/e-book.c (e_book_do_writable_event): new function.
(e_book_check_listener_queue): add WritableStatusEvent to the
switch.
(e_book_class_init): register writable_status signal.
* backend/ebook/e-book.h: add writable_status signal.
* backend/idl/addressbook.idl: add notifyWritable method to
BookListener.
* gui/widgets/e-minicard.c (e_minicard_class_init): add "editable"
arg.
(e_minicard_init): init editable.
(e_minicard_set_arg): loop over the minicard fields setting their
"editable".
(e_minicard_get_arg): add editable.
(supported_fields_cb): use editable when creating the
contact_editor.
(add_field): set "editable" when creatin the e_minicard.
* gui/widgets/e-minicard.h (struct _EMinicard): add "editable".
* gui/widgets/e-minicard-view.c (e_minicard_view_class_init): add
editable arg.
(e_minicard_view_init): init editable.
(create_card): pass editable to e_minicard canvas item.
(e_minicard_view_set_arg): bit of a hack - loop over all the
canvas items setting their "editable."
(e_minicard_view_get_arg): add editable.
(supported_fields_cb): use editable when creating the contact
editor.
* gui/widgets/e-minicard-view.h (struct _EMinicardView): add
"editable."
* gui/widgets/e-minicard-view-widget.c
(e_minicard_view_widget_class_init): add "editable" field.
(e_minicard_view_widget_init): init editable to FALSE.
(e_minicard_view_widget_set_arg): save editable, and pass it along
the e-minicard-view.
(e_minicard_view_widget_realize): same.
(e_minicard_view_widget_get_arg): add editable.
* gui/widgets/e-minicard-view-widget.h (struct
_EMinicardViewWidget): add "editable" field.
* gui/widgets/e-minicard-label.h (struct _EMinicardLabel): add
"editable" field.
* gui/widgets/e-minicard-label.c (e_minicard_label_class_init):
add "editable" arg.
(e_minicard_label_set_arg): editable, set it on the e_text too.
(e_minicard_label_get_arg): editable.
(e_minicard_label_construct): set the "editable" field when we
create the e_text cavas item
* gui/widgets/e-addressbook-view.c (e_addressbook_view_init):
default editable to FALSE.
(book_writable_cb): new function, set our editable field and
gtk_object_set it on the active view.
(e_addressbook_view_set_arg): set the active view's editable when
we set the view's book, and connect the "writable_status" signal
to book_writable_cb.
(change_view_type): same.
(supported_fields_cb): use our "editable" when creating the
contact editor.
* gui/widgets/e-addressbook-view.h (struct _EAddressbookView): add
editable field.
* gui/widgets/e-addressbook-model.c (e_addressbook_model_init):
change the default of editable to FALSE.
* backend/pas/pas-book.c (pas_book_report_writable): new function.
* backend/pas/pas-book.h: prototype for pas_book_report_writable.
* backend/pas/pas-backend-file.c (pas_backend_file_load_uri): if
we open the file O_RDWR (or create it) report it as writable. if
we can't open it as O_RDWR, try opening it read-only before we
attempt to create it.
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_process_authenticate_user): if we authenticate
successfully, grant write permissions (this is lacking but there's
really nothing we can do to determine the extent of the access
afforded a user.)
svn path=/trunk/; revision=8787
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-15 Jon Trowbridge <trow@ximian.com>
* gui/component/e-address-widget.c: Added addressbook querying and
"cardification" functions, which are turned off by default for now
because of addressbook bugs. Added a popup menu option to turn
queries on, so that others can enjoy the thrill of massive flaming
death.
* gui/component/addressbook-factory.c (main): Made warnings always
be fatal.
* backend/pas/pas-book-view.c: Added some debugging spew.
* backend/pas/pas-backend-file.c (pas_backend_file_search): Added
a little experimental code to try to make file searches scale
better. #if 0/#endif-ed out for now.
* contact-editor/e-contact-quick-add.c: #included e-book-util.h.
* backend/ebook/e-card.c (e_card_name_match_string): Added.
Looser name-matching function.
(e_card_email_match_string): Added. Loose e-mail matching.
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_check_queue): Added code to cause us to
abort rather than get trapped in a 100%-CPU-consuming loop in
certain situations. Now we just need to figure out how to avoid
these situations altogether.
* backend/ebook/e-book-util.c: Added. Now contains the simple
query stuff and the open local addressbook functions.
* backend/ebook/e-book.c: Moved simple query stuff and open local
addressbook functions into e-book-util.c.
2001-03-15 Jon Trowbridge <trow@ximian.com>
* wombat.c (main): If we can't initialize a service on startup,
tell us which one before terminating.
svn path=/trunk/; revision=8754
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-15 Gediminas Paulauskas <menesis@delfi.lt>
Removed .oafinfo files -- they are obsolete.
Moved pixmaps from calendar/gui/ to art/
Moved evolution.png to art/
Moved evolution.desktop.in to data/
Generate doc/devel/executive-summary/Makefile
svn path=/trunk/; revision=8727
|
|
|
|
|
|
|
|
|
|
| |
2001-03-13 Christopher James Lahey <clahey@ximian.com>
* backend/pas/pas-backend-file.c
(pas_backend_file_process_get_book_view): Moved where we call
pas_book_respond_get_book_view.
svn path=/trunk/; revision=8685
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-12 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c: add E_STRING_PROP for
categories.
* backend/pas/evolutionperson.schema: add categories attribute.
* backend/ebook/e-card-simple.c (field_data): add
E_CARD_SIMPLE_FIELD_CATEGORIES.
* backend/ebook/e-card-simple.h: add
E_CARD_SIMPLE_FIELD_CATEGORIES.
svn path=/trunk/; revision=8664
|
|
|
|
|
|
| |
importer.
svn path=/trunk/; revision=8661
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-11 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-book.c (e_book_simple_query): Added. A
simplified, cancellable query mechanism that lets you avoid
dealing with EBookView.
(e_book_simple_query_cancel): Added. Cancels a running query.
* backend/ebook/e-book-types.h: Add enum EBookSimpleQueryStatus.
svn path=/trunk/; revision=8627
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-08 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-popup.c
(quick_add_cb): Switched to use e_contact_quick_add_free_form.
Removed debugging code, hopefully without introducing any bugs
in the process.
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_insert_length): Fix bug with commas
inside of name/address combos. As long as the comma is inside of
quotes, it will be treated as part of the name rather than as a
break between addresses.
* gui/component/select-names/e-select-names-completion.c
(match_nickname): Use e_card_name_to_string for nickname match
strings.
(match_email): Use e_card_name_to_string for email match strings.
(e_select_names_completion_begin): Strip quotes out of query text,
so we don't produce malformed sexps.
Added William Blake quote easter egg.
* contact-editor/e-contact-quick-add.c: Further attempts to fix...
mostly unsuccessful.
(e_contact_quick_add_free_form): Added. Takes a single string
and tries to parse out (using some simple, loose rules) the
name and e-mail -- then calls e_contact_quick_add. An attempt to
get the computer to automatically Do The Right Thing.
* backend/ebook/e-book.c: Fixed some broken indentation. Yes, I'm
anal.
* gui/component/GNOME_Evolution_Addressbook.oafinfo: Added oaf_server
info for EAddressWidget.
* gui/component/GNOME_Evolution_Addressbook.oaf.in: Added oaf_server
info for EAddressWidget.
* gui/component/addressbook-factory.c (main): Add call to
e_address_widget_factory_init.
* gui/component/e-address-widget.h:
* gui/component/e-address-widget.c: Added. A little widget (and a
Bonobo control, BTW) for displaying addresses, with a left-click
menu. Used to display addresses in the mail viewer (as embedded
GtkHTML objects, replacing the text previously used). Still quite
incomplete.
2001-03-08 Jon Trowbridge <trow@ximian.com>
* mail-format.c (write_field_row_begin): Added. Table row HTML
broken out into its own function.
(write_subject): Added. Emits the proper HTML for the subject
line.
(write_field_to_stream): #ifdef-ed out of existence.
(write_address): Take a CamelInternetAddress and spit out an
<object> tag with the appropriate <param>s.
* mail-display.c (on_object_requested): Check for an "address"
object. If found, call...
(handle_embedded_address_object): ...this function, which creates
an AddressWidget bonobo control and passes in the necessary info.
I never really realized just quite how much GtkHTML kicks ass
until I figured out how to make this work.
svn path=/trunk/; revision=8607
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-06 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-book.c (e_book_load_local_address_book): Added.
Just encapsulates opening
file://~username/evolution/local/Contactes/addressbook.db, so that
path doesn't need to be hardwired in throughout the code.
svn path=/trunk/; revision=8570
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-06 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_replace): Fix a reference counting bug.
* gui/component/select-names/e-select-names-manager.c (popup_cb):
A callback for creating the appropriate popup by calling
e_select_names_popup.
(e_select_names_manager_create_entry): Connect popup_cb to the
entry's popup signal
* gui/component/select-names/e-select-names-popup.c: Added. Code
for popup right-click menus for recipient entries. Still a bit
incomplete.
* backend/ebook/e-destination.c (e_destination_get_email_num):
Added.
* contact-editor/e-contact-quick-add.c: Added. Some code and a
dialog for very quickly adding entries to the address book.
Still not fully working.
svn path=/trunk/; revision=8567
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-04 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-simple.c: Cleaned up the formatting in this
file a bit.
* contact-editor/e-contact-editor.c (e_contact_editor_set_arg):
Made it so that passing in NULL to the writable_fields arg sets
the set of writable fields to the empty set.
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_activate_obj): Pass NULL as the
writable_fields argument here.
* gui/widgets/e-addressbook-model.c: Don't offset by one here.
This way we will get the file_as field as one of our
ETableColumns.
* gui/widgets/e-addressbook-view.c (SPEC): Updated this for the
changes in ECardSimple.
* gui/widgets/e-minicard.c (remodel): Don't remodel if the item
isn't realized.
svn path=/trunk/; revision=8538
|
|
|
|
|
|
|
|
|
| |
2001-03-02 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c: doh, track renaming of
objectclass from evolvePerson to evolutionPerson.
svn path=/trunk/; revision=8536
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-02 Chris Toshok <toshok@ximian.com>
* backend/pas/evolutionperson.schema: rename evolveperson.schema
to this, and add remaining attributes.
* backend/pas/pas-backend-ldap.c: add remaining fields, and fix up
ones that were incorrent (either the ldap_attr or the query prop).
svn path=/trunk/; revision=8535
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-02 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (add_objectclass_mod): add
objectclasses for "person", "organizationalPerson", and "top" as
well, just to be complete.
(check_schema_support): rename check_for_evolve_person to this, to
reflect that we're doing more than just checking for that
objectClass.
(add_oc_attributes_to_supported_fields): new function.
(add_to_supported_fields): new function.
(pas_backend_ldap_destroy): unref supported_fields.
svn path=/trunk/; revision=8517
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-02 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-card-simple.c (field_data): add new entries for
phone enums, and fill in the ecard_field with (bogus in all but a
few cases) strings. these are the strings sent from wombat to
evolution-addressbook for supported_fields.
(e_card_simple_get_ecard_field): new function.
(e_card_simple_map_phone_to_field): new function.
(e_card_simple_map_email_to_field): new function.
(e_card_simple_map_address_to_field): new function.
* backend/ebook/e-card-simple.h: add a few phone entries to the
ECardSimpleField enum, and add prototypes for mapping the list
types (phone, email, address) to ECardSimpleField. Also, add
prototype for e_card_simple_get_ecard_field.
* backend/ebook/e-book.c
(e_book_do_response_get_supported_fields): don't build the EList
here, it's already built.
* backend/ebook/e-book-listener.h: change fields from the CORBA
sequence to the EList in our reponse struct.
* backend/ebook/e-book-listener.c
(e_book_listener_queue_get_supported_fields_response): we make the
EList here, since after we return the CORBA list is freed up.
svn path=/trunk/; revision=8515
|
|
|
|
|
|
|
|
|
|
| |
2001-03-02 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-file.c
(pas_backend_file_process_get_supported_fields): implement
properly, we support everything.
svn path=/trunk/; revision=8514
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-01 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-table-model.c
(fill_in_info): Change for new EDestination/ESelectNamesModel API.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_get_source): Added. A function for
looking up the ESelectNamesModel by id. (I didn't end up using
this function, but it might come in handy later.)
(e_select_names_manager_get_cards): #if 0/#endif out this
function.
(e_select_names_manager_create_entry): Modified to attach an
ESelectNamesCompletion to the entry we create.
(completion_handler): A post-completion handler for our EEntry, to
take the completion's extra data (an EDestination) and properly
stick it into our ESelectNamesModel.
* gui/component/select-names/e-select-names.c
(real_add_address_cb): Changed to operate on EDestinations rather
than ECards and to use the new ESelectNamesModel API. This leads
to a rather nice code simplication.
(remove_address): Changed for new ESelectNamesModel API.
* gui/component/select-names/e-select-names-bonobo.c
(entry_get_property_fn): Rather than just passing the entry's text
through the property bag, get the "address text" from the model.
This returns a nice, verbose string of addresses with names
expanded when the address is tied to an ECard (i.e. "Jon
Trowbridge <trow@ximian.com>").
(impl_SelectNames_get_entry_for_section): Make the text property
read-only.
(entry_set_property_fn): ...and since it is read-only now, chop
out the setter code.
* gui/component/select-names/e-select-names-text-model.h:
* gui/component/select-names/e-select-names-text-model.c: Again,
this code has been (pretty much) totally rewritten to convert all
text operations into changes on the ESelectNamesModel. This lets
us give the associated EEntry some (IMHO) nice semantics regarding
whitespace, etc. Includes object activation, so destinations tied
to ECards are underlined and can be double-clicked to bring up a
contact editor.
* gui/component/select-names/e-select-names-model.h:
* gui/component/select-names/e-select-names-model.c: I've heavily
modified this object to both hide all implementation details
(which the old version exposed a bit too much for my peculiar
tastes) and to act as an EDestination container. The old code put
the text model operations here. I've moved them all to
ESelectNamesTextModel --- so the text model actions (insert,
delete, etc.) are all done through the API rather than operating on
ESelectNamesModel internals.
* gui/component/select-names/e-select-names-completion.c: Added. A
fairly complicated object derived from ECompletion that searches
our local addressbook in various and sundry ways.
* gui/component/select-names/e-select-names-completion.h:
* backend/ebook/e-destination.h:
* backend/ebook/e-destination.c: Added. This object encapsulates
a place to sent an email to, which can either be just a address as
a string ("trow@ximian.com"), a fancier string ("Jon Trowbridge
<trow@ximian.com>"), or an ECard and a specific address within
that ECard.
svn path=/trunk/; revision=8459
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-21 Christopher James Lahey <clahey@ximian.com>
* backend/pas/pas-backend-file.c (pas_backend_file_search): Made
this pay attention to the return value of e_sexp_parse.
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_activate_obj): Fixed a const
inconsistency here.
svn path=/trunk/; revision=8321
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-21 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-book.c (pas_book_queue_get_supported_fields):
new function.
(impl_GNOME_Evolution_Addressbook_Book_getSupportedFields): track
change to idl.
(pas_book_respond_get_supported_fields): new function.
* backend/pas/pas-book.h: add GetSupportedFields to the
PASOperation enum. Also, add a stringlist field to the PASRequest
struct. lastly, add a prototype for
pas_book_respond_get_supported_fields.
* backend/pas/pas-backend.h: remove prototype for
pas_backend_get_supported_fields, and remove it from the vtable.
* backend/pas/pas-backend.c (pas_backend_get_supported_fields):
remove.
(pas_backend_class_init): no vtable entry for get_supported_fields
anymore.
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_process_get_supported_fields): new function.
(pas_backend_ldap_process_client_requests): add case for
GetSupportedFields.
(pas_backend_ldap_class_init): get_supported_fields isn't in
vtable anymore.
* backend/pas/pas-backend-file.c
(pas_backend_file_process_get_supported_fields): new function.
(pas_backend_file_process_client_requests): add case for
GetSupportedFields.
(pas_backend_file_class_init): get_supported_fields isn't in
vtable anymore.
* backend/idl/addressbook.idl: Book::getSupportedFields now
returns void and add BookListener::notifySupportedFields.
* backend/ebook/test-client.c (get_fields_cb): new function.
(auth_user_cb): track change to e_book_get_supported_fields.
* backend/ebook/e-book.c
(e_book_do_response_get_supported_fields): new function.
(e_book_check_listener_queue): add case
GetSupportedFieldsResponse.
(e_book_get_supported_fields): switch to async model.
* backend/ebook/e-book.h: switch e_book_get_supported_fields to an
async model.
* backend/ebook/e-book-listener.c
(e_book_listener_queue_get_supported_fields_response): new
function.
(impl_BookListener_response_get_supported_fields): new function.
(e_book_listener_get_epv): fill in epv's "notifySupportedFields"
* backend/ebook/e-book-listener.h: add an async response for
GetSupportedFields and add a stringlist member to the
EBookListenerResponse struct.
svn path=/trunk/; revision=8316
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-20 Federico Mena Quintero <federico@ximian.com>
* backend/pas/pas-book-factory.c (pas_book_factory_activate):
Moved the register_factory() code to here, since it was the only
thing being called anyways.
(PasBookFactoryPrivate): Added a "registered" flag.
(pas_book_factory_activate): Set the registered flag.
(pas_book_factory_destroy): Deactivate the factory when we go away.
svn path=/trunk/; revision=8307
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-20 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book.c (e_book_get_supported_fields): new function.
* backend/ebook/e-book.h: add e-book interface to getting
supported fields.
* backend/ebook/test-client.c (auth_user_cb): shoe-horn in some
spew about supported fields.
svn path=/trunk/; revision=8303
|
|
|
|
| |
svn path=/trunk/; revision=8286
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-19 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_create_entry): When creating the entry,
open up an ebook (corresponding to the local addressbook) and make
the entry use an EAddressCompletion.
(completion_handler): Added; this is the actual completion
handler, which manipulates the entry when the user selects
something from the drop-down.
* gui/component/select-names/e-select-names-model.c: Various hacks
by clahey to unbreak e_select_names_model_add_item,
e_select_names_model_replace_item (which I added) and
e_select_names_model_remove_item.
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_obj_count,
e_select_names_text_model_get_nth_obj): Make chunks of text that
correspond to ECards in the ESelectNamesModel be embedded objects.
(e_select_names_text_model_activate_obj): On activation, pop up a
contact editor for the embedded object's card.
(e_select_names_text_model_model_changed): Fixed to work with
ETextModel API changes.
(e_select_names_text_model_set_text): Make const correct.
(e_select_names_text_model_insert): Make const correct.
(e_select_names_text_model_insert_length): Make const correct.
* backend/ebook/e-address-completion.h,
backend/ebook/e-address-completion.c: Added. EAddressCompletion
is a derived class of ECompletion that does asynchronous address
lookups for completions.
svn path=/trunk/; revision=8282
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-17 Chris Toshok <toshok@ximian.com>
* backend/idl/addressbook.idl: add sequence<string> typedef, and
add getSupportedFields method.
* backend/pas/pas-book.c
(impl_GNOME_Evolution_Addressbook_Book_getSupportedFields): new
function.
* backend/pas/pas-backend.c (pas_backend_class_init): init
get_supported_fields = NULL.
(pas_backend_get_supported_fields): new function.
* backend/pas/pas-backend.h: add prototype for
pas_backend_get_supported_fields.
* backend/pas/pas-backend-file.c
(pas_backend_file_get_supported_fields): new function.
(pas_backend_file_class_init): fill in get_supported_fields.
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_get_supported_fields): new function.
(pas_backend_ldap_class_init): fill in get_supported_fields.
svn path=/trunk/; revision=8270
|
|
|
|
|
|
| |
* various .cvsignore files: Ignore generated .oaf files
svn path=/trunk/; revision=8237
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-14 Christopher James Lahey <clahey@ximian.com>
* backend/pas/pas-backend-ldap.c: Undefine E_STRING_PROP and
E_LIST_PROP here.
* contact-editor/e-contact-editor.c,
contact-editor/e-contact-editor.h (e_contact_editor_raise): Added
this function.
* gui/widgets/e-minicard.c, gui/widgets/e-minicard.h
(e_minicard_event): Added an editor field to the EMinicard object.
Made it so that if you double click on the same card twice, it
doesn't open a new window, but instead raises the old.
2001-02-08 Iain Holmes <iain@ximian.com>
* gui/component/addressbook-storage.c (addressbook_source_free):
Free the ldap.binddn.
* gui/widgets/e-addressbook-view.c
(e_addressbook_view_setup_menus): Free the dir strings.
2001-02-08 Christopher James Lahey <clahey@ximian.com>
* contact-editor/e-contact-editor.c (categories_clicked): Set the
header on the category dialog we pop up.
svn path=/trunk/; revision=8234
|
|
|
|
|
|
|
|
| |
2001-02-12 Kjartan Maraas <kmaraas@gnome.org>
* backend/ebook/GNOME_Evolution_Addressbook_GnomeCard_Importer.oaf.in: Translations.
svn path=/trunk/; revision=8195
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-12 Kjartan Maraas <kmaraas@gnome.org>
* gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.oaf.in:
Marked strings for translation in this newly created file.
* gui/component/select-names/Makefile.am: Hook up the .oaf.in files in the
xml-i18n-tools framework.
* gui/component/Makefile.am: Same as above.
* gui/component/GNOME_Evolution_Addressbook.oaf.in: Marked stuff for translation here
too.
svn path=/trunk/; revision=8183
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-07 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (check_for_evolve_person): flesh
out this check. #ifdef the entire thing OPENLDAP2, as it only
works with the new schema stuff in openldap 2.x (both on server
and client, so upgrade your server.)
svn path=/trunk/; revision=8097
|
|
|
|
|
|
|
|
|
| |
2001-02-07 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_connect): only
set the DEBUG_LEVEL if we're OPENLDAP2.
svn path=/trunk/; revision=8062
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-06 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (email_compare): return TRUE if
equal, FALSE otherwise.
(business_compare): same.
(homephone_compare): same.
(email_ber): return NULL if there are no elements in our list.
(homephone_ber): same.
(business_ber): same.
(build_mods_from_ecards): add smarts to handle list elements
properly (like email, business_phone, home_phone.) now we'll
properly send updates if any element in the list changes.
svn path=/trunk/; revision=8047
|
|
|
|
|
|
|
|
|
| |
2001-02-06 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (create_card_handler): doh,
didn't mean to commit this.
svn path=/trunk/; revision=8029
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-06 Chris Toshok <toshok@ximian.com>
* backend/pas/evolveperson.schema: new file. this will eventually
form the suggested additions to an existing openldap server that,
along with support for inetorgperson, will allow people to store
all evolution attributes in ldap.
svn path=/trunk/; revision=8028
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-06 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_init): don't
need the = NULL's since we g_new0.
(check_for_evolve_person): new function.
(pas_backend_ldap_connect): check to see if the evolvePerson
objectclass is there.
(build_mods_from_ecards): right now, just silently skip the extra
attributes if we don't support evolvePerson.
(add_objectclass_mod): new function, add both inetOrgPerson and
(if it's available) evolvePerson as objectclasses.
(pas_backend_ldap_process_authenticate_user): also check to see if
evolvePerson is there, if we couldn't do it (due to auth reasons)
in the connect method.
(prop_info): change the telephoneNumber LDAP attribute to be used
for evolution's business phone numbers. the primary phone number
will be a single valued attribute on evolvePerson.
(business_populate): new function.
(business_ber): new function.
(business_compare): new function.
svn path=/trunk/; revision=8025
|
|
|
|
|
|
|
|
|
| |
2001-02-05 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (create_card_handler): err,
allocate 2 char*s when i assign 2 char*s.
svn path=/trunk/; revision=8010
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-05 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (modify_card_handler): switch to
ldap_modify_ext_s if OPENLDAP2, as ldap_modify_s is deprecated.
(build_mods_from_ecards): don't include the mod if the value is ""
- this isn't valid on schema checking ldap servers.
(homephone_populate): new function.
(homephone_ber): new function.
(homephone_compare): new function.
(create_card_handler): add spew when adding cards so I can see
what's going on.
svn path=/trunk/; revision=8009
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-05 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c (e_card_get_vcard): Make the Note field
be quoted printable.
2001-01-27 Christopher James Lahey <clahey@helixcode.com>
* gui/search/e-addressbook-search-dialog.c
(e_addressbook_search_dialog_init): This should be a close button,
not a cancel button.
svn path=/trunk/; revision=7971
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-25 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (build_mods_from_ecards): add
comment about the else block here.
(prop_info): add home_address, business_address, business_fax,
assistant, and isdn.
svn path=/trunk/; revision=7821
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-25 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-backend-file.c (pas_backend_file_load_uri): Made
this only add the initial VCard if it finds a file
"create-initial" in the directory it's creating the database in.
* gui/component/addressbook-component.c (factory_fn): Added a
create_folder function.
* gui/search/e-addressbook-search-dialog.c
(e_addressbook_search_dialog_init): Fixed an unused variable
warning.
svn path=/trunk/; revision=7816
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-25 Not Zed <NotZed@Ximian.com>
* backend/pas/pas-backend-ldap.c: esexp api change fixes.
* backend/pas/pas-backend-file.c (entry_compare): Fix for e_sexp api changes.
(vcard_matches_search): esexp api fixes.
(pas_backend_file_search): Ouch, unref the e-sexp properly (not gtk object).
svn path=/trunk/; revision=7798
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-24 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (email_ber_func): make sure to
add the lengths here (include the \0? anyone?).
(build_mods_from_ecards): if we're filling in mod->mod_bvalues,
set mod_op |= LDAP_MOD_BVALUES.
svn path=/trunk/; revision=7791
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-19 JP Rosevear <jpr@ximian.com>
* conduit/address-conduit.c (ecard_from_remote_record): always free
the delivery elements and correct embarrassingly stupid memory error
that was causing the addressbook conduit problems.
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_check_queue): ref/unref ourself when processing
in case someone we signal unrefs us.
* conduit/address-conduit.c (sequence_complete): disconnect signals
when complete
svn path=/trunk/; revision=7641
|
|
|
|
|
|
|
|
|
|
| |
2001-01-17 Federico Mena Quintero <federico@ximian.com>
* backend/pas/pas-book-factory.c (pas_book_factory_activate): Made
it return a gboolean; it was completely ignoring the return value
from register_factory().
svn path=/trunk/; revision=7624
|
|
|
|
|
|
|
|
| |
2001-01-17 Larry Ewing <lewing@helixcode.com>
* backend/ebook/.cvsignore: add evolution-gnomecard-importer.
svn path=/trunk/; revision=7598
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-17 Larry Ewing <lewing@helixcode.com>
* configure.in (EVOLUTION_DIR): add the
doc/devel/importer/Makefile as a target.
* backend/ebook/Makefile.am (oaf_DATA): don't require the pine
oainfo file until it is actually added to the repository. We need
to keep the build working for nightlies to work.
svn path=/trunk/; revision=7597
|
|
|
|
| |
svn path=/trunk/; revision=7592
|
|
|
|
| |
svn path=/trunk/; revision=7591
|
|
|
|
|
|
|
|
|
| |
2001-01-16 Jason Leach <jasonleach@usa.net>
* backend/pas/pas-backend-file.c (INITIAL_VCARD): s/Helix
Code/Ximian/ for the initial contact card.
svn path=/trunk/; revision=7538
|
|
|
|
| |
svn path=/trunk/; revision=7417
|
|
|
|
| |
svn path=/trunk/; revision=7406
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-11 Chris Toshok <toshok@helixcode.com>
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_process_create_card): get a book view from
somewhere so we can give status messages - choose the first one in
the list.
(pas_backend_ldap_process_modify_card): same.
(pas_backend_ldap_process_remove_card): same.
(prop_info): add more properties, like home_phone, mobile, pager,
uri, org_unit, office, title, and manager.
svn path=/trunk/; revision=7404
|
|
|
|
| |
svn path=/trunk/; revision=7399
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-09 Chris Toshok <toshok@helixcode.com>
* gui/widgets/e-minicard-view-widget.c
(e_minicard_view_widget_class_init): register our status_message
signal.
(status_message): new function, emit our status_message signal.
(e_minicard_view_widget_realize): connect to the EMinicardView's
status_message signal.
* gui/widgets/e-minicard-view-widget.h: add status_message signal.
* gui/widgets/e-minicard-view.c (e_minicard_view_class_init):
register our status_message signal.
(e_minicard_view_init): init status_message_id.
(status_message): new function, emit our status_message signal.
(book_view_loaded): connect to the EBookView's status_message
signal.
(disconnect_signals): disconnect status_message_id.
* gui/widgets/e-minicard-view.h: add status_mesage_id, and
status_message signal.
* gui/widgets/e-addressbook-model.c (status_message): new
function, emit our status_message.
(e_addressbook_model_class_init): register our "status_message"
signal.
(book_view_loaded): connect to the EBookView's status_message
signal, so we can chain it to our parent.
(e_addressbook_model_init): init status_message_id.
(remove_book_view): disconnect status_message_id.
* gui/widgets/e-addressbook-model.h: add status_message_id, and
status_message signal.
* backend/pas/pas-backend-ldap.c change the objectclass we create
objects with to "inetOrgPerson" as it encompasses the fields we
use.
(create_dn_from_ecard): remove the mail/org handling from
here. we just prepend cn=$cn onto the base dn.
(create_card_handler): remove the NULL that build_mods_from_ecards
adds at the end, and insert our objectClass.
(modify_card_handler): call search_for_dn to get the ECardSimple
of the old card, since it might (and does in the current code)
doing a brute force search.
(search_for_dn): new function, to search for an entry by its dn.
right now we brute force (objectclass=*) under the base dn and
compare dn's. going to add a first pass that explodes the dn and
searches that way, using (objectclass=*) as a last resort. also,
here's where we'd put the extensibleMatch code if we want to go
that route.
* backend/ebook/e-card.c (e_card_set_arg): if we're setting the
full name regenerate ecard->name.
svn path=/trunk/; revision=7345
|
|
|
|
|
|
|
|
|
| |
2001-01-09 Chris Toshok <toshok@helixcode.com>
* backend/ebook/e-card.c (e_card_set_arg): if we're setting the
full name regenerate ecard->name.
svn path=/trunk/; revision=7342
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-04 Chris Toshok <toshok@helixcode.com>
* backend/ebook/e-book-listener.c
(e_book_listener_queue_authentication_response): new function.
(impl_BookListener_respond_authentication_result): new function.
(e_book_listener_get_epv): fill in
epv->notifyAuthenticationResult.
* backend/ebook/e-book-listener.h: add AuthenticationResponse to
EBookListenerOperation.
* backend/ebook/e-book.c (e_book_authenticate_user): new function.
* backend/ebook/e-book.h: add prototype for
e_book_authenticate_user.
* backend/idl/addressbook.idl (GNOME:Evolution:Addressbook:Book):
add authenticateUser method.
(GNOME:Evolution:Addressbook:BookListener): add
AuthenticationFailed and AuthenticationRequired to CallStatus.
also add notifyAuthenticationResult method.
* backend/pas/pas-backend-file.c
(pas_backend_file_process_authenticate_user): dummy
authenticate_user function that always succeeds.
(pas_backend_file_process_client_requests): respond to the
AuthenticateUser request.
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_build_query):
gtk_object_unref(sexp) => s_exp_unref(sexp).
(pas_backend_ldap_process_authenticate_user): fill in to use
ldap_simple_bind_s.
(pas_backend_ldap_process_client_requests): respond to the
AuthenticateUser request.
* backend/pas/pas-book.c (pas_book_queue_authenticate_user): new
function.
(impl_GNOME_Evolution_Addressbook_Book_authenticateUser): new
function.
(pas_book_respond_authenticate_user): new function.
(pas_book_get_epv): fill in epv->authenticateUser.
* backend/pas/pas-book.h: add AuthenticateUser operation type, and
add user/passwd to the PASRequest struct.
* gui/component/addressbook-storage.c
(addressbook_storage_get_source_by_uri): new function. should use
a hashtable, perhaps, but the lists will generally be small
anyway.
* gui/component/addressbook-storage.h: add prototype for
addressbook_storage_get_source_by_uri.
* gui/component/addressbook-config.c
(addressbook_source_dialog_set_source): fill in the binddn if the
auth page is shown.
* gui/component/addressbook.c (book_open_cb): shoe-horn
authentication in here. if the source was configured to use
authentication, authenticate the user after opening the ebook.
also, be paranoid and clear out the password after authenticating.
(book_auth_cb): callback for auth. set the "book" arg on the
view->view here.
(passwd_cb): set the view's passwd that'll be used in
book_open_cb.
(addressbook_view_free): g_free view->passwd.
svn path=/trunk/; revision=7265
|
|
|
|
|
|
|
|
|
| |
2001-01-04 JP Rosevear <jpr@helixcode.com>
* backend/pas/pas-backend-file.c (pas_backend_file_book_view_free):
Need to e_sexp_unref the the sexp, not gtk_object_unref it.
svn path=/trunk/; revision=7256
|
|
|
|
|
|
|
|
|
| |
2001-01-03 Michael Meeks <michael@helixcode.com>
* backend/pas/pas-backend-file.c (pas_backend_file_search):
g_strdup things we g_free.
svn path=/trunk/; revision=7229
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-21 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.c (cursor_cb): Ref the cards that get put
in the change list
(next_changed_item): util function to get the real next changed item
(compute_status): really compute the status of the record
(local_record_from_uid): Set the id of the temporary card
(check_for_slow_setting): Make this check a little saner
(card_added): Only record the CardObjectChange if the card is not
archived
(card_changed): ditto
(card_removed): ditto
(set_status_cleared): actually clear the status
(for_each_modified): Clean out cruft and use next_changed_item
(add_record): Set the new id properly in our local card copy
(replace_record): handle the case where the record has been deleted
and we need to call add. need to update the changed_hash entry
(delete_record): Don't panic if the card is not found, its already
been deleted.
* backend/pas/pas-backend-file.c (pas_backend_file_book_view_copy):
The change_context no longer has a del_cards member
(pas_backend_file_book_view_free): ditto
(pas_backend_file_process_get_changes): ditto
(pas_backend_file_changes_foreach_key): just record the id
(pas_backend_file_changes): notify_remove needs an id not a vcard
svn path=/trunk/; revision=7120
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-18 Chris Toshok <toshok@helixcode.com>
* backend/pas/pas-backend-ldap.c (ldap_error_to_response): always
use LDAP_NAME_ERROR (in the openldap1 case it's #defined to
NAME_ERROR).
(build_card_from_entry): ldap_get_values can return NULL. also,
openldap2 keeps us from getting at ldap->ld_errno, so we can't
tell if there was a decoding error like we used to. the double
free problem where ldap would free the ber if there was a decoding
problem might be fixed now.. further investigation is needed.
for now we leak in openldap2.
(ldap_search_handler): the ldap structure is opaque, so use
ldap_search_ext to give the extra information (the max responses,
timeout, etc.) in the openldap2 case.
svn path=/trunk/; revision=7073
|
|
|
|
|
|
|
|
|
|
| |
2000-12-13 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-backend-ldap.c (ldap_error_to_response): Test
for the existance of LDAP_NAME_ERROR and if it exists as a macro,
use it instead of NAME_ERROR.
svn path=/trunk/; revision=6992
|