aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a compile error.Christopher James Lahey2000-05-161-1/+6
| | | | | | | | | 2000-05-16 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor-categories.c: Fixed a compile error. svn path=/trunk/; revision=3078
* Got rid of a memory leak. Rearranged a couple functions.Christopher James Lahey2000-05-161-0/+10
| | | | | | | | | | | | | | 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.) svn path=/trunk/; revision=3076
* Use the correct policy for resize.Christopher James Lahey2000-05-141-0/+5
| | | | | | | | | 2000-05-14 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor-categories.c: Use the correct policy for resize. svn path=/trunk/; revision=3028
* From widgets/e-table/ChangeLogChristopher James Lahey2000-05-141-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-14 Christopher James Lahey <clahey@helixcode.com> * Implemented the feature where the ETable columns automatically fill the given space. * e-cell-text.c, e-cell-text.h: Moved #include e-text-event-processor.h from the .h to the .c. * e-table-col.c, e-table-col.h: Added an expansion variable, and made it so that width isn't set by the programmer but instead by the e-table-header. * e-table-example-1.c, e-table-example-2.c, e-table-size-test.c, test-check.c, test-cols.c, test-table.c: Fixed to handle new ETable column resizing. * e-table-group-container.c, e-table-group-container.h, e-table-group-leaf.c, e-table-group-leaf.h, e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h: Fixed these to do a proper canvas reflow/update loop. Changed them to take a minimum width and return a width and a height. * e-table-header-item.c, e-table-header-item.h: Made this so that it depends on e-table-header.c for deciding the actual size of columns during resize (it was making incorrect decisions on its own.) * e-table-header.c, e-table-header.h: Changed this to make sure that the sum of the widths of the columns was always as close as possible to the width of the window. This is done by taking a full width and having each of the columns have an "expansion" field. This field is what makes each column have approximately the same portion of its part of the screen that it used to. * e-table.c: Changed this to set the width on the ETableHeader as well as set the proper minimum width on the ETableGroup and get the width and height it reports. From addressbook/ChangeLog 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. From mail/ChangeLog 2000-05-14 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Updated to work with new ETable resizing. svn path=/trunk/; revision=3027
* Use accelerators here.Miguel de Icaza2000-05-131-0/+4
| | | | | | | | 2000-05-12 Miguel de Icaza <miguel@gnu.org> * contact-editor/fulname.glade: Use accelerators here. svn path=/trunk/; revision=3010
* Saved translatable strings. Added files to POTFILES.in.Valek Frob2000-05-131-0/+7
| | | | svn path=/trunk/; revision=3009
* make the toolbars detachable now that we require a new enough versionDan Winship2000-05-121-0/+6
| | | | | | of gnome-libs to avoid the bonobo-toolbar-detaching bug svn path=/trunk/; revision=2997
* Make the table view be sorted by name initially.Christopher James Lahey2000-05-111-0/+5
| | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Make the table view be sorted by name initially. svn path=/trunk/; revision=2981
* Send a proper response when you can't find the ldap URI.Christopher James Lahey2000-05-111-0/+8
| | | | | | | | | | | | 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. svn path=/trunk/; revision=2975
* Added a dialog for when you can't open an addressbook.Christopher James Lahey2000-05-111-0/+5
| | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Added a dialog for when you can't open an addressbook. svn path=/trunk/; revision=2972
* Removed dist-hook section.Christopher James Lahey2000-05-101-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed dist-hook section. * configure.in: Set the version number. Added a check for gnome window icons. Removed a bunch of unused Makefiles. * tools/Makefile.am: Created a proper EXTRA_DIST section. * widgets/e-text/Makefile.am: Added e-text-event-processor-types.h. From addressbook/ChangeLog: 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. From calendar/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added main.h. Combined the two EXTRA_DIST sections. From camel/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added camel-types.h, camel-folder-pt-proxy.h, and camel-thread-proxy.h. From default_user/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am, local/Calendar/Makefile.am, local/Contacts/Makefile.am, local/Directories/Makefile.am, local/Directories/subfolders/Bigfoot/Makefile.am, local/Directories/subfolders/Netcenter/Makefile.am, local/Drafts/Makefile.am, local/Inbox/Makefile.am, local/Outbox/Makefile.am, local/Trash/Makefile.am: Created a proper EXTRA_DIST section. From filter/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * filter-arg.h: Changed tree.h to gnome-xml/tree.h. * Makefile.am: Added filter-arg-types.h, filter-arg.h, filter-xml.h, filter-format.h, filter-druid.h, filter-editor.h. From libical/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * configure.in: Reorder Makefiles so that it will build. From mail/ChangeLog: 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed folder-browser-factory.h since it doesn't exist. Added mail-display.h, mail-types.h, pixmaps.h. From widgets/e-table/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-col-dnd.h and table-test.h. From wombat/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added an include for the pcs directory. svn path=/trunk/; revision=2966
* Make sure that the canvas doesn't intercept keyboard focus.Christopher James Lahey2000-05-101-0/+5
| | | | | | | | | 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. svn path=/trunk/; revision=2959
* Added briefcase.png to get installed.Christopher James Lahey2000-05-101-0/+4
| | | | | | | | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * art/Makefile.am: Added briefcase.png to get installed. From addressbook/ChangeLog: 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor.c: Use new art. svn path=/trunk/; revision=2958
* Replaced the Address button with a label and rearranged the address area aChristopher James Lahey2000-05-101-0/+6
| | | | | | | | | | 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. svn path=/trunk/; revision=2955
* Reenable editting.Christopher James Lahey2000-05-101-0/+6
| | | | | | | | | | 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. svn path=/trunk/; revision=2954
* Destroy the view object when leaving the minicard view.Christopher James Lahey2000-05-101-0/+5
| | | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Destroy the view object when leaving the minicard view. svn path=/trunk/; revision=2953
* Fixed reflow sorting to call reflow_request when sorting on an itemChristopher James Lahey2000-05-101-0/+5
| | | | | | | | | 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. svn path=/trunk/; revision=2949
* Make File As change if name or company are changed pretty much anywhere.Christopher James Lahey2000-05-101-0/+8
| | | | | | | | | | | | 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. svn path=/trunk/; revision=2947
* Enabled a couple more fieldsChristopher James Lahey2000-05-091-0/+4
| | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-backend-ldap.c: Enabled a couple more fields svn path=/trunk/; revision=2943
* Added a default card to all new file backends.Christopher James Lahey2000-05-091-0/+5
| | | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-backend-file.c: Added a default card to all new file backends. svn path=/trunk/; revision=2939
* Rearranged order of things getting destroyed.Christopher James Lahey2000-05-091-0/+19
| | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=2935
* Fixed some indentation.Christopher James Lahey2000-05-091-0/+12
| | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=2933
* Fixed the string duplication problem. Fixed the business/home addressChristopher James Lahey2000-05-091-0/+8
| | | | | | | | | | | | 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. svn path=/trunk/; revision=2932
* Fixed this up a bit. Syncing should work better now.Christopher James Lahey2000-05-081-0/+5
| | | | | | | | | 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. svn path=/trunk/; revision=2910
* Made a minimal number of things be destroyed and recreated when updating aChristopher James Lahey2000-05-081-0/+7
| | | | | | | | | | | 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. svn path=/trunk/; revision=2904
* make sure to free the return value of e_card_simple_get.Chris Toshok2000-05-081-0/+10
| | | | | | | | | | | | * 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. svn path=/trunk/; revision=2899
* comment function, and fix an ABR.Chris Toshok2000-05-081-0/+5
| | | | | | | * ename/e-name-western.c (e_name_western_extract_middle): comment function, and fix an ABR. svn path=/trunk/; revision=2894
* comment function, and fix an ABR.Chris Toshok2000-05-081-0/+5
| | | | | | | * ename/e-name-western.c (e_name_western_cleanup_string): comment function, and fix an ABR. svn path=/trunk/; revision=2893
* Added saving in minicard view.Christopher James Lahey2000-05-081-0/+4
| | | | | | | | 2000-05-08 Christopher James Lahey <clahey@helixcode.com> * gui/minicard/e-minicard.c: Added saving in minicard view. svn path=/trunk/; revision=2891
* Fixed an off by 2 error.Christopher James Lahey2000-05-081-0/+4
| | | | | | | | 2000-05-07 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-backend-file.c: Fixed an off by 2 error. svn path=/trunk/; revision=2889
* (addressbook_factory): create the ebook once.Chris Toshok2000-05-081-0/+1
| | | | svn path=/trunk/; revision=2887
* don't create a new ebook. instead, unload the current uri (if there isChris Toshok2000-05-081-0/+6
| | | | | | | | * 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. svn path=/trunk/; revision=2885
* Replaced some model_changed calls with row_inserted calls.Christopher James Lahey2000-05-081-0/+5
| | | | | | | | | 2000-05-07 Christopher James Lahey <clahey@helixcode.com> * gui/component/e-addressbook-model.c: Replaced some model_changed calls with row_inserted calls. svn path=/trunk/; revision=2881
* Removed some code that was notifying too many clients at the wrong times.Christopher James Lahey2000-05-081-0/+10
| | | | | | | | | | | | | | 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. svn path=/trunk/; revision=2876
* Make the addressbook create the correct file uri. Added a default query.Christopher James Lahey2000-05-071-0/+10
| | | | | | | | | | | | | | 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. svn path=/trunk/; revision=2861
* remove the separator and toggle view items as well. (toggle_view_as_cb):Chris Toshok2000-05-071-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. svn path=/trunk/; revision=2855
* Made a NULL callback just mean to not call back.Christopher James Lahey2000-05-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=2845
* Made a NULL callback just mean to not call back.Christopher James Lahey2000-05-071-0/+18
| | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=2844
* Mostly finished ECardSimple.Christopher James Lahey2000-05-071-0/+16
| | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=2839
* ignore evolution-addressbook.pureChris Toshok2000-05-071-0/+6
| | | | | | | | | * gui/component/.cvsignore: ignore evolution-addressbook.pure * gui/component/Makefile.am: add support for generating evolution-addressbook.pure. svn path=/trunk/; revision=2835
* if a port isn't specified in the uri default to 389.Chris Toshok2000-05-071-0/+5
| | | | | | | * backend/pas/pas-backend-ldap.c (pas_backend_ldap_load_uri): if a port isn't specified in the uri default to 389. svn path=/trunk/; revision=2831
* Made the component take a uri through its property bag.Christopher James Lahey2000-05-071-0/+5
| | | | | | | | | 2000-05-06 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Made the component take a uri through its property bag. svn path=/trunk/; revision=2829
* Added e-card-simple.c and e-card-simple.h.Christopher James Lahey2000-05-051-0/+12
| | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=2815
* #ifdef HAVE_LDAP the ldap specific stuff. (null_cb): same.Chris Toshok2000-05-031-0/+7
| | | | | | | | | * gui/component/addressbook.c (control_deactivate): #ifdef HAVE_LDAP the ldap specific stuff. (null_cb): same. (control_activate): same. svn path=/trunk/; revision=2777
* Fix builddir != srcdir build once again.Ettore Perazzoli2000-05-031-0/+5
| | | | svn path=/trunk/; revision=2767
* Set G_LOG_DOMAIN in following files.Matthew Loper2000-05-031-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | addressbook/demo/Makefile.am addressbook/printing/Makefile.am camel/Makefile.am camel/providers/MH/Makefile.am camel/providers/maildir/Makefile.am camel/providers/mbox/Makefile.am camel/providers/nntp/Makefile.am camel/providers/pop3/Makefile.am camel/providers/sendmail/Makefile.am camel/providers/smtp/Makefile.am composer/Makefile.am e-util/Makefile.am filter/Makefile.am libibex/Makefile.am mail/Makefile.am shell/Makefile.am tests/Makefile.am tests/ui-tests/Makefile.am widgets/e-table/Makefile.am widgets/e-text/Makefile.am widgets/meeting-time-sel/Makefile.am widgets/shortcut-bar/Makefile.am svn path=/trunk/; revision=2756
* Add back in the CORBA_Object_release.Christopher James Lahey2000-05-021-0/+8
| | | | | | | | | | | | 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
* Made uri slightly better managed.Christopher James Lahey2000-05-021-0/+12
| | | | | | | | | | | | | | | | 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
* Switched the subdirs order since backend depends on ename.Christopher James Lahey2000-05-021-0/+5
| | | | | | | | | 2000-05-01 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Switched the subdirs order since backend depends on ename. svn path=/trunk/; revision=2717
* fix a typo in the for loop.Larry Ewing2000-05-021-0/+5
| | | | | | | | | 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
* include a header to make it compile...Michael Meeks2000-05-011-0/+4
| | | | svn path=/trunk/; revision=2711
* Added new status values for the IDL stuff.Federico Mena Quintero2000-05-011-0/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* added e-ldap-server-dialog.c (glade_DATA): added ldap-server-dialog.gladeChris Toshok2000-05-011-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | * 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. svn path=/trunk/; revision=2700
* create the book listener here, since it's destroyed in unload_uri.Chris Toshok2000-05-011-0/+6
| | | | | | | | * 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
* Added load-pine-addressbook.Christopher James Lahey2000-05-011-0/+4
| | | | | | | | 2000-04-30 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/.cvsignore: Added load-pine-addressbook. svn path=/trunk/; revision=2698
* Made some fields invisible that were visible before.Christopher James Lahey2000-05-011-0/+6
| | | | | | | | | | 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. svn path=/trunk/; revision=2697
* From addressbook/ChangeLogChristopher James Lahey2000-05-011-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixed a string mismatch.Christopher James Lahey2000-04-301-0/+5
| | | | | | | | | 2000-04-30 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor-fullname.c, contact-editor/fullname.glade: Fixed a string mismatch. svn path=/trunk/; revision=2690
* Added ename includes and libs.Christopher James Lahey2000-04-301-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | 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
* add support for a rootdn in the uri.Chris Toshok2000-04-301-0/+10
| | | | | | | | | | | | * 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
* Added e_card_phone_new e_card_delivery_address_new,Christopher James Lahey2000-04-301-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* fix the `USING_OAF' changes so that they work for when we are not usingLarry Ewing2000-04-291-0/+6
| | | | | | | | | | 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
* Made Evolution OAF-compatible.Ettore Perazzoli2000-04-281-0/+33
| | | | svn path=/trunk/; revision=2673
* Added addressbook/ename/Makefile.Christopher James Lahey2000-04-281-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Added an address label field.Christopher James Lahey2000-04-271-0/+13
| | | | | | | | | | | | | | | | | 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
* Added proper handling of the email field.Christopher James Lahey2000-04-261-0/+5
| | | | | | | | | 2000-04-26 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor.c: Added proper handling of the email field. svn path=/trunk/; revision=2626
* Prefixed the ADDR_ flags.Christopher James Lahey2000-04-261-0/+14
| | | | | | | | | | | | | | | | | | 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
* The Joy of Broken Makefiles Part #3.Ettore Perazzoli2000-04-261-0/+7
| | | | svn path=/trunk/; revision=2610
* The Joy of Broken Makefiles Part #2.Ettore Perazzoli2000-04-261-0/+11
| | | | svn path=/trunk/; revision=2609
* Use "e-minicard" as the log domain.Federico Mena Quintero2000-04-211-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Started ChangeLog here - FedericoFederico Mena Quintero2000-04-181-0/+3
svn path=/trunk/; revision=2476