| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-02 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book-types.h: just include glib.h instead of the
gtk stuff.
* backend/ebook/e-book-listener.[ch]: convert to
GObject/bonobo-activation/etc/etc.
* e-book-util.[ch]: same.
* e-book-view-listener.[ch]: same.
* e-book-view.[ch]: same.
* e-book.[ch]: same.
* e-card-compare.[ch]: same.
* e-card-cursor.[ch]: same.
* e-card-simple.[ch]: same.
* e-card.[ch]: same.
* e-destination.[ch]: same.
* evolution-ldif-importer.c: same.
* evolution-vcard-importer.c: same.
* load-gnomecard-addressbook.c: same.
* load-pine-addressbok.c: same.
* test-card.c: same.
* test-client-list.c: same.
* test-client.c: same.
* backend/ebook/Makefile.am: add e-book-marshal.c to SOURCES, add
e-book-marshal.[ch] to CLEANFILES, and add e-book-marshal.list to
EXTRA_DIST. Also, remove the camel libs from the test LDADD's,
and leave e-destination.[ch] out of the build.
* backend/ebook/.cvsignore: ignore e-book-marshal.[ch]
* backend/ebook/e-book-marshal.list: marshallers for e-book.
svn path=/trunk/; revision=18505
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook-component.c (user_create_new_item_cb):
If invoked from a non-contact folder, add the contact to the
default contact folder, not the local one. If invoked from a
contact folder, don't append "addressbook.db" to the URI, let
ebook do the right thing. Fixes #28327 and #28325.
* backend/idl/addressbook.idl (CallStatus): Add NoSuchBook.
(Initially intended as part of a fix for #28327, but the other
changes make it so the error code never ends up getting used any
more, but it's still good to have.)
* gui/widgets/e-addressbook-util.c (e_addressbook_error_dialog):
Handle NO_SUCH_BOOK.
* backend/ebook/e-book-types.h (EBookStatus): Add
E_BOOK_STATUS_NO_SUCH_BOOK.
* backend/ebook/e-book-listener.c
(e_book_listener_convert_status): add case for NoSuchBook.
* backend/ebook/e-book-util.c (e_book_load_local_address_book):
Kill this. Nothing should ever explicitly load the local
addressbook.
(e_book_use_default_book): Replaces e_book_use_local_address_book,
using the default book instead.
(e_book_default_book_open): Fall back to local contact folder on
E_BOOK_STATUS_NO_SUCH_BOOK too.
(e_book_query_address_default): Use default book, not local.
* gui/component/e-address-widget.c (query_idle_fn): Use the
default book, not the local book.
* gui/component/select-names/e-select-names-popup.c
(edit_contact_info_cb): Use the default book, not the local book.
* backend/ebook/e-destination.c (e_destination_cardify): Use the
default book, not the local book.
(e_destination_touch): Query the default book, not the local book.
* backend/ebook/e-card-compare.c (e_card_locate_match,
e_card_locate_match_full): Use the default book, not the local
book.
svn path=/trunk/; revision=17764
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-14 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-compare.c (compare_email_addresses): Made
"" compare as not equal to "" for addresses.
(use_common_book_cb): Don't bother checking for nickname here
since we don't use it as a match later. Don't add "" as an
address to the list of query parts.
svn path=/trunk/; revision=17191
|
|
|
|
|
|
|
|
|
|
| |
2002-01-18 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-compare.c: Made username match with no
domain match be vague instead of partial. Fixes Ximian bug
#13612.
svn path=/trunk/; revision=15356
|
|
|
|
| |
svn path=/trunk/; revision=15293
|
|
|
|
| |
svn path=/trunk/; revision=14211
|
|
|
|
|
|
| |
explicitly.
svn path=/trunk/; revision=14188
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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-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-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-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-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-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-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-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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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-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
|