| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
svn path=/trunk/; revision=2767
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-05-01 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-book-factory.c: Add back in the
CORBA_Object_release.
* backend/pas/pas-book.c: Properly duplicate and release the
listener passed to us.
svn path=/trunk/; revision=2720
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-05-01 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-backend-file.c, backend/pas/pas-backend-ldap.c:
Made uri slightly better managed.
* backend/pas/pas-book-factory.c
(pas_book_factory_process_request): Remove this
CORBA_Object_release that causes things not to work. This is just
a temporary fix until we figure out what's actually wrong.
* backend/pas/pas-book.c: Fixed a copy and paste error in a warning.
svn path=/trunk/; revision=2718
|
|
|
|
|
|
|
|
|
| |
2000-05-01 Larry Ewing <lewing@helixcode.com>
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_remove_client):
fix a typo in the for loop.
svn path=/trunk/; revision=2714
|
|
|
|
| |
svn path=/trunk/; revision=2711
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-30 Federico Mena Quintero <federico@helixcode.com>
* backend/ebook/e-book-types.h (EBookStatus): Added new status
values for the IDL stuff.
* backend/pas/pas-book-factory.h (PASBookFactoryClass): New
"last_book_gone" signal.
* backend/pas/pas-book-factory.c
(pas_book_factory_launch_backend): Better error handling.
(pas_book_factory_process_queue): Let
pas_book_factory_process_request() free the request.
(pas_book_factory_process_request): Free the request here.
Perform better error handling.
(free_active_server_map_entry): Free an active server map entry;
free the URI key and unref the backend value. This function was
renamed; the old one was trying to CORBA_Object_unref() a GTK+
object!
(remove_backends_entry): Free a backend table entry; free the URI
key.
(backend_last_client_gone_cb): Remove the backend from the active
server map and emit the "last_book_gone" signal if appropriate.
(pas_book_factory_get_n_backends): New function to query the
number of running backends in an addressbook factory.
* backend/idl/addressbook.idl (BookListener::CallStatus): Added a
ProtocolNotSupported code. This is for when the addressbook
factory cannot find a provider for the requested URI.
* backend/pas/pas-backend.h (PASBackendClass): New
"last_client_gone" signal.
(PASBackendClass): New get_uri virtual method.
* backend/pas/pas-backend.c (pas_backend_load_uri): Return a
gboolean success code.
(pas_backend_add_client): Return a gboolean success code.
(pas_backend_last_client_gone): New function used by backend
implementations to notify upwards when the backend's last client
is destroyed.
(pas_backend_get_uri): New function to get the URI of a backend.
* backend/pas/pas-backend-file.c (pas_backend_file_add_client):
Pass the backend as the closure data to the "destroy" handler of
the book. We cannot call pas_book_get_backend() in the callback
since the book's private data has already been destroyed when the
callback is invoked. Alternatively, we could move the private
data destruction step to the book's ::finalize() method.
(pas_backend_file_book_destroy_cb): Get the backend from the
callback's data, not from the book.
(pas_backend_file_remove_client): Remove the book from the list of
clients. When all clients go away, call
pas_backend_last_client_gone().
(PASBackendFilePrivate): Added an uri field.
(pas_backend_file_get_uri): Implement the get_uri method.
(pas_backend_file_load_uri): Return a gboolean success code.
Also, store the URI in the private structure.
(pas_backend_file_add_client): Return a gboolean success code.
Also, call pas_backend_last_client_gone() if appropriate.
(pas_backend_file_destroy): Free the bf->priv->uri.
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_add_client):
Pass the backend as the closure data to the "destroy" handler of
the book. See above for rationale.
(pas_backend_ldap_book_destroy_cb): Get the backend from the
callback's data.
(pas_backend_ldap_remove_client): Remove the book from the list of
clients. When all clients go away, call
pas_backend_last_client_gone().
(pas_backend_ldap_load_uri): Return a gboolean success code.
(pas_backend_ldap_add_client): Return a gboolean success code.
Also, call pas_backend_last_client_gone() if appropriate.
(PASBackendLDAPPrivate): New uri field.
(pas_backend_ldap_get_uri): Implement the get_uri method.
(pas_backend_ldap_load_uri): Store the uri in the private
structure.
(pas_backend_ldap_destroy): Free the bl->priv->uri.
svn path=/trunk/; revision=2705
|
|
|
|
|
|
|
|
| |
* backend/ebook/e-book.c (e_book_load_uri): create the book
listener here, since it's destroyed in unload_uri.
(e_book_construct): remove the book listener construction here.
svn path=/trunk/; revision=2699
|
|
|
|
|
|
|
|
| |
2000-04-30 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/.cvsignore: Added load-pine-addressbook.
svn path=/trunk/; revision=2698
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-30 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c: Make file as not have the : after it if
it's empty. If there's no name, or file_as, fill in these fields
with defaults based on full_name or name respectively.
* backend/ebook/load-pine-addressbook.c: New file to do import of
pine .addressbook files.
* backend/pas/pas-backend-file.c: Made empty fields act as the
empty string for searches.
* contact-editor/e-contact-editor.c,
contact-editor/e-contact-editor.h: Made the File As field update
properly as you edit the name and company fields. Added the pull
down list of File As choices. Made sure that all fields will
be set to NULL if they are deleted to the empty string.
* gui/minicard/e-minicard.c: Use the File As field instead of the
Full Name field for the header. Make identical compares on the
File As field do a compare on the uid.
From wombat/ChangeLog
2000-04-30 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Added ename libs to LDADD.
svn path=/trunk/; revision=2696
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-30 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/Makefile.am: Added ename includes and libs.
* backend/ebook/e-card.c, backend/ebook/e-card.h: Added
e_card_name_from_string. Added header for
e_card_delivery_address_from_string, even though it's not
implemented yet.
* contact-editor/Makefile.am: Removed the ename includes since we
no longer use ename directly here.
* contact-editor/e-contact-editor.c: Fixed this to properly save
the address labels displayed. Updated this to use the function
e_card_name_from_string instead of doing it by hand.
* contact-editor/fullname-strings.h,
contact-editor/fullname.glade: Deleted an unused field. Changed
the set of prefixes and suffixes.
svn path=/trunk/; revision=2689
|
|
|
|
|
|
|
|
|
|
|
|
| |
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_ensure_connected): add support for a rootdn in
the uri.
(pas_backend_ldap_build_all_cards_list): make use of the rootdn in
the call to ldap_search_s.
(pas_backend_ldap_search): same.
(pas_backend_ldap_load_uri): get the rootdn out of the passed in uri.
svn path=/trunk/; revision=2688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-29 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c, backend/ebook/e-card.h: Added
e_card_phone_new e_card_delivery_address_new,
e_card_delivery_address_to_string, e_card_name_copy,
e_card_name_new, e_card_name_to_string, and made e_card_name_free
public. Removed some unused code.
* backend/pas/pas-backend-file.c: Fixed a warning.
* contact-editor/Makefile.am: Added e-contact-editor-fullname.[ch]
and fullname.glade. Added e-name libs and includes.
* contact-editor/e-contact-editor-fullname.c,
contact-editor/e-contact-editor-fullname.h,
contact-editor/fullname-strings.h, contact-editor/fullname.glade:
New dialog for editing the fields of a name separately.
* contact-editor/e-contact-editor.c,
contact-editor/e-contact-editor.h: Create an
EContactEditorFullname when you click on the Full Name button.
Maintain a parsed name at all times.
* gui/component/Makefile.am, gui/minicard/Makefile.am: Added
e-name libs.
svn path=/trunk/; revision=2683
|
|
|
|
|
|
|
|
|
|
| |
2000-04-28 Larry Ewing <lewing@helixcode.com>
* backend/pas/pas-book-factory.c (register_factory): fix the
`USING_OAF' changes so that they work for when we are not using
oaf.
svn path=/trunk/; revision=2678
|
|
|
|
| |
svn path=/trunk/; revision=2673
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-27 Christopher James Lahey <clahey@helixcode.com>
* configure.in: Added addressbook/ename/Makefile.
From addressbook/ChangeLog:
2000-04-27 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c, backend/ebook/e-card.h: Added file as,
office, manager, assistant, spouse, and anniversary fields. These
all use "X-EVOLUTION-" fields in the VCards.
* backend/pas/pas-backend-file.c: Added all the new fields (except
anniversary) to the list of fields.
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor-strings.h: Fixed some misnamed
fields and fixed the placement of the comments field.
* contact-editor/e-contact-editor.c: Made the newly added fields
display properly.
* Makefile.am: Added ename.
* ename/e-name-western.h, ename/test-ename-western-gtk.c,
ename/test-ename-western.c: Fixed up some #includes.
* ename/.cvsignore: Added .cvsignore.
svn path=/trunk/; revision=2658
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-26 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-types.h, backend/ebook/e-card.c,
backend/ebook/e-card.h: Added an address label field.
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor-strings.h: Got rid of some unused
fields.
* contact-editor/e-contact-editor.c,
contact-editor/e-contact-editor.h: Added the address label field.
Load only. Editing these fields seems to mess things up.
svn path=/trunk/; revision=2646
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-26 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-types.h, backend/ebook/e-card.c,
gui/minicard/e-minicard.c: Prefixed the ADDR_ flags.
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor-strings.h: Edited the glade file.
Removed all the fields that we don't use.
* contact-editor/e-contact-editor.c,
contact-editor/e-contact-editor.h: Made the phone fields work
properly. The address and email fields are temporarily turned off
until they can be made to work as the phone fields do.
svn path=/trunk/; revision=2625
|
|
|
|
| |
svn path=/trunk/; revision=2610
|
|
|
|
| |
svn path=/trunk/; revision=2609
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-18 Federico Mena Quintero <federico@helixcode.com>
* gui/minicard/Makefile.am (INCLUDES): Use "e-minicard" as the log
domain.
* gui/component/Makefile.am (INCLUDES): Use
"evolution-addressbook" as the log domain.
* backend/pas/Makefile.am: Build libpas.a, not a shared library.
Do not install any header files.
(INCLUDES): Remove spurious include paths.
* backend/pas/*.[ch]: Fix includes.
* backend/ebook/Makefile.am: Do not install the test programs.
Fixed some include weirdness.
* backend/ebook/*.[ch]: Fix includes.
* contact-editor/Makefile.am (INCLUDES): Set the log domain to
"contact-editor".
(INCLUDES): Fix.
* contact-editor/*.[ch]: Fix includes.
* gui/minicard/*.[ch]: Fix includes.
svn path=/trunk/; revision=2529
|
|
|
|
| |
svn path=/trunk/; revision=2526
|
|
|
|
| |
svn path=/trunk/; revision=2467
|
|
|
|
| |
svn path=/trunk/; revision=2466
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-16 Christopher James Lahey <clahey@helixcode.com>
* addressbook/backend/ebook/e-card.c,
addressbook/backend/ebook/e-card.h,
addressbook/backend/ebook/test-card.c,
addressbook/backend/pas/pas-backend-file.c,
addressbook/contact-editor/e-contact-editor.c: Added
orginizational unit, nickname, and internet free-busy fields.
* addressbook/contact-editor/contact-editor.glade: Renamed some
incorrectly named fields.
svn path=/trunk/; revision=2464
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-16 Christopher James Lahey <clahey@helixcode.com>
* addressbook/backend/ebook/e-card.c,
addressbook/backend/ebook/e-card.h,
addressbook/backend/ebook/test-card.c,
addressbook/backend/pas/pas-backend-file.c,
addressbook/gui/minicard/e-minicard.c: Added orginization and role
fields.
* addressbook/contact-editor/contact-editor.glade,
addressbook/contact-editor/e-contact-editor-strings.h: Renamed
some incorrectly named fields.
* addressbook/contact-editor/e-contact-editor.c: Added
orginization and role fields as well as hooking up the birth date
field.
* addressbook/gui/minicard/e-minicard-view.c: Added a missing include.
svn path=/trunk/; revision=2458
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-14 Christopher James Lahey <clahey@helixcode.com>
* addressbook/backend/ebook/e-card.c,
addressbook/backend/ebook/e-card.h,
addressbook/backend/pas/pas-backend-file.c,
addressbook/backend/pas/pas-backend-ldap.c,
addressbook/contact-editor/e-contact-editor.c: Added a note field.
From shell/ChangeLog:
2000-04-14 Christopher James Lahey <clahey@helixcode.com>
* e-shell-view.c: Made the left pane of the shell view not
autoresize.
svn path=/trunk/; revision=2444
|
|
|
|
| |
svn path=/trunk/; revision=2441
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* addressbook/backend/pas/pas-backend-ldap.c
(pas_backend_ldap_ensure_connected): don't ldap_simple_bind_s if
the ldap_open failed, and fix warnings.
(pas_backend_ldap_build_all_cards_list): don't do search if the
ensure_connected failed, and fix warnings.
(pas_backend_ldap_search): same.
(poll_ldap): fix warnings.
(pas_backend_ldap_process_get_book_view): same.
(pas_backend_ldap_get_vcard): same.
(pas_backend_ldap_load_uri): same.
svn path=/trunk/; revision=2429
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-13 Christopher James Lahey <clahey@helixcode.com>
* addressbook/backend/pas/pas-book-view.c: Give correct warnings.
* addressbook/backend/ebook/e-card.c (e_card_set_arg): g_strdup
url and title.
svn path=/trunk/; revision=2421
|
|
|
|
|
|
| |
* addressbook/backend/pas/pas-backend-ldap.c: add the title attribute.
svn path=/trunk/; revision=2419
|
|
|
|
|
|
|
| |
* addressbook/backend/ebook/e-card.c (e_card_get_vcard): save out
the title to the vcard.
svn path=/trunk/; revision=2417
|
|
|
|
|
|
|
|
|
|
|
| |
* addressbook/backend/ebook/test-card.c: add title field foo to
the test.
* addressbook/backend/ebook/e-card.c: reflect the title field.
* addressbook/backend/ebook/e-card.h: un-#if 0 the title field.
svn path=/trunk/; revision=2416
|
|
|
|
|
|
|
| |
* addressbook/backend/pas/pas-backend-ldap.c
(view_destroy): make sure to g_source_remove the idle id.
svn path=/trunk/; revision=2415
|
|
|
|
|
|
|
|
|
| |
* addressbook/backend/pas/pas-backend-ldap.c (poll_ldap): new
function that polls ldap for more search responses.
(pas_backend_ldap_search): use the async search interface and
register an idle call to poll for the responses.
svn path=/trunk/; revision=2414
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* addressbook/backend/pas/pas-backend-file.c (entry_compare):
rework this function to use a table mapping search field names to
vcard properties and extra information (such as whether or not the
property is a list.)
* addressbook/backend/pas/pas-backend-ldap.c
(construct_email_list): new function, to build the ECardList for
email addresses.
(construct_phone_list): new function, to build the ECardList for
phone numbers.
(pas_backend_ldap_search): use a table mapping ldap attributes to
ecard properties, and use the special list construction functions
if the property calls for it. general cleanup. added a comment
about not calling ber_free if there was a decoding error.
svn path=/trunk/; revision=2411
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* addressbook/backend/pas/pas-backend-ldap.c
(pas_backend_ldap_build_all_cards_list): delay the setting of the
ldap variable until we've ensured we were connected. Also, set
the search limit to LDAP_MAX_SEARCH_RESPONSES (we'll eventually
want a user setting here i assume.)
(pas_backend_ldap_search): same here, and also send back lists of
CARDS_PER_VIEW_NOTIFICATION length in each
pas_book_view_notify_add call. also, don't call ber_free if there
was a decoding error, since the ldap library frees it for us.
svn path=/trunk/; revision=2406
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* wombat/Makefile.am (wombat_LDADD): add LDAP_LIBS here.
* configure.in: check for -lldap and -llber and if both are
present include ldap support in the pas/wombat.
* addressbook/backend/pas/Makefile.am (libpas_la_SOURCES): include
pas-backend.ldap.c if ENABLE_LDAP.
* addressbook/backend/pas/pas-backend-ldap.c: get searching
working (converting between the sexp and ldap stuff.)
* wombat/wombat.c (setup_pas): register the ldap pas backend if
HAVE_LDAP is defined.
svn path=/trunk/; revision=2401
|
|
|
|
|
|
|
|
| |
* addressbook/backend/pas/pas-backend-file.c
(vcard_matches_search): free the esexp_result.
(entry_compare): we want comparison functions to take 2 args.
svn path=/trunk/; revision=2395
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* addressbook/backend/pas/pas-backend-file.c
(compare_email): new function for searching all email addresses of
a contact.
(compare_phone): new function for searching all phone numbers of a
contact.
(compare_address): new function for searching all addresses of a
contact (unimplemented as yet).
(entry_compare): add support for searching the list items "email",
"phone" and "address".
svn path=/trunk/; revision=2393
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* addressbook/backend/pas/pas-backend-file.c
(get_e_card_prop): new function, taking code from func_contains to
get string properties.
(entry_compare): new function generic, taking strstr-like function
as a parameter.
(func_contains): rewrite function to use entry_compare.
(is_helper): new helper function to map strcmp to a strstr-like
function.
(func_is): new function, implementing "is" for searches.
(endswith_helper): new function.
(func_endswith) new function, implementing "endswith" for searches.
(beginswith_helper): new function.
(func_beginswith): new function, implementing "beginswith" for searches.
svn path=/trunk/; revision=2392
|
|
|
|
|
|
|
|
|
|
|
|
| |
* addressbook/backend/pas/pas-backend-file.c
(pas_backend_file_search): remove spew.
(pas_backend_file_process_create_card): move the sync to the
earliest possible point after the db operation.
(pas_backend_file_process_remove_card): same.
(pas_backend_file_process_modify_card): same, and call
pas_book_respond_modify, not pas_book_respond_remove, here.
svn path=/trunk/; revision=2388
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-10 Christopher James Lahey <clahey@helixcode.com>
* addressbook/backend/ebook/e-book-view.c,
addressbook/backend/ebook/e-book.c: Changed some incorrect
gtk_object_refs and gtk_object_unrefs into bonobo_object_refs and
bonobo_object_unrefs.
* addressbook/backend/pas/pas-card-cursor.c: Changed a
gtk_object_destroy to a gtk_object_unref.
* addressbook/gui/minicard/e-minicard-view.c,
addressbook/gui/minicard/e-minicard-view.h: Set a list pointer to
NULL after freeing its contents. Added
e_minicard_view_remove_selection function.
* addressbook/gui/minicard/e-reflow.c: Set a list pointer to NULL
after freeing its contents.
svn path=/trunk/; revision=2386
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* addressbook/gui/minicard/e-minicard-view.c (get_view): change
the empty search string ("") to the valid (contains "full_name" "").
* wombat/Makefile.am (wombat_LDADD): reorder so libeutil.la comes
after libpas (since it uses the sexp stuff now.)
* addressbook/backend/pas/Makefile.am (INCLUDES): add
-I$(top_srcdir)/addressbook/backend/ebook
* addressbook/backend/pas/pas-backend-file.c
(view_destroy): free the search context and unref the sexp.
(string_to_dbt): save the zero byte of strings, so we don't have
to g_strndup everywhere.
(func_contains): new function, implementing the (contains) search
function.
(vcard_matches_search): generic predicate to tell whether or not a
vcard entry matches the current book view.
(pas_backend_file_search): rip some of this code out of
get_book_view (the portion building the list of cards) and make it
use the e-sexp stuff.
(pas_backend_file_process_create_card): use vcard_matches_search
to only notify if the card will appear in the view.
(pas_backend_file_process_remove_card): use vcard_matches_search
to only notify if the card will be removed from the view.
(pas_backend_file_process_modify_card): use vcard_matches_search
to notify if the modified card was added, removed, or changed in
the view.
svn path=/trunk/; revision=2382
|
|
|
|
|
|
|
|
| |
* addressbook/backend/pas/pas-backend-file.c
(pas_backend_file_process_get_book_view): use view != NULL instead
of checking db_error when we call pas_book_respond_get_book_view)
svn path=/trunk/; revision=2375
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-10 Christopher James Lahey <clahey@helixcode.com>
* addressbook/backend/ebook/e-book-view.c: Fixed a bug where I was
sending the wrong information to some callbacks.
* addressbook/backend/ebook/e-card.c,
addressbook/backend/ebook/e-card.h: Added an e_card_duplicate
function. Made ids get stored in vcards. Made sure to delete the
url if it exists.
* addressbook/backend/pas/Makefile.am: Made pas include
addressbook/backend/ebook/ in the search path.
* addressbook/backend/pas/pas-backend-file.c: Fixed some bugs and
made the create card function store the generated id in the card
being saved.
* addressbook/backend/pas/pas-book-view.c: Fixed a double free
bug.
* addressbook/contact-editor/e-contact-editor.c: Fixed some bugs.
Made the contact editor actually return a valid card when
gtk_object_get(editor, "card", ...) is called.
* addressbook/contact-editor/e-contact-editor.h: Fixed a copy and
paste error.
* addressbook/gui/component/addressbook.c: Made this get the card
properly.
* addressbook/gui/minicard/Makefile.am: Made this include
contact-editor directory in the search path and link against
libecontacteditor so that double clicking can open a dialog.
* addressbook/gui/minicard/e-minicard.c: Fixed some small bugs.
Made double clicking open a contact editor dialog if this minicard
is contained in a minicard view. (It needs the minicard view to
get the EBook to save to.
* wombat/Makefile.am: Link wombat against libebook, since
pas-backend-file now uses ECard.
svn path=/trunk/; revision=2360
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-08 Christopher James Lahey <clahey@helixcode.com>
* addressbook/contact-editor/Makefile.am,
addressbook/contact-editor/e-contact-editor.c,
addressbook/contact-editor/e-contact-editor.h,
addressbook/contact-editor/test-editor.c: Made the contact editor
load from an ECard.
* addressbook/backend/ebook/e-card.c,
addressbook/backend/ebook/e-card.h,
addressbook/gui/minicard/e-minicard.c: Added support for the URL
field.
svn path=/trunk/; revision=2349
|
|
|
|
|
|
|
|
|
| |
2000-04-08 Christopher James Lahey <clahey@helixcode.com>
* addressbook/backend/ebook/e-card.c (e_card_get_vcard): Fixed a
small typo.
svn path=/trunk/; revision=2347
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-08 Christopher James Lahey <clahey@helixcode.com>
* art/Makefile.am: pixmap_DATA isn't defined so don't use it as a variable.
* addressbook/gui/component/,
addressbook/gui/component/.cvsignore, addressbook/gui/Makefile.am,
addressbook/gui/component/addressbook-factory.c,
addressbook/gui/component/addressbook.c,
addressbook/gui/component/addressbook.gnorba,
addressbook/gui/component/addressbook.h: New directory to proivde
the component for contact management. Simply uses an e-minicard-view.
* addressbook/gui/minicard/e-minicard-view.c,
addressbook/gui/minicard/e-minicard-view.h: New subclass of
e-reflow-sorted that takes an EBook and uses it to compute the
card data to display.
* addressbook/gui/minicard/e-minicard.c,
addressbook/gui/minicard/e-minicard.h: This now backends to a
ECard instead of a ETableModel.
* addressbook/gui/minicard/e-reflow.c,
addressbook/gui/minicard/e-reflow.h: This now has a virtualized
add method.
* addressbook/gui/minicard/e-reflow-sorted.c,
addressbook/gui/minicard/e-reflow-sorted.h: New subclass of
e-reflow that allows the data to be sorted on the fly.
* addressbook/gui/minicard/test-minicard-view.c: New test to test
the new minicard view.
* addressbook/gui/minicard/test-reflow.c: Uses the new ECard
backend of the e-minicard.
* addressbook/gui/minicard/.cvsignore,
addressbook/gui/minicard/Makefile.am: Added new test. Fixed
dependencies. Added new files.
* addressbook/gui/, addressbook/gui/Makefile.am,
addressbook/gui/.cvsignore: New directory for addressbook gui
bits. Added subdirectories. Created an initial .cvsignore.
* addressbook/Makefile.am (SUBDIRS): Removed demo and added gui.
* addressbook/backend/pas/pas-backend-file.c: Added code to do
notification on bookviews when changes in the backend are made.
* addressbook/backend/pas/pas-book-view.c,
addressbook/backend/pas/pas-book-view.h: Added helper functions to
notify the view about the addition or modification of a single
card. Fixed a mistaken extra free.
* addressbook/backend/ebook/e-card-list-iterator.h: Fixed
incorrect parent class.
* addressbook/backend/ebook/test-client.c: Made this accept an
optional parameter that specifies the vcard to add.
* configure.in: Replaced widgets/e-minicard/Makefile and
addressbook/demo/Makefile with addressbook/gui/minicard/Makefile
and addressbook/gui/component/Makefile respectively.
* widgets/Makefile.am: Removed e-minicard since it's being moved
to addressbook/gui/minicard.
* widgets/e-text/e-text.c: Fixed the border width around tooltips
and made the main tooltip area yellow.
From camel/ChangeLog:
2000-04-08 Christopher James Lahey <clahey@helixcode.com>
* providers/smtp/.cvsignore: Added a .cvsignore file.
From calendar/ChangeLog:
2000-04-08 Christopher James Lahey <clahey@helixcode.com>
* gui/Makefile.am: Removed linking with libetable and libeminicard
since they weren't being used.
svn path=/trunk/; revision=2343
|
|
|
|
| |
svn path=/trunk/; revision=2321
|
|
|
|
|
|
|
|
|
| |
* addressbook/backend/pas/pas-backend-file.c
(pas_backend_file_process_get_book_view): correctly (well,
untested) implement.
(view_destroy): new function.
svn path=/trunk/; revision=2320
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-04 Christopher James Lahey <clahey@helixcode.com>
* addressbook/demo/e-test-model.c,
addressbook/demo/e-test-model.h, addressbook/demo/Makefile.am:
Changed this to backend to an ebook.
* addressbook/backend/ebook/e-card-iterator.c,
addressbook/backend/ebook/e-card-iterator.h,
addressbook/backend/ebook/e-card-list-iterator.c,
addressbook/backend/ebook/e-card-list.c,
addressbook/backend/ebook/e-card-list.h,
addressbook/backend/ebook/e-card.c,
addressbook/backend/ebook/e-card.h: Fixed const correctness and
changed a couple of functions to be external.
* addressbook/Makefile.am: Fixed subdir ordering.
svn path=/trunk/; revision=2287
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-04 Christopher James Lahey <clahey@helixcode.com>
* addressbook/backend/ebook/e-book-view.c: Fixed an incorrect
function.
* addressbook/backend/ebook/e-book-view.h,
addressbook/backend/ebook/e-book.h: Fixed some incorrect function
pointer declarations.
* addressbook/backend/ebook/e-card-iterator.c,
addressbook/backend/ebook/e-card-iterator.h,
addressbook/backend/ebook/e-card-list-iterator.c,
addressbook/backend/ebook/e-card-list-iterator.h,
addressbook/backend/ebook/e-card-list.c,
addressbook/backend/ebook/e-card-list.h,
addressbook/backend/ebook/e-card.c,
addressbook/backend/ebook/e-card.h,
addressbook/backend/ebook/test-card.c: Built new iterator system
for getting fields with multiple entries.
* addressbook/backend/ebook/Makefile.am: Added new files
addressbook/backend/ebook/e-card-iterator.c,
addressbook/backend/ebook/e-card-iterator.h,
addressbook/backend/ebook/e-card-list-iterator.c,
addressbook/backend/ebook/e-card-list-iterator.h,
addressbook/backend/ebook/e-card-list.c, and
addressbook/backend/ebook/e-card-list.h.
svn path=/trunk/; revision=2286
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-03 Christopher James Lahey <clahey@helixcode.com>
* addressbook/backend/ebook/e-card-cursor.h,
addressbook/backend/ebook/e-card.c: A bit of clean up.
* addressbook/backend/ebook/e-book-types.h,
addressbook/backend/ebook/e-book-view-listener.c,
addressbook/backend/ebook/e-book-view-listener.h,
addressbook/backend/ebook/e-book-view.c,
addressbook/backend/ebook/e-book-view.h,
addressbook/backend/pas/pas-book-view.c,
addressbook/backend/pas/pas-book-view.h: New files for live views.
* addressbook/backend/ebook/Makefile.am,
addressbook/backend/ebook/e-book-listener.c,
addressbook/backend/ebook/e-book-listener.h,
addressbook/backend/ebook/e-book.c,
addressbook/backend/ebook/e-book.h,
addressbook/backend/ebook/test-client-list.c,
addressbook/backend/ebook/test-client.c,
addressbook/backend/pas/pas-backend-file.c,
addressbook/backend/pas/pas-book.c,
addressbook/backend/pas/pas-book.h,
addressbook/backend/idl/addressbook.idl: Added live views and
searching to the interface (neither is working yet.)
svn path=/trunk/; revision=2280
|
|
|
|
|
|
|
|
| |
* addressbook/backend/pas/pas-backend-file.c
(pas_backend_file_build_all_cards_list): Get first card (with
R_FIRST) on first seq().
svn path=/trunk/; revision=2265
|
|
|
|
|
|
|
|
|
| |
* addressbook/backend/pas/pas-backend-ldap.h: new-file
* addressbook/backend/pas/pas-backend-ldap.c: new file
both still in the "do not enter" stage.
svn path=/trunk/; revision=2263
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-03-29 Christopher James Lahey <clahey@helixcode.com>
* addressbook/backend/ebook/e-card-cursor.c: Fixed management of
the corba-cursor object by calling CORBA_Object_duplicate on it on
e-card-cursor creation and calling CORBA_Object_release on
e-card-cursor destruction. Also, properly free string returned
from Evolution_CardCursor_get_nth function.
svn path=/trunk/; revision=2249
|
|
|
|
|
|
|
|
|
|
|
| |
+ some debugging.
+
+ * addressbook/backend/ebook/e-book-listener.c: Added inline
+ documentation for exposed functions.
+ * addressbook/backend/ebook/e-card-cursor.c: same.
+ * addressbook/backend/ebook/e-card.c: same.
svn path=/trunk/; revision=2248
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ (PAS_BOOK_FACTORY_GOAD_ID): changed to
+ "evolution:addressbook-server".
+
+ * addressbook/backend/pas/Makefile.am: no need to install a
+ .gnorba file from here, as the wombat.gnorba file in
+ evolution/wombat will do its job.
+
+ * addressbook/backend/ebook/test-client.c (ebook_create): if
+ ebook_new fails, print a warning and return.
+
+ * addressbook/backend/ebook/e-book.c (CARDSERVER_GOAD_ID): changed
+ to "evolution:addressbook-server".
The wombat in evolution/wombat will now have both the pcs and the pas
in it.
svn path=/trunk/; revision=2246
|
|
|
|
|
|
|
| |
* addressbook/backend/pas/pas-card-cursor.c (create_cursor): use
g_new0 to allocate the BonoboObjectServant.
svn path=/trunk/; revision=2243
|
|
|
|
|
|
|
|
| |
* addressbook/backend/pas/pas-backend-file.c
(pas_backend_file_build_all_cards_list): remove unnecessary
strdup/free.
svn path=/trunk/; revision=2240
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-03-28 Christopher James Lahey <clahey@helixcode.com>
* addressbook/backend/pas/pas-backend-file.c: Removed an infinite
loop.
* addressbook/backend/ebook/test-client-list.c: New test that
doesn't add an extra database item.
* addressbook/backend/ebook/Makefile.am,
addressbook/backend/ebook/.cvsignore: Added test-client-list.
svn path=/trunk/; revision=2239
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-03-28 Christopher James Lahey <clahey@helixcode.com>
* addressbook/backend/pas/pas-card-cursor.c: Fixed memory
allocation.
* addressbook/backend/pas/pas-backend-file.c: Fixed memory
allocation. Made database stuff not do an extra entry.
* addressbook/backend/ebook/test-client.c: Add test for
get_all_cards functionality. Changed database name to test.db.
* addressbook/backend/ebook/e-card-cursor.c: Changed bonobo_object
to gtk_object in a couple of places.
svn path=/trunk/; revision=2236
|
|
|
|
|
|
|
|
| |
* addressbook/backend/pas/pas-backend-file.c
(pas_backend_file_create_unique_id): create id's for entries using
the following format: ("pas-id-%08lX%08X", time(NULL), c++).
svn path=/trunk/; revision=2235
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* addressbook/backend/pas/pas-backend-file.c
(get_length): implement function.
(get_nth): implement function.
(cursor_destroy): free up the internal glist of vcards, and fix
warning.
(pas_backend_file_build_all_cards_list): new function, to build up
the list of cards in the db.
(pas_backend_file_process_get_all_cards): call
pas_backend_file_build_+all_cards_list, and fix warning.
svn path=/trunk/; revision=2210
|
|
|
|
|
|
|
| |
* addressbook/backend/pas/pas-backend-file.c
(pas_backend_file_get_vcard): remove unneeded g_strdup;
svn path=/trunk/; revision=2207
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-03-27 Christopher James Lahey <clahey@helixcode.com>
* addressbook/backend/ebook/test-card.c: Fixed some warnings.
* addressbook/backend/ebook/test-client.c: Added a section to test
cursors and returning an id when adding.
* addressbook/backend/ebook/e-card-pairs.h: Removed the address
pairs since they were added to e-card.c.
* addressbook/backend/ebook/e-card.c,
addressbook/backend/ebook/e-card.h: Made the set_id function take
a const char *.
* addressbook/backend/ebook/e-book-listener.c,
addressbook/backend/ebook/e-book-listener.h,
addressbook/backend/ebook/e-book.c,
addressbook/backend/ebook/e-book.h,
addressbook/backend/idl/addressbook.idl,
addressbook/backend/pas/pas-backend-file.c,
addressbook/backend/pas/pas-book.c,
addressbook/backend/pas/pas-book.h: Added a get_all_cards function
and made the response to the create_card function include the card
id.
* addressbook/backend/ebook/Makefile.am: Added e-card-cursor.c and
e-card-cursor.h.
* addressbook/backend/ebook/e-card-cursor.c,
addressbook/backend/ebook/e-card-cursor.h: New class for proxying
to an Evolution_CardCursor.
* addressbook/backend/pas/Makefile.am: Added pas-card-cursor.c and
pas-card-cursor.h.
* addressbook/backend/pas/pas-card-cursor.c,
addressbook/backend/pas/pas-card-cursor.h: New bonobo class for
making an Evolution_CardCursor server.
svn path=/trunk/; revision=2205
|
|
|
|
| |
svn path=/trunk/; revision=2185
|
|
|
|
| |
svn path=/trunk/; revision=2184
|
|
|
|
| |
svn path=/trunk/; revision=2180
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(pas_backend_file_process_create_card): use string_to_dbt
(pas_backend_file_process_remove_card): likewise
(pas_backend_file_process_modify_card): likewise
(pas_backend_file_get_vcard): likewise
(pas_backend_file_upgrade_db): new function, to upgrade a db file
if we change the data format.
(pas_backend_file_maybe_upgrade_db): check db version vs. current
code version, and upgrade it necessary.
(pas_backend_file_load_uri): call pas_backend_file_maybe_upgrade.
svn path=/trunk/; revision=2178
|
|
|
|
| |
svn path=/trunk/; revision=2176
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-03-26 Christopher James Lahey <clahey@helixcode.com>
* addressbook/backend/ebook/test-client.c: Load an ECard instead
of a VCard and then get the VCard from that ECard. Just tests
ECard and the client stuff at the same time. Also, replaces
carriage returns with newlines.
* addressbook/backend/ebook/e-book.c: Fixed a small parity error.
svn path=/trunk/; revision=2169
|
|
|
|
|
|
|
| |
* addressbook/backend/ebook/test-client.c: create a card and then
look it up.
svn path=/trunk/; revision=2168
|
|
|
|
| |
svn path=/trunk/; revision=2167
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-03-26 Christopher James Lahey <clahey@helixcode.com>
* addressbook/backend/ebook/e-book.c: Set the card id properly
when retrieving a card.
* addressbook/backend/ebook/e-card.c,
addressbook/backend/ebook/e-card.h: Added the ability to set the
card's id (and made getting it work correctly also.)
svn path=/trunk/; revision=2166
|
|
|
|
|
|
|
| |
* addressbook/backend/ebook/e-book.c (e_book_pop_op): pass GList*
as second parameter to g_list_remove_link, not the data pointer.
svn path=/trunk/; revision=2165
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-03-26 Christopher James Lahey <clahey@helixcode.com>
* addressbook/backend/ebook/e-card-types.h: Removed the
address->description field.
* addressbook/backend/ebook/e-card.c: Added VCard output and
the use of GtkArguments.
* addressbook/backend/ebook/test-card.c: Updated this to use the
GtkArguments.
* addressbook/backend/ebook/e-book.c: Fixed a memory leak.
svn path=/trunk/; revision=2164
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-03-23 Christopher James Lahey <clahey@helixcode.com>
* addressbook/backend/ebook/e-card.c,
addressbook/backend/ebook/e-card.h,
addressbook/backend/ebook/e-card-types.h,
addressbook/backend/ebook/e-card-pairs.h,
addressbook/backend/ebook/test-card.c: Added parsing and testing
for name, full name, birthday, telephone, email, and street
address properties.
svn path=/trunk/; revision=2157
|
|
|
|
| |
svn path=/trunk/; revision=2151
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-03-22 Christopher James Lahey <clahey@helixcode.com>
* addressbook/Makefile.am, configure.in: Added the
addressbook/backend directory.
* addressbook/backend/Makefile.am: Removed the libversit directory
as it's now included in the base evolution directory.
* addressbook/backend/ebook/e-card-pairs.h,
addressbook/backend/ebook/Makefile.am: Changed the place where
libversit is looked for.
* addressbook/backend/ebook/e-book-listener.c: Fixed some
indentation.
* addressbook/backend/ebook/e-card-pairs.h,
addressbook/backend/ebook/e-card-types.h: Commented out some code
to get this to compile.
* addressbook/backend/ebook/e-card.c,
addressbook/backend/ebook/e-card.h: Turned this into a GTK+
object.
* addressbook/backend/pas/pas.c,
addressbook/backend/ebook/test-client.c: Include gnome.h and
gnorba.h.
* addressbook/backend/idl/addressbook.idl: Include Bonobo.idl
instead of bonobo-unknown.idl.
* addressbook/backend/pas/pas-backend-file.c,
addressbook/backend/pas/pas-book.c,
addressbook/contact-editor/test-editor.c,
addressbook/contact-editor/e-contact-editor.c,
addressbook/printing/e-contact-print.c,
addressbook/printing/test-contact-print-style-editor.c,
addressbook/printing/test-print.c: Killed some warnings.
svn path=/trunk/; revision=2150
|
|
|
|
|
|
|
|
|
|
|
| |
dear internet,
here is my new file. i hope you like it.
your friend,
nat
svn path=/trunk/; revision=2149
|
|
|
|
| |
svn path=/trunk/; revision=2148
|
|
|
|
| |
svn path=/trunk/; revision=2139
|
|
|
|
| |
svn path=/trunk/; revision=2127
|
|
|
|
| |
svn path=/trunk/; revision=1626
|
|
svn path=/trunk/; revision=1584
|