aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
Commit message (Collapse)AuthorAgeFilesLines
* Added some military prefixes.Nat Friedman2000-08-092-1/+6
| | | | | | | | 2000-08-09 Nat Friedman <nat@helixcode.com> * ename/e-name-western-tables.h: Added some military prefixes. svn path=/trunk/; revision=4644
* Fixed a warning.Christopher James Lahey2000-08-092-1/+5
| | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Fixed a warning. svn path=/trunk/; revision=4641
* Add an icon to the "Print contacts" menu item.Ettore Perazzoli2000-08-092-1/+7
| | | | svn path=/trunk/; revision=4638
* Put the print menu item in the right placeholder for consistency.Ettore Perazzoli2000-08-092-3/+13
| | | | svn path=/trunk/; revision=4636
* Changed e_popup_menu_run call to match the new arguments.Christopher James Lahey2000-08-099-101/+94
| | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4627
* use x-evolution-any-field.Chris Toshok2000-08-098-129/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4626
* Removed the next and prev toolbar buttons since they don't do anything.Christopher James Lahey2000-08-083-0/+9
| | | | | | | | | 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. svn path=/trunk/; revision=4586
* Fixed the tab order to not repeat the web page address field.Christopher James Lahey2000-08-085-8/+16
| | | | | | | | | | 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. svn path=/trunk/; revision=4583
* Fixed the tab order for this dialog.Christopher James Lahey2000-08-083-0/+85
| | | | | | | | | 2000-08-07 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor.c: Fixed the tab order for this dialog. svn path=/trunk/; revision=4581
* Fixed a warning.Christopher James Lahey2000-08-054-2/+13
| | | | | | | | | | | | | 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. svn path=/trunk/; revision=4543
* Everywhere unref the remote_uih having done a set_container.Michael Meeks2000-08-043-0/+8
| | | | svn path=/trunk/; revision=4524
* Emit "model_pre_change" signal as appropriate.Christopher James Lahey2000-08-035-0/+14
| | | | | | | | | | 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. svn path=/trunk/; revision=4473
* Adapted this to supply the new append_row API of ETableModel.Christopher James Lahey2000-08-023-14/+39
| | | | | | | | | 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. svn path=/trunk/; revision=4469
* Changed the default set of columns.Christopher James Lahey2000-08-012-6/+5
| | | | | | | | 2000-07-31 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Changed the default set of columns. svn path=/trunk/; revision=4441
* Added load-gnomecard-addressbook compilation.Christopher James Lahey2000-07-295-33/+162
| | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4414
* Make sure the LDAP backend files get distributed even if OpenLDAPEttore Perazzoli2000-07-282-1/+13
| | | | | | support is not enabled. svn path=/trunk/; revision=4401
* flesh out ifdef'ed out code. need to write merge_ecard_with_remote_record.Seth Alves2000-07-271-12/+10
| | | | svn path=/trunk/; revision=4383
* add handling for phone labels, going either direction (from pilot and to pilot.)Seth Alves2000-07-271-5/+56
| | | | svn path=/trunk/; revision=4382
* Changed the URI to load to.Christopher James Lahey2000-07-272-1/+13
| | | | | | | | | 2000-07-27 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/load-pine-addressbook.c: Changed the URI to load to. svn path=/trunk/; revision=4381
* remove double freeSeth Alves2000-07-271-4/+1
| | | | svn path=/trunk/; revision=4379
* bug fixesSeth Alves2000-07-272-5/+5
| | | | svn path=/trunk/; revision=4378
* more work on addressbook syncerSeth Alves2000-07-272-18/+105
| | | | svn path=/trunk/; revision=4377
* Fixed a warning.Christopher James Lahey2000-07-273-4/+4
| | | | | | | | 2000-07-26 Christopher James Lahey <clahey@helixcode.com> * gui/minicard/e-minicard-widget-test.c: Fixed a warning. svn path=/trunk/; revision=4375
* wait to free the view until we've taken care of freeing its internals.Chris Toshok2000-07-272-51/+77
| | | | | | | | | | | | | | | | | | | | | 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*. svn path=/trunk/; revision=4369
* add support for user settable scope. (pas_backend_ldap_search): same.Chris Toshok2000-07-272-5/+19
| | | | | | | | | | | 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. svn path=/trunk/; revision=4360
* lowercasify the supported_mime_typesDan Winship2000-07-264-6/+11
| | | | | | | * gui/component/addressbook.oafinfo: lowercasify the supported_mime_types svn path=/trunk/; revision=4342
* add enum for e-card pilot status.Chris Toshok2000-07-265-89/+161
| | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4340
* add comment headers to signals that didn't have any.Chris Toshok2000-07-262-3/+93
| | | | | | | | | 2000-07-25 Chris Toshok <toshok@helixcode.com> * conduit/address-conduit.c: add comment headers to signals that didn't have any. svn path=/trunk/; revision=4338
* use the user's Contact db. not toshok's.Chris Toshok2000-07-262-2/+15
| | | | | | | | | 2000-07-25 Chris Toshok <toshok@helixcode.com> * conduit/address-conduit.c (start_address_server): use the user's Contact db. not toshok's. svn path=/trunk/; revision=4337
* add textual exception printout. (set_editor_text): close pre tags & checkMichael Meeks2000-07-263-1/+12
| | | | | | | | | | | | | | | | | | | | 2000-07-25 Michael Meeks <michael@helixcode.com> * e-msg-composer.c (get_text): add textual exception printout. (set_editor_text): close pre tags & check for pre-existing sig separator. 2000-07-25 Michael Meeks <michael@helixcode.com> * mail-config.c (create_identity_page): set default signature to ~/.signature 2000-07-25 Michael Meeks <michael@helixcode.com> * backend/ebook/load-pine-addressbook.c (book_open_cb): check we opened ok. svn path=/trunk/; revision=4330
* build static versions of some util libraries for the conduit to link withSeth Alves2000-07-266-5/+30
| | | | svn path=/trunk/; revision=4320
* Added a #define for "X-EVOLUTION-PILOTID". Added a parse_pilot_id to readChristopher James Lahey2000-07-252-13/+37
| | | | | | | | | | | 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. svn path=/trunk/; revision=4310
* add pilot_id.Chris Toshok2000-07-253-2/+25
| | | | | | | | | | | | | 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. svn path=/trunk/; revision=4307
* more stuff. too much to use a changelog for.Chris Toshok2000-07-255-444/+326
| | | | svn path=/trunk/; revision=4306
* Remove the idle handler when we're destroyed.Christopher James Lahey2000-07-243-4/+16
| | | | | | | | | | | | 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. svn path=/trunk/; revision=4287
* Fixed the oaf info.Christopher James Lahey2000-07-2114-122/+460
| | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4249
* Update the components to match the changes in the libeshell API.Ettore Perazzoli2000-07-212-1/+6
| | | | svn path=/trunk/; revision=4242
* Added the Turkish desktop entryFatih Demir2000-07-202-0/+7
| | | | svn path=/trunk/; revision=4228
* Added "text/vCard" to the list of mime types we support.Christopher James Lahey2000-07-183-2/+11
| | | | | | | | | 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. svn path=/trunk/; revision=4212
* Added gui/minicard/e-minicard-control.c,Christopher James Lahey2000-07-1814-120/+260
| | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4211
* New files for using a minicard as a widget or a bonobo control.Christopher James Lahey2000-07-189-0/+1218
| | | | | | | | | | | | 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. svn path=/trunk/; revision=4209
* a building but non-functional address conduitSeth Alves2000-07-156-0/+1642
| | | | svn path=/trunk/; revision=4174
* duh. don't save the port in the host slot either.Chris Toshok2000-07-152-1/+6
| | | | | | | | | 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. svn path=/trunk/; revision=4172
* Added these.Christopher James Lahey2000-07-145-0/+194
| | | | | | | | | | 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. svn path=/trunk/; revision=4153
* Switched the order of compilation of printing and contact-editor.Christopher James Lahey2000-07-1415-39/+358
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4151
* oops. fix typo that was saving the port in the rootdn spot.Chris Toshok2000-07-132-7/+67
| | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4131
* From addressbook/ChangeLog:Christopher James Lahey2000-07-133-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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. From camel/ChangeLog: 2000-07-12 Christopher James Lahey <clahey@helixcode.com> * camel-folder-search.c, providers/imap/camel-imap-store.c: Changed from strstrcase to e_strstrcase. * string-utils.c, string-utils.h: Removed strstrcase (in favor of e_strstrcase in e-util/e-util.c.) From e-util/ChangeLog: 2000-07-12 Christopher James Lahey <clahey@helixcode.com> * e-util.c, e-util.h: Added e_strstrcase function. svn path=/trunk/; revision=4127
* Add icons to the toolbars.Christopher James Lahey2000-07-133-16/+32
| | | | | | | | 2000-07-12 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor.c: Add icons to the toolbars. svn path=/trunk/; revision=4125
* Added installation of arrow.png.Christopher James Lahey2000-07-135-6/+24
| | | | | | | | | | 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. svn path=/trunk/; revision=4124
* Removed an unused functionChristopher James Lahey2000-07-122-7/+4
| | | | | | | | 2000-07-11 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Removed an unused function svn path=/trunk/; revision=4103
* Add the OAF stuff to `EXTRA_DIST'.Ettore Perazzoli2000-07-111-2/+1
| | | | svn path=/trunk/; revision=4080
* add idl file to EXTRA_DISTDan Winship2000-07-112-1/+8
| | | | | | | * gui/component/select-names/Makefile.am (EXTRA_DIST): add idl file to EXTRA_DIST svn path=/trunk/; revision=4069
* Get rid of the ESelectNames test menu entry.Ettore Perazzoli2000-07-112-38/+5
| | | | svn path=/trunk/; revision=4044
* Fix the address entry box for more than one address being specifiedPeter Williams2000-07-102-19/+27
| | | | svn path=/trunk/; revision=4037
* Switched from ETable to ETableScrolled.Christopher James Lahey2000-07-108-19/+30
| | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4035
* Added a field that gives the name if it exists and the company nameChristopher James Lahey2000-07-107-11/+66
| | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4020
* Fixed a small off by one error that was causing an extra character to getChristopher James Lahey2000-07-092-1/+8
| | | | | | | | | | 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. svn path=/trunk/; revision=4016
* Several contacts list bugfixes.Anders Carlsson2000-07-098-38/+75
| | | | svn path=/trunk/; revision=4008
* Removed unused do_nothing_cb function.Christopher James Lahey2000-07-099-36/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=4007
* Link the toolbar print button to the print callback.Not Zed2000-07-092-1/+6
| | | | | | | | | 2000-07-09 Not Zed <NotZed@HelixCode.com> * gui/component/addressbook.c: Link the toolbar print button to the print callback. svn path=/trunk/; revision=4000
* Hitting OK or Cancel at least closes the dialog now.Christopher James Lahey2000-07-092-0/+7
| | | | | | | | | | 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. svn path=/trunk/; revision=3993
* Set the returned entry to use the ellipsis.Christopher James Lahey2000-07-092-0/+7
| | | | | | | | | | 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. svn path=/trunk/; revision=3992
* Include e-select-names-factory.h.Christopher James Lahey2000-07-098-8/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3989
* Ignore dynamically created source filesJeffrey Stedfast2000-07-092-0/+9
| | | | | | | | | 2000-07-08 Jeffrey Stedfast <fejj@helixcode.com> * gui/component/select-names/.cvsignore: Ignore dynamically created source files svn path=/trunk/; revision=3980
* Added code for initializing the values of the fields in the messageEttore Perazzoli2000-07-082-2/+29
| | | | | | composer. Unfortunately the ESelectNames crashes when you do this... svn path=/trunk/; revision=3975
* Wrap the ESelectNames stuff into a Bonobo interface, so that we canEttore Perazzoli2000-07-0813-11/+622
| | | | | | | call it from the message composer in evolution-mail. The Bonobo interface is physically implemented in evolution-addressbook. svn path=/trunk/; revision=3972
* Added an "editable" argument.Christopher James Lahey2000-07-086-24/+63
| | | | | | | | | | | | 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. svn path=/trunk/; revision=3969
* Changed to line mode.Christopher James Lahey2000-07-082-0/+14
| | | | | | | | | 2000-07-07 Christopher James Lahey <clahey@helixcode.com> * gui/component/select-names/e-select-names.c: Changed to line mode. svn path=/trunk/; revision=3968
* Implemented the get_cards function.Christopher James Lahey2000-07-084-3/+84
| | | | | | | | | | | | | 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. svn path=/trunk/; revision=3966
* Make the entry widgets we create editable.Christopher James Lahey2000-07-086-12/+64
| | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3955
* Since ELDAPServer->port is a char *, allocate a string with the number 389Christopher James Lahey2000-07-0811-25/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3948
* add scope to ELDAPServer, and make port a string.Chris Toshok2000-07-074-20/+73
| | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3942
* Changed "FIXME: Save and Close" to "Save and Close". Removed some toolbarChristopher James Lahey2000-07-068-37/+375
| | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3918
* call e_ldap_storage_add_server call.Chris Toshok2000-07-068-94/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3895
* remove hack to read "uri" file from local directory.Chris Toshok2000-07-066-9/+267
| | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3890
* Fixed more compile errors.Christopher James Lahey2000-07-044-3/+11
| | | | | | | | | | | 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. svn path=/trunk/; revision=3878
* Fixed compile error.Christopher James Lahey2000-07-042-2/+4
| | | | | | | | 2000-07-03 Christopher James Lahey <clahey@helixcode.com> * gui/component/select-names/Makefile.am: Fixed compile error. svn path=/trunk/; revision=3877
* Removed e-card-iterator.c, e-card-iterator.h, e-card-list-iterator.c,Christopher James Lahey2000-07-0434-866/+1186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/.) svn path=/trunk/; revision=3876
* EvolutionShellClient.Ettore Perazzoli2000-06-302-1/+7
| | | | svn path=/trunk/; revision=3820
* New select names manager interface (Not complete.)Christopher James Lahey2000-06-293-0/+227
| | | | | | | | | | | 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.) svn path=/trunk/; revision=3785
* Calculate height including if clip_height is set to -1.Christopher James Lahey2000-06-2710-11/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Calculate height including if clip_height is set to -1. From addressbook/ChangeLog: 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. From calendar/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * gui/calendar-model.c: Added an #ifdefed value_to_string handler assignment. From camel/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * providers/mbox/camel-mbox-summary.c: Added debugging information. From composer/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-msg-composer-select-file.h for make distcheck. From e-util/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-canvas-vbox.c and e-canvas-vbox.h. * e-canvas-vbox.c, e-canvas-vbox.h: New canvas object to act like a vbox using the reflow system. From mail/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Added a value_to_string handler. From shell/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * glade/Makefile.am: Added EXTRA_DIST for make distcheck. From widgets/e-table/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-click-to-add.c, e-table-click-to-add.h, e-table-one.c, and e-table-one.h. * e-table-click-to-add.c, e-table-click-to-add.h: A new canvas item that represents a single row that sometimes exists. It's for adding new rows to your table. * e-table-example-1.c, e-table-example-2.c, e-table-size-test.c, test-check.c, test-cols.c, test-table.c: Added value_to_string handlers. * e-table-group-container.c: Use value_to_string to make grouping not crash for non string columns. Made some changes to work properly in an ECanvasVbox. * e-table-group-leaf.c, e-table-item.c: Made some changes to work properly in an ECanvasVbox. * e-table-model.c, e-table-model.h: Added append_row and value_to_string methods. * e-table-one.c, e-table-one.h: Given a source ETableModel, this provides a single row model that uses the initialize_value, duplicate_value, free_value, and value_is_empty methods of the original source to implement set_value and value_at (and proxies most of the other methods.) This is used for ETableClickToAdd. * e-table-simple.c, e-table-simple.h: Added append_row and value_to_string handlers. append_row uses a GtkArg instead of a parameter to e_table_simple_new. * e-table-subset.c: Added append_row and value_to_string handlers. * e-table.c, e-table.h: Use a vbox containing an ETableClickToAdd and an ETableItem instead of an ETableItem directly. Only show the ETableClickToAdd if the top level of the xml SPEC has the attribute click-to-add set to some non-zero integer. (click-to-add="1"). Add a "click_to_add_message" argument. * e-tree-model.c: Add a commented out value_to_string handler. From widgets/meeting-time-sel/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added the include path to top_srcdir. svn path=/trunk/; revision=3744
* remove spew. (pas_backend_ldap_ensure_connected): duh, don't access aChris Toshok2000-06-272-21/+26
| | | | | | | | | | | | 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. svn path=/trunk/; revision=3743
* Remove usage of "x" and "y" arguments.Christopher James Lahey2000-06-217-12/+6
| | | | | | | | | | 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. svn path=/trunk/; revision=3668
* Fix compilation with builddir != srcdir.Ettore Perazzoli2000-06-193-2/+8
| | | | svn path=/trunk/; revision=3630
* Made the left column of minicards not get any wider than the widestChristopher James Lahey2000-06-177-18/+137
| | | | | | | | | | | 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. svn path=/trunk/; revision=3608
* Build a `libeshell.a' library in `shell/' so that we don't need toEttore Perazzoli2000-06-132-9/+7
| | | | | | | link to the shell's object files directly from the components anymore. (That was really gross.) svn path=/trunk/; revision=3546
* Removed the ETableModel thaw handler. Likewise.Federico Mena Quintero2000-06-136-53/+12
| | | | | | | | | | 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. svn path=/trunk/; revision=3541
* Fixed the widget reparenting.Christopher James Lahey2000-06-112-2/+8
| | | | | | | | 2000-06-11 Christopher James Lahey <clahey@helixcode.com> * gui/component/e-select-names.c: Fixed the widget reparenting. svn path=/trunk/; revision=3521
* Added glade files.Christopher James Lahey2000-06-117-15/+62
| | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3518
* Forgot ChangeLog for my latest commit.Ettore Perazzoli2000-06-111-0/+9
| | | | svn path=/trunk/; revision=3516
* Make ETable use EScrollFrame instead of GtkScrolledWindow.Ettore Perazzoli2000-06-115-4/+13
| | | | svn path=/trunk/; revision=3515
* Renamed a bunch of functions for better readability.Christopher James Lahey2000-06-115-53/+119
| | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3514
* Glade files for Select Names dialog.Christopher James Lahey2000-06-113-0/+260
| | | | | | | | | | 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. svn path=/trunk/; revision=3513
* Do e_card_simple_sync and extract_info more often.Christopher James Lahey2000-06-114-7/+119
| | | | | | | | | | | 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. svn path=/trunk/; revision=3512
* Initial support for creating/removing folders. This implies some newEttore Perazzoli2000-06-102-3/+22
| | | | | | | | IDL methods and new functions to implement on the component side. I have also added a simple folder creation dialog in the shell. It's quite unfinished and untested. svn path=/trunk/; revision=3491
* Bind Save As to save the current view of the contact as a vcard.Christopher James Lahey2000-06-093-2/+29
| | | | | | | | | 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. svn path=/trunk/; revision=3481
* Doh, sync the card simple and extract the card info.Federico Mena Quintero2000-06-093-0/+11
| | | | | | | | | 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. svn path=/trunk/; revision=3480
* Now this derives from GtkObject. It follows the same strategy as theFederico Mena Quintero2000-06-0916-4314/+5182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3479
* Fix Makefiles so that (guess what?) they work with builddir != srcdir.Ettore Perazzoli2000-06-085-26/+38
| | | | svn path=/trunk/; revision=3474
* Bind right click on the ETable to "Save to VCard."Christopher James Lahey2000-06-062-0/+26
| | | | | | | | | 2000-06-06 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Bind right click on the ETable to "Save to VCard." svn path=/trunk/; revision=3438
* a bunch of patches to make evolution compile with bonobo in strange ↵Mathieu Lacage2000-06-054-22/+22
| | | | | | prefixes. see Changelog. svn path=/trunk/; revision=3420
* Made phone/email/address labels change correctly again.Christopher James Lahey2000-06-033-6/+11
| | | | | | | | | 2000-06-02 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor.c: Made phone/email/address labels change correctly again. svn path=/trunk/; revision=3404
* Made evolution-addressbook shut down when the shell is done with it.Christopher James Lahey2000-06-032-2/+24
| | | | | | | | | 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. svn path=/trunk/; revision=3398
* Made double click only work on the first button.Christopher James Lahey2000-06-025-2/+9
| | | | | | | | | 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. svn path=/trunk/; revision=3378
* return TRUE if opening a contact editor so that we don't get a "newChristopher James Lahey2000-06-0211-28/+420
| | | | | | | | | 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. svn path=/trunk/; revision=3342
* Use stock Cancel buttons in the addressbook dialogs.Ettore Perazzoli2000-06-012-3/+12
| | | | svn path=/trunk/; revision=3333
* Added accelerators for the remaining items.Miguel de Icaza2000-06-015-534/+319
| | | | | | | | | | | 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. svn path=/trunk/; revision=3325
* Make the toolbar look like a standard GNOME toolbar my putting it intoEttore Perazzoli2000-06-012-2/+16
| | | | | | | | a GtkFrame. Also, make sure it cannot be dragged to the left or right of the dock, because with the current non-BonoboUIHandler system we use it causes bad bad things to happen. svn path=/trunk/; revision=3321
* New files for card list.Christopher James Lahey2000-05-313-0/+277
| | | | | | | | | 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. svn path=/trunk/; revision=3309
* Made the alphabet buttons not focusable.Christopher James Lahey2000-05-316-55/+22
| | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3285
* Added a bit of space around the alphabet bar.Christopher James Lahey2000-05-313-4/+11
| | | | | | | | | 2000-05-30 Christopher James Lahey <clahey@helixcode.com> * gui/component/alphabet.glade: Added a bit of space around the alphabet bar. svn path=/trunk/; revision=3284
* Added alphabet.glade and alphabet.glade.h.Christopher James Lahey2000-05-3113-13/+1023
| | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3283
* Added BONOBO_GNOME_CFLAGS to CPPFLAGS.Christopher James Lahey2000-05-302-1/+6
| | | | | | | | 2000-05-30 Christopher James Lahey <clahey@helixcode.com> * printing/Makefile.am: Added BONOBO_GNOME_CFLAGS to CPPFLAGS. svn path=/trunk/; revision=3282
* Made double clicking create a new card. Set the empty message.Christopher James Lahey2000-05-3010-58/+305
| | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3281
* Added "sequence_complete" signal.Christopher James Lahey2000-05-3012-9/+138
| | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3279
* Remove storage test code that I committed by accident.Ettore Perazzoli2000-05-282-5/+7
| | | | svn path=/trunk/; revision=3243
* Added double click to open contact editor.Christopher James Lahey2000-05-286-0/+105
| | | | | | | | | | | 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. svn path=/trunk/; revision=3239
* Fix 'make dist' errors.Ross Golder2000-05-282-2/+3
| | | | svn path=/trunk/; revision=3231
* Removed some columns.Christopher James Lahey2000-05-262-4/+4
| | | | | | | | 2000-05-25 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Removed some columns. svn path=/trunk/; revision=3204
* Reorganized the shell to allow dynamic registration of storages andEttore Perazzoli2000-05-2511-4/+261
| | | | | | | folder types, and changed all the components to work with the new setup. svn path=/trunk/; revision=3199
* Switched printing and gui.Christopher James Lahey2000-05-2415-169/+301
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3188
* Fixed some memory leaks.Christopher James Lahey2000-05-242-0/+6
| | | | | | | | 2000-05-23 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-save-as.c: Fixed some memory leaks. svn path=/trunk/; revision=3183
* Added e-contact-editor-save-as.c and e-contact-editor-save-as.h.Christopher James Lahey2000-05-239-2/+274
| | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3182
* Added initialize_value and value_is_empty callbacks.Christopher James Lahey2000-05-205-0/+78
| | | | | | | | | | 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. svn path=/trunk/; revision=3139
* Fixed a bug that broke address field support.Christopher James Lahey2000-05-193-2/+7
| | | | | | | | | 2000-05-19 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor.c: Fixed a bug that broke address field support. svn path=/trunk/; revision=3134
* Added support for arbitrary fields in the contact editor.Christopher James Lahey2000-05-195-0/+214
| | | | | | | | | | 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. svn path=/trunk/; revision=3132
* Fixed e_card_name_copy and e_card_arbitrary_copy to deal correctly with aChristopher James Lahey2000-05-1912-1113/+1159
| | | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=3121
* Fixed the code to write out and read in arbitrary fields.Christopher James Lahey2000-05-182-18/+46
| | | | | | | | | 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. svn path=/trunk/; revision=3118
* Implemented "MAILER" field. Added arbitrary field support.Christopher James Lahey2000-05-188-246/+303
| | | | | | | | | | | | | 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. svn path=/trunk/; revision=3117
* Added E_CARD_SIMPLE_FIELD_MAILER. Not implemented yet.Christopher James Lahey2000-05-173-0/+7
| | | | | | | | | 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. svn path=/trunk/; revision=3096
* convert to use ECardSimple. (poll_ldap): same.Chris Toshok2000-05-172-38/+23
| | | | | | | * backend/pas/pas-backend-ldap.c (construct_email_list): convert to use ECardSimple. (poll_ldap): same. svn path=/trunk/; revision=3095
* add typedefs for the can_write functions, and add parameters toChris Toshok2000-05-176-15/+146
| | | | | | | | | | | | | | | | | | | | | | | | | * 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. svn path=/trunk/; revision=3093
* Fixed a large memory leak.Christopher James Lahey2000-05-162-1/+7
| | | | | | | | 2000-05-16 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card.c (e_card_get_vcard): Fixed a large memory leak. svn path=/trunk/; revision=3088
* Fixed another memory leak.Christopher James Lahey2000-05-162-2/+5
| | | | | | | | 2000-05-16 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card.c (add_list_unique): Fixed another memory leak. svn path=/trunk/; revision=3086
* Fixed some memory leaks.Christopher James Lahey2000-05-1610-81/+75
| | | | | | | | | | | | | 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. svn path=/trunk/; revision=3085
* Fixed a reference leak.Christopher James Lahey2000-05-163-1/+10
| | | | | | | | | 2000-05-16 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor-categories.c: Fixed a reference leak. svn path=/trunk/; revision=3084
* Fixed a compile error.Christopher James Lahey2000-05-163-9/+16
| | | | | | | | | 2000-05-16 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor-categories.c: Fixed a compile error. svn path=/trunk/; revision=3078
* Got rid of a memory leak. Rearranged a couple functions.Christopher James Lahey2000-05-169-60/+118
| | | | | | | | | | | | | | 2000-05-16 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor-categories.c: Got rid of a memory leak. Rearranged a couple functions. * gui/minicard/e-minicard-view.c, gui/minicard/e-minicard-view.h: Added some code to stop watching the EBook when the canvas is destroyed (apparently the canvas is destroyed before our widget is destroyed.) svn path=/trunk/; revision=3076
* Use the correct policy for resize.Christopher James Lahey2000-05-143-2/+7
| | | | | | | | | 2000-05-14 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor-categories.c: Use the correct policy for resize. svn path=/trunk/; revision=3028
* From widgets/e-table/ChangeLogChristopher James Lahey2000-05-1428-815/+2866
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-14 Christopher James Lahey <clahey@helixcode.com> * Implemented the feature where the ETable columns automatically fill the given space. * e-cell-text.c, e-cell-text.h: Moved #include e-text-event-processor.h from the .h to the .c. * e-table-col.c, e-table-col.h: Added an expansion variable, and made it so that width isn't set by the programmer but instead by the e-table-header. * e-table-example-1.c, e-table-example-2.c, e-table-size-test.c, test-check.c, test-cols.c, test-table.c: Fixed to handle new ETable column resizing. * e-table-group-container.c, e-table-group-container.h, e-table-group-leaf.c, e-table-group-leaf.h, e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h: Fixed these to do a proper canvas reflow/update loop. Changed them to take a minimum width and return a width and a height. * e-table-header-item.c, e-table-header-item.h: Made this so that it depends on e-table-header.c for deciding the actual size of columns during resize (it was making incorrect decisions on its own.) * e-table-header.c, e-table-header.h: Changed this to make sure that the sum of the widths of the columns was always as close as possible to the width of the window. This is done by taking a full width and having each of the columns have an "expansion" field. This field is what makes each column have approximately the same portion of its part of the screen that it used to. * e-table.c: Changed this to set the width on the ETableHeader as well as set the proper minimum width on the ETableGroup and get the width and height it reports. From addressbook/ChangeLog 2000-05-14 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am: Added libeutil for e-card's support for categories. * backend/ebook/e-card-list.c, backend/ebook/e-card-list.h: Added a function to get the length. * backend/ebook/e-card.c, backend/ebook/e-card.h: Added categories support (accessible either as "categories" or "category_list".) * contact-editor/Makefile.am: Added e-table and all of the categories files. * contact-editor/categories.glade, contact-editor/categories-strings.h, contact-editor/e-contact-editor-categories.c, contact-editor/e-contact-editor-categories.h: * contact-editor/contact-editor.glade, contact-editor/e-contact-editor-strings.h: Rearranged this dialog. * contact-editor/e-contact-editor.c: Rearranged dialog a bit. Added opening of categories dialog. * gui/component/Makefile.am: Rearranged libraries so that libetable would be available for the contact editor categories dialog. * gui/component/addressbook.c: Fix for new ETable resizing. Make contact editor dialog resizable. * gui/minicard/Makefile.am: Added libetable contact editor categories dialog. * gui/minicard/e-minicard.c: Make contact editor dialog resizable. From mail/ChangeLog 2000-05-14 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Updated to work with new ETable resizing. svn path=/trunk/; revision=3027
* Use accelerators here.Miguel de Icaza2000-05-135-88/+106
| | | | | | | | 2000-05-12 Miguel de Icaza <miguel@gnu.org> * contact-editor/fulname.glade: Use accelerators here. svn path=/trunk/; revision=3010
* Saved translatable strings. Added files to POTFILES.in.Valek Frob2000-05-135-34/+136
| | | | svn path=/trunk/; revision=3009
* make the toolbars detachable now that we require a new enough versionDan Winship2000-05-122-1/+6
| | | | | | of gnome-libs to avoid the bonobo-toolbar-detaching bug svn path=/trunk/; revision=2997
* Make the table view be sorted by name initially.Christopher James Lahey2000-05-112-1/+6
| | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Make the table view be sorted by name initially. svn path=/trunk/; revision=2981
* Send a proper response when you can't find the ldap URI.Christopher James Lahey2000-05-113-15/+26
| | | | | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-book-factory.c: Send a proper response when you can't find the ldap URI. * gui/component/addressbook.c: Cleaned up the open error dialog a bit. svn path=/trunk/; revision=2975
* Added a dialog for when you can't open an addressbook.Christopher James Lahey2000-05-112-0/+35
| | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Added a dialog for when you can't open an addressbook. svn path=/trunk/; revision=2972
* Removed dist-hook section.Christopher James Lahey2000-05-109-8/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed dist-hook section. * configure.in: Set the version number. Added a check for gnome window icons. Removed a bunch of unused Makefiles. * tools/Makefile.am: Created a proper EXTRA_DIST section. * widgets/e-text/Makefile.am: Added e-text-event-processor-types.h. From addressbook/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am: Added e-book-types.h, e-card-pairs.h, e-card-types.h. * backend/pas/Makefile.am: Added pas-backend-ldap.h. * contact-editor/Makefile.am: Added a proper EXTRA_DIST section. Removed some old defines. * ename/Makefile.am: Added e-name-western-tables.h. * gui/component/Makefile.am: Added e-ldap-server-dialog.h. Added a proper EXTRA_DIST section. * gui/minicard/e-reflow.c: Added a missed cast. * printing/Makefile.am: Added a proper EXTRA_DIST section. From calendar/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added main.h. Combined the two EXTRA_DIST sections. From camel/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added camel-types.h, camel-folder-pt-proxy.h, and camel-thread-proxy.h. From default_user/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am, local/Calendar/Makefile.am, local/Contacts/Makefile.am, local/Directories/Makefile.am, local/Directories/subfolders/Bigfoot/Makefile.am, local/Directories/subfolders/Netcenter/Makefile.am, local/Drafts/Makefile.am, local/Inbox/Makefile.am, local/Outbox/Makefile.am, local/Trash/Makefile.am: Created a proper EXTRA_DIST section. From filter/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * filter-arg.h: Changed tree.h to gnome-xml/tree.h. * Makefile.am: Added filter-arg-types.h, filter-arg.h, filter-xml.h, filter-format.h, filter-druid.h, filter-editor.h. From libical/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * configure.in: Reorder Makefiles so that it will build. From mail/ChangeLog: 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed folder-browser-factory.h since it doesn't exist. Added mail-display.h, mail-types.h, pixmaps.h. From widgets/e-table/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-col-dnd.h and table-test.h. From wombat/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added an include for the pcs directory. svn path=/trunk/; revision=2966
* Make sure that the canvas doesn't intercept keyboard focus.Christopher James Lahey2000-05-103-0/+7
| | | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor.c: Make sure that the canvas doesn't intercept keyboard focus. svn path=/trunk/; revision=2959
* Added briefcase.png to get installed.Christopher James Lahey2000-05-103-24/+82
| | | | | | | | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * art/Makefile.am: Added briefcase.png to get installed. From addressbook/ChangeLog: 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor.c: Use new art. svn path=/trunk/; revision=2958
* Replaced the Address button with a label and rearranged the address area aChristopher James Lahey2000-05-105-60/+72
| | | | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * contact-editor/contact-editor.glade, contact-editor/e-contact-editor-strings.h: Replaced the Address button with a label and rearranged the address area a bit. svn path=/trunk/; revision=2955
* Reenable editting.Christopher James Lahey2000-05-104-7/+10
| | | | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * gui/minicard/e-minicard.c: Reenable editting. * gui/minicard/e-reflow-sorted.c: Make reflow flow on deletion. svn path=/trunk/; revision=2954
* Destroy the view object when leaving the minicard view.Christopher James Lahey2000-05-102-1/+9
| | | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Destroy the view object when leaving the minicard view. svn path=/trunk/; revision=2953
* Fixed reflow sorting to call reflow_request when sorting on an itemChristopher James Lahey2000-05-102-0/+6
| | | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * gui/minicard/e-reflow-sorted.c: Fixed reflow sorting to call reflow_request when sorting on an item changes. svn path=/trunk/; revision=2949
* Make File As change if name or company are changed pretty much anywhere.Christopher James Lahey2000-05-104-26/+173
| | | | | | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card-simple.c: Make File As change if name or company are changed pretty much anywhere. * gui/minicard/e-minicard.c: Turned off having minicard editing effect anything since it's so crashy. svn path=/trunk/; revision=2947
* Enabled a couple more fieldsChristopher James Lahey2000-05-092-2/+7
| | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-backend-ldap.c: Enabled a couple more fields svn path=/trunk/; revision=2943
* Added a default card to all new file backends.Christopher James Lahey2000-05-092-18/+68
| | | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-backend-file.c: Added a default card to all new file backends. svn path=/trunk/; revision=2939
* Rearranged order of things getting destroyed.Christopher James Lahey2000-05-099-26/+66
| | | | | | | | | | | | | | | | | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * gui/component/e-addressbook-model.c: Rearranged order of things getting destroyed. * gui/minicard/e-minicard-view.c: Rearranged order of things getting destroyed. Don't set attributes of non-null or destroyed items. Destroy parent object when destroyed. Maintain ref_count of items in list. * gui/minicard/e-minicard.c: Don't set attributes of non-null items. * gui/minicard/e-reflow-sorted.c: Maintain ref_count of items in list. * gui/minicard/e-reflow.c: Maintain ref_count of items in list. Destroy parent object when destroyed. svn path=/trunk/; revision=2935
* Fixed some indentation.Christopher James Lahey2000-05-098-161/+441
| | | | | | | | | | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card-simple.c: Fixed some indentation. * contact-editor/contact-editor.glade, contact-editor/e-contact-editor-strings.h: Changed Email to Primary Email. * contact-editor/e-contact-editor.c: Added checkmarks to indicate if data exists in the pull down menus for the phone, address, and email fields. svn path=/trunk/; revision=2933
* Fixed the string duplication problem. Fixed the business/home addressChristopher James Lahey2000-05-093-6/+25
| | | | | | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card-simple.c: Fixed the string duplication problem. Fixed the business/home address string mix up. * gui/component/addressbook.c: Made the minicard view the default view. svn path=/trunk/; revision=2932
* Fixed this up a bit. Syncing should work better now.Christopher James Lahey2000-05-082-0/+7
| | | | | | | | | 2000-05-08 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card-simple.c: Fixed this up a bit. Syncing should work better now. svn path=/trunk/; revision=2910
* Made a minimal number of things be destroyed and recreated when updating aChristopher James Lahey2000-05-089-148/+252
| | | | | | | | | | | 2000-05-08 Christopher James Lahey <clahey@helixcode.com> * gui/minicard/e-minicard-view.c, gui/minicard/e-minicard.c, gui/minicard/e-minicard.h, gui/minicard/e-reflow-sorted.c, gui/minicard/e-reflow-sorted.h: Made a minimal number of things be destroyed and recreated when updating a field. svn path=/trunk/; revision=2904
* make sure to free the return value of e_card_simple_get.Chris Toshok2000-05-084-4/+24
| | | | | | | | | | | | * gui/minicard/e-minicard.c (remodel): make sure to free the return value of e_card_simple_get. * gui/component/addressbook.c (teardown_table_view): destroy the ECardSimple here, plug memory leak. (create_table_view): use view->simple so we can destroy the ECardSimple later on. svn path=/trunk/; revision=2899
* comment function, and fix an ABR.Chris Toshok2000-05-082-3/+11
| | | | | | | * ename/e-name-western.c (e_name_western_extract_middle): comment function, and fix an ABR. svn path=/trunk/; revision=2894
* comment function, and fix an ABR.Chris Toshok2000-05-082-6/+18
| | | | | | | * ename/e-name-western.c (e_name_western_cleanup_string): comment function, and fix an ABR. svn path=/trunk/; revision=2893
* Added saving in minicard view.Christopher James Lahey2000-05-083-0/+94
| | | | | | | | 2000-05-08 Christopher James Lahey <clahey@helixcode.com> * gui/minicard/e-minicard.c: Added saving in minicard view. svn path=/trunk/; revision=2891
* Fixed an off by 2 error.Christopher James Lahey2000-05-082-1/+8
| | | | | | | | 2000-05-07 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-backend-file.c: Fixed an off by 2 error. svn path=/trunk/; revision=2889
* (addressbook_factory): create the ebook once.Chris Toshok2000-05-082-3/+5
| | | | svn path=/trunk/; revision=2887
* don't create a new ebook. instead, unload the current uri (if there isChris Toshok2000-05-082-10/+12
| | | | | | | | * gui/component/addressbook.c (set_prop): don't create a new ebook. instead, unload the current uri (if there is one) and load the new one. svn path=/trunk/; revision=2885
* Replaced some model_changed calls with row_inserted calls.Christopher James Lahey2000-05-083-4/+9
| | | | | | | | | 2000-05-07 Christopher James Lahey <clahey@helixcode.com> * gui/component/e-addressbook-model.c: Replaced some model_changed calls with row_inserted calls. svn path=/trunk/; revision=2881
* Removed some code that was notifying too many clients at the wrong times.Christopher James Lahey2000-05-084-52/+22
| | | | | | | | | | | | | | 2000-05-07 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-backend-file.c, backend/pas/pas-backend-ldap.c: Removed some code that was notifying too many clients at the wrong times. * gui/component/addressbook.c: Set view->book. Unreffed view->book. Unreffed the model instead of destroying it. Removed the /tmp/test.db stuff. svn path=/trunk/; revision=2876
* Make the addressbook create the correct file uri. Added a default query.Christopher James Lahey2000-05-076-7/+31
| | | | | | | | | | | | | | 2000-05-07 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Make the addressbook create the correct file uri. Added a default query. Initialize view->model and view->view to NULL. * gui/component/e-addressbook-model.c, gui/minicard/e-minicard-view.c: Only call get_book_view if both book and query and non-null. svn path=/trunk/; revision=2861
* remove the separator and toggle view items as well. (toggle_view_as_cb):Chris Toshok2000-05-072-74/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook.c (control_deactivate): remove the separator and toggle view items as well. (toggle_view_as_cb): callback for the "/View/Toggle View" menu item. (get_query): getter for the query string that takes into account the two view types. (set_query): setter for the query string that takes into account the two view types. (set_book): setter for the EBook type - not really a setter, since the book is kept in the AddressbookView, but this method actually sets the "book" property on the current view. (find_contact_cb): make use of get/set_query (search_entry_activated): make use of set_query. (control_activate): add a menu separator and an item to toggle between view types. (book_open_cb): make use of set_book. (ebook_create): no longer needs to return the EBook, since we set the book field in our view. (teardown_minicard_view): destructor function for the minicard specific ui. (create_minicard_view): constructor function for the minicard specific ui. (teardown_table_view): destructor function for the e-table specific ui. (create_table_view): constructor function for the e-table specific ui. (change_view_type): destroy the old and create the new view ui, change the label of the Toggle View menu item, and reset the book and query on the new view type. (addressbook_factory): create an all-encompassing vbox that the view uses to create the bonobo control, which contains 1 widget per ui specific view (the e-table in the table case, and another vbox in the minicard case.) use change_view_type to create the initial view. svn path=/trunk/; revision=2855
* Made a NULL callback just mean to not call back.Christopher James Lahey2000-05-075-0/+802
| | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-07 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-book.c: Made a NULL callback just mean to not call back. * backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h: Reordered fields. Added a get_const function to get a constant string that persists until the simple is destroyed. * gui/component/Makefile.am: Added e-addressbook-model.c and e-addressbook-model.h and all of the libraries and includes that they are dependent on. * gui/component/addressbook-factory.c: Initialize e cursors. * gui/component/addressbook.c: Added inactive code to display an ETable view of the addressbook. * gui/component/e-addressbook-model.c, gui/component/e-addressbook-model.h: New files to implement an ETable model with a EBook back end. svn path=/trunk/; revision=2845
* Made a NULL callback just mean to not call back.Christopher James Lahey2000-05-077-109/+268
| | | | | | | | | | | | | | | | | | | | | | 2000-05-07 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-book.c: Made a NULL callback just mean to not call back. * backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h: Reordered fields. Added a get_const function to get a constant string that persists until the simple is destroyed. * gui/component/Makefile.am: Added e-addressbook-model.c and e-addressbook-model.h and all of the libraries and includes that they are dependent on. * gui/component/addressbook-factory.c: Initialize e cursors. * gui/component/addressbook.c: Added inactive code to display an ETable view of the addressbook. svn path=/trunk/; revision=2844
* Mostly finished ECardSimple.Christopher James Lahey2000-05-0710-266/+486
| | | | | | | | | | | | | | | | | | | 2000-05-06 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h: Mostly finished ECardSimple. * contact-editor/e-contact-editor.c: Changed this to match with some of the changes to ECardSimple. * gui/component/addressbook.c: Changed this to look for "addressbook.db" in the given directory if it doesn't find the file "uri". * gui/minicard/e-minicard.c, gui/minicard/e-minicard.h: Changed this to use ECardSimple. svn path=/trunk/; revision=2839
* ignore evolution-addressbook.pureChris Toshok2000-05-073-0/+19
| | | | | | | | | * gui/component/.cvsignore: ignore evolution-addressbook.pure * gui/component/Makefile.am: add support for generating evolution-addressbook.pure. svn path=/trunk/; revision=2835
* if a port isn't specified in the uri default to 389.Chris Toshok2000-05-072-0/+8
| | | | | | | * backend/pas/pas-backend-ldap.c (pas_backend_ldap_load_uri): if a port isn't specified in the uri default to 389. svn path=/trunk/; revision=2831
* Made the component take a uri through its property bag.Christopher James Lahey2000-05-072-3/+108
| | | | | | | | | 2000-05-06 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Made the component take a uri through its property bag. svn path=/trunk/; revision=2829
* ignore .pure directoryChris Toshok2000-05-051-0/+1
| | | | svn path=/trunk/; revision=2816
* Added e-card-simple.c and e-card-simple.h.Christopher James Lahey2000-05-058-582/+972
| | | | | | | | | | | | | | | | 2000-05-05 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am: Added e-card-simple.c and e-card-simple.h. * backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h: New card wrapper class to simplify things. * contact-editor/e-contact-editor.c, contact-editor/e-contact-editor.h: Changed e-contact-editor to use ECardSimple a bit. svn path=/trunk/; revision=2815
* ignore the .pure directoryChris Toshok2000-05-056-4/+10
| | | | | | | | | | | | | | | | | | | | | | * addressbook/backend/ebook/.cvsignore, addressbook/contact-editor/.cvsignore, addressbook/gui/component/.cvsignore, addressbook/gui/minicard/.cvsignore, addressbook/printing/.cvsignore, calendar/cal-client/.cvsignore, calendar/gui/.cvsignore, calendar/pcs/.cvsignore, filter/.cvsignore, mail/.cvsignore, shell/.cvsignore, tests/.cvsignore, widgets/e-table/.cvsignore, widgets/e-text/.cvsignore, widgets/meeting-time-sel/.cvsignore, widgets/shortcut-bar/.cvsignore, wombat/.cvsignore: ignore the .pure directory svn path=/trunk/; revision=2812
* #ifdef HAVE_LDAP the ldap specific stuff. (null_cb): same.Chris Toshok2000-05-032-3/+15
| | | | | | | | | * gui/component/addressbook.c (control_deactivate): #ifdef HAVE_LDAP the ldap specific stuff. (null_cb): same. (control_activate): same. svn path=/trunk/; revision=2777
* Fix builddir != srcdir build once again.Ettore Perazzoli2000-05-032-0/+6
| | | | svn path=/trunk/; revision=2767
* Set G_LOG_DOMAIN in following files.Matthew Loper2000-05-033-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | addressbook/demo/Makefile.am addressbook/printing/Makefile.am camel/Makefile.am camel/providers/MH/Makefile.am camel/providers/maildir/Makefile.am camel/providers/mbox/Makefile.am camel/providers/nntp/Makefile.am camel/providers/pop3/Makefile.am camel/providers/sendmail/Makefile.am camel/providers/smtp/Makefile.am composer/Makefile.am e-util/Makefile.am filter/Makefile.am libibex/Makefile.am mail/Makefile.am shell/Makefile.am tests/Makefile.am tests/ui-tests/Makefile.am widgets/e-table/Makefile.am widgets/e-text/Makefile.am widgets/meeting-time-sel/Makefile.am widgets/shortcut-bar/Makefile.am svn path=/trunk/; revision=2756
* Add back in the CORBA_Object_release.Christopher James Lahey2000-05-023-2/+26
| | | | | | | | | | | | 2000-05-01 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-book-factory.c: Add back in the CORBA_Object_release. * backend/pas/pas-book.c: Properly duplicate and release the listener passed to us. svn path=/trunk/; revision=2720
* Made uri slightly better managed.Christopher James Lahey2000-05-025-14/+25
| | | | | | | | | | | | | | | | 2000-05-01 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-backend-file.c, backend/pas/pas-backend-ldap.c: Made uri slightly better managed. * backend/pas/pas-book-factory.c (pas_book_factory_process_request): Remove this CORBA_Object_release that causes things not to work. This is just a temporary fix until we figure out what's actually wrong. * backend/pas/pas-book.c: Fixed a copy and paste error in a warning. svn path=/trunk/; revision=2718
* Switched the subdirs order since backend depends on ename.Christopher James Lahey2000-05-022-1/+6
| | | | | | | | | 2000-05-01 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Switched the subdirs order since backend depends on ename. svn path=/trunk/; revision=2717
* fix a typo in the for loop.Larry Ewing2000-05-022-1/+6
| | | | | | | | | 2000-05-01 Larry Ewing <lewing@helixcode.com> * backend/pas/pas-backend-ldap.c (pas_backend_ldap_remove_client): fix a typo in the for loop. svn path=/trunk/; revision=2714
* include a header to make it compile...Michael Meeks2000-05-012-0/+5
| | | | svn path=/trunk/; revision=2711
* Added new status values for the IDL stuff.Federico Mena Quintero2000-05-0110-91/+511
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-30 Federico Mena Quintero <federico@helixcode.com> * backend/ebook/e-book-types.h (EBookStatus): Added new status values for the IDL stuff. * backend/pas/pas-book-factory.h (PASBookFactoryClass): New "last_book_gone" signal. * backend/pas/pas-book-factory.c (pas_book_factory_launch_backend): Better error handling. (pas_book_factory_process_queue): Let pas_book_factory_process_request() free the request. (pas_book_factory_process_request): Free the request here. Perform better error handling. (free_active_server_map_entry): Free an active server map entry; free the URI key and unref the backend value. This function was renamed; the old one was trying to CORBA_Object_unref() a GTK+ object! (remove_backends_entry): Free a backend table entry; free the URI key. (backend_last_client_gone_cb): Remove the backend from the active server map and emit the "last_book_gone" signal if appropriate. (pas_book_factory_get_n_backends): New function to query the number of running backends in an addressbook factory. * backend/idl/addressbook.idl (BookListener::CallStatus): Added a ProtocolNotSupported code. This is for when the addressbook factory cannot find a provider for the requested URI. * backend/pas/pas-backend.h (PASBackendClass): New "last_client_gone" signal. (PASBackendClass): New get_uri virtual method. * backend/pas/pas-backend.c (pas_backend_load_uri): Return a gboolean success code. (pas_backend_add_client): Return a gboolean success code. (pas_backend_last_client_gone): New function used by backend implementations to notify upwards when the backend's last client is destroyed. (pas_backend_get_uri): New function to get the URI of a backend. * backend/pas/pas-backend-file.c (pas_backend_file_add_client): Pass the backend as the closure data to the "destroy" handler of the book. We cannot call pas_book_get_backend() in the callback since the book's private data has already been destroyed when the callback is invoked. Alternatively, we could move the private data destruction step to the book's ::finalize() method. (pas_backend_file_book_destroy_cb): Get the backend from the callback's data, not from the book. (pas_backend_file_remove_client): Remove the book from the list of clients. When all clients go away, call pas_backend_last_client_gone(). (PASBackendFilePrivate): Added an uri field. (pas_backend_file_get_uri): Implement the get_uri method. (pas_backend_file_load_uri): Return a gboolean success code. Also, store the URI in the private structure. (pas_backend_file_add_client): Return a gboolean success code. Also, call pas_backend_last_client_gone() if appropriate. (pas_backend_file_destroy): Free the bf->priv->uri. * backend/pas/pas-backend-ldap.c (pas_backend_ldap_add_client): Pass the backend as the closure data to the "destroy" handler of the book. See above for rationale. (pas_backend_ldap_book_destroy_cb): Get the backend from the callback's data. (pas_backend_ldap_remove_client): Remove the book from the list of clients. When all clients go away, call pas_backend_last_client_gone(). (pas_backend_ldap_load_uri): Return a gboolean success code. (pas_backend_ldap_add_client): Return a gboolean success code. Also, call pas_backend_last_client_gone() if appropriate. (PASBackendLDAPPrivate): New uri field. (pas_backend_ldap_get_uri): Implement the get_uri method. (pas_backend_ldap_load_uri): Store the uri in the private structure. (pas_backend_ldap_destroy): Free the bl->priv->uri. svn path=/trunk/; revision=2705
* added e-ldap-server-dialog.c (glade_DATA): added ldap-server-dialog.gladeChris Toshok2000-05-016-31/+556
| | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/Makefile.am (evolution_addressbook_SOURCES): added e-ldap-server-dialog.c (glade_DATA): added ldap-server-dialog.glade * gui/component/ldap-server-dialog.glade: new file. * gui/component/e-ldap-server-dialog.h: new file. * gui/component/e-ldap-server-dialog.c: new file, contains logic associated with ldap server dialog. * gui/component/addressbook.c (control_deactivate): remove the directory server menu item. (null_cb): do nothing callback for e_book_load_uri call. should change to (at the very least) pop up a dialog if there was an error. (new_server_cb): new function - really just switches to a particular ldap server, since the information isn't saved anywhere. (control_activate): add directory server menu item. svn path=/trunk/; revision=2700
* create the book listener here, since it's destroyed in unload_uri.Chris Toshok2000-05-012-12/+18
| | | | | | | | * backend/ebook/e-book.c (e_book_load_uri): create the book listener here, since it's destroyed in unload_uri. (e_book_construct): remove the book listener construction here. svn path=/trunk/; revision=2699
* Added load-pine-addressbook.Christopher James Lahey2000-05-012-0/+5
| | | | | | | | 2000-04-30 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/.cvsignore: Added load-pine-addressbook. svn path=/trunk/; revision=2698
* Made some fields invisible that were visible before.Christopher James Lahey2000-05-017-18/+48
| | | | | | | | | | 2000-04-30 Christopher James Lahey <clahey@helixcode.com> * contact-editor/contact-editor.glade, contact-editor/e-contact-editor.c, gui/minicard/e-minicard.c: Made some fields invisible that were visible before. svn path=/trunk/; revision=2697
* From addressbook/ChangeLogChristopher James Lahey2000-05-0110-60/+693
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-30 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card.c: Make file as not have the : after it if it's empty. If there's no name, or file_as, fill in these fields with defaults based on full_name or name respectively. * backend/ebook/load-pine-addressbook.c: New file to do import of pine .addressbook files. * backend/pas/pas-backend-file.c: Made empty fields act as the empty string for searches. * contact-editor/e-contact-editor.c, contact-editor/e-contact-editor.h: Made the File As field update properly as you edit the name and company fields. Added the pull down list of File As choices. Made sure that all fields will be set to NULL if they are deleted to the empty string. * gui/minicard/e-minicard.c: Use the File As field instead of the Full Name field for the header. Make identical compares on the File As field do a compare on the uid. From wombat/ChangeLog 2000-04-30 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added ename libs to LDADD. svn path=/trunk/; revision=2696
* Fixed a string mismatch.Christopher James Lahey2000-04-305-4/+9
| | | | | | | | | 2000-04-30 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor-fullname.c, contact-editor/fullname.glade: Fixed a string mismatch. svn path=/trunk/; revision=2690
* Added ename includes and libs.Christopher James Lahey2000-04-3012-642/+599
| | | | | | | | | | | | | | | | | | | | | | | | 2000-04-30 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am: Added ename includes and libs. * backend/ebook/e-card.c, backend/ebook/e-card.h: Added e_card_name_from_string. Added header for e_card_delivery_address_from_string, even though it's not implemented yet. * contact-editor/Makefile.am: Removed the ename includes since we no longer use ename directly here. * contact-editor/e-contact-editor.c: Fixed this to properly save the address labels displayed. Updated this to use the function e_card_name_from_string instead of doing it by hand. * contact-editor/fullname-strings.h, contact-editor/fullname.glade: Deleted an unused field. Changed the set of prefixes and suffixes. svn path=/trunk/; revision=2689
* add support for a rootdn in the uri.Chris Toshok2000-04-302-3/+17
| | | | | | | | | | | | * backend/pas/pas-backend-ldap.c (pas_backend_ldap_ensure_connected): add support for a rootdn in the uri. (pas_backend_ldap_build_all_cards_list): make use of the rootdn in the call to ldap_search_s. (pas_backend_ldap_search): same. (pas_backend_ldap_load_uri): get the rootdn out of the passed in uri. svn path=/trunk/; revision=2688
* Added e_card_phone_new e_card_delivery_address_new,Christopher James Lahey2000-04-3021-88/+1819
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-29 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card.c, backend/ebook/e-card.h: Added e_card_phone_new e_card_delivery_address_new, e_card_delivery_address_to_string, e_card_name_copy, e_card_name_new, e_card_name_to_string, and made e_card_name_free public. Removed some unused code. * backend/pas/pas-backend-file.c: Fixed a warning. * contact-editor/Makefile.am: Added e-contact-editor-fullname.[ch] and fullname.glade. Added e-name libs and includes. * contact-editor/e-contact-editor-fullname.c, contact-editor/e-contact-editor-fullname.h, contact-editor/fullname-strings.h, contact-editor/fullname.glade: New dialog for editing the fields of a name separately. * contact-editor/e-contact-editor.c, contact-editor/e-contact-editor.h: Create an EContactEditorFullname when you click on the Full Name button. Maintain a parsed name at all times. * gui/component/Makefile.am, gui/minicard/Makefile.am: Added e-name libs. svn path=/trunk/; revision=2683
* fix the `USING_OAF' changes so that they work for when we are not usingLarry Ewing2000-04-292-1/+8
| | | | | | | | | | 2000-04-28 Larry Ewing <lewing@helixcode.com> * backend/pas/pas-book-factory.c (register_factory): fix the `USING_OAF' changes so that they work for when we are not using oaf. svn path=/trunk/; revision=2678
* Made Evolution OAF-compatible.Ettore Perazzoli2000-04-2814-71/+291
| | | | svn path=/trunk/; revision=2673
* Added addressbook/ename/Makefile.Christopher James Lahey2000-04-2815-288/+735
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-27 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added addressbook/ename/Makefile. From addressbook/ChangeLog: 2000-04-27 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card.c, backend/ebook/e-card.h: Added file as, office, manager, assistant, spouse, and anniversary fields. These all use "X-EVOLUTION-" fields in the VCards. * backend/pas/pas-backend-file.c: Added all the new fields (except anniversary) to the list of fields. * contact-editor/contact-editor.glade, contact-editor/e-contact-editor-strings.h: Fixed some misnamed fields and fixed the placement of the comments field. * contact-editor/e-contact-editor.c: Made the newly added fields display properly. * Makefile.am: Added ename. * ename/e-name-western.h, ename/test-ename-western-gtk.c, ename/test-ename-western.c: Fixed up some #includes. * ename/.cvsignore: Added .cvsignore. svn path=/trunk/; revision=2658
* Oops, forgot this.Nat Friedman2000-04-271-0/+856
| | | | svn path=/trunk/; revision=2657
* Added an address label field.Christopher James Lahey2000-04-2712-844/+737
| | | | | | | | | | | | | | | | | 2000-04-26 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card-types.h, backend/ebook/e-card.c, backend/ebook/e-card.h: Added an address label field. * contact-editor/contact-editor.glade, contact-editor/e-contact-editor-strings.h: Got rid of some unused fields. * contact-editor/e-contact-editor.c, contact-editor/e-contact-editor.h: Added the address label field. Load only. Editing these fields seems to mess things up. svn path=/trunk/; revision=2646
* Added proper handling of the email field.Christopher James Lahey2000-04-263-48/+145
| | | | | | | | | 2000-04-26 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor.c: Added proper handling of the email field. svn path=/trunk/; revision=2626
* Prefixed the ADDR_ flags.Christopher James Lahey2000-04-2613-678/+714
| | | | | | | | | | | | | | | | | | 2000-04-26 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card-types.h, backend/ebook/e-card.c, gui/minicard/e-minicard.c: Prefixed the ADDR_ flags. * contact-editor/contact-editor.glade, contact-editor/e-contact-editor-strings.h: Edited the glade file. Removed all the fields that we don't use. * contact-editor/e-contact-editor.c, contact-editor/e-contact-editor.h: Made the phone fields work properly. The address and email fields are temporarily turned off until they can be made to work as the phone fields do. svn path=/trunk/; revision=2625
* The Joy of Broken Makefiles Part #3.Ettore Perazzoli2000-04-264-4/+11
| | | | svn path=/trunk/; revision=2610
* The Joy of Broken Makefiles Part #2.Ettore Perazzoli2000-04-262-17/+16
| | | | svn path=/trunk/; revision=2609
* Use "e-minicard" as the log domain.Federico Mena Quintero2000-04-2163-253/+287
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-18 Federico Mena Quintero <federico@helixcode.com> * gui/minicard/Makefile.am (INCLUDES): Use "e-minicard" as the log domain. * gui/component/Makefile.am (INCLUDES): Use "evolution-addressbook" as the log domain. * backend/pas/Makefile.am: Build libpas.a, not a shared library. Do not install any header files. (INCLUDES): Remove spurious include paths. * backend/pas/*.[ch]: Fix includes. * backend/ebook/Makefile.am: Do not install the test programs. Fixed some include weirdness. * backend/ebook/*.[ch]: Fix includes. * contact-editor/Makefile.am (INCLUDES): Set the log domain to "contact-editor". (INCLUDES): Fix. * contact-editor/*.[ch]: Fix includes. * gui/minicard/*.[ch]: Fix includes. svn path=/trunk/; revision=2529
* ssshhhhSeth Alves2000-04-211-0/+3
| | | | svn path=/trunk/; revision=2526
* Started ChangeLog here - FedericoFederico Mena Quintero2000-04-181-0/+3
| | | | svn path=/trunk/; revision=2476
* Updated - FedericoFederico Mena Quintero2000-04-171-4/+0
| | | | svn path=/trunk/; revision=2467
* No longer needed - FedericoFederico Mena Quintero2000-04-171-55/+0
| | | | svn path=/trunk/; revision=2466
* Added orginizational unit, nickname, and internet free-busy fields.Christopher James Lahey2000-04-178-6/+206
| | | | | | | | | | | | | | | | 2000-04-16 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h, addressbook/backend/ebook/test-card.c, addressbook/backend/pas/pas-backend-file.c, addressbook/contact-editor/e-contact-editor.c: Added orginizational unit, nickname, and internet free-busy fields. * addressbook/contact-editor/contact-editor.glade: Renamed some incorrectly named fields. svn path=/trunk/; revision=2464
* Added orginization and role fields.Christopher James Lahey2000-04-1614-185/+426
| | | | | | | | | | | | | | | | | | | | | | | 2000-04-16 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h, addressbook/backend/ebook/test-card.c, addressbook/backend/pas/pas-backend-file.c, addressbook/gui/minicard/e-minicard.c: Added orginization and role fields. * addressbook/contact-editor/contact-editor.glade, addressbook/contact-editor/e-contact-editor-strings.h: Renamed some incorrectly named fields. * addressbook/contact-editor/e-contact-editor.c: Added orginization and role fields as well as hooking up the birth date field. * addressbook/gui/minicard/e-minicard-view.c: Added a missing include. svn path=/trunk/; revision=2458
* + * addressbook/gui/component/addressbook.cMatthew Loper2000-04-161-7/+66
| | | | | | | | | | | | | | | | + (search_entry_activated): New function. Gets called when the quick + search entry is called on to perform a search. + (make_quick_search_widget): New function; returns a "quick search" + widget. + (control_activate): During the construction of the toolbar, a + "quick search" widget is included. + + * e-table.c (et_xml_to_header): sanity-check our parameters. + (et_grouping_xml_to_sort_info): same. + (et_real_construct): Bail if we couldn't get the children we + wanted. svn path=/trunk/; revision=2455
* Added a note field.Christopher James Lahey2000-04-156-24/+67
| | | | | | | | | | | | | | | | | | | 2000-04-14 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h, addressbook/backend/pas/pas-backend-file.c, addressbook/backend/pas/pas-backend-ldap.c, addressbook/contact-editor/e-contact-editor.c: Added a note field. From shell/ChangeLog: 2000-04-14 Christopher James Lahey <clahey@helixcode.com> * e-shell-view.c: Made the left pane of the shell view not autoresize. svn path=/trunk/; revision=2444
* Fix compilation with builddir != srcdir (again).Ettore Perazzoli2000-04-155-10/+13
| | | | svn path=/trunk/; revision=2441
* don't ldap_simple_bind_s if the ldap_open failed, and fix warnings.Chris Toshok2000-04-151-44/+52
| | | | | | | | | | | | | | | * addressbook/backend/pas/pas-backend-ldap.c (pas_backend_ldap_ensure_connected): don't ldap_simple_bind_s if the ldap_open failed, and fix warnings. (pas_backend_ldap_build_all_cards_list): don't do search if the ensure_connected failed, and fix warnings. (pas_backend_ldap_search): same. (poll_ldap): fix warnings. (pas_backend_ldap_process_get_book_view): same. (pas_backend_ldap_get_vcard): same. (pas_backend_ldap_load_uri): same. svn path=/trunk/; revision=2429
* Check for 0 length fields when building the outgoing ECard.Christopher James Lahey2000-04-132-76/+112
| | | | | | | | | 2000-04-13 Christopher James Lahey <clahey@helixcode.com> * addressbook/contact-editor/e-contact-editor.c (extract_info): Check for 0 length fields when building the outgoing ECard. svn path=/trunk/; revision=2422
* Give correct warnings.Christopher James Lahey2000-04-132-6/+6
| | | | | | | | | | | 2000-04-13 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/pas/pas-book-view.c: Give correct warnings. * addressbook/backend/ebook/e-card.c (e_card_set_arg): g_strdup url and title. svn path=/trunk/; revision=2421
* reflect the title attribute in the contact editor. (extract_info): same.Chris Toshok2000-04-132-0/+26
| | | | | | | | * addressbook/contact-editor/e-contact-editor.c (fill_in_info): reflect the title attribute in the contact editor. (extract_info): same. svn path=/trunk/; revision=2420
* add the title attribute.Chris Toshok2000-04-131-0/+1
| | | | | | * addressbook/backend/pas/pas-backend-ldap.c: add the title attribute. svn path=/trunk/; revision=2419
* add a title.Chris Toshok2000-04-134-0/+18
| | | | | | | | | * addressbook/gui/minicard/test-reflow.c: add a title. * addressbook/gui/minicard/e-minicard.c (remodel): add support for the title attribute. svn path=/trunk/; revision=2418
* save out the title to the vcard.Chris Toshok2000-04-131-1/+4
| | | | | | | * addressbook/backend/ebook/e-card.c (e_card_get_vcard): save out the title to the vcard. svn path=/trunk/; revision=2417
* add title field foo to the test.Chris Toshok2000-04-133-2/+36
| | | | | | | | | | | * addressbook/backend/ebook/test-card.c: add title field foo to the test. * addressbook/backend/ebook/e-card.c: reflect the title field. * addressbook/backend/ebook/e-card.h: un-#if 0 the title field. svn path=/trunk/; revision=2416
* make sure to g_source_remove the idle id.Chris Toshok2000-04-131-0/+2
| | | | | | | * addressbook/backend/pas/pas-backend-ldap.c (view_destroy): make sure to g_source_remove the idle id. svn path=/trunk/; revision=2415
* new function that polls ldap for more search responses.Chris Toshok2000-04-131-73/+99
| | | | | | | | | * addressbook/backend/pas/pas-backend-ldap.c (poll_ldap): new function that polls ldap for more search responses. (pas_backend_ldap_search): use the async search interface and register an idle call to poll for the responses. svn path=/trunk/; revision=2414
* rework this function to use a table mapping search field names to vcardChris Toshok2000-04-132-65/+132
| | | | | | | | | | | | | | | | | | | * addressbook/backend/pas/pas-backend-file.c (entry_compare): rework this function to use a table mapping search field names to vcard properties and extra information (such as whether or not the property is a list.) * addressbook/backend/pas/pas-backend-ldap.c (construct_email_list): new function, to build the ECardList for email addresses. (construct_phone_list): new function, to build the ECardList for phone numbers. (pas_backend_ldap_search): use a table mapping ldap attributes to ecard properties, and use the special list construction functions if the property calls for it. general cleanup. added a comment about not calling ber_free if there was a decoding error. svn path=/trunk/; revision=2411
* + * art/Makefile.am: Add tigert's contact-dlg-related images.Matthew Loper2000-04-124-12/+18
| | | | | | | | | | | | | | | | + + * addressbook/contact-editor/e-contact-editor.c (_add_images): Add + tigert's images. + + * addressbook/contact-editor/Makefile.am: add EVOLUTION_IMAGES. + + * camel-folder-pt-proxy.c (_folder_open_cb): Print warning message + for broken function. + (_folder_close_cb): Same. + + * filter-arg.c (filter_arg_edit_value): Return a value. svn path=/trunk/; revision=2408
* delay the setting of the ldap variable until we've ensured we wereChris Toshok2000-04-121-11/+31
| | | | | | | | | | | | | | * addressbook/backend/pas/pas-backend-ldap.c (pas_backend_ldap_build_all_cards_list): delay the setting of the ldap variable until we've ensured we were connected. Also, set the search limit to LDAP_MAX_SEARCH_RESPONSES (we'll eventually want a user setting here i assume.) (pas_backend_ldap_search): same here, and also send back lists of CARDS_PER_VIEW_NOTIFICATION length in each pas_book_view_notify_add call. also, don't call ber_free if there was a decoding error, since the ldap library frees it for us. svn path=/trunk/; revision=2406
* add LDAP_LIBS here.Chris Toshok2000-04-122-85/+498
| | | | | | | | | | | | | | | | | | * wombat/Makefile.am (wombat_LDADD): add LDAP_LIBS here. * configure.in: check for -lldap and -llber and if both are present include ldap support in the pas/wombat. * addressbook/backend/pas/Makefile.am (libpas_la_SOURCES): include pas-backend.ldap.c if ENABLE_LDAP. * addressbook/backend/pas/pas-backend-ldap.c: get searching working (converting between the sexp and ldap stuff.) * wombat/wombat.c (setup_pas): register the ldap pas backend if HAVE_LDAP is defined. svn path=/trunk/; revision=2401
* free the esexp_result. (entry_compare): we want comparison functions toChris Toshok2000-04-121-1/+3
| | | | | | | | * addressbook/backend/pas/pas-backend-file.c (vcard_matches_search): free the esexp_result. (entry_compare): we want comparison functions to take 2 args. svn path=/trunk/; revision=2395
* new function for searching all email addresses of a contact.Chris Toshok2000-04-121-5/+83
| | | | | | | | | | | | | | * addressbook/backend/pas/pas-backend-file.c (compare_email): new function for searching all email addresses of a contact. (compare_phone): new function for searching all phone numbers of a contact. (compare_address): new function for searching all addresses of a contact (unimplemented as yet). (entry_compare): add support for searching the list items "email", "phone" and "address". svn path=/trunk/; revision=2393
* new function, taking code from func_contains to get string properties.Chris Toshok2000-04-111-12/+89
| | | | | | | | | | | | | | | | | | * addressbook/backend/pas/pas-backend-file.c (get_e_card_prop): new function, taking code from func_contains to get string properties. (entry_compare): new function generic, taking strstr-like function as a parameter. (func_contains): rewrite function to use entry_compare. (is_helper): new helper function to map strcmp to a strstr-like function. (func_is): new function, implementing "is" for searches. (endswith_helper): new function. (func_endswith) new function, implementing "endswith" for searches. (beginswith_helper): new function. (func_beginswith): new function, implementing "beginswith" for searches. svn path=/trunk/; revision=2392
* This was setting E_REFLOW(view)->items to NULL too soon. Fixed now.Christopher James Lahey2000-04-112-6/+4
| | | | | | | | | 2000-04-11 Christopher James Lahey <clahey@helixcode.com> * addressbook/gui/minicard/e-minicard-view.c: This was setting E_REFLOW(view)->items to NULL too soon. Fixed now. svn path=/trunk/; revision=2389
* remove spew. (pas_backend_file_process_create_card): move the sync to theChris Toshok2000-04-111-14/+14
| | | | | | | | | | | | * addressbook/backend/pas/pas-backend-file.c (pas_backend_file_search): remove spew. (pas_backend_file_process_create_card): move the sync to the earliest possible point after the db operation. (pas_backend_file_process_remove_card): same. (pas_backend_file_process_modify_card): same, and call pas_book_respond_modify, not pas_book_respond_remove, here. svn path=/trunk/; revision=2388
* new function. (delete_contact_cb): wire up button to callChris Toshok2000-04-113-9/+23
| | | | | | | | | | | | | * addressbook/gui/component/addressbook.c (card_deleted_cb): new function. (delete_contact_cb): wire up button to call e_minicard_view_remove_selection. * addressbook/gui/minicard/e-minicard-view.c (e_minicard_view_remove_selection): fix warning, and stick "view" in the name. svn path=/trunk/; revision=2387
* Changed some incorrect gtk_object_refs and gtk_object_unrefs intoChristopher James Lahey2000-04-118-5/+68
| | | | | | | | | | | | | | | | | | | | | | 2000-04-10 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/e-book-view.c, addressbook/backend/ebook/e-book.c: Changed some incorrect gtk_object_refs and gtk_object_unrefs into bonobo_object_refs and bonobo_object_unrefs. * addressbook/backend/pas/pas-card-cursor.c: Changed a gtk_object_destroy to a gtk_object_unref. * addressbook/gui/minicard/e-minicard-view.c, addressbook/gui/minicard/e-minicard-view.h: Set a list pointer to NULL after freeing its contents. Added e_minicard_view_remove_selection function. * addressbook/gui/minicard/e-reflow.c: Set a list pointer to NULL after freeing its contents. svn path=/trunk/; revision=2386
* implement braindead dialog to input the query string for the view.Chris Toshok2000-04-113-9/+44
| | | | | | | | | | | | | * addressbook/gui/component/addressbook.c (find_contact_cb): implement braindead dialog to input the query string for the view. also, change all callbacks to get the EMinicardView instead of the EBook. * addressbook/gui/minicard/e-minicard-view.c (e_minicard_view_get_arg): add missing break. svn path=/trunk/; revision=2384
* Added a "query" argument to the e-minicard-view. Documented all theChristopher James Lahey2000-04-114-44/+88
| | | | | | | | | | | 2000-04-10 Christopher James Lahey <clahey@helixcode.com> * addressbook/gui/minicard/e-minicard-view.c, addressbook/gui/minicard/e-minicard-view.h: Added a "query" argument to the e-minicard-view. Documented all the arguments to the e-minicard-view. svn path=/trunk/; revision=2383
* change the empty search string ("") to the valid (contains "full_name"Chris Toshok2000-04-114-80/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * addressbook/gui/minicard/e-minicard-view.c (get_view): change the empty search string ("") to the valid (contains "full_name" ""). * wombat/Makefile.am (wombat_LDADD): reorder so libeutil.la comes after libpas (since it uses the sexp stuff now.) * addressbook/backend/pas/Makefile.am (INCLUDES): add -I$(top_srcdir)/addressbook/backend/ebook * addressbook/backend/pas/pas-backend-file.c (view_destroy): free the search context and unref the sexp. (string_to_dbt): save the zero byte of strings, so we don't have to g_strndup everywhere. (func_contains): new function, implementing the (contains) search function. (vcard_matches_search): generic predicate to tell whether or not a vcard entry matches the current book view. (pas_backend_file_search): rip some of this code out of get_book_view (the portion building the list of cards) and make it use the e-sexp stuff. (pas_backend_file_process_create_card): use vcard_matches_search to only notify if the card will appear in the view. (pas_backend_file_process_remove_card): use vcard_matches_search to only notify if the card will be removed from the view. (pas_backend_file_process_modify_card): use vcard_matches_search to notify if the modified card was added, removed, or changed in the view. svn path=/trunk/; revision=2382
* use view != NULL instead of checking db_error when we callChris Toshok2000-04-111-1/+1
| | | | | | | | * addressbook/backend/pas/pas-backend-file.c (pas_backend_file_process_get_book_view): use view != NULL instead of checking db_error when we call pas_book_respond_get_book_view) svn path=/trunk/; revision=2375
* Fixed a bug where I was sending the wrong information to some callbacks.Christopher James Lahey2000-04-1015-298/+619
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-10 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/e-book-view.c: Fixed a bug where I was sending the wrong information to some callbacks. * addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h: Added an e_card_duplicate function. Made ids get stored in vcards. Made sure to delete the url if it exists. * addressbook/backend/pas/Makefile.am: Made pas include addressbook/backend/ebook/ in the search path. * addressbook/backend/pas/pas-backend-file.c: Fixed some bugs and made the create card function store the generated id in the card being saved. * addressbook/backend/pas/pas-book-view.c: Fixed a double free bug. * addressbook/contact-editor/e-contact-editor.c: Fixed some bugs. Made the contact editor actually return a valid card when gtk_object_get(editor, "card", ...) is called. * addressbook/contact-editor/e-contact-editor.h: Fixed a copy and paste error. * addressbook/gui/component/addressbook.c: Made this get the card properly. * addressbook/gui/minicard/Makefile.am: Made this include contact-editor directory in the search path and link against libecontacteditor so that double clicking can open a dialog. * addressbook/gui/minicard/e-minicard.c: Fixed some small bugs. Made double clicking open a contact editor dialog if this minicard is contained in a minicard view. (It needs the minicard view to get the EBook to save to. * wombat/Makefile.am: Link wombat against libebook, since pas-backend-file now uses ECard. svn path=/trunk/; revision=2360
* + * addressbook/gui/component/addressbook.c (control_activate): MakeMatthew Loper2000-04-101-3/+3
| | | | | | | | | + "New Contact" menuitem add a card with new_contact_cb(). + + * e-shell-view.c (e_shell_view_setup): Set the default height + bigger, to 600, so that everything in the shortcut-bar shows up. svn path=/trunk/; revision=2353
* + * addressbook/Makefile.am: Compile contact-editor, _then_ gui,Matthew Loper2000-04-106-21/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + since the gui now depends on the contact editor (shouldn't the + contact-editor directory be moved into 'gui'?). + + * addressbook/gui/component/addressbook.c (card_added_cb): New + function. Gets called when a card is successfully added via the + contact-editor. + (new_contact_cb): New function. Gets called when a user clicks the + "new contact" button on the toolbar, and creates a contact-editor + to edit a new contact entry. + (control_activate): Call gnome_app_fill_toolbar_with_data() + instead of gnome_app_fill_toolbar(), so that our toolbar can find + the right book to add a new card to. + (addressbook_factory): On an "activate" signal, send the book up + to control_activate_cb. + + * addressbook/gui/component/addressbook-factory.c (init_bonobo): + Call glade_gnome_init(), so that our contact-editor (which + requires glade) doesn't barf. + + * addressbook/gui/component/Makefile.am: added the contact-editor + to our libraries and include files. + + * addressbook/contact-editor/e-contact-editor.c + (e_contact_editor_new): Set "card" gtk property to the passed-in + card property. svn path=/trunk/; revision=2351
* + * addressbook/gui/component/addressbook.c (addressbook_factory):Matthew Loper2000-04-091-17/+30
| | | | | | | | | | | | | | | + Added gtk_widget_push/pop_colormap/visual, which I assume is + necessary for canvas use. + + * folder-browser.c (folder_browser_new): set folder_browser->uri + to NULL, so that we know when to free it. + + * e-table-col.c (e_table_col_new_with_pixbuf): ref etc->ecell, + like in e_table_col_new, since that same ECell is unref'd in + etc_destroy(). + svn path=/trunk/; revision=2350
* Made the contact editor load from an ECard.Christopher James Lahey2000-04-0912-118/+444
| | | | | | | | | | | | | | | | | 2000-04-08 Christopher James Lahey <clahey@helixcode.com> * addressbook/contact-editor/Makefile.am, addressbook/contact-editor/e-contact-editor.c, addressbook/contact-editor/e-contact-editor.h, addressbook/contact-editor/test-editor.c: Made the contact editor load from an ECard. * addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h, addressbook/gui/minicard/e-minicard.c: Added support for the URL field. svn path=/trunk/; revision=2349
* Fixed a small typo.Christopher James Lahey2000-04-091-1/+1
| | | | | | | | | 2000-04-08 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/e-card.c (e_card_get_vcard): Fixed a small typo. svn path=/trunk/; revision=2347
* CVS move mistake. Fixed the correct changes in the correct places.Christopher James Lahey2000-04-0919-227/+1742
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-08 Christopher James Lahey <clahey@helixcode.com> * addressbook/gui/minicard/.cvsignore, addressbook/gui/minicard/Makefile.am, addressbook/gui/minicard/e-minicard-view.c, addressbook/gui/minicard/e-minicard-view.h, addressbook/gui/minicard/e-minicard.c, addressbook/gui/minicard/e-minicard.h, addressbook/gui/minicard/e-reflow-sorted.c, addressbook/gui/minicard/e-reflow-sorted.h, addressbook/gui/minicard/e-reflow.c, addressbook/gui/minicard/e-reflow.h, addressbook/gui/minicard/test-minicard-view.c, addressbook/gui/minicard/test-reflow.c, widgets/e-minicard/.cvsignore, widgets/e-minicard/Makefile.am, widgets/e-minicard/e-minicard-label.c, widgets/e-minicard/e-minicard-label.h, widgets/e-minicard/e-minicard-view.c, widgets/e-minicard/e-minicard-view.h, widgets/e-minicard/e-minicard.c, widgets/e-minicard/e-minicard.h, widgets/e-minicard/e-reflow-sorted.c, widgets/e-minicard/e-reflow-sorted.h, widgets/e-minicard/e-reflow.c, widgets/e-minicard/e-reflow.h, widgets/e-minicard/test-minicard-label.c, widgets/e-minicard/test-minicard-view.c, widgets/e-minicard/test-minicard.c, widgets/e-minicard/test-reflow.c: CVS move mistake. Fixed the correct changes in the correct places. svn path=/trunk/; revision=2344