aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a crash error.Christopher James Lahey2000-09-123-32/+50
| | | | | | | | 2000-09-11 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor.c: Fixed a crash error. svn path=/trunk/; revision=5342
* Fixed some warnings.Christopher James Lahey2000-09-122-3/+9
| | | | | | | | 2000-09-11 Christopher James Lahey <clahey@helixcode.com> * ename/e-address-western.c: Fixed some warnings. svn path=/trunk/; revision=5333
* *** empty log message ***Jesse Pavel2000-09-122-9/+90
| | | | svn path=/trunk/; revision=5324
* Made this a bit better balanced.Christopher James Lahey2000-09-115-3/+18
| | | | | | | | | | | | | | 2000-09-11 Christopher James Lahey <clahey@helixcode.com> * contact-editor/fulladdr.glade: Made this a bit better balanced. * gui/component/addressbook.c: Make the toolbar button for find do the same thing that the menu item for search does. * gui/search/e-addressbook-search-dialog.c: Made the top half of this not expand. svn path=/trunk/; revision=5321
* Removed a bunch of redundant code. Made it so that when you set an addressChristopher James Lahey2000-09-1131-680/+2268
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-11 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h: Removed a bunch of redundant code. Made it so that when you set an address label, it sets the delivery address as well. Added functions to set and get the delivery address. * backend/ebook/e-card.c, backend/ebook/e-card.h: Added code to convert and address label to a delivery address. * contact-editor/Makefile.am: Added e-contact-editor-address.[ch], fulladdr.glade, fulladdr.glade.h. * contact-editor/contact-editor.glade, contact-editor/e-contact-editor-strings.h: Switched from a label to a button to show the parsed address. * contact-editor/e-contact-editor-address.c, contact-editor/e-contact-editor-address.h: New class to implement the parsed address dialog. * contact-editor/e-contact-editor-fullname.c, contact-editor/e-contact-editor-fullname.h: Added const to the _new function. * contact-editor/e-contact-editor.c: Implemented clicking on the address button. * contact-editor/fulladdr.glade, contact-editor/fulladdr.glade.h: New glade files for the parsed address dialog. * contact-editor/fullname-strings.h, fullname.glade: Changed these accellabels to labels. * ename/Makefile.am: Added e-address-western.c. * ename/e-address-western.c: Fixed some warnings. svn path=/trunk/; revision=5317
* Fixed a bug regarding the extraction of the region.Jesse Pavel2000-09-111-3/+21
| | | | svn path=/trunk/; revision=5302
* Some UTF-8 fixes and experimental 16-bit unicode font supportLauris Kaplinski2000-09-095-18/+22
| | | | svn path=/trunk/; revision=5279
* *** empty log message ***Jesse Pavel2000-09-092-0/+393
| | | | svn path=/trunk/; revision=5278
* Fixed a few warnings.Christopher James Lahey2000-09-093-0/+6
| | | | | | | | 2000-09-08 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor-categories.c: Fixed a few warnings. svn path=/trunk/; revision=5262
* Preliminaries for new UI handler.Michael Meeks2000-09-082-1/+66
| | | | svn path=/trunk/; revision=5245
* A bit more e_utf8 wrappers here and thereLauris Kaplinski2000-09-025-10/+16
| | | | svn path=/trunk/; revision=5180
* Changed `Evolution::Storage' so that the displayed name for a folderEttore Perazzoli2000-09-012-2/+9
| | | | | | | is decoupled from its path, and updated all the components accordingly. svn path=/trunk/; revision=5159
* Get the conduit to compile on my system.Ettore Perazzoli2000-09-012-2/+9
| | | | svn path=/trunk/; revision=5156
* Install load-gnomecard-addressbook and load-pine-addressbook.Christopher James Lahey2000-08-312-1/+8
| | | | | | | | | 2000-08-31 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am: Install load-gnomecard-addressbook and load-pine-addressbook. svn path=/trunk/; revision=5141
* Made it compilable both with gnome-print 0.20 and 0.21+Lauris Kaplinski2000-08-312-29/+34
| | | | svn path=/trunk/; revision=5126
* Add a name to the minicard viewer.Dan Winship2000-08-314-0/+11
| | | | | | | * gui/component/addressbook.oafinfo: Add a name to the minicard viewer. svn path=/trunk/; revision=5117
* Remove USING_OAF checksDan Winship2000-08-308-155/+22
| | | | svn path=/trunk/; revision=5099
* Use the right argument name to turn on grid lines.Christopher James Lahey2000-08-292-6/+12
| | | | | | | | | 2000-08-28 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Use the right argument name to turn on grid lines. svn path=/trunk/; revision=5087
* Comment out minicard-view-test since its gnorba dependentJP Rosevear2000-08-263-36/+41
| | | | | | | | | 2000-08-26 JP Rosevear <jpr@helixcode.com> * gui/minicard/Makefile.am: Comment out minicard-view-test since its gnorba dependent svn path=/trunk/; revision=5054
* Die gnorba die.JP Rosevear2000-08-266-45/+13
| | | | | | | | | | | | | | | | | | 2000-08-26 JP Rosevear <jpr@helixcode.com> Die gnorba die. * gui/component/addressbook-component.c: Remove gnorba stuff * gui/minicard/e-minicard-control.c (e_minicard_control_factory_init): ditto * gui/component/addressbook.c: ditto * gui/component/addressbook-factory.c: ditto svn path=/trunk/; revision=5053
* demo/* Removed the demo directory since it's no longer used.Christopher James Lahey2000-08-2613-1845/+4
| | | | | | | | 2000-08-25 Christopher James Lahey <clahey@helixcode.com> * demo/* Removed the demo directory since it's no longer used. svn path=/trunk/; revision=5052
* Remove gnorba stuffJP Rosevear2000-08-264-34/+6
| | | | | | | | | | 2000-08-26 JP Rosevear <jpr@helixcode.com> * gui/minicard/Makefile.am: Remove gnorba stuff * gui/minicard/e-minicard-control.gnorba: Kill svn path=/trunk/; revision=5051
* KillJP Rosevear2000-08-263-30/+7
| | | | | | | | | | 2000-08-26 JP Rosevear <jpr@helixcode.com> * gui/component/addressbook.gnorba: Kill * gui/component/Makefile.am: Remove gnorba stuff svn path=/trunk/; revision=5050
* Add -export-dynamic so libglade will be able to resolve custom widgetDan Winship2000-08-262-1/+7
| | | | | | | | * gui/component/Makefile.am (evolution_addressbook_LDFLAGS): Add -export-dynamic so libglade will be able to resolve custom widget callbacks. svn path=/trunk/; revision=5042
* Unicode in addressbook basically works, including simple searchingLauris Kaplinski2000-08-249-17/+48
| | | | svn path=/trunk/; revision=4997
* Fix this to not mess up if the person passes a VCard with a carriageChristopher James Lahey2000-08-233-1/+10
| | | | | | | | | | | | 2000-08-22 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card.c: Fix this to not mess up if the person passes a VCard with a carriage return in the mailing address. * gui/search/e-addressbook-search-dialog.c: Fix an error in the arguments to rule_context_load. svn path=/trunk/; revision=4983
* Link with filter library.Michael Zucci2000-08-231-2/+3
| | | | svn path=/trunk/; revision=4982
* Missing commit, changes for search gui to link.Michael Zucci2000-08-231-0/+7
| | | | svn path=/trunk/; revision=4981
* Fixed fullname->full_name for search field.Not Zed2000-08-235-13/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-08-14 Not Zed <NotZed@HelixCode.com> * gui/search/addresstypes.xml: Fixed fullname->full_name for search field. * gui/search/e-addressbook-search-dialog.c (get_widget): Check we actually got any parts to build the dialogue with. 2000-08-13 Not Zed <NotZed@HelixCode.com> * gui/component/addressbook-component.c (owner_set_cb): Set the global_shell_client nastyhack when we know it. This is only required to link with the filter code ... * gui/component/Makefile.am (evolution_addressbook_LDADD): Added libfilter.a to the link line. * gui/search/Makefile.am (noinst_LIBRARIES): Change library name from libaddressbooksearchdialog to libaddressbooksearch, as used elsewhere. * gui/search/e-addressbook-search-dialog.c (get_widget): Implement. (get_query): Likewise. (e_addressbook_search_dialog_destroy): Unref filter stuff when done. * gui/component/addressbook.c (control_deactivate): Added chris's patch to put the meny in svn path=/trunk/; revision=4980
* UTF-8 in contact editor + some fixes for dealing with illegal stringsLauris Kaplinski2000-08-233-58/+134
| | | | svn path=/trunk/; revision=4976
* Started adding a time zone field to ECard.Christopher James Lahey2000-08-236-0/+19
| | | | | | | | | | | | | 2000-08-22 Christopher James Lahey <clahey@helixcode.com> * backend/e-card.h: Started adding a time zone field to ECard. * gui/component/e-addressbook-model.c: Added e_table_model_pre_change where appropriate. * gui/minicard/e-minicard-control.c: Added a ref and unref pair. svn path=/trunk/; revision=4971
* Linked in the search dialog again. It looks like some changes in the shellChristopher James Lahey2000-08-222-3/+15
| | | | | | | | | 2000-08-22 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Linked in the search dialog again. It looks like some changes in the shell made this not work. svn path=/trunk/; revision=4916
* many fixes to make it compile with strange prefixes...Mathieu Lacage2000-08-211-1/+1
| | | | | | | neither mail nor the calendar components work though... evil stuff. svn path=/trunk/; revision=4892
* Moved e-text to UTF-8Lauris Kaplinski2000-08-202-4/+4
| | | | svn path=/trunk/; revision=4886
* Changed this to use ECardSimple.Christopher James Lahey2000-08-208-79/+194
| | | | | | | | | | | | | | | | | 2000-08-19 Christopher James Lahey <clahey@helixcode.com> * conduit/address-conduit.c, conduit/address-conduit.h: Changed this to use ECardSimple. * contact-editor/e-contact-editor.c: Fixed a memory leak. * gui/component/addressbook.c: Added stuff to the right click menu. Activated the new search dialog that doesn't quite work yet. * gui/minicard/e-minicard-view.c: Fixed some run time warnings. svn path=/trunk/; revision=4882
* use style colors for the selected state. This doesn't properly redraw theLarry Ewing2000-08-163-14/+33
| | | | | | | | | | | 2000-08-15 Larry Ewing <lewing@helixcode.com> * gui/minicard/e-minicard.c (e_minicard_event): use style colors for the selected state. This doesn't properly redraw the minicard when there is a style_change event, that is next. (e_minicard_realize): use style colors. svn path=/trunk/; revision=4851
* Compile fix for RH7.0beta from Kenny Graunke <kwg@teleport.com>; unprototype ↵Peter Williams2000-08-142-0/+9
| | | | | | the disabled mail functions svn path=/trunk/; revision=4836
* add address-conduit.hChris Toshok2000-08-143-2/+16
| | | | | | | | | | | | 2000-08-13 Chris Toshok <toshok@helixcode.com> * conduit/Makefile.am (libaddress_conduit_la_SOURCES): add address-conduit.h * Makefile.am (CONDUIT_SUBDIR): only set subdir if ENABLE_PILOT_CONDUITS is set. svn path=/trunk/; revision=4834
* add conduit subdir.Chris Toshok2000-08-142-1/+5
| | | | | | | | 2000-08-13 Chris Toshok <toshok@helixcode.com> * Makefile.am (SUBDIRS): add conduit subdir. svn path=/trunk/; revision=4832
* add special oaf initialization hack so conduit can find wombat, and acceptChris Toshok2000-08-142-2/+40
| | | | | | | | | | 2000-08-13 Chris Toshok <toshok@helixcode.com> * conduit/address-conduit.c (conduit_get_gpilot_conduit): add special oaf initialization hack so conduit can find wombat, and accept all cookies so that we can actually talk to oaf. svn path=/trunk/; revision=4829
* Fixed a typo that cause the wrong field to be searched.Christopher James Lahey2000-08-133-2/+10
| | | | | | | | | | | | 2000-08-13 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-backend-file.c: Fixed a typo that cause the wrong field to be searched. * gui/component/select-names/e-select-names.c: Made the select names dialog only display entries with email addresses. svn path=/trunk/; revision=4800
* Fixed a typo in the name of the first phone entry.Christopher James Lahey2000-08-133-2/+7
| | | | | | | | | 2000-08-12 Christopher James Lahey <clahey@helixcode.com> * contact-editor/contact-editor.glade: Fixed a typo in the name of the first phone entry. svn path=/trunk/; revision=4799
* A few small interface fixes.Christopher James Lahey2000-08-135-5/+26
| | | | | | | | | | | | | | 2000-08-12 Christopher James Lahey <clahey@helixcode.com> * gui/search/Makefile.am, gui/search/e-addressbook-search-dialog.c, gui/search/e-addressbook-search-dialog.h: A few small interface fixes. * gui/component/Makefile.am: Link in the addressbook search dialog. svn path=/trunk/; revision=4780
* Added addressbook/gui/search/Makefile.Christopher James Lahey2000-08-137-14/+56
| | | | | | | | | | | | | | | | | | | | | | 2000-08-12 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added addressbook/gui/search/Makefile. From addressbook/ChangeLog 2000-08-12 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added the search directory. * backend/ebook/e-book.c: Fixed a potential crash. * gui/minicard/e-reflow-sorted.h: Fixed an include line. * gui/search/.cvsignore, gui/search/Makefile.am: New files. * gui/search/e-addressbook-search-dialog.c: Fixed compilation. svn path=/trunk/; revision=4779
* Ettore fixed compilation.Christopher James Lahey2000-08-122-3/+7
| | | | | | | | 2000-08-12 Christopher James Lahey <clahey@helixcode.com> * printing/Makefile.am: Ettore fixed compilation. svn path=/trunk/; revision=4775
* Added load-gnomecard-addressbook.Christopher James Lahey2000-08-122-0/+5
| | | | | | | | 2000-08-12 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/.cvsignore: Added load-gnomecard-addressbook. svn path=/trunk/; revision=4774
* Made this into a Gtk object.Christopher James Lahey2000-08-123-19/+218
| | | | | | | | | | 2000-08-12 Christopher James Lahey <clahey@helixcode.com> * gui/search/e-addressbook-search-dialog.c, gui/search/e-addressbook-search-dialog.h: Made this into a Gtk object. svn path=/trunk/; revision=4772
* Ref our book view listener.Christopher James Lahey2000-08-1210-95/+807
| | | | | | | | | | | | | | | | | | | | | 2000-08-12 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-book-view.c: Ref our book view listener. * gui/component/addressbook.c: Updated to use new minicard view widget. * gui/minicard/Makefile.am: Added e-minicard-view-widget.c and e-minicard-view-widget.h. * gui/minicard/e-minicard-view-widget.c, gui/minicard/e-minicard-view-widget.h: New class that's just a minicard view in an ECanvas. * gui/search/e-addressbook-search-dialog.c: New file for implementing a search dialog. svn path=/trunk/; revision=4771
* implement code to encode the first email address and send to the pilot.Chris Toshok2000-08-122-11/+42
| | | | | | | | | | | 2000-08-11 Chris Toshok <toshok@helixcode.com> * conduit/address-conduit.c (transmit): implement code to encode the first email address and send to the pilot. (get_phone_label_by_flag): rename find_phone_label_for_flags to this, and implement by calling get_phone_label_by_name. svn path=/trunk/; revision=4761
* add code for handling email addresses from pilot (which stores it as aChris Toshok2000-08-122-34/+56
| | | | | | | | | | | | | | | | 2000-08-11 Chris Toshok <toshok@helixcode.com> * conduit/address-conduit.c (ecard_from_remote_record): add code for handling email addresses from pilot (which stores it as a phone number entry. go figure.) (check_for_slow_setting): #if 0 out, since we don't use it (yet). (update_record): un #if 0 the code to handle the case where the pilot info has changed for a local record. (merge_ecard_with_remote_record): implement function, but for now just return the existing (desktop) record - we still don't allow merge from the pilot. svn path=/trunk/; revision=4758
* Changed a couple of input field names.Christopher James Lahey2000-08-112-2/+7
| | | | | | | | | 2000-08-10 Christopher James Lahey <clahey@helixcode.com> * gui/search/addresstypes.xml: Changed a couple of input field names. svn path=/trunk/; revision=4726
* Remove bogus prototype that was causing compilation to fail when LDAPEttore Perazzoli2000-08-112-4/+5
| | | | | | was enabled. svn path=/trunk/; revision=4717
* New search dialog for addressbook.Christopher James Lahey2000-08-113-10/+44
| | | | | | | | | 2000-08-10 Christopher James Lahey <clahey@helixcode.com> * gui/search/, gui/search/addresstypes.xml: New search dialog for addressbook. svn path=/trunk/; revision=4715
* Update for changed prototype, pass evolution_homedir arg toDan Winship2000-08-114-13/+25
| | | | | | | | | | | | | | * gui/component/addressbook-component.c (owner_set_cb): Update for changed prototype, pass evolution_homedir arg to setup_ldap_storage. * gui/component/e-ldap-storage.c (setup_ldap_storage): Now takes an evolution_homedir arg, uses that to generate the path to the ldapservers.xml file, and stores the result in a static variable. (e_ldap_storage_add_server, e_ldap_storage_remove_server): Use that static variable rather than hardcoding the path to the file. svn path=/trunk/; revision=4713
* Fixed any search to not crash on missing phone numbers or email addresses.Christopher James Lahey2000-08-112-2/+7
| | | | | | | | | 2000-08-10 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-backend-file.c: Fixed any search to not crash on missing phone numbers or email addresses. svn path=/trunk/; revision=4704
* Added a button to save to your addressbook.Christopher James Lahey2000-08-103-2/+117
| | | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * gui/minicard/e-minicard-control.c: Added a button to save to your addressbook. svn path=/trunk/; revision=4678
* Made the toolbars conform to the user's gnomecc settings for detachableCody Russell2000-08-102-1/+11
| | | | | | toolbars. svn path=/trunk/; revision=4677
* 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