2000-05-30 Christopher James Lahey <clahey@helixcode.com>
* gui/component/alphabet.glade: Made the alphabet buttons not
focusable.
* gui/minicard/e-minicard-view.c: Made the "123" button work.
* gui/minicard/e-reflow-sorted.c: Made all buttons past the last
letter available work.
2000-05-30 Christopher James Lahey <clahey@helixcode.com>
* gui/component/alphabet.glade: Added a bit of space around the
alphabet bar.
2000-05-30 Christopher James Lahey <clahey@helixcode.com>
* gui/component/Makefile.am: Added alphabet.glade and
alphabet.glade.h.
* gui/component/addressbook.c, gui/component/alphabet.glade,
gui/component/alphabet.glade.h: Added an alphabet bar.
* gui/minicard/e-minicard-view.c, gui/minicard/e-minicard-view.h,
gui/minicard/e-reflow-sorted.c, gui/minicard/e-reflow-sorted.h:
Added the ability to just to a particular spot in the reflow.
2000-05-30 Christopher James Lahey <clahey@helixcode.com>
* printing/Makefile.am: Added BONOBO_GNOME_CFLAGS to CPPFLAGS.
2000-05-30 Christopher James Lahey <clahey@helixcode.com>
* gui/minicard/e-minicard-view.c: Made double clicking create a
new card. Set the empty message.
* gui/minicard/e-minicard.c: Made sorting be case insensitive.
* gui/minicard/e-reflow-sorted.c, e-reflow.c, e-reflow.h: Added a
message for when the reflow is empty.
* printing/e-contact-print.c, printing/medbook.ecps: Made the
default printout be full page. Made sorting case insensitive.
2000-05-30 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-book-view-listener.c,
backend/ebook/e-book-view-listener.h, backend/ebook/e-book-view.c,
backend/ebook/e-book-view.h, backend/idl/addressbook.idl,
backend/pas/pas-backend-file.c, backend/pas/pas-backend-ldap.c,
backend/pas/pas-book-factory.c, backend/pas/pas-book-view.c,
backend/pas/pas-book-view.h: Added "sequence_complete" signal.
* printing/e-contact-print.c: Made printing wait for
"sequence_complete" signal and made it sort.
2000-05-25 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c,
gui/component/e-addressbook-model.c,
gui/component/e-addressbook-model.h: Added double click to open
contact editor.
2000-05-25 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Removed some columns.
2000-05-25 Ettore Perazzoli <ettore@helixcode.com>
* gui/component/addressbook.c (addressbook_factory_new_control):
New function.
(addressbook_factory): Use it.
* Makefile.am (evolution_addressbook_LDADD): Link with
`evolution-shell-component.o' from the shell directory.
* gui/component/addressbook-component.c: New.
* gui/component/addressbook-component.h: New.
2000-05-23 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Switched printing and gui.
* backend/ebook/e-book-view-listener.h,
backend/ebook/e-book-view.h, backend/ebook/e-book.h,
backend/ebook/e-card-cursor.h, backend/ebook/e-card-list.h,
backend/ebook/e-card-simple.h, backend/ebook/e-card.h: Fixed the
#defines to work elsewhere in evolution.
* gui/component/Makefile.am: Added linking to libecontactprint.
* gui/component/addressbook.c: Added a menu item to print the
current query.
* printing/Makefile.am: Add linking to libebook and requirements.
Add installation of ecps files.
* printing/e-contact-print.c, printing/e-contact-print.h: Changed
this to use real data from an EBook.
* printing/test-print.c: Made this pass NULL, NULL to
e_contact_print_dialog_new so that it will compile.
2000-05-23 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-save-as.c: Fixed some memory leaks.
2000-05-23 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/Makefile.am: Added e-contact-editor-save-as.c and
e-contact-editor-save-as.h.
* contact-editor/e-contact-save-as.c,
contact-editor/e-contact-save-as.h: New files that display a save
as dialog and then save the given card to that file.
* gui/minicard/e-minicard.c: Call e_contact_save_as in a right
click menu.
2000-05-19 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-categories.c,
gui/component/e-addressbook-model.c: Added initialize_value and
value_is_empty callbacks.
2000-05-19 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c: Fixed a bug that broke
address field support.
2000-05-19 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c,
contact-editor/e-contact-editor.h: Added support for arbitrary
fields in the contact editor.
2000-05-18 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c: Fixed e_card_name_copy and
e_card_arbitrary_copy to deal correctly with a passed NULL.
* contact-editor/Makefile.am: Removed imagesdir stuff.
* contact-editor/arrow.png: Made this transparent.
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor-strings.h: Renamed some widgets
and added custom widgets for all of the images.
* contact-editor/e-contact-editor.c: Worked on making this work
decently well with messed up glade files. Cleaned up a lot of code.
2000-05-18 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c: Fixed the code to write out and read in
arbitrary fields.
2000-05-18 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h,
backend/ebook/e-card-types.h, backend/ebook/e-card.c,
backend/ebook/e-card.h: Implemented "MAILER" field. Added
arbitrary field support.
* contact-editor/e-contact-editor-categories.c: Fixed a warning.
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h:
Added E_CARD_SIMPLE_FIELD_MAILER. Not implemented yet.
2000-05-16 Chris Toshok <toshok@helixcode.com>
* backend/pas/pas-backend-ldap.c (construct_email_list): convert to use ECardSimple.
(poll_ldap): same.
2000-05-16 Chris Toshok <toshok@helixcode.com>
* backend/pas/pas-book.h: add typedefs for the can_write
functions, and add parameters to pas_book_new.
* backend/pas/pas-book.c (pas_book_construct): add can_write/can_write_card params.
(pas_book_new): same.
(impl_Evolution_Book_can_write): new function.
(impl_Evolution_Book_can_write_card): same.
(pas_book_get_epv): assign the can_write/can_write_card slots in the epv.
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_can_write): new function.
(pas_backend_ldap_can_write_card): same.
(pas_backend_ldap_add_client): add can_write/can_write_card to pas_book_new call.
* backend/pas/pas-backend-file.c (pas_backend_file_can_write_card): new function, calls can_write.
(pas_backend_file_can_write): same.
(can_write): return TRUE if we can write to the addressbook file.
(pas_backend_file_add_client): add can_write/can_write_card to pas_book_new call.
* backend/idl/addressbook.idl (Evolution): add can_write and
can_write_card permission requests.
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c (e_card_get_vcard): Fixed a large memory leak.
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c (add_list_unique): Fixed another memory
leak.
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c, backend/pas/pas-backend-file.c,
contact-editor/e-contact-editor.c, ename/e-name-western.c,
gui/component/addressbook.c, gui/minicard/e-minicard-view.c: Fixed
some memory leaks.
* backend/ebook/e-card.c: Rearranged some code.
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-categories.c: Fixed a reference
leak.
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-categories.c: Fixed a compile
error.
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-categories.c: Got rid of a
memory leak. Rearranged a couple functions.
* gui/minicard/e-minicard-view.c, gui/minicard/e-minicard-view.h:
Added some code to stop watching the EBook when the canvas is
destroyed (apparently the canvas is destroyed before our widget is
destroyed.)
2000-05-14 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-categories.c: Use the correct
policy for resize.
2000-05-14 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/Makefile.am: Added libeutil for e-card's support
for categories.
* backend/ebook/e-card-list.c, backend/ebook/e-card-list.h: Added
a function to get the length.
* backend/ebook/e-card.c, backend/ebook/e-card.h: Added categories
support (accessible either as "categories" or "category_list".)
* contact-editor/Makefile.am: Added e-table and all of the
categories files.
* contact-editor/categories.glade,
contact-editor/categories-strings.h,
contact-editor/e-contact-editor-categories.c,
contact-editor/e-contact-editor-categories.h:
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor-strings.h: Rearranged this dialog.
* contact-editor/e-contact-editor.c: Rearranged dialog a bit.
Added opening of categories dialog.
* gui/component/Makefile.am: Rearranged libraries so that
libetable would be available for the contact editor categories
dialog.
* gui/component/addressbook.c: Fix for new ETable resizing. Make
contact editor dialog resizable.
* gui/minicard/Makefile.am: Added libetable contact editor
categories dialog.
* gui/minicard/e-minicard.c: Make contact editor dialog resizable.
2000-05-12 Miguel de Icaza <miguel@gnu.org>
* contact-editor/fulname.glade: Use accelerators here.
2000-05-13 Valek Filippov <frob@df.ru>
* gui/component/ldap-server-dialog.glade: save translatable strings
* gui/component/ldap-server-dialog.glade.h: file with strings
* printing/e-contact-print.glade: save translatable strings
* printing/e-contact-print.glade.h: file with strings
2000-05-11 Dan Winship <danw@helixcode.com>
* gui/component/addressbook.c (control_activate): Now that we
depend on recent gnome-libs we can make the toolbar detachable
again.
2000-05-10 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Make the table view be sorted by
name initially.
2000-05-10 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-book-factory.c: Send a proper response when you
can't find the ldap URI.
* gui/component/addressbook.c: Cleaned up the open error dialog a
bit.
2000-05-10 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Added a dialog for when you can't
open an addressbook.
2000-05-10 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/Makefile.am: Added e-book-types.h, e-card-pairs.h,
e-card-types.h.
* backend/pas/Makefile.am: Added pas-backend-ldap.h.
* contact-editor/Makefile.am: Added a proper EXTRA_DIST section.
Removed some old defines.
* ename/Makefile.am: Added e-name-western-tables.h.
* gui/component/Makefile.am: Added e-ldap-server-dialog.h. Added
a proper EXTRA_DIST section.
* gui/minicard/e-reflow.c: Added a missed cast.
* printing/Makefile.am: Added a proper EXTRA_DIST section.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c: Make sure that the canvas
doesn't intercept keyboard focus.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c: Use new art.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor-strings.h: Replaced the Address
button with a label and rearranged the address area a bit.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* gui/minicard/e-minicard.c: Reenable editting.
* gui/minicard/e-reflow-sorted.c: Make reflow flow on deletion.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Destroy the view object when
leaving the minicard view.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* gui/minicard/e-reflow-sorted.c: Fixed reflow sorting to call
reflow_request when sorting on an item changes.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c: Make File As change if name or
company are changed pretty much anywhere.
* gui/minicard/e-minicard.c: Turned off having minicard editing
effect anything since it's so crashy.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-backend-ldap.c: Enabled a couple more fields
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-backend-file.c: Added a default card to all new
file backends.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* gui/component/e-addressbook-model.c: Rearranged order of things
getting destroyed.
* gui/minicard/e-minicard-view.c: Rearranged order of things
getting destroyed. Don't set attributes of non-null or destroyed
items. Destroy parent object when destroyed. Maintain ref_count
of items in list.
* gui/minicard/e-minicard.c: Don't set attributes of non-null
items.
* gui/minicard/e-reflow-sorted.c: Maintain ref_count of items in
list.
* gui/minicard/e-reflow.c: Maintain ref_count of items in list.
Destroy parent object when destroyed.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c: Fixed some indentation.
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor-strings.h: Changed Email to
Primary Email.
* contact-editor/e-contact-editor.c: Added checkmarks to indicate
if data exists in the pull down menus for the phone, address, and
email fields.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c: Fixed the string duplication
problem. Fixed the business/home address string mix up.
* gui/component/addressbook.c: Made the minicard view the default
view.
2000-05-08 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c: Fixed this up a bit. Syncing
should work better now.
2000-05-08 Christopher James Lahey <clahey@helixcode.com>
* gui/minicard/e-minicard-view.c, gui/minicard/e-minicard.c,
gui/minicard/e-minicard.h, gui/minicard/e-reflow-sorted.c,
gui/minicard/e-reflow-sorted.h: Made a minimal number of things be
destroyed and recreated when updating a field.
2000-05-07 <toshok@the-dot-in.helixcode.com>
* gui/minicard/e-minicard.c (remodel): make sure to free the
return value of e_card_simple_get.
* gui/component/addressbook.c (teardown_table_view): destroy the
ECardSimple here, plug memory leak.
(create_table_view): use view->simple so we can destroy the
ECardSimple later on.
2000-05-07 Chris Toshok <toshok@helixcode.com>
* ename/e-name-western.c (e_name_western_extract_middle): comment
function, and fix an ABR.
2000-05-07 Chris Toshok <toshok@helixcode.com>
* ename/e-name-western.c (e_name_western_cleanup_string): comment
function, and fix an ABR.
2000-05-08 Christopher James Lahey <clahey@helixcode.com>
* gui/minicard/e-minicard.c: Added saving in minicard view.
2000-05-07 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-backend-file.c: Fixed an off by 2 error.
2000-05-07 Chris Toshok <toshok@helixcode.com>
* gui/component/addressbook.c (set_prop): don't create a new
ebook. instead, unload the current uri (if there is one) and load
the new one.
(addressbook_factory): create the ebook once.
2000-05-07 Christopher James Lahey <clahey@helixcode.com>
* gui/component/e-addressbook-model.c: Replaced some model_changed
calls with row_inserted calls.
2000-05-07 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-backend-file.c, backend/pas/pas-backend-ldap.c:
Removed some code that was notifying too many clients at the wrong
times.
* gui/component/addressbook.c: Set view->book. Unreffed
view->book. Unreffed the model instead of destroying it. Removed
the /tmp/test.db stuff.
2000-05-07 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Make the addressbook create the
correct file uri. Added a default query. Initialize view->model
and view->view to NULL.
* gui/component/e-addressbook-model.c,
gui/minicard/e-minicard-view.c: Only call get_book_view if both
book and query and non-null.
2000-05-06 Chris Toshok <toshok@helixcode.com>
* gui/component/addressbook.c (control_deactivate): remove the
separator and toggle view items as well.
(toggle_view_as_cb): callback for the "/View/Toggle View" menu
item.
(get_query): getter for the query string that takes into account
the two view types.
(set_query): setter for the query string that takes into account
the two view types.
(set_book): setter for the EBook type - not really a setter, since
the book is kept in the AddressbookView, but this method actually
sets the "book" property on the current view.
(find_contact_cb): make use of get/set_query
(search_entry_activated): make use of set_query.
(control_activate): add a menu separator and an item to toggle
between view types.
(book_open_cb): make use of set_book.
(ebook_create): no longer needs to return the EBook, since we set
the book field in our view.
(teardown_minicard_view): destructor function for the minicard
specific ui.
(create_minicard_view): constructor function for the minicard
specific ui.
(teardown_table_view): destructor function for the e-table
specific ui.
(create_table_view): constructor function for the e-table specific
ui.
(change_view_type): destroy the old and create the new view ui,
change the label of the Toggle View menu item, and reset the book
and query on the new view type.
(addressbook_factory): create an all-encompassing vbox that the
view uses to create the bonobo control, which contains 1 widget
per ui specific view (the e-table in the table case, and another
vbox in the minicard case.) use change_view_type to create the
initial view.
2000-05-07 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-book.c: Made a NULL callback just mean to not
call back.
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h:
Reordered fields. Added a get_const function to get a constant
string that persists until the simple is destroyed.
* gui/component/Makefile.am: Added e-addressbook-model.c and
e-addressbook-model.h and all of the libraries and includes that
they are dependent on.
* gui/component/addressbook-factory.c: Initialize e cursors.
* gui/component/addressbook.c: Added inactive code to display an
ETable view of the addressbook.
* gui/component/e-addressbook-model.c,
gui/component/e-addressbook-model.h: New files to implement an
ETable model with a EBook back end.
2000-05-06 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h:
Mostly finished ECardSimple.
* contact-editor/e-contact-editor.c: Changed this to match with
some of the changes to ECardSimple.
* gui/component/addressbook.c: Changed this to look for
"addressbook.db" in the given directory if it doesn't find the
file "uri".
* gui/minicard/e-minicard.c, gui/minicard/e-minicard.h: Changed
this to use ECardSimple.
2000-05-06 Chris Toshok <toshok@helixcode.com>
* gui/component/.cvsignore: ignore evolution-addressbook.pure
* gui/component/Makefile.am: add support for generating
evolution-addressbook.pure.
2000-05-06 Chris Toshok <toshok@helixcode.com>
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_load_uri): if a
port isn't specified in the uri default to 389.
2000-05-06 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Made this take a uri through its
property bag.
2000-05-05 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/Makefile.am: Added e-card-simple.c and
e-card-simple.h.
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h:
New card wrapper class to simplify things.
* contact-editor/e-contact-editor.c,
contact-editor/e-contact-editor.h: Changed e-contact-editor to use
ECardSimple a bit.
2000-05-03 Chris Toshok <toshok@helixcode.com>
* gui/component/addressbook.c (control_deactivate): #ifdef
HAVE_LDAP the ldap specific stuff.
(null_cb): same.
(control_activate): same.
2000-05-02 Ettore Perazzoli <ettore@helixcode.com>
* backend/ebook/Makefile.am (INCLUDES): Add
`-I$(top_srcdir)/addressbook/ename'.
2000-05-02 Matt Loper <matt@helixcode.com>
* demo/Makefile.am: set G_LOG_DOMAIN.
* printing/Makefile.am: same.
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.
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.
2000-05-01 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Switched the subdirs order since backend depends on
ename.
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.
2000-05-01 Michael Meeks <michael@helixcode.com>
* backend/pas/pas-book-factory.c: include gtk.
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.
2000-04-30 Chris Toshok <toshok@helixcode.com>
* gui/component/Makefile.am (evolution_addressbook_SOURCES): added
e-ldap-server-dialog.c
(glade_DATA): added ldap-server-dialog.glade
* gui/component/ldap-server-dialog.glade: new file.
* gui/component/e-ldap-server-dialog.h: new file.
* gui/component/e-ldap-server-dialog.c: new file, contains logic
associated with ldap server dialog.
* gui/component/addressbook.c (control_deactivate): remove the
directory server menu item.
(null_cb): do nothing callback for e_book_load_uri call. should
change to (at the very least) pop up a dialog if there was an
error.
(new_server_cb): new function - really just switches to a
particular ldap server, since the information isn't saved
anywhere.
(control_activate): add directory server menu item.
2000-04-30 Chris Toshok <toshok@helixcode.com>
* 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.
2000-04-30 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/.cvsignore: Added load-pine-addressbook.
2000-04-30 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor.c, gui/minicard/e-minicard.c: Made
some fields invisible that were visible before.
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.
2000-04-30 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-fullname.c,
contact-editor/fullname.glade: Fixed a string mismatch.
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.
2000-04-30 Chris Toshok <toshok@helixcode.com>
* 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.
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.
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.
2000-04-27 Ettore Perazzoli <ettore@helixcode.com>
* ename/Makefile.am
(gnome_libs): Use `BONOBO_GNOME_LIBS'.
(INCLUDES): Add `-I$(srcdir)/..'.
* backend/pas/pas-book-factory.c
(register_factory): New function to register the factory.
Implementation different according to `USING_OAF'.
(pas_book_factory_activate): Use `register_factory()'.
* gui/component/addressbook.c: New #define `CONTROL_FACTORY_ID',
varying depending on whether we are `USING_OAF'.
(addressbook_factory_init): Use `CONTROL_FACTORY_ID'.
* backend/ebook/test-client.c (init_corba): New function,
implemented differently according to the `USING_OAF' #define.
* backend/ebook/e-book.c: New #define `CARDSERVER_OAF_ID'.
(e_book_construct): Work with OAF #if `USING_OAF'.
* backend/ebook/Makefile.am (gnome_libs): Removed.
(corbadir): Removed.
(ebook_libs): Removed.
(test_client_LDADD): Just add `libebook.la'.
(test_card_LDADD): Likewise.
(test_client_list_LDADD): Likewise.
* gui/component/addressbook-factory.c
(init_corba): New helper function, implemented differently
according to `USING_OAF'.
(main): Call `init_corba()'.
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.
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.
2000-04-26 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c: Added proper handling of the
email field.
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.
2000-04-25 Ettore Perazzoli <ettore@helixcode.com>
* gui/minicard/Makefile.am (INCLUDES): Use
`$(BONOBO_GNOME_CFLAGS)'.
* backend/pas/Makefile.am (idl_flags): Add `-I $(datadir)/idl' to
pick up IDL files in the installation prefix as well.
(INCLUDES): Use `$(BONOBO_GNOME_CFLAGS)'.
* backend/ebook/Makefile.am (ORBIT_IDL): Use `-I $(datadir)/idl'
to get the IDLs from the installation prefix as well.
(INCLUDES): Add `$(BONOBO_GNOME_CFLAGS)'.
(test_client_LDADD): Use `$(BONOBO_GNOME_LIBS)' instead of
hardcoding `-lbonobo'! Also get rid of some other useless flags,
as `$(BONOBO_GNOME_LIBS)' really has all what we need.
(test_client_list_LDADD): Likewise.
(test_card_LDADD): Likewise.
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.
* ChangeLog: Started a ChangeLog here.