diff options
Diffstat (limited to 'addressbook')
29 files changed, 945 insertions, 27659 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog deleted file mode 100644 index a51d82e1a1..0000000000 --- a/addressbook/ChangeLog +++ /dev/null @@ -1,10627 +0,0 @@ -2009-04-24 Milan Crha <mcrha@redhat.com> - - ** Part of fix for bug #569652 - - * gui/component/addressbook-component.c: (ensure_sources): - Use new ESourceList API (simplifies code). - -2009-04-24 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #572348 - - * gui/component/ldap-config.glade: - * gui/contact-editor/fullname.glade: - * gui/contact-editor/contact-editor.glade: - * gui/contact-editor/e-contact-editor.c: - * gui/contact-editor/e-contact-editor-fullname.c: - * gui/component/addressbook-config.c: - * conduit/address-conduit.c: - Remove deprecated Gtk+ symbols. - - * gui/contact-editor/Makefile.am: - * gui/contact-editor/im.glade: - * gui/contact-editor/e-contact-editor-im.h: - * gui/contact-editor/e-contact-editor-im.c: - * gui/contact-editor/fulladdr.glade: - * gui/contact-editor/e-contact-editor-address.h: - * gui/contact-editor/e-contact-editor-address.c: - * printing/Makefile.am: - * printing/e-contact-print.glade: - * printing/e-contact-print-style-editor.h: - * printing/e-contact-print-style-editor.c: - * printing/test-contact-print-style-editor.c: - Remove death files. - -2009-02-26 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes part of bug #572950 - - * printing/Makefile.am: - Remove meaningless GNOME_INCLUDEDIR. Patch by Daniel Macks. - -2009-02-24 Philip Withnall <philip@tecnocode.co.uk> - - ** Fix for bug #572903 - - * gui/contact-editor/contact-editor.glade: Change "Novell Groupwise" - to "Novell GroupWise". Doesn't break string freeze, as the latter - string already exists. - -2009-02-12 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #404232 - - * gui/widgets/e-addressbook-view.c: (search_activated): - Rebuild view immediately for an advanced search too. - -2009-02-11 Andre Klapper <a9016009@gmx.de> - - * /gui/component/addressbook-migrate.c: - Substitute some deprecated gtk+ functions. - -2009-01-26 Matthew Barnes <mbarnes@redhat.com> - - * printing/test-print.c: - * printing/test-contact-print-style-editor.c: - Migrate the test programs off libgnomeui/libbonobo. - -2009-01-21 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #362754 - - * gui/component/addressbook-component.c: (ensure_sources): - Ensure to show default groups and sources with actual - localized name, not the one it was stored last time. - -2009-01-11 Matthew Barnes <mbarnes@redhat.com> - - * gui/widgets/eab-contact-display.c (eab_uri_popup_link_open), - (on_link_clicked): - Call e_show_uri() instead of gnome_url_show(). - -2009-01-10 Matthew Barnes <mbarnes@redhat.com> - - * gui/contact-editor/e-contact-editor-fullname.c: - * gui/contact-editor/e-contact-editor-im.c: - * gui/contact-editor/e-contact-editor-address.c: - * gui/widgets/e-addressbook-view.c: - * printing/e-contact-print.c: - Remove unneeded #include <libgnome/gnome-util.h>. - -2009-01-10 Matthew Barnes <mbarnes@redhat.com> - - * gui/component/addressbook-view.c: - * gui/contact-editor/e-contact-editor.h: - * gui/contact-editor/e-contact-quick-add.c: - * gui/contact-editor/eab-editor.h: - * gui/contact-list-editor/e-contact-list-editor.h: - Remove unneeded #include <libgnomeui/gnome-app.h>. - Remove unneeded #include <libgnomeui/gnome-app-helper.h> - -2009-01-10 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes bug #567270 - - * gui/contact-editor/test-editor.c: - * printing/test-contact-style-editor.c: - * printing/test-print.c: - Remove already-disabled use of gnome_about_new(). - -2009-01-10 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes part of bug #567276 - - * gui/widgets/e-addressbook-view.c: - * printing/test-print.c: - Remove unneeded #include <libgnomeui/gnome-dialog-util.h>. - -2009-01-10 Andre Klapper <a9016009@gmx.de> - - * Fix for bug #567282 - - * /gui/component/addressbook-view.c: - Remove unrequired #include of <libgnomeui/gnome-href.h>. - -2009-01-09 Takao Fujiwara <takao.fujiwara@sun.com> - - Reviewed by Matthew Barnes <mbarnes@redhat.com> - - * Fix for bug #566011 - - * gui/component/Makefile.am: - * gui/component/addressbook-component.c - (addressbook_component_class_init): - Include <glib/gi18n-lib.h> instead of <glib/gi18n.h> and - add bindtextdomain(). - -2009-01-08 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #339879 - - * gui/widgets/addresstypes.xml: Use "rawcode" instead of "code" - to have not added a "match-all" into the expression. - -2009-01-07 Matt Davey <mcdavey@mrao.cam.ac.uk> - - ** Fix for bugs #201167 and #269342 - - * conduit/address-conduit.c: - Add support for category syncing. Also, retain an existing - given/first name split if it exists in the pilot record. - -2009-01-01 Matthew Barnes <mbarnes@redhat.com> - - * ui/component/addressbook-config.c (eabc_general_offline): - Use the correct macro when marking strings for translation. - -2008-12-23 Andre Klapper <a9016009@gmx.de> - - * gui/merging/eab-contact-merging.c: - Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h> - -2008-12-09 Milan Crha <mcrha@redhat.com> - - ** Part of fix for bug #563669 - - * gui/component/ldap-config.glade: - * printing/e-contact-print.glade: - Use zero GtkSpinButton's PageSize, as Gtk+ requires. - -2008-12-08 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #270376 - - * gui/contact-editor/e-contact-editor.c: (im_service []), - (non_string_fields[]): - * gui/widgets/eab-contact-display.c: (render_contact): - Support Skype field in a contact. - - * gui/contact-editor/e-contact-editor-im.c: - Changes here too, but file doesn't seem to be used. - -2008-12-08 Jennifer Newman <jennifer.newman@tufts.edu> - - ** Fix for bug #549964 - - * gui/widgets/eab-gui-util.c (eab_load_error_dialog), - (eab_search_result_dialog): Fix for a few erroneous strings. - -2008-12-05 Milan Crha <mcrha@redhat.com> - - ** Part of fix for bug #332629 - - * gui/widgets/addresstypes.xml: - Use dynamically created list of categories in the option's widget. - -2008-12-04 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #263268 - - * gui/widgets/e-addressbook-view.c: (search_activated), - (make_suboptions): Be able to search for contacts without category. - -2008-12-02 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes part of bug #348299 - - * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): - Use category completion in the Categories field. - -2008-11-17 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes part of bug #557818 - - * gui/component/addressbook-view.c: - ESourceSelector now handles most of the drag-and-drop signals. - We just have to listen for the new "data-dropped" signal and - deal with it. Gets rid of a lot of duplicate logic. - -2008-11-17 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes part of bug #558322 - - * gui/component/addressbook-view.c (rename_addressbook_cb): - New "Rename" item in the source selector pop-up menu calls - the recently added e_source_selector_edit_primary_selection(). - Still need to bind the "F2" key to this action, but I'm not - sure how whether EPopup supports that. - -2008-10-30 Matthew Barnes <mbarnes@redhat.com> - - * gui/contact-editor/test-editor.c: - * gui/widgets/e-minicard-label.c: - * gui/widgets/e-minicard-view-widget.c: - * gui/widgets/test-reflow.c: - Only include the toplevel GTK+ header. - -2008-10-17 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #511918 - - * tools/evolution-addressbook-export-list-cards.c: - (struct _EContactCSVFieldData), (csv_field_data[]), - (e_contact_csv_get_data_type), (e_contact_csv_get): - Use TRUE/FALSE texts for boolean values and do not - free returned value for them, otherwise it crashes. - -2008-10-14 Sankar P <psankar@novell.com> - -License Changes - - * conduit/address-conduit.c: - -2008-10-09 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes part of bug #555494 - - * gui/widgets/e-addressbook-view.c (generate_viewoption_menu): - Category icons are not themed. Load by file, not by icon name. - -2008-10-03 Sankar P <psankar@novell.com> - -License Changes - - * gui/widgets/eab-contact-display.c: - -2008-10-01 Sankar P <psankar@novell.com> - -License Changes - - * gui/component/addressbook-config.c: - * gui/widgets/e-minicard.c: - * importers/evolution-ldif-importer.c: - * importers/evolution-vcard-importer.c: - -2008-09-30 Sankar P <psankar@novell.com> - -License Changes - - * gui/component/addressbook.c: - -2008-09-29 Sankar P <psankar@novell.com> - -License Changes - - * gui/component/addressbook-view.c: - -2008-09-25 Philip Withnall <philip@tecnocode.co.uk> - - ** Fix for bug #553148 - - * gui/contact-editor/contact-editor.glade: - * gui/contact-editor/e-contact-editor-im.c: Standardise "GroupWise" - usage in translatable strings. - -2008-09-24 Sankar P <psankar@novell.com> - -License Changes - - * gui/contact-editor/e-contact-editor.c: - * gui/contact-editor/e-contact-quick-add.c: - * gui/widgets/e-addressbook-view.c: - -2008-09-24 Sankar P <psankar@novell.com> - -License Changes - - * gui/widgets/e-addressbook-model.c: - * gui/widgets/eab-gui-util.c: - * gui/widgets/eab-vcard-control.c: - -2008-09-24 Philip Withnall <philip@tecnocode.co.uk> - - ** Fixes bug #553479 - - * gui/component/ldap-config.glade: String capitalisation improvements. - -2008-09-23 Milan Crha <mcrha@redhat.com> - - ** Part of fix for bug #553273 - - * gui/component/addressbook-view.c: (delete_addressbook_folder), - (delete_addressbook_cb): - * gui/widgets/eab-gui-util.c: (save_it): - * gui/contact-list-editor/e-contact-list-model.c: - (e_contact_list_model_add_email): - * gui/contact-list-editor/e-contact-list-editor.c: - (contact_list_editor_contact_exists): - Always end e_error_run/e_error_new calls with NULL parameter. - -2008-09-23 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #552575 - - * gui/widgets/eab-gui-util.c: (eab_send_contact_list_as_attachment): - Register default callbacks to composer to be able to send/save draft. - -2008-09-23 Milan Crha <mcrha@redhat.com> - - ** Part of fix for bug #272391 - - * gui/component/apps_evolution_addressbook.schemas.in: - * gui/component/autocompletion-config.c: (struct AutocompletionConfig), - (config_control_destroy_notify), (add_section), - (show_address_check_toggled_cb), (autocompletion_config_control_new): - New UI for Edit->Preferences->Autocompletion, with the checkbox for - the key "/apps/evolution/addressbook/completion/show_address" to be - able to setup whether show mail address for the autocompleted contact. - -2008-09-19 Sankar P <psankar@novell.com> - -License Changes - - * gui/widgets/e-minicard-label.c: - * tools/evolution-addressbook-export.c: - -2008-09-16 Sankar P <psankar@novell.com> - -License Changes - - * gui/component/addressbook-component.c: - * gui/contact-editor/eab-editor.c: - -2008-09-12 Sankar P <psankar@novell.com> - -License Changes - - * gui/component/addressbook-migrate.c: - -2008-09-08 Milan Crha <mcrha@redhat.com> - - ** Part of fix for bug #361413 - - * gui/widgets/eab-gui-util.c: (eab_load_error_dialog): - Print detailed error also for LDAP backends. - -2008-09-06 Michael Meeks <michael.meeks@novell.com> - - * gui/component/openldap-extract.h: License fixes. - -2008-09-04 Sankar P <psankar@novell.com> - -License Changes - - * gui/widgets/e-minicard-view.c: - * gui/widgets/eab-popup-control.c: - -2008-09-02 Sankar P <psankar@novell.com> - -License Changes - - * gui/component/addressbook-config.h: - * gui/component/addressbook.h: - * gui/component/autocompletion-config.c: - * gui/component/autocompletion-config.h: - * gui/component/component-factory.c: - * gui/contact-editor/e-contact-editor-address.c: - * gui/contact-editor/e-contact-editor-address.h: - * gui/contact-editor/e-contact-editor-fullname.c: - * gui/contact-editor/e-contact-editor-fullname.h: - * gui/contact-editor/e-contact-editor-im.c: - * gui/contact-editor/e-contact-editor-im.h: - * gui/contact-editor/e-contact-editor.h: - * gui/contact-editor/e-contact-quick-add.h: - * gui/contact-editor/test-editor.c: - * gui/contact-list-editor/e-contact-list-editor.c: - * gui/contact-list-editor/e-contact-list-editor.h: - * gui/contact-list-editor/e-contact-list-model.c: - * gui/merging/eab-contact-compare.c: - * gui/merging/eab-contact-merging.c: - * gui/merging/eab-contact-merging.h: - * gui/widgets/e-addressbook-reflow-adapter.c: - * gui/widgets/e-addressbook-table-adapter.c: - * gui/widgets/e-addressbook-view.h: - * gui/widgets/e-minicard-label.h: - * gui/widgets/e-minicard-view-widget.c: - * gui/widgets/e-minicard-view-widget.h: - * gui/widgets/e-minicard.h: - * gui/widgets/eab-config.c: - * gui/widgets/eab-contact-display.h: - * gui/widgets/eab-menu.c: - * gui/widgets/eab-popup.c: - * gui/widgets/gal-view-factory-minicard.c: - * gui/widgets/gal-view-minicard.h: - * importers/evolution-csv-importer.c: - * printing/e-contact-print-style-editor.c: - * printing/e-contact-print-style-editor.h: - * printing/e-contact-print-types.h: - * printing/e-contact-print.c: - * printing/e-contact-print.h: - * printing/test-contact-print-style-editor.c: - * printing/test-print.c: - * tools/evolution-addressbook-export-list-cards.c: - * util/eab-book-util.c: - * util/eab-book-util.h: - -2008-09-01 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #448435 - - * gui/component/addressbook-config.c: (eabc_general_host): - Keep UI consistent, disable SSL method for 636 port. - -2008-09-01 Milan Crha <mcrha@redhat.com> - - ** Part of fix for bug #548827 - - * gui/widgets/eab-gui-util.c: (eab_error_dialog): - Check bounds of the string array before accessing elements. - * gui/widgets/e-addressbook-view.c: (delete_contacts_cb): - Show more detailed error message if available. - -2008-08-30 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes bug #548348 - - * printing/Makefile.am: - Add a libecontactprint_la_LIBADD stanza so we link to the - correct libemiscwidgets and libeutil. - -2008-08-27 Philip Withnall <philip@tecnocode.co.uk> - - ** Fix for bug #534762 - - * addressbook.error.xml: - * conduit/address-conduit.c: - * gui/widgets/eab-gui-util.c: (eab_load_error_dialog), - (eab_search_result_dialog): - * gui/widgets/eab-vcard-control.c: (eab_vcard_control_new): - * tools/evolution-addressbook-export-list-folders.c: - (action_list_folders_init): - * tools/evolution-addressbook-export.c: Change "addressbook" to - "address book" in translatable strings. - -2008-08-27 Sankar P <psankar@novell.com> - -License Changes - - * gui/component/addressbook-component.h: - * gui/component/addressbook-migrate.h: - * gui/component/addressbook-view.h: - * gui/component/openldap-extract.h: - * gui/contact-editor/eab-editor.h: - * gui/contact-list-editor/e-contact-list-model.h: - * gui/merging/eab-contact-compare.h: - * gui/widgets/e-addressbook-model.h: - * gui/widgets/e-addressbook-reflow-adapter.h: - * gui/widgets/e-addressbook-table-adapter.h: - * gui/widgets/e-minicard-view.h: - * gui/widgets/eab-config.h: - * gui/widgets/eab-gui-util.h: - * gui/widgets/eab-menu.h: - * gui/widgets/eab-popup-control.h: - * gui/widgets/eab-popup.h: - * gui/widgets/eab-vcard-control.h: - * gui/widgets/gal-view-factory-minicard.h: - * gui/widgets/gal-view-minicard.c: - * importers/evolution-addressbook-importers.h: - * tools/evolution-addressbook-export-list-folders.c: - * tools/evolution-addressbook-export.h: - -2008-08-18 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes part of bug #508732 - - * gui/component/addressbook-component.c (impl_createView): - Add a "select_item" argument for crash recovery, which the - addressbook component does not use. - -2008-08-14 Matthew Barnes <mbarnes@redhat.com> - - * gui/contact-editor/e-contact-editor.c: - Use e_display_help() for displaying help. - -2008-08-12 Matthew Barnes <mbarnes@redhat.com> - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: - Fix a typo. (#547369) - - * gui/component/addressbook-migrate.c: - Fix TeX-style quotes. (#547372) - -2008-08-12 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #547308 - - * gui/component/addressbook.c: (load_source_auth_cb): - Do not try to authenticate to the server more than twice when knows - the password and it didn't fail because of wrong user name/password. - * gui/widgets/eab-gui-util.c: (const char *status_to_string[]): - New string for new status code. - * gui/widgets/eab-gui-util.c: (eab_load_error_dialog): - Include detailed error in generic failure error, if available and is - not a repository offline error. - -2008-08-11 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes part of bug #546892 - - * gui/contact-editor/e-contact-editor-fullname.c: - * gui/contact-editor/e-contact-editor-im.c: - * gui/contact-editor/e-contact-editor-address.c: - Prefer gtk_window_set_icon_name() over gtk_window_set_icon_list(). - - * gui/contact-editor/e-contact-editor-im.c: - Prefer gtk_image_new_from_icon_name() over e_icon_factory_get_image(). - - * gui/component/addressbook-view.c: - e_activity_handler_operation_started() no longer takes a GdkPixbuf. - It was ignoring the pixbuf anyway ever since we added a spinner icon. - -2008-08-07 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #324203 - - * gui/component/ldap-config.glade: - * gui/component/addressbook-config.c: (canbrowse_toggled_cb), - (eabc_details_limit): New check box to be able to set LDAP - address books browseable until reaches given limits. - -2008-08-06 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #249844 - - * gui/component/addressbook-component.c: - (impl__get_userCreatableItems): Do not let compiler claim. - -2008-08-06 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #546263 - - * gui/widgets/e-minicard.c: (add_field), (add_email_field), (remodel): - Add 'width' property as the last one for 'new' item, thus it will know - all the information to properly calculate column widths. Also don't - set field names for the contact-lists. Both changes prevents messing - of minicard painting for changed contact-lists. - -2008-08-04 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes bug #249844 - - * gui/component/addressbook-component.c - (impl__get_userCreatableItems): - Use C_() macro instead of Q_() macro. - Use fully qualified names for "New" submenu entries. - -2008-08-02 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes part of bug #546057 - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: - * gui/contact-list-editor/contact-list-editor.glade: - Use "x-office-address-book" icon name instead of "stock_addressbook". - -2008-07-30 Milan Crha <mcrha@redhat.com> - - ** Part of fix for bug #211267 - - * printing/e-contact-print.c: (struct _EContactPrintContext), - (e_contact_print_letter_heading), (e_contact_start_new_page), - (e_contact_print_contact), (contact_draw_page), - (e_contact_print): Report correct number of pages to print - and print them as requested. - -2008-07-30 Takao Fujiwara <takao.fujiwara@sun.com> - - Reviewed by Andre Klapper <a9016009@gmx.de> - - ** Fix for bug #545300 - - * gui/merging/eab-contact-duplicate-detected.glade: - Add a translatable tag in "_Merge" string. - -2008-07-28 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #544383 - - * gui/contact-list-editor/e-contact-list-editor.c: - (e_contact_list_editor_get_contact): Put list members in reverse order, - because 'e_vcard_add_attribute' uses prepend, thus changes order on - every single save of the contact list. - -2008-07-20 Andre Klapper <a9016009@gmx.de> - - * addressbook.error.xml: Fix some strings. See bug #543753. - -2008-07-13 Keith Packard <keithp@keithp.com> - - ** Fix for bug #541355 - - * conduit/address-conduit.c: - The pilot link code does call free_match on data returned from the - for_each method, which the evolution conduits aren't prepared to - handle. This patch removes any freed objects from the 'locals' list in - each conduit which otherwise frees them again when the conduit is closed. - -2008-07-09 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #228725 - - * gui/widgets/e-minicard-view.h: (struct _EMinicardView): - * gui/widgets/e-minicard-view.c: (set_empty_message), - (stop_state_changed), (e_minicard_view_set_property), - (e_minicard_view_dispose), (e_minicard_view_init): - Show different message in a view when searching. - -2008-07-03 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #540152 - - * gui/component/addressbook-component.c: (ensure_sources): - Unref source only when we created it - the list owns the pointer now. - -2008-06-24 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #539755 - - * importers/evolution-csv-importer.c: (parseLine): - Do not leak (introduced in bug #440818). - * importers/evolution-csv-importer.c: (add_to_notes), - (parseLine), (getNextCSVEntry): Do not access memory beyond - the columns array. - -2008-06-23 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #440818 (patch by Rodrigo Castro) - - * importers/evolution-csv-importer.c: (parseLine): Convert line - to UTF-8 if not a valid one. Pretend it to be an ISO-8859-1 line. - * importers/evolution-csv-importer.c: (getNextCSVEntry): - Append char-by-char and check for EOF too. - -2008-06-13 Tor Lillqvist <tml@novell.com> - - * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): - Link with the bootstrap libevolution-mail library on Windows. - -2008-06-13 Milan Crha <mcrha@redhat.com> - - ** Part of fix for bug #304029 - - * gui/widgets/addresstypes.xml: changed description of default - search filter from "Name begins with" to "Name contains" - * gui/widgets/e-addressbook-view.c: (search_activated): - same in a filter search query itself - -2008-06-10 Matthew Barnes <mbarnes@redhat.com> - - * gui/component/addressbook-component.c: - Use <glib/gi18n.h> instead of <bonobo/bonobo-i18n.h>. - -2008-06-03 Kjartan Maraas <kmaraas@gnome.org> - - * gui/merging/eab-contact-merging.c: (mergeit): - Use non-deprecated gtk+ api. - -2008-05-22 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes part of bug #534360 - - * conduit/address-conduit.c: - * gui/contact-editor/e-contact-editor.c: - * gui/widgets/e-addressbook-view.c: - * gui/widgets/e-minicard-view-widget.c: - * gui/widgets/e-minicard.c: - * gui/widgets/eab-contact-display.h: - * printing/e-contact-print-style-editor.c: - * printing/e-contact-print-style-editor.h: - Migrate from deprecated GtkObject symbols to GObject equivalents. - -2008-04-30 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #316390 - - * gui/widgets/e-addressbook-view.c: (categories_changed_cb), - (get_master_list), (eab_view_dispose), (eab_view_new), - (search_activated), (make_suboptions): - Listen for changes in categories setup and propagate them to UI. - -2008-04-28 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes bug #529768 - - * gui/widgets/eab-gui-util.c (eab_send_to_contact_and_email_num_list): - Setup default callbacks for the newly created EMsgComposer widget. - -2008-04-23 Milan Crha <mcrha@redhat.com> - - ** Part of fix for bug #529254 - - * gui/widgets/eab-gui-util.c: (save_it): - Prototype and return value of e_write_file_uri has been changed. - -2008-04-22 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes bug #529465 - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: - Prefer "popup" to "pop-up" per the GNOME Documentation Style Guide. - -2008-04-17 Milan Crha <mcrha@redhat.com> - - ** Part of fix for bug #526739 - - * gui/contact-editor/e-contact-editor.c: Do not include gnome-vfs. - -2008-04-02 Matthew Barnes <mbarnes@redhat.com> - - * gui/widgets/Makefile.am: - Remove CORBA rules for the old composer. - - * gui/widgets/eab-gui-util.c (eab_send_to_contact_and_email_num_list), - (eab_send_contact_list_as_attachment): - Adapt to new Bonobo-less composer widget. - -2008-03-31 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #521562 - - * gui/contact-editor/e-contact-editor-address.c: (countries []): - Small typo fix. - -2008-03-31 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #506347 - - * gui/widgets/eab-contact-display.c: - (eab_contact_display_render_compact): - Inherit background colors from actual theme, do not use hardcoded one. - -2008-03-31 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #404241 - - * gui/widgets/e-minicard.c: (get_email_location), (add_email_field): - * gui/widgets/eab-contact-display.c: (get_email_location): - Never return NULL, rather return "Other" as default. - -2008-03-27 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #438613 - - * addressbook.error.xml: - Improved "contact-delete-error-perm" secondary text. - -2008-03-27 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #316572 - - * gui/component/ldap-config.glade: Do not translate unused text. - -2008-03-18 Milan Crha <mcrha@redhat.com> - - ** Part of fix for bug #511952 - - * gui/contact-list-editor/e-contact-list-editor.c: - (contact_list_editor_create_name_selector): - Marking text for translation. - -2008-03-13 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #273177 - - * gui/contact-editor/e-contact-quick-add.h: - (e_contact_quick_add_vcard): - * gui/contact-editor/e-contact-quick-add.c: (struct _QuickAdd), - (quick_add_unref), (quick_add_set_vcard), (clicked_cb), - (build_quick_add_dialog), (e_contact_quick_add_vcard): - Allow adding also whole vCard with this dialog. - * gui/widgets/eab-popup-control.h: (struct _EABPopupControl): - * gui/widgets/eab-popup-control.c: (eab_popup_control_set_vcard), - (eab_popup_control_cleanup), (eab_popup_control_set_vcard), - (eab_popup_control_no_matches), (set_prop), (get_prop), - (eab_popup_control_new): - New property 'vcard', if set, has higher precedence than name/email. - -2008-03-11 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes part of bug #513951 - - * gui/component/addressbook-component.c (ensure_sources): - * gui/component/addressbook-migrate.c (addressbook_migrate): - Adapt to new meaning of xxx_component_peek_base_directory(). - - * gui/component/addressbook-component.c (addressbook_component_init): - * gui/component/addressbook-migrate.c (create_groups): - Use e_get_user_data_dir() instead of constructing the full path. - -2008-02-22 Milan Crha <mcrha@redhat.com> - - ** Part of fix for bug #514836 - - * gui/contact-list-editor/e-contact-list-editor.c: - (contact_list_editor_add_destination): - Obsoleting EVC_X_DEST_EMAIL and EVC_X_DEST_NAME. - -2008-02-20 Srinivasa Ragavan <sragavan@novell.com> - - ** Fix for bug #517458 - - * gui/widgets/e-addressbook-reflow-adapter.c: - (addressbook_compare): Handle broken UIDs. - -2008-02-18 Milan Crha <mcrha@redhat.com> - - ** Part of fix for bug #515744 - - * gui/component/addressbook-migrate.c: (get_source_name): - Memory leak fix. - -2008-02-18 Srinivasa Ragavan <sragavan@novell.com> - - * gui/merging/eab-contact-merging.c: (mergeit): Upstream patch from - OpenSUSE. - -2008-02-14 Matthew Barnes <mbarnes@redhat.com> - - * gui/component/addressbook.c (addressbook_authenticate): - Don't allow newlines in the password dialog title. Use a fixed - string instead. (#516279) - -2008-02-10 Suman Manjunath <msuman@novell.com> - - ** Fix for bug #510642 - - * addressbook.error.xml: Improved string for read-only-addressbook - error-message. - -2008-01-29 Matthew Barnes <mbarnes@redhat.com> - - * gui/widgets/e-minicard.c: - * gui/widgets/gal-view-minicard.c: - Replace G_GNUC_FUNCTION (deprecated) with G_STRFUNC. - -2008-01-25 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #512020 - - * gui/widgets/e-addressbook-view.c: (get_master_list): - Use only searchable categories, like in calendar. - -2008-01-23 Djihed Afifi <djihed@gmail.com> - - ** Fix for bug #391408 - - * gui/widgets/e-minicard-label.c: - (e_minicard_label_resize_children): - * gui/widgets/e-minicard.c: (add_field), (add_email_field): - Fix contact minicards for RTL languages. - -2008-01-22 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #503551 - - * gui/widgets/e-minicard-view-widget.c: (selection_row_change): - Emit selection changed signal even when unselecting, because - we enable/disable menu items on selection change. - -2008-01-21 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #324604 inspired by patch of makuchaku (Mayank) - - * gui/widgets/eab-gui-util.h: - * gui/widgets/eab-gui-util.c: (eab_parse_qp_email), - (eab_parse_qp_email_to_html): New helper functions for decoding - email addresses from RFC822 or RFC2047 form to UTF-8. - * gui/widgets/e-minicard.c: (add_email_field): - * gui/widgets/eab-contact-display.c: (render_contact_list), - (render_contact), (eab_contact_display_render_compact): - * gui/widgets/e-addressbook-table-adapter.c: - (struct _EAddressbookTableAdapterPrivate), (addressbook_dispose), - (addressbook_value_at), (addressbook_set_value_at), (remove_contacts), - (modify_contact), (model_changed), (eab_table_adapter_construct): - * gui/widgets/eab-gui-util.c: (get_email), - (eab_send_contact_list_as_attachment): - Ensure the print of the email is transformed from RFC822 or RFC2047. - -2008-01-20 Srinivasa Ragavan <sragavan@novell.com> - - * gui/widgets/e-addressbook-view.etspec: Revert my last patch. - -2008-01-20 Srinivasa Ragavan <sragavan@novell.com> - - * gui/widgets/e-addressbook-view.etspec: Take off the cursor/focus. - Now we have a nice cairo rendered message list row. - -2008-01-15 Djihed Afifi <djihed@gmail.com> - - ** Fix for bug #507564 - - * gui/widgets/eab-contact-display.c: Fix contact view for RTL - languages. - -2008-01-14 David Turner <cillian64@googlemail.com> - - ** Partial fix for bug #498095 - - * gui/contact-editor/contact-editor.glade: Changed mnemonics on - "Categories" and "Nickname" to fix a clash. - -2008-01-11 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #488213 - - * gui/contact-editor/e-contact-editor.c: (extract_simple_field): - Use global function e_icon_factory_pixbuf_scale for scaling pixbufs. - -2008-01-10 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #448441 - - * addressbook.error.xml: New message "error-read-only" added. - * gui/contact-editor/e-contact-quick-add.c: (struct _QuickAdd), - (merge_cb), (sanitize_widgets), (source_changed), - (build_quick_add_dialog): - Disable "OK" and "Edit Full" buttons if no source is selected. - Also set always book from combo, do not use the new created. - -2008-01-07 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #339813 - - * gui/contact-editor/e-contact-editor.c: (e_contact_editor_create_date): - Setting new option 'e_date_edit_set_twodigit_year_can_future' to FALSE. - -2008-01-06 Michael Monreal <michael.monreal@gmx.net> - - ** Fix for bug #492188 - - * gui/component/addressbook-view.c: - - Use the new Tangoized icons instead of deprecated icons from - gnome-icon-theme. - -2008-01-06 Christian Krause <chkr@plauener.de> - - ** Fix for bug #506772 - - * tools/evolution-addressbook-export.c: (main): Not-NULL check for a - string array before finding its length. - -2007-12-11 Sankar P <psankar@novell.com> - - ** Fix for bug #501969 - - * gui/component/addressbook.c: (load_source_auth_cb): - Passwords should not be forgotten on all errors - -2007-12-06 David Turner <cillian64@googlemail.com> - - ** Fix for bug #468277 - - * gui/component/addressbook-config.c: (eabc_general_offline): - Added a mnemonic to "Copy book content locally for offline operation" - -2007-12-05 Lucky Wankhede <wlakke@novell.com> - - ** Fix for bug #409121 - - * gui/component/addressbook-view.c: - * gui/widgets/e-addressbook-view.c: (save_as), (eab_view_save_as): - * gui/widgets/eab-gui-util.c: - (eab_send_contact_list_as_attachment): - * gui/widgets/eab-vcard-control.c: (toggle_full_vcard), - (eab_vcard_control_new): - * importers/evolution-vcard-importer.c: - (evolution_vcard_importer_peek): Corrected misspelled instances - of vCard - -2007-11-28 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes bug #489652 - - Migrate the contact list editor from ETable to GtkTreeView and - fix some HIG issues. - - * gui/contact-list-editor/Makefile.am: - Remove e-contact-list-editor.etspec - Remove e-contact-list-editor-marshal.list - - * gui/contact-list-editor/contact-list-editor.glade: - Fix some HIG issues and give all the widgets proper names. - - * gui/contact-list-editor/e-contact-list-model.c: - * gui/contact-list-editor/e-contact-list-model.h: - EContactListModel is now a subclass of GtkListStore. - - * gui/contact-list-editor/e-contact-list.c: - * gui/contact-list-editor/e-contact-list.h: - Use a GtkTreeView instead of an ETable for displaying members. - Refactor everything; see bug #489652 for more details. - -2007-11-23 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #495711 - - * gui/contact-editor/e-contact-editor.h: (struct _EContactEditor): - * gui/contact-editor/e-contact-editor.c: (full_name_response), - (full_name_clicked), (e_contact_editor_init): - Keep track of previously created Full Name dialog and reuse it. - -2007-11-18 Gilles Dartiguelongue <gdartigu@svn.gnome.org> - - ** Fix bug #495875 - - * gui/component/addressbook-view.c: - right click menu reordering - -2007-11-03 Matthew Barnes <mbarnes@redhat.com> - - ** Remove dead files from source control. The dates below - indicate when the file was removed from Makefile.am. - Fixes part of bug #478704. - - * printing/e-contact-print-envelope.c (Apr 2007) - * printing/e-contact-print-envelope.h (Apr 2007) - * tools/evolution-addressbook-abuse.c (May 2004) - * tools/evolution-addressbook-import.c (no history) - -2007-10-31 Michael Monreal <mmonreal@svn.gnome.org> - - ** Fix for bug #484064 - - * gui/component/addressbook-view.c: - * gui/widgets/e-addressbook-view.c: - Use mail-message-new instead of mail-send for composing - mail to contact, contacts or group. - -2007-10-29 Kjartan Maraas <kmaraas@gnome.org> - - * gui/contact-editor/e-contact-editor.c: - Remove unneeded include. - -2007-10-26 Matthew Barnes <mbarnes@redhat.com> - - * conduit/address-conduit.c (local_record_to_pilot_record): - Zero out the GnomePilotRecord struct to silence a compiler warning. - -2007-10-25 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes bug #489661 - - * gui/widgets/gal-view-treeview.c: - * gui/widgets/gal-view-treeview.h: - * gui/widgets/gal-view-factory-treeview.c: - * gui/widgets/gal-view-factory-treeview.h: - * gui/widgets/e-addressbook-treeview-adapter.c: - * gui/widgets/e-addressbook-treeview-adapter.h: - Remove these dead files from SCM. - - * gui/widgets/e-addressbook-view.h: - * gui/widgets/e-addressbook-view.c: - * gui/widgets/Makefile.am: - Remove dead WITH_ADDRESSBOOK_VIEW_TREEVIEW code. - -2007-10-23 Kjartan Maraas <kmaraas@gnome.org> - - * gui/contact-editor/e-contact-editor-address.c: - * gui/contact-editor/e-contact-editor-fullname.c: - * gui/contact-editor/e-contact-editor-im.c: - * gui/contact-editor/e-contact-editor.c: (save_contact), - (app_delete_event_cb), (e_contact_editor_set_property), - (e_contact_editor_create_date): - * gui/contact-list-editor/e-contact-list-model.c: - (e_contact_list_model_new): - * gui/merging/eab-contact-merging.c: (mergeit), (response): - * gui/widgets/e-minicard.c: (e_minicard_event), (add_field), - (get_email_location), (add_email_field), (remodel), - (e_minicard_reflow), (e_minicard_compare): - * gui/widgets/eab-config.c: (eab_config_new): - * gui/widgets/eab-gui-util.c: (eab_load_error_dialog), - (file_exists), (save_it), (contact_added_cb), - (eab_send_to_contact_and_email_num_list): - * gui/widgets/eab-menu.c: (eab_menu_new): - * gui/widgets/eab-popup.c: (eab_popup_new): - * importers/evolution-csv-importer.c: (parseLine), - (getNextCSVEntry): - * printing/e-contact-print-style-editor.c: - * printing/test-contact-print-style-editor.c: - * printing/test-print.c: - * util/eab-book-util.c: (eab_get_config_database): - - Warning fixes: - - mixing code and declarations - - NULL vs 0 vs FALSE/TRUE - - mark code static - - some coding style fixes - - if vs ifdef - - Remove some unused bits - - ANSIfication of declarations - -2007-10-23 Tobias Mueller <tobiasmue@svn.gnome.org> - Patch by Michael Monreal <michael.monreal@gmx.net> - - ** Fixes bug #486406 - - * gui/component/addressbook-component.c: - Use addressbook-new icon instead of stock_addressbook - -2007-10-22 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes part of bug #417999 - - * gui/contact-editor/e-contact-editor.c: - * gui/contact-editor/contact-editor.glade: - * gui/contact-editor/e-contact-quick-add.c: - * gui/contact-list-editor/contact-list-editor.c: - * gui/contact-list-editor/contact-list-editor.glade: - Use ESourceComboBox instead of ESourceOptionMenu (deprecated). - -2007-10-18 Tobias Mueller <tobiasmue@svn.gnome.org> - Patch by Michael Monreal <michael.monreal@gmx.net> - - ** Fixes bug #482603 - - * gui/component/addressbook-view.c: - Use document-properties icon instead of stock_folder-properties - -2007-10-09 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes part of bug #437579 - - * conduit/address-conduit.c: - * gui/contact-editor/e-contact-editor.c: - * gui/component/addressbook-config.c: - * gui/widgets/eab-gui-util.c: - Fix various compiler warnings. Patch from Milan Crha. - -2007-10-04 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes part of bug #477045 - - * gui/component/addressbook-view.c: - Use "edit-copy" icon for the FolderCopy verb. - -2007-10-04 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #331421 - - * gui/widgets/eab-contact-display.c: - (eab_contact_display_render_normal): Make contact list name clickable. - -2007-10-02 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes part of bug #469657 - - * importers/evolution-ldif-importer.c: - Use destroy functions in GHashTables to simplify memory management. - -2007-10-01 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #337539 - - * gui/widgets/e-minicard.c: (get_left_width), (remodel): - Omit left column when showing list of contacts. - -2007-09-27 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes part of bug #474000 - - * importers/evolution-ldif-importer.c: - Remove redundant Base64 codec implementation. Use GLib's. - -2007-09-27 Hiroyuki Ikezoe <poincare@ikezoe.net> - - ** Fix for bug #461195 - - * util/eab-marshal.list: - * gui/contact-list-editor/e-contact-list-editor-marshal.list: - * gui/contact-editor/e-contact-editor-marshal.list: Remove - needless marshalers. - * gui/contact-editor/eab-editor.c: - * gui/widgets/e-minicard-view-widget.c: - * gui/widgets/eab-marshal.list: - * gui/widgets/e-minicard.c: - * gui/widgets/e-minicard-label.c: - * gui/widgets/e-addressbook-model.c: - * gui/widgets/e-addressbook-view.c: Use GObject's marshalers. - -2007-09-27 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes part of bug #477045 - - * gui/component/addressbook-component.c: - * gui/component/addressbook-view.c: - * gui/contact-editor/e-contact-editor-address.c: - * gui/contact-editor/e-contact-editor-fullname.c: - * gui/contact-editor/e-contact-editor-im.c: - * gui/widgets/e-addressbook-view.c: - * gui/widgets/eab-contact-display.c: - Use standard icon names where applicable. - -2007-09-21 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #411125 - - * gui/widgets/e-addressbook-view.etspec: - * gui/contact-list-editor/e-contact-list-editor.etspec: - Uses 'compare="collate"' instead of 'compare="string"' to handle UTF - characters correctly. - -2007-09-14 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes part of bug #476231 - - * gui/widgets/eab-gui-util.c: - Remove non-USE_GTKFILECHOOSER code. - GtkFileChooser has been around since 2004. - -2007-09-07 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #473903 - - * gui/merging/eab-contact-merging.c: (mergeit): - Fixes serious compiler warning. - -2007-09-03 Srinivasa Ragavan <sragavan@novell.com> - - * gui/component/addressbook-config.c: (source_to_uri_parts): Fix for a - build break. - -2007-09-03 Srinivasa Ragavan <sragavan@novell.com> - - ** Fix for bug #471791 (Move away from assert to g_ret) - - * gui/component/addressbook-config.c: (ldap_unparse_auth), - (ldap_unparse_scope), (ldap_unparse_ssl), (source_to_uri_parts): - * gui/component/addressbook-view.c: (control_activate_cb): - * gui/contact-list-editor/e-contact-list-editor.c: - (e_contact_list_editor_close): - * gui/widgets/e-addressbook-view.c: (table_double_click), - (treeview_row_activated): - * gui/widgets/eab-gui-util.c: (eab_search_result_dialog): - * gui/widgets/eab-popup-control.c: (set_prop), (get_prop): - * printing/e-contact-print.c: (contact_compare): - -2007-08-27 Johnny Jacob <jjohnny@novell.com> - - Committed on behalf of Ushveen Kaur <kushveen@novell.com> - - ** Fixes bug #352358 - - * gui/merging/eab-contact-commit-duplicate-detected.glade: Label - string of GtkLabel,id="label1" harmonised. - * gui/component/addressbook-view.c (rename-addressbook-folder): - Error tag changed from 'addressbook:no-rename-folder' to - 'addressbook:no-rename-folder-exists' so that error messages - are harmonised. - -2007-08-24 Suman Manjunath <msuman@novell.com> - - ** Fix for bug #440328 - - * gui/merging/eab-contact-duplicate-detected.glade: - * gui/merging/eab-contact-merging.c: (mergeit): Missing mnemonics for - the 'Merge' buttons in two separate dialogs. - -2007-08-23 Anand V M <avmuttagi@gmail.com> - - ** Fix for bug #353462 - - * gui/widgets/eab-gui-util.c:Changing the labels of buttons from - "Yes/No" to "Display All Contacts/Don't Display" to make them HIG - compliant. - -2007-08-16 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #412732 - - * printing/e-contact-print.c: (load_contacts): - Disconnecting previously connected signal handlers. - -2007-08-06 Milan Crha <mcrha@redhat.com> - - ** Partial fix for bug #313221 - - * gui/component/addressbook-migrate.c - (migrate_contacts), (migrate_company_phone_for_local_folders): - changes as part of fixing bug #313221, - looping through all param values, not only testing first one - -2007-08-06 Milan Crha <mcrha@redhat.com> - - ** Partial fix for bug #427469 - - * importers/evolution-vcard-importer.c: (vcard_import_contact): - if HOME or WORK isn't specified for EMAIL, add TYPE=OTHER - -2007-08-02 Hiroyuki Ikezoe <poincare@ikezoe.net> - - ** Fix for bug #462007 - - * gui/contact-editor/e-contact-editor.c: (update_preview_cb): Plugged - memory leak. - -2007-07-31 Hiroyuki Ikezoe <poincare@ikezoe.net> - - ** Fix for bug #462002 - - * gui/contact-editor/e-contact-editor.c: (extract_simple_field): Save - resizing image as its original format. - -2007-07-27 Hiroyuki Ikezoe <poincare@ikezoe.net> - - * gui/widgets/e-minicard.c: (add_email_field): Use g_strdup() instead - of g_strdup_printf() for duplication of a string - -2007-07-26 Hiroyuki Ikezoe <poincare@ikezoe.net> - - * gui/contact-editor/e-contact-editor.c: - (e_contact_editor_create_source_option_menu): - * gui/contact-editor/e-contact-quick-add.c: (build_quick_add_dialog): - * gui/component/addressbook-config.c: (addressbook_config_edit_source): - Plugged memory leaks. - -2007-07-26 Hiroyuki Ikezoe <poincare@ikezoe.net> - - * gui/widgets/e-minicard.c: (add_email_field): Plugged memory leak. - -2007-07-20 Claude Paroz <claude@2xlibre.net> - - * tools/evolution-addressbook-export.c: Minor typo. - -2007-07-09 Matthew Barnes <mbarnes@redhat.com> - - * gui/widgets/e-addressbook-view.c: (init_collection) - Abort if ETable specification file fails to load. - -2007-07-07 Gilles Dartiguelongue <gdartigu@svn.gnome.org> - - ** Fix for bug #448568 - - * gui/contact-editor/contact-editor.glade: - * gui/contact-editor/e-contact-editor.c: (setup_tab_order): - cleanup alignement mess and set correct tabbing order. Thanks - to vinod for the initial glade patch. - -2007-07-06 Hiroyuki Ikezoe <poincare@ikezoe.net> - - ** Fix for bug #337787 - - * gui/widgets/e-address-view.c: (contact_display_has_selection), - (eab_view_copy): Copy selection string in contact preview if the - preview widget has selection string. - -2007-06-20 Laszlo (Laca) Peter <laca@sun.com> - - ** Fix for bug #433732 - - * tools/Makefile.am: expand @PERL@ in evolution-addressbook-clean.in - * tools/csv2vcard: rename to csv2vcard.in - * tools/csv2vcard.in: make the path to perl configurable - * tools/evolution-addressbook-clean.in: make the path to perl - configurable - -2007-06-18 Srinivasa Ragavan <sragavan@novell.com> - - ** Fix for bug #445793 from Gilles Dartiguelongue - - * conduit/Makefile.am: - -2007-06-18 Srinivasa Ragavan <sragavan@novell.com> - - ** Fix for bug #448223 from Gilles Dartiguelongue - - * gui/widgets/e-addressbook-view.c: (generate_viewoption_menu): - -2007-06-18 Srinivasa Ragavan <sragavan@novell.com> - - ** Fix for bug #445812 from Gilles Dartiguelongue - - * gui/widgets/eab-contact-display.c: - -2007-06-11 Milan Crha <mcrha@redhat.com> - - ** Fix for bug #325882 - - * gui/contact-editor/im.glade: - * gui/contact-editor/fulladdr.glade: - * gui/merging/eab-contact-commit-duplicate-detected.glade: - * printing/e-contact-print.glade: - Changed GTK_WIN_POS_NONE to GTK_WIN_POS_CENTER_ON_PARENT. - -2007-06-12 Wang Xin <jedy.wang@sun.com> - - Fixes #444248. - - * addressbook/gui/widgets/e-minicard.c - -2007-06-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru> - - * Makefile.am: - - Reverted automake 1.6 breakage. Fixes bug 444747. - Patch by Patch by Daniel Gryniewicz <dang@nemesis.fprintf.net>. - -2007-06-03 Srinivasa Ragavan <sragavan@novell.com> - - ** Fix for bug #386503 from Matthew Barnes - - * gui/contact-editor/e-contact-editor.c: (show_help_cb): - -2007-06-03 Srinivasa Ragavan <sragavan@novell.com> - - ** Fix for version removal from Installed files from Gilles Dartiguelongue - - * Makefile.am: - * conduit/Makefile.am: - * gui/component/Makefile.am: - -2007-06-02 Gilles Dartiguelongue <dartigug@esiee.fr> - - * conduit/address-conduit.c: (local_record_to_pilot_record): - * gui/component/addressbook-config.c: (query_for_supported_bases), - (eabc_commit): - * gui/component/addressbook-migrate.c: (get_integer_child), - (migrate_ldap_servers), (migrate_completion_folders): - * gui/component/addressbook-view.c: - (selector_tree_drag_data_received): - * gui/contact-editor/e-contact-editor.c: (fill_in_simple_field), - (extract_simple_field): - * gui/contact-editor/e-contact-quick-add.c: - * gui/contact-list-editor/e-contact-list-editor.c: - (table_drag_data_received_cb), (extract_info), (fill_in_info): - * gui/merging/eab-contact-merging.c: (dialog_map), - (dropdown_changed), (mergeit), (check_if_same), (response), - (match_query_callback): - * gui/merging/eab-contact-merging.h: - * gui/widgets/e-addressbook-view.c: (table_drag_data_get), - (make_suboptions), (eab_view_delete_selection), (selection_get), - (selection_received): - * gui/widgets/e-minicard-view.c: (e_minicard_view_drag_data_get): - * gui/widgets/e-minicard.c: (add_email_field): - * gui/widgets/eab-contact-display.c: (eab_selection_get), - (on_url_requested), (render_contact): - * gui/widgets/gal-view-minicard.c: (gal_view_minicard_load), - (gal_view_minicard_save), (column_width_changed): - * printing/e-contact-print.c: (e_contact_build_style): - fixing casts and other compilation warnings - -2007-05-30 Srinivasa Ragavan <sragavan@novell.com> - - ** Fix for bug #333858 from Milan Crha - - * gui/contact-editor/e-contact-editor.c: (categories_response), - (categories_clicked), (e_contact_editor_init): - * gui/contact-editor/e-contact-editor.h: - * importers/evolution-vcard-importer.c: (vcard_import_contacts), - -2007-05-25 Matthew Barnes <mbarnes@redhat.com> - - * gui/component/addressbook-component.c (ensure_sources): - * gui/component/addressbook-migrate.c (ensure_sources): - Don't assume the relative URI is non-NULL (#427232). - -2007-05-14 Srinivasa Ragavan <sragavan@novell.com> - - ** Fix for bug #424055 from Øystein Gisnås - - * gui/contact-list-editor/contact-list-editor.glade: - -2007-05-14 Srinivasa Ragavan <sragavan@novell.com> - - ** Fix for bug #417797 from Øystein Gisnås - - * gui/component/addressbook-view.c: (selector_tree_drag_motion), - (selector_tree_drag_data_received): - -2007-05-14 Srinivasa Ragavan <sragavan@novell.com> - - ** Fix for bug #404239 from Øystein Gisnås - - * /addressbook/gui/widgets/e-minicard.c: - -2007-05-14 Srinivasa Ragavan <sragavan@novell.com> - - ** Fix for bug #358250 from Javier F. Serrador - - * gui/widgets/e-addressbook-view.etspec: - * gui/widgets/eab-contact-display.c: (render_contact): - -2007-05-12 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes part of bug #337616 - - * Makefile.am: Add $(schema_DATA) to DISTCLEANFILES. - -2007-05-11 Srinivasa Ragavan <sragavan@novell.com> - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: Add Tango - icons to preference window. - -2007-05-08 Wang Xin <jedy.wang@sun.com> - - * tools/evolution-addressbook-export-list-cards.c: - Fixes 394932. - -2007-04-23 Matthew Barnes <mbarnes@redhat.com> - - * gui/contact-editor/e-contact-editor.c: - * gui/widgets/e-addresbook-reflow-adapter.c: - * gui/widgets/e-addresbook-view.c: - Don't include e-contact-print-envelope.h. - -2007-04-20 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes part of bug #426816 - - * gui/component/addressbook-view.c: - * gui/widgets/e-addressbook-view.c: - * gui/widgets/e-addressbook-view.h: - * printing/e-contact-print.c: - * printing/e-contact-print.h: - * printing/e-contact-print-types.h: - Refactor the printing infrastructure. - Migrate off of libgnomeprint[ui] once and for all. - - * printing/test-print.c: - Migrate off of libgnomeprint[ui] once and for all. - - * printing/e-contact-print-envelope.c: - * printing/e-contact-print-envelope.h: - This module is unused. Disable it, but keep the logic around for - future reference. - - * printing/Makefile.am: - Remove e-contact-print-envelope.[ch]. - -2007-04-19 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes part of bug #429422 - - * tools/evolution-address-export.c: - Migrate from popt to GOption. - - * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): - Use gtk_window_set_icon_from_file() instead of - gnome_window_icon_set_from_file(). - - * gui/widgets/e-addressbook-table-adapter.c: - * gui/widgets/e-addressbook-model.c: - * gui/widgets/eab-gui-util.c: - Include missing header file(s). - - * gui/widgets/eab-vcard-control.c (pstream_load), (book_open_cb), - (free_struct): - * gui/widgets/eab-gui-util.c (process_unref): - * gui/widgets/e-addressbook-view.c (eab_view_print), - (eab_view_print_preview), (eab_view_delete_selection), - (eab_view_save_as), (eab_view_view), (eab_view_send), - (eab_view_send_to): - e_free_object_list() is dead; just do it manually. - - * gui/widgets/e-addressbook-view.c (eab_view_print), - (eab_view_print_preview): - * conduit/address-conduit.c (addrconduit_load_configuration): - Use g_object_ref_sink() instead of gtk_object_sink(). - - * conduit/address-conduit.c (e_addr_gui_new): - Use gtk_menu_shell_append() instead of gtk_menu_append(). - - * printing/e-contact-print.c (e_contact_build_style): - Use g_build_filename() instead of g_concat_dir_and_file(). - - * printing/e-contact-print-style-editor.c - (e_contact_print_style_editor_new): - Use g_object_new() instead of gtk_type_new(). - -2007-04-18 Srinivasa Ragavan <sragavan@novell.com> - - ** Committed Contact Merging patch from Ebby Wiselyn - - * gui/merging/eab-contact-duplicate-detected.glade: - * gui/merging/eab-contact-merging.c: (free_lookup), (dialog_map), - (dropdown_changed), (mergeit), (check_if_same), (response), - (match_query_callback), (eab_merging_book_add_contact), - (eab_merging_book_commit_contact): - -2007-04-10 Elizabeth Greene <nerdygirl_ellie@yahoo.com> - - ** Fix for bug #426743. - * addressbook/tools/evolution-addressbook-export.c: - Corrected typo "asychronous". - -2006-04-10 Andre Klapper <a9016009@gmx.de> - - * gui/widgets/eab-contact-display.c: - change "E-Mail" to "Email". Fixes bug #404233. - -2007-04-09 simon.zheng <simon.zheng@sun.com> - - ** Fix for bug #426487 - - * gui/widgets/eab-contact-display.c: (accum_time_attribute): - strftime() supplied by OS is subject to locale encoding, i.e. - ja_JP.PCK. Using g_date_strftime() instead, which works on a - UTF-8 format string and store a UTF-8 result. - -2007-04-09 simon.zheng <simon.zheng@sun.com> - - ** Fix for bug #426829. - - * gui/contact-editor/eab-editor.c: (eab_editor_confirm_delete): - * gui/widgets/eab-contact-display.c: (render_contact): - To avoid printing a NULL char point, adding statements to - check the return result of et_email_location() and e_contact_get(). - -2007-04-05 Matthew Barnes <mbarnes@redhat.com> - - * gui/component/addressbook-config.c (addressbook_config_edit_source): - Call gettext() on the EConfigItem labels. (#406933) - Patch from Jeff Cai. - -2007-03-27 Matthew Barnes <mbarnes@redhat.com> - - * gui/contact-editor/e-contact-editor.c: - * gui/contact-editor/e-contact-quick-add.c: - * gui/component/addressbook-component.c: - * gui/component/addressbook-view.c: - * gui/widgets/eab-contact-display.c: - * gui/widgets/gal-view-minicard.c: - * gui/widgets/e-addressbook-view.c: - Don't mix declarations and code (#405495). - -2007-03-20 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes part of bug #419524 - - * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>. - -2007-03-16 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes part of bug #360240 - - * gui/widgets/e-addressbook-view.c (e_contact_print_button): - * printing/e-contact-print.c (complete_sequence), - (e_contact_build_style), (e_contact_print_response), - (e_contact_print_contact_list_dialog_new): - Remove unused variables. - -2007-03-01 Tor Lillqvist <tml@novell.com> - - * gui/widgets/e-addressbook-view.c (e_contact_print_button): - * printing/e-contact-print.c (e_contact_print_response): - Bypass the body of these functions on non-G_OS_UNIX for now as - they use gtk_print_unix_dialog_get_settings(). Gtk printing on - Win32 needs work. - -2007-02-26 Srinivasa Ragavan <sragavan@novell.com> - - ** Fix for bug #232065 - - * gui/widgets/e-addressbook-view.c: (eab_view_delete_selection): Fix - for selection jump on delete from Ebby Wiselyn. - -2007-02-12 Kjartan Maraas <kmaraas@gnome.org> - - * gui/contact-editor/contact-editor.glade: Fix critical warnings - from typos in the glade file. Closes bug #397893. Patch - from Wang Xin. - -2007-02-12 Srinivasa Ragavan <sragavan@novell.com> - - ** Print migration updates from Ebby Wiselyn. - - * gui/component/addressbook-view.c: (print_cb), (print_preview_cb): - * gui/widgets/e-addressbook-view.c: (print), - (e_contact_print_button), (eab_view_print), - (eab_view_print_preview): - * printing/e-contact-print.c: (e_contact_print_contact), - (complete_sequence), (book_view_loaded), (print_func), - (e_contact_print_response), (e_contact_print_dialog_new), - (e_contact_print_contact_dialog_new), - (e_contact_print_contact_list_dialog_new), (contact_draw_page): - -2007-02-08 Srinivasa Ragavan <sragavan@novell.com> - - ** Fix for bug #332908 - - * gui/contact-editor/e-contact-editor.c: (extract_simple_field): Dont - popup if the size of the image is small - -2007-02-08 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes bug #400726 - - * printing/e-contact-print.h: Declare e_contact_print_response(). - -2007-01-22 Srinivasa Ragavan <sragavan@novell.com> - - ** GtkPrint api migration from Ebby Wiselyn. - - * gui/component/addressbook-view.c: (print_cb): - * gui/widgets/e-addressbook-view.c: (print), - (e_contact_print_button), (contact_print_button_draw_page), - (eab_view_print), (eab_view_print_preview): - * gui/widgets/e-addressbook-view.h: - * printing/e-contact-print.c: (e_contact_output), - (e_contact_text_height), (e_contact_rectangle), - (e_contact_print_letter_heading), (e_contact_start_new_page), - (e_contact_get_contact_size), (e_contact_print_contact), - (e_contact_start_new_column), (complete_sequence), - (book_view_loaded), (e_contact_do_print_contacts), - (e_contact_build_style), (e_contact_print_response), - (e_contact_print_dialog_new), (e_contact_print_contact_dialog_new), - (contact_draw_page): - -2007-01-08 Veerapuram Varadhan <vvaradhan@novell.com> - - Patch submitted by Nathan Owens <pianocomp81@yahoo.com> and - Jerry Yu <jijun.yu@sun.com> - - * conduit/address-conduit.c: Add pilot-link 0.12 compatibility. - -2006-12-04 Matthew Barnes <mbarnes@redhat.com> - - Fixes bug #357970 - - * gui/contact-editor/e-contact-editor.c: - * gui/widgets/e-minicard.c: - * gui/widgets/eab-contact-display.c: - Don't call deprecated GLib / GDK functions. - -2006-11-11 Francisco Javier F. Serrador <serrador@openshine.com> - - * gui/widgets/e-minicard.c: Fixed #358249 - * gui/widgets/eab-contact-display.c: Fixed #358249 - -2005-10-16 Devashish Sharma <sdevashish@novell.com> - - * gui/widgets/e-addressbook-view.c (display_view): Changed the - parameter passed to gal_view_minicard_attach. - - * gui/widgets/gal-view-minicard.c (column_width_changed): Sets the - horizontal scroll amount for the addresss card view to the current - page size. - - * gui/widgets/gal-view-minicard.h: Changed function prototype for - gal_view_minicard_attach. Passing EABView instead of - EMinicardViewWidget. - Fixes Bug#218273 - -2006-10-16 Ushveen Kaur <kushveen@novell.com> - - ** Fixes bug#332908 - * addressbook.error.xml : - * gui/contact-editor/e-contact-editor.c : Prompt-resize dialog - options changed. Three options given now, "Resize", "Use as it is" - and "Do not save". - -2006-10-01 Kjartan Maraas <kmaraas@gnome.org> - - * gui/component/addressbook-component.c: Remove duplicate include. - * gui/contact-editor/e-contact-editor.c: (extract_simple_field): - Fix some compiler warnings. - * gui/contact-editor/e-contact-quick-add.c: - (build_quick_add_dialog): Cast away a compiler warning. - * gui/widgets/e-addressbook-view.c: (generate_viewoption_menu): - #if 0 out an unused array, fix 0 vs NULL initialization in some - other arrays and remove an unused GSList. - * gui/widgets/e-minicard.c: (add_email_field): Make a var const. - * gui/widgets/eab-gui-util.c: (eab_contact_save), - (eab_contact_list_save): Add some casts to fix compiler warnings - and #if 0 out an unused function. - * util/eab-book-util.c: (escape), (eab_contact_list_from_string): - Some GString fixes. All of this from bug #332101. - -2006-08-24 Ushveen Kaur <kushveen@novell.com> - - ** Fixes bug #261062 - - * addressbook.error.xml: Translator comments added. - -2006-09-28 Srinivasa Ragavan <sragavan@novell.com> - - ** Fix for bug #357811 - - * gui/widgets/e-addressbook-view.c: (search_activated): Fix for search - on any type to work. - -2006-09-18 Matthew Barnes <mbarnes@redhat.com> - - ** Fixes bug #351332 - - * gui/widgets/e-minicard.c: - Fix implicit function declarations. - -2006-09-12 Ushveen Kaur <kushveen@novell.com> - - ** Fixes bug #352353 - - * gui/widgets/eab-gui-utils.c (file_exists): Translator comment - is added. - -2006-08-21 Srinivasa Ragavan <sragavan@novell.com> - - * gui/widgets/e-addressbook-view.c: (string_without_underscores), - (generate_viewoption_menu), (make_suboptions): Fixes a lot of search - issues. - -2006-08-17 Kjartan Maraas <kmaraas@gnome.org> - - * gui/component/addressbook-component.c: (impl_requestCreateItem): - Plug a leak. - -2006-08-09 Ushveen Kaur <kushveen@novell.com> - - ** Fixes bug #261239 - - * gui/contact-editor/contact-editor.glade: Tab focus corrected in - Mailing Address tab of Contact Editor. - -2006-08-07 Sushma Rai <rsushma@novell.com> - - * gui/widgets/e-addressbook-view.c (eab_view_delete_selection): Added a - callback function to handle the contact deletion error. - (delete_contacts_cb): Added new, a callback function. - - * addressbook.error.xml: Added a error code contact-delete-error-perm - and corresponding error string. Fixes #260403 - - Original patch was submitted by "Vandana Shenoy .B" - -2006-07-25 Johnny Jacob <jjohnny@novell.com> - - * gui/widgets/e-addressbook-view.c: (search_activated), - (query_changed), (make_suboptions) : Assign proper search item ids. - -2006-07-24 Sushma Rai <rsushma@novell.com> - - * gui/widgets/e-addressbook-view.c (search_activated): Commented out - reference to undefined function eab_search_dialog_new(). See #347910. - -2006-07-24 Devashish Sharma <sdevashish@novell.com> - - * gui/contact-editor/e-contact-editor.c: - * gui/contact-editor/e-contact-editor-im.c: Added support for gadu gadu im - in contact entry. - -2006-07-22 Mikhail Zabaluev <mhz@altlinux.org> - - Reviewed by Harish Krishnaswamy <kharish@novell.com> - - * printing/Makefile.am: Add missing .la files - Fixes #334206. - -2006-07-20 Boby Wang <boby.wang@sun.com> - - Reviewed by Harish Krishnaswamy <kharish@novell.com> - - ** Fix bug #347381 - - * gui/contact-editor/e-contact-editor.c: (image_clicked): - Set the image chooser dialog to modal dialog, then we can focus back to - the chooser dialog by <ALT + TAB> - -2006-07-19 Devashish Sharma <sdevashish@novell.com> - - * addressbook/gui/widgets/e-minicard.c : - * addressbook/gui/widgets/eab-contact-display.c : In the minicard view - and preview pane, show the type(home, work) of email instead of showing - email1,email2. - Fixes Bug 343816. - -2006-07-18 Ross Burton <ross@openedhand.com> - - * addressbook/gui/contact-editor/e-contact-editor.c: - * addressbook/gui/contact-list-editor/e-contact-list-editor.c: - * addressbook/gui/widgets/eab-contact-display.c: - Fix for EContactPhoto changes. Partially fixed by Hiroyuki Ikezoe - <poincare@ikezoe.net>, finished by myself. (#347870). - -2006-07-18 Andre Klapper <a9016009@gmx.de> - - * gui/contact-editor/contact-editor.glade: - * gui/contact-editor/fulladdr.glade: - * gui/contact-editor/fullname.glade: - * gui/contact-editor/im.glade: - * gui/contact-list-editor/contact-list-editor.glade: - remove "*" from translation. Fixes bug #331147. - -2006-19-06 Ushveen Kaur <kushveen@novell.com> - - ** Fixes bug #332909 - - * gui/contact-editor/e-contact-editor.[ch]: once asked for resizing, it - wont ask again. - -2006-07-08 Aishwarya K <aishkalyan@gmail.com> - - Fix for #332963 - * e-contact-editor.c: Set the mnemonic character for "No image" - -2006-06-30 Johnny Jacob <jjohnny@novell.com> - * gui/cal-search-bar.c: (get_current_category), - (get_category_sexp), (notify_e_cal_view_contains), - (notify_category_is), (regen_query), (regen_view_query), - (make_suboptions), (cal_search_bar_construct): Added/Removed code - for new search ui. - * gui/e-tasks.c: (search_bar_sexp_changed_cb): - Added/Removed code for search ui. - -2006-06-29 simon.zheng <simon.zheng@sun.com> - - * gui/widgets/eab-gui-util.c: (file_exists): Convert filename - from glib encoding to utf8 encoding. - Fixes Bug #339151 - -2006-06-27 Devashish Sharma <sdevashish@novell.com> - - * gui/widgets/eab-gui-util.c (do_delete) :Fix for - Bug #333691. - -2006-06-16 Devashish Sharma <sdevashish@novell.com> - - * gui/contact-list-editor/e-contact-list-editor.c : - Fix for Bug #317511 - -2006-06-15 Devashish Sharma <sdevashish@novell.com> - - * gui/component/addressbook-view.c : Drag-n-drop contacts now - defaults to Moving the contact and the contacts moved will be - instantly removed from the source addressbook. - Fixes Bug #337085 and #337086 - -2006-06-14 Hiroyuki Ikezoe <poincare@ikezoe.net> - - ** Fixes bug #344227 - * gui/widgets/eab-contact-display.c: - (eab_contact_display_render_compact): gdk_pixbuf_loader_close should - be called before gdk_pixbuf_loader_get_pixbuf. - -2006-06-13 Hiroyuki Ikezoe <poincare@ikezoe.net> - - ** Fixes bug #342646 - * gui/widgets/e-addressbook-view.c: Plugged memory leak. - * gui/widgets/e-minicard-view.c: Ditto. - -2006-06-13 Oswald Rodrigues <ozzy_rodrigues@yahoo.com> - - * gui/contact-editor/e-contact-quick-add.c (build_quick_add_dialog): - created patch to make _F,_m,_S mnemonics in contact-quick add - dialog work. Fixes bug #332347. - -2006-06-12 simon.zheng <simon.zheng@sun.com> - - Fix for #336453 - - * gui/component/addressbook-config.c: (addressbook_ldap_init): - Add SunLDAP library support - a variant of Netscape LDAP. - -2006-06-12 Devashish Sharma <sdevashish@novell.com> - - * gui/contact-editor/e-contact-editor.c : If company name - is set and full name and file as are not set, set company name - as full name and fle name. - Fixes Bug #206320, 342903 - -2006-06-12 Devashish Sharma <sdevashish@novell.com> - - * gui/contact-editor/e-contact-quick-add.c :Fix for Bug #341465 - -2006-06-09 Chris Heath <chris@heathens.co.nz> - - * gui/widgets/eab-popup-control.c (eab_popup_control_set_free_form): Fix - memory leak - * gui/contact-editor/e-contact-quick-add.c (quick_add_merge_contact): Ditto. - Fixes bug #335423. - -2006-05-25 Devashish Sharma <sdevashish@novell.com> - - * gui/contact-editor/e-contact-quick-add.c : Right click add to - contacts doesnt work on email addresses in received mails. - -2006-05-25 Devashish Sharma <sdevashish@novell.com> - - * gui/widgets/eab-contact-display.c : Name of some fields differ - when seen in preview pane and contact editor (Video Chat in contact - editor and Video Conferencing in preview pane). - -2006-05-25 Devashish Sharma <sdevashish@novel.com> - - * gui/contact-list-editor/e-contact-list-editor.c : Contacts - added to a contact list cant be added again. - -2006-05-25 Srinivasa Ragavan <sragavan@novell.com> - - ** Added code to save vcards/addressbooks to remote shares - - * gui/widgets/eab-gui-util.c: (save_it), (eab_contact_save), - (eab_contact_list_save): - -2006-05-17 Roozbeh Pournader <roozbeh@farsiweb.info> - - Fix for gnome bug #341931, farsiweb #562 - * gui/contact-editor/e-contact-editor.c: Mark a few messages for - translation. - -2006-05-12 simon.zheng <simon.zheng@sun.com> - - ** Fix for Bug 341521 - - * gui/contact-editor/contact-editor.glade: Change the label - name of categories button. - -2006-04-27 Boby Wang <boby.wang@sun.com> - - ** Fix for bug # 336470 - - * gui/contact-editor/fullname.glade: - Add labelled-by relationship to gtkcombo. - -2006-04-26 Srinivasa Ragavan <sragavan@novell.com> - - ** Patch from PR Suman to add icons missing in menu items. - - * gui/component/addressbook-view.c: Added icons for forward and send. - -2006-02-18 M Victor Aloysius J <victoraloy@gmail.com> - - ** Fixes bug #317512 - - * gui/eab-contact-editot.c: - * gui/eab-popup.h: - * gui/eab-popup.c: - Hyperlinked email-addresses and websites in preview pane support right - click mouse options. - -2006-04-21 Simon Zheng <simon.zheng@sun.com> - - Fix for bug #337604 - * printing/e-contact-print.c: (e_contact_print_response): - Should destory the print dialog window after clicking Print - Preview button. - -2006-04-21 Devashish Sharma <sdevashish@novell.com> - - Fix for Bug 333869. - * printing/e-contact-print-types.h: Remove member letter_tabs in - struct _EContactPrintStyle. - * printing/e-contact-print.c (e_contact_start_new_page), - (e_contact_get_contact_size), (e_contact_print_contact), - (e_contact_start_new_column), (complete_sequence), - (e_contact_build_style), (e_contact_print_response), - (e_contact_print_preview): - To be consistent with minicard view, remove functions and data structure - associated with letter tab printing. - Patch by Simon Zheng <simon.zheng@sun.com>. - -2006-04-21 Devashish Sharma <sdevashish@novell.com> - - Fix for Bug 336713 - * gui/merging/eab-contact-merging.c: (cancelit): After selecting - "cancel duplicate" when pasting contacts, can't remove those - EContactMergingLookup. Make finished_lookup() available. - Patch by Simon Zheng <simon.zheng@sun.com>. - -2006-03-29 Li Yuan <li.yuan@sun.com> - - Fix for bug #336454 - * gui/component/addressbook-view.c: - (source_selector_key_press_event_callback): - we should return false if it is not a del event to make gtktreeview - deal the rest of keys. - -2006-03-10 Devashish Sharma <sdevashish@novell.com> - - * gui/component/ldap-config.glade : ldap port numbers - were marked for translation. Fixes 331020. - -2006-03-10 Devashish Sharma <sdevashish@novell.com> - - Fix for bug #333855 - * gui/contact-editor/e-contact-editor.c (full_name_response), - (full_name_key_press_event), (full_name_editor_delete_event_cb), - (full_name_clicked): - The fullname dialog should be non-modal as well as categories dialog. - Patch by Simon Zheng <simon.zheng@sun.com>. Made some changes to the - patch and committed. - -2006-03-06 Devashish Sharma <sdevashish@novell.com> - - * gui/contact-editor/e-contact-editor.c (fill_in_address_textview): - Fix for Bug 332915. - -2006-03-06 Devashish Sharma <sdevashish@novell.com> - - * importers/evolution-ldif-importer.c (ldif_import): - * importers/evolution-csv-importers.c (csv_import) : - * importers/evolution-vcard-importer.c (vcard_import) : - Fix for Bug 332136: Evolution fails to import contacts from a file into - an addressbook if the addressbook is never opened. - Patch by Xiurong Simon Zheng. - -2006-03-05 Devashish Sharma <sdevashish@novell.com> - - * gui/widgets/e-addressbook-view.etspec : Fix for bug 268458. - -2006-02-28 Devashish Sharma <sdevashish@novell.com> - - * gui/contact-editor/e-contact-editor.c (extract_simple_field): Fix for Bug - #332811 crash adding an image to a contact. - -2006-02-27 Devashish Sharma <sdevashish@novell.com> - - * gui/contact-editor/e-contact-editor.c: Fix for Bug #332498: orphaned - category editor crashes Evo. - Close the category editor when the contact editor is closed. - -2006-02-27 Devashish Sharma <sdevashish@novell.com> - - * gui/component/addressbook-view.c (selector_tree_drag_data_received) : - Fix for Bug 322689: Cant copy contact to addressbook if addressbook - just created. - -2006-02-23 Devashish Sharma <sdevashish@novell.com> - - * gui/contact-editor/e-contact-editor.c (update_preview_cb) : - Fixes Bug #332123 - crash while trying to add an image to a contact - -2006-02-23 Devashish Sharma <sdevashish@novell.com> - - * gui/component/addressbook-component.c (impl_requestCreateItem) : - New Contact should create contact on selected Addressbook. - Fixes Bug # 326788 and 326721. - -2006-02-22 Simon Zheng <simon.zheng@sun.com> - - Fix for 331993. - - * printing/medbook.ecps: Add "Regular" to the font name. - -2006-02-14 Devashish Sharma <sdevashish@novell.com> - - * e-contact-print.c : Use of pango for text handling when - printing address book. - See Bug #269430. - -2006-02-13 Andre Klapper <a9016009@gmx.de> - - * ldap-config.glade: Fix the Security options to finally be - descriptive, rather than obscuring. Identical to the changes in - mail/em-account-editor.c to fix the UI part of bug #321797. - -2006-02-05 Karsten Bräckelmann <guenther@rudersport.de> - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: - Correcting "Addressbook" to properly read "Address Book". - Fixes bug #326256. - - * gui/component/addressbook-config.c (addressbook_config_edit_source): - * gui/component/addressbook-component.c (impl_upgradeFromVersion): - Correcting "Addressbook" to properly read "Address Book". - Fixes bug #326256. - -2006-02-05 Andre Klapper <a9016009@gmx.de> - - * gui/component/ldap-config.glade: fixing one typo. - fixes #304996 partially. - -2006-02-01 Devashish Sharma <sdevashish@novell.com> - - * gui/contact-editor/e-contact-editor.c: File selector shows preview - of the image when choosing picture of a contact. - Fixes bug #300884. - -2006-02-01 Devashish Sharma <sdevashish@novell.com> - - * gui/widgets/e-minicard.c : (e_minicard_reflow) Fixed a bug which was - causing addressbook view by address card getting all messed up. - Fixes Bug #329315. - -2006-01-30 Tor Lillqvist <tml@novell.com> - - * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): - Link with libefilterbar, too. - -2006-01-30 Harish Krishnaswamy <kharish@novell.com> - - * gui/component/addressbook-view.c: - * gui/widgets/e-addressbook-view.c: - Remove inclusion of unused header. - -2006-01-30 Sushma Rai <rsushma@novell.com> - - * gui/component/Makefile.am: Removed reference to "search" directory. - Fixes the build issue. - -2006-01-30 Devashish Sharma <sdevashish@novell.com> - - * gui/widgets/e-addressbook-view.[ch]: Added save advanced search for - contacts. - * gui/widgets/addresstypes.xml: Search types for contacts. Moved the file - from search directory to here as that directory is no longer required. - -2006-01-30 Elijah Newren <newren@gmail.com> - - * gui/contact-editor/e-contact-editor.c: removed an unused variable. - -2006-01-27 Kjartan Maraas <kmaraas@gnome.org> - - reviewed by: Harish Krishnaswamy <kharish@novell.com> - - * gui/component/addressbook-component.c: (impl_requestCreateItem): - Remove unused bits. - * gui/component/addressbook-config.c: (eabc_general_type), - (eabc_general_offline): Same here. - * gui/component/addressbook-migrate.c: Remove unused static function. - * gui/component/addressbook-view.c: (selector_tree_drag_motion): - Remove unused static function and init uninitialized var. - * gui/contact-editor/e-contact-editor-address.c: - (fill_in_countries): Return early if setlocale() fails. - * gui/contact-editor/e-contact-editor.c: (file_as_get_style), - (extract_email), (extract_phone), (sensitize_phone_types), - (extract_im), (sensitize_im_types), (init_simple): - Mark some arrays static, remove unused variables, fix gcc warnings - * gui/contact-list-editor/e-contact-list-editor.c: (fill_in_info): - Remove unused var. - * gui/merging/eab-contact-compare.c: (eab_contact_compare_name): - Remove unused static function and unused vars. - * gui/search/e-addressbook-search-dialog.c: - (eab_search_dialog_dispose): Remove unused vars. - * gui/widgets/e-addressbook-model.c: (get_view): Add comment. - * gui/widgets/e-addressbook-view.c: (eab_view_class_init), - (eab_view_delete_selection): Remove unused var - * gui/widgets/e-addressbook-view.h: Remove extra semi-colon. - * gui/widgets/e-minicard-label.c: (e_minicard_label_unrealize): - Remove unused var. - * gui/widgets/e-minicard.c: (e_minicard_unrealize), - (e_minicard_event), (add_field), (remodel), (e_minicard_reflow): - Remove unused vars. s/if/ifdef in some places, use passed in parameter - instead of redeclaring the thing locally. - * gui/widgets/eab-contact-display.c: (accum_address), - (eab_contact_display_render_compact): s/if/ifdef. - * gui/widgets/eab-gui-util.c: (eab_select_source): Comment out unused var. - * gui/widgets/eab-popup-control.c: (eab_popup_control_cleanup): s/if/ifdef - * printing/e-contact-print-style-editor.c: - (e_contact_print_style_editor_class_init), - (e_contact_print_style_editor_set_arg), - (e_contact_print_style_editor_get_arg): Remove unused vars. - * util/eab-book-util.c: s/if/ifdef - -2006-12-7 M Victor Aloysius J <victoraloy@gmail.com> - - * gui/contact-editor/e-contact-editor.c (style_makes_sense): - (name_to_style):Added feature for missing middle name. - Fixes #237297 - -2006-01-25 Devashish Sharma <sdevashish@novell.com> - - * gui/component/addressbook-view.c : - * gui/widgets/e-addressbook-view.[ch] : - Added functions for handling callbacks from the folder menu items and - modified some existing functions. - -2006-01-25 Simon Zheng <simon.zheng@sun.com> - - ** Fixes #327203 - - * gui/contact-editor/e-contact-editor.c (app_delete_event_cb): - Checking the validity of contact editor should be done after - extracting all fields. This's done in save_contact(). - * gui/contact-editor/eab-editor.c - (eab_editor_prompt_to_save_changes): To avoid repeating free memory, - delete eab_editor_close(). In fact, eab_editor_save_contact() has - done it before. - -2006-01-23 Devashish Sharma <sdevashish@novell.com> - - * importers/evolution-csv-importer.c : Made some changes for solving some - bugs in csv and tab file import. Mainly changes made to file parsing - mechanism. - -2006-01-23 Devashish Sharma <sdevashish@novell.com> - - * gui/contact-editor/e-contact-quick-add.c : Added source selector to - the quick add dialog so that the user can choose the addressbook also - while storing the contact. Earlier it automatically went to the - default addressbook. - - * gui/widgets/eab-popup-control.c : It now directly tries to quick add - the contact to the selected addressbook. All the duplicate detected and - merging contacts logic is then handled by duplicate contact detected - dialog. So removed the searching and merging code from the file. - Earlier it added the contact to the default addressbook and checked - for duplicated there only. - -2006-01-23 Sushma Rai <rsushma@novell.com> - - * addressbook/gui/component/addressbook.c (addressbook_authenticate): - Checking for the property user and username. Fixes #327819. - -2006-01-16 Harish Krishnaswamy <kharish@novell.com> - - * gui/component/addressbook-component.c: - (impl__get_userCreatableItems): - remove shortcut keys (UI Hackfest - - See http://go-evolution.org/Shortcut_Keys_Review). - -2005-01-16 Devashish Sharma <sdevashish@novell.com> - - * importers/evolution-csv-importer.c : Added support for CSV and TAB - file import. - -2006-01-16 Devashish Sharma <sdevashish@novell.com> - - * gui/contact-editor/e-contact-editor.c (full_name_clicked) : Setting - the default response for categories dialog. - Fixes #317283 - -2006-01-16 Devashish Sharma <sdevashish@novell.com> - - * gui/contact-editor/e-contact-editor.c (full_name_clicked) : Setting - the default response for contact full name dialog. - Fixes #317282 - -2006-01-16 Devashish Sharma <sdevashish@novell.com> - - * gui/contact-editor/e-contact-editor.c : Fixed the default focus in - the contact editor dialog. - -2006-01-13 Srinivasa Ragavan <sragavan@novell.com> - - ** Fixes bug #326268 - - * gui/widgets/e-addressbook-view.c: Adds mnemonics to Advanced Search - menu item in contacts view. - -2006-01-12 Srinivasa Ragavan <sragavan@novell.com> - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: - - Changes Contacts View accel from Control+F2 to Control+2. - -2006-01-10 Simon Zheng <simon.zheng@sun.com> - - * gui/widgets/eab-gui-util.c:use e_filename_make_safe() in - evolution-data-server/libedataserver/e-data-server-util.c - instead of the copy in evolution/e-util/e-util.c. - -2006-01-09 Ali Akcaagac / Andre Klapper <a9016009@gmx.de> - * tools/evolution-addressbook-clean.in: changing old evo1.4 path to - current path. Fixes bug 307513. - Committing on behalf of Ali Akcaagac. - -2006-01-06 Andre Klapper <a9016009@gmx.de> - * evolution/addressbook/gui/widgets/eab-gui-util.c: - changing "cancelled" (British English) - to "canceled" (American English). Fixes bug 325334. - -2006-01-04 Shi Pu <shi.pu@sun.com> - - * gui/component/addressbook-config.c (eabc_details_search): add a not - NULL-pointer check before using lud->scope. - -2005-12-22 Srinivasa Ragavan <sragavan@novell.com> - - * gui/search/addresstypes.xml: Modified the categories to option menu - format in advanced search - -2005-12-21 Not Zed <NotZed@Ximian.com> - - * gui/component/addressbook-component.c (impl_createView): changed - from createControls for new shell apis. - - Committed on behalf of Notzed - partha - -2005-12-17 Tor Lillqvist <tml@novell.com> - - * gui/component/addressbook-migrate.c - * importers/evolution-vcard-importer.c - * tools/evolution-addressbook-export-list-folders.c: Use gstdio - wrappers. Use GDir API instead of dirent. Use GLib to convert file - names to URIs and back. Open files in binary mode. - - * gui/widgets/gal-view-minicard.c - * printing/e-contact-print.c: Use libedataserver's - e_xml_parse_file() and e_xml_save_file() instead of calling libxml - functions directly, as they don't understand the GLib file name - encoding (UTF-8) on Win32. - - * tools/evolution-addressbook-export-list-cards.c: Use gstdio - wrappers. No fork() on Windows, but the fork-to-background - functionality doesn't seem essential? - -2005-12-15 Srinivasa Ragavan <sragavan@novell.com> - - * gui/search/e-addressbook-search-dialog.c: (dialog_response): Added - code to set the color from the theme to indicate advance search - presence. - -2005-12-14 Sushma Rai <rsushma@novell.com> - - * importers/evolution-ldif-importer.c (ldif_import): Proceeding with - the import activity only if the book is writable. - - * importers/evolution-vcard-importer.c (vcard_import): Similar. - Fixes #266003 - -2005-12-10 Sushma Rai <rsushma@novell.com> - - * gui/contact-editor/e-contact-editor.c (fill_in_address_textview): - Not inserting new line at the end and also, placing the cursor at - the beginning of the widget. Fixes #300300. - -2005-12-06 Veerapuram Varadhan <vvaradhan@novell.com> - - * conduits/addressbook-conduit.c: (pre_sync): - Authenticate by reading the store-password for calendars that has - "auth" property set. - * conduits/addressbook-conduit.c: (addressbook_authenticate): - Implement authentication using e-passwords. - -2005-11-26 Tor Lillqvist <tml@novell.com> - - * gui/contact-editor/e-contact-editor.c - * gui/contact-editor/e-contact-editor-address.c - * gui/contact-editor/e-contact-editor-fullname.c - * gui/contact-editor/e-contact-editor-im.c - * gui/contact-list-editor/e-contact-list-editor.c - * gui/merging/eab-contact-merging.c - * gui/widgets/e-addressbook-view.c - * printing/e-contact-print.c - * printing/e-contact-print-style-editor.c: Include - e-util-private.h to get redefinition of compile-time pathnames as - calls to functions on Windows. Construct the pathnames of files - and directories under the installation prefix at run-time to - enable install-anywhere on Windows. No effect on functionality on - Unix. - -2005-11-25 Tor Lillqvist <tml@novell.com> - - * gui/component/openldap-extract.h: New file. Contains various - things lifted from OpenLDAP for use on Windows where we use - Microsoft's LDAP implementation. The same file is also in - e-d-s/backends/ldap. - - * gui/component/Makefile.am: Distribute openldap-extract.h. - - * gui/component/addressbook-config.c: Include openldap-extract.h on - Windows. Include e-util-private.h to get redefinition of - EVOLUTION_GLADEDIR (as a call to a function) on Windows. - (query_for_supported_bases, eabc_general_name, eabc_general_host, - eabc_general_auth, eabc_details_search, eabc_details_limit, - addressbook_config_edit_source): Construct the path of the glade - file at run-time to enable install-anywhere on Windows. - - * gui/component/addressbook-view.c (control_activate): Include - e-util-private,h to get redefinition of EVOLUTION_UIDIR (as a call - to a function) on Windows. Construct the path of the xml file at - run-time to enable install-anywhere on Windows. - - * importers/evolution-ldif-importer.c (ldif_import) - * gui/widgets/eab-gui-util.c (eab_load_error_dialog): Use - g_filename_from_uri() instead of just stripping off the "file://" - prefix for Win32 portability. - - * importers/evolution-ldif-importer.c (ldif_import): Use gstdio - wrappers for better non-ASCII filename support on Windows. - - * gui/component/addressbook-component.c (ensure_sources): Use - g_filename_to_uri() instead of just prefixing "file://" for Win32 - portability. - -2005-11-24 Sushma Rai <rsushma@novell.com> - - * addressbook.error.xml: Added new error id "gw-book-list-init" and - corresponding warning message. - -2005-10-04 Srinivasa Ragavan <sragavan@novell.com> - - * gui/component/addressbook-view.c (abv_source_popups): - * gui/widgets/e-addressbook-view.c (eabv_popup_items): - Added keyboard accelerators for contacts. - -2005-11-11 Evan Yan <evan.yan@sun.com> - - * pinting/e-contact-print.c (e_contact_build_style): - Add a config argument to get the actual page size and set it to style. - (e_contact_print_response): modify the call to e_contact_build_style - accordingly. - e_contact_print_preview): modify the call to e_contact_build_style - accordingly. - Fixes # 316280 - -2005-10-26 Devashish Sharma <sdevashish@novell.com> - - * gui/contact-editor/e-contact-editor.c: Sets the focus to the - corresponding ntry field after changing dropdown menus for phone, im - and e-mail fields in contact editor. Fixes #229972. - -2005-10-22 Sushma Rai <rsushma@novell.com> - - * gui/widgets/eab-gui-util.c (eab_send_contact_list_as_attachment): - Marked subject line for translation. Fixes #317753 - -2005-10-22 Sushma Rai <rsushma@novell.com> - - * gui/component/addressbook-config.c: Storing the search filter entered - at configuration dialog. - (addressbook_ldap_init)(source_to_uri_parts): Handling search filter. - (eabc_details_search): Storing the serch filter value and added - callback to handle search filter changes. - (search_filter_changed_cb)(url_changed): Store search filter in LDAP - url. - (from_ldap_search_filter): If search filter entered is missing - parenthesis, adds them. - - * gui/component/ldap-config.glade: Added an entry for entering the - search filter. - Fixes #311884 - -2005-10-04 Devashish Sharma <sdevashish@novell.com> - - * gui/widgets/e-addressbook-view.etspec: Changed the compare type for - "Organization" to stringcase. This new type has been defined for - performing case insensitive locale sensitive UTF8 string compares. - Fixes #207110. - -2005-10-04 Devashish Sharma <sdevashish@novell.com> - - * gui/widgets/e-addresbook-view.etspec: Changed the compare type for - "File As" to "collate", so that proper lexicographical sorting (based - on users locale)is employed. Fixes #271594, #273870. - -2005-10-04 Devashish Sharma <sdevashish@novell.com> - - * gui/contact-list-editor/e-contact-list-editor.etspec: Set the - sorting column so that the contacts are alphabetically sorted in - contact list editor. Fixes #265353. - -2005-10-03 Devashish Sharma <sdevashish@novell.com> - - * gui/widgets/e-addressbook-view.c (eab_view_print): Get selected - contacts list and forward it. Earlier list was not being sent so no - chance of printing the selected contacts. - (eab_view_print_preview): Same as for print above. - - * printing/e-contact-print.c (e_contact_print_dialog_new): uses_book was - being set in every case. removed that and set contact list which is now - being passed to it from eab_view_print. - (e_contact_print_preview): It was generating preview for the whole - book in all cases. Now if there is a list of selected contacts it - generates preview for only those contacts and if the list is NULL (no - selected contacts), it generates preview for the whole book. - (e_contact_print_response): Checks the current range selected (All or - selection) and prints the contacts based on that. If All is selected - all contacts are printed and if Selection is selected only the selected - contacts are printed. - - * printing/e-contact-print.h: Changed the function prototype for - e_contact_print_dialog_new and e_contact_print_preview, both of them - now accept a list of selected contacts. - Fixes #248624, #274285, #209354, #202201 - -2005-09-30 Devashish Sharma <sdevashish@novell.com> - - * gui/merging/eab-contact-compare.c - (name_fragment_match_with_synonyms): Changed name compare logic where - it matches names with starting part same. (it matches rob and robert). - Fixes #315034. - -2005-09-30 Sarfraaz Ahmed <asarfraaz@novell.com> - - * gui/component/addressbook.c (remove_parameters_from_uri) : This now - takes care to escape any auth mechanism in the uri. - -2005-09-30 Sushma Rai <rsushma@novell.com> - - * importers/evolution-ldif-importer.c: Added some missing attrbutes and - mozilla specific attributes. - (populate_contact_address): Forms the address and also formats it. - (parseLine): Handling the work address, home address, wants to receieve - html mail option, aim screen name. - (getNextLDIFEntry): Handling work and home addresses. - Fixes #316373. - -2005-09-28 Devashish Sharma <sdevashish@novell.com> - - * gui/contact-list-editor/e-contact-list-editor.c - (table_drag_data_received_cb): Added a check that the contact received - through drag contains an email-id. There is no point in adding a - contact to the contact-list if the contact has no email-id. This was - causing a crash also. - - * gui/widgets/eab-contact-display.c - (eab_contact_display_render_compact): Added a check for catching null - email-ids, in case of contact-lists, so that null ids are not passed - for rendering, which was causing a crash. - -2005-09-28 Devashish Sharma <sdevashish@novell.com> - - * gui/component/addressbook-view.c (addressbook_view_init): Added a - callback, source_selector_key_press_event_callback() so that the - contact folder can be removed with Del/Delete Key. - Fixes #233424. - -2005-09-28 Tor Lillqvist <tml@novell.com> - - * gui/component/addressbook.c (get_remember_password): Use - g_ascii_strcasecmp() instead of strcasecmp(). We are comparing to - the literal "true", just casefolding ASCII is enough. Also better - for portability. - -2005-09-14 Sushma Rai <rsushma@novell.com> - - * gui/contact-list-editor/e-contact-list-editor.etspec: Set selection - mode to multiple. Related to the patch submitted already to fix #235038. - -2005-08-26 Devashish Sharma <sdevashish@novell.com> - - * gui/widgets/e-addressbook-view.etspec: In ETableSpecification source - column and field name were not in proper order. Because of this all the - values in view by phone list and view by company were shown in wrong - columns. Fixes #313124. - -2005-08-23 Not Zed <NotZed@Ximian.com> - - * gui/component/addressbook.c (addressbook_authenticate): - de-constify uri, and fix its creation logic. - (load_source_cb): cast for warning. - - * gui/widgets/e-addressbook-view.c: more missing a11y include. - - * gui/widgets/e-minicard-view.c: another missing a11y include. - - * gui/widgets/e-minicard.c: include missing a11y include. - (e_minicard_activate_editor): fix cast. - - * gui/widgets/eab-popup-control.c (eab_popup_control_display_contact): remove unused. - - * gui/widgets/eab-gui-util.c (eab_contact_save): fix conditional build. - (eab_send_to_contact_and_email_num_list): fix boolean conversion. - - * gui/widgets/eab-contact-display.c (eab_contact_display_init): cast. - - * gui/contact-list-editor/e-contact-list-editor.c (fill_in_info): constify file_as. - - * gui/contact-editor/e-contact-editor.c (init_im_record_location): - fix warnings for conditional building. - (fill_in_simple_field): do proper boolean conversion. - (extract_simple_field): do proper boolean conversion. - (response): constify categories, and dont bother initialising it. - (image_clicked): remove warnings for conditional build. - (e_contact_editor_is_valid): constify text. - (e_contact_editor_create_web): cast. - -2005-08-22 Sushma Rai <rsushma@novell.com> - - * gui/widgets/eab-contact-display.c - (eab_contact_display_render_normal): Using e_contact_get() instead of - e_contact_get_const() for E_CONTACT_IS_LIST. Patch to fix #314152, by - "ross@burtonini.com (Ross Burton)". - Also fixed some compile time warnings. - (eab_contact_display_render_compact): Fixed some compile time warnings. - -2005-08-22 Devashish Sharma <sdevashish@novell.com> - - * gui/contact-editor/e-contact-editor.c (categories_clicked): Makes Edit - categories dialog non-modal. - Fixes Bug #241219 - -2005-08-22 Sushma Rai <rsushma@novell.com> - - * tools/evolution-addressbook-export-list-cards.c - enum _EContactFieldCSV: Handling four e-mail ids. - enum _EContactCSVFieldData: Similar. - set_pre_defined_field: Similar. - Fixes the crash which was happening because list of email ids for a - contact was handled as a one email id value. Fixes #269870 - -2005-08-22 Sushma Rai <rsushma@novell.com> - - * gui/contact-list-editor/e-contact-list-editor.c (remove_entry_cb): - Changes contact-list-editor so that multiple items can be selected and - removed at once. Fixes #235038. - Patch submitted by "sean.gao@sun.com (Sean Gao)" and patch was - corected by "Devashish Sharma <sdevashish@novell.com>" - -2005-08-22 Devashish Sharma <sdevashish@novell.com> - - * gui/widgets/eab-contact-compare.c (match_email_hostname): This - function was never returning true and the comparison was also not - proper. Fixed this. - -2005-08-17 Devashish Sharma <sdevashish@novell.com> - - * gui/merging/eab-contact-compare.c (use_common_book_cb): When - adding/modifying a contact list there is no need to check if the emails - in the list are there in existing contact lists or contacts. Also there - is no need for comparing EContactName in case of contact list. Added a - condition to check this. - (eab_contact_compare): Added a check to skip email comparison in case - of contact list. - Fixes #312554. - -2005-08-17 Devashish Sharma <sdevashish@novell.com> - - * gui/merging/eab-contact-compare.c (eab_contact_compare): Add an email - which is not there in any contact to a contact list, now if you want - to add a contact with that email id it gives you duplicate detected. So - while checking for duplicates when adding a new contact emails should - not be compared with existing contact lists email. - -2005-08-17 Devashish Sharma <sdevashish@novell.com> - - * gui/merging/eab-contact-merging.c (response): If the Duplicate - Contact Detected Dialog is closed by clicking the cross on the dialog - window the contact-list-editor or contact-editor dialog become unusable - and cant be closed. Added a case for catching GTK_RESPONSE_DELETE_EVENT. - -2005-08-17 Devashish Sharma <sdevashish@novell.com> - - * gui/merging/eab-contact-duplicate-detected.glade: In case of a - duplicate contact list if the list is big the Cancel and Add buttons of - the Duplicate Contact Detected Dialog were going out of the screen - scope. Added a scrollbar to the Dialog to fix this problem. - -2005-08-17 Tor Lillqvist <tml@novell.com> - - * gui/widgets/Makefile.am (libeabwidgets_la_SOURCES): Add - eab-popup.c back which apparently was accidentally removed. - -2005-08-15 Christian Kellner <gicmo@gnome.org> - - * gui/widgets/Makefile.am: Install missing e-plugin header - eab-config.h, eab-menu.h and eab-popup.h. Fixes bug: #313585. - -2005-08-13 Sushma Rai <rsushma@novell.com> - - * gui/component/addressbook-config.c (do_ldap_root_dse_query): Checking - for naming context value. - -2005-08-10 Tor Lillqvist <tml@novell.com> - - * importers/Makefile.am: Use privsolib instead of privlib (no - difference on Unix, on Win32 privsolib means lib). Use - NO_UNDEFINED. Link with libeabutil.la. - -2005-08-05 Sushma Rai <rsushma@novell.com> - - * gui/widgets/eab-contact-display.c (render_contact): Using - gtk_html_stream_printf() with format specifier. Vulnerability patch - submitted by "Sitic Vulnerability Advisory <sitic@pts.se>" - -2005-08-05 Sushma Rai <rsushma@novell.com> - - * importers/evolution-ldif-importer.c (ldif_import): Initialize gci->size to - the file size, which is used for indicationg the import progress. Fixes the - crash due to devide by zero, while importing more than fifty contacts. - -2005-08-03 Jules Colding <colding@omesc.com> - - * gui/component/addressbook-view.c: Added forward references to functions that were - used before being defined. - -2005-08-03 Sushma Rai <rsushma@novell.com> - - * gui/widgets/eab-gui-util.c (eab_transfer_contacts): Initialize the - flag status to FALSE. - (got_book_cb): Set status to TRUE on loading the address book. - (contact_added_cb): Set status to FALSE on error or cancel operation. - Set status to true on success. Call process_unref always. - (delete_contacts): Delete the contacts only on success. - Fixes #311133, #273716. - -2005-08-03 Srinivasa Ragavan <sragavan@novell.com> - - * gui/widgets/eab-gui-util.c (eab_load_error_dialog): Made the error dialog - for load-error nonmodal, since it blocks the UI along with popup menu. - - * gui/component/addressbook-view.c (load_uri_for_selection) - (primary_source_selection_changed_callback) (addressbook_view_init): - Checks whether the book is already selected. If so it doesn't reselect - it on a right-click. Fixes the bug #309247 - -2005-08-03 Frank Arnold <farnold@cvs.gnome.org> - - * addressbook.error.xml: Marked string for translation - and removed trailing space. Fixes bug #254923 again. - -2005-08-01 Devashish Sharma <sdevashish@novell.com> - - * gui/contact-editor/eab-editor.c (sensitize_ok): fixes the behaviour - of OK button. OK is not enabled until both Full name and File Under are - specified. Fixes #258257. - -2005-07-29 Srinivasa Ragavan <sragavan@novell.com> - - * gui/contact-editor/eab-editor.c: (eab_editor_prompt_to_save_changes) - (eab_editor_request_close_all) Fixes the bug #309416 - -2005-07-29 Srinivasa Ragavan <sragavan@novell.com> - - * tools/evolution-addressbook-export-list-cards.c: (output_n_cards_file) - Fixes the bug #269870. Commiting Michael Meeks patch. - -2005-07-29 Srinivasa Ragavan <sragavan@novell.com> - - * gui/contact-editor/e-contact-editor.c: (extract_simple_field) - (image_selected): Fixed in a genereic way, the resizing of contact - photos. - -2005-07-26 Harish Krishnaswamy <kharish@novell.com> - - * gui/component/Makefile.am: fix make distcheck issues. - * gui/component/addressbook-config.c: remove duplicate - inclusion of header - -2005-07-25 Srinivasa Ragavan <sragavam@novell.com> - - * addressbook.error.xml: Added a string for resize popup - * gui/contact-editor/e-contact-editor.c: (image_selected) Added - code to check the size of image and prompt for resize. - -2005-07-25 Arunprakash <arunp@novell.com> - - * gui/contact-editor/e-contact-editor.c (file_as_entry_changed) - (fill_in_simple) : Modified the way of constructing the title - for the contact editor to facilitate proper translation. - -2005-07-22 Sushma Rai <rsushma@novell.com> - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: Using - autocompletion stock icon instead of contacts icon, for - autocompletion. Fixes #257329. - -2005-07-22 Arunprakash <arunp@novell.com> - - * gui/contact-editor/e-contact-editor.c (name_entry_changed): Modified - to reset the title of the contact editor when the name is deleted - completely. - (file_as_entry_changed) : Modified to update the title with the new - file_as name. - (fill_in_simple) : Modified to set the title initially with the file_as - name. Fixes #235830. - -2005-07-21 Sushma Rai <rsushma@novell.com> - - * gui/widgets/e-addressbook-view.[ch] (eab_view_delete_selection): - Prompt for confirmation only while deleting the contact, and not for - cut operation. - (delete)(eab_view_cut): Using the flag to inidicate delete/cut. - - * addressbook/gui/component/addressbook-view.c (delete_contact_cb): - Similar. Fixes #311090 - -2005-07-19 Arunprakash <arunp@novell.com> - - * gui/widgets/eab-gui-util.c: Added two new entries in array - status_to_string for two left out values of EBookStatus. Fixes #310343. - (eab_error_dialog): Marked status_str for translation. - -2005-07-15 Sushma Rai <rsushma@novell.com> - - * gui/component/addressbook-migrate.c (migrate_contacts): unref query. - (migrate_contact_lists_for_local_folders): Similar. - (migrate_company_phone_for_local_folders): Similar. - - * util/eab-book-util.c: using e_book_query_unref instead of - g_object_unref. - -2005-07-13 Sushma Rai <rsushma@novell.com> - - * addressbook/importers/evolution-vcard-importer.c (vcard_supported): - Return false in the source URI does not start with "file://". - - * addressbook/importers/evolution-ldif-importer.c - (ldif_import_contacts): Using the proper file pointer. - (ldif_supported): Return false in the source URI does not start with - "file://". - (ldif_import_done): Close the file opened. - (ldif_import): Opening the proper file. - -2005-07-09 Veerapuram Varadhan <vvaradhan@novell.com> - - * gui/component/addressbook-component.c: (impl_createControls): - * gui/component/addressbook-view.[c,h]: (addressbook_view_edit_contact): - (impl_handleURI): Handle contacts:// uris. - -2005-07-08 Sushma Rai <rsushma@novell.com> - - * gui/widgets/eab-gui-util.c (eab_load_error_dialog): Including the - file path in the error string. Fixes #309624 - -2005-07-07 Frederic Crozat <fcrozat@mandriva.com> - - * gui/component/addressbook-component.c: (ensure_sources): - * gui/component/addressbook-migrate.c: (create_groups): - Enable autocompletion on personal addressbook when creating it - (Mandriva bug #16427). - -2005-07-06 Vivek Jain <jvivek@novell.com> - - * gui/component/addressbook-view.c: (popup_event_callback) - * gui/widget/e-addressbook-view.c :(do_popup_menu) - added comments about the hookpoints - -2005-07-06 Srinivasa Ragavan <sragavan@novell.com> - * gui/widgets/eab-gui-util.c: (contact_added_cb): Fixed for bug - 309245. - * /gui/widgets/e-addressbook-view.c: Fixes the bug 206774, 242154. - * gui/widgets/eab-popup.c: (eab_popup_target_new_select) Fixes the - bug 206774, 242154. - * gui/widgets/eab-popup.h: Fixes the bug 206774, 242154. - -2005-07-06 Not Zed <NotZed@Ximian.com> - - * Makefile.am (SUBDIRS): build importers before the gui code. - - * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): - link to importer plugin builtins. - - * importers/Makefile.am: just build a shared library with all the - importers in it, we dont install a plugin, it is just linked to - the main app for simplicity. - - * importers/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in: - * importers/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in: - removed. - - * importers/evolution-vcard-importer.c: ported - to eimport, simplified some logic (why test extensions and then test - file content anyway), fixed some memory leaks, etc. - - * importers/evolution-ldif-importer.c (ldif_import): remove - progress dialog stuff, move to update e-import api. - -2005-07-01 Not Zed <NotZed@Ximian.com> - - * gui/component/addressbook-component.c - (addressbook_component_init): hookup the builtin importer - 'plugins'. - - * importers/*: fix for importers->eplugin, also added a - window/progress dialog and cancel button. - -2005-06-25 Harish Krishnaswamy <kharish@novell.com> - - * gui/contact-list-editor/Makefile.am: The previous commit breaks - the build by introducing a circular dependancy. Revert the - changes. - -2005-06-25 Sushma Rai <rsushma@novell.com> - - * gui/component/addressbook-migrate.c (migrate_contacts): Setting - TYPE=OTHER default parameter to email attribute. Fixes #240756. - -2005-06-25 Sushma Rai <rsushma@novell.com> - - * gui/contact-list-editor/Makefile.am: Linking to - libevolution-addressbook. - -2005-06-18 Tor Lillqvist <tml@novell.com> - - * gui/component/Makefile.am - * gui/contact-editor/Makefile.am - * gui/contact-list-editor/Makefile.am - * gui/merging/Makefile.am - * gui/search/Makefile.am - * gui/widgets/Makefile.am: Prune unnecessary and nonexistent - directories from the -I options. Prune pathname macros not used in - the sources in that directory from the -D options. - - * gui/component/Makefile.am - * gui/contact-editor/Makefile.am - * gui/contact-list-editor/Makefile.am - * util/Makefile.am: Use NO_UNDEFINED. Link with all necessary - libraries. - - * gui/component/Makefile.am: Use Win32-specific hack to work - around MSYS feature in the gconftool invocation. - - * gui/contact-editor/Makefile.am - * gui/contact-list-editor/Makefile.am: Use bootstrap library - libevolution-addressbook on Win32. - - * gui/contact-editor/Makefile.am - * gui/contact-list-editor/Makefile.am - * util/Makefile.am: Use privsolib_LTLIBRARIES instead of - privlib_LTLIBRARIES (see ../ChangeLog). - - * gui/component/GNOME_Evolution_Addressbook.server.in.in - * importers/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in - * importers/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in: - Use SOEXT. - -2005-06-09 Sushma Rai <rsushma@novell.com> - - * gui/widgets/e-addressbook-view.c: - Patch submitted by Hans Petter Jansson <hpj@novell.com>, for - Removing the references to the old wombat master category list, - replacing them with e-categories from libedataserver. - -2005-05-16 Not Zed <NotZed@Ximian.com> - - * moved e-error to e-util - - * Makefile.am: renamed error xml file & u18n stuff. - -2005-05-16 Srinivasa Ragavan <sragavan@novell.com> - - * gui/components/GNOME_Evolution_Addressbook.server.in.in: Added tooltips - -2005-05-12 Ulrich Neumann <uli@myuli.com> - - * gui/contact-editor/contact-editor.glade: - Fixed wrong xalign of Zip/Postal Code. This - was very ugly in languages like german, dutch etc. - -2005-05-11 Srinivasa Ragavan <sragavan@novell.com> - * gui/widgets//e-minicard.c: (add_field), (remodel): - Fixed the bug 209416. It shows a different view for contact lists - - -2005-05-09 Sushma Rai <rsushma@novell.com> - - * gui/widgets/eab-gui-util.c (eab_contact_save)(eab_contact_list_save): - Finding if multiple contacts or a single contact has been selected for - saving, and storing it in SaveAsInfo structure. - (save_it): Depending on selected contacts, forming a part of error - message. - - * addressbook-errors.xml: Changed the save-error message, to read - string contact/contacts. - Fixes #261969. - -2005-05-09 Sushma Rai <rsushma@novell.com> - - * gui/widgets/e-addressbook-view.c (eab_view_delete_selection): Checking - if single or multiple contacts/contact lists are being deleted. Also - finding the name, if the single contact/contact list is being deleted. - - * gui/contact-editor/eab-editor.c (eab_editor_confirm_delete): Forming - the display messages based on the contact/contact list and number of - contacts/contact lists being deleted. - Fixes #222599 - -2005-05-06 Chenthill Palanisamy <pchenthill@novell.com> - - Fixes #301459 - * gui/contact-list-editor/contact-list-editor.glade: Corrected - the spelling for addresses and address. - -2005-05-06 Chenthill Palanisamy <pchenthill@novell.com> - - Fixes #272464 - * addressbook-errors.xml: - * addressbook-errors.xml.h: Changed the primary and secondary - to make it more clear. - -2005-04-28 Ross Burton <ross@burtonini.com> - - * gui/widgets/e-addressbook-view.c: - * gui/widgets/eab-contact-display.c: - Fix some memory leaks. - -2005-04-21 Mengjie Yu <meng-jie.yu@sun.com> - - * gui/widgets/e-minicard-view-widget.c: - (e_minicard_view_widget_class_init), - (e_minicard_view_widget_real_focus_in_event): - Add focus_in_event function. - - Fixes #300968 (gnome bugzilla bugID) - -2005-04-17 Mengjie Yu <meng-jie.yu@sun.com> - - * gui/widgets/e-minicard.c: (e_minicard_event): - We should incarnate the reflow item if it doesn't exist. - - Fixes #300970 (gnome bugzilla bugID) - -2005-04-04 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/component/addressbook.c (load_source_auth_cb) - (addressbook_authenticate) : get the uri from Ebook - instead of Esource. e_source_get_uri returns NULL when - it does not have a reference to source group with it - which happens when the source list from which this source - was taken is destroyed but Ebook has reference to that source. - e_book_get_uri returns the same uri and it will be always present - Fixes #73330 - -2005-04-03 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/widgets/eab-gui-util.c (do_copy) : - use eab_merging_book_add_contact instead of - e_book_async_add_contact to take care of duplicate - checking - Fixes #74255 - -2005-03-16 Li Yuan <li.yuan@sun.com> - - * gui/widgets/gal-view-minicard.c: (gal_view_minicard_class_init): - remove the edit function. - - Fixes #40762 - -2005-03-16 Mengjie Yu <meng-jie.yu@sun.com> - - * gui/widgets/e-addressbook-view.c: (search_menu_activated): - make the search field consistent with the Search Dialog. - - Fixes #73270 - - -2005-03-03 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/component/addressbook.c (load_source_auth_cb): - Make sure LoadSourceData has call back installed - before calling it. cb is NULL when called from - auth_required_cb - Fixes #73206 - -2005-02-26 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/widgets/e-addressbook-view.c : - Change the e-popup item type for "Cut" - from E_POPUP_BAR to E_POPUP_ITEM - - Fixes #73013 - -2005-02-25 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/conact-editor/eab-editor.c - (eab_editor_prompt_to_save_changes) : Just close - the editor when user presees cancel or closes the editor - when there are no changes. Seems to be broken - by earlier Change for #70371 - - Fixes #73005 - - -2005-02-24 Sushma Rai <rsushma@novell.com> - - * gui/component/addressbook-config.c (addressbook_config_edit_source): - Removed the hack, setting absolute URI to NULL. Fixes #72715 - -2005-02-23 Hans Petter Jansson <hpj@novell.com> - - * gui/component/addressbook-view.c: - * gui/component/addressbook.c: Include - <libedataserverui/e-passwords.h>. - -2005-02-19 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/contact-editor/eab-editor.c - (eab_editor_prompt_to_save_changes) : close - the editor here in case of save and discard - so that callers need not worry about closing - - * gui/contact-list-editor/e-contact-list-editor.c - (closed_cb) (app_delete_event_cb) : don't close - the editor here as that is handled by _save_changes - call. Also no need to check for return value of that - function as it does not matter here. - - Fixes #70371 - -2005-02-19 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/component/addressbook-component.c - (ensure_sources) : update the base uri - of the "On This Computer" group when user home dir - changes. Also unref personal source if created here. - - Fixes #67724 - -2005-02-09 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/component/addressbook-config.c - (eabc_details_limit) : connect to "value_changed" - signal of spin button instead of "changed" - - Fixes #72369 - -2005-02-09 Hans Petter Jansson <hpj@novell.com> - - * gui/contact-editor/Makefile.am: - * gui/contact-list-editor/Makefile.am: - * util/Makefile.am: Install shared libraries to privlibdir. - -2005-02-08 Christophe Fergeau <teuf@users.sourceforge.net> - - * importers/evolution-vcard-importer.c (has_bom) - (fix_utf16_endianness) (utf16_to_utf8) - guess_vcard_encoding) : New functions which peeks at - the conents of the file and guesses the encoding and - to convert UTF-16 strings to UTF-8. - (load_file_fn) : check the encoding of the file - and convert UTF-16 and locale encoding to UTF-8 - - Fixes #54825 - -2005-02-07 JP Rosevear <jpr@novell.com> - - * gui/component/apps_evolution_addressbook.schemas.in.in: clean up - descriptions - -2005-01-06 Sivaiah Nallagatla <snallagatla@novell.com> - - * e-minicard.c (remodel) : changed the loop - termination check to E_CONACT_LAST_SIMPLE_STRING -1 - so that we will avoid displaying revision field - value in the minicard - -2005-01-04 vivek jain <jvivek@novell.com> - - * gui/component/addressbook.c (load_source_auth_cb): - display a warning dialog if the server version is not proper - - * addressbook-errors.xml: added warning message for - invalid server version - -2004-02-02 Hans Petter Jansson <hpj@ximian.com> - - * gui/component/addressbook-component.c (ensure_sources): Implement - based on the create_groups () function in addressbook-migrate.c. - (addressbook_component_init): Call ensure_sources (). This will create - the necessary addressbook source groups if they somehow disappeared - from GConf. - - * gui/component/addressbook-config.c (addressbook_config_edit_source): - If we can't get any source groups, just issue a console warning and - return NULL. Creating sources without groups is meaningless. - Work around for #67411 - -2005-02-02 Rodney Dawes <dobey@novell.com> - - * gui/component/ldap-config.glade: Fix a small spacing issue in the - Display section's children, to be HIG compliant - -2005-01-31 Hans Petter Jansson <hpj@novell.com> - - * gui/widgets/eab-config.c (_EABConfigPrivate): Use guint instead of - ulong for signal ID. - -2004-01-29 Parthasarathi Susarla <sparthasarathi@novell.com> - - * addressbook/gui/contact-list-editor/e-contact-list-editor.c - (save_contact) : call the eab_merging_* functions instead of - e_book_sync* directly. The merging function check for duplication. - The following functions have been called: - 1. eab_merging_book_add_contact for adding a new entry - 2. eab_merging_book_commit_contact for commiting a modified entry - - Fixes bug #57819 - -2005-01-29 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/contact-editor/e-contact-editor.c - (sensitize_im_types) : new function to sensitize - im types based on supported fields - - (sensitize_im_record) : call sensitize_im_types - for each record - (sensitize_im) : if none of the im types - are supported disable the im entries - Fixes #68799 - -2005-01-28 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/widgets/eab-vcard-control.c (pstream_load) : - Changed a string to make it complete and clear - for transaltion - Fixes #61067 - -2005-01-26 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/component/addressbook.c (addressbook_authenticate) : - Remove leading "%s" from the transalatable string - Fixes #36137 - -2005-01-26 Sivaiah Nallagatla <snallagatla@novell.com> - - * util/eab-book-util.c (strstrcase) : - case insesitive version of strstr. Used - from camel - - (eab_contact_list_from_string) : do case in sensitive - search for "BEGIN:VCARD" and "END:VCARD" to - take care of broken vcards - - Fixes #70339 - - -2005-01-26 Hao Sheng <hao.sheng@sun.com> - - * gui/contact-list-editor/e-contact-list-editor.c: - (setup_name_selector): add access key to 'Member' Button. - -2005-01-25 Rodrigo Moya <rodrigo@novell.com> - - * gui/contact-editor/e-contact-editor.c (categories_clicked): use the - new ECategoriesDialog widget. - -2005-01-21 JP Rosevear <jpr@novell.com> - - Fixes #70622 - - * gui/widgets/eab-contact-display.c (eab_contact_display_init): - construct the html widget - -2005-01-21 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/widgets/e-addressbook-model.[ch] - (eab_model_class_init) : renamed the signal - CONTACT_REMOVED to CONTACTS_REMOVED and chaned - the param type POINTER from INT - (remove_contact) : delete all the contacts - from the model and emit CONATCTS_REMOVED - signal instead of emitting it many times - - * gui/widgets/e-addressbook-reflow-adpater.c - (e_addressbook_reflow_adapter_construct) - (remove_contacts) : renamed remove_contact to remove_contacts - and when number of conacts is more than 1 use _model_changed - instead of _remove_item - - * gui/widgets/e-addressbook-table-adapter.c - (eab_table_adapter_construct) - (remove_contacts) : ditto - - * gui/widgets/e-addressbook-view.c - (eab_view_new) : - (contacts_removed) : renamed contact_removed - to contacts_removed and traverese over indices - to find displayed contact indiex - - fixes #71448 - -2005-01-21 Rodney Dawes <dobey@novell.com> - - * gui/contact-editor/e-contact-quick-add.c (build_quick_add_dialog): - Change the xpad and ypad to 0 here, we don't need the extra padding - Add the GTK_DIALOG_NO_SEPARATOR flag for creating the dialog - Set proper border widths on some dialog containers for the HIG - Set the row/column spacings for the table widget - Create the labels outside of the table packing calls and set the proper - alignment for them to be HIG compliant - Set the border width of the table widget to 12 for HIG compliance - - * gui/widgets/eab-popup-control.c (edit_contact_info_cb): Removed - (eab_popup_control_display_contact): Just go ahead and open the - editor, no need to have an intermittent window with a button for it - (add_contacts_cb): Remove this as we don't need it any more - (eab_popup_control_no_matches): Just go straight to the quick-add - dialog, and don't pop up an intermittent window with a button - - Fixes #41210 #60852 - -2005-01-21 Rodney Dawes <dobey@novell.com> - - * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): - Call gtk_widget_ensure_style to ensure that we set the border widths - of some dialog containers properly for HIG compliance - -2005-01-21 Rodney Dawes <dobey@novell.com> - - * gui/merging/eab-contact-duplicate-detected.glade: - Fix some spacing and remove the separator for HIG compliance - * gui/merging/eab-contact-merging.c (match_query_callback): - Set proper border widths on some dialog containers for the HIG - - Fixes #41228 - -2005-01-21 JP Rosevear <jpr@novell.com> - - Fixes #46404 - - * gui/widgets/e-addressbook-view.c (eab_view_print): just show the - dialog, not show all (margin settings aren't supposed to be used); - use e_print to get the dialog - (eab_view_print_preview): use e_print config for previewing - - * printing/e-contact-print.c (e_contact_print_preview): get the - e_print config for previewing - (e_contact_print_contact_dialog_new): use e_print to get the - print dialog - - * printing/e-contact-print-envelope.c - (e_contact_print_envelope_dialog_new): use e_print to get the - print dialog - -2005-01-21 Hans Petter Jansson <hpj@novell.com> - - * gui/contact-editor/e-contact-quick-add.c (quick_add_set_name) - (quick_add_set_email): Don't set properties on the contact immediately. - (clicked_cb): Set the properties on the contact immediately before - passing it on. This way, the FULL_NAME will only be set once, and so - the FILE_AS field will be updated here. - -2005-01-21 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/component/addressbook-config.c - (eabc_commit) : in case of new book - set the uid of the source as the relative - uri. - -2005-01-19 Hao Sheng <hao.sheng@sun.com> - - * gui/contact-editor/contact-editor.glade: - add accessable key to the contact editor UI. - * gui/contact-list-editor/contact-list-editor.glade: - add accessable key to the contact list editor UI. - -2005-01-18 Hao Sheng <hao.sheng@sun.com> - - * gui/component/addressbook-view.c: - (addressbook_view_init): add a11y name for the contact's - treeview. - -2005-01-18 Hao Sheng <hao.sheng@sun.com> - - * gui/contact-editor/contact-editor.glade: - add a11y names for widgets named "Image","Anniversary" and "Birthday". - * gui/contact-editor/e-contact-editor.c: - (e_contact_editor_create_date): add string1 as entry's a11y name. - -2005-01-17 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/contact-editor/e-contact-editor.c - (fill_in_email_record) : show "other" when email - does not carry "TYPE" - (fill_in_email) : pass deafult email - types instead of -1 when clearing fields - - Fixes #70922 - -2005-01-17 Hao Sheng <hao.sheng@sun.com> - - * gui/contact-editor/contact-editor.glade: - add the a11y name for arrow-button named "Telephone". - -2005-01-12 JP Rosevear <jpr@novell.com> - - Fixes #61973 - - * gui/widgets/e-addressbook-view.etspec: add translator comment for TTYTDD - -2005-01-11 Not Zed <NotZed@Ximian.com> - - * util/eab-book-util.c (eab_name_and_email_query): cast length - specifier to int. - -2005-01-10 Hans Petter Jansson <hpj@novell.com> - - * gui/widgets/e-minicard.c (e_minicard_activate_editor): When spawning - an editor, set the initial editability from the target book, not from - the minicard's own (usually stale, useless) editable state. - -2005-01-06 JP Rosevear <jpr@novell.com> - - * gui/component/Makefile.am: install schemas properly - -2004-12-21 Andre Klapper <a9016009@gmx.de> - - * tools/evolution-addressbook-export.c: - Fixing bug 61068 (removing a white space in a string). - -2004-12-23 Sivaiah Nallagatla <snallagatla@novell.com> - - Part of merge from offline branch - - * gui/widgets/addresbook-config.c (eabc_general_offline) : - fix some compile warings - (offline_status_changed_cb) : set "0" instead of NULL - as e-source property when offline is not checked - -2004-11-23 Sivaiah Nallagatla <snallagatla@novell.com> - - Part of merge from offline brnach - - * gui/widgets/eab-gui-util.c (eab_load_error_dialog) : - added message which gets prompted when user tries - to access a book which is not available in offline mode - - * gui/component/addressbook-config.c (eabc_general_offline) - (offline_status_changed_cb) : added a new check box - to properties page to mark a book for offline usage - - * gui/component/addressbook.c (load_source_cb) : do no try to - authenticate in case of offline mode. - (auth_required_cb) : new call back which gets called - when backend sends notification for password to client - -2004-12-23 Hans Petter Jansson <hpj@novell.com> - - This is the last we see of ESelectNames. - - * gui/component/select-names/Evolution-Addressbook-SelectNames.idl - * gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in - * gui/component/select-names/Makefile.am - * gui/component/select-names/e-select-names-bonobo.c - * gui/component/select-names/e-select-names-bonobo.h - * gui/component/select-names/e-select-names-completion.c - * gui/component/select-names/e-select-names-completion.h - * gui/component/select-names/e-select-names-config-keys.h - * gui/component/select-names/e-select-names-config.c - * gui/component/select-names/e-select-names-config.h - * gui/component/select-names/e-select-names-factory.c - * gui/component/select-names/e-select-names-factory.h - * gui/component/select-names/e-select-names-manager.c - * gui/component/select-names/e-select-names-manager.h - * gui/component/select-names/e-select-names-marshal.list - * gui/component/select-names/e-select-names-model.c - * gui/component/select-names/e-select-names-model.h - * gui/component/select-names/e-select-names-popup.c - * gui/component/select-names/e-select-names-popup.h - * gui/component/select-names/e-select-names-section.etspec - * gui/component/select-names/e-select-names-table-model.c - * gui/component/select-names/e-select-names-table-model.h - * gui/component/select-names/e-select-names-text-model.c - * gui/component/select-names/e-select-names-text-model.h - * gui/component/select-names/e-select-names.c - * gui/component/select-names/e-select-names.etspec - * gui/component/select-names/e-select-names.h - * gui/component/select-names/recipient.glade - * gui/component/select-names/select-names.glade: Begone. - -2004-12-23 Hans Petter Jansson <hpj@novell.com> - - * gui/component/Makefile.am (SUBDIRS): No more select-names. - (libevolution_addressbook_la_LIBADD): Remove libeselectnames.la. - - * gui/component/component-factory.c (factory): Remove the select-names - component. - - * gui/contact-list-editor/Makefile.am (IDL) - (IDL_GENERATED_H) - (selectnamesdir): No longer needed, so removed. - -2004-12-22 Hans Petter Jansson <hpj@novell.com> - - * gui/contact-list-editor/e-contact-list-editor.c - (e_contact_list_editor_dispose): Unref the name selector. - (e_contact_list_editor_save_contact): Fix a warning. - (add_to_model): Take a list instead of a vector of destinations. - (select_names_ok_cb): Adapt to new name selector. - (setup_corba): Renamed to setup_name_selector () and adapted. - (select_cb): Adapt to new name selector. - - * gui/contact-list-editor/e-contact-list-editor.h: Adapt to new - name selector and remove CORBA/Bonobo. - - * gui/widgets/eab-popup.c (eabp_target_free) - (eabp_popup_target_new_select_names): #ifdef out code that - depended on the old name selector. - -2004-12-17 Not Zed <NotZed@Ximian.com> - - * util/ea-popup.c (emp_standard_menu_factory): - - * gui/component/select-names/e-select-names.c (section_right_click_cb): - - * gui/component/addressbook-view.c (popup_event_callback): - - * gui/widgets/e-addressbook-view.c (do_popup_menu): api changes. - -2004-12-21 JP Rosevear <jpr@novell.com> - - Fixes #61975 - - * gui/widgets/test-reflow.c: kill translated strings that were #if - 0'd anyhow - -2004-12-21 JP Rosevear <jpr@novell.com> - - * gui/search/e-addressbook-search-dialog.c: convert to - G_DEFINE_TYPE - - * gui/widgets/gal-view-factory-minicard.c: ditto - - * gui/widgets/gal-view-factory-treeview.c: ditto - -2004-12-13 Vivek Jain <jvivek@novell.com> - - * gui/component/addressbook-config.c (addressbook_config_edit_source): set the - window title based upon the source - -2004-12-08 Hans Petter Jansson <hpj@novell.com> - - * gui/component/addressbook-migrate.c - * gui/component/select-names/e-select-names-completion.c - * gui/component/select-names/e-select-names-manager.c - * gui/component/select-names/e-select-names-model.h - * gui/contact-list-editor/e-contact-list-editor.h - * gui/contact-list-editor/e-contact-list-model.h - * gui/widgets/e-minicard.c - * gui/widgets/eab-gui-util.c - * importers/evolution-ldif-importer.c - * importers/evolution-vcard-importer.c: Include - <libebook/e-destination.h> from evolution-data-server. - * util/Makefile.am: Remove e-destination.[ch] from here. - * util/e-destination.[ch]: Removed. - -2004-12-08 S. Caglar Onur <caglar@uludag.org.tr> - - * evolution-2.0.2/addressbook/gui/contact-editor/e-contact-editor.c - (get_ui_slot_param) - (get_attributes_named): some strcasecmp() calls changed with - g_ascii_strcasecmp() for Turkish character conversiton problems - [ http://www.i18nguy.com/unicode/turkish-i18n.html ] - -2004-12-06 Not Zed <NotZed@Ximian.com> - - * gui/component/addressbook-config.c (eabc_general_type): set the - active item based on the current group. - -2004-12-01 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/contact-editor/e-contact-editor.c (save_contact) : - save the uid and set it again in the contact. Otherwise, there is - possibility we trying to save the contact wiht out UID, as we destory the - contact and create new one when data is wrong - - -2004-11-28 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/contact-editor/e-contact-editor.h : Define - new list for storing required fields - - * gui/contact-editor/e-contact-editor.c - (e_contact_editor_class_init) : install new REQUIRED_FIELDS - property - (e_contact_editor_set_property) - (e_contact_editor_get_property) : added handling - for new RQUIRED_FIELDS_PROPERTY - (e_contact_editor_dispose) : unref the new - required_fields member - (required_fields_cb) : call back to set required fields into - contact editor - (is_non_string_field) : new method to detect - whether a particular field in contact is a string or not - (e_contact_editor_is_valid) : check for presence of - all required fields - (save_contact) : extract all the data before - calling e_contact_editor_is_valid so that - it can check for required fields. Clean up the contact - if there is an error - -2004-11-27 Sushma Rai <rsushma@novell.com> - - * gui/widgets/e-minicard-view.c (set_empty_message): - Checking for the static capability "do-initial-query", - and setting the relevent empty addressbook message. - -2004-11-26 JP Rosevear <jpr@novell.com> - - * gui/component/select-names/e-select-names-popup.c - (populate_popup_contact): get image directly from icon factory - - * gui/contact-editor/e-contact-editor-im.c - (setup_service_optmenu): ditto - -2004-11-25 Hao Sheng <hao.sheng@sun.com> - - * gui/contact-editor/contact-editor.glade: - add "labelled by" between entry and label, - make accessbility work. - * gui/contact-editor/e-contact-editor.c: - (e_contact_editor_create_web): add accessible name to e_url_entry. - -2004-11-22 Joan Sanfeliu <joan@fibranet.com> - - * gui/component/apps_evolution_addressbook.schemas.in.in: - * gui/component/ldap-config.glade : Evolution product name spelled - with an uppercase E - - Fixes #61065 - -2004-11-22 Rodney Dawes <dobey@novell.com> - - * importers/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in: - Fix name attribute values to be identical - - Fixes #61976 - -2004-11-21 Sivaiah Nallagatla <snallagatla@novell.com> - - * rever last commit , it is supposed to for offline - branch not to HEAD - -2004-11-21 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/widgets/eab-gui-util.c (eab_load_error_dialog) : - added message which gets prompted when user tries - to access a book which is not available in offline mode - - * gui/component/addressbook-config.c (eabc_general_offline) - (offline_status_changed_cb) : added a new check box - to properties page to mark a book for offline usage - - * gui/component/addressbook.c (load_source_cb) : do no try to - authenticate in case of offline mode. - (auth_required_cb) : new call back which gets called - when backend sends notification for password to client - -2004-11-07 Sivaiah Nallagatla <snallagatla@novell.com> - - * util/eab-book-util.c (eab_name_and_email_query) : - When name is NULL query against complete email id instead of - user name part to take care of users@foo.org not matching - against users@bar.org . Also include query based on name always - - Fix for #67656 - - -2004-11-16 Not Zed <NotZed@Ximian.com> - - * util/Makefile.am (libeabutil_la_LIBADD): remove camel, add - ADDRESSBOOK_LIBS. - - * conduit/Makefile.am (libeaddress_conduit_la_LIBADD): remove - camel. - - * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): - remove camel. - -2004-11-15 Not Zed <NotZed@Ximian.com> - - * *.c: Moved various things from e-util to libedataserver, where - appropriate. - -2004-11-08 Andre Klapper <a901600@gmx.de> - - Fixes bug #61966. - - * addressbook-errors.xml: Add a missing word to a string. - -2004-11-08 Steven Zhang <steven.zhang@sun.com> - - * gui/widgets/e-minicard.c: (e_minicard_activate_editor): - rename and make it a public function. - (e_minicard_event): change accordingly. - * gui/widgets/e-minicard.h: ditto. - -2004-11-04 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/contact-editor/e-contact-editor.c (save_contact) : - populate contact only afte we are sure that data is valid - and we can create that. - Fixes #69079 - -2004-11-07 Rodney Dawes <dobey@novell.com> - - * gui/contact-editor/e-contact-editor.c - (init_email_record_location, init_im_record_location): - Translate the category pretty names that we pass for creation of - new menu item entries for the E-Mail and IM dropdown selections - - Partially fixes bug #66854 - -2004-11-04 mengjie yu <meng-jie.yu@sun.com> - - fix for bugzilla #44876 - - * gui/component/select-names/e-select-names-manager.c: - (e_select_names_manager_entry_new):add a atk name for the entry. - -2004-11-2 Hao Sheng <hao.sheng@sun.com> - - * gui/widgets/e-minicard-view.c: popup right-click menu after - pressing Shift+F10. - -2004-11-01 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/widgets/eab-gui-util.c - (added_cb) (_modified_cb) : Don't show - error dialogs when status code is E_BOOK_ERROR_CANCELLED. We don't - wabt to show "Error adding contact, Cancelled" dialogs when user - cancels duplicated contact detected dialog. - -2004-10-27 Andre Klapper <a9016009@gmx.de> - - * tools/evolution-addressbook-export.c: - Fixing a typo (bug 61069). - -2004-10-26 Andre Klapper <a9016009@gmx.de> - - Fixes #61972. - - * addressbook/gui/contact-editor/e-contact-editor-address.c: - Typo in country name: was "Grena-dines", now "Grenadines". - -2004-10-25 Nat Friedman <nat@novell.com> - - * gui/widgets/eab-contact-display.c (accum_multival_attribute): - Display mutlivalued contact attributes in the preview. - (render_contact): Render all IM fields using the new multival - function. - -2004-10-21 JP Rosevear <jpr@novell.com> - - * gui/widgets/eab-config.c (ecph_class_init): correct hook name - typo - - * gui/component/addressbook-view.c: add appropriate popup icons - -2004-10-21 Not Zed <NotZed@Ximian.com> - - * gui/component/addressbook-config.c - (addressbook_config_edit_source): fix a past-o for no-ldap case. - -2004-10-20 Not Zed <NotZed@Ximian.com> - - * gui/component/addressbook-component.c - (addressbook_component_init): register config hook. - - * gui/component/addressbook-config.c: mostly re-written to use econfig. - (query_for_supported_bases): convert to gtktreeview. - - * gui/widgets/eab-config.c (ecp_set_target): hook onto source changed. - (ecp_source_changed): propagate changed state info. - (ecp_class_init): setup private data. - -2004-10-19 Not Zed <NotZed@Ximian.com> - - * gui/widgets/eab-menu.c (eabm_target_free): don't unref null - book. - -2004-10-19 JP Rosevear <jpr@novell.com> - - * gui/component/addressbook-view.c, - gui/component/select-names/e-select-names.c, - gui/widgets/e-addressbook-view.c, gui/widgets/eab-menu.c, - gui/widgets/eab-popup.c: convert to org.gnome hook names - -2004-10-15 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/widgets/e-addressbook-view.c : add EAB_POPUP_SELECT_ANY - mask instead of EAB_POPUP_SELECT_MANY, so that - all the options like Save as, Forward etc are enabled even - single contact is selected. - -2004-10-15 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/widgets/eab-contact-display.c : uncomment - HANDLE_MAILTO_INTERNALLY define so that we will - launch composer through bonobo instead of using - gnome_url_show - -2004-10-15 Not Zed <NotZed@Ximian.com> - - * gui/widgets/eab-popup.c: added an any select mask and updated - the hook maps. - - * gui/component/addressbook-component.c - (addressbook_component_init): register the addressbook hooks. - - * gui/component/addressbook-view.c (addressbook_view_init): setup - the menu manager. - (control_activate_cb): activate the menu manager. - (update_command_state): and update the menu manager. - - * gui/widgets/eab-menu.[ch]: Added menu manager class. - -2004-10-13 JP Rosevear <jpr@novell.com> - - * importers/evolution-vcard-importer.c: find source selector and - option menu in libedataserverui - - * importers/evolution-ldif-importer.c: ditto - - * gui/widgets/eab-popup.c: ditto - - * gui/widgets/eab-gui-util.c: ditto - - * gui/contact-list-editor/e-contact-list-editor.c: ditto - - * gui/contact-editor/e-contact-editor.c: ditto - - * gui/component/select-names/e-select-names.h: ditto - - * gui/component/autocompletion-config.c: ditto - - * gui/component/addressbook-view.c: ditto - -2004-10-11 Hans Petter Jansson <hpj@ximian.com> - - * gui/component/addressbook-view.c (source_list_changed_cb): Don't - unref the view - removing it from the hash table will do this for us. - Remove from hash table after removing the notebook page. - (addressbook_view_init): Unref views when removed from the hash - table. - -2004-10-06 Not Zed <NotZed@Ximian.com> - - * gui/component/addressbook-view.c (popup_event_callback): - * gui/component/select-names/e-select-names.c (section_right_click_cb): - * gui/widgets/e-addressbook-view.c (do_popup_menu): fix for - e-popup api changes. Moved all mask specifiers to visible rather - than enable in the menu table. - -2004-10-06 Not Zed <NotZed@Ximian.com> - - * gui/contact-editor/e-contact-editor.c: removed - gnome-popup-menu.h (unused). - - * gui/widgets/e-addressbook-reflow-adapter.c: - * gui/widgets/eab-popup-control.c: remove e-popup-menu.h (unused). - - * gui/component/select-names/e-select-names.c - (section_right_click_cb): use e-popup. Somewhat overengineered - for this use ... - (remove_cb): api changes. - - * gui/widgets/eab-popup.c (eab_popup_target_new_select_names): - added pretty useless wrapper for the select names popup. Added to - hook maps. - -2004-10-01 Not Zed <NotZed@Ximian.com> - - * gui/widgets/e-addressbook-view.c (do_popup_menu): convert to - using EABPopup. - (sources): remove dead code. - (has_email_address_1, get_has_email_address): removed now - redundant code. - (save_as, send_as, send_to, print, copy, paste, cut, delete) - (copy_to_folder, move_to_folder, new_card, new_list): new api. - (free_popup_info): dead. - (print_envelope): not pining. - (get_contact_list): take a popup target instead, don't ref. - (get_contact_list_1): not required no more. - (contact_and_book_free): same. - (delete): call eab_view_delete_selection. - (eab_view_delete_selection): do the actual delete here. - - * gui/widgets/eab-popup.c (eab_popup_target_new_select): implement. - -2004-10-01 Not Zed <NotZed@Ximian.com> - - * gui/widgets/eab-popup.[ch]: addressbook popup driver. - - * gui/component/addressbook-view.c (delete_addressbook_cb): use - e-error for the message prompt. don't bother keeping it around, - it can never be re-sensitised anyway. - (book_removed): no longer destroy the original dialogue. - - * addressbook-errors.xml: add ask-delete for deleting - addressbooks. - - * gui/component/addressbook-view.c (addressbook_view_init): - connect to popup_event rather than fill_popup_menu now. - (fill_popup_menu_callback): renamed to popup_event_callback, - changed to use epopup. - (add_popup_menu_item): remove, no longer needed. - -2004-09-29 Not Zed <NotZed@Ximian.com> - - Fixes bug #66520. - - * gui/widgets/e-addressbook-view.c (eab_view_dispose): don't unref - the contact_display_window, it will be destroyed by being - parented. - -2004-09-29 Hans Petter Jansson <hpj@ximian.com> - - Fixes bug #66369. - - * util/eab-book-util.c (eab_contact_list_from_string): Make the - vcard splitter work with any amount of blank lines between vcards. - -2004-09-29 Hans Petter Jansson <hpj@ximian.com> - - Fixes bug #65537. - - * gui/merging/eab-contact-compare.c (query_cb): Protect against NULL - UIDs, and make fewer calls to e_contact_get_const () as a bonus. - -2004-09-24 Hao Sheng <hao.sheng@sun.com> - - Fix for #66523 - - * gui/contact-list-editor/e-contact-list-model.c: - (e_contact_list_model_add_email): estimate the same mail address - and popup a warning dialog. - * addressbook-errors.xml: add the question message for the warning - dialog. - -2004-09-23 Pamplona Hackers <gnome-desarrollo@es.gnome.org> - - Fixes #61978 - - * tools/evolution-addressbook-export.c (main): use more - meaningful error message. - -2004-09-23 Fazlu & Hannah <hannah_lins@yahoo.co.in> - - * tools/evolution-addressbook-export.c (main): - Changed the string into proper grammar 'In normal mode, there - should not need size option.' to 'In normal mode, there is no need - for the size option.' - -2004-09-23 JP Rosevear <jpr@novell.com> - - * conduit/address-conduit.c (ecard_from_remote_record): only set - the file as address to the company if no full name exists - (delete_record): don't bail out if the record simply isn't found - - Fixes #59725 - - * conduit/address-conduit.c (local_record_from_uid): remove - extraneous semicolon - -2004-09-21 William Jon McCann <mccann@jhu.edu> - - * gui/component/component-factory.c (factory): Quiet debug messages. - - * gui/widgets/e-addressbook-view.c (eab_view_new): Remove - unnecessary label widget placeholder. Make vertical scrollbar - policy automatic. Use gtk_paned_add2 instead of - gtk_container_add. - - * gui/component/apps_evolution_addressbook.schemas.in.in: Add - missing show_preview schema. Add missing long descriptions. - -2004-09-13 Rodney Dawes <dobey@novell.com> - - * gui/contact-editor/e-contact-editor.c (show_help_cb): - Point at the correct XML file for documentation - -2004-09-13 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/contact-editor/e-contact-editor.c - (sensitize_address) : check for _LABEL - type address fields also in supported fileds - while sensitizing the address fields - -2004-09-03 JP Rosevear <jpr@novell.com> - - Fixes #63191 - - * gui/contact-list-editor/contact-list-editor.glade: set the title - properly - -2004-09-08 Not Zed <NotZed@Ximian.com> - - ** See bug #64080. - - * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): - link addressbook to camel. - -2004-09-04 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/widgets/e-addressbook-view.h : add - new widget variable contact_dsiplay_window to _EABView strcut - to store. Remove unused scrolled varible - * gui/widgets/e-addressbook-view.c (eab_view_init) - (eab_view_dispose) : initialize and unref the new widget - added - (eab_view_new) : remove the loca variable scrlled_window - instead use eav->contact_display_window - (eab_view_show_contact_preview) : show/hide contact_display_window - instead of contact_display - Fixes #64024 - - -2004-08-27 Not Zed <NotZed@Ximian.com> - - ** See bug #62856 (workaround). - - * gui/component/addressbook.c (addressbook_authenticate): add - online flag to password request. - - ** See bug #64011. - - * gui/component/addressbook-view.c (edit_addressbook_cb): Remove - double ;; in declaration section (c99 extension). From Vincent - Noel <vnoel@cox.net>. - -2004-08-26 Hans Petter Jansson <hpj@ximian.com> - - Really fixes #61833 and #63697. - - * gui/component/select-names/e-select-names.etspec: Fetch values from - column 86 (NAME_OR_ORG), instead of 2 (FILE_AS). - -2004-08-26 Chris Toshok <toshok@ximian.com> - - [ patch for the rest of 60889 ] - * gui/merging/eab-contact-merging.c (add_lookup): new function, - either start up the query or add it to the queue if we're over the - number of simultaneous queries. - (finished_lookup): start up enough pending queries to get us to - our limit again. - (free_lookup): free lookup->avoid. - (final_id_cb): call finished_lookup. - (eab_merging_book_add_contact): set lookup->avoid to NULL and - replace call to eab_contact_locate_match_full with add_lookup. - (eab_merging_book_commit_contact): set lookup->avoid to the - contact, and make the same - s/eab_contact_locate_match_full/add_lookup/ replacement. - -2004-08-26 Christian Neumair <chris@gnome-de.org> - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: - Don't mark component menu accel for translation. - -2004-08-25 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/component/addressbook-config.c (source_to_dialog) : - disbale the display name widget in case of groupwise as we can not handle renames as - of now - (dialog_to_source) also copy "use_ssl" property to new source so that - new books also use ssl - -2004-08-25 Hans Petter Jansson <hpj@ximian.com> - - May fix #61833. - - * gui/component/select-names/e-select-names-table-model.c - (fill_in_info): Get E_CONTACT_NAME_OR_ORG (first found from File As, - Full Name, Organization, Email 1) for the "name" field. Hopefully - will prevent most cases of blank entries. - -2004-08-25 Frederic Crozat <fcrozat@mandrakesoft.com> - - * gui/component/addressbook-view.c: (delete_addressbook_cb): - Don't call gtk_dialog_set_has_separator on Gtk Message Dialog - with GTK+ >= 2.4.0. - -2004-08-20 Chris Toshok <toshok@ximian.com> - - * gui/component/component-factory.c (factory): remove the dead - ldap config control stuff. - -2004-08-20 Hans Petter Jansson <hpj@ximian.com> - - Fixes bug #62715. - - * gui/contact-editor/e-contact-editor.c - (fill_in_address_label_textview): Implement. - (fill_in_address_field): If structured address information is not - available, try putting the "label" blob in the free-form field. - -2004-08-19 Hans Petter Jansson <hpj@ximian.com> - - Makes the contact image selector use GtkFileChooser if available. - - * gui/contact-editor/e-contact-editor.c (image_selected_cb): Take just - the editor as an argument, so we can call from other places without - having to supply dummy args. Rename to image_selected, since it's no - longer strictly a callback. Include optional code to use the new - GtkFileChooser. - (image_cleared_cb): Ditto. Rename to image_cleared. - (file_chooser_response): Optional response handling for GtkFileChooser. - (image_clicked): Include optional code to use the new GtkFileChooser. - Move common strings to variables. For GtkFileSelection, swap callback - parameters for the modified image_selected () and image_cleared (). - -2004-08-19 Chris Toshok <toshok@ximian.com> - - [ likely fixes #61500 ] - * addressbook-errors.xml (remove-addressbook): remove the - secondary text, since we don't have the gerror text to supply it - anymore. - - * gui/component/addressbook-view.c (book_removed): new function, - move the error handling here. - (delete_addressbook_cb): create a closure with necessary data, and - call the e_book_async_remove instead of e_book_remove. - -2004-08-18 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/component/select-names/e-select-names.c (e_select_names_init) : - select names dialog can not be modal as password dialogs can come up while - user is in this dialog for address books which require authentication - like groupwise and LDAP - FIxes #63257 - -2004-08-11 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/e-contact-editor.c (app_delete_event_cb): - Remove the custom prompt-to-save dialogs from here - use - eab_prompt_save_dialog (), and then only if the contact actually - changed. - -2004-08-16 Chris Toshok <toshok@ximian.com> - - * gui/widgets/eab-gui-util.c (eab_show_multiple_contacts): - reinstate the ngettext patch that was part of the #53464 commit of - 2004-03-24 by dsegan@gmx.net. - -2004-08-12 Carlos Garnacho Parro <carlosg@gnome.org> - - * gui/widgets/eab-gui-util.c: Optionally use GtkFileChooser if - compiled against Gtk+ >= 2.4.0 - -2004-08-10 Not Zed <NotZed@Ximian.com> - - * gui/component/addressbook.c (addressbook_authenticate): e - passwords api change/reprompt if we need to. - -2004-08-12 Sivaiah nallagatla <snallagatla@novell.com> - - * gui/compoent/addressbook.c : just revering a local change - gone in in the commit i just made - -2004-08-12 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/component/addresbook.c (load_source_auth_cb) : - when user cancels auth dialog send the anonoymous query - only in case of ldap - *gui/component/addresbook-view.c (book_open_cb) : no need to - display the error dialog when user cancels that - -2004-08-04 Rodney Dawes <dobey@novell.com> - - * gui/widgets/eab-popup-control.c: #include <gtk/gtkvbox.h> - -2004-08-02 Hans Petter Jansson <hpj@ximian.com> - - Fixes #60529. - - * gui/contact-list-editor/e-contact-list-editor.c - (table_drag_drop_cb): Make sure to get the text/x-vcard target. - -2004-08-02 Hans Petter Jansson <hpj@ximian.com> - - Fixes #62085. - - * gui/contact-list-editor/e-contact-list-editor.c - (e_contact_list_editor_class_init): Set the save_contact method. - (e_contact_list_editor_save_contact): Implement. - -2004-08-02 JP Rosevear <jpr@novell.com> - - * conduit/address-conduit.c (addrconduit_load_configuration): get - source uid - (addrconduit_dupe_configuration): copy source_uid - (addrconduit_destroy_configuration): free source_uid - (e_addr_context_new): get the source list - (e_addr_context_destroy): unref the source list - (pre_sync): open the source that was set earlier - (fill_widgets): set the source option menu value - (create_settings_window): pass source list to pilot settings - (save_settings): save source uid - - * conduit/Makefile.am: link to and include misc. widgets - -2004-08-02 Rodney Dawes <dobey@novell.com> - - * gui/component/ldap-config.glade: Make the main dialog here be - an actual GtkDialog instead of a GtkWindow - Fix up a few small spacing issues with the UI - Change "Contacts Group" to "Address Book" - - * gui/component/addressbook-config.c (query_for_supported_bases): - Use gtk_widget_ensure_style instead of gtk_widget_realize - (addressbook_add_server_dialog): - Use gtk_widget_ensure_style on the dialog and fix the spacing and - border width of the dialog containers - - Fixes #61365 - -2004-07-30 Chris Toshok <toshok@ximian.com> - - [ fixes #61365 and other misc issues with the addressbook source - editors ] - - * gui/component/ldap-config.glade: change the - supported-bases-dialog to be initially hidden. - - * gui/component/addressbook-view.c (editor_weak_notify): new - function, remove the editor from our hash. - (source_list_changed_cb): destroy the editors for given sources if - they're up when the source disappears. - (edit_addressbook_cb): add the editor (and some other misc info we - need) to our uid_to_editor hash so we can look it up later. only - create the editor if one doesn't exist for the given source. - (destroy_editor): GHFunc that destroys the widgets. - (addressbook_view_dispose): destroy uid_to_editor. - (addressbook_view_init): init uid_to_editor. - - * gui/component/addressbook-config.h: change return values for - _edit_source and _new_source - they both return GtkWidget*s now. - - * gui/component/addressbook-config.c (addressbook_ldap_init): - attempt set the protocol version to LDAPv3. This makes the - ldap_auth stuff work if the server requires v3. - (addressbook_root_dse_query): we don't need the separate window - arg, since all of this now happens *before* the supported bases - dialog is shown. we just use the source dialog's window for the - various error dialogs. - (do_ldap_root_dse_query): same. - (query_for_supported_bases): same, and set the supported bases - dialog as transient-for the source dialog, and make it modal. - Lastly, don't make the editor modal. - (addressbook_config_edit_source): return the editor's window. - (addressbook_config_create_new_source): same. - -2004-07-26 JP Rosevear <jpr@novell.com> - - * gui/component/ldap-config.glade: change contacts group to - address book - - * gui/component/addressbook-component.c - (impl__get_userCreatableItems): ditto - -2004-07-19 Radek Doulik <rodo@ximian.com> - - * gui/widgets/eab-vcard-control.c (eab_vcard_control_new): but - buttons to button box, use vbox instead of table - - * gui/widgets/eab-contact-display.c: base this widget directly on - gtkhtml - - * gui/widgets/e-addressbook-view.c (eab_view_new): put contact - display in scrolled window - -2004-07-20 Not Zed <NotZed@Ximian.com> - - * gui/widgets/eab-contact-display.c: - * gui/contact-editor/eab-editor.c: - * gui/component/addressbook-migrate.c: include config.h #61395. - -2004-07-21 Chris Toshok <toshok@ximian.com> - - [ fixes #60508 ] - - * gui/component/addressbook-config.h: reorder the Scopes so that - they match the option menu. - - * gui/component/ldap-config.glade: change the scope option menu to - only display One and Sub, and also set the Login field to Lo_gin - in both dialogs. Add accelerators for the details page as well. - -2004-07-21 Rodney Dawes <dobey@novell.com> - - * gui/contact-editor/contact-editor.glade: - Give a reasonable name to the widget for the _Where label - - * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): - Set the mnemonic widget for the _Where label - - Fixes #61544 - -2004-07-20 JP Rosevear <jpr@novell.com> - - * gui/component/autocompletion-config.c - (autocompletion_config_control_new): don't set the toggle - selection - -2004-07-16 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/e-contact-editor.c (contact_added_cb) - (save_contact) - (app_delete_event_cb): Check source book writeability directly instead - of relying on stored state. - (e_contact_editor_init): Don't init source_editable. - (e_contact_editor_dispose): We don't listen for source writeability - anymore. - (writable_changed): Source writeability doesn't affect widget - status; remove code to check for it. - (e_contact_editor_set_property): Do nothing if book being set is - the same as currently set book; previously we would end up - unreffing then reffing it. Don't watch for source writeability, but - do so for target; fixes a warning. Only call sensitize_all() if - writeability on target changed. - - * gui/contact-editor/e-contact-editor.h (EContactEditor): We don't - need the source_editable and source_editable_id vars anymore. - -2004-07-14 Chris Toshok <toshok@ximian.com> - - [ fixes #60873, and possibly other crashes ] - - * gui/widgets/e-addressbook-model.c (get_view): don't call - free_data before potentially making an async call. Or rather, - don't call free_data without ensure we'll be emitting - MODEL_CHANGED shortly after. - -2004-07-14 Chris Toshok <toshok@ximian.com> - - * gui/contact-list-editor/.cvsignore: ignore - Evolution-Addressbook-SelectNames.h. - - * gui/contact-list-editor/e-contact-list-editor.c: include our - local (in this directory) generated - Evolution-Addressbook-SelectNames.h - - * gui/contact-list-editor/Makefile.am: add stuff to generate (and - clean up) the select names header we need to include. - -2004-07-13 Rodney Dawes <dobey@novell.com> - - [ fixes #56657 ] - - * gui/component/addressbook-migrate.c (get_source_by_uri): - Replace this call with get_source_by_name () - (migrate_completion_folders): Fix the non-local folder migration - to look up sources for the migrated folders based on name, instead - of using the URI - -2004-07-12 Chris Toshok <toshok@ximian.com> - - [ fixes #61299 ] - - * gui/component/addressbook.c (addressbook_load_default_book): - don't pass @closure to load_source_cb, since that expects to get a - LoadSourceData*. also, don't always call e_book_async_open. only - do that when the book is non-NULL. - -2004-07-12 Chris Toshok <toshok@ximian.com> - - [ part of fix for bug #56520 ] - - * gui/contact-list-editor/e-contact-list-editor.c - (e_contact_list_editor_init): init allows_contact_lists to TRUE. - (list_deleted_cb): nuke, it's unused. - (e_contact_list_editor_set_property): check if the book supports - contact lists, and desensitize things if it doesn't. - (select_names_ok_cb): this isn't valid C. declarations must come - before code. - (set_editable): the editable state of the dialog depends on - whether or not the backend supports contact lists. - (command_state_changed): the ok button needs to depend on - allows_contact_lists. - (extract_info): quiet compiler warning. - - * gui/contact-list-editor/e-contact-list-editor.h (struct - _EContactListEditor): add allow_contact_lists. - -2004-07-08 Frederic Crozat <fcrozat@mandrakesoft.com> - - * gui/component/Makefile.am: - tarball should ship .schemas.in.in files, not generated files. - - * gui/component/apps_evolution_addressbook.schemas.in.in: - Don't set empty default value on an int, this causes gconf warning. - (bug #60859) - -2004-09-04 Not Zed <NotZed@Ximian.com> - - * util/e-destination.c: include gnome-i18n.h since camel-object no - longer does(!). - -2004-07-02 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-list-editor/e-contact-list-editor.c - (command_state_changed): Set the source option menu sensitivity here. - -2004-06-30 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-editor.c - (e_contact_editor_dispose): disconnect source/target_editable - signal ids. - (e_contact_editor_set_property): disconnect/connect editable - signals. - (writable_changed): new function - we need this since writable - status is generally communicated asynchronously with the async - interface. - - * gui/contact-editor/e-contact-editor.h (struct _EContactEditor): - add source/target_editable_id slots. - -2004-06-29 Rodney Dawes <dobey@novell.com> - - * tools/Makefile.am (bin_PROGRAMS): Change to privlibexec_PROGRAMS - - Fixes #60832 - -2004-06-28 Not Zed <NotZed@Ximian.com> - - * gui/component/addressbook-component.c - (impl__get_userCreatableItems): fix shortcuts. #56746 - -2004-06-25 Hans Petter Jansson <hpj@ximian.com> - - * gui/meging/eab-contact-compare.[ch] (eab_contact_compare_file_as): - Implement. - (eab_contact_compare_name): Don't leak if only one of the strings is - NULL. - (use_common_book_cb): Include file_as in query. - -2004-06-25 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/e-contact-editor.c (fill_in_address_textview): Add - a newline between street line and rest of extended address. - (extract_address_textview): Omit the newline trailing the street line. - -2004-06-24 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/e-contact-editor.c (address_labels): Add table. - (append_to_address_label): Implement. - (set_address_label): Implement. - (extract_address_record): Set the address label fields. - -2004-06-24 Hans Petter Jansson <hpj@ximian.com> - - * util/eab-book-util.c (eab_contact_list_from_string): Don't accept - input that doesn't have at least a "BEGIN:VCARD" in it. - -2004-06-24 Radek Doulik <rodo@ximian.com> - - * gui/component/select-names/e-select-names-model.c - (e_select_names_model_get_textification): do not limit the text - len to 2047 characters - - See bug #60366 - -2004-06-23 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/contact-editor.glade: Set window to be invisible - initially. - - * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): Set - the type hint to "normal", and show the window after init. - -2004-06-23 Not Zed <NotZed@Ximian.com> - - * gui/widgets/eab-gui-util.c - (eab_send_contact_list_as_attachment): use memcpy not strcpy to - copy to memory buffer. Fixes a UMW. See #60532. - -2004-06-23 Hans Petter Jansson <hpj@ximian.com> - - * gui/component/addressbook-view.c: Add an x-source-vcard target entry - that includes the source book URI. - (destroy_merge_context): Implement. - (removed_contact_cb): Implement. - (merged_contact_cb): Implement. - (selector_tree_drag_data_received): Get the source and target books, - and see if we need to remove contacts from source after they're added - to target. Copy contacts sequentially, not in parallel, with a - callback. - - * gui/widgets/e-addressbook-view.c: Add an x-source-vcard target entry - that includes the source book URI. - (table_drag_data_delete): Remove. This is handled by the drag target. - (table_drag_data_get): Handle more than one contact. Supply source. - (create_table_view): Don't connect to the delete signal. - - * gui/widgets/e-minicard-view.c: Add an x-source-vcard target entry - that includes the source book URI. - (e_minicard_view_drag_data_delete): Remove. This is handled by the - drag target. - (e_minicard_view_drag_data_get): Handle x-source-vcard target. - (e_minicard_view_drag_begin): Don't connect to the delete signal. - (e_minicard_view_dispose): Don't disconnect from the delete signal. - (e_minicard_view_init): Don't init delete_id. - - * gui/widgets/e-minicard-view.h: Remove delete_id from struct. - - * util/eab-book-util.[ch] (eab_contact_list_from_string): Skip the - source URI if present. - (eab_book_and_contact_list_from_string): Create the source book from - the provided URI, if present. - (eab_book_and_contact_list_to_string): Include the book URI in - generated string. - -2004-06-23 Rodney Dawes <dobey@novell.com> - - * gui/component/select-names/select-names.glade: - Move the search bar to the top and add a label _Search so that the - entry has a mnemonic for keyboard accessibility - - Fixes #52914 and #58448 - -2004-06-22 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/contact-editor.glade: Name the labels. - - * gui/contact-editor/e-contact-editor.c (sensitize_email_record) - (sensitize_phone_record) - (sensitize_im_record) - (sensitize_address_textview) - (sensitize_address_field) - (simple_field_map) - (sensitize_simple_field): Make entries uneditable and labels - insensitive, if field is disabled or read-only. - -2004-06-22 Hans Petter Jansson <hpj@ximian.com> - - Fixes #59622. - - * gui/widgets/e-minicard-view.c (e_minicard_view_init): Clear drag_list - and canvas_drag_data_delete_id. - (e_minicard_view_dispose): Clear drag_list. Disconnect drag_data_delete - signal if connected. - (e_minicard_view_drag_begin): Set up drag_data_delete signal if - necessary. Clear old data before drag starts. - (clear_drag_data): Implement. - (e_minicard_view_drag_data_delete): Implement. - (e_minicard_view_drag_data_get): Don't clear drag_list here. - -2004-06-22 Chris Toshok <toshok@ximian.com> - - [ should fix #60495, #58635 ] - * gui/widgets/eab-popup-control.c (name_only_query_cb): don't free - the list of contacts - libebook still owns it. - (query_cb): same. - -2004-06-22 Larry Ewing <lewing@ximian.com> - - * gui/contact-list-editor/e-contact-list-editor.c (add_email_cb): - don't set the changed flag unless we actually add something. - -2004-06-21 Federico Mena Quintero <federico@ximian.com> - - * gui/contact-editor/contact-editor.glade: Make the scrolled - windows around text views use GTK_SHADOW_IN, for consistency with - the GtkEntries. - -2004-06-21 Chris Toshok <toshok@ximian.com> - - * gui/component/ldap-config.glade: remove the auth-entry-notebook - in the edit dialog, and rename the auth entry to... auth-entry. - - * gui/component/addressbook-config.c (source_to_dialog_new): nuke - - it's identical to source_to_dialog. - (dialog_to_source): we only have one auth entry now. fill it in - properly. - (source_to_dialog): fill in the auth entry properly based on the - auth type, and remove auth_entry_notebook references. - (auth_optionmenu_activated): remove auth_entry_notebook - references. - (setup_general_tab): same, and use auth-entry instead of - email-entry/dn-entry. - (general_tab_check): use auth_principle instead of email/binddn. - (add_folder_modify): same. - (addressbook_add_server_dialog): put setup_connecting_tab inside - the ifdef HAVE_LDAP, and call source_to_dialog instead of - source_to_dialog_new. - (addressbook_config_edit_source): always call setup_general_tab. - - * gui/component/addressbook-config.h (AddressbookLDAPScopeType): - reorder to match order in option menu (we should really remove - BASE altogether.. it's useless for searching.) - - * gui/component/addressbook-view.c (update_command_state): - macroize this, annoying seeing the same 4 lines repeated 15 times. - -2004-06-21 Jeffrey Stedfast <fejj@novell.com> - - * conduit/address-conduit.c (local_record_from_uid): Make sure the - UIDs match. Should fix bug #59725. - -2004-06-19 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/component/addressbook-config.c (dialog_to_source) : - set auth-domain property on groupwise sources, so that - newly created contact groups can share remembered passwords - -2004-06-18 Jeffrey Stedfast <fejj@novell.com> - - * conduit/address-conduit.c (ecard_from_remote_record): Always set - the File_As attribute in case the pilot attrib changed. Fixes bug - #59723. - -2004-06-18 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-model.c - (e_select_names_model_load_contacts): only go through the process - of creating/loading the EBook if the model has some data in it. - -2004-06-18 Chris Toshok <toshok@ximian.com> - - [ fixes bug #59376 ] - - * gui/component/addressbook-view.c (fill_popup_menu_callback): - make this work with absolute uris in sources. Thanks to Sushma - Rai for the initial patch to fix this. - -2004-06-17 Chris Toshok <toshok@ximian.com> - - [ fixes bug #58696 ] - - * gui/widgets/eab-gui-util.c (eab_transfer_contacts): use - addressbook_load instead of e_book_async_open, so we do auth stuff - for the destination book. - -2004-06-17 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-editor.c (e_contact_editor_new): - EBookFieldsCallback -> EBookEListCallback. - (e_contact_editor_set_property): same. - -2004-06-17 Chris Toshok <toshok@ximian.com> - - * util/eab-book-util.c (eab_name_and_email_query): - EBookContactsCallback -> EBookListCallback. - (eab_nickname_query): same. - - * printing/e-contact-print.c: e-book-async.h -> e-book.h - - * gui/widgets/eab-vcard-control.c: e-book-async.h -> e-book.h. - - * gui/widgets/e-addressbook-model.h: e-book-async.h -> e-book.h. - - * gui/widgets/eab-popup-control.h: e-book-async.h -> e-book.h. - - * gui/widgets/eab-popup-control.c: remove e-book-async.h include. - - * gui/merging/eab-contact-merging.h: e-book-async.h -> e-book.h. - - * gui/contact-editor/e-contact-editor.h: e-book-async.h -> - e-book.h. - - * gui/contact-editor/e-contact-editor.h: same. - - * gui/contact-list-editor/e-contact-list-editor.h: same. - - * gui/contact-list-editor/e-contact-list-model.h: remove include - of e-book-async.h - - * gui/component/select-names/e-select-names-completion.h: include - e-book.h, not e-book-async.h - - * gui/component/select-names/e-select-names-model.c: same. - - * gui/component/select-names/e-select-names.c: same. - - * gui/component/addressbook-migrate.c: include e-book.h, not - e-book-async.h - - * gui/component/addressbook-view.c: same. - - * gui/component/addressbook.h: same. - - * gui/component/addressbook.c: remove include e-book-async.h. - -2004-06-17 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/widgets/e-addressbook-view.etspec : update - the model column numbers as new fields like E_CONTACT_EMAIL_4 - are added to EContact - Fixes #59621 - -2004-06-16 Not Zed <NotZed@Ximian.com> - - * gui/component/autocompletion-config.c - (autocompletion_config_control_new): set the source selector to be - able to toggle the current selection. Fix for #55614. - -2004-06-16 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/contact-editor/e-contact-editor.c (full_name_clicked) : - compare old and new full names and if it is different set the new - the name using gtk_entry_set_text instead of set_entry_text - as this function blocks siganls hence preventing ok button being - enabled - -2004-06-14 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-editor.c (extract_im_record): set - things to HOME, since we don't offer TYPE=OTHER IM attributes - through the EContact api, and one choice is just as good as - another if we aren't displaying it anyway. - - * gui/widgets/eab-contact-display.c (render_contact): move the IM - stuff out of home/work, since we don't allow people to edit - location for them anymore. Also, change the IM accounts we look - up to "HOME", since that's what we hardcode them to in the contact - editor. - -2004-06-14 Not Zed <NotZed@Ximian.com> - - * importers/evolution-ldif-importer.c (parseLine): handle LIST - field types. - (ldif_fields[]): Add a list type. E_CONTACT_EMAIL is a list field - type. See #58855. - -2004-06-08 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-model.c (get_view_idle): new - function. do the get_view in an idle handler. - (eab_model_set_property): don't call get_view directly from any - setter block. instead just add the idle handler (if it's not - already added.) This keeps us from duplicating queries when both - "book" and "query" are set using the same g_object_set. - - * gui/widgets/e-addressbook-model.h: add book_view_idle_id. - -2004-06-07 Hans Petter Jansson <hpj@ximian.com> - - Fixes #58921. - - * gui/contact-editor/e-contact-editor.c (extract_address_record): - Also check if the po box field is non-empty. - -2004-06-07 Jon Oberheide <jon@focalhost.com> - - * gui/contact-list-editor/e-contact-list-model.c: disable editing - of cells in the contact table. - -2004-06-07 Hans Petter Jansson <hpj@ximian.com> - - Fixes #57795. - - * gui/component/addressbook-migrate.c (migrate_contacts): Change - the "POSTAL" address in 1.4 to "OTHER" in 1.5. - -2004-06-07 Hans Petter Jansson <hpj@ximian.com> - - * gui/Makefile.am (SUBDIRS): Fix order of dependencies. - -2004-06-07 H P Nadig <hpnadig@pacific.net.in> - - * gui/contact-list-editor/e-contact-list-editor.h: Added few - headers needed for select names dialog. - - * gui/contact-list-editor/e-contact-list-editor.c - (e_contact_list_editor_init): Added select button handler. - (select_cb): The callback function for Select Button. - (setup_corba): To setup corba for select names dialog. - (select_names_ok_cb): Handle Select names dialog entries. - (add_to_model): Adds cards to the model. - - * gui/contact-list-editor/contact-list-editor.glade: New 'Select' - Button. Tooltips added for buttons in button Box. - -2004-06-07 Dan Winship <danw@novell.com> - - * gui/component/addressbook-view.c: s/stock_save_as/stock_save-as/ - -2004-06-04 Larry Ewing <lewing@ximian.com> - - * gui/contact-list-editor/e-contact-list-editor.c: remove bonobo - menus and cruft add ok/cancel buttons. - - * gui/contact-list-editor/e-contact-list-editor.h: add buttons for - ok/cancel. - - * gui/contact-list-editor/contact-list-editor.glade: add fields for - ok/cancel reparent to GtkDialog, other minor adjustments. - -2004-06-04 JP Rosevear <jpr@novell.com> - - Fixes #55945 - - * importers/*.server.in.in: ditto - - * importers/evolution-ldif-importer.c: fix OAFIIDs - - * importers/evolution-vcard-importer.c: ditto - -2004-06-04 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-model.c - (name_and_email_simple_query_cb): only resolve destinations - against persons, not contact lists. - -2004-06-03 Hans Petter Jansson <hpj@ximian.com> - - Fixes #53643 and #26903. - - * gui/search/addresstypes.xml: category -> category_list - - * gui/search/e-addressbook-search-dialog.c (get_widget): Get - filter rule from parent view. - (eab_search_dialog_set_property): Implement. - (eab_search_dialog_get_property): Impleent. - (eab_search_dialog_class_init): Set up property methods. - (get_query): Get filter rule from parent view. - (eab_search_dialog_init): Don't get the filter widget here, - wait until parent view property is set. - (eab_search_dialog_new): Don't poke the parent view in, set it - as a property instead. - (eab_search_dialog_dispose): No longer needs to unref rule. - - * gui/search/e-addressbook-search-dialog.c: EABSearchDialog no - longer needs to keep rule internally. - - * gui/widgets/Makefile.am: Set SEARCH_RULE_DIR define. - - * gui/widgets/e-addressbook-view.c (eab_view_new): Set up filter - rule and context. - (eab_view_peek_search_context): Implement. - (eab_view_peek_search_rule): Implement. - - * gui/widgets/e-addressbook-view.h: Keep track of filter rule - and context. Add protos for added API. - -2004-06-03 Jeffrey Stedfast <fejj@novell.com> - - * conduit/address-conduit.c (set_status_cleared): Protect against - a NULL uid. Fixes bug #57619. - (ecard_from_remote_record): Set the full_name of the contact so - that we can use that as the FILE_AS rather than the company name, - which sucked. Fixes a bug I may or may not have reported months - ago. Ahah, fixes bug #57620. - -2004-06-02 Hans Petter Jansson <hpj@ximian.com> - - * gui/component/addressbook-migrate.c - (migrate_contact_folder_to_source): Add missing negation that caused - a crash. - -2004-06-02 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-migrate.c (addressbook_migrate): - remove hidden field migration, and add in a phase to clear the - absolute_uri properties on ESources. - -2004-06-02 Rodney Dawes <dobey@novell.com> - - * gui/component/addressbook-config.c (focus_help, add_focus_handler): - Don't need these two functions any more - (source_to_dialog, auth_optionmenu_func): - Don't try to change the notebook page or set the widget sensitive, - for a notebook that doesn't exist any more - (reparent_to_vbox): Don't need this function any more, as the - widgets are all contained in the same dialog in the glade now - (setup_general_tab, setup_connecting_tab, setup_searching_tab): - We don't need to do the focus-based "tooltip" stuff any more - We just use tooltips on the widgets now - (ssl_optionmenu_selected, add_ssl_activate_cb): - We don't need the ssl_optionmenu_selected callback any more, as the - tooltips are just set on the necessary widgets now - (query_for_supported_bases): Set the border widths on the dialog's - vbox and action_area to be compliant with the HIG - (addressbook_add_server_dialog): Unref the GConfClient object - (addressbook_config_edit_source): Create the source_list so that - we can actually save the changes that we make here - Create the GladeXML with only the widget subtree that we need to - use here, to avoid popping up other visible dialogs - Set the border widths on the dialog's vbox and action_area to be - compliant with the HIG - We don't need to reparent widgets to vboxes any more, as the widgets - are now part of the dialog's widget tree - If we are without LDAP or not in LDAP mode, then hide the notebook - borders, and change the border size of its child to appear as though - we are a normal non-LDAP dialog - We don't need to set the type hint on the window as we are no a - real GtkDialog - - * gui/component/ldap-config.glade: Update the properties dialogs to - be compliant with the HIG layout - Get rid of some of the extra windows and put their children in the - appropriate places in the properties dialog - Make the properties dialog be a real GtkDialog - - Fixes #41141 - -2004-06-01 Larry Ewing <lewing@ximian.com> - - * gui/contact-list-editor/e-contact-list-editor.c: Add in a source - option menu to the dialog and make is sensitive only on new lists. - - * gui/contact-list-editor/e-contact-list-editor.h: add load_book - fields for async book loading. - - * gui/contact-list-editor/contact-list-editor.glade: add the new - source selector in a table reorder some of the other widgets. - -2004-05-28 Chris Toshok <toshok@ximian.com> - - * gui/widgets/eab-contact-display.c (render_contact): render all - email addresses, not just the first 3. - (eab_contact_display_class_init): use a C comment, not C++. - -2004-05-28 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-bonobo.c - (entry_set_property_fn): call e_select_names_model_load_contacts - after setting text/addresses/destinations. - - * gui/component/select-names/e-select-names-model.c - (name_and_email_simple_query_cb): new function, ripped from the - 1.4 e-destination stuff. - (book_opened): new function, fire off eab_name_and_email_query for - each item in our model (that doesn't represent a contact already). - (e_select_names_model_load_contacts): new function, open the - default addressbook (yeah yeah, i know we should open something - different/more.) - (e_select_names_cancel_contacts_load): new (unimplemented, and how - do we implement it?) function. - - * gui/component/select-names/e-select-names-model.h: add - prototypes for e_select_names_model_load_contacts and - e_select_names_cancel_contacts_load. - - * gui/component/select-names/e-select-names.c (set_book): call - get_query_string and set the book and query in a single call to - g_object_set, just because we can/should. - (update_query): reimplement in terms of get_query_string. - (get_query_string): new function, build up the query string. - - * gui/component/select-names/Makefile.am (INCLUDES): add - $(top_srcdir)/addressbook/util to INCLUDES. - -2004-05-28 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/contact-editor.glade: Add back office, spouse, - web log fields. Allow for 8 phone numbers, of which 4 can be hidden. - - * gui/contact-editor/e-contact-editor.c (phones_default): Add more - defaults. - (im_service_default): Add more defaults. - (expand_phone): Implement. - (fill_in_phone_record): Expand if we have any records past 4. - (init_im_record_location) - (fill_in_im_record) - (extract_im_record) - (sensitize_im_record): Remove location. - (simple_field_map): Add spouse, office, web log. - (expand_phone_toggle): Implement. - (e_contact_editor_init): Hook up expander button. - -2004-05-28 Christophe Fergeau <teuf@gnome.org> - - * gui/component/addressbook-config.c: added missing #ifdef HAVE_LDAP - -2004-05-26 Radek Doulik <rodo@ximian.com> - - * gui/widgets/e-addressbook-view.c (e_contact_print_button): call - gnome_print_beginpage - (e_contact_print_button): call gnome_print_beginpage - - Fixes #58977 - -2004-05-25 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-text-model.c - (e_select_names_text_model_activate_obj): reenable this function, - in a slightly broken manner. we don't have e_contact_get_book - anymore (well, we never had it really... but we lost - e_card_get_book). load the system addressbook and supply that to - the editors. shouldn't be a problem, since it's a read-only - editor anyway. - -2004-05-25 Chris Toshok <toshok@ximian.com> - - [ fixes #58654 ] - - * gui/component/select-names/e-select-names.c (update_query): - build up the query using e_book_query calls so we're insulated - from field name changes. also, conjoin if we have more than 1 - query element, not more than 2 (i *hope* this was an off by 1 - error...) - -2004-05-25 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/component/addressbook.c (load_source_auth_cb ) - (load_source_auth_cb ) : read the "auth-domain" property - from e-source and use it as the component name for e_password_* - calls if it exists - -2004-05-25 Jeffrey Stedfast <fejj@novell.com> - - * Makefile.am: Generate the addressbook-errors.xml.h file and - install the xml file and all that jazz. - - * addressbook-errors.xml: New error xml file. - - * gui/widgets/e-addressbook-view.c (backend_died): Use - e_error_run(). - - * gui/widgets/eab-gui-util.c (eab_error_dialog): Use - e_error_run(). - (eab_load_error_dialog): Same. - (eab_search_result_dialog): Same. - (eab_prompt_save_dialog): Same. - (save_it): Same. - - * gui/contact-editor/e-contact-editor.c (categories_clicked): Use - e_error_run(). - (e_contact_editor_is_valid): Same. - (save_contact): Same. - - * gui/component/addressbook-view.c (delete_addressbook_cb): Use - e_error_run(). - - * gui/component/addressbook-config.c (addressbook_ldap_init): Use - e_error_run(). - (addressbook_ldap_auth): Same. - (addressbook_root_dse_query): Same. - (do_ldap_root_dse_query): Same. - (do_schema_query): Same. - -2004-05-24 Chris Toshok <toshok@ximian.com> - - * Makefile.am (SUBDIRS): add tools back to the build. - -2004-05-24 Chris Toshok <toshok@ximian.com> - - * tools/Makefile.am: fix this for current build foo. - - * tools/evolution-addressbook-export-list-folders.c, - * tools/evolution-addressbook-export-list-cards.c, - * tools/evolution-addressbook-export.c: revive this. - -2004-05-24 Chris Toshok <toshok@ximian.com> - - [ fixes bug #32194 ] - - * importers/evolution-vcard-importer.c (process_item_fn): make - sure all ADR attributes have HOME/WORK/OTHER. - -2004-05-24 Chris Toshok <toshok@ximian.com> - - [ fixes bug #40013 ] - - * importers/evolution-vcard-importer.c (process_item_fn): for TEL - attribute that don't specify a location (HOME/WORK/OTHER), default - to "OTHER". For TEL attributes that *only* specify a location, - default to "VOICE". - -2004-05-21 H P Nadig <hpnadig@pacific.net.in> - - Fixes #58516. - - * gui/contact-editor/contact-editor.glade: 'Job Title' is now called - 'Title'. - -2004-05-20 Hans Petter Jansson <hpj@ximian.com> - - * importers/evolution-ldif-importer.c (add_to_notes): Add helper - func. - (process_item_fn): Add undisplayed fields to notes. - - * importers/evolution-vcard-importer.c (add_to_notes): Add helper - func. - (process_item_fn): Add undisplayed fields to notes. - -2004-05-20 Hans Petter Jansson <hpj@ximian.com> - - * gui/component/addressbook-migrate.c (add_to_notes): Implement. - (migrate_contacts_hidden_fields): Implement. - (migrate_contacts): Copy fields that are now hidden in the UI, - to the notes field. - -2004-05-20 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-component.c (impl_requestCreateItem): - use the new ebook api here. missed this one in my earlier commit. - -2004-05-20 Radek Doulik <rodo@ximian.com> - - * printing/e-contact-print.c (complete_sequence): finish pages - printing by gnome_print_job_close call before showing preview or - calling gnome_print_job_print - - See #54482 - - * gui/widgets/e-addressbook-view.c (eab_view_print_preview): added - call to begin page, ref printable and sink it to avoid finalizing of - floating object - (eab_view_print): ref and sink printable to avoid finalizing of - floating object - - Fixes #46658 - -2004-05-19 Chris Toshok <toshok@ximian.com> - - * importers/evolution-vcard-importer.c (load_file_fn): use the new - e_book_new and e_book_open apis. - - * importers/evolution-ldif-importer.c (load_file_fn): use the new - e_book_new and e_book_open apis. - - * gui/widgets/eab-gui-util.c (eab_transfer_contacts): use the new - e_book_new and e_book_async_open apis. - - * gui/contact-editor/e-contact-editor.c (cancel_load): - addressbook_load_source_cancel -> addressbook_load_cancel. - (source_selected): use the new e_book_new and addressbook_load. - - * gui/component/select-names/e-select-names.c - (addressbook_model_set_source): use the new e_book_new and - addressbook_load. - - * gui/component/select-names/e-select-names-manager.c - (update_completion_books): use the new e_book_new and - addressbook_load. - - * gui/component/addressbook.h: rename - addressbook_load_source{_cancel} to addressbook_load{_cancel}, and - remove the source arg. - - * gui/component/addressbook.c (addressbook_load): rename since we - aren't passing a source anymore. - (addressbook_load_cancel): same. - (addressbook_load_default_book): use the new e_book_new_* apis. - - * gui/component/addressbook-view.c (delete_addressbook_cb): just - use e_book_new, not e_book_load_source. - (selector_tree_drag_data_received): switch to new - e_book_new_*/e_book_open apis. - (activate_source): same, and addressbook_load_source -> - addressbook_load. - - * gui/component/addressbook-migrate.c - (migrate_contact_folder_to_source): switch to new - e_book_new_*/e_book_open apis. - (migrate_contact_lists_for_local_folders): same. - (migrate_company_phone_for_local_folders): same. - - * conduit/address-conduit.c (pre_sync): switch to new - e_book_new_*/e_book_open apis. - -2004-05-19 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/e-contact-editor.c (sensitize_email): Check - if individual email fields are supported. - -2004-05-19 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/e-contact-editor.c (extract_simple_field): - Remove debug output. - (real_save_contact): Separate out actual save logic from - save_contact (). - (save_contact): If the user wants to move the contact from one - address book to another, but the source is read-only, as to - save a copy instead. - (e_contact_editor_is_valid): The dialog should be an error dialog. - (app_delete_event_cb): If the target book is read-only, prompt - to discard. If the user wants to move but cannot, prompt to save - a copy. Also validate. - - * gui/contact-editor/eab-editor.c (eab_editor_prompt_to_save_changes): - Remove comment about invalid data dialog, it's not handled here - anymore. - -2004-05-19 Hans Petter Jansson <hpj@ximian.com> - - Fixes a number of bugs, adds some unimplemented functionality, and - makes code more structured. - - * gui/contact-editor/e-contact-editor.h: Eliminate company, - fullname_editable, address_editable fields from EContactEditor. - - * gui/contact-editor/e-contact-editor.c - (enable_writable_fields): Removed. - (set_editable): Removed. - (fill_in_info): Removed. - (extract_field): Removed. - (extract_info): Removed. - (set_fields): Removed. - (command_state_changed): Removed. - (widget_changed): Removed. - (enable_widget): Removed. - (nonempty): Invert and rename to STRING_IS_EMPTY(). - (STRING_MAKE_NON_NULL): Impl. - (is_field_supported): Implement. - (file_as_get_style): Eliminate editor->company. - (file_as_set_style): Ditto. Also don't set empty fields in combo. - (update_file_as_combo): Implement. - (sensitize_ok): Implement. - (object_changed): Implement. - (image_chooser_changed): Don't call widget_changed() from here. - (set_option_menu_history): Implement. - (init_email_record_location): Hook up signals after init. - (init_phone_record_type): Ditto. - (init_im_record_location): Ditto. - (init_im_record_service): Ditto. - (init_address_textview): widget_changed -> object_changed - (init_address_field): Ditto. - (fill_in_email_record): Use set_option_menu_history(), blocking - signals. - (fill_in_im_record): Ditto. - (fill_in_address_field): Use set_entry_text(), blocking signals. - (alloc_ui_slot): nonempty -> STRING_IS_EMPTY - (extract_email): Ditto. - (fill_in_phone_record): Ditto. - (extract_im): Ditto. - (extract_address_record): Ditto. - (sensitize_email_record): Implement. - (sensitize_email): Implement. - (sensitize_phone_types): Implement. - (sensitize_phone_record): Impleent. - (sensitize_phone): Implement. - (sensitize_im_record): Implement. - (sensitize_im): Implement. - (sensitize_address_textview): Implement. - (sensitize_address_field): Implement. - (sensitize_address_record): Implement. - (sensitize_address): Implement. - (simple_field_map): Add all simple fields/widgets to a table with - attributes saying how to handle sensitivity and data transfer. - (init_simple_field): Implement. - (fill_in_simple_field): Implement. - (extract_simple_field): Implement. - (sensitize_simple_field): Implement. - (init_simple): Implement. - (fill_in_simple): Implement. - (extract_simple): Implement. - (sensitize_simple): Implement. - (fill_in_all): Implement. - (extract_all): Implement. - (sensitize_all): Implement. - (set_entry_changed_signal_field): Removed. - (set_urlentry_changed_signal_field): Removed. - (set_entry_activate_signal_field): Removed. - (new_target_cb): Don't signal changes. - (set_entry_activate_signals): Removed. - (set_entry_changed_signals): Removed. - (full_name_clicked): Honor field_supported and target_editable. - Use set_entry_text() and block changed signals. - (image_selected_cb): widget_changed -> object_changed. Don't clear - pointer to file_selector. - (image_cleared_cb): Ditto. - (contact_moved_cb): command_state_chaned() -> sensitize_all(). - (contact_added_cb): Ditto. - (supported_fields_cb): Ditto. - (contact_modified_cb): Ditto. - (save_contact): extract_info() -> extract_all(). - (e_contact_editor_is_valid): Be more verbose. Make sure File As is - non-empty. - (e_contact_editor_init): Call init_all() in place of lots of setup - calls. Remove reference to editor->company. - (e_contact_editor_dispose): Remove reference to editor->company. - (command_state_changed): Removed. - (e_contact_editor_set_property): Axe unneeded complexity, now that - we have sensitize_all() and sensitize_ok(). - (set_fields): Removed. - (fill_in_field): Removed. - (field_mapping): Removed. - (disable_widget_foreach): Removed. - (widget_field_mapping): Removed. - (num_widget_field_mappings): Removed. - (enable_widget): Removed. - -2004-05-05 William Jon McCann <mccann@jhu.edu> - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: - Add menu_label and menu_accelerator. - -2004-05-18 Chris Toshok <toshok@ximian.com> - - * gui/contact-list-editor/e-contact-list-editor.c - (file_send_as_cb): pass 0 to eab_send_contact. - (file_send_to_cb): same. - -2004-05-18 Chris Toshok <toshok@ximian.com> - - * gui/widgets/eab-gui-util.c - (eab_send_to_contact_and_email_num_list): split out the - DISPOSITION_AS_TO stuff here, and make it take a GList of - ContactAndEmailNum, so we can set it for the single contact case. - (eab_send_contact_list_as_attachment): split out the - DISPOSITION_AS_ATTACHMENT stuff here. - (eab_send_contact_list): call one or the other of the above, - munging the list if disposition is set to TO. - (eab_send_contact): call eab_send_to_contact_and_email_num_list - directly with the supplied email_num, instead of calling - eab_send_contact_list. - - * gui/widgets/eab-gui-util.h (eab_send_contact) add "email_num" - arg, so we can specify the email address we want to be selected. - - * gui/widgets/eab-contact-display.c (on_link_clicked): add - (ifdefed out at the moment) code to handle mailto: urls - internally, instead of farming them out to gnome_url_show. - (render_contact): same. - -2004-05-18 Jerome Lacoste <jerome@coffeebreaks.org> - - Fixes #57940 - - * gui/widgets/e-addressbook-view.c: "Save as VCard" -> - "Save as VCard..." - -2004-05-17 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): - Hook up image button. - (e_contact_editor_dispose): Dispose of file selector if it's around. - (image_clicked): Implement. - (file_selector_deleted): Implement. - (image_cleared_cb): Implement. - (image_selected_cb): Implement. - - * gui/contact-editor/contact-editor.glade: Make the contact image - be a button that lets you change or discard the image. - -2004-05-17 Jeffrey Stedfast <fejj@novell.com> - - * gui/contact-list-editor/e-contact-list-editor.c: Change E_PIXMAP - size args over to E_ICON_SIZE_* values. - - * gui/component/addressbook-view.c: Change E_PIXMAP size args over - to E_ICON_SIZE_* values. - - * gui/widgets/e-minicard.c (e_minicard_init): Use an E_ICON_SIZE - enum value for the icon_size argument to get_icon. - - * gui/widgets/eab-gui-util.c (eab_create_image_chooser_widget): - Use E_ICON_SIZE_DIALOG as the icon_size argument to - get_icon_filename. - - * gui/widgets/eab-contact-display.c (on_url_requested): Use an - E_ICON_SIZE enum as the icon_size argument to get_icon_filename. - - * gui/contact-editor/e-contact-editor-im.c - (setup_service_optmenu): Use E_ICON_SIZE_MENU here. - - * gui/component/select-names/e-select-names-popup.c - (populate_popup_contact): Use E_ICON_SIZE_MENU here instead of 16. - - * gui/component/addressbook-view.c (set_status_message): Use the - E_ICON_SIZE corresponding to 16x16 pixels. - -2004-05-12 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/contact-editor.glade: Add PO box entries. - - * gui/contact-editor/e-contact-editor.c (init_address_record): Hook - up PO box entry. - (fill_in_address_record): Ditto. - (extract_address_record): Ditto. - -2004-04-18 S N Tejasvi <tejasvi_sn@gawab.com> - - Fixes bug #55208. - - * gui/contact-editor/e-contact-editor.c (save_contact): - Do e_contact_editor_is_valid check to check the birth date and - anniversary date format when user wants to save and warn him. - -2004-05-11 Not Zed <NotZed@Ximian.com> - - * gui/component/addressbook-component.c (impl_upgradeFromVersion): - set exception properly on failure. - - * gui/component/addressbook-migrate.c (addressbook_migrate): take - a GError error return. Doesn't do anything with it ... but ... - -2004-05-11 Dan Winship <danw@ximian.com> - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: Remove - the addressbook control - - * gui/component/component-factory.c (factory): Remove support for - the addressbook control - - * gui/component/addressbook-view.c: Remove all the property-bag - stuff. - -2004-05-11 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/component/addressbook-config.c (dialog_to_source) : see if the selected - group is groupwise one and setup the relative uri and other properties into - e-source - -2004-05-10 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> - - Fixes bug #44196 addressbook table view uses ASCII sort - - * addressbook/gui/widgets/e-addressbook-view.c (compare_subitems): - Uses g_utf8_collate for right UTF8 sort. Made faster using - g_utf8_collate_key. - - Also fixes a bug in - - * gui/component/select-names/e-select-names.c (select_entry_changed): - Changed g_utf8_collate for strcmp as we are already comparing keys - made from g_utf8_collate_key. - -2004-05-08 Enver ALTIN <enver.altin@frontsite.com.tr> - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: - Fix parts of #53466. - -2004-05-05 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/e-contact-editor.c (init_address_textview): - Implement. - (init_address_record): Init textview. - (fill_in_address_textview): Implement. - (fill_in_address_record): Fill in textview. - (extract_address_textview): Implement. - (extract_address_record): Extract from textview. - - * gui/contact-editor/contact-editor.glade: Combine address-[12] fields - into one multiline text view, as per Anna's new design. - -2004-05-04 Larry Ewing <lewing@ximian.com> - - * gui/component/addressbook-config.c (query_for_supported_bases): - fixup the dialog initialization. - -2004-05-04 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/e-contact-editor.c (phones_default): Use defaults - from Anna. - (im_service_default): Ditto. - (email_default): Ditto. - (im_location): Renamed to common_location, as it's used by both IM - and e-mail. - (init_email_record_location): im_location -> common_location - (init_im_record_location): Ditto. - (email_index_to_location): Ditto. - (im_index_to_location): Ditto. - (get_email_location): Ditto. - (get_im_location): Ditto. - (fill_in_email_record): Consult defaults. - (fill_in_im_record): Ditto. - -2004-05-04 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/e-contact-editor.c (set_entry_activate_signals): - Remove blog, add home page. - (set_entry_changed_signals): Ditto. - (setup_tab_order): Ditto. - (field_mapping): Ditto. - (widget_field_mappings): Ditto. - - * gui/contact-editor/contact-editor.glade: Replace blog with home - page. - -2004-05-03 Hans Petter Jansson <hpj@ximian.com> - - * gui/widgets/e-minicard.c (e_minicard_set_property): Do ref, unref - in right order, so the same contact can be set twice without ill - effects. - (e_minicard_finalize): NULL pointers after unreffing their objects. - -2004-05-03 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/e-contact-editor.c (phones_default): Establish - defaults for the phone number option menus. - (fill_in_phone_record): Fall back to defaults. - -2004-05-03 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/e-contact-editor.c (show_help_cb): Implement. - (e_contact_editor_init): Hook up the help button. - - * gui/contact-editor/contact-editor.glade: Give the help button a - sensible name. - -2004-05-03 Larry Ewing <lewing@ximian.com> - - * gui/component/ldap-config.glade: bump the maximum download limit - to 1000. - - * gui/component/addressbook-config.c (add_folder_modify): set the - email entry sesitive only when anonymous isn't selected. Make the - details tab insensitive if the method is local. - - * gui/component/ldap-config.glade: remove unused colorpicker. - -2004-05-03 JP Rosevear <jpr@ximian.com> - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: set the - config item type - -2004-05-02 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/component/addressbook-config.c (dialog_to_source) : see if the selected - group is groupwise one and setup the relative uri and other properties into - e-source - -2004-05-01 Larry Ewing <lewing@ximian.com> - - * gui/component/addressbook-config.c: sensitize the details dialog - where appropriate. Don't try to read from widgets that don't - exist. - -2004-04-30 Chris Toshok <toshok@ximian.com> - - * util/e-destination.c (e_destination_set_contact): don't use - "email" twice for a variable name.. even though they don't really - conflict, it's ugly and confusing. - -2004-04-30 Enver ALTIN <enver.altin@frontsite.com.tr> - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: Fixed a - type-o. - -2004-04-29 Hans Petter Jansson <hpj@ximian.com> - - * printing/e-contact-print.c: Don't dereference the file_as pointer - if it turns out to be NULL. - -2004-04-28 Jeffrey Stedfast <fejj@ximian.com> - - * gui/component/addressbook-migrate.c: We need a migration dialog - if the revision <= 10. Fixes bug #57770. - -2004-04-27 Larry Ewing <lewing@ximian.com> - - * gui/component/addressbook-config.c: remove debug spew. - -2004-04-27 Jeffrey Stedfast <fejj@ximian.com> - - * gui/component/addressbook-migrate.c (addressbook_migrate): - Migrate pilot data. - (migrate_pilot_data): Oops. Apparently the addressbook didn't - change the format of the changelog file from db3 to xml, so fix to - simply copy the file over. - -2004-04-27 Rodney Dawes <dobey@ximian.com> - - * gui/contact-editor/e-contact-editor-fullname.c: - (e_contact_editor_fullname_init): - * gui/contact-editor/fullname.glade: - * gui/search/e-addressbook-search-dialog.c (eab_search_dialog_init): - Update dialog vbox and action area border widths to be HIG compliant - Update main child widget border widths to be HIG compliant - -2004-04-27 Larry Ewing <lewing@ximian.com> - - * gui/component/addressbook-config.c (source_to_dialog_new): fix - warnings, remove unused code. - - * gui/component/addressbook-config.c: start integrate the new - dialog. - - * gui/component/ldap-config.glade: add the new dialog. - -2004-04-26 Rodney Dawes <dobey@ximian.com> - - * gui/contact-editor/contact-editor.glade: - * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): - Set spacing around notebook widget and the dialog's action area and - vbox widgets to be compliant with the HIG dialog specs - -2004-04-25 Chris Toshok <toshok@ximian.com> - - * importers/evolution-ldif-importer.c (ldif_fields): add "mobile" - mapping to E_CONTACT_PHONE_MOBILE, which is what thunderbird uses - (and really what we should have always been using.) - -2004-04-23 Jeffrey Stedfast <fejj@ximian.com> - - * conduit/address-conduit.c (get_next_mail): The firt EMAIL item - is EMAIL_1, not EMAIL (assuming we want simple strings). - (local_record_from_ecard): Use e_contact_get() for getting the - EContactAddress. Loop from FIRST_ADDRESS_ID up to and *including* - LAST_ADDRESS_ID. - (ecard_from_remote_record): When searching for an address field, - loop from FIRST_ADDRESS_ID up to and *including* LAST_ADDRESS_ID. - (pre_sync): Use e_book_query_any_field_contains() rather than - e_book_query_from_string ("#t") which doesn't work anyway. - -2004-04-20 Jeffrey Stedfast <fejj@ximian.com> - - * conduit/address-conduit.c (map_name): Updated to use - ~/.evolution as the evolution directory rather than ~/evolution. - -2004-04-23 Dan Winship <danw@ximian.com> - - * gui/component/component-factory.c (factory): Fix the addressbook - control to not crash. (Temporary fix.) - -2004-04-23 Chris Toshok <toshok@ximian.com> - - * gui/widgets/eab-gui-util.c (added_cb): this signal takes an - EContact* too. - (modified_cb): same. - (deleted_cb): same. - (eab_error_dialog): pad the table of status messages out with the - new status codes, and don't specify gui text for messages that - aren't generated by the backends. This fixes the "U" error - messages people were seeing. - -2004-04-22 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/contact-editor.glade: Correct the dialog's title. - - * gui/contact-editor/e-contact-editor.c (init_email_record_location): - Connect to entry's activate signal. - (init_phone_record_type): Ditto. - (init_im_record_location): Ditto. - (init_address_field): Ditto. - (set_entry_changed_signal_field): Remove unnecessary checks. - (set_urlentry_changed_signal_field): Ditto. - (set_entry_changed_signals): Ditto. - (set_entry_activate_signal_field): Implement. - (set_urlentry_activate_signal_field): Implement. - (set_entry_activate_signals): Implement. - (e_contact_editor_init): Call set_entry_activate_signals (). - -2004-04-22 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/e-contact-editor.c (e_contact_editor_class_init): - Override the save_contact function. - (e_contact_editor_save_contact): Implement. - (e_contact_editor_init): Remove some unnecessary checks - if - something's the matter with the UI files, that needs to be warned - about and fixed, not silently worked around. - -2004-04-22 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/contact-editor.glade: Make the window be a - GtkDialog. - -2004-04-21 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/e-contact-editor.c (free_attr_list): Implement. - (extract_email): Preserve offscreen addresses. - (extract_phone): Preserve offscreen phone numbers. - (extract_im): Preserve offscreen IM accounts. - -2004-04-21 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/e-contact-editor.c: Add defines for the slot - counts for email, phone, im, address. - (phones): Add E_CONTACT_PHONE_COMPANY back in, now that we can - differentiate it. - (init_email): Use EMAIL_SLOTS and a loop. - (init_im): Ditto for IM_SLOTS. - (init_phone): Ditto for PHONE_SLOTS. - (fill_in_address) - (extract_address) - (init_address): Ditto for ADDRESS_SLOTS. - (get_ui_slot_param): Implement. - (get_ui_slot): Implement. - (set_ui_slot): Implement. - (alloc_ui_slot): Implement. - (fill_in_email): Add code to preserve spatial organization. - (extract_email): Ditto. - (fill_in_phone): Ditto. - (extract_phone): Ditto. - (fill_in_im): Ditto. - (exctract_im): Ditto. - -2004-04-21 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-migrate.c (setup_progress_dialog): - store off the label as well as the folder name label, so we can - reuse the dialog and update the label. Also, no longer take the - string to display here. - (dialog_set_label): new function. - (migrate_contact_lists_for_local_folders): call - dialog_set_folder_name here so we can see the folder being - migrated. - (migrate_company_phone_for_local_folders): new function for - updating the way we store company phone numbers. - (addressbook_migrate): split out the logic for setting up/tearing - down the dialog from the individual migration points so we can - reuse the same dialog and not have get destroyed/recreated for - each stage. Also add a new migration point ( <= 1.5.8) for - migrating the company phone numbers. - -2004-04-21 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/component/addressbook.c (remove_parameters_from_uri) : added - a new function to striff off any parameters present after ';' in - the uri - (load_source_auth_cb) (addressbook_authenticate) : call above - function to remove anything after ';' before passing uri to - e-password calls - -2004-04-21 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/e-contact-editor.h (EContactEditor): Remove - unused fields. - - * gui/contact-editor/e-contact-editor.c (emails): Remove. - (e_contact_editor_init): Don't init unused fields. - (e_contact_editor_dispose): Don't free/clear unused fields. - (enable_writable_fields): Don't use email_choice anymore. Enable - checkbutton-htmlmail only once. - -2004-04-21 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/contact-editor.glade: Make the phone type - selectors be option menus. - - * gui/contact-editor/e-contact-editor.c (phones): Store the phone - param mappings locally. - (set_entry_changed_signals): Don't special-case phone entries here. - (enable_writable_fields): Don't mess with the phone widgets anymore. - (set_fields): Use fill_in_phone (). - (extract_info): Use extract_phone (). - (phone_index_to_type): Implement. - (get_phone_type): Implement. - (get_attributes_named): Implement. - (set_attributes_named): Implement. - (fill_in_phone_record): Implement. - (extract_phone_record): Implement. - (fill_in_phone): Implement. - (extract_phone): Implement. - (init_phone_record_type): Implement. - (init_phone): Implement. - (connect_arrow_button_signal): Remove. - (connect_arrow_button_signals): Remove. - (phone_entry_changed): Remove. - (set_entry_changed_signal_phone): Remove. - (_arrow_pressed): Remove. - (_phone_arrow_pressed): Remove. - (e_contact_editor_build_ui_info): Remove. - (e_contact_editor_build_phone_ui): Remove. - (set_phone_field): Remove. - -2004-04-21 Not Zed <NotZed@Ximian.com> - - * gui/component/addressbook-view.c (addressbook_view_init): fix - for e_user_creatable_items handle api changes. - -2004-04-20 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-view.etspec: use cursor-mode="line" to - get rid of the annoying cell cursor. - - * gui/widgets/eab-gui-util.c (eab_create_image_chooser_widget): - create the image chooser even if we aren't given an initial - filename. - - * gui/contact-editor/e-contact-editor.c (new_target_cb): - addressbook_show_load_error_dialog -> eab_load_error_dialog. - -2004-04-19 Rodney Dawes <dobey@ximian.com> - - * gui/contact-editor/contact-editor.glade: Set the default image for - the contact photo to be the stock_person image in the icon theme - -2004-04-19 Michael Terry <mike@mterry.name> - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: - * gui/component/addressbook-component.c: - * gui/component/addressbook-view.c: - * gui/component/select-names/e-select-names-popup.c: - * gui/contact-editor/e-contact-editor-address.c: - * gui/contact-editor/e-contact-editor-fullname.c: - * gui/contact-editor/e-contact-editor-im.c: - * gui/contact-list-editor/contact-list-editor.glade: - * gui/contact-list-editor/e-contact-list-editor.c: - * gui/merging/eab-contact-commit-duplicate-detected.glade: - * gui/merging/eab-contact-duplicate-detected.glade: - * gui/widgets/e-minicard.c: - * gui/widgets/eab-contact-display.c: - * gui/widgets/eab-gui-util.c: Update the addressbook to use the icon - theme via the EIconFactory object in e-util - -2004-04-18 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-editor.c (nonempty): new macro. - (extract_email): only create/add the attribute if the email - address is nonempty. - (extract_im): same, but for im accounts. - (extract_address_record): same, but for addresses. - -2004-04-16 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/contact-editor.glade: Add "wants HTML" checkbox. - - * gui/contact-editor/contact-editor.c (email_location_to_index) - (email_entry_changed) - (set_entry_changed_signal_email) - (file_save_cb) - (file_close_cb) - (file_save_as_cb) - (file_send_as_cb) - (file_send_to_cb) - (contact_deleted_cb) - (delete_cb) - (print_cb) - (print_envelope_cb) - (tb_save_and_close_cb) - (verbs) - (pixmaps) - (create_ui): Remove unused funcs. - (command_state_changed): Remove bonobo calls. - (e_contact_editor_init): Remove bonobo stuff. - (fill_in_email) - (fill_in_im): Remove unused vars. - -2004-04-16 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-component.c (book_loaded_cb): new - function, use the async interface to load the book. - (impl_requestCreateItem): use - e_book_async_get_default_addressbook. - -2004-04-16 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/contact-editor.glade: Commit new contact editor - UI by Anna. - - * gui/contact-editor/e-contact-editor.c: Comment out bonobo includes. - (_email_arrow_pressed) - (_address_arrow_pressed) - (set_im_fields) - (find_address_mailing) - (set_address_field) - (add_im_clicked) - (edit_im_clicked) - (remove_im_clicked) - (im_button_press_cb) - (im_selected_cb) - (im_treeview_drag_data_get_cb) - (im_treeview_drag_data_rcv_cb) - (setup_im_treeview) - (email_entry_changed) - (address_to_text) - (text_to_address) - (address_text_changed) - (address_mailing_changed) - (full_addr_clicked) - (e_contact_editor_build_email_ui) - (e_contact_editor_build_address_ui) - (_email_arrow_pressed) - (_address_arrow_pressed) - (find_address_mailing) - (add_im_field) - (set_im_fields) - (set_address_field): Removed. - (address_name) - (im_service) - (im_location): Add lookup structs. - (init_email_record_location) - (init_email) - (fill_in_email_record) - (extract_email_record) - (email_location_to_index) - (email_index_to_location) - (im_index_to_location) - (get_email_location) - (get_im_location) - (fill_in_email) - (extract_email) - (init_im_record_location) - (init_im_record_service) - (init_im) - (fill_in_im_record) - (fill_in_im) - (extract_im_record) - (extract_im) - (init_address_field) - (init_address_record) - (init_address) - (fill_in_address_field) - (fill_in_address_record) - (fill_in_address) - (extract_address_field) - (extract_address_record) - (extract_address) - (file_save_and_close_cb) - (file_cancel_cb) - (set_entry_text): Implemented. - (connect_arrow_button_signals): Updated some widget names. - (set_entry_changed_signals): Removed dead widgets, updated names for - others. - (print_cb) - (tb_save_and_close_cb) - (create_ui): Disabled Bonobo toolbar/menus. - (e_contact_editor_init): Disabled Bonobo toolbar/menus. Init new - UI elements. Remove init of old UI elements. - (command_state_changed): Disabled Bonobo toolbar/menus. Act on new - ok/cancel buttons. - (_phone_arrow_pressed): Updated widget names. - (set_phone_field): Use set_entry_text (). - (set_fields): Update widget names, remove old address code, call new - fill_in_* code. - (field_mapping): Remove dead widgets. - (widget_field_mapping): Ditto. - (enable_writable_fields): Remove calls for old email/address UI. - Update some names. - (fill_in_info): Don't find_address_mailing() or set_im_fields(). - (extract_info): Call new extraction funcs. - -2004-04-14 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-view.c (book_open_cb): force the info - label to update its contents here if the load was successful. - - * gui/component/addressbook-migrate.c (migration_context_new): use - e_book_get_addressbooks instead of getting source_list from the - component. - (migration_context_free): unref the source_list. - - * gui/component/addressbook-config.c (dialog_to_source): sync the - dialog->source_list, since we have it. - -2004-04-14 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.c: rip out tons of functions - they - all live in addressbook-view.c now. the only thing left in this - file is the addressbook_load* calls that do authentication. - - * gui/component/addressbook.h: remove prototypes for - addressbook_new_control and addressbook_load_uri (it was #if 0'ed - anyway.) - - * gui/component/addressbook-component.h: remove prototypes for - _peek_activity_handler and _peek_source_list. - - * gui/component/addressbook-component.c: rip out tons of functions - - they all live in addressbook-view.c now. - (impl_createControls): simplify this immensely. we just create an - AddressbookView and get the various widgets/controls from it. - (impl_requestCreateItem): this function loses slightly - it needs - per-window info (the selected source) but there's no way to get - it. So we load the default book. Also, this uses a synchronous - e_book call to load the book, which is not good. - (addressbook_component_peek_source_list): nuke, not used by - anything anyway. - (addressbook_component_peek_activity_handler): nuked, not used by - anything - and it's per-window anyway. - - * gui/component/Makefile.am (libevolution_addressbook_la_SOURCES): - add addressbook-view.[ch]. - - * gui/component/addressbook-view.[ch]: rip out all of the per - window stuff from addressbook.[ch] and addressbook-component.[ch] - and put it here. - -2004-04-13 Chris Toshok <toshok@ximian.com> - - * gui/widgets/eab-contact-display.c (accum_address): disable the - map link for 2.0. - -2004-04-13 Larry Ewing <lewing@ximian.com> - - * gui/widgets/e-addressbook-view.c (create_table_view): add - GDK_ACTION_COPY to the supported drag types. Connect to the - table_drag_data_delete callback. - (table_drag_data_delete): remove the drag rows. - -2004-04-13 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/component/addressbook.c (addressbook_authenicate): - added a check for new auth type "plain/password" - for groupwise in addressbook_authenicate function - -2004-04-12 Chris Toshok <toshok@ximian.com> - - * gui/widgets/eab-popup-control.c (email_menu_add_option): treat - "" the same as NULL (don't add it to the list). - -2004-04-12 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.c (addressbook_load_default_book): - quiet valgrind uninitialized memory warning. - -2004-04-12 Chris Toshok <toshok@ximian.com> - - [ should fix #56537 ] - - * gui/widgets/eab-popup-control.c (EMPTY_ENTRY): use _(), not N_() - here. - (email_menu_add_options_from_contact): and g_strdup it here, so - that the g_list_foreach (... g_free ..) doesn't cause things to - blow up. - (email_menu_unset_options): nuke ifdefed function. - - * gui/widgets/eab-popup-control.h: don't include gtk.h, include - just what we need. - -2004-04-10 Chris Toshok <toshok@ximian.com> - - * gui/widgets/eab-gui-util.h: add prototypes for - eab_load_error_dialog and eab_search_result_dialog. - - * gui/widgets/eab-gui-util.c (eab_load_error_dialog): the new - addressbook_show_load_error_dialog. - (eab_search_result_dialog): new function, the old contents of - addressbook.c:search_result. - - * gui/component/addressbook.c - (addressbook_show_load_error_dialog): move this function to - eab-gui-utils.[ch] - (search_result): split out the body of this into - eab_search_result_dialog in eab-gui-utils.[ch]. - (book_open_cb): call eab_load_error_dialog. - - * gui/component/addressbook.h: remove prototype for - addressbook_show_load_error_dialog. - -2004-04-10 Chris Toshok <toshok@ximian.com> - - * util/e-destination.h: remove the e_destination_get_book api, - since the function doesn't exist. - -2004-04-09 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-migrate.c (addressbook_migrate): bump - version required to 8 for the contact list migration foo. - -2004-04-09 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-component.c - (selector_tree_drag_motion): pass GDK_CURRENT_TIME instead of a - function pointer to "time" to gdk_drag_status. not sure if this - is right, but it's definitely more right than it was :) - (impl_createControls): create the info label and add it to the - sidebar control. it's not hooked up yet. - -2004-04-09 Chris Toshok <toshok@ximian.com> - - * importers/evolution-ldif-importer.c (resolve_list_card): use the - new e_destination_export_to_vcard_attribute call to build up the - attributes. - - * importers/evolution-vcard-importer.c (process_item_fn): if we're - importing a vcard that we wrote out previously containing xml in - the EMAIL attributes, DTRT and strip it out and use - e_destination_export_to_vcard_attribute to build up the proper - attribute. - - * util/Makefile.am (libeabutil_la_SOURCES): remove - eab-destination.[ch] and add e-destination.[ch]. - - * printing/e-contact-print.c (e_contact_print_contact): we don't - have to worry about the "<?xml..." EMAIL fields anymore. - - * gui/widgets/eab-gui-util.c (eab_send_contact_list): just use the - value as the address (since that's what it is) in the list case. - - * gui/widgets/eab-contact-display.c (render_contact_list): remove - the EABDestination stuff from here. - (eab_contact_display_render_compact): same. - - * gui/widgets/e-minicard.c (activiate_editor): fix warnings - use - EAB_EDITOR instead of G_OBJECT. - (add_field): we don't have to worry about the "<?xml..." EMAIL - fields anymore. - (remodel): same. - - * gui/widgets/e-addressbook-treeview-adapter.c - (adapter_get_value): we don't have to worry about the "<?xml..." - EMAIL fields anymore. - - * gui/widgets/e-addressbook-table-adapter.c - (addressbook_value_at): we don't have to worry about the - "<?xml..." EMAIL fields anymore. - - * gui/contact-list-editor/e-contact-list-model.c - (contact_list_value_at): eab->e. - (contact_list_model_dispose): we're not a GtkObject, we're a - GObject. rename _destroy to _dispose, and chain up to the parent - class's ::dispose. - (e_contact_list_model_class_init): GtkObject -> GObject, and - destroy -> dispose. - (e_contact_list_model_init): GtkObject -> GObject, and EAB -> E. - (e_contact_list_model_add_destination): EAB -> E. - (e_contact_list_model_add_email): same. - (e_contact_list_model_add_contact): same. - (e_contact_list_model_get_destination): same. - - * gui/contact-list-editor/e-contact-list-editor.c - (table_drag_data_received_cb): add email num arg to - e_contact_list_model_add_contact. - (extract_info): fill in the vcard attributes instead of just - generating xml. - (fill_in_info): extract the values from the vcard attributes. - - * gui/component/select-names/e-select-names-text-model.c - (e_select_names_text_model_insert_length): eab->e, and don't - sometimes copy, sometimes ::new. always ::new. - (e_select_names_text_model_delete): same. - (e_select_names_text_model_obj_count): same. - (nth_obj_index): same. - - * gui/component/select-names/e-select-names-table-model.c - (fill_in_info): eab -> e. - - * gui/component/select-names/e-select-names-popup.c - (make_contact_editor_cb): eab -> e. - (change_email_num_cb): same. - (toggle_html_mail_cb): same. - (populate_popup_contact): same, and remove code that checks for - <?xml, then imports the EDestination. - (quick_add_cb): eab -> e. - (populate_popup_nocontact): same. - (e_select_names_populate_popup): same. - - * gui/component/select-names/e-select-names-model.h: eab -> e, and - remove prototypes for nuked functions. - - * gui/component/select-names/e-select-names-model.c - (destination_changed_proxy, send_changed, connect_destination, - disconnect_destination): nuke. - (e_select_names_model_duplicate): EAB -> E. - (e_select_names_model_get_textification): same. - (e_select_names_model_get_address_text): same. - (e_select_names_model_get_destination): same. - (e_select_names_model_export_destinationv): same. - (send_changed): same. - (e_select_names_model_import_destinationv): same. - (e_select_names_model_get_contact): same. - (e_select_names_model_contains): same. - (e_select_names_model_insert): same, and remove call to - connect_destination. - (e_select_names_model_append): same. - (e_select_names_model_replace): same, and remove call to - disconnect/connect_destination. - (e_select_names_model_delete): same. - (delete_all_iter): nuke. - (e_select_names_model_delete_all): use g_object_unref for the - foreach call. - (e_select_names_model_merge): EAB -> E. - (e_select_names_model_name_pos): same. - (e_select_names_model_name_pos): same. - (e_select_names_model_load_all_contacts): nuke. - (e_select_names_model_cancel_all_contact_load): nuke. - - * gui/component/select-names/e-select-names-manager.c - (clean_cb, focus_in_cb, focus_out_cb, completion_popup_cb): nuke. - (completion_handler): EAB -> E, and the signals are gone. - - * gui/component/select-names/e-select-names-completion.c: in - general, s/eab_dest/e_dest and s/EABDest/EDest. - (e_select_names_completion_got_book_view_cb): move the - e_book_view_start to below the assignment of - sequence_complete_received, just to put my mind at ease. - (e_select_names_completion_stop_query): un-#if notyet the call to - e_book_cancel. - (e_select_names_completion_start_query): free the waiting_query - before assigning to it. - - * gui/component/select-names/e-select-names-bonobo.c - (entry_set_property_fn): remove calls to - e_select_names_model_load_all_contacts, since that function is - dead. - - * gui/component/addressbook-migrate.c (setup_progress_dialog): - take the label to display to the user as an arg. - (migrate_contact_lists_for_local_folders): loop over all contacts - in all local addressbooks looking for ones that have <?xml in - their EMAIL attributes. for the ones we find, call - e_destination_export_to_vcard_attribute to build up the proper - attribute. - (addressbook_migrate): add in a clause for all versions under - 1.5.7 to convert contact lists. also, move the unrefs of the - sources/groups to outside the if, as they're created outside it. - - * gui/component/Makefile.am (INCLUDES): remove the - addressbook/backend/ dirs, since libebook isn't there anymore - (nothing is, actually). Add addressbook/util/. - -2004-04-09 Dan Winship <danw@ximian.com> - - * gui/component/addressbook.c (addressbook_new_control): create an - EUserCreatableItemsHandler - (addressbook_view_clear): destroy it - (control_activate): Activate it - - * gui/component/addressbook-component.c - (impl__get_userCreatableItems): Add object/folder flags to the - creatable items. Rename "Address Book" to "Contacts Group" per new - specs - -2004-04-07 Chris Toshok <toshok@ximian.com> - - * util/e-destination.c (e_destination_copy): we don't have an - EBook* anymore. - (e_destination_clear): same. - (e_destination_set_contact): same. - (e_destination_set_book): same, just cache the source_uid. - (e_destination_set_book_uri): nuke. - (e_destination_set_contact_uid): we don't have an EBook*. - (e_destination_xml_decode): same. - (e_destination_export_to_vcard_attribute): new function, fill in - an EVCardAttribute with EDestination values. - - * util/e-destination.h: add prototype for - e_destination_export_to_vcard_attribute. - -2004-04-07 Jeffrey Stedfast <fejj@ximian.com> - - * gui/component/autocompletion-config.c - (source_selection_changed): Sync the changes here rather than - setting 'changed' on the config control (since that no longer - exists). - (autocompletion_config_control_new): Don't connect to an apply - signal, no such signal. - -2004-04-06 Chris Toshok <toshok@ximian.com> - - * util/e-destination.[ch]: old name, new trimmed down - implementation. This will be replacing eab-destination.[ch]. - -2004-04-06 Hao Sheng <hao.sheng@sun.com> - - * gui/widgets/e-minicard.c: - (e_minicard_event) : implement keyboard navigation(TAB/shift+TAB) - (activaite_editor) : add a new function to activiate contact editor - for support "Enter" key - - Fixes #55056 - -2004-04-05 Chris Toshok <toshok@ximian.com> - - * util/eab-destination.h: wrap this with the correct #ifdef. - -2004-04-05 Chris Toshok <toshok@ximian.com> - - * gui/merging/eab-contact-merging.c (match_query_callback): use - the correct glade filename. - -2004-04-01 Hari Prasad Nadig <hp@ndeepak.info> - - Fixes #53433. - - * gui/component/addressbook-config.c (searching_tab_check): added - the tab check for search tab. - (dialog_to_source): added timeout to be saved. - (source_to_dialog): just a piece to retrieve timeout from source. - (addressbook_root_dse_query): few necessary changes. - (do_ldap_root_dse_query): again few changes that were required. - - * gui/component/ldap-config.glade : set right the Hscale to - display the selected value. - -2004-03-30 Chris Toshok <toshok@ximian.com> - - [ fixes bug #34777 ] - - * gui/contact-editor/e-contact-editor.c (file_as_entry_changed): - set the window title to File As if the file as entry has something - in it. "Contact Editor" otherwise. - (set_entry_changed_signals): hook up the file-as-entry's "changed" - signal. - - * gui/contact-list-editor/e-contact-list-editor.c - (list_name_changed_cb): analogous fix, but "List Name" and - "Contact List Editor". - -2004-03-30 Chris Toshok <toshok@ximian.com> - - [ fixes bug #53544 ] - - * gui/component/addressbook-component.c - (impl__get_userCreatableItems): add "address_book" to the user - creatable items list. complete with incorrect accelerator and - shortcut! - (impl_requestCreateItem): handle "address_book" here, and plug a - memory leak. - -2004-03-30 Chris Toshok <toshok@ximian.com> - - [ part of the fix for #51977, the other part is in e-d-s ] - - * gui/widgets/e-addressbook-view.c (search_activated): the name of - the category list property has changed from "category" to - "category" list in 1.5. track the change here to get category - searching working again. - -2004-03-30 Chris Toshok <toshok@ximian.com> - - [ part of the fix for #54528, the other part is in e-d-s ] - - * importers/evolution-vcard-importer.c (process_item_fn): get and - set the PHOTO attribute before storing the contact in the book. - this has the affect of making EContact sniff the image format. - the apple addressbook doesn't give PHOTO's a TYPE. - - -2004-03-30 Chris Toshok <toshok@ximian.com> - - [ fixes bug #53094 ] - - * gui/component/ldap-config.glade: nuke - addressbook-sources-window. - - * gui/component/addressbook-config.c (main): nuke, we don't need - this test case anymore, and it doesn't really work anyway anymore. - -2004-03-30 Chris Toshok <toshok@ximian.com> - - [ fixes bug #53634 ] - - * gui/widgets/e-addressbook-view.c (eab_view_new): call - e_search_bar_set_menu to add the Advanced... menu item to the - search menu, and connect to "menu_activated". - (search_menu_activated): new function, pop up the advanced dialog - if id == ESB_ADVANCED. - (query_changed): use e_search_bar_get_item_id instead of - g_object_get. - - * gui/component/addressbook.c (verbs): remove ToolSearch. - (pixmaps): remove the ToolSearch pixmap. - -2004-03-30 Chris Toshok <toshok@ximian.com> - - [ gui part of the fix required for #48665 ] - - * gui/widgets/e-addressbook-model.c (get_view): pass the source's - "limit" property (if it exists) to e_book_async_get_book_view. - -2004-03-29 Larry Ewing <lewing@ximian.com> - - * gui/component/addressbook-component.c - (selector_tree_drag_data_received): call drag_finish properly. - (selector_tree_drag_motion): set the drag status properly. - -2004-03-25 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/component/eab-editor.c (eab_editor_prompt_to_save_changes) : - do eab_editor_is_valid check only when user wants to save. - -2004-03-24 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-component.c - (fill_popup_menu_callback): don't let the user delete their - Personal addressbook. This is just a nice UI thingy.. A similar - fix needs to be made to e-d-s. so that attempts that circumvent a - nice UI will also fail. - -2004-03-24 Chris Toshok <toshok@ximian.com> - - * gui/widgets/eab-gui-util.c (eab_show_multiple_contacts): don't - know what I was thinking approving this change. the _() was only - used in the plural case (in fact where n > 5), so a singular case - was never necessary, and neither was the call to ngettext. - -2004-03-24 Chris Toshok <toshok@ximian.com> - - * gui/contact-list-editor/e-contact-list-editor.c - (e_contact_list_editor_get_type): parent_type == EAB_TYPE_EDITOR. - (e_contact_list_editor_class_init): fill in editor_class virtual - functions, and remove all the signals. - (list_added_cb): call eab_editor_contact_* instead of emitting a - signal here. also call eab_editor_close - (list_modified_cb): same. - (e_contact_list_editor_is_valid): new function. - (e_contact_list_editor_is_changed): same. - (e_contact_list_editor_get_window): same. - (file_close_cb): call eab_editor_ functions. - (list_deleted_cb): call eab_editor_contact_* instead of emitting a - signal here. also call eab_editor_close - (delete_cb): call eab_editor_* functions. - (contact_list_editor_destroy_notify): call eab_editor_remove. - (e_contact_list_editor_new): call eab_editor_add, and remove the - g_object_ref/gtk_object_sink two-step. - (e_contact_list_editor_show): make static, and make arg EABEditor. - (e_contact_list_editor_raise): same. - (e_contact_list_editor_close): same. - (app_delete_event_cb): call eab_editor_ functions. - (command_state_changed): use eab_editor_is_valid instead of - is_named. - (e_contact_list_editor_request_close_all): nuke. - - * gui/contact-list-editor/e-contact-list-editor.h: nuke a bunch of - prototypes for functions that are now either virtual functions - from EABEditor or eab_editor_* functions. - (struct _EContactListEditor): we subclass from EABEditor. - (struct _EContactListEditorClass): same, and nuke all the signals. - - * gui/contact-editor/e-contact-editor.c - (e_contact_editor_get_type): parent_type == EAB_TYPE_EDITOR. - (e_contact_editor_class_init): fill in editor_class virtual - functions, and remove all the signals. - (contact_moved_cb): call eab_editor_contact_* instead of emitting - a signal here. also call eab_editor_close - (contact_added_cb): same. - (contact_modified_cb): same. - (e_contact_editor_close): rename from close_dialog. - (e_contact_editor_is_valid): new function. - (e_contact_editor_is_changed): new function. - (e_contact_editor_get_window): new function. - (file_close_cb): use eab_editor_ calls here. - (e_contact_editor_confirm_delete): nuke. - (contact_deleted_cb): call eab_editor_contact_* instead of - emitting a signal here. also call eab_editor_close - (delete_cb): use eab_editor_ functions. - (e_contact_editor_dispose): chain up to our parent's ::dispose. - (contact_editor_destroy_notify): use eab_editor_remove. - (e_contact_editor_new): use eab_editor_add, and remove the - g_object_ref/gtk_object_sink two-step. - (_popup_position): nuke dead function. - (set_fields): i is an index, not a field_id. - (e_contact_editor_raise): make this static, and it takes an - EABEditor arg now, not a EContactEditor. - (e_contact_editor_show): same. - (e_contact_editor_request_close_all): nuke. - - * gui/contact-editor/e-contact-editor.h: nuke a bunch of - prototypes for functions that are now either virtual functions - from EABEditor or eab_editor_* functions. - (struct _EContactEditor): we subclass from EABEditor. - (struct _EContactEditorClass): same, and remove the signals. - - * gui/widgets/e-addressbook-view.c (delete): call - eab_editor_confirm_delete. - - * gui/widgets/eab-popup-control.c (contact_editor_cb): don't - bother calling e_contact_editor_raise since this is a new contact - editor anyway. - - * gui/widgets/eab-gui-util.c (eab_show_contact_list_editor): use - EABEditor signals, and eab_editor_show. - - * gui/widgets/e-minicard.h: "editor" is now of type EABEditor, not - GObject. - - * gui/widgets/e-minicard.c (e_minicard_event): just use - eab_editor_raise instead of - e_contact_editor_raise/e_contact_list_editor_raise. - - * gui/component/addressbook-component.c (impl_requestQuit): - implement this again, calling eab_editor_request_close_all. - (addressbook_component_class_init): fill in epv->requestQuit. - -2004-03-24 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/eab-editor.[ch]: superclass for both - EContactEditor and EContactListEditor. A start toward simplifying - the interface to both of them, and a place to abstract code. - - * gui/contact-editor/Makefile.am (libecontacteditor_la_SOURCES): - add eab-editor.[ch] - -2004-03-24 Danilo Segan <dsegan@gmx.net> - - * gui/widgets/e-addressbook-model.c (update_folder_bar_message): - Use ngettext for handling plural forms (fixes bug #53464). - * gui/widgets/eab-gui-util.c (eab_show_multiple_contacts): Likewise. - * gui/widgets/eab-vcard-control.c (pstream_load): Likewise. - - -2004-03-22 Chris Toshok <toshok@ximian.com> - - [ fixes bug #53653, and a couple other instances ] - - * gui/widgets/eab-gui-util.c (file_exists): REJECT -> CANCEL, so - esc works (patch from Pratik V. Parikh <pratikvp@despammed.com>) - (save_it): REJECT -> CANCEL. - (eab_select_source): same. - -2004-03-17 Hans Petter Jansson <hpj@ximian.com> - - Fixes #53625. - - * gui/widgets/eab-contact-display.c (render_contact): Show home and - mobile phone numbers too. - -2004-03-15 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/contact-editor/e-contact-editor.c (enable_writable_fields) : - loop only up to < G_N_ELEMENTS instead of <= G_N_ELEMENTS. Prevents - out of bound indexing of addresses array - -2004-03-15 Hao Sheng <hao.sheng@sun.com> - - * gui/component/Makefile.am : build a11y/addressbook dir - * gui/widgets/e-addressbook-view.c : - (eab_view_class_init) : add the accessibility support for - EAddressbookView - * gui/widgets/e-minicard-view.c : - (e_minicard_view_class_init) : add the accessibility support for - EMinicardView - * gui/widgets/e-minicard.c : - (e_minicard_class_init) : add the accessibility support for EMinicard - -2004-03-10 Chris Toshok <toshok@ximian.com> - - * gui/widgets/eab-contact-display.c (render_address): #if 0 this, - since nothing uses it anymore. - (accum_address): new function, build up a GString. - (accum_name_value): same. - (accum_attribute): same. - (render_contact): don't just blindly render the work/personal - blocks, since if they're empty it looks stupid. instead, - accumulate each block into a GString and only output the entire - block if the string is non-empty. - -2004-03-10 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-editor.c (phone_entry_changed): - phone_choice is an index into the phones array. - (_phone_arrow_pressed): same. - (address_text_changed): address_choice is an index into the - addresses array. - (_address_arrow_pressed): same. - (set_address_field): same. - (_email_arrow_pressed): email_choice is an index into the emails - array. - (full_addr_clicked): same, and same with - s/addresses/address_editable. - (e_contact_editor_init): initialize the *_choice fields as indices - into their respective *es arrays. - (e_contact_editor_build_address_ui): initialize the labels from - the addresses array. - (set_fields): *_choice fields are indices into *es arrays. - (enable_writable_fields): same. - -2004-03-09 Rodney Dawes <dobey@ximian.com> - - * gui/contact-editor/e-contact-editor.c (_arrow_pressed): Don't try - to calculate the position of the popup menu for the dropdowns - -2004-03-09 Rodney Dawes <dobey@ximian.com> - - * gui/contact-editor/e-contact-editor-im.c (e_contact_editor_im_edit): - Remove the dialog separator, and set appropriate border widths for the - button area box and the dialog's vbox - * gui/contact-editor/im.glade: Apply patch from Christian Neumair to - make the IM editor dialog HIG compliant - -2004-03-08 Sivaiah Nallagatla <snallagatla@novell.com> - * gui/contact-editor/e-contact-editor.c (enable_writable_fields): - fixed a typo, which is causing probelm in building up email ui - -2004-03-04 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/component/addressbook-config.c : - (addressbook_add_server_druid) : maintain a list of only those source groups which are added to menu - instead of all - (source_group_changed_cb) : use the new list to get the selected group - (addressbook_source_dialog_destroy) : free the new list - -2004-03-04 Not Zed <NotZed@Ximian.com> - - ** See #54991. - - * gui/component/select-names/e-select-names-completion.c - (e_select_names_completion_start_query): dont try to unref a null - query. - (name_style_query): use a GString to build the query, so we can - use e_sexp_encode_string to properly encode the sub terms. - -2004-03-03 Hans Petter Jansson <hpj@ximian.com> - - * gui/component/addressbook-component.c (delete_addressbook_cb): - Set error to NULL before using it. - -2004-03-03 Hans Petter Jansson <hpj@ximian.com> - - * gui/component/addressbook-component.c (delete_addressbook_cb): - Remove local data, with error reporting on failure. - -2004-03-02 Larry Ewing <lewing@ximian.com> - - * gui/component/addressbook-component.c: add drop support for - text/x-vcard to the source list. - -2004-02-27 Chris Toshok <toshok@ximian.com> - - * gui/widgets/eab-contact-display.c - (eab_contact_display_render_compact): ref the pixbuf before we - close/unref the loader so the pixbuf sticks around, and make the - scaling logic a bit more transparent. - -2004-02-27 Rodney Dawes <dobey@ximian.com> - - * gui/contact-editor/contact-editor.glade: Change the button relief - back to normal for the drop-down buttons and move the text labels - inside the buttons as well - -2004-02-27 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-view.c (eab_view_set_property): add - missing "break" to PROP_SOURCE's case. - -2004-02-27 Rodney Dawes <dobey@ximian.com> - - * gui/contact-editor/contact-editor.glade: Get rid of some extraneous - event boxes that were not needed/used for anything really - Set the button relief for the pop-down buttons to NONE - Set the shadow type for the arrows in the pop-down buttons to NONE, - so that we look good with themes that actually handle shadow types on - arrows, since most things just ignore the shadow type anyway - - Fixes #8516 - -2004-02-26 Hans Petter Jansson <hpj@ximian.com> - - * util/eab-destination.c (name_and_email_cb): Move unused variable - declaration inside notyet conditional. - - * printing/e-contact-print.c: Include gal/util/e-util.h - - * gui/merging/eab-contact-compare.c (eab_contact_locate_match): Cast - callback to an EBookCallback. - (eab_contact_locate_match_full): Ditto. - - * gui/contact-editor/e-contact-quick-add.c (quick_add_set_name): - Remove unused variable and cast 3rd arg to e_contact_set () (perhaps - this should take a gconstpointer?). - - * gui/contact-editor/e-contact-editor-im.c (setup_service_optmenu): - Remove unused variable. - - * gui/component/select-names/e-select-names.c (e_select_names_init): - Cast the vbox to a GtkBox. - - * gui/component/addressbook-config.c (dialog_to_source): Correctly cast - the spin button to a GtkSpinButton, not a GtkEntry. - - * gui/component/addressbook-component.c (load_primary_selection): - Remove unused variable. - -2004-02-26 Chris Toshok <toshok@ximian.com> - - * gui/widgets/eab-contact-display.c (render_contact): add the - Groupwise IM attributes to the list of those we render. - -2004-02-26 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-view.c (set_view_preview): call - eab_view_show_contact_preview here so we maintain the preview - state when switching folders. we don't (yet... won't ever?) have - per-addressbook preview settings. - -2004-02-26 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-view.c - (eab_view_show_contact_preview): view->scrolled -> - view->contact_display. fixes crash. - -2004-02-26 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-editor.c (edit_im_clicked): fix - checks for locations. - -2004-02-26 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/im.glade: set the location label/option menu - to visible. - - * gui/contact-editor/e-contact-editor.c (add_im_clicked): build up - the vcard attributes manually so we can set the TYPE= parameter to - the location the user specifies. - (edit_im_clicked): same. Also, use COLUMN_IM_LOCATION_TYPE, which - is not localized to pass the location to the editor. - (remove_im_clicked): reindent. - (im_treeview_drag_data_get_cb): same. - (im_treeview_drag_data_rcv_cb): same. - (setup_im_treeview): add another column for the (non-localized) - location type, and reindent. - (add_im_field): use the new attribute api for EContact so we can - get the location of each account, and set things appropriately on - the store. - - * gui/contact-editor/e-contact-editor-im.c - (e_contact_editor_im_class_init): reindent. - (e_contact_editor_im_new): same. - (fill_in_info): same. - -2004-02-25 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/contact-editor/e-contact-editor-im.c : added - groupwise im related label and icon image file name - - * gui/contact-editor/e-contact-editor.c : - (im_treeview_drag_data_get_cb), (im_treeview_drag_data_rcv_cb) : - (set_im_fields) : added code to add Gw Im id to contact-editor - - -2004-02-24 Hans petter Jansson <hpj@ximian.com> - - * gui/contact-editor/e-contact-quick-add.c (quick_add_set_name): - Port to new way of setting name in contact. - -2004-02-24 JP Rosevear <jpr@ximian.com> - - * gui/component/addressbook-migrate.c (migration_context_new): - don't init the dialog here - (addressbook_migrate): init it here - - Fixes #54214 - -2004-02-20 Chris Toshok <toshok@ximian.com> - * gui/contact-editor/e-contact-editor.c (phone_entry_changed): - remove some spew. - -2004-02-19 Chris Toshok <toshok@ximian.com> - - * gui/component/component-factory.c: s/HAVE_NSS/ENABLE_SMIME. - - * gui/component/addressbook-component.c: s/HAVE_NSS/ENABLE_SMIME. - -2004-02-19 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.c (activate_source): split out the - majority of the set_prop code for PROPERTY_SOURCE_UID_IDX here, so - it can be used for both SOURCE_UID and FOLDER_URI. - (set_prop): add a setter for "folder_uri". we sorta fudge things - and use the uri for the uid (the uid is only used as a hash key to - look up the view associated with the uri/source, so we should be - good still.) - (get_prop): add getter for "folder_uri". - (addressbook_new_control): add the "folder_uri" property to our - property bag. - -2004-02-19 Hans Petter Jansson <hpj@ximian.com> - - Fixes #45308 and duplicates. - - * gui/widgets/e-addressbook-model.c (eab_model_set_property): Store - the IDs of book signals connected to, so we can disconnect from them - later. - -2004-02-18 Hao Sheng <hao.sheng@sun.com> - - [ fixes bug #52765 ] - - * gui/contact-editor/e-contact-editor.c - (e_contact_editor_confirm_delete): make delete dialog support - ESC press. - -2004-02-17 Chris Toshok <toshok@ximian.com> - - * gui/contact-list-editor/e-contact-list-editor.h (struct - _EContactListEditor): add image_set slot. - - * gui/contact-list-editor/e-contact-list-editor.c - (list_image_changed_cb): set image_set = TRUE. - (e_contact_list_editor_init): init image_set = FALSE - (extract_info): only set the LOGO attribute if image_set = TRUE. - - * gui/contact-editor/e-contact-editor.h (struct _EContactEditor): - add image_set slot. - - * gui/contact-editor/e-contact-editor.c (extract_info): only set - the PHOTO attribute if image_set == TRUE. - (image_chooser_changed): new function, set image_set = TRUE and - call widget_changed. - (e_contact_editor_init): init image_set to FALSE. - (_address_arrow_pressed): quiet compiler. - -2004-02-17 Chris Toshok <toshok@ximian.com> - - [ fixes bug #53620 ] - - * gui/merging/eab-contact-compare.c (eab_contact_compare_name): "" - is a valid (and common) value for elements of EContactName now. - it's semantically equivalent to NULL in the old ECard foo. - -2004-02-12 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-migrate.c (migrate_contacts): free up - the list returned by e_book_get_contacts. - -2004-01-12 Rodney Dawes <dobey@ximian.com> - - * gui/component/addressbook-component.c (delete_addressbook_cb): - Fix capitalization of Address Book usage in sentence form - * gui/component/ldap-config.glade: Use Address Book instead of - Addressbook in here (Patch from Aaron Weber <aaron@ximian.com>) - -2004-02-11 Rodney Dawes <dobey@ximian.com> - - * gui/component/addressbook-component.c (delete_addressbook_cb): - (fill_popup_menu_callback): - * gui/widgets/e-addressbook-view.c (init_collection): - * gui/widgets/eab-gui-util.c (eab_error_dialog): - * gui/widgets/eab-popup-control.c (eab_popup_control_contstruct): - Address Book, not Addressbook - - Fixes #54166 and #54120 - -2004-02-10 JP Rosevear <jpr@ximian.com> - - * Makefile.am: build importers dir - -2004-02-08 Rodney Dawes <dobey@ximian.com> - - * gui/component/addressbook-migrate.c (create_groups): Initialize the - personal_source to NULL - - Fixes #54015 - -2004-02-08 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/widgets/e-addressbook-view.c (delete) : pass contact - as an argument instead of contact id to e_book_async_remove_contact - -2004-02-06 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-migrate.c (create_groups): don't - bother using a function-wide variable to store the personal - source. also, use g_build_filename properly (because fejj is a - whiner.) - (migrate_local_folders): same (wrt fejj whining). - -2004-02-06 Rodney Dawes <dobey@ximian.com> - - * gui/component/addressbook.c (addressbook_new_control): Hide the - border on the notebook also - * gui/widgets/e-addressbook-view.c (eab_view_new): Don't pack another - scrolled window inside of a scrolled window, just pack the contact - display inside the paned, since it already has a scrolled window - -2004-02-06 Rodney Dawes <dobey@ximian.com> - - * gui/widgets/e-addressbook-view.c: Use "Address Book" instead of - "folder" or "Addressbook" for the "Address Book Sources..." and - copy/move contact menu items - - Fixes #53654 - -2004-02-06 Chris Toshok <toshok@ximian.com> - - * importers/evolution-ldif-importer.c (getNextLDIFEntry): only set - the address if something in it's been filled in. - (resolve_list_card): build up a separate list representing the xml - formatted crud. - (process_item_fn): remove FIXME. - (factory_fn): use g_new0 since we test for NULL-ness later on. - - * importers/evolution-vcard-importer.c (factory_fn): use g_new0 - since we test for NULL-ness later on. - -2004-02-06 JP Rosevear <jpr@ximian.com> - - * importers/evolution-ldif-importer.c (importer_destroy_cb): - implement - -2004-02-06 JP Rosevear <jpr@ximian.com> - - * importers/evolution-vcard-importer.c (importer_destroy_cb): - implement - (load_file_fn): use g_file_get_contents to get a string we can - convert to a contact list with eab_contact_list_from_string - -2004-02-06 JP Rosevear <jpr@ximian.com> - - * importers/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in: - shlib importer info - - * importers/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in: - ditto - - * importers/Makefile.am: build shlib addressbook importers - - * importers/evolution-ldif-importer.c: First crack at resurrecting - - * importers/evolution-vcard-importer.c: ditto - -2004-02-03 Chris Toshok <toshok@ximian.com> - - * gui/widgets/eab-contact-display.c (on_url_requested): remove - some spew, and add an evo-icon: handler, for things in evolution's - imagedir. - (render_address): hack up the html. - (render_name_value): new function, just render a name/value/icon. - (render_attribute): split out most of this function into - render_name_value. this just checks to see if the EContact - attribute has something in it before passing it along. - (render_contact_list): split this out from - eab_contact_display_render_normal. - (start_block): new function, insert a row of height 20 with a - header. - (end_block): new function, insert a row of height 20. - (render_contact): split this out from - eab_contact_display_render_normal, and prettify the contact - display. - (eab_contact_display_render_normal): call render_contact and - render_contact_list. - (eab_contact_display_new): create a scrolled window and add the - GtkHTML to it so we actually have scrollbars. - -2004-02-03 Dan Winship <danw@ximian.com> - - * gui/component/select-names/Makefile.am (INCLUDES): add - widgets/misc for e-activity-handler.h - -2004-02-03 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/component/addressbook-config.c (dialog_to_source) - (source_to_dialog) : use gtk_spin_button_* apis to get and set - values for download limit spin button instead of gtk_entry - Fixes #53432 - -2004-02-02 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-view.c (eab_view_new): hook up - contact_changed/contact_removed signals. - (contact_changed): new function. if the changed contact is the - one we're displaying, re-render it. - (contact_removed): new function. if the removed contact is the - one we're displaying, clear the display. - (render_contact): set displayed_contact to the row. - (eab_view_init): init displayed_contact to -1. - (selection_changed): set displayed_contact to -1 when we clear the - display. - - * gui/widgets/e-addressbook-view.h (struct _EABView): add - "displayed_contact" so we can update the contact preview when it - changes. - -2004-01-30 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-editor.c: enable d&d drop photos. - - * gui/contact-editor/contact-editor.glade: use - eab_create_image_chooser_widget for the d&d'able image. - - * gui/contact-list-editor/e-contact-list-editor.c: abstract out - all the d&d image support (it's now in - widgets/misc/e-image-chooser.[ch]). - - * gui/contact-list-editor/contact-list-editor.glade: use - eab_create_image_chooser_widget for the d&d'able image. - - * gui/widgets/eab-gui-util.c (eab_create_image_chooser_widget): - new function. - - * gui/widgets/eab-gui-util.h: add prototype for - eab_create_image_chooser_widget. - -2004-01-29 Hans Petter Jansson <hpj@ximian.com> - - * gui/widgets/eab-gui-util.c (source_selection_changed_cb): Implement. - (eab_select_source): Implement. Public function that prompts user to - select a source from a list. - (eab_transfer_contacts): Enable and use eab_select_source () and - ESource, instead of old shell folder/URI stuff. - -2004-01-29 Hans Petter Jansson <hpj@ximian.com> - - * gui/component/ldap-config.glade: Changed "Finish" to "Apply" in - dialog finish page text. - -2004-01-29 Hans Petter Jansson <hpj@ximian.com> - - * gui/component/addressbook-config.c (dialog_to_source): Sync the - modified source list. - - * gui/component/addressbook-component.c (delete_addressbook_cb): Sync - the modified source list. - -2004-01-29 Chris Toshok <toshok@m198-139.dsl.rawbw.com> - - * gui/component/addressbook-migrate.c (setup_progress_dialog): use - the MigrationContext struct. - (dialog_close): same. - (dialog_set_folder_name): same. - (dialog_set_progress): same. - (migrate_contacts): same, and pass it along to other functions. - (migrate_contact_folder_to_source): same. - (migrate_contact_folder): same. also, add the old path/uid to the - folder_uid_map. - (migrate_local_folders): same. - (create_groups): use the MigrationContext struct. - (migrate_completion_folders): if it's a file uri, look up the old - path in our hash table for a uid to use. otherwise use the old - behavior. - (migration_context_new): new function, initialize the - MigrationContext. - (migration_context_free): free up everything. - (addressbook_migrate): create the context, pass it to everything, - destroy the context, shine toshok's shoes, etc. - -2004-01-29 Radek Doulik <rodo@ximian.com> - - * gui/component/addressbook-config.c (dialog_to_temp_source): set - group to temporary source - -2004-01-28 Hans Petter Jansson <hpj@ximian.com> - - * gui/component/select-names/e-select-names-table-model.c - (fill_in_info): Get file_as instead of full_name. - - * gui/compoent/select-names/e-select-names.etspec: Show the file_as - column instead of full_name. - -2004-01-27 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/e-contact-editor-fullname.c - (e_contact_editor_fullname_set_property): Handle NULL name. Fixes - #53071. - -2004-01-27 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-config.c (dialog_to_source): set the - relative_uri of a local source to be its uid. - - * gui/component/addressbook-migrate.c - (migrate_contact_folder_to_source): remove the dest_group arg, - since we don't use it. - (migrate_contact_folder): set the relative uri of the source to be - its uid. - (PERSONAL_RELATIVE_URI): "Personal" -> "system". - (create_groups): don't actually make the directory hierarchy for - the personal folder here. let e-d-s do that. Also remove - OnThisComputer from the base uri. - (migrate_local_folders): track change to - migrate_contact_folder_to_source. - -2004-01-26 Chris Toshok <toshok@ximian.com> - - [ Should fix #53361 and other migration problems/crashes ] - * gui/component/addressbook-migrate.c - (migrate_contact_folder_to_source): new function, takes most of - migrate_contact_folder's contents. Fix some of the refcounting - problems though, by not unreffing dest_group, and using - e_group_add_source instead of e_source_set_group. - (migrate_contact_folder): convert to calling - migrate_contact_folder_to_source. - (create_groups): add an out parameter for *personal_source. - (migrate_local_folders): add personal_source as an arg, so we can - get the source that create_groups created/found. Call - migrate_contact_folder_to_source for the personal_source. - (addressbook_migrate): pass personal_source to - migrate_local_folders. - -2004-01-26 Chris Toshok <toshok@ximian.com> - - [ fixes #53238 ] - * util/eab-destination.c (nonempty): make this accept NULL's (and - return FALSE for them). - (eab_destination_is_empty): shorten some of the tests since - nonempty takes NULL now. - (eab_destination_get_address): only call - camel_internet_address_add if both name and email are non-empty. - otherwise call camel_address_decode and let camel try to deal with - it. - (eab_destination_xml_encode): call xmlEncodeEntitiesReentrant on - the strings before adding them to the xml, so people that enter - [<>&] won't end up with broken EABDestinations. - -2004-01-26 Radek Doulik <rodo@ximian.com> - - * gui/widgets/e-addressbook-view.c (selection_received): make sure - we pass \0 terminated string to eab_contact_list_from_string - [it may fix #51743] - -2004-01-25 Chris Toshok <toshok@ximian.com> - - [ fixes bug #51171 ] - * gui/widgets/eab-gui-util.c (eab_send_contact_list): get this - working. - -2004-01-24 Rodney Dawes <dobey@ximian.com> - - * gui/component/select-names/e-select-names.c (e_select_names_init): - Select Contacts from Address Book, not Contents - - Fixes #53263 - -2004-01-24 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-migrate.c (migrate_local_folders): - oops. - (migrate_contact_folder): fix the unreffing. - -2004-01-24 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-migrate.c (migrate_local_folders): use - _("Personal"), not "Personal". - -2004-01-24 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-migrate.c (migrate_local_folders): - don't create/add the source here. it's done in - migrate_contact_folder. - -2004-01-24 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-migrate.c (migrate_local_folders): use - e_folder_map_local_folders. - (find_addressbook_dirs): nuke. - -2004-01-24 JP Rosevear <jpr@ximian.com> - - * gui/widgets/e-addressbook-view.c (init_collection): use - .evolution to store view info - -2004-01-23 Chris Toshok <toshok@ximian.com> - - [ fixes bug #52571 ] - * util/eab-book-util.c (escape): ugh. name fields that have \" - around the name break our queries, because it turns it into (for - instance): (contains "full_name" ""Toshok""). so we need to turn - that into: (contains "full_name" "\"Toshok\""). - (eab_name_and_email_query): escape both the name and email, and - use an EBookQuery instead of passing the string to - e_book_async_get_contacts. Looks like ross missed a couple of - spots. - (eab_nickname_query): same. - - * gui/component/addressbook.c (free_load_source_data): new - function, free up the data and unref the source if there is one. - (load_source_auth_cb): call free_load_source_data instead of just - g_free'ing the struct. - (load_source_cb): same. - (default_book_cb): new function, we need this so we can fill in - the source for the default book. get the source, then call - load_source_cb to continue processing as normal. - (addressbook_load_default_book): use default_book_cb instead of - load_source_cb. - -2004-01-22 Chris Toshok <toshok@ximian.com> - - [ fixes bug #53184 ] - * gui/component/addressbook-migrate.c (migrate_contacts): handle - the fact that the xml 1.4 spits out contains unescaped ';'s in the - EMAIL attributes for mailing lists. - -2004-01-22 Chris Toshok <toshok@ximian.com> - - [ fixes bug #52944 ] - * gui/component/addressbook-migrate.c (migrate_contacts): do some - massaging of contacts as we import them, to fix up the differences - between 1.4 and 1.5 vcards. - -2004-01-21 Nat Friedman <nat@novell.com> - - * gui/contact-editor/contact-editor.glade: Added missing - entry-blog widget. - -2004-01-21 Hans Petter Jansson <hpj@ximian.com> - - * gui/component/addressbook-config.c (create_source_dir): Remove. - (dialog_to_source): Don't create source dir, backend takes care of - that now. - -2004-01-21 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-component.c - (addressbook_component_peek_gconf_client): new function. - - * gui/component/addressbook-component.h: add prototype for - addressbook_component_peek_gconf_client. - - * gui/component/addressbook-migrate.c - (migrate_completion_folders): more gross hacking. migrate the - completion settings. - (get_source_by_uri): function to search for an ESource given the - entire uri. used for migrate_completion_folders. - (migrate_ldap_servers): get_string_value -> get_string_child. - same with get_integer_child. - (get_string_child): rename to make it apparent it's a child, not a - property. - (get_integer_child): same. - (addressbook_migrate): call migrate_completion_folders. - -2004-01-21 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-editor.c (new_target_cb): call - widget_changed here too, since we're changing the destination. - -2004-01-20 Chris Toshok <toshok@ximian.com> - - [ fixes bug #52955 ] - * gui/merging/eab-contact-compare.c (use_common_book_cb): handle - the case properly where there are no query parts (p == 0). - Instead of passing "" to e_book_query_from_string, just set the - query to NULL. - - * util/eab-book-util.c (eab_contact_list_to_string): we need to - put a blank line here, so \r\n\r\n, not just \r\n. - -2004-01-20 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-migrate.c (create_groups): deal with - the groups/sources already being there. Essentially make this - function idempotent. - (addressbook_migrate): unconditionally call create_groups now. - move the version logic here from ipl_upgradeFromVersion, and - include more versions in the set of those we upgrade from. - - * gui/component/addressbook-migrate.h: add major/minor/revision - args to addressbook_migrate. - - * gui/component/addressbook-component.c (impl_upgradeFromVersion): - remove the version logic from here. - -2004-01-20 Sivaiah Nallagatla <snallagatla@novell.com> - - * printing/e-contact-print.c (e_contact_print_response): do not - try to unref when query is NULL - -2004 -01-20 Sivaiah Nallagatla <snallagatla@novell.com> - - * gui/contact-editor/e-contact-editor.c (edit_im_clicked) : do not call - gtk_tree_model_get when nothing in the list is selected - -2004-01-19 Hans Petter Jansson <hpj@ximian.com> - - * gui/component/select-names/e-select-names.etspec: Get name from - correct model column. - -2004-01-19 Hans Petter Jansson <hpj@ximian.com> - - * printing/e-contact-print.c (complete_sequence): Only unref if we - have a query. - -2004-01-19 Hans Petter Jansson <hpj@ximian.com> - - * gui/component/addressbook-component.c - (get_primary_source): Implement. - (load_primary_selection): Use get_primary_source (). - (impl_requestCreateItem): Use get_primary_source (), fixing a crash - when we're asked to create a new item and we don't have the controls. - -2004-01-16 Hans Petter Jansson <hpj@ximian.com> - - * gui/component/addressbook.c (load_source_auth_cb): Don't run - callback if the action was cancelled. - (load_source_cb): Ditto. - (addressbook_load_source): Return an ID for the load attempt. - (addressbook_load_source_cancel): Implement, allows cancelling a - load attempt. - - * gui/contact-editor/e-contact-editor.c (new_target_cb): Clear the - values for in-progress load operation. Only unref new_book if it's - non-NULL. - (cancel_load): Implement. Cancels the load operation if one is in - progress. - (source_selected): Cancel any running load operation before starting - a new one. Set up in-progress values. - (e_contact_editor_init): Clear the in-progress values. - (e_contact_editor_dispose): Cancel load operation. - (e_contact_editor_set_property): If a new target book is set, cancel - any conflicting load operation in progress. - - * gui/widgets/e-addressbook-view.c (set_paned_position): Remove - debug output. - (get_paned_position): Ditto. - -2004-01-16 JP Rosevear <jpr@ximian.com> - - * gui/component/addressbook.c (set_prop): only set the menus and - command state if we actually are already displayed, otherwise wait - for activation - -2004-01-15 Hans Petter Jansson <hpj@ximian.com> - - * gui/widgets/e-addressbook-view.c (set_paned_position): Implement. - (get_paned_position): Implement. - (eab_view_new): Connect signal to get paned position changes. - Remove old hack. - (display_view): Set paned position properly. - -2004-01-12 JP Rosevear <jpr@ximian.com> - - * gui/component/addressbook-component.c (impl_upgradeFromVersion): - revert dumb upgrade change - -2004-01-12 JP Rosevear <jpr@ximian.com> - - * gui/component/addressbook-component.c (impl_upgradeFromVersion): - migrate from 1.5.0 and 1.5.1 properly - -2004-01-12 JP Rosevear <jpr@ximian.com> - - * gui/contact-editor/contact-editor.glade: de-bold ui elements - -2004-01-09 Hans Petter Jansson <hpj@ximian.com> - - * gui/component/addressbook-component.c (add_popup_menu_item): Take a - sensitivity flag per menu item, and fall back to stock icons. - (delete_addressbook_cb): Implement. - (fill_popup_menu_callback): Reorder items, remove "remove" item, set - sensitivity. - - * gui/component/ldap-config.glade: "Edit LDAP Server" -> - "Addressbook Properties". - -2004-01-11 Christian Hammond <chipx86@gnupdate.org> - - * addressbook/gui/contact-editor/e-contact-editor-im.[ch], - addressbook/gui/contact-editor/im.glade: Added a dialog for - adding a new IM account. - * addressbook/gui/contact-editor/Makefile.am: Added the previously - mentioned files, and depend on camel for necessary MIME parsing. - - * addressbook/gui/contact-editor/contact-editor.[ch], - addressbook/gui/contact-editor/contact-editor.glade: Add and implement - -2004-01-09 Ross Burton <ross@burtonini.com> - - * gui/component/select-names/e-select-names-completion.c: - * gui/merging/eab-contact-compare.c: - * gui/widgets/e-addressbook-model.c: - * printing/e-contact-print.c: - Update for API changes to e-book-async. - -2004-01-08 Ross Burton <ross@burtonini.com> - - * gui/contact-editor/contact-editor.glade: - * gui/contact-editor/e-contact-editor.c: - Add the video conferencing field. - -2004-01-07 Rodney Dawes <dobey@ximian.com> - - * gui/component/select-names/e-select-names.c: - * gui/component/select-names/select-names.glade: Make the ESelectNames - object be a HIG-compliant dialog, change "Folder" to be "Address Book", - and fix a mnemonic conflict with "Category" and "Cancel" - - Fixes #51966 - -2004-01-07 Rodney Dawes <dobey@ximian.com> - - * gui/component/addressbook-component.c: Move the smime_component_init - call to the instance init callback, rather than the class init, and - wrap it in #if HAVE_NSS, so the addressbook works without smime support - -2004-01-07 JP Rosevear <jpr@ximian.com> - - * gui/component/Makefile.am: link in printer stuff - - Fixes #51172 - -2004-01-06 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-migrate.c (check_for_conflict): remove - spew. - (migrate_contacts): same. - (migrate_contact_folder): same. - (migrate_local_folders): same, and plug a leak. - -2004-01-06 Chris Toshok <toshok@ximian.com> - - * gui/component/Makefile.am (libevolution_addressbook_la_SOURCES): - add addressbook-migrate.[ch]. - - * gui/component/addressbook-component.c - (addressbook_component_init): remove the source creation from - here, it's in the migration code now. - (impl_upgradeFromVersion): new function, call the - addressbook-migration stuff. - (addressbook_component_class_init): fill in - epv->upgradeFromVersion, and call smime_component_init. - (addressbook_component_peek_base_directory): new function. - (addressbook_component_peek_source_list): same. - - * gui/component/addressbook-component.h: add prototypes for - _peek_base_directory and _peek_source_list. - - * gui/component/addressbook-migrate.[ch]: add migration code to - convert stuff from 1.x over to 1.5/2.0. - -2004-01-06 Rodney Dawes <dobey@ximian.com> - - * gui/contact-editor/e-contact-editor-address.c: Apply - patch from Roozbeh Pournader to update countries list - - Fixes #48151 - -2004-01-06 JP Rosevear <jpr@ximian.com> - - * gui/component/select-names/e-select-names-popup.c - (popup_info_cleanup): disconnect from selection-done signal - -2004-01-05 JP Rosevear <jpr@ximian.com> - - * gui/component/addressbook.c - (addressbook_show_load_error_dialog): these line breaks in the - error messages should actually be spaces - - Fixes #51732 - -2003-12-19 Hans Petter Jansson <hpj@ximian.com> - - * gui/component/addressbook-component.c (find_first_source): Impl. - from calendar. - (save_primary_selection): Implement, similar to calendar. - (load_primary_selection): Implement, similar to calendar. - (primary_source_selection_changed_callback): Save selection. - (impl_createControls): Load selection. - -2003-12-18 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/e-contact-editor.c (widget_changed): - editable -> target_editable - (e_contact_editor_get_property): Same. - (_email_arrow_pressed): Same. - (enable_writable_fields): Same. - (set_editable): Same. - (contact_added_cb): Make sure source book is editable before trying - to remove contact from there. - (e_contact_editor_init): Set up source/target editability. - (command_state_changed): Allow save only if target editable. Allow - delete only if source editable. - (e_contact_editor_set_property): Set editability flags for - source/target. - - * gui/contact-editor/e-contact-editor.h: Add source_editable, - target_editable flags in place of old editable flag. - -2003-12-17 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-view.c (eab_view_class_init): install - the "source" property. - (eab_view_init): init eav->source to NULL. - (eab_view_dispose): disconnect the ecml_changed_id and unref - source. - (eab_view_new): create the search bar here. - (view_preview): c&p the mailer's code mostly for this - this is - the toggle listener for the Preview Pane menuitem. - (setup_menus): add a listener for the ContactsViewPreview toggle. - (eab_view_set_property): sensitize the search bar based on whether - or not we have a book set. This makes it so you can't search - until the book is loaded. Also add handling for the "source" - attribute and print a warning when it's set multiple times - (something that's not supported at the moment.) - (eab_view_get_property): add "source" case. - (search_activated, query_changed, compare_subitems, make_subitems, - ecml_changed, get_master_list, connect_master_list_changed): move - this here from addressbook.c - (eab_view_show_contact_preview): implement - just show or hide the - scrolled window. - (eab_view_setup_menus): call e_search_bar_set_ui_component here, - kind of a hack. - - * gui/widgets/e-addressbook-view.h: make this inherit from GtkVBox - instead of GtkEventBox since we'll be packing children. Add a - prototype for eab_view_show_contact_preview. - - * gui/component/addressbook.c (get_current_view): return the - EABView associated with the active notebook page. - (save_contact_cb): use the current view. - (view_contact_cb): same. - (search_cb): same. - (delete_contact_cb): same. - (print_cb): same. - (print_preview_cb): same. - (stop_loading_cb): same. - (cut_contacts_cb): same. - (copy_contacts_cb): same. - (paste_contacts_cb): same. - (select_all_contacts_cb): same. - (send_contact_cb): same. - (send_contact_to_cb): same. - (copy_contact_to_cb): same. - (move_contact_to_cb): same. - (update_command_state): same. - (change_view_type): nuke, nothing uses this. - (control_activate): use the current view. - (control_activate_cb): same. - (source_list_changed_cb): new function, remove the notebook pages - (and destroy the EABView's) for sources that no longer exist. - (addressbook_view_clear): dispose of the uid_to_view hash. - (book_open_cb): store the ESource on the EABView too. this - function now takes a struct containing both EABView and ESource - since we can't store either in the AddressbookView. - (set_prop): if we have a view already for this uid, bring it up. - otherwise create a new one and start the book loading. - (addressbook_search_activated): nuked - this is being moved to - e-addressbook-view. - (addressbook_query_changed): same. - (compare_subitems, make_subitems, ecml_changed, - connect_master_list_changed): same. - (addressbook_new_control): simplify things a bunch. create a - notebook to store the views in. the search/vbox stuff is gone. - use e_source_list_new_for_gconf_default, and handle the source - list's "changed" signal. - -2003-12-17 Rodney Dawes <dobey@ximian.com> - - * gui/component/autocompletion-config.c: - (autocompletion_config_control_new): Embed Tree in GtkScrolledWindow - -2003-12-16 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/e-contact-editor.c (contact_added_cb): Update - the contact's UID after normal add. - -2003-12-16 Hans Petter Jansson <hpj@ximian.com> - - * gui/component/addressbook.c (addressbook_show_load_error_dialog): - Make a public function that shows an error dialog, which can be used - when a source fails to load. - (book_open_cb): Call addressbook_show_load_error_dialog () on error. - (set_prop): Don't reuse the book when loading a new source. This was - confusing the contact-editor, which gets the book passed in. - - * gui/contact-editor/e-contact-editor.c (e_contact_editor_class_init): - Make "source_book" and "target_book" distinct properties. - (new_target_cb): Implement. - (source_selected): Implement. - (contact_moved_cb): Implement. - (contact_added_cb): Handle the case where source_book != target_book as - a move - if the add was successful, remove contact from source book. - (save_contact): Handle case where source_book != target_book. - (delete_cb): "book" renamed to "source_book". - (e_contact_editor_init): Set up source_selected signal. - (e_contact_editor_dispose): Dispose of both source and target books. - (e_contact_editor_new): "book" renamed to "source_book". - (e_contact_editor_set_property): If a source book is set, and we don't - have a target book, make target_book == source_book. Allow setting - target book, and base editability on that. If we're editing an existing - contact, treat book change as a change, and update command state. - (e_contact_editor_get_property): Allow getting target book. - (set_source_field): Indicate the selected book. - -2003-12-16 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/e-contact-editor.c (set_source_field): Implement. - Makes the source menu reflect the source for the current book. - -2003-12-16 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/e-contact-editor.c - (e_contact_editor_create_source_option_menu): Implement. Creates - source selection option menu. - - * gui/contact-editor/contact-editor.glade: Add source selection custom - widget. - -2003-12-16 Hans Petter Jansson <hpj@ximian.com> - - * gui/widgets/e-addressbook-table-adapter.c - (addressbook_is_cell_editable): Disable cell editing. - -2003-12-15 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/e-contact-editor.c (address_to_text): Implement. - (text_to_address): Implement, using EAddressWestern. - (address_text_changed): Adapt to EContactAddress. - (full_addr_clicked): Ditto. Fix field IDs. - (e_contact_editor_init): Init address_choice. - (_email_arrow_pressed): Fix field IDs. - (_address_arrow_pressed): Adapt to EContactAddress and fix field IDs. - (find_address_mailing): Leave out for now. Addresses don't have flags - anymore... - (set_fields): Adapt to EContactAddress and fix field IDs. Make sure - changes to other widgets don't make us go back to the first listed - address. - (set_address_field): Adapt to EContactAddress and fix field IDs. - (enable_writable_fields): Ditto. - (fill_in_info): Disable find_address_mailing () for now. - -2003-12-10 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-editor/e-contact-editor-address.c - (e_contact_editor_address_class_init): Make "address" a boxed type. - (e_contact_editor_address_init): Set address to NULL. - (e_contact_editor_address_dispose): Free address. - (e_contact_editor_address_new): Take an EContactAddress. - (e_contact_editor_address_set_property): Re-implement setting the - address property. - (e_contact_editor_address_get_property): Ditto for getting. - (fill_in_info): Enable, use EContactAddress fields. - (extract_info): Ditto. - - * gui/contact-editor/e-contact-editor-address.h: - Re-enable the address field, as EContactAddress. - -2003-12-09 JP Rosevear <jpr@ximian.com> - - * gui/contact-list-editor/e-contact-list-editor.c (fill_in_info): - free email list properly - -2003-12-09 JP Rosevear <jpr@ximian.com> - - * gui/contact-list-editor/e-contact-list-editor.c (extract_info): - free the list, not unref it, and free the elements - - Fixes #51976 - -2003-12-06 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-manager.c - (open_book_cb): change prototype to fix warning, and change the - comment to read load_source instead of load_uri (which isn't what - we use anymore.) - (update_completion_books): just use our source list for this. - check the "completion" source property. - (source_list_changed): recreate the completion books. - (e_select_names_manager_init): connect to the source_list's - changed signal. - (e_select_names_manager_dispose): don't need to free the - completion_uids list anymore. - - * gui/component/select-names/e-select-names-config.c - (e_select_names_config_get_completion_books, - e_select_names_config_set_completion_books, - e_select_names_config_add_notification_completion_books): remove. - - * gui/component/select-names/e-select-names-config.h: remove the - completion books calls, since we can just use the source list. - - * gui/component/component-factory.c (factory): create the - autocompletion control. - - * gui/component/autocompletion-config.[ch]: new config control for - selecting completion folders. Uses e-source-selector. Could - probably be beautified a bit. - - * gui/component/Makefile.am (libevolution_addressbook_la_SOURCES): - add autocompletion-config.[ch] - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: remove - the ldap config control server, and add the autocompletion one. - -2003-12-06 JP Rosevear <jpr@ximian.com> - - * */Makefile.am: Remove hard coded disable deprecated flags - -2003-12-05 JP Rosevear <jpr@ximian.com> - - * gui/component/select-names/select-names.glade: no more custom - widget for the selection of the search source - - * gui/component/select-names/e-select-names.h: add member - - * gui/component/select-names/e-select-names.etspec: update model - column - - * gui/component/select-names/e-select-names.c (find_first_source): - find the first source in the list - (addressbook_model_set_source): we have the source to set directly - now - (source_selected): listen for the source item to change - (e_select_names_init): create a source option menu and hook it up - (e_select_names_dispose): destroy the source list - (e_select_names_new): do away with the config setup here - - * gui/component/select-names/e-select-names-manager.h: update - members - - * gui/component/select-names/e-select-names-manager.c - (update_completion_books): add books based on source uid - (config_completion_books_changed_cb): handle the completion list - changing - (config_min_query_length_changed_cb): handle minimum query length - changing - (e_select_names_manager_new): we don't do the settings stuff here - any more - (e_select_names_manager_init): do the initial set up here for the - book loaded and listen for changes - (e_select_names_manager_dispose): destroy the new stuff - - * gui/component/select-names/e-select-names-config.[hc]: config - information - - * gui/component/select-names/e-select-names-config-keys.h: the - config keys - - * gui/component/select-names/e-select-names-bonobo.c - (impl_SelectNames_activate_dialog): do away with the shell client - stuff - - * gui/component/select-names/Makefile.am: build new files - -2003-12-05 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-model.c (book_view_loaded): call - remove_book_view/free_data here as well, to guard against multiple - book_view's being loaded. - -2003-12-05 Hans Petter Jansson <hpj@ximian.com> - - * gui/widgets/e-addressbook-view.etspec: Clean up and sync with - current model columns. - -2003-12-04 Christian Hammond <chipx86@gnupdate.org> - - * addressbook/gui/contact-editor/e-contact-editor-im.[ch], - addressbook/gui/contact-editor/im.glade: Added a dialog for - adding a new IM account. - * addressbook/gui/contact-editor/Makefile.am: Added the previously - mentioned files, and depend on camel for necessary MIME parsing. - - * addressbook/gui/contact-editor/contact-editor.[ch], - addressbook/gui/contact-editor/contact-editor.glade: Add and implement - the Instant Messaging tab. - -2003-12-03 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook.c - (retrieve_shell_view_interface_from_control): Remove. - (set_folder_bar_label): Remove. - (addressbook_new_control): Don't connect. - -2003-12-03 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-config.c: Do not depend on - e-folder-list. - - * gui/component/select-names/e-select-names.c: Remove dependency - on evolution-folder-selector-button. - (e_addressbook_create_folder_selector): Just return a FIXME label - for now. - (folder_selected): #if 0 out. - (e_select_names_init): Do not connect. - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_manager_activate_dialog): Don't get a shell_client - arg anymore. - (load_completion_books): Stub out. - - * gui/component/select-names/e-select-names.c - (e_select_names_new): Don't get an EvolutionShellClient anymore. - Don't create the folder selector button for now. - - * gui/component/select-names/e-select-names.h: Remove dependency - on evolution-shell-client. - - * gui/component/select-names/e-select-names-bonobo.c: Remove - dependency on evolution-shell-client. - (impl_SelectNames_activate_dialog): Stub out. - - * gui/widgets/eab-gui-util.c: Remove dependency on - evolution-shell-client. - (eab_transfer_contacts): Stub out. - -2003-12-02 Rodney Dawes <dobey@ximian.com> - - * gui/component/Makefile.am: Version the schemas - * gui/component/apps_evolution_addressbook.schemas: Removed - * gui/component/apps_evolution_addressbook.schemas.in.in: Added - -2003-12-02 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook.c (set_status_message): Call - e_activity_handler_operation_finished() on the current activity ID - when done. - -2003-12-01 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook.c (struct AddressbookView): Replace - activity_client with activity_id. - (set_status_message): Use the EActivityHandler from the - AddressbookComponent. - - * gui/component/addressbook-component.c (struct - _AddressbookComponentPrivate): New member activity_handler. - (addressbook_component_init): Init. - (impl_dispose): Unref. - (addressbook_component_peek_activity_handler): New. - (impl_createControls): Return an ETaskBar as the statusbar control - and attach it to the activity handler. - -2003-12-01 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-component.c (impl_createControls): - Pass a label for the status bar control for now. - -2003-12-01 Larry Ewing <lewing@ximian.com> - - * gui/component/Makefile.am (INCLUDES): remove - GTK_DISABLED_DEPRECATED so that we can build with gtk-2.3. - -2003-12-01 Rodney Dawes <dobey@ximian.com> - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: - * gui/component/addressbook-config.c: - * gui/component/addressbook.c: - * gui/component/component-factory.c: - * gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in: - * gui/component/select-names/e-select-names-bonobo.c: - * gui/component/select-names/e-select-names-factory.c: - * gui/widgets/eab-gui-util.c: - * gui/widgets/eab-vcard-control.c: Use BASE_VERSION for repo_ids and - OAFIIDs - -2003-12-01 Hans Petter Jansson <hpj@ximian.com> - - * gui/component/ldap-config.glade: Fix start page text. - -2003-12-01 JP Rosevear <jpr@ximian.com> - - * conduit/Makefile.am: use privconduitdir - - * conduit/e-address.conduit.in: subst right thing - -2003-12-01 JP Rosevear <jpr@ximian.com> - - * conduit/e-address.conduit.in: specify privlibdir as the location - - * conduit/Makefile.am: install the conduit to privlibdir - -2003-12-01 JP Rosvear <jpr@ximian.com> - - * conduit/Makefile.am: version the .conduit file - -2003-12-01 Hans Petter Jansson <hpj@ximian.com> - - * gui/component/new-addressbook.glade: Remove this too. - - * gui/component/Makefile.am (glade_DATA): Remove new-addressbook.glade. - -2003-12-01 Hans Petter Jansson <hpj@ximian.com> - - * gui/component/Makefile.am (libevolution_addressbook_la_SOURCES): - Remove addressbook-storage.[ch] and new-addressbook.[ch]. - - * gui/component/addressbook-storage.[ch]: Removed from repository. - - * gui/component/new-addressbook.[ch]: Removed from repository. - - * gui/component/addressbook-component.c (load_uri_for_selection): - Set source_uid property on view control, not folder_uri. - (new_addressbook_cb): Call addressbook_config_create_new_source (). - (edit_addressbook_cb): Implement. - (fill_popup_menu_callback): Hook up edit_addressbook_cb (). - (addressbook_component_init): Create the LDAP source group. - - * gui/component/addressbook-config.c (AddressbookSourceDialog): - Take out the NEW_ADVANCED_UI stuff and add ESource related vars. - (ldap_unparse_auth) - (ldap_parse_auth) - (ldap_unparse_scope) - (ldap_unparse_ssl) - (ldap_parse_ssl): Moved here from addressbook-storage.c. - (addressbook_dialog_get_source) - (addressbook_dialog_set_source) - (objectclasses_create_server_table) - (objectclasses_create_evolution_table) - (objectclasses_add_foreach) - (objectclasses_add) - (objectclasses_sever_double_click) - (objectclasses_remove_foreach) - (objectclasses_remove) - (objectclasses_evolution_double_click) - (objectclasses_restore_default) - (server_selection_model_changed) - (evolution_selection_model_changed) - (setup_objectclasses_tab): Nuke aging, unfinished NEW_ADVANCED_UI. - (add_source_clicked) - (edit_source_clicked) - (delete_server) - (delete_source_clicked) - (ldap_config_control_destroy_callback) - (ldap_config_control_apply_callback) - (sources_selection_changed) - (sources_table_row_activated) - (ldap_dialog_new) - (addressbook_dialog_create_sources_table) - (ldap_config_control_new) - (addressbook_config_control_new): Nuke config control. - (create_source_dir) - (dialog_to_source) - (dialog_to_temp_source) - (source_to_uri_parts) - (source_to_dialog) - (source_group_changed_cb) - (source_group_menu_add_groups) - (folder_page_forward) - (finish_page_back): Implement. - (addressbook_ldap_init): Take ESource instead of AddressbookSource. - (addressbook_ldap_auth): Don't take a source, not needed. - (addressbook_root_dse_query): Ditto. - (addressbook_source_dialog_destroy): Clean up destroy function. - (addressbook_add_server_druid_finish): Clean up, create ESource. - (general_tab_check): If it's not LDAP, these options don't matter. - (do_ldap_root_dse_query): Source no longer needed here. - (query_for_supported_bases): Use a temp source generated from - current dialog settings. - (display_name_page_prepare): Renamed to folder_page_prepare (). - (druid_display_name_page_modify_cb): Renamed to - druid_folder_page_modify_cb (). - (addressbook_add_server_druid): Set up source list, group selector. - Make LDAP pages optional, dependent on selected group. Use ESource. - (edit_dialog_store_change): Remove config control list stuff, - export settings to ESource. - (addressbook_edit_server_dialog): Renamed to - addressbook_config_edit_source (), which takes an ESource. Remove - config control list stuff, make LDAP pages show up only if we have - an LDAP source. Remove NEW_ADVANCED_UI cruft. - (addressbook_config_create_new_source): Just call - addressbook_add_server_druid (). - - * gui/component/addressbook-config.h: Move LDAP enums here, from - addressbook-storage.h. - - * gui/component/addressbook.c (control_activate_cb): uri -> source - (addressbook_view_clear): Unref source list. - (book_open_cb): Use ESource. - (load_uri_auth_cb): Renamed to load_source_auth_cb (), manipulate - ESource instead of URI. - (get_remember_password): Implement. - (set_remember_password): Implement. - (addressbook_authenticate): Use ESource properties. - (load_uri_cb): Renamed to load_source_cb (), ESource adaptation. - (addressbook_load_uri): Renamed to addressbook_load_source (), takes - ESource. - (addressbook_load_default_book): ESource adaptation. - (get_prop): folder_uri property -> source_uid property. - (set_prop): folder_uri property -> source_uid property. Find ESource - by UID. - (addressbook_new_control): Set up source_uid property and ESourceList. - - * gui/component/component-factory.c (factory): Disable config control. - - * gui/component/ldap-config.glade: Druid and notebook dialogs - generalized to deal with local sources as well as LDAP. This file - should probably be renamed... - - * gui/component/select-names/e-select-names-manager.c - (load_completion_books): Use addressbook_load_source (). However, this - needs a bit more work to get source UIDs instead of URIs. - - * gui/component/select-names/e-select-names.c - (addressbook_model_set_uri): Use addressbook_load_source (). However, - this needs a bit more work to get source UIDs instead of URIs. - -2003-11-26 JP Rosevear <jpr@ximian.com> - - * gui/widgets/Makefile.am: turn on deprecated gtk and libgnomeui - stuff - - * gui/component/select-names/Makefile.am: turn on deprecated gtk - stuff - - * gui/contact-editor/Makefile.am: ditto - -2003-11-17 Hans Petter Jansson <hpj@ximian.com> - - * gui/component/addressbook-component.c (impl_createControls): Store - a ref to the source selector. - (impl_requestCreateItem): Implement. - (impl_dispose): Unref the source selector. - (addressbook_component_init): Set up default sources. - - * gui/widgets/e-addressbook-model.c (eab_model_set_property): If - the 'book' property is set, and editability changes, emit a signal - to that effect. - -2003-11-14 JP Rosevear <jpr@ximian.com> - - * gui/component/new-addressbook.c: include e-source from e-d-s - -2003-11-13 Hans Petter Jansson <hpj@ximian.com> - - * gui/contact-list-editor/e-contact-list-model.c - (contact_list_is_cell_editable): Return TRUE for all cells, for now. - - * gui/widgets/e-addressbook-table-adapter.c (card_modified_cb): - Renamed to contact_modified_cb (). - (addressbook_set_value_at): Port to use EContact instead of ECard. - (addressbook_is_cell_editable): Ditto. - (addressbook_append_row): Ditto. - - * gui/widgets/e-minicard-label.c (e_minicard_label_set_property): - Make not editable, ever, and add a comment to this effect. - (e_minicard_label_realize): Ditto. - - * gui/widgets/e-minicard.c (e_minicard_set_property): Ditto. - (add_field): Ditto. - -2003-11-13 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-component.c - (impl__get_userCreatableItems): New, implementation for the - userCreatableItems property. - (impl_requestCreateItem): New, implementation for the - requestCreateItem method. - (addressbook_component_class_init): Install. - -2003-11-12 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: Add - component_alias of "contacts". - -2003-11-08 Hans Petter Jansson <hpj@ximian.com> - - * gui/component/Makefile.am (libevolution_addressbook_la_SOURCES): - Add new-addressbook.[ch]. - (glade_DATA): Add new-addressbook.glade. - - * gui/component/addressbook-component.c (add_popup_menu_item): - Implement. - (new_addressbook_cb): Implement. - (delete_addressbook_cb): Implement (skeletal). - (fill_popup_menu_callback): Implement. - (impl_createControls): Hook up fill_popup_menu_callback(). - - * gui/component/new-addressbook.[ch]: New files. - - * gui/component/new-addressbook.glade: New file. - -2003-11-07 Dan Winship <danw@ximian.com> - - * util/Makefile.am (INCLUDES): Remove some includes of directories - that don't exist any more - -2003-11-07 JP Rosevear <jpr@ximian.com> - - * gui/contact-editor/Makefile.am: don't include the c marshaller - file twice - - * gui/widgets/Makefile.am: ditto - -2003-11-07 JP Rosevear <jpr@ximian.com> - - * gui/widgets/Makefile.am: make sure the marshal header is in the - source list - - * gui/component/select-names/Makefile.am: ditto - - * gui/contact-editor/Makefile.am: ditto - - * gui/contact-list-editor/Makefile.am: ditto - -2003-11-07 JP Rosevear <jpr@ximian.com> - - * util/Makefile.am: dist the marshal list - -2003-11-07 JP Rosevear <jpr@ximian.com> - - * gui/widgets/e-addressbook-view.c (change_view_type): don't - destroy the widget here - its dead when removed from the paned - container - -2003-11-07 JP Rosevear <jpr@ximian.com> - - * In the gui this is a search and replace commit for moving the - addressbook to evolution-data-server; it also deletes the old - backend files - -2003-11-05 Larry Ewing <lewing@ximian.com> - - * gui/widgets/e-addressbook-view.c (create_minicard_view): fix cast. - -2003-11-03 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/select-names/e-select-names-factory.c: Update - factory ID. - - * gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in: - Version the SelectNames server IDs by appending a "_2". - -2003-11-03 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: Change - "evolution:config_item" into "evolution2:config_item". - -2003-10-29 Chris Toshok <toshok@ximian.com> - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: add the - S/MIME config control here. - -2003-10-29 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-book-listener.c (e_book_listener_new): change - the poa hint to PER_REQUEST. fixes a couple of deadlocks. - -2003-10-29 Chris Toshok <toshok@ximian.com> - - * gui/component/component-factory.c (factory): ifdef the smime - code with HAVE_NSS. - - * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): - conditionally include libevolution-smime.la. - -2003-10-24 Dan Winship <danw@ximian.com> - - * backend/pas/Makefile.am (libpas_la_LIBADD): libpas should depend - on libebook, but NOT on libpasfile, etc, since it needs to be - linked into all backends, not just the wombat. - (libpasfile_la_LIBADD): depend on libpas.la and libedb3util.la - (libpasvcf_la_LIBADD): depend on libpas.la - (libpasldap_la_LIBADD): depend on libpas.la and $(LDAP_LIBS) - -2003-10-23 Dan Winship <danw@ximian.com> - - * backend/ebook/e-contact.c (e_contact_date_equal): new util func - - * backend/pas/pas-backend-ldap.c (anniversary_compare, - birthday_compare): Use it - - * backend/pas/pas-backend-summary.c - (pas_backend_summary_check_contact): Check if an ID exists in the - summary. - -2003-10-23 Chris Toshok <toshok@ximian.com> - - * tools/Makefile.am: convert 8 spaces to a tab. - - * tools/.cvsignore: ignore evolution-addressbook-abuse and - evolution-addressbook-clean. - - * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): - add libevolution-smime.la. - - * gui/component/component-factory.c (factory): add the certificate - manager config control stuff here, at least for now. - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: same. - -2003-10-23 Rodrigo Moya <rodrigo@ximian.com> - - * gui/component/addressbook-config.c - (addressbook_dialog_create_source_table): fixed typo in variable name. - -2003-10-22 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: Add an - "evolution:button_icon" attribute. - -2003-10-22 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: Add an - "evolution:button_sort_order" property. - -2003-10-22 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-component.c (impl_createControls): - Make the the scrolled window have an "in" shadow. - * gui/component/addressbook-config.c - (addressbook_dialog_create_sources_table): Likewise. - * gui/widgets/e-addressbook-view.c (create_minicard_view): Likewise. - (create_treeview_view): Likewise. - -2003-10-22 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-component.c (impl_createControls): Set - the GtkScrolledWindow scrollbar policy to "automatic" for both the - horizontal and the vertical scrollbar. - -2003-10-22 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: Add an - "evolution:button_label" property on the component for use in the - shell. - -2003-10-21 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c: make it work with the new ebook api - - * backend/pas/pas-book.c (pas_book_respond_get_changes): put the - vcard in for every change - - * backend/pas/pas-backend.c (pas_backend_change_add_new): just use - the vcard field - (pas_backend_change_modify_new): ditto - (pas_backend_change_delete_new): ditto - - * backend/pas/pas-backend-file.c - (pas_backend_file_changes_foreach_key): create a fake contact with - the uid - (pas_backend_file_get_changes): add the card to the changes - - * backend/ebook/tests/ebook/test-changes.c (main): just print the - uid - - * backend/ebook/e-book.c (e_book_free_change_list): unref the - contact - - * backend/ebook/e-book-types.h: the change struct contains an - EContact now - - * backend/ebook/e-book-listener.c - (impl_BookListener_respond_get_changes): create the contact from - the vcard string - - * backend/idl/addressbook.idl: Book change item is no longer a - union, it always gives back a card - -2003-10-21 Chris Toshok <toshok@ximian.com> - - * tools/evolution-addressbook-abuse.c: use the synchronous api for - this. simplifies it a bunch. - -2003-10-21 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-book.c - (impl_GNOME_Evolution_Addressbook_Book_remove): we can ill afford - bad debug spew. - (view_listener_died_cb): implement. - (impl_GNOME_Evolution_Addressbook_Book_getBookView): hook up an - ORBit_small connection listener on the view's listener. - (pas_book_respond_create): use e_contact_get_const instead of - e_contact_get here. fixes a leak. - - * backend/pas/pas-book-view.c - (impl_GNOME_Evolution_Addressbook_BookView_stop): implement, call - pas_backend_stop_book_view. - (pas_book_view_get_listener): return the book view's listener. - (pas_book_view_class_init): fill in epv->stop. - (pas_book_view_init): use a #define for THRESHOLD_MAX instead of - the constant. - - * backend/pas/pas-book-view.h: add prototype for - pas_book_view_get_listener. - - * backend/pas/pas-backend.c (pas_backend_stop_book_view): - implement. - (pas_backend_remove_book_view): implement. - - * backend/pas/pas-backend.h: add prototype for stop_book_view and - remove_book_view. - - * backend/pas/pas-backend-vcf.c (load_file): pass in the fd and - use fdopen here. - (foreach_build_list): don't creat EContacts here, because we'll - just be converting them back to vcards anyway. - (save_file): use char*'s instead of EContacts, and split entries - with 2 blank lines. Also, hold the lock over the entire function. - (do_create): hold the lock around uid generation and touching the - hash table. - (pas_backend_vcf_process_remove_contacts): same. - (pas_backend_vcf_process_modify_contact): same. - (pas_backend_vcf_stop_book_view): new function, but leave - unimplemented for now. - (pas_backend_vcf_load_uri): the uri contains the directory name, - not the filename. - (pas_backend_vcf_dispose): grab the lock here just for sanity's - sake. Also reorder things a bit, and free the hashtable and - mutex. - (pas_backend_vcf_init): init the mutex. - - * backend/pas/pas-backend-summary.c - (pas_backend_summary_add_contact): don't unref the contact here. - - * backend/pas/pas-backend-ldap.c - (pas_backend_ldap_process_stop_book_view): new function, but leave - unimplemented for now. - - * backend/pas/pas-backend-file.c (build_summary): use an EContact - for this call. - (do_summary_query): nuke, the contents of this has been moved to - start_book_view. - (pas_backend_file_search_timeout): same. - (pas_backend_file_search): same. - (pas_backend_file_start_book_view): glom everything into here - involving searching. This function could (and should) be renamed - and reused from both this function and _get_contact_list. - (pas_backend_file_stop_book_view): new function. - (pas_backend_file_class_init): fill in backend->stop_book_view. - - * backend/pas/Makefile.am (LDAP_BACKEND): libpasldap.a -> - libpasldap.la - (noinst_LTLIBRARIES): *.a -> *.la. - (libpas_la_SOURCES): same. - (libpasfile_la_SOURCES): same. - (libpasvcf_la_SOURCES): same. - (libpasldap_la_SOURCES): same. - - * backend/idl/addressbook.idl: add BookView::stop. - - * backend/ebook/e-vcard.c (read_attribute_value): fix GString - related leaks. - (read_attribute_params): same. - (parse): don't leak the EVCardAttributes corresponding to - BEGIN/END:vCard. - (free_gstring): new function - (e_vcard_attribute_remove_values): free the decoded_values list, - using free_gstring. - - * backend/ebook/e-book.c (e_book_response_get_book_view): ref the - listener here. - - * backend/ebook/e-book-view.h: add prototype for e_book_view_stop. - - * backend/ebook/e-book-view.c (e_book_view_stop): new function. - - * backend/ebook/e-book-async.c (_get_book_view_response_dtor): - unref the book view. - -2003-10-20 Dan Winship <danw@ximian.com> - - * backend/pas/pas-book-view.c: Queue up removes and modifies as - well as adds, and remove the calls that took a list of changes - rather than a single change, since no one was really using the - list versions. Keep a list of IDs currently in the view so we can - more easily figure out what changes count as adds, modifies, and - removes. - (send_pending_adds): Don't reset next_threshold if it's being - called from notify_add. - (send_pending_changes, send_pending_removes): New - (pas_book_view_notify_update): Simplified add/change interface. - Takes an EContact and figures out if it's new, modified, or - removed relative to this view. - (pas_book_view_notify_change, pas_book_view_notify_change_1, - pas_book_view_notify_add, pas_book_view_notify_add_1): Gone. - (pas_book_view_notify_remove): Now does what remove_1 used to do. - (pas_book_view_vcard_matches): Remove this; no longer used. - - * backend/pas/pas-backend.c (pas_backend_notify_update): New. - Calls pas_book_view_notify_update() on each of the backend's views. - (pas_backend_notify_remove): Likewise for notify_remove(). - (pas_backend_notify_complete): And notify_complete(). - - * backend/pas/pas-book.c (pas_book_respond_create): Take an - EContact instead of an id and a vcard. Use - pas_backend_notify_update. - (pas_book_respond_remove_contacts): Use pas_backend_notify_remove. - (pas_book_respond_modify): Take a single EContact instead of two - vcards. Use pas_backend_notify_update. - - * backend/pas/pas-backend-sync.c - (pas_backend_sync_create_contact): Return an EContact rather than - an id. - (pas_backend_sync_modify_contact): Return an EContact rather than - the old_vcard. - (_pas_backend_create_contact, _pas_backend_modify_contact): Update - - * backend/pas/pas-backend-file.c (do_summary_query): Use - pas_book_view_notify_update. - (pas_backend_file_search_timeout): Likewise - (pas_backend_file_create_contact): Update for API changes - (pas_backend_file_modify_contact): Likewise. - - * backend/pas/pas-backend-ldap.c (create_contact_handler, - pas_backend_ldap_process_create_contact): Update for API changes - (modify_contact_modify_handler, modify_contact_search_handler, - pas_backend_ldap_process_modify_contact): Likewise - (ldap_search_handler): Use pas_book_view_notify_update - - * backend/pas/pas-backend-vcf.c (foreach_search_compare): Use - pas_book_view_notify_update. - (pas_backend_vcf_process_create_contact): Update for API changes - (pas_backend_vcf_process_modify_contact): Likewise - - * backend/pas/pas-backend-summary.c - (pas_backend_summary_add_contact): Take an EContact instead of a - const char *vcard. - - * backend/ebook/e-contact.c (photo_getter): s/malloc/g_malloc/ - -2003-10-20 JP Rosevear <jpr@ximian.com> - - * backend/pas/pas-backend-vcf.c (pas_backend_vcf_search): compiler - with non-c99 compilers - -2003-10-17 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-contact.c (fn_getter): new function, just return - the full name value. - (fn_setter): rather distasteful hack. set the N attribute if it's - not already present. - (n_setter): set the X-EVOLUTION-FILE-AS attribute if it's not - already set. - - * backend/pas/pas-backend-ldap.c (prop_info): add PROP_WRITE_ONLY - flag for properties (right now just 'sn') that we don't want to - use when building the EContact - we only use it when storing the - contact out to the ldap server. - (build_contact_from_entry): skip WRITE_ONLY properties. - -2003-10-17 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-view.c (init_collection): add the - minicard factory back in. - (display_view): add the minicard case back in. - (get_selection_model): same. - (minicard_right_click): resurrect. - (create_minicard_view): same. - (change_view_type): add the minicard case back in. - (eab_view_print): same. - (eab_view_print_preview): same. - - * gui/widgets/e-addressbook-view.h (EABViewType): add MINICARD - back in. - - * gui/widgets/e-addressbook-model.c (eab_model_new): - E_TYPE_AB_MODEL -> EAB_TYPE_MODEL. - - * gui/widgets/e-addressbook-model.h: rename E_TYPE_AB_MODEL to - EAB_TYPE_MODEL. - - * gui/widgets/Makefile.am (libeabwidgets_la_SOURCES): add the - minicard stuff back into the build. - - * gui/widgets/e-addressbook-reflow-adapter.[ch], - gui/widgets/e-minicard-label.[ch], - gui/widgets/e-minicard-view-widget.[ch], - gui/widgets/e-minicard-view.[ch], gui/widgets/e-minicard.[ch], - gui/widgets/gal-view-factory-minicard.[ch], gal-view-minicard.h: - resurrect the minicard stuff, in a new uneditable, - EContact-friendly state. no in-place editing anymore. - - -2003-10-10 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-editor.c (fill_in_info): un-ifdef - the date handling code. - (extract_info): same. - - * backend/pas/pas-backend-ldap.c (prop_info): add the address - labels and dates to the build. - (anniversary_populate): un-ifdef and get this working. - (anniversary_ber): same. - (anniversary_compare): same. - (birthday_populate): same. - (birthday_ber): same. - (birthday_compare): same. - - * backend/ebook/tests/ebook/.cvsignore, - backend/ebook/tests/ebook/Makefile.am - backend/ebook/tests/ebook/test-date.c: add a test for EContactDate - getting/setting. - - * backend/ebook/e-vcard.h: add EVC_BDAY. - - * backend/ebook/e-contact.h: add prototypes for the - e_contact_date_* functions. - - * backend/ebook/e-contact.c (field_info): add - BIRTH_DATE/ANNIVERSARY fields. - (date_getter): new - (date_setter): new - (e_contact_date_new): new - (e_contact_date_from_string): new - (e_contact_date_to_string): new - (e_contact_date_free): new - -2003-10-10 Not Zed <NotZed@Ximian.com> - - * - gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in: - Use the main factory on the .so file, so it can be found. - -2003-10-08 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names.c (contact_key): add a - descriptive comment about this "#if notyet". - - * gui/component/select-names/e-select-names-model.h - (e_select_names_model_thaw): add prorotype for - e_select_names_model_cancel_all_contact_load. - - * gui/component/select-names/e-select-names-bonobo.c - (_EntryPropertyID): remove the SIMPLE_CARD_LIST property. - (entry_get_property_fn): same. - (impl_SelectNames_get_entry_for_section): same. - - * backend/ebook/e-contact.h: add prototype for - e_contact_name_to_string. - -2003-10-07 Chris Toshok <toshok@ximian.com> - - * util/eab-book-util.c: remove a bunch of ifdef'ed code (that's - going to be living in e-book.c) - - * backend/pas/pas-backend-summary.c - (pas_backend_summary_add_contact): un-ifdef some code. - (pas_backend_summary_get_summary_vcard): same. - - * backend/pas/pas-backend-ldap.c (prop_info): remove the - query_prop field since we can get it from e_contact_field_name. - also remove it from all the macros and their uses. - (homephone_populate): un-ifdef. - (homephone_ber): same. - (homephone_compare): same. - (business_populate): same. - (business_ber): same. - (business_compare): same. - (query_prop_to_ldap): use e_contact_field_name to get the query - prop for a given attribute. - (add_oc_attributes_to_supported_fields): same. - - * backend/pas/pas-backend-card-sexp.c (compare_phone): use the new - EContactField constants to iterate over the phone list. - - * backend/ebook/e-contact.h (EContactField): add some useful - constants for those pieces of code that iterate over - email/phones/addresses. - -2003-10-07 Chris Toshok <toshok@ximian.com> - - * gui/widgets/eab-vcard-control.c (book_open_cb): un-ifdef this. - (eab_vcard_control_new): put the buttons above the vcard so they - don't move when it's expanded. - - * gui/widgets/eab-popup-control.h: remove prototypes for - eab_popup_control_set_name and eab_popup_control_set_email. - - * gui/widgets/eab-popup-control.c (email_table_ok_cb): remove the - stupid idle function and do the work here. - (eab_popup_control_set_name): make this static - noone uses it. - (eab_popup_control_set_email): same. - - * gui/widgets/eab-gui-util.c (eab_show_contact_editor): - e_contact_editor_new is what we use for the time being. - - * gui/widgets/eab-contact-display.c (render_string): abstract this - code out. - (render_url): same. - (eab_contact_display_render_normal): make use of render_string and - render_url. - - * gui/widgets/e-addressbook-view.c (delete): un-ifdef this and get - it working. - (selection_received): same. - - * gui/widgets/e-addressbook-model.c (get_view): nuke some code - that was moved to another function. - (eab_model_set_property): get the writable state when we set the - book - don't rely on the timing of signals. - - * gui/contact/editor/contact-editor.glade: add the blog field - below the homepage url field. - - * gui/contact/editor/e-contact-editor-address.[ch]: get this - building with the new stuff. - - * gui/contact/editor/e-contact-editor-fullname.[ch]: get this - building with the new stuff. - - * gui/contact-editor/e-contact-editor.[ch]: get this most of the - way there. - - * gui/contact-editor/e-contact-quick-add.[ch]: get this building - with the new stuff. - - * gui/contact-editor/Makefile.am (libecontacteditor_la_SOURCES): - remove e-contact-save-as.[ch]. They're in - addressbook/widgets/eab-gui-util.[ch] now. - - * gui/merging/Makefile.am: track all the naming changes. - - * gui/merging/*.glade: gratuitous renaming. - - * gui/merging/eab-contact-compare.[ch]: gratuitous renaming, and - move this from the old ebook/ - - * gui/merging/eab-contact-merging.[ch]: gratuitous renaming. - - * backend/ebook/e-contact.[ch]: lots of overly complicated changes - for an overly complicated piece of code. - - * backend/ebook/e-book-view.c (e_book_view_do_added_event): remove - some ifdef'ed code. - (e_book_view_do_modified_event): same. - - * backend/ebook/e-vcard.c (parse): plug a memory leak. - (escape_string): deal with @s being NULL. - (e_vcard_remove_attribute): new function. - (e_vcard_attribute_remove_params): same. - (e_vcard_attribute_param_free): same. - (e_vcard_attribute_param_remove_values): same. - - * backend/ebook/e-vcard.h: add prototypes for - e_vcard_remove_attribute, e_vcard_attribute_remove_params, and - e_vcard_attribute_param_remove_values. - - * backend/ebook/e-book.c (e_book_handle_response): cache the - writable state of the ebook before generating the signal. - (e_book_unload_uri): initialize cap to NULL and writable to FALSE. - - * backend/ebook/e-book.h: add prototype for e_book_is_writable. - - * backend/ebook/e-book-async.c (_get_fields_response_handler): - don't call the callback if it's NULL. - (_get_methods_response_handler): same. - (_auth_user_response_handler): same. - (_get_contact_response_handler): same. - (_remove_contacts_response_handler): same. - (_add_contact_response_handler): same. - (_commit_contact_response_handler): same. - (_get_book_view_response_handler): same. - (_get_contacts_response_handler): same. - (_remove_contacts_dtor): free the list. - (e_book_async_remove_contacts): duplicate the list. - - * backend/pas/pas-backend.c (pas_backend_open): if we successfully - load the uri, report the writable status back. - - * backend/pas/pas-backend-sync.c (_pas_backend_remove_contacts): - free the list of ids. - - * backend/pas/pas-backend-file.c (do_create): return the contact - we create here. - (pas_backend_file_create_contact): format the newly created - contact as a string to add to the summary. - (pas_backend_file_remove_contacts): don't free the list of removed - cards here - it happens in pas-backend-sync. - (pas_backend_file_load_uri): pass NULL for @contact to do_create. - -2003-10-01 Chris Toshok <toshok@ximian.com> - - * gui/widgets/eab-contact-display.c (render_address): move the :'s - inside the <b>'s. Thanks for pointing this out, guenther. :) - (eab_contact_display_render_normal): same. - (eab_contact_display_render_compact): same. - - * gui/widgets/eab-vcard-control.c (save_in_addressbook): track - change to address_load_default_book. - -2003-10-01 Chris Toshok <toshok@ximian.com> - - * gui/component/Makefile.am: remove some commented out crap about - e-address-popup.[ch]. - - * gui/component/component-factory.c (factory): use - eab_popup_control_new for the AddressPopup iid. - - * gui/widgets/Makefile.am (libeabwidgets_la_SOURCES): add - eab-popup-control.[ch]. - - * backend/ebook/e-book.c (e_book_get_default_addressbook): hack - this so it at least sorta works - hardcode the - ~/evolution/local/Contacts uri for now. - - * gui/component/addressbook.[ch] (addressbook_load_default_book): - remove the EBook argument, and call - e_book_async_get_default_addressbook. - - * gui/component/e-address-popup.[ch]: nuke. - - * gui/widgets/eab-popup-control.c: rename - gui/component/e-address-popup.c to this. - - * gui/widgets/eab-popup-control.h: rename - gui/component/e-address-popup.h to this. - - * backend/ebook/e-book-async.h: add prototype for - e_book_async_get_default_addressbook. - - * backend/ebook/e-book-async.c - (e_book_async_get_default_addressbook): new function. - -2003-10-01 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-view.c (eab_view_new): create the - scrolled window to embed the EABContactDisplay widget inside of. - - * gui/widgets/e-addressbook-view.h (struct _EABView): add scrolled; - - * gui/widgets/eab-contact-display.h: add - EABContactDisplayRenderMode enum, and add @render_mode arg to - eab_contact_display_render. - - * gui/widgets/eab-contact-display.c - (eab_contact_display_render_compact): new function, render a - compact format suitable for inclusion in the mail display. - (eab_contact_display_render_normal): move the previouw contents of - eab_contact_display_render here. - (eab_contact_display_render): render in either compact or normal - mode depending on @mode. - (eab_contact_display_new): remove the scrolled window stuff from - here, as in the compact mode we don't want it present. push it up - into the e-addressbook-view.c code. - - * gui/widgets/eab-vcard-control.[ch]: bonobo control that wraps up - the EABContactDisplay stuff and lets us display vcards in a pretty - format in mail messages. - - * gui/component/component-factory.c (factory): replace the #if - notyet'ed minicard control code with the new vcard control. - - * gui/component/Makefile.am (INCLUDES): remove gui/minicard. - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: remove - the MiniCard_Control iid, and replace it with VCard_Control. - -2003-10-01 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-component.c - (destination_folder_handle_drop): use - eab_contact_list_from_string, and un-"#if notyet" this. - - * gui/component/addressbook.c: remove #include - "e-contact-save-as.h" - - * gui/contact-list-editor/e-contact-list-editor.c - (file_save_as_cb): use eab_contact_save. - (file_send_as_cb): use eab_send_contact, un-"#if notyet" this. - (file_send_to_cb): same. - (table_drag_data_received_cb): use eab_contact_list_from_string. - - * gui/widgets/e-addressbook-reflow-adapter.[ch]: nuke. last - vestiges of the minicard view. - - * gui/widgets/e-addressbook-view.c (eab_view_init): - s/clipboard_cards/cliboard_contacts. - (eab_view_dispose): same. - (get_contact_list_1): s/card/contact - (get_contact_list): same. - (save_as): same, and use eab_contact_list_save. - (send_as): reenable this code, s/card/contact, and use - eab_send_contact_list. - (send_to): same. - (print): s/card/contact. - (delete): same. - (new_card): same, and un-"#if notyet" some code. - (selection_get): use eab_contact_list_to_string. - (selection_clear_event): s/card/contact - (selection_received): same. - (get_selected_contacts): same. - (eab_view_save_as): same, and use eab_contact_list_save. - (eab_view_view): same, and use eab_show_multiple_contacts. - (eab_view_send): reenable this code, s/card/contact, and use - eab_send_contact_list. - (eab_view_send_to): same. - (eab_view_copy): s/card/contact. - (view_transfer_contacts): same. - (eab_view_copy_to_folder): same. - (eab_view_move_to_folder): same. - - * gui/widgets/e-addressbook-view.h (struct _EABView): rename - clipboard_cards to clipboard_contacts. - - * gui/widgets/eab-gui-util.c (view_contacts): un-"#if notyet" - (file_exists): moved from e-contact-save-as.c - (save_it): same. - (close_it): same. - (destroy_it): same. - (make_safe_filename): same. - (eab_contact_save): same, and renamed from e_contact_save_as. - (eab_contact_list_save): same, and renamed from - e_contact_list_save_as. - (contact_deleted_cb): s/card/contact. - (do_delete): same, and use e_book_async. - (delete_contacts): s/card/contact. - (process_unref): same. - (contact_added_cb): same. - (do_copy): same, and use e_book_async. - (got_book_cb): same. - (eab_transfer_contacts): same, and use e_book_async. - (eab_send_contact_list): s/card/contact - (eab_send_contact): same. - - * gui/widgets/eab-gui-util.h: some random s/card/contact work, and - move the contents of e-contact-save-as.h here. - - * util/eab-book-util.c (eab_contact_list_from_string): rename - eab_load_contacts_from_string to this. - (eab_contact_list_to_string): new function. - - * util/eab-book-util.h: add prototype for - eab_contact_list_to_string, and rename - eab_load_contacts_from_string to eab_contact_list_from_string. - - * gui/contact-editor/e-contact-save-as.[ch]: nuke. the contents - of these files has been wrapped up in - gui/widgets/eab-gui-util.[ch]. - -2003-09-30 Chris Toshok <toshok@ximian.com> - - * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): - add libecontactlisteditor.la back into the build. - - * gui/component/addressbook-component.c (new_item_cb): enable the - contact list editor portion. - - * util/eab-book-util.c (eab_load_contacts_from_string): new - function, return a GList of EContact*'s parsed from the string. - - * util/eab-book-util.h: add prototype for - eab_load_contacts_from_string. - - * gui/contact-list-editor/contact-list-editor.glade: set the id of - the list-image widget. - - * gui/contact-list-editor/e-contact-list-editor.c - (e_contact_list_editor_class_init): PROP_CARD -> PROP_CONTACT. - (e_contact_list_editor_init): initialize image_buf to null and - card -> contact. also, hook up the dnd signals on the list_image - widget so we can drop images. - (e_contact_list_editor_dispose): free the image_buf. - (list_added_cb): card -> contact. - (list_modified_cb): same. - (save_contact): same, and use the ebook-async api. - (prompt_to_save_changes): card -> contact. - (file_save_cb): same. - (file_save_as_cb): same. - (file_send_as_cb): #if notyet for now. - (file_send_to_cb): same. - (tb_save_and_close_cb): card -> contact. - (list_deleted_cb): same. - (delete_cb): same. - (delete_cb): same, and use ebook-async. - (e_contact_list_editor_new): card -> contact. - (e_contact_list_editor_set_property): same. - (table_drag_motion_cb): use GDK_POINTER_TO_ATOM instead of - casting. - (table_drag_data_received_cb): use eab_load_contacts_from_string, - and card -> contact. - (set_image_from_data): new function. create a pixbuf from the - image data and composite it in an image that's the same size as - the initial list_image widget. - (image_drag_motion_cb): new function. - (image_drag_drop_cb): new function. - (image_drag_data_received_cb): new function. - (extract_info): port to EContact, and add support for the image. - (fill_in_info): same. - - * gui/contact-list-editor/e-contact-list-editor.h (struct - _EContactListEditor): add image stuff, and ECard -> EContact. - - * gui/contact-list-editor/e-contact-list-model.c - (contact_list_value_at): e_destination -> eab_destination. - (e_contact_list_model_init): same. - (e_contact_list_model_add_destination): same. - (e_contact_list_model_add_email): same. - (e_contact_list_model_add_contact): same, and card -> contact. - (e_contact_list_model_remove_row): e_destination -> - eab_destination. - (e_contact_list_model_get_destination): same. - - * gui/contact-list-editor/e-contact-list-model.h: card -> contact, - and e-destination -> eab-destination. - - * gui/widgets/e-addressbook-view.etspec: fix a couple of - fields.. this needs a completely once-over at some point soon. - - * gui/widgets/e-addressbook-view.c (table_double_click): reenable - all of this. - - * gui/widgets/eab-contact-display.c (render_address): use - e_text_to_html to convert the \n's to <br>'s. - (on_url_requested): get PHOTO if there is one, otherwise LOGO. - (eab_contact_display_render): escape all the text we're sending to - gtkhtml with e_text_to_html. also, if it's a contact list, output - _("List Members") with the contents of _EMAIL. - - * gui/widgets/eab-gui-util.h: rename eab_send_card{_list} to - eab_send_contact{_list}. - -2003-09-30 Chris Toshok <toshok@ximian.com> - - * backend/ebook/tests/ebook/Makefile.am (noinst_PROGRAMS): add - test-string. - - * backend/ebook/tests/ebook/test-string.c: test setting/getting a - string attribute. - - * backend/ebook/e-contact.c (photo_setter): do gnome-vfs mime type - sniffing before we set the attribute value. - (e_contact_set_property): implement setting of MULTI list - attributes (like MAIL). - (e_contact_get_property): rework the ATTR_TYPE attribute handling - so we aren't calling g_value_set_pointer on a value that holds a - string (and vice versa). - - * backend/ebook/e-vcard.c (e_vcard_remove_attributes): implement. - (e_vcard_attribute_add_param): use g_ascii_strcasecmp. - - * backend/ebook/e-vcard.h: rename e_vcard_remove_attribute to - e_vcard_remove_attributes, since it removes all matching - attributes. - - * backend/ebook/e-book.c (e_book_response_add_contact): we need to - strdup the id here since the listener frees it. - (e_book_handle_response): implement the WritableStatusEvent part - of the switch. - - * backend/ebook/e-book-listener.c - (impl_BookListener_report_writable): un-"#if notyet" this. - - * backend/ebook/e-book-async.c (_add_contact_handler): fill in - response->id. - -2003-09-29 Chris Toshok <toshok@ximian.com> - - * printing/e-contact-print-envelope.c: card -> contact. - - * printing/e-contact-print-envelope.h: card -> contact. - - * printing/e-contact-print.c: card -> contact. - - * printing/e-contact-print.h: card -> contact. - - * printing/Makefile.am (contact_print_test_LDADD): add - libeabutil.la and reorder things so it links. - (contact_print_style_editor_test_LDADD): same. - -2003-09-29 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-text-model.c: - e-addressbook-util.h -> eab-gui-util.h. - - * gui/component/select-names/e-select-names-popup.c: - e-addressbook-util.h -> eab-gui-util.h. - - * gui/component/e-address-popup.c: e-addressbook-util.h -> - eab-gui-util.h. - - * gui/component/component-factory.c: #if notyet the minicard - control stuff, since it's been completely nuked from the tree. - - * gui/component/addressbook.c: e-addressbook-util.h -> - eab-gui-util.h. - - * gui/component/addressbook-component.c: e-addressbook-util.h -> - eab-gui-util.h. - - * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): - rename libeminicard to libeabwidgets. - - * Makefile.am (SUBDIRS): add util/ to the build. - -2003-09-29 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-treeview-adapter.c: - e-addressbook-util.h -> eab-gui-util.h, and convert some - EDestination code to EABDestination. - - * gui/widgets/e-addressbook-table-adapter.c: e-addressbook-util.h - -> eab-gui-util.h, and include util/eab-destination.h. - (addressbook_value_at): un-#if 0 some code. - - * gui/widgets/e-addressbook-model.c: e-addressbook-util.h -> - eab-gui-util.h - - * gui/widgets/e-addressbook-view.c: e-addressbook-util.h -> - eab-gui-util.h - - * gui/widgets/e-minicard-control.c, - gui/widgets/e-minicard-control.h, gui/widgets/e-minicard-label.c, - gui/widgets/e-minicard-label.h, - gui/widgets/e-minicard-view-widget.c, - gui/widgets/e-minicard-view-widget.h, - gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h, - gui/widgets/e-minicard-widget-test.c, - gui/widgets/e-minicard-widget.c, gui/widgets/e-minicard-widget.h, - gui/widgets/e-minicard.c, gui/widgets/e-minicard.h, - test-minicard-label.c, test-minicard-view.c, test-minicard.c: nuke - all of the old minicard stuff. - - * gui/widgets/eab-gui-util.[ch]: rename e-addressbook-util.[ch] to - this and nuke e-addressbook-util.[ch]. - - * gui/widgets/Makefile.am (INCLUDES): change G_LOG_DOMAIN to - eab-widgets, and add -I$(top_srcdir)/addressbook. - (noinst_LTLIBRARIES): rename to libeabwidgets.la - (libeabwidgets_la_SOURCES): rename e-addressbook-util.[ch] to - eab-gui-util.[ch]. - -2003-09-29 Chris Toshok <toshok@ximian.com> - - * gui/widgets/eab-contact-display.c (eab_contact_display_new): - track change from E_TYPE_AB_CONTACT_DISPLAY to - EAB_TYPE_CONTACT_DISPLAY. - - * gui/widgets/eab-contact-display.h: change from E_* type foo to - EAB_* type foo. - -2003-09-29 Chris Toshok <toshok@ximian.com> - - * gui/search/e-addressbook-search-dialog.[ch]: convert everything - from e_addressbook_search_dialog to eab_search_dialog, and - EAddressbookSearchDialog to EABSearchDialog. - - * gui/component/addressbook.c (search_cb): - e_addressbook_search_dialog -> eab_search_dialog. - (addressbook_search_activated): same. - (addressbook_query_changed): same. - -2003-09-29 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-book.c (pas_book_respond_get_supported_fields): - don't free the fields here - the backends hold onto them. - (pas_book_respond_get_supported_auth_methods): don't free the - auth_methods here - the backends hold onto them. - - * backend/pas/pas-backend-file.c - (pas_backend_file_get_supported_fields): fields go from 1 to - E_CONTACT_FIELD_LAST, not 0. - -2003-09-29 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.c: e-book-util.h -> eab-book-util.h - - * gui/component/addressbook-component.c: e-book-util.h -> - eab-book-util.h. - (new_item_cb): enable the contact editor portion of this. - (user_create_new_item_cb): convert to async_load_uri api, and - ifdef the _use_default_book crap. - (ensure_completion_uris_exist): e_book_get_config_database -> - eab_get_config_database. - - * gui/component/e-address-widget.h: e-book-util.h -> - eab-book-util.h. - - * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): - add selectnames back in, and add util/libeabutil.la. - -2003-09-29 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-contact.c: my head explodes from so many - changes. - - * backend/ebook/e-contact.h: reorder fields such that all the - string fields are first in the enum (and add a - E_CONTACT_LAST_SIMPLE_STRING value, ala the old e-card-simple - stuff.) Also, add E_CONTACT_LOGO, WANTS_HTML, IS_LIST, and - LIST_SHOW_ADDRESSES. remove E_CONTACT_PHOTO_URI. - - * backend/ebook/e-vcard.c (e_vcard_remove_attribute): rename from - e_card_remove_attribute, and add a g_assert_not_reached. - (_evc_base64_encode_simple): make this not static (we need it for - a test.) - (_evc_base64_decode_simple): same. - - * backend/ebook/e-vcard.h: add LOGO, X-MOZILLA-HTML, - X-EVOLUTION-LIST, and X-EVOLUTION-LIST-SHOW_ADDRESSES #defines. - - * backend/ebook/e-book.c (EBookLoadState): change from - UriNotLoaded to E_BOOK_URI_NOT_LOADED, etc. - (e_book_add_contact): track _URI_ change. - (e_book_get_supported_fields): same. - (e_book_get_supported_auth_methods): same. - (e_book_authenticate_user): same. - (e_book_get_contact): same. - (e_book_response_get_contact): remove the ifdefed call to - e_contact_set_book. - (e_book_remove_contacts): track _URI_ change. - (e_book_get_book_view): same. - (e_book_get_contacts): same. - (e_book_get_changes): same. - (e_book_remove): same. - (e_book_unload_uri): same. - (e_book_load_uri): same. - (e_book_load_uri): same. - (e_book_get_self): start the implementation of this. - (e_book_get_default_addressbook): ifdef out a possible - implementation of this (it's broken.) - (e_book_init): track _URI_ change. - (e_book_dispose): same. - - * backend/ebook/e-book.h: move get_default_addressbook out of the - ifdef, and change get_default_addressbook/get_addressbooks to be - more like the rest of the api. - - * backend/ebook/e-book-util.[ch]: nuke. - - * backend/ebook/e-card-compare.[ch]: nuke. - - * backend/ebook/e-destination.[ch]: nuke. - - * backend/ebook/e-book-query.c (func_and): fix valgrind error. - (func_or): same. - - * backend/ebook/e-book-listener.h: drop #include of e-list.h - - * backend/ebook/e-book-async.c (_get_contacts_response_handler) - (_get_contacts_response_dtor, _get_contacts_handler) - (_get_contacts_dtor, e_book_async_get_contacts): new functions, - implementing e_book_async_get_contacts. - - * backend/ebook/e-book-async.h: add e_book_async_get_contacts. - -2003-09-29 Chris Toshok <toshok@ximian.com> - - * util/eab-marshal.list: new file. - - * util/eab-destination.[ch]: rename - backend/ebook/e-destination.[ch] to this, and change all the entry - point names too. - - * util/eab-book-util.[ch]: rename backend/ebook/e-book-util.[ch] - to this, and change all the entry point names too. - - * util/Makefile.am: new file, build libeabutil.la - -2003-09-29 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names.c - (addressbook_model_set_uri): e_addressbook_model -> eab_model. - (contact_key): e-contactify this, and remove the call to - e_contact_get_book since we don't have it. - (sync_one_model): card -> contact. - (real_add_address_cb): track various name changes. - (esn_get_key_fn): same. - (e_addressbook_create_ebook_table): same. - (folder_selected): same. - (select_entry_changed): same. - (e_select_names_new): same. - - * gui/component/select-names/e-select-names-text-model.c - (dump_model): s/card/contact. - (e_select_names_text_model_insert_length): e-destination -> - eab-destination. - (e_select_names_text_model_delete): same. - (e_select_names_text_model_obj_count): same. - (nth_obj_index): same. - (e_select_names_text_model_activate_obj): ifdef this out since we - don't have e_contact_get_book in the new api. - - * gui/component/select-names/e-select-names-table-model.c - (fill_in_info): convert to e_contact/eab_destination. - - * gui/component/select-names/e-select-names-popup.c - (change_email_num_cb): e_destination -> eab_destination. - (populate_popup_contact): same, and ECard -> EContact. Also, the - email attribute is a GList, not an EList. lastly, rename from - populate_popup_card. - (populate_popup_nocontact): same, and rename from - populate_popup_nocard. - (e_select_names_populate_popup): same. - - * gui/component/select-names/e-select-names-model.h: track changes - to e_destination, and rename the cardify methods to something mode - descriptive. - - * gui/component/select-names/e-select-names-model.c - (e_select_names_model_duplicate): e_destination -> - eab_destination. - (e_select_names_model_get_textification): same. - (e_select_names_model_get_address_text): same. - (e_select_names_model_get_destination): same. - (e_select_names_model_export_destinationv): same. - (send_changed): same. - (e_select_names_model_import_destinationv): same. - (e_select_names_model_get_contact): same, and rename from - _get_card - (e_select_names_model_get_string): same. - (connect_destination): same. - (disconnect_destination): same. - (e_select_names_model_contains): same. - (e_select_names_model_insert): same. - (e_select_names_model_append): same. - (e_select_names_model_replace): same. - (e_select_names_model_delete): same. - (e_select_names_model_clean): same. - (delete_all_iter): same. - (e_select_names_model_overwrite_copy): same. - (e_select_names_model_merge): same. - (e_select_names_model_name_pos): same. - (e_select_names_model_text_pos): same. - (e_select_names_model_cardify): nuke. - (e_select_names_model_uncardify): nuke. - (e_select_names_model_cancel_cardify): nuke. - (e_select_names_model_load_all_contacts): rename _cardify_all to - this. - (e_select_names_model_cancel_all_contact_load): rename - _cancel_cardify to this. - - * gui/component/select-names/e-select-names-manager.c - (focus_in_cb): cancel_cardify_all -> cancel_all_contact_load - (focus_out_cb): cardify_all -> load_all_contacts. - (completion_popup_cb): same. - (load_completion_books): no e_book_expand_uri anymore. - (e_select_names_manager_new): e_book_get_config_database -> - eab_get_config_database. - (e_select_names_manager_dispose): same. - - * gui/component/select-names/e-select-names-completion.h: e-book.h - -> e-book-async.h - - * gui/component/select-names/e-select-names-completion.c: - EContactify this. - - * gui/component/select-names/e-select-names-bonobo.c - (entry_get_property_fn): ifdef out the SIMPLE_CARD_LIST getter, - and cardify_all -> load_all_contacts. - - * gui/component/select-names/Evolution-Addressbook-SelectNames.idl: - nuke all the SimpleCard stuff. It's a horribly inefficient way to - deal with vcards, and since ebook is platform level now, we can - (and should) promote just linking to ebook to do this. - -2003-09-19 Gilbert Fang <gilbert.fang@sun.com> - - * addressbook/gui/component/addressbook-component.c (xfer_folder): - remove the "addressbook.db.summary" correctly. #48538 - -2003-09-11 Dan Winship <danw@ximian.com> - - * backend/ebook/Makefile.am (privlib_LTLIBRARIES): Remove - libebook-static.la - - * conduit/Makefile.am (libeaddress_conduit_la_LIBADD): Use - non-static versions of libraries: the static ones were only needed - for libtool 1.3. - -2003-09-07 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-contact.c (e_contact_get_property): implement - getters for the address labels. they aren't really synthetic, but - we can't handle them as normal strings because they switch off the - TYPE parameter, not the attribute name (go go vcard.) Also add - getters for the structured address fields (ADR). Also fix a spot - where we were using strcmp instead of strcasecmp. - (e_contact_address_free): new function. - - * backend/ebook/e-contact.h: Add EContactAddress structure, which - will probably go away once i merge in my cool spiffy address - editor. Add LABEL fields for the address labels, and add - prototype for e_contact_address_free. - - * backend/ebook/e-vcard.h: add EVC_LABEL and EVC_X_BLOG_URL. - - * backend/ebook/e-vcard.c (read_attribute_value): step to the next - character after unescaping \-escaped characters. keeps commas - from multiplying. - - * gui/widgets/eab-contact-display.c (render_address): new function - (eab_contact_display_render): display email, delivery addresses, - and the blog url. - -2003-09-06 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-contact.c (e_contact_set_property): implement - E_CONTACT_EMAIL_*. - - * backend/pas/pas-backend-ldap.c (email_ber): EContact-ify and - re-enable this code. - (email_compare): same. - (email_populate): same. - - * backend/pas/pas-backend-vcf.c (pas_backend_vcf_load_uri): use - XIMIAN_VCARD. - - * backend/pas/pas-backend-file.c (pas_backend_file_load_uri): use - XIMIAN_VCARD, and don't fail if the directory already exists. - just try to create the db anyway. - - * backend/pas/Makefile.am (libpas_a_SOURCES): add ximian-vcard.h - - * backend/pas/ximian-vcard.h (XIMIAN_VCARD): put the initial vcard - here, so we can share 1 #define between file/vcf backends. Also, - add a jpeg photo. - -2003-09-06 Chris Toshok <toshok@ximian.com> - - * gui/widgets/Makefile.am (libeminicard_la_SOURCES): add - eab-contact-display.[ch] - - * gui/widgets/e-addressbook-view.c (eab_view_init): just init - everything to NULL. - (eab_view_new): move a bunch of stuff that was in eab_view_init - here. create a vpaned to hold the contact display, and create the - contact display. - (render_contact): render the selected contact to the - contact_display. - (selection_changed): add logic to display the currently selected - contact in the preview pane. - (create_table_view): add the table to the paned. - (create_treeview_view): add the scrolled to the paned. - (change_view_type): remove view->widget from the paned. - - * gui/widgets/e-addressbook-view.h: switch from using a GtkTable - to a GtkEventBox - we don't need the table logic anymore. - - * gui/widgets/e-addressbook-model.c (create_contact): indent - (eab_model_get_contact): same. - - * gui/widgets/eab-contact-display.[ch]: new files - this - implements the preview pane. - -2003-09-06 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (BINARY_PROP): new type of - property, for specifying data coming back from the ldap server - with both data/length (like photos). - (photo_populate): set the contact's photo. - (build_contact_from_entry): add PROP_TYPE_BINARY handling. - - * backend/ebook/e-vcard.c (EVCardEncoding): new enum for use with - the ENCODING attribute parameter. Right now, just "raw", - "base64", and "quoted-printable". - (struct _EVCardAttribute): add a "decoded_values" list of - GString*'s, as well as fields to hold encoding/encoding_set. - (e_vcard_class_init): call _evc_base64_init. - (e_vcard_attribute_add_value_decoded): based on what encoding the - attribute uses, add the value properly. - (e_vcard_attribute_add_param): if the parameter is ENCODING, work - our magic. - (e_vcard_attribute_get_values_decoded): spit out properly decoded - values depending on the decoding type. - (_evc_base64*): copy the camel base64 routines here. - - * backend/ebook/e-vcard.h: add prototypes for - e_vcard_attribute_add_value_decoded and - e_vcard_attribute_get_values_decoded. - - * backend/ebook/e-contact.c (e_contact_get_first_attr): move this - to above _set_property so we can make use of it there. - (e_contact_set_property): fix up the generic STRING field handler, - and implement E_CONTACT_PHOTO setting. - (e_contact_get_property): add handling for - E_CONTACT_PHOTO/E_CONTACT_PHOTO_URI. - (e_contact_photo_free): new function. - - * backend/ebook/e-contact.h: add EContactPhoto struct, a prototype - for e_contact_photo_free, and two new EContactField elements (PHOTO and - PHOTO_URI). - - * backend/ebook/tests/ebook/.cvsignore: ignore test-photo - - * backend/ebook/tests/ebook/Makefile.am (noinst_PROGRAMS): add test-photo - - * backend/ebook/tests/ebook/test-photo.c: test for the photo - set/get routines (which do base64 encoding/decoding). - -2003-09-02 Chris Toshok <toshok@ximian.com> - - * gui/component/Makefile.am: comment out a buncha stuff just to - get this building. - - * gui/component/select-names/e-select-names.c: #include - e-book-async.h - (search_result): EAddressbookModel -> EABModel. - (addressbook_model_set_uri): same, and don't use - e_book_expand_uri, as it's dead. - (esn_get_key_fn): EAddressbookModel -> EABModel. - (e_addressbook_create_ebook_table): same. - (status_message): same. - - * gui/component/select-names/e-select-names.h (struct - _ESelectNames): EAddressbookModel -> EABModel. - - * gui/component/addressbook-component.c (new_item_cb): ifdef out - for now. - (dnd_drop_book_open_cb): s/card/contact. - (destination_folder_handle_drop): ifdef out. - (request_quit): same. - - * gui/component/addressbook.c: track api changes - e_addressbook_ - -> eab_, and e_book_* becomes e_book_async_*. - - * gui/component/addressbook.h: #include e-book-async.h - - * gui/component/e-address-widget.c (query_results_cb): - e/EBookSimpleQueryStatus/EBookStatus - - * gui/component/e-address-widget.h: s/ECard/EContact. - - * gui/component/e-cardlist-model.[ch]: nuke. - - * gui/component/e-address-popup.c: s/e-book.h/e-book-async.h - - * gui/component/e-address-popup.h: s/ECard/EContact - -2003-09-02 Chris Toshok <toshok@ximian.com> - - * backend/ebook/Makefile.am (libebook_la_SOURCES): remove - e-card.c,e-card.simple.c - - * backend/ebook/tests/ebook/test-ebook.c: remove #include of - e-card-simple.h - - * backend/ebook/tests/ebook/test-changes.c: remove #include of - e-card-simple.h - - * backend/ebook/e-card.[ch], backend/ebook/e-card-simple.[ch]: - nuke. - - * backend/ebook/e-book-util.h: s/card/contact. - - * backend/ebook/e-book-util.c: ifdef out an #include. - - * backend/ebook/e-book-async.[ch]: stop doing the stupid #define - renaming trick, and just rename all the prototypes from e_book_* - to e_book_async_*. Also, get rid of the *_vcard variants. - -2003-09-02 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-card-sexp.[ch] - (pas_backend_card_sexp_match_contact): rename - pas_backend_card_sexp_match_card, and it takes an EContact now. - Also, port this file to use EContact instead of ECard, and ifdef - out lots of stuff. - - * backend/pas/pas-backend-ldap.c: convert this to use EContact - instead of ECard, and ifdef great swaths of code to make it - compile. - - * backend/pas/pas-book.c (pas_book_respond_modify): convert this - from ECard to EContact. - -2003-09-02 Chris Toshok <toshok@ximian.com> - - * gui/widgets/Makefile.am (libeminicard_la_SOURCES): remove all - the reflow/minicard stuff from the build. - (e-addressbook-marshal.[ch]): change the prefix on the marshallers to - eab_marshal. - - * gui/widgets/e-addressbook-view.etspec: bring this more in line - with the field ids for EContact, and comment out a ton of them - that aren't there yet. - - * gui/widgets/e-addressbook-view.[ch]: big renaming - rename - e_addressbook_view to eab_view, and EAddressbookView to EABView. - - * gui/widgets/e-addressbook-util.c (eab_error_dialog): rename, and - change a few of the error strings s/Card/Contact. - (added_cb): E_BOOK_STATUS_SUCCESS => E_BOOK_ERROR_OK. - (modified_cb): same. - (e_addressbook_show_contact_editor): this takes an EContact now, - and track the change to the contact editor signal names. - (e_addressbook_show_contact_list_editor): this takes an EContact - now. - (view_contacts): rename view_cards to this, and ifdef the body. - (e_addressbook_show_multiple_contacts): rename - e_addressbook_show_multiple_cards to this, and s/card/contact. - - * gui/widgets/e-addressbook-util.h: ifdef some things out, and - rename e_addressbook_error_dialog to eab_error_dialog. - - * gui/widgets/e-addressbook-table-adapter.[ch]: big renaming - - rename e_addressbook_table_adapter to eab_table_adapter, and - EAddressbookTableAdapter to EABTableAdapter. Also, remove the - simple mapping - we can do ECardSimple-like operations directly on - the EContacts from the EABModel. - - * gui/widgets/e-addressbook-model.[ch]: big renaming - rename - e_addressbook_model to eab_model, and EAddressbookModel to - EABModel. Also, convert everything from ECard to EContact. - -2003-09-01 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-vcard.c (e_vcard_new_from_string): omg i'm dumb. - don't call e_vcard_new here since it just turns around and calls - e_vcard_new_from_string again. - -2003-09-01 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-book-view.c (pas_book_view_notify_change): guard - pending adds foo. - (pas_book_view_notify_remove): same. - (pas_book_view_notify_add): same. - (pas_book_view_notify_complete): same. - (pas_book_view_construct): init mutex - (pas_book_view_dispose): free mutex - - * backend/pas/pas-backend-ldap.c (func_exists): new function. - (send_pending_adds): remove - (ldap_search_handler): let the BookView stuff handle the pending - adds for us. - (ldap_search_dtor): remove pending adds stuff. - (pas_backend_ldap_search): same - - * backend/pas/pas-backend-card-sexp.c (func_exists): new function. - - * backend/ebook/tests/ebook/test-ebook.c (print_all_emails): use - an exists query. - -2003-08-31 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-book-query.c (func_and, func_or, func_not) - (func_contains, func_is, func_beginswith, func_endswith) - (e_book_query_from_string): adapt the pas ldap backend sexp - parsing code to this, build up an EBookQuery that represents the - sexp. - - * backend/ebook/e-contact.h (e_contact_field_id): add prototype. - - * backend/ebook/e-contact.c (e_contact_field_id): new function. - - * backend/ebook/Makefile.am (libebook_la_SOURCES): add - e-book-util.c back into the build, if only for the config_database - thingy. - -2003-08-31 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-contact.c (e_contact_duplicate): new function. - - * backend/ebook/e-contact.h: add prototype for - e_contact_duplicate. - - * backend/ebook/e-book-util.[ch]: massive ifdeffing. most of this - is either gone or will be unnecessary soon. - - * backend/ebook/e-book-query.c (e_book_query_from_string): hack - this so it'll at least generate a query. - - * backend/ebook/e-book-listener.c - (impl_BookListener_respond_get_view): add some debug spew and - remove a c&p'ed comment. - - * backend/ebook/e-book-async.h: add prototype for - e_book_async_unload_uri. - - * backend/ebook/e-book-async.c (e_book_async_unload_uri): new - function. - - * backend/pas/pas-book-view.c (pas_book_view_construct): switch to - CORBA_Object_duplicate, ala pas_book. - - * backend/pas/pas-backend-sync.c (pas_backend_sync_class_init): - fix typo and the build. - -2003-08-29 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (ldap_error_to_response): - s/card/contact. - (pas_backend_ldap_process_create_contact): same. - (remove_contact_handler): same. - (remove_contact_dtor): same. - (pas_backend_ldap_process_remove_contacts): same. - (modify_contact_modify_handler): same. - (modify_contact_dtor): same. - (pas_backend_ldap_process_modify_contact): same. - (get_contact_handler): same. - (get_contact_dtor): same. - (pas_backend_ldap_process_get_contact): same. - (pas_backend_ldap_class_init): same. - - * backend/pas/pas-backend-summary.c - (pas_backend_summary_add_contact): s/card/contact, and mostly - switch from ECard{Simple} to EContact. - (pas_backend_summary_get_summary_vcard): same. - (pas_backend_summary_remove_contact): s/card/contact - - * backend/pas/pas-backend-summary.h: s/card/contact. - - * backend/pas/pas-backend-file.c (build_summary): fix g_warning, - and return immediately if the db->cursor call fails. - (pas_backend_file_create_contact): s/card/contact - (pas_backend_file_remove_contacts): same. - (pas_backend_file_modify_contact): same. - (pas_backend_file_get_contact): same. - (pas_backend_file_get_contact_list): same. - (pas_backend_file_class_init): same. - - * backend/pas/pas-backend-vcf.c - (pas_backend_vcf_process_create_contact): s/card/contact. - (pas_backend_vcf_process_remove_contacts): same. - (pas_backend_vcf_process_modify_contact): same. - (pas_backend_vcf_process_get_contact): same. - (pas_backend_vcf_process_get_contact_list): same. - (pas_backend_vcf_class_init): same. - - * backend/pas/pas-backend-sync.c (pas_backend_sync_create_contact): s/card/contact. - (pas_backend_sync_remove_contacts): same. - (pas_backend_sync_modify_contact): same. - (pas_backend_sync_get_contact): same. - (pas_backend_sync_get_contact_list): same. - (_pas_backend_create_contact): same. - (_pas_backend_remove_contacts): same. - (_pas_backend_modify_contact): same. - (_pas_backend_get_contact): same. - (_pas_backend_get_contact_list): same. - (pas_backend_sync_class_init): same. - - * backend/pas/pas-backend-sync.h: s/card/contact. - - * backend/pas/pas-backend.c (pas_backend_create_contact): s/card/contact. - (pas_backend_remove_contacts): same. - (pas_backend_modify_contact): same. - (pas_backend_get_contact): same. - (pas_backend_get_contact_list): same. - (pas_backend_change_add_new): same. - (pas_backend_change_modify_new): same. - (pas_backend_change_delete_new): same. - - * backend/pas/pas-backend.h: s/card/contact. - - * backend/pas/pas-book-view.c (send_pending_adds): s/card/contact - (pas_book_view_notify_change): same. - (pas_book_view_notify_remove): same. - - * backend/pas/pas-book.c - (impl_GNOME_Evolution_Addressbook_Book_getContact): s/card/contact - (impl_GNOME_Evolution_Addressbook_Book_getContactList): same. - (impl_GNOME_Evolution_Addressbook_Book_addContact): same. - (impl_GNOME_Evolution_Addressbook_Book_removeContacts): same. - (impl_GNOME_Evolution_Addressbook_Book_modifyContact): same. - (pas_book_respond_create): same. - (pas_book_respond_remove_contacts): same. - (pas_book_respond_modify): same. - (pas_book_respond_get_contact): same. - (pas_book_respond_get_contact_list): same. - (pas_book_respond_get_changes): same. - (pas_book_class_init): same. - - * backend/pas/pas-book.h: s/card/contact - - * backend/ebook/tests/vcard/dump-vcard.c: #include - "ebook/e-vcard.h" - - * backend/ebook/tests/vcard/Makefile.am (TEST_LIBS): use - top_builddir. - (CFLAGS): same. - - * backend/ebook/tests/ebook/Makefile.am (TEST_LIBS): use - top_builddir. - (CFLAGS): use srcdir - - * backend/ebook/test-card.c, backend/ebook/test-client-list.c, - backend/ebook/test-client.c, backend/ebook/test-ebook.c: remove. - - * backend/ebook/e-card-cursor.[ch]: remove. - - * backend/ebook/e-card-pairs.h: remove. - - * backend/ebook/e-book.c (e_book_add_contact): s/Card/Contact. - (e_book_commit_contact): same - (e_book_get_contact): same. - (e_book_remove_contacts): same. - (e_book_get_contacts): same. - (e_book_handle_response): same. - - * backend/ebook/e-book-view.c (e_book_view_do_added_event): - s/card/contact - (e_book_view_do_modified_event): same. - (e_book_view_do_removed_event): same. - (e_book_view_handle_response): same. - (e_book_view_class_init): same. - - * backend/ebook/e-book-view.h: s/card/contact and pad the class - struct. - - * backend/ebook/e-book-view-listener.c - (e_book_view_listener_queue_response): s/Card/Contact. - (e_book_view_listener_queue_status_event): no need to assign - things to NULL, we g_new0. - (e_book_view_listener_queue_idlist_event): s/Card/Contact, and no - need to assign things to NULL, we g_new0. - (e_book_view_listener_queue_sequence_event): same. - (e_book_view_listener_queue_message_event): same. - (impl_BookViewListener_notify_contacts_added): s/Card/Contact. - (impl_BookViewListener_notify_contacts_removed): same. - (impl_BookViewListener_notify_contacts_changed): same. - (e_book_view_listener_class_init): same. - - * backend/ebook/e-book-view-listener.h: s/Card/Contact - - * backend/ebook/e-book-types.h: s/CARD/CONTACT - - * backend/ebook/e-book-listener.c - (e_book_listener_convert_status): s/Card/Contact - (impl_BookListener_respond_create_contact): same. - (impl_BookListener_respond_remove_contacts): same. - (impl_BookListener_respond_modify_contact): same. - (impl_BookListener_respond_get_contact): same. - (impl_BookListener_respond_get_contact_list): same. - (impl_BookListener_respond_get_changes): same. - (e_book_listener_class_init): same. - - * backend/ebook/e-book-listener.h: pad the class struct, and - s/Card/Contact. - - * backend/ebook/e-book-async.c (_load_uri_handler): GError - changes. - (_get_fields_handler): same. - (_get_methods_handler): same. - (_auth_user_handler): same. - (_get_card_handler): same. - (_remove_cards_handler): same. - (_add_vcard_handler): same. - (_commit_vcard_handler): same. - (_get_book_view_handler): same. - (e_book_async_get_book_view): use an EBookQuery instead of a char*. - - * backend/ebook/Makefile.am: remove the test handling. - (SUBDIRS): set to ". tests" - (libebook_la_SOURCES): add e-book-async.c - - * backend/idl/addressbook.idl: possibly gratuitous renaming, but i - was sick of seeing "Card" being used everywhere. "Contact" is the - new "Card". - -2003-08-28 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-book.c (e_book_op_free): rename from - e_book_free_op. - (e_book_op_remove): rename from e_book_remove_op. - (e_book_clear_op): new function, remove the op, unlock its mutex, - and free it. - (e_book_add_contact): use e_book_clear_op. - (e_book_commit_contact): same. - (e_book_get_supported_fields): same. - (e_book_get_supported_auth_methods): same. - (e_book_authenticate_user): same. - (e_book_get_contact): same. - (e_book_remove_contacts): same. - (e_book_get_book_view): same. - (e_book_get_contacts): same. - (e_book_get_changes): same. - (e_book_load_uri): same. - (e_book_remove): new function. - (e_book_response_remove): new function. - (e_book_handle_response): add handling for RemoveBookResponse. - (e_book_load_local_addressbook): pass TRUE for e_book_load_uri - @only_if_exists. - - * backend/ebook/e-book.h: add @only_if_exists arg to - e_book_load_uri so we can support folder creation at load_uri - time, and add prototype for e_book_remove. - - * backend/ebook/e-book-types.h: add an "id" slot in EBookChange. - - * backend/ebook/e-book-listener.c - (impl_BookListener_respond_get_changes): handle union in idl. - (impl_BookListener_respond_open_book): remove unnecessary - exception check. - (impl_BookListener_respond_remove_book): new function. - (impl_BookListener_respond_get_supported_fields): rename this from - _response_. - (impl_BookListener_respond_get_supported_auth_methods): same. - (e_book_listener_class_init): add _remove_book and track change to - get_supported_fields/get_supported_auth_methods names. - - * backend/ebook/e-book-listener.h: add RemoveBookResponse to - EBookListenerOperation enum. - - * backend/idl/addressbook.idl: make BookChangeItem a union that - switches over BookChangeType. - - * backend/pas/pas-backend.c (pas_backend_change_add_new): new - function, create a BookChangeItem representing the addition of a - contact. - (pas_backend_change_modify_new): same, but for modifications. - (pas_backend_change_delete_new): same, but for deletions. - - * backend/pas/pas-backend.h: add prototypes for - pas_backend_change_{add,modify,delete}_new - - * backend/pas/pas-backend-file.c (pas_backend_file_changes): nuke. - (do_create): fix memory corruption. - (pas_backend_file_get_changes): copy the body of - pas_backend_file_changes here, and rework so that it's synchronous - and return a list instead of the book view hack. - (pas_backend_file_load_uri): mkdir the directory (we need a mkdir - -p here). - (select_changes): new function, scandir helper. - (pas_backend_file_remove): NULL out bf->priv->summary to quiet - valgrind, and call scandir to accumulate the .changes.db files - then unlink them. - - * backend/pas/pas-book.c (pas_book_respond_remove): new function. - (pas_book_respond_get_supported_fields): unifdef this, and make it - use a glist. - (pas_book_respond_get_supported_auth_methods): same. - (pas_book_respond_get_changes): this code is kinda gross... lots - of copying going on, there's got to be a better way. but it - works. - -2003-08-26 Chris Toshok <toshok@ximian.com> - - * backend/idl/addressbook.idl: add oneway void Book::remove() and - oneway void notifyBookRemoved() - -2003-08-26 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend.c (pas_backend_remove): new function. - (pas_backend_add_book_view): new function. - (pas_backend_add_client): move the "real_add_client" code here. - (pas_backend_remove_client): move the "real_remove_client" code - here. - (pas_backend_class_init): remove assignments of add_client and - remove_client vtable entries. - (pas_backend_is_removed): new function. - (pas_backend_set_is_removed): new function. - (pas_backend_init): init clients_mutex and views_mutex. - - * backend/pas/pas-backend.h: remove the vtable entries for - add/remove_client, since these are fully handled in PASBackend. - Add prototypes for - pas_backend_is_removed/pas_backend_add_book_view/pas_backend_set_is_removed. - - * backend/pas/pas-book.c - (impl_GNOME_Evolution_Addressbook_Book_remove): new function. - (impl_GNOME_Evolution_Addressbook_Book_getBookView): clean things - up a bit, and don't use pas_backend_get_book_views as it can't - lock the list of views. - (pas_book_respond_get_supported_auth_methods): remove the extra - unnecessary arg from the corba call. - (pas_book_respond_get_changes): same. - (pas_book_class_init): fill in epv "remove" slot. - - * backend/pas/pas-book.h: rename pas_book_respond_remove to - pas_book_respond_remove_cards, and add a new - pas_book_respond_remove for use with removing books. - - * backend/pas/pas-backend-sync.c (pas_backend_sync_remove): new - function. - (_pas_backend_remove): new function. - (pas_backend_sync_class_init): fill in the "remove" vtable entry. - (_pas_backend_remove_cards): track change to - pas_book_respond_remove_cards (pas_book_respond_remove is used for - removing the book, not the cards.) - - * backend/pas/pas-backend-sync.h: add pas_backend_sync_remove - prototype and add remove_sync virtual function. - -2003-08-26 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-file.c (pas_backend_file_create_card, - pas_backend_file_remove_cards, pas_backend_file_modify_card, - pas_backend_file_get_vcard, pas_backend_file_get_card_list, - pas_backend_file_start_book_view, pas_backend_file_get_changes, - pas_backend_file_authenticate_user, - pas_backend_file_get_supported_fields): rename from - pas_backend_file_process_* - (pas_backend_file_load_uri): save off the dirname/summary - filename. - (pas_backend_file_remove): new function, unlink all the files we - know about. - (pas_backend_file_class_init): track changes to functions, and add - pas_backend_file_remove. - -2003-08-26 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (ecard_from_remote_record): duplicate - the extra address lines - -2003-08-22 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-book.[ch]: switch from using the PASRequest - union and a central PASBackend dispatch function. just call the - pas_backend methods directly and expand the args out. - - * backend/pas/pas-backend.[ch]: same. - - * backend/pas/pas-backend-sync.[ch]: same. - - * backend/pas/pas-backend-vcf.c, backend/pas/pas-backend-file.c, - backend/pas/pas-backend-ldap.c: same, and get these all compiling - against the rest of the current pas/ebook code. - -2003-08-21 Chris Toshok <toshok@ximian.com> - - * backend/ebook/test-ebook.c: track GError case. - - * backend/ebook/e-book.[ch]: GError-ify the api, and clean up some - cases where we weren't removing the current op. - - * backend/ebook/e-book-view-listener.c - (e_book_view_listener_convert_status): track change from - E_BOOK_VIEW_STATUS_* to E_BOOK_VIEW_ERROR_*. - - * backend/ebook/e-book-types.h: track change from E_BOOK_STATUS_* - to E_BOOK_ERROR_*, and some E_BOOK_VIEW_STATUS_* to - E_BOOK_VIEW_ERROR_*. - - * backend/ebook/e-book-listener.c - (e_book_listener_convert_status): track change from - E_BOOK_STATUS_* to E_BOOK_ERROR_*. - - * backend/ebook/e-book-query.c (e_book_query_any_field_contains): - new function. - (e_book_query_unref): handle the any_field_contains case. - (e_book_query_to_string): same. - - * backend/ebook/e-book-query.h: add prototype for - e_book_query_any_field_contains. - - * backend/ebook/e-card.c (e_card_load_uri): ifdef this out for - now. - - * backend/ebook/e-contact.[ch] (e_contact_get_const): new - function/prototype. - -2003-08-20 Gilbert Fang <gilbert.fang@sun.com> - - * gui/widgets/e-addressbook-util.c - (e_addressbook_send_card_list): use memcpy to assign - CORBA_char_sequence instead of strcpy. (#46706) - -2003-08-18 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/component-factory.c: Update OAFIIDs. - - * gui/widgets/e-addressbook-util.c (e_addressbook_transfer_cards): - Removed extern declaration for global_shell_client [yuck]. - (e_addressbook_transfer_cards): #if 0 the invocation for - evolution_shell_client_user_select_folder(), we need to - reimplement this component-side now. - - * gui/component/component-factory.c (factory): Call - addressbook_component_peek() here instead of - addressbook_component_init() [since the latter is no more]. - - * gui/component/addressbook.c (set_status_message): Don't create - the activity client for now. - - * gui/component/addressbook-config.c: Removed member shell from - struct AddressbookDialog. - (ldap_dialog_new): Do not take a shell arg anymore. - (ldap_config_control_new): Likewise. - (addressbook_config_control_new): No need to get the global shell - pointer here anymore. - - * gui/component/addressbook-component.c: Rewritten to support the - new ::Component interface. - * gui/component/addressbook-component.h: Likewise. - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: Version - factory's OAFIID. Remove ShellComponent server, add Component - server. - -2003-08-12 Rodrigo Moya <rodrigo@ximian.com> - - * backend/ebook/e-book.c (e_book_dispose): unref the - EComponentListener before unloading the CORBA object. - -2003-08-12 Hans Petter Jansson <hpj@ximian.com> - - * backend/ebook/e-destination.c (e_destination_dispose): Chain. - - * gui/component/e-address-widget.c (e_address_widget_destroy): Chain. - Prevent double frees. Prevent double GSource removal. - - * gui/component/e-cardlist-model.c (e_cardlist_model_class_init): - Store parent class. - (e_cardlist_model_dispose): Chain. Prevent double frees and unrefs. - - * gui/contact-editor/e-contact-editor-address.c - (e_contact_editor_address_dispose): Chain. - - * gui/contact-editor/e-contact-editor-fullname.c - (e_contact_editor_fullname_dispose): Chain. - - * gui/contact-list-editor/e-contact-list-editor.c - (e_contact_list_editor_dispose): Chain. - - * gui/contact-list-editor/e-contact-list-model.c - (contact_list_model_destroy): Chain. Prevent double frees and unrefs. - - * gui/widgets/e-addressbook-reflow-adapter.c (addressbook_dispose): - Chain. - (addressbook_finalize): Chain. - - * gui/widgets/e-addressbook-table-adapter.c (addressbook_dispose): - Chain. - - * gui/widgets/e-addressbook-treeview-adapter.c (addressbook_destroy): - Chain. Prevent double free. - - * gui/widgets/gal-view-minicard.c (gal_view_minicard_dispose): - Chain. Prevent double free and detach. - - * gui/widgts/gal-view-treeview.c (gal_view_treeview_dispose): - Chain. Prevent double free and detach. - - * printins/e-contact-print-style-editor.c - (e_contact_print_stule_editor_destroy): Chain. Prevent double unref. - -2003-08-07 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-vcard.c (e_vcard_to_string_vcard_21): new, - unimplemented, function. - (e_vcard_to_string_vcard_30): move the 3.0 vcard export code here. - (e_vcard_to_string): call e_vcard_to_string_vcard_21 or - e_vcard_to_string_vcard_30 based on @format. - (e_vcard_attribute_remove_values): new function. - - * backend/ebook/e-vcard.h: add @format to e_vcard_to_string, and - add prototype for e_vcard_attribute_remove_values. also, add - prototype for e_vcard_decode_b_encoding. - -2003-08-07 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-book-listener.c - (impl_BookListener_respond_open_book): remove the book arg. - - * backend/ebook/e-book-listener.h (struct _EBookListenerResponse): - remove the corba book. - - * backend/ebook/e-book-async.c (_get_book_view_dtor): free the - query string. - (e_book_async_get_book_view): dup the query string. - - * backend/ebook/e-book.h: change e_book_get_book_view and - e_book_get_contacts to take a const char * query string instead of - an EBookQuery. - - * backend/ebook/e-book.c (e_book_add_contact): pass - EVC_FORMAT_VCARD_30 to e_vcard_to_string. - (e_book_commit_contact): same. - (e_book_get_book_view): take a const char* query string instead of - an EBookQuery. - (e_book_get_contacts): same. - (e_book_response_open): track change - the Book is no longer - communicated back here. - (listener_cb): nuke. - (e_book_handle_response): track change to e_book_response_open. - (e_book_load_uri): rework this from using BookFactory::openBook to - BookFactory::getBook + Book::open. - (e_book_get_uri): new function, reimplement from old api. - (e_book_get_static_capabilities): same. - (e_book_check_static_capability): same. - (startup_mainloop): new function, run bonobo_main. - (e_book_activate): start up a thread with startup_mainloop as the - start func. - (e_book_new): call e_book_activate. - - * backend/idl/addressbook.idl: Add Book::open, remove the Book - from notifyBookOpened's args, and change BookFactory::openBook to - BookFactory::getBook. - - * backend/pas/pas-backend-file.c (pas_backend_file_load_uri): add - only_if_exists - stop using the "create-initial" special file. - - * backend/pas/pas-backend-vcf.c (pas_backend_vcf_load_uri): add - only_if_exists - stop using the "create-initial" special file. - - * backend/pas/pas-backend.c (pas_backend_load_uri): add - @only_if_exists, and pass it along to the virtual method. - (pas_backend_open): new function, lock the mutex so only one - PASBook can actually call load_uri. call load_uri with - pas_book_get_uri, and req->only_if_exists. - (pas_backend_handle_request): rename process_client_request to - this, and expose it publicly. Also add a case statement for - "Open". - (real_add_client): gut this function, we don't need to create the - book anymore, just add the client to the list and do the weak - ref/ORBit small stuff. - (pas_backend_add_client): track change to signature - BookListener - -> PASBook. - (pas_backend_init): init open_mutex. - (pas_backend_dispose): free open_mutex. - - * backend/pas/pas-backend.h (PASBackendClass): add @only_if_exists - to the load_uri virtual method, and change the add_client virtual - method to take a PASBook instead of a BookListener. add the same - args to _load_uri and add_client. Also, add prototypes for - pas_backend_handle_request and pas_backend_open. - - * backend/pas/pas-book-factory.c - (_pas_book_factory_send_open_book_response): nuke. - (pas_book_factory_launch_backend): just return NULL, don't call - _pas_book_factory_send_open_book_response, in the error case. - (start_backend): nuke - (impl_GNOME_Evolution_Addressbook_BookFactory_getBook): rename - _openBook to this. clean up the code a bit. Create the PASBook - here, and always track change to pas_backend_add_client's type (we - pass the book now, not the listener). - (pas_book_factory_class_init): openBook -> getBook. - - * backend/pas/pas-book.c - (impl_GNOME_Evolution_Addressbook_Book_open): new function, call - pas_backend_open. - (impl_GNOME_Evolution_Addressbook_Book_getVCard): get rid of the - signal crap, just call pas_backend_handle_request. - (impl_GNOME_Evolution_Addressbook_Book_getCardList): same. - (impl_GNOME_Evolution_Addressbook_Book_authenticateUser): same. - (impl_GNOME_Evolution_Addressbook_Book_addCard): same. - (impl_GNOME_Evolution_Addressbook_Book_removeCards): same. - (impl_GNOME_Evolution_Addressbook_Book_modifyCard): same. - (impl_GNOME_Evolution_Addressbook_Book_getChanges): same. - (impl_GNOME_Evolution_Addressbook_Book_getSupportedFields): same. - (impl_GNOME_Evolution_Addressbook_Book_getSupportedAuthMethods): - same. - (impl_GNOME_Evolution_Addressbook_Book_cancelOperation): same. - (pas_book_get_backend): aggregate some g_return_if_fail's. - (pas_book_get_listener): new function. - (pas_book_get_uri): new function. - (pas_book_respond_open): just call BookListener::notifyBookOpened. - (pas_book_construct): add @uri, and g_strdup it. - (pas_book_new): add @uri, and pass it to pas_book_construct. - (pas_book_class_init): remove the "request" signal stuff, and fill - in epv->open. - - * backend/pas/pas-book.h: add PASOpenRequest struct/enum entry. - Also, add @uri to the pas_book_new args, and add a prototype for - pas_book_get_uri. Also, remove the "request" signal. - -2003-08-07 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-book-factory.c - (pas_book_factory_get_n_backends): lock map_mutex around hash - table work. - (pas_book_factory_dump_active_backends): same. - (backend_last_client_gone_cb): same. - (_pas_book_factory_send_open_book_response): track CallStatus idl - change. - (start_backend): simplify this greatly, since the factory is - tagged with HINT_PER_THREAD. - (impl_GNOME_Evolution_Addressbook_BookFactory_openBook): lock - around hash table. - (pas_book_factory_init): initialize map_mutex. - (pas_book_factory_dispose): free map_mutex. - -2003-08-06 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-file.c - (pas_backend_file_book_view_copy): nuke. - (pas_backend_file_book_view_free): same. - (view_destroy): same. - (pas_backend_file_changes): #if notyet - (do_create): e-card -> e-contact. - (pas_backend_file_process_create_card): remove view handling from - here. - (pas_backend_file_process_remove_cards): same. - (pas_backend_file_process_modify_card): convert to e-contact, and - remove view handling. - (pas_backend_file_get_book_view): nuke. - (pas_backend_file_process_get_supported_fields): e-card-simple -> - e-contact. - (pas_backend_file_upgrade_db): e-card -> e-contact. - (pas_backend_file_cancel_operation): implement, just return - CouldNotCancel. - (pas_backend_file_class_init): assign cancel_operation, and remove - get_book_view assignment. - (pas_backend_file_init): remove book_views assignment. - -2003-08-06 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-vcf.c (pas_backend_vcf_book_view_copy): - nuke. - (pas_backend_vcf_book_view_free): same. - (view_destroy): same. - (insert_contact): new function, insert the contact into our hash - table. - (load_file): reimplement without the e_card stuff. - (foreach_build_list): e_card -> e_contact. - (save_file): mostly reimplement in terms of e-contact. more error - case work needs doing. - (do_create): e-card -> e-contact. - (pas_backend_vcf_process_create_card): remove the view handling - from here. - (pas_backend_vcf_process_remove_cards): implement this, just - remove it from the hash table and set ourselves to dirty. - (pas_backend_vcf_process_modify_card): remove the view handling - from here. - (pas_backend_vcf_process_get_book_view): nuke. - (pas_backend_vcf_process_get_supported_fields): reimplement in - terms of e-contact. - (INITIAL_VCARD): add in a FN attribute, and remove the quoted - printable encoding. - (pas_backend_vcf_cancel_operation): implement, just always return - CouldNotCancel. - (pas_backend_vcf_class_init): fill in cancel_operation, and remove - get_book_view_sync. - (pas_backend_vcf_init): remove book_views handling. - - * backend/pas/pas-backend-vcf.h: update copyright. - -2003-08-06 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-sync.c (pas_backend_sync_remove_cards): - add out param @ids, so we can call pas_book_respond_remove - properly. - (_pas_backend_remove_cards): the other half of the change - pass - the ids on to pas_book_response_remove. - (pas_backend_sync_modify_card): add out param @old_vcard so we can - call pas_book_respond_modify properly. - (_pas_backend_modify_card): the other half of the change, pass the - old_vcard on to pas_book_respond_modify. - (pas_backend_sync_get_book_view): nuke. - (pas_backend_sync_get_changes): track change (book view -> GList) - (_pas_backend_is_threaded): nuke. - (_pas_backend_create_card): indent. - (_pas_backend_remove_cards): same. - (_pas_backend_modify_card): same. - (_pas_backend_get_card_list): same. - (_pas_backend_get_changes): same. - (_pas_backend_authenticate_user): same. - (_pas_backend_get_supported_fields): same. - (_pas_backend_get_supported_auth_methods): same. - (_pas_backend_get_book_view): nuke. - (pas_backend_sync_class_init): remove assignment to is_threaded - and get_book_view. - - * backend/pas/pas-backend-sync.h: add out-params @ids to - remove_cards_sync, @old_vcard to modify_card_sync. - get_changes_sync's out-param is a GList instead of a book view, - and remove get_book_view_sync. - - * backend/pas/pas-backend.c (pas_backend_get_book_view): nuke. - (pas_backend_is_threaded): nuke. - (pas_backend_start_threaded): nuke. - (pas_backend_init): initialize priv->views. - (pas_backend_dispose): free priv->views. - (pas_backend_get_book_views): new function, return priv->views. - - * backend/pas/pas-backend.h: remove the get_book_view virtual - method, and the pas_backend_get_book_view prototype. Also, track - the CallStatus change, and add a cancel_operation virtual method - and prototype, and add pas_backend_get_book_views function, so the - PASBook's can get ahold of the list. - - * backend/pas/pas-book-view.h: track collapsing of - Addressbook::BookListenerCallStatus and - Addressbook::BookView::CallStatus enums into - Addressbook::CallStatus. - - * backend/pas/pas-book-view.c: same. - - * backend/pas/pas-card-cursor.[ch]: nuke - - * backend/pas/pas-book.c: track collapsing of - Addressbook::BookListenerCallStatus and - Addressbook::BookView::CallStatus enums into - Addressbook::CallStatus. - (impl_GNOME_Evolution_Addressbook_Book_getBookView): implement - this all here, instead of farming it out to the backends. - (impl_GNOME_Evolution_Addressbook_Book_getChanges): track change - to signature. this is no longer a book view, it'll return an - actual list. - (impl_GNOME_Evolution_Addressbook_Book_cancelOperation): new - function, implement. - (pas_book_respond_create): iterate over the views, notifying them - if the new card matches their query. - (pas_book_respond_remove): iterate over the views, telling them to - delete the card matching the id. - (pas_book_respond_modify): iterate over the views, notifying them - if they need to change/add/remove that card. - (view_destroy): move this here from the backends. - (pas_book_respond_get_book_view): weak-ref the book view. - (pas_book_new): remove the is_threaded switch on POA hints, and - always use PER_REQUEST. - (pas_book_class_init): fill in cancelOperation. - - * backend/pas/pas-book.h: track collapsing of - Addressbook::BookListenerCallStatus and - Addressbook::BookView::CallStatus enums into - Addressbook::CallStatus. - -2003-08-01 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-book-async.c: mostly finished. - -2003-08-01 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-book-async.[ch]: new files, create async methods - similar to the old ebook api that use GThread/GAsyncQueue to - simulate the old async behavior. - -2003-07-29 Chris Toshok <toshok@ximian.com> - - * backend/idl/addressbook.idl: collapse - Addressbook::BookListenerCallStatus and - Addressbook::BookView::CallStatus enums into - Addressbook::CallStatus. - -2003-07-29 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-book-types.h: add EBookChangeType/EBookChange. - -2003-07-29 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-book-view-listener.c: track collapsing of - Addressbook::BookListenerCallStatus and - Addressbook::BookView::CallStatus enums into - Addressbook::CallStatus. - - * backend/ebook/e-book-listener.c track collapsing of - Addressbook::BookListenerCallStatus and - Addressbook::BookView::CallStatus enums into - Addressbook::CallStatus. - (response_free): nuked - (e_book_listener_check_queue): nuked - (e_book_listener_queue_response): nuked - (e_book_listener_queue_progress): nuked - (e_book_listener_queue_get_view_response): nuked - (e_book_listener_queue_get_changes_response): nuked - (e_book_listener_queue_writable_status): nuked - (e_book_listener_queue_authentication_response): nuked - (e_book_listener_queue_get_supported_fields_response): nuked - (e_book_listener_queue_get_supported_auth_methods_response): nuked - (e_book_listener_dispose): nuked - - * backend/ebook/e-book-listener.h: remove prototypes for - check_pending and pop_response. - - * backend/ebook/e-book.c (e_book_get_changes): new function. - implement this as more of a getCardList type function, instead of - getBookView. - (e_book_response_get_changes): new function. - (e_book_free_change_list): new function. - - * backend/ebook/e-book.h: add prototype for - e_book_free_change_list. - -2003-07-23 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-book.c (e_book_get_book_view): new function, - implement this. - (e_book_response_get_book_view): same. - (e_book_get_contacts): remove the op so we don't see BUSY after - this request. - (e_book_handle_response): unifdef a few things. - (e_book_unload_uri): fix the assertion about URI_NOT_LOADED, and - unifdef some code. - (e_book_dispose): fix a typo. - - * backend/ebook/e-book-view.c (e_book_view_handle_response): - rename _check_listener_queue to this. we don't need to pop the - response either, it's passed as an arg. - (e_book_view_construct): "response_queued" -> "response" - (e_book_view_start): new function, call BookView.start. - (e_book_view_dispose): track the signal id change. - - * backend/ebook/e-book-view.h: add prototype for - e_book_view_start. - - * backend/ebook/e-book-view-listener.c - (e_book_view_listener_check_queue): remove. - (e_book_view_listener_queue_response): just emit the signal. - (impl_BookViewListener_notify_card_added): spew. - (impl_BookViewListener_notify_card_changed): spew. - (impl_BookViewListener_notify_sequence_complete): spew. - (impl_BookViewListener_notify_progress): spew. - (e_book_view_listener_check_pending): remove - (e_book_view_listener_check_pop_response): remove - (e_book_view_listener_new): use the ALL_AT_IDLE poa policy. - (e_book_view_listener_init): remove the queue/timeout stuff. - (e_book_view_listener_dispose): remove the queue/timeout stuff. - - * backend/ebook/e-book-view-listener.h: remove _check_pending and - _pop_response. - -2003-07-23 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-file.c (do_summary_query): remove the - completion_search argument, and remove the aggregating stuff. - just call pas_book_view_notify_add_1. - (pas_backend_file_book_view_copy): remove card_sexp crap. - (pas_backend_file_book_view_free): same. - (get_length): remove - (get_nth): remove - (cursor_destroy): remove - (vcard_matches_search): remove - (ecard_matches_search): remove - (pas_backend_file_search_timeout): remove the aggregating stuff. - just call pas_book_view_notify_add_1. - (pas_backend_file_search): simplify this a bunch. - (do_create): use pas_book_view_vcard_matches. - (pas_backend_file_process_get_card_list): add some more error - checks. - (pas_backend_file_process_get_book_view): unifdef this, and - implement it. - (pas_backend_file_start_book_view): kick off the search. - (pas_backend_file_get_uri): remove. - (pas_backend_file_class_init): remove get_uri, add - start_book_view. - - * backend/pas/pas-backend-ldap.c (view_destroy): don't need to - unref the card_sexp, as the PASBookView owns it now. - (create_card_handler): use pas_book_view_vcard_matches. - (modify_card_modify_handler): same. - (ldap_get_view): initialize the view properly. - (pas_backend_ldap_get_uri): remove. - (pas_backend_ldap_class_init): remove the get_uri assignment. - - * backend/pas/pas-backend-sync.c (_pas_backend_get_card_list): - don't free this, it's freed in the pas_book code. - - * backend/pas/pas-backend-sync.h: make use of pas-types.h and - remove some typedefs. - - * backend/pas/pas-backend-summary.h: same. - - * backend/pas/pas-backend-card-sexp.h: same. - -2003-07-23 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-book.c - (impl_GNOME_Evolution_Addressbook_Book_getBookView): spew. - (pas_book_respond_create): unifdef this. - (pas_book_respond_remove): same. - (pas_book_respond_modify): same. - (pas_book_respond_authenticate_user): same. - (pas_book_respond_get_supported_fields): unref the iterator. - (pas_book_respond_get_book_view): unifdef, and add spew. - - * backend/pas/pas-book.h: make use of pas-types.h and remove some - typedefs. - -2003-07-23 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-types.h: new file, all the typedefs shared - between files here. - -2003-07-23 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-book-view.c (send_pending_adds): abstract all - the aggregating code to the book view. backends just call - notify_card_added and the superclass does all the aggregating. - (pas_book_view_notify_change): if there are pending adds, send - them before we send the change. - (pas_book_view_notify_remove): same. - (pas_book_view_notify_add): the other part of the aggregating - code. - (pas_book_view_notify_complete): send pending adds if there are - any. - (impl_GNOME_Evolution_Addressbook_BookView_start): new function, - call pas_backend_start_book_view. - (pas_book_view_get_card_query): new function. - (pas_book_view_get_card_sexp): new function. - (pas_book_view_get_backend): new function. - - * backend/pas/pas-book-view.h: add a PASBackend arg to the - constructor, as well as the char* query and PASBackendCardSExp - form. also add accessors for card_query, card_sexp, and backend. - - * backend/idl/addressbook.idl - (GNOME::Evolution::Addressbook::BookView): add start() method. - (GNOME::Evolution::Addressbook::BookListener): remove the oneway - tag from notifyBookOpened, notifyViewRequested, and - notifyChangesRequested so the call doesn't return until the remote - object has gotten the method call. - - * backend/pas/pas-backend.c (pas_backend_load_uri): fill in the - uri slot if the load was successful. - (pas_backend_get_uri): return the uri, remove the virtual method - call. - (pas_backend_start_book_view): new function. - (process_client_request): ifdef out the threaded foo, since i'm - not certain it's at all necessary. - (real_add_client): remove the bonobo_object_unref of the book, - since it's immortal. - (pas_backend_dispose): free the uri. - - * backend/pas/pas-backend.h: remove the get_uri virtual method, - and add the start_book_view virtual method and - pas_backend_start_book_view prototype. - -2003-07-23 Chris Toshok <toshok@ximian.com> - - * backend/pas/Makefile.am (libpasvcf_a_SOURCES): new. - (noinst_LIBRARIES): add libpasvcf.a - - * backend/pas/pas-backend-vcf.[ch]: new files, implement a vcard - file backend. the backend api still needs a little work, but it's - getting easier to write backends. - -2003-07-23 Chris Toshok <toshok@ximian.com> - - * printing/e-contact-print.c (e_contact_print_response): deal with - "uses_list". Fixes #30839. - (e_contact_print_dialog_new): use GINT_TO_POINTER instead of - casting to void*, and set "uses_list" to FALSE. - (e_contact_print_card_dialog_new): same. - (e_contact_print_card_list_dialog_new): same, but set "uses_list" - to TRUE. - -2003-07-23 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-book.c (e_book_dispose): fix a typo. - -2003-07-22 Akira TAGOH <tagoh@redhat.com> - - * printing/e-contact-print-envelope.c (ecpe_print): Use 'Sans' - instead of 'Helvetica' for the font name. - * printing/e-contact-print.c (e_contact_build_style): Likewise. - -2003-07-23 Dan Winship <danw@ximian.com> - - * backend/ebook/Makefile.am: use EVO_MARSHAL_RULE - * backend/pas/Makefile.am: Likewise - * gui/component/select-names/Makefile.am: Likewise - * gui/contact-editor/Makefile.am: Likewise - * gui/contact-list-editor/Makefile.am: Likewise - * gui/widgets/Makefile.am: Likewise - - * gui/contact-editor/e-contact-editor.c - (e_contact_editor_class_init): - s/ece_marshal/e_contact_editor_marshal/ - - * gui/contact-list-editor/e-contact-list-editor.c - (e_contact_list_editor_class_init): Likewise for ecle_marshal - - * gui/search/e-addressbook-search-dialog.c - (e_addressbook_search_dialog_init): Remove gtk_window_set_policy - call since that function is deprecated and it was just setting - everything to the default values anyway. - - * gui/widgets/e-addressbook-util.c: #include gal/util/e-util.h for - e_free_object_list. - -2003-07-22 Dan Winship <danw@ximian.com> - - * backend/ebook/e-card.c: (e_card_new, - e_card_new_with_default_charset): Make the "vcard" arg const. - ...: add lots and lots of other consts as a side effect - -2003-06-30 Dan Winship <danw@ximian.com> - - * gui/widgets/e-addressbook-view.c (e_addressbook_view_dispose): - disconnect from model signals to prevent a race condition at - shutdown where the view gets destroyed and then the model notices - the backend dying before being destroyed itself. - - * gui/widgets/e-addressbook-reflow-adapter.c - (addressbook_finalize): add, to free priv. - (e_addressbook_reflow_adapter_class_init): set it up - - * gui/component/e-address-popup.c (e_address_popup_set_free_form): - Don't leak strings - - * gui/component/addressbook-storage.c (load_source_data): don't - leak xml data. - - * gui/component/addressbook-component.c (new_item_cb): don't leak - the new card. - -2003-06-25 Gilbert Fang <gilbert.fang@sun.com> - - * gui/widgets/e-minicard-view-widget.c - (e_minicard_view_widget_real_focus_in_event): new function, - override the event handler for focus_in_event, set the first item - be focused if no focused item at all. Fixes bug 41826. - -2003-06-18 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-editor.c (fill_in_field): in the - EUrlEntry case just reassign widget. it'll be handled by the - GtkEditable code below. Fixes #43841. - -2003-06-14 Larry Ewing <lewing@ximian.com> - - * gui/backend/ebook/e-card-simple.c: - * gui/backend/ebook/e-card.c: - * gui/backend/ebook/evolution-ldif-importer.c: - * gui/backend/ebook/load-pine-addressbook.c: - * gui/backend/ebook/test-card.c: - * gui/backend/pas/pas-backend-card-sexp.c: - * gui/backend/pas/pas-backend-ldap.c: Fix lots of leaks, update - for correct use of g_object_get. Some cleanups. - -2003-06-13 Larry Ewing <lewing@ximian.com> - - * gui/component/addressbook.c: - * gui/component/e-cardlist-model.c: - * gui/component/select-names/e-select-names-text-model.c: - * gui/contact-editor/e-contact-editor.c: - * gui/contact-editor/e-contact-save-as.c: - * gui/contact-list-editor/e-contact-list-editor.c: - * gui/widgets/e-addressbook-table-adapter.c: - * gui/widgets/e-addressbook-util.c: - * gui/widgets/e-addressbook-view.c: - * gui/widgets/e-minicard-view.c: - * gui/widgets/e-minicard.c: Fix lots of leaks, update for correct - use of g_object_get. Some misc cleanups. - - * printing/e-contact-print.c: update for correct use of - g_object_get. - -2003-06-05 Not Zed <NotZed@Ximian.com> - - ** For #42691. - - * gui/component/select-names/Makefile.am (%.server.in): implicit - rule for .in file. - (BUILT_SOURCES): added server_DATA. - - * gui/component/Makefile.am (%.server.in): use implicit rule for - .in file. - (BUILT_SOURCES): added, just server_DATA. - (CLEANFILES): added - - * backend/ebook/Makefile.am (BUILT_SOURCES): add server_DATA. - -2003-06-04 Rodrigo Moya <rodrigo@ximian.com> - - * backend/ebook/ebook.c (e_book_do_response_open): adapted to - changes in EComponentListener API. - -** See ChangeLog.pre-1-4 for older changes - diff --git a/addressbook/ChangeLog.pre-1-4 b/addressbook/ChangeLog.pre-1-4 deleted file mode 100644 index b1c12cb82f..0000000000 --- a/addressbook/ChangeLog.pre-1-4 +++ /dev/null @@ -1,16758 +0,0 @@ -2003-05-19 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (func_beginswith): use the more - convoluted (but more correct) query if evolutionPerson is - supported. Fixes #42825. - -2003-05-19 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-destination.c (use_default_book_cb): handle the - case where @book == NULL, which can happen if there was a problem - opening the default book. Should fix #43005. - -2003-05-19 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-component.c - (ensure_completion_uris_exist): fix the initial run case. the - config upgrade code creates all elements so we can't just check - for NULL - we have to check if the string is empty. Fixes #43213. - -2003-05-19 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-minicard-label.c (set_colors): if we've got focus, - set the background of the rect to bg[NORMAL], and the fill color - of the text and label to text[NORMAL]. This will make the - background a different color than the canvas, but won't make it - use the selected background. fixes #42472 - -2003-05-19 Chris Toshok <toshok@ximian.com> - - * gui/merging/e-card-merging.c (e_card_merging_book_commit_card): - add a g_object_ref(card), to match the one in - e_card_merging_book_add_card. Fixes #43175. - -2003-05-19 Anna Marie Dirks <anna@ximian.com> - - * gui/contact-editor/e-contact-quick-add.c: Added HIG-appropriate - HIG-appropriate spacing, padding, accelerators. Fixes bug #41210 - - * gui/component/ldap-config.glade: HIG-ified the various dialogs - (including the settings pages, the config druid, and the edit dialog) - in this glade file. This fixes bugs #41140, #41137, #41130 - - * gui/merging/e-card-merging-book-commit-duplicate-detected.glade: - Changed button order, and added HIG-appropriate spacing/padding. - Fixes bug #41232. - - * gui/merging/e-card-duplicate-detected.glade: Changed button - order, and added HIG-appropriate spacing/padding. Fixes bug - #41229 and #41231. - -2003-05-19 Sean Gao <sean.gao@sun.com> - - * gui/component/addressbook-component.c (xfer_folder): remove the - summary if @remove_source is TRUE. Fixes 38084. - -2003-05-16 Anna Marie Dirks <anna@ximian.com> - - * gui/contact-list-editor/contact-list-editor.glade: Added - HIG-appropriate spacing, padding, capitalization and accelerators. - Fixes bug #41254 - -2003-05-16 Anna Marie Dirks <anna@ximian.com> - - * gui/contact-editor/fulladdr.glade: Added HIG-appropriate - spacing, padding, capitalization and accelerators. Fixes bug #41251 -2003-05-14 Anna Marie Dirks <anna@ximian.com> - - * gui/contact-editor/fullname.glade: Added HIG-appropriate - spacing, padding, caps, title and accelerators. Fixes bug #41249, - and also bug #41250.. - -2003-05-16 Anna Marie Dirks <anna@ximian.com> - - * gui/contact-editor/contact-editor.glade: Added HIG-appropriate - spacing, padding, capitalization and accelerators. Fixes bug #41248. - - -2003-05-16 Rodney Dawes <dobey@ximian.com> - - * addressbook/backend/ebook/Makefile.am: Move the tools to a - more appropriate directory, privlibexecdir - -2003-05-15 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.c (book_open_cb): backing out a tiny - porting of jpr's fix - we need to set the book on the - EAddressbookView, or else it won't do queries, and it won't show - any cards. Fixes #43023, #43090. - -2003-05-15 Chris Toshok <toshok@ximian.com> - - * gui/merging/e-card-merging.c (free_lookup): new function, split - out the duplicated teardown code from final_cb and final_id_cb. - also, unref the card. - (final_id_cb): call free_lookup. - (final_cb): same. - (e_card_merging_book_add_card): ref the card. fixes bug #43016. - -2003-05-14 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-editor.c (full_addr_clicked): - replace the text_buffer_delete/text_buffer_insert with - set_buffer_set_text. call widget_changed if they clicked OK, so - we actually mark the dialog changed. - (fill_in_field): make this handle GtkTextViews, because for some - reason that escapes rational thought GtkTextView's don't implement - GtkEditable. fixes #42606. - (extract_field): same. - -2003-05-14 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-minicard-label.c (e_minicard_label_reflow): set - the clip_height on reflow so the name of the field is as high as - the field's value. makes it possible to click anywhere to the - left of a tall field (like an address) and have it select the - field. Fixes #42625. - -2003-05-14 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-editor.c (address_mailing_changed): - handle the case where we haven't filled in the address yet. fixes - #42620. - -2003-05-14 JP Rosevear <jpr@ximian.com> - - * gui/component/addressbook.c (addressbook_view_unref): clear the - view - (book_open_cb): track the book in the view, don't unref the book - (set_prop): set the book - (retrieve_shell_view_interface_from_control): get the shell view - every time - (set_folder_bar_label): release and unref the shell view - - * gui/component/addressbook-storage.h: add proto - - * gui/component/addressbook-storage.c - (addressbook_storage_cleanup): unref the storage - - * gui/component/addressbook-component.c (owner_unset_cb): clean up - storage - - * backend/ebook/e-book.c (e_book_load_uri): track the listener - signal - (e_book_dispose): unref the listener and disconnect the signal - -2003-05-13 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-text-model.c - (e_select_names_text_model_set_separator): strlen -> - g_utf8_strlen. - (e_select_names_text_model_insert): same. - (e_select_names_text_model_insert_length): big change, make this - work with multibyte utf8. - (e_select_names_text_model_delete): same. this could possibly use - a tighter loop + a memmove, but this works. - - * gui/component/select-names/e-select-names-model.c - (e_select_names_model_get_textification): make sure our truncation - to MAX_LENGTH characters uses utf8 characters, not bytes. - (e_select_names_model_name_pos): track e-text-model change. - pos/length are now in utf8 character terms, so use g_utf8_strlen - instead of strlen. - (e_select_names_model_text_pos): same. - -2003-05-13 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-table-adapter.c (addressbook_dispose): - rename addressbook_destroy to this, and guard against multiple - calls. - (e_addressbook_table_adapter_class_init): GtkObject -> GObject, - and destroy -> dispose. - (e_addressbook_table_adapter_init): GtkObject -> GObject. - -2003-05-12 Sean Gao <sean.gao@sun.com> - - * gui/contact-list-editor/e-contact-list-editor.c - (e_contact_list_editor_init): terminate g_build_filename with - NULL. - -2003-05-11 Chris Toshok <toshok@ximian.com> - - [ fixes bug #42048 ] - * gui/widgets/e-addressbook-view.c (e_contact_print_button): - button => response. - (e_addressbook_view_print): connect to "response", not "clicked". - -2003-05-11 Chris Toshok <toshok@ximian.com> - - [ fixes bug #41245 ] - * gui/component/select-names/select-names.glade: fix - spacing/border widths as per HIG. - - * gui/component/select-names/e-select-names.c - (e_select_names_init): set the border width/spacing on widgets we - create here. - -2003-05-09 Jeremy Katz <katzj@redhat.com> - - * printing/e-contact-print.c (e_contact_print_response): Use glib - macro to case from pointer to int. - - * printing/e-contact-print-envelope.c: Add missing #include. - - * gui/component/select-names/e-select-names-completion.c - (e_select_names_completion_start_query): Use - E_SELECT_NAMES_COMPLETION to avoid warning - -2003-05-06 Chris Toshok <toshok@ximian.com> - - [ really commit this, fixes bug #41910 ] - * gui/contact-list-editor/e-contact-list-model.c - (e_contact_list_model_remove_row): change from model_changed to - row_deleted here. model_changed causes the table to free its - ETableSelection, which is what we iterate over when deleting - contacts. - (e_contact_list_model_add_destination): no need to be calling - model_changed here either. - -2003-04-29 Chris Toshok <toshok@ximian.com> - - [ fixes bug #41255 ] - * gui/contact-list-editor/contact-list-editor.glade: use stock - buttons for Add/Remove. - -2003-04-29 Chris Toshok <toshok@ximian.com> - - [ fixes bug #41144 ] - * gui/component/ldap-config.glade: use stock buttons for the - Add/Delete buttons. Switch from "Delete" to "Remove", though, as - "Remove" fits much better with the one for "Add". Also, add our - stock-edit-24.png icon for "Edit". - -2003-04-29 Chris Toshok <toshok@ximian.com> - - [ fixes bug #41211 ] - * gui/component/e-address-popup.c (e_address_popup_no_matches): - call e_button_new_with_stock_icon to create our button and give it - the right icon. - -2003-04-29 Gilbert Fang <gilbert.fang@sun.com> - - * tools/evolution-addressbook-export-list-cards.c - (set_pre_defined_field): remove duplicate HOME_COUNTRY field add. - -2003-04-28 Chris Toshok <toshok@ximian.com> - - [ fixes bug #41843] - * tools/evolution-addressbook-export-list-cards.c - (e_card_simple_csv_get_name): use e_card_simple_get_ecard_field - instead of e_card_simple_get_name, so the return value won't be - localized. - -2003-04-28 Chris Toshok <toshok@ximian.com> - - [ fixes bug #41779 ] - * gui/component/e-address-popup.c (mini_wizard_container_add): we - don't need to call gtk_widget_destroy on the old child, since - gtk_container_remove will unref it for us. - -2003-04-23 Chris Toshok <toshok@ximian.com> - - [ fixes bug #37351 ] - * gui/widgets/e-addressbook-view.c (table_drag_data_get): the row - the signal is called with is already the model row, not the view - row, so don't call e_table_view_to_model_row on it. - -2003-04-23 Chris Toshok <toshok@ximian.com> - - [ either mostly or entirely fixes #33708 ] - * gui/component/select-names/e-select-names-completion.c - (e_select_names_completion_done): new function, factor it out of - _seq_complete_cb because we need to run the same code in a couple - of places. - (e_select_names_completion_got_book_view_cb): treat an error from - a book as getting a "sequence_complete", and decrement the count - of pending complete signals. - (e_select_names_completion_got_book_view_cb): remove the increment - of pending_completion_seq from here. - (e_select_names_completion_seq_complete_cb): factor out the body - of e_select_names_completion_done from here, and call it. - (e_select_names_completion_start_query): increment - pending_completion_seq here. remove the async variable, as we can - now use pending_completion_seq for that purpose (it's > 0 iff - async would have been TRUE). - -2003-04-19 Chris Toshok <toshok@ximian.com> - - [ fixes bug #40954 ] - * backend/pas/pas-backend-file.c (pas_backend_file_dispose): guard - against NULL bf->priv->summary (happens if the initial load_uri - failed). - (pas_backend_file_load_uri): always set bf->priv->uri, since it's - used in _get_uri, which is called when the backend goes away. - This only happened before if you tried to load a folder that - didn't exist. - -2003-04-19 Chris Toshok <toshok@ximian.com> - - [ fixes #40694 ] - * gui/component/select-names/e-select-names-bonobo.c - (control_activate_cb): just grab focus if @activate == TRUE. - we'll do all merging/unmerging in the focus handler. - (widget_focus_cb): handle the merging here. - (e_bonobo_control_automerge_ui): store off the widget (so we can - grab focus on it) and connect to "activate". - -2003-04-18 Rodney Dawes <dobey@ximian.com> - - * gui/component/select-names/Makefile.am: Add missing -DPREFIX - -2003-04-18 Rodney Dawes <dobey@ximian.com> - - [ fixes #21499 ] - * gui/component/Makefile.am: - * gui/component/addressbook.c: - * gui/component/select-names/e-select-names-bonobo.c: - * gui/contact-editor/Makefile.am: - * gui/contact-editor/e-contact-editor.c: - * gui/contact-list-editor/Makefile.am: - * gui/contact-list-editor/e-contact-list-editor.c: - Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () - -2003-04-15 Chris Toshok <toshok@ximian.com> - - [ fixes #41252 ] - * gui/contact-editor/fulladdr.glade: change title from "Check - Address" to "Full Address". - -2003-04-09 Chris Toshok <toshok@ximian.com> - - [ fixes #40727 ] - * gui/component/select-names/e-select-names-completion.c - (e_select_names_completion_start_query): if the query text is - either shorter than the cached query_text or they don't match, - don't just set can_reuse_cached_cards to FALSE. we also need to - invalidate the cache. - -2003-04-08 Ettore Perazzoli <ettore@ximian.com> - - * backend/ebook/e-destination.c (d): Remove all debugging - messages. - -2003-04-08 Dan Winship <danw@ximian.com> - - * gui/component/ldap-config.glade: Remove color specifications - from the druid so it will use theme colors. - - * gui/component/addressbook-config.c - (addressbook_add_server_druid): Use g_signal_connect_after for - "prepare" signal (to work around b.g.o 81869) - -2003-04-07 Chris Toshok <toshok@ximian.com> - - [ fixes #7103 ] - * gui/widgets/e-minicard-label.c (e_minicard_label_class_init): - init style_set. and add the signal. - (e_minicard_label_realize): include e_minicard_label_construct's - code here, and call set_colors after we create the sub-items. - (e_minicard_label_unrealize): indent, and remove dead code. - (e_minicard_label_event): indent, and call set_colors instead of - setting the colors manually. - (set_colors): new function, set our colors based on the current - style. - (e_minicard_label_style_set): new function, just call set_colors. - (e_minicard_label_new): e_minicard_label_construct doesn't exist - anymore. - - * gui/widgets/e-minicard-label.h (struct _EMinicardLabelClass): - add style_set signal. - - * gui/widgets/e-minicard.c (set_selected): little tweaks in the - coloring. - (e_minicard_unrealize): reindent, and remove some unused code. - - * gui/widgets/e-minicard-view-widget.h (struct - _EMinicardViewWidget): add background. - - * gui/widgets/e-minicard-view-widget.c - (e_minicard_view_widget_class_init): init - widget_class->style_class. - (e_minicard_view_widget_style_set): new function, just set the - background's fill_color_gdk to base[GTK_STATE_NORMAL]. - (e_minicard_view_widget_realize): store off the background canvas - item so we can set the color later. - -2003-04-07 Chris Toshok <toshok@ximian.com> - - [ fixes bug #40901 ] - * gui/component/ldap-config.glade: HIG-ify the ldap server edit - dialog's button layout. - -2003-04-07 Chris Toshok <toshok@ximian.com> - - [ fixes bug #39763 ] - * gui/component/select-names/e-select-names-bonobo.c (copy_cb): - verb callback for EditCopy - (cut_cb): verb callback for EditCut. - (paste_cb): verb callback for EditPaste. - (select_all_cb): verb callback for SelectAll. - (free_closure): new function - (merge_menu_items): same - (unmerge_menu_items): same - (control_set_frame_cb): same - (control_activate_cb): same - (widget_focus_cb): same - (e_bonobo_control_automerge_ui): new function, sets up focus - signals on the widget passed in to merge/unmerge the passed in - ui/verbs. - (impl_SelectNames_get_entry_for_section): call - e_bonobo_control_automerge_ui for this entry. - -2003-04-07 Chris Toshok <toshok@ximian.com> - - * gui/component/e-address-popup.c (mini_wizard_new): change the - ok/cancel button layout to be higified. - -2003-04-07 Chris Toshok <toshok@ximian.com> - - [ last portion of #40046 fix ] - * gui/component/select-names/e-select-names-popup.c - (remove_recipient_cb): ifdef this out to quiet the compiler. - (remove_all_recipients_cb): same. - (toggle_html_mail_cb): same. - (populate_popup_card): change the #if 0 to #if - TOO_MANY_MENU_ITEMS. - (popup_menu_list): nuke, as it's handled by populate_popup_card. - (populate_popup_nocard): rename popup_menu_nocard to this, and - implement it as in populate_popup_card. - (e_select_names_populate_popup): we don't need the card, since we - don't check if it's a list here anymore. also, remove the #if 0 - surrounding the nocard case. - -2003-04-07 Not Zed <NotZed@Ximian.com> - - Fixes #40252. - - * conduit/address-conduit.c: Change the LOG macro to a - single arg macro which copies its arg. Fix all callers. Change - WARN and INFO to simply g_warning/g_message. Init G_LOG_DOMAIN - before including anything. - -2003-04-07 Chris Toshok <toshok@ximian.com> - - * Makefile.am (SUBDIRS): add tools. - -2003-04-07 Gilbert Fang <gilbert.fang@sun.com> - - [ fixes bug #23036 ] - * tools/evolution-addressbook-export.c, - tools/evolution-addressbook-export-list-cards.c, - tools/evolution-addressbook-export-list-folders.c: : new and - improved export utility. - -2003-04-07 Dan Winship <danw@ximian.com> - - * gui/component/GNOME_Evolution_Addressbook.server.in.in: Clean up - server names. - - * gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in: - Likewise - - * backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in: - Likewise. Also mark the evolution:menu_name for i18n. - - * backend/ebook/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in: - Likewise - -2003-04-03 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-minicard-label.c (e_minicard_label_event): set - "handle_popup" on the field to be TRUE if it's got focus, FALSE if - not. - -2003-04-03 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-minicard-label.c (e_minicard_label_construct): - doh, set the im_context on the field name too so we get the Input - Method submenu in the contxt menu. - -2003-04-03 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-minicard-label.c (e_minicard_label_construct): set - the im_context on the field's EText. - (e_minicard_label_event): remove a huge swath of #if 0'd code. - -2003-04-03 Chris Toshok <toshok@ximian.com> - - [ fixes bug #40715 ] - * gui/merging/e-card-merging.c (final_id_cb): add this callback, - to unref the book/free the closure after calling the user's - callback. - (final_cb): same. - (doit): use final{_id}_cb - (cancelit): same. - (response): don't free the lookup struct here. - (match_query_callback): same. - (e_card_merging_book_add_card): ref the book. - (e_card_merging_book_commit_card): same. - - * gui/component/e-address-popup.c (card_picker_init): make sure to - set the "text" attribute on the cell renderer so the text actually - shows up. also, g_object_connect -> g_signal_connect *sigh*. - Lastly, get rid of the scrolled window and just make the window - size to show the text. - - * gui/widgets/e-minicard.c (e_minicard_style_set): only call - set_selected if we're realized (we create all the canvas objects - that set_selected manipulates in our realize method.) - -2003-04-03 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/Makefile.am (INCLUDES): add - EVOLUTION_IMAGESDIR - -2003-04-02 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-popup.c: change all - this around so that we populate the existing popup. This means we - get the select names popup stuff on top of the normal EEntry popup - foo. - - * gui/component/select-names/e-select-names-popup.h - (e_select_names_populate_popup): rename e_select_names_popup to - this. - - * gui/component/select-names/e-select-names-manager.c - (populate_popup_cb): rename popup_cb here, and - e_select_names_popup -> e_select_names_populate_popup. - (e_select_names_manager_entry_new): popup -> populate_popup. - -2003-04-02 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-marshal.list: add NONE:OBJECT - - * gui/widgets/e-minicard.c (e_minicard_class_init): add style_set - signal. - (e_minicard_style_set): just call set_selected with the currently - selected flag, so we recolor properly. - - * gui/widgets/e-minicard.h (struct _EMinicardClass): add style_set - signal. - -2003-04-01 Rodrigo Moya <rodrigo@ximian.com> - - * backend/ebook/evolution-ldif-importer.c (load_file_fn): - * backend/ebook/evolution-vcard-importer.c (load_file_fn): added - "folder_type" parameter to EvolutionImporterLoadFileFn. - -2003-03-31 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-book-util.c (get_local_book_uri): new function, - just return the local uri. - (set_default_book_uri_local): use get_local_book_uri. - (e_book_default_book_open): only try and reload the default book - if it's not already the local book. - -2003-03-31 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (card_removed): it emits a list now - -2003-03-31 Dan Winship <danw@ximian.com> - - * gui/component/select-names/e-select-names.c - (e_select_names_init): Remove folder-selector button - initialization. - (e_select_names_new): Initialize folder-selector button here, - using the passed-in EvolutionShellClient rather than depending on - a global variable. - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_manager_activate_dialog): take an - EvolutionShellClient and pass it to e_select_names_new(). - - * gui/component/select-names/e-select-names-bonobo.c - (impl_SelectNames_activate_dialog): get a pointer to the shell - from bonobo-activation, create a shell_client, and pass it to - e_select_names_manager_activate_dialog. - - * backend/ebook/e-book-util.c (e_book_get_default_book_uri): - constify return value - -2003-03-30 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-vcard.[ch]: braindead, and *extremely* forgiving - vcard parser. not for public consumption yet. - -2003-03-30 Chris Toshok <toshok@ximian.com> - - [ fixes bug #39381 (again) ] - * gui/component/e-address-popup.c (edit_contact_info_cb): add - "GtkWidget *button" first arg, so we don't crash. - -2003-03-28 Chris Toshok <toshok@ximian.com> - - [ fixes bug #40403 ] - * backend/ebook/e-card.c (e_card_get_vobject): revert the fix for - 28945, as was done on the 1.2 branch. this is because the "fix" - actually breaks internal use of contact lists. We need to make - the exporting of contacts DTRT, instead of fixing it here. - -2003-03-28 Chris Toshok <toshok@ximian.com> - - [ fix the contact editor so that the only time the address is - parsed is when the user types in the address GtkTextView. ] - * gui/contact-editor/e-contact-editor.c (address_mailing_changed): - make this use delivery addresses instead of labels. - (full_addr_clicked): same. - (find_address_mailing): same. - - * backend/ebook/e-card-simple.c - (e_card_simple_set_delivery_address): make this operate similar to - e_card_simple_set_address: it sets both the delivery address and - the label for the address. - -2003-03-26 Chris Toshok <toshok@ximian.com> - - [ fixes bug #19178 ] - * backend/ebook/evolution-ldif-importer.c (ebook_open): use - e_book_load_address_book_by_uri on the passed in uri. - (load_file_fn): pass the uri. - - * backend/ebook/evolution-vcard-importer.c (ebook_open): use - e_book_load_address_book_by_uri on the passed in uri. - (load_file_fn): pass the uri. - -2003-03-26 Chris Toshok <toshok@ximian.com> - - [ fixes bug #34651 ] - * gui/component/select-names/e-select-names.c - (select_entry_changed): strcmp -> g_utf8_collate. - (update_query): encode the string we pass for the query. - -2003-03-26 Chris Toshok <toshok@ximian.com> - - [ fixes bug #34085 ] - * gui/contact-list-editor/e-contact-list-editor.c - (table_drag_data_received_cb): only successfully complete the drag - if they dropped a valid vcard (or vcard list). Call - gtk_drag_finish. - -2003-03-26 Chris Toshok <toshok@ximian.com> - - * gui/contact-list-editor/Makefile.am (INCLUDES): $evolution_uidir - -> $evolutionuidir - -2003-03-26 Philip Zhao <philip.zhao@sun.com> - - [ fixes bug #39170 ] - * backend/pas/pas-backend.c (pas_backend_create_card): remove - 'return'. - (pas_backend_remove_cards): same. - (pas_backend_modify_card): same. - (pas_backend_check_connection): same. - (pas_backend_get_vcard): same. - (pas_backend_get_cursor): same. - (pas_backend_get_book_view): same. - (pas_backend_get_completion_view): same. - (pas_backend_get_changes): same. - (pas_backend_authenticate_user): same. - (pas_backend_get_supported_fields): same. - (pas_backend_get_supported_auth_methods): same. - -2003-03-26 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (local_record_from_ecard): append the - second line to the address if necessary - (ecard_from_remote_record): split the address line in two if - necessary - -2003-03-23 Chris Toshok <toshok@ximian.com> - - * gui/contact-list-editor/contact-list-editor.glade: set the - dialog to "Visible: No" so it doesn't flash when we bring it up. - -2003-03-23 Chris Toshok <toshok@ximian.com> - - [ fixes bug #40026 ] - * gui/contact-editor/e-contact-editor.c (set_field): add - EContactEditor arg, and block/unblock signals around the - gtk_entry_set_text, since that generates a "changed" signal which - causes problems. - (set_phone_field): take and pass along an EContactEditor arg. - (set_fields): pass editor to set_field. - -2003-03-23 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/arrow.png: nuke. - - * gui/contact-editor/Makefile.am (EXTRA_DIST): remove images_DATA - (images_DATA): nuke, don't need it anymore. - - * gui/contact-editor/e-contact-editor.c - (connect_arrow_button_signal): rename _replace_button to this. we - no longer create an image, as it's a GtkArrow in the .glade file - now. - (connect_arrow_button_signals): rename _replace_buttons to this. - no longer pass the arrow.png's to _replace_button. - (e_contact_editor_init): _replace_buttons -> - connect_arrow_button_signals. - (_arrow_pressed): remove some dead code, and some args that aren't - used. - (_phone_arrow_pressed): track change to _arrow_pressed. - (_email_arrow_pressed): same. - (_address_arrow_pressed): same. - -2003-03-23 Chris Toshok <toshok@ximian.com> - - [ fixes bug #31786 ] - * gui/component/addressbook-config.c - (addressbook_source_dialog_set_source): fix some gtk warnings. - (set_advanced_button_state): the advanced dialog isn't present in - the glade file anymore, so ifdef everything dealing with it. - (addressbook_edit_server_dialog): same. - - * gui/component/ldap-config.glade: remove all the unused Advanced - UI stuff to lessen the amount of strings needing translation. - -2003-03-23 Chris Toshok <toshok@ximian.com> - - [ fixes bug #32113 ] - * backend/ebook/e-destination.h: add include_email arg to - e_destination_get_textrep. - - * backend/ebook/e-destination.c (e_destination_get_textrep): add - include_email arg. if it's TRUE, and if there's an email address to - add - - * gui/contact-list-editor/e-contact-list-model.c - (contact_list_value_at): use e_destination_get_textrep so we don't - display QP text, and pass TRUE for include_email. - - * gui/widgets/e-minicard.c (add_field): same. - (remodel): same. - - * gui/widgets/e-addressbook-treeview-adapter.c (adapter_get_value): same. - - * gui/widgets/e-addressbook-table-adapter.c (addressbook_value_at): same. - - * gui/component/select-names/e-select-names-text-model.c - (e_select_names_text_model_insert_length): pass FALSE for - include_email. - - * gui/component/select-names/e-select-names-model.c - (e_select_names_model_get_textification): pass FALSE for - include_email. - (e_select_names_model_get_string): same. - (e_select_names_model_replace): same. - (e_select_names_model_name_pos): same. - (e_select_names_model_text_pos): same. - -2003-03-19 Ettore Perazzoli <ettore@ximian.com> - - * backend/ebook/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in: - Replace "evolution:menu-name" prop with "evolution:menu_name". [#39692] - * backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in: Likewise. - -2003-03-18 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-table-model.c - (e_select_names_table_model_col_count): up the column count by one - for the underline. - (e_select_names_table_model_value_at): add handling for underline. - -2003-03-18 Chris Toshok <toshok@ximian.com> - - * gui/component/e-address-popup.c (email_menu_add_option): fix use - of deprecated gtk_menu_append. - (card_picker_selection_changed): change this to be used with the - "changed" signal on GtkTreeSelection. - (free_str): yeah, gross. i know. - (card_picker_init): this needed some fixing, so the strings don't - go away after we insert them into the model. also, connect to the - "changed" GtkTreeSelection signal instead of using the nonexistant - gtk_tree_selection_set_func. - (e_address_popup_construct): gtk_style_unref -> g_object_unref. - (popup_size_allocate_cb): nuke. - (e_address_popup_ambiguous_email_add): use gtk_window_set_position - and let the window manager place the window instead of doing it - ourself. - -2003-03-18 Chris Toshok <toshok@ximian.com> - - [ Fixes addressbook bug #39730 ] - * gui/component/ldap-config.glade: add response ids to the search - base dialog. - - * gui/component/addressbook-config.c - (addressbook_source_dialog_destroy): use g_object_unref, not - gtk_widget_destroy, on the GladeXML. - (addressbook_add_server_druid): call gtk_window_set_type_hint - GDK_WINDOW_TYPE_HINT_DIALOG so this window looks like a dialog. - (editor_modify_cb): no more apply button. - (edit_dialog_apply_clicked): nuked. - (edit_dialog_close_clicked): rename to _cancal_clicked. - (edit_dialog_ok_clicked): call gtk_widget_destroy here instead of - calling _cancel_clicked. - (addressbook_edit_server_dialog): no more apply button, and - close_button -> cancel_button. Also, set the hint to - GDK_WINDOW_TYPE_HINT_DIALOG. - (ldap_dialog_new): fix compiler warning. - (addressbook_dialog_create_sources_table): same. - -2003-03-18 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-section.etspec: use - alternating-row-colors="false" - - * gui/component/select-names/e-select-names.h: nuke prototypes for - e_select_names_get_source/section. - - * gui/component/select-names/e-select-names.c (set_book): remove - the signal disconnect from here. - (addressbook_model_set_uri): same. - (e_select_names_init): connect to the search_result signal on the - addressbook model. - (e_select_names_child_free): disconnect the changed_id signal. - (e_select_names_add_section): set the underline column so the - recipient tables look like they did when they were EEntry. - (e_select_names_add_section): store off the changed_id. - (e_select_names_get_section): nuke. - (e_select_names_get_source): nuke. - -2003-03-18 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (addrconduit_load_configuration): kill - warning by sinking objects - -2003-03-18 Not Zed <NotZed@Ximian.com> - - * gui/component/select-names/e-select-names.c (set_book, - addressbook_model_set_uri): disconnect/keep track of search result - signal id. - (e_select_names_init): Keep track of various signals, particularly - status signal. - (e_select_names_dispose): disconnect from any signals that are - still active. Fixes crash for #38202. - -2003-03-13 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-editor.c - (set_entry_changed_signals): use set_entry_changed_signal_email - for the email entry so the email gets saved out. - (set_entry_changed_signal_email): new function, analogous to - set_entry_changed_signal_phone, but for email. - -2003-03-12 Chris Toshok <toshok@ximian.com> - - [ fixes bug #20210 ] - * gui/component/select-names/e-select-names-popup.c - (popup_menu_card): change "Edit Contact Info" to "View Contact - Info", as you can't always edit the contact (if the book is read - only). - (popup_menu_list): same, but for a contact list. - -2003-03-11 Chris Toshok <toshok@ximian.com> - - [ fixes bug #39507 ] - * gui/component/select-names/e-select-names.c (search_result): new - function, sync the models after we do a search. - (addressbook_model_set_uri): connect to search_result. - -2003-03-11 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names.c - (e_select_names_init): fix compiler warnings about deprecated - functions. - (e_select_names_child_free): unref the table model. - (remove_address): re-enable. - (section_right_click_cb): this is an ETable callback now. - (e_select_names_add_section): remove a gross gross awful hack, and - make the recipient tables ETables instead EEntry's. We lose the - nice underlining, but we can add that back in as another ETable - style (like strikeout and bold), and we also fix the longstanding - scrolling problems (like bug #25148) and can finally remove - addresses by double clicking on them (which is also a bug - someplace I think.. dunno the # offhand.) - - * gui/component/select-names/e-select-names-table-model.c - (clear_info): always set the count to -1, regardless of what - model->data is. - - * gui/component/select-names/e-select-names-model.c: remove some - unused enums. - - * gui/component/select-names/Makefile.am (etspec_DATA): add - e-select-names-section.etspec - - * gui/component/select-names/e-select-names-section.etspec: new - file, spec for the To:/Cc:/Bcc: etable's in the select-names - dialog. - -2003-03-11 Not Zed <NotZed@Ximian.com> - - * backend/pas/pas-backend-file.c (INITIAL_VCARD): Updated phone - number. Bug #37204. - - * gui/widgets/e-addressbook-util.c (e_addressbook_send_card_list): - re-enable in build, include e-destination.h. For #39256. - -2003-03-06 Ettore Perazzoli <ettore@ximian.com> - - * backend/ebook/load-pine-addressbook.c (ebook_create): Likewise. - * backend/ebook/load-gnomecard-addressbook.c (ebook_create): Likewise. - * backend/ebook/evolution-vcard-importer.c (ebook_create): Likewise. - * backend/ebook/evolution-ldif-importer.c (ebook_create): Likewise. - * backend/ebook/test-client.c (get_cursor_cb): Likewise. - (ebook_create): Likewise. - * gui/widgets/e-minicard.c (e_minicard_set_property): Likewise. - (card_modified_cb): Likewise. - (e_minicard_event): Likewise. - * gui/widgets/gal-view-minicard.c (column_width_changed): Likewise. - * gui/widgets/test-minicard-view.c (ebook_create): Likewise. - * gui/widgets/gal-view-treeview.c (column_width_changed): Likewise. - -2003-03-05 Not Zed <NotZed@Ximian.com> - - * gui/component/addressbook-component.c (bonobo_main_quit_cb): - removed. - (owner_unset_cb): Basically a noop, the shell does the quit, we - just note we have no owner anymore. - -2003-03-04 JP Rosevear <jpr@ximian.com> - - Fixes #37881 - - * gui/component/select-names/e-simple-card-bonobo.c - (impl_SimpleCard_get): if we get a null value, send back the empty - string - -2003-03-04 JP Rosevear <jpr@ximian.com> - - * gui/component/select-names/e-select-names.etspec: reflect prior column addition - - * gui/component/select-names/e-select-names-bonobo.c - (entry_get_property_fn): set the arg properly - - * gui/component/select-names/Evolution-Addressbook-SelectNames.idl: - add Icscalendar to field list - - * backend/pas/pas-backend-ldap.c: add icscalendar to prop list - - * backend/ebook/e-card.h: add icscalendar data member - - * backend/ebook/e-card.c: add icscalendar to list and its parse - routine - (e_card_get_vobject): add icscalendar prop value - (parse_icscalendar): parse routine - (e_card_class_init): add icscalendar arg - (e_card_destroy): destroy icscalendar member - (e_card_set_arg): set icscalendar - (e_card_init): init icscalendar - (e_card_get_arg): return icscalendar - - * backend/ebook/e-card-simple.c (field_data): add icscalendar - - * backend/ebook/e-card-simple.h: ditto - -2003-03-03 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/select-names/e-select-names.c - (e_select_names_new): Don't set the "modal" property through - g_object_new(). - (e_select_names_init): Explictly make the dialog modal here. - -2003-03-03 Ettore Perazzoli <ettore@ximian.com> - - * gui/widgets/e-addressbook-view.c (create_minicard_view): No need - to do any reparenting here; the widget is created with no parent. - -2003-03-03 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/select-names/e-select-names.c - (e_select_names_init): Instead of using gtk_widget_unparent(), - remove the widget from the container using gtk_container_remove(). - This fixes a bunch of crashers in all the places using the - ESelectNames widget/control. - -2003-02-28 Dan Winship <danw@ximian.com> - - * gui/contact-editor/Makefile.am: Build libecontacteditor as an - uninstalled shared library. - - * gui/contact-list-editor/Makefile.am: Likewise for - libecontactlisteditor - - * gui/merging/Makefile.am: and libecardmerging - - * gui/search/Makefile.am: and libeaddressbooksearch - - * gui/widgets/Makefile.am: and libeminicard - - * printing/Makefile.am: and libecontactprint - - * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): - Update for new library names (and get rid of libtool portability - warnings). - -2003-02-28 Dan Winship <danw@ximian.com> - - * backend/ebook/e-card.c (e_card_list_send, e_card_send): Remove - these from here; talking to the mailer doesn't really belong at - the libebook level anyway. - - * backend/ebook/Makefile.am: Remove Evolution-Composer CORBA - stuff, which fixes some linking problems on OS X. - - * gui/widgets/e-addressbook-util.c (e_addressbook_send_card_list, - e_addressbook_send_card): Move from e-card.c and rename. - - * gui/widgets/Makefile.am: move Evolution-Composer CORBA stuff - here - - * gui/widgets/e-addressbook-view.c (send_as, send_to, - e_addressbook_view_send, e_addressbook_view_send_to): Update for - new function names. - - * gui/contact-list-editor/e-contact-list-editor.c (file_send_as_cb, - file_send_to_cb): Likewise - - * gui/contact-editor/e-contact-editor.c (file_send_as_cb, - file_send_to_cb): Likewise - -2003-02-27 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.c (book_open_cb): use g_signal_connect - here, not swapped... although since we pass the widget as the - closure it really doesn't matter. - (load_uri_auth_cb): use a GtkDialog here. - (search_result): same. - - * gui/component/select-names/e-simple-card-bonobo.h: add prototype - for e_simple_card_bonobo_construct to fix warning. - - * gui/widgets/e-addressbook-view.c (create_alphabet): remove call - to gtk_widget_set_usize. - - * gui/contact-editor/e-contact-editor-address.c - (e_contact_editor_address_init): gtk_window_set_policy => - gtk_window_set_resizable. - - * gui/contact-editor/e-contact-editor-fullname.c - (e_contact_editor_fullname_init): same. - -2003-02-27 JP Rosevear <jpr@ximian.com> - - * conduit/Makefile.am: link to libversit libtool object - -2003-02-27 Rodney Dawes <dobey@ximian.com> - - * backend/ebook/Makefile.am: Fix for server files from Antonio Xu - -2003-02-26 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-book.c (e_book_load_uri): if we fail to activate - factories for a given protocol, return. - - * gui/component/ldap-config.glade: remove the two unused custom - widgets to cut down on gtk warning spam. - -2003-02-21 Dan Winship <danw@ximian.com> - - * backend/ebook/Makefile.am (libebook_la_LIBADD): depend on - libversit.la, libcamel.la, libename.la, and libeutil.la. - (test_client_LDADD, test_client_list_LDADD, test_card_LDADD, - evolution_vcard_importer_LDADD, evolution_ldif_importer_LDADD, - load_pine_addressbook_LDADD, load_gnomecard_addressbook_LDADD): - Remove those dependencies from here, since they're pulled in by - libebook. - - * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): - Remove libebook's dependencies - - * gui/component/select-names/Makefile.am - (libeselectnames_la_LIBADD): add this - - * gui/widgets/Makefile.am (various disabled *_test_LDADD): cleanup - - * printing/Makefile.am (contact_print_test_LDADD, - contact_print_style_editor_test_LDADD): cleanup - -2003-02-20 Dan Winship <danw@ximian.com> - - * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): - s/libemiscwidgets.a/libemiscwidgets.la/ - - * gui/widgets/Makefile.am: Likewise (in a bunch of commented-out - test programs) - -2003-02-19 Dan Winship <danw@ximian.com> - - * gui/widgets/e-addressbook-model.c: Make parent_class static. - - * gui/widgets/e-addressbook-reflow-adapter.c: Likewise - - * gui/widgets/e-addressbook-table-adapter.c: Likewise - -2003-02-19 Chris Toshok <toshok@ximian.com> - - [ fix #38074 ] - * gui/component/e-address-popup.c (add_contacts_cb): first arg is - a GtkWidget. duh. - -2003-02-19 Ettore Perazzoli <ettore@ximian.com> - - * gui/contact-editor/Makefile.am (INCLUDES): Use $(evolutionuidir) - instead of $(evolution_uidir). [Pointed out by Grzegorz Goawski.] - -2003-02-17 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-completion.c - (e_select_names_completion_start_query): if we can complete solely - from our cached cards, call e_completion_end_search from here when - we're done. - -2003-02-17 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-component.c - (ensure_completion_uris_exist): plug memory leak (always free - val). - -2003-02-16 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-file.c - (pas_backend_file_search_timeout): move the bulk of the - non-summary searching stuff here. we aggregate up to our - threshold, then send them to the front end and register a timeout - to do another batch. This keeps us from totally spamming the UI, - making things a bit more responsive. - (pas_backend_file_search): set up the closure and call the timeout - in an idle func. - -2003-02-16 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_manager_entry_new): indent properly. - -2003-02-16 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-reflow-adapter.c (unlink_model): - disconnect search_started and search_result. - (addressbook_compare): if we're loading, just compare model - positions (so we just append while loading). - (remove_card): use e_reflow_model_item_removed. - (search_started): new function, set loading = TRUE. - (search_result): new function, set loading = FALSE and emit - "comparison_changed". - (e_addressbook_reflow_adapter_init): init loading and the new - signal ids. - (e_addressbook_reflow_adapter_construct): connect "search_started" - and "search_result". - - * gui/widgets/e-addressbook-model.h (struct - _EAddressbookModelClass): add search_started signal. - - * gui/widgets/e-addressbook-model.c - (e_addressbook_model_class_init): new signal "search_started". - (book_view_loaded): emit "search_started" after "model_changed". - (remove_card): simplify this, and use CARD_REMOVED all the time, - instead of just in the single card case. - -2003-02-10 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-file.c - (pas_backend_file_search_timeout): split out the bulk of the - non-summary searching logic to here. we do 1 "card_threshold" - sized lump per timeout. - (pas_backend_file_search): use pas_backend_file_search_timeout. - -2003-02-10 Chris Toshok <toshok@ximian.com> - - [ fixes bug #33066 ] - * gui/contact-editor/e-contact-editor.c - (set_urlentry_changed_signal_field): new function - (set_entry_changed_signals): call - set_urlentry_changed_signal_field for entry-web, entry-caluri, and - entry-fburl. - (fill_in_field): add handling for EUrlEntry's. - (extract_field): same. - (enable_widget): same. - (e_contact_editor_create_date): show the widget. - (e_contact_editor_create_web): same, create a url entry. - (set_urlentry_changed_signal_field): new function - - * gui/contact-editor/contact-editor.glade: entry-web, - entry-caluri, and entry-fburl are all custom widgets now. - -2003-02-10 Ettore Perazzoli <ettore@ximian.com> - - * backend/ebook/Makefile.am: Install load-pine-addressbook and - load-gnomecard-addressbook into ${privdatadir}/tools. Install - evolution-vcard-importer and evolution-ldif-importer into - ${privlibexecdir}. - - * backend/ebook/GNOME_Evolution_Addressbook_VCard_Importer.server.in: - Removed. - - * backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.server.in: - Removed. - - * backend/ebook/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in: - New. Specify an absolute path for the executable, using - @LIBEXECDIR@. - * backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in: - Likewise. - -2003-02-09 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-completion.c - (sexp_initials): gone. - (match_initials): gone. - (book_query_sexp): remove the primary handling. - (book_query_score): same. - - * backend/ebook/e-card.c (e_card_set_property): - g_value_get_pointer => g_value_get_object for "category_list". - - * backend/ebook/e-book.c (struct _EBookPrivate): add a comment. - - * backend/pas/pas-backend-ldap.c (func_beginswith): performance at - the cost of a tiny bit of correctness. If the ldap server doesn't - support evolutionPerson don't query on fileAs, use sn (since - that's effectively what gets used in the display when fileAs isn't - supported.) - -2003-02-09 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-completion.c: lots of - changes here. should be a big performance gain. god i hope this - is finally right. - -2003-02-08 Chris Toshok <toshok@ximian.com> - - [ huge change, all for 1 little performance problem :) fixes #18207 ] - * gui/widgets/e-addressbook-model.c (get_view): use - e_book_check_static_capability here to make things a little - prettier. - (remove_card): complain about my life, and add code to use one - "model_changed" signal if we get back a list of cards instead of - multiple "card_removed" signals. - - * gui/widgets/e-addressbook-model.h: little clean up. - - * gui/widgets/e-addressbook-view.c (delete): write a bulk-remove - case for this. if the backend supports it, send all the ids at - once. otherwise loop over the ids. - (e_addressbook_view_delete_selection): fake a CardAndBook - structure and call delete, instead of duplicating the code in 2 - places. - - * gui/component/addressbook.c (delete_contact_cb): don't call - e_contact_editor_confirm_delete here, it's handled by the - EAddressbookView. - - * backend/pas/pas-card-cursor.c (pas_card_cursor_construct): fix a - compiler warning about a stupid crash. - - * backend/pas/pas-book.h (PASOperation): RemoveCard -> - RemoveCards. - (PASRemoveCardsReques): char *id -> GList *ids. - (PASRequest): PASRemoveCardRequest -> PASRemoveCardsRequest. - - * backend/pas/pas-book.c (pas_book_queue_remove_cards): build up a - GList from the id sequence. - (pas_book_respond_remove): notifyCardRemoved -> - notifyCardsRemoved. - (impl_GNOME_Evolution_Addressbook_Book_removeCards): rename. - (pas_book_free_request): free the idlist for RemoveCards. - (pas_book_class_init): removeCard -> removeCards. - - * backend/pas/pas-book-view.h: change prototype for - pas_book_view_notify_remove, and add prototype for - pas_book_view_notify_remove_1. - - * backend/pas/pas-book-view.c (pas_book_view_notify_remove_1): - build up a list and call pas_book_view_notify_remove. - (pas_book_view_notify_remove): build up the corba id sequence and - call BookViewListener::notifyCardsRemoved. - - * backend/pas/pas-backend.h: remove_card -> remove_cards. - - * backend/pas/pas-backend.c (pas_backend_remove_cards): rename - from _remove_card. - (process_client_requests): RemoveCard -> RemoveCards and - _remove_card -> _remove_cards. - - * backend/pas/pas-backend-ldap.c (check_schema_support): - g_strcasecmp -> g_ascii_strcasecmp. - (remove_card_handler): _remove => _remove_1. - (modify_card_modify_handler): same. - (pas_backend_ldap_process_remove_cards): rename from _remove_card. - (pas_backend_ldap_class_init): _remove_card -> _remove_cards. - - * backend/pas/pas-backend-file.c (pas_backend_file_class_init): - remove_card -> remove_cards. - (pas_backend_file_get_static_capabilities): add "bulk-removes". - (pas_backend_file_process_remove_cards): rewrite this function - largely, so that it handles lists of ids. first we loop through - and for every successful deletion we build a list of deleted - ECards. Then for each view we build a list (a subset of the - deleted ECard list) and pass back that list to the view. - (pas_backend_file_process_modify_card): use _remove_1 instead of - _remove. - (ecard_matches_search): new function. - - * backend/pas/pas-backend-card-sexp.c - (pas_backend_card_sexp_match_vcard): rewrite in terms of - _match_ecard. - (pas_backend_card_sexp_match_ecard): new function, the guts from - _match_vcard. - - * backend/pas/pas-backend-card-sexp.h: add prototype for - pas_backend_card_sexp_match_ecard. - - * backend/idl/addressbook.idl: the card removal stuff now takes - CardIdList. - - * backend/ebook/e-book.c (e_book_get_static_capabilities): cache - successful capability queries (since they're static). - (e_book_check_static_capability): new, convenience function to - check if a particular capability is supported. - (e_book_remove_card_by_id): build a single element GList and call - e_book_remove_cards. - (e_book_remove_cards): build up a CORBA sequence from the GList - and call Book::removeCards. - (e_book_dispose): free the cached capabilities string. - - * backend/ebook/e-book.h: add new prototypes for - e_book_check_static_capability and e_book_remove_cards. - - * backend/ebook/e-book-view.h (struct _EBookViewClass): rename - "card_removed" signal to "cards_removed". - - * backend/ebook/e-book-view.c (e_book_view_do_removed_event): id - -> ids, and free the id list. - (e_book_view_check_listener_queue): CardRemovedEvent -> - CardsRemovedEvent. - - * backend/ebook/e-book-view-listener.c - (e_book_view_listener_queue_response): free the id list. - (e_book_view_listener_queue_idlist_event): new function, used for - cards_removed. - (e_book_view_listener_queue_status_event): id -> ids. - (e_book_view_listener_queue_sequence_event): same. - (e_book_view_listener_queue_message_event): same. - (impl_BookViewListener_notify_cards_removed): call - queue_idlist_event. - (e_book_view_listener_dispose): free the id list. - (e_book_view_listener_class_init): track change to idl call. - - * backend/ebook/e-book-view-listener.h - (EBookViewListenerOperation): CardRemovedEvent -> - CardsRemovedEvent. - (EBookViewListenerResponse): char *id -> GList *ids. - - * backend/ebook/e-book-listener.c - (impl_BookListener_respond_remove_cards): rename from remove_card. - -2003-02-06 Chris Toshok <toshok@ximian.com> - - * gui/component/e-address-popup.c (email_table_save_card_cb): - check the status, not the book, and unref the book here. - (contact_editor_cb): same. - (start_query): unref the book in the failure case. - (add_card_idle_cb): addressbook_load_default_book returns void - now. - (edit_contact_info_cb): same. - (e_address_popup_query): same. - - * gui/component/addressbook.c (control_activate_cb): track change - to addressbook_load_uri return type. - (set_prop): same. - (addressbook_load_uri): return type is void now. - (addressbook_load_default_book): same. - - * gui/component/addressbook.h: - addressbook_load_uri/addressbook_load_default_book return void - now. - - * conduit/address-conduit.c (start_addressbook_server): - e_book_load_default_book returns void now. - - * backend/ebook/e-book-util.h: track changes to return types. - - * backend/ebook/e-book-util.c (e_book_load_address_book_by_uri): - fallout from change to e_book_load_uri. return type for this - function is void now too. - (e_book_use_address_book_by_uri): same. - (e_book_use_default_book): same. - (e_book_load_default_book): same. - (got_uri_book_cb): if unsuccessful and book is non-NULL, unref it - here. - (got_default_book_cb): same. - - * backend/ebook/e-book.c (e_book_load_uri): no longer return a - gboolean. any error is communicated to the callback. - - * backend/ebook/e-book.h: e_book_load_uri no longer returns a - gboolean (it's void.) - - * backend/ebook/evolution-ldif-importer.c (ebook_create): track - change to the e_book_load_uri family of functions. - - * backend/ebook/test-client-list.c (ebook_create): same. - - * backend/ebook/test-client.c (ebook_create): same. - - * backend/ebook/load-pine-addressbook.c (ebook_create): same. - - * backend/ebook/evolution-vcard-importer.c (ebook_create): same. - -2003-02-06 Ettore Perazzoli <ettore@ximian.com> - - * backend/ebook/Makefile.am (e-book-marshal.c, e-book-marshal.h): - Use different tmp file names so these rules can be executed in - parallel without interfering with each otehr. - - * backend/pas/Makefile.am: Make the ORBit compilation work - properly with parallel makes (i.e. make sure it does not spawn - multiple orbit-idl processes on the same IDL file at the same - time). - * gui/component/select-names/Makefile.am: Likewise. - * backend/ebook/Makefile.am: Likewise. - -2003-02-06 Dan Winship <danw@ximian.com> - - * gui/component/addressbook-config.c (main): - s/PACKAGE/GETTEXT_PACKAGE/ in gettext setup. - -2003-02-05 Dan Winship <danw@ximian.com> - - * backend/ebook/Makefile.am (INCLUDES): Remove cruft. - (libebookincludedir): Use privincludedir. - - * backend/ebook/e-book-util.c: #include <string.h> - * backend/ebook/e-card-compare.c: Likewise - * backend/ebook/load-pine-addressbook.c: Likewise - * backend/ebook/test-client.c: Likewise - - * backend/ebook/evolution-vcard-importer.c: #include - <e-book-util.h> - (factory_fn): Fix this to actually return the importer. - - * backend/ebook/evolution-ldif-importer.c (parseLine): #include - <e-book-util.h> and <bonobo/bonobo-main.h>. Use g_ascii_strcmp. - - * backend/ebook/e-card.c (e_card_email_match_single_string): - (e_card_email_find_number): s/g_str/g_ascii_str/ - * backend/ebook/e-destination.c (e_destination_equal): Likewise. - Also, add an "else return FALSE;" - - - * backend/pas/Makefile.am (INCLUDES): Remove cruft - (ldapschemadir): Use privdatadir - (pasincludedir): Use privincludedir. - - * backend/pas/pas-book-factory.c (pas_book_factory_activate): - Remove unused variable. - * backend/pas/pas-book-view.c (pas_book_view_new): Likewise - - - * printing/Makefile.am (ecpsdir): Define in terms of privdatadir. - (gladedir): Defined in configure.in now. - - * printing/e-contact-print.c: #include <string.h> - - * printing/test-print.c: #include <bonobo/bonobo-main.h> - * printing/test-contact-print-style-editor.c: Likewise - - - * gui/contact-editor/Makefile.am (INCLUDES): Remove some cruft. - rename ICONSDIR to IMAGESDIR. - (images_DATA): Install arrow.png in imagesdir instead of - privdatadir. - - * gui/contact-editor/e-contact-quick-add.c: #include <string.h> - - * gui/contact-editor/e-contact-editor.c: #include <string.h> - (e_contact_editor_init): s/EVOLUTION_ICONSDIR/EVOLUTION_IMAGESDIR/ - (e_contact_editor_new): s/gtk_object_ref/g_object_ref/ - (_replace_button): Look in imagesdir, not privdatadir - (_phone_arrow_pressed): Remove call to deprecated - gtk_check_menu_item_set_show_toggle. - (_email_arrow_pressed): Likewise - (_address_arrow_pressed): Likewise - (set_address_field): Remove unused variable - (enable_widget): - s/gtk_entry_set_editable/gtk_editable_set_editable/ - - * gui/contact-editor/e-contact-editor-address.c - (e_contact_editor_address_init): - s/EVOLUTION_ICONSDIR/EVOLUTION_IMAGESDIR - (e_contact_editor_address_set_property): - s/gtk_entry_set_editable/gtk_editable_set_editable/ - - * gui/contact-editor/e-contact-editor-fullname.c - (e_contact_editor_fullname_init): - s/EVOLUTION_ICONSDIR/EVOLUTION_IMAGESDIR - (e_contact_editor_fullname_set_property): Likewise. - - - * gui/contact-list-editor/Makefile.am (INCLUDES): Remove cruft, - s/ICONSDIR/IMAGESDIR/ - (gladedir, etspecdir): Remove definitions. - - * gui/contact-list-editor/e-contact-list-editor.c: #include - <string.h> - (e_contact_list_editor_init): s/ICONSDIR/IMAGESDIR/ - (e_contact_list_editor_new): s/gtk_object_ref/g_object_ref/ - - * gui/contact-list-editor/e-contact-list-model.c: #include <string.h> - - - * gui/merging/Makefile.am (INCLUDES): Remove cruft. - * gui/search/Makefile.am (ruledir): Define in terms of privdatadir - - - * gui/widgets/Makefile.am (INCLUDES): Remove cruft. - (gladedir, etspecdir): Remove definitions. - (glade_DATA): Empty, so remove it. - - * gui/widgets/e-addressbook-reflow-adapter.c: #include <string.h> - (addressbook_get_property): Remove unused variable - - * gui/widgets/e-addressbook-view.c: #include <string.h> - (get_selection_model): Add a g_return_val_if_reached. - - * gui/widgets/e-minicard.c: #include string.h, gtkmain.h, - gnome-canvas-pixbuf.h - (field_changed): s/gtk_object_unref/g_object_unref/ - (get_left_width): Remove unused variable - - * gui/widgets/e-minicard-control.c: #include <string.h> - (pstream_load, pstream_save): Use g_ascii_strcasecmp - - * gui/widgets/e-minicard-view.c: #include <string.h> - - * gui/widgets/e-minicard-view-widget.c - (e_minicard_view_widget_new): s/gtk_type_new/g_object_new/ - - - * gui/component/select-names/Makefile.am (INCLUDES): Remove cruft. - (serverdir, gladedir, etspecdir): Remove definitions - - * gui/component/select-names/e-select-names.c: #include <string.h> - - * gui/component/select-names/e-select-names-popup.c - (init_html_mail): Remove deprecated - gtk_check_menu_item_set_show_toggle call. - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_manager_entry_free): - s/gtk_timeout_remove/g_source_remove/ - - - * gui/component/Makefile.am (INCLUDES): Remove cruft, rename - ICONSDIR to IMAGESDIR. - (serverdir, gladedir): Remove defintions. - - * gui/component/addressbook-component.c (IS_CONTACT_TYPE): use - g_ascii_strcasecmp - (add_creatable_item): s/ICONSDIR/IMAGESDIR/ - - * gui/component/component-factory.c: #include <string.h> - - * gui/component/e-address-widget.c: Likewise. - (e_address_widget_destroy): s/gtk_idle_remove/g_source_remove/ - (e_address_widget_schedule_query): s/gtk_idle_add/g_idle_add/ - - - * conduit/Makefile.am (INCLUDES): Remove cruft - -2003-02-05 Dan Winship <danw@ximian.com> - - * gui/component/addressbook-config.c (main): Replace deprecated - glade_gnome_init() with glade_init(). - - * gui/contact-editor/test-editor.c (main): Likewise. - - * printing/test-contact-print-style-editor.c (main): Likewise. - - * printing/test-print.c (main): Likewise. - -2003-02-03 Chris Toshok <toshok@ximian.com> - - [ pull forward Jack Jia's fix for #34900 ] - * gui/contact-editor/e-contact-save-as.c (e_contact_save_as): use - a weak ref for the file selector. - (e_contact_list_save_as): same. - (destroy_it): rewrite this as a weak ref notify function. - (close_it): remove frees of the info (it's freed in the weak ref - function). - (save_it): same. - -2003-02-03 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-component.c (remove_folder): pull - forward Jack Jia's fix for #33672, but convert it to use unlink - instead of the gnome-vfs stuff. - -2003-01-27 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/contact-editor.glade: add a scrolled window - (SHADOW_IN) around the address textview. - -2003-01-26 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/contact-editor.glade: rename the category - entry to entry-categories. - - * gui/contact-editor/e-contact-editor.c - (set_entry_changed_signals): use the specialized "changed" signal - handlers for entry-company and entry-fullname. - -2003-01-26 Chris Toshok <toshok@ximian.com> - - * gui/component/Makefile.am: i need to sleep more. - -2003-01-26 Chris Toshok <toshok@ximian.com> - - * gui/component/Makefile.am (componentdir): need to assign this - here or else the lib doesn't get built. - -2003-01-26 Chris Toshok <toshok@ximian.com> - - * printing/e-contact-print.c (e_contact_start_new_page): begin the - new page after showing the last one. - (complete_sequence): beginpage before we start printing. - (e_contact_print_response): GtkDialog-ify this. - (e_contact_print_dialog_new): "clicked" -> "response". - (e_contact_print_card_dialog_new): same. - (e_contact_print_card_list_dialog_new): same. - -2003-01-26 Chris Toshok <toshok@ximian.com> - - * Makefile.am (CONDUIT_SUBDIR): enable this, as building the - conduit works if you have gnome-pilot2. - -2003-01-25 Chris Toshok <toshok@ximian.com> - - * conduit/address-conduit.c: GObjectify the stuff in here that - refers to addressbook objects. the gnome-pilot stuff is still - GtkObject for the moment. - -2003-01-24 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/Makefile.am (iconsdir): Remove definition; this is - now in configure.in. - * gui/contact-editor/Makefile.am (iconsdir): Likewise. - * gui/contact-list-editor/Makefile.am (iconsdir): Likewise. - -2003-01-23 Sean Gao <Sean.Gao@Sun.COM> - - [ fixes bug #34898 ] - * gui/widgets/e-minicard.c (field_changed): handle modifications - to email addresses in contact lists. - -2003-01-23 Sean Gao <Sean.Gao@Sun.COM> - - [ fixes bug #36375 ] - * backend/pas/pas-backend-ldap.c: use PHONE_OTHER_FAX instead of - PHONE_OTHER for "other_fax". - -2003-01-23 Chris Toshok <toshok@ximian.com> - - [ fixes bug #31014, roll this in from the 1.2 branch ] - * backend/pas/pas-backend-ldap.c: use "categories" instead of - "category" for the ECard field so the UI/get_supported_fields stuff - actually thinks its usable in the contact editor.. - -2003-01-23 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (pas_backend_ldap_connect): fix - for bug 34883 broke ssl transactions (at least those where we were - connecting to port 636). Move it to after the SSL stanza. - -2003-01-23 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/select-names/Makefile.am (componentdir): Remove - definition; no need to set it here since it's now defined in - configure.in - * gui/component/Makefile.am (componentdir): Likewise. - -2003-01-22 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/select-names/Makefile.am (gladedir): Version using - $(BASE_VERSION). - (etspecdir): Likewise. - (iconsdir): Likewise. - - * gui/contact-list-editor/Makefile.am (iconsdir): Version using - $(BASE_VERSION). - (gladedir): Likewise. - - * gui/merging/Makefile.am (gladedir): Version using $(BASE_VERSION). - - * gui/search/Makefile.am (ruledir): Version using $(BASE_VERSION). - - * gui/component/Makefile.am (INCLUDES): Update EVOLUTION_IMAGESDIR - to be versioned through $(BASE_VERSION). - - * gui/widgets/e-addressbook-view.c (init_collection): Use - EVOLUTION_GALVIEWSDIR. - - * gui/widgets/Makefile.am (INCLUDES): Define EVOLUTION_GALVIEWSDIR - and update EVOLUTION_IMAGESDIR. - -2003-01-21 Radek Doulik <rodo@ximian.com> - - * printing/e-contact-print.c (e_contact_print_button): don't use - gnome_print_multipage_new_from_sizes and add warning - -2003-01-14 Ettore Perazzoli <ettore@ximian.com> - - * gui/widgets/e-addressbook-util.c - (e_addressbook_prompt_save_dialog): Change dialog from - Yes/No/Cancel to Discard/Cancel/Save to match the HIG. - - * gui/search/e-addressbook-search-dialog.c - (e_addressbook_search_dialog_init): Change dialog from OK/Cancel - to Cancel/OK to match the HIG. - - * gui/contact-editor/e-contact-save-as.c (file_exists): Change - dialog from Overwrite/Cancel to Cancel/Overwrite to match the HIG. - - * gui/contact-editor/e-contact-quick-add.c - (build_quick_add_dialog): Fix typo s/reponse/response/. Also - change the dialog to be Edit/Cancel/OK instead of OK/Edit/Cancel - to match the HIG. - - * gui/contact-editor/e-contact-editor.c - (e_contact_editor_confirm_delete): Make alert cancel/delete - instead of delete/cancel to match the HIG. - - * gui/contact-editor/e-contact-editor-fullname.c - (e_contact_editor_fullname_init): Make dialog Cancel/OK instead of - OK/Cancel to match the HIG. - - * gui/contact-editor/e-contact-editor-address.c - (e_contact_editor_address_init): Make dialog Cancel/OK instead of - OK/Cancel to match the HIG. - - * gui/component/select-names/e-select-names.c - (e_select_names_init): Make dialog Cancel/OK instead of OK/Cancel - to match the HIG. - -2003-01-14 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/Makefile.am (EXTRA_DIST): Add $(schema_DATA). - -2003-01-09 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.c (control_activate_cb): try to load - the uri again if it failed previously. - (book_open_cb): set failed_to_load based on the response. - (set_prop): initialize failed_to_load to FALSE before we kick off - the first load. - - * backend/pas/pas-book-factory.c - (pas_book_factory_process_request): if the load_uri fails, remove - it from the hashtable and free it, so we'll try to load it again - from scratch the next time it's requested instead of serving up a - backend that doesn't function. - - * backend/pas/pas-backend.c (pas_backend_get_uri): we need to be - able to get the uri from backends that aren't loaded (so we can - remove them from the hashtable.) - -2003-01-09 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (query_ldap_root_dse): doh, fix - build error. - -2003-01-09 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-popup.c: #include - gtklabel.h, fixes an unresolved symbol. - -2003-01-09 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (query_ldap_root_dse): build up - the list of supported auth_methods. - (pas_backend_ldap_process_get_supported_auth_methods): respond - with the list of auth methods we've built up. - (pas_backend_ldap_dispose): unref the auth_method list. - (pas_backend_ldap_class_init): hook up - pas_backend_ldap_process_get_supported_auth_methods. - - * backend/pas/pas-backend.c - (pas_backend_get_supported_auth_methods): new function. - (process_client_requests): add clause for GetSupportedAuthMethods. - - * backend/pas/pas-backend.h: add prototype for - pas_backend_get_supported_auth_methods, and add it to the class - vtable. - - * backend/pas/pas-book.h: add GetSupportedAuthMethods enum member - and PASGetSupportedAuthMethodsRequest. and add prototype for - pas_book_respond_get_supported_auth_methods. - - * backend/pas/pas-book.c - (pas_book_queue_get_supported_auth_methods): new function. - (impl_GNOME_Evolution_Addressbook_Book_getSupportedAuthMethods): - new function. - (pas_book_respond_get_supported_auth_methods): new function. - (pas_book_free_request): add clause for GetSupportedAuthMethods. - (pas_book_class_init): hook up getSupportedAuthMethods. - - * backend/ebook/e-book-listener.c - (e_book_listener_queue_get_supported_fields_response): fields -> - list. - (e_book_listener_queue_get_supported_auth_methods_response): new - function. - (impl_BookListener_response_get_supported_auth_methods): new - function. - (e_book_listener_class_init): hook up - epv->notifySupportedAuthMethods. - - * backend/ebook/e-book-listener.h: add - GetSupportedAuthMethodsResponse enum member, and change the field - name from "fields" to list (and use it for both GetSupportedFields - and GetSupportedAuthMethods) - - * backend/ebook/e-book.c (e_book_get_supported_auth_methods): new - function. - (e_book_do_response_get_supported_auth_methods): new function. - - * backend/ebook/e-book.h: add prototype for - e_book_get_supported_auth_methods. - - * backend/idl/addressbook.idl: add getSupportedAuthMethods IDL - call. - -2003-01-09 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-book-factory.c (backend_last_client_gone_cb): - deal with backends that might not have loaded successfully - (they'll have a NULL uri). - -2003-01-09 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-bonobo.c - (e_select_names_bonobo_new): call e_select_names_bonobo_construct - on the newly created object. - -2003-01-09 Chris Toshok <toshok@ximian.com> - - * gui/component/Makefile.am: addressbook-config.etspec is gone. - - * gui/component/addressbook-config.c: make the sources table be a - gtktreeview instead of an etable. - - * gui/component/ldap-config.glade: remove all references to - gnome-hint.png - -2003-01-09 Chris Toshok <toshok@ximian.com> - - * gui/widgets/gal-view-minicard.c (column_width_changed): fix - parameter types here (this signal isn't generated from an ETable.) - - * gui/widgets/gal-view-factory-minicard.c: include e-util.h - - * gui/widgets/e-minicard.h: include gnome-canvas.h here. - - * gui/widgets/e-addressbook-table-adapter.c: #include - e-destination.h here. - - * gui/widgets/e-minicard.c: same. - -2003-01-09 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-editor.[ch]: remove the select - names stuff (the Related Contacts button/entry.) - - * gui/contact-editor/contact-editor.glade: same. - -2003-01-09 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in: - comment out the factory oaf_server, and change the location of the - SelectNames controls to be - OAFIID:GNOME_Evolution_Addressbook_Factory so the normal - addressbook.so will create them. - - * gui/component/select-names/Makefile.am - (libeselectnames_la_SOURCES): remove the - e-select-names-factory.[ch] stuff for the time being. - - * gui/component/component-factory.c (factory): we're now (for the - time being) the factory for the select names control. - -2003-01-08 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-view.c: oops, don't include - e-treeview-selection-model.h unless we're building the treeview. - -2003-01-08 Jeffrey Stedfast <fejj@ximian.com> - - * backend/pas/pas-backend-ldap.c - (pas_backend_ldap_process_authenticate_user): Fix to build. - -2003-01-08 Chris Toshok <toshok@ximian.com> - - * gui/component/apps_evolution_addressbook.schemas: add in the - schema entry for minimum_query_length. - -2003-01-08 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-view.h: add - E_ADDRESSBOOK_VIEW_TREEVIEW to the enum, ifdef'ed out. - - * gui/widgets/e-addressbook-view.c - (e_addressbook_view_class_init): add ifdefed treeview code. - (init_collection): same. - (display_view): same. - (get_selection_model): same. - (treeview_row_activated): same. - (create_treeview_view): same. - (change_view_type): same.xo - (e_addressbook_view_print): same. - (e_addressbook_view_print_preview): same. - - * gui/widgets/Makefile.am: add in the treeview sources (commented - out). - -2003-01-08 Chris Toshok <toshok@ximian.com> - - * gui/widgets/gal-view-minicard.c (gal_view_minicard_edit): add - parent arg. - - * gui/widgets/e-addressbook-treeview-adapter.[ch]: new files, for - a GtkTreeView view of contacts. - - * gui/widgets/gal-view-treeview.[ch]: same - - * gui/widgets/gal-view-favroty-treeview.[ch]: same - -2003-01-08 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/Makefile.am: $(datadir)/evolution/images instead - of $(datadir)/images/evolution. - * gui/contact-editor/Makefile.am: Likewise. - * gui/contact-list-editor/Makefile.am (iconsdir): Likewise. - * gui/widgets/Makefile.am: Likewise. - -2002-01-08 Dan Winship <danw@ximian.com> - - Move PASBook request handling into PASBackend itself since all - existing backends do it exactly the same way. (Part of 32866). - - * backend/pas/pas-backend.h (PASBackendClass): add new methods for - the various pas book requests. - - * backend/pas/pas-backend.c: Add a clients list to - PASBackendPrivate. - (pas_backend_create_card, etc): Add these to invoke the new - methods. - (process_client_requests, book_destroy_cb): Moved here and - slightly rewritten from pas-backend-file. - (last_client_gone): Now static. - (add_client, remove_client): Default implementations, based on - pas-backend-file, that add the client to/remove it from the - backend's clients list and connect to its requests_queued signal. - (pas_backend_init, pas_backend_dispose): Deal with the clients - list. - - * backend/pas/pas-backend-file.c (struct _PASBackendFilePrivate): - Remove GList *clients. - (pas_backend_file_process_client_requests, - pas_backend_file_book_destroy_db, pas_backend_file_add_client, - pas_backend_file_remove_client): Gone. - (pas_backend_file_class_init): Remove add_client/remove_client - method initializations, add initializations for processing the - various book requests. - - * backend/pas/pas-backend-ldap.c (struct _PASBackendLDAPPrivate): - Remove GList *clients. - (pas_backend_ldap_process_create_card, etc): Make these take the - specific PAS*Request types rather than a generic PASRequest. - (pas_backend_ldap_process_client_requests, - pas_backend_ldap_book_destroy_db, pas_backend_ldap_add_client, - pas_backend_ldap_remove_client): Gone. - (pas_backend_ldap_class_init): Remove add_client/remove_client - method initializations, add initializations for processing the - various book requests. - -2003-01-07 Chris Toshok <toshok@ximian.com> - - * backend/pas/evolutionperson.schema: fix the SYNTAX for the - telephone attributes, and make the fax attributes more closely - mirror those from core.schema. Fixes the schema for openldap-2.1. - -2003-01-06 Dan Winship <danw@ximian.com> - - * backend/idl/Makefile.am: remove idldir def (defined by - configure.in now) - - * gui/component/select-names/Makefile.am: Likewise - -2003-01-01 Chris Toshok <toshok@ximian.com> - - [ fixes the non-ui portion of #36183 ] - * gui/component/select-names/e-select-names-completion.c - (e_select_names_completion_start_query): use the entry's - minimum_query_length instead of a constant here. - (e_select_names_completion_set_minimum_query_length): new - function, set the entry's minimum_query_length. - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_manager_entry_new): set the minimum_query length - after setting the completion books. - (read_completion_settings_from_db): rename - read_completion_books_from_db to this, and read the - minimum_query_length too. - (db_listener): rename uris_listener to this, and listen for - changes on both the uris and minimum_query_length settings. - - * gui/component/select-names/e-select-names-completion.h: add - prototype for e_select_names_completion_set_minimum_query_length. - - * gui/component/select-names/e-select-names-manager.h: add - minimum_query_length to struct _ESelectNamesManager. - -2002-12-19 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-config.c - (addressbook_config_control_new): Made it return an - EvolutionConfigControl instead of a BonoboControl (and removed a - bogus EvolutionConfigControl -> BonoboControl cast). - -2002-12-17 Chris Toshok <toshok@ximian.com> - - [ fixes bug #34897 ] - * gui/widgets/e-addressbook-table-adapter.c - (addressbook_value_at): don't free the return of - e_card_simple_get_const, as this causes a double free later on. - -2002-12-18 Chris Toshok <toshok@ximian.com> - - * gui/component/e-address-popup.c: convert the clist in here to a - GtkTreeView. your guess is as good as mine if it works (i can't - test it at present) but it compiles. - -2002-12-18 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-view.c (jump_to_letters): - g_string_sprintfa -> g_string_append_printf. - (create_alphabet): same. - (create_minicard_view): remove gtk_widget_{push,pop}_visual. - - * gui/widgets/Makefile.am (INCLUDES): add -D*_DISABLE_DEPRECATED. - -2002-12-18 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-minicard.c (e_minicard_realize): drop use of - "font" arg. - (get_left_width): use pango to calculate this instead of a GdkFont. - - * gui/widgets/e-minicard-view.c: drop include of e-unicode.h. - - * gui/widgets/e-minicard-label.c (e_minicard_label_construct): - don't need to create the font anymore. - - * gui/search/Makefile.am (INCLUDES): add -D*_DISABLE_DEPRECATED. - - * gui/search/e-addressbook-search-dialog.c - (e_addressbook_search_dialog_new): use g_object_new instead of - gtk_type_new. - - * gui/merging/Makefile.am (INCLUDES): add -D*_DISABLE_DEPRECATED. - - * gui/contact-list-editor/Makefile.am (INCLUDES): add - -D*_DISABLE_DEPRECATED. - - * gui/contact-list-editor/e-contact-list-editor.c (is_named): - strdup (or not, if we don't need to save the value) instead of - using the e_utf8 functions. - (fill_in_info): same. - - * gui/contact-editor/Makefile.am (INCLUDES): add - -D*_DISABLE_DEPRECATED. - - * gui/contact-editor/e-contact-save-as.c (e_contact_save_as): - strdup (or not, if we don't need to save the value) instead of - using the e_utf8 functions. - (e_contact_list_save_as): same. - - * gui/contact-editor/e-contact-quick-add.c (clicked_cb): strdup - (or not, if we don't need to save the value) instead of using the - e_utf8 functions. - (build_quick_add_dialog): same. - - * gui/contact-editor/e-contact-editor.c (phone_entry_changed): - strdup (or not, if we don't need to save the value) instead of - using the e_utf8 functions. - (file_as_set_style): same. - (name_entry_changed): same. - (full_name_clicked): same. - (categories_clicked): same. - (set_field): same. - (fill_in_field): same. - (fill_in_single_field): same. - (extract_field): same. - (extract_single_field): same. - - * gui/contact-editor/e-contact-editor-fullname.c (extract_field): - just strdup, it's already utf8. - - * gui/contact-editor/e-contact-editor-address.c (extract_field): - they're all entries, use GTK_ENTRY foo here. - - * gui/component/select-names/Makefile.am (INCLUDES): add - -D*_DISABLE_DEPRECATED. - - * gui/component/select-names/e-select-names.c - (e_select_names_add_section): remove the extra - utf8_from_locale_string stuff. - - * gui/component/select-names/e-select-names-popup.c - (set_uiinfo_label): gtk_container_children -> - gtk_container_get_children, and remove the extra utf8 stuff. - - * gui/component/Makefile.am (INCLUDES): add - -D*_DISABLE_DEPRECATED. - - * gui/component/addressbook-storage.c - (addressbook_storage_init_source_uri): g_string_sprintfa -> - g_string_append_printf. - - * gui/component/addressbook-config.c (focus_help): - gtk_notebook_set_page -> gtk_notebook_set_current_page. - (addressbook_source_dialog_set_source): same. - (auth_optionmenu_activated): gtk_container_children -> - gtk_container_get_children. - (ssl_optionmenu_activated): same. - (ssl_optionmenu_selected): same, and gtk_notebook_set_page -> - gtk_notebook_set_current_page. - (scope_optionmenu_activated): same. - (set_advanced_button_state): same. - (addressbook_ldap_init): hook "response" to gtk_widget_destroy to - make the dialog go away when clicked. - (addressbook_ldap_auth): same. - (addressbook_root_dse_query): same. - (do_ldap_root_dse_query): same. - (addressbook_config_control_new): fix return type and cast. - (main): remove call to gtk_widget_push_visual. - - * gui/component/addressbook-config.h: - addressbook_config_control_new returns a BonoboObject, not a - BonoboControl. - - * gui/component/addressbook.c: remove e-unicode.h include. - - * backend/pas/Makefile.am (INCLUDES): Add - -DLIBGNOME_DISABLE_DEPRECATED. - - * backend/ebook/Makefile.am (INCLUDES): Add - -DLIBGNOME_DISABLE_DEPRECATED. - - * backend/ebook/e-card.c (e_card_get_property): remove misleading - comment. - -2002-12-17 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (build_card_from_entry): - g_strcasecmp -> g_ascii_strcasecmp. - (FIND_INSERT): same. - - * backend/pas/pas-backend-file.c (pas_backend_file_load_uri): - g_dirname -> g_path_get_dirname. - - * backend/pas/Makefile.am (INCLUDES): add - -DG_DISABLE_DEPRECATED. - - * backend/ebook/Makefile.am (INCLUDES): add - -DG_DISABLE_DEPRECATED. - -2002-12-17 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-manager.c - (uris_listener): oops, use strcmp, not !strcmp here. - -2002-12-17 Chris Toshok <toshok@ximian.com> - - [ Fixes bug #35135 ] - * backend/ebook/e-book-util.c (set_default_book_uri_local): don't - free the default_book_uri here, it's done in set_default_book_uri. - (set_default_book_uri): break some stuff out from - set_default_book_uri_from_bonobo_conf to here so it can be used - both from that function and the bonobo listener. - (default_folder_listener): set the new default book uri. - (set_default_book_uri_from_bonobo_conf): install the bonobo conf - listener so we'll get updates. - -2002-12-16 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-config.c - (addressbook_config_control_new): Use - evolution_shell_client_corba_objref() instead of BONOBO_OBJREF() - to get the Shell CORBA object. - -2002-12-16 Jeffrey Stedfast <fejj@ximian.com> - - * gui/component/addressbook-config.c: Don't #include - <e-util/e-html-utils.h> - -2002-12-09 Chris Toshok <toshok@ximian.com> - - * gui/search/e-addressbook-search-dialog.[ch]: GObject-ize this. - -2002-12-09 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.c (load_uri_auth_cb): pass - "Addressbook" to e_passwords*. - (addressbook_authenticate): same. - -2002-12-09 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.c (search_cb): remove - PENDING_PORT_WORK. - (addressbook_search_activated): same. - (addressbook_query_changed): same. - - * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): - add libfilter.la back in. - -2002-12-09 Ettore Perazzoli <ettore@ximian.com> - - * gui/widgets/e-minicard-control.c: #define MINICARD_CONTROL_ID. - -2002-12-08 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-util.c (e_addressbook_error_dialog): - connect ::response to gtk_widget_destroy so the dialog goes away. - - * gui/widgets/e-minicard-label.c (e_minicard_label_construct): - don't use font_gdk anymore on EText. it doesn't exist. - -2002-12-08 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-reflow-adapter.c (text_height): this - uses pango now. - (addressbook_height): same. - -2002-12-06 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-book.c (e_book_commit_card): use e_card_set_book - instead of basically duplicating its code here. - (e_book_add_card): same. - -2002-12-06 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/e-cardlist-model.c: #include <string.h>. - - * gui/component/addressbook-storage.c: #include <string.h>, - <ctype.h>, <unistd.h>. - - * gui/component/addressbook-factory.c: Removed. - - * gui/component/addressbook-component.c: #include - <bonobo/bonobo-main.h>, <unistd.h> and <string.h>. - (create_view): addressbook_new_control() instead of - addressbook_factory_new_control(). - - * gui/component/select-names/e-select-names.c - (e_addressbook_create_ebook_table): Removed unused variable. - (e_select_names_add_section): Removed unused variable. - - * gui/component/select-names/e-select-names-manager.c - (focus_in_cb): Use g_source_remove() here instead of - gtk_timeout_remove(). - - * gui/component/component-factory.c: New. - - * gui/widgets/e-minicard-control.c - (e_minicard_control_factory_init): Removed. - (e_minicard_control_control_factory): Removed. - (e_minicard_control_new): New. - - * gui/component/e-address-widget.c - (e_address_widget_factory_init): Removed. - (e_address_widget_new_control): Renamed from - e_address_widget_factory_new_control(), made public. - (e_address_widget_factory): Removed. - - * gui/component/e-address-popup.c (e_address_popup_new_control): - New. - (e_address_popup_factory_new_control): Removed. - (e_address_popup_factory): Removed. - (e_address_popup_factory_init): Removed. - - * gui/component/addressbook-config.c - (addressbook_config_register_factory): Removed. - (addressbook_config_create_control): New. - - * gui/component/addressbook-component.c - (addressbook_component_factory_init): Removed. - (addressbook_component_get_object): New. - (owner_set_cb): Do not call addressbok_config_register_factory(). - - * gui/component/addressbook.c (addressbook_factory_init): Removed. - (addressbook_new_control): Renamed from - addressbook_factory_new_control(). - -2002-12-05 Jeffrey Stedfast <fejj@ximian.com> - - * gui/component/select-names/e-select-names.etspec: Use collate - for sorting rather than the normal string sort. This fixes bug - #26335 without causing bug #33933 :-) - -2002-11-30 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (pas_backend_ldap_connect): only - enable the LDAPv3 stuff if TLS is being used. Also, deal with - naming errors returned from query_ldap_root_dse, as some servers - (older openldap servers among others i'm sure) don't have a root - dse at all. - -2002-12-02 Not Zed <NotZed@Ximian.com> - - * gui/widgets/e-addressbook-view.c (e_contact_print_button): - gnomedialog -> gtkdialog stuff. print dialog is a gtkdialog now. - - * gui/contact-editor/e-contact-editor.c: include gtkstock.h - - -2002-11-27 Not Zed <NotZed@Ximian.com> - - * gui/contact-editor/e-contact-editor-address.c: #include gtkstock.h - -2002-11-29 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-minicard-view-widget.c (column_width_changed): the - detail is supposed to go after the signal id, not at the end of - the parameter list. - -2002-11-28 Chris Toshok <toshok@ximian.com> - [ roll forward from 1.2 branch, partial fix for #31763 ] - * gui/component/select-names/select-names.glade: add the Find - button back in. - -2002-11-28 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-view.c (create_minicard_view): remove - the button_press_event handler (that did nothing). this makes it - so button presses actually get to the canvas (and therefore we can - now drag the lines in the reflow widget). - -2002-11-26 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-quick-add.c: add include for - gtkstock.h. - - * gui/contact-list-editor/e-contact-list-model.c - (e_contact_list_model_add_destination): add pre_change call. - (e_contact_list_model_remove_row): same. - (e_contact_list_model_remove_all): same. - - * gui/contact-list-editor/e-contact-list-editor.c - (e_contact_list_editor_new): ref/sink the contact list editor so - we don't get the floating unref warning from gtk. - - * gui/contact-editor/e-contact-editor.c (e_contact_editor_new): - ref/sink the contact editor so we don't get the floating unref - warning from gtk. - (e_contact_editor_init): use g_build_filename instead of - g_concat_dir_and_file. - - * gui/widgets/e-minicard-label.c - (e_minicard_label_resize_children): use MAX (value, 0) to make - sure we aren't passing negative values for clip-widths. - - * gui/widgets/e-minicard.c (e_minicard_realize): use MAX (value, - 0) to make sure we aren't passing negative values for widths. - - * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): - use g_build_filename. - -2002-11-26 Chris Toshok <toshok@ximian.com> - - [ roll forward from 1.2 branch ] - * backend/pas/pas-backend-file.c - (pas_backend_file_process_get_vcard): never pass NULL as the vcard - to the corba call, it causes a crash. This particular bug bit us - when we opened a card that contained an unresolvable related - contact. - -2002-11-26 Chris Toshok <toshok@ximian.com> - - [ roll forward from 1.2 branch, Fixes addressbook bug #28945 ] - * backend/ebook/e-card.c (e_card_get_vobject): if the email - property is xml, get the real address from the e-destination. - Fixes saving contact lists. - -2002-11-26 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-minicard.c (e_minicard_reflow): remove redundant - setting of y2. - - * gui/contact-list-editor/e-contact-list-editor.c - (e_contact_list_editor_init): show the table. - - * gui/component/select-names/e-select-names-completion.c: remove - an unnecessary #include. - - * gui/component/addressbook-storage.c (addressbook_storage_setup): - use g_build_filename. - - * gui/component/addressbook-component.c (remove_folder): use - g_build_filename. - (add_creatable_item): same. - (ensure_completion_uris_exist): same, and use the right gconf - paths for completion uris. - -2002-11-26 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-manager.c - (read_completion_books_from_db): use new schema for - completion/uris. - (uris_listener): same. - - * gui/component/select-names/e-select-names.h: Convert to - GtkDialog from GnomeDialog. - - * gui/component/select-names/e-select-names.c: Convert to - GtkDialog from GnomeDialog. - (folder_selected): use new schema for last_used_uri. - (e_select_names_init): same. - (e_select_names_set_default): use pango markup to set - bold/not-bold. - (e_select_names_add_section): don't bother creating an EEntry, we - can use pango and a normal label. This also keeps us from - wrapping "contacts ->" at the '-'. - - * gui/component/apps_evolution_addressbook.schemas: new file. - - * gui/component/Makefile.am: add the schema stuff. - -2002-11-24 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-config.c (query_for_supported_bases): - show the etable. - (addressbook_add_server_druid): show_all before returning the - dialog, so the druid shows up. - -2002-11-23 Chris Toshok <toshok@ximian.com> - - [ roll forward from the 1.2 branch. fixes #25540, part of #29630, - as well as other selection issues in the contact editor and ACL - issues in the ldap backend ] - * backend/pas/pas-backend-ldap.c (check_schema_support): reset the - schema check state to FALSE if the read returned nothing (and the - user had not authenticated). we'll requery if/when they auth. - (query_ldap_root_dse): free the schema dn before assigning over - it. - (pas_backend_ldap_connect): added a diagnostic warning about the - root dse query failing in anonymous mode (if it in fact did fail.) - (pas_backend_ldap_process_authenticate_user): if we successfully - authed, requery the root dse to pick up any attributes that might - be protected, and retry the schema query if that failed before. - - * gui/contact-editor/e-contact-editor.c (full_name_clicked): set - the dialog's editable state based on the new field - "fullname_editable", and only do the Ok button handling if this - flag is TRUE. - (full_addr_clicked): set the dialog's editable state based on the - editable state for the particular address (from - editor->address_editable[]). also, only do the Ok button handling - if this flag is TRUE. - (_address_arrow_pressed): use the address_editable array to - determine whether the address text and the mailing address - checkbutton are sensitive. - (enable_writable_fields): figure out if fullname_editable is - TRUE/FALSE, also, init the address_editable flags based on the - field list, and handle the address checkbutton. - - * gui/contact-editor/fulladdr.glade: change the label names to - label-<name> to match {entry,combo}-<name>. - - * gui/contact-editor/fullname.glade: same. - - * gui/contact-editor/e-contact-editor-fullname.c - (e_contact_editor_fullname_class_init): rename ARG_IS_READ_ONLY to - ARG_EDITABLE, to reflect the correct sense of the flag. - (e_contact_editor_fullname_set_arg): same, and make the labels - sensitive/insensitive depending on the editable state of the - dialog. - - * gui/contact-editor/e-contact-editor-address.c - (e_contact_editor_address_class_init): rename ARG_IS_READ_ONLY to - ARG_EDITABLE, to reflect the correct sense of the flag. - (e_contact_editor_address_set_arg): same, and make the labels - sensitive/insensitive depending on the editable state of the - dialog. - -2002-11-22 Chris Toshok <toshok@ximian.com> - - [ roll forward Sean.Gao@sun.com's fix for #16870 from the 1.2 - branch ] - * backend/ebook/evolution-ldif-importer.c (getNextLDIFEntry): - check for both LR and CRLF as empty line markers. - -2002-11-22 Chris Toshok <toshok@ximian.com> - - [ rolling forward fix for #34254 from 1.2 branch ] - * backend/ebook/evolution-vcard-importer.c (check_file_is_vcard): - use g-ascii_strncasecmp instead of strncmp. - (support_format_fn): use g_ascii_strcasecmp instead of strcmp. - -2002-11-20 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-storage.h: roll forward the scope fix. - -2002-11-20 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-editor.c: roll forward the fix for - the contact editor. - -2002-11-21 Not Zed <NotZed@Ximian.com> - - * gui/component/select-names/e-select-names-bonobo.c - (entry_changed): Pass type to bonobo_ctonrol_set_property, and - also NULL terminate the valist. - - * gui/component/select-names/e-select-names-text-model.c - (changed_cb): Fix signature for signal. - -2002-11-19 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in, - * gui/component/select-names/Makefile.am: Same changes as below - for the SelectNames component. - -2002-11-18 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names.c - (e_select_names_init): show the custom table. - -2002-11-18 Chris Toshok <toshok@ximian.com> - - * gui/widgets/gal-view-minicard.c (gal_view_minicard_attach): - remove the cast to (int) - column_width is a double. - - * gui/widgets/e-minicard.c (e_minicard_class_init): the height - property is only readable, not readwrite. - - * gui/widgets/e-minicard-view-widget.c - (e_minicard_view_widget_class_init): make column_width a double - property. - (e_minicard_view_widget_set_property): don't cast to (int). - column_width is double in the e-minicard-view. - (e_minicard_view_widget_realize): same. - (e_minicard_view_widget_get_property): use g_value_set_double for - column_width. - -2002-11-17 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/Makefile.am (servers_DATA): oops, - missed some "oaf"'s. - -2002-11-16 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-editor.c - (e_contact_editor_build_phone_ui): sink the popup. - (e_contact_editor_build_email_ui): same. - (e_contact_editor_build_address_ui): same. - - * gui/component/addressbook-config.c (ldap_dialog_new): show - everything from dialog->page down, so custom widgets show up. - -2002-11-15 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/Makefile.am: Added rule to generate - GNOME_Evolution_Addressbook.server.in from - GNOME_Evolution_Addressbook.server.in.in, substituting - @LIBEXECDIR@. - - * GNOME_Evolution_Addressbook.server.in.in: Renamed from - GNOME_Evolution_Addressbook.server.in. Added @LIBEXECDIR@ before - the location of the executable. - - * gui/component/select-names/select-names.glade: Ported to Glade - 2. - - * gui/component/select-names/recipient.glade: Ported to Glade 2. - -2002-11-15 Rodney Dawes <dobey@ximian.com> - - * gui/component/addressbook-component.c: Use bonobo_main_quit. - -2002-11-14 Chris Toshok <toshok@ximian.com> - - * gui/widgets/gal-view-factory-minicard.c: clean this up a tad. - - * gui/widgets/e-addressbook-view.c (init_collection): re-enable - this. - (setup_menus): same. - - * gui/widgets/gal-view-minicard.[ch]: more GObject work. - -2002-11-12 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-editor.c (_popup_position): push_in - = FALSE, no clue why... :) - (_arrow_pressed): call g_signal_stop_emission here, seems to fix - things. - - * gui/component/select-names/e-select-names.c - (e_select_names_init): fix warnings. - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_manager_activate_dialog): fix warning. - - * gui/component/addressbook.c (forget_passwords_cb): remove the - PENDING_PORT ifdef. - (load_uri_auth_cb): same. - (addressbook_authenticate): same. - - * gui/component/addressbook-factory.c (main): same. - - * gui/component/addressbook-storage.c (load_source_data): be - silent about text nodes if they contain nothing but whitespace. - -2002-11-11 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-card-cursor.c (pas_card_cursor_dispose): guard - against multiple invocations. - - * backend/pas/pas-backend-ldap.c (view_destroy): change signature - to that of a weak ref notify function. - (cursor_destroy): same. - (pas_backend_ldap_book_destroy_cb): same. - (get_cursor_handler): ::destroy -> weak_ref. - (pas_backend_ldap_process_get_book_view): same. - (pas_backend_ldap_add_client): same. - - * backend/pas/pas-backend-file.c (cursor_destroy): change - signature to that of a weak ref notify function. - (view_destroy): same. - (pas_backend_file_book_destroy_cb): same. - (pas_backend_file_process_get_cursor): ::destroy -> weak_ref. - (pas_backend_file_process_get_book_view): same. - (pas_backend_file_process_get_completion_view): same. - (pas_backend_file_process_get_changes): same. - (pas_backend_file_add_client): same. - - * backend/ebook/test-client.c (get_cursor_cb): unref the book and - exit here. - (get_card_cb): pass a query string to get_cursor. - - * backend/ebook/e-book-view.c (e_book_view_class_init): correct - marshaller for "card_added". - -2002-11-11 Chris Toshok <toshok@ximian.com> - - * gui/widgets/test-reflow.c (destroy_callback): change signature - to that of a weak ref notify function. - (main): ::destroy -> weak_ref. - - * gui/widgets/test-minicard.c (destroy_callback): change signature - to that of a weak ref notify function. - (main): ::destroy -> weak_ref. - - * gui/widgets/test-minicard-view.c (destroy_callback): change - signature to that of a weak ref notify function. - (main): ::destroy -> weak_ref. - - * gui/widgets/test-minicard-label.c (destroy_callback): change - signature to that of a weak ref notify function. - (main): ::destroy -> weak_ref. - - * gui/widgets/e-minicard-widget.c (e_minicard_widget_init): ifdef - out the call to gnome_canvas_set_scroll_region. It doesn't seem - necessary judging from the rest of the code, and it also crashes - the addressbook if it's in. - - * gui/widgets/e-minicard-widget-test.c (destroy_callback): change - signature to that of a weak ref notify function. - (main): ::destroy -> weak_ref. - - * gui/widgets/e-minicard-control.c (free_struct): change signature - to that of a weak ref notify function. - (e_minicard_control_factory): ::destroy -> weak_ref. - - * gui/widgets/e-addressbook-view.c (e_addressbook_view_init): - ::destroy -> weak_ref. - (e_addressbook_view_print): same. - (free_closure): change signature to that of a weak ref notify - function. - (e_contact_print_destroy): same. - (invisible_destroyed): same. - - * gui/widgets/e-addressbook-util.c - (e_addressbook_prompt_save_dialog): convert from GnomeDialog to - GtkDialog. - (e_addressbook_show_multiple_cards): same. - - * gui/contact-list-editor/e-contact-list-editor.c - (prompt_to_save_changes): change response ids to use - GTK_RESPONSE_. - - * gui/component/select-names/e-select-names-manager.c - (clear_widget): new function. - (e_select_names_manager_activate_dialog): ::destroy -> weak_ref. - - * gui/component/select-names/e-select-names.c (clear_widget): - change signature to that of a weak ref notify function. - (e_select_names_init): ::destroy -> weak_ref. - - * gui/component/e-address-popup.c (mini_wizard_destroy_cb): change - signature to that of a weak ref notify function. - (mini_wizard_new): ::destroy -> weak_ref. - - * gui/component/addressbook-config.c - (addressbook_source_dialog_destroy): change signature to that of a - weak ref notify function. - (ldap_config_control_destroy_callback): same. - (addressbook_add_server_druid): ::destroy -> weak_ref. - (addressbook_edit_server_dialog): same. - (ldap_config_control_new): same. - - * gui/component/addressbook.c (destroy_callback): change signature - to that of a a weak ref notify function. - (addressbook_factory_new_control): ::destroy -> weak_ref. - - * gui/merging/e-card-merging.c (response): rename clicked to this, - and destroy the dialog here. - (match_query_callback): ::clicked -> ::response - - * gui/merging/e-card-merging-book-commit-duplicate-detected.glade: - convert. - - * gui/merging/e-card-duplicate-detected.glade: same. - -2002-11-11 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-editor.c (_arrow_pressed): change - around a little, still ifdefed though. - - * gui/contact-editor/e-contact-save-as.c (file_exists): same. - (save_it): deal with the GtkDialog response ids. - - * gui/contact-editor/e-contact-editor.c - (e_contact_editor_confirm_delete): just build the dialog here - (using gtk_message_dialog*). - - * gui/contact-editor/Makefile.am (glade_DATA): remove - file-exists.glade and e-contact-editor-confirm-delete.glade. - -2002-11-11 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-card-cursor.c (pas_card_cursor_dispose): guard - against multiple invocations. - - * backend/pas/pas-backend-ldap.c (view_destroy): change signature - to that of weak ref's notify function - also, don't use the type - check macros on the freed GObject. - (cursor_destroy): same. - (pas_backend_ldap_book_destroy_cb): same. - (pas_backend_ldap_add_client): use weak_ref insteead of ::destroy. - (get_cursor_handler): same. - (pas_backend_ldap_process_get_book_view): same. - - * backend/pas/pas-backend-file.c (cursor_destroy): change - signature to that of weak ref's notify function - also, don't use - the type check macros on the freed GObject. - (pas_backend_file_book_destroy_cb): same. - (view_destroy): same. - (pas_backend_file_process_get_cursor): use weak_ref instead of - ::destroy. - (pas_backend_file_process_get_book_view): same. - (pas_backend_file_process_get_completion_view): same. - (pas_backend_file_process_get_changes): same. - (pas_backend_file_add_client): same. - -2002-11-10 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-card-sexp.c - (pas_backend_card_sexp_dispose): guard against multiple - invocations. - - * backend/pas/pas-card-cursor.c (pas_card_cursor_dispose): same. - - * backend/pas/pas-book.c (pas_book_dispose): same. - - * backend/pas/pas-book-view.c (pas_book_view_dispose): same. - - * backend/pas/pas-book-factory.c (pas_book_factory_dispose): same. - - * backend/pas/pas-backend-summary.c (pas_backend_summary_dispose): same. - - * backend/pas/pas-backend-ldap.c (pas_backend_ldap_dispose): same. - - * backend/pas/pas-backend-file.c (pas_backend_file_dispose): same. - - * backend/ebook/e-book-listener.c (e_book_listener_dispose): guard - against multiple invocations. - - * backend/ebook/e-card.c (e_card_dispose): same. - - * backend/ebook/e-card-simple.c (e_card_simple_dispose): same. - - * backend/ebook/e-card-cursor.c (e_card_cursor_dispose): same. - - * backend/ebook/e-book.c (e_book_dispose): same. - - * backend/ebook/e-book-view-listener.c (e_book_view_listener_dispose): same. - -2002-11-08 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-model.c (free_data): guard against - multiple invocations. - (remove_book_view): same. - (addressbook_dispose): same. - - * gui/widgets/e-addressbook-view.c (e_addressbook_view_dispose): - same. - - * gui/widgets/e-minicard-view-widget.c - (e_minicard_view_widget_dispose): same. - - * gui/widgets/e-minicard-view.c (e_minicard_view_dispose): same. - - * gui/widgets/e-minicard-widget.c (e_minicard_widget_dispose): - same. - -2002-11-08 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-reflow-adapter.c - (addressbook_get_property): oops, missed these casts. - - * gui/component/addressbook.c (get_master_list): remove the - PENDING_PORT_WORK ifdef, just ported ECategoriesMasterList. - (make_suboptions): same. - - * gui/contact-editor/e-contact-editor.c (categories_clicked): - same. - -2002-11-08 Chris Toshok <toshok@ximian.com> - - * gui/widgets/test-reflow.c: port work. - - * gui/widgets/test-minicard-view.c: port work. - - * gui/widgets/e-minicard.[ch]: port work. - - * gui/widgets/e-minicard-widget.c: port work. - - * gui/widgets/e-minicard-view.c: port work. - - * gui/widgets/e-minicard-view-widget.c - (e_minicard_view_widget_size_allocate): gtk_->g_ change i missed. - (e_minicard_view_widget_reflow): same. - - * gui/widgets/e-minicard-label.c: port work. - - * gui/widgets/e-minicard-control.c (get_prop): gtk_->g_ change i - missed. - - * gui/widgets/e-addressbook-view.c (setup_menus): ifdef this - PENDING_PORT_WORK for now. - (has_email_address_1): gtk_->g_ change i missed. - (print): remove the PENDING_PORT_WORK from here, as the print_* - symbols now resolve. - (delete): gtk_->g_ changes. - (new_card): same. - (new_list): same. - (sources): same. - (create_minicard_view): same. - (table_double_click): same. - (create_table_view): same. - (e_contact_print_destroy): same. - (e_contact_print_button): same. - (e_addressbook_view_print): same, and remove the PENDING_PORT_WORK - ifdef. - (e_addressbook_view_print_preview): same. - (do_remove): gtk_->g_ changes. - (e_addressbook_view_save_state): same. - (view_transfer_cards): same. - - * gui/widgets/e-addressbook-view.h (struct _EAddressbookView): - GtkObject -> GObject. - - * gui/widgets/e-addressbook-util.c (e_addressbook_error_dialog): - GnomeDialog -> GtkDialog. - - * gui/widgets/e-addressbook-table-adapter.c - (addressbook_set_value_at): a gtk_->g_ change i missed. - (e_addressbook_table_adapter_class_init): gtk_type_class -> - g_type_class_peek_parent. - - * gui/widgets/e-addressbook-reflow-adapter.c - (addressbook_get_property): use g_object_get_property for - aggregated properties. - (e_addressbook_reflow_adapter_class_init): gtk_type_class -> - g_type_class_peek_parent. - - * gui/merging/e-card-merging.c (match_query_callback): some misc - gtk_->g_ changes i missed. - -2002-11-08 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-model.h: parent class - is GObjectClass. - - * gui/component/select-names/e-simple-card-bonobo.c - (impl_dispose): guard against multiple invocations, and chain - dispose. - - * gui/component/select-names/e-select-names.c - (e_select_names_dispose): guard against multiple invocations. - - * gui/component/select-names/e-select-names-text-model.c - (e_select_names_text_model_dispose): guard against multiple - invocations. - (e_select_names_text_model_set_source): fix casts. - - * gui/component/select-names/e-select-names-table-model.c - (e_select_names_table_model_add_source): remove the GTK_OBJECT - cast, fixes a warning. - (clear_info): guard against multiple invocations from ::dispose. - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_manager_dispose): same. - - * gui/component/select-names/e-select-names-completion.c - (e_select_names_completion_dispose): same. - - * gui/component/select-names/e-select-names-bonobo.c - (impl_dispose): guard against multiple invocations. - -2002-11-08 Chris Toshok <toshok@ximian.com> - - * gui/contact-list-editor/contact-list-editor.glade: convert to glade-2 - - * gui/contact-list-editor/e-contact-list-editor.c: port work. - - * gui/contact-list-editor/e-contact-list-model.[ch]: port work. - -2002-11-08 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-editor-address.[ch]: port work. - - * gui/contact-editor/e-contact-editor-fullname.[ch]: port work. - - * gui/contact-editor/e-contact-editor.[ch]: port work. - - * gui/contact-editor/e-contact-quick-add.c: port work. - - * gui/contact-editor/e-contact-save-as.c: port work. - -2002-11-08 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-book-util.c - (set_default_book_uri_from_config_db): prepend /apps/Evolution to - config db paths. - - * gui/component/select-names/e-select-names-manager.c (read_completion_books_from_db): same. - (uris_listener): same. - -2002-11-08 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-editor.c: more porting work. - - * e-contact-editor-fullname.[ch]: more porting work. - - * e-contact-editor.c: more porting work. - - * e-contact-quick-add.c: more porting work. - - * e-contact-save-as.c: more porting work. - - * test-editor.c: more porting work. - - * e-contact-editor-confirm-delete.glade, file-exists.glade, - fulladdr.glade, fullname.glade: run these through - libglade-convert. - -2002-11-07 Chris Toshok <toshok@ximian.com> - - * gui/component/Makefile.am (evolution_addressbook_LDADD): add - lots of libs back in since they're building now. - - * gui/component/addressbook-config.c: more porting work. - - * gui/component/addressbook.c: more porting work. - - * gui/component/e-address-popup.[ch]: more porting work. - - * gui/component/e-address-widget.[ch]: more porting work. - - * gui/component/e-cardlist-model.[ch]: more porting work. - -2002-11-07 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-bonobo.[ch]: more - porting work. - - * gui/component/select-names/e-select-names-completion.[ch]: more - porting work. - - * gui/component/select-names/e-select-names-manager.[ch]: more - porting work. - - * gui/component/select-names/e-select-names-model.[ch]: more - porting work. - - * gui/component/select-names/e-select-names-popup.c: more - porting work. - - * gui/component/select-names/e-select-names-table-model.[ch]: more - porting work. - - * gui/component/select-names/e-select-names-text-model.[ch]: more - porting work. - - * gui/component/select-names/e-select-names.[ch]: more - porting work. - -2002-11-07 Chris Toshok <toshok@ximian.com> - - * backend/ebook/Makefile.am: tests are linking now, and link in - libcamel.la. - - * backend/ebook/e-destination.c (e_destination_get_name): un-ifdef - since camel is compiling. - (e_destination_get_email): same. - (e_destination_get_address): same. - (e_destination_get_textrep): same. - - * backend/ebook/e-card-compare.c (name_fragment_match): use e_utf8_casefold_*. - (name_fragment_match_with_synonyms): same. - (e_card_compare_name_to_string_full): same. - (e_card_compare_name): same. - -2002-11-07 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-book-util.h: add prototypes for e_utf8_casefold_collate{_len} - - * backend/ebook/e-book-util.c (e_utf8_casefold_collate_len): move - utf8_casefold_collate_len here. - (e_utf8_casefold_collate): move utf8_casefold_collate here. - -2002-11-06 Chris Toshok <toshok@ximian.com> - - * printing/e-contact-print-envelope.c: port this to - gnome2/gnomeprint2. - - * printing/e-contact-print-style-editor.c: same. - - * printing/e-contact-print.c: same. - - * printing/test-contact-print-style-editor.c: same. - - * printing/test-print.c: same. - - * printing/e-contact-print.glade: libglade-convert to libglade-2. - - * printing/Makefile.am (contact_print_test_LDADD) - (contact_print_style_editor_test_LDADD): remove libcamel.la from - these for the time being to get things linking. - -2002-11-06 Chris Toshok <toshok@ximian.com> - - * gui/widgets/gal-view-minicard.[ch]: gobjectify this. - - * gui/widgets/e-minicard.[ch]: gobjectify this. - (e_minicard_class_init): change the - min/max values of the width/height paramspecs so that they can - actually be set to something other than 0.0. - - * gui/widgets/e-minicard-widget.[ch]: gobjectify this. - - * gui/widgets/e-minicard-view.[ch]: gobjectify this. - (set_empty_message): don't need e_utf8_from_locale_string anymore. - - * gui/widgets/e-minicard-view-widget.[ch]: gobjectify this. - - * gui/widgets/e-minicard-label.[ch]: gobjectify this. - - * gui/widgets/e-addressbook-view.[ch]: gobjectify this. - - * gui/widgets/e-addressbook-table-adapter.[ch]: gobjectify this. - - * gui/widgets/e-addressbook-reflow-adapter.[ch]: gobjectify this. - - * gui/widgets/e-addressbook-model.[ch]: gobjectify this. - - * gui/widgets/e-minicard-control.c (e_minicard_control_factory): - fix bonobo_persist_stream_new api change. - - * gui/contact-list-editor/e-contact-list-model.c - (e_contact_list_model_add_destination): get rid of the - gtk_object_sink here. - - * gui/component/ldap-config.glade: glade-2 version of this file. - - * gui/component/e-address-popup.c (e_address_popup_refresh_names): - don't need e_utf8_to_gtk_string anymore. - - * gui/component/addressbook.c (make_suboptions): don't need - e_utf8_to_locale_string anymore. - - * gui/component/addressbook-config.c - (addressbook_dialog_get_source): get rid of the e_utf8 gtk_entry - functions. - (addressbook_source_dialog_set_source): same. - (general_tab_check): same. - (port_changed_func): same. - (connecting_tab_check): same. - (query_for_supported_bases): same. - (display_name_check): same. - (display_name_page_prepare): same. - (edit_source_clicked): same. - (addressbook_config_create_new_source): same. - -2002-11-06 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-card-sexp.c - (pas_backend_card_sexp_class_init): use g_type_class_peek_parent. - - * backend/pas/pas-card-cursor.c (pas_card_cursor_class_init): same. - - * backend/pas/pas-book-view.c (pas_book_view_class_init): same. - - * backend/pas/pas-book-factory.c (pas_book_factory_class_init): same. - - * backend/pas/pas-backend-summary.c (pas_backend_summary_class_init): same. - - * backend/pas/pas-backend-ldap.c (pas_backend_ldap_class_init): same. - - * backend/pas/pas-backend-file.c (pas_backend_file_class_init): same. - - * backend/ebook/e-book-marshal.list: ENUM -> INT. - - * backend/ebook/e-book-view.c (e_book_view_dispose): guard against - this being called multiple times. - (e_book_view_class_init): ENUM -> INT in the sequence_complete - signal. - - * backend/ebook/e-book.c (e_book_do_response_open): un-ifdef the - component_died signal stuff. - -2002-11-06 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-book-util.c (e_book_expand_uri): call - g_build_filename, not g_build_path. - -2002-11-06 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-destination.[ch]: fix the gnome-xml headers. - -2002-11-06 Chris Toshok <toshok@ximian.com> - - * gui/widgets/gal-view-minicard.c: fix the gnome-xml headers. - - * gui/widgets/e-addressbook-view.c - (e_addressbook_view_class_init): convert from gtk signals and args - to GSignal and GObject properties. - (e_addressbook_view_dispose): rename _destroy to this. - (e_addressbook_view_set_property): rework _set_arg to this. - (e_addressbook_view_get_property): rework _get_arg to this. - (display_view): if we're here we need to choose a view, regardless - of whether or not the GAL_IS_VIEW_* macros tell us which type it - is. - - * gui/widgets/e-addressbook-table-adapter.c: fix the gnome-xml - headers. - - * gui/widgets/e-addressbook-model.c - (e_addressbook_model_class_init): use INT, not ENUM in the signal here. - - * gui/component/addressbook-config.c: another big gtk_* -> g_* - renaming. - - * gui/component/addressbook.c: same. - - * gui/component/e-address-popup.c: same. - - * gui/component/e-address-widget.c: same. - - * gui/component/e-cardlist-model.c: fix the gnome-xml headers, and - more gtk_* -> g_* renaming. - - * gui/component/addressbook-component.c (owner_set_cb): use - evolution_shell_client_corba_objref as per ettore's change to - EvolutionShellClient.. - (create_view): fix the call to bonobo_control_set_property. - (create_component): gtk_signal_connect -> g_signal_connect. - - * gui/component/addressbook-storage.c: fix the gnome-xml - headers. - (addressbook_storage_setup): use - evolution_shell_client_corba_objref as per ettore's change to - EvolutionShellClient.. - (addressbook_get_other_contact_storage): gtk_signal_connect -> - g_signal_connect. - (load_source_data): root->childs -> root->childrens. - -2002-11-06 Chris Toshok <toshok@ximian.com> - - * gui/search/e-addressbook-search-dialog.c: fix some #include's. - -2002-11-06 Chris Toshok <toshok@ximian.com> - - * Makefile.am (SUBDIRS): only build the backend and gui dirs for - now. printing and conduits are no-man's land at present. - - * addressbook/gui/merging/e-card-merging.[ch]: Port to - GObject/gnome2. - -2002-11-05 Chris Toshok <toshok@ximian.com> - - * gui/component/.cvsignore: ignore the new .server file. - - * gui/component/Makefile.am: typical port stuff. switch the .oaf - to .server, and leave out a lot of libs so we can actually get - things linking. - - * gui/component/GNOME_Evolution_Addressbook.server.in: rename - .oaf.in here. - - * gui/component/addressbook-component.c: Port to GObject/gnome2. - - * gui/component/addressbook-config.c: Port to GObject/gnome2. - - * gui/component/addressbook-factory.c: Port to GObject/gnome2. - - * gui/component/addressbook-storage.c: Port to GObject/gnome2. - - * gui/component/addressbook.[ch]: Port to GObject/gnome2. - - * gui/component/e-address-popup.[ch]: Port to GObject/gnome2. - - * gui/component/e-address-widget.[ch]: Port to GObject/gnome2. - - * gui/component/e-cardlist-model.h: Port to GObject/gnome2. - -2002-11-05 Chris Toshok <toshok@ximian.com> - - * gui/contact-list-editor/.cvsignore: ignore the marshal generated - stuff. - - * gui/contact-list-editor/Makefile.am: typical port stuff. add - marshaller generation foo, dist it... - - * gui/contact-list-editor/e-contact-list-editor.[ch]: Port to - GObject/gnome2. - - * gui/contact-list-editor/e-contact-list-model.[ch]: Port to - GObject/gnome2. - -2002-11-05 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/.cvsignore: ignore the marshal generated - stuff. - - * gui/contact-editor/Makefile.am: typical port stuff. add - marshaller generation foo, dist it... - - * gui/contact-editor/e-contact-editor-address.[ch]: Port to GObject/gnome2. - - * gui/contact-editor/e-contact-editor-fullname.c: Port to GObject/gnome2. - - * gui/contact-editor/e-contact-editor.c: Port to GObject/gnome2. - - * gui/contact-editor/e-contact-quick-add.c: Port to GObject/gnome2. - - * gui/contact-editor/e-contact-save-as.[ch]: Port to GObject/gnome2. - - * gui/contact-editor/test-editor.c: Port to GObject/gnome2. - -2002-11-05 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-model.[ch]: Port to GObject/gnome2. - - * gui/widgets/e-addressbook-reflow-adapter.c: Port to - GObject/gnome2. - - * gui/widgets/e-addressbook-table-adapter.c: Port to - GObject/gnome2. - - * gui/widgets/e-addressbook-util.c: Port to GObject/gnome2. - - * gui/widgets/e-addressbook-view.[ch]: Port to GObject/gnome2. - - * gui/widgets/e-minicard-control.c: Port to GObject/gnome2. - - * gui/widgets/e-minicard-label.[ch]: Port to GObject/gnome2. - - * gui/widgets/e-minicard-view-widget.[ch]: Port to GObject/gnome2. - - * gui/widgets/e-minicard-view.[ch]: Port to GObject/gnome2. - - * gui/widgets/e-minicard-widget-test.c: Port to GObject/gnome2. - - * gui/widgets/e-minicard-widget.c: Port to GObject/gnome2. - - * gui/widgets/e-minicard.[ch]: Port to GObject/gnome2. - - * gui/widgets/gal-view-factory-minicard.c: Port to GObject/gnome2. - - * gui/widgets/gal-view-minicard.c: Port to GObject/gnome2. - - * gui/widgets/test-minicard-label.c: Port to GObject/gnome2. - - * gui/widgets/test-minicard-view.c: Port to GObject/gnome2. - - * gui/widgets/test-minicard.c: Port to GObject/gnome2. - - * gui/widgets/test-reflow.c: Port to GObject/gnome2. - - * gui/widgets/Makefile.am: typical port stuff. add marshaller - generation foo, dist it... - - * gui/widgets/.cvsignore: ignore the marshaller stuff. - -2002-11-05 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-simple-card-bonobo.[ch]: Port to - GObject/gnome2. - - * gui/component/select-names/e-select-names.[ch]: Port to - GObject/gnome2. - - * gui/component/select-names/e-select-names-text-model.c: Port to - GObject/gnome2. - - * gui/component/select-names/e-select-names-table-model.c: Port to - GObject/gnome2. - - * gui/component/select-names/e-select-names-popup.[ch]: Port to - GObject/gnome2. - - * gui/component/select-names/e-select-names-model.c: Port to - GObject/gnome2. - - * gui/component/select-names/e-select-names-manager.[ch]: Port to - GObject/gnome2. - - * gui/component/select-names/e-select-names-factory.c: Port to - GObject/gnome2. - - * gui/component/select-names/e-select-names-completion.[ch]: Port - to GObject/gnome2. - - * gui/component/select-names/e-select-names-bonobo.[ch]: Port to - GObject/gnome2. - - * gui/component/select-names/Makefile.am: typical port stuff. add - marshaller generation foo, dist it, and switch the .oaf to .server - - * gui/component/select-names/.cvsignore: ignore the marshaller - stuff. - -2002-11-05 Chris Toshok <toshok@ximian.com> - - * backend/ebook/.cvsignore: ignore the generated marshaller files. - - * backend/ebook/e-destination.c (e_destination_dispose): rename - e_destination_destroy. - (e_destination_equal): ifdef this out for now, PENDING_PORT_WORK. - (e_destination_get_name): same. - (e_destination_get_email): same. - (e_destination_get_address): same. - (e_destination_get_textrep): same. - - * backend/ebook/Makefile.am: don't build the executables - (importers and loaders) for now. Also, s/oaf/server, and use - INTLTOOL_SERVER_RULE. - - * backend/ebook/e-book-util.c (e_book_get_config_database): - un-#ifdef this. - (e_book_default_book_open): un-#ifdef ths code in here that relies - on the e_config_listener. - -2002-11-05 Dan Winship <danw@ximian.com> - - * backend/pas/pas-backend-ldap.c (send_pending_adds): copy a - memleak fix from pas-backend-ad. - -2002-11-05 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-card.c: g_date_* => g_date_get_*, fixes - G_DISABLE_DEPRECATED build. - - * backend/ebook/e-book-listener.[ch]: remove the servant crap i'd - c&p'ed and put in here. - - * backend/ebook/e-book-view-listener.[ch]: remove the servant crap - i'd c&p'ed and put in here. - - * backend/pas/pas-book-factory.[ch]: subclass from BonoboObject, - and remove the servant crap from here too. whee. - - * backend/pas/pas-card-cursor.[ch]: remove the servant crap i'd - c&p'ed and put in here. - - * backend/pas/pas-book.[ch]: remove the servant crap i'd c&p'ed - and put in here. - - * backend/pas/pas-book-view.[ch]: remove the servant crap i'd - c&p'ed and put in here. - -2002-11-05 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-card-sexp.[ch]: port to gnome 2. - - * backend/pas/pas-backend-file.[ch]: same. - - * backend/pas/pas-backend-file.[ch]: same. - - * backend/pas/pas-backend-ldap.[ch]: same. - - * backend/pas/pas-backend-summary.[ch]: same. - - * backend/pas/pas-backend.[ch]: same. - - * backend/pas/pas-book-factory.[ch]: same. - - * backend/pas/pas-book-view.[ch]: same. - - * backend/pas/pas-book.[ch]: same. - - * backend/pas/pas-card-cursor.[ch]: same. - - * backend/pas/pas-marshal.list: list of marshallers. - - * backend/pas/Makefile.am (libpas_a_SOURCES): add pas-marshal.c - also add the marshal building foo. - - * backend/pas/.cvsignore: ignore pas-marshal.[ch] - -2002-11-05 Chris Toshok <toshok@ximian.com> - - * backend/ebook/test-client-list.c (main): don't call - bonobo_activation_init directly. - - * backend/ebook/test-client.c (get_card_cb): don't unref the card - here since we never reffed it. - (main): no need to call bonobo_activation_init, as - gnome_program_init did it for us. - - * backend/ebook/e-card-simple.c (e_card_simple_get_property): - s/g_value_{set,get}_pointer/g_value_{set,get}_object - - * backend/ebook/e-book-util.c (set_default_book_uri_local): make - sure to terminate args with NULL for g_build_filename. - - * backend/ebook/e-book-listener.c: nuke e_book_listener_get_type - and use the BONOBO_TYPE_FUNC_FULL macro. - - * backend/ebook/e-book-listener.h: add the epv to - EBookListenerClass so BONOBO_TYPE_FUNC_FULL works. - - * backend/ebook/e-book-view-listener.c: nuke - e_book_view_listener_get_type and use the BONOBO_TYPE_FUNC_FULL - macro. - - * backend/ebook/e-book-view-listener.h: add the epv to - EBookViewListenerClass so BONOBO_TYPE_FUNC_FULL works. - -2002-11-02 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-book-types.h: just include glib.h instead of the - gtk stuff. - - * backend/ebook/e-book-listener.[ch]: convert to - GObject/bonobo-activation/etc/etc. - * e-book-util.[ch]: same. - * e-book-view-listener.[ch]: same. - * e-book-view.[ch]: same. - * e-book.[ch]: same. - * e-card-compare.[ch]: same. - * e-card-cursor.[ch]: same. - * e-card-simple.[ch]: same. - * e-card.[ch]: same. - * e-destination.[ch]: same. - * evolution-ldif-importer.c: same. - * evolution-vcard-importer.c: same. - * load-gnomecard-addressbook.c: same. - * load-pine-addressbok.c: same. - * test-card.c: same. - * test-client-list.c: same. - * test-client.c: same. - - * backend/ebook/Makefile.am: add e-book-marshal.c to SOURCES, add - e-book-marshal.[ch] to CLEANFILES, and add e-book-marshal.list to - EXTRA_DIST. Also, remove the camel libs from the test LDADD's, - and leave e-destination.[ch] out of the build. - - * backend/ebook/.cvsignore: ignore e-book-marshal.[ch] - - * backend/ebook/e-book-marshal.list: marshallers for e-book. - -2002-10-28 Larry Ewing <lewing@ximian.com> - - * backend/ebook/e-card.c (addPropValueUTF8): never set the charset - on an item without also encoding it. Mime messages don't like - parts with multiple charsets. - -2002-10-25 Dan Winship <danw@ximian.com> - - * gui/widgets/e-addressbook-model.c (addressbook_destroy): - Disconnect from the book's backend_died signal. - -2002-10-24 Chris Toshok <toshok@ximian.com> - - * backend/pas/Makefile.am: install evolutionperson.schema to - $(datadir)/evolution. - -2002-10-24 Chris Toshok <toshok@ximian.com> - - [ fixes #29144 ] - * gui/component/addressbook-config.c (edit_dialog_store_change): - use e_table_memory_storage_change instead of remove/insert, so the - selection is maintained. - -2002-10-22 Dan Winship <danw@ximian.com> - - * gui/component/select-names/e-select-names.c - (folder_selected): Set /Addressbook/select_names_uri in the - configdb to the selected folder. - (e_select_names_init): Look for /Addressbook/select_names_uri - before /DefaultFolders/contacts_uri for the initial folder. So the - select names dialog now starts up using the same folder you used - last time, which is useful when you have an LDAP company directory - (which can't be your default contacts folder because it's - read-only). - -2002-10-21 Dan Winship <danw@ximian.com> - - * gui/component/addressbook-component.c (IS_CONTACT_TYPE): fix the - sense of a strcmp - -2002-10-20 Chris Toshok <toshok@ximian.com> - - [ fix for #23764 ] - * gui/widgets/e-addressbook-view.c (jump_to_letters): handle - multiple letters associated with a single button. - (button_toggled): closure->letter -> closure->letters. - (free_closure): free closure->letters. - (create_alphabet): init closure->letters. - -2002-10-20 Chris Toshok <toshok@ximian.com> - - [ fixes #29067 ] - * backend/pas/pas-backend-file.c (pas_backend_file_search): we - need to create a card_sexp even when doing summary queries since - it's used to check modifications of cards in the view. - -2002-10-20 Chris Toshok <toshok@ximian.com> - - [ fixes #32144 ] - * gui/contact-editor/e-contact-save-as.c (e_contact_save_as): - convert the name to the gtk locale before saving. - (e_contact_list_save_as): same. - -2002-10-19 Chris Toshok <toshok@ximian.com> - - [ probable fix for #25477, and memory leak fix ] - * gui/contact-editor/e-contact-editor.c (supported_fields_cb): if - the dialog isn't in the list of all dialogs it's been destroyed so - just return here. - - * backend/ebook/e-book.c - (e_book_do_response_get_supported_fields): plug leak of - resp->fields. - -2002-10-15 Dan Winship <danw@ximian.com> - - * backend/ebook/e-card.c (e_card_email_match_string): Return right - away rather than crashing if card->email is NULL. - (e_card_email_find_number): Likewise. - -2002-10-10 Kjartan Maraas <kmaraas@gnome.org> - - [ Fix #7094, #7064, #7095, #31944, #31945 ] - * gui/component/Makefile.am: Hook up new etspec file. - * gui/component/addressbook-config.c: Remove ETable spec. - * gui/component/addressbook-config.etspec: New file. - * gui/component/ldap-config.glade: Fix typo. - * gui/component/select-names/e-select-names.c: Remove inline spec. - * gui/component/select-names/e-select-names.etspec: New file. - * gui/contact-list-editor/Makefile.am: Hook up etspec. - * gui/contact-list-editor/e-contact-list-editor.c: Remove inline spec. - * gui/contact-list-editor/e-contact-list-editor.etspec: New file. - * gui/widgets/Makefile.am: Hook up new spec. - * gui/widgets/e-addressbook-view.c: Remove inline spec. - * gui/widgets/e-addressbook-view.etspec: New file. - -2002-10-02 Chris Toshok <toshok@ximian.com> - - [ Fix #28392 ] - * gui/widgets/e-addressbook-view.c (do_popup_menu): #if 0 out the - gal_view submenu, since it's not spec'ed to be there anyway (as - per bug #16250). - -2002-09-30 Chris Toshok <toshok@ximian.com> - - [ Fixes #31321 ] - * backend/ebook/e-card.c (e_card_get_vobject): add VERSION:2.1 to - exported vCards. - -2002-09-30 Chris Toshok <toshok@ximian.com> - - [ Fixes #31434 ] - * backend/pas/pas-backend-file.c (do_summary_query): always - retrieve the card from the db. use the summary strictly for - matching, not for storing all information. This fixes completion - of contact lists, since only 3 addresses were being stored and - contact lists can have more. - -2002-09-30 Aaron Weber <aaron@ximian.com> - - * gui/widgets/e-addressbook-util.c (e_addressbook_show_multiple_cards): rephrase string on l. 213 - -2002-09-30 Dan Winship <danw@ximian.com> - - * backend/ebook/e-card.c (e_card_list_send): update for - Composer_setHeaders change. - -2002-09-27 Chris Toshok <toshok@ximian.com> - - [ fixes #27521 ] - * gui/contact-editor/e-contact-quick-add.c (editor_closed_cb): - always unref the contact editor when we get the editor_closed - signal. - -2002-09-27 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (check_schema_support): set the - timeout to 30 seconds. - (query_ldap_root_dse): same, and also return the ldap_error since - this function is the one that actually causes openldap to - connect() to the ldap host. - (pas_backend_ldap_connect): check the return value of - query_ldap_root_dse, and error out if it's not SUCCESS. - -2002-09-26 Dan Winship <danw@ximian.com> - - * gui/component/addressbook-storage.c (load_source_data): Change - folder type to "contacts/ldap". - (addressbook_storage_add_source): Likewise. - (create_ldap_folder): Check for type being "contacts" not - ldap contacts, since the ldap-specific type doesn't appear in the - menu. - -2002-09-25 Dan Winship <danw@ximian.com> - - * gui/component/addressbook-component.c (folder_types): Rename - "ldap-contacts" to "contacts/ldap" and add "contacts/public". - (IS_CONTACT_TYPE): update for new types. - - * gui/component/select-names/e-select-names.c - (e_select_names_init): Use "contacts/*" for selector_types. - - * gui/widgets/e-addressbook-util.c (e_addressbook_transfer_cards): - Likewise. - - * gui/component/GNOME_Evolution_Addressbook.oaf.in: add - "evolution:config_item:type" = "contacts/ldap" to the LDAP sources - control so it comes up by default when you open Preferences in an - LDAP folder. - -2002-09-23 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-table-adapter.c (addressbook_destroy): - free adapter->priv. - - * gui/widgets/e-addressbook-model.c (addressbook_destroy): free - model->query. - - * gui/component/select-names/e-select-names-manager.c - (load_completion_books): use e_book_expand_uri here, and free the - expanded uri after calling addressbook_load_uri, plugging a leak. - - * gui/component/select-names/e-select-names.c (set_book): unref - esn->model before we unref esn. fixes an edge case memory - corruption bug. - (clear_widget): utility function to set a widget's ref to NULL - when it's destroyed. - (e_select_names_init): hook the status_message, categories option - menu, and select_entry to clear_widget. - (addressbook_model_set_uri): use e_book_expand_uri. - -2002-09-23 JP Rosevear <jpr@ximian.com> - - * conduit/Makefile.am: add libeutil to the link and link with - libcamel instead of libcamel-static.la - -2002-09-22 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-manager.h: oops, add - cached_folder_list to struct _ESelectNamesManager. - -2002-09-22 Chris Toshok <toshok@ximian.com> - - [ Fixes #30481 ] - * gui/component/select-names/e-select-names.c - (e_select_names_init): initialize the select names dialog with the - default contacts folder. - -2002-09-22 Chris Toshok <toshok@ximian.com> - - [ Fixes #28165, 29171 ] - * gui/component/select-names/e-select-names-manager.c - (uris_listener): check to see if the value has really changed. - the way the preferences dialog works is such that we'll get called - when any of the Folder Options are changed (default folders, - offline stuff, etc.) we really only want to tear down and build - back up the completion books if the autocomplete folder setting - changed. - (read_completion_books_from_db): cache the folder list, and call - load_completion_books. - (load_completion_books): new function, loads from the - cached_folder_list. - (e_select_names_manager_init): init cached_folder_list to NULL. - (e_select_names_manager_destroy): g_free (cached_folder_list). - -2002-09-20 Chris Toshok <toshok@ximian.com> - - [ Fixes #30483 ] - * gui/component/select-names/e-select-names-completion.c - (name_style_query): argh, contains => beginswith. - -2002-09-17 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-component.c (add_creatable_item): - don't add the user creatable item for ldap-contact folders atm, - since it results in their being duplicate New Contact and New - Contact List menu items. - -2002-09-17 Kjartan Maraas <kmaraas@gnome.org> - - * gui/component/ldap-config.glade: Fix a typo. - -2002-09-13 Chris Toshok <toshok@ximian.com> - - [ Fixes bug #30250 ] - * backend/ebook/e-destination.c (e_destination_get_name): handle - "Unnamed Lists" here by setting their name to _("Unnamed List'). - - * backend/ebook/e-card-simple.c (e_card_simple_get): same. - - * gui/contact-list-editor/e-contact-list-editor.c (is_named): new - function, return TRUE if the name field is filled in. - (prompt_to_save_changes): return TRUE if the list isn't named - (meaning it's not saveable.) - (command_state_changed): saving requires a name. - (add_email_cb): always call command_state_changed. - (remove_entry_cb): same. - (list_name_changed_cb): same. - (visible_addrs_toggled_cb): same. - (table_drag_data_received_cb): same. - -2002-09-12 Dan Winship <danw@ximian.com> - - * backend/ebook/e-card-simple.c (e_card_simple_get): return - g_strdup("true"), not "true". - -2002-09-11 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-completion.c - (e_select_names_completion_start_query): institute an arbitrary - minimum limit on the number of characters before we actually try - to autocomplete. It's 3, btw. - -2002-09-11 Chris Toshok <toshok@ximian.com> - - [ fixes the other half of #17336 ] - * gui/contact-editor/e-contact-quick-add.c (quick_add_set_name): - parse the name when we're asked to set it, so the full name - doesn't get stored as (potentially) "Last, First" in the card. - -2002-09-11 Chris Toshok <toshok@ximian.com> - - [ fixes part of #17336 ] - * gui/contact-editor/e-contact-editor-fullname.c - (e_contact_editor_fullname_init): get the window title from the - .glade file, and supply a suitable wm icon. - - * gui/contact-editor/e-contact-editor-address.c - (e_contact_editor_address_init): same. - -2002-09-11 Chris Toshok <toshok@ximian.com> - - [ fixes #30208 ] - * gui/component/addressbook.c (load_uri_auth_cb): if the user - clicked cancel in the password dialog, let them off the hook and - bind anonymously. Otherwise (if they failed to auth), prompt them - for the password again. - (addressbook_authenticate): new function, split out 99% of the - auth machinery here so it can be called multiple times. Also, - call the callback with E_BOOK_STATUS_CANCELLED if the user clicked - the cancel button in the dialog. - (load_uri_cb): call addressbook_authenticate if the book has auth - enabled. - (addressbook_load_uri): use g_new0. - -2002-09-05 Anna Dirks <anna@ximian.com> - * gui/component/GNOME_Evolution_Addressbook.oaf.in : Changed the - description of the Directory Servers page of the settings dialog - to be a little less wordy {This page can be used to configure blah--> - Configure blah.} - - -2002-09-04 Chris Toshok <toshok@ximian.com> - - [ Fixes #29904 ] - * gui/component/select-names/e-select-names-text-model.c - (e_select_names_text_model_activate_obj): we need to activate - either a contact list editor or contact editor depending on if - it's a list (this screams for a utility function.) - -2002-09-04 Dan Winship <danw@ximian.com> - - * gui/component/addressbook-storage.c - (addressbook_get_other_contact_storage): Pass FALSE to - evolution_storage_new: the Other Contacts storage doesn't support - shared folders. - -2002-09-04 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-component.c (create_component): Pass - NULL as @unpopulate_folder_context_menu_fn to - evolution_shell_component_new(). - -2002-09-03 Mike Kestner <mkestner@ximian.com> - - * gui/component/select-names/e-select-names.c (e_select_names_destroy): - unref the "without", adapter, and model, then chain up the GnomeDialog - destroy function. - -2002-09-03 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/GNOME_Evolution_Addressbook.oaf.in: Use - ldap-settings.png instead of evolution-contacts.png. - -2002-09-03 Chris Toshok <toshok@ximian.com> - - [ fixes #29699 ] - * gui/component/addressbook-config.c - (addressbook_add_server_druid): call _set_source with a NULL - source to fill in dialog settings that are set from the option - menus (like the SSL setting). - -2002-09-03 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook.c (delete_contact_cb): Fix typo - [`view>view' instead of `view->view']. Also, cast to - GTK_WINDOW instead of GTK_WIDGET as it should be. - -2002-08-30 Dan Winship <danw@ximian.com> - - * backend/idl/addressbook.idl (CallStatus): add QueryRefused, for - when the backend refuses to perform a query. (part of #25782) - - * backend/ebook/e-book-view-listener.c - (e_book_view_listener_convert_status): translate - GNOME_Evolution_Addressbook_BookViewListener_QueryRefused. - - * gui/component/addressbook.c (search_result): Handle - E_BOOK_VIEW_STATUS_QUERY_REFUSED. - -2002-08-30 Chris Toshok <toshok@ximian.com> - - [ fixes #27923] - * backend/pas/pas-backend-summary.c: up the version to 4_0 (4000). - (pas_backend_summary_load_item): handle wants_html{_set}, list, - and list_show_addresses. - (pas_backend_summary_save_item): same. - (pas_backend_summary_add_card): same. - (pas_backend_summary_get_summary_vcard): same. - -2002-08-29 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-component.c (add_creatable_item): call - evolution_shell_component_add_user_creatable_item twice here, once - for the "contacts" folder type, and once for "ldap-contacts". - -2002-08-29 Chris Toshok <toshok@ximian.com> - - [ fixes #20347 ] - * gui/widgets/e-addressbook-view.c (e_addressbook_view_init): hook - up the backend_died signal. - (backend_died): new function, pop up an error dialog saying the - backend died. - - * gui/widgets/e-addressbook-model.c (backend_died): new function, - emit the backend_died signal. - (e_addressbook_model_class_init): create the backend_died signal. - (e_addressbook_model_init): init backend_died_id - (e_addressbook_model_set_arg): disconnect the backend_died signal - from the old book and hook it up to the new book. - - * gui/widgets/e-addressbook-model.h: add the backend_died signal. - - * backend/ebook/e-book.c (backend_died_cb): new function, emit the - backend_died signal. - (e_book_do_response_open): create the component listener and hook - up the backend_died signal. - (e_book_destroy): disconnect the component listener and unref it. - - * backend/ebook/e-book.h: add backend_died signal. - -2002-08-29 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-card-sexp.c (is_helper): use strcasecmp - here, since all the other helpers use case insensitive - comparisons. - - * backend/pas/pas-backend-summary.c (is_helper): same. - -2002-08-29 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (category_ber): return NULL if - the list is empty. - (pas_backend_ldap_connect): always try to use ldapv3, not just - when we want to use tls. - -2002-08-29 Chris Toshok <toshok@ximian.com> - - [ fixes #25038 ] - * gui/contact-editor/Makefile.am (INCLUDES): need to have - EVOLUTION_ICONSDIR defined. - - * gui/contact-list-editor/Makefile.am (INCLUDES): same. - - * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): - set the window icon to the contact mini icon. - - * gui/contact-list-editor/e-contact-list-editor.c - (e_contact_list_editor_init): set the window icon to the new - contact list icon. - - * gui/widgets/e-minicard.c (LIST_ICON_FILENAME): change to (the - prettier, imo) "contact-list-16.png" - -2002-08-28 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (pas_backend_ldap_search): spew - the filter we're using for the search. - -2002-08-28 Mike Kestner <mkestner@ximian.com> - - * gui/component/select-names/e-select-names-completion.c : stop the - EBookViews before unreffing. - -2002-08-28 Dan Winship <danw@ximian.com> - - * gui/component/GNOME_Evolution_Addressbook.oaf.in: Add an - evolution:shell_component_launch_order and rename - evolution:shell_component_icon. - -2002-08-28 Chris Toshok <toshok@ximian.com> - - [ oops, merged the .h and .glade file back to the HEAD from the - 1-0 branch, but missed the .c file. ] - * gui/component/select-names/e-select-names.c (status_message): set - the status label's text. - (e_select_names_init): get the status message widget from the - glade ui. - -2002-08-28 Chris Toshok <toshok@ximian.com> - - [ fixes #19286 ] - * gui/component/addressbook.c (delete_contact_cb): confirm - deletion of contacts when using the menubar or toolbar. - -2002-08-28 Chris Toshok <toshok@ximian.com> - - [ fixes #28897 ] - * gui/component/select-names/e-select-names-completion.c - (e_select_names_completion_clear_book_data): set book_data to NULL - after clearing/freeing the list. fixes a crash. - -2002-08-28 Chris Toshok <toshok@ximian.com> - - [ fixes #20348 ] - * backend/pas/evolutionperson.schema: deprecate "categories" in - favor of "category". evolution no longer uses "categories". - - * backend/pas/pas-backend-ldap.c (category_populate): new - function, "category" is the new name, and it's multivalued so we - need the complex-prop stuff.. - (category_ber): new function, same. - (category_compare): new function, same. - - * gui/component/addressbook.c (addressbook_search_activated): the - text is "Category is" so we should use "is" instead of "contains" - for the query. - -2002-08-27 Chris Toshok <toshok@ximian.com> - - [ Fixes #14835 ] - * backend/pas/pas-backend-ldap.c (pas_backend_ldap_search): - notify_complete with InvalidQuery if the parse fails. - -2002-08-27 Chris Toshok <toshok@ximian.com> - - [ fixes #26907 ] - * gui/component/addressbook.c (addressbook_search_activated): use - beginswith for email. - -2002-08-26 Chris Toshok <toshok@ximian.com> - - * printing/e-contact-print.c (complete_sequence): change prototype - for complete_sequence to match sequence_complete. - (e_contact_print_button): same. - -2002-08-26 Chris Toshok <toshok@ximian.com> - - [ fixes #29446 ] - * gui/component/addressbook-config.c (scope_optionmenu_activated): - searching_modify_func can be NULL (since we don't require changes - to enable the "Next" button on this page when you create a - directory server.) - -2002-08-26 Chris Toshok <toshok@ximian.com> - - [ Fixes (almost certainly) #24649, #25494, #27351, and other LDAP search crashes ] - * backend/pas/pas-backend-ldap.c (view_destroy): use an EList - instead of a GList to store the book_view's so we don't have weird - issues with modifying the list while it's being traversed. - (find_book_view): same. - (create_card_handler): same. - (remove_card_handler): same. - (modify_card_modify_handler): same. - (poll_ldap): same, and also ref the book_view before calling - ldap_search_op_timeout (and therefore send_pending_adds). - (ldap_search_handler): same. - (ldap_op_add): warn about conflicting ldap msgid's (shouldn't ever - happen..) - (homephone_populate): make this a bit more robust (if values[0] == - NULL, values[1] won't be valid). - (business_populate): same. - (build_card_from_entry): break out of the prop_info loop when we - get a match, and only set the simple field if the value != NULL. - (ldap_search_dtor): free all the pending adds stuff. - (pas_backend_ldap_process_get_book_view): g_list_prepend => - e_list_append. - (pas_backend_ldap_remove_client): simplify the removing of the - book (use g_list_remove instead of searching and then using - g_list_remove_link.) - (pas_backend_ldap_destroy): unref the book_views list. - (pas_backend_ldap_init): initialize the EList for book_views. - -2002-08-25 Mike Kestner <mkestner@ximian.com> - - * gui/widgets/e-addressbook-view.c (remove_book_view): stop the - view before unref, in case the listener has pending events. - -2002-08-20 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.c (book_open_cb): not sure what i was - thinking here... the EBook isn't valid if we couldn't open it, so - we can't turn around and query it for its capabilities. - -2002-08-19 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-manager.h: add the - listener_id slot. - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_manager_new): store off the listener_id. - (e_select_names_manager_destroy): remove the bonobo listener - - fixes a crash when modifying the completion folders after you - bring up a compose window. - (e_select_names_manager_entry_new): another random timeout change - - make the completion at 100ms. - -2002-08-19 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-book-view.c (pas_book_view_notify_complete): - take and pass the CallStatus to our listener. - - * backend/pas/pas-book-view.h: change the prototype for - notify_complete to include the CallStatus. - - * gui/component/select-names/e-select-names-completion.c - (e_select_names_completion_seq_complete_cb): add the status arg. - - * gui/widgets/e-addressbook-view.c - (e_addressbook_view_class_init): init the search_result signal. - (e_addressbook_view_init): connect to the model's search_result - signal. - (emit_search_result): emit our search_result signal. - (search_result): call emit_search_result. - - * gui/widgets/e-addressbook-view.h (struct - _EAddressbookViewClass): add the search_result signal. - - * gui/widgets/e-addressbook-model.c (sequence_complete): emit both - a "search_result" as well as the "stop_state_changed" signal. - (e_addressbook_model_class_init): init the search_result signal. - - * gui/widgets/e-addressbook-model.h: add search_result signal. - - * gui/component/addressbook.c (search_result): pop up a dialog - telling the user why the search failed or was truncated. - (addressbook_factory_new_control): connect to the "search_result" - signal on the view. - - * conduit/address-conduit.c (sequence_complete): add the status - parameter to sequence_complete. - - * backend/idl/addressbook.idl: add BookViewListener_CallStatus, - and change notifySequenceComplete to take a CallStatus. - - * backend/pas/pas-backend-ldap.c (create_card_handler): pass - status back in the notify_complete call. - (remove_card_handler): same. - (modify_card_modify_handler): same - (ldap_search_handler): same, and parse out the ldap return code so - we can report limits being properly. - - * backend/pas/pas-backend-file.c (do_summary_query): pass status - back in the notify_complete call. - (pas_backend_file_search): same, and get rid of the - status_message, as the status is passed back properly. - (pas_backend_file_search): pass status - back in the notify_complete call. - (pas_backend_file_changes): same. - (pas_backend_file_process_create_card): same. - (pas_backend_file_process_remove_card): same. - (pas_backend_file_process_modify_card): same. - - * backend/ebook/e-book-util.c (simple_query_sequence_complete_cb): - add status parameter. - - * backend/ebook/e-book-view-listener.c - (e_book_view_listener_queue_status_event): change name from - _queue_empty_event, and take a status arg. - (e_book_view_listener_queue_id_event): init resp->status (to - SUCCESS). - (e_book_view_listener_queue_sequence_event): same. - (e_book_view_listener_queue_message_event): same. - (impl_BookViewListener_notify_sequence_complete): call - queue_status_event, and convert the corba status to - EBookViewStatus. - (e_book_view_listener_convert_status): new function, conver the - corba status to EBookViewStatus. - - * backend/ebook/e-book-view-listener.h: add a "status" slot to - EBookViewListenerResponse. - - * backend/ebook/e-book-view.h: change prototype for - sequence_complete signal. - - * backend/ebook/e-book-view.c (e_book_view_do_complete_event): - sequence_complete takes a parameter now (EBookViewStatus). - (e_book_view_class_init): add the enum arg to the signal. - - * backend/ebook/e-book-types.h: add EBookViewStatus enum. - -2002-08-19 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-file.c - (pas_backend_file_get_static_capabilities): add - "cache-completions" here, since file completion results are - blanket cached (as they're generated from a summary). - - * backend/pas/pas-backend-ldap.c - (pas_backend_ldap_process_get_cursor): there should be no search - limit on the get_cursor_request, as it's meant to match every card - it can. - (ldap_search_handler): parse the ldap result in the - RES_SEARCH_RESULT case. we'll want more here soon, so we can - notify the front end if the result was truncated due to either the - size or time limit being exceeded. - (pas_backend_ldap_process_get_book_view): in the case of a - completion view, we hardcode (yeah yeah, i know, but really) the - search limit to MIN (100, user-specified-limit). - (pas_backend_ldap_search): each view has its own limit now, - defaulting from the user specified one for normal searches but - possibly different for completion views. use the view's limit - here. - -2002-08-19 Dan Winship <danw@ximian.com> - - * gui/component/select-names/e-select-names-bonobo.c - (entry_get_property_fn): add an "addresses" property, to get the - "Dan Winship <danw@ximian.com>" form, as opposed to "text", which - gets you what's displayed, which might be just "Dan Winship". - (entry_set_property_fn): When setting, just reuse the "text" code, - since it should properly cardify everything for us anyway. - (impl_SelectNames_get_entry_for_section): Add the property. - -2002-08-16 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-config.c - (addressbook_source_dialog_set_source): fix c&p error that was - losing the ssl setting. - -2002-08-16 Iain <iain@ximian.com> - - * backends/e-book/evolution-ldif-importer.c (ebook_create): Use the - default EBook instead of the local one. - - * backends/e-book/evolution-vcard-importer.c (ebook_create): Ditto. - -2002-08-16 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (book_view_notify_status): new - function to save a little typing. - (find_book_view): same. - (pas_backend_ldap_connect): reorder things a bit - set the version - to VERSION3 *before* doing TLS, as tls requires v3, and if we're - doing ldaps://, do tls a little differently (not sure if this is - strictly necessary, but the openldap source did it.. *shrug*). - also, guard the schema check as this function can be called - multiple times for the same server (if the server goes down or - times us out.) - (pas_backend_ldap_reconnect): new function, reconnect and if - necessary reauth the user. - (pas_backend_ldap_process_create_card): use - find_book_view/book_view_notify_status/pas_backend_ldap_reconnect. - (pas_backend_ldap_process_remove_card): same. - (pas_backend_ldap_process_modify_card): same. - (pas_backend_ldap_process_get_vcard): same. - (pas_backend_ldap_process_get_cursor): same. - (pas_backend_ldap_search): same. - (poll_ldap): reconnect if ldap_result returns -1. - (pas_backend_ldap_process_authenticate_user): ick ick ick save off - the dn/passwd we auth with so we can use them to reauthenticate. - -2002-08-16 Chris Toshok <toshok@ximian.com> - - [ fix 27333 ] - * gui/widgets/e-addressbook-model.c (get_view): "local" -> - "do-initial-query". - - * backend/pas/pas-backend-file.c - (pas_backend_file_get_static_capabilities): "local" -> - "local,do-initial-query". - - * gui/widgets/e-addressbook-model.c (get_view): "local" -> - "do-initial-query". - - * gui/component/addressbook.c (book_open_cb): Only assume the - addressbook is local if "local" appears in its static - capabilities. We still use the ldap special case, but be nicer to - other networked backends. - -2002-08-12 Dan Winship <danw@ximian.com> - - * gui/component/addressbook-component.c (user_create_new_item_cb): - If invoked from a non-contact folder, add the contact to the - default contact folder, not the local one. If invoked from a - contact folder, don't append "addressbook.db" to the URI, let - ebook do the right thing. Fixes #28327 and #28325. - - * backend/idl/addressbook.idl (CallStatus): Add NoSuchBook. - (Initially intended as part of a fix for #28327, but the other - changes make it so the error code never ends up getting used any - more, but it's still good to have.) - - * gui/widgets/e-addressbook-util.c (e_addressbook_error_dialog): - Handle NO_SUCH_BOOK. - - * backend/ebook/e-book-types.h (EBookStatus): Add - E_BOOK_STATUS_NO_SUCH_BOOK. - - * backend/ebook/e-book-listener.c - (e_book_listener_convert_status): add case for NoSuchBook. - - * backend/ebook/e-book-util.c (e_book_load_local_address_book): - Kill this. Nothing should ever explicitly load the local - addressbook. - (e_book_use_default_book): Replaces e_book_use_local_address_book, - using the default book instead. - (e_book_default_book_open): Fall back to local contact folder on - E_BOOK_STATUS_NO_SUCH_BOOK too. - (e_book_query_address_default): Use default book, not local. - - * gui/component/e-address-widget.c (query_idle_fn): Use the - default book, not the local book. - - * gui/component/select-names/e-select-names-popup.c - (edit_contact_info_cb): Use the default book, not the local book. - - * backend/ebook/e-destination.c (e_destination_cardify): Use the - default book, not the local book. - (e_destination_touch): Query the default book, not the local book. - - * backend/ebook/e-card-compare.c (e_card_locate_match, - e_card_locate_match_full): Use the default book, not the local - book. - -2002-08-08 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-summary.c (pas_backend_summary_init): - initialize summary->upgraded to quiet valgrind. - -2002-08-06 Dan Winship <danw@ximian.com> - - * backend/ebook/test-client.c (TEST_VCARD): Use "\r" rather than - including literal CRs in the string, which confuses gcc on OS X. - - * backend/ebook/test-card.c (TEST_VCARD): Likewise. - -2002-08-01 Chris Toshok <toshok@ximian.com> - - [ fixes bug #25958 ] - * gui/component/addressbook.c (alphabet_state_changed): use - FULL_NAME in the case where we're untoggling a letter, and... well - use FULL_NAME in the other case too - we should never pop up the - advanced dialog. - -2002-08-01 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names.h (struct - _ESelectNames): no more search_entry. - - * gui/component/select-names/e-select-names.c (update_query): no - more search_entry, search_entry => select_entry, and add file_as - to the query since some entries don't have names (like the Ximian, - Inc. default card.) - (e_select_names_init): no more search_entry, and add an "activate" - handler on select_entry that updates the query. - -2002-08-01 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names.h (struct - _ESelectNames): remove folders and folders_by_uri, and the 2 - listeners. - - * gui/component/select-names/e-select-names.c - (e_select_names_destroy): remove the hash_table_destroys of - folders and folders_by_uri, since they no longer exist. same for - other_contacts_listener and local_listener. - -2002-08-01 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-component.c (create_component): Use - "contact-list-16.png" for the "New Contact List" item. - -2002-07-31 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-component.c (create_component): Change - the order so that "New Contact" is first and "New Contact List" is - next. - -2002-07-31 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-component.c (add_creatable_item): Pass - "contacts" as the @folder_type to - evolution_shell_component_add_user_creatable_item(). - -2002-07-31 Chris Toshok <toshok@ximian.com> - - [ roll in the following change from the 1.0 branch.] - * backend/pas/pas-backend-ldap.c: - (prop_info): change the CALURI and FBURL ecard attributes to map to the - RFC 2739 specified attributes. - (check_schema_support): check to see if calEntry is supported. - (add_objectclass_mod): insert calEntry if it's supported. - * backend/pas/evolutionperson.schema: deprecate freeBusyURI - and calendarURI. - -2002-07-31 Ettore Perazzoli <ettore@ximian.com> - - [Patch by Jacob Berkman <jacob@ximian.com>, fixes #25968] - - * backend/ebook/e-book.c (activate_factories_for_uri): Don't - double free protocol and query. - -2002-07-27 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-summary.c (save_string): don't save - empty strings. - (pas_backend_summary_save): print out the errno when we fail. - -2002-07-26 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook.c: Don't set up the ContactNew and - ContactNewList verbs. - (update_command_state): Don't set the sensitivity of - /commands/ContactNew and /commands/ContactNewList anymore. - (new_contact_cb): Removed. - (new_contact_list_cb): Removed. - -2002-07-24 Peter Williams <peterw@ximian.com> - - * conduit/Makefile.am (libeaddress_conduit_la_LIBADD): Change - libversit.la -> libversit.a for danw's changes. - -2002-07-24 Dan Winship <danw@ximian.com> - - * conduit/Makefile.am (libeaddress_conduit_la_LIBADD): - s/libversit_lt/libversit/ - -2002-07-22 Dan Winship <danw@ximian.com> - - * backend/pas/Makefile.am: Split pas-backend-file and - pas-backend-ldap out of libpas and build them as separate (noinst) - libraries libpasfile.a and libpasldap.a. This gets the db3 and - LDAP dependencies out of libpas, and people trying to create an - addressbook backend shouldn't be calling functions from the - existing backends anyway so there's no reason to install them. - -2002-07-16 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/select-names.glade: remove the option - menu and browse button, and add a custom widget placeholder for - the folder-selector. - - * gui/component/select-names/e-select-names.c - (addressbook_model_set_uri): move the "append /addressbook.db" - stuff here. - (e_addressbook_create_ebook_table): remove the code setting - initial uri from here. - (e_select_names_folder_free): gone. - (e_select_names_option_activated): gone. - (add_menu_item): gone. - (update_option_menu): gone. - (new_folder): gone. - (removed_folder): gone. - (folder_browse): gone. - (hookup_listner): gone. - (add_additional_select_names_uris): gone. - (e_select_names_hookup_listners): gone. - (e_addressbook_create_folder_selector): new function, create the - folder selector button. - (folder_selected): new function, callback for the folder selector. - just calls addresbook_model_set_uri. - (e_select_names_init): get the folder selector and initialize it - to show /local/Contacts. also, set the model's uri here to the - same folder. nuke the code involving the old option menu and - browse button. - -2002-07-08 Peter Williams <peterw@ximian.com> - - * backend/ebook/Makefile.am: Install libebook-static.la. - Also change --all-static to -all-static, which is the right flag. - - * backend/pas/Makefile.am: Install the PAS headers in - $(includedir)/evolution/pas. Install libpas.a - -2002-07-08 Peter Williams <peterw@ximian.com> - - * gui/component/select-names/Makefile.am (idl_DATA): Install the - SelectNames IDL and ancillary changes. - -2002-07-12 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-summary.c (free_summary_item): free the - full_name (as well as given_name. oops.) - (pas_backend_summary_new): new summaries are version 3.0 now. - (pas_backend_summary_load_item): all loaded summaries should be - 3.0+, as we fail to load versions lower than that. - (pas_backend_summary_load_header): if the summary isn't version - 3.0 fail out, as we need to rebuild the entire file to cache the - full_name fields. - (pas_backend_summary_save_item): save out the full_name. - (pas_backend_summary_add_card): put the item's full_name in the - card. - -2002-07-12 Dan Winship <danw@ximian.com> - - * gui/component/select-names/e-select-names-bonobo.c - (entry_get_property_fn): Make the - ENTRY_PROPERTY_ID_SIMPLE_CARD_LIST case not crash, although - there's still something wrong. - -2002-07-10 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-completion.c - (e_select_names_completion_start_query): e_book_get_book_view => - e_book_get_completion_view, so the backends have the option of - using a pregenerated summary. - -2002-07-10 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-summary.c (clear_items): actually remove - the items from the pointer array too, so an error while loading - doesn't leave the memory summary corrupted. - (pas_backend_summary_load_header): bleah, load the num_items and - summary_mtime in the right order :) Also, set upgraded to TRUE if - we loaded a v1.0 summary. - (pas_backend_summary_open): make this return a gboolean, return - TRUE if the summary is already open (priv->fp != NULL). return - FALSE in error conditions. - (pas_backend_summary_load): if summary_open returns FALSE, return - FALSE, also set the dirty flag to FALSE after we load, and if the - summary was upgraded write it out. - (pas_backend_summary_save): update the in memory mtime to that of - the file when we save. - (summary_flush_func): if we're not dirty, do nothing and return. - (pas_backend_summary_is_up_to_date): make sure we've opened the - summary. - (pas_backend_summary_get_summary_vcard): fix compiler warning. - -2002-07-10 Peter Williams <peterw@ximian.com> - - * backend/ebook/e-book-view-listener.h: Oops, missed this one. - - * backend/ebook/Makefile.am (libebookinclude_HEADERS): Also - put addressbook.h here because several headers reference it. - -2002-07-08 Peter Williams <peterw@ximian.com> - - * backend/ebook/e-book.h: Normalize includes to <ebook/foo.h>, so - that the installed headers will work sanely. - - * backend/ebook/e-card-cursor.h: - * backend/ebook/e-book-view.h: - * backend/ebook/e-card-simple.h: - * backend/ebook/e-card.h: - * backend/ebook/e-destination.h: Same. - - * printing/Makefile.am (INCLUDES): add -Iaddressbook/backend - to access the ebook headers. Also the builddir version to get - the generated addressbook.h - - * conduit/Makefile.am (INCLUDES): Same. - - * gui/widgets/Makefile.am (INCLUDES): Same builddir fix. - - * gui/merging/e-card-merging.c: Fix an ebook #include. - - * gui/merging/Makefile.am (INCLUDES): Same idea. - - * gui/contact-list-editor/Makefile.am (INCLUDES): Same. - - * gui/contact-editor/Makefile.am (INCLUDES): Same builddir - change. - -2002-07-10 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-storage.c (load_source_data): Pass - zero as the @sorting_priority to evolution_storage_new_folder(). - (addressbook_storage_add_source): Likewise. - -2002-07-10 Chris Toshok <toshok@ximian.com> - - * backend/idl/addressbook.idl: add Book.getCompletionView. - - * backend/ebook/e-book.c (e_book_get_completion_view): new - function, basically c&p of e_book_get_book_view, but call - getCompletionView. - - * backend/ebook/e-book.h: add prototype for - e_book_get_completion_view. - - * backend/pas/pas-backend-ldap.c - (pas_backend_ldap_process_client_requests): add a - GetCompletionView case here that just calls the same code as - GetBookView (since we don't build summaries for the ldap backend.) - - * backend/pas/pas-backend-file.c (do_summary_query): add - @completion_search. If it's TRUE, just create the vcards from the - summary using pas_backend_summary_get_summary_vcard instead of - looking them up from the db. - (pas_backend_file_search): add @completion_search and pass it on - to do_summary_query. - (pas_backend_file_process_get_book_view): pass FALSE to - pas_backend_file_search. - (pas_backend_file_process_get_completion_view): new function, - basically c&p pas_backend_file_process_get_book_view, but pass - TRUE to pas_backend_file_search. - (pas_backend_file_process_client_requests): add a case for - GetCompletionView. - (pas_backend_file_load_uri): track the change to the summary api - - create the summary filename - - * backend/pas/pas-book.c (pas_book_queue_get_completion_view): new - function, queue a GetCompletionView request to our queue. - (impl_GNOME_Evolution_Addressbook_Book_getCompletionView): new - function, call pas_book_queue_get_completion_view. - (pas_book_respond_get_completion_view): new function, just call - notifyViewRequested. - (pas_book_free_request): add a case for GetCompletionView. - (pas_book_get_epv): fill in epv->getCompletionView. - - * backend/pas/pas-book.h: add a GetCompletionView PASOperation, - and a new structure (PASGetCompletionViewRequest). Also, add - get_completion_view to PASRequest. - - * backend/pas/pas-backend-summary.c (clear_items): remove the - items from the hash table. - (pas_backend_summary_new): db_path -> summary_path. - (pas_backend_summary_destroy): db_.path -> summary_path, and - destroy the hash table. - (pas_backend_summary_init): db_path = summary_path, and initialize - the id_to_item hashtable. - (pas_backend_summary_load_header): handle the upgrading from - version 1.0 to version 2.0 (the addition of an mtime field in the - header) - (pas_backend_summary_load_item): version 1.0 and 2.0 have the same - format for items. - (pas_backend_summary_open): new function. open the summary so we - can load the header (and get the mtime). - (pas_backend_summary_load): rework this a bit since the header has - already been loaded, and also add the items to the hashtable. - (pas_backend_summary_add_card): add the new item to the hashtable. - (pas_backend_summary_remove_card): remove the item from the hash - table. - (pas_backend_summary_is_up_to_date): new function, chekc @t - against the summary's mtime. - (pas_backend_summary_get_summary_vcard): create a vcard from the - fields we have in the summary. - - * backend/pas/pas-backend-summary.h: add prorotypes for - pas_backend_summary_is_up_to_date and - pas_backend_summary_get_summary_vcard. - -2002-07-09 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-storage.c (load_source_data): Pass - NULL @custom_icon_name to evolution_storage_new_folder(). - (addressbook_storage_add_source): Likewise. [Note we could be - passing a nice custom here. ;-)] - -2002-07-02 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-component.c (add_creatable_item): New - arg @tooltip; pass it to - evolution_shell_component_add_user_creatable_item() [which now has - a @tooltip arg]. - -2002-06-29 Chris Toshok <toshok@ximian.com> - - * backend/pas/Makefile.am (libpas_a_SOURCES): add - pas-backend-summary.[ch]. - - * backend/pas/pas-backend-file.c (string_to_dbt): move this to the - top of the file so it can be used in.. - (build_summary): loop over the db, adding cards ot the summary. - (do_summary_query): call pas_backend_summary_search and loop over - the returned id's looking them up in the db. - (pas_backend_file_search): call - pas_backend_summary_is_summary_query, and either call - do_summary_query if it's a query over just the set of attributes - in the summary or use the old, slow method if not. - (pas_backend_file_process_create_card): call - pas_backend_summary_add_card. - (pas_backend_file_process_remove_card): call - pas_backend_summary_remove_card. - (pas_backend_file_process_modify_card): call remove_card/add_card. - (pas_backend_file_load_uri): try to load the summary file, and if - it doesn't exist create it. - (pas_backend_file_destroy): unref the summary. - - * backend/pas/pas-backend-summary.[ch]: new files, reading and - writing (and querying) summaries. - -2002-06-27 Sean Atkinson <sean@cantab.net> - - * gui/component/addressbook-config.c (query_for_supported_bases): - don't unref selection_model (otherwise 3 clicks of - "Show Supported Bases" crashes if LDAP server isn't running). - -2002-06-25 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-component.c (create_component): - reorder the adding of creatable items so the default is a new - contact, not a new contact list. - -2002-06-21 Sean Atkinson <sean@cantab.net> - - * gui/component/addressbook-config.c (addressbook_edit_server_dialog): - remove source argument (get it from the dialog). - (edit_source_clicked): same. - (sources_table_double_click): added to edit server by double-clicking. - (ldap_dialog_new): use sources_table_double_click. - -2002-06-17 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-view.c (e_addressbook_view_save_as): - pass NULL to e_contact_list_save_as. modality sucks. fixes - broken build. - (save_as): same. - -2002-06-15 Chris Toshok <toshok@ximian.com> - - [ fixes bug #26130 ] - * gui/contact-editor/e-contact-editor.c (file_save_as_cb): pass - ce->app as parent_window. - - * gui/contact-list-editor/e-contact-list-editor.c - (file_save_as_cb): same . - - * gui/contact-editor/e-contact-save-as.c (e_contact_list_save_as): - if a parent_window is specified, the file selector should be - modal/transient for that window. - (e_contact_save_as): same. - - * gui/contact-editor/e-contact-save-as.h: track prototype changes - (addition of GtkWindow *parent_window to both calls.) - -2002-06-15 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (pas_backend_ldap_connect): use - ldap_unbind_ext. - (create_card_handler): don't leak the new vcard. - (pas_backend_ldap_process_authenticate_user): don't leak the dn. - -2002-06-14 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-file.c (pas_backend_file_search): up the - max threshold to 3000 cards from 1000 cards.. seems to improve - performance a bit. also remove the g_list_reverse since it - doesn't matter what order the cards arrive to the gui. - (pas_backend_file_changes): plug memory leaks. - -2002-06-14 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card-compare.c (compare_email_addresses): Made - "" compare as not equal to "" for addresses. - (use_common_book_cb): Don't bother checking for nickname here - since we don't use it as a match later. Don't add "" as an - address to the list of query parts. - -2002-06-13 Christopher James Lahey <clahey@ximian.com> - - * gui/contact-editor/e-contact-editor.c (enable_writable_fields): - Don't enable fields if the editor isn't editable and the - widget_field_mappings lists this field as being desensitize for - read only. - -2002-06-11 Chris Toshok <toshok@ximian.com> - - [ fixes bug #17332 ] - * backend/ebook/e-book.c (e_book_get_static_capabilities): we - shouldn't ever return NULL here. in error cases we need to return - g_strdup(""); - -2002-06-11 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-minicard-view.c (e_minicard_view_event): Made - double clicking on read only folders not do anything. - -2002-06-10 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-book-util.c (e_book_expand_uri): Made expand_uri - a bit more robust and readable. - (e_book_get_default_book_uri): Made e_book_get_default_book_uri - use e_book_expand_uri if using the bonobo_config value. - - * gui/component/e-address-popup.c (start_query): Handle the - failure state here by acting as if there are no matches. - -2002-06-05 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-minicard.c (e_minicard_event): Call - e_minicard_selected in the GDK_BUTTON_RELEASE case here. - (e_minicard_drag_begin): Set E_REFLOW (parent)->maybe_in_drag = - FALSE if it's an EReflow. - -2002-06-04 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names-completion.c - (e_select_names_completion_book_ready): Commented out this unused - function. - - * gui/component/select-names/e-select-names-manager.c - (open_book_cb): Ref if we're keeping the book. Don't unref if - we're not keeping the book. - (clean_cb): Commented out this unused function. - -2002-06-04 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-addressbook-view.c (init_collection): Set the - title of our GalVIewCollection. - -2002-05-29 Anna Marie Dirks <anna@ximian.com> - - * gui/component/select-names/select-names.glade: Changed some spacing - and expanding behavior to make this dialog behave more like I intended - to. - -2002-05-24 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-config.c (CONFIG_CONTROL_FACTORY_ID): - put this back in, accidentally got snipped with the hacking going - on in here. - -2002-05-24 Chris Toshok <toshok@ximian.com> - - [ part of #25047 ] - * gui/component/addressbook-config.c: remove the autocompletion - config control from here, as it lives in the shell now. - - * gui/component/GNOME_Evolution_Addressbook.oaf.in: same. - -2002-05-24 Chris Toshok <toshok@ximian.com> - - [ #24189 ] - * gui/component/select-names/e-select-names-manager.c - (focus_out_cb): ifdef out the body of this because it only works - with a single completion book. not sure what to do here, but it - doesn't impact most usage scenarios. - (completion_popup_cb): same. - (e_select_names_manager_entry_new): add the books that have been - loaded successfully by the time this entry is created. - (open_book_cb): add the opened book to the entries that have - already been created, and store it in our list so that entries - that are created in the future can catch up. - (read_completion_books_from_db): slurp in the folder list from the - config db and load all the uris. - (uris_listener): listener function - when there's a change it - calls _clear_books on all the created entries, and clears our - list. It then re-reads the books from the db. - (e_select_names_manager_new): create our bonobo listener and call - read_completion_books_from_db. - (e_select_names_manager_init): init completion_books. - (e_select_names_manager_destroy): free our list of - completion_books. - - * gui/component/select-names/e-select-names-manager.h: switch from - a single EBook to a GList of completion_books here. - - * gui/component/select-names/e-select-names-completion.c - (e_select_names_completion_add_book): deal with the case where - there's an active query (by effectively restarting it.) This is - quite a contrived edge case. - (e_select_names_completion_clear_books): stop the current query - and clear our list of books. - (e_select_names_completion_new): track change to prototype, and - axe the majority of this method since an EBook* isn't passed - anymore. - (e_select_names_completion_clear_book_data): split this code out - from the destroy method so it can be called from _clear_books. - - * gui/component/select-names/e-select-names-completion.h: the - constructor no longer takes an EBook -- pass in as many as you - want using _add_book. Also, add prototype for _clear_books. - - * gui/component/addressbook.c (load_uri_cb): when - storing/retrieving passwords, use the cleaned (without params) - version of the uri, so changing things like download limit don't - cause the user to be prompted for a password again. - - * gui/component/addressbook-component.c - (ensure_completion_uris_exist): new function - probably doesn't - belong in this file. Make sure the basic local Contacts folder - exists in the completion uris. - (addressbook_component_factory_init): call - ensure_completion_uris_exist. - - * backend/ebook/e-book-util.h: add prototype for - e_book_get_default_book_uri. - - * backend/ebook/e-book-util.c (e_book_get_default_book_uri): new - function, just return the default contacts uri. - (e_book_load_default_book): change - to use e_book_get_default_book_uri. - -2002-05-23 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-config.c (addressbook_root_dse_query): - fix parameter/local variable overloading. - -2002-05-21 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook.c (load_uri_cb): Don't try to invoke - e_book_get_uri() on NULL. Fixes #25069. - -2002-05-17 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-util.c (e_addressbook_error_dialog): - make sure we map status -> string correctly (add missing strings). - - * backend/ebook/e-book-types.h (EBookStatus): add the missing - AUTHENTICATION_REQUIRED status code, to map to the idl response. - - * backend/ebook/e-book-listener.c - (e_book_listener_convert_status): make sure we map all idl status - codes to EBookStatus statuses. - -2002-05-20 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-storage.c (load_source_data): Pass - FALSE for @sync_offline to evolution_storage_new_folder(). - (addressbook_storage_add_source): Pass FALSE for @sync_offline to - evolution_storage_new_folder(). - -2002-05-16 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-component.c (request_quit): New, quit - handler for the EvolutionShellComponent. - (add_creatable_item): Set it up. - - * gui/contact-editor/e-contact-list-editor.c - (e_contact_list_editor_request_close_all): New. - (e_contact_list_editor_new): Put the contact editor in a static - list and gtk_object_weakref() it. - (contact_list_editor_destroy_notify): New, GtkDestroyNotify - function for the contact editors. - - * gui/contact-editor/e-contact-editor.c - (e_contact_editor_request_close_all): New. - (e_contact_editor_new): Put the contact editor in a static list - and gtk_object_weakref() it. - (contact_editor_destroy_notify): New, GtkDestroyNotify function - for the contact editors. - -2002-05-15 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-component.c (create_component): Pass - NULL as @request_quit_fn. - -2002-05-13 Christopher James Lahey <clahey@ximian.com> - - * backend/idl/addressbook.idl: Removed an incorrect comment here. - -2002-05-13 Christopher James Lahey <clahey@ximian.com> - - * gui/contact-editor/e-contact-editor.c (enable_writable_fields): - Enable the dropdown widgets even if the contact is not editable so - that you can view any email address, phone number, or postal - address on read only contacts. - -2002-05-10 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/Evolution-Addressbook-SelectNames.idl: - Added SimpleCard interface. - - * gui/component/select-names/Makefile.am: Added - e-simple-card-bonobo.c and e-simple-card-bonobo.h. - - * gui/component/select-names/e-select-names-bonobo.c - (entry_get_property_fn): Added SIMPLE_CARD_LIST arg. - - * gui/component/select-names/e-simple-card-bonobo.c, - gui/component/select-names/e-simple-card-bonobo.h: New class to - represent an ECardSimple across Bonobo. - -2002-05-09 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names-bonobo.c - (entry_get_property_fn): Added "first_email" property. - -2002-05-09 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-storage.c - (addressbook_get_other_contact_storage): Pass %FALSE as - @has_shared_folders to evolution_storage_new(). - -2002-05-08 JP Rosevear <jpr@ximian.com> - - * conduit/Makefile.am: link against the libtool version of - libversit - -2002-05-07 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-config.c - (addressbook_config_control_new): oops, add the NULL back at the - end of possible_types. - -2002-05-07 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-config.c (addressbook_ldap_init): - bleah, need to pass the GtkWindow here so we can pop up the a - modal parented dialog (gtk modal dialogs suck?). - (addressbook_ldap_auth): same. - (addressbook_root_dse_query): same. - (do_ldap_root_dse_query): same. - (addressbook_config_control_new): add "ldap-contacts" to the list - of possible types. - -2002-05-07 Dan Winship <danw@ximian.com> - - * gui/component/addressbook-storage.c (create_ldap_folder): - s/ldap_config/addressbook_config/ - -2002-05-03 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-book.c (activate_factories_for_uri): finally - remove the #if 0's and use the oaf query stuff to get backends - that handle specific protocols. - -2002-05-03 Christopher James Lahey <clahey@ximian.com> - - * gui/component/addressbook-config.c - (addressbook_folder_list_changed_callback): Call - evolution_config_control_changed when the EFolderList changes. - -2002-05-03 Christopher James Lahey <clahey@ximian.com> - - * gui/component/GNOME_Evolution_Addressbook.oaf.in: Updated this - to have the ConfigControlFactory have an addressbookwide generic - name and added OAFIID:GNOME_Evolution_Addressbook_ConfigControl. - - * gui/component/Makefile.am (evolution_addressbook_SOURCES), - gui/component/addressbook-component.c, - gui/component/addressbook-storage.c, gui/component/addressbook.c: - Replaced ldap-config.c and ldap-config.h with addressbook-config.c - andaddressbook-config.h. - - * gui/component/addressbook-config.c, - gui/component/addressbook-config.h: Based on ldap-config.c and - ldap-config.h. Added a folder list control. Made this a multi - factory. - - * gui/component/ldap-config.c, gui/component/ldap-config.h: - Replaced these with addressbook-config.c and addressbook-config.h. - -2002-05-02 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names.c (selection_change): - Desensitize the to, cc, and bcc buttons if there's no selection - here. Fixes Ximian bug #21482. - -2002-05-01 Christopher James Lahey <clahey@ximian.com> - - * gui/contact-list-editor/e-contact-list-editor.c (verbs): Changed - some of these to bind to the ContactListEditor verbs since they're - marked as that in the ui file. Fixes Ximian bug #13034. - -2002-04-30 JP Rosevear <jpr@ximian.com> - - * gui/component/Makefile.am (EXTRA_DIST): fix - -2002-04-30 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-addressbook-model.c, - gui/widgets/e-addressbook-model.h - (e_addressbook_model_peek_card): Added this function so that there - would be less duplication of cards during run time when - duplication is unnecessary. - - * gui/widgets/e-addressbook-view.c: Cleaned up get_card_list and a - number of associated functions to be much more uniform and - simpler. - (get_has_email_address): Don't show the "Send Message to Contact" - menu item if there are no email addresses in the listed contacts. - Fixes bug #1298. - -2002-04-30 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card.c (e_card_list_send): Changed this to set a - subject when sending a contact. This makes the signature be set - properly also. - -2002-04-26 Jeffrey Stedfast <fejj@ximian.com> - - * printing/Makefile.am: Don't link to libibex anymore. - - * conduit/Makefile.am: Same. - - * backend/ebook/Makefile.am: Again here. - - * gui/component/Makefile.am: And finally here. - -2002-04-26 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names.c - (e_select_names_child_free): Unref the text_model here instead of - the model, since the model never gets set. Removed the model - field since it's no longer used. - -2002-04-24 Christopher James Lahey <clahey@ximian.com> - - * gui/component/ldap-config.c: Updated this for the new - e_table_memory_store_insert function prototype. - -2002-04-24 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names.c, - gui/component/select-names/e-select-names.h, - gui/component/select-names/select-names.glade (folder_browse): - Added a "Browse..." button to switch to a different addressbook - folder. - - * gui/widgets/e-addressbook-util.c (e_addressbook_transfer_cards): - Moved extern EvolutionShellClient out of this function so that - it'd be more readable. - -2002-04-23 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names.c, - gui/component/select-names/e-select-names.h: Coded handling of the - select_entry to search within the displayed contacts. - - * gui/component/select-names/select-names.glade: Updated this - dialog to have an entry-select instead of an entry-find. - -2002-04-23 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/select-names.glade: Updated this - dialog to match the redesign. - -2002-04-23 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-addressbook-view.c (do_popup_menu): Make unused - menu items disappear instead of graying out. - -2002-04-23 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-addressbook-reflow-adapter.c, - gui/widgets/e-addressbook-reflow-adapter.h: Removed - e_addressbook_reflow_adapter_right_click and - e_addressbook_reflow_adapter_base_right_click. - - * gui/widgets/e-addressbook-view.c: Handle right click menu for - both types of view. Merged right click on white space with right - click on main area. General clean up. - - * gui/widgets/e-minicard-view-widget.c, - gui/widgets/e-minicard-view-widget.h: Removed a couple unnecessary - functions. Added e_minicard_view_widget_get_view. Added - right_click signal. - - * gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h: - Added the right_click signal and the e_minicard_view_get_card_list - function. - -2002-04-22 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names.h: Removed an unused - variable here. - - * gui/widgets/e-addressbook-view.c (table_right_click, - table_white_space_event): Added a current view submenu to the - popup menu here. - -2002-04-22 Jeffrey Stedfast <fejj@ximian.com> - - * gui/widgets/e-minicard-view.c (e_minicard_view_drag_begin): - Allow GDK_ACTION_COPY also, since the composer for example does - not accept MOVE's. Completes bug #8448. - -2002-04-18 Chris Toshok <toshok@ximian.com> - - * gui/component/ldap-config.glade: change order of scope option - menu to match how it's stored. - -2002-04-18 Chris Toshok <toshok@ximian.com> - - * gui/component/GNOME_Evolution_Addressbook.oaf.in: change ldap - config control text so it fits in the config dialog. - - * gui/component/ldap-config.c: #ifdef lots of stuff HAVE_LDAP so - it'll build/run in either case. - (addressbook_source_dialog_destroy): rename - addressbook_add_server_druid_destroy to this, and free lots more - stuff. - (addressbook_add_server_druid): - addressbook_add_server_druid_destroy -> - addressbook_source_dialog_destroy. - (do_schema_query): add 3 second timeout to schema query. - (addressbook_edit_server_dialog): hook up destroy signal. - (config_control_new): if HAVE_LDAP isn't defined, put up a label - saying so. - -2002-04-18 Chris Toshok <toshok@ximian.com> - - * gui/component/Makefile.am (INCLUDES): add LDAP_CFLAGS to INCLUDES - -2002-04-18 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.c (book_open_cb): no more - source->type. - -2002-04-18 Chris Toshok <toshok@ximian.com> - - * gui/component/ldap-config.c (addressbook_dialog_get_source): - fill in source->ssl. - (addressbook_source_dialog_set_source): set up auth/scope/ssl - option menus properly. - - * gui/component/addressbook-storage.c - (addressbook_storage_init_source_uri): always include the - limit/ssl in the uri so we don't need to rely on defaults - everywhere. - (ldap_source_foreach): store the ssl option. - - * gui/component/addressbook-storage.h: reorder SSLType to match - the UI. - - * backend/pas/pas-backend-ldap.c: (struct _PASBackendLDAPPrivate) - add field for ldap_timeout. - (pas_backend_ldap_connect): reorder things a bit - we need to - start tls before the root dse query, if we can. - (pas_backend_ldap_load_uri): track the way ssl parameters are - given in the uri, and parse out the timeout. - - * gui/component/ldap-config.c (port_changed_func): use the - symbolic SSL name instead of an integer constant. - -2002-04-18 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (get_ldap_library_info): fix - memory leaks. - - * gui/component/GNOME_Evolution_Addressbook.oaf.in: remove the - Addressbook_ConfigControl stuff to LDAP_ConfigControl. - - * gui/component/Makefile.am (evolution_addressbook_SOURCES): - remove addressbook-config.* and add ldap-config.* - (glade_DATA): same. - (evolution_addressbook_LDADD): add LDAP_LIBS. - - * gui/component/addressbook-component.c (owner_set_cb): - addressbook_config_register_factory => - ldap_config_register_factory. - - * gui/component/addressbook.c (book_open_cb): remove source->type - check - they're always LDAP. - (load_uri_cb): same. - - * gui/component/addressbook-storage.c (ldap_unparse_ssl): new - function. - (ldap_parse_ssl): new function. - (addressbook_storage_init_source_uri): use a more flexible scheme - to build up the uri's, and add in the ssl parameter. - (load_source_data): fill in source->ssl, and remove source->type - assignment. - (addressbook_source_copy): copy source->ssl, and remove - source->type copy. - (create_ldap_folder): addressbook_create_new_source => - ldap_config_create_new_source. - - * gui/component/addressbook-storage.h: remove - AddressbookSourceType (it was always LDAP), and add - AddressbookLDAPSSLType. - -2002-04-18 Dan Winship <danw@ximian.com> - - * backend/ebook/e-book-util.c (e_book_load_default_book): Append - /addressbook.db to the end of the default URI if it starts with - file: - - * backend/ebook/e-book.c (e_book_load_uri_step): Fix this to not - loop forever if you have more than one backend. - -2002-04-17 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names.c - (e_select_names_create_categories): Changed this to use - ECategoriesMasterListOptionMenu. - - * gui/component/select-names/e-select-names.c - (section_right_click_cb), - gui/widgets/e-addressbook-reflow-adapter.c, - gui/widgets/e-addressbook-view.c: Updated these to match the new - EPopupMenu. - -2002-04-11 Christopher James Lahey <clahey@ximian.com> - - * gui/component/addressbook-component.c: Include - addressbook-config.h here as this file uses it. - - * gui/component/select-names/e-select-names.c (SPEC, SPEC2): Made - this dialog searchable by typing in the ETable. - - * gui/widgets/e-addressbook-model.c: Include e-addressbook-util.h - here. - - * gui/widgets/e-addressbook-reflow-adapter.c - (e_addressbook_reflow_adapter_right_click), - gui/widgets/e-addressbook-view.c (table_right_click): Fixed a - memory leak here by using "selection-done" signal. - - * gui/widgets/e-addressbook-reflow-adapter.c, - gui/widgets/e-addressbook-reflow-adapter.h, - gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard-view.c: - Added a right click menu for areas that aren't cards. - -2002-04-09 Dan Winship <danw@ximian.com> - - * backend/ebook/e-book-util.c (e_book_load_default_book): Update - for new-and-improved consistent default folder uri. - - * gui/component/addressbook.c (addressbook_load_default_book): Use - e_book_load_default_book rather than duplicating most of its logic - here. - (load_uri_cb): Modify to work as a callback for - addressbook_load_default_book as well as addressbook_load_uri. - -2002-04-08 Dan Winship <danw@ximian.com> - - * gui/component/addressbook-component.c (create_view): Add - view_info arg, but don't do anything with it. - -2002-04-06 JP Rosevear <jpr@ximian.com> - - * gui/component/GNOME_Evolution_Addressbook.oaf.in: add - config_item:type - -2002-04-04 JP Rosevear <jpr@ximian.com> - - * conduit/Makefile.am: link to the static libversit - -2002-04-04 Dan Winship <danw@ximian.com> - - * gui/widgets/e-addressbook-util.c (e_addressbook_transfer_cards): - Update for evolution_shell_client_user_select_folder API change. - -2002-04-04 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook.c: Remove AddressbookConfig, - ContactNew, ContactNewList EPixmap entries. - - * gui/component/addressbook-factory.c (main): Print out a - debugging message just before the main loop starts, for debugging - purposes. - -2002-04-02 Dan Winship <danw@ximian.com> - - * backend/ebook/e-card-simple.h: Fix spelling of - E_CARD_SIMPLE_PHONE_ID_TTYTDD and E_CARD_SIMPLE_FIELD_PHONE_TTYTDD - (they previously ended with "TTD" instead of "TDD") - - * backend/ebook/e-card-simple.c: Update for spelling fix. - - * backend/pas/pas-backend-ldap.c: Likewise - -2002-04-01 Dan Winship <danw@ximian.com> - - * gui/component/select-names/e-select-names-text-model.c: - parent_class should be static. (From Max Horn <max@quendi.de>) - -2002-03-29 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/GNOME_Evolution_Addressbook.oaf.in: Add priority - for the config page. Renamed to "Directory Servers". - -2002-03-27 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-file.c - (pas_backend_file_process_create_card): don't free req->vcard. - it's freed in pas_book_free_request. - (pas_backend_file_process_remove_card): don't free req->id for the - same reason. - (pas_backend_file_process_modify_card): don't free req->vcard for - the same reason. - (pas_backend_file_process_get_changes): don't free req->change_id - or release_unref the listener for the same reason. - -2002-03-27 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (check_schema_support): make sure - to call ldap_value_free (values);, and ldap_msgfree (resp). - (get_ldap_library_info): don't ask me why, but it appears we have - to free each extension char*. - (query_ldap_root_dse): make sure to free values in the - subschemaSubentry code before overwriting it, and call - ldap_msgfree(resp) when we're all done. - (build_card_from_entry): don't leak the DN, ldap attributes, or - the berval the ldap_*_attribute calls use to step through the - attributes. the docs say this berval is freed when - ldap_next_attribute returns NULL, but if we don't free it it leaks - a substantial amount of memory. - (pas_backend_ldap_search): make sure to only allocate *op once, - and fix the g_warning since op isn't valid in its scope anymore. - -2002-03-19 Dan Winship <danw@ximian.com> - - * backend/ebook/Makefile.am: Update for libversit change: Use .a - rather than .la now. - - * printing/Makefile.am: Likewise - - * gui/component/Makefile.am: Likewise - -2002-03-18 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook.c (addressbook_menu_activated): - Removed. - (addressbook_factory_new_control): Don't connect anymore, as this - signal has been removed from the ESearchBar. - (addressbook_factory_new_control): No more custom menu items here. - -2002-03-15 Jeffrey Stedfast <fejj@ximian.com> - - * gui/widgets/e-addressbook-view.c (table_right_click): Update to - use new EPopupMenu API. - - * gui/widgets/e-addressbook-reflow-adapter.c - (e_addressbook_reflow_adapter_right_click): Update to use new - EPopupMenu API. - - * gui/component/select-names/e-select-names.c - (section_right_click_cb): Update to match new EPopupMenu api. - -2002-03-15 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook.c: Remove the - `addressbook_search_menu_items'. - (addressbook_menu_activated): Removed. - (addressbook_factory_new_control): Don't connect. No menu items. - -2002-03-15 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook.c (control_activate): Call - `e_search_bar_set_ui_component()' to set the BonoboUIComponent for - the search bar. - - * gui/component/GNOME_Evolution_Addressbook.oaf.in: Add an icon - for the LDAP sources configuration control. - -2002-03-12 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook.c: Remove verb "AddressbookConfig". - (config_cb): Removed. - - * gui/component/addressbook-config.c: Remove `dialog' member from - `AddresbookDialog'. Instead, add a `config_control' member. - (config_control_new): New. - (addressbook_config): Removed. - (addressbook_config_register_factory): New. - (config_control_factory_fn): New, factory function for the - ConfigControl page. - (addressbook_source_edit_changed): Don't change the sensitivity of - the dialog. Rather, invoke ::changed on the ConfigPage. - (auth_checkbutton_changed): No need to manually change the - sensitiviness of the buttons here either. - (add_source_clicked): Likewise, just invoke - evolution_config_control_changed(). - (edit_source_clicked): Likewise. - (addressbook_dialog_close): Removed. - (config_control_destroy_callback): New, callback for when the - config control gets destroyed. - (addressbook_dialog_apply): Removed. - (config_control_apply_callback): New callback for - EvolutionConfigControl::apply. - (addressbook_dialog_ok): Removed. - (addressbook_config_control_new): Set up ->config_control and - connect the signals. - - * gui/component/addressbook-config.glade: Call the main hbox in - the addressbook_sources dialog `addressbook_sources_main_hbox'. - - * gui/component/addressbook-component.c (owner_set_cb): Call - `addresbook_config_register_factory'. - - * gui/component/GNOME_Evolution_Addressbook.oaf.in: Add items for - OAFIID:GNOME_Evolution_Addresbook_ConfigControl and - OAFIID:GNOME_Evolution_Addressbook_ConfigControlFactory. - -2002-03-11 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names.c (update_query): - change contains x-evolution-any-field to beginswith on email, - full_name, and nickname. faster, and more applicable to this - dialog. - -2002-03-09 Chris Toshok <toshok@ximian.com> - - * backend/idl/addressbook.idl: add TLSNotAvailable to - BookLister_CallStatus. - - * backend/ebook/e-book-types.h: add TLS_NOT_AVAILABLE to the EBookStatus enum. - - * backend/ebook/e-book-listener.c - (e_book_listener_convert_status): add TLS_NOT_AVAILABLE to the - switch. - - * backend/pas/pas-backend-ldap.c - (pas_backend_ldap_get_static_capabilities): fix name. - (pas_backend_ldap_class_init): fix name. - (pas_backend_ldap_connect): change return type to CallStatus so we - can return different errors from here. Also, do STARTTLS if the - user has asked for it and the connection supports it, returning - TLSNotAvailable (and close the connection) if they chose to - require it. - (pas_backend_ldap_load_uri): return pas_backend_ldap_connect. - (func_beginswith): pull in change from evolution-1-0-branch to - make full_name beginswith search both cn and sn. - -2002-03-09 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-view.c (jump_to_letter): since I've - gone ahead and made the file backend (by way of - pas-backend-card-sexp.c) use case insensitive searches for - beginswith, there's no need to list upper and lower case here. - - * gui/component/addressbook.c (addressbook_search_option_items): - reorder things to put "Any field contains" at the end, since it's - the least efficient search. Also reorder the enum to the same - ordering. Change "Name contains" to "Name begins with" and change - "Email contains" to "Email is". - (addressbook_search_activated): change FULL_NAME to beginswith, - and change EMAIL to is to match the labels. - - * backend/pas/pas-backend-card-sexp.c (compare_name): new - function, so we can compare both full and family names (so - beginswith can operate on them both.) - (endswith_helper): use e_utf8_strstrcase here, since all the - backends backends use case insensitive searching. - (func_endswith): same. - -2002-03-06 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-book.c (pas_book_queue_create_card): track - union/struct change. - (pas_book_queue_remove_card): same. - (pas_book_queue_modify_card): same. - (pas_book_queue_get_cursor): same. - (pas_book_queue_get_vcard): same. - (pas_book_queue_authenticate_user): same. - (pas_book_queue_get_book_view): same. - (pas_book_queue_get_changes): same. - (pas_book_free_request): new function - free everything we need to - for each type of request. - (pas_book_destroy): call pas_book_free_request here instead of - just freeing 3 elements of the old struct. yay plugging memleaks. - - * backend/pas/pas-book.h: make PASRequest a union and split out - members into structs, so it's a little clearer which fields are - used by which requests. Also, add prototype for - pas_book_free_request so backends can just free everything at once - (usually in their requests_queued signal func.) - - * backend/pas/pas-backend-file.c - (pas_backend_file_process_create_card): track struct/union change. - (pas_backend_file_process_remove_card): same. - (pas_backend_file_process_modify_card): same. - (pas_backend_file_build_cards_list): same. - (pas_backend_file_process_get_vcard): same. - (pas_backend_file_process_get_cursor): same. - (pas_backend_file_process_get_book_view): same. - (pas_backend_file_process_get_changes): same. - (pas_backend_file_process_check_connection): same. - (pas_backend_file_process_authenticate_user): same. - (pas_backend_file_process_get_supported_fields): same. - (pas_backend_file_process_client_requests): case the union to the - specific struct and pass it to the process_* functions. also, - call pas_book_free_request here, instead of relying on each of the - functions to free their stuff. - -2002-03-07 Dan Winship <danw@ximian.com> - - * gui/component/addressbook-storage.c - (addressbook_get_other_contact_storage): Update for - evolution_storage_new() change. - -2002-03-05 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-minicard-view-widget.c - (e_minicard_view_widget_realize): don't set "editable" here, as - the way things work the backend isn't able to override a setting - from the UI, so writable books never show up as writable. - -2002-03-04 Chris Toshok <toshok@ximian.com> - - [fixes bug #20871] - * gui/component/select-names/select-names.glade: add the - status-message label. - - * gui/component/select-names/e-select-names.h (struct - _ESelectNames): add status_message field. - - * gui/component/select-names/e-select-names.c (status_message): - new function, set the label's text from the message. - (e_select_names_init): get the status-message label, and if it's - valid, connect to the status_message signal of the - EAddressbookModel. - -2002-02-28 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (pas_backend_ldap_search): don't - ref the view here, since it keeps the view alive until the search - is over, which we don't want. we want the view's death to cancel - the search. This speeds up starting new searches after one is - already active (since switching searches actually creates a new - book view and destroys the old one.) - (ldap_search_dtor): remove the matching unref here. The unref as - it was was incorrect anyway, and caused a crash (we needed - search_op->view, not op->view.) - -2002-02-27 Chris Toshok <toshok@ximian.com> - - [fixes bug #20690] - * backend/pas/pas-backend-ldap.c (func_and): the data arg is not - GList** anymore, it's PASBackendLDAPSExpData*, so use - ldap_data->list instead of *list. - (func_or): same. - (func_not): same. - (func_contains): same. - (func_is): same. - (func_endswith): same. - (func_beginswith): same, but also special case the beginswith - "fileAs" query type (the one used by the alphabet buttons on the - right hand side, so we can deal with entries that don't have - fileAs attributes, and return meaningful responses.) - (pas_backend_ldap_build_query): initialize the - PASBackendLDAPSExpData struct and pass that instead of &list. - Also, take the PASBackendLDAP arg to add to the struct in case we - need it at some point in the future. - (ldap_search_handler): pass in the PASBackendLDAP. - -2002-02-26 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-file.c (pas_backend_file_search): move - card_count++ inside the if that checks to see if a card matches - (and adds the card to the list). - -2002-02-24 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.c (addressbook_query_changed): only - handle the ESB_ADVANCED case here now. the actual query work is - done in addressbook_search_activated. - (addressbook_search_activated): split out all the searching - functionality here. - (addressbook_factory_new_control): hook up "search_activated" to - addressbook_search_activated. - -2002-02-24 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-config.c - (addressbook_source_dialog_set_source): make the right auth page - start up open. - - * gui/component/addressbook-storage.c (addressbook_source_free): - free the binddn. - (addressbook_source_copy): copy the binddn; - -2002-02-22 Chris Toshok <toshok@ximian.com> - - [ Fixes bugs 20740, 16680, and god knows what else :) ] - * gui/widgets/e-addressbook-model.c (create_card): double the - allocated size every time we need more space instead of using a - fixed size increment. this helps huge queries. Also, remove the - gtk_object_get of "file_as", as it was dead code. - (book_view_loaded): handle errors here (by popping up a dialog). - - * backend/pas/pas-backend-ldap.c (view_destroy): search_idle -> - search_timeout. - (build_card_from_entry): comment out some spew, and unref ecard - when we're done to plug a memory leak. - (send_pending_adds): send along to the client all the cards we've - been saving up. - (poll_ldap): use a timeout for ldap_result to keep the backend - from blocking (and it turns out keep the frontend from hanging - waiting on a ref to complete) on large db's with few matches. - - Also, add some fairly smart, self-tuning aggregating of cards. - Keep track of the number of cards we've sent the last time through - as well as this time, and estimate the number we want to aggregate - the next time based on them (we average them at the moment), - subject to maximum/minimum number of cards. also, we have a - maximum aggregation time, after which we force a flush if there - are pending cards and recalculate our target pending number. - there's a minimum wait time to possibly keep outselves from - spamming the ui, although it's 0 at the moment. - - Lastly, make sure to only notify the GUI of status messages when - we need to. this results in a *huge* savings. - (ldap_search_handler): initialize all the pending card stuff, and - use a timeout instead of an idle function for poll_ldap. - - * backend/ebook/e-book-view-listener.c - (e_book_view_listener_queue_response): performance optimization - for large adds. If we're a CardAddedEvent and there's an existing - CardAddedEvent at the end of the queue, just concat the lists of - cards together. This is to keep the gui from falling further and - further behind the ldap backend, which is merrily spewing updates - at the gui. - -2002-02-21 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/Makefile.am: Define $(iconsdir). - - * gui/component/addressbook-component.c (add_creatable_item): New - helper function. - (create_component): Add the icons for the user creatable items as - well. - -2002-02-20 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-file.c (pas_backend_file_load_uri): - track change to signature, and (for now) just change all the - return FALSE's to _RepositoryOffline (what FALSE used to map to in - pas_book_factory_process_request), and change TRUE to _Success. - - * backend/pas/pas-backend-ldap.c (pas_backend_ldap_load_uri): - track change to signature, and differentiate between - pas_backend_ldap_connect failing (RepositoryOffline), and - ldap_url_parse failing (OtherError). - - * backend/pas/pas-book-factory.c - (pas_book_factory_process_request): since pas_backend_load_uri - returns status now, use it to nodify the BookListener if there's a - failure. - - * backend/pas/pas-backend.c (pas_backend_load_uri): track change - to signature. - - * backend/pas/pas-backend.h: change return type of - pas_backend_load_uri to - GNOME_Evolution_Addressbook_BookListener_CallStatus to allow - differentiation between failure types. - - * backend/ebook/e-book-listener.c - (e_book_listener_convert_status): handle _AUTHENTICATION_FAILED. - - * backend/ebook/e-book-types.h (EBookStatus): add - _AUTHENTICATION_FAILED. - -2002-02-18 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-book-factory.c - (pas_book_factory_process_request): if the load_uri fails, notify - the listener that the repository is offline. (partial fix for bug - 20347) - -2002-02-18 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (create_dn_from_ecard): escape - commas in the dn, since they're used by ldap to specify the node's - placement in the tree. (fixes bug 20089) - (rfc2254_escape): just use sprintf and %02X instead. - -2002-02-13 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names.c (set_book): Keep a - ref of the model in this case as well. - -2002-02-13 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names.c (set_book): Make - sure to only set the query once when creating a new book and not - at all on addressbook model creation. This prevents an accidental - pair of changes from making the addressbook model load a remote - addressbook. - - * gui/widgets/e-addressbook-model.c (get_view): If this is the - first_get_view and the addressbook is remote, empty the view - instead of leaving it in the state it used to be in. This only - occurs if you set the book after the model has existed for a - while. - (e_addressbook_model_set_arg): When setting the book, set - first_get_view to TRUE. - -2002-02-13 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-addressbook-view.c (display_view): Attach to the - emvw instead of the emv here. - - * gui/widgets/e-minicard-view-widget.c, e-minicard-view-widget.h: - Made this object have a "column_width" argument and a - "column_width_changed" signal which are a simple layer down to the - EMinicardView contained within. - - * gui/widgets/gal-view-minicard.c, gui/widgets/gal-view-minicard.h - (gal_view_minicard_attach): Made this attach to an - EMinicardViewWidget instead of a EMinicardView. - -2002-02-13 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-book-util.c, backend/ebook/e-book-util.h - (e_book_expand_uri, e_book_load_address_book_by_uri, - e_book_use_address_book_by_uri): New functions that take a file:// - url ending in the directory name and automatically append the - addressbook.db and do the appropriate thing. - - * backend/pas/pas-backend-card-sexp.c, - backend/pas/pas-backend-card-sexp.h: Added copyright notice here. - - * gui/component/addressbook-component.c - (destination_folder_handle_drop), gui/component/addressbook.c - (set_prop): Use e_book_expand_uri instead of - addressbook_expand_uri. - - * gui/component/addressbook-storage.c: Fixed the fcntl include - here. - - * gui/component/addressbook.c (ContactsCopyToFolder, - ContactsMoveToFolder): Added handlers for these two verbs. - - * gui/component/addressbook.h: Removed addressbook_expand_uri in - favor of e_book_expand_uri. - - * gui/widgets/e-addressbook-reflow-adapter.c (transfer_cards): - Added code to handle Move to and Copy to right click menu items. - - * gui/widgets/e-addressbook-util.c, - gui/widgets/e-addressbook-util.h (e_addressbook_transfer_cards): - New function to pop up a dialog and transfer a set of cards to the - given folder. - - * gui/widgets/e-addressbook-view.c, - gui/widgets/e-addressbook-view.h (display_view): Don't attach to - the view if it doesn't exist yet. We have to make this then - attach later. - (e_addressbook_view_copy_to_folder, - e_addressbook_view_move_to_folder): New functions utilizing - e_addressbook_transfer_cards. - (table_right_click): Add copy_to_folder and move_to_folder to the - right click menu for tables here. - (e_addressbook_view_discard_menus): Handle menu unmerging here. - - * gui/widgets/e-minicard-view-widget.h (struct - _EMinicardViewWidget): Removed unused field. - -2002-02-13 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-addressbook-view.c (display_view): Attach the - GalViewMinicard to the EMinicardView here. - - * gui/widgets/gal-view-minicard.c, gui/widgets/gal-view-minicard.h - (gal_view_minicard_load, gal_view_minicard_save): Made these save - the column width of the view. - (gal_view_minicard_attach, gal_view_minicard_detach): Added these - functions to allow the GalViewMinicard to set the column width of - a EMinicardView and to monitor its changes. - -2002-02-12 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-addressbook-reflow-adapter.c - (addressbook_get_arg): Added an argument to get the model. - - * gui/widgets/e-addressbook-view.c (writable_status): Don't bother - connecting to the writable_status callback on the book, simply - rely on the writable_status callback on the addressbook model. - - * gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h - (set_empty_message): Handle the case of a read only view here. - -2002-02-07 JP Rosevear <jpr@ximian.com> - - * gui/component/addressbook-component.c (create_component): remove - "New" from user creatable menu items - -2002-02-07 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-addressbook-view.c, - gui/widgets/e-addressbook-view.h - (e_addressbook_view_setup_menus): Changed this function to use the - new GalViewMenus which takes a GalViewInstance, instead of a - GalViewCollection. - -2002-02-04 JP Rosevear <jpr@ximian.com> - - * gui/contact-editor/e-contact-editor.c (find_address_mailing): tidy - - * conduit/address-conduit.c (addrconduit_load_configuration): load - default address setting - (addrconduit_save_configuration): save default address setting - (e_addr_gui_new): new gui routine for conduit settings - (e_addr_gui_fill_widgets): ditto - (e_addr_gui_fill_config): ditto - (e_addr_gui_destroy): ditto - (e_addr_context_destroy): destroy the gui and new_cfg - (local_record_from_ecard): reinstate commented out bits, determine - which address to sync to pilot - (ecard_from_remote_record): determine which address to sync from - pilot - (fill_widgets): put the gui widgets in - (create_settings_window): create gui - (save_settings): fill gui - -2002-02-04 JP Rosevear <jpr@ximian.com> - - * gui/contact-editor/e-contact-editor.c (address_text_changed): if - the shown address in the mailing address or there is no mailing - address, set the default flag and make sure the button is checked - (address_mailing_changed): set the flags properly when the mailing - address changes - (e_contact_editor_init): listen for the check button being toggled - (find_address_mailing): find the address (if any) with the default - flag - (set_address_field): set the mailing address button appropriately - (fill_in_info): find the mailing address - - * gui/contact-editor/e-contact-editor.h: add new class data member - - * gui/contact-editor/contact-editor.glade: show mailing address - check button - -2002-02-01 Jeffrey Stedfast <fejj@ximian.com> - - * backend/ebook/e-destination.c (e_destination_is_auto_recipient): - New function to find out if a destination was one which was - auto-matically set by Evolution. - (e_destination_set_auto_recipient): Set whether or not the dest is - an auto-recipient. - (e_destination_touch): Don't touch the address if it is an - auto_recipient. - (e_destination_list_to_vector_sized): New function to avoid having - to calculate the length of the list ourselves. Allows for a bit of - optimization if our caller knows the length of the list. - (e_destination_xml_encode): Encode the auto_recipient bit. - (e_destination_xml_decode): Decode the auto_recipient bit. - -2002-02-01 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card-simple.c (e_card_simple_sync_card): Made - this preserve addressbook flags other than the first three. - - * backend/ebook/e-card-types.h: Added E_CARD_ADDR_MASK and - E_CARD_ADDR_DEFAULT. - - * backend/ebook/e-card.c (get_address_flags): Added "PREF" to - E_CARD_ADDR_DEFAULT mapping. - - * backend/ebook/test-client.c: Added #include "e-book-util.h". - -2002-01-30 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-file.c (pas_backend_file_changes): - compute the change db filename based on our contact db filename. - (pas_backend_file_load_uri): store the filename in - bf->priv->filename. - (pas_backend_file_destroy): free the filename, and (!) free - bf->priv too. - -2002-01-28 Jeffrey Stedfast <fejj@ximian.com> - - * backend/ebook/e-destination.c (e_destination_is_valid): Revert - my previous change as trow says this will break auto-completion - stuff. - -2002-01-27 Ettore Perazzoli <ettore@ximian.com> - - * gui/contact-editor/Makefile.am: Use EVOLUTION_ADDRESSBOOK_CFLAGS. - * gui/contact-list-editor/Makefile.am: Likewise. - * gui/merging/Makefile.am: Likewise. - * gui/search/Makefile.am: Likewise. - * gui/component/select-names/Makefile.am: Likewise. - -2002-01-25 Jeffrey Stedfast <fejj@ximian.com> - - * backend/ebook/e-destination.c (e_destination_is_valid): Don't - check for an @ in the email address. This is to fix bug #10960. - -2002-01-24 Chris Toshok <toshok@ximian.com> - - [ fixes bug 16097 ] - * gui/component/addressbook-config.glade: gui love for the new - auth stuff. - - * gui/component/addressbook.c (load_uri_cb): track change to auth, - and offer up different prompt strings depending on which method - (binddn or email) we're using. - - * gui/component/addressbook-storage.c (ldap_unparse_auth): use the - new auth types for ldap. - (ldap_parse_auth): same. - (addressbook_storage_auth_type_to_string): new function. - (load_source_data): get the binddn too. - (ldap_source_foreach): store out binddn or emailaddr, depending on - the auth type chosen. - - * gui/component/addressbook-storage.h: add the more detailed auth - types, add "binddn" to the source structure, and add a prototype - for addressbook_storage_auth_type_to_string. - - * gui/component/addressbook-config.c (auth_checkbutton_changed): - set the auth stuff (in)sensitive. - (auth_optionmenu_activated): new function. - (addressbook_source_dialog_set_source): track UI change. - (addressbook_source_dialog_get_source): same. - (add_scope_activate_cb): rename add_activate_cb to this to - distinguish it from the auth stuff. - (add_auth_activate_cb): new function. - (addressbook_source_dialog): track change to auth UI stuff. - (addressbook_storage_auth_type_to_string): new function. - - * backend/ebook/e-book.h: add auth_method arg to - e_book_authenticate_user. - - * backend/ebook/e-book.c (e_book_authenticate_user): track change - to prototype - add auth_method arg, and pass it along to the CORBA - call. - - * backend/ebook/test-client.c (book_open_cb): track api change - - keep this building. - - * backend/pas/pas-book.h: add auth_method slot in PASRequest. - - * backend/pas/pas-book.c (pas_book_queue_authenticate_user): add - auth_method arg and add it to the PASRequest. - (impl_GNOME_Evolution_Addressbook_Book_authenticateUser): track - idl change, add auth_method and pass it along to - pas_book_queue_authenticate_user. - - * backend/pas/pas-backend-ldap.c - (pas_backend_ldap_process_authenticate_user): support both - "ldap/simple-email" and "ldap/simple-binddn" auth methods. - - * backend/idl/addressbook.idl: add "in string authMethod" to - authenticateUser. - -2002-01-24 Ettore Perazzoli <ettore@ximian.com> - - * conduit/Makefile.am: Use EVOLUTION_ADDRESSBOOK_CONDUIT_CFLAGS - and EVOLUTION_ADDRESSBOOK_CONDUIT_LIBS and remove unused flags - - * gui/component/Makefile.am: Use EVOLUTION_ADDRESSBOOK_CFLAGS and - EVOLUTION_ADDRESSBOOK_LIBS and remove unused flags. - * backend/pas/Makefile.am: Likewise. - * backend/ebook/Makefile.am: Likewise. - * printing/Makefile.am: Likewise. - * backend/ebook/Makefile.am: Likewise. - * gui/widgets/Makefile.am (INCLUDES): Likewise. - -2002-01-23 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-component.c (create_component): Pass a - NULL @icon to - `evolution_shell_component_add_user_creatable_item()'. - -2002-01-23 Ettore Perazzoli <ettore@ximian.com> - - * gui/contact-editor/e-contact-editor-address.c: #include - <locale.h>. - -2002-01-22 Chris Toshok <toshok@ximian.com> - - [ fixes bug # 16864 ] - * backend/ebook/evolution-ldif-importer.c (getValue): create and - return a GString here, instead of writing to a fixed size buffer. - (parseLine): use a GString here instead of a fixed size buffer. - -2002-01-21 Christopher James Lahey <clahey@ximian.com> - - * backend/pas/pas-backend-ldap.c (ldap_search_handler): Set the - number of cards to return to the value specified in the ldap uri, - leaving the default at 100. Fixes Ximian bug #13953. - - * gui/component/addressbook-config.c (addressbook_source_dialog), - gui/component/addressbook-config.glade: Added a limit entry here - to edit the limit field of the source. - - * gui/component/addressbook-storage.c, - gui/component/addressbook-storage.h - (addressbook_storage_init_source_uri): Added a limit field to this - class and pass that value through in the uri that's generated. - -2002-01-18 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card-compare.c: Made username match with no - domain match be vague instead of partial. Fixes Ximian bug - #13612. - -2002-01-18 Christopher James Lahey <clahey@ximian.com> - - * gui/component/addressbook.c (view_contact_cb): New verb to open - a bunch of cards. - - * gui/widgets/e-addressbook-reflow-adapter.c (open_card): Call - e_addressbook_show_multiple_cards instead of doing this ourselves. - - * gui/widgets/e-addressbook-util.c, - gui/widgets/e-addressbook-util.h - (e_addressbook_show_multiple_cards): Added this function to show a - bunch of cards, including a dialog if lots of windows are going to - appear. - - * gui/widgets/e-addressbook-view.c (e_addressbook_view_view, - e_addressbook_view_can_view): e_addressbook_view_view calls - e_addressbook_show_multiple_cards on the appropriate list of - cards. - -2002-01-18 Christopher James Lahey <clahey@ximian.com> - - * gui/contact-editor/e-contact-editor-address.c - (fill_in_countries), gui/contact-editor/fulladdr.glade: Sort - country list. Country list moves from fulladdr.glade to - e-contact-editor-address.c, but only a few country names have - actually changed. Fixes Ximian bug #16545. - -2001-12-20 Zbigniew Chyla <cyba@gnome.pl> - - Fixes #17725 - - * evolution/addressbook/printing/e-contact-print.c (complete_sequence): - Do not assume that the first byte of file_as is the first letter, use - utf8 functions instead. - -2002-01-16 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c: move all functions here, get rid of - header files, use e-pilot-settings to display gui - -2002-01-15 JP Rosevear <jpr@ximian.com> - - * gui/component/select-names/select-names.glade: remove misleading - title and fix spacing - -2002-01-11 Christopher James Lahey <clahey@ximian.com> - - * gui/component/addressbook.c (alphabet_state_changed): Handle - setting the search bar to "Advanced..." when the alphabet buttons - are pushed and back when they're cleared. Fixes Ximian bug - #12904. - (addressbook_menu_activated): When the user calls Search->clear, - set the search to ESB_ANY and "", don't just set the text. This - is especially useful when it's set to ESB_ADVANCED. - - * gui/widgets/e-addressbook-view.c, - gui/widgets/e-addressbook-view.h (alphabet_state_change): Added - this signal which gets emitted when the alphabet buttons are - pushed. - (command_state_change): Removed the ref pair here. It's not - necessary. gtk_signal_emit refs the object itself. - -2002-01-11 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card-compare.c (name_synonyms): Added a couple - of names here. - - * gui/component/select-names/e-select-names-text-model.c - (e_select_names_text_model_get_nth_obj): Removed an unused - variable. - -2002-01-11 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-addressbook-view.c, - gui/widgets/e-addressbook-view.h (create_alphabet): Use toggle - buttons here. Fixes Ximian bug #10734. - -2002-01-09 Christopher James Lahey <clahey@ximian.com> - - * gui/contact-editor/e-contact-editor.c (set_fields): Choose the - first filled in address field here. Fixes Ximian bug #2222. - -2002-01-03 Joe Shaw <joe@ximian.com> - - * backend/ebook/test-card.c: Add a test for getting arbitrary - fields. - - * backend/pas/pas-backend-card-sexp.c (compare_arbitrary): Added. - (prop_info_table): Add a LIST_PROP for arbitrary fields. - -2002-01-03 Nat Friedman <nat@ximian.com> - - * backend/ebook/e-book.c (activate_factories_for_uri): Free the - query if the oaf response is of zero length. - -2001-12-27 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names.c - (real_add_address_cb): When we clean, don't clean the model's last - element. This helps keep things working properly when we have - signal-character separators. - (section_right_click_cb): Changed to work properly with our - EText-emitted popup signal. - (e_select_names_add_section): Use ETexts for the recipient - sections, rather than tables. This lets us make them directly - editable. (Bug #1721) - - * gui/component/select-names/e-select-names-popup.c - (popup_info_new): Pass in a ESelectNamesTextModel, not a - ESelectNamesModel. - (e_select_names_popup): Adjust for the new signature for - e_select_names_model_text_pos. - - * gui/component/select-names/e-select-names-manager.c - (focus_out_cb): Schedule a cleaning when we focus out. - (focus_in_cb): Cancel pending cleaning when we get focus. This - helps us avoid bad things happening during the fast focus out/ins - that happen when the completion dropdown appears. - (completion_handler): Adjust for new signatures of - e_select_names_model_text_pos and e_select_names_model_name_pos. - (e_select_names_manager_entry_new): Pass in our - ESelectNamesTextModel when constructing the - ESelectNamesCompletion. - (e_select_names_manager_entry_free): Cancel any pending clean-ups. - - * gui/component/select-names/e-select-names-bonobo.c - (entry_get_property_fn): Get the text off of the text model. - Which is the only way that really makes sense when you think about - it. - - * gui/component/select-names/e-select-names-completion.c: Added a - copy of the associated ESelectNamesTextModel to - ESelectNamesCompletionPrivate. This replaces the - ESelectNamesModel. - (e_select_names_completion_destroy): Unref ->text_model. - (e_select_names_completion_handle_request): Pass in our text - model's separator info when calling e_select_names_model_text_pos. - (e_select_names_completion_new): Pass in the text model as an arg - instead of the model, and ref it as needed. - - * gui/component/select-names/e-select-names-text-model.c - (e_select_names_text_model_init): Set separator as either ", " or - ",", depending on the value of the EVOLUTION_DISABLE_MAGIC_COMMA - environment variable. - (e_select_names_text_model_destroy): Free the separator. - (changed_cb): Flush our cached text on changed. - (e_select_names_text_model_set_source): Use our own changed_cb - callback on changed, rather than just connecting up - e_text_model_changed. - (e_select_names_text_model_set_separator): Added. Lets the - separator between recipients be specified. - (e_select_names_text_model_get_text): Cache the text we get from - calling e_select_names_model_get_textification. - (e_select_names_text_model_insert_length): A bunch of small - changes to properly support generic separators, rather than - (implicit and explicitly) assuming ", ". - (e_select_names_text_model_delete): More small tweaks to handle - generic separators. - (e_select_names_text_model_get_nth_obj): Use new signature when - calling e_select_names_model_name_pos, and use our cached text. - - * gui/component/select-names/e-select-names-model.c - (e_select_names_model_destroy): We don't cache the text or - addr_text anymore, so no need to free them here. - (e_select_names_model_changed): ...and no need to reset our text - and addr_text caches here. - (e_select_names_model_get_textification): Take a separator as an - arg, rather than just using ", ". Also, no caching. - (e_select_names_model_get_address_text): Take a separator as an - arg, rather than just using ", ". And no caching here either. - (e_select_names_model_clean): Add arg that give us control over - whether or not the last entry should get cleaned. We need this - when using a one-character separator, so that new destinations - that get tacked onto the end don't get immediately cleaned away - for being empty. - (e_select_names_model_name_pos): Take the separator length as an - argument, remove implicit assumption of length 2. - (e_select_names_model_text_pos): Take the separator length as an - argument, remove implicit assumption of length 2. - -2001-12-20 Ettore Perazzoli <ettore@ximian.com> - - [Fix #17377, Evolution doesn't work on multi-depth displays.] - - * gui/component/addressbook-factory.c (main): Push GdkRGB visual - and colormap. - -2001-12-19 Jon Trowbridge <trow@ximian.com> - - * gui/widgets/e-addressbook-reflow-adapter.c - (e_addressbook_reflow_adapter_right_click): Add cut/copy/paste to - right-click menu. - - * gui/widgets/e-addressbook-view.c (table_right_click): Add - cut/copy/paste to right-click menu. (Fixes bug #14528.) Also, - disable some right-click options if our addressbook isn't - editable. - -2001-12-18 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (check_for_slow_setting): go slow and - clear the map if the last uri and the current uri do not match - (post_sync): save the last uri - - * conduits/address-conduit-config.h: handle a last uri config - option - -2001-12-18 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.c (addressbook_default_book_open): - change this to match its e-book counterpart, and only failover to - the local addressbook if the protocol wasn't supported. that way - errors like "failure to connect" are still reported to the user. - - * backend/ebook/e-book-util.h: add prototypes for - e_book_load_default_book and e_book_get_config_database. - - * backend/ebook/e-book-util.c (e_book_default_book_open): new - function, basically cut and paste addressbook_default_book_open - from addressbook.c here. - (e_book_load_default_book): cut and past - addressbook_load_default_book here, pretty much, except leave off - the auth stuff. - (e_book_get_config_database): new function, returns the - Bonobo_ConfigDatabase for e_book_load_default_book to use. - - * conduit/address-conduit.c (start_addressbook_server): use - e_book_load_default_book here. - -2001-12-17 Chris Toshok <toshok@ximian.com> - - [ fixes bug 17355 ] - * gui/component/select-names/e-select-names.c (new_folder): if - we're dealing with an LDAP folder, prepend [LDAP] to it. Now that - we have 3 different places where folders are coming from, it helps - to be able to differentiate "Contacts" in ~/evolution and a - "Contacts" ldap server and a "Contacts" exchange folder. - (add_additional_select_names_uris): loop through the bonobo conf - settings for additional folders, adding them to the option menu. - (e_select_names_hookup_shell_listeners): call - add_additional_select_names_uris. - -2001-11-28 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-minicard-view-widget.c - (e_minicard_view_widget_realize): Use an #ECanvasBackground here - instead of a #GnomeCanvasRect. - -2001-12-16 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-completion.c: Added - 'cache_complete' flag to ESelectNamesCompletionPrivate. - (e_select_names_completion_seq_complete_cb): Set cache_complete - to TRUE if our query wasn't interrupted. - (e_select_names_completion_start_query): Set cache_complete to - FALSE at the beginning of a potentially-cached query. - (e_select_names_completion_do_query): Only reuse cached cards - if cache_complete is TRUE. (Fixes bug #10241) - -2001-12-15 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (e_addr_context_destroy): don't free - the hash table keys, we didn't allocate them and free the change - objects and unref the associated cards - (local_record_from_uid): unref the temp card we create - (replace_record): ref the new card associated with the card change - and unref the old one - -2001-12-13 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (local_record_from_ecard): Make sure - to copy the custom fields so they are not overwritten - -2001-12-13 Jon Trowbridge <trow@ximian.com> - - * backend/ebook/e-book-util.c (simple_query_new): Used - g_strdup_printf to dup a string. Doh! Changed to g_strdup. - (Bug #17126) - -2001-12-07 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_manager_entry_new): Remove a reference to code - I don't want to commit yet. :-) - - * gui/component/select-names/e-select-names-manager.c: Extensively - refactored -- this code had gotten _really_ ugly. Untangle things - to the point where our reference counting problems are fixable. - - * gui/component/select-names/e-select-names-bonobo.c - (impl_destroy): Remove all of the ugly hacks to work around our - memory management problems, and just unref the manager. - (Fixes #14412) - -2001-12-05 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c - (search_for_dn_with_objectclasses): move search_for_dn's contents - here, and add an "existing_objectclasses" parameter that we pass - on to build_card_from_entry. - (search_for_dn): call search_for_dn_with_objectclasses with NULL - for existing_objectclasses. - (build_card_from_entry): if existing_objectclasses is non-NULL, - fill it in with the list of existing objectclass values for this - entry. - (add_objectclass_mod): if existing_objectclasses is non-NULL, - meaning we're modifying an entry, search in the existing - objectclasses for the ones we want to be there, and only add - what's missing. If none are missing, don't add objectclass_mod to - the list of mods. - (create_card_handler): track change to add_objectclass_mod (pass - NULL). - (modify_card_handler): use search_for_dn_with_objectclasses - instead of search_for_dn, and pass the existing objectclasses to - add_objectclass_mod. also, free the list when we're done. - (poll_ldap): track change to build_card_from_entry (pass NULL). - -2001-12-05 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-editor.c (enable_writable_fields): - we need to be able to disable non-labels here as well. since - we're using enable_widget and not gtk_widget_set_sensitive, it's - okay to handle entries/text's, etc, here. - (widget_field_mappings): add label-caluri and label-fburl here. - - * gui/contact-editor/contact-editor.glade: change the label names - for the freebusy/calendar urls to have more descriptive names, - since we use them in e-contact-editor.c now. - - * backend/pas/pas-backend-ldap.c: add support for - caluri/calendarURI, fburl/freeBusyURI. - - * backend/pas/evolutionperson.schema: add calendarURI and - freeBusyURI. - -2001-12-04 Christopher James Lahey <clahey@ximian.com> - - * gui/contact-editor/contact-editor.glade: Fixed up the - accelerators and such here. - - * gui/contact-editor/e-contact-editor.c (file_save_as_cb): - Translate this string. - (pixmaps): Added a pixmap for the ContactEditorSaveClose command. - (setup_tab_order): Fixed up the tab order here. - - * gui/contact-editor/fulladdr.glade: Made the country combo - focusable here. - -2001-12-03 Jon Trowbridge <trow@ximian.com> - - * backend/ebook/e-destination.c (e_destination_equal): Make address - comparisons case-insensitive. (Fixes 11776) - - * backend/ebook/e-card.c (e_card_email_match_single_string): Make address - host comparisons case-insensitive. (Fixes 11776) - - * gui/component/select-names/e-select-names-manager.c (focus_out_cb): Clean - ESelectNamesModel on focus-out. (Half of a fix for 15656) - - * backend/ebook/e-destination.c (nonempty): Fix this function - and make it utf8-safe. (The other half of the fix for 15656) - -2001-11-28 Christopher James Lahey <clahey@ximian.com> - - * gui/contact-list-editor/e-contact-list-editor.c: Consistency - fixes with standard contact editor. Added Save As, Send As, and - Send To. Replaced Save toolbar with Save and Close and added Save - and Close menu item. Added a trash icon. - -2001-11-28 Christopher James Lahey <clahey@ximian.com> - - * gui/contact-editor/e-contact-editor-address.c (setup_tab_order): - Setup the tab order here. Fixes Ximian bug #13751. - -2001-11-28 Christopher James Lahey <clahey@ximian.com> - - * gui/component/addressbook.c (connect_master_list_changed, - make_suboptions): Changed how this list of categories gets - computed. Fixes Ximian bugs #7707 and #7708. - -2001-11-15 Zbigniew Chyla <cyba@gnome.pl> - - * printing/e-contact-print-envelope.c (ecpe_linelist_dimensions), - printing/e-contact-print.c (e_contact_divide_text, e_contact_output, - e_contact_rectangle, e_contact_print_letter_tab, - e_contact_print_letter_heading, e_contact_get_card_size, - e_contact_print_card, e_contact_print_phone_list): - s/gnome_font_get_width_string/gnome_font_get_width_utf8/ - s/gnome_font_get_width_string_n/gnome_font_get_width_utf8_sized/ - -2001-11-14 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (search_for_dn): check against - LDAP_SUCCESS as the return value, not -1. - (pas_backend_ldap_build_all_cards_list): same. - (pas_backend_ldap_process_authenticate_user): same. - -2001-11-12 Chris Toshok <toshok@ximian.com> - - [ Fixes Ximian bug #14843 ] - * backend/pas/pas-backend-ldap.c (func_and): don't crash if a - subexpression wasn't filled in. - - * backend/pas/pas-backend-ldap.c (func_or): same. - -2001-11-12 Jon Trowbridge <trow@ximian.com> - - * gui/contact-list-editor/e-contact-list-editor.c (list_added_cb): - Release callback's reference to EContactListEditor. - (list_modified_cb): Release callback's reference to - EContactListEditor. - (save_card): Ref the EContactListEditor on behalf of the - e_book_foo callback. (Fixes bug #14743) - (save_card): Set changed to false once we've saved. - (list_deleted_cb): Release callback's reference. - (delete_cb): Hold reference for the callback. - -2001-11-12 Jon Trowbridge <trow@ximian.com> - - * gui/contact-editor/e-contact-editor.c (categories_clicked): If - our call to e_categories_new returns NULL, put up an error dialog - and return. (Fixed #14780) - -2001-11-09 Chris Toshok <toshok@ximian.com> - - [ Fixes Ximian bug #14687 ] - * backend/pas/pas-backend-file.c - - * backend/pas/pas-book-factory.c - (pas_book_factory_process_request): do load_uri before add_client, - so we know if the load actually worked (add_client uses this - information to respond to the new client.) before this change, - the client would still think the book was in a useful state even - if the load_uri failed. - - * backend/pas/pas-backend-ldap.c (pas_backend_ldap_add_client): if - the we're not connected, say so. - - * backend/pas/pas-backend-file.c (pas_backend_file_add_client): - same. - (pas_backend_file_load_uri): don't report_writable here, - add_client does it. was only needed before because of the - improper ordering in pas-book-factory.c above. - -2001-11-09 Chris Toshok <toshok@ximian.com> - - [ Fixes Ximian bug #14646 ] - * gui/component/addressbook.c (addressbook_default_book_open): new - function. if the default_book failed to load, load the local - addressbook in its place. - addressbook_load_default_book): if we're loading the default_book - uri, use addressbook_default_book_open as the open_response. - - * backend/ebook/e-book.c (e_book_load_uri_step): reset the - load_state to NotLoaded so we can attempt another load_uri on - the book if it fails. - -2001-11-08 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-bonobo.c - (impl_destroy): Explicitly destroy entries. Part of the fix for - the lingering completion window bug. - -2001-11-04 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c: Use ordering of the pilot's phone - label list to find fields we sync in order to avoid strcmp'ing the - pilot's labels rendering phone syncing usable only for english - language pilots - -2001-11-03 Chris Toshok <toshok@ximian.com> - - [ Fixes Ximian bug #14410 ] - * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): - init in_async_call to FALSE. - (card_added_cb): turn the UI back on and set in_async_call to - FALSE. - (card_modified_cb): same. - (card_deleted_cb): same. - (save_card): turn off the UI by setting the dialog insensitive, - and set in_async_call to TRUE. - (delete_cb): same. - (app_delete_event_cb): if we're in an async call don't let the - window get deleted. - - * gui/contact-editor/e-contact-editor.h (struct _EContactEditor): - add in_async_call flag for when we make a wombat call and need to - disable the UI. - - * gui/contact-list-editor/e-contact-list-editor.c - (e_contact_list_editor_init): init in_async_call to FALSE. - (list_added_cb): turn the UI back on and set in_async_call to - FALSE. - (list_modified_cb): same. - (list_deleted_cb): same. - (save_card): turn off the UI by setting the dialog insensitive, - and set in_async_call to TRUE. - (delete_cb): same. - (app_delete_event_cb): if we're in an async call don't let the - window get deleted. - - * gui/contact-list-editor/e-contact-list-editor.h (struct - _EContactListEditor): add in_async_call flag for when we make a - wombat call and need to disable the UI. - -2001-11-02 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card-simple.c (e_card_simple_get): Check for - NULL dates before converting them to strings. Fixes Ximian bug - #14394. - -2001-11-02 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-bonobo.c - (impl_destroy): Leak select-names related data structures until - the memory management issues get sorted out. Fixed bug #14086. - -2001-10-31 Christopher James Lahey <clahey@ximian.com> - - * gui/component/e-cardlist-model.c, - gui/component/select-names/e-select-names-table-model.c, - gui/widgets/e-addressbook-table-adapter.c: Make the pre_changes - and changes match here. - -2001-10-31 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names.c - (e_select_names_destroy): Check that local_listener and - other_contacts_listener are non-NULL before - disconnecting/unrefing. - - * gui/component/select-names/e-select-names-manager.c - (entry_destroyed): The entry shouldn't unref the manager. - (e_select_names_manager_create_entry): The entry shouldn't hold a - ref to the manager. It becomes circular. - (e_select_names_manager_create_entry): On the other hand, we - should hold a ref to the entry we create. - - * gui/component/select-names/e-select-names-bonobo.c - (impl_destroy): Remove the explicit dialog destroy hack. - -2001-10-30 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-bonobo.c - (impl_destroy): Force the select names dialog to be destroyed. - This is a hack to fix bug #14002 -- I'll clean up the refcounting - issues post-freeze. At least now it won't crash. - -2001-10-30 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (ecard_from_remote_record): make sure - to translate the character sets of the names - -2001-10-30 JP Rosevear <jpr@ximian.com> - - * gui/component/select-names/e-select-names-bonobo.c - (manager_ok_cb): send a null bonobo arg to prevent explosion - -2001-10-30 JP Rosevear <jpr@ximian.com> - - * gui/widgets/e-addressbook-view.c: correct include typo - -2001-10-29 Jon Trowbridge <trow@ximian.com. - - * gui/widgets/e-minicard.c (add_field): Five characters, not four! - - * gui/widgets/e-addressbook-table-adapter.c - (addressbook_value_at): Convert xml-ified destinations into proper - addresses. - -2001-10-29 Jon Trowbridge <trow@ximian.com. - - * gui/component/select-names/e-select-names-bonobo.c (init): - Connect to manager's "ok" signal. - (manager_ok_cb): Emit "ok" bonobo-signal. - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_manager_class_init): Added "ok" signal. - (e_select_names_clicked): Emit 'ok' signal. - -2001-10-29 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-util.c - (e_addressbook_prompt_save_dialog): new function, a "Do you want - to save changes?" dialog. - - * gui/widgets/e-addressbook-util.h: add prototype for - e_addressbook_prompt_save_dialog. - - * gui/contact-editor/e-contact-editor.c (prompt_to_save_changes): - call e_addressbook_prompt_save_dialog and save the card if they - select save. return TRUE if the dialog should be closed, FALSE - otherwise. - (file_close_cb): check prompt_to_save_changes before closing the - dialog. - (app_delete_event_cb): same. - - * gui/contact-list-editor/e-contact-list-editor.c - (prompt_to_save_changes): call e_addressbook_prompt_save_dialog - and save the card if they select save. return TRUE if the dialog - should be closed, FALSE otherwise. - (file_close_cb): check prompt_to_save_changes before closing the - dialog. - (app_delete_event_cb): same. - -2001-10-29 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (add_objectclass_mod): overload - this function for modifying objectclasses too, so we can make sure - evolutionPerson shows up in the objectclasses of an entry if it - shows up in the schema for the server. - (create_card_handler): add @replace = FALSE in the call to - add_objectclass_mod. - (modify_card_handler): call add_objectclass_mod with @replace = - TRUE. - (anniversary_compare): fix typo - return "equal", not "TRUE". - (birthday_compare): same. - -2001-10-29 Jon Trowbridge <trow@ximian.com> - - * conduit/address-conduit.c (pre_sync): Comment out spew. - - * gui/contact-list-editor/e-contact-list-editor.c (fill_in_info): - Comment out spew. - - * gui/component/addressbook-component.c - (destination_folder_handle_drop): Comment out spew. - (get_dnd_selection): Comment out spew. - - * gui/widgets/e-addressbook-table-adapter.c - (addressbook_set_value_at): Comment out spew. - -2001-10-29 Jon Trowbridge <trow@ximian.com> - - * gui/component/addressbook.c (update_command_state): Check that - our BonoboUIComponent has a container so we don't get a lot of - annoying debug spew. - - * printing/smallbook.ecps: Fixed fonts. - - * printing/phonelist.ecps: Fixed fonts. - - * printing/medbook.ecps: Fixed fonts. - - * printing/e-contact-print.c (e_contact_get_card_size): Commented - out spew. - - * gui/widgets/e-minicard.c (remodel): Check that e_minicard->card - != NULL. - -2001-10-29 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-completion.c - (e_select_names_completion_destroy): We were using - book_data->book_view immediately after unrefing it. Reordered the - code a bit to avoid this. - -2001-10-29 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-book-factory.h: add prototype for - pas_book_factory_dump_active_backends. - - * backend/pas/pas-book-factory.c - (pas_book_factory_dump_active_backends): new function. - (dump_active_server_map_entry): new function. - -2001-10-29 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-completion.c - (make_match): Drop a match if either of the text fields is NULL. - This could happen if any of the utf-8 involved is invalid, for - example. (Bug #13757) - -2001-10-29 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (is_syncable): fix bug that allowed - for phone's not to be in priority order and the item to still be - syncable - - * conduit/address-conduit-config.h - (addrconduit_load_configuration): get management by id - -2001-10-29 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (is_syncable): a card also needs to - have its phone nums in priority order to be "syncable" - -2001-10-29 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (is_syncable): move the syncable - checking code to a different function - (ecard_from_remote_record): set the name parts individually - (local_record_from_ecard): use is_syncable - -2001-10-29 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card-simple.c (file_as_get_style, - file_as_set_style): Use the actual ECardName in the ECard instead - of parsing the full_name here. - -2001-10-29 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h - (e_card_simple_set_name): New function to set the ECardName on - this card and fix the file_as if necessary. - -2001-10-29 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h - (e_card_simple_get): Handle returning dates here. - (e_card_simple_get_allow_newlines): New function. Returns whether - it makes much sense to have newlines in this string. - - * gui/component/addressbook-config.c, - gui/component/addressbook-config.h - (addressbook_create_new_source): The first argument here should - be const. - - * gui/component/addressbook-storage.c: Added #include - "addressbook-config.h". - - * gui/widgets/e-minicard-label.c (e_minicard_label_event): On an - escape here, cancel editing and remove the focus from the text. - - * gui/widgets/e-minicard.c (add_field): Set allow_newlines here. - (field_activated): Stop editing on the activate signal and remove - the focus from the text. Fixes Ximian bug #12286. - -2001-10-28 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.h: tidy - - * conduit/address-conduit-config.h: ditto - - * conduit/address-conduit.c (add_record): unref ecard when done - -2001-10-28 Jon Trowbridge <trow@ximian.com> - - * backend/ebook/e-card.c (e_card_date_from_string): Expose this - function. - (e_card_date_to_string): ...and this one. Fixes build problem in - pas-backend-ldap.c. - -2001-10-28 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names.c - (e_select_names_hookup_shell_listeners): Change "this should never - happen" dialog to not give my name/e-mail. Sorry translators. - But this really should never happen, thanks to my fix below. - - * gui/component/addressbook-component.c: Initialize - global_shell_client to NULL. (Bug #6625) - -2001-10-27 Chris Toshok <toshok@ximian.com> - - [ bug #12979 ] - * backend/pas/pas-backend-ldap.c (anniversary_populate): new - function. - (anniversary_ber): new function. - (anniversary_compare): new function. - (birthday_populate): new function. - (birthday_ber): new function. - (birthday_compare): new function. - -2001-10-27 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-completion.c - (e_select_names_completion_destroy): free up all the book_data - list stuff. - (e_select_names_completion_got_book_view_cb): deal with book_data - being passed as the closure, and increment the - pending_completion_seq counter. - (e_select_names_completion_card_added_cb): deal with book_data - being passwd as the closure. - (e_select_names_completion_seq_complete_cb): same, and decrement - the pending_completion_seq if we haven't gotten one for this book - view before. - (e_select_names_completion_stop_query): cancel all the - book_data's. - (e_select_names_completion_start_query): use the books_not_ready - counter instead of book_ready. also, do e_book_get_book_view on - each of the book's in our list. - (e_select_names_completion_do_query): change to deal with our - list. - (e_select_names_completion_book_ready): decrement the - book_not_ready counter. - (e_select_names_completion_new): add the book we're created with - to our list. - (e_select_names_completion_add_book): implement. - - * gui/component/select-names/e-select-names-completion.h: add - prototype for e_select_names_completion_add_book. - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_manager_new): use addressbook_config_data, and - don't unref the db. - (e_select_names_manager_create_entry): always add NULL for a book - (which corresponds to the local book), and if the completion_book - is present, add it to the list of books to complete again. - -2001-10-27 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-quick-add.c (merge_cb): change to - EBookCallback signature, and unref the book. - (quick_add_merge_card): use addressbook_load_default_book. - (ce_have_book): change to EBookCallback signature, and unref the - book. - (edit_card): use addressbook_load_default_book. - - * gui/component/e-address-popup.c (email_table_save_card_cb): - change to EBookCallback signature, and unref the book. - (add_card_idle_cb): use addressbook_load_default_book, and call - the cb if it fails. - (e_address_popup_cleanup): fix type -- should be "pop->card = - NULL", not "pop = NULL". - (contact_editor_cb): change to EBookCallback signature. - (edit_contact_info_cb): use addressbook_load_default_book. - (start_query): change to EBookCallback signature. - (e_address_popup_query): use addressbook_load_default_book. - - * gui/widgets/e-minicard-control.c (book_open_cb): change to - EBookCallback signature, and unref the book. - (save_in_addressbook): use addressbook_load_default_book instead - of e_book_use_local_address_book. - - * gui/widgets/Makefile.am (INCLUDES): change includes since we're - including addressbook.h which has it's own set of funky include - path requirements. - -2001-10-27 Jon Trowbridge <trow@ximian.com> - - * backend/ebook/e-book.c (activate_factories_for_uri): Don't leak - stuff. (Bug #13709) - -2001-10-27 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-destination.c (name_and_email_simple_query_cb, - nickname_simple_query_cb): Set book_uri when cardification occurs. - -2001-10-27 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names.c - (e_select_names_add_section): Turned off use_ellipsis (it breaks - emulate_label_resize) and on emulate_label_resize. Fixes Ximian - bug #13693. - -2001-10-27 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-completion.c - (make_match): Doh! We should be sorting our contacts so that the - most frequently used ones are at the top of the list, not the - bottom. - - * backend/pas/pas-book.c (pas_book_check_queue): That should be a - bonobo_object_unref, not a gtk_object_unref. - (pas_book_queue_request): Likewise, we need to bonobo_object_ref - here. - (pas_book_destroy): If our pas_book_check_queue timeout is still - active, disable it. This should never happen, but it never hurts - to be careful. - (pas_book_destroy): Set book->priv to NULL after we free it. - -2001-10-27 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (local_record_from_ecard): copy phone - labels and show phone as well, clear correct entry text and - correctly detect unsyncable cases - -2001-10-27 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (local_record_from_ecard): touch the - record on lookup - (check_for_slow_setting): write touched only if we are doing a - slow sync - (card_removed): don't touch on lookup - (match): touch on lookup - -2001-10-27 Jon Trowbridge <trow@ximian.com> - - * backend/pas/pas-book.c (pas_book_check_queue): Added paranoid - reentrancy guards. - (pas_book_queue_request): Changed our idle handler into a timeout, - so as to work w/ reentrancy guards. - (pas_book_init): Explicit initialization. - -2001-10-26 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.h: add prototypes for - addressbook_config_database, and addressbook_load_default_book. - - * gui/component/addressbook.c (addressbook_config_database): new - function, so we aren't activating the db everywhere we need to use - it. - (addressbook_load_default_book): load the default book, after - getting the uri from bonobo-config. - -2001-10-26 Jon Trowbridge <trow@ximian.com> - - * backend/ebook/e-book-util.c (simple_query_card_added_cb): Return - on cancellation. - (simple_query_sequence_complete_cb): Act if not cancelled. - (simple_query_book_view_cb): Free & return on cancellation. - (e_book_simple_query_cancel): Set cancellation flag. - - * gui/component/e-address-popup.c (e_address_popup_query): Hold a - reference to ourselves for the duration of our addressbook fetch. - (start_query): Release when we've fetched our addressbook. - (e_address_popup_cleanup): Break out most of what we do in - _destroy into a separate function. - (e_address_popup_destroy): Class cleanup. - (contact_editor_cb): Paranoid clean-up. - (add_contacts_cb): Paranoid clean-up. - (e_address_popup_ambiguous_email_add): Paranoid clean-up. - -2001-10-26 JP Rosevear <jpr@ximian.com> - - * conduit/e-address.conduit.in: remove the merges as valid sync - types - - * conduit/address-conduit.c (pre_sync): write out only the touched - records if we are doing copies - - * conduit/address-conduit-config.h - (addrconduit_load_configuration): get the sync type - -2001-10-26 Jon Trowbridge <trow@ximian.com> - - * gui/component/e-address-popup.c (e_address_popup_destroy): - Cancel any pending queries. - - * gui/contact-editor/e-contact-editor.c (close_dialog): Don't - assert, but check if ce->app != NULL, since this function can - (apparently) get called multiple times. - - * gui/contact-editor/e-contact-save-as.c (file_exists): Remove bad - dialog ref-counting crap. - - * gui/contact-editor/e-contact-editor.c (save_card): Ref our - EContactEditor, since we are holding a pointer to it in - EditorCloseStruct. - (card_modified_cb): Unref our EContactEditor when we free our - EditorCloseStruct. - (card_added_cb): Unref our EContactEditor when we free our - EditorCloseStruct. - -2001-10-26 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (check_for_slow_setting): make debug - info more accurate - -2001-10-26 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (e_addr_context_destroy): prevent - double unref - (cursor_cb): correct typo - (card_removed): remove the card from the map if was archived and - is now deleted - -2001-10-26 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.h: new member - - * conduit/address-conduit.c (print_remote): free the struct after - using it - (e_addr_context_new): make consistent with other conduits - (e_addr_context_destroy): properly destroy the context - (cursor_cb): no need to ref the card, its done for us - (clear_entry_text): util function to free a field - (free_local): free a local record - (local_record_to_pilot_record): use a static buffer so we don't - have to free it later - (local_record_from_ecard): only fill in the fields we might not - sync, clear a field before replacing the contents - (for_each): track locals - (for_each_modified): ditto - (free_match): use free_local - -2001-10-26 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-minicard.c, gui/widgets/e-minicard.h - (set_has_cursor): Added has_cursor argument. Setting the argument - to TRUE if the minicard doesn't have focus will grab the focus. - Fixes Ximian bug #3024. - -2001-10-24 Jon Trowbridge <trow@ximian.com> - - * gui/component/addressbook-factory.c (main): Initialize - gnome-vfs. - - * gui/component/addressbook-component.c (xfer_file): Added. - (Copied from the calendar.) - (xfer_folder): Fixed to allow renaming of contact folders. - -2001-10-24 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-addressbook-view.c - (e_addressbook_view_class_init): Removed key_press handler here - since delete and backspace are now handled by keybindings. - -2001-10-23 Jon Trowbridge <trow@ximian.com> - - * gui/component/addressbook.c: Fix command paths when we specify - our pixmaps, so we don't get a lot of totally useless & very ugly - bonobo-ui spew. - - * backend/ebook/e-book-util.c (e_book_nickname_query): The empty - string as an arg shouldn't generate a warning. - - * gui/component/select-names/e-select-names-completion.c: Removed - our cancelled flag and e_select_names_completion_cancel function, - since we were just duplicating stuff that had ended up in - ECompletion. - (match_name): Form our menu_text properly on an additional-name - match. - (e_select_names_completion_got_book_view_cb): Store handles for - our signals, disconnect them properly when we switch book views. - (e_select_names_completion_stop_query): Disconnect signals when we - stop our query. - (check_capabilities): Spew if we are using LDAP for completion. - (e_select_names_completion_destroy): Disconnect our signals when - we destroy. - This all should fix bug #10241. - -2001-10-23 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names.c - (e_select_names_add_section): Set "draw_button" argument to TRUE - on this EEntry. - -2001-10-22 Christopher James Lahey <clahey@ximian.com> - - * gui/contact-editor/e-contact-save-as.c (save_it): Put up an - error dialog if there's an error while saving. If the person hits - cancel on the "file exists" dialog, don't close the file selection - dialog. Fixes Ximian bug #7055. - -2001-10-21 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-addressbook-reflow-adapter.c - (model_and_selection_free): right_click_up here when we let go of - the popup. - - * gui/widgets/e-minicard-view.c (e_minicard_view_selection_event): - right_click_up here. - -2001-10-21 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names.c - (e_select_names_add_section, e_select_names_set_default): Use an - EEntry here instead of a GtkLabel. Fixes Ximian bug #7067. - -2001-10-21 Jon Trowbridge <trow@ximian.com> - - * gui/component/addressbook.c (control_activate_cb): Call - e_addressbook_model_force_folder_bar_message when we activate the - component. (Fixes bug #11749) - - * gui/widgets/e-addressbook-model.c - (e_addressbook_model_force_folder_bar_message): Added. Forces - emission of a folder_bar_message. - -2001-10-20 Larry Ewing <lewing@ximian.com> - - * gui/component/select-names/e-select-names.c - (e_select_names_set_default): stick with the style font if the - efont bold font does not exist. - (e_select_names_set_default): don't forget to unref the oldstyle. - -2001-10-20 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-completion.c - (name_style_query): Fix memory leak. - - * gui/widgets/e-addressbook-view.c (jump_to_letter): Free our - string vector letter_v when we are done with it. - - * gui/contact-editor/e-contact-quick-add.c (edit_card): Unref our - QuickAdd structure. - - * gui/component/e-address-popup.c (e_address_popup_construct): - Unref our style after we are done with it. - -2001-10-20 Jon Trowbridge <trow@ximian.com> - - * backend/ebook/e-book.c (activate_factories_for_uri): We - shouldn't leak the info returned by oaf_query. - - * gui/contact-editor/e-contact-quick-add.c (card_added_cb): Remove - superfluous call to quick_add_unref. - (editor_closed_cb): Remove superfluous call to quick_add_unref. - - * gui/component/select-names/e-select-names.c (esn_get_key_fn): We - need to unref the card returned by e_addressbook_model_get_card. - -2001-10-20 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-component.c: Make LDAP servers - non-user-creatable. - -2001-10-20 Jon Trowbridge <trow@ximian.com> - - * printing/e-contact-print.c (e_contact_print_card): Check that the - string we are checking for xml-ness is non-NULL. - - * backend/ebook/e-destination.c (e_destination_importv): Filter - out empty destinations. (also Bug #13036) - - * printing/e-contact-print.c (e_contact_build_style): Use - gnome_font_new_closest; if gnome_font_new fails and returns NULL, - our spacing gets all messed up. (Bug #10785) - - * gui/widgets/e-addressbook-view.c (e_addressbook_view_can_print): - Allow printing if there are any cards in our view. The selection - has nothing to do with it. - - * backend/ebook/e-destination.c (e_destination_is_empty): Check - for strings that contain non-whitespace, rather than just looking - for a non-zero first character. (Bug #13036) - -2001-10-20 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-minicard-view.c (e_minicard_view_selection_event): - Handle focus_change in event by selecting that contact. Fixes - Ximian bug #3024. - - * gui/component/addressbook-component.c (owner_unset_cb): - Repeatedly call gtk_main_quit here as long as there is a main loop - around. This is an ugly hack around Ximian bug #11760. - -2001-10-20 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names.c: Added #include - <gal/widgets/e-unicode.h>. - - * gui/widgets/e-minicard-control.c: Made this display the number - of extra cards in the attachment as well as made it save them all - to the local addressbook if the person selects the button. Fixes - Ximian bug #9507. - -2001-10-20 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-minicard.c (e_minicard_event): Changed this to not - grab on a right click. Fixes Ximian bug #12660. - -2001-10-19 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-component.c - (destination_folder_handle_motion): Get @folder_type here too [to - match the changes in the EvolutionShellComponentDnd interface]. - Also, remove a debugging message. - (destination_folder_handle_drop): Likewise. - -2001-10-18 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names.c (add_menu_item): - Translate labels in select-names option menu. (Bug #9604) - - * gui/search/e-addressbook-search-dialog.c - (e_addressbook_search_dialog_init): Made the default window size - slightly wider. (Bug #7516) - -2001-10-18 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card.c, backend/ebook/e-card.h - (e_card_list_get_vcard): Made this take a const GList. - -2001-10-18 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-completion.c - (check_capabilities): Added. Check if our book is local or - networked. - (e_select_names_completion_book_ready): Call check_capabilities. - (e_select_names_completion_new): Call check_capabilities. - (e_select_names_completion_do_query): If we have a networked book, - keep trying if we haven't been able to cache any cards --- our - earlier attempts could have failed due to too many matches. (Bug - #12932) - - * gui/component/select-names/e-select-names-manager.c - (focus_out_cb): Lag our cardification on focus-out. This seems to - help with the unintended cardifications that can result from the - weird focus-out/focus-in events that get generated when the popup - disappears. - - * backend/ebook/e-card-compare.c: Removed some debug spew. - -2001-10-17 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-config.c (addressbook_source_dialog): - grab focus in the Account entry when preparing the dialog, fixes - #10406. - -2001-10-17 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names.c (new_folder): make - sure to also add "ldap-contacts" folders to the option menu. - -2001-10-17 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (ecard_from_remote_record): sync all - the fields we can, with out overwriting - (local_record_from_ecard): write the fields to the pilot in - priority order unless there are fields on the pilot we can't - store, then fill in the fields as they are on the pilot - -2001-10-17 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card.c (e_card_get_vobject): Did a bit of clean - up here. Might fix some crashes, specifically Ximian bug #10164. - - * gui/widgets/e-addressbook-view.c (SPEC): Updated the model - column numbers here. Fixes Ximian bug #12308. - -2001-10-17 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-file.c (pas_backend_file_upgrade_db): - add upgrade from 0.1 to 0.2, where we make sure id dbt's match - vcard id's, fixes longstanding bug (#7406) where cards were not - modifiable or removable after having been created during a 1-2 - week long window in early betas. - (PAS_BACKEND_FILE_VERSION): change to 0.2 - (PAS_ID_PREFIX): #define this here. - (pas_backend_file_create_unique_id): use PAS_ID_PREFIX instead of - the string. - -2001-10-16 Iain Holmes <iain@ximian.com> - - * backend/ebook/evolution-ldif-importer.c (support_format_fn): Return - FALSE if no extension. - -2001-10-16 Jon Trowbridge <trow@ximian.com> - - * backend/ebook/e-card.c (e_card_get_id): If card->id is NULL, - return an empty string. - (e_card_set_id): Don't allow the card id to be set to NULL; use - the empty string instead. - (e_card_get_vobject): When building our vcard, pass in the empty - string as the id if card->id is NULL. (Bug #10164) - -2001-10-16 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (local_record_from_ecard): don't set - the phone info if it is blank - (ecard_from_remote_record): save up to 3 fax numbers - -2001-10-15 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (pas_backend_ldap_add_client): - unref the book after we pass it off to evolution-addressbook. - -2001-10-15 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (create_card_dtor): unref - op->view. - (pas_backend_ldap_process_create_card): ref op->view. - (remove_card_dtor): unref op->view. - (pas_backend_ldap_process_remove_card): ref op->view. - (modify_card_dtor): unref op->view. - (pas_backend_ldap_process_modify_card): ref op->view. - (ldap_search_dtor): unref op->view. - (pas_backend_ldap_search): ref op->view. - -2001-10-15 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c - (pas_backend_ldap_process_get_book_view): make sure to unref the - book_view here so we don't leak them. - -2001-10-12 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-factory.c (main): call - e_passwords_init and e_passwords_shutdown. - -2001-10-15 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card.c (addPropValueQP, addPropValueSets, - e_card_get_vobject): Properly decide whether a property needs to - be marked as QP by searching for '\n'. Fixes Ximian bug #3021. - -2001-10-15 Christopher James Lahey <clahey@ximian.com> - - * gui/contact-editor/e-contact-save-as.c (e_contact_save_as, - e_contact_list_save_as): Set the default file name here. Fixes - Ximian bug #7053. - -2001-10-14 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names.c - (e_select_names_hookup_shell_listeners): Added linebreaks to our - "this shouldn't happen" dialog message. (Bug #12498) - -2001-10-12 Jon Trowbridge <trow@ximian.com> - - * gui/component/addressbook-factory.c (main): Add a component name - to the e_passwords_init() call. - -2001-10-12 Chris Toshok <toshok@ximian.com> - - * backend/ebook/evolution-ldif-importer.c: commit the importer - originally from Michael M. Morrison, with fixups by toshok. - - * backend/ebook/Makefile.am (bin_PROGRAMS): add - evolution-ldif-importer. - (oaf_in_files): add - GNOME_Evolution_Addressbook_LDIF_Importer.oaf.in. - - * backend/ebook/e-card-simple.h: add WANTS_HTML and IS_LIST. - - * backend/ebook/e-card-simple.c (field_data): add WANTS_HTML and - IS_LIST. - (e_card_simple_set): fix typo. - - * backend/ebook/.cvsignore: ignore - GNOME_Evolution_Addressbook_LDIF_Importer.oaf and - evolution-ldif-importer. - - * backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.oaf.in: - ldif importer oafinfo. - -2001-10-12 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h: - Added a boolean type here. - -2001-10-12 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names.c - (addressbook_model_set_uri): Check to see if the uri we are - setting is the same as the current uri. If so, do nothing. - (Bug #11324) - -2001-10-11 Jon Trowbridge <trow@ximian.com> - - * backend/ebook/e-destination.c - (e_destination_reverting_is_a_good_idea): Added. Heuristic for - whether or not we want to revert to an earlier cardified state. - (e_destination_cardify): Don't be quite as aggressive about - reverting to previous cardified states. (Bug #11890) - -2001-10-11 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card-simple.c (e_card_simple_destroy, - fill_in_info, e_card_simple_sync_card, e_card_simple_set_phone, - e_card_simple_set_address, e_card_simple_set_delivery_address, - file_as_get_style, file_as_set_style, e_card_simple_set, - e_card_simple_set_arbitrary), - gui/contact-editor/e-contact-editor-address.c - (e_contact_editor_address_destroy, - e_contact_editor_address_set_arg, - e_contact_editor_address_get_arg), - gui/contact-editor/e-contact-editor-fullname.c - (e_contact_editor_fullname_destroy, - e_contact_editor_fullname_set_arg, - e_contact_editor_fullname_get_arg), - gui/contact-editor/e-contact-editor.c (phone_entry_changed, - address_text_changed, name_entry_changed, full_name_clicked, - full_addr_clicked, fill_in_info): Changed these to use the new ref - and unref functions for ECard auxillary types. - - * backend/ebook/e-card-simple.h: Added a comment. - - * backend/ebook/e-card-types.h: Added ref_count field to all the - types. - - * backend/ebook/e-card.c, backend/ebook/e-card.h: Added ref and - unref functions here for all the ECard auxillary types. Removed - the corresponding free functions. Switched to using these - functions where appropriate. - - * gui/component/addressbook-factory.c: #include - <e-util/e-passwords.h> - - * gui/component/addressbook.c (load_uri_cb): const correctify. - - * gui/component/select-names/e-select-names-manager.c, - gui/component/select-names/e-select-names.c: #include - <addressbook/gui/component/addressbook.h> - - * gui/widgets/e-addressbook-model.c (modify_card): Removed an - unnecessary ref here. - -2001-10-11 Dan Winship <danw@ximian.com> - - * gui/component/select-names/e-select-names.c (update_folder): - Don't need this any more. - -2001-10-11 Jon Trowbridge <trow@ximian.com> - - * gui/component/addressbook.c (new_contact_cb): Check that - view->view != NULL. - (save_contact_cb): Check that view->view != NULL. - (search_cb): Check that view->view != NULL. - (delete_contact_cb): Check that view->view != NULL. - (print_cb): Check that view->view != NULL. - (print_preview_cb): Check that view->view != NULL. - (stop_loading_cb): Check that view->view != NULL. - (cut_contacts_cb): Check that view->view != NULL. - (copy_contacts_cb): Check that view->view != NULL. - (paste_contacts_cb): Check that view->view != NULL. - (select_all_contacts_cb): Check that view->view != NULL. - (send_contact_cb): Check that view->view != NULL. - (send_contact_to_cb): Check that view->view != NULL. - (update_command_state): Check that view->view != NULL. Hold a - reference to the AddressbookView for the duration of the function, - in case we exit during bonobo-reentrancy. - (addressbook_view_ref): Added. - (addressbook_view_unref): Added. Simple ref counting for - AddressbookView objects. - (addressbook_view_clear): Zero out an AddressbookView. This is - now separated from the deallocation of the AddressbookView object, - so that we don't leave a dangling pointer if we exit during - bonobo-reentrancy in update_command_state. (Which often seems to - happen if we exit while addressbook operations are going on.) - (destroy_callback): Replace previous call to addressbook_view_free - with addressbook_view_clear/addressbook_view_unref calls. - (addressbook_factory_new_control): Initialize the reference count - in the AddressbookView object. - - * gui/widgets/e-addressbook-view.c (e_addressbook_view_destroy): - Carefully zero out our destroyed object. - (command_state_change): Hold a reference to ourselves during the - signal emission. - (get_selected_cards): Ref cards as we add them to the list. - (e_addressbook_view_stop): Check for view != NULL. - (e_addressbook_view_can_create): Check for view != NULL. - (e_addressbook_view_can_print): Check for view != NULL. - (e_addressbook_view_can_save_as): Check for view != NULL. - (e_addressbook_view_can_send): Check for view != NULL. - (e_addressbook_view_can_send_to): Check for view != NULL. - (e_addressbook_view_can_delete): Check for view != NULL. - (e_addressbook_view_can_cut): Check for view != NULL. - (e_addressbook_view_can_copy): Check for view != NULL. - (e_addressbook_view_can_paste): Check for view != NULL. - (e_addressbook_view_can_select_all): Check for view != NULL. - (e_addressbook_view_can_stop): Check for view != NULL. - - * gui/widgets/e-addressbook-model.c (addressbook_destroy): Be - careful about zeroing out our destroyed object. - - * backend/ebook/e-book-view.c (e_book_view_stop): Added. Stops - event processing in the underlying listener. - -2001-10-10 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_manager_destroy): If our select names dialog is - still around, destroy it. Otherwise, the dialog will hang around - after our composer goes away. - -2001-10-06 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-config.glade: add an Email Address - field/label/help text. - - * gui/component/addressbook-config.c - (addressbook_source_dialog_set_source): fill in the email entry - from the source. also, set the initial state of the email - label/entry. - (auth_checkbutton_changed): set the email label/entry - sensitive/editable if auth is turned on, and - insensitive/uneditable if it's off. - (addressbook_source_dialog_get_source): get the email address from - the email entry. - (addressbook_source_dialog): hook up the email entry to the - changed signal foo, as well as the focus handler for displaying - help text. - -2001-10-06 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_manager_new): db isn't a BonoboObject, so don't - bonobo_object_unref it! - -2001-10-05 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names.c - (addressbook_model_set_uri): e_book_load_uri -> - addressbook_load_uri. - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_manager_new): e_book_load_uri -> - addressbook_load_uri. - - * gui/component/addressbook.c (forget_passwords_cb): new function, - call e_passwords_forget_passwords. - (verbs): Add ContactsForgetPasswords. - (load_uri_auth_cb): new function, call the callback and free up - our closure stuff. - (load_uri_cb): once the uri is loaded, check if we're configured - to authenticate for it, and do so, using the e_passwords stuff. - (addressbook_load_uri): wrapper around e_book_load_uri. save off - the parameters and start the load-with-auth machinery. - (book_open_cb): remove all the auth stuff from here, as it's - handled elsewhere now. - - * gui/component/addressbook-factory.c (main): call - e_passwords_init. - - * gui/component/addressbook-component.c (user_create_new_item_cb): - e_book_load_uri -> addressbook_load_uri. - (destination_folder_handle_drop): same. - - * gui/component/addressbook.h: add prototype for - addressbook_load_uri (a wrapper around e_book_load_uri that also - handles authentication if the user selects it.) - -2001-10-05 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names.c - (real_add_address_cb): Check to make sure our call to - e_addressbook_model_get_card doesn't return NULL. - - * gui/widgets/e-addressbook-model.c - (e_addressbook_model_get_card): Chek that we aren't requesting a - negative row. - - * gui/contact-list-editor/e-contact-list-editor.c (add_email_cb): - Move to the bottom of the scrolled window, so we can see the - address we just added. - (table_drag_data_received_cb): Move to the bottom of the scrolled - window, so we can see the contact we just dropped. - - * gui/component/addressbook.c (addressbook_factory_new_control): - We don't own the string returned by e_categories_master_list_nth, - so terrible things will happen if we free it. (Bug 10916) - -2001-10-05 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-view.c (e_addressbook_view_set_arg): - don't set the editable field on the model - let the book do that. - (book_writable_cb): call writable_status to propagate a ui-change - event up (and sensitize the write-only toolbar buttons after you - authenticate with ldap.) - -2001-10-04 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-book.c (activate_factories_for_uri): for some - reason, matching on protocol is causing problems for me. - disabling it for now. - -2001-10-04 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-component.c: use ldap.png for ldap - contacts. - -2001-10-03 Iain Holmes <iain@ximian.com> - - * addressbook/gui/component/addressbook-storage.c - (addressbook_storage_setup): Only load_storages if you have LDAP. - (load_source_data): Only do stuff if you have LDAP. - -2001-10-03 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-addressbook-reflow-adapter.c (addressbook_height), - gui/widgets/e-minicard.c (remodel): Fixed these to determine the - fields to use properly. - -2001-10-02 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-completion.c - (name_style_query): Strip out commas before forming our query. - (match_name): Use e_card_compare_name_to_string_full, rather - than our crufty old matching code. Not only is this cleaner, - but that crufty old code was very broken when it came to - handling strings with whitespace. (Bug 8988) - (match_nickname): utf8 and bug fixes. - - * backend/ebook/e-card-compare.c - (e_card_compare_name_to_string_full): Added. This is basically - e_card_compare_name_to_string with a bunch of extra options, so - that it can more readily be reused in other contexts. - (e_card_compare_name_to_string): This is now just a call to - e_card_compare_name_to_string_full with the extra args filled in - to defaults that simulate the old behavior. - -2001-10-02 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-book.c (e_book_construct): remove most of the - oaf stuff from here. we do it in load_uri, where we'll have more - information (namely, the protocol we're using.) - (activate_factories_for_uri): do an oaf query to get a list of all - objects implementing our BookFactory interface and also supporting - the protocol used in the uri. - (e_book_load_uri): try activating book factories to handle this - uri, and start the iteration over the list. - (e_book_load_uri_from_factory): try and load the uri. - (e_book_load_uri_open_cb): callback function for the - BookFactory_openBook call - if it succeeds, call the user's - callback. otherwise step to the next factory. - (e_book_load_uri_step): go to the next factory in our list, and - error out if there are no more. - -2001-10-02 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names-model.c - (e_select_names_model_get_textification): Made the max length of - the textification be 2047 characters. Fixes Ximian bug #3021. - -2001-10-01 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (ecard_from_remote_record): if there - was no first name or last name, file as the company. - -2001-10-01 JP Rosevear <jpr@ximian.com> - - * backend/pas/pas-backend-file.c - (pas_backend_file_changes_foreach_key): if there is a db error, - assume deletion - (pas_backend_file_changes): write after all is done for efficiency - -2001-09-28 JP Rosevear <jpr@ximian.com> - - * backend/pas/pas-backend-file.c - (pas_backend_file_changes_foreach_key): g_strdup - (pas_backend_file_changes): ditto, make sure to free all data and - do a hash write after each add/remove - - * conduit/address-conduit.c (local_record_to_pilot_record): use - the local record category - (local_record_from_ecard): ndle the fields and category we don't - sync by making sure we don't overwrite them - -2001-09-27 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-book.c (e_book_construct): do an oaf query to - get a list of all objects implementing our BookFactory interface, - instead of just activating the one IID. this should really be a - global list, not a per EBook. - (e_book_load_uri): start the iteration over our list of - BookFactory's. - (e_book_load_uri_from_factory): try and load the uri. - (e_book_load_uri_open_cb): callback function for the - BookFactory_openBook call - if it succeeds, call the user's - callback. otherwise step to the next factory. - (e_book_load_uri_step): go to the next factory in our list, and - error out if there are no more. - -2001-09-27 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (local_record_from_ecard): use the old - record (if there was one) so as not to overwrite fields we don't - sync - (pre_sync): store the dbi in the context and don't make it object - data - -2001-09-26 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-book-factory.c (pas_book_factory_destroy): use - priv->iid instead of the hardcoded string here. - (pas_book_factory_activate): parameterize the factory's iid, as in - the calendar server, and provide a default if iid == NULL. - - * backend/pas/pas-book-factory.h: add iid parameter for - pas_book_factory_activate. - -2001-09-26 Jon Trowbridge <trow@ximian.com> - - * backend/ebook/e-destination.c (e_destination_get_textrep): Use - camel_address_format, not camel_address_encode. - -2001-09-26 Anna Marie Dirks <anna@ximian.com> - - * gui/contact-editor/contact-editor.glade: Added help text (thanks - to Aaron) and re-worded the labels, and fixed the shortcuts on the - brand-spanking-new Collaboration tab. - - -2001-09-26 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-manager.h: add - completion_book. - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_manager_new): get /Addressbook/Completion/uri, and - if it's present, use the corresponding EBook for completing - addresses. - (focus_out_cb): use manager->completion_book here instead of NULL, - which corresponds to the local addressbook. - (completion_popup_cb): same. - (e_select_names_manager_create_entry): same. - -2001-09-26 Jon Trowbridge <trow@ximian.com> - - * backend/ebook/e-card-compare.c (e_card_compare_name_to_string): - Properly handle names when the individual elements (given, - addition, family) contain whitespace. (Bug #10502) - - * backend/ebook/e-destination.c (e_destination_set_name): Reset - textrep when we change the name. - (e_destination_set_email): Reset textrep when we change the email. - (e_destination_get_textrep): Make sure that the textrep version of - the address is properly quoted if it contains unsafe characters. - (All related to bug #10796) - - * gui/component/select-names/e-select-names-completion.c - (match_nickname): Fix nickname matching. (bug #9698) - (make_match): Use e_completion_match_new when building our match, - rather than ad hoc manipulation of the struct. - -2001-09-26 JP Rosevear <jpr@ximian.com> - - * backend/pas/pas-backend-file.c (pas_backend_file_changes): set - the last_use and use_score fields of the card to known values so - the card doesn't register as changed when only they have changed - -2001-09-26 Peter Williams <peterw@ximian.com> - - * conduit/address-conduit.c (ecard_from_remote_record): Fix this function - to set email addresses properly, and handle multiple occurrences of - email addresses, home phone numbers, and business phone numbers. - -2001-09-25 Christopher James Lahey <clahey@ximian.com> - - * gui/component/addressbook-component.c (user_create_new_item_cb): - Handle creating the new contact in the current folder if it's a - contacts folder. Fixes Ximian bug #7814. - -2001-09-24 Chris Toshok <toshok@ximian.com> - - * backend/pas/Makefile.am (LDAP_SCHEMA): add - evolutionperson.schema - (EXTRA_DIST): add LDAP_SCHEMA to the dist (but don't install it). - -2001-09-23 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (ecard_from_remote_record): sync the - note the to pilot and make sure to blank fields when appropriate - (local_record_from_ecard): sync the note to the desktop - -2001-09-22 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-file.c (do_create): g_free (id) in the - error case to plug a memory leak. - -2001-09-22 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-minicard.c (remodel): when creating the cards, - don't display any of the subname fields (surname, given, middle, - suffix, etc.) - -2001-09-22 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-card-simple.c - (e_card_simple_get): add getters for the additional name fields. - (field_data): move FAMILY_NAME to the end of the list, and add - GIVEN_NAME, ADDITIONAL_NAME (middle name), and NAME_SUFFIX. - - * backend/ebook/e-card-simple.h: same. - -2001-09-21 Christopher James Lahey <clahey@ximian.com> - - * gui/component/addressbook.c (print_preview_cb): Hooked up print - preview button. - - * gui/widgets/e-addressbook-view.c, - gui/widgets/e-addressbook-view.h - (e_addressbook_view_print_preview): Added this function. - - * printing/e-contact-print.c, printing/e-contact-print.h - (e_contact_print_preview): Added this function. - -2001-09-19 Jon Trowbridge <trow@ximian.com> - - * backend/ebook/e-destination.c (name_and_email_simple_query_cb): - Use the default e-mail address if we have nothing else to go on. - Previously we just failed, which basically meant that name-only - searches would never work properly. - (nickname_simple_query_cb): The logic was a bit tangled here; if - our query status isn't SUCCESS, always give up but don't leak the - destination. And if our nickname query fails and we try the - name-and-email query, use the textrep for a name-only search. The - only reason we are doing a nickname query in the first place is if - we have an obviously invalid e-mail. - (launch_cardify_query): Use e_destination_is_valid to determine - if we should try a nickname query first. - These changes basically fix bug 7728, and generally make the - auto-cardification of addresses a lot more clever and robust. - - * backend/ebook/e-book-util.c (name_and_email_cb): Use - e_card_compare_name_to_string instead of e_card_name_match_string. - (e_book_name_and_email_query): The arguments to g_strsplit were - in the wrong order. Doh! - - * backend/ebook/e-card-compare.c (e_card_compare_name_to_string): - Added. Replaces e_card_name_match_string, and actually works. - - * backend/ebook/e-card.c: Removed e_card_name_match_string - function, which didn't work particularly well. - -2001-09-19 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (cursor_cb): don't add to the complete - list of cards if the card is a list - (card_added): don't add to the list of changes if the card is a - list - (card_changed): ditto - (card_removed): ditto - -2001-09-19 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names.c - (e_select_names_hookup_shell_listeners): Change the "this should - never happen" message into a request for people to e-mail me - directly with info if they encounter that error. - - * backend/ebook/e-book-util.c (e_book_name_and_email_query): - Freeing name[i] instead of namev[i] is a bad idea. (bug #10270) - - * gui/component/select-names/e-select-names-popup.c - (popup_menu_card): Properly handle our GnomeUIInfo labels so that - they won't be leaked if they are dynamic strings, so that they - will be i18n-correct, and so that underscores won't be interpreted - as key accelerators. What a PITA. Also, don't leak our - iterators. (Bug #10200.) - (popup_menu_list): The same GnomeUIInfo tweaking as in - popup_menu_card. - (popup_menu_nocard): Ditto. - -2001-09-18 JP Rosevear <jpr@ximian.com> - - * backend/ebook/e-card-simple.c (field_data): add caluri field data - - * backend/ebook/e-card.c (e_card_get_vobject): add the caluri - property when appropriate - (parse_caluri): handle read caluri - (e_card_class_init): add caluri arg - (e_card_destroy): free the caluri - (e_card_get_arg): return caluri arg - (e_card_set_arg): set caluri from arg - (e_card_init): init caluri to null - - * backend/ebook/e-card-simple.h: new simple field - - * backend/ebook/e-card.h: new member - - * gui/contact-editor/e-contact-editor.c (field_changed): util - callback to change the command state - (set_entry_changed_signal_field): hook up a change signal to above - (set_entry_changed_signals): use above function - - * gui/contact-editor/e-contact-editor.glade: Add collaboration - page and fields - -2001-09-18 JP Rosevear <jpr@ximian.com> - - * backend/pas/pas-backend-file.c - (pas_backend_file_build_cards_list): create a sexp and check if - the cards match before adding them to the list - (pas_backend_file_process_get_cursor): send extra param - -2001-09-18 Larry Ewing <lewing@ximian.com> - - * gui/component/select-names/e-select-names-completion.c - (book_query_process_card_list): unref the destination regardless - of whether we get an email addresss. - -2001-09-17 Larry Ewing <lewing@ximian.com> - - * gui/component/select-names/e-select-names-completion.c - (name_style_query): use g_strfreev. - (match_name): s/g_free/g_strfreev. - (match_file_as): s/g_free/g_strfreev. - - * backend/ebook/e-book-util.c (e_book_name_and_email_query): fix - the memory handling here. All there members of the vector need to - be freed all the time. - - * backend/ebook/load-pine-addressbook.c (parse_line): free the - string outside of the test that makes sure there are three - entries. - - * gui/component/select-names/e-select-names-completion.c - (match_nickname): don't malloc a match we will never use. - - * gui/widgets/e-addressbook-model.c (get_view): free the dup'd - capabilities. - -2001-09-17 Jon Trowbridge <trow@ximian.com> - - * backend/ebook/e-destination.c (e_destination_is_valid): We want - to assume that a destination that comes from a card is - automatically valid, but the right way to check that is by calling - e_destination_from_card, not by checking if dest->priv->card != - NULL. (Fixed bug #10017) - - * gui/component/select-names/e-select-names-completion.c - (match_name): Fixed a stupid bug was causing completion to fail - for contacts who have only one name. (The classic example we all - know and love is 'George <jirka@5z.com>') (bug #8353) - - * backend/ebook/e-card.c (e_card_list_send): Do the right thing if - the card we are trying to send to has no valid e-mail addresses. - (bug #10137) - - * gui/widgets/e-minicard.c (e_minicard_event): Code implicitly - assumed that event->button.button is 1, 2, or 3, causing disaster - when using a wheel-mouse. Fixed. (bug #9400) - -2001-09-16 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-editor.c (_phone_arrow_pressed): - use enable_widget instead of gtk_widget_set_sensitive. - (_email_arrow_pressed): same. - (_address_arrow_pressed): same. - (disable_widget_foreach): same. - (enable_writable_fields): same. - (set_editable): same. - (enable_widget): new function, using both gtk_widget_set_sensitive - and *_set_editable to allow the user to select text in GtkEntry's - and GtkText's. - - * gui/contact-editor/e-contact-editor-fullname.c - (e_contact_editor_fullname_set_arg): use set_editable as well as - set_sensitive, to allow the user to select text in GtkEntry's. - - * gui/contact-editor/e-contact-editor-address.c - (e_contact_editor_address_set_arg): same. - -2001-09-16 Chris Toshok <toshok@ximian.com> - - * backend/pas/evolutionperson.schema: fix syntax errors (which are - broken, imo...) - -2001-09-16 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-storage.h: reorder the LDAP scopes so - that they match the order of the option menus in the glade file. - - * gui/component/addressbook-config.c (auth_checkbutton_changed): - new function, mostly there to house some #ifdef'ed out code. - (option_menuitem_activated): new function, to keep track of - changes to the ldap scope optionmenu. - (addressbook_source_dialog_set_source): set the menu history as - well as the dialog's copy of the scope. - (addressbook_source_dialog_get_source): fill in the source's scope - from the dialog's copy, and add more #if the_ui_gods_smile_on_me - code. - (add_activate_cb): new function, add an activate callback for the - optionmenu's items. - (addressbook_source_dialog): more #if the_ui_gods_smile_on_me - code, always start the dialog on page 0, and hook up the - scope optionmenu's items. - -2001-09-15 Jon Trowbridge <trow@ximian.com> - - * backend/ebook/e-card-compare.c (e_card_compare_name): No - loose name matches on family names. (#8802) - - * gui/component/select-names/e-select-names-text-model.c - (e_select_names_text_model_activate_obj): We can't use NULL as the - first arg for e_addressbook_show_contact_editor anymore. Damn. - (#8535) - - * backend/ebook/e-book-listener.c (e_book_listener_stop): Make - "stop" do nothing but set the stopped flag, as in - e-book-view-listener.c. - (e_book_listener_destroy): Clean up our queue here, rather than in - e_book_listener_stop. - (response_free): Added. Move the rather lengthy bit of code - needed to free a EBookListenerResponse into one place. - (e_book_listener_check_queue): Properly deal with the stopped - flag. - (e_book_listener_queue_response): If the stopped flag is set, just - drop the incoming response. - - * backend/ebook/e-book-view-listener.c - (e_book_view_listener_stop): Make "stop" do nothing but set the - stopped flag. - (e_book_view_listener_destroy): Move all of the clean-up that used - to be in e_book_view_listener_stop here. This considerably simplifies - the logic required to avoid various race conditions. - (e_book_view_listener_check_queue): Properly deal with the stopped flag. - (e_book_view_listener_queue_response): Drop all incoming responses if - we are stopped. - -2001-09-14 Jon Trowbridge <trow@ximian.com> - - * backend/pas/pas-book.c (pas_book_queue_request): Hold a - reference to the book on behalf of our idle function. - (pas_book_check_queue): When we are finished, drop the reference - we've been holding on behalf of the idle function. - - * backend/pas/pas-backend-file.c - (pas_backend_file_process_create_card): Hold a reference to the - book_view while sending our notifications. - (pas_backend_file_process_remove_card): Hold a reference to the - book_view while sending our notifications. - - * gui/contact-editor/e-contact-quick-add.c (quick_add_unref): Remove - debugging spew. - - * backend/ebook/e-book-util.c: Remove a lot of unused code that - worked around bugs that have long since been fixed. - (simple_query_disconnect): Added. Breaks out the part of - simple_query_free that disconnect signals. - (simple_query_free): Replace code w/ a call to - simple_query_disconnect. - (simple_query_sequence_complete_cb): Call simple_query_disconnect - before executing the callback, so that our callbacks don't get - triggered by any book changes that might occur during that - callback. - - * backend/ebook/e-book-view-listener.c - (e_book_view_listener_check_queue): Changed to be consistent with - e_book_listener_check_queue. - (e_book_view_listener_queue_response): Also changed to use a - high-frequency timeout. - - * backend/ebook/e-book-listener.c (e_book_listener_check_queue): - OK, I've agonized over this stupid little function, and it should - now be race-free. - (e_book_listener_queue_response): We process our response queue in - a high-frequency timeout rather than an idle. Using an idle - function leads to some tricky race conditions and bad interactions - with bonobo's semi-broken attempts to take over event processing. - (e_book_view_listener_stop): Manually disable our timeout and - clean up. - -2001-09-14 Ettore Perazzoli <ettore@ximian.com> - - [Automake 1.5 fixes pointed out by Richard Boulton - <richard@tartarus.org>, as per #9258.] - - * gui/component/select-names/Makefile.am: Set CLEANFILES directly - instead of using `+='. - - * backend/pas/Makefile.am: Rename `LDAP_BACKEND_SOURCES' to - `LDAP_BACKEND_FILES'. - - * backend/ebook/Makefile.am: Set CLEANFILES directly instead of - using `+='. - -2001-09-13 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (pas_backend_ldap_connect): use - ldap_init. ldap_open is deprecated in openldap 2.x. - -2001-09-12 Iain Holmes <iain@ximian.com> - - * backends/ebook/evolution-vcard-importer.c (check_file_is_vcard): - Fix the check. - -2001-09-12 Larry Ewing <lewing@ximian.com> - - * backend/ebook/e-destination.c: free the values that are being - leaked here. - -2001-09-12 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-completion.c (match_email): - printf arguments were reversed by mistake. Fixed bug #9693. - -2001-09-09 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-popup.c - (popup_menu_list): Added. Treat right-clicks on a contact list as - a special case. - (e_select_names_popup): Check if we are dealing with a contact - list. - - * backend/ebook/e-book-view-listener.c - (e_book_view_listener_check_queue): See - e_book_listener_check_queue below. - (e_book_view_listener_queue_response): See - e_book_listener_queue_response below. - - * backend/ebook/e-book-listener.c (e_book_listener_check_queue): - Explicitly prohibit reentrancy. Use gtk-unref rather than - bobobo-unref. - (e_book_listener_queue_response): Hold a gtk-ref to the listener - while the idle function runs, not a bonobo-ref. As far as I can - tell, it is impossible to avoid a race condition here when we have - to worry about bonobo reentrancy. - - * gui/component/select-names/e-select-names-text-model.c - (e_select_names_text_model_insert_length): Alter a copy of the - original EDestination, rather than just using a new one. We need - to do this to preserve prior-card information for possible - reversion later. - (e_select_names_text_model_delete): Ditto. - - * backend/ebook/e-destination.c (e_destination_clear_card): When - clearing a destination where ->card != NULL, store it for possible - reversion later. - (e_destination_revert): If we have an old card stored, go back to - using it for the destination. - (e_destination_is_valid): Tries to detect obviously broken - addresses. - (e_destination_cardify): If our destination is invalid, first try - to cardify simply by reverting to an older card. - (e_destination_destroy): Unref any cached old card. - (e_destination_copy): Copy the old card information. - -2001-09-07 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names.c - (sync_table_and_models): Show all rows in the table, and then - remove the rows that correspond to entries in the - ESelectNamesModels in the children. - (real_add_address): Freeze/thaw our ESelectNamesModel, so that we - don't change our table while we are in the middle of iterating - over the selection. - (remove_address): Just delete the address from the - ESelectNamesModel, the signal handler will do the rest. - (selected_rows_foreach_cb): Call remove_address to do our dirty - work. - (e_select_names_add_section): Connect to the 'changed' signal from - the ESelectNamesModel, and call sync_table_and_models explicitly to - get our initial state correct. - - * gui/component/select-names/e-select-names-table-model.c - (fill_in_info): Deal with EDestinations in our table that don't - come from cards. - - * gui/component/select-names/e-select-names-manager.c: Added - another ESelectNamesModel* to the ESelectNamesManagerSection - struct. Called 'original_model', this contains a copy of the - model as it is when we begin using the SelectNames dialog. - (section_copy): Copy the original model. - (section_free): Free the original model. - (e_select_names_manager_add_section_with_limit): Initialize the - original model. - (e_select_names_clicked): I've changed the semantics of this - dialog quite a bit... no UI freeze can stop me! If OK is clicked, - we do nothing. If Cancel is clicked, we revert to the - 'original_model' copy of our address entry state before we started - editting. Finally, we close the dialog before any of thing. Doing - it last caused problems, because signals were being triggered - which had dangling pointers as their closures. - (e_select_names_manager_activate_dialog): Copy our current state - to the original model, and share the same ESelectNamesModel - between the dialog and the address entry in the composer.. - (e_select_names_manager_get_cards): Removed. It had been - #if 0/#endif-ed out for a while. - - * gui/component/select-names/e-select-names-model.c - (e_select_names_model_freeze): Added. - (e_select_names_model_thaw): Added. - (e_select_names_model_uncardify): Added. If possible, - "uncardifies" a specific model entry. - (e_select_names_model_changed): Changed to pay attention - to the freeze count. - - * gui/component/select-names/e-select-names-completion.c - (clean_query_text): Strip leading/trailing whitespace from - queries. - - * backend/ebook/e-destination.c (e_destination_uncardify): Added. - Converts a card-associated destination into a text-associated - destination w/ the e-mail address. - (e_destination_list_to_vector): Added. A convenience routine. - (e_destination_freev): Added. A convenience routine. - (e_destination_touchv): Added. I'm lazy. - -2001-09-08 Chris Toshok <toshok@ximian.com> - - (make_contact_editor_cb): show the right contact editor (the list - editor for list cards). - -2001-09-08 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-popup.c - (popup_menu_card): do the EDestination xml magic on email - addresses we put in the popup. - -2001-08-27 Zbigniew Chyla <cyba@gnome.pl> - - * gui/component/addressbook.c (addressbook_factory_new_control): - For every category: - - set .translate to FALSE (e_categories_master_list_nth returns - translated category name) - - convert category name in UTF-8 to locale's encoding - -2001-08-23 Zbigniew Chyla <cyba@gnome.pl> - - * gui/component/select-names/e-select-names-popup.c - (popup_menu_card): Fixed two bugs: - - missing coversion of contact name to GTK+ locale, - - passing dynamically created string (contact name) inside uiinfo struct - to gnome-app-helper functions. - Remember: these functions may change strings, trying to translate them! - (popup_menu_nocard): Ditto - -2001-09-07 Christopher James Lahey <clahey@ximian.com> - - * gui/component/addressbook-component.c: Removed unused factory - variable. - -2001-09-06 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-storage.c (notify_listener): new - function, notify the bonobo listener. - (remove_ldap_folder): track change to EvolutionStorage signal. - (create_ldap_folder): same, and make sure the type is - "ldap-contacts". - (load_source_data): folders that we create should have - "ldap-contacts" as their type. - (addressbook_storage_add_source): same. - - * gui/component/addressbook-component.c: (folder_types): add - "ldap-contacts", for display of ldap servers (they get their own - icon, and their own name in the Create New Folder dialog. - (create_view): use IS_CONTACT_TYPE since we support two folder - types now. - (create_folder): same. - (remove_folder): same. - (xfer_folder): same. - -2001-09-06 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-editor.c: (pixmaps): change - /Toolbar/ContactEditorSave to /Toolbar/ContactEditorSaveClose. - -2001-09-06 Chris Toshok <toshok@ximian.com> - - * gui/component/Makefile.am (INCLUDES): add -DEVOLUTION_IMAGESDIR. - - * gui/widgets/e-addressbook-view.c (card_deleted_cb): remove - status messages from here. - (e_addressbook_view_delete_selection): same. - - * gui/widgets/e-addressbook-model.c (sequence_complete): emit a - NULL status message along with the stop_state_changed. The null - status message will clear the status bar for this view. - - * gui/component/addressbook.c (set_status_message): use the - EvolutionActivityClient stuff. - - * backend/pas/pas-backend-ldap.c (view_destroy): remove status - message for abandoning a search. - (ldap_op_process_current): wrap status messages in _(). - (ldap_op_process): same. - (create_card_handler): same, and remove the notify_status for "" - and add a notify_complete call after the card is added. - (remove_card_handler): same. - (modify_card_handler): same. - (poll_ldap): wrap status messages with _(), and remove the "Search - Complete" message. - (ldap_search_handler): wrap status message. - - * backend/pas/pas-backend-file.c (pas_backend_file_search): use - _() on status messages, and make sure the last notify_* called is - notify_complete. - -2001-09-05 Ettore Perazzoli <ettore@ximian.com> - - [Fix #958, ShellComponents should not be created by factories, for - the addressbook.] - - * gui/component/addressbook-component.c - (GNOME_EVOLUTION_ADDRESSBOOK_COMPONENT_FACTORY_ID): Removed. - (GNOME_EVOLUTION_ADDRESSBOOK_COMPONENT_ID): New. - (create_component): Renamed from `factory_fn'. Just register the - thing on OAF. - (addressbook_component_factory_init): Just call it. - - * gui/component/GNOME_Evolution_Addressbook.oaf.in: Remove the - ShellComponentFactory. - -2001-09-04 Iain Holmes <iain@ximian.com> - - * backend/ebook/evolution-vcard-importer.c (load_file_fn): Return FALSE - if the file isn't a valid VCard file. - -2001-08-05 Zbigniew Chyla <cyba@gnome.pl> - - I18n fixes (mainly making buttons on the right side less Anglocentric :-) - - * backend/ebook/e-card-simple.c - (field_data): Marked "name" and "short_name" fields for translation. - (e_card_simple_get_name, e_card_simple_get_short_name): Return - localized version of the name (using U_() macro). - - * gui/contact-editor/e-contact-editor.c (set_entry_changed_signals): - Connect "changed" signal from "entry-web" entry to widget_changed. - (changing this field wasn't making "Save and Close" button sensitive) - - * gui/widgets/Makefile.am (glade_DATA): Removed alphabet.glade. - - * gui/widgets/e-addressbook-view.c - (button_labels, button_letters): New strings containing a list of - labels and "values" of all buttons placed on the right side of the - addressbook view (intended for localization). - (struct LetterClosure): Changed the type of letter field to gunichar. - (e_utf8_split): New function, similar to g_strsplit, but operates on - UTF-8 strings. - (jump_to_letter): Don't hardcode letters, build queries dynamically - using UTF-8 and localized letters stored in button_letters. - (connect_button): Removed. - (create_alphabet): Don't use glade file, build buttons manually using - (localized) labels from button_labels. Use (localized) values from - button_letters when creating LetterClosure. - - * gui/widgets/e-minicard-view-widget.[ch] - (e_minicard_view_widget_jump_to_letter): Changed the type of the - second argument from char to gunichar. - - * gui/widgets/e-minicard-view.c - (compare_to_utf_str): Renamed from compare_to_letter, now operates on - UTF-8 string. - (e_minicard_view_jump_to_letter): Changed the type of the second - argument from char to gunichar + conversion to UTF-8 string. - - * gui/widgets/e-minicard-view.h - (e_minicard_view_jump_to_letter): Changed the type of the second - argument from char to gunichar. - -2001-09-02 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-book.c (e_book_add_card, e_book_commit_card), - backend/pas/pas-backend-file.c (do_create), - backend/pas/pas-backend-ldap.c - (create_card_handler, remove_card_handler, modify_card_handler, - pas_backend_ldap_process_get_vcard, poll_ldap): Use - e_card_get_vcard_assume_utf8 instead of e_card_get_vcard here - since all internal communications and database storage are assumed - to be utf8. - - * backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h - (e_card_simple_duplicate): Simplified this function considerably. - (e_card_simple_get_vcard_assume_utf8): Added this function. - - * backend/ebook/e-card.c, backend/ebook/e-card.h (e_card_new, - e_card_load_cards_from_file, e_card_load_cards_from_string): Made - these functions pay attention to charset attributes. - (e_card_new_with_default_charset, - e_card_load_cards_from_file_with_default_charset, - e_card_load_cards_from_string_with_default_charset): New functions - that let you change the default charset from UTF-8. - (e_card_get_vcard): Made this write out charset attributes when - necessary. - (e_card_get_vcard_assume_utf8): New function that writes out a - card without writing out charset attributes. - - * backend/ebook/evolution-vcard-importer.c (book_open_cb), - backend/ebook/load-gnomecard-addressbook.c (book_open_cb), - backend/ebook/test-card.c (main), - gui/component/addressbook-component.c - (destination_folder_handle_drop), gui/contact-editor/test-editor.c - (main), gui/contact-list-editor/e-contact-list-editor.c - (table_drag_data_received_cb), gui/widgets/e-addressbook-view.c - (selection_received), gui/widgets/e-minicard-control.c - (pstream_load): Changed the default charset to be used here to - ISO-8859-1. - - * backend/ebook/load-gnomecard-addressbook.c (add_card_cb), - backend/ebook/load-pine-addressbook.c (add_card_cb), - backend/ebook/test-client-list.c (get_cursor_cb), - backend/ebook/test-client.c (get_cursor_cb, get_card_cb): Use - e_card_get_vcard_assume_utf8 to print out testing strings. - - * gui/component/select-names/e-select-names-model.c, - gui/component/select-names/e-select-names-model.h - (e_select_names_model_contains): Changed this to be const - EDestination *dest to fix a warning. - - * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): - Translate window title here. - -2001-08-31 Zbigniew Chyla <cyba@gnome.pl> - - * gui/component/addressbook-storage.c - (addressbook_get_other_contact_storage): s/_/U_/ - - * gui/widgets/e-addressbook-reflow-adapter.c (addressbook_compare): - Use g_utf8_collate. - - * gui/widgets/e-minicard.c (e_minicard_compare): - Ditto. - - * printing/e-contact-print.c (card_compare): - Ditto. - -2001-08-29 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_clicked): Use e_select_names_model_merge to - combine the selected names with any existing ones. This causes - you to not lose addresses typed directly into the entry while the - SelectNames dialog is up. (Bug #8058) - - * gui/component/select-names/e-select-names-model.c - (e_select_names_model_merge): Merge the contents of one - ESelectNamesModel into another, avoiding duplicates. - - * backend/ebook/e-destination.c (e_destination_equal): Added. - Determines if two destinations appear to refer to the same - recipient. - - * backend/ebook/e-card.c (e_card_list_send): Added cast to - g_free args to silence compiler warnings. - - * gui/contact-editor/e-contact-quick-add.c (quick_add_set_name): - Paranoia. Check that name != qa->name. - (quick_add_set_email): Check that email != qa->email. - (ce_have_book): Store the QuickAdd data structure in object data, - so that we can be extra-careful and avoid having a dangling - pointer floating around out somewhere as the closure for a signal. - Fixes bug #8155, I think. - (card_added_cb): Clear object data to ensure single unref. - (editor_closed_cb): Clear object data to ensure single unref. - - * gui/component/select-names/e-select-names-completion.c - (book_query_score): Make sure that comp->priv->query_text isn't - NULL. (Fixes bug #8195) - - * backend/ebook/e-book-listener.c (e_book_listener_check_queue): - This function can be re-entrant during the signal emission; Added - extra ref/unrefs and checks to avoid problems if this happens. - This is similar to my recent changes to - e_book_view_listener_check_queue. (Fixes bug #7400) - -2001-08-27 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-component.c: Get rid of a warning by - initializing the closing NULL element in folder_types correctly. - - * gui/component/select-names/e-select-names.c: Updated to match - the studlyCapsification of attributes in shell/Evolution*.idl. - -2001-08-27 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-completion.c - (sexp_file_as): Added. Generated queries against file_as. - (match_file_as): Added. Match results of queries against - file_as. (Bug #8152) - - * backend/ebook/e-book-view-listener.c - (e_book_view_listener_check_queue): Added ref/unref pair to make - sure that our listener doesn't get finalized during the signal - emission and leave us with a dangling pointer. (Bug #7661) - - * backend/ebook/e-card.c (e_card_list_send): Removed some debugging - spew that I left in by mistake. - - * gui/widgets/e-addressbook-model.c (create_card): Removed debugging - spew. - - * backend/ebook/e-card.c (e_card_list_send): Do the right thing if - the card we are trying to send to is a contact list. (Bug #6580) - -2001-08-27 Zbigniew Chyla <cyba@gnome.pl> - - * gui/widgets/e-addressbook-util.c (e_addressbook_error_dialog): - Display localized status string (added missing _()). - -2001-08-24 Jon Trowbridge <trow@ximian.com> - - * backend/ebook/e-destination.c (e_destination_set_card): Put a - freeze/thaw around our the set of operations that changes the - internal state of our card, so 'changed' signal callbacks won't be - invoked on a card in an intermediary state. This fixes the bug - that was causing the e-mail addresses in cards to be blank when - replying to a message. (An unexpected side-effect of toshok's - change on 8/22 to make sure that priv->email != NULL). - (e_destination_get_name): Code slightly rearranged for (IMO) - clarity. - -2001-08-23 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-minicard.c (e_minicard_event): add - BUTTON_PRESS_MASK so double clicks still work. - -2001-08-23 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.c (addressbook_query_changed): switch - "full_name" to "x-evolution-any-field" in all the queries where we - want to match all cards, since the backends universally handle - this special case more efficiently. - -2001-08-22 Jon Trowbridge <trow@ximian.com> - - * gui/contact-list-editor/e-contact-list-editor.c (extract_info): - In the GUI, the toggle is labelled "hide addresses", not "show - addresses" -- so we have to reverse the boolean value we read in. - (fill_in_info): Same bug as before: since the GUI reads "hide", we - have to initialize the toggle to '!show_addresses', not - 'show_addresses'. - - * backend/ebook/e-destination.c - (e_destination_list_show_addresses): Added. - (e_destination_xml_encode): Encode the value of - e_destination_list_show_addresses into the XML. - (e_destination_xml_decode): Read and store the "show_addresses" - flag. - -2001-08-22 jacob berkman <jacob@ximian.com> - - * gui/component/e-address-popup.c (emit_event): emit an event from - our event source - (contact_editor_cb): emit a destroy event so our control frame can - be destroyed. - (edit_contact_info_cb): emit a hide event so our control frame can - be hidden - (e_address_popup_cardify): - (add_contacts_cb): emit the destroy event - (e_address_popup_factory_new_control): don't unref our object at - widget destroy time as that was really really broken - (e_address_popup_factory_new_control): create an event source and - aggregate ourself with it - - * gui/contact-editor/e-contact-editor.c (enable_writable_fields): - display a nicer warning when we can't find a widget for a given - field - (e_contact_editor_raise): only raise if there is a window - - * gui/contact-editor/contact-editor.glade: name some widgets that - got unnamed, and set the first entry as defaultable - - * gui/contact-editor/e-contact-editor.c: envelope printing is - disabled in 1.0 - -2001-08-22 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-destination.c (e_destination_get_email): make - sure we don't get into a situation where priv->email == NULL. - -2001-08-21 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-minicard.c (e_minicard_event): if we're dragging, - drag_button_down won't be true in the BUTTON_RELEASE case, since - we set it to false in MOTION_NOTIFY once the threshold is reached. - (e_minicard_drag_end): remove this function, since it was needed - to work around a bug in gnome-canvas. - -2001-08-20 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names.c - (e_addressbook_create_ebook_table): Wrap our addressbook table - adapter in an ETableWithout, so that we can make addresses appear - and disappear when we remove/add them to the section lists - (To/Cc/Bcc) on the right of the dialog. - (real_add_address_cb): When we add an address, hide it in the main - list. - (e_select_names_init): Get pointer to our without table from the - table's object data, and store it. - (remove_address): When we remove an address, show it in the main - list. - (card_key): Added. Allocate a unique key from an ECard. - (esn_get_key_fn): Added. Callback for ETableWithout. - (esn_dup_key_fn): Added. Callback for ETableWithout. - (esn_free_gotten_key_fn): Added. Callback for ETableWithout. - (esn_free_duped_key_fn): Added. Callback for ETableWithout. - - * backend/ebook/e-card-simple.c (e_card_simple_get): Changed - E_CARD_SIMPLE_FIELD_NAME_OR_ORG to first try the FILE_AS - type. This allows the cards in the ESelectName dialog to - appear in proper sort order (i.e. as 'Doe, John' rather than - 'John Doe'). Fixes ximian #6002. - -2001-08-20 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-reflow-adapter.c - (e_addressbook_reflow_adapter_class_init): fix arg info - we're - only passing 1 GTK_TYPE_POINTER arg, not 2. - - * gui/widgets/e-minicard.c (e_minicard_event): lots of fixes for - DnD. For GDK_BUTTON_PRESS, we grab immediately. For - GDK_BUTTON_MOTION, we start the drag after a certain threshold, - and connect to the "drag_end" signal on our canvas so we'll know - when the drag is complete. For GDK_BUTTON_RELEASE, we release the - grab if we were dragging and get the event. - (e_minicard_drag_end): new function, just remove the pointer/gtk - grabs and disconnect. - - * gui/widgets/e-minicard.h (struct _EMinicard): add "gint - drag_button" - -2001-08-20 JP Rosevear <jpr@ximian.com> - - * backend/pas/pas-backend-file.c - (pas_backend_file_changes_foreach_key): use DB_NOTFOUND const - -2001-08-20 JP Rosevear <jpr@ximian.com> - - * backend/pas/pas-backend-file.c - (pas_backend_file_process_get_changes): null out card_sexp so that - we don't crash when copying - -2001-08-20 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c: fix warnings, get compiling again - - * conduit/address-conduit-config.h: remove c/p typos - - * conduit/address-conduit.h: ditto - - * conduit/Makefile.am: link against the static camel - -2001-08-20 Damon Chaplin <damon@ximian.com> - - * gui/contact-editor/e-contact-editor.c: use bigger Save icon for - toolbar. Used Delete icon in menu. - - * gui/component/addressbook.c: use 'Save As' icon rather than 'Save' - as it seems more appropriate. Also added delete icon for menu. - -2001-08-19 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-component.c: Update the folder list to - include a display name and a description. - -2001-08-19 Damon Chaplin <damon@ximian.com> - - * gui/component/addressbook.c: use new Cut/Copy/Paste/Save/Search - icons. - -2001-08-19 Christopher James Lahey <clahey@ximian.com> - - * gui/component/addressbook.c (set_folder_bar_label), - gui/widgets/e-addressbook-model.c, - gui/widgets/e-addressbook-model.h (update_folder_bar_message), - gui/widgets/e-addressbook-view.c, gui/widgets/e-addressbook-view.h - (folder_bar_message): Set the folder bar message here. Fixes - Ximian bug #4670. - - * gui/component/select-names/e-select-names-model.c (SEPLEN): Use - strlen(SEPARATOR) here so that if the separator changes the length - will work properly. - -2001-08-19 Christopher James Lahey <clahey@ximian.com> - - * gui/contact-editor/fulladdr.glade: Added full country list. - Fixes Ximian bug #5123. - -2001-08-18 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook.c: Hook up `delete-message.png' as the - icon for "ContactDelete". - * gui/contact-editor/e-contact-editor.c: Likewise. - -2001-08-17 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-storage.h: add prototype for - addressbook_get_other_contact_storage. - - * gui/component/addressbook-storage.c - (addressbook_get_other_contact_storage): rename register_storage - to this, and return the EvolutionStorage. - (load_source_data): register_storage => - addressbook_get_other_contact_storage. - (addressbook_storage_add_source): register_storage => - addressbook_get_other_contact_storage. - -2001-08-17 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-editor.c - (set_entry_changed_signals): connect to the "changed" signal on - "entry-web" to update command state. - -2001-08-17 Chris Toshok <toshok@ximian.com> - - * gui/contact-list-editor/e-contact-list-editor.c (list_added_cb): - call e_card_set_id on the list's card so we can continue to use - this dialog. also, call command_state_changed if we aren't - closing the dialog so the toolbar is properly sensitized. - (list_deleted_cb): always close the dialog after we successfully - delete a list. - - * gui/contact-editor/e-contact-editor.c (card_added_cb): call - e_card_set_id on the card so we can continue to use this dialog - (to modify or delete the card.) - (card_deleted_cb): always close the dialog after we successfully - delete a card. - -2001-08-17 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.c (addressbook_query_changed): call - e_sexp_encode_string on the search string the user types in so it - doesn't break sexp parsing in the wombat. - -2001-08-17 Damon Chaplin <damon@ximian.com> - - * gui/component/addressbook.c: changed to new print icon. - -2001-08-17 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names.c: (struct - ESelectNamesFolder): rename physical_uri to uri, since it includes - the addressbook.db for file: uris. - (e_select_names_folder_free): physical_uri => uri. - (e_select_names_option_activated): physical_uri => uri, and we - don't need to strdup_printf "addressbook.db" onto the end anymore. - (new_folder): if the physical_uri is a file: uri, append - /addressbook.db onto it. - (hookup_listener): new function, split out lots of code from - e_select_names_hookup_shell_listener. - (e_select_names_hookup_shell_listeners): rename - e_select_names_hookup_shell_listener to this, and hookup both the - local and "Other Contacts" listener, using hookup_listener. - (e_select_names_destroy): disconnect from the - other_contacts_listener and unref it. - - * gui/component/select-names/e-select-names.h (struct - _ESelectNames): add a listener for Other Contacts, and rename - "listener" to "local_listener." - -2001-08-17 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-completion.c - (e_select_names_completion_seq_complete_cb): If we get the - "sequence_complete" signal when we aren't searching, it means the - addressbook changed out from under us. Clear the search cache, so - that future completion requests won't use the out-of-date cached - data. Also, don't unref book_view... we leave the EBookView open - so that we can catch these addressbook changes. - (e_select_names_completion_do_query): Don't use the book_view - being non-NULL as a sign that another query is still running. - (e_select_names_completion_got_book_view_cb): Properly unref any - previous value in book_view. - -2001-08-17 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-addressbook-reflow-adapter.c - (e_addressbook_reflow_adapter_right_click), - gui/widgets/e-addressbook-view.c (table_right_click): Changed the - messages here in the right click menus. - -2001-08-17 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (view_destroy): unref our - card_sexp. - (create_card_handler): make sure to set the id of the vcard so it - gets properly transmitted back to the BookView, and notify all - matching BookViews to add the created card. - (remove_card_handler): notify all matching BookViews to remove the - card. - (modify_card_handler): notify all matching BookViews to modify the - card. - (pas_backend_ldap_process_get_book_view): init card_sexp based on - the view's search. - -2001-08-17 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-file.c - (pas_backend_file_book_view_copy): use card_sexp. - (pas_backend_file_book_view_free): same. - (vcard_matches_search): use the new pas_backend_card_sexp_match_vcard call. - (pas_backend_file_search): use card_sexp. - (pas_backend_file_process_get_book_view): same. - - * backend/pas/Makefile.am (libpas_a_SOURCES): add - pas-backend-card-sexp.[ch]. - -2001-08-17 Christopher James Lahey <clahey@ximian.com> - - * gui/component/addressbook-component.c (factory_fn): Added code - so the user can create a new contact or contact list from anywhere - in evolution. - -2001-08-16 Jeffrey Stedfast <fejj@ximian.com> - - * backend/pas/evolutionperson.schema: Added a closing paren. - -2001-08-16 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-completion.c - (e_select_names_completion_handle_request): Renamed from _begin to - match changes in gal 0.10.99.3. - - * gui/contact-editor/e-contact-quick-add.c (e_contact_quick_add): - Check that name != NULL before we start messing with it. - (Fixes bug #7329) - -2001-08-16 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-completion.c - (match_nickname): Boost scoring on an exact nickname match. - Manually addressify match. - (match_name): Manually addressify matches. - (book_query_score): Remove automatic addressification. - - * gui/component/addressbook.c (addressbook_query_changed): Minor - tweak to avoid a crash if we have a negative subid with id - ESB_CATEGORY. This should never happen. - (addressbook_menu_activated): Reset the entry/option when we - select "Clear". - Some changes to reflect renaming in ESearchBar. - - * gui/component/select-names/e-select-names-bonobo.c - (entry_set_property_fn): Cardify after importing destinations. - This might fix a problem that Damon is having. - -2001-08-15 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-config.glade: set title of initial - dialog to Addressbook Sources (bug #6704). - -2001-08-15 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-storage.c (create_ldap_folder): don't - let people add subdirs in the ldap server storage - everything is - toplevel there. - -2001-08-14 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c - (pas_backend_ldap_process_get_vcard): implement using - search_for_dn. - -2001-08-14 Federico Mena Quintero <federico@ximian.com> - - * gui/component/addressbook.c (addressbook_factory_new_control): - Tell the search bar to translate the subitem texts. - -2001-08-14 Jon Trowbridge <trow@ximian.com> - - * gui/component/addressbook.c (addressbook_factory_new_control): - Add "Any Category" option for category searches. - (addressbook_query_changed): Do the right thing on an - "Any Category" search. - -2001-08-14 Dan Winship <danw@ximian.com> - - * backend/pas/pas-backend-ldap.c: Fix up to match the - pas_book_new/get_vcard changes. - -2001-08-14 Christopher James Lahey <clahey@ximian.com> - - * gui/merging/e-card-merging-book-commit-duplicate-detected.glade: - Got rid of an extraneous _ here. - - * gui/widgets/e-addressbook-util.c (e_addressbook_error_dialog): - Changed Canceled to Cancelled here. Fixes Ximian bug #2465. - -2001-08-14 Christopher James Lahey <clahey@ximian.com> - - * backend/pas/pas-book.c (pas_book_respond_get_vcard): Oops, - forgot to write this function. - -2001-08-14 Christopher James Lahey <clahey@ximian.com> - - * gui/contact-editor/contact-editor.glade: Added focus targets - here. Fixes part of Ximian bug #5843. - -2001-08-14 Christopher James Lahey <clahey@ximian.com> - - * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): - Grab focus here. Fixes Ximian bug #2265. - -2001-08-14 Christopher James Lahey <clahey@ximian.com> - - * gui/component/addressbook.c (addressbook_factory_new_control): - (addressbook_query_changed): Fixed two const warnings here. - - * printing/e-contact-print-envelope.c, - printing/e-contact-print-envelope.h: Fixed some missing includes - here. - -2001-08-14 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-book-view.c (add_book_iterator): Call - e_card_set_book here. - - * backend/ebook/e-book.c (e_book_do_response_get_vcard): Call - e_card_set_book here. - - * backend/ebook/e-card.c, backend/ebook/e-card.h: Pulled out the - part where the uri is made part of the uid. Made uri a separate - field. Fixes Ximian bug #6490. - - * backend/ebook/e-destination.c, backend/ebook/e-destination.h: - Change this to use ECard's split uids and uris. - -2001-08-13 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (add_to_supported_fields): don't - g_strdup the stuff we're passing into e_list_append, since it does - the copy for us. - (check_schema_support): don't initialize supported_fields list - here, since there's a gross case where the programmer/user can - bring up the contact editor before the connection stuff is - finished, and we don't want to crash. - (pas_backend_ldap_init): move it here to we can guarantee it's - there. (bug #6546). - -2001-08-13 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-config.c - (addressbook_source_dialog_set_source): don't access source->auth - if source == NULL (bug #7086). - -2001-08-13 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-book-listener.c, - backend/ebook/e-book-listener.h, backend/ebook/e-book.c, - backend/ebook/e-book.h, backend/idl/addressbook.idl, - backend/pas/pas-backend-file.c, backend/pas/pas-book.c, - backend/pas/pas-book.h: Changed get_card to be asyncronous. - - * backend/ebook/e-card.c, backend/ebook/test-client.c: Changed - these to deal with the new get_card functionality. - -2001-08-11 Kjartan Maraas <kmaraas@gnome.org> - - * gui/component/select-names/e-select-names.c: Mark a string for translation. - * This fixes bug #7052 - * printing/e-contact-print.h: Add headers to make it stand on itw own. - * printing/e-contact-print.c: Marked some strings for translation. - * printing/e-contact-print-envelope.c: Same here. - -2001-08-10 Jon Trowbridge <trow@ximian.com> - - * gui/contact-editor/e-contact-quick-add.c (e_contact_quick_add): - Remove single- or double-quotes from names before sticking them - into the addressbook. (Bug #6499) - - * gui/component/addressbook.c (addressbook_query_changed): - Properly handle "Category is" queries by checking the search bar - suboption. - (addressbook_factory_new_control): Attach subitems corresponding - to all wombat categories to the "Category is" ESearchBarItem. - - * gui/component/addressbook.c: Set the ESearchBarItem - subitems explicitly to NULL. - -2001-08-10 Anna Marie Dirks <anna@ximian.com> - * gui/component/select-names/select-names.glade: did a little - packing-magic to get the two tables at bottom of this dialog - to seem to line up. - - *gui/component/select-names/e-select-names.c: changed the title - of this dialog to "Select Contacts from Addressbook". - -2001-08-09 Anna Marie Dirks <anna@ximian.com> - * gui/component/select-names/select-names.glade: redesigned - this dialog to fix bug #6815. - - *gui/component/select-names/e-select-names.c: connected the - widgets (or one of them anyway. clahey did the rest) for my - new and lovely glade file. - -2001-08-09 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.c: remove passwd_cb. - -2001-08-09 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-text-model.c - This change is dedicated to Jacob Berkman. - (e_select_names_text_model_insert_length): If the last character - we inserted was a "magic comma", remember its position. - (e_select_names_text_model_delete): If the last character we - inserted was a "magic comma", and if the next thing we do is to - hit backspace, delete both the comma and the extra whitespace we - added. - (e_select_names_text_model_init): Initialize our last magic comma - position. - -2001-08-09 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_manager_create_entry): Hook up some magic to - (basically) cardify an entry on focus-out. (What we do is actually - more complicated than that.) - - * gui/component/select-names/e-select-names-bonobo.c - (entry_set_property_fn): After we set an entry's text, try to - cardify it. We need to do this so that (for example) reply - e-mails get properly cardified. - - * gui/component/select-names/e-select-names-model.c - (e_select_names_model_duplicate): Use e_select_names_model_append, - rather than manipulating lists directly. - (e_select_names_model_insert): Connect "changed" signal proxy for - added EDestination. - (e_select_names_model_append): Ditto. - (e_select_names_model_replace): Ditto, and disconnect signals for - replaced EDestination. - (e_select_names_model_delete): Ditto on the disconnection. - (e_select_names_model_delete_all): Ditto. - (e_select_names_model_cardify): Added. Try to cardify a specified - EDestination. - (e_select_names_model_cancel_cardify): Added. Cancel the pending - cardification of a single EDestination. - (e_select_names_model_cardify_all): Added. Cardify all of the - EDestinations in the model. - (e_select_names_model_cancel_cardify_all): Added. Cancel's any - and all pending cardifications. - - * backend/ebook/e-destination.c (e_destination_class_init): Added - "changed" and "cardified" signals. - (e_destination_freeze): Added (static). - (e_destination_thaw): Added (static). - (e_destination_clear_card): Reset allow_cardify and - cannot_cardify, cancel any pending cardifications, and emit the - "changed" signal. - (e_destination_clear_strings): Emit the "changed" signal. - (e_destination_clear): Do freeze/thaw to prevent multiple signal - emissions. - (e_destination_set_card): Check that the card we are setting is - not equal to the current card, and emit the "changed" signal if we - are actually changing. - (e_destination_set_card_uri): Emit "changed" signal, if necessary. - (e_destination_set_name): Emit "changed" signal, if necessary. - (e_destination_set_email): Emit "changed" signal, if necessary. - (e_destination_set_html_mail_pref): Emit "changed" signal, if - necessary. - (use_card_cb): If we've just loaded/set the ECard, emit the - "changed" signal. - (e_destination_set_raw): Emit "changed" signal, if necessary. - (e_destination_allow_cardification): Added. - (e_destination_set_allow_cardification): Added. - (e_destination_cardify): Added. Tries to automatically convert - a string-based EDestination to one based on an ECard. - (e_destination_cardify_delayed): Added. Cardifies in a timeout. - (e_destination_cancel_cardify): Added. Cancels any pending - cardifications. - (e_destination_xml_decode): Added freeze/thaw. - - * backend/ebook/e-book-util.c (e_book_nickname_query): Added. A - canned simple query for nicknames. - - * backend/ebook/e-card.c (e_card_email_find_number): Added. Given - a card and an string containing an email address, return the index - number of the address inside of the card, or -1 if the address is - not found. - -2001-08-09 Chris Toshok <toshok@ximian.com> - - [ Fixes ximian bugs #5080, #6021, #6704, #6705 ] - - * gui/component/addressbook.c (book_open_cb): create our own - dialog that prompts for both the email address and the password. - the email address is stored in the source and filled in for the - user after the first time they enter one and press OK. - - * gui/component/addressbook-storage.c (create_ldap_folder): has a - return value, not a int* parameter. - (create_ldap_folder): new function, we can create ldap servers - from the File->New->Folder menu item now. - (register_storage): hook up the "create_folder" signal. - (addressbook_storage_init_source_uri): remove the file case, we - only build ldap uris here. - (load_source_data): remove the file source stuff, and handle - "emailaddr". - (save_source_data): call ldap_source_foreach directly. - (addressbook_source_free): remove file source stuff. - (addressbook_source_copy): same. - - * gui/component/addressbook-storage.h: get rid of all the file - source stuff from AddressbookSource, since this is only being used - for ldap servers. - - * backend/pas/pas-backend-ldap.c - (pas_backend_ldap_process_authenticate_user): look up the ldap - entry based on the provided email address and use the resulting - DN/passwd to authenticate. - - * gui/component/addressbook-config.c: pretty much gutted to make - it work with the new UI. - - * gui/component/addressbook-config.glade: new version from anna. - -2001-08-09 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-addressbook-view.c (SPEC): Upped the minimum width - on all addressbook columns to 75. Fixes Ximian bug #2773. - -2001-08-08 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-quick-add.c (ce_have_book): mark - the dialog as changed so the save button is immediately available. - - * gui/contact-editor/e-contact-editor.c (card_modified_cb): once - we save reset the change flag to false if we aren't closing the - dialog. - (card_added_cb): same. - (e_contact_editor_class_init): add a "changed" arg. - (e_contact_editor_set_arg): add setter for "changed". - (e_contact_editor_get_arg): add getter for "changed". - -2001-08-08 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-quick-add.c (ce_have_book): better - to assume that we can write to the local addressbook than that we - can't write to it :) - -2001-08-08 Chris Toshok <toshok@ximian.com> - - * gui/contact-list-editor/e-contact-list-editor.c (create_ui): - call e_pixmap_update so we can use the same save/save-as pixmaps - as the contact editor. - -2001-08-08 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-reflow-adapter.c (open_card): new - function, used by the context menu. - (e_addressbook_reflow_adapter_right_click): put "Open" at the top - of the menu. also, disable "Delete" if the addressbook isn't - writable. - -2001-08-08 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (rfc2254_escape): escape *, \, (, - and ), as per rfc2254. - (func_contains): escape the string. - (func_is): same. - (func_beginswith): same. - (func_endswith): same. - -2001-08-08 Nat Friedman <nat@ximian.com> - - * gui/widgets/e-addressbook-reflow-adapter.c (print_envelope): If 0'd out - since Envelope printing is disabled for 1.0. - * gui/widgets/e-addressbook-view.c (print_envelope): Likewise. - * gui/contact-editor/e-contact-editor.c (print_envelope_cb): Likewise. - - * gui/widgets/e-addressbook-reflow-adapter.c - (e_addressbook_reflow_adapter_right_click): Removed "Print - Envelope" menu item. - * gui/widgets/e-addressbook-view.c (table_right_click): Likewise. - * gui/contact-editor/e-contact-editor.c (verbs): Likewise. - -2001-08-07 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-storage.c (remove_ldap_folder): ifdef - this HAVE_LDAP. - -2001-08-07 Chris Toshok <toshok@ximian.com> - - * gui/search/e-addressbook-search-dialog.c - (e_addressbook_search_dialog_init): set the title of the window to - "Advanced Search". - -2001-08-07 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.c (search_cb): pass view->view instead - of the EBook. - (addressbook_search_menu_items): remove E_FILTERBAR_ADVANCED. - (addressbook_menu_activated): remove E_FILTERBAR_ADVANCED. - (addressbook_search_option_items): add "Advanced..." here. - (addressbook_query_changed): add special handling for Advanced... - - * gui/search/e-addressbook-search-dialog.h (struct - _EAddressbookSearchDialog): add EAddressbookView and remove the - model/adapter fields. Also fix prototype of - e_addressbook_search_dialog_new. - - * gui/search/e-addressbook-search-dialog.c - (e_addressbook_search_dialog_class_init): get rid of - set_arg/get_arg. - (button_press): set the query on the EAddressbookView, and always - close the dialog. - (e_addressbook_search_dialog_init): get rid of the minicard view, - and pack the other widgets accordingly. - (e_addressbook_search_dialog_new): pass EAddressbookView instead - of EBook. - (e_addressbook_search_dialog_destroy): remove model/adapter stuff. - -2001-08-07 Chris Toshok <toshok@ximian.com> - - [ Fixes bug #5066 ] - * gui/component/addressbook-storage.c (remove_ldap_folder): new - function, remove the source. - (register_storage): connect to the "remove_folder" signal so we - know when to remove the folder. - -2001-08-07 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (build_card_from_entry): use - g_strcasecmp since ldap attribute names are not case sensitive. - -2001-08-07 Chris Toshok <toshok@ximian.com> - - * gui/contact-list-editor/e-contact-list-editor.c - (table_drag_data_received_cb): make sure we update the changed - state if a successful drop happens. - -2001-08-07 Jason Leach <jleach@ximian.com> - - * gui/component/select-names/e-select-names.c - (e_select_names_init): Make the OK button the keyboard default - instead of Cancel. Bug #4942. - -2001-08-06 Radek Doulik <rodo@ximian.com> - - * backend/ebook/e-book.c (e_book_op_free): new EBookOp destructor - (e_book_unqueue_op): use e_book_op_free - (e_book_do_response_create_card): ditto - (e_book_do_response_generic): ditto - (e_book_do_response_get_cursor): ditto - (e_book_do_response_get_view): ditto - (e_book_do_response_get_changes): ditto - (e_book_do_response_open): ditto - (e_book_do_response_get_supported_fields): ditto - -2001-08-05 Radek Doulik <rodo@ximian.com> - - * backend/ebook/e-book.c (e_book_do_response_get_view): set - op->listener to NULL to catch possible use of freed op - (e_book_do_response_get_changes): ditto - - * backend/ebook/e-book-view-listener.c - (e_book_view_listener_check_queue): this callback could be (and - indeed is) called from signal emited above, - signal handler could call e_book_view_listener_stop, so we need to check - if idle is still set and if not we don't want to unref again - -2001-08-04 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card-compare.c (e_card_compare_name): Made it so - that if there's one less match than possible compares are - considered more VAGUE. Fixes Ximian bug #3400. - -2001-08-03 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names.c - (e_select_names_hookup_shell_listener): Check for storage != NULL - here. This shouldn't come up unless addressbook has crashed - previously within this session of evolution, but this is just a - bit of insurance. Fixes Ximian bug #3699. - -2001-08-03 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card.c (e_card_name_match_string): Changed the - criteria of whether the first part of each iteration matched or - the second one did. Before it got it wrong sometimes and caused - the pointer to jump off the end of the array. Fixes Ximian bug - #4674. - -2001-08-03 Jason Leach <jleach@ximian.com> - - * gui/component/addressbook-storage.c (load_source_data): Update - for EvolutionStorage API changes. - (addressbook_storage_add_source): Ditto. - -2001-08-03 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-addressbook-view.c (jump_to_letter): Made this - change the query based on which letter is clicked. Fixes Ximian - bug #2202. - -2001-08-03 Christopher James Lahey <clahey@ximian.com> - - * gui/component/addressbook.c (addressbook_factory_new_control): - Fixed warnings here. - - * gui/component/select-names/e-select-names-completion.c - (hash_cleanup_fn): Removed this unused function. - -2001-08-03 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card-simple.c (e_card_simple_sync_card, - fill_in_info): Made the list of E_CARD_PHONE types in - phone_correspondences more complete by adding the new 5 - E_CARD_PHONE types. Also, made it a bit less restrictive for some - types (E_CARD_PHONE_HOME will actually match - E_CARD_SIMPLE_PHONE_ID_HOME now.) Made e_card_simple_sync_card - and fill_in_info search for an exact match in the list of - phone_correspondences and then look for a partial match. Got rid - of not going forward when doing a remove from an EList since EList - handles this case automatically. - - * backend/ebook/e-card-types.h: Added E_CARD_PHONE types for - assistant, callback, radio, telex, and ttytdd. - - * backend/ebook/e-card.c (get_phone_flags, set_phone_flags): - Handle the new E_CARD_PHONE types. - -2001-08-02 Jon Trowbridge <trow@ximian.com> - - * printing/Makefile.am (ecpsdir): Add camel dependency. - - * gui/component/Makefile.am: Add camel dependency. - - * backend/ebook/Makefile.am: Add camel dependency. - - * gui/component/addressbook-factory.c (main): Properly init camel. - - * backend/ebook/e-destination.c (e_destination_clear_strings): - Clear ->raw. - (e_destination_is_empty): We aren't empty if ->raw is set.. - (e_destination_set_raw): Replaces e_destination_set_string. - (e_destination_get_name): Use camel's parser to extract the name - from ->raw. - (e_destination_get_email): Use camel's parser to extract the email - address from ->raw. - (e_destination_get_address): Use camel to produce properly quoted, - RFC-compliant addresses. Thanks camel! (Bug #5860) - - * gui/component/select-names/e-select-names-completion.c - (emailify_match): Always append an e-mail address, as long as it - doesn't have one already at it's beginning or end. Don't limit - self to just emailifying entries tied to cards with multiple - addresses. (I didn't really want to do this, but people seem to - like keeping multiple cards for the same person, and other - solutions (like scanning all matches for duplicate names, and only - emailifying those) just seemed like way too much work for such a - limited payoff.) - - * gui/component/select-names/e-select-names-text-model.c: - s/e_destination_set_string/e_destination_set_raw/. - - * gui/component/select-names/e-select-names-popup.c - (popup_menu_card): Quote _'s in our popup menus, so that "foo_bar" - doesn't get displayed as "foobar" w/ the 'b' underlined. (Bug - #5558) - (popup_menu_nocard): Ditto. - -2001-08-02 Jason Leach <jleach@ximian.com> - - * gui/component/addressbook.c (addressbook_factory_new_control): - Removed some extra padding and pack the addressbook view into a - frame with inward shadowing, just because it looks prettier. - - * gui/contact-editor/e-contact-editor.c: Use the updated Save, - Save As, and Print icons for the menus and toolbar. - -2001-08-02 Christopher James Lahey <clahey@ximian.com> - - * gui/component/addressbook.c: Added ContactsSaveAsVCard, - ContactsSendContactToOther, and ContactsSendMessageToContact verbs - here. - - * gui/widgets/e-addressbook-view.c, - gui/widgets/e-addressbook-view.h (e_addressbook_view_save_as, - e_addressbook_view_send, e_addressbook_view_send_to): New - functions to allow outside users to cause the addressbook to save, - send, or send a message to its selection. - -2001-08-01 Christopher James Lahey <clahey@ximian.com> - - * contact-editor/.cvsignore: Removed this file from this unused - directory. - -2001-08-01 Christopher James Lahey <clahey@ximian.com> - - * gui/contact-editor/Makefile.am: Added file-exists.glade. - - * gui/contact-editor/e-contact-save-as.c (file_exists), - gui/contact-editor/file-exists.glade: Added a dialog to ask the - user whether to replace an already existing file. Mostly from a - patch by Jos Dehaes. Fixes Ximian bug #2231. - -2001-08-01 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-book-view-listener.c - (e_book_view_listener_check_queue): Removed thrash checking code - here since thrashing shouldn't happen now that we've cleaned this - up some. - - * backend/ebook/e-book.c (e_book_do_response_get_view): Properly - handle cases where construction fails. - -2001-07-30 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/evolution-vcard-importer.c: Added #include - <e-util/e-path.h>. - -2001-07-23 Zbigniew Chyla <cyba@gnome.pl> - - * gui/component/addressbook-config.c (addressbook_source_dialog): - Convert translated string to UTF8 before calling put_html. - -2001-07-30 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-completion.c - (e_select_names_completion_do_query): Properly handle the case - where our "cleaned" completion is the empty string. This happens, - for example, if the query text is the string "\"". (Bug #5610). - - * backend/ebook/e-destination.c (e_destination_get_address_textv): - Reassure fejj that I'm not doing something stupid here. - (e_destination_get_address): Fix address quoting. This is a - stop-gap measure until I can change this code to use Camel's - superior address-handling routines. (Also Bug #5610) - -2001-07-30 Jason Leach <jleach@ximian.com> - - * gui/component/addressbook-storage.c (load_source_data): Fix a - return value bug, to make it so if it fails to load an - addressbook-sources.xml file (either a parse error or it doesn't - exist for example), it deregisters the storage. - (register_storage): Don't make a storage for users who don't have - LDAP support built in. Bug #1950. - -2001-07-30 Frederic Crozat <fcrozat@mandrakesoft.com> - - * addressbook/gui/component/addressbook-factory.c: Fix crashes - when gtkhtml is compiled with gconf support - -2001-07-27 JP Rosevear <jpr@ximian.com> - - * conduit/Makefile.am: Tidy ldadds - -2001-07-26 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-bonobo.c: Fixing a - small, stupid mistake; use e_select_names_model_get_textification - for the getter for "text". - - * backend/ebook/e-card.c: Removed some debugging chatter. - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_manager_create_entry): Store the completion - handler in the entry's object data. - - * gui/component/select-names/e-select-names-bonobo.c - (entry_get_property_fn): Added support for getting "destinations" - and "allow_contact_lists" properties. - (entry_set_property_fn): Added support for setting "destinations" - and "allow_contact_lists" properties. - (impl_SelectNames_get_entry_for_section): Added definitions for - "destinations" and "allow_contact_lists" properties. - - * gui/component/select-names/e-select-names-completion.c - (e_select_names_completion_get_match_contact_lists): Added. - (e_select_names_completion_set_match_contact_lists): Added. - Controls whether contact lists are offered as options during - completion. - (book_query_process_card_list): Check if match_contact_lists - is set before (duh!) matching on a contact list. - (e_select_names_completion_init): Set match_contact_lists - to TRUE by default. - -2001-07-25 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (func_contains): change the way - x-evolution-any-field is converted to an ldap query. it used to - be we'd nest queries like: (|(|(|(foo=*x*))(bar=*x*))(baz=*x*)). - now we build it like: (|(foo=*x*)(bar=*x*)(baz=*x*)). much more - efficient (both in the building, and on the server side no doubt). - -2001-07-25 Jon Trowbridge <trow@ximian.com> - - * backend/ebook/e-destination.c (e_destination_get_name): Properly dup - the results of e_destination_get_email. - - * gui/component/select-names/e-select-names-popup.c - (e_select_names_popup): Check that our destination isn't empty - before building our popup. (Bug #5250) - - * backend/ebook/e-destination.c (e_destination_is_empty): Made - argument const. - -2001-07-24 Jon Trowbridge <trow@ximian.com> - - * gui/contact-list-editor/e-contact-list-model.c: Added checks - for all of the args of the exposed functions, so that - we won't crash on bad inputs. (Related to bug #4856.) - -2001-07-24 Jason Leach <jleach@ximian.com> - - * gui/merging/e-card-duplicate-detected.glade: "_Add Anyway" to - "Add Anyway". - -2001-07-24 Jon Trowbridge <trow@ximian.com> - - * backend/ebook/e-destination.c (e_destination_get_name): Added - fallbacks for the name in the case of an e-card, to avoid the - "nameless contact" bug. - -2001-07-24 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-minicard.c (remodel): need the EDestination magic - here too for when we modify an already shown card. - - * gui/contact-list-editor/e-contact-list-model.c: make - parent_class static, just to be anal. - - * gui/contact-list-editor/e-contact-list-editor.c - (remove_entry_cb): removing entries changes the list, so flag it. - (table_drag_data_received_cb): restrict cards we add to lists to - be non-list cards. - (extract_info): clear out the email list in the card before we - repopulate it from the contact list model. - (fill_in_info): set the checkbox to active/inactive based on - thecard. - -2001-07-24 Chris Toshok <toshok@ximian.com> - - * gui/contact-editor/e-contact-editor.c (wants_html_changed): call - widget_changed. - (phone_entry_changed): same. - (email_entry_changed): same. - (address_text_changed): same. - (name_entry_changed): same. - (company_entry_changed): same. - (widget_changed): new function that we can either call or set as a - signal to change the "changed" flag on the dialog. - (set_entry_changed_signals): connect lots of "changed" signals on - widgets to widget_changed. - (add_lists): connect "changed" to widget_changed. - -2001-07-24 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names.c - (e_select_names_hookup_shell_listener): Check if - evolution_shell_client_get_local_storage returns CORBA_OBJECT_NIL, - which it should never do. If it does, print a warning in a dialog - and try to recover w/o crashing. (Bug #5193) - -2001-07-24 Dan Winship <danw@ximian.com> - - * backend/ebook/e-book-listener.c (e_book_listener_stop): Don't - stop the idle_queue and unref from here, since this might be - called from inside e_book_listener_check_queue, and we don't want - to return to that function with the listener having been - destroyed. - (e_book_listener_check_queue): Don't exit early if the queue is - stopped. Proceed through the check if the queue is NULL (which is - must be if the queue is stopped), and then reach the existing code - to remove the idle handler. Combined with the above, this fixes - ximian #4485 (again). This is not a plot to boost my - showstopper-bugfixing count by fixing the same bug over and over - again. - -2001-07-23 Dan Winship <danw@ximian.com> - - Re-fix for my 07-18 not-quite-fix. - - * backend/ebook/e-book-listener.c: Add a "stopped" flag like - EBookViewListener. - (e_book_listener_check_queue): Don't emit signals if the listener - is stopped. - (e_book_listener_queue_generic_response, etc): Don't queue - responses if the listener is stopped. - (e_book_listener_stop): Flush the queue and stop queue/emitting - further responses. - - * backend/ebook/e-book.c (e_book_unload_uri): Revert the previous - change and call e_book_listener_stop() instead. - - * backend/ebook/e-book-view-listener.c - (e_book_view_listener_stop): When removing an idle handler, unref - the listener as well, since e_book_view_listener_queue_response - will have ref'ed it. - -2001-07-22 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-component.c (remove_folder): Add a - @type arg. If the type is not "contacts", report an - `UNSUPPORTED_TYPE' error through the listener. Also, remove - `g_print()' debugging messages. - (xfer_folder): Likewise. - -2001-07-21 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-component.c: Make the "contacts" - folders user-creatable by setting `user_creatable' to %TRUE in the - `EvolutionShellComponentFolderType's. - -2001-07-18 Chris Toshok <toshok@ximian.com> - - [ patch contributed by Jos Dehaes <jos.dehaes@bigfoot.com> ] - - * gui/component/addressbook-storage.c (register_storage): new - function, register our evolution_storage. - (addressbook_storage_setup): remove storage registration from - here. - (load_source_data): register the storage here before we load - addressbook-sources.xml, and deregister it if there are no sources - listed. - (addressbook_storage_remove_source): unregister the storage if the - list of sources hits 0 length. - -2001-07-18 Dan Winship <danw@ximian.com> - - * backend/ebook/e-book.c (e_book_unload_uri): Flush the listener's - queue before unreffing it to ensure that it doesn't emit any more - "responses_queued" signals after the EBook is destroyed. - - * backend/ebook/e-book-listener.c (e_book_listener_check_queue, - e_book_listener_queue_response, e_book_listener_new): Use - bonobo_object_ref/unref rather than gtk_object_ref/unref. - - * backend/ebook/e-book-view-listener.c - (e_book_view_listener_queue_response, e_book_view_listener_new): - Likewise. - -2001-07-18 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-card-compare.c (simple_query_cb): prune the list - of cards that match our query using the avoid list here, instead - of using the avoid list in the query itself, since ldap can't - handle that. - (use_common_book_cb): remove the block of code including the avoid - list in the query sent to wombat. - -2001-07-17 Chris Toshok <toshok@ximian.com> - - [ Fixes bugs #4611 - crash searching in the name field at Bigfoot for "\" - and #4554 - general ldap search crash ] - - * backend/pas/pas-backend-ldap.c (func_contains): the length of - the big query string needs to take into account the length of the - footer as well as the header - fix random memory corruption here. - - * backend/pas/pas-backend-ldap.c (pas_backend_ldap_build_query): - list can be NULL, specifically if there's a parsing error in the - sexp, so deal with it. - -2001-07-17 Jon Trowbridge <trow@ximian.com> - - * backend/ebook/e-book-view-listener.c - (e_book_view_listener_queue_response): Hold a reference to our - listener while the idle function is active. - (e_book_view_listener_check_queue): Only unref the listener when - the idle function is finished. - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_clicked): Instead of replacing section->model with - source, copy source onto section->model with - e_select_names_model_overwrite_copy. #if 0/#endif out all of the - stuff related to ETextModels, because it doesn't make any sense to - me, and everything appears to work without it. - (Die bug #2059. Die! Die! Die!) - - * gui/component/select-names/e-select-names-model.c - (e_select_names_model_overwrite_copy): Added. Copies the contents - of one ESelectNamesModel onto another. - - * backend/ebook/e-destination.c (e_destination_copy): Made the argument - const. - - * backend/ebook/e-destination.c (e_destination_set_string): Removed - old, broken code and annoying g_messages. - - * backend/ebook/e-book-listener.c - (e_book_listener_queue_response): Hold a reference to the listener - while the idle function is active. - (e_book_listener_check_queue): Only release our reference to the - listener when the queue is empty. These two changes fix a race - condition, since the listener could be unrefed while the listener - was still active. (Seems to fix bug #4485) - -2001-07-17 Christopher James Lahey <clahey@ximian.com> - - * gui/contact-editor/contact-editor.glade, - gui/merging/e-card-duplicate-detected.glade, - gui/merging/e-card-merging-book-commit-duplicate-detected.glade, - printing/e-contact-print.glade: Patch from Taylor Hayward - <thayward@gjpc.com>. Added accelerators to a few dialogs. - -2001-07-16 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/Evolution-Addressbook-SelectNames.idl: - Added addSectionWithLimit to the SelectNames interface. - - * gui/component/select-names/e-select-names-bonobo.c - (impl_SelectNames_add_section_with_limit): Added. Implements - addSectionWithLimit. - (e_select_names_bonobo_construct): Set up as a BonoboEventSource. - (init): Listen for "changed" signals from our manager. - (manager_changed_cb): Notify our listeners if we get a changed - signal from our manager. - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_manager_class_init): Added a "changed" signal". - (section_copy): Propogate the signal connection. - (section_free): Disconnect the changed handler. - (e_select_names_manager_add_section_with_limit): Connect to the - new section's model, listening for changes. - (e_select_names_manager_activate_dialog): Connect to the "working - copy" model, listening for changes. - (e_select_names_manager_add_section_with_limit): Added. - (e_select_names_manager_add_section): Changed to just be a special - case of e_select_names_manager_add_section_with_limit. - - * gui/component/select-names/e-select-names-model.c - (e_select_names_model_set_limit): Added. Allows a max number of - names allowed in the model. - (e_select_names_model_get_limit): Added. Returns the limit. - (e_select_names_model_at_limit): Added. Returns TRUE if the - model is "full". - (e_select_names_model_insert): Check that we aren't at the - limit before inserting. Silently return if we are. - (e_select_names_model_append): Check that we aren't at the - limit before appending. Silently return if we are. - -2001-07-16 Chris Toshok <toshok@ximian.com> - - [ Fix bug #4705 - LDAP storage gets saved with corrupted binddn] - - * gui/component/addressbook-config.c (addressbook_dialog_apply): - call addressbook_storage_write_sources here after we're done - rebuilding them. - - * gui/component/addressbook-storage.c - (addressbook_storage_clear_sources): don't write the source file - here. - (addressbook_storage_add_source): same. - (addressbook_storage_remove_source): same. - (addressbook_storage_write_sources): new function, write the - source file out. - (addressbook_source_copy): g_strdup the binddn so we don't end up - free'ing it multiple times thanks to copies freeing theirs. - - * gui/component/addressbook-storage.h: add prototype for - address_storage_write_sources. - -2001-07-16 Iain Holmes <iain@ximian.com> - - * backend/pas/evolution-vcard-importer.c (ebook_create): Don't just - use the default directory. Use the directory that is passed into the - load file function. - -2001-07-15 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-destination.c (e_destination_set_string): - Commented out some unused variables and labels. - (e_destination_importv): Check for the xml not parsing correctly - and just return NULL here. - - * gui/component/select-names/e-select-names-model.c - (e_select_names_model_import_destinationv): Handle a NULL destv - here. - -2001-07-15 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-addressbook-view.c (table_drag_data_get): Added a - call to e_table_view_to_model_row here. - (e_addressbook_view_can_print, e_addressbook_view_can_delete, - e_addressbook_view_can_copy): If the selection model is NULL here, - return NULL (this was done before in a g_return_val_if_fail which - is only conditionally included.) - -2001-07-13 Christopher James Lahey <clahey@ximian.com> - - * gui/contact-editor/contact-editor.glade: Changed Company to - Organization here. - -2001-07-12 JP Rosevear <jpr@ximian.com> - - * backend/pas/Makefile.am: add ldap cflags - -2001-07-12 Jeffrey Stedfast <fejj@ximian.com> - - * backend/ebook/e-destination.c (e_destination_xml_decode): - Oops. I introduced my own bug, accidently set `email' to a - g_free'd pointer - eek! - -2001-07-12 Jeffrey Stedfast <fejj@ximian.com> - - * backend/ebook/e-destination.c (e_destination_importv): Optimized - the same way I optimized g_strsplit. If you use a GPtrArray - instead of a linked list, you save yourself from having to iterate - through the list an extra 3 times. - (e_destination_xml_decode): Do NOT, I repeat: do NOT! - e_utf8_xml1_decode something which is already in UTF-8 or you'll - corrupt it!! I smack thee who hath done this evil deed! - -2001-07-12 Iain Holmes <iain@ximian.com> - - * backend/e-book/evolution-vcard-importer.c (support_format_fn): - Check for no extension. Actually same as Jason's fix below :) but - also check the file contents. - -2001-07-12 JP Rosevear <jpr@ximian.com> - - * gui/component/addressbook-config.glade: add accelerators, - taylor's patch - -2001-07-12 Jason Leach <jleach@ximian.com> - - * backend/ebook/evolution-vcard-importer.c (support_format_fn): - Crash fix because strcmp() hates NULL arguments. Bug #3777. - -2001-07-11 Jason Leach <jleach@ximian.com> - - * gui/component/select-names/e-select-names.c (remove_cb): Added - some comments for clarity and fixed a pretty noticable bug with - how right click "Remove" was deleting more than it should with - consecutive runs. - -2001-07-10 Chris Toshok <toshok@ximian.com> - - * backend/pas/evolutionperson.schema: assign OID's to the schema - entries, and add schema support for contact lists. - -2001-07-10 Christopher James Lahey <clahey@ximian.com> - - * backend/pas/pas-backend-file.c (pas_backend_file_load_uri): Set - bf->priv->file_db before calling do_create. - -2001-07-06 Christopher James Lahey <clahey@ximian.com> - - * gui/component/addressbook-component.c (factory_fn): Fixed order - of arguments to evolution_shell_component_new. - -2001-07-08 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-text-model.c - (e_select_names_text_model_insert_length): Check that str isn't - the empty string before doing an insert. - - * backend/ebook/e-destination.c (e_destination_set_string): We were - being too smart for our own good here, and causing problems for - the completion code... (bug #4253, bug #4255, bug #4280) - (e_destination_set_name): Clear any cached address. - (e_destination_set_email): Clear any cached address. - (e_destination_get_address): Handle the cases where the name - contains some e-mail information. - -2001-07-09 Kjartan Maraas <kmaraas@gnome.org> - - * gui/contact-list-editor/e-contact-list-editor.c: Marked a - string for translation. Also add the neccesary includes to make - _() macros work. - -2001-07-07 Jon Trowbridge <trow@ximian.com> - - * gui/widgets/e-minicard.c (add_field): Detect the embedded - EDestination XML, and convert it to a nice-looking e-mail address. - - * gui/contact-list-editor/e-contact-list-editor.c: Adjusted to - reflect changes to EContactListModel. (Yeah, this is vague, - but the changes are _really_ obvious and boring.) - - * gui/contact-list-editor/e-contact-list-model.c: Revamped - to make everything an EDestination, rather than storing either - cards or strings. - - * gui/component/select-names/e-select-names-text-model.c - (e_select_names_text_model_insert_length): Use - e_destination_get_textrep. - - * gui/component/select-names/e-select-names-table-model.c - (fill_in_info): Use e_destination_get_name and - e_destination_get_email. - - * gui/component/select-names/e-select-names-popup.c - (popup_menu_card): Use e_destination_get_name instead of - e_card_name_to_string. - (quick_add_cb): Use e_destination_get_address. - (popup_menu_nocard): Use e_destination_get_name. - - * gui/component/select-names/e-select-names-model.c - (e_select_names_model_changed): Removed obsolete debugging code. - (e_select_names_model_get_textification): Use e_destination_get_textrep. - (e_select_names_model_get_address_text): Use e_destination_get_address. - (e_select_names_model_get_string): Use e_destination_get_textrep. - (e_select_names_model_replace): Use e_destination_get_textrep. - (e_select_names_model_name_pos): Use e_destination_get_textrep. - - * gui/component/select-names/e-select-names-completion.c - (emailify_match): Match only if this isn't a contact list. - (match_email): Match only if this isn't a contact list. - (match_name): Do the right thing in the case of a contact list. - (book_query_process_card_list): Don't construct a match for - each possible e-mail address if this is a contact list. - - * backend/ebook/e-destination.c: Major-league de-crufting and - rationalization, combined with lots of hacks to make things work - properly with contact lists. - (e_destination_copy): Copy contact list info. - (e_destination_clear_card): Clear contact list info. - (e_destination_is_empty): If we contain a contact list, we aren't - empty. - (e_destination_set_card_uri): Added. Allows us to set a - destination by card URI. - (e_destination_set_name): Allows the contact's name only ("Jane - Smith") to be set. - (e_destination_set_email): Allows the contact's e-mail only - ("jane@assbarn.com") to be set. - (e_destination_set_string): Takes a free-form string containing a - contact's name and/or e-mail, and tries to do the right thing with - it. - (e_destination_contains_card): Renamed. Used to be - e_destination_has_card. - (e_destination_from_card): Added. Returns TRUE if the - EDestination comes from either a ECard (which we presently hold) - or is specified by an ECard URI. - (e_destination_use_card): Allows an EDestination's ECard to be - accessed, via a callback. If we only are holding the URI, the - card will be loaded and stored in the EDestination. - (e_destination_get_name): Returns the name only ("Jane Smith"), or - NULL. - (e_destination_get_email): Returns the email only - ("jane@assbarn.com"), or NULL. - (e_destination_get_address): Added. Returns a "full address" if - both the name & e-mail are available ("Jane Smith - <jane@assbarn.com>"), or just the e-mail if the name is unknown - ("jane@assbarn.com>"). If the destination is a contact list, - returns a comma-separated list of addresses. - (e_destination_get_textrep): Added. Returns a "text - representation" of the EDestination. This is what is now - displayed for completed, "cardified" destinations in addressbook - entries. - (e_destination_is_evolution_list): Check to see if this - destination is for a contact list. - (e_destination_xml_encode): Added. Build an XML data structure - representing an EDestination. - (e_destination_xml_decode): Added. Parse an XML data structure, - constructing an EDestination. - (e_destination_export): Added. Returns a null-terminated string - containing an XML representation of the EDestination, with - newlines and excess whitespace removed. - (e_destination_import): Added. Parses a string containing an XML - representation of an EDestination. - (e_destination_exportv): Added. Returns a null-terminated string - containing an XML representation of a collection of EDestinations, - with newlines and excess whitespace removed. - (e_destination_importv): Added. Takes an XML representation of a - collection of destinations, parses it, and returns a vector of - EDestinations. - - * backend/ebook/e-card.c (e_card_duplicate): Copy the ->book - pointer. - (e_card_get_id): Check that the argument is valid. - (e_card_set_id): Check that the argument is valid. - (e_card_get_book): Added. Return the EBook the ECard came from. - (e_card_get_uri): Added. Tries to returns a URI for the ECard, - which is of the form (EBook URI)/(ECard unique ID). Returns NULL - if the EBook URI or the ID are unknown/not set. - (e_card_get_vobject): If we have the URI, use it as the - VCUniqueStringProp, rather than just the ID. This is a hack to - make DnD work properly. - (parse_id): Detect if the unique ID we've been passed is a URI or - just a plain card ID, and do the right thing in either case. - (e_card_uri_extract_book_uri): Added. Convenience function for - parsing card URIs. - (e_card_uri_extract_card_id): Added. Convenience function for - parsing card URIs. - (e_card_load_uri): Added. Allows an ECard to be loaded by its - URI. - - * backend/ebook/e-book-view.c: Added a EBook * to the - _EBookViewPrivate struct. This is meant to contain the EBook the - EBookView is associated with. - (add_book_iterator): Added. A convenience function for attaching - the EBook to a GList of cards (if no EBook is already stored). - (e_book_view_do_added_event): Record the EBook in the added - ECards. - (e_book_view_do_modified_event): Record the EBook in the modified - ECards. - (e_book_view_set_book): Added. Stores a pointer to the - EBookView's "parent" EBook. - (e_book_view_init): Init book_view->priv->book to NULL. - (e_book_view_destroy): Unref book_view->priv->book. - - * backend/ebook/e-book.c: Added a uri field to _EBookPrivate. - (e_book_unqueue_op): Removed debugging spew. - (e_book_do_response_get_view): Attach the current EBook to the - created EBookView. - (e_book_do_response_get_changes): Attach the current EBook to the - created EBookView. - (e_book_load_uri): Save a copy of the uri in the EBook. - (e_book_get_uri): Added. Just returns book->priv->uri. - (e_book_get_card): Attach a pointer to the Ebook to the - newly-loaded ECard. - (e_book_add_card): Attach a pointer to the EBook to the - newly-added ECard. - (e_book_commit_card): Attach a pointer to the EBook to the - committed ECard. - (e_book_init): Initialize the uri to NULL. - (e_book_destroy): Free the uri string on destruction. - -2001-07-06 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-component.c (populate_context_menu): - Removed. [It was just bogus testing code for the right-click menu - populating interface in the shell]. - (factory_fn): Pass NULL as the PopulateContextMenuFn. - -2001-07-05 Anna Marie Dirks <anna@ximian.com> - - * gui/contact-list-editor/contact-list-editor.glade: - Added some accelerators, padding, and a "memebers" frame; - also fixed spacing and growth behaviour of this dialog. - -2001-07-05 Christopher James Lahey <clahey@ximian.com> - - * backend/pas/pas-backend-file.c (compare_category): Fix a memory - leak here. - -2001-07-05 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card-compare.c (match_search_info_free): Set - info->avoid = NULL. This shouldn't make a difference, but it - can't hurt. - -2001-07-05 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-addressbook-table-adapter.c - (addressbook_is_cell_editable): Check if the row is within our - table and return from this function as if the card is a standard - card, not a list. - -2001-07-03 Damon Chaplin <damon@ximian.com> - - * backend/ebook/Makefile.am (evolution_vcard_importer_LDADD): - added $(BONOBO_CONF_LIBS) to get it to compile. - -2001-07-02 Christopher James Lahey <clahey@ximian.com> - - * gui/component/Makefile.am (evolution_addressbook_LDADD): Added - $(BONOBO_CONF_LIBS). - - * gui/component/select-names/e-select-names.c - (e_select_names_create_categories), - gui/contact-editor/e-contact-editor.c (categories_clicked): - Switched to an ECategoriesMasterListWombat instead of an - ECategoriesMasterListArray here. - -2001-07-02 Peter Williams <peterw@ximian.com> - - * gui/contact-editor/Makefile.am (INCLUDES): srcdir != - builddir compile fix. - - * gui/contact-list-editor/Makefile.am (INCLUDES): Same. - - * gui/widgets/Makefile.am (INCLUDES): Same. - - * gui/search/Makefile.am (INCLUDES): Same. - -2001-07-02 Christopher James Lahey <clahey@ximian.com> - - * gui/contact-editor/e-contact-editor.c (categories_clicked): - Turned off wombatification of the categories master list here. - -2001-07-01 Chris Toshok <toshok@ximian.com> - - * gui/contact-list-editor/e-contact-list-editor.c (fill_in_info): - use ECARD_UID_LINK_PREFIX. - - * gui/contact-list-editor/e-contact-list-model.c - (e_contact_list_model_get_email): use ECARD_UID_LINK_PREFIX. - - * backend/ebook/e-destination.h: add prototype for - e_destination_importv_list. - - * backend/ebook/e-destination.c (e_destination_importv_list): new - function, take an ECard corresponding to an address list and - resolve any linked cards, returning an EDestination vector. - - * backend/ebook/e-card.h (ECARD_UID_LINK_PREFIX): #define this here, - since we need to use it in a few places. - -2001-07-02 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card.c, backend/ebook/e-card.h: Added - related_contacts field. - - * gui/component/select-names/e-select-names-model.c, - gui/component/select-names/e-select-names-model.h - (e_select_names_model_import_destinationv): Added this function. - - * gui/contact-editor/contact-editor.glade: Replaced the entry here - for related contacts with a table which is filled in in the C code. - - * gui/contact-editor/e-contact-editor.c, - gui/contact-editor/e-contact-editor.h (add_lists): Added a select - names entry here for the related contacts field. - - * gui/widgets/Makefile.am: Removed all the test programs here - since there are circular dependencies now. - -2001-07-01 Jon Trowbridge <trow@ximian.com> - - * backend/ebook/e-destination.c (e_destination_get_string): Fall - back to use the name field if all else fails (which can happen - with imported EDestinations). - - * backend/ebook/e-destination.c (e_destination_is_empty): Fix for the - "recipient not specified" bug --- we were not correctly checking - for whether or not an EDestination was actually empty. - -2001-06-30 Jon Trowbridge <trow@ximian.com> - - * backend/ebook/e-card.c (e_card_evolution_list): Check args. - Somewhere in the code (somewhere in the minicard stuff) this can - be called with a NULL arg, which was causing crashes. - (e_card_evolution_list_show_addresses): Check args. - - * backend/ebook/e-destination.c (build_field): I was accidentally - comparing characters and strings here, and didn't see the compiler - warning. Fixed. - (e_destination_exportv): Don't export any empty destinations. - (bug#3825). - -2001-06-30 Zbigniew Chyla <cyba@gnome.pl> - - * gui/component/e-address-popup.c (e_address_popup_construct): Marked - strings for translation. - -2001-06-30 Jon Trowbridge <trow@ximian.com> - - * gui/merging/e-card-merging.c (match_query_callback): Make the - standard for considering two cards to be match stricter. - - * gui/component/select-names/e-select-names-completion.c - (make_match): Use the card's use-score to set the match's - sort_major value. - (match_name): Removed obsolete code. - (e_select_names_completion_begin): Added (double) cast to make - match->score calculation come out properly. - - * backend/ebook/e-card.c: Added X-EVOLUTION-LAST-USE and - X-EVOLUTION-USE-SCORE to attribute_jump_array. - (e_card_get_today): Added. A convenience routine for getting - today's date and putting it in a GDate. - (e_card_get_use_score): Added. Compute the current, time-decayed, - use-score for the card. - (e_card_touch): Increment the use-score by one; update the last - used date. - (e_card_date_to_string): Added as a convenience routine, getting - rid of some code duplication. - (e_card_get_vobject): Add handlers for X-EVOLUTION-USE-SCORE and - X-EVOLUTION-LAST-USE. - (parse_last_use): Added. - (parse_use_score): Added. - (e_card_class_init): Added args for last-use and use-score. - (e_card_get_arg): Added handlers for last-use and use-score. - o - (e_card_set_arg): Added handlers for last-use and use-score. - - * backend/ebook/e-destination.c: Added pending_card_id to - EDestinationPrivate struct. - (e_destination_copy): Copy the pending_card_id. - (e_destination_is_empty): Check for a pending_card_id. We are - non-empty if we have one. - (e_destination_clear_card): Clear pending_card_id. - (e_destination_set_card): Clear pending_card_id. - (e_destination_has_pending_card): Added. - (e_destination_use_card): Added. An asynchronous way to load a - pending card and then apply a callback to it. - (build_field): Be paranoid, map our special characters to '_'. - (e_destination_export): Use EXPORT_MAX_FIELDS symbol rather than a - hard-wired array size. Added the "card" entry. - (e_destination_import): Fix bug in handling of the "name" field. - Process the "card" field. - (e_destination_touch): "Touch" and commit the ECard corresponding - to the e-mail address in the destination. (A query against the - local addressbook is actually performed, in case the destination - isn't cardified. - - * backend/ebook/e-card-compare.c (e_card_compare_name): Revamp the - way E_CARD_MATCH_FOO results are mapped to comparison results. - Report better matches when the family name is matched. - -2001-06-29 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names.c (update_query): - Added a search field to the query here. - (e_select_names_init): Update the query on a number of signals here. - - * gui/component/select-names/e-select-names.h: Added search_entry - here. - - * gui/component/select-names/select-names.glade: Added the search - entry here. Added some labels. Removed the update button. - -2001-06-29 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names.c - (e_select_names_option_activated): Change the uri here to have - addressbook.db at the end. - - * gui/component/select-names/select-names.glade: Changed the name - of the folder option menu here to match the name used in the code. - -2001-06-29 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names.c (update_query): - Change the query when the "Update List" button is pushed. - - * gui/component/select-names/e-select-names.h: Removed - currently_selected field. Added categories_entry field. - - * gui/component/select-names/select-names.glade: Added "Update - List" button. - -2001-06-29 Chris Toshok <toshok@ximian.com> - - * gui/widgets/Makefile.am (INCLUDES): add EVOLUTION_IMAGESDIR - define. - - * gui/widgets/e-minicard.h (struct _EMinicard): add our pixbuf and - pixbuf size. - - * gui/widgets/e-minicard.c (e_minicard_init): init the icon pixbuf - and its size. - (e_minicard_destroy): unref the list_icon_pixbuf. - (e_minicard_realize): create the list_icon GnomeCanvasPixbuf. - (e_minicard_resize_children): clip the header_text by the - list_icon, and place the list_icon in the right spot. - (remodel): show the list_icon if we're a list, and hide it - otherwise. - -2001-06-28 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-view.c (table_double_click): pop up - list editor for lists, contact editor otherwise. - - * gui/widgets/e-minicard.c (e_minicard_event): same. - - * gui/widgets/e-minicard.h (struct _EMinicard): change "editor" to - GtkOjbect, since it can be either a contact editor or contact list - editor. - - * gui/widgets/e-addressbook-table-adapter.c - (addressbook_is_cell_editable): don't allow editting of any fields - except the name and file_as for lists. - -2001-06-28 Chris Toshok <toshok@ximian.com> - - * gui/contact-list-editor/Makefile.am (INCLUDES): remove ancient - e-table include, and add include for contact-editor so we can - reuse the confirm_delete dialog. - - * gui/contact-list-editor/e-contact-list-editor.h (struct - _EContactListEditor): remove prototype for - e_contact_list_editor_close, since the function no longer exists. - - * gui/contact-list-editor/e-contact-list-editor.c - (list_deleted_cb): new function, emit our "list_deleted" signal. - (delete_cb): new function, called from the Delete toolbar item. - (e_contact_list_editor_raise): flesh out function. - (extract_info): "evolution_list" => "list". - (fill_in_info): same. - -2001-06-28 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-card.c (e_card_get_vobject): add support for - X-EVOLUTION-LIST and X-EVOLUTION-LIST-SHOW-ADDRESSES. - (parse_list): new function, parse the boolean X-EVOLUTION-LIST. - (parse_list_show_addresses): new function, parse the boolean - X-EVOLUTION-LIST-SHOW-ADDRESSES. - (e_card_class_init): add args for "list" and - "list_show_addresses". - (e_card_set_arg): add support for list and list_show_addresses. - (e_card_get_arg): same. - (e_card_init): init list and list_show_addresses. - -2001-06-27 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-component.c (factory_fn): Pass NULL as - the @external_uri_schemas argument to - `evolution_shell_component_new()'. - -2001-06-27 Chris Toshok <toshok@ximian.com> - - * gui/contact-list-editor/e-contact-list-model.c - (contact_list_row_count): track storage change - we're only using - 1 array now. - (contact_list_value_at): same. - (contact_list_model_destroy): same. - (e_contact_list_model_init): same. - (e_contact_list_model_add_email): same. - (e_contact_list_model_add_card): same. - (e_contact_list_model_remove_row): same. - (e_contact_list_model_remove_all): new function - just free/unref - all existing rows. - (e_contact_list_model_get_email): new function, returns the - alloc'ed string containing either an email address or an encoded - ECardId. - - * gui/contact-list-editor/e-contact-list-model.h: remove the 2 - separate arrays for email and cards, and store them in the same - array. - - * gui/contact-list-editor/e-contact-list-editor.h (struct - _EContactListEditor): add the visible_addr_checkbutton widget. - - * gui/contact-list-editor/e-contact-list-editor.c - (visible_addrs_toggled_cb): new function. - (e_contact_list_editor_init): connect to "toggled" on - visible_addrs_checkbutton. - (file_save_cb): new function. - (tb_save_and_close_cb): new function. - (verbs): add Save and Save & Close. - (list_added_cb): new function. - (list_modified_cb): new function. - (save_card): new function - we do *not* use e_card_merging_* calls - here. - (e_contact_list_editor_get_arg): un-#if 0 code in the "card" - getter. - (e_contact_list_editor_set_arg): same for the "card" setter. - (extract_info): new function. - (fill_in_info): new function. - - * gui/contact-list-editor/contact-list-editor.glade: add a - checkbutton at the bottom to determine whether to visibly include - mail addresses in mail sent to this list. - -2001-06-26 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names.c - (e_select_names_create_categories): Oops. Can't use the wombat - version of the master categories list yet. - -2001-06-26 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-addressbook-table-adapter.c (create_card): memmove - counts were off in this function. - (remove_card, modify_card): Moved the table notifications around a - bit here. - -2001-06-26 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names.c, - gui/component/select-names/e-select-names.h, - gui/component/select-names/select-names.glade - (e_select_names_create_categories): Added a categories combo here. - It's not used yet. - -2001-06-26 Christopher James Lahey <clahey@ximian.com> - - * gui/search/addresstypes.xml: Added category searching to the - advanced search dialog here. - -2001-06-26 Christopher James Lahey <clahey@ximian.com> - - * backend/pas/pas-backend-file.c (compare_category): Added - category searching to the file backend. - - * gui/component/addressbook.c (addressbook_query_changed): Added - category searching to the search bar. - -2001-06-25 Peter Williams <peterw@ximian.com> - - * conduit/Makefile.am (INCLUDES): Fix for srcdir != builddir. - -2001-06-25 Chris Toshok <toshok@ximian.com> - - * gui/contact-list-editor/contact-list-editor.glade: change layout - slightly, the icon no longer pushes everything to the left, and - make the buttons on the right smaller and more in line with the - other widgets. - - * gui/contact-list-editor/e-contact-list-model.c - (contact_list_value_at): return the SimpleAndString->string - instead of querying the ecardsimple. - (e_contact_list_model_init): initially allocate 10 of each type - (email and simple). - (e_contact_list_model_add_email): realloc if need be. - (e_contact_list_model_add_card): same, and initialize the string - displayed to be "[Name] [<email>]". - (e_contact_list_model_remove_row): change for SimpleAndString. - (contact_list_model_destroy): free our 2 arrays. - - * gui/contact-list-editor/e-contact-list-model.h: add alloc counts - and the SimpleAndString struct. - - * gui/contact-list-editor/e-contact-list-editor.c: Helix Code => - Ximian. - (e_contact_list_editor_init): hook up d&d destination signals, and - un-#if 0 the delete_event signal. - (table_drag_motion_cb): new function. - (table_drag_drop_cb): new function. - (table_drag_data_received_cb): new function. - (file_close_cb): new function. - (verbs) uncomment the close verb. - (close_dialog): new function. - (app_delete_event_cb): new function. - - * gui/contact-list-editor/e-contact-list-editor.h: Helix Code => - Ximian. - -2001-06-25 Jon Trowbridge <trow@ximian.com> - - * gui/component/e-address-popup.c: Add a huge steaming pile of - code to handle the case of single-address merging. In other - words, if you go to "harvest" an address by right-clicking on it - in the mail viewer, and you already have a closely-matching - contact (w/ a different e-mail address), this gives you the - option of editting that contact's e-mail addresses to add the - one you just clicked on. - - * backend/ebook/e-card-compare.c (match_search_info_free): It is - amazing how much better things work when you don't try to - dereference the pointer you just freed. - -2001-06-24 Chris Toshok <toshok@ximian.com> - - * gui/widgets/Makefile.am (minicard_test_LDADD): correct path to - libecontacteditor.a. - (minicard_widget_test_LDADD): same. - (INCLUDES): same, for the includes. - - * gui/widgets/e-minicard.h: correct e-contact-editor.h path. - - * gui/widgets/e-addressbook-util.h: correct path to - e-contact-editor.h, and add e-contact-list-editor.h. Add - prototype for e_addressbook_show_contact_list_editor. - - * gui/widgets/e-addressbook-util.c: remove #include - "e-contact-editor.h" (our header includes it.) - (added_cb): rename card_added_cb to this, and make it so it can be - reused in both the list and card cases. remove the g_print too. - (modified_cb): same for modified case. - (deleted_cb): same for deleted case. - (editor_closed_cb): change first arg to GtkObject* so we can reuse - this for both list and card. - (e_addressbook_show_contact_editor): use added_cb, modified_cb, - deleted_cb, and pass FALSE as user_data. - (e_addressbook_show_contact_list_editor): new function, same as - above but creating a contact-list-editor, and pass TRUE as - user_data. - - * gui/component/e-address-popup.c: correct path to contact-editor. - - * gui/component/e-address-widget.c: same. - - * gui/component/select-names/e-select-names-popup.c: same. - - * gui/component/select-names/e-select-names-text-model.c: same. - - * gui/component/addressbook.c (new_contact_list_cb): new function. - (update_command_state): update ContactNewList command. - (verbs): remove ViewAll from the toolbar from the verb list. Add - ContactNewList. - (pixmaps): same for pixmaps. - - * gui/component/Makefile.am (evolution_addressbook_LDADD): new - path for contact-editor. - (INCLUDES): same. - - * gui/contact-list-editor/e-contact-list-model.h: - * gui/contact-list-editor/e-contact-list-model.c: - * gui/contact-list-editor/e-contact-list-editor.h: - * gui/contact-list-editor/e-contact-list-editor.c: - * gui/contact-list-editor/Makefile.am: Initial contact-list editor - commit. - - * gui/Makefile.am (SUBDIRS): add contact-editor. - - * Makefile.am: (SUBDIRS): remove contact-editor. - -2001-06-21 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-popup.c - (make_contact_editor_cb): Renamed. (The old name, - edit_contact_info_have_book_cb was a hold-over from before, when - we weren't using e_book_use_local_address_book.) - - * gui/component/e-address-popup.c - (e_address_popup_schedule_refresh): A Added. We now do the name - refreshes in an idle function, rather than in the setters. - (e_address_popup_set_free_form): Added. Properly handle inputs of - the form "Foo <bar@zar.com>", extracting the name and e-mail - address. - (e_address_popup_set_name): Check to make sure that the free-form - handler shouldn't be used to handle the input. Schedule a refresh - after making any changes. - (e_address_popup_set_email): Check to make sure that the free-form - handler shouldn't be used to handle the input. Schedule a refresh - after making any changes. - (e_address_popup_name_only_matches): Temporary place-holder for - handling name-only matches. - (query_cb): If our initial query fails (and included e-mail - information), do a name-only query. This is to handle the case of - adding new e-mail addresses to existing contacts. - (e_address_popup_query): Eliminated the "common_book" crap; using - e_book_use_local_address_book instead. - - * backend/ebook/e-card-compare.c (match_search_info_free): Make - sure that the ->avoid list gets properly freed. - -2001-06-20 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-file.c - (pas_backend_file_process_get_supported_fields): fix a refcounting - memleak. - -2001-06-20 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-book-listener.c - (e_book_listener_queue_get_supported_fields_response): fix memory - leak. - -2001-06-20 Chris Toshok <toshok@ximian.com> - - * contact-editor/e-contact-editor.c: add prototype for - close_dialog to remove warnings. - -2001-06-20 Dave Camp <dave@ximian.com> - - * backend/ebook/e-card.c (e_card_list_send): Changed attach_data - to be a GNOME_Evolution_Composer_AttachmentData rather than a - CORBA_char*. - -2001-06-19 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-view.c (table_double_click): track - change to e_addressbook_show_contact_editor signature. - - * gui/widgets/e-minicard-view.c (e_minicard_view_event): same. - - * gui/widgets/e-minicard.c (e_minicard_event): same. - - * gui/widgets/e-addressbook-util.c (e_addressbook_error_dialog): - add an entry for "Card ID already exists". - (e_addressbook_show_contact_editor): track the change to signal - names and e_contact_editor_new signature here. - - * gui/widgets/e-addressbook-util.h: change - e_addressbook_show_contact_editor's signature to match - e_contact_editor_new more closely. - - * gui/widgets/e-addressbook-table-adapter.c (unlink_model): free - up the simple mapping to plug a potentially sizeable memory leak. - - * gui/component/select-names/e-select-names-text-model.c - (e_select_names_text_model_activate_obj): call - e_addressbook_show_contact_editor here. - - * gui/component/select-names/e-select-names-popup.c - (edit_contact_info_have_book_cb): remove the get_supported_fields - stuff, since the contact editor handles it for us now, and call - e_addressbook_show_contact_editor. - - * gui/component/e-address-popup.c (edit_contact_info_cb): same. - - * gui/component/addressbook.c (new_contact_cb): track change to - e_addressbook_show_contact_editor. - -2001-06-19 Chris Toshok <toshok@ximian.com> - - * contact-editor/e-contact-quick-add.c (ce_have_book): rename - ce_book_found_fields to this, remove the fetching of fields (the - contact editor code handles that now.), and change the add_card - signal to card_added. - (card_added_cb): copied somewhat from merge_cb above. we don't - need to do the merge here, just call the callback. - - * contact-editor/e-contact-editor.c (e_contact_editor_class_init): - track signal change. add book arg, and is_read_only -> editable. - (wants_html_changed): if the card isn't already changed, flag it - as such (and update the commands.) - (phone_entry_changed): same. - (email_entry_changed): same. - (address_text_changed): same. - (name_entry_changed): same. - (company_entry_changed): same. - (full_name_clicked): is_read_only -> editable. - (full_addr_clicked): same. - (card_added_cb): new function, emit our card_added signal, and - close the dialog if we're supposed to. properly deal with error - status here. - (card_modified_cb): same, modulo card_added -> card_modified. - (save_card): actually call e_card_merging_book_{add/commit}_card - instead of using a signal. Also, add a gboolean arg to tell - whether or not to close the dialog after saving the card. - (card_deleted_cb): new function, just emit our "card_deleted" - signal. - (delete_cb): actually call e_book_remove_card here, instead of - using a signal. - (tb_save_and_close_cb): call save_card with TRUE for should_close. - (e_contact_editor_init): init changed = FALSE; - (e_contact_editor_destroy): unref our book if we have one. - (e_contact_editor_new): new signature, set the "book" arg, and - call e_book_get_supported_fields here. - (supported_fields_cb): new function, show the contact editor. - (e_contact_editor_set_arg): initialize changed to FALSE when - setting the card (but *after*, since the changed callbacks will - set it to TRUE.) also, call command_state_changed if editable - changes. also handle setting "book". oh, and is_read_only -> - editable. - (command_state_changed): new function - set the state of the - commands we care about. - (e_contact_editor_get_arg): add "book" handling, and is_read_only - -> editable. - (_phone_arrow_pressed): is_read_only -> editable. - (_email_arrow_pressed): same. - (_address_arrow_pressed): same. - (enable_writable_fields): same. - (set_editable): rename set_read_only to this, and is_read_only -> - editable. - - * contact-editor/e-contact-editor.h (struct _EContactEditor): - is_read_only -> editable, add a "changed" flag so we can sensitize - commands correctly, and add an EBook* arg to e_contact_editor_new - and to the EContactEditor struct. Also, change all the signals to - past tense, and send the EBookStatus in them. - - * contact-editor/e-contact-editor-address.c - (e_contact_editor_address_class_init): is_read_only -> editable. - (e_contact_editor_address_set_arg): same. - (e_contact_editor_address_get_arg): same. - - * contact-editor/e-contact-editor-address.h (struct - _EContactEditorAddress): same. - - * contact-editor/e-contact-editor-fullname.c - (e_contact_editor_fullname_class_init): same. - (e_contact_editor_fullname_set_arg): same. - (e_contact_editor_fullname_get_arg): same. - - * contact-editor/e-contact-editor-fullname.h (struct - _EContactEditorFullname): same. - - * contact-editor/Makefile.am: don't build contact-editor-test now, - until contact-editor gets moved to gui/ and we can more easily - depend on the e_card_merging_* calls. - - * backend/pas/pas-backend-ldap.c (ldap_error_to_response): return - CardIdAlreadyExists for LDAP_ALREADY_EXISTS. - - * backend/idl/addressbook.idl: Add CardIdAlreadyExists to the - BookListener status enum. - - * backend/ebook/e-book-types.h: add - E_BOOK_STATUS_CARD_ID_ALREADY_EXISTS. - - * backend/ebook/e-book-listener.c - (e_book_listener_convert_status): add support for - CardIdAlreadyExists. - -2001-06-19 Jon Trowbridge <trow@ximian.com> - - * contact-editor/e-contact-quick-add.c: Serious de-crufting, - removal of gtk_object_set_data() hacks, simplified by using - some of the newer ebook convenience routines, etc. - (ce_book_found_fields): - s/e_contact_editor_raise/e_contact_editor_show/, to accomodate the - small changes in the contact editor API. - -2001-06-18 Eskil Heyn Olsen <eskil@eskil.dk> - - * conduit/address-conduit.c: (check_for_slow_setting), - (conduit_get_gpilot_conduit): - Tweaked for some gnome-pilot api changes - -2001-06-15 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (search_for_dn): implement this - properly, using base and (objectclass=*). - -2001-06-14 Chris Toshok <toshok@ximian.com> - - * contact-editor/e-contact-editor.c (delete_cb): save ourselves a - function call - call close_dialog instead of file_close_cb. - -2001-06-14 Jeffrey Stedfast <fejj@ximian.com> - - * gui/component/addressbook-component.c: Set the - "expoted_dnd_types" to NULL in the folder_types. - -2001-06-11 Dan Winship <danw@ximian.com> - - * gui/component/select-names/e-select-names-completion.c - (search_override_check): Add a workaround for an EText bug. - (e_select_names_completion_begin): Fix up the match scoring in the - search_override case so the lines are offered in the correct - order. - -2001-06-11 Christopher James Lahey <clahey@ximian.com> - - * gui/merging/Makefile.am (glade_DATA): Added - e-card-merging-book-commit-duplicate-detected.glade here. - - * gui/merging/e-card-merging-book-commit-duplicate-detected.glade: - Added this file. The GUI for asking whether to commit a modified - card. - - * gui/merging/e-card-merging.c, gui/merging/e-card-merging.h - (e_card_merging_book_commit_card): Added this function. - - * gui/widgets/e-addressbook-table-adapter.c - (addressbook_set_value_at), gui/widgets/e-addressbook-util.c - (commit_card_cb), gui/widgets/e-minicard.c (e_minicard_event): Use - e_card_merging_book_commit_card instead of e_book_commit_card here. - -2001-06-11 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h: - Made e_card_simple_get_id return const char *. - - * backend/ebook/e-card.c, backend/ebook/e-card.h: Made - e_card_get_id return const char *. - - * gui/component/e-cardlist-model.c (e_cardlist_model_add): Made id - variable const here. Added a break to make it slightly more - efficient. - - * gui/widgets/e-minicard.c, gui/widgets/e-minicard.h: Made - e_minicard_get_card_id return const char *. - -2001-06-11 Christopher James Lahey <clahey@ximian.com> - - * backend/pas/pas-backend-file.c (entry_compare): Made this handle - the "id" property in searches. - (pas_backend_file_process_modify_card): Made id variable const - here. - - * backend/pas/pas-backend-ldap.c (modify_card_handler): Made id - variable const here. - -2001-06-11 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-book-listener.c, - backend/ebook/e-book-listener.h, backend/ebook/e-book.c: Rolled - back the change 2 ago, dated 06/11/2001 01:51 in CVS, involving - e-book-listener.[ch] and e-book.c. - -2001-06-11 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-book.c (e_book_load_uri, - e_book_get_supported_fields, e_book_authenticate_user, - e_book_remove_card_by_id, e_book_add_vcard, e_book_commit_vcard, - e_book_get_cursor, e_book_get_book_view, e_book_get_changes): Made - it so that all of these functions queue their ops before calling - their CORBA functions. This way, if the response is sent back - before the CORBA function returns there's no problem. Added - e_book_unqueue_op so that the op could be unqueued if the CORBA - call fails. - -2001-06-11 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-book-listener.c, backend/ebook/e-book-listener.h - (e_book_listener_unpop_response): Added this function to put a - response back into the queue. - - * backend/ebook/e-book.c (e_book_check_listener_queue, - e_book_queue_op): Handle the case where the op hasn't been queued - yet when we get the response. In this case we unpop the response. - Also, when queueing an op, we check to see if there are any - responses waiting. - - * This change has been reverted. - -2001-06-11 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card-compare.c, backend/ebook/e-card-compare.h - (e_card_locate_match_full): Added this function to let you do - slightly more complicated searches. - - * gui/merging/e-card-merging.c (e_card_merging_book_add_card): Use - e_card_locate_match_full to check if the card exists in the book - it's being added to instead of in the default book. - -2001-06-09 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names-completion.c - (match_name): Removed unused email variable. - -2001-06-09 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card-compare.c (use_common_book_cb): Null - terminate the strv here. - (e_card_locate_match): ref here instead of unref. - - * backend/ebook/e-card-simple.c (e_card_simple_get): Handle a NULL - card here. - - * contact-editor/Makefile.am (INCLUDES), gui/widgets/Makefile.am - (INCLUDES): Added addressbook/gui/merging here. - - * contact-editor/e-contact-quick-add.c (book_ready_cb), - gui/component/addressbook-component.c (dnd_drop_book_open_cb), - gui/widgets/e-addressbook-table-adapter.c - (addressbook_append_row), gui/widgets/e-addressbook-util.c - (add_card_cb), gui/widgets/e-addressbook-view.c - (selection_received), gui/widgets/e-minicard-control.c - (book_open_cb): Use e_card_merging_book_add_card instead of - e_book_add_card here. - - * gui/Makefile.am (SUBDIRS): Added merging. - - * gui/component/Makefile.am (evolution_addressbook_LDADD), - gui/widgets/Makefile.am (minicard_test_LDADD, - minicard_widget_test_LDADD): Added libecardmerging.a here. - - * gui/merging/, gui/merging/.cvsignore, gui/merging/Makefile.am: - New addressbook library. - - * gui/merging/e-card-duplicate-detected.glade: Glade file for - duplicate detected dialog. - - * gui/merging/e-card-merging.c, gui/merging/e-card-merging.h: New - files for detecting duplicates before adding and putting up a - dialog if duplicates are found. - - * gui/widgets/e-minicard-view.c: Include e-addressbook-util.h - here. - -2001-06-08 Chris Toshok <toshok@ximian.com> - - * contact-editor/e-contact-editor.c (e_contact_editor_new): remove - the gtk_widget_show call... - (e_contact_editor_show): and put it here. - - * contact-editor/e-contact-editor.h: add prototype for - e_contact_editor_show. - - * gui/widgets/e-minicard.c (e_minicard_event): call - e_addressbook_show_contact_editor. - (card_modified_cb): call e_addressbook_error_dialog if status != - SUCCESS. - - * gui/widgets/e-minicard-view.c (e_minicard_view_event): call - e_addressbook_show_contact_editor. also, use card_modified_cb as - the commit_card callback. - - * gui/widgets/e-addressbook-view.c (table_double_click): clean - this area up alot, call e_addressbook_show_contact_editor. - (card_deleted_cb): call e_addressbook_error_dialog. - - * gui/widgets/e-addressbook-table-adapter.c - (card_modified_cb): new function, call e_addressbook_error_dialog - if the status != SUCCESS. - (addressbook_set_value_at): use card_modified_cb as the callback - for e_book_commit_card. - - * gui/widgets/Makefile.am (libeminicard_a_SOURCES): add - e-addressbook-util.[ch]. - - * gui/component/addressbook.c (new_contact_cb): use - e_addressbook_show_contact_editor here. - -2001-06-05 Christopher James Lahey <clahey@ximian.com> - - * contact-editor/e-contact-editor.c (categories_clicked): Remove - references to ECategoryMasterListWombat. - -2001-06-05 Jason Leach <jleach@ximian.com> - - * gui/component/select-names/e-select-names.c (remove_cb): Make - this work when multiple names are selected then right - click->Remove. - -2001-06-05 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card.c (e_card_set_arg): Copy dates as they come - in. - - * backend/pas/pas-backend-file.c - (pas_backend_file_changes_foreach_key, pas_backend_file_changes, - pas_backend_file_process_remove_card, - pas_backend_file_process_modify_card, - pas_backend_file_build_all_cards_list, pas_backend_file_get_vcard, - pas_backend_file_maybe_upgrade_db): memset DBTs to 0 before using - them. - (pas_backend_file_build_all_cards_list): Reindented. - - * contact-editor/contact-editor.glade: Replaced GnomeDateEdits - with a custom widget that creates an EDateEdit. - - * contact-editor/e-contact-editor.c: Use an EDateEdit here instead - of a GnomeDateEdit. - -2001-06-05 Jason Leach <jleach@ximian.com> - - (Fix bug #655: SelectNames doesn't let you remove addresses after - you add them) - - * gui/component/select-names/e-select-names.c - (section_right_click_cb): New function, provides a popup menu with - just "Remove" in it. - (remove_cb): New callback to do the remove. - (e_select_names_add_section): Attach the "right_click" signal to - the section_right_click_cb above. - -2001-06-05 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-manager.c - (completion_handler): Change the completion handler to use the - ECompletionMatch. - - * gui/component/select-names/e-select-names-completion.c - General changes to convert for ECompletionMatch use. - (emailify_match): Use extra sort keys in ECompletionMatch to let - us ensure that the primary email address is always the first - option, the secondary comes second, etc. There was no nice way to - do this previously. - (match_name): Removed code that adjusted score based on - similarities between the "real name" and the e-mail address. It - seemed like a good idea at the time, but produced unexpected and - confusing results. - -2001-06-04 Jon Trowbridge <trow@ximian.com> - - * backend/ebook/e-card-compare.c: Added. Code for testing - if two ECards appear to pertain to the same contact (using loose - matching rules, as opposed to requiring exact equality) and to - query the addressbook for the "best match" to ECard. - -2001-06-03 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.c (set_status_message): remove spew, - and don't call the ShellView CORBA method if the interface doesn't - exist (for whatever reason.) - - * gui/widgets/e-addressbook-view.c (e_addressbook_view_destroy): - unref the EAddressbookModel. - (create_minicard_view): unref the adapter. - (card_added_cb): call e_book_error_dialog if status != SUCCESS. - (card_modified_cb): same. - (card_removed_cb): new function, and same. - (delete_card_cb): pass card_removed_cb as the callback. - (emit_status_message): new function, just emit status_message. - (status_message): change to call emit_status_message. - (card_deleted_cb): emit_status_message ("Done."), and call - e_book_error_dialog if status != SUCCESS. - (do_remove): pass view in the closure arg. - (e_addressbook_view_delete_selection): emit status "Removing - cards..." before starting the removal. - (e_book_error_dialog): new function - pop up a (possibly) helpful - message about why an operation failed. - - * gui/widgets/e-minicard-view-widget.c - (e_minicard_view_widget_new): ref the EAddressbookReflowAdapter. - (e_minicard_view_widget_destroy): unref the adapter. - (e_minicard_view_widget_get_selection_model): if there isn't a - minicard view return NULL. - - * gui/widgets/e-addressbook-table-adapter.c - (e_addressbook_table_adapter_construct): ref the - EAddressbookModel. - - * gui/widgets/e-addressbook-reflow-adapter.c - (addressbook_finalize): rename this from addressbook_destroy, to - reflect the method change. - (e_addressbook_reflow_adapter_class_init): same. - (e_addressbook_reflow_adapter_construct): ref the - EAddressbookModel. - - * gui/widgets/e-addressbook-model.h: add editable_set flag. - - * gui/widgets/e-addressbook-model.c (writable_status): only record - the writable state of the addressbook if the user hasn't set it. - (e_addressbook_model_init): init editable_set to FALSE. - (e_addressbook_model_set_arg): set editable_set to TRUE. - -2001-06-03 Ettore Perazzoli <ettore@ximian.com> - - * backend/ebook/Makefile.am (evolution_vcard_importer_LDADD): Move - `$(DB3_LDADD)' before libeutil. - -2001-06-01 Ettore Perazzoli <ettore@ximian.com> - - * backend/ebook/Makefile.am (evolution_vcard_importer_LDADD): Add - $(DB3_LDADD)'. - -2001-05-31 Christopher James Lahey <clahey@ximian.com> - - * backend/pas/Makefile.am (INCLUDES): Added db3 cflags. - - * backend/pas/pas-backend-file.c: Updated this to use db3. - -2001-05-31 Federico Mena Quintero <federico@ximian.com> - - * gui/widgets/e-addressbook-view.h (EAddressbookView): Added - fields for the GalViewMenus and GalViewCollection; we need to keep - them around while the component is active. - - * gui/widgets/e-addressbook-view.c - (e_addressbook_view_setup_menus): Plug leak; unref the spec. - Unref the factories. Do not unref the collection, since we need - it for the signal emission (okay, so the views object adds a - reference to it, but if we are interested in it we should keep a - reference anyways). - (e_addressbook_view_setup_menus): Create the collection and views - on the EAddressbookView's fields so that we can keep them around. - (e_addressbook_view_discard_menus): New function; gets rid of the - collection and views objects. - - * gui/component/addressbook.c (control_activate_cb): Call - e_addressbook_view_discard_menus(). - -2001-05-31 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names.h (struct - _ESelectNames): add the EAddressbookModel* and change the - ETableModel's name to "adapter". - - * gui/component/select-names/e-select-names.c (set_book), - (addressbook_model_set_uri): these two things take an - EAddressbookModel* instead of an ETableModel now. - (e_addressbook_create_ebook_table): don't case the - EAddressbookModel* to ETableModel*, create an EAddressbookTableAdapter - on the EAddressbookModel instead. - (e_select_names_init): set e_select_names->adapter. - -2001-05-31 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-model.c (remove_card): decrement - data_count before emitting the card_removed signal, and break - after we've removed the matching card. - (e_addressbook_model_class_init): change signature of - "card_removed" signal to match what we emit (and what is - expected.) - - * gui/widgets/e-addressbook-view.c (e_addressbook_view_init): the - signal name is "destroy", not "destroyed". - (do_remove): new function, actually remove the card. - (e_addressbook_view_delete_selection): get this working for both - view types. - -2001-05-31 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.c: Print Preview => - ContactsPrintPreview. Changed peter's change so that the node - name is more in line with "Print.."'s - -2001-05-30 Peter Williams <peterw@ximian.com> - - * gui/component/addressbook.c: Use the correct path to the print - preview menu item. - -2001-05-30 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.c (cut_contacts_cb): new function, for - the Cut verb. - (copy_contacts_cb): new function, for the Copy verb. - (paste_contacts_cb): new function, for the Paste verb. - (select_all_contacts_cb): new function, for the Select All verb. - (update_command_state): add handling for sensitivity of - Cut/Copy/Paste/Select All. - - * gui/widgets/e-addressbook-view.c (e_addressbook_view_init): init - the invisible and set up selection/destroy signals. - (get_selection_model): new function, so we can get the - ETableSelectionModel from either view type. makes lots of the - other functions easier, since we can get the list of selected - cards using the same code regardless of view type. - (invisible_destroyed): new function. - (selection_get): new function. convert the clipboard list to - string. - (selection_clear_event): new function - free up the list of - ECards. - (selection_received): if the selection data is valid and - well-formed, add the corresponding cards to the ebook. - (add_to_list): new function. - (get_selected_cards): new function. - (e_addressbook_view_cut): new function, implement in terms of - _copy and _delete_selection. - (e_addressbook_view_copy): claim ownership of the CLIPBOARD - selection after saving the list of selected ECards. - (e_addressbook_view_paste): call gtk_selection_convert. - (e_addressbook_view_select_all): new function, using - e_selection_model_select_all. - (e_addressbook_view_can_print): re-implement in terms of - get_selection_model. - (e_addressbook_view_can_delete): same. - (e_addressbook_view_can_cut): new function. - (e_addressbook_view_can_copy): new function. - (e_addressbook_view_can_paste): new function. hmm, always return - TRUE here. - (e_addressbook_view_can_select_all): new function. - - * gui/widgets/e-addressbook-view.h (struct _EAddressbookView): add - selection stuff - the list of selected cards, and the GtkInvisible - selection owner, and add prototypes for - e_addressbook_view_[can]_{cut,copy,paste,select_all}. - - * gui/widgets/e-minicard-view-widget.h: add a prototype for - e_minicard_view_widget_get_selection_model. - - * gui/widgets/e-minicard-view-widget.c - (e_minicard_view_widget_get_selection_model): new function. - -2001-05-27 Dan Winship <danw@ximian.com> - - * gui/component/addressbook.c: #include - "evolution-shell-component-utils.h" rather than "e-gui-utils.h" - for e_pixmaps_update. - -2001-05-25 Peter Williams <peterw@ximian.com> - - * gui/component/Makefile.am: Reference libeshell.la instead of - libeshell.a. - -2001-05-25 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-addressbook-reflow-adapter.c (addressbook_height): - Correct the height calculation here to not include the - E_CARD_SIMPLE_FIELD_FAMILY_NAME since it won't be displayed. - - * gui/widgets/e-minicard.c (remodel): Changed this to continue to - be more consistent and simpler. - -2001-05-23 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (view_destroy): fix strings such - that ones that happening at the beginning or during an operation - are followed by "..." and those that stop the operation are - followed by "." - (create_card_handler): same. - (ldap_op_process_current): same, and also call _notify_complete if - we can't connect to ldap server. - (poll_ldap): same, and change "Polling for LDAP search result" to - "Receiving LDAP search results" - - * backend/pas/pas-backend-file.c (pas_backend_file_search): call - notify_status_message at the beginning of this function, and - whenever we call _notify_complete. - -2001-05-23 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-addressbook-model.h: add sequence_complete_id to - EAddressbookModel and stop_state_changed to - EAddressbookModelClass. also, add prototype for - e_addressbook_model_can_stop. - - * gui/widgets/e-addressbook-model.c (remove_book_view): disconnect - from "sequence_complete", and set search_in_progress to FALSE. - (sequence_complete): set search_in_progress to FALSE and emit - "stop_state_changed." - (e_addressbook_model_class_init): create the "stop_state_changed" - signal. - (e_addressbook_model_init): init stuff. - (book_view_loaded): connect to "sequence_complete" signal. - (book_view_loaded): set search_in_progress to TRUE and emit - "stop_state_changed" - (e_addressbook_model_stop): set search_in_progress to false, emit - "stop_state_changed", and set our status to "Search Interrupted." - (e_addressbook_model_can_stop): return search_in_progress. - - * gui/widgets/e-addressbook-view.c (e_addressbook_view_init): - connect to the stop_state_changed signal on EAddressbookModel. - (stop_state_changed): new function. - (e_addressbook_view_can_stop): call e_addressbook_model_can_stop. - - * gui/component/addressbook.c (update_command_state): use - e_addressbook_view_can_stop to set the sensitivity of the stop - button. - -2001-05-22 Dan Winship <danw@ximian.com> - - * backend/ebook/e-book-listener.c (e_book_listener_check_queue): - ref the listener for the duration of this function, since emitting - "responses_queued" may cause it to be unreffed by its EBook in - some cases, which could cause the second response_queue check to - look at garbage data if it got destroyed. - (e_book_listener_destroy): Call g_source_remove if idle_id is set. - -2001-05-22 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.c: track the change in - evolution-addressbook.xml's bonobo ui path's. - -2001-05-21 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.c (change_view_type): update_view_type - is gone, since the menu item is gone. - - * gui/widgets/e-addressbook-table-adapter.c (create_card): use - e_table_model_rows_inserted here. - -2001-05-20 Christopher James Lahey <clahey@ximian.com> - - * gui/component/addressbook-config.c - (addressbook_source_item_new): Removed an unused variable. - - * gui/component/select-names/e-select-names-bonobo.c - (entry_get_property_fn): Made text here non-const. - - * gui/component/select-names/e-select-names-popup.c - (edit_contact_info_cb): Cast to a gpointer here. - - * gui/component/select-names/e-select-names.c - (e_addressbook_create_ebook_table): Cast to E_TABLE_MODEL here. - -2001-05-18 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-completion.c - (match_name): Do a better job constructing match strings, so we - never try to use a segment of the name that isn't there (resulting - in ugly (null)'s in the string). Boost our score if some part of - the name also matches the front part of the e-mail address, so the - name match will always trump the e-mail match. - - * gui/component/select-names/e-select-names-bonobo.c - (entry_get_property_fn): Return the serialized EDestinations - (rather than just a string w/ e-mail addresses) through the bonobo - component's property bag. - - * gui/component/select-names/e-select-names-model.c - (e_select_names_model_export_destinationv): Added. A convenience routine - for serializing the model's EDestinations into a string. - - * gui/component/select-names/e-select-names-popup.c - (add_html_mail): Added. Puts in a check menu item for whether or - not the recipient wants HTML mail. - (popup_menu_card): Add menu item for HTML mail. Enable edit - contact info item. - (popup_menu_nocard): Add menu item for HTML mail. Enable edit - contact info item. - - * backend/ebook/e-book-util.c (e_book_use_local_address_book): - Added. Fetches the local addressbook and caches it on the first - call. This is meant to be an easy and efficient way to get at the - local addressbook with the minimum of code. - (e_book_query_address_locally): Added. Convenience code that - does an e-mail only e_book_name_and_email_query against the - local address book. - - * backend/ebook/e-destination.c - (e_destination_set_html_mail_pref): Added. Allows the intended - recipient's HTML mail preference to be manipulated. - (e_destination_get_email_verbose): Added. Cleaned up to use - e_destination_get_name. - (e_destination_get_html_mail_pref): Added. Read the recipient's HTML mail - preference. If the destination is linked to a card, the - preference is taken from the card (unless it has been explicitly - overridden by a called to e_destination_set_html_mail_pref). - (e_destination_get_address_textv): Added. Form a unified address string - from a NULL-terminated vector of EDestinations. - (e_destination_export): Added. Serialize an EDestination to a string. - (e_destination_import): Added. Unserialize a string to build an - EDestination. - (e_destination_exportv): Added. Serialize a NULL-terminated vector of - EDestinations to a string. - (e_destination_importv): Added. Unserialize a string to build a - NULL-terminated vector of EDestinations. - - * gui/component/select-names/e-select-names-completion.c: - Implemented local versions of g_strcasecmp and g_strncasecmp - (which should really be in glib, I think...) for utf8, and used - them to make this code utf8-safe. - -2001-05-17 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.c (update_command_state): no more - ContactFind command. - -2001-05-17 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-minicard-view-widget.c - (e_minicard_view_widget_class_init): add our selection_change - signal. - (e_minicard_view_widget_realize): connect to the ESelectionModel's - selection_changed signal. - (e_minicard_view_widget_selected_count): new function. - (selection_change): new function - emit our "selection_change" - signal. - - * gui/widgets/e-minicard-view-widget.h (struct - _EMinicardViewWidgetClass): add selection_change signal. also, - add prototype for e_minicard_view_widget_selected_count. - - * gui/widgets/e-addressbook-view.c - (e_addressbook_view_class_init): add our command_state_change - signal. - (e_addressbook_view_init): connect to the writable_status signal - on the EAddressbookModel. - (minicard_selection_change): new function - calls - command_state_change. - (create_minicard_view): connect to selection_change on the - minicard_view so we know when to update command state. - (table_selection_change): new function - calls - command_state_change. - (writable_status): new function - calls command_state_change. - (command_state_change): new function - emits our - "command_state_change" signal. - (create_table_view): connect to the selection_change signal so we - know to update the command state. - (change_view_type): update the command state every time we change - view types. - (e_addressbook_view_can_create): new function. - (e_addressbook_view_can_print): new function. - (e_addressbook_view_can_delete): new function. - (e_addressbook_view_can_stop): new function. - - * gui/widgets/e-addressbook-view.h (struct - _EAddressbookViewClass): add command_state_change signal, and - prototypes of functions the component can use to test the state of - commands. - - * gui/widgets/e-addressbook-model.c (addressbook_destroy): unlink - the writable_status signal on the EBook. - (writable_status): new function. - (e_addressbook_model_class_init): add our writable_status signal. - (e_addressbook_model_init): init writable_status_id. - (e_addressbook_model_set_arg): unlink the writable_status signal - on the old EBook, and connect it on the new one. - - * gui/widgets/e-addressbook-model.h: add writable_status signal. - - * gui/component/addressbook.c (update_command_state): new - function, set the sensitivity of the bonobo commands. - (control_activate): update our command state immediately upon - activating the control. - (addressbook_factory_new_control): register command_state_change - to update the commands. - -2001-05-15 Chris Toshok <toshok@ximian.com> - - * gui/search/e-addressbook-search-dialog.c - (e_addressbook_search_dialog_init): initialize the model and - adapter. - (button_press): set on the model. - (e_addressbook_search_dialog_new): same. - (e_addressbook_search_dialog_set_arg): same. - (e_addressbook_search_dialog_destroy): unref the model and - adapter. - - * gui/search/e-addressbook-search-dialog.h (struct - _EAddressbookSearchDialog): add our model and reflow adapter. - -2001-05-16 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-minicard-view.c: (e_minicard_view_destroy): Fixed - up the lifetime of the drag_data_get signal a bit. - -2001-05-15 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-minicard-view.c (add_to_list): MinicardViewModel - -> ReflowAdapter name change. - (get_card_list): same. - (e_minicard_view_drag_begin): same. - (supported_fields_cb): model -> adapter. - (adapter_changed): hook up signals and set the empty message on - our adapter. - (e_minicard_view_set_arg): add support for "adapter", and set - model -> adapter. - (e_minicard_view_get_arg): same. - (disconnect_signals): no more status_message. - (do_remove): track to use adapter. - (e_minicard_view_class_init): add adapter arg, and remove - status_message. - (e_minicard_view_init): all the code here is in adapter_changed - now. - - * gui/widgets/e-minicard-view.h (struct _EMinicardView): - EMinicardViewModel -> EAddressbookReflowAdapter. - (struct _EMinicardViewClass): get rid of status_message. - - * gui/widgets/e-minicard-view-widget.c - (e_minicard_view_widget_class_init): remove the status_message - signal. - (e_minicard_view_widget_new): take the adapter as our argument, - and store it away for when we create the view. - (e_minicard_view_widget_realize): when we create the view just set - the adapter field on it. also, don't connect to status_message. - - * gui/widgets/e-minicard-view-widget.h (struct - _EMinicardViewWidget): add our adapter here, so we can pass it - into the view when we create it. - (struct _EMinicardViewWidgetClass): remove status_message. - - * gui/widgets/e-addressbook-view.c (status_message): new function, - no more propagating status messages! - (e_addressbook_view_init): create our model and conenct to its - status_message signal. - (book_writable_cb): set "editable" on the model, not our object. - (e_addressbook_view_set_arg): same, but with "book" and "query" as - well. - (create_minicard_view): create our reflow adapter and pass it to - the minicard view widget. also, call e_reflow_model_changed so - it'll pick up any already present cards. - (table_double_click): ADDRESSBOOK_MODEL -> TABLE_ADAPTER. - (get_card_list_1): remove the cast, since we don't need it any - longer. - (table_right_click): ADDRESSBOOK_MODEL -> TABLE_ADAPTER. - (table_drag_data_get): same. - (create_table_view): create the table adapter, and use it as our - ETableModel. - (change_view_type): remove the status_message hook up and setting - of query/book/editable. - (e_addressbook_view_stop): just call e_addressbook_model_stop here - instead of switching on the view type. - - * gui/widgets/e-addressbook-view.h (struct _EAddressbookView): add - our EAddressbookModel. - - * gui/widgets/Makefile.am (libeminicard_a_SOURCES): add the - adapter files, and remove e-minicard-view-model.[ch]. - - * gui/widgets/e-minicard-view-model.[ch]: removed. - - * gui/widgets/e-addressbook-table-adapter.c: new file. - - * gui/widgets/e-addressbook-table-adapter.h: new file. - - * gui/widgets/e-addressbook-reflow-adapter.c: new file. - - * gui/widgets/e-addressbook-reflow-adapter.h: new file. - - * gui/widgets/e-addressbook-model.c: rework this class to now - subclass from ETableModel anymore. It not subclasses from - GtkObject, and we use table and reflow adapters to get at the - data. - - * gui/widgets/e-addressbook-model.h: same. - -2001-05-14 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-minicard-view-model.c (remove_card): Fix a small - error not decreasing the data_count here. - -2001-05-13 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.h: add prototype for - addressbook_expand_uri. - - * gui/component/addressbook-component.c - (destination_folder_handle_drop): create an EBook for - @physical_uri. - (dnd_drop_book_open_cb): actually add the dropped cards. - - * gui/component/addressbook.c (addressbook_expand_uri): abstract - this code out from the set_prop method so we can use it in the - component. - (set_prop): call addressbook_expand_uri. - - * backend/ebook/e-card.c (e_card_load_cards_from_string): new - function. - - * backend/ebook/e-card.h: add prototype for - e_card_load_cards_from_string. - -2001-05-12 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-component.c - (destination_folder_handle_drop): spew the data passed to us. - (destination_folder_handle_motion): the suggested_action is not an - ActionSet, but an Action, so don't or together multiple actions. - -2001-05-11 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-config.c (addressbook_source_dialog): - correct bug causing the Ok button to never be enabled. - -2001-05-11 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-component.c (populate_context_menu): - example. - -2001-05-11 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-minicard-view.c (e_minicard_view_drag_data_get): - use e_card_list_get_vcard to build up the data to send. - (e_minicard_view_init): connect to the model's drag_begin signal. - (e_minicard_view_drag_begin): gather the list of cards being - dragged and call gtk_drag_begin. - (add_to_list): new function. - (get_card_list): same. - (disconnect_signals): disconnect the drag_data_get signal. - (e_minicard_view_init): connect to the drag_begin signal on our - model. - - * gui/widgets/e-minicard-view.h (struct _EMinicardView): change - drag_card to drag_list. - - * gui/widgets/e-minicard-view-model.c (minicard_drag_begin): new - function, emit our drag_begin signal. - (addressbook_incarnate): connect to the item's drag_begin signal. - (e_minicard_view_model_class_init): init our drag_begin signal. - - * gui/widgets/e-minicard-view-model.h: add drag_begin signal. - - * gui/component/addressbook-config.c (addressbook_source_dialog): - always loop through all source types here, making LDAP first so - it's forces as the first notebook item. - (addressbook_config_auth_label): remove SASL case. - (addressbook_source_edit_changed): same. - (addressbook_source_item_new): flag the area of code that needs to - go into the advanced dialog (if we add one before someone - graciously redesigns the entire addressbook gui :) - - - * gui/component/addressbook-storage.c (ldap_unparse_auth): remove - SASL case. - (ldap_parse_auth): same. - - * gui/component/addressbook-storage.h: make LDAP come first in our - source type enumeration, and remove the SASL auth type. - -2001-05-11 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card.c (e_card_set_arg): If the name is set and - the full_name or file_as haven't been yet, set them. - -2001-05-11 Christopher James Lahey <clahey@ximian.com> - - * backend/pas/pas-backend-file.c: Reordered the includes here. - (string_to_dbt): The sleepycat libdb documentation suggests - memseting the DBT to 0 so we do that here. - - * gui/widgets/e-minicard-view-model.c (addressbook_height): Skip - the E_CARD_SIMPLE_FIELD_FAMILY_NAME field. - - * gui/widgets/e-minicard.c (remodel): Skip the - E_CARD_SIMPLE_FIELD_FAMILY_NAME field. - -2001-05-11 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (pas_backend_ldap_connect): only - check schema support if we've connected. - -2001-05-11 Chris Toshok <toshok@ximian.com> - - * contact-editor/e-contact-editor.c (enable_writable_fields): - don't leak the ECard or ECardSimple. - -2001-05-08 Iain Holmes <iain@ximian.com> - - * backend/ebook/GNOME_Evolution_Addressbook_VCard_Importer.oaf.in: - Renamed the GnomeCard_Importer.oaf.in to this, and change the IID. - - * Makefile.am: Rename all the GnomeCard to VCard. - - * evolution-vcard-importer.c: Make the GnomeCard a generic - vcard importer. - -2001-05-08 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/Makefile.am (libebookinclude_HEADERS): Removed - e-card-pairs.h since we're not using it. - - * backend/ebook/e-book-view.c (e_book_view_check_listener_queue): - Added break; to default: case here. - - * backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h: - Added changed variable so as to avoid sync_card when possible. - (e_card_simple_destroy): Free all the data here properly. - (e_card_simple_get_arg): Slight simplification here. - (fill_in_info, e_card_simple_arbitrary_foreach, - e_card_simple_get_arbitrary): Call e_card_free_empty_lists here to - save a bit of memory. - - * backend/ebook/e-card.c, backend/ebook/e-card.h: Fixed up - includes a bit. - (e_card_list_get_vcard, e_card_list_send): Added these functions - for acting on a group of cards. - (parse_org): Cleaned up this function a bit. - (e_card_free_empty_lists): Added this function to delete - unnecessary ELists and save a bit of memory. - (e_v_object_get_child_value): Made this return NULL if not found - instead of g_strdup(""). - - * contact-editor/e-contact-save-as.c, - contact-editor/e-contact-save-as.h (e_contact_list_save_as): Added - this function to save multiple contacts. - - * gui/widgets/Makefile.am: Commented out reflow test. - (libeminicard_a_SOURCES): Added e-minicard-view-model.c and - e-minicard-view-model.h. - - * gui/widgets/e-minicard-view-model.c, - gui/widgets/e-minicard-view-model.h: Model for use in - EMinicardView. - - * gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h: - Reworked this to use the new EReflow stuff. - - * gui/widgets/e-minicard.c (e_minicard_event): Doesn't handle - right click menus now. Emits a signal on the parent canvas item - instead. - - * printing/e-contact-print-envelope.c, - printing/e-contact-print-envelope.h - (e_contact_print_envelope_list_dialog_new): Added this function to - print multiple envelopes (only prints first for now.) - - * printing/e-contact-print.c, printing/e-contact-print.h - (e_contact_print_card_list_dialog_new): Added this function to - print multiple cards. Only prints the first for now. - -2001-05-07 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-component.c (remove_folder): flesh out - the function more. It should work now, but there's no way to - invoke this method from the ui at the moment, heh. - -2001-05-07 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook.c (book_open_cb): Use a different - error message in the ldap support/no ldap support/file cases. - -2001-05-07 Gediminas Paulauskas <menesis@delfi.lt> - - * gui/component/addressbook.c: use define from - widgets/misc/e-filter-bar.h instead of own enumeration and search menu - names. - - * gui/component/Makefile.am, gui/component/select-names/Makefile.am: - removed EVOLUTION_VERSION. - -2001-05-04 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-component.c (remove_folder): un-#if 0 - this. - (xfer_folder): add skeleton code to validate xfer request. always - notifies with PERMISSION_DENIED at present. - (populate_context_menu): un-#if 0 this. - (get_dnd_selection): same. - (destination_folder_handle_motion): new function. - (destination_folder_handle_drop): new function. - (factory_fn): create a EvolutionShellComponentDndDestinationFolder - interface, and add it to our shell component. - -2001-05-04 JP Rosevear <jpr@ximian.com> - - * backend/pas/pas-backend-file.c - (pas_backend_file_process_get_book_view): init change_id to NULL - -2001-05-02 JP Rosevear <jpr@ximian.com> - - * gui/component/addressbook.c (addressbook_view_free): unref the - book if the view is being destroyed - - * backend/pas/pas-backend-file.c - (pas_backend_file_process_get_book_view): unref the book_view when - we are finished, it is only interesting if someone else has reffed - it now (weak reference) - (pas_backend_file_add_client): unref the book for the same reason - as above - - * Fixes bug #2255 - -2001-04-30 JP Rosevear <jpr@ximian.com> - - * backend/pas/pas-backend-file.c (vcard_matches_search): if the - view does not contain a search context, the result is by default - false fixes #2470 - -2001-04-25 Dan Winship <danw@ximian.com> - - * gui/component/addressbook-factory.c (main): Remove call to - unicode_init. - -2001-04-23 Jon Trowbridge <trow@ximian.com> - - * gui/component/e-address-popup.c: Lots of code has been - simplified here. - (e_address_popup_factory_new_control): Rather than directly pop - our control up in a window (via the e_address_popup_popup - function, which is now gone), just return the widget and let the - caller do the popping. This works better, since it means we don't - have to work around the vagaries of bonobo focus & event handling. - (e_address_popup_set_name): Refresh when both name & email have - been set, rather than checking a stupid counter. - (e_address_popup_set_email): Ditto. - -2001-04-22 Christopher James Lahey <clahey@ximian.com> - - * gui/component/addressbook-storage.c - (addressbook_storage_clear_sources): Added save_source_data here. - -2001-04-21 Jon Trowbridge <trow@ximian.com> - - * contact-editor/e-contact-quick-add.c (clicked_cb): Properly - convert to utf8. (Bug #2256) - (build_quick_add_dialog): Properly convert from utf8. (Bug #2256) - -2001-04-16 Jon Trowbridge <trow@ximian.com> - - * backend/ebook/e-destination.c (e_destination_get_name): Added. - - * gui/component/select-names/e-select-names.c - (real_add_address_cb): Use e_select_names_model_append. It's - nicer. - - * gui/component/select-names/e-select-names-model.c - (e_select_names_model_append): Added. - - * gui/component/select-names/e-select-names-completion.c - (book_query_process_card_list): Filter out completion matches that - don't have an associated e-mail address. - (book_query_score): Give a bonus to the primary address, so that - it always comes up first in the completion results. - - * gui/component/e-address-popup.c (e_address_popup_refresh_names): - Convert utf8 strings into gtk strings before displaying. - -2001-04-14 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-book-view-listener.c, - backend/ebook/e-book-view-listener.h: Added the function - e_book_view_listener_stop to tell the book view listener to stop - sending signals. - - * backend/ebook/e-book-view.c (e_book_view_destroy): Tell the - EBookViewListener to stop when we're destroyed. - - * backend/pas/pas-backend-file.c (view_destroy, - pas_backend_file_process_get_book_view, - pas_backend_file_process_get_changes): Cleaned these up a bit - using bonobo_object_ref and bonobo_object_unref. - (pas_backend_file_process_get_book_view, - pas_backend_file_process_get_changes): bonobo_object_release_unref - the EBookListener here. - - * backend/pas/pas-backend-ldap.c - (pas_backend_ldap_process_get_book_view): Cleaned this up a bit - using bonobo_object_ref. Make sure to unref the listener when - we're done with it. Put the new book_view in the list before - telling the book_listener that it's ready. - - * backend/pas/pas-book-view.c (pas_book_view_construct): Cleaned - this up a bit using bonobo_object_dup_ref. - (pas_book_view_destroy): Cleaned this up a bit using - bonobo_object_release_unref. - - * backend/pas/pas-book.c (pas_book_queue_get_book_view, - pas_book_queue_get_changes): bonobo_object_dup_ref here instead of - just duplicating. - -2001-04-14 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-book-listener.c - (impl_BookListener_respond_get_cursor): Ref the cursor here when - we receive it. - (impl_BookListener_respond_get_view, - impl_BookListener_respond_get_changes): Ref the book_view here - when we receive it. - (impl_BookListener_respond_open_book): Ref the book here when we - receive it. - (e_book_listener_destroy): Unref the objects in our queue here. - - * backend/ebook/e-book-view.c (e_book_view_construct): Cleaned - this up using bonobo_object_dup_ref. - (e_book_view_destroy): Cleaned this up using - bonobo_object_release_unref. - - * backend/ebook/e-book.c (e_book_do_response_get_cursor, - e_book_do_response_get_view, e_book_do_response_get_changes, - e_book_unload_uri): Cleaned this up using - bonobo_object_release_unref. - -2001-04-13 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names-bonobo.c - (entry_get_property_fn): Get the ESelectNamesModel from the - widget's text model instead of storing it as a gtk_object_set_data - since it may change. - -2001-04-12 Jason Leach <jasonleach@usa.net> - - * backend/pas/pas-backend-file.c (INITIAL_VCARD): Update the Voice - and Fax phone numbers too, finishing off bug #1667. - -2001-04-11 Christopher James Lahey <clahey@ximian.com> - - * backend/pas/pas-backend-file.c (INITIAL_VCARD): Update the built - in VCard. - -2001-04-12 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (local_record_from_ecard): put the - business address into the pilot record as that is what we put into - the desktop record - (ecard_from_remote_record): set both the address label and - delivery address to avoid bad parser guessing, fixes #2143 - - * backend/ebook/e-card-types.h: remove deprecated pilot code - - * backend/ebook/e-card.c: ditto - - * backend/ebook/e-card.h: ditto - -2001-04-11 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (local_record_from_ecard): Don't add - more than five phone numbers and set the remaining blank entries - to some reasonable defaults - -2001-04-11 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card-simple.h: Added - E_CARD_SIMPLE_FIELD_LAST_SIMPLE_STRING. - - * gui/component/addressbook-component.c (accepted_dnd_types): - Fixed a warning here. - - * gui/widgets/e-addressbook-model.c: Modified this to have more - columns, but not let them be edited if they're not a simple - string. - - * gui/widgets/e-minicard-view.c (e_minicard_view_init): Fixed a - warning and a memory leak here. - -2001-04-10 Gediminas Paulauskas <menesis@delfi.lt> - - * backend/ebook/evolution-gnomecard-importer.c: added missing #include. - * contact-editor/e-contact-editor.c (_arrow_pressed): popup menu items were - not translated after selecting one of them. - * gui/widgets/e-addressbook-view.c: mark popup menu items with N_(). - Updated list[] for translators. - * gui/widgets/e-minicard.c: same. - * gui/widgets/e-minicard-view-widget.c (e_minicard_view_widget_set_arg): fix warning - for "editable" arg. - * gui/widgets/e-minicard-view.c: convert "empty_message" to utf8. - -2001-04-09 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-component.c (remove_folder): stubbed, - #if 0'ed - (xfer_folder): same. - (populate_context_menu): same. - (get_dnd_selection): same. - (factory_fn): add the accepted drag types ("text/x-vard") to - folder_types. - -2001-04-09 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-minicard.c (e_minicard_event): on BUTTON_PRESS: if - it's button 1, store the button x, y, and set drag_button_down to - TRUE. on BUTTON_RELEASE: always set drag_button_down to FALSE. - for MOTION_NOTIFY: initiate drag if the pointer has moved 3 - pixels. - - * gui/widgets/e-minicard.h (struct _EMinicard): add fields for - button x, y, and a bit for if the button has been pressed so we - can tell whether a motion should be a drag. - (struct _EMinicardClass): add drag_begin signal. - - * gui/widgets/e-minicard-view.c (e_minicard_view_drag_begin): new - function, starts the drag. - (book_view_loaded): connect the "drag_data_get" signal. - (e_minicard_view_drag_data_get): new function. - - * gui/widgets/e-minicard-view.h (struct _EMinicardView): add - drag_card and id for canvas_drag_data_get_id. - - * gui/widgets/e-addressbook-view.c (table_drag_data_get): new - function. - (create_table_view): add d&d stuff. - -2001-04-08 Chris Toshok <toshok@ximian.com> - - * printing/e-contact-print.c: add #include <sys/types.h> since - gnome-print.h uses time_t without including it. this really - should be fixed in gnome-print. - -2001-04-08 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (pas_backend_ldap_add_client): - make sure to notify new clients to the writable status of an - already open (and authenticated) book. - -2001-04-04 Kjartan Maraas <kmaraas@gnome.org> - - * contact-editor/e-contact-editor.[ch]: Fix headers. - * component/addressbook-storage.c: Same here. - * gui/search/e-addressbook-search-dialog.c: Same here. - * gui/widgets/e-addressbook-view.c: Same here. - * gui/widgets/e-minicard-label.c: Same here. - * gui/widgets/e-minicard-view-widget.c: Same here. - * gui/widgets/e-minicard-view.c: Same here. - * gui/widgets/e-minicard-widget-test.c: Same here. - * gui/widgets/e-minicard-widget.c: Same here. - * gui/widgets/e-minicard.c: Same here. - * gui/widgets/test-minicard-label.c: Same here. - -2001-04-03 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-addressbook-view.c (table_double_click): Fixed a - crash here. - -2001-04-03 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-addressbook-model.c (COLS): Made this table model - more consistent in the number of columns it has. - (addressbook_append_row): Fixed this function. We removed the col - offset. - -2001-04-02 Iain Holmes <iain@ximian.com> - - * backend/ebook/evolution-gnomecard-importer.c (importer_init): Shut - down and unregister the factory on exit. - -2001-04-01 Gediminas Paulauskas <menesis@delfi.lt> - - * contact-editor/contact-editor.glade: changed icon to - evolution-contacts-plain.png. - * gui/component/addressbook.c: use new pixmap cache. Added icon for new - contact, print, print preview, changed filenames of renamed icons. - -2001-03-31 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names.c - (real_add_address_cb): Call e_select_names_model_clean after - adding address. This should deal with the bug reports related - to stray commas. - - * gui/component/select-names/e-select-names-model.c - (e_select_names_model_clean): Added. Remove all empty destinations. - - * backend/ebook/e-destination.c (e_destination_is_empty): Added. Check - if an EDestination is in essentially a null state. - -2001-03-30 Christopher James Lahey <clahey@ximian.com> - - * backend/pas/pas-backend-file.c (pas_backend_file_add_client): - Tell new clients that are added whether they're writable. - -2001-03-29 Jon Trowbridge <trow@ximian.com> - - * printing/e-contact-print.c: Added #include <libgnome/gnome-paper.h> - - * printing/e-contact-print-envelope.c: Added #include <time.h> - and #include <libgnome/gnome-paper.h> - -2001-04-03 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names-completion.c - (match_email): Better handle matching of "nameless" contacts. - - * backend/ebook/e-destination.c (e_destination_get_string): Better - handle the case of a "nameless" contact. - -2001-03-29 Kjartan Maraas <kmaraas@gnome.org> - - * *.*: Clean up #includes. Replace <gnome.h>, <bonobo.h> and - <gtk/gtk.h> with more finegrained headers where needed. - -2001-03-28 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card.c (e_card_set_arg): Fixed some crashes. - -2001-03-28 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names-table-model.c - (fill_in_info): Use E_CARD_SIMPLE_FIELD_NAME_OR_ORG instead of - getting the NAME and then the ORG. That way if we expand - NAME_OR_ORG, this will use it. - - * gui/component/select-names/e-select-names.c - (e_addressbook_create_ebook_table, SPEC): Use the correct column - in the SPEC. - -2001-03-25 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-completion.c - (e_select_names_completion_seq_complete_cb): Rather than starting - the pending query by directly calling - e_select_names_completion_do_query, call - e_completion_begin_search. Circumventing the ECompletion API was - causing it to get confused in some cases. - -2001-03-23 Jon Trowbridge <trow@ximian.com> - - * gui/widgets/e-minicard-widget.c (e_minicard_widget_set_card): - Added. Call me old-fashioned, but I just prefer to have a real - API rather than doing everything via gtk_object_get/set-type - calls. - (e_minicard_widget_set_arg): Changed to call - e_minicard_widget_set_card. - - * backend/ebook/e-book-util.c: Small changes to get rid of - compiler warnings. (Casting out const, removed unused variables, - etc.) Removed some debugging messages. - - * gui/component/addressbook-factory.c (main): Added call - to e_address_popup_factory_init. - - * gui/component/e-address-popup.c: Added. A popup gadget that is - invoked (as a bonobo control) when an address is left-clicked in - the mailer. The addressbook is queries, and the address is either - displayed as a minicard (if it already exists) or in a "generic - format". A button is provided for editting/adding the contact. - Some of the semantics of this widget are a bit... non-standard, - because of bonobo issues. I can't really seem to replicate - popup-menu behavior because of how bonobo propogates events, etc. - so I've tried to produce something that I think is non-annoying. - YMMV. - -2001-03-22 Iain Holmes <iain@ximian.com> - - * backend/ebook/evolution-gnomecard-importer.c: Update to the new - IDL. - -2001-03-20 Miguel de Icaza <miguel@ximian.com> - - * gui/component/addressbook.c (update_pixmaps): Added artwork from - Jakub. - -2001-03-19 Christopher James Lahey <clahey@ximian.com> - - * Merged branch: - -2001-03-14 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-minicard-view.c: Call - e_selection_model_simple_insert_rows and - e_selection_model_simple_delete_rows instead of - e_selection_model_simple_insert_row and - e_selection_model_simple_delete_row. - -End of branch - -2001-03-17 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-completion.c: Brutally - refactored to boost performance in large-addressbook situations. - These fixes give accepable performance (even with the suboptimal - pas-backend-file searching) using tigert's addressbook-of-death. - - * backend/pas/pas-backend-file.c (pas_backend_file_search): - Start feeding query matches back to the caller before the - entire search is complete; this gives us some "instant feedback" - rather than causing evolution to totally lock up... - - * backend/ebook/e-book.c (e_book_queue_op): Tag all queued ops. - (e_book_cancel_op): Added. Search for a pending op with a given - tag, and mark it as inactive. - (e_book_do_response_get_cursor): Don't execute callback if this - operations has been cancelled. - (e_book_do_response_get_view): Ditto. - (e_book_do_response_get_changes): Ditto. - (e_book_do_response_get_supported_fields): Ditto. - (e_book_get_supported_fields): Return an operation tag (that can - be used to cancel the operation) rather than just TRUE/FALSE. - Zero is always an invalid tag and is returned in the case of an - error, so this shouldn't break any code that looked at the return - value (unless it did so in a particularly stupid way, of course). - (e_book_get_cursor): Ditto. - (e_book_get_book_view): Ditto. - (e_book_get_changes): Ditto. - (e_book_cancel): Added. Cancel a pending operation. (Basically - a call to e_book_cancel_op with error checking, etc.) - - * backend/ebook/e-book-types.h: Added E_BOOK_STATUS_CANCELLED. - -2001-03-17 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-book-listener.c - (e_book_listener_queue_writable_status): new function. - (impl_BookListener_report_writable): new function. - (e_book_listener_get_epv): fill in epv->notifyWritable. - - * backend/ebook/e-book-listener.h: add writable status entries. - - * backend/ebook/e-book.c (e_book_do_writable_event): new function. - (e_book_check_listener_queue): add WritableStatusEvent to the - switch. - (e_book_class_init): register writable_status signal. - - * backend/ebook/e-book.h: add writable_status signal. - - * backend/idl/addressbook.idl: add notifyWritable method to - BookListener. - - * gui/widgets/e-minicard.c (e_minicard_class_init): add "editable" - arg. - (e_minicard_init): init editable. - (e_minicard_set_arg): loop over the minicard fields setting their - "editable". - (e_minicard_get_arg): add editable. - (supported_fields_cb): use editable when creating the - contact_editor. - (add_field): set "editable" when creatin the e_minicard. - - * gui/widgets/e-minicard.h (struct _EMinicard): add "editable". - - * gui/widgets/e-minicard-view.c (e_minicard_view_class_init): add - editable arg. - (e_minicard_view_init): init editable. - (create_card): pass editable to e_minicard canvas item. - (e_minicard_view_set_arg): bit of a hack - loop over all the - canvas items setting their "editable." - (e_minicard_view_get_arg): add editable. - (supported_fields_cb): use editable when creating the contact - editor. - - * gui/widgets/e-minicard-view.h (struct _EMinicardView): add - "editable." - - * gui/widgets/e-minicard-view-widget.c - (e_minicard_view_widget_class_init): add "editable" field. - (e_minicard_view_widget_init): init editable to FALSE. - (e_minicard_view_widget_set_arg): save editable, and pass it along - the e-minicard-view. - (e_minicard_view_widget_realize): same. - (e_minicard_view_widget_get_arg): add editable. - - * gui/widgets/e-minicard-view-widget.h (struct - _EMinicardViewWidget): add "editable" field. - - * gui/widgets/e-minicard-label.h (struct _EMinicardLabel): add - "editable" field. - - * gui/widgets/e-minicard-label.c (e_minicard_label_class_init): - add "editable" arg. - (e_minicard_label_set_arg): editable, set it on the e_text too. - (e_minicard_label_get_arg): editable. - (e_minicard_label_construct): set the "editable" field when we - create the e_text cavas item - - * gui/widgets/e-addressbook-view.c (e_addressbook_view_init): - default editable to FALSE. - (book_writable_cb): new function, set our editable field and - gtk_object_set it on the active view. - (e_addressbook_view_set_arg): set the active view's editable when - we set the view's book, and connect the "writable_status" signal - to book_writable_cb. - (change_view_type): same. - (supported_fields_cb): use our "editable" when creating the - contact editor. - - * gui/widgets/e-addressbook-view.h (struct _EAddressbookView): add - editable field. - - * gui/widgets/e-addressbook-model.c (e_addressbook_model_init): - change the default of editable to FALSE. - - * backend/pas/pas-book.c (pas_book_report_writable): new function. - - * backend/pas/pas-book.h: prototype for pas_book_report_writable. - - * backend/pas/pas-backend-file.c (pas_backend_file_load_uri): if - we open the file O_RDWR (or create it) report it as writable. if - we can't open it as O_RDWR, try opening it read-only before we - attempt to create it. - - * backend/pas/pas-backend-ldap.c - (pas_backend_ldap_process_authenticate_user): if we authenticate - successfully, grant write permissions (this is lacking but there's - really nothing we can do to determine the extent of the access - afforded a user.) - - -2001-03-15 Jon Trowbridge <trow@ximian.com> - - * gui/component/e-address-widget.c: Added addressbook querying and - "cardification" functions, which are turned off by default for now - because of addressbook bugs. Added a popup menu option to turn - queries on, so that others can enjoy the thrill of massive flaming - death. - - * gui/component/addressbook-factory.c (main): Made warnings always - be fatal. - - * backend/pas/pas-book-view.c: Added some debugging spew. - - * backend/pas/pas-backend-file.c (pas_backend_file_search): Added - a little experimental code to try to make file searches scale - better. #if 0/#endif-ed out for now. - - * contact-editor/e-contact-quick-add.c: #included e-book-util.h. - - * backend/ebook/e-card.c (e_card_name_match_string): Added. - Looser name-matching function. - (e_card_email_match_string): Added. Loose e-mail matching. - - * backend/ebook/e-book-view-listener.c - (e_book_view_listener_check_queue): Added code to cause us to - abort rather than get trapped in a 100%-CPU-consuming loop in - certain situations. Now we just need to figure out how to avoid - these situations altogether. - - * backend/ebook/e-book-util.c: Added. Now contains the simple - query stuff and the open local addressbook functions. - - * backend/ebook/e-book.c: Moved simple query stuff and open local - addressbook functions into e-book-util.c. - -2001-03-15 Dan Winship <danw@ximian.com> - - * gui/widgets/e-minicard-label.c (e_minicard_label_set_arg): - * gui/widgets/e-minicard.c (e_minicard_set_arg, e_minicard_event): - Update arguments to e_canvas_item_grab_focus. - -2001-03-13 Christopher James Lahey <clahey@ximian.com> - - * gui/component/addressbook.c (update_pixmaps): Fix a warning - here. - -2001-03-13 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/Makefile.am (minicard_label_test_LDADD): Change to - ld order from Greg Williams. - -2001-03-13 Christopher James Lahey <clahey@ximian.com> - - * backend/pas/pas-backend-file.c - (pas_backend_file_process_get_book_view): Moved where we call - pas_book_respond_get_book_view. - -2001-03-12 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c: add E_STRING_PROP for - categories. - - * backend/pas/evolutionperson.schema: add categories attribute. - - * backend/ebook/e-card-simple.c (field_data): add - E_CARD_SIMPLE_FIELD_CATEGORIES. - - * backend/ebook/e-card-simple.h: add - E_CARD_SIMPLE_FIELD_CATEGORIES. - -2001-03-12 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-minicard.c (supported_fields_cb): add is_read_only - param. - - * gui/widgets/e-minicard-view.c (supported_fields_cb): add - is_read_only param. - - * gui/widgets/e-addressbook-view.c (supported_fields_cb): add - is_read_only param. - - * gui/component/select-names/e-select-names-text-model.c - (e_select_names_text_model_activate_obj): add is_read_only param. - also, include a little policy here and make it TRUE, as the user - shouldn't be editting in this context anyway (imo). - - * gui/component/addressbook.c (supported_fields_cb): add - is_read_only param. - - * contact-editor/test-editor.c (main): add is_read_only param. - - * contact-editor/e-contact-editor.c (set_read_only): new function, - that either enables or disables all the text fields, combo boxes, - and some buttons, depending on the state of is_read_only. - (e_contact_editor_class_init): add read/write arg "is_read_only". - (full_name_clicked): set the is_read_only of the fullname dialog - to the editor's. - (full_addr_clicked): same. - (e_contact_editor_new): add is_read_only param, that gets set - along with the other params. - (e_contact_editor_set_arg): add setter for is_read_only. - (e_contact_editor_get_arg): add getter for is_read_only. - (_phone_arrow_pressed): change TRUE to !editor->is_read_only for - entry. - (_email_arrow_pressed): same. - (_address_arrow_pressed): same. - (enable_writable_fields): same. - - * contact-editor/e-contact-editor-fullname.c - (e_contact_editor_fullname_class_init): add read/write arg - "is_read_only". - (e_contact_editor_fullname_set_arg): add setter for is_read_only - that enables/disables all the entries/combos. - (e_contact_editor_fullname_get_arg): add getter for is_read_only. - - * contact-editor/e-contact-editor-fullname.h (struct - _EContactEditorFullname): add is_read_only flag. - - * contact-editor/e-contact-editor-address.c - (e_contact_editor_address_class_init): add read/write arg - "is_read_only". - (e_contact_editor_address_set_arg): add setter for is_read_only - that disables/enables all the entries/combos. - (e_contact_editor_address_get_arg): add getter for is_read_only. - - * contact-editor/e-contact-editor-address.h (struct - _EContactEditorAddress): add is_read_only flag. - -2001-03-13 Iain Holmes <iain@ximian.com> - - * backend/ebook/Makefile.am: Change the importer includes around a bit. - - * backend/ebook/evolution-gnomecard-importer.c: Correctly add the includes. - -2001-03-09 JP Rosevear <jpr@ximian.com> - - * conduit/Makefile.am: PISOCK_INCLUDEDIR has become - PISOCK_CFLAGS in gnome-pilot.m4 and remove capplet foo - -2001-03-11 Jon Trowbridge <trow@ximian.com> - - * backend/ebook/e-book.c (e_book_simple_query): Added. A - simplified, cancellable query mechanism that lets you avoid - dealing with EBookView. - (e_book_simple_query_cancel): Added. Cancels a running query. - - * backend/ebook/e-book-types.h: Add enum EBookSimpleQueryStatus. - -2001-03-08 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-popup.c - (quick_add_cb): Switched to use e_contact_quick_add_free_form. - Removed debugging code, hopefully without introducing any bugs - in the process. - - * gui/component/select-names/e-select-names-text-model.c - (e_select_names_text_model_insert_length): Fix bug with commas - inside of name/address combos. As long as the comma is inside of - quotes, it will be treated as part of the name rather than as a - break between addresses. - - * gui/component/select-names/e-select-names-completion.c - (match_nickname): Use e_card_name_to_string for nickname match - strings. - (match_email): Use e_card_name_to_string for email match strings. - (e_select_names_completion_begin): Strip quotes out of query text, - so we don't produce malformed sexps. - Added William Blake quote easter egg. - - * contact-editor/e-contact-quick-add.c: Further attempts to fix... - mostly unsuccessful. - (e_contact_quick_add_free_form): Added. Takes a single string - and tries to parse out (using some simple, loose rules) the - name and e-mail -- then calls e_contact_quick_add. An attempt to - get the computer to automatically Do The Right Thing. - - * backend/ebook/e-book.c: Fixed some broken indentation. Yes, I'm - anal. - - * gui/component/GNOME_Evolution_Addressbook.oafinfo: Added oaf_server - info for EAddressWidget. - - * gui/component/GNOME_Evolution_Addressbook.oaf.in: Added oaf_server - info for EAddressWidget. - - * gui/component/addressbook-factory.c (main): Add call to - e_address_widget_factory_init. - - * gui/component/e-address-widget.h: - * gui/component/e-address-widget.c: Added. A little widget (and a - Bonobo control, BTW) for displaying addresses, with a left-click - menu. Used to display addresses in the mail viewer (as embedded - GtkHTML objects, replacing the text previously used). Still quite - incomplete. - -2001-03-08 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook-component.c (factory_fn): Specify a - NULL `EvolutionShellComponentGetDndSelectionFn'. - -2001-03-06 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-text-model.c - (e_select_names_text_model_insert_length): Fix glitch with - inserting comma-delimited stuff when length > 1. - -2001-03-06 Jon Trowbridge <trow@ximian.com> - - * backend/ebook/e-book.c (e_book_load_local_address_book): Added. - Just encapsulates opening - file://~username/evolution/local/Contactes/addressbook.db, so that - path doesn't need to be hardwired in throughout the code. - -2001-03-06 Benjamin Kahn <xkahn@cybersites.com> - - * contact-editor/e-contact-quick-add.c (clicked_cb): - Added the third argument to e_contact_editor_new. (Cheated - and send NULL for the field argument, which is probably - troublesome. It will be fixed soon by either clahey or - toshok.) - -2001-03-06 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-model.c - (e_select_names_model_replace): Fix a reference counting bug. - - * gui/component/select-names/e-select-names-manager.c (popup_cb): - A callback for creating the appropriate popup by calling - e_select_names_popup. - (e_select_names_manager_create_entry): Connect popup_cb to the - entry's popup signal - - * gui/component/select-names/e-select-names-popup.c: Added. Code - for popup right-click menus for recipient entries. Still a bit - incomplete. - - * backend/ebook/e-destination.c (e_destination_get_email_num): - Added. - - * contact-editor/e-contact-quick-add.c: Added. Some code and a - dialog for very quickly adding entries to the address book. - Still not fully working. - -2001-03-04 Christopher James Lahey <clahey@ximian.com> - - * backend/ebook/e-card-simple.c: Cleaned up the formatting in this - file a bit. - - * contact-editor/e-contact-editor.c (e_contact_editor_set_arg): - Made it so that passing in NULL to the writable_fields arg sets - the set of writable fields to the empty set. - - * gui/component/select-names/e-select-names-text-model.c - (e_select_names_text_model_activate_obj): Pass NULL as the - writable_fields argument here. - - * gui/widgets/e-addressbook-model.c: Don't offset by one here. - This way we will get the file_as field as one of our - ETableColumns. - - * gui/widgets/e-addressbook-view.c (SPEC): Updated this for the - changes in ECardSimple. - - * gui/widgets/e-minicard.c (remodel): Don't remodel if the item - isn't realized. - -2001-03-02 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c: doh, track renaming of - objectclass from evolvePerson to evolutionPerson. - -2001-03-02 Chris Toshok <toshok@ximian.com> - - * backend/pas/evolutionperson.schema: rename evolveperson.schema - to this, and add remaining attributes. - - * backend/pas/pas-backend-ldap.c: add remaining fields, and fix up - ones that were incorrent (either the ldap_attr or the query prop). - -2001-03-02 JP Rosevear <jpr@ximian.com> - - * conduit/Makefile.am: update sed script - - * conduit/e-address.conduit.in: update for new pilot foo - -2001-03-02 Chris Toshok <toshok@ximian.com> - - * gui/component/select-names/e-select-names-text-model.c - (e_select_names_text_model_activate_obj): track change to - e_contact_editor_new. - -2001-03-02 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (add_objectclass_mod): add - objectclasses for "person", "organizationalPerson", and "top" as - well, just to be complete. - (check_schema_support): rename check_for_evolve_person to this, to - reflect that we're doing more than just checking for that - objectClass. - (add_oc_attributes_to_supported_fields): new function. - (add_to_supported_fields): new function. - (pas_backend_ldap_destroy): unref supported_fields. - -2001-03-02 Chris Toshok <toshok@ximian.com> - - * gui/widgets/e-minicard-view.c (supported_fields_cb): new - function. - (e_minicard_view_event): split out the creation of the contact - editor to the supported_fields callback. - - * gui/widgets/e-minicard.c (supported_fields_cb): new function. - (e_minicard_event): split out the creation of the contact editor - to the supported_fields callback. - - * gui/widgets/e-addressbook-view.c (table_double_click): split - function into two functions, since e_book_get_supported_fields - requires a callback now. - (supported_fields_cb): new function. - - * gui/component/addressbook.c (new_contact_cb): split this into - two functions, since e_book_get_supported_fields requires a - callback now. - (supported_fields_cb): new function. - - * contact-editor/test-editor.c (main): track change to - e_contact_editor_new (pass NULL for the writable_fields arg.) - - * contact-editor/contact-editor.glade: fix several labels so they - make better sense (since we look them up in e-contact-editor.c.) - - * contact-editor/e-contact-editor.h (struct _EContactEditor): add - writable_fields. also, add it to e_contact_editor_new. - - * contact-editor/e-contact-editor.c (e_contact_editor_class_init): - add writable_fields arg. - (e_contact_editor_destroy): unref the writable_fields list. - (e_contact_editor_new): pass @fields as the writable_fields arg. - (e_contact_editor_set_arg): add writable_fields support. - (enable_writable_fields): new (very hairy) function, to disable - everything and reenable just the fields listed in the - writable_fields list. - (_email_arrow_pressed): set label-email1, entry-email1, and - checkbutton-htmlmail to be sensitive since the only way to get - here is to activate a writable field in the menu. - (_address_arrow_pressed): set label-address, button-fulladdr, and - text-address to be sensitive for the same reason. - (_phone_arrow_pressed): sensitize the label and entry for the same - reason. - -2001-03-02 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-card-simple.c (field_data): add new entries for - phone enums, and fill in the ecard_field with (bogus in all but a - few cases) strings. these are the strings sent from wombat to - evolution-addressbook for supported_fields. - (e_card_simple_get_ecard_field): new function. - (e_card_simple_map_phone_to_field): new function. - (e_card_simple_map_email_to_field): new function. - (e_card_simple_map_address_to_field): new function. - - * backend/ebook/e-card-simple.h: add a few phone entries to the - ECardSimpleField enum, and add prototypes for mapping the list - types (phone, email, address) to ECardSimpleField. Also, add - prototype for e_card_simple_get_ecard_field. - - * backend/ebook/e-book.c - (e_book_do_response_get_supported_fields): don't build the EList - here, it's already built. - - * backend/ebook/e-book-listener.h: change fields from the CORBA - sequence to the EList in our reponse struct. - - * backend/ebook/e-book-listener.c - (e_book_listener_queue_get_supported_fields_response): we make the - EList here, since after we return the CORBA list is freed up. - -2001-03-02 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-file.c - (pas_backend_file_process_get_supported_fields): implement - properly, we support everything. - -2001-03-01 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-bonobo.c - (entry_set_property_fn): Oops, we do need to be able to write to - "text" after all (for things like Reply-to: to work properly). - Fixed. - (impl_SelectNames_get_entry_for_section): Made "text" a writeable - property again. - - * gui/component/select-names/e-select-names-text-model.c - (e_select_names_text_model_insert_length): Increment pos so that - we don't reverse strings when length > 1 (a particularly amusing - bug). - - * gui/component/select-names/e-select-names-completion.c - (e_select_names_completion_destroy): Check for NULL before calling - gtk_object_unref (GTK_OBJECT (---)), to get rid of annoying error - messages. - -2001-03-01 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-completion.c: I am an - idiot. - -2001-03-01 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-table-model.c - (fill_in_info): Change for new EDestination/ESelectNamesModel API. - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_manager_get_source): Added. A function for - looking up the ESelectNamesModel by id. (I didn't end up using - this function, but it might come in handy later.) - (e_select_names_manager_get_cards): #if 0/#endif out this - function. - (e_select_names_manager_create_entry): Modified to attach an - ESelectNamesCompletion to the entry we create. - (completion_handler): A post-completion handler for our EEntry, to - take the completion's extra data (an EDestination) and properly - stick it into our ESelectNamesModel. - - * gui/component/select-names/e-select-names.c - (real_add_address_cb): Changed to operate on EDestinations rather - than ECards and to use the new ESelectNamesModel API. This leads - to a rather nice code simplication. - (remove_address): Changed for new ESelectNamesModel API. - - * gui/component/select-names/e-select-names-bonobo.c - (entry_get_property_fn): Rather than just passing the entry's text - through the property bag, get the "address text" from the model. - This returns a nice, verbose string of addresses with names - expanded when the address is tied to an ECard (i.e. "Jon - Trowbridge <trow@ximian.com>"). - (impl_SelectNames_get_entry_for_section): Make the text property - read-only. - (entry_set_property_fn): ...and since it is read-only now, chop - out the setter code. - - * gui/component/select-names/e-select-names-text-model.h: - * gui/component/select-names/e-select-names-text-model.c: Again, - this code has been (pretty much) totally rewritten to convert all - text operations into changes on the ESelectNamesModel. This lets - us give the associated EEntry some (IMHO) nice semantics regarding - whitespace, etc. Includes object activation, so destinations tied - to ECards are underlined and can be double-clicked to bring up a - contact editor. - - * gui/component/select-names/e-select-names-model.h: - * gui/component/select-names/e-select-names-model.c: I've heavily - modified this object to both hide all implementation details - (which the old version exposed a bit too much for my peculiar - tastes) and to act as an EDestination container. The old code put - the text model operations here. I've moved them all to - ESelectNamesTextModel --- so the text model actions (insert, - delete, etc.) are all done through the API rather than operating on - ESelectNamesModel internals. - - * gui/component/select-names/e-select-names-completion.c: Added. A - fairly complicated object derived from ECompletion that searches - our local addressbook in various and sundry ways. - - * gui/component/select-names/e-select-names-completion.h: - - * backend/ebook/e-destination.h: - * backend/ebook/e-destination.c: Added. This object encapsulates - a place to sent an email to, which can either be just a address as - a string ("trow@ximian.com"), a fancier string ("Jon Trowbridge - <trow@ximian.com>"), or an ECard and a specific address within - that ECard. - -2001-03-01 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h, - gui/widgets/e-minicard.c, gui/widgets/e-minicard.h: Used - ESelectionModelSimple and the changes to EReflow and EReflowSorted - to get multiple selection in the minicard view. - - * gui/widgets/test-reflow.c: Changed this to get it to compile - with the changes to EReflow. - -2001-02-21 Christopher James Lahey <clahey@ximian.com> - - * backend/pas/pas-backend-file.c (pas_backend_file_search): Made - this pay attention to the return value of e_sexp_parse. - - * gui/component/select-names/e-select-names-text-model.c - (e_select_names_text_model_activate_obj): Fixed a const - inconsistency here. - -2001-02-21 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-book.c (pas_book_queue_get_supported_fields): - new function. - (impl_GNOME_Evolution_Addressbook_Book_getSupportedFields): track - change to idl. - (pas_book_respond_get_supported_fields): new function. - - * backend/pas/pas-book.h: add GetSupportedFields to the - PASOperation enum. Also, add a stringlist field to the PASRequest - struct. lastly, add a prototype for - pas_book_respond_get_supported_fields. - - * backend/pas/pas-backend.h: remove prototype for - pas_backend_get_supported_fields, and remove it from the vtable. - - * backend/pas/pas-backend.c (pas_backend_get_supported_fields): - remove. - (pas_backend_class_init): no vtable entry for get_supported_fields - anymore. - - * backend/pas/pas-backend-ldap.c - (pas_backend_ldap_process_get_supported_fields): new function. - (pas_backend_ldap_process_client_requests): add case for - GetSupportedFields. - (pas_backend_ldap_class_init): get_supported_fields isn't in - vtable anymore. - - * backend/pas/pas-backend-file.c - (pas_backend_file_process_get_supported_fields): new function. - (pas_backend_file_process_client_requests): add case for - GetSupportedFields. - (pas_backend_file_class_init): get_supported_fields isn't in - vtable anymore. - - * backend/idl/addressbook.idl: Book::getSupportedFields now - returns void and add BookListener::notifySupportedFields. - - * backend/ebook/test-client.c (get_fields_cb): new function. - (auth_user_cb): track change to e_book_get_supported_fields. - - * backend/ebook/e-book.c - (e_book_do_response_get_supported_fields): new function. - (e_book_check_listener_queue): add case - GetSupportedFieldsResponse. - (e_book_get_supported_fields): switch to async model. - - * backend/ebook/e-book.h: switch e_book_get_supported_fields to an - async model. - - * backend/ebook/e-book-listener.c - (e_book_listener_queue_get_supported_fields_response): new - function. - (impl_BookListener_response_get_supported_fields): new function. - (e_book_listener_get_epv): fill in epv's "notifySupportedFields" - - * backend/ebook/e-book-listener.h: add an async response for - GetSupportedFields and add a stringlist member to the - EBookListenerResponse struct. - -2001-02-20 Federico Mena Quintero <federico@ximian.com> - - * backend/pas/pas-book-factory.c (pas_book_factory_activate): - Moved the register_factory() code to here, since it was the only - thing being called anyways. - (PasBookFactoryPrivate): Added a "registered" flag. - (pas_book_factory_activate): Set the registered flag. - (pas_book_factory_destroy): Deactivate the factory when we go away. - -2001-02-20 Chris Toshok <toshok@ximian.com> - - * backend/ebook/e-book.c (e_book_get_supported_fields): new function. - - * backend/ebook/e-book.h: add e-book interface to getting - supported fields. - - * backend/ebook/test-client.c (auth_user_cb): shoe-horn in some - spew about supported fields. - -2001-02-19 JP Rosevear <jpr@ximian.com> - - * conduit/Makefile.am: Remove PISOCK_LIBDIR - -2001-02-19 Jon Trowbridge <trow@ximian.com> - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_manager_create_entry): When creating the entry, - open up an ebook (corresponding to the local addressbook) and make - the entry use an EAddressCompletion. - (completion_handler): Added; this is the actual completion - handler, which manipulates the entry when the user selects - something from the drop-down. - - * gui/component/select-names/e-select-names-model.c: Various hacks - by clahey to unbreak e_select_names_model_add_item, - e_select_names_model_replace_item (which I added) and - e_select_names_model_remove_item. - - * gui/component/select-names/e-select-names-text-model.c - (e_select_names_text_model_obj_count, - e_select_names_text_model_get_nth_obj): Make chunks of text that - correspond to ECards in the ESelectNamesModel be embedded objects. - (e_select_names_text_model_activate_obj): On activation, pop up a - contact editor for the embedded object's card. - (e_select_names_text_model_model_changed): Fixed to work with - ETextModel API changes. - (e_select_names_text_model_set_text): Make const correct. - (e_select_names_text_model_insert): Make const correct. - (e_select_names_text_model_insert_length): Make const correct. - - * backend/ebook/e-address-completion.h, - backend/ebook/e-address-completion.c: Added. EAddressCompletion - is a derived class of ECompletion that does asynchronous address - lookups for completions. - -2001-02-17 Chris Toshok <toshok@ximian.com> - - * backend/idl/addressbook.idl: add sequence<string> typedef, and - add getSupportedFields method. - - * backend/pas/pas-book.c - (impl_GNOME_Evolution_Addressbook_Book_getSupportedFields): new - function. - - * backend/pas/pas-backend.c (pas_backend_class_init): init - get_supported_fields = NULL. - (pas_backend_get_supported_fields): new function. - - * backend/pas/pas-backend.h: add prototype for - pas_backend_get_supported_fields. - - * backend/pas/pas-backend-file.c - (pas_backend_file_get_supported_fields): new function. - (pas_backend_file_class_init): fill in get_supported_fields. - - * backend/pas/pas-backend-ldap.c - (pas_backend_ldap_get_supported_fields): new function. - (pas_backend_ldap_class_init): fill in get_supported_fields. - -2001-02-14 Christopher James Lahey <clahey@ximian.com> - - * backend/pas/pas-backend-ldap.c: Undefine E_STRING_PROP and - E_LIST_PROP here. - - * contact-editor/e-contact-editor.c, - contact-editor/e-contact-editor.h (e_contact_editor_raise): Added - this function. - - * gui/widgets/e-minicard.c, gui/widgets/e-minicard.h - (e_minicard_event): Added an editor field to the EMinicard object. - Made it so that if you double click on the same card twice, it - doesn't open a new window, but instead raises the old. - -2001-02-08 Iain Holmes <iain@ximian.com> - - * gui/component/addressbook-storage.c (addressbook_source_free): - Free the ldap.binddn. - - * gui/widgets/e-addressbook-view.c - (e_addressbook_view_setup_menus): Free the dir strings. - -2001-02-08 Christopher James Lahey <clahey@ximian.com> - - * contact-editor/e-contact-editor.c (categories_clicked): Set the - header on the category dialog we pop up. - -2001-02-12 Kjartan Maraas <kmaraas@gnome.org> - - * backend/ebook/GNOME_Evolution_Addressbook_GnomeCard_Importer.oaf.in: Translations. - * gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.oaf.in: - Marked strings for translation in this newly created file. - * gui/component/select-names/Makefile.am: Hook up the .oaf.in files in the - xml-i18n-tools framework. - * gui/component/Makefile.am: Same as above. - * gui/component/GNOME_Evolution_Addressbook.oaf.in: Marked stuff for translation here - too. - -2001-02-11 Jason Leach <jasonleach@usa.net> - - * gui/component/addressbook.c: Removed an ancient #include - <libgnorba/gnorba.h> - -2001-02-11 Gediminas Paulauskas <menesis@delfi.lt> - - Really use xml-i18n-tools. - - * conduit/e-address-conduit-control-applet.desktop: removed. - * conduit/e-address-conduit-control-applet.desktop.in: added empty. - * conduit/Makefile.am: reflect above changes, merge translations. - - * contact-editor/e-contact-editor-strings.h, - contact-editor/fulladdr.glade.h, contact-editor/fullname-strings.h, - contact-editor/e-contact-editor-confirm-delete.glade.h, - gui/component/select-names/select-names.glade.h: - removed these files, xml-i18n-extract takes care of strings itself. - - * contact-editor/*.glade, - gui/component/select-names/select-names.glade, - gui/widgets/alphabet.glade, printing/e-contact-print.glade: - changed project options to not output_translatable_strings. - - * contact-editor/Makefile.am, gui/widgets/Makefile.am, - gui/component/select-names/Makefile.am, printing/Makefile.am: - do not include removed files in EXTRA_DIST. - -2001-02-07 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (check_for_evolve_person): flesh - out this check. #ifdef the entire thing OPENLDAP2, as it only - works with the new schema stuff in openldap 2.x (both on server - and client, so upgrade your server.) - -2001-02-07 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/e-addressbook-view.c: Added N_("* Click here to add - a contact *"). - -2001-02-07 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (pas_backend_ldap_connect): only - set the DEBUG_LEVEL if we're OPENLDAP2. - -2001-02-06 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (email_compare): return TRUE if - equal, FALSE otherwise. - (business_compare): same. - (homephone_compare): same. - (email_ber): return NULL if there are no elements in our list. - (homephone_ber): same. - (business_ber): same. - (build_mods_from_ecards): add smarts to handle list elements - properly (like email, business_phone, home_phone.) now we'll - properly send updates if any element in the list changes. - -2001-02-06 Christopher James Lahey <clahey@ximian.com> - - * gui/widgets/Makefile.am (INCLUDES): Added - -DEVOLUTION_DATADIR=\""$(datadir)"\". - - * gui/widgets/e-addressbook-view.c - (e_addressbook_view_setup_menus): Changed the local and system - directories. - -2001-02-06 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (create_card_handler): doh, - didn't mean to commit this. - -2001-02-06 Chris Toshok <toshok@ximian.com> - - * backend/pas/evolveperson.schema: new file. this will eventually - form the suggested additions to an existing openldap server that, - along with support for inetorgperson, will allow people to store - all evolution attributes in ldap. - -2001-02-06 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (pas_backend_ldap_init): don't - need the = NULL's since we g_new0. - (check_for_evolve_person): new function. - (pas_backend_ldap_connect): check to see if the evolvePerson - objectclass is there. - (build_mods_from_ecards): right now, just silently skip the extra - attributes if we don't support evolvePerson. - (add_objectclass_mod): new function, add both inetOrgPerson and - (if it's available) evolvePerson as objectclasses. - (pas_backend_ldap_process_authenticate_user): also check to see if - evolvePerson is there, if we couldn't do it (due to auth reasons) - in the connect method. - (prop_info): change the telephoneNumber LDAP attribute to be used - for evolution's business phone numbers. the primary phone number - will be a single valued attribute on evolvePerson. - (business_populate): new function. - (business_ber): new function. - (business_compare): new function. - -2001-02-05 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (create_card_handler): err, - allocate 2 char*s when i assign 2 char*s. - -2001-02-05 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (modify_card_handler): switch to - ldap_modify_ext_s if OPENLDAP2, as ldap_modify_s is deprecated. - (build_mods_from_ecards): don't include the mod if the value is "" - - this isn't valid on schema checking ldap servers. - (homephone_populate): new function. - (homephone_ber): new function. - (homephone_compare): new function. - (create_card_handler): add spew when adding cards so I can see - what's going on. -2001-02-05 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/addressbook-config.c (table_add_elem): Save the - help_text in the closure. - -2001-02-05 Christopher James Lahey <clahey@helixcode.com> - - * gui/widgets/Makefile.am (libeminicard_a_SOURCES): Added - gal-view-factory-minicard.c, gal-view-factory-minicard.h, - gal-view-minicard.c, and gal-view-minicard.h. - - * gui/widgets/gal-view-factory-minicard.c, - gui/widgets/gal-view-factory-minicard.h, - gui/widgets/gal-view-minicard.c, and - gui/widgets/gal-view-minicard.h: New classes for minicard view - type. - - * gui/widgets/e-addressbook-view.c: Deploy gal-view stuff - properly. - -2001-02-05 Christopher James Lahey <clahey@helixcode.com> - - * backend/ebook/e-card.c (e_card_get_vcard): Make the Note field - be quoted printable. - -2001-01-27 Christopher James Lahey <clahey@helixcode.com> - - * gui/search/e-addressbook-search-dialog.c - (e_addressbook_search_dialog_init): This should be a close button, - not a cancel button. - -2001-02-04 Christopher James Lahey <clahey@ximian.com> - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_manager_activate_dialog): Call - e_select_names_set_default when appropriate. - - * gui/component/select-names/e-select-names.c, - gui/component/select-names/e-select-names.h: Added support for - double clicking sending the selected contacts to the default - section. Added a set_default function. Made multiple selection - work. - -2001-01-29 Chris Toshok <toshok@ximian.com> - - * gui/component/addressbook-config.c - (addressbook_config_source_label): #ifdef INCLUDE_FILE_SOURCE. - (table_add_elem): add help_text parameter and set up focus_in - events to display the help in the dialog's html area. - (focus_help): new function, calls put_html on the help text. - (addressbook_ldap_auth_item_new): add help texts. - (addressbook_source_item_new): add help texts. - (addressbook_source_dialog): add help texts. - -2001-01-27 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/select-names/e-select-names.c - (e_select_names_add_section): Remove the butt-ugly arrow icon and - replace it with a less invasive "->" icon. - -2001-01-25 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (build_mods_from_ecards): add - comment about the else block here. - (prop_info): add home_address, business_address, business_fax, - assistant, and isdn. - -2001-01-25 Christopher James Lahey <clahey@helixcode.com> - - * backend/pas/pas-backend-file.c (pas_backend_file_load_uri): Made - this only add the initial VCard if it finds a file - "create-initial" in the directory it's creating the database in. - - * gui/component/addressbook-component.c (factory_fn): Added a - create_folder function. - - * gui/search/e-addressbook-search-dialog.c - (e_addressbook_search_dialog_init): Fixed an unused variable - warning. - -2001-01-25 Christopher James Lahey <clahey@helixcode.com> - - * gui/widgets/e-addressbook-view.c - (e_addressbook_view_setup_menus): Setup the view collection - properly and handle the "display_view" signal. - -2001-01-25 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook.c (update_pixmaps): Consider the - placeholder in the path for the "Print" item. - -2001-01-25 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook.c (update_pixmaps): Set the icon for - "/Toolbar/Find" to "24_find_contact.xpm". - -2001-01-25 Ettore Perazzoli <ettore@ximian.com> - - * gui/component/addressbook.c (set_pixmap): New. - (update_pixmaps): New function, setting the pixmaps for the items - of type "pixbuf", using `set_pixmap'. - (control_activate): Call it. - -2001-01-25 Not Zed <NotZed@Ximian.com> - - * backend/pas/pas-backend-ldap.c: esexp api change fixes. - - * backend/pas/pas-backend-file.c (entry_compare): Fix for e_sexp api changes. - (vcard_matches_search): esexp api fixes. - (pas_backend_file_search): Ouch, unref the e-sexp properly (not gtk object). - -2001-01-24 Chris Toshok <toshok@ximian.com> - - * backend/pas/pas-backend-ldap.c (email_ber_func): make sure to - add the lengths here (include the \0? anyone?). - (build_mods_from_ecards): if we're filling in mod->mod_bvalues, - set mod_op |= LDAP_MOD_BVALUES. - -2001-01-23 Jason Leach <jasonleach@usa.net> - - (Fix #1225: advanced search cancel/close) - - * gui/search/e-addressbook-search-dialog.c - (e_addressbook_search_dialog_init): Set it up with Search and a - Cancel button, Search is still the default. - -2001-01-23 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (local_record_from_ecard): properly ref - the ecard. still need to kill some memory leaks. - -2001-01-22 JP Rosevear <jpr@ximian.com> - - * conduit/Makefile.am: remove vfs dependency - -2001-01-21 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (delete_record): Remove - deleted records from the pilot map so we don't have dupes in the future - -2001-01-19 Dan Winship <danw@ximian.com> - - * gui/widgets/e-addressbook-view.c (table_right_click): - * gui/widgets/e-minicard.c (e_minicard_event): Update for - e_popup_menu_run prototype change. - -2001-01-19 Jason Leach <jasonleach@usa.net> - - (Adding a boolean "entry_changed" BonoboPropertyBag arg) - - * gui/component/select-names/e-select-names-bonobo.c - (entry_set_property_fn): Use a gtk_object_set_data to set the - property to TRUE here. - - (entry_changed): New function, calls bonobo_control_set_property - if entry_changed hasn't been set to TRUE yet. - - (impl_SelectNames_get_entry_for_section): Connect "changed" on - each entry_widget to the new entry_changed() func. - -2001-01-19 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (ecard_from_remote_record): always free - the delivery elements and correct embarrassingly stupid memory error - that was causing the addressbook conduit problems. - - * backend/ebook/e-book-view-listener.c - (e_book_view_listener_check_queue): ref/unref ourself when processing - in case someone we signal unrefs us. - - * conduit/address-conduit.c (sequence_complete): disconnect signals - when complete - -2001-01-17 Federico Mena Quintero <federico@ximian.com> - - * backend/pas/pas-book-factory.c (pas_book_factory_activate): Made - it return a gboolean; it was completely ignoring the return value - from register_factory(). - -2001-01-17 Larry Ewing <lewing@helixcode.com> - - * backend/ebook/.cvsignore: add evolution-gnomecard-importer. - - * backend/ebook/Makefile.am (oaf_DATA): don't require the pine - oainfo file until it is actually added to the repository. We need - to keep the build working for nightlies to work. - -2001-01-16 Jason Leach <jasonleach@usa.net> - - * backend/pas/pas-backend-file.c (INITIAL_VCARD): s/Helix - Code/Ximian/ for the initial contact card. - -2001-01-15 JP Rosevear <jpr@ximian.com> - - * conduit/address-conduit.c (print_local): prevent segfaults and - buffer overflows - (print_remote): ditto - -2001-01-14 JP Rosevear <jpr@ximian.com> - - * conduit/Makefile.am: pass -module and -avoid-version to conduit - linker - -2001-01-12 Ettore Perazzoli <ettore@helixcode.com> - - * gui/component/addressbook-component.c (factory_fn): Pass NULL as - the @copy_folder_fn arg to `evolution_shell_component_new'. - -2001-01-12 Miguel de Icaza <miguel@ximian.com> - - * gui/widgets/e-addressbook-view.c: added i18n for etable. - -2001-01-11 Chris Toshok <toshok@helixcode.com> - - * backend/pas/pas-backend-ldap.c - (pas_backend_ldap_process_create_card): get a book view from - somewhere so we can give status messages - choose the first one in - the list. - (pas_backend_ldap_process_modify_card): same. - (pas_backend_ldap_process_remove_card): same. - (prop_info): add more properties, like home_phone, mobile, pager, - uri, org_unit, office, title, and manager. - -2001-01-09 Miguel de Icaza <miguel@gnu.org> - - * gui/widgets/Makefile.am (minicard_widget_test_LDADD): Put GNOME - libraries at the end to make the thing compile. - - * printing/Makefile.am: Order LDADD flags correctly so it compiles. - -2001-01-09 Chris Toshok <toshok@helixcode.com> - - * gui/component/addressbook.c (addressbook_factory_new_control): - connect with the EAddressbookView's status_message signal. - (set_status_message): set the status message on the ShellView - Interface associated with our control. - (retrieve_shell_view_interface_from_control): new function. get - the shell view inteface associated with a control. - - * gui/widgets/e-addressbook-view.c - (e_addressbook_view_class_init): register status_message signal. - (status_message): new function, emit our status_message signal. - (change_view_type): connect with the view->object's - "status_message" signal. - - * gui/widgets/e-addressbook-view.h (struct - _EAddressbookViewClass): add status_message signal. - -2001-01-09 Chris Toshok <toshok@helixcode.com> - - * gui/widgets/e-minicard-view-widget.c - (e_minicard_view_widget_class_init): register our status_message - signal. - (status_message): new function, emit our status_message signal. - (e_minicard_view_widget_realize): connect to the EMinicardView's - status_message signal. - - * gui/widgets/e-minicard-view-widget.h: add status_message signal. - - * gui/widgets/e-minicard-view.c (e_minicard_view_class_init): - register our status_message signal. - (e_minicard_view_init): init status_message_id. - (status_message): new function, emit our status_message signal. - (book_view_loaded): connect to the EBookView's status_message - signal. - (disconnect_signals): disconnect status_message_id. - - * gui/widgets/e-minicard-view.h: add status_mesage_id, and - status_message signal. - - * gui/widgets/e-addressbook-model.c (status_message): new - function, emit our status_message. - (e_addressbook_model_class_init): register our "status_message" - signal. - (book_view_loaded): connect to the EBookView's status_message - signal, so we can chain it to our parent. - (e_addressbook_model_init): init status_message_id. - (remove_book_view): disconnect status_message_id. - - * gui/widgets/e-addressbook-model.h: add status_message_id, and - status_message signal. - - * backend/pas/pas-backend-ldap.c change the objectclass we create - objects with to "inetOrgPerson" as it encompasses the fields we - use. - (create_dn_from_ecard): remove the mail/org handling from - here. we just prepend cn=$cn onto the base dn. - (create_card_handler): remove the NULL that build_mods_from_ecards - adds at the end, and insert our objectClass. - (modify_card_handler): call search_for_dn to get the ECardSimple - of the old card, since it might (and does in the current code) - doing a brute force search. - (search_for_dn): new function, to search for an entry by its dn. - right now we brute force (objectclass=*) under the base dn and - compare dn's. going to add a first pass that explodes the dn and - searches that way, using (objectclass=*) as a last resort. also, - here's where we'd put the extensibleMatch code if we want to go - that route. - - * backend/ebook/e-card.c (e_card_set_arg): if we're setting the - full name regenerate ecard->name. - -2001-01-04 Chris Toshok <toshok@helixcode.com> - - * backend/ebook/e-book-listener.c - (e_book_listener_queue_authentication_response): new function. - (impl_BookListener_respond_authentication_result): new function. - (e_book_listener_get_epv): fill in - epv->notifyAuthenticationResult. - - * backend/ebook/e-book-listener.h: add AuthenticationResponse to - EBookListenerOperation. - - * backend/ebook/e-book.c (e_book_authenticate_user): new function. - - * backend/ebook/e-book.h: add prototype for - e_book_authenticate_user. - - * backend/idl/addressbook.idl (GNOME:Evolution:Addressbook:Book): - add authenticateUser method. - (GNOME:Evolution:Addressbook:BookListener): add - AuthenticationFailed and AuthenticationRequired to CallStatus. - also add notifyAuthenticationResult method. - - * backend/pas/pas-backend-file.c - (pas_backend_file_process_authenticate_user): dummy - authenticate_user function that always succeeds. - (pas_backend_file_process_client_requests): respond to the - AuthenticateUser request. - - * backend/pas/pas-backend-ldap.c (pas_backend_ldap_build_query): - gtk_object_unref(sexp) => s_exp_unref(sexp). - (pas_backend_ldap_process_authenticate_user): fill in to use - ldap_simple_bind_s. - (pas_backend_ldap_process_client_requests): respond to the - AuthenticateUser request. - - * backend/pas/pas-book.c (pas_book_queue_authenticate_user): new - function. - (impl_GNOME_Evolution_Addressbook_Book_authenticateUser): new - function. - (pas_book_respond_authenticate_user): new function. - (pas_book_get_epv): fill in epv->authenticateUser. - - * backend/pas/pas-book.h: add AuthenticateUser operation type, and - add user/passwd to the PASRequest struct. - - * gui/component/addressbook-storage.c - (addressbook_storage_get_source_by_uri): new function. should use - a hashtable, perhaps, but the lists will generally be small - anyway. - - * gui/component/addressbook-storage.h: add prototype for - addressbook_storage_get_source_by_uri. - - * gui/component/addressbook-config.c - (addressbook_source_dialog_set_source): fill in the binddn if the - auth page is shown. - - * gui/component/addressbook.c (book_open_cb): shoe-horn - authentication in here. if the source was configured to use - authentication, authenticate the user after opening the ebook. - also, be paranoid and clear out the password after authenticating. - (book_auth_cb): callback for auth. set the "book" arg on the - view->view here. - (passwd_cb): set the view's passwd that'll be used in - book_open_cb. - (addressbook_view_free): g_free view->passwd. - -2001-01-04 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/addressbook-component.c, - gui/component/addressbook-component.h - (addressbook_component_get_shell_client): Added this function. - - * gui/component/select-names/e-select-names.c, - gui/component/select-names/e-select-names.h: Added code for the - ability to switch between different folders. This doesn't work - yet. - - * gui/component/select-names/select-names.glade, - gui/component/select-names/select-names.glade.h: Added an option - menu to this dialog. - -2001-01-04 JP Rosevear <jpr@helixcode.com> - - * conduit/Makefile.am: Fix hard coded library names that were - accidentally committed (i'm looking at you miggie) - - * contact-editor/e-contact-editor.c (categories_clicked): Reflect - renaming. - - * contact-editor/e-contact-editor-categories.[hc]: These are - living in gal now - -2001-01-04 JP Rosevear <jpr@helixcode.com> - - * backend/pas/pas-backend-file.c (pas_backend_file_book_view_free): - Need to e_sexp_unref the the sexp, not gtk_object_unref it. - -2001-01-03 Michael Meeks <michael@helixcode.com> - - * gui/widgets/e-addressbook-model.c (get_view): check - capabilities is valid before doing a strstr. - -2001-01-03 Michael Meeks <michael@helixcode.com> - - * backend/pas/pas-backend-file.c (pas_backend_file_search): - g_strdup things we g_free. - -2001-01-02 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/e-contact-editor.c (delete_cb): Make sure this - won't crash if the given contact is removed from the database - while this function is being called. - - * gui/widgets/e-minicard.c: Made sure this won't crash if the - given contact is removed from the database while the right click - menu is being displayed. - -2000-12-30 Chris Toshok <toshok@helixcode.com> - - * gui/component/addressbook-config.c (edit_source_clicked): copy - the dialog's source, destroy the dialog after we're done, and make - sure to update both columns in the clist. - (add_source_clicked): copy the dialog's source, and destroy the - dialog when we're done. - (addressbook_source_dialog_destroy): free up all the dialog's - memory. - - * gui/component/addressbook.c (set_prop): allow file: uri's that - point to files, not just dirs that contain addressbook.db. The - rule is the addressbook file has to end in .db. - - * gui/component/addressbook-storage.c (file_source_foreach): - contactserver => contactfile. cut and paste error. - (addressbook_storage_init_source_uri): use file://%s to build the - uri. - - * gui/component/e-ldap-server-dialog.[ch]: forgot to remove these - in my last commit. - -2000-12-29 Chris Toshok <toshok@helixcode.com> - - * gui/component/addressbook.c (config_cb): new function, calling - our new config ui code. - (control_activate): no longer load evolution-addressbook-ldap.xml, - as it's not there. - - * gui/component/addressbook-component.c (owner_set_cb): - setup_ldap_storage => addressbook_storage_setup. - - * gui/component/Makefile.am (evolution_addressbook_SOURCES): - remove e-ldap-storage.[ch] and add addressbook-storage.[ch]. - (glade_DATA): remove ldap-server-dialog.glade and add - addressbook-config.glade. - (EXTRA_DIST): same. - - * gui/component/addressbook-config.[ch]: add another dialog to - give a list of our sources and offer the Add/Delete/Edit - interface. This plugs into the previous dialog work (the source - editor.) - - * gui/component/addressbook-storage.[ch]: new files, containing - the remains of e-ldap-storage.[ch] and adding the new - AddressbookSource type and it's subordinates. Also, the xml - format has changed slightly and the file name is no longer - ~/evolution/ldap-servers.xml - it's - ~/evolution/addressbook-sources.xml. - - * gui/component/addressbook-config.glade: new file, new config - interface. - - * gui/component/ldap-server-dialog.glade: removed. - - * gui/component/e-ldap-storage.[ch]: removed. - -2000-12-28 Chris Toshok <toshok@helixcode.com> - - * gui/component/Makefile.am (evolution_addressbook_SOURCES): add - addressbook-config.[ch]. - - * gui/component/addressbook-config.c, - gui/component/addressbook-config.h: new files, containing at the - moment a beautiful "new/edit source dialog" inspired by the - mail-config-gui code. It'll be ready for prime time after rev'ing - the .xml file the addressbook uses to store it's "other sources" - to include files, and the addition of the ldap auth stuff. - -2000-12-25 Miguel de Icaza <miguel@helixcode.com> - - * gui/widgets/e-minicard.c (e_minicard_realize): Set draw - background to FALSE. - - * gui/widgets/e-minicard-label.c (e_minicard_label_construct): ditto. - (e_minicard_label_construct): ditto - -2000-12-23 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/fullname-strings.h, - contact-editor/fullname.glade: Added Ms. and Miss to the prefix - drop down box. Patch submitted by Martin Hicks <mort@bork.org>. - -2000-12-21 JP Rosevear <jpr@helixcode.com> - - * conduit/address-conduit.c (cursor_cb): Ref the cards that get put - in the change list - (next_changed_item): util function to get the real next changed item - (compute_status): really compute the status of the record - (local_record_from_uid): Set the id of the temporary card - (check_for_slow_setting): Make this check a little saner - (card_added): Only record the CardObjectChange if the card is not - archived - (card_changed): ditto - (card_removed): ditto - (set_status_cleared): actually clear the status - (for_each_modified): Clean out cruft and use next_changed_item - (add_record): Set the new id properly in our local card copy - (replace_record): handle the case where the record has been deleted - and we need to call add. need to update the changed_hash entry - (delete_record): Don't panic if the card is not found, its already - been deleted. - - * backend/pas/pas-backend-file.c (pas_backend_file_book_view_copy): - The change_context no longer has a del_cards member - (pas_backend_file_book_view_free): ditto - (pas_backend_file_process_get_changes): ditto - (pas_backend_file_changes_foreach_key): just record the id - (pas_backend_file_changes): notify_remove needs an id not a vcard - -2000-12-20 JP Rosevear <jpr@helixcode.com> - - * conduit/address-conduit.c (match): Use my own wrapper - functions instead of trying to *directly* access the the data - structures my self - (post_sync): Put in hack to prevent syncing the same records twice - (local_record_from_uid): set the card id when creating a blank one - (add_record): Set the id of the card we have and don't go to the - server to get the latest version - -2000-12-19 JP Rosevear <jpr@helixcode.com> - - * conduit/address-conduit.c (ecard_from_remote_record): Convert - pilot strings to utf for the e-cards. - -2000-12-19 JP Rosevear <jpr@helixcode.com> - - * conduit/address-conduit.c (local_record_from_ecard): Convert ecard - strings to pilot encodings - -2000-12-19 Christopher James Lahey <clahey@helixcode.com> - - * gui/widgets/e-addressbook-view.c (delete): Made it so that if - you select multiple contacts, the right click menu to delete - deletes them all. - -2000-12-18 Chris Toshok <toshok@helixcode.com> - - * backend/pas/pas-backend-ldap.c (ldap_error_to_response): always - use LDAP_NAME_ERROR (in the openldap1 case it's #defined to - NAME_ERROR). - (build_card_from_entry): ldap_get_values can return NULL. also, - openldap2 keeps us from getting at ldap->ld_errno, so we can't - tell if there was a decoding error like we used to. the double - free problem where ldap would free the ber if there was a decoding - problem might be fixed now.. further investigation is needed. - for now we leak in openldap2. - (ldap_search_handler): the ldap structure is opaque, so use - ldap_search_ext to give the extra information (the max responses, - timeout, etc.) in the openldap2 case. - -2000-12-13 Christopher James Lahey <clahey@helixcode.com> - - * backend/pas/pas-backend-ldap.c (ldap_error_to_response): Test - for the existance of LDAP_NAME_ERROR and if it exists as a macro, - use it instead of NAME_ERROR. - -2000-12-14 Michael Meeks <michael@helixcode.com> - - * gui/component/GNOME_Evolution_Addressbook.oafinfo: update cut - and paste description error. - -2000-12-13 Dan Winship <danw@helixcode.com> - - * gui/widgets/e-minicard-control.c (stream_read): NULL-terminate - the returned vcard so we don't sometimes end up with trailing - junk that makes libversit unhappy. - -2000-12-13 Iain Holmes <iain@helixcode.com> - - * gui/component/select-names/e-select-names.c - (e_select_names_add_section): Make the -> into a GNOME stock image. - -2000-12-09 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/select-names/e-select-names.c - (e_select_names_init): Connect to the "cursor_change" signal on - the ETable here instead of the ETableScrolled. - (remove_address): Added the col and event parameters to this - callback to match the added parameters to the double click signal. - (e_select_names_add_section): Connect to the "double_click" signal - on the ETable here instead of the ETableScrolled. - -2000-12-09 Christopher James Lahey <clahey@helixcode.com> - - * backend/ebook/e-card.c (e_card_set_arg): When setting the "name" - argument, copy the incoming name. This fixes a crash. - -2000-12-09 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/e-contact-editor.c: Made editing the name using - the full name button set the file as entry properly. Made it - so that the address parse that the user chooses after - clicking on the Full Address... button gets saved. - -2000-12-08 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/e-contact-editor.c (full_name_clicked): Made it - so that the editor->name is set after the entry is changed. This - means that the reparse that the person chose is saved. - -2000-12-07 Ettore Perazzoli <ettore@helixcode.com> - - * gui/component/e-ldap-storage.c (setup_ldap_storage): Pass NULL - as the @toplevel_node_handler_id argument to - `evolution_storage_new'. - -2000-12-08 Christopher James Lahey <clahey@helixcode.com> - - * backend/ebook/e-card.c: Fixed some formatting. - - * contact-editor/e-contact-editor-categories.h: Removed an - unneeded #include. - - * gui/widgets/e-addressbook-view.c: Connect to the signals on the - ETable instead of the ETableScrolled. - -2000-12-07 JP Rosevear <jpr@helixcode.com> - - * conduit/address-conduit.c (local_record_from_uid): Pass "" rather - than NULL to e_card_new. - (local_record_from_ecard): Make sure ecard->name is valid - (check_for_slow_setting): Remove hard coded test value - (card_added): g_strdup the resul of e_card_get_id - (card_changed): ditto - -2000-12-07 Christopher James Lahey <clahey@helixcode.com> - - * gui/widgets/e-addressbook-view.c: Got rid of code referencing - the ETableScrolled proxy functions. - -2000-12-06 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/addressbook.c: Moved the gal view menu stuff from - here to EAddressbookView. - - * gui/widgets/e-addressbook-view.c, - gui/widgets/e-addressbook-view.h: New function to set up the menus - for the EAddressbookView. - -2000-12-06 JP Rosevear <jpr@helixcode.com> - - * conduit/Makefile.am: Another conduit build fix - -2000-12-05 JP Rosevear <jpr@helixcode.com> - - * backend/pas/pas-backend-file.c (pas_backend_file_changes_foreach_key): - Create an empty vcard with the appropriate id for deleted cards - - * conduit/address-conduit.c (ecard_from_remote_record): Ensure the - address fields are added sensibly - -2000-12-05 Ettore Perazzoli <ettore@helixcode.com> - - * gui/component/e-ldap-storage.c (setup_ldap_storage): Updated the - call to `evolution_storage_new()': pass NULL for - @toplevel_node_uri. - -2000-11-28 JP Rosevear <jpr@helixcode.com> - - * conduit/address-conduit.c (local_record_to_pilot_record): Return - a struct rather than a pointer to a struct - (view_cb): kill warning - (compare): local_record_to_pilot_record now returns a struct - (prepare): ditto - (free_prepare): remove as per gnome-pilot changes - (conduit_get_gpilot_conduit): don't listen for free_prepare signal - -2000-11-27 JP Rosevear <jpr@helixcode.com> - - * conduit/address-conduit.h: Remove "complete" field - - * conduit/address-conduit.c (print_local): Make it print useful debug - info - (print_remote): ditto - (local_record_from_ecard): Make sure phone numbers get out to the pilot - (ecard_from_remote_record): Set phone strings to "" if they are null - (sequence_complete): unref the book view - (view_cb): ref the book view - (free_prepare): do nothing - - * backend/pas/pas-backend-file.c (pas_backend_file_book_view_free): - Destroy the card lists with the rest of the view. - (pas_backend_file_changes): Don't destroy the card lists here - (pas_backend_file_book_view_free): Free the card/id lists in the - change context here, the correct place. - (pas_backend_file_changes): instead of here... - -2000-11-22 Christopher James Lahey <clahey@helixcode.com> - - * backend/pas/pas-backend-file.c: Set view.change_context to NULL - in pas_backend_file_process_get_book_view. Changed - pas_backend_file_book_view_copy a bit. - - * backend/pas/pas-backend-ldap.c: Got rid of a warning. - -2000-11-18 Matt Bissiri <matt@bissiri.org> - - * gui/component/Makefile.am: - Add widgets/menus/libmenus.la to evolution_addressbook_LDADD - so that it will link properly now that gal-view-menus.[ch] - was moved from gal into evolution. - -2000-11-15 JP Rosevear <jpr@helixcode.com> - - * backend/pas/pas-backend-file.c (pas_backend_file_book_view_copy): - Initialize destination struct with '0's. - -2000-11-12 Christopher James Lahey <clahey@helixcode.com> - - * backend/ebook/e-card.c: Changed the mime type from "text/vcard" - to "text/x-vcard". - -2000-11-11 Matt Bissiri <bissiri@eecs.umich.edu> - - * backend/ebook/.cvsignore: Add idl-generated files. - * backend/ebook/e-book.c: (e_book_do_response_get_changes): - * backend/ebook/e-card.c: (e_card_send): - s/Evolution_/GNOME_Evolution_/g; - -2000-11-11 Christopher James Lahey <clahey@helixcode.com> - - * backend/ebook/Makefile.am: Link in composer bonobo code. - - * backend/ebook/e-card.c, backend/ebook/e-card.h: Added code to - send mail to an ECard or send an ECard as a VCard attachment. - - * contact-editor/e-contact-editor.c: Add verbs to send the contact - as a VCard or send mail to the contact. - - * gui/search/e-addressbook-search-dialog.c: Removed some unused - variables. - - * gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard.c: - Added menu items to send the contact as a VCard or send mail to - the contact. - -2000-11-11 Matt Bissiri <bissiri@eecs.umich.edu> - - * gui/component/addressbook.oafinfo: - * gui/component/select-names/evolution-addressbook-select-names.oafinfo: - Update the remaining "IDL:Evolution*" to "IDL:GNOME/Evolution*" - to sync up with yesterday's IDL re-scoping. - -2000-11-09 Christopher James Lahey <clahey@helixcode.com> - - * backend/pas/pas-backend-ldap.c: Fixed a warning. - - * gui/component/addressbook.c: Put in gal view menus for testing - purposes. - - * printing/e-contact-print-envelope.c: Fixed up envelope printing - a bit. Added code for printing return addresses. - -2000-11-09 JP Rosevear <jpr@helixcode.com> - - * conduit/address-conduit.h: Add changed_hash, change list and complete bool - - * conduit/address-conduit.c (local_record_from_ecard): Add empty field checks - (card_added): callback for book view - (card_changed): ditto - (card_removed): ditto - (sequence_complete): ditto - (view_cb): callback for the get changes call - (pre_sync): force synchronous loading of book view - (for_each): we already have the card so create the local record directly - (for_each_modified): Uncomment and fix - (delete_record): ditto - - * conduit/Makefile.am: link against gal for ebook - needs fixing - - * backend/ebook/e-book.c (e_book_do_response_get_changes): Properly respond - to a get_changes call - (e_book_check_listener_queue): define the get changes response operation - - * backend/ebook/e-book-listener.c (e_book_listener_queue_get_changes_response): - Queue up a get changes response - (impl_BookListener_respond_get_changes): Implement the get_changes method - (e_book_listener_get_epv): add get_changes implementation to epv - - * backend/pas/pas-backend-file.c (pas_backend_file_book_view_copy): Only - copy the search_context and change_context elements if they actually exist - (pas_backend_file_changes): Hard code a path for now, only notify if - there is something to notify about - -2000-11-07 JP Rosevear <jpr@helixcode.com> - - * backend/pas/pas-book.h: Update PASRequest structure - - * backend/pas/pas-book.c (impl_Evolution_Book_get_changes): update param name - (pas_book_queue_get_changes): Use PASRequest change_id slot - - * backend/pas/pas-backend-file.c (pas_backend_file_book_view_copy): - Properly copy change_id and change_context - (pas_backend_file_book_view_free): Free change_id/change_context - (pas_backend_file_changes_foreach_key): Callback to figure out the - deleted cards - (pas_backend_file_changes): Use new e-dbhash stuff to implement. - Write out updated hash - - * backend/idl/addressbook.idl: Rename get_changes param - -2000-11-06 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/addressbook.c: Switched from EAddressbookSearch to - ESearchBar. - - * gui/widgets/Makefile.am, gui/widgets/e-addressbook-search.c, - gui/widgets/e-addressbook-search.h: Removed EAddressbookSearch. - This has been moved to filter/ and renamed ESearchBar. - - * printing/e-contact-print-envelope.c: Forgot to set the font. - This works for me now. - -2000-11-06 Ettore Perazzoli <ettore@helixcode.com> - - * gui/component/select-names/e-select-names-bonobo.c - (impl_SelectNames_get_entry_for_section): Duplicate the object - reference before returning. - -2000-11-05 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/e-contact-editor.c, - gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard.c: Add - menus items to the envelope printing stuff. - - * gui/component/addressbook.c: Hook up the search menu. - - * gui/widgets/e-addressbook-search.c, - gui/widgets/e-addressbook-search.h: Add the search menu. - - * printing/Makefile.am: Add e-contact-print-envelope.c and - e-contact-print-envelope.h. - - * printing/e-contact-print-envelope.c, - printing/e-contact-print-envelope.h: Added envelope printing. - -2000-11-03 Federico Mena Quintero <federico@helixcode.com> - - * gui/component/select-names/Makefile.am: Clean the idl-generated - files properly. - -2000-11-02 Christopher James Lahey <clahey@helixcode.com> - - * ename/.cvsignore, gui/minicard/.cvsignore: Removed these - unnecessary .cvsignores. - - * gui/component/addressbook.c: Switch to using EAddressbookSearch - instead of custom quick search widget. - - * gui/component/select-names/e-select-names.c: Made this do a - slightly better job of rendering names. - - * gui/widgets/Makefile.am: Added e-addressbook-search.c and - e-addressbook-search.h. - - * gui/widgets/e-addressbook-search.c, - gui/widgets/e-addressbook-search.h: New class that puts up an - entry and a combo box. - -2000-11-01 Dan Winship <danw@helixcode.com> - - * gui/component/e-ldap-storage.c (load_ldap_data): - (e_ldap_storage_add_server): Add "highlighted" flag to - evolution_storage_new_folder - -2000-10-31 JP Rosevear <jpr@helixcode.com> - - * conduit/address-conduit.c (cursor_cb): Let the warning make sense - (compute_pid): remove - (local_record_from_ecard): Create local record from ecard - not finished - (local_record_from_uid): Obtain local_record from uid with the proper - e-book way - (set_status_cleared): Add empty callback - (add_archive_record): kill - (delete_archive_record): kill - (archive_record): Add empty callback - (conduit_get_gpilot_conduit): Update signal connects - - * backend/pas/pas-backend-file.c (vcard_change_type): Function to determine - the type of change - not finished - (pas_backend_file_search_changes): Create a view and callback based on - how the cards have changed - (pas_backend_file_process_get_changes): Implement the get changes operation - for files - (pas_backend_file_process_client_requests): Add GetChanges method for - processing - - * backend/pas/pas-book.c (pas_book_queue_get_changes): Add changes to - the list - (impl_Evolution_Book_get_changes): implement object method - (pas_book_get_epv): Add get changes to epv - (pas_book_respond_get_changes): Respond to the get changes operation - - * backend/pas/pas-book.h: Add GetChanges PASOperation - - * backend/idl/addressbook.idl: add get_changes and respond_get_changes - methods - - * backend/ebook/e-book.c (e_book_get_changes): Client function - to a view of the changed objects - - * backend/ebook/e-book.h: New prototype - -2000-10-30 Kjartan Maraas <kmaraas@gnome.org> - - * backend/e-book/e-card.c: Fixed marking of strings - for translation. Use "_(" instead of "_ (". - * gui/component/addressbook-factory.c: Add missing - calls to bindtextdomain() and textdomain noticed by - Dan Winship. - * gui/component/addressbook.c: Marked string for translation. - -2000-10-27 Christopher James Lahey <clahey@helixcode.com> - - * backend/pas/Makefile.am, gui/search/Makefile.am, - printing/Makefile.am: Fixed these to include EXTRA_GNOME_CFLAGS. - - * gui/component/select-names/e-select-names-manager.c: Turned off - newlines in header fields. - -2000-10-26 Michael Meeks <michael@helixcode.com> - - * printing/e-contact-print.c (e_contact_print_letter_tab), - (complete_sequence, e_contact_do_print_phone_list, lowify): - unsigned charness. - -2000-10-25 Chris Toshok <toshok@helixcode.com> - - * backend/pas/pas-backend-ldap.c (ldap_op_process_current): only - call the handler if the if we're connected, and if we fail to - connect finish the op and post a message. - (pas_backend_ldap_connect): add debug spew if DEBUG is defined. - (modify_card_handler): LDAP_RES_SEARCH_ENTRY => LDAP_SUCCESS. - (modify_card_handler): only perform the ldap_modify_s if we have a - list of modifications. - (get_cursor_handler): use ldap_error_to_response here. - (pas_backend_ldap_load_uri): use LDAP_PORT instead of the constant - 389. - -2000-10-23 Dan Winship <danw@helixcode.com> - - * gui/component/select-names/Makefile.am (INCLUDES): - * gui/component/Makefile.am (INCLUDES): Update EVOLUTION_LOCALEDIR - - * backend/pas/Makefile.am (INCLUDES): - * backend/ebook/Makefile.am (INCLUDES): Update GNOMELOCALEDIR. - -2000-10-23 JP Rosevear <jpr@helixcode.com> - - * conduit/address-conduit.h: Use new libeconduit calls and - abstraction - - * conduit/address-conduit.c: ditto - -2000-10-23 JP Rosevear <jpr@helixcode.com> - - * conduit/address-conduit.c (pre_sync): Use e_pilot_map_read - (post_sync): Use e_pilot_map_write - - * conduit/Makefile.am: Link libeconduit and not libical - -2000-10-20 Michael Meeks <michael@helixcode.com> - - * contact-editor/e-contact-editor.c (tb_save_and_close_cb): - - * gui/component/addressbook.c (toggle_view_as_cb): - -2000-10-20 JP Rosevear <jpr@helixcode.com> - - * conduit/address-conduit.h: New structure of file - similar - to calendar/todo conduits - - * conduit/address-conduit.c: ditto - - * conduit/address-conduit-config.h: Config stuff for conduit - - * conduit/.cvsignore: Update - - * conduit/Makefile.am: Build fixes - - * conduit/address-conduit-control-applet.desktop: Renamed - to e-address-conduit-control-applet.desktop - - * conduit/address.conduit.in: Renamed to e-address.conduit.in - -2000-10-19 Christopher James Lahey <clahey@helixcode.com> - - * gui/widgets/e-addressbook-view.c (SPEC): Remove Family name - column since it's a bit weird. This also fixes the initial state - since all of the column choices were off by one. - -2000-10-19 Ettore Perazzoli <ettore@helixcode.com> - - * printing/Makefile.am (glade_DATA): Remove - `e-contact-print.glade.h'. - (EXTRA_DIST): Move here. - - * gui/component/Makefile.am (glade_DATA): Remove - `ldap-server-dialog.glade.h'. - (EXTRA_DIST): Move here. - -2000-10-19 Christopher James Lahey <clahey@helixcode.com> - - * backend/ebook/e-card.c: Change how the extension field acts when - converting delivery addresses to labels. - -2000-10-18 Christopher James Lahey <clahey@helixcode.com> - - * backend/ebook/e-card.c, backend/ebook/e-card.h: Added the - function e_card_delivery_address_to_label. - - * contact-editor/e-contact-editor-address.c: Fixed a potential - crash. - - * contact-editor/e-contact-editor.c: Made this save the changed - data to the string version of the address. - -2000-10-19 Michael Meeks <michael@helixcode.com> - - * gui/component/addressbook.c (change_view_type): update to new - UI handler. - (update_view_type): split from (change_view_type). - (control_activate): add an update_view_type. - -2000-10-18 Christopher James Lahey <clahey@helixcode.com> - - * backend/ebook/e-card-simple.c: Change NAME_OR_ORG to return the - email address if both name and organization are taken. - - * gui/component/select-names/e-select-names.c: Fixed up the spec - strings in this class. Removed the "cursor_mode" argument to - ETable since it's part of the spec now. - -2000-10-17 Iain Holmes <iain@helixcode.com> - - * contact-editor/contact-editor.glade: Change the initial dialog - visibility to FALSE - so the contact editor doesn't flash when it appears. - -2000-10-16 Iain Holmes <iain@helixcode.com> - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_manager_activate_dialog): Only allow one dialog - per manager. - -2000-10-16 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/fulladdr.glade: Fixed a typo. Made this look a - bit better. - -2000-10-15 Dan Winship <danw@helixcode.com> - - * gui/component/select-names/Makefile.am: - * gui/component/Makefile.am: Remove CPPFLAGS since they just - duplicate flags that were already in INCLUDES. - - * printing/Makefile.am (ecpsdir): - * gui/widgets/Makefile.am: - * contact-editor/Makefile.am: Move -D flags from CPPFLAGS to - INCLUDES so they don't override any CPPFLAGS set at configure - time. - -2000-10-14 Michael Meeks <michael@helixcode.com> - - * gui/component/addressbook.c (control_activate): if we are in - LDAP mode then merge in the extra few items, otherwise just merge - the standard thing; saves duplication. - -2000-10-14 Ettore Perazzoli <ettore@helixcode.com> - - * gui/component/addressbook.oafinfo: Added - "evolution:shell-component-icon" property. - -2000-10-14 Iain Holmes <iain@helixcode.com> - - * gui/component/select-names/e-select-names.c - (e_select_names_manager_activate_dialog): Only allow one dialog - per id. - (e_select_names_manager_destroy): Destroy the hashtable. - (e_select_names_manager_init): Init the hashtable. - -2000-10-13 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/fulladdr.glade, contact-editor/fulladdr.glade.h: - Rearranged these fields a bit more. - -2000-10-13 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/e-contact-editor-categories.c, - gui/component/select-names/e-select-names.c, - gui/widgets/e-addressbook-view.c: Changed these for boolean - ascending attribute instead of int ascending attribute. Fixed - e-select-names to not use a column past the end of its array. - - * contact-editor/e-contact-editor-address.c, - contact-editor/fulladdr.glade, contact-editor/fulladdr.glade.h: - Rearranged the address editor dialog. - -2000-10-11 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/e-contact-editor-categories.c: Fixed the column - elements, the no-headers attribute and added a cursor-mode=line - attribute. - - * gui/component/select-names/e-select-names.c, - gui/widgets/e-addressbook-view.c: Fixed the column elements here. - -2000-10-11 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/e-contact-editor-categories.c, - gui/component/select-names/e-select-names.c, - gui/widgets/e-addressbook-view.c: Updated these to the new style - ETables. - -2000-10-06 Not Zed <NotZed@HelixCode.com> - - * gui/search/e-addressbook-search-dialog.c (get_widget): Removed - ondemand callback nonsense from rule_context_load(). - -2000-10-05 Michael Meeks <michael@helixcode.com> - - * contact-editor/e-contact-editor.c (create_ui): upd. - (e_contact_editor_init): upd. - - * gui/component/addressbook.c (control_activate_cb): upd. - (control_deactivate): kill. - (control_activate): upd. - -2000-09-22 Michael Meeks <michael@helixcode.com> - - * gui/component/addressbook.c (control_activate): update. - - * contact-editor/e-contact-editor.c (create_ui): upd. - -Fri Sep 29 07:33:54 2000 Christopher James Lahey <clahey@helixcode.com> - - * gui/widgets/e-minicard.c, gui/widgets/e-minicard.h: Made it so - that minicard doesn't write out changes to the backend unless - something's actually changed. - -Tue Sep 26 16:28:47 2000 Christopher James Lahey <clahey@helixcode.com> - - * backend/ebook/e-card.c: Make sure that card->name and - card->full_name are always valid. - - * contact-editor/e-contact-editor.c: Removed some unused - variables. - -2000-09-22 Matt Bissiri <bissiri@eecs.umich.edu> - - * contact-editor/e-contact-editor-fullname.c (extract_info): If - (editor->name == NULL), store ptr to newly allocated ECardName in - editor->name, not just in a stack variable. This fixes a crash - which happened when you click "New", then click "Full Name...", - then enter name, then click "OK". - - * backend/ebook/e-card.c (e_card_name_to_string): Add - g_return_val_if_fail. - -2000-09-25 Jeffrey Stedfast <fejj@helixcode.com> - - * gui/widgets/Makefile.am: - * gui/component/Makefile.am: - * contact-editor/Makefile.am: - * printing/Makefile.am: Look for ename in /e-util/ename instead of - /addressbook/ename - - * backend/ebook/e-card.c: Updated to include e-util/ename/*.h - - * ename: Moved to /e-util so it could be shared - - * Makefile.am (SUBDIRS): took out ename - -2000-09-25 Nat Friedman <nat@helixcode.com> - - * ename/e-name-western-tables.h: Added a ton of new prefixes and - suffixes. - -2000-09-22 Michael Meeks <michael@helixcode.com> - - * gui/component/addressbook.c (control_activate): update. - - * contact-editor/e-contact-editor.c (create_ui): upd. - -2000-09-22 Chris Toshok <toshok@helixcode.com> - - * backend/pas/pas-backend-ldap.c: lots of changes. flesh out the - remove/modify/create functions. add another flag for the property - table, PROP_DN, which makes it easy for us to determine when we - need to create a new DN for a record when we're modifying. also - add a ber_func to the table for PROP_TYPE_LIST fields, which fills - in the list of bvalues that we send to the ldap server. The - add/modify/delete stuff hasn't been tested yet, and it hopelessly - complex (yay ldap). - (ldap_search_handler): act synchronous when ldap_search responds - with -1. - (view_destroy): use pas_book_view_notify_status_message. - (ldap_op_process_current): same - (ldap_op_process): same - (poll_ldap): same - (ldap_search_handler): same - -2000-09-22 Chris Toshok <toshok@helixcode.com> - - * backend/ebook/e-card-simple.h: add - E_CARD_SIMPLE_FIELD_FAMILY_NAME to the enum. - - * backend/ebook/e-card-simple.c (field_data): add - E_CARD_SIMPLE_FIELD_FAMILY_NAME. - (e_card_simple_get): add getter for FAMILY_NAME. - -2000-09-22 Christopher James Lahey <clahey@helixcode.com> - - * backend/ebook/e-card.c: Made addresses be quoted printable again - so that they will encode properly if they have carriage returns in - them. This is possible now because of a fix in libversit. - -2000-09-22 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-book-view.c, backend/pas/pas-book-view.h: Added a - function to set the status message associated with a given view. - This is not yet implemented in the gui. - -2000-09-22 Christopher James Lahey <clahey@helixcode.com> - - * backend/ebook/e-book.c, backend/ebook/e-book.h, - backend/idl/addressbook.idl, backend/pas/pas-backend-file.c, - backend/pas/pas-backend-ldap.c, backend/pas-backend.c, - backend/pas/pas-backend.h, backend/pas/pas-book.c, - backend/pas/pas-book.h: Added a function to query static - capabilities (capabilities that can be reported immediately) and - implemented them in the 2 servers. - - * gui/component/addressbook.c: Added a View All button and a Stop - button. Sorted out the new directory server stuff a bit. - - * gui/widgets/e-addressbook-model.c, - gui/widgets/e-addressbook-model.h: Cleaned up a bit. Added a stop - function. Check for capabilities before deciding whether to load - all cards when initially viewed. - - * gui/widgets/e-addressbook-view.c, - gui/widgets/e-addressbook-view.h: Added stop and view all - functions. - - * gui/widgets/e-minicard-view-widget.c, - gui/widgets/e-minicard-view-widget.h, - gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h: - Added a stop function. Check for capabilities before deciding - whether to load all cards when initially viewed. - -2000-09-21 Michael Meeks <michael@helixcode.com> - - * gui/component/addressbook.c (control_activate): remove _UIHandler - -2000-09-21 Christopher James Lahey <clahey@helixcode.com> - - * backend/ebook/load-pine-addressbook.c: Added a missing include - of ctype.h. - - * backend/pas/pas-backend-file.c: Fixed a problem where using a - GList was causing us to not be reentrant. We now use an EList - here and so now this is reentrant. This should fix the "wombat - crashes every time you run evolution" bug. - - * contact-editor/e-contact-editor.c: Fixed a type mismatch. - -2000-09-21 Christopher James Lahey <clahey@helixcode.com> - - * backend/ebook/load-pine-addressbook.c: Make this work when a - field is spread across multiple lines. - -2000-09-20 Christopher James Lahey <clahey@helixcode.com> - - * backend/ebook/e-card.c, backend/ebook/e-card.h: Added a - wants_html field to cards. Uses "x-mozilla-html". - - * contact-editor/Makefile.am: Added definition of - EVOLUTION_DATADIR. - - * contact-editor/contact-editor.glade: Make Wants HTML check - button visible. - - * contact-editor/e-contact-editor.c, - contact-editor/e-contact-editor.h: Make Wants HTML check button - active. Fix UI stuff to use XML. Set parent window of - confirm_delete dialog. - - * gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard.c: Set - the parent window of the confirm_delete dialog. - -2000-09-20 Christopher James Lahey <clahey@helixcode.com> - - * gui/widgets/e-addressbook-view.c: Fixed display of the minicards - when the addressbook was first loading. (It was overwriting a - string with NULL during init.) - -2000-09-19 Dan Winship <danw@helixcode.com> - - * gui/search/Makefile.am (ruledir): Use $(datadir), not - $(prefix)/share - -2000-09-18 Christopher James Lahey <clahey@helixcode.com> - - * backend/ebook/Makefile.am, contact-editor/Makefile.am, - ename/Makefile.am, gui/component/Makefile.am, - gui/widgets/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and - $(EXTRA_GNOME_LIBS). Removed unneeded libraries. - - * backend/ebook/e-card.c, backend/pas/pas-backend-file.c, - contact-editor/e-contact-editor-address.c, - contact-editor/e-contact-editor-categories.c, - contact-editor/e-contact-editor-categories.h, - contact-editor/e-contact-editor-fullname.c, - contact-editor/e-contact-editor.c, - contact-editor/e-contact-save-as.c, ename/e-address-western.c, - ename/test-ename-western-gtk.c, - gui/component/addressbook-factory.c, gui/component/addressbook.c, - gui/component/e-cardlist-model.h, gui/component/e-ldap-storage.c, - gui/component/select-names/e-select-names-bonobo.c, - gui/component/select-names/e-select-names-manager.c, - gui/component/select-names/e-select-names-model.c, - gui/component/select-names/e-select-names-table-model.c, - gui/component/select-names/e-select-names-table-model.h, - gui/component/select-names/e-select-names-text-model.h, - gui/component/select-names/e-select-names.c, - gui/component/select-names/e-select-names.h, - gui/search/e-addressbook-search-dialog.c, - gui/widgets/e-addressbook-model.h, - gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard-label.c, - gui/widgets/e-minicard-view-widget.c, - gui/widgets/e-minicard-view-widget.h, - gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h, - gui/widgets/e-minicard-widget.h, gui/widgets/e-minicard.c, - gui/widgets/test-minicard-label.c, gui/widgets/test-reflow.c, - printing/e-contact-print.c: Fixed the #include lines to deal - properly with gal. - -2000-09-15 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/e-contact-editor.h, - contact-editor/e-contact-save-as.h, - gui/widgets/e-addressbook-model.h, - gui/widgets/e-minicard-view-widget.h, - gui/widgets/e-minicard-view.h, gui/widgets/e-minicard.c, - gui/widgets/e-minicard.h: Fixed the paths of some .h #includes. - - * gui/component/addressbook.c: Removed all of the code to actually - create and display the correct view of the addressbook and moved - it to the new class gui/widgets/e-addressbook-view.c. - - * gui/widgets/Makefile.am: Added everything necessary for - e-addressbook-view.c and e-addressbook-view.h. - - * gui/widgets/e-addressbook-view.c, - gui/widgets/e-addressbook-view.h: New class to deal with actual - display of addresses and switching between card view and table - view. - - * gui/widgets/e-minicard-view-widget.c: Made this deal more - gracefully with having the book set to NULL. - -2000-09-16 Michael Meeks <michael@helixcode.com> - - * gui/component/select-names/e-select-names.c: fix broken include. - - * gui/component/Makefile.am (INCLUDES): define datadir. - (evolution_addressbook_SOURCES): remove e-addressbook-model.[ch] - - * gui/component/addressbook.c (control_activate): use datadir. - -2000-09-16 Ettore Perazzoli <ettore@helixcode.com> - - * gui/widgets/Makefile.am (gladedir): Define. - (glade_DATA): Install `alphabet.glade'. - (EXTRA_DIST): Define. - - * gui/component/Makefile.am (glade_DATA): Remove `alphabet.glade'. - (EXTRA_DIST): Remove `alphabet.glade.h'. - - * gui/widgets/Makefile.am (libeminicard_a_SOURCES): Add - `e-addressbook-model.c' and `e-addressbook-model.h'. I hope this - is what Chris meant to do. - - * gui/component/Makefile.am (INCLUDES): Add - `-I$(top_srcdir)/addressbook/gui/widgets'. - (evolution_addressbook_SOURCES): Remove `e-addressbook-model.c' - and `e-addressbook-model.h'. - - * gui/component/select-names/e-select-names.c: #include - "e-addressbook-model.h" from "addressbook/gui/widgets" instead of - "addressbook/gui/component", as it has been moved there. - -2000-09-15 Chris Toshok <toshok@helixcode.com> - - * backend/pas/pas-backend-ldap.c: split all the ldap operations - into 2 halves, a handler, and destructor, and create a structure - containing two function pointers and any data they need. this - allows us queue up pending operations (since the LDAP*'s are no - longer view specific. there's one per backend.) also, add - support for restarting async operations if the SERVER DOWN error - isn't communicated until sometime after the handler is called (as - is the case with the async search stuff.) - -2000-09-14 Dan Winship <danw@helixcode.com> - - * gui/component/addressbook-factory.c (main): Call unicode_init - for e-font stuff. - -2000-09-14 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/Makefile.am, gui/widgets/Makefile.am: Added - $(GNOME_PRINT_LIBS) to all of the test files in these directories. - -2000-09-14 Michael Meeks <michael@helixcode.com> - - * gui/component/Makefile.am (evolution_addressbook_LDADD): fix path. - - * gui/component/addressbook.c: update include. - - * gui/component/addressbook-factory.c: update include. - - * gui/widgets/e-minicard-view.h: update include. - - * gui/search/e-addressbook-search-dialog.c: update include path. - -2000-09-13 Michael Meeks <michael@helixcode.com> - - * contact-editor/e-contact-editor.c (e_contact_editor_init): hack. - (create_toolbar): ditto. - -2000-09-07 Michael Meeks <michael@helixcode.com> - - * gui/component/addressbook.c: Radicaly update UI handler code. - -2000-09-13 Christopher James Lahey <clahey@helixcode.com> - - * gui/widgets/*, gui/minicard/*: Moved gui/minicard to - gui/widgets, except for e-reflow.c, e-reflow.h, e-reflow-sorted.c, - and e-reflow-sorted.h. - - * gui/widgets/Makefile.am: Added e-reflow to the INCLUDES list and - libereflow.a to a bunch of LDADD lines. - - * gui/component/Makefile.am (evolution_addressbook_LDADD): Added - libereflow.a here. - - * gui/Makefile.am (SUBDIRS): Replaced minicard with widgets. - -2000-09-12 Ettore Perazzoli <ettore@helixcode.com> - - * gui/component/select-names/Makefile.am: Add space after `-I' - when invoking `orbit-idl'. - -2000-09-12 Ettore Perazzoli <ettore@helixcode.com> - - * gui/component/Makefile.am (EXTRA_DIST): Remove `ui.xml'. - -2000-09-11 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/e-contact-editor.c: Fixed a crash error. - -2000-09-11 Christopher James Lahey <clahey@helixcode.com> - - * ename/e-address-western.c: Fixed some warnings. - -2000-09-11 Jesse Pavel <jpavel@helixcode.com> - - * ename/e-address-western.c: fixed certain address parsing - problems. - -2000-09-11 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/fulladdr.glade: Made this a bit better balanced. - - * gui/component/addressbook.c: Make the toolbar button for find do - the same thing that the menu item for search does. - - * gui/search/e-addressbook-search-dialog.c: Made the top half of - this not expand. - -2000-09-11 Christopher James Lahey <clahey@helixcode.com> - - * backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h: - Removed a bunch of redundant code. Made it so that when you set - an address label, it sets the delivery address as well. Added - functions to set and get the delivery address. - - * backend/ebook/e-card.c, backend/ebook/e-card.h: Added code to - convert and address label to a delivery address. - - * contact-editor/Makefile.am: Added e-contact-editor-address.[ch], - fulladdr.glade, fulladdr.glade.h. - - * contact-editor/contact-editor.glade, - contact-editor/e-contact-editor-strings.h: Switched from a label - to a button to show the parsed address. - - * contact-editor/e-contact-editor-address.c, - contact-editor/e-contact-editor-address.h: New class to implement - the parsed address dialog. - - * contact-editor/e-contact-editor-fullname.c, - contact-editor/e-contact-editor-fullname.h: Added const to the - _new function. - - * contact-editor/e-contact-editor.c: Implemented clicking on the - address button. - - * contact-editor/fulladdr.glade, contact-editor/fulladdr.glade.h: - New glade files for the parsed address dialog. - - * contact-editor/fullname-strings.h, fullname.glade: Changed these - accellabels to labels. - - * ename/Makefile.am: Added e-address-western.c. - - * ename/e-address-western.c: Fixed some warnings. - -2000-09-10 Christopher James Lahey <clahey@helixcode.com> - - * ename/e-address-western.c: Added by Jesse. - -2000-09-08 Lauris Kaplinski <lauris@helixcode.com> - - * gui/minicard/e-minicard-label.c (e_minicard_label_construct): - Use canvas default font - - * gui/minicard/e-minicard.c (e_minicard_realize): Ditto - (get_left_width): Ditto - -2000-09-08 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/e-contact-editor-categories.c: Fixed a few warnings. - -2000-09-02 Lauris kaplinski <lauris@helixcode.com> - - * contact-editor/e-contact-editor-categories.c: e_utf8 wrappers - - * contact-editor/e-contact-editor.c: e_utf8 wrappers - -2000-09-01 Ettore Perazzoli <ettore@helixcode.com> - - * gui/component/e-ldap-storage.c (load_ldap_data): Updated for the - extra arg now needed by `evolution_storage_new_folder()'. - (e_ldap_storage_add_server): Likewise. - -2000-08-31 Ettore Perazzoli <ettore@helixcode.com> - - * conduit/Makefile.am (INCLUDES): Add `BONOBO_GNOME_CFLAGS' and - `-I$(top_srcdir)'. - -2000-08-31 Christopher James Lahey <clahey@helixcode.com> - - * backend/ebook/Makefile.am: Install load-gnomecard-addressbook - and load-pine-addressbook. - -2000-08-30 Lauris Kaplinski <lauris@helixcode.com> - - * printing/e-contact-print.c: Countless small changes for gnome-print 0.21+ - -2000-08-30 Dan Winship <danw@helixcode.com> - - * gui/component/addressbook.oafinfo: Add a name to the minicard - viewer. - -2000-08-29 Dan Winship <danw@helixcode.com> - - * backend/ebook/e-book.c: - * backend/ebook/test-client.c: - * backend/ebook/test-client-list.c: - * backend/ebook/load-gnomecard-addressbook.c: - * backend/ebook/load-pine-addressbook.c: - * backend/pas/pas-book-factory.c: - * conduit/address-conduit.h: Remove USING_OAF checks - -2000-08-28 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/addressbook.c: Use the right argument name to turn - on grid lines. - -2000-08-26 JP Rosevear <jpr@helixcode.com> - - * gui/minicard/Makefile.am: Comment out minicard-view-test - since its gnorba dependent - -2000-08-26 JP Rosevear <jpr@helixcode.com> - - * gui/component/addressbook-component.c: Remove gnorba stuff - - * gui/minicard/e-minicard-control.c (e_minicard_control_factory_init): - ditto - - * gui/component/addressbook.c: ditto - - * gui/component/addressbook-factory.c: ditto - -2000-08-25 Christopher James Lahey <clahey@helixcode.com> - - * demo/* Removed the demo directory since it's no longer used. - -2000-08-26 JP Rosevear <jpr@helixcode.com> - - * gui/minicard/Makefile.am: Remove gnorba stuff - - * gui/minicard/e-minicard-control.gnorba: Kill - -2000-08-26 JP Rosevear <jpr@helixcode.com> - - * gui/component/addressbook.gnorba: Kill - - * gui/component/Makefile.am: Remove gnorba stuff - -2000-08-25 Dan Winship <danw@helixcode.com> - - * gui/component/Makefile.am (evolution_addressbook_LDFLAGS): Add - -export-dynamic so libglade will be able to resolve custom widget - callbacks. - -2000-08-23 Lauris Kaplinski <lauris@helixcode.com> - - * backend/pas/pas-backend-file.c (func_contains): Use e_utf8_strstrcase - - * contact-editor/e-contact-editor-fullname.c (fill_in_field): Use e_utf8 wrapper - (extract_field): Same - - * contact-editor/e-contact-editor.c (full_name_clicked): Don't crash - - * ename/Makefile.am: Link demo with libeutil.la - - * ename/test-ename-western-gtk.c (full_changed_cb): Use e_utf8 wrapper - - * gui/component/addressbook.c (find_contact_cb): Use e_utf8 wrapper - (search_entry_activated): Same - -2000-08-22 Christopher James Lahey <clahey@helixcode.com> - - * gui/search/e-addressbook-search-dialog.c: Fix an error in the - arguments to rule_context_load. - - * backend/ebook/e-card.c: Fix this to not mess up if the person - passes a VCard with a carriage return in the mailing address. - -2000-08-14 Not Zed <NotZed@HelixCode.com> - - * gui/search/addresstypes.xml: Fixed fullname->full_name for - search field. - - * gui/search/e-addressbook-search-dialog.c (get_widget): Check we - actually got any parts to build the dialogue with. - -2000-08-13 Not Zed <NotZed@HelixCode.com> - - * gui/component/addressbook-component.c (owner_set_cb): Set the - global_shell_client nastyhack when we know it. - This is only required to link with the filter code ... - - * gui/component/Makefile.am (evolution_addressbook_LDADD): Added - libfilter.a to the link line. - - * gui/search/Makefile.am (noinst_LIBRARIES): Change library name - from libaddressbooksearchdialog to libaddressbooksearch, as used - elsewhere. - - * gui/search/e-addressbook-search-dialog.c (get_widget): - Implement. - (get_query): Likewise. - (e_addressbook_search_dialog_destroy): Unref filter stuff when - done. - - * gui/component/addressbook.c (control_deactivate): Added chris's - patch to put the meny in - -2000-08-22 Lauris Kaplinski <lauris@helixcode.com> - - * contact-editor/e-contact-editor.c: Use e_utf8 wrappers everywhere - -2000-08-22 Christopher James Lahey <clahey@helixcode.com> - - * backend/e-card.h: Started adding a time zone field to ECard. - - * gui/component/e-addressbook-model.c: Added - e_table_model_pre_change where appropriate. - - * gui/minicard/e-minicard-control.c: Added a ref and unref pair. - -2000-08-22 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/addressbook.c: Linked in the search dialog again. - It looks like some changes in the shell made this not work. - -2000-08-19 Christopher James Lahey <clahey@helixcode.com> - - * conduit/address-conduit.c, conduit/address-conduit.h: Changed - this to use ECardSimple. - - * contact-editor/e-contact-editor.c: Fixed a memory leak. - - * gui/component/addressbook.c: Added stuff to the right click - menu. Activated the new search dialog that doesn't quite work - yet. - - * gui/minicard/e-minicard-view.c: Fixed some run time warnings. - -2000-08-15 Larry Ewing <lewing@helixcode.com> - - * gui/minicard/e-minicard.c (e_minicard_event): use style colors - for the selected state. This doesn't properly redraw the minicard - when there is a style_change event, that is next. - (e_minicard_realize): use style colors. - -2000-08-14 Peter Williams <peterw@helixcode.com> - - * backend/pas/pas-backend-file.c: Include the proper db1/db.h - as in RedHat 7.0 -- patch from Kenny Graunke <kwg@teleport.com> - -2000-08-13 Chris Toshok <toshok@helixcode.com> - - * conduit/Makefile.am (libaddress_conduit_la_SOURCES): add - address-conduit.h - - * Makefile.am (CONDUIT_SUBDIR): only set subdir if - ENABLE_PILOT_CONDUITS is set. - -2000-08-13 Chris Toshok <toshok@helixcode.com> - - * Makefile.am (SUBDIRS): add conduit subdir. - -2000-08-13 Chris Toshok <toshok@helixcode.com> - - * conduit/address-conduit.c (conduit_get_gpilot_conduit): add - special oaf initialization hack so conduit can find wombat, and - accept all cookies so that we can actually talk to oaf. - -2000-08-13 Christopher James Lahey <clahey@helixcode.com> - - * backend/pas/pas-backend-file.c: Fixed a typo that cause the - wrong field to be searched. - - * gui/component/select-names/e-select-names.c: Made the select - names dialog only display entries with email addresses. - -2000-08-12 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/contact-editor.glade: Fixed a typo in the name of - the first phone entry. - -2000-08-12 Christopher James Lahey <clahey@helixcode.com> - - * gui/search/Makefile.am, - gui/search/e-addressbook-search-dialog.c, - gui/search/e-addressbook-search-dialog.h: A few small interface - fixes. - - * gui/component/Makefile.am: Link in the addressbook search - dialog. - -2000-08-12 Christopher James Lahey <clahey@helixcode.com> - - * gui/Makefile.am: Added the search directory. - - * backend/ebook/e-book.c: Fixed a potential crash. - - * gui/minicard/e-reflow-sorted.h: Fixed an include line. - - * gui/search/.cvsignore, gui/search/Makefile.am: New files. - - * gui/search/e-addressbook-search-dialog.c: Fixed compilation. - -2000-08-12 Christopher James Lahey <clahey@helixcode.com> - - * printing/Makefile.am: Ettore fixed compilation. - -2000-08-12 Christopher James Lahey <clahey@helixcode.com> - - * backend/ebook/.cvsignore: Added load-gnomecard-addressbook. - -2000-08-12 Christopher James Lahey <clahey@helixcode.com> - - * gui/search/e-addressbook-search-dialog.c, - gui/search/e-addressbook-search-dialog.h: Made this into a Gtk - object. - -2000-08-12 Christopher James Lahey <clahey@helixcode.com> - - * backend/pas/pas-book-view.c: Ref our book view listener. - - * gui/component/addressbook.c: Updated to use new minicard view - widget. - - * gui/minicard/Makefile.am: Added e-minicard-view-widget.c and - e-minicard-view-widget.h. - - * gui/minicard/e-minicard-view-widget.c, - gui/minicard/e-minicard-view-widget.h: New class that's just a - minicard view in an ECanvas. - - * gui/search/e-addressbook-search-dialog.c: New file for - implementing a search dialog. - -2000-08-11 Chris Toshok <toshok@helixcode.com> - - * conduit/address-conduit.c (transmit): implement code to encode - the first email address and send to the pilot. - (get_phone_label_by_flag): rename find_phone_label_for_flags to - this, and implement by calling get_phone_label_by_name. - -2000-08-11 Chris Toshok <toshok@helixcode.com> - - * conduit/address-conduit.c (ecard_from_remote_record): add code - for handling email addresses from pilot (which stores it as a - phone number entry. go figure.) - (check_for_slow_setting): #if 0 out, since we don't use it (yet). - (update_record): un #if 0 the code to handle the case where the - pilot info has changed for a local record. - (merge_ecard_with_remote_record): implement function, but for now - just return the existing (desktop) record - we still don't allow - merge from the pilot. - - -2000-08-10 Christopher James Lahey <clahey@helixcode.com> - - * gui/search/addresstypes.xml: Changed a couple of input field - names. - -2000-08-10 Ettore Perazzoli <ettore@helixcode.com> - - * gui/component/addressbook-component.c: Remove prototype for - `setup_ldap_storage()', which shouldn't be here anyway. - -2000-08-10 Christopher James Lahey <clahey@helixcode.com> - - * gui/search/, gui/search/addresstypes.xml: New search dialog for - addressbook. - -2000-08-10 Dan Winship <danw@helixcode.com> - - * gui/component/addressbook-component.c (owner_set_cb): Update for - changed prototype, pass evolution_homedir arg to - setup_ldap_storage. - - * gui/component/e-ldap-storage.c (setup_ldap_storage): Now takes - an evolution_homedir arg, uses that to generate the path to the - ldapservers.xml file, and stores the result in a static variable. - (e_ldap_storage_add_server, e_ldap_storage_remove_server): Use that - static variable rather than hardcoding the path to the file. - -2000-08-10 Christopher James Lahey <clahey@helixcode.com> - - * backend/pas/pas-backend-file.c: Fixed any search to not crash on - missing phone numbers or email addresses. - -2000-08-09 Christopher James Lahey <clahey@helixcode.com> - - * gui/minicard/e-minicard-control.c: Added a button to save to - your addressbook. - -2000-08-09 Cody Russell <bratsche@gnome.org> - - * gui/component/addressbook.c: Make the toolbar honor the user's - gnomecc settings for detachable toolbars. - -2000-08-09 Nat Friedman <nat@helixcode.com> - - * ename/e-name-western-tables.h: Added some military prefixes. - -2000-08-09 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/addressbook.c: Fixed a warning. - -2000-08-09 Ettore Perazzoli <ettore@helixcode.com> - - * gui/component/addressbook.c (control_activate): Add the stock - print icon to the print item. - -2000-08-09 Ettore Perazzoli <ettore@helixcode.com> - - * gui/component/addressbook.c (control_activate): Put the print - item in the right placeholder so that it gets the right position - in the "File" menu. - (control_deactivate): Updated accordingly. - -2000-08-09 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/addressbook.c, gui/minicard/e-minicard.c: Changed - e_popup_menu_run call to match the new arguments. - - * gui/component/addressbook.oafinfo: Fixed this file to work - properly. - - * gui/minicard/e-minicard-control.c: Use the correct oafinfo ID - here. Also cleaned up the code a bit with the help of Michael - Meeks. - -2000-08-08 Chris Toshok <toshok@helixcode.com> - - * gui/component/e-addressbook-model.c (e_addressbook_model_init): - use x-evolution-any-field. - - * gui/component/addressbook.c (search_entry_activated): use - x-evolution-any-field. - (change_view_type): same. - - * gui/minicard/e-minicard-view.c (e_minicard_view_init): set query - to x-evolution-any-field. - - * backend/pas/pas-backend-ldap.c (func_contains): support - x-evolution-any-field for matching any evolution supported field. - - * backend/pas/pas-backend-file.c (compare_email): switch to using - ECardSimple calls. - (compare_phone): same. - (compare_address): same. - (entry_compare): switch to using ECardSimple calls, and support a - 'x-evolution-any-field' wildcard field. - (vcard_matches_search): use an ECardSimple. - -2000-08-07 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/e-contact-editor.c: Removed the next and prev - toolbar buttons since they don't do anything. - -2000-08-07 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/contact-editor.glade, - contact-editor/e-contact-editor.c: Fixed the tab order to not - repeat the web page address field. - -2000-08-07 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/e-contact-editor.c: Fixed the tab order for this - dialog. - -2000-08-05 Christopher James Lahey <clahey@helixcode.com> - - * backend/ebook/e-card-simple.c: Fixed a warning. - - * backend/ebook/e-card.c: Cast to (char *) in - e_card_load_cards_from_file since libversit isn't const correct. - - * backend/pas/pas-backend-file.c: Fixed a warning. - -2000-08-04 Michael Meeks <michael@helixcode.com> - - * gui/component/addressbook.c (control_activate): unref. - - * demo/addressbook.c (control_activate): unref. - -2000-08-02 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/e-contact-editor-categories.c, - gui/component/e-addressbook-model.c: Emit "model_pre_change" - signal as appropriate. - -2000-08-02 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/e-addressbook-model.c: Adapted this to supply the - new append_row API of ETableModel. - -2000-07-31 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/addressbook.c: Changed the default set of columns. - -2000-07-29 Christopher James Lahey <clahey@helixcode.com> - - * backend/ebook/Makefile.am: Added load-gnomecard-addressbook - compilation. - - * backend/ebook/e-card.c, backend/ebook/e-card.h: Added - e_card_load_cards_from_file helper function to load multiple cards - from a single file. - - * backend/ebook/load-gnomecard-addressbook.c: New file to load - vcard files. I think this is the format that gnomecard uses so if - you copy your gnomecard file to gnomecard.vcf and then run this - program in the same directory, it'll copy all your gnome contacts - into evolution. It needs to be changed to take a filename as a - parameter. Some fields (phone and address information, for - example) aren't displayed properly, but are saved. This is new - code, so some other than phone and address may be lost. - -2000-07-28 Ettore Perazzoli <ettore@helixcode.com> - - * backend/pas/Makefile.am: Add `pas-backend-ldap.c' and - `pas-backend-ldap.h' to `EXTRA_DIST' so they get distributed even - if the OpenLDAP support is not enabled. - -2000-07-27 Christopher James Lahey <clahey@helixcode.com> - - * backend/ebook/load-pine-addressbook.c: Changed the URI to load - to. - -2000-07-26 Christopher James Lahey <clahey@helixcode.com> - - * gui/minicard/e-minicard-widget-test.c: Fixed a warning. - -2000-07-26 Chris Toshok <toshok@helixcode.com> - - * backend/pas/pas-backend-ldap.c (view_destroy): wait to free the - view until we've taken care of freeing its internals. also, close - the ldap connection here. - (pas_backend_ldap_connect): rename p_b_l_ensure_connected to this, - since it's always called when we create a view. - (pas_backend_ldap_build_all_cards_list): open an ldap connection - in this function and close it at the end. - (poll_ldap): make sure to call ldap_unbind to close the view's - connection here. - (pas_backend_ldap_search): call pas_backend_ldap_connect here - - ldap_unbind will either be called from poll_ldap or from - view_destroy. - (pas_backend_ldap_get_vcard): the PASBackendLDAP no longer has an - LDAP*. - -2000-07-26 Chris Toshok <toshok@helixcode.com> - - * backend/pas/pas-backend-ldap.c - (pas_backend_ldap_build_all_cards_list): add support for user settable scope. - (pas_backend_ldap_search): same. - (pas_backend_ldap_load_uri): same. - -2000-07-26 Dan Winship <danw@helixcode.com> - - * gui/component/addressbook.oafinfo: lowercasify the - supported_mime_types - -2000-07-25 Chris Toshok <toshok@helixcode.com> - - * backend/ebook/e-card-types.h: add enum for e-card pilot status. - - * conduit/address-conduit.c: #ifdef out all the archiving code with SUPPORT_ARCHIVING. - (purge): implement correctly - deleting ecards whose pilot status is DELETED. - (set_status): implement. - (set_pilot_id): add gtk_main call here to change commit_card into a synchronous - (delete_all): implement correctly - don't delete the records, just set their status to DELETED. - (local_record_from_ecard): get the current status from the ecard. - - * backend/ebook/e-card.c (e_card_get_vcard): add vcard support for pilot status. - (parse_pilot_status): new function. - (e_card_class_init): add pilot status object arg. - (e_card_set_arg): add pilot status support. - (e_card_get_arg): same. - (e_card_init): initialize pilot_status to 0. - -2000-07-25 Chris Toshok <toshok@helixcode.com> - - * conduit/address-conduit.c: add comment headers to signals that - didn't have any. - -2000-07-25 Chris Toshok <toshok@helixcode.com> - - * conduit/address-conduit.c (start_address_server): use the user's - Contact db. not toshok's. - -2000-07-25 Michael Meeks <michael@helixcode.com> - - * backend/ebook/load-pine-addressbook.c (book_open_cb): check we - opened ok. - -2000-07-25 Seth Alves <alves@hungry.com> - - * ename/Makefile.am (libename_static_la_LDFLAGS): build static - version of the library for address conduit to use - - * backend/ebook/Makefile.am: build a static version of the library - to link into the conduit - -2000-07-25 Christopher James Lahey <clahey@helixcode.com> - - * backend/ebook/e-card.c: Added a #define for - "X-EVOLUTION-PILOTID". Added a parse_pilot_id to read pilot id's - in properly from VCards. Rearranged some field orders. Added a - get_arg case for ARG_PILOTID. Initialize pilot_id field to 0. - -2000-07-24 Chris Toshok <toshok@helixcode.com> - - * backend/ebook/e-card.h: add pilot_id. - - * backend/ebook/e-card.c (e_card_get_vcard): add support for - X-EVOLUTION-PILOTD vcard field. - (e_card_class_init): add pilot_id arg. - (e_card_set_arg): handle pilot_id arg. - -2000-07-23 Christopher James Lahey <clahey@helixcode.com> - - * backend/ebook/e-book-view-listener.c: Remove the idle handler - when we're destroyed. - - * printing/e-contact-print.c: Fixed the spacing on the card - header. - -2000-07-20 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/addressbook.oafinfo: Fixed the oaf info. - - * gui/minicard/.cvsignore, gui/minicard/Makefile.am, - gui/minicard/e-minicard-widget-test.c: Added a test for the - minicard widget. - - * gui/minicard/e-minicard-control.c: Fixed the mime type. - - * gui/minicard/e-minicard.c: Fixed some crashes if your parent - isn't a minicard view. - - * gui/minicard/e-minicard-control.oafinfo: Removed. - -2000-07-20 Ettore Perazzoli <ettore@helixcode.com> - - * gui/component/addressbook-component.c (factory_fn): Update for - the new `evolution_shell_component_new()'. - -2000-07-19 Fatih Demir <kabalak@gmx.net> - - * conduit/address-conduit-control-applet.desktop: - Added the Turkish desktop entry. - -2000-07-18 Christopher James Lahey <clahey@helixcode.com> - - * gui/minicard/e-minicard-control.c: Added "text/vCard" to the - list of mime types we support. - -2000-07-18 Christopher James Lahey <clahey@helixcode.com> - - * gui/minicard/Makefile.am: Added - gui/minicard/e-minicard-control.c, - gui/minicard/e-minicard-control.h, - gui/minicard/e-minicard-widget.c, and - gui/minicard/e-minicard-widget.h. - - * gui/minicard/e-minicard-control.c, - gui/minicard/e-minicard-control.h, - gui/minicard/e-minicard-widget.c, - gui/minicard/e-minicard-widget.h: Got these to compile. - - * gui/minicard/e-minicard-control.gnorba, - gui/minicard/e-minicard-control.oafinfo: Copied directly from - bonobo-clock-control. These aren't done yet. - -2000-07-18 Christopher James Lahey <clahey@helixcode.com> - - * gui/minicard/e-minicard-control.c, - gui/minicard/e-minicard-control.h, - gui/minicard/e-minicard-widget.c, - gui/minicard/e-minicard-widget.h: New files for using a minicard - as a widget or a bonobo control. - -2000-07-14 Chris Toshok <toshok@helixcode.com> - - * gui/component/e-ldap-storage.c (ldap_server_foreach): duh. - don't save the port in the host slot either. - -2000-07-13 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/e-contact-editor-confirm-delete.glade, - contact-editor/e-contact-editor-confirm-delete.glade.h: Added - these. - -2000-07-13 Christopher James Lahey <clahey@helixcode.com> - - * Makefile.am: Switched the order of compilation of printing and - contact-editor. - - * contact-editor/Makefile.am: Added printing libraries and a - confirm delete dialog glade file. - - * contact-editor/e-contact-editor.c, - contact-editor/e-contact-editor.h: Enabled the delete and print - functions as well as providing a confirm delete dialog to the - outside world. - - * gui/component/addressbook.c: Made the delete button on new cards - active. - - * gui/minicard/Makefile.am: Added printing libraries to a number - of test programs. - - * gui/minicard/e-minicard.c: Added print and delete to the right - click menu. Made the delete button on the card editor active. - - * printing/e-contact-print.c, printing/e-contact-print.h: Added a - function to print a single card. - -2000-07-12 Chris Toshok <toshok@helixcode.com> - - * gui/component/e-ldap-storage.c (ldap_server_foreach): oops. fix - typo that was saving the port in the rootdn spot. - (save_ldap_data): make this a bit safer - writing to a new file - and renaming it. - (load_ldap_data): make this a bit smarter - if parsing the - ldapservers.xml file fails and there's a .new file there, - rename it. - -2000-07-12 Christopher James Lahey <clahey@helixcode.com> - - * backend/pas/pas-backend-file.c: Do case insensitive compares. - - * addressbook/gui/component/addressbook.c: Make quick search - search both name and company name. - -2000-07-12 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/e-contact-editor.c: Add icons to the toolbars. - -2000-07-12 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/Makefile.am: Added installation of arrow.png. - - * contact-editor/e-contact-editor.c: Use EVOLUTIONDIR #define. - -2000-07-11 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/addressbook.c: Removed an unused function - -2000-07-10 Dan Winship <danw@helixcode.com> - - * gui/component/select-names/Makefile.am (EXTRA_DIST): add idl - file to EXTRA_DIST - -2000-07-10 Ettore Perazzoli <ettore@helixcode.com> - - * gui/component/addressbook.c (control_activate): Remove the - SelectNames test. - -2000-07-10 Peter Williams <peterw@curious-george.helixcode.com> - - * gui/component/select-names/e-select-names-model.c: (Clahey's fix) - Make multiple addresses be concatenated correctly. - -2000-07-09 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/addressbook.c, - gui/component/select-names/e-select-names.c, - gui/component/select-names/e-select-names.h: Switched from ETable - to ETableScrolled. - - * addressbook/gui/minicard/e-minicard.c: Don't display mailer or - "name or org" fields. - -2000-07-09 Christopher James Lahey <clahey@helixcode.com> - - * backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h: - Added a field that gives the name if it exists and the company - name otherwise. - - * gui/component/e-addressbook-model.c: Formatting changes. - - * gui/component/select-names/e-select-names-table-model.c: Added - stripping of names and display of company name if name doesn't - exist. - - * gui/component/select-names/e-select-names.c: Fixed up the - display so that we display both name and email address. - -2000-07-09 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/select-names/e-select-names-model.c: Fixed a small - off by one error that was causing an extra character to get - deleted sometimes. - -2000-07-09 Anders Carlsson <andersca@gnu.org> - - * gui/minicard/test-reflow.c (allocate_callback): Fix off by one bug with - scroll region setting. - (resize): Likewise. - (main): Put the contacts list in an EScrolledFrame instead of using a - separate GtkScrollbar. - - * gui/minicard/e-reflow.c (e_reflow_event): Don't change mouse cursor and - don't allow drags on dividers that aren't visible. - - * gui/component/addressbook.c (allocate_callback): Fix off by one bug with - scroll region setting. - (resize): Likewise. - (create_minicard_view): Put the contacts list in an EScrolledFrame instead of - using a separate GtkScrollbar. - -2000-07-09 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/addressbook.c: Removed unused do_nothing_cb - function. - - * gui/component/select-names/e-select-names-manager.c, - gui/component/select-names/e-select-names-manager.h: Made the OK - and Cancel buttons in the ESelectNames dialog we create work - properly. - - * gui/component/select-names/e-select-names-model.c, - gui/component/select-names/e-select-names-model.h: Added - e_select_names_model_duplicate. - - * gui/component/select-names/e-select-names-text-model.c: Made the - text be set correctly if there's already data in the source when - the text model is created. - - * gui/component/select-names/e-select-names.c, - gui/component/select-names/e-select-names.h: Removed handling of - the buttons (the user of this dialog will have to handle them.) - Added e_select_names_get_source. Fixed some typos. - -2000-07-09 Not Zed <NotZed@HelixCode.com> - - * gui/component/addressbook.c: Link the toolbar print button to - the print callback. - -2000-07-08 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/select-names/e-select-names.c - (e_select_names_clicked): Hitting OK or Cancel at least closes the - dialog now. - -2000-07-08 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_manager_create_entry): Set the returned entry to - use the ellipsis. - -2000-07-08 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/addressbook-factory.c: Include - e-select-names-factory.h. - - * gui/component/select-names/e-select-names-model.c: Handle a NULL - iterator properly in the replace function. - - * gui/component/select-names/e-select-names-table-model.c: Fill in - info properly in the value_at function. - - * gui/component/select-names/e-select-names-text-model.c: Don't - strlen a NULL text object. - - * gui/component/select-names/e-select-names.c: Close if the person - hits ok or cancel (doesn't yet actually undo changes if Cancel is - hit.) Handle removing addresses when they're double clicked on. - - * gui/component/select-names/select-names.glade, - gui/component/select-names/select-names.glade.h: Hid some unused - fields and changed the text at the top of the dialog. - -2000-07-08 Jeffrey Stedfast <fejj@helixcode.com> - - * gui/component/select-names/.cvsignore: Ignore dynamically - created source files - -2000-07-08 Ettore Perazzoli <ettore@helixcode.com> - - * gui/component/select-names/e-select-names-bonobo.c - (entry_get_property_fn): New function to set the properties. - -2000-07-08 Ettore Perazzoli <ettore@helixcode.com> - - * gui/component/addressbook-factory.c (main): Start up the factory - for `Evolution::Addressbook::SelectNames'. - - * gui/component/select-names/evolution-addressbook-select-names.oafinfo: - New. - - * gui/component/select-names/e-select-names-factory.c: New. - * gui/component/select-names/e-select-names-factory.h: New. - - * gui/component/select-names/e-select-names-bonobo.c: New. - * gui/component/select-names/e-select-names-bonobo.h: New. - - * gui/component/addressbook-factory.c (main): Call - `e_select_names_factory_init()'. - - * gui/component/select-names/e-select-names-manager.c - (e_select_names_manager_add_section): Made const-aware. - (e_select_names_manager_create_entry): Made const-aware. - (e_select_names_manager_activate_dialog): Made const-aware. - - * gui/component/select-names/Evolution-Addressbook-SelectNames.idl: - New. - -2000-07-08 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/e-addressbook-model.c, - gui/component/e-addressbook-model.h: Added an "editable" argument. - - * gui/component/select-names/e-select-names.c: Set our - EAddressModel to not be editable. - -2000-07-07 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/select-names/e-select-names.c: Changed to line - mode. - -2000-07-07 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/select-names/e-select-names-manager.c, - gui/component/select-names/e-select-names-model.c: Implemented the - get_cards function. - - * gui/component/select-names/e-select-names.c: Implemented adding - cards through the interface. - -2000-07-07 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/select-names/e-select-names-manager.c: Make the - entry widgets we create editable. - - * gui/component/select-names/e-select-names-model.c: Use - e_strsplit instead of g_strsplit. Fixed an off by 1 error. - - * gui/component/select-names/e-select-names-table-model.c: When - the model changes, send a model changed signal. - - * gui/component/select-names/e-select-names-text-model.c: Made - changing this work correctly if it's empty. Made change signals - propagate properly. Is a bit better about freeing iterators when - done. - - * gui/component/select-names/e-select-names.c: Made the finished - lists be in order instead of being sorted. - -2000-07-07 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/addressbook.c (new_server_cb): Since - ELDAPServer->port is a char *, allocate a string with the number - 389 contained. - - * gui/component/addressbook.c: Make the select names test test the - new code instead of the old way of getting to an ESelectNames - dialog. - - * gui/component/select-names/e-select-names-manager.c: Coded - storing the model for each section, creating an entry and - returning it, and for activating the dialog. Wrote a bit of the - get_cards code, but not all of it. - - * gui/component/select-names/e-select-names-model.c, - gui/component/select-names/e-select-names-model.h: Coded all of - the code needed to make ESelectNamesTextModel work (it doesn't - yet, but all the code should be there.) Removed - E_SELECT_NAMES_MODEL_DATA_TYPE_SEPARATION_MATERIAL. - - * gui/component/select-names/e-select-names-table-model.c, - gui/component/select-names/e-select-names-text-model.c: Changed - these to compensate for removal of - E_SELECT_NAMES_MODEL_DATA_TYPE_SEPARATION_MATERIAL. - - * gui/component/select-names/e-select-names-table-model.h, - gui/component/select-names/e-select-names-text-model.h: Fixed some - silly typos. - - * gui/component/select-names/e-select-names.c, - gui/component/select-names/e-select-names.h: Added a parameter to - add_section that lets you specify the source ESelectNamesModel. - -2000-07-06 Chris Toshok <toshok@helixcode.com> - - * gui/component/e-ldap-storage.h: add scope to ELDAPServer, and - make port a string. - - * gui/component/e-ldap-storage.c (load_ldap_data): don't load a - uri, load all the bits and pieces and build up the uri when - creating the folder, according to the openldap url format. - (ldap_server_foreach): store out each of the individual uri - pieces. - (e_ldap_storage_remove_server): free the new fields. - (get_string_value): if the text is empty, return the empty string - instead of NULL. - - * gui/component/e-ldap-server-dialog.c (extract_server_info): port is a string now. - (fill_in_server_info): port is a string now. - -2000-07-06 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/e-contact-editor.c: Changed "FIXME: Save and - Close" to "Save and Close". Removed some toolbar items that will - never be used. - - * gui/component/select-names/e-select-names-model.c, - gui/component/select-names/e-select-names-model.h: Added functions - to allow you to modify the model (not implemented yet.) - - * gui/component/select-names/e-select-names-table-model.c, - gui/component/select-names/e-select-names-table-model.h: Finished - this. Doesn't support changing the model at all. - - * gui/component/select-names/e-select-names-text-model.c: Finished - this. Changing the model by typing is done, but doesn't work - since none of the functions in the base model are implemented. - -2000-07-05 Chris Toshok <toshok@helixcode.com> - - * gui/component/addressbook.c (new_server_cb): call - e_ldap_storage_add_server call. - - * gui/component/ldap-server-dialog.glade: add name row. - - * gui/component/e-ldap-server-dialog.h: remove the ELDAPServer type. - - * gui/component/e-ldap-server-dialog.c (extract_server_info): add - support for the name-entry. - - * gui/component/e-ldap-server-dialog.c (fill_in_server_info): same. - - * gui/component/e-ldap-storage.h: add ELDAPServer type, and add - prototypes for e_ldap_storage_add_server and - e_ldap_storage_remove_server. - - * gui/component/e-ldap-storage.c (e_ldap_storage_add_server): new - function, add it to our hash table, add a shell folder, and save - out the metadata. - (ldap_server_foreach): add the ldap server info under a - "contactserver" node. - (setup_ldap_storage): create our hashtable. - -2000-07-05 Chris Toshok <toshok@helixcode.com> - - * gui/component/addressbook.c (set_prop): remove hack to read - "uri" file from local directory. - - * gui/component/Makefile.am (evolution_addressbook_SOURCES): add - e-ldap-storage.{c,h} - - * gui/component/addressbook-component.c (owner_set_cb): call - setup_ldap_storage. - - * gui/component/e-ldap-storage.c (setup_ldap_storage): Register - the LDAP storage and load the .xml file. - (load_ldap_data): function to load our xml file. - (save_ldap_data): function to save our xml file. - - * gui/component/e-ldap-storage.h: new file. - -2000-07-03 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/select-names/e-select-names-manager.c, - gui/component/select-names/e-select-names-text-model.c, - gui/component/select-names/e-select-names.c: Fixed more compile - errors. - -2000-07-03 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/select-names/Makefile.am: Fixed compile error. - -2000-07-03 Christopher James Lahey <clahey@helixcode.com> - - * backend/ebook/Makefile.am: Removed e-card-iterator.c, - e-card-iterator.h, e-card-list-iterator.c, e-card-list-iterator.h, - e-card-list.c, e-card-list.h. - - * backend/ebook/e-card-iterator.c, - backend/ebook/e-card-iterator.h, - backend/ebook/e-card-list-iterator.c, - backend/ebook/e-card-list-iterator.h, backend/ebook/e-card-list.c, - backend/ebook/e-card-list.h: Removed in favor or versions without - the -card in the e-util directory since these classes are not - specific to cards at all. - - * backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h, - backend/ebook/e-card.c, backend/ebook/e-card.h, - backend/ebook/load-pine-addressbook.c, backend/ebook/test-card.c, - backend/pas/pas-backend-file.c: Changed the references to - e-card-list.c and friends to e-list.c and friends. - - * contact-editor/e-contact-editor.c: Added #include - <e-contact-save-as.h> to fix a warning. - - * gui/component/Makefile.am: Moved a number of classes associated - with the select-names object to the new select-names directory. - - * gui/component/addressbook.c: Changed the reference to - e-select-names.h. - - * gui/component/e-select-names.c, gui/component/e-select-names.h, - gui/component/select-names.glade, - gui/component/select-names.glade.h: Moved these files into - select-names/. - - * gui/component/select-names/.cvsignore, - gui/component/select-names/Makefile.am, - gui/component/select-names/e-select-names-manager.c, - gui/component/select-names/e-select-names-manager.h, - gui/component/select-names/e-select-names-model.c, - gui/component/select-names/e-select-names-model.h, - gui/component/select-names/e-select-names-table-model.c, - gui/component/select-names/e-select-names-table-model.h, - gui/component/select-names/e-select-names-text-model.c, - gui/component/select-names/e-select-names-text-model.h, - gui/component/select-names/e-select-names.c, - gui/component/select-names/e-select-names.h, - gui/component/select-names/recipient.glade, - gui/component/select-names/select-names.glade, - gui/component/select-names/select-names.glade.h: New files for - select names dialog (e-select-names.c, e-select-names.h, - select-names.glade, select-names.glade.h and recipient.glade moved - from gui/component/.) - -2000-06-29 Ettore Perazzoli <ettore@helixcode.com> - - * gui/component/addressbook-component.c (owner_set_cb): Get an - EvolutionShellClient instead of an Evolution_Shell to match the - changes in libeshell. - -2000-06-28 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/select-names/, - gui/component/select-names/e-select-names-manager.c, - gui/component/select-names/e-select-names-manager.h: New select - names manager interface (Not complete.) - -2000-06-26 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/e-contact-editor-categories.c, - addressbook/gui/component/e-cardlist-model.c: Added - value_to_string handlers. - - * demo/addressbook-widget.c, demo/demo.c: Removed usage of "x" and - "y" arguments. - - * addressbook/gui/component/addressbook.c: Activated Click To Add - and set the click to add message. - - * addressbook/gui/component/e-addressbook-model.c: Added - value_to_string and append_row handlers. - - * addressbook/gui/component/e-select-names.c: Added a column. - -2000-06-26 Chris Toshok <toshok@helixcode.com> - - * backend/pas/pas-backend-ldap.c (poll_ldap): remove spew. - (pas_backend_ldap_ensure_connected): duh, don't access a pointer - we know to be NULL. - (query_prop_to_ldap): rename map_e_card_prop_to_ldap to this. - easier to type. - -2000-06-21 Christopher James Lahey <clahey@helixcode.com> - - * gui/minicard/test-minicard-label.c, - gui/minicard/test-minicard.c, gui/minicard/test-reflow.c: Remove - usage of "x" and "y" arguments. - -2000-06-18 <ettore@helixcode.com> - - * contact-editor/Makefile.am (INCLUDES): Use - `$(BONOBO_GNOME_CFLAGS)' so that we compile when Bonobo is not in - the default GNOME prefix. - -2000-06-17 Christopher James Lahey <clahey@helixcode.com> - - * gui/minicard/e-minicard-label.c, - gui/minicard/e-minicard-label.h, gui/minicard/e-minicard.c: Made - the left column of minicards not get any wider than the widest - possible name. - -2000-06-13 Ettore Perazzoli <ettore@helixcode.com> - - * gui/component/Makefile.am (SHELL_OBJS): Removed. - (evolution_addressbook_LDADD): Link with - `$(top_builddir)/shell/libeshell.a'. - -2000-06-12 Federico Mena Quintero <federico@helixcode.com> - - * contact-editor/e-contact-editor-categories.c: Removed the - ETableModel thaw handler. - * gui/component/e-cardlist-model.c: Likewise. - -2000-06-11 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/e-select-names.c: Fixed the widget reparenting. - -2000-06-11 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/Makefile.am: Added glade files. - - * gui/component/addressbook.c: Added a test of the Select Names - functionality. - - * gui/component/e-addressbook-model.c: Made this class_init - function a bit cleaner. - - * gui/component/e-select-names.c: Tested this and fixed some - obvious errors. - - * gui/component/select-names.glade: The main window shouldn't be - visible by default. - -2000-06-11 Ettore Perazzoli <ettore@helixcode.com> - - * contact-editor/Makefile.am (contact_editor_test_LDADD): Link - with libemiscwidgets.a. - * gui/component/Makefile.am (evolution_addressbook_LDADD): Likewise. - * gui/minicard/Makefile.am (minicard_test_LDADD): Likewise. - (reflow_test_LDADD): Likewise. - (minicard_view_test_LDADD): Likewise. - -2000-06-10 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/e-cardlist-model.c: Renamed a bunch of functions - for better readability. - - * gui/component/e-select-names.c, gui/component/e-select-names.h: - This should be a working dialog now. - - * gui/component/select-names.glade: Changed the name & creation - function of the ETable here. - -2000-06-10 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/select-names.glade, - gui/component/select-names.glade.h: Glade files for Select Names - dialog. - -2000-06-10 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/e-contact-editor.c: Do e_card_simple_sync and - extract_info more often. - - * gui/component/addressbook.c: Added table printing code. - -2000-06-09 Ettore Perazzoli <ettore@helixcode.com> - - * gui/component/addressbook-component.c (factory_fn): Pass NULL - for the new args @create_folder_fn and @remove_folder_fn. - -2000-06-08 Ettore Perazzoli <ettore@helixcode.com> - - * gui/component/addressbook-component.c (create_view): Updated for - the new `EvolutionShellComponentCreateViewFn'. Return - `EVOLUTION_SHELL_COMPONENT_UNSUPPORTEDTYPE' if @type is not - "contacts". - -2000-06-08 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/e-contact-editor.c: Bind Save As to save the - current view of the contact as a vcard. - -2000-06-08 Federico Mena Quintero <federico@helixcode.com> - - * contact-editor/e-contact-editor.c (save_card): Doh, sync the - card simple and extract the card info. - -2000-06-08 Federico Mena Quintero <federico@helixcode.com> - - * contact-editor/e-contact-editor.h (EContactEditor): Now this - derives from GtkObject. It follows the same strategy as the - EventEditor in the calendar. - (EContactEditor): Added an is_new_card field so that we can know - whether to add() or commit() the card. - - * contact-editor/e-contact-editor.c (e_contact_editor_get_type): - Derive from GtkObject. - (e_contact_editor_class_init): Likewise. - (e_contact_editor_class_init): Added an "is_new_card" argument. - (e_contact_editor_set_arg): Handle ARG_IS_NEW_CARD. - (e_contact_editor_get_arg): Likewise. - (e_contact_editor_new): Take in an is_new_arg argument and set it - on the object. - (e_contact_editor_init): Load the app widget into the app field of - the EContactEditor structure. Create its UIHandler as well. - (e_contact_editor_class_init): New "add_card", "commit_card", and - "editor_closed" signals. - - * contact-editor/test-editor.c (main): Modified for the new API. - (editor_closed_cb): Tweaked for the new API. - Since this test program does not use Bonobo, it doesn't work, - though. - - * gui/component/addressbook.c (new_contact_cb): Use the new - contact editor API. - (table_double_click): Ditto. - - * gui/minicard/e-minicard-view.c (e_minicard_view_event): Use the - new contact editor API. - - * gui/minicard/e-minicard.c (e_minicard_event): Use the new - contact editor API. - -2000-06-08 Ettore Perazzoli <ettore@helixcode.com> - - * contact-editor/Makefile.am (contact_editor_test_LDADD): Remove - the `$(srcdir)/' prefix from `libecontacteditor.a' because [of - course] the library is built in the build directory, not in the - source directory. - * gui/minicard/Makefile.am (minicard_test_LDADD): Likewise with - `libeminicard.a'. - (minicard_label_test_LDADD): Likewise. - (reflow_test_LDADD): Likewise. - (minicard_view_test_LDADD): Likewise. - -2000-06-06 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/addressbook.c: Bind right click on the ETable to - "Save to VCard." - -2000-06-02 Christopher James Lahey <clahey@helixcode.com> - - * contact-editor/e-contact-editor.c: Made phone/email/address - labels change correctly again. - -2000-06-02 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/addressbook-component.c: Made - evolution-addressbook shut down when the shell is done with it. - -2000-06-02 Christopher James Lahey <clahey@helixcode.com> - - * gui/minicard/e-minicard-view.c, gui/minicard/e-minicard.c: Made - double click only work on the first button. - -2000-06-01 Christopher James Lahey <clahey@helixcode.com> - - * gui/minicard/e-minicard.c: return TRUE if opening a contact - editor so that we don't get a "new dialog" contact editor. - -2000-06-01 Ettore Perazzoli <ettore@helixcode.com> - - * gui/component/addressbook.c (new_contact_cb): Use the stock - cancel button for the dialog. - (table_double_click): Likewise. - (find_contact_cb): Likewise. - -2000-05-31 Miguel de Icaza <miguel@helixcode.com> - - * contact-editor/contact-editor.glade: Added accelerators for - the remaining items. - - Add spacing, beautify the dialogs. - -2000-06-01 Ettore Perazzoli <ettore@helixcode.com> - - * gui/component/addressbook.c (control_activate): Put the toolbar - into a frame to make it look like standard GNOME toolbars. Also, - set `GNOME_DOCK_ITEM_BEH_NEVER_VERTICAL' so that it does not do - evil things when its moved to the left or the right of the window. - -2000-05-30 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/e-cardlist-model.c, - gui/component/e-cardlist-model.h: New files for card list. - -2000-05-30 Christopher James Lahey <clahey@helixcode.com> - - * gui/component/addressbook.c: Fixed a memory leak. - -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. diff --git a/addressbook/Makefile.am b/addressbook/Makefile.am index ed0acc92d3..ca0916e74d 100644 --- a/addressbook/Makefile.am +++ b/addressbook/Makefile.am @@ -11,7 +11,6 @@ errordir = $(privdatadir)/errors @EVO_PLUGIN_RULE@ EXTRA_DIST = \ - ChangeLog.pre-1-4 \ addressbook.error.xml dist-hook: diff --git a/addressbook/addressbook.error.xml b/addressbook/addressbook.error.xml index 8a8bb68ddc..a93ea8578b 100644 --- a/addressbook/addressbook.error.xml +++ b/addressbook/addressbook.error.xml @@ -44,22 +44,18 @@ </error> <error id="generic-error" type="error"> - <!--For Translators: '{0}' is the type of error (eg: "invalid contact", "error adding contact", "error modifying contact", "error removing contact") --> - <_primary>{0}</_primary> - <!-- For Translators: {1} is the error status string (eg: "E_BOOK_ERROR_NO_SELF_CONTACT") --> - <_secondary>{1}</_secondary> + <primary>{0}</primary> + <secondary>{1}</secondary> </error> <error id="load-error" type="error"> <_primary>Unable to open address book</_primary> - <!-- For Translators: {0} is string describing the error why the address book could not be loaded --> - <_secondary>{0}</_secondary> + <secondary>{0}</secondary> </error> <error id="search-error" type="error"> <_primary>Unable to perform search.</_primary> - <!-- For Translators: {0} is the string describing why the search could not be performed (eg: "The backend for this address book was unable to parse this query." --> - <_secondary>{0}</_secondary> + <secondary>{0}</secondary> </error> <error id="prompt-save" type="question" default="GTK_RESPONSE_YES"> diff --git a/addressbook/gui/contact-editor/contact-editor.ui b/addressbook/gui/contact-editor/contact-editor.ui index 51fc9c9e29..3701557062 100644 --- a/addressbook/gui/contact-editor/contact-editor.ui +++ b/addressbook/gui/contact-editor/contact-editor.ui @@ -448,7 +448,7 @@ <property name="row_spacing">6</property> <property name="column_spacing">6</property> <child> - <object class="GtkEntry" id="entry-email-2"> + <object class="GtkEntry" id="entry-email-3"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="editable">True</property> @@ -486,7 +486,7 @@ </packing> </child> <child> - <object class="GtkEntry" id="entry-email-3"> + <object class="GtkEntry" id="entry-email-2"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="editable">True</property> @@ -567,7 +567,7 @@ </packing> </child> <child> - <object class="GtkComboBox" id="combobox-email-2"> + <object class="GtkComboBox" id="combobox-email-3"> <property name="visible">True</property> <property name="add_tearoffs">False</property> <property name="focus_on_click">True</property> @@ -589,7 +589,7 @@ </packing> </child> <child> - <object class="GtkComboBox" id="combobox-email-3"> + <object class="GtkComboBox" id="combobox-email-2"> <property name="visible">True</property> <property name="add_tearoffs">False</property> <property name="focus_on_click">True</property> @@ -752,7 +752,7 @@ </packing> </child> <child> - <object class="GtkEntry" id="entry-phone-2"> + <object class="GtkEntry" id="entry-phone-3"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="editable">True</property> @@ -790,7 +790,7 @@ </packing> </child> <child> - <object class="GtkEntry" id="entry-phone-3"> + <object class="GtkEntry" id="entry-phone-2"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="editable">True</property> @@ -824,7 +824,7 @@ </packing> </child> <child> - <object class="GtkComboBox" id="combobox-phone-2"> + <object class="GtkComboBox" id="combobox-phone-3"> <property name="visible">True</property> <property name="add_tearoffs">False</property> <property name="focus_on_click">True</property> @@ -839,7 +839,7 @@ </packing> </child> <child> - <object class="GtkComboBox" id="combobox-phone-3"> + <object class="GtkComboBox" id="combobox-phone-2"> <property name="visible">True</property> <property name="add_tearoffs">False</property> <property name="focus_on_click">True</property> @@ -902,7 +902,7 @@ </packing> </child> <child> - <object class="GtkEntry" id="entry-phone-6"> + <object class="GtkEntry" id="entry-phone-7"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="editable">True</property> @@ -921,7 +921,7 @@ </packing> </child> <child> - <object class="GtkEntry" id="entry-phone-7"> + <object class="GtkEntry" id="entry-phone-6"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="editable">True</property> @@ -974,7 +974,7 @@ </packing> </child> <child> - <object class="GtkComboBox" id="combobox-phone-6"> + <object class="GtkComboBox" id="combobox-phone-7"> <property name="visible">True</property> <property name="add_tearoffs">False</property> <property name="focus_on_click">True</property> @@ -989,7 +989,7 @@ </packing> </child> <child> - <object class="GtkComboBox" id="combobox-phone-7"> + <object class="GtkComboBox" id="combobox-phone-6"> <property name="visible">True</property> <property name="add_tearoffs">False</property> <property name="focus_on_click">True</property> @@ -1540,7 +1540,7 @@ <child> <object class="GtkLabel" id="label-weblog"> <property name="visible">True</property> - <property name="label" translatable="yes">_Web Log:</property> + <property name="label" translatable="yes">_Blog:</property> <property name="use_underline">True</property> <property name="use_markup">False</property> <property name="justify">GTK_JUSTIFY_LEFT</property> @@ -1570,7 +1570,7 @@ <property name="visible">True</property> <child internal-child="accessible"> <object class="AtkObject" id="a11y-entry-weblog"> - <property name="AtkObject::accessible_name" translatable="yes">Web Log:</property> + <property name="AtkObject::accessible_name" translatable="yes" comments="Translators: an accessibility name">Blog:</property> </object> </child> </object> diff --git a/addressbook/gui/contact-editor/e-contact-editor-fullname.c b/addressbook/gui/contact-editor/e-contact-editor-fullname.c index 79d665e6c7..a872afb7d9 100644 --- a/addressbook/gui/contact-editor/e-contact-editor-fullname.c +++ b/addressbook/gui/contact-editor/e-contact-editor-fullname.c @@ -85,14 +85,14 @@ e_contact_editor_fullname_class_init (EContactEditorFullnameClass *klass) g_object_class_install_property (object_class, PROP_NAME, g_param_spec_pointer ("name", - _("Name"), - /*_( */"XXX blurb" /*)*/, + "Name", + NULL, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_EDITABLE, g_param_spec_boolean ("editable", - _("Editable"), - /*_( */"XXX blurb" /*)*/, + "Editable", + NULL, FALSE, G_PARAM_READWRITE)); } @@ -101,20 +101,28 @@ static void e_contact_editor_fullname_init (EContactEditorFullname *e_contact_editor_fullname) { GtkBuilder *builder; + GtkDialog *dialog; + GtkWidget *parent; GtkWidget *widget; + GtkWidget *action_area; + GtkWidget *content_area; + const gchar *title; + + dialog = GTK_DIALOG (e_contact_editor_fullname); + action_area = gtk_dialog_get_action_area (dialog); + content_area = gtk_dialog_get_content_area (dialog); gtk_widget_realize (GTK_WIDGET (e_contact_editor_fullname)); - gtk_dialog_set_has_separator (GTK_DIALOG (e_contact_editor_fullname), - FALSE); - gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (e_contact_editor_fullname)->vbox), 0); - gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (e_contact_editor_fullname)->action_area), 12); + gtk_dialog_set_has_separator (dialog, FALSE); + gtk_container_set_border_width (GTK_CONTAINER (action_area), 12); + gtk_container_set_border_width (GTK_CONTAINER (content_area), 0); - gtk_dialog_add_buttons (GTK_DIALOG (e_contact_editor_fullname), - GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, - GTK_STOCK_OK, GTK_RESPONSE_OK, - NULL); + gtk_dialog_add_buttons ( + dialog, + GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, + GTK_STOCK_OK, GTK_RESPONSE_OK, NULL); - gtk_window_set_resizable(GTK_WINDOW(e_contact_editor_fullname), TRUE); + gtk_window_set_resizable (GTK_WINDOW (dialog), TRUE); e_contact_editor_fullname->name = NULL; @@ -124,14 +132,15 @@ e_contact_editor_fullname_init (EContactEditorFullname *e_contact_editor_fullnam e_contact_editor_fullname->builder = builder; widget = e_builder_get_widget(builder, "dialog-checkfullname"); - gtk_window_set_title (GTK_WINDOW (e_contact_editor_fullname), - GTK_WINDOW (widget)->title); + title = gtk_window_get_title (GTK_WINDOW (widget)); + gtk_window_set_title (GTK_WINDOW (e_contact_editor_fullname), title); widget = e_builder_get_widget(builder, "table-checkfullname"); - g_object_ref(widget); - gtk_container_remove(GTK_CONTAINER(widget->parent), widget); - gtk_box_pack_start (GTK_BOX (GTK_DIALOG (e_contact_editor_fullname)->vbox), widget, TRUE, TRUE, 0); - g_object_unref(widget); + parent = gtk_widget_get_parent (widget); + g_object_ref (widget); + gtk_container_remove (GTK_CONTAINER (parent), widget); + gtk_box_pack_start (GTK_BOX (content_area), widget, TRUE, TRUE, 0); + g_object_unref (widget); gtk_window_set_icon_name ( GTK_WINDOW (e_contact_editor_fullname), "contact-new"); diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index 0f8eb07b15..2f885e4721 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -293,57 +293,57 @@ e_contact_editor_class_init (EContactEditorClass *klass) g_object_class_install_property (object_class, PROP_SOURCE_BOOK, g_param_spec_object ("source_book", - _("Source Book"), - /*_( */"XXX blurb" /*)*/, + "Source Book", + NULL, E_TYPE_BOOK, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_TARGET_BOOK, g_param_spec_object ("target_book", - _("Target Book"), - /*_( */"XXX blurb" /*)*/, + "Target Book", + NULL, E_TYPE_BOOK, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_CONTACT, g_param_spec_object ("contact", - _("Contact"), - /*_( */"XXX blurb" /*)*/, + "Contact", + NULL, E_TYPE_CONTACT, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_IS_NEW_CONTACT, g_param_spec_boolean ("is_new_contact", - _("Is New Contact"), - /*_( */"XXX blurb" /*)*/, + "Is New Contact", + NULL, FALSE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_WRITABLE_FIELDS, g_param_spec_object ("writable_fields", - _("Writable Fields"), - /*_( */"XXX blurb" /*)*/, + "Writable Fields", + NULL, E_TYPE_LIST, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_REQUIRED_FIELDS, g_param_spec_object ("required_fields", - _("Required Fields"), - /*_( */"XXX blurb" /*)*/, + "Required Fields", + NULL, E_TYPE_LIST, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_EDITABLE, g_param_spec_boolean ("editable", - _("Editable"), - /*_( */"XXX blurb" /*)*/, + "Editable", + NULL, FALSE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_CHANGED, g_param_spec_boolean ("changed", - _("Changed"), - /*_( */"XXX blurb" /*)*/, + "Changed", + NULL, FALSE, G_PARAM_READWRITE)); } @@ -1202,13 +1202,16 @@ expand_mail (EContactEditor *editor, gboolean expanded) check = e_builder_get_widget (editor->builder, "checkbutton-htmlmail"); table = GTK_TABLE (e_builder_get_widget (editor->builder, "email-table")); if (check != NULL && table != NULL) { - g_object_ref (G_OBJECT (check)); - gtk_container_remove (GTK_CONTAINER (check->parent), check); + GtkWidget *parent; + + g_object_ref (check); + parent = gtk_widget_get_parent (check); + gtk_container_remove (GTK_CONTAINER (parent), check); if (expanded) gtk_table_attach_defaults (table, check, 0, 4, 2, 3); else gtk_table_attach_defaults (table, check, 2, 4, 0, 1); - g_object_unref (G_OBJECT (check)); + g_object_unref (check); } } @@ -3484,11 +3487,7 @@ expand_phone_toggle (EContactEditor *ce) GtkWidget *phone_ext_table; phone_ext_table = e_builder_get_widget (ce->builder, "table-phone-extended"); -#if GTK_CHECK_VERSION(2,19,7) expand_phone (ce, !gtk_widget_get_visible (phone_ext_table)); -#else - expand_phone (ce, !GTK_WIDGET_VISIBLE (phone_ext_table)); -#endif } static void @@ -3497,11 +3496,7 @@ expand_mail_toggle (EContactEditor *ce) GtkWidget *mail; mail = e_builder_get_widget (ce->builder, "entry-email-4"); -#if GTK_CHECK_VERSION(2,19,7) expand_mail (ce, !gtk_widget_get_visible (mail)); -#else - expand_mail (ce, !GTK_WIDGET_VISIBLE (mail)); -#endif } static void @@ -3509,6 +3504,7 @@ e_contact_editor_init (EContactEditor *e_contact_editor) { GtkBuilder *builder; EShell *shell; + GtkWidget *container; GtkWidget *widget, *label; GtkEntryCompletion *completion; @@ -3539,8 +3535,10 @@ e_contact_editor_init (EContactEditor *e_contact_editor) gtk_widget_ensure_style (widget); gtk_window_set_type_hint (GTK_WINDOW (widget), GDK_WINDOW_TYPE_HINT_NORMAL); - gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (widget)->vbox), 0); - gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (widget)->action_area), 12); + container = gtk_dialog_get_action_area (GTK_DIALOG (widget)); + gtk_container_set_border_width (GTK_CONTAINER (container), 12); + container = gtk_dialog_get_content_area (GTK_DIALOG (widget)); + gtk_container_set_border_width (GTK_CONTAINER (container), 0); init_all (e_contact_editor); @@ -3938,9 +3936,12 @@ static void e_contact_editor_raise (EABEditor *editor) { EContactEditor *ce = E_CONTACT_EDITOR (editor); + GdkWindow *window; + + window = gtk_widget_get_window (ce->app); - if (GTK_WIDGET (ce->app)->window) - gdk_window_raise (GTK_WIDGET (ce->app)->window); + if (window != NULL) + gdk_window_raise (window); } /** diff --git a/addressbook/gui/contact-editor/e-contact-quick-add.c b/addressbook/gui/contact-editor/e-contact-quick-add.c index 6a8a5fd19d..0feced4ca0 100644 --- a/addressbook/gui/contact-editor/e-contact-quick-add.c +++ b/addressbook/gui/contact-editor/e-contact-quick-add.c @@ -342,6 +342,7 @@ build_quick_add_dialog (QuickAdd *qa) { ESourceList *source_list; GConfClient *gconf_client; + GtkWidget *container; GtkWidget *dialog; GtkWidget *label; GtkTable *table; @@ -350,19 +351,21 @@ build_quick_add_dialog (QuickAdd *qa) g_return_val_if_fail (qa != NULL, NULL); - dialog = gtk_dialog_new_with_buttons (_("Contact Quick-Add"), - e_shell_get_active_window (NULL), - GTK_DIALOG_NO_SEPARATOR, - _("_Edit Full"), QUICK_ADD_RESPONSE_EDIT_FULL, - GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, - GTK_STOCK_OK, GTK_RESPONSE_OK, - NULL); + dialog = gtk_dialog_new_with_buttons ( + _("Contact Quick-Add"), + e_shell_get_active_window (NULL), + GTK_DIALOG_NO_SEPARATOR, + _("_Edit Full"), QUICK_ADD_RESPONSE_EDIT_FULL, + GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, + GTK_STOCK_OK, GTK_RESPONSE_OK, + NULL); gtk_widget_ensure_style (dialog); - gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (dialog)->vbox), - 0); - gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (dialog)->action_area), - 12); + + container = gtk_dialog_get_action_area (GTK_DIALOG (dialog)); + gtk_container_set_border_width (GTK_CONTAINER (container), 12); + container = gtk_dialog_get_content_area (GTK_DIALOG (dialog)); + gtk_container_set_border_width (GTK_CONTAINER (container), 0); g_signal_connect (dialog, "response", G_CALLBACK (clicked_cb), qa); @@ -460,11 +463,10 @@ build_quick_add_dialog (QuickAdd *qa) 1, 2, 2, 3, GTK_EXPAND | GTK_FILL, 0, xpad, ypad); - gtk_container_set_border_width (GTK_CONTAINER (table), - 12); - gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), - GTK_WIDGET (table), - FALSE, FALSE, 0); + gtk_container_set_border_width (GTK_CONTAINER (table), 12); + container = gtk_dialog_get_content_area (GTK_DIALOG (dialog)); + gtk_box_pack_start ( + GTK_BOX (container), GTK_WIDGET (table), FALSE, FALSE, 0); gtk_widget_show_all (GTK_WIDGET (table)); return dialog; diff --git a/addressbook/gui/contact-editor/eab-editor.c b/addressbook/gui/contact-editor/eab-editor.c index d6946e8341..17ac1c391c 100644 --- a/addressbook/gui/contact-editor/eab-editor.c +++ b/addressbook/gui/contact-editor/eab-editor.c @@ -164,8 +164,8 @@ eab_editor_class_init (EABEditorClass *class) PROP_SHELL, g_param_spec_object ( "shell", - _("Shell"), - _("The EShell singleton"), + "Shell", + "The EShell singleton", E_TYPE_SHELL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.c b/addressbook/gui/contact-list-editor/e-contact-list-editor.c index 23da590e72..dc2edd281b 100644 --- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c +++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c @@ -210,6 +210,7 @@ contact_list_editor_book_loaded (EBook *new_book, EContactListEditor *editor) { EContactListEditorPrivate *priv = editor->priv; + EContactStore *contact_store; ENameSelectorEntry *entry; priv->load_source_id = 0; @@ -227,7 +228,8 @@ contact_list_editor_book_loaded (EBook *new_book, } entry = E_NAME_SELECTOR_ENTRY (WIDGET (EMAIL_ENTRY)); - e_contact_store_add_book (entry->contact_store, new_book); + contact_store = e_name_selector_entry_peek_contact_store (entry); + e_contact_store_add_book (contact_store, new_book); e_contact_list_editor_set_book (editor, new_book); g_object_unref (new_book); } @@ -439,6 +441,7 @@ contact_list_editor_drag_data_received_cb (GtkWidget *widget, EContactListModel *model; gboolean changed = FALSE; gboolean handled = FALSE; + const guchar *data; GList *list, *iter; GdkAtom target; @@ -451,7 +454,8 @@ contact_list_editor_drag_data_received_cb (GtkWidget *widget, if (!e_targets_include_directory (&target, 1)) goto exit; - list = eab_contact_list_from_string ((gchar *) selection_data->data); + data = gtk_selection_data_get_data (selection_data); + list = eab_contact_list_from_string ((gchar *) data); if (list != NULL) handled = TRUE; @@ -1088,7 +1092,10 @@ contact_list_editor_close (EABEditor *editor) static void contact_list_editor_raise (EABEditor *editor) { - gdk_window_raise (WIDGET (DIALOG)->window); + GdkWindow *window; + + window = gtk_widget_get_window (WIDGET (DIALOG)); + gdk_window_raise (window); } static void @@ -1234,8 +1241,8 @@ contact_list_editor_class_init (EContactListEditorClass *class) PROP_BOOK, g_param_spec_object ( "book", - _("Book"), - /*_( */"XXX blurb" /*)*/, + "Book", + NULL, E_TYPE_BOOK, G_PARAM_READWRITE)); @@ -1244,8 +1251,8 @@ contact_list_editor_class_init (EContactListEditorClass *class) PROP_CONTACT, g_param_spec_object ( "contact", - _("Contact"), - /*_( */"XXX blurb" /*)*/, + "Contact", + NULL, E_TYPE_CONTACT, G_PARAM_READWRITE)); @@ -1254,8 +1261,8 @@ contact_list_editor_class_init (EContactListEditorClass *class) PROP_IS_NEW_LIST, g_param_spec_boolean ( "is_new_list", - _("Is New List"), - /*_( */"XXX blurb" /*)*/, + "Is New List", + NULL, FALSE, G_PARAM_READWRITE)); @@ -1264,8 +1271,8 @@ contact_list_editor_class_init (EContactListEditorClass *class) PROP_EDITABLE, g_param_spec_boolean ( "editable", - _("Editable"), - /*_( */"XXX blurb" /*)*/, + "Editable", + NULL, FALSE, G_PARAM_READWRITE)); } diff --git a/addressbook/gui/merging/Makefile.am b/addressbook/gui/merging/Makefile.am index e10c3ef765..01af6b2534 100644 --- a/addressbook/gui/merging/Makefile.am +++ b/addressbook/gui/merging/Makefile.am @@ -7,7 +7,8 @@ libeabbookmerging_la_CPPFLAGS = \ -I$(top_srcdir) \ -I$(top_srcdir)/widgets \ -I$(top_srcdir)/addressbook \ - $(EVOLUTION_ADDRESSBOOK_CFLAGS) + $(EVOLUTION_ADDRESSBOOK_CFLAGS) \ + $(GNOME_PLATFORM_CFLAGS) libeabbookmerging_la_SOURCES = \ eab-contact-compare.c \ diff --git a/addressbook/gui/merging/eab-contact-merging.c b/addressbook/gui/merging/eab-contact-merging.c index a4659c7402..ec37972b46 100644 --- a/addressbook/gui/merging/eab-contact-merging.c +++ b/addressbook/gui/merging/eab-contact-merging.c @@ -173,12 +173,15 @@ cancelit (EContactMergingLookup *lookup) static void dialog_map (GtkWidget *window, GdkEvent *event, GtkWidget *table) { + GtkAllocation allocation; gint h, w; + gtk_widget_get_allocation (table, &allocation); + /* Spacing around the table */ - w = table->allocation.width + 30; + w = allocation.width + 30; /* buttons and outer spacing */ - h = table->allocation.height + 60; + h = allocation.height + 60; if (w > 400) w = 400; if (h > 450) @@ -204,6 +207,7 @@ static gint mergeit (EContactMergingLookup *lookup) { GtkWidget *scrolled_window, *label, *hbox, *dropdown; + GtkWidget *content_area; GtkDialog *dialog; GtkTable *table; EContactField field; @@ -216,6 +220,8 @@ mergeit (EContactMergingLookup *lookup) dialog = (GtkDialog *)(gtk_dialog_new_with_buttons (_("Merge Contact"), NULL, GTK_DIALOG_NO_SEPARATOR, NULL)); gtk_container_set_border_width (GTK_CONTAINER(dialog), 5); + content_area = gtk_dialog_get_content_area (dialog); + scrolled_window = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window), GTK_POLICY_AUTOMATIC, @@ -355,7 +361,7 @@ mergeit (EContactMergingLookup *lookup) gtk_window_set_default_size (GTK_WINDOW (dialog), 420, 300); gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (scrolled_window), GTK_WIDGET (table)); - gtk_box_pack_start (GTK_BOX (dialog->vbox), GTK_WIDGET (scrolled_window), TRUE, TRUE, 0); + gtk_box_pack_start (GTK_BOX (content_area), GTK_WIDGET (scrolled_window), TRUE, TRUE, 0); gtk_widget_show (scrolled_window); g_signal_connect (dialog, "map-event", G_CALLBACK (dialog_map), table); gtk_widget_show_all ((GtkWidget *)table); @@ -477,8 +483,9 @@ match_query_callback (EContact *contact, EContact *match, EABContactMatchType ty doit (lookup, same_uids); } else { GtkBuilder *builder; - - GtkWidget *widget, *merge_button; + GtkWidget *container; + GtkWidget *merge_button; + GtkWidget *widget; /* XXX I think we're leaking the GtkBuilder. */ builder = gtk_builder_new (); @@ -518,11 +525,16 @@ match_query_callback (EContact *contact, EContact *match, EABContactMatchType ty widget = e_builder_get_widget (builder, "dialog-duplicate-contact"); gtk_widget_ensure_style (widget); - gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (widget)->vbox), 0); - gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (widget)->action_area), 12); - g_signal_connect (widget, "response", - G_CALLBACK (response), lookup); + container = gtk_dialog_get_action_area (GTK_DIALOG (widget)); + gtk_container_set_border_width (GTK_CONTAINER (container), 12); + + container = gtk_dialog_get_content_area (GTK_DIALOG (widget)); + gtk_container_set_border_width (GTK_CONTAINER (container), 0); + + g_signal_connect ( + widget, "response", + G_CALLBACK (response), lookup); gtk_widget_show_all (widget); } diff --git a/addressbook/gui/widgets/e-addressbook-model.c b/addressbook/gui/widgets/e-addressbook-model.c index 4d40ced9e8..e323d3d8a5 100644 --- a/addressbook/gui/widgets/e-addressbook-model.c +++ b/addressbook/gui/widgets/e-addressbook-model.c @@ -509,7 +509,7 @@ addressbook_model_class_init (EAddressbookModelClass *class) PROP_BOOK, g_param_spec_object ( "book", - _("Book"), + "Book", NULL, E_TYPE_BOOK, G_PARAM_READWRITE)); @@ -519,7 +519,7 @@ addressbook_model_class_init (EAddressbookModelClass *class) PROP_EDITABLE, g_param_spec_boolean ( "editable", - _("Editable"), + "Editable", NULL, FALSE, G_PARAM_READWRITE)); @@ -529,7 +529,7 @@ addressbook_model_class_init (EAddressbookModelClass *class) PROP_QUERY, g_param_spec_string ( "query", - _("Query"), + "Query", NULL, NULL, G_PARAM_READWRITE | diff --git a/addressbook/gui/widgets/e-addressbook-reflow-adapter.c b/addressbook/gui/widgets/e-addressbook-reflow-adapter.c index 5928f51a74..127b63daa1 100644 --- a/addressbook/gui/widgets/e-addressbook-reflow-adapter.c +++ b/addressbook/gui/widgets/e-addressbook-reflow-adapter.c @@ -410,29 +410,29 @@ e_addressbook_reflow_adapter_class_init (GObjectClass *object_class) g_object_class_install_property (object_class, PROP_BOOK, g_param_spec_object ("book", - _("Book"), - /*_( */"XXX blurb" /*)*/, + "Book", + NULL, E_TYPE_BOOK, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_QUERY, g_param_spec_string ("query", - _("Query"), - /*_( */"XXX blurb" /*)*/, + "Query", + NULL, NULL, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_EDITABLE, g_param_spec_boolean ("editable", - _("Editable"), - /*_( */"XXX blurb" /*)*/, + "Editable", + NULL, FALSE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_MODEL, g_param_spec_object ("model", - _("Model"), - /*_( */"XXX blurb" /*)*/, + "Model", + NULL, E_TYPE_ADDRESSBOOK_MODEL, G_PARAM_READABLE)); diff --git a/addressbook/gui/widgets/e-addressbook-selector.c b/addressbook/gui/widgets/e-addressbook-selector.c index 3fcf8e8f8b..690ad007ba 100644 --- a/addressbook/gui/widgets/e-addressbook-selector.c +++ b/addressbook/gui/widgets/e-addressbook-selector.c @@ -295,7 +295,7 @@ addressbook_selector_data_dropped (ESourceSelector *selector, priv = E_ADDRESSBOOK_SELECTOR_GET_PRIVATE (selector); g_return_val_if_fail (priv->current_view != NULL, FALSE); - string = (const gchar *) selection_data->data; + string = (const gchar *) gtk_selection_data_get_data (selection_data); remove_from_source = (action == GDK_ACTION_MOVE); target_book = e_book_new (destination, NULL); diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index d3538899ba..88255fc0a9 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -241,6 +241,7 @@ table_drag_data_get (ETable *table, EAddressbookModel *model; EBook *book; GList *contact_list; + GdkAtom target; gchar *value; if (!E_IS_ADDRESSBOOK_TABLE_ADAPTER (view->priv->object)) @@ -250,14 +251,15 @@ table_drag_data_get (ETable *table, book = e_addressbook_model_get_book (model); contact_list = e_addressbook_view_get_selected (view); + target = gtk_selection_data_get_target (selection_data); switch (info) { case DND_TARGET_TYPE_VCARD: value = eab_contact_list_to_string (contact_list); gtk_selection_data_set ( - selection_data, selection_data->target, - 8, (guchar *)value, strlen (value)); + selection_data, target, 8, + (guchar *)value, strlen (value)); g_free (value); break; @@ -267,8 +269,8 @@ table_drag_data_get (ETable *table, book, contact_list); gtk_selection_data_set ( - selection_data, selection_data->target, - 8, (guchar *)value, strlen (value)); + selection_data, target, 8, + (guchar *)value, strlen (value)); g_free (value); break; @@ -755,7 +757,7 @@ addressbook_view_class_init (EAddressbookViewClass *class) PROP_MODEL, g_param_spec_object ( "model", - _("Model"), + "Model", NULL, E_TYPE_ADDRESSBOOK_MODEL, G_PARAM_READABLE)); @@ -771,7 +773,7 @@ addressbook_view_class_init (EAddressbookViewClass *class) PROP_SHELL_VIEW, g_param_spec_object ( "shell-view", - _("Shell View"), + "Shell View", NULL, E_TYPE_SHELL_VIEW, G_PARAM_READWRITE | @@ -782,7 +784,7 @@ addressbook_view_class_init (EAddressbookViewClass *class) PROP_SOURCE, g_param_spec_object ( "source", - _("Source"), + "Source", NULL, E_TYPE_SOURCE, G_PARAM_READWRITE | @@ -1150,11 +1152,12 @@ contact_print_button_draw_page (GtkPrintOperation *operation, EPrintable *printable) { GtkPageSetup *setup; - gdouble top_margin; + gdouble top_margin, page_width; cairo_t *cr; setup = gtk_print_context_get_page_setup (context); top_margin = gtk_page_setup_get_top_margin (setup, GTK_UNIT_POINTS); + page_width = gtk_page_setup_get_page_width (setup, GTK_UNIT_POINTS); cr = gtk_print_context_get_cairo_context (context); @@ -1162,8 +1165,9 @@ contact_print_button_draw_page (GtkPrintOperation *operation, while (e_printable_data_left (printable)) { cairo_save (cr); + contact_page_draw_footer(operation,context,page_nr++); e_printable_print_page ( - printable, context, 6.5 * 72, top_margin + 10, TRUE); + printable, context, page_width - 16, top_margin + 10, TRUE); cairo_restore (cr); } } @@ -1503,18 +1507,25 @@ view_transfer_contacts (EAddressbookView *view, GtkWindow *parent; book = e_addressbook_model_get_book (view->priv->model); + parent = GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (view))); if (all) { EBookQuery *query; + GError *error = NULL; query = e_book_query_any_field_contains (""); - e_book_get_contacts (book, query, &contacts, NULL); + e_book_get_contacts (book, query, &contacts, &error); e_book_query_unref (query); + + if (error) { + e_alert_run_dialog_for_args (parent, "addressbook:search-error", error->message, NULL); + g_error_free (error); + return; + } } else { contacts = e_addressbook_view_get_selected (view); } - parent = GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (view))); eab_transfer_contacts (book, contacts, delete_from_source, parent); g_object_unref(book); diff --git a/addressbook/gui/widgets/e-minicard-label.c b/addressbook/gui/widgets/e-minicard-label.c index 4107bb9be8..0eb166bcf3 100644 --- a/addressbook/gui/widgets/e-minicard-label.c +++ b/addressbook/gui/widgets/e-minicard-label.c @@ -112,57 +112,57 @@ e_minicard_label_class_init (EMinicardLabelClass *klass) g_object_class_install_property (object_class, PROP_WIDTH, g_param_spec_double ("width", - _("Width"), - /*_( */"XXX blurb" /*)*/, + "Width", + NULL, 0.0, G_MAXDOUBLE, 10.0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_HEIGHT, g_param_spec_double ("height", - _("Height"), - /*_( */"XXX blurb" /*)*/, + "Height", + NULL, 0.0, G_MAXDOUBLE, 10.0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_HAS_FOCUS, g_param_spec_boolean ("has_focus", - _("Has Focus"), - /*_( */"XXX blurb" /*)*/, + "Has Focus", + NULL, FALSE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_FIELD, g_param_spec_string ("field", - _("Field"), - /*_( */"XXX blurb" /*)*/, + "Field", + NULL, NULL, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_FIELDNAME, g_param_spec_string ("fieldname", - _("Field Name"), - /*_( */"XXX blurb" /*)*/, + "Field Name", + NULL, NULL, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_TEXT_MODEL, g_param_spec_object ("text_model", - _("Text Model"), - /*_( */"XXX blurb" /*)*/, + "Text Model", + NULL, E_TYPE_TEXT_MODEL, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_MAX_FIELD_NAME_WIDTH, g_param_spec_double ("max_field_name_length", - _("Max field name length"), - /*_( */"XXX blurb" /*)*/, + "Max field name length", + NULL, -1.0, G_MAXDOUBLE, -1.0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_EDITABLE, g_param_spec_boolean ("editable", - _("Editable"), - /*_( */"XXX blurb" /*)*/, + "Editable", + NULL, FALSE, G_PARAM_READWRITE)); @@ -414,9 +414,13 @@ e_minicard_label_resize_children(EMinicardLabel *e_minicard_label) static void set_colors (EMinicardLabel *label) { - if ((GTK_OBJECT_FLAGS( label ) & GNOME_CANVAS_ITEM_REALIZED)) { - GtkWidget *canvas = GTK_WIDGET (GNOME_CANVAS_ITEM (label)->canvas); - GtkStyle *style = gtk_widget_get_style (canvas); + if ((GTK_OBJECT_FLAGS (label) & GNOME_CANVAS_ITEM_REALIZED)) { + GnomeCanvas *canvas; + GtkStyle *style; + + canvas = GNOME_CANVAS_ITEM (label)->canvas; + style = gtk_widget_get_style (GTK_WIDGET (canvas)); + if (label->has_focus) { gnome_canvas_item_set (label->rect, "outline_color_gdk", &style->mid[GTK_STATE_SELECTED], @@ -424,11 +428,11 @@ set_colors (EMinicardLabel *label) NULL); gnome_canvas_item_set (label->field, - "fill_color_gdk", &canvas->style->text[GTK_STATE_NORMAL], + "fill_color_gdk", &style->text[GTK_STATE_NORMAL], NULL); gnome_canvas_item_set (label->fieldname, - "fill_color_gdk", &canvas->style->text[GTK_STATE_NORMAL], + "fill_color_gdk", &style->text[GTK_STATE_NORMAL], NULL); } else { @@ -438,11 +442,11 @@ set_colors (EMinicardLabel *label) NULL); gnome_canvas_item_set (label->field, - "fill_color_gdk", &canvas->style->text[GTK_STATE_NORMAL], + "fill_color_gdk", &style->text[GTK_STATE_NORMAL], NULL); gnome_canvas_item_set (label->fieldname, - "fill_color_gdk", &canvas->style->text[GTK_STATE_NORMAL], + "fill_color_gdk", &style->text[GTK_STATE_NORMAL], NULL); } } diff --git a/addressbook/gui/widgets/e-minicard-view-widget.c b/addressbook/gui/widgets/e-minicard-view-widget.c index e6f9791731..7a78d83a42 100644 --- a/addressbook/gui/widgets/e-minicard-view-widget.c +++ b/addressbook/gui/widgets/e-minicard-view-widget.c @@ -116,29 +116,29 @@ e_minicard_view_widget_class_init (EMinicardViewWidgetClass *class) g_object_class_install_property (object_class, PROP_BOOK, g_param_spec_object ("book", - _("Book"), - /*_( */"XXX blurb" /*)*/, + "Book", + NULL, E_TYPE_BOOK, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_QUERY, g_param_spec_string ("query", - _("Query"), - /*_( */"XXX blurb" /*)*/, + "Query", + NULL, NULL, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_EDITABLE, g_param_spec_boolean ("editable", - _("Editable"), - /*_( */"XXX blurb" /*)*/, + "Editable", + NULL, FALSE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_COLUMN_WIDTH, g_param_spec_double ("column_width", - _("Column Width"), - /*_( */"XXX blurb" /*)*/, + "Column Width", + NULL, 0.0, G_MAXDOUBLE, 150.0, G_PARAM_READWRITE)); @@ -361,11 +361,14 @@ static void e_minicard_view_widget_style_set (GtkWidget *widget, GtkStyle *previous_style) { EMinicardViewWidget *view = E_MINICARD_VIEW_WIDGET(widget); + GtkStyle *style; + + style = gtk_widget_get_style (widget); if (view->background) - gnome_canvas_item_set (view->background, - "fill_color_gdk", &widget->style->base[GTK_STATE_NORMAL], - NULL ); + gnome_canvas_item_set ( + view->background, "fill_color_gdk", + &style->base[GTK_STATE_NORMAL], NULL); if (GTK_WIDGET_CLASS(parent_class)->style_set) GTK_WIDGET_CLASS(parent_class)->style_set (widget, previous_style); @@ -420,11 +423,7 @@ e_minicard_view_widget_size_allocate(GtkWidget *widget, GtkAllocation *allocatio if (GTK_WIDGET_CLASS(parent_class)->size_allocate) GTK_WIDGET_CLASS(parent_class)->size_allocate (widget, allocation); -#if GTK_CHECK_VERSION(2,19,7) if (gtk_widget_get_realized (widget)) { -#else - if (GTK_WIDGET_REALIZED(widget)) { -#endif gdouble width; EMinicardViewWidget *view = E_MINICARD_VIEW_WIDGET(widget); @@ -447,15 +446,18 @@ e_minicard_view_widget_reflow(ECanvas *canvas) { gdouble width; EMinicardViewWidget *view = E_MINICARD_VIEW_WIDGET(canvas); + GtkAllocation allocation; if (E_CANVAS_CLASS(parent_class)->reflow) E_CANVAS_CLASS(parent_class)->reflow (canvas); - g_object_get(view->emv, - "width", &width, - NULL); - width = MAX(width, GTK_WIDGET(canvas)->allocation.width); - gnome_canvas_set_scroll_region(GNOME_CANVAS(canvas), 0, 0, width - 1, GTK_WIDGET(canvas)->allocation.height - 1); + g_object_get (view->emv, "width", &width, NULL); + gtk_widget_get_allocation (GTK_WIDGET (canvas), &allocation); + + gnome_canvas_set_scroll_region ( + GNOME_CANVAS(canvas), 0, 0, + MAX (width, allocation.width) - 1, + allocation.height - 1); } ESelectionModel * diff --git a/addressbook/gui/widgets/e-minicard-view.c b/addressbook/gui/widgets/e-minicard-view.c index ed8954adcd..b69f842d63 100644 --- a/addressbook/gui/widgets/e-minicard-view.c +++ b/addressbook/gui/widgets/e-minicard-view.c @@ -83,19 +83,22 @@ e_minicard_view_drag_data_get(GtkWidget *widget, guint time, EMinicardView *view) { + GdkAtom target; + if (!E_IS_MINICARD_VIEW(view)) return; + target = gtk_selection_data_get_target (selection_data); + switch (info) { case DND_TARGET_TYPE_VCARD_LIST: { gchar *value; value = eab_contact_list_to_string (view->drag_list); - gtk_selection_data_set (selection_data, - selection_data->target, - 8, - (guchar *)value, strlen (value)); + gtk_selection_data_set ( + selection_data, target, 8, + (guchar *) value, strlen (value)); g_free (value); break; } @@ -106,10 +109,9 @@ e_minicard_view_drag_data_get(GtkWidget *widget, g_object_get (view->adapter, "book", &book, NULL); value = eab_book_and_contact_list_to_string (book, view->drag_list); - gtk_selection_data_set (selection_data, - selection_data->target, - 8, - (guchar *)value, strlen (value)); + gtk_selection_data_set ( + selection_data, target, 8, + (guchar *) value, strlen (value)); g_free (value); break; } @@ -524,29 +526,29 @@ e_minicard_view_class_init (EMinicardViewClass *klass) g_object_class_install_property (object_class, PROP_ADAPTER, g_param_spec_object ("adapter", - _("Adapter"), - /*_( */"XXX blurb" /*)*/, + "Adapter", + NULL, E_TYPE_ADDRESSBOOK_REFLOW_ADAPTER, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_BOOK, g_param_spec_object ("book", - _("Book"), - /*_( */"XXX blurb" /*)*/, + "Book", + NULL, E_TYPE_BOOK, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_QUERY, g_param_spec_string ("query", - _("Query"), - /*_( */"XXX blurb" /*)*/, + "Query", + NULL, NULL, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_EDITABLE, g_param_spec_boolean ("editable", - _("Editable"), - /*_( */"XXX blurb" /*)*/, + "Editable", + NULL, FALSE, G_PARAM_READWRITE)); diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c index 09a09730f5..213d600746 100644 --- a/addressbook/gui/widgets/e-minicard.c +++ b/addressbook/gui/widgets/e-minicard.c @@ -151,52 +151,52 @@ e_minicard_class_init (EMinicardClass *class) g_object_class_install_property (object_class, PROP_WIDTH, g_param_spec_double ("width", - _("Width"), - /*_( */"XXX blurb" /*)*/, + "Width", + NULL, 0.0, G_MAXDOUBLE, 10.0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_HEIGHT, g_param_spec_double ("height", - _("Height"), - /*_( */"XXX blurb" /*)*/, + "Height", + NULL, 0.0, G_MAXDOUBLE, 10.0, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_HAS_FOCUS, /* XXX should be _enum */ g_param_spec_int ("has_focus", - _("Has Focus"), - /*_( */"XXX blurb" /*)*/, + "Has Focus", + NULL, E_MINICARD_FOCUS_TYPE_START, E_MINICARD_FOCUS_TYPE_END, E_MINICARD_FOCUS_TYPE_START, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_SELECTED, g_param_spec_boolean ("selected", - _("Selected"), - /*_( */"XXX blurb" /*)*/, + "Selected", + NULL, FALSE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_HAS_CURSOR, g_param_spec_boolean ("has_cursor", - _("Has Cursor"), - /*_( */"XXX blurb" /*)*/, + "Has Cursor", + NULL, FALSE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_EDITABLE, g_param_spec_boolean ("editable", - _("Editable"), - /*_( */"XXX blurb" /*)*/, + "Editable", + NULL, FALSE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_CONTACT, g_param_spec_object ("contact", - _("Contact"), - /*_( */"XXX blurb" /*)*/, + "Contact", + NULL, E_TYPE_CONTACT, G_PARAM_READWRITE)); @@ -267,26 +267,31 @@ e_minicard_init (EMinicard *minicard) static void set_selected (EMinicard *minicard, gboolean selected) { - GtkWidget *canvas = GTK_WIDGET(GNOME_CANVAS_ITEM(minicard)->canvas); + GnomeCanvas *canvas; + GtkStyle *style; + + canvas = GNOME_CANVAS_ITEM (minicard)->canvas; + style = gtk_widget_get_style (GTK_WIDGET (canvas)); + if (selected) { gnome_canvas_item_set (minicard->rect, - "outline_color_gdk", &canvas->style->bg[GTK_STATE_ACTIVE], + "outline_color_gdk", &style->bg[GTK_STATE_ACTIVE], NULL); gnome_canvas_item_set (minicard->header_rect, - "fill_color_gdk", &canvas->style->bg[GTK_STATE_SELECTED], + "fill_color_gdk", &style->bg[GTK_STATE_SELECTED], NULL); gnome_canvas_item_set (minicard->header_text, - "fill_color_gdk", &canvas->style->text[GTK_STATE_SELECTED], + "fill_color_gdk", &style->text[GTK_STATE_SELECTED], NULL); } else { gnome_canvas_item_set (minicard->rect, "outline_color", NULL, NULL); gnome_canvas_item_set (minicard->header_rect, - "fill_color_gdk", &canvas->style->bg[GTK_STATE_NORMAL], + "fill_color_gdk", &style->bg[GTK_STATE_NORMAL], NULL); gnome_canvas_item_set (minicard->header_text, - "fill_color_gdk", &canvas->style->text[GTK_STATE_NORMAL], + "fill_color_gdk", &style->text[GTK_STATE_NORMAL], NULL); } minicard->selected = selected; @@ -471,11 +476,14 @@ e_minicard_realize (GnomeCanvasItem *item) { EMinicard *e_minicard; GnomeCanvasGroup *group; - GtkWidget *canvas; + GnomeCanvas *canvas; + GtkStyle *style; e_minicard = E_MINICARD (item); - group = GNOME_CANVAS_GROUP( item ); - canvas = GTK_WIDGET (GNOME_CANVAS_ITEM (item)->canvas); + group = GNOME_CANVAS_GROUP (item); + + canvas = GNOME_CANVAS_ITEM (item)->canvas; + style = gtk_widget_get_style (GTK_WIDGET (canvas)); if (GNOME_CANVAS_ITEM_CLASS(parent_class)->realize) (* GNOME_CANVAS_ITEM_CLASS(parent_class)->realize) (item); @@ -497,7 +505,7 @@ e_minicard_realize (GnomeCanvasItem *item) "y1", (double) 2, "x2", (double) MAX (e_minicard->width - 3, 0), "y2", (double) MAX (e_minicard->height - 3, 0), - "fill_color_gdk", &canvas->style->bg[GTK_STATE_NORMAL], + "fill_color_gdk", &style->bg[GTK_STATE_NORMAL], NULL ); e_minicard->header_text = @@ -507,7 +515,7 @@ e_minicard_realize (GnomeCanvasItem *item) "width", (double) MAX( e_minicard->width - 12, 0 ), "clip", TRUE, "use_ellipsis", TRUE, - "fill_color_gdk", &canvas->style->fg[GTK_STATE_NORMAL], + "fill_color_gdk", &style->fg[GTK_STATE_NORMAL], "text", "", "draw_background", FALSE, NULL ); diff --git a/addressbook/gui/widgets/eab-contact-display.c b/addressbook/gui/widgets/eab-contact-display.c index dda6081137..8c0e37fccc 100644 --- a/addressbook/gui/widgets/eab-contact-display.c +++ b/addressbook/gui/widgets/eab-contact-display.c @@ -984,31 +984,11 @@ contact_display_url_requested (GtkHTML *html, } static void -contact_display_link_clicked (GtkHTML *html, - const gchar *uri) -{ - EABContactDisplay *display; - gsize length; - - display = EAB_CONTACT_DISPLAY (html); - - length = strlen ("internal-mailto:"); - if (g_ascii_strncasecmp (uri, "internal-mailto:", length) == 0) { - gint index; - - index = atoi (uri + length); - contact_display_emit_send_message (display, index); - return; - } - - /* Chain up to parent's link_clicked() method. */ - GTK_HTML_CLASS (parent_class)->link_clicked (html, uri); -} - -static void -contact_display_on_url (GtkHTML *html, - const gchar *uri) +contact_display_hovering_over_link (EWebView *web_view, + const gchar *title, + const gchar *uri) { + EWebViewClass *web_view_class; EABContactDisplay *display; EContact *contact; const gchar *name; @@ -1020,7 +1000,7 @@ contact_display_on_url (GtkHTML *html, if (!g_str_has_prefix (uri, "internal-mailto:")) goto chainup; - display = EAB_CONTACT_DISPLAY (html); + display = EAB_CONTACT_DISPLAY (web_view); contact = eab_contact_display_get_contact (display); name = e_contact_get_const (contact, E_CONTACT_FILE_AS); @@ -1029,14 +1009,37 @@ contact_display_on_url (GtkHTML *html, g_return_if_fail (name != NULL); message = g_strdup_printf (_("Click to mail %s"), name); - e_web_view_status_message (E_WEB_VIEW (html), message); + e_web_view_status_message (web_view, message); g_free (message); return; chainup: - /* Chain up to parent's on_url() method. */ - GTK_HTML_CLASS (parent_class)->on_url (html, uri); + /* Chain up to parent's hovering_over_link() method. */ + web_view_class = E_WEB_VIEW_CLASS (parent_class); + web_view_class->hovering_over_link (web_view, title, uri); +} + +static void +contact_display_link_clicked (EWebView *web_view, + const gchar *uri) +{ + EABContactDisplay *display; + gsize length; + + display = EAB_CONTACT_DISPLAY (web_view); + + length = strlen ("internal-mailto:"); + if (g_ascii_strncasecmp (uri, "internal-mailto:", length) == 0) { + gint index; + + index = atoi (uri + length); + contact_display_emit_send_message (display, index); + return; + } + + /* Chain up to parent's link_clicked() method. */ + E_WEB_VIEW_CLASS (parent_class)->link_clicked (web_view, uri); } static void @@ -1086,10 +1089,10 @@ eab_contact_display_class_init (EABContactDisplayClass *class) html_class = GTK_HTML_CLASS (class); html_class->url_requested = contact_display_url_requested; - html_class->link_clicked = contact_display_link_clicked; - html_class->on_url = contact_display_on_url; web_view_class = E_WEB_VIEW_CLASS (class); + web_view_class->hovering_over_link = contact_display_hovering_over_link; + web_view_class->link_clicked = contact_display_link_clicked; web_view_class->update_actions = contact_display_update_actions; g_object_class_install_property ( diff --git a/addressbook/gui/widgets/eab-gui-util.c b/addressbook/gui/widgets/eab-gui-util.c index 0a159da304..d127d50786 100644 --- a/addressbook/gui/widgets/eab-gui-util.c +++ b/addressbook/gui/widgets/eab-gui-util.c @@ -43,7 +43,7 @@ #include "eab-contact-merging.h" /* we link to camel for decoding quoted printable email addresses */ -#include <camel/camel-mime-utils.h> +#include <camel/camel.h> #include "addressbook/util/addressbook.h" @@ -234,6 +234,7 @@ eab_select_source (ESource *except_source, const gchar *title, const gchar *mess { ESource *source; ESourceList *source_list; + GtkWidget *content_area; GtkWidget *dialog; GtkWidget *ok_button; /* GtkWidget *label; */ @@ -272,8 +273,8 @@ eab_select_source (ESource *except_source, const gchar *title, const gchar *mess gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_window), GTK_SHADOW_IN); gtk_container_add (GTK_CONTAINER (scrolled_window), selector); - /* gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), label, FALSE, FALSE, 4); */ - gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), scrolled_window, TRUE, TRUE, 4); + content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog)); + gtk_box_pack_start (GTK_BOX (content_area), scrolled_window, TRUE, TRUE, 4); gtk_widget_show_all (dialog); response = gtk_dialog_run (GTK_DIALOG (dialog)); diff --git a/addressbook/importers/Makefile.am b/addressbook/importers/Makefile.am index 7ccc4c7545..742f46a334 100644 --- a/addressbook/importers/Makefile.am +++ b/addressbook/importers/Makefile.am @@ -7,6 +7,7 @@ libevolution_addressbook_importers_la_CPPFLAGS = \ -DG_LOG_DOMAIN=\"Evolution-Importer\" \ -I$(top_srcdir) \ -I$(top_srcdir)/addressbook \ + -I$(top_srcdir)/widgets \ -I$(top_builddir)/addressbook \ $(EVOLUTION_ADDRESSBOOK_CFLAGS) @@ -21,6 +22,7 @@ libevolution_addressbook_importers_la_LDFLAGS = $(NO_UNDEFINED) libevolution_addressbook_importers_la_LIBADD = \ $(top_builddir)/e-util/libeutil.la \ $(top_builddir)/addressbook/util/libeabutil.la \ + $(top_builddir)/widgets/misc/libemiscwidgets.la \ $(IMPORTERS_LIBS) -include $(top_srcdir)/git.mk diff --git a/addressbook/importers/evolution-addressbook-importers.h b/addressbook/importers/evolution-addressbook-importers.h index 747fe4281d..adaa62931a 100644 --- a/addressbook/importers/evolution-addressbook-importers.h +++ b/addressbook/importers/evolution-addressbook-importers.h @@ -23,3 +23,6 @@ struct _EImportImporter *evolution_vcard_importer_peek(void); struct _EImportImporter *evolution_csv_outlook_importer_peek(void); struct _EImportImporter *evolution_csv_mozilla_importer_peek(void); struct _EImportImporter *evolution_csv_evolution_importer_peek(void); + +/* private utility function for importers only */ +struct _GtkWidget *evolution_contact_importer_get_preview_widget (const GList *contacts); diff --git a/addressbook/importers/evolution-csv-importer.c b/addressbook/importers/evolution-csv-importer.c index 6a12d7075a..9ad939dea9 100644 --- a/addressbook/importers/evolution-csv-importer.c +++ b/addressbook/importers/evolution-csv-importer.c @@ -762,17 +762,26 @@ csv_import (EImport *ei, EImportTarget *target, EImportImporter *im) { CSVImporter *gci; EBook *book; + gchar *filename; FILE *file; EImportTargetURI *s = (EImportTargetURI *) target; + filename = g_filename_from_uri (s->uri_src, NULL, NULL); + if (filename == NULL) { + g_message (G_STRLOC ": Couldn't get filename from URI '%s'", s->uri_src); + return; + } + book = e_book_new(g_datalist_get_data(&target->data, "csv-source"), NULL); if (book == NULL) { g_message("Couldn't Create EBook"); e_import_complete(ei, target); + g_free (filename); return; } - file = g_fopen (g_filename_from_uri(s->uri_src, NULL, NULL), "r"); + file = g_fopen (filename, "r"); + g_free (filename); if (file == NULL) { g_message("Can't open .csv file"); e_import_complete(ei, target); @@ -825,6 +834,73 @@ csv_cancel(EImport *ei, EImportTarget *target, EImportImporter *im) { gci->state = 1; } +static GtkWidget * +csv_get_preview (EImport *ei, EImportTarget *target, EImportImporter *im) +{ + GtkWidget *preview; + GList *contacts = NULL; + EContact *contact; + EImportTargetURI *s = (EImportTargetURI *)target; + gchar *filename; + FILE *file; + CSVImporter *gci; + + filename = g_filename_from_uri (s->uri_src, NULL, NULL); + if (filename == NULL) { + g_message (G_STRLOC ": Couldn't get filename from URI '%s'", s->uri_src); + return NULL; + } + + file = g_fopen (filename, "r"); + g_free (filename); + if (file == NULL) { + g_message (G_STRLOC ": Can't open .csv file"); + return NULL; + } + + gci = g_malloc0 (sizeof (*gci)); + gci->file = file; + gci->count = 0; + fseek(file, 0, SEEK_END); + gci->size = ftell (file); + fseek (file, 0, SEEK_SET); + + while (contact = getNextCSVEntry (gci, gci->file), contact != NULL) { + contacts = g_list_prepend (contacts, contact); + } + + contacts = g_list_reverse (contacts); + preview = evolution_contact_importer_get_preview_widget (contacts); + + g_list_foreach (contacts, (GFunc) g_object_unref, NULL); + g_list_free (contacts); + fclose (file); + g_free (gci); + + return preview; +} + +static GtkWidget * +outlook_csv_get_preview (EImport *ei, EImportTarget *target, EImportImporter *im) +{ + importer = OUTLOOK_IMPORTER; + return csv_get_preview (ei, target, im); +} + +static GtkWidget * +mozilla_csv_get_preview (EImport *ei, EImportTarget *target, EImportImporter *im) +{ + importer = MOZILLA_IMPORTER; + return csv_get_preview (ei, target, im); +} + +static GtkWidget * +evolution_csv_get_preview (EImport *ei, EImportTarget *target, EImportImporter *im) +{ + importer = EVOLUTION_IMPORTER; + return csv_get_preview (ei, target, im); +} + static EImportImporter csv_outlook_importer = { E_IMPORT_TARGET_URI, 0, @@ -832,6 +908,7 @@ static EImportImporter csv_outlook_importer = { csv_getwidget, outlook_csv_import, csv_cancel, + outlook_csv_get_preview, }; static EImportImporter csv_mozilla_importer = { @@ -841,6 +918,7 @@ static EImportImporter csv_mozilla_importer = { csv_getwidget, mozilla_csv_import, csv_cancel, + mozilla_csv_get_preview, }; static EImportImporter csv_evolution_importer = { @@ -850,6 +928,7 @@ static EImportImporter csv_evolution_importer = { csv_getwidget, evolution_csv_import, csv_cancel, + evolution_csv_get_preview, }; EImportImporter * diff --git a/addressbook/importers/evolution-ldif-importer.c b/addressbook/importers/evolution-ldif-importer.c index cfc363756d..0e6b707426 100644 --- a/addressbook/importers/evolution-ldif-importer.c +++ b/addressbook/importers/evolution-ldif-importer.c @@ -221,7 +221,7 @@ populate_contact_address (EContactAddress *address, gchar *attr, gchar *value) } static gboolean -parseLine (LDIFImporter *gci, EContact *contact, +parseLine (GHashTable *dn_contact_hash, EContact *contact, EContactAddress *work_address, EContactAddress *home_address, gchar **buf) { @@ -307,7 +307,7 @@ parseLine (LDIFImporter *gci, EContact *contact, if (!field_handled) { if (!g_ascii_strcasecmp (ptr, "dn")) g_hash_table_insert ( - gci->dn_contact_hash, + dn_contact_hash, g_strdup (ldif_value->str), contact); else if (!g_ascii_strcasecmp (ptr, "objectclass") && !g_ascii_strcasecmp (ldif_value->str, "groupofnames")) { @@ -342,7 +342,7 @@ parseLine (LDIFImporter *gci, EContact *contact, } static EContact * -getNextLDIFEntry(LDIFImporter *gci, FILE *f ) +getNextLDIFEntry(GHashTable *dn_contact_hash, FILE *f ) { EContact *contact; EContactAddress *work_address, *home_address; @@ -372,7 +372,7 @@ getNextLDIFEntry(LDIFImporter *gci, FILE *f ) buf = str->str; while (buf) { - if (!parseLine (gci, contact, work_address, home_address, &buf)) { + if (!parseLine (dn_contact_hash, contact, work_address, home_address, &buf)) { /* parsing error */ g_string_free (str, TRUE); e_contact_address_free (work_address); @@ -480,7 +480,7 @@ ldif_import_contacts(gpointer d) ones till the end */ if (gci->state == 0) { - while (count < 50 && (contact = getNextLDIFEntry(gci, gci->file))) { + while (count < 50 && (contact = getNextLDIFEntry(gci->dn_contact_hash, gci->file))) { if (e_contact_get (contact, E_CONTACT_IS_LIST)) { gci->list_contacts = g_slist_prepend(gci->list_contacts, contact); } else { @@ -674,6 +674,58 @@ ldif_cancel(EImport *ei, EImportTarget *target, EImportImporter *im) gci->state = 2; } +static GtkWidget * +ldif_get_preview (EImport *ei, EImportTarget *target, EImportImporter *im) +{ + GtkWidget *preview; + GList *contacts = NULL; + EContact *contact; + EImportTargetURI *s = (EImportTargetURI *)target; + gchar *filename; + GHashTable *dn_contact_hash; + FILE *file; + + filename = g_filename_from_uri (s->uri_src, NULL, NULL); + if (filename == NULL) { + g_message (G_STRLOC ": Couldn't get filename from URI '%s'", s->uri_src); + return NULL; + } + + file = g_fopen(filename, "r"); + g_free (filename); + + if (file == NULL) { + g_message (G_STRLOC ": Can't open .ldif file"); + return NULL; + } + + dn_contact_hash = g_hash_table_new_full ( + g_str_hash, g_str_equal, + (GDestroyNotify) g_free, + (GDestroyNotify) NULL); + + while (contact = getNextLDIFEntry (dn_contact_hash, file), contact != NULL) { + if (!e_contact_get (contact, E_CONTACT_IS_LIST)) { + add_to_notes(contact, E_CONTACT_OFFICE); + add_to_notes(contact, E_CONTACT_SPOUSE); + add_to_notes(contact, E_CONTACT_BLOG_URL); + } + + contacts = g_list_prepend (contacts, contact); + } + + g_hash_table_destroy (dn_contact_hash); + + contacts = g_list_reverse (contacts); + preview = evolution_contact_importer_get_preview_widget (contacts); + + g_list_foreach (contacts, (GFunc) g_object_unref, NULL); + g_list_free (contacts); + fclose (file); + + return preview; +} + static EImportImporter ldif_importer = { E_IMPORT_TARGET_URI, 0, @@ -681,6 +733,7 @@ static EImportImporter ldif_importer = { ldif_getwidget, ldif_import, ldif_cancel, + ldif_get_preview, }; EImportImporter * diff --git a/addressbook/importers/evolution-vcard-importer.c b/addressbook/importers/evolution-vcard-importer.c index 080ef940f2..59aba913d2 100644 --- a/addressbook/importers/evolution-vcard-importer.c +++ b/addressbook/importers/evolution-vcard-importer.c @@ -42,6 +42,8 @@ #include <libebook/e-destination.h> #include "e-util/e-import.h" +#include "e-util/e-datetime-format.h" +#include "misc/e-web-view-preview.h" #include "evolution-addressbook-importers.h" @@ -550,6 +552,61 @@ vcard_cancel(EImport *ei, EImportTarget *target, EImportImporter *im) gci->state = 1; } +static GtkWidget * +vcard_get_preview (EImport *ei, EImportTarget *target, EImportImporter *im) +{ + GtkWidget *preview; + GList *contacts; + gchar *contents; + VCardEncoding encoding; + EImportTargetURI *s = (EImportTargetURI *)target; + gchar *filename; + + filename = g_filename_from_uri (s->uri_src, NULL, NULL); + if (filename == NULL) { + g_message (G_STRLOC ": Couldn't get filename from URI '%s'", s->uri_src); + return NULL; + } + + encoding = guess_vcard_encoding (filename); + if (encoding == VCARD_ENCODING_NONE) { + g_free (filename); + return NULL; + } + + if (!g_file_get_contents (filename, &contents, NULL, NULL)) { + g_message (G_STRLOC ": Couldn't read file."); + g_free (filename); + return NULL; + } + + g_free (filename); + + if (encoding == VCARD_ENCODING_UTF16) { + gchar *tmp; + + gunichar2 *contents_utf16 = (gunichar2 *) contents; + tmp = utf16_to_utf8 (contents_utf16); + g_free (contents); + contents = tmp; + } else if (encoding == VCARD_ENCODING_LOCALE) { + gchar *tmp; + tmp = g_locale_to_utf8 (contents, -1, NULL, NULL, NULL); + g_free (contents); + contents = tmp; + } + + contacts = eab_contact_list_from_string (contents); + g_free (contents); + + preview = evolution_contact_importer_get_preview_widget (contacts); + + g_list_foreach (contacts, (GFunc) g_object_unref, NULL); + g_list_free (contacts); + + return preview; +} + static EImportImporter vcard_importer = { E_IMPORT_TARGET_URI, 0, @@ -557,6 +614,7 @@ static EImportImporter vcard_importer = { vcard_getwidget, vcard_import, vcard_cancel, + vcard_get_preview, }; EImportImporter * @@ -567,3 +625,305 @@ evolution_vcard_importer_peek(void) return &vcard_importer; } + +/* utility functions shared between all contact importers */ +static void +preview_contact (EWebViewPreview *preview, EContact *contact) +{ + gint idx; + gboolean had_value = FALSE; + + const gint fields[] = { + E_CONTACT_FILE_AS, + E_CONTACT_CATEGORIES, + + E_CONTACT_IS_LIST, + E_CONTACT_LIST_SHOW_ADDRESSES, + E_CONTACT_WANTS_HTML, + + E_CONTACT_FULL_NAME, + E_CONTACT_GIVEN_NAME, + E_CONTACT_FAMILY_NAME, + E_CONTACT_NICKNAME, + E_CONTACT_SPOUSE, + E_CONTACT_BIRTH_DATE, + E_CONTACT_ANNIVERSARY, + E_CONTACT_MAILER, + E_CONTACT_EMAIL, + + -1, + + E_CONTACT_ORG, + E_CONTACT_ORG_UNIT, + E_CONTACT_OFFICE, + E_CONTACT_TITLE, + E_CONTACT_ROLE, + E_CONTACT_MANAGER, + E_CONTACT_ASSISTANT, + + -1, + + E_CONTACT_PHONE_ASSISTANT, + E_CONTACT_PHONE_BUSINESS, + E_CONTACT_PHONE_BUSINESS_2, + E_CONTACT_PHONE_BUSINESS_FAX, + E_CONTACT_PHONE_CALLBACK, + E_CONTACT_PHONE_CAR, + E_CONTACT_PHONE_COMPANY, + E_CONTACT_PHONE_HOME, + E_CONTACT_PHONE_HOME_2, + E_CONTACT_PHONE_HOME_FAX, + E_CONTACT_PHONE_ISDN, + E_CONTACT_PHONE_MOBILE, + E_CONTACT_PHONE_OTHER, + E_CONTACT_PHONE_OTHER_FAX, + E_CONTACT_PHONE_PAGER, + E_CONTACT_PHONE_PRIMARY, + E_CONTACT_PHONE_RADIO, + E_CONTACT_PHONE_TELEX, + E_CONTACT_PHONE_TTYTDD, + + -1, + + E_CONTACT_ADDRESS_HOME, + E_CONTACT_ADDRESS_WORK, + E_CONTACT_ADDRESS_OTHER, + + -1, + + E_CONTACT_HOMEPAGE_URL, + E_CONTACT_BLOG_URL, + E_CONTACT_CALENDAR_URI, + E_CONTACT_FREEBUSY_URL, + E_CONTACT_ICS_CALENDAR, + E_CONTACT_VIDEO_URL, + + -1, + + E_CONTACT_IM_AIM, + E_CONTACT_IM_GROUPWISE, + E_CONTACT_IM_JABBER, + E_CONTACT_IM_YAHOO, + E_CONTACT_IM_MSN, + E_CONTACT_IM_ICQ, + E_CONTACT_IM_GADUGADU, + E_CONTACT_IM_SKYPE, + + -1, + + E_CONTACT_NOTE + }; + + g_return_if_fail (preview != NULL); + g_return_if_fail (contact != NULL); + + for (idx = 0; idx < G_N_ELEMENTS (fields); idx++) { + EContactField field; + + if (fields[idx] == -1) { + if (had_value) + e_web_view_preview_add_empty_line (preview); + had_value = FALSE; + continue; + } + + field = fields[idx]; + + if (field == E_CONTACT_BIRTH_DATE || field == E_CONTACT_ANNIVERSARY) { + EContactDate *dt = e_contact_get (contact, field); + if (dt) { + GDate gd = { 0 }; + struct tm tm; + gchar *value; + + g_date_set_dmy (&gd, dt->day, dt->month, dt->year); + g_date_to_struct_tm (&gd, &tm); + + value = e_datetime_format_format_tm ("addressbook", "table", DTFormatKindDate, &tm); + if (value) { + e_web_view_preview_add_section (preview, e_contact_pretty_name (field), value); + had_value = TRUE; + } + + g_free (value); + e_contact_date_free (dt); + } + } else if (field == E_CONTACT_IS_LIST || field == E_CONTACT_WANTS_HTML || field == E_CONTACT_LIST_SHOW_ADDRESSES) { + if (e_contact_get (contact, field)) { + e_web_view_preview_add_text (preview, e_contact_pretty_name (field)); + had_value = TRUE; + } + } else if (field == E_CONTACT_ADDRESS_HOME || field == E_CONTACT_ADDRESS_WORK || field == E_CONTACT_ADDRESS_OTHER) { + EContactAddress *addr = e_contact_get (contact, field); + if (addr) { + gboolean have = FALSE; + + #define add_it(_what) \ + if (addr->_what && *addr->_what) { \ + e_web_view_preview_add_section (preview, have ? NULL : e_contact_pretty_name (field), addr->_what); \ + have = TRUE; \ + had_value = TRUE; \ + } + + add_it (po); + add_it (ext); + add_it (street); + add_it (locality); + add_it (region); + add_it (code); + add_it (country); + + #undef add_it + + e_contact_address_free (addr); + } + } else if (field == E_CONTACT_IM_AIM || field == E_CONTACT_IM_GROUPWISE || + field == E_CONTACT_IM_JABBER || field == E_CONTACT_IM_YAHOO || + field == E_CONTACT_IM_MSN || field == E_CONTACT_IM_ICQ || + field == E_CONTACT_IM_GADUGADU || field == E_CONTACT_IM_SKYPE || + field == E_CONTACT_EMAIL) { + GList *attrs, *a; + gboolean have = FALSE; + + attrs = e_contact_get_attributes (contact, field); + for (a = attrs; a; a = a->next) { + EVCardAttribute *attr = a->data; + GList *value; + + if (!attr) + continue; + + for (value = e_vcard_attribute_get_values (attr); value; value = value->next) { + const gchar *str = value->data; + + if (str && *str) { + e_web_view_preview_add_section (preview, have ? NULL : e_contact_pretty_name (field), str); + have = TRUE; + had_value = TRUE; + } + } + e_vcard_attribute_free (attr); + } + + g_list_free (attrs); + } else if (field == E_CONTACT_CATEGORIES) { + gchar *value = e_contact_get (contact, field); + + if (value && *value) { + e_web_view_preview_add_section (preview, e_contact_pretty_name (field), value); + had_value = TRUE; + } + + g_free (value); + } else { + const gchar *value = e_contact_get_const (contact, field); + + if (value && *value) { + e_web_view_preview_add_section (preview, e_contact_pretty_name (field), value); + had_value = TRUE; + } + } + } +} + +static void +preview_selection_changed_cb (GtkTreeSelection *selection, EWebViewPreview *preview) +{ + GtkTreeIter iter; + GtkTreeModel *model = NULL; + + g_return_if_fail (selection != NULL); + g_return_if_fail (preview != NULL); + + e_web_view_preview_begin_update (preview); + + if (gtk_tree_selection_get_selected (selection, &model, &iter) && model) { + EContact *contact = NULL; + + gtk_tree_model_get (model, &iter, 1, &contact, -1); + + if (contact) { + preview_contact (preview, contact); + g_object_unref (contact); + } + } + + e_web_view_preview_end_update (preview); +} + +GtkWidget * +evolution_contact_importer_get_preview_widget (const GList *contacts) +{ + GtkWidget *preview; + GtkTreeView *tree_view; + GtkTreeSelection *selection; + GtkListStore *store; + GtkTreeIter iter; + const GList *c; + + if (!contacts) + return NULL; + + store = gtk_list_store_new (2, G_TYPE_STRING, E_TYPE_CONTACT); + + for (c = contacts; c; c = c->next) { + const gchar *description; + gchar *free_description = NULL; + EContact *contact = (EContact *) c->data; + + if (!contact || !E_IS_CONTACT (contact)) + continue; + + description = e_contact_get_const (contact, E_CONTACT_FILE_AS); + if (!description) + description = e_contact_get_const (contact, E_CONTACT_UID); + if (!description) + description = e_contact_get_const (contact, E_CONTACT_FULL_NAME); + if (!description) { + description = e_contact_get_const (contact, E_CONTACT_EMAIL_1); + if (description) { + const gchar *at = strchr (description, '@'); + if (at) { + free_description = g_strndup (description, (gsize)(at - description)); + description = free_description; + } + } + } + + gtk_list_store_append (store, &iter); + gtk_list_store_set (store, &iter, + 0, description ? description : "", + 1, contact, + -1 ); + + g_free (free_description); + } + + if (!gtk_tree_model_get_iter_first (GTK_TREE_MODEL (store), &iter)) { + g_object_unref (store); + return NULL; + } + + preview = e_web_view_preview_new (); + gtk_widget_show (preview); + + tree_view = e_web_view_preview_get_tree_view (E_WEB_VIEW_PREVIEW (preview)); + g_return_val_if_fail (tree_view != NULL, NULL); + + gtk_tree_view_set_model (tree_view, GTK_TREE_MODEL (store)); + g_object_unref (store); + + gtk_tree_view_insert_column_with_attributes (tree_view, -1, _("Contact"), + gtk_cell_renderer_text_new (), "text", 0, NULL); + + if (gtk_tree_model_iter_n_children (GTK_TREE_MODEL (store), NULL) > 1) + e_web_view_preview_show_tree_view (E_WEB_VIEW_PREVIEW (preview)); + + selection = gtk_tree_view_get_selection (tree_view); + gtk_tree_selection_select_iter (selection, &iter); + g_signal_connect (selection, "changed", G_CALLBACK (preview_selection_changed_cb), preview); + + preview_selection_changed_cb (selection, E_WEB_VIEW_PREVIEW (preview)); + + return preview; +} diff --git a/addressbook/printing/e-contact-print.c b/addressbook/printing/e-contact-print.c index 93b76bff20..eca65221be 100644 --- a/addressbook/printing/e-contact-print.c +++ b/addressbook/printing/e-contact-print.c @@ -121,6 +121,7 @@ e_contact_output (GtkPrintContext *context, pango_layout_set_text (layout, text, -1); pango_layout_set_width (layout, pango_units_from_double (width)); pango_layout_set_indent (layout, pango_units_from_double (indent)); + pango_layout_set_wrap (layout, PANGO_WRAP_WORD_CHAR); cr = gtk_print_context_get_cairo_context (context); @@ -217,12 +218,78 @@ e_contact_start_new_page (EContactPrintContext *ctxt) } static void +e_contact_start_new_column (EContactPrintContext *ctxt) +{ + if (++ctxt->column >= ctxt->style->num_columns) + e_contact_start_new_page (ctxt); + else { + ctxt->x = ctxt->column * + (ctxt->column_width + ctxt->column_spacing); + ctxt->y = .0; + } +} + +static gdouble +e_contact_get_contact_height (EContact *contact, EContactPrintContext *ctxt) +{ + GtkPageSetup *setup; + gchar *file_as; + gdouble page_height; + gint field; + gdouble cntct_height = 0.0; + + setup = gtk_print_context_get_page_setup (ctxt->context); + page_height = gtk_page_setup_get_page_height (setup, GTK_UNIT_POINTS); + + cntct_height += get_font_height (ctxt->style->headings_font) * .2; + + file_as = e_contact_get (contact, E_CONTACT_FILE_AS); + + cntct_height += e_contact_text_height ( + ctxt->context, ctxt->style->headings_font, file_as); + + g_free (file_as); + + cntct_height += get_font_height (ctxt->style->headings_font) * .2; + + for (field = E_CONTACT_FILE_AS; field != E_CONTACT_LAST_SIMPLE_STRING; field++) + { + const gchar *value; + gchar *text; + + value = e_contact_get_const (contact, field); + if (value == NULL || *value == '\0') + continue; + + text = g_strdup_printf ("%s: %s", + e_contact_pretty_name (field), value); + + cntct_height += e_contact_text_height ( + ctxt->context, ctxt->style->body_font, text); + + cntct_height += .2 * get_font_height (ctxt->style->body_font); + + g_free (text); + } + + cntct_height += get_font_height (ctxt->style->headings_font) * .4 + 8; + + return cntct_height; +} + + +static void e_contact_print_contact (EContact *contact, EContactPrintContext *ctxt) { + GtkPageSetup *setup; gchar *file_as; cairo_t *cr; + gdouble page_height; gint field; + setup = gtk_print_context_get_page_setup (ctxt->context); + page_height = gtk_page_setup_get_page_height (setup, GTK_UNIT_POINTS); + cr = gtk_print_context_get_cairo_context (ctxt->context); cairo_save(cr); ctxt->y += get_font_height (ctxt->style->headings_font) * .2; @@ -254,6 +321,10 @@ e_contact_print_contact (EContact *contact, EContactPrintContext *ctxt) { const gchar *value; gchar *text; + gint wrapped_lines=0; + + if (ctxt->y > page_height) + e_contact_start_new_column (ctxt); value = e_contact_get_const (contact, field); if (value == NULL || *value == '\0') @@ -265,10 +336,12 @@ e_contact_print_contact (EContact *contact, EContactPrintContext *ctxt) if (ctxt->pages == ctxt->page_nr) e_contact_output ( ctxt->context, ctxt->style->body_font, - ctxt->x, ctxt->y, -1, text); + ctxt->x, ctxt->y, ctxt->column_width + 4, text); - ctxt->y += e_contact_text_height ( - ctxt->context, ctxt->style->body_font, text); + if ( get_font_width (ctxt->context, ctxt->style->body_font, text) > ctxt->column_width) + wrapped_lines = ( get_font_width (ctxt->context, ctxt->style->body_font, text) / (ctxt->column_width+4)) + 1; + ctxt->y = ctxt->y + ((wrapped_lines+1) *e_contact_text_height ( + ctxt->context, ctxt->style->body_font, text)); ctxt->y += .2 * get_font_height (ctxt->style->body_font); @@ -280,17 +353,7 @@ e_contact_print_contact (EContact *contact, EContactPrintContext *ctxt) cairo_restore (cr); } -static void -e_contact_start_new_column (EContactPrintContext *ctxt) -{ - if (++ctxt->column >= ctxt->style->num_columns) - e_contact_start_new_page (ctxt); - else { - ctxt->x = ctxt->column * - (ctxt->column_width + ctxt->column_spacing); - ctxt->y = .0; - } -} + static gint contact_compare (EContact *contact1, EContact *contact2) @@ -580,7 +643,7 @@ contact_draw (EContact *contact, EContactPrintContext *ctxt) if (!ctxt->first_contact) { if (ctxt->style->sections_start_new_page) e_contact_start_new_page (ctxt); - else if (ctxt->y > page_height) + else if ((ctxt->y + e_contact_get_contact_height (contact, ctxt)) > page_height) e_contact_start_new_column (ctxt); } if (ctxt->style->letter_headings) @@ -588,7 +651,7 @@ contact_draw (EContact *contact, EContactPrintContext *ctxt) ctxt->first_section = FALSE; } - else if (!ctxt->first_contact && (ctxt->y > page_height)) { + else if (!ctxt->first_contact && (( ctxt->y + e_contact_get_contact_height (contact, ctxt)) > page_height)) { e_contact_start_new_column (ctxt); if (ctxt->style->letter_headings) e_contact_print_letter_heading (ctxt, ctxt->section); @@ -649,6 +712,55 @@ contact_begin_print (GtkPrintOperation *operation, } } +/* contact_page_draw_footer inserts the + * page number at the end of each page + * while printing*/ +void +contact_page_draw_footer (GtkPrintOperation *operation, + GtkPrintContext *context, + gint page_nr) +{ + PangoFontDescription *desc; + PangoLayout *layout; + gdouble x, y, page_height, page_width, page_margin; + /*gint n_pages;*/ + gchar *text; + cairo_t *cr; + GtkPageSetup *setup; + + /*Uncomment next if it is successful to get total number if pages in list view + * g_object_get (operation, "n-pages", &n_pages, NULL)*/ + text = g_strdup_printf (_("Page %d"), page_nr + 1); + + setup = gtk_print_context_get_page_setup ( context); + page_height = gtk_page_setup_get_page_height (setup, GTK_UNIT_POINTS); + page_width = gtk_page_setup_get_page_width (setup, GTK_UNIT_POINTS); + page_margin = gtk_page_setup_get_bottom_margin (setup, GTK_UNIT_POINTS); + + desc = pango_font_description_from_string ("Sans Regular 8"); + layout = gtk_print_context_create_pango_layout (context); + pango_layout_set_alignment (layout, PANGO_ALIGN_CENTER); + pango_layout_set_font_description (layout, desc); + pango_layout_set_text (layout, text, -1); + pango_layout_set_width (layout, -1); + + x = page_width/2.0 - page_margin; + y = page_height - page_margin/2.0; + + cr = gtk_print_context_get_cairo_context (context); + + cairo_save (cr); + cairo_set_source_rgb (cr, .0, .0, .0); + cairo_move_to (cr, x, y); + pango_cairo_show_layout (cr, layout); + cairo_restore (cr); + + g_object_unref (layout); + pango_font_description_free (desc); + + g_free (text); +} + static void contact_draw_page (GtkPrintOperation *operation, GtkPrintContext *context, @@ -666,6 +778,7 @@ contact_draw_page (GtkPrintOperation *operation, ctxt->section = NULL; g_list_foreach (ctxt->contact_list, (GFunc) contact_draw, ctxt); + contact_page_draw_footer (operation, context, page_nr); } static void diff --git a/addressbook/printing/e-contact-print.h b/addressbook/printing/e-contact-print.h index 1604693471..e16abf2435 100644 --- a/addressbook/printing/e-contact-print.h +++ b/addressbook/printing/e-contact-print.h @@ -31,5 +31,8 @@ void e_contact_print (EBook *book, EBookQuery *query, GList *contact_list, GtkPrintOperationAction action); +void contact_page_draw_footer (GtkPrintOperation *operation, + GtkPrintContext *context, + gint page_nr); #endif /* E_CONTACT_PRINT_H */ |