aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Fixed some headers.NotZed2000-04-211-0/+8
| | | | | | | | | | | | 2000-04-20 NotZed <NotZed@HelixCode.com> * tests/test11.c: Fixed some headers. * tests/Makefile.am (noinst_PROGRAMS): Removed test9. (noinst_PROGRAMS): Removed test12, temporarirly (nntp not being built). svn path=/trunk/; revision=2532
* ja.po: Initial Japanese translation from Akira Tagoh.Yukihiro Nakai2000-04-201-0/+4
| | | | svn path=/trunk/; revision=2522
* More detail on exactly what versions of what libraries are needed.Dan Winship2000-04-191-0/+5
| | | | | | | * README: More detail on exactly what versions of what libraries are needed. svn path=/trunk/; revision=2505
* kill camel-logDan Winship2000-04-191-0/+4
| | | | svn path=/trunk/; revision=2487
* Require gnome-xml 1.8.7 (or later, but not 2.0). xmlParseMemory's behaviorDan Winship2000-04-181-0/+4
| | | | | | | | * configure.in (xmlpatch): Require gnome-xml 1.8.7 (or later, but not 2.0). xmlParseMemory's behavior in 1.8.7 is incompatible with its behavior in 1.8.6 and earlier. svn path=/trunk/; revision=2478
* New program to test CamelURLDan Winship2000-04-181-0/+4
| | | | | | * tests/test-url.c: New program to test CamelURL svn path=/trunk/; revision=2473
* Added orginizational unit, nickname, and internet free-busy fields.Christopher James Lahey2000-04-171-0/+12
| | | | | | | | | | | | | | | | 2000-04-16 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h, addressbook/backend/ebook/test-card.c, addressbook/backend/pas/pas-backend-file.c, addressbook/contact-editor/e-contact-editor.c: Added orginizational unit, nickname, and internet free-busy fields. * addressbook/contact-editor/contact-editor.glade: Renamed some incorrectly named fields. svn path=/trunk/; revision=2464
* Added orginization and role fields.Christopher James Lahey2000-04-161-0/+19
| | | | | | | | | | | | | | | | | | | | | | | 2000-04-16 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h, addressbook/backend/ebook/test-card.c, addressbook/backend/pas/pas-backend-file.c, addressbook/gui/minicard/e-minicard.c: Added orginization and role fields. * addressbook/contact-editor/contact-editor.glade, addressbook/contact-editor/e-contact-editor-strings.h: Renamed some incorrectly named fields. * addressbook/contact-editor/e-contact-editor.c: Added orginization and role fields as well as hooking up the birth date field. * addressbook/gui/minicard/e-minicard-view.c: Added a missing include. svn path=/trunk/; revision=2458
* + * addressbook/gui/component/addressbook.cMatthew Loper2000-04-161-0/+10
| | | | | | | | | | | | | | | | + (search_entry_activated): New function. Gets called when the quick + search entry is called on to perform a search. + (make_quick_search_widget): New function; returns a "quick search" + widget. + (control_activate): During the construction of the toolbar, a + "quick search" widget is included. + + * e-table.c (et_xml_to_header): sanity-check our parameters. + (et_grouping_xml_to_sort_info): same. + (et_real_construct): Bail if we couldn't get the children we + wanted. svn path=/trunk/; revision=2455
* *** empty log message ***Miguel de Icaza2000-04-151-100/+0
| | | | svn path=/trunk/; revision=2450
* add test12Chris Toshok2000-04-151-0/+9
| | | | | | | | | | * tests/.cvsignore: add test12 * tests/test12.c (main): add test for nntp stuff. * tests/Makefile.am (noinst_PROGRAMS): same. svn path=/trunk/; revision=2446
* Added a note field.Christopher James Lahey2000-04-151-0/+8
| | | | | | | | | | | | | | | | | | | 2000-04-14 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h, addressbook/backend/pas/pas-backend-file.c, addressbook/backend/pas/pas-backend-ldap.c, addressbook/contact-editor/e-contact-editor.c: Added a note field. From shell/ChangeLog: 2000-04-14 Christopher James Lahey <clahey@helixcode.com> * e-shell-view.c: Made the left pane of the shell view not autoresize. svn path=/trunk/; revision=2444
* Fix compilation with builddir != srcdir (again).Ettore Perazzoli2000-04-151-0/+17
| | | | svn path=/trunk/; revision=2441
* don't ldap_simple_bind_s if the ldap_open failed, and fix warnings.Chris Toshok2000-04-151-0/+11
| | | | | | | | | | | | | | | * addressbook/backend/pas/pas-backend-ldap.c (pas_backend_ldap_ensure_connected): don't ldap_simple_bind_s if the ldap_open failed, and fix warnings. (pas_backend_ldap_build_all_cards_list): don't do search if the ensure_connected failed, and fix warnings. (pas_backend_ldap_search): same. (poll_ldap): fix warnings. (pas_backend_ldap_process_get_book_view): same. (pas_backend_ldap_get_vcard): same. (pas_backend_ldap_load_uri): same. svn path=/trunk/; revision=2429
* quiet configure in the case where it can't find ldap libs.Chris Toshok2000-04-151-0/+5
| | | | | | | * configure.in: quiet configure in the case where it can't find ldap libs. svn path=/trunk/; revision=2428
* Check for 0 length fields when building the outgoing ECard.Christopher James Lahey2000-04-131-0/+5
| | | | | | | | | 2000-04-13 Christopher James Lahey <clahey@helixcode.com> * addressbook/contact-editor/e-contact-editor.c (extract_info): Check for 0 length fields when building the outgoing ECard. svn path=/trunk/; revision=2422
* Give correct warnings.Christopher James Lahey2000-04-131-0/+7
| | | | | | | | | | | 2000-04-13 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/pas/pas-book-view.c: Give correct warnings. * addressbook/backend/ebook/e-card.c (e_card_set_arg): g_strdup url and title. svn path=/trunk/; revision=2421
* reflect the title attribute in the contact editor. (extract_info): same.Chris Toshok2000-04-131-0/+4
| | | | | | | | * addressbook/contact-editor/e-contact-editor.c (fill_in_info): reflect the title attribute in the contact editor. (extract_info): same. svn path=/trunk/; revision=2420
* add the title attribute.Chris Toshok2000-04-131-0/+2
| | | | | | * addressbook/backend/pas/pas-backend-ldap.c: add the title attribute. svn path=/trunk/; revision=2419
* add a title.Chris Toshok2000-04-131-0/+5
| | | | | | | | | * addressbook/gui/minicard/test-reflow.c: add a title. * addressbook/gui/minicard/e-minicard.c (remodel): add support for the title attribute. svn path=/trunk/; revision=2418
* save out the title to the vcard.Chris Toshok2000-04-131-0/+3
| | | | | | | * addressbook/backend/ebook/e-card.c (e_card_get_vcard): save out the title to the vcard. svn path=/trunk/; revision=2417
* add title field foo to the test.Chris Toshok2000-04-131-0/+7
| | | | | | | | | | | * addressbook/backend/ebook/test-card.c: add title field foo to the test. * addressbook/backend/ebook/e-card.c: reflect the title field. * addressbook/backend/ebook/e-card.h: un-#if 0 the title field. svn path=/trunk/; revision=2416
* make sure to g_source_remove the idle id.Chris Toshok2000-04-131-0/+1
| | | | | | | * addressbook/backend/pas/pas-backend-ldap.c (view_destroy): make sure to g_source_remove the idle id. svn path=/trunk/; revision=2415
* new function that polls ldap for more search responses.Chris Toshok2000-04-131-0/+7
| | | | | | | | | * addressbook/backend/pas/pas-backend-ldap.c (poll_ldap): new function that polls ldap for more search responses. (pas_backend_ldap_search): use the async search interface and register an idle call to poll for the responses. svn path=/trunk/; revision=2414
* rework this function to use a table mapping search field names to vcardChris Toshok2000-04-131-0/+18
| | | | | | | | | | | | | | | | | | | * addressbook/backend/pas/pas-backend-file.c (entry_compare): rework this function to use a table mapping search field names to vcard properties and extra information (such as whether or not the property is a list.) * addressbook/backend/pas/pas-backend-ldap.c (construct_email_list): new function, to build the ECardList for email addresses. (construct_phone_list): new function, to build the ECardList for phone numbers. (pas_backend_ldap_search): use a table mapping ldap attributes to ecard properties, and use the special list construction functions if the property calls for it. general cleanup. added a comment about not calling ber_free if there was a decoding error. svn path=/trunk/; revision=2411
* + * art/Makefile.am: Add tigert's contact-dlg-related images.Matthew Loper2000-04-121-0/+9
| | | | | | | | | | | | | | | | + + * addressbook/contact-editor/e-contact-editor.c (_add_images): Add + tigert's images. + + * addressbook/contact-editor/Makefile.am: add EVOLUTION_IMAGES. + + * camel-folder-pt-proxy.c (_folder_open_cb): Print warning message + for broken function. + (_folder_close_cb): Same. + + * filter-arg.c (filter_arg_edit_value): Return a value. svn path=/trunk/; revision=2408
* Kids, it's candy day. new icons. /tigertTuomas Kuosmanen2000-04-121-0/+7
| | | | svn path=/trunk/; revision=2407
* delay the setting of the ldap variable until we've ensured we wereChris Toshok2000-04-121-0/+12
| | | | | | | | | | | | | | * addressbook/backend/pas/pas-backend-ldap.c (pas_backend_ldap_build_all_cards_list): delay the setting of the ldap variable until we've ensured we were connected. Also, set the search limit to LDAP_MAX_SEARCH_RESPONSES (we'll eventually want a user setting here i assume.) (pas_backend_ldap_search): same here, and also send back lists of CARDS_PER_VIEW_NOTIFICATION length in each pas_book_view_notify_add call. also, don't call ber_free if there was a decoding error, since the ldap library frees it for us. svn path=/trunk/; revision=2406
* Properly use AC_ARG_WITHMiguel de Icaza2000-04-121-0/+4
| | | | | | | | 2000-04-11 Miguel de Icaza <miguel@gnu.org> * configure.in (have_pthread): Properly use AC_ARG_WITH svn path=/trunk/; revision=2403
* add LDAP_LIBS here.Chris Toshok2000-04-121-0/+16
| | | | | | | | | | | | | | | | | | * wombat/Makefile.am (wombat_LDADD): add LDAP_LIBS here. * configure.in: check for -lldap and -llber and if both are present include ldap support in the pas/wombat. * addressbook/backend/pas/Makefile.am (libpas_la_SOURCES): include pas-backend.ldap.c if ENABLE_LDAP. * addressbook/backend/pas/pas-backend-ldap.c: get searching working (converting between the sexp and ldap stuff.) * wombat/wombat.c (setup_pas): register the ldap pas backend if HAVE_LDAP is defined. svn path=/trunk/; revision=2401
* Changed AC_DEFUN to AC_DEFINE.Christopher James Lahey2000-04-121-0/+6
| | | | | | | | | | 2000-04-11 Christopher James Lahey <clahey@helixcode.com> * configure.in: Changed AC_DEFUN to AC_DEFINE. * acconfig.h: Added HAVE_TIMEZONE and HAVE_TM_GMTOFF. svn path=/trunk/; revision=2400
* check for timezone as a variable (as it is in linux, but not in freebsd orChris Toshok2000-04-121-0/+5
| | | | | | | * configure.in: check for timezone as a variable (as it is in linux, but not in freebsd or netbsd.) svn path=/trunk/; revision=2398
* you need the latest gdk-pixbuf to build evolution now.Larry Ewing2000-04-121-2/+11
| | | | | | | | | | | | | | | you need the latest gdk-pixbuf to build evolution now. 2000-04-11 Larry Ewing <lewing@helixcode.com> * widgets/e-table/e-cell-toggle.c (etog_draw): update for new gdk-pixbuf. Added a disabled chuck of code to do alpha blending on pixmaps. * widgets/shortcut-bar/e-icon-bar.c (flatten_alpha): update for new gdk-pixbuf. svn path=/trunk/; revision=2397
* Moved some logic a bit. Minor changes.Christopher James Lahey2000-04-121-0/+4
| | | | | | | | 2000-04-11 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Moved some logic a bit. Minor changes. svn path=/trunk/; revision=2396
* free the esexp_result. (entry_compare): we want comparison functions toChris Toshok2000-04-121-0/+2
| | | | | | | | * addressbook/backend/pas/pas-backend-file.c (vcard_matches_search): free the esexp_result. (entry_compare): we want comparison functions to take 2 args. svn path=/trunk/; revision=2395
* e-text.c: Recalc bounds when changing the width/clip_widthiholmes2000-04-121-1/+11
| | | | | | | | forward clicks on the tooltip to the pareent item tooltip obeys parents line_wrap and max_lines e_text_point returns 0 when pointer is on the item svn path=/trunk/; revision=2394
* new function for searching all email addresses of a contact.Chris Toshok2000-04-121-2/+12
| | | | | | | | | | | | | | * addressbook/backend/pas/pas-backend-file.c (compare_email): new function for searching all email addresses of a contact. (compare_phone): new function for searching all phone numbers of a contact. (compare_address): new function for searching all addresses of a contact (unimplemented as yet). (entry_compare): add support for searching the list items "email", "phone" and "address". svn path=/trunk/; revision=2393
* new function, taking code from func_contains to get string properties.Chris Toshok2000-04-111-0/+16
| | | | | | | | | | | | | | | | | | * addressbook/backend/pas/pas-backend-file.c (get_e_card_prop): new function, taking code from func_contains to get string properties. (entry_compare): new function generic, taking strstr-like function as a parameter. (func_contains): rewrite function to use entry_compare. (is_helper): new helper function to map strcmp to a strstr-like function. (func_is): new function, implementing "is" for searches. (endswith_helper): new function. (func_endswith) new function, implementing "endswith" for searches. (beginswith_helper): new function. (func_beginswith): new function, implementing "beginswith" for searches. svn path=/trunk/; revision=2392
* This was setting E_REFLOW(view)->items to NULL too soon. Fixed now.Christopher James Lahey2000-04-111-0/+5
| | | | | | | | | 2000-04-11 Christopher James Lahey <clahey@helixcode.com> * addressbook/gui/minicard/e-minicard-view.c: This was setting E_REFLOW(view)->items to NULL too soon. Fixed now. svn path=/trunk/; revision=2389
* remove spew. (pas_backend_file_process_create_card): move the sync to theChris Toshok2000-04-111-0/+8
| | | | | | | | | | | | * addressbook/backend/pas/pas-backend-file.c (pas_backend_file_search): remove spew. (pas_backend_file_process_create_card): move the sync to the earliest possible point after the db operation. (pas_backend_file_process_remove_card): same. (pas_backend_file_process_modify_card): same, and call pas_book_respond_modify, not pas_book_respond_remove, here. svn path=/trunk/; revision=2388
* new function. (delete_contact_cb): wire up button to callChris Toshok2000-04-111-0/+11
| | | | | | | | | | | | | * addressbook/gui/component/addressbook.c (card_deleted_cb): new function. (delete_contact_cb): wire up button to call e_minicard_view_remove_selection. * addressbook/gui/minicard/e-minicard-view.c (e_minicard_view_remove_selection): fix warning, and stick "view" in the name. svn path=/trunk/; revision=2387
* Changed some incorrect gtk_object_refs and gtk_object_unrefs intoChristopher James Lahey2000-04-111-0/+18
| | | | | | | | | | | | | | | | | | | | | | 2000-04-10 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/e-book-view.c, addressbook/backend/ebook/e-book.c: Changed some incorrect gtk_object_refs and gtk_object_unrefs into bonobo_object_refs and bonobo_object_unrefs. * addressbook/backend/pas/pas-card-cursor.c: Changed a gtk_object_destroy to a gtk_object_unref. * addressbook/gui/minicard/e-minicard-view.c, addressbook/gui/minicard/e-minicard-view.h: Set a list pointer to NULL after freeing its contents. Added e_minicard_view_remove_selection function. * addressbook/gui/minicard/e-reflow.c: Set a list pointer to NULL after freeing its contents. svn path=/trunk/; revision=2386
* implement braindead dialog to input the query string for the view.Chris Toshok2000-04-111-0/+11
| | | | | | | | | | | | | * addressbook/gui/component/addressbook.c (find_contact_cb): implement braindead dialog to input the query string for the view. also, change all callbacks to get the EMinicardView instead of the EBook. * addressbook/gui/minicard/e-minicard-view.c (e_minicard_view_get_arg): add missing break. svn path=/trunk/; revision=2384
* Added a "query" argument to the e-minicard-view. Documented all theChristopher James Lahey2000-04-111-0/+7
| | | | | | | | | | | 2000-04-10 Christopher James Lahey <clahey@helixcode.com> * addressbook/gui/minicard/e-minicard-view.c, addressbook/gui/minicard/e-minicard-view.h: Added a "query" argument to the e-minicard-view. Documented all the arguments to the e-minicard-view. svn path=/trunk/; revision=2383
* change the empty search string ("") to the valid (contains "full_name"Chris Toshok2000-04-111-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * addressbook/gui/minicard/e-minicard-view.c (get_view): change the empty search string ("") to the valid (contains "full_name" ""). * wombat/Makefile.am (wombat_LDADD): reorder so libeutil.la comes after libpas (since it uses the sexp stuff now.) * addressbook/backend/pas/Makefile.am (INCLUDES): add -I$(top_srcdir)/addressbook/backend/ebook * addressbook/backend/pas/pas-backend-file.c (view_destroy): free the search context and unref the sexp. (string_to_dbt): save the zero byte of strings, so we don't have to g_strndup everywhere. (func_contains): new function, implementing the (contains) search function. (vcard_matches_search): generic predicate to tell whether or not a vcard entry matches the current book view. (pas_backend_file_search): rip some of this code out of get_book_view (the portion building the list of cards) and make it use the e-sexp stuff. (pas_backend_file_process_create_card): use vcard_matches_search to only notify if the card will appear in the view. (pas_backend_file_process_remove_card): use vcard_matches_search to only notify if the card will be removed from the view. (pas_backend_file_process_modify_card): use vcard_matches_search to notify if the modified card was added, removed, or changed in the view. svn path=/trunk/; revision=2382
* Update to support --disable-threads correctly.Miguel de Icaza2000-04-111-0/+5
| | | | | | | | | 2000-04-10 Miguel de Icaza <miguel@gnu.org> * configure.in (GNOME_PRINT_CFLAGS): Update to support --disable-threads correctly. svn path=/trunk/; revision=2381
* use view != NULL instead of checking db_error when we callChris Toshok2000-04-111-0/+6
| | | | | | | | * addressbook/backend/pas/pas-backend-file.c (pas_backend_file_process_get_book_view): use view != NULL instead of checking db_error when we call pas_book_respond_get_book_view) svn path=/trunk/; revision=2375
* check for mkstempDan Winship2000-04-111-0/+4
| | | | | | * configure.in: check for mkstemp svn path=/trunk/; revision=2374
* removed libical stuff since it has its own configure.in.Damon Chaplin2000-04-111-0/+5
| | | | | | | | | 2000-04-10 Damon Chaplin <damon@helixcode.com> * configure.in (AC_OUTPUT): removed libical stuff since it has its own configure.in. svn path=/trunk/; revision=2362
* Fixed a bug where I was sending the wrong information to some callbacks.Christopher James Lahey2000-04-101-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-10 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/e-book-view.c: Fixed a bug where I was sending the wrong information to some callbacks. * addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h: Added an e_card_duplicate function. Made ids get stored in vcards. Made sure to delete the url if it exists. * addressbook/backend/pas/Makefile.am: Made pas include addressbook/backend/ebook/ in the search path. * addressbook/backend/pas/pas-backend-file.c: Fixed some bugs and made the create card function store the generated id in the card being saved. * addressbook/backend/pas/pas-book-view.c: Fixed a double free bug. * addressbook/contact-editor/e-contact-editor.c: Fixed some bugs. Made the contact editor actually return a valid card when gtk_object_get(editor, "card", ...) is called. * addressbook/contact-editor/e-contact-editor.h: Fixed a copy and paste error. * addressbook/gui/component/addressbook.c: Made this get the card properly. * addressbook/gui/minicard/Makefile.am: Made this include contact-editor directory in the search path and link against libecontacteditor so that double clicking can open a dialog. * addressbook/gui/minicard/e-minicard.c: Fixed some small bugs. Made double clicking open a contact editor dialog if this minicard is contained in a minicard view. (It needs the minicard view to get the EBook to save to. * wombat/Makefile.am: Link wombat against libebook, since pas-backend-file now uses ECard. svn path=/trunk/; revision=2360
* + * addressbook/gui/component/addressbook.c (control_activate): MakeMatthew Loper2000-04-101-0/+3
| | | | | | | | | + "New Contact" menuitem add a card with new_contact_cb(). + + * e-shell-view.c (e_shell_view_setup): Set the default height + bigger, to 600, so that everything in the shortcut-bar shows up. svn path=/trunk/; revision=2353
* + * addressbook/Makefile.am: Compile contact-editor, _then_ gui,Matthew Loper2000-04-101-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + since the gui now depends on the contact editor (shouldn't the + contact-editor directory be moved into 'gui'?). + + * addressbook/gui/component/addressbook.c (card_added_cb): New + function. Gets called when a card is successfully added via the + contact-editor. + (new_contact_cb): New function. Gets called when a user clicks the + "new contact" button on the toolbar, and creates a contact-editor + to edit a new contact entry. + (control_activate): Call gnome_app_fill_toolbar_with_data() + instead of gnome_app_fill_toolbar(), so that our toolbar can find + the right book to add a new card to. + (addressbook_factory): On an "activate" signal, send the book up + to control_activate_cb. + + * addressbook/gui/component/addressbook-factory.c (init_bonobo): + Call glade_gnome_init(), so that our contact-editor (which + requires glade) doesn't barf. + + * addressbook/gui/component/Makefile.am: added the contact-editor + to our libraries and include files. + + * addressbook/contact-editor/e-contact-editor.c + (e_contact_editor_new): Set "card" gtk property to the passed-in + card property. svn path=/trunk/; revision=2351
* + * addressbook/gui/component/addressbook.c (addressbook_factory):Matthew Loper2000-04-091-0/+6
| | | | | | | | | | | | | | | + Added gtk_widget_push/pop_colormap/visual, which I assume is + necessary for canvas use. + + * folder-browser.c (folder_browser_new): set folder_browser->uri + to NULL, so that we know when to free it. + + * e-table-col.c (e_table_col_new_with_pixbuf): ref etc->ecell, + like in e_table_col_new, since that same ECell is unref'd in + etc_destroy(). + svn path=/trunk/; revision=2350
* Made the contact editor load from an ECard.Christopher James Lahey2000-04-091-0/+13
| | | | | | | | | | | | | | | | | 2000-04-08 Christopher James Lahey <clahey@helixcode.com> * addressbook/contact-editor/Makefile.am, addressbook/contact-editor/e-contact-editor.c, addressbook/contact-editor/e-contact-editor.h, addressbook/contact-editor/test-editor.c: Made the contact editor load from an ECard. * addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h, addressbook/gui/minicard/e-minicard.c: Added support for the URL field. svn path=/trunk/; revision=2349
* Fixed a small typo.Christopher James Lahey2000-04-091-0/+5
| | | | | | | | | 2000-04-08 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/e-card.c (e_card_get_vcard): Fixed a small typo. svn path=/trunk/; revision=2347
* pixmap_DATA should have been images_DATA (after pixmapdir was renamed toDan Winship2000-04-091-0/+5
| | | | | | | * art/Makefile.am: pixmap_DATA should have been images_DATA (after pixmapdir was renamed to imagesdir) svn path=/trunk/; revision=2345
* CVS move mistake. Fixed the correct changes in the correct places.Christopher James Lahey2000-04-091-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-08 Christopher James Lahey <clahey@helixcode.com> * addressbook/gui/minicard/.cvsignore, addressbook/gui/minicard/Makefile.am, addressbook/gui/minicard/e-minicard-view.c, addressbook/gui/minicard/e-minicard-view.h, addressbook/gui/minicard/e-minicard.c, addressbook/gui/minicard/e-minicard.h, addressbook/gui/minicard/e-reflow-sorted.c, addressbook/gui/minicard/e-reflow-sorted.h, addressbook/gui/minicard/e-reflow.c, addressbook/gui/minicard/e-reflow.h, addressbook/gui/minicard/test-minicard-view.c, addressbook/gui/minicard/test-reflow.c, widgets/e-minicard/.cvsignore, widgets/e-minicard/Makefile.am, widgets/e-minicard/e-minicard-label.c, widgets/e-minicard/e-minicard-label.h, widgets/e-minicard/e-minicard-view.c, widgets/e-minicard/e-minicard-view.h, widgets/e-minicard/e-minicard.c, widgets/e-minicard/e-minicard.h, widgets/e-minicard/e-reflow-sorted.c, widgets/e-minicard/e-reflow-sorted.h, widgets/e-minicard/e-reflow.c, widgets/e-minicard/e-reflow.h, widgets/e-minicard/test-minicard-label.c, widgets/e-minicard/test-minicard-view.c, widgets/e-minicard/test-minicard.c, widgets/e-minicard/test-reflow.c: CVS move mistake. Fixed the correct changes in the correct places. svn path=/trunk/; revision=2344
* pixmap_DATA isn't defined so don't use it as a variable.Christopher James Lahey2000-04-091-0/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-08 Christopher James Lahey <clahey@helixcode.com> * art/Makefile.am: pixmap_DATA isn't defined so don't use it as a variable. * addressbook/gui/component/, addressbook/gui/component/.cvsignore, addressbook/gui/Makefile.am, addressbook/gui/component/addressbook-factory.c, addressbook/gui/component/addressbook.c, addressbook/gui/component/addressbook.gnorba, addressbook/gui/component/addressbook.h: New directory to proivde the component for contact management. Simply uses an e-minicard-view. * addressbook/gui/minicard/e-minicard-view.c, addressbook/gui/minicard/e-minicard-view.h: New subclass of e-reflow-sorted that takes an EBook and uses it to compute the card data to display. * addressbook/gui/minicard/e-minicard.c, addressbook/gui/minicard/e-minicard.h: This now backends to a ECard instead of a ETableModel. * addressbook/gui/minicard/e-reflow.c, addressbook/gui/minicard/e-reflow.h: This now has a virtualized add method. * addressbook/gui/minicard/e-reflow-sorted.c, addressbook/gui/minicard/e-reflow-sorted.h: New subclass of e-reflow that allows the data to be sorted on the fly. * addressbook/gui/minicard/test-minicard-view.c: New test to test the new minicard view. * addressbook/gui/minicard/test-reflow.c: Uses the new ECard backend of the e-minicard. * addressbook/gui/minicard/.cvsignore, addressbook/gui/minicard/Makefile.am: Added new test. Fixed dependencies. Added new files. * addressbook/gui/, addressbook/gui/Makefile.am, addressbook/gui/.cvsignore: New directory for addressbook gui bits. Added subdirectories. Created an initial .cvsignore. * addressbook/Makefile.am (SUBDIRS): Removed demo and added gui. * addressbook/backend/pas/pas-backend-file.c: Added code to do notification on bookviews when changes in the backend are made. * addressbook/backend/pas/pas-book-view.c, addressbook/backend/pas/pas-book-view.h: Added helper functions to notify the view about the addition or modification of a single card. Fixed a mistaken extra free. * addressbook/backend/ebook/e-card-list-iterator.h: Fixed incorrect parent class. * addressbook/backend/ebook/test-client.c: Made this accept an optional parameter that specifies the vcard to add. * configure.in: Replaced widgets/e-minicard/Makefile and addressbook/demo/Makefile with addressbook/gui/minicard/Makefile and addressbook/gui/component/Makefile respectively. * widgets/Makefile.am: Removed e-minicard since it's being moved to addressbook/gui/minicard. * widgets/e-text/e-text.c: Fixed the border width around tooltips and made the main tooltip area yellow. From camel/ChangeLog: 2000-04-08 Christopher James Lahey <clahey@helixcode.com> * providers/smtp/.cvsignore: Added a .cvsignore file. From calendar/ChangeLog: 2000-04-08 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Removed linking with libetable and libeminicard since they weren't being used. svn path=/trunk/; revision=2343
* add SYSTEM_MAIL_DIRDan Winship2000-04-091-0/+4
| | | | | | * configure.in, acconfig.h: add SYSTEM_MAIL_DIR svn path=/trunk/; revision=2338
* Added Galician translationJesus Bravo Alvarez2000-04-081-0/+4
| | | | svn path=/trunk/; revision=2336
* o Modified configure.in to create camel/providers/smtp/MakefileEDT 2000 Jeffrey Stedfast2000-04-081-0/+3
| | | | | | | | | Fri Apr 7 16:56:09 EDT 2000 Jeffrey Stedfast <fejj@stampede.org> o Modified configure.in to create camel/providers/smtp/Makefile CVS svn path=/trunk/; revision=2334
* Made text tooltips appear in place. Iain figured out that to get them toChristopher James Lahey2000-04-081-0/+8
| | | | | | | | | | | | 2000-04-07 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Made text tooltips appear in place. Iain figured out that to get them to not appear, we hide the tooltip when the mouse leaves the tooltip window, not the canvas item (this works because the tooltip window always covers the canvas item completely.) svn path=/trunk/; revision=2328
* + * addressbook/demo/addressbook.c (control_activate_cb): NewMatthew Loper2000-04-081-0/+11
| | | | | | | | | | | | + function. Called when the control is (de)activated. + (control_activate): New function; called when the control is + activated, and sets up toolbar/menu times. + (control_deactivate): New function; removes those toolbar/menu + items. + (do_nothing_cb): Does nothing :-) + (addressbook_factory): Hook up to control_activate_cb(). svn path=/trunk/; revision=2327
* correctly (well, untested) implement. (view_destroy): new function.Chris Toshok2000-04-071-0/+7
| | | | | | | | | * addressbook/backend/pas/pas-backend-file.c (pas_backend_file_process_get_book_view): correctly (well, untested) implement. (view_destroy): new function. svn path=/trunk/; revision=2320
* Moved all ChangeLog entries for the shell to shell/ChangeLog.Miguel de Icaza2000-04-071-169/+2
| | | | | | | | | | | | | | | Moved all ChangeLog entries for the shell to shell/ChangeLog. Fixed the icon loading for the shortcut bar bug. 2000-04-06 Miguel de Icaza <miguel@gnu.org> * shell/e-shortcut.c (shell_icon_cb): Append a slash here. (shell_icons): Only list the filenames. * shell/main.c (evolution_boot): Be less rude. svn path=/trunk/; revision=2310
* + * shell/main.c (evolution_boot): Make sure our data directory isMatthew Loper2000-04-071-0/+5
| | | | | | | | | + available with e_setup_base_dir (). + + * e-setup.c (e_setup_base_dir): Get/set Evolution's base directory + via gnome-config. svn path=/trunk/; revision=2309
* Changed calls to e_cell_text_new to match new function signature.Christopher James Lahey2000-04-061-0/+5
| | | | | | | | | 2000-04-06 Christopher James Lahey <clahey@helixcode.com> * addressbook/demo/demo.c, addressbook/demo/addressbook-widget.c: Changed calls to e_cell_text_new to match new function signature. svn path=/trunk/; revision=2308
* Load the icons from the installation path, not form the GNOME-libsMiguel de Icaza2000-04-061-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-06 Miguel de Icaza <miguel@gnu.org> * shell/e-shortcut.c (shell_icon_cb): Load the icons from the installation path, not form the GNOME-libs installation prefix. (shell_icon_cb): Memory leak fix. * shell/Makefile.am (imagesdir): Pass the EVOLUTION_IMAGES installation directory here. * art/Makefile.am (images_DATA): Renamed from pixmaps to images. 2000-04-06 Miguel de Icaza <miguel@gnu.org> * message-list.c: Stick pixmaps here. * mail-display.c (embeddable_destroy_cb): Replaced C++ comments with C comments. * message-list.c (load_internal_images): New function, loads images. (message_list_init_renderers): Load images, fix previous attempt at loading images. * Makefile.am (dist-hook): Added distribution of pixmaps. * pixmaps: New directory, used to hold the XPMs we ship with. * pixmaps/envelope-closed.xpm, pixmaps/envelope-open.xpm: Tigert's envelopes incorporated. 2000-04-06 Miguel de Icaza <miguel@gnu.org> * e-cell-text.c: Killed ARG_EDITABLE. (ect_event): Updated to new editable setup. (e_cell_text_new): Kill editable argument. * e-cell-toggle.c (etog_event): Handle editability here * e-cell-text.h: Removed editable bit field from here, it is now taken care at the e-cell level. * e-cell.c (e_cell_set_editable): New function. (e_cell_init): Set editable to TRUE by default. * test-check.c (check_test): update to new api * test-table.c (table_browser_test): ditto. (do_e_table_demo): ditto. * test-cols.c (multi_cols_test): ditto svn path=/trunk/; revision=2302
* + * README: Added wombat.Matthew Loper2000-04-061-0/+4
| | | | svn path=/trunk/; revision=2298
* hook up control:calendarSeth Alves2000-04-061-0/+4
| | | | | | * shell/e-shell-view.c (get_view): hook up control:calendar svn path=/trunk/; revision=2295
* Got rid of some runtime errors. Changed to "fixed" font so that it willChristopher James Lahey2000-04-051-0/+10
| | | | | | | | | | | | | | 2000-04-04 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text-test.c: Got rid of some runtime errors. Changed to "fixed" font so that it will work on everyone's machine. Added a white background rectangle. Made resizing the window resize the contained text item. Changed to using affines (e_canvas_item_move_absolute) instead of "x" and "y" attributes. Set the text in the entries so that they match the original values of the displayed text object. svn path=/trunk/; revision=2292
* Fixed some referencing and lifetime issues.Christopher James Lahey2000-04-051-0/+5
| | | | | | | | | | | | | | | | | 2000-04-04 Christopher James Lahey <clahey@helixcode.com> * widgets/e-minicard/e-minicard.c: Fixed some referencing and lifetime issues. From widgets/e-table: 2000-04-04 Christopher James Lahey <clahey@helixcode.com> * e-table-text-model.c: Make this assert a bit more readable. * e-table-item.c: Fix update loop behavior. svn path=/trunk/; revision=2291
* Removed an unnecessary get_bounds call.Christopher James Lahey2000-04-051-0/+9
| | | | | | | | | | | | | 2000-04-04 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Removed an unnecessary get_bounds call. (From a patch by Iain Holmes <ih@csd.abdn.ac.uk>) * widgets/e-text/e-text.c: Made tooltips look more like the underlying text. Made tooltips show up more consistently. svn path=/trunk/; revision=2290
* Changed this to backend to an ebook.Christopher James Lahey2000-04-051-0/+17
| | | | | | | | | | | | | | | | | | | | | 2000-04-04 Christopher James Lahey <clahey@helixcode.com> * addressbook/demo/e-test-model.c, addressbook/demo/e-test-model.h, addressbook/demo/Makefile.am: Changed this to backend to an ebook. * addressbook/backend/ebook/e-card-iterator.c, addressbook/backend/ebook/e-card-iterator.h, addressbook/backend/ebook/e-card-list-iterator.c, addressbook/backend/ebook/e-card-list.c, addressbook/backend/ebook/e-card-list.h, addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h: Fixed const correctness and changed a couple of functions to be external. * addressbook/Makefile.am: Fixed subdir ordering. svn path=/trunk/; revision=2287
* Fixed an incorrect function.Christopher James Lahey2000-04-051-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-04 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/e-book-view.c: Fixed an incorrect function. * addressbook/backend/ebook/e-book-view.h, addressbook/backend/ebook/e-book.h: Fixed some incorrect function pointer declarations. * addressbook/backend/ebook/e-card-iterator.c, addressbook/backend/ebook/e-card-iterator.h, addressbook/backend/ebook/e-card-list-iterator.c, addressbook/backend/ebook/e-card-list-iterator.h, addressbook/backend/ebook/e-card-list.c, addressbook/backend/ebook/e-card-list.h, addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h, addressbook/backend/ebook/test-card.c: Built new iterator system for getting fields with multiple entries. * addressbook/backend/ebook/Makefile.am: Added new files addressbook/backend/ebook/e-card-iterator.c, addressbook/backend/ebook/e-card-iterator.h, addressbook/backend/ebook/e-card-list-iterator.c, addressbook/backend/ebook/e-card-list-iterator.h, addressbook/backend/ebook/e-card-list.c, and addressbook/backend/ebook/e-card-list.h. svn path=/trunk/; revision=2286
* Updated Ukrainian translationYuri Syrota2000-04-041-0/+4
| | | | svn path=/trunk/; revision=2284
* Added no and sv to ALL_LINGUASAndreas Hydén2000-04-041-0/+4
| | | | svn path=/trunk/; revision=2282
* A bit of clean up.Christopher James Lahey2000-04-031-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-03 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/e-card-cursor.h, addressbook/backend/ebook/e-card.c: A bit of clean up. * addressbook/backend/ebook/e-book-types.h, addressbook/backend/ebook/e-book-view-listener.c, addressbook/backend/ebook/e-book-view-listener.h, addressbook/backend/ebook/e-book-view.c, addressbook/backend/ebook/e-book-view.h, addressbook/backend/pas/pas-book-view.c, addressbook/backend/pas/pas-book-view.h: New files for live views. * addressbook/backend/ebook/Makefile.am, addressbook/backend/ebook/e-book-listener.c, addressbook/backend/ebook/e-book-listener.h, addressbook/backend/ebook/e-book.c, addressbook/backend/ebook/e-book.h, addressbook/backend/ebook/test-client-list.c, addressbook/backend/ebook/test-client.c, addressbook/backend/pas/pas-backend-file.c, addressbook/backend/pas/pas-book.c, addressbook/backend/pas/pas-book.h, addressbook/backend/idl/addressbook.idl: Added live views and searching to the interface (neither is working yet.) svn path=/trunk/; revision=2280
* + + * tests/.cvsignore: Added test-movemail. + + * art/.cvsignore: NewMatthew Loper2000-04-011-0/+6
| | | | | | | | | | | | | | | | + + * tests/.cvsignore: Added test-movemail. + + * art/.cvsignore: New file. + + * pcs/.cvsignore: Added *.lo. + + * .cvsignore: Added evolution.pot. + sparkly clean svn path=/trunk/; revision=2276
* Update for shortcut bar changes.Dan Winship2000-04-011-0/+9
| | | | | | | | | | | * shell/e-shortcut.c (e_shortcut_bar_view_new, shell_icon_cb): Update for shortcut bar changes. * shell/e-folder.h: add E_FOLDER_SUMMARY * shell/e-shell.c (e_shell_setup_default_folders): make the "Today" icon be of type E_FOLDER_SUMMARY, not E_FOLDER_MAIL. svn path=/trunk/; revision=2269
* added support for a callback function to set the icons.Damon Chaplin2000-03-311-0/+8
| | | | | | | | | | | | 2000-03-31 Damon Chaplin <damon@helixcode.com> * widgets/shortcut-bar/e-shortcut-bar.[hc]: added support for a callback function to set the icons. * widgets/shortcut-bar/test-shortcut-bar.c: updated to use the callback function. svn path=/trunk/; revision=2268
* Added some missing gtk_object_refs.Christopher James Lahey2000-03-311-0/+5
| | | | | | | | | 2000-03-31 Christopher James Lahey <clahey@helixcode.com> * addressbook/demo/demo.c, addressbook/demo/addressbook-widget.c: Added some missing gtk_object_refs. svn path=/trunk/; revision=2267
* Get first card (with R_FIRST) on first seq().Matthew Loper2000-03-311-0/+6
| | | | | | | | * addressbook/backend/pas/pas-backend-file.c (pas_backend_file_build_all_cards_list): Get first card (with R_FIRST) on first seq(). svn path=/trunk/; revision=2265
* new-file new fileChris Toshok2000-03-311-0/+5
| | | | | | | | | * addressbook/backend/pas/pas-backend-ldap.h: new-file * addressbook/backend/pas/pas-backend-ldap.c: new file both still in the "do not enter" stage. svn path=/trunk/; revision=2263
* Hold off on deactivating the "outgoing" control until after setting up theDan Winship2000-03-311-0/+6
| | | | | | | | | | * shell/e-shell-view.c (e_shell_view_set_view): Hold off on deactivating the "outgoing" control until after setting up the "incoming" control. That way if the new control takes a few seconds to load, there won't be an ugly empty spot where the toolbar used to be while the new control loads. svn path=/trunk/; revision=2262
* install new shortcut bar pixmaps.Dan Winship2000-03-311-0/+10
| | | | | | | | | | | | * configure.in: * Makefile.am: * art/Makefile.am: install new shortcut bar pixmaps. * widgets/shortcut-bar/e-shortcut-bar.c: Sort of use the new pixmaps. This code needs to be restructured, but Damon is rumored to already be doing it. svn path=/trunk/; revision=2261
* look mum! new icons! /tigertTuomas Kuosmanen2000-03-311-0/+8
| | | | svn path=/trunk/; revision=2257
* Call bonobo_control_frame_activate on the folder_view every time it isDan Winship2000-03-301-0/+7
| | | | | | | | | | | | * shell/e-shell-view.c (e_shell_view_set_view): Call bonobo_control_frame_activate on the folder_view every time it is displayed, and bonobo_control_frame_deactivate every time it is hidden. * folder-browser-factory.c (control_activate): build a toolbar. (control_deactivate): and hide it. svn path=/trunk/; revision=2250
* Fixed management of the corba-cursor object by callingChristopher James Lahey2000-03-301-0/+8
| | | | | | | | | | | | 2000-03-29 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/e-card-cursor.c: Fixed management of the corba-cursor object by calling CORBA_Object_duplicate on it on e-card-cursor creation and calling CORBA_Object_release on e-card-cursor destruction. Also, properly free string returned from Evolution_CardCursor_get_nth function. svn path=/trunk/; revision=2249
* + * addressbook/backend/ebook/test-client.c (get_cursor_cb): AddedMatthew Loper2000-03-301-0/+8
| | | | | | | | | | | + some debugging. + + * addressbook/backend/ebook/e-book-listener.c: Added inline + documentation for exposed functions. + * addressbook/backend/ebook/e-card-cursor.c: same. + * addressbook/backend/ebook/e-card.c: same. svn path=/trunk/; revision=2248
* + * Makefile.am: add calendar compilation back in.Matthew Loper2000-03-301-0/+2
| | | | | | | | + + * calendar/Makefile.am: remove the gui directory, which doesn't + compile. svn path=/trunk/; revision=2247
* + * addressbook/backend/pas/pas-book-factory.cMatthew Loper2000-03-301-0/+14
| | | | | | | | | | | | | | | | | | | | + (PAS_BOOK_FACTORY_GOAD_ID): changed to + "evolution:addressbook-server". + + * addressbook/backend/pas/Makefile.am: no need to install a + .gnorba file from here, as the wombat.gnorba file in + evolution/wombat will do its job. + + * addressbook/backend/ebook/test-client.c (ebook_create): if + ebook_new fails, print a warning and return. + + * addressbook/backend/ebook/e-book.c (CARDSERVER_GOAD_ID): changed + to "evolution:addressbook-server". The wombat in evolution/wombat will now have both the pcs and the pas in it. svn path=/trunk/; revision=2246
* + * wombat/wombat.c: Changed headerfile path.Matthew Loper2000-03-291-0/+9
| | | | | | | | | + + * wombat/Makefile.am: Use relative paths to libraries in the build + tree, rather than requiring libraries (such as libpcs) to already + be installed. svn path=/trunk/; revision=2245
* + * wombat/Makefile.am: new file.Matthew Loper2000-03-291-0/+5
| | | | | | | | | | | + * wombat/wombat.gnorba: Cleaned up. + + * wombat/wombat.c (setup_pcs): filled in the rest. + + * e-table-text-model.c (e_table_text_model_destroy): made + assertion more accurate. svn path=/trunk/; revision=2244
* use g_new0 to allocate the BonoboObjectServant.Chris Toshok2000-03-291-0/+3
| | | | | | | * addressbook/backend/pas/pas-card-cursor.c (create_cursor): use g_new0 to allocate the BonoboObjectServant. svn path=/trunk/; revision=2243
* + * Makefile.am: added wombat.Matthew Loper2000-03-291-0/+2
| | | | svn path=/trunk/; revision=2242
* + * wombat/wombat.gnorba: new file.Matthew Loper2000-03-291-0/+10
| | | | | | | | | | | | | | + + * wombat/.cvsignore: new file. + + * wombat/wombat.c (setup_pcs): fill out this function some. + + * configure.in: added wombat. + + * pcs/Makefile.am: create a libpcs.la library, for use in the + wombat. svn path=/trunk/; revision=2241
* remove unnecessary strdup/free.Chris Toshok2000-03-291-0/+6
| | | | | | | | * addressbook/backend/pas/pas-backend-file.c (pas_backend_file_build_all_cards_list): remove unnecessary strdup/free. svn path=/trunk/; revision=2240
* Removed an infinite loop.Christopher James Lahey2000-03-291-0/+11
| | | | | | | | | | | | | | | 2000-03-28 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/pas/pas-backend-file.c: Removed an infinite loop. * addressbook/backend/ebook/test-client-list.c: New test that doesn't add an extra database item. * addressbook/backend/ebook/Makefile.am, addressbook/backend/ebook/.cvsignore: Added test-client-list. svn path=/trunk/; revision=2239
* Fixed memory allocation.Christopher James Lahey2000-03-291-0/+14
| | | | | | | | | | | | | | | | | | 2000-03-28 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/pas/pas-card-cursor.c: Fixed memory allocation. * addressbook/backend/pas/pas-backend-file.c: Fixed memory allocation. Made database stuff not do an extra entry. * addressbook/backend/ebook/test-client.c: Add test for get_all_cards functionality. Changed database name to test.db. * addressbook/backend/ebook/e-card-cursor.c: Changed bonobo_object to gtk_object in a couple of places. svn path=/trunk/; revision=2236
* create id's for entries using the following format: ("pas-id-%08lX%08X",Chris Toshok2000-03-291-0/+6
| | | | | | | | * addressbook/backend/pas/pas-backend-file.c (pas_backend_file_create_unique_id): create id's for entries using the following format: ("pas-id-%08lX%08X", time(NULL), c++). svn path=/trunk/; revision=2235
* implement function. (get_nth): implement function. (cursor_destroy): freeChris Toshok2000-03-281-0/+8
| | | | | | | | | | | | | | * addressbook/backend/pas/pas-backend-file.c (get_length): implement function. (get_nth): implement function. (cursor_destroy): free up the internal glist of vcards, and fix warning. (pas_backend_file_build_all_cards_list): new function, to build up the list of cards in the db. (pas_backend_file_process_get_all_cards): call pas_backend_file_build_+all_cards_list, and fix warning. svn path=/trunk/; revision=2210
* New function, used to flatten the images we get and composite them withMiguel de Icaza2000-03-281-0/+7
| | | | | | | | | | | 2000-03-27 Miguel de Icaza <miguel@gnu.org> * widgets/shortcut-bar/e-icon-bar.c (flatten_alpha): New function, used to flatten the images we get and composite them with the background. (e_icon_bar_add_item): One happy tigert comming. svn path=/trunk/; revision=2209
* new test program. Can be used to copy POP mail into your evolution inbox.Dan Winship2000-03-281-0/+5
| | | | | | | * tests/test-movemail.c: new test program. Can be used to copy POP mail into your evolution inbox. svn path=/trunk/; revision=2208
* remove unneeded g_strdup;Chris Toshok2000-03-281-0/+5
| | | | | | | * addressbook/backend/pas/pas-backend-file.c (pas_backend_file_get_vcard): remove unneeded g_strdup; svn path=/trunk/; revision=2207
* Fixed some warnings.Christopher James Lahey2000-03-281-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-03-27 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/test-card.c: Fixed some warnings. * addressbook/backend/ebook/test-client.c: Added a section to test cursors and returning an id when adding. * addressbook/backend/ebook/e-card-pairs.h: Removed the address pairs since they were added to e-card.c. * addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h: Made the set_id function take a const char *. * addressbook/backend/ebook/e-book-listener.c, addressbook/backend/ebook/e-book-listener.h, addressbook/backend/ebook/e-book.c, addressbook/backend/ebook/e-book.h, addressbook/backend/idl/addressbook.idl, addressbook/backend/pas/pas-backend-file.c, addressbook/backend/pas/pas-book.c, addressbook/backend/pas/pas-book.h: Added a get_all_cards function and made the response to the create_card function include the card id. * addressbook/backend/ebook/Makefile.am: Added e-card-cursor.c and e-card-cursor.h. * addressbook/backend/ebook/e-card-cursor.c, addressbook/backend/ebook/e-card-cursor.h: New class for proxying to an Evolution_CardCursor. * addressbook/backend/pas/Makefile.am: Added pas-card-cursor.c and pas-card-cursor.h. * addressbook/backend/pas/pas-card-cursor.c, addressbook/backend/pas/pas-card-cursor.h: New bonobo class for making an Evolution_CardCursor server. svn path=/trunk/; revision=2205
* This test is basically now invalid.NotZed2000-03-281-2/+14
| | | | | | | | | | | 2000-03-27 NotZed <NotZed@HelixCode.com> * tests/test9.c (main): This test is basically now invalid. * tests/test11.c (main): Fix for async search api. Probably works. Removed camel-mbox-*.h headers, should be private. svn path=/trunk/; revision=2200
* Added some icons to-be-in-message-list-view... /tigertTuomas Kuosmanen2000-03-271-0/+8
| | | | svn path=/trunk/; revision=2181
* check for db_185.h (present in newer db distributions.)Chris Toshok2000-03-271-0/+3
| | | | | | | * configure.in: check for db_185.h (present in newer db distributions.) svn path=/trunk/; revision=2179
* (string_to_dbt): new function.Chris Toshok2000-03-271-0/+10
| | | | | | | | | | | | | | (pas_backend_file_process_create_card): use string_to_dbt (pas_backend_file_process_remove_card): likewise (pas_backend_file_process_modify_card): likewise (pas_backend_file_get_vcard): likewise (pas_backend_file_upgrade_db): new function, to upgrade a db file if we change the data format. (pas_backend_file_maybe_upgrade_db): check db version vs. current code version, and upgrade it necessary. (pas_backend_file_load_uri): call pas_backend_file_maybe_upgrade. svn path=/trunk/; revision=2178
* new function. (pas_backend_file_process_create_card): callChris Toshok2000-03-271-0/+13
| | | | | | | | | | | | | | | * addressbook/backend/pas/pas-backend-file.c (pas_backend_file_create_unique_id): new function. (pas_backend_file_process_create_card): call pas_backend_file_create_unique_id and pas_book_notify_add (if the db->put was successful). also, sync out db. (pas_backend_file_process_remove_card): call pas_book_notify_remove if the db->del was successful, and sync out db. (pas_backend_file_process_modify_card): call pas_book_notify_change if db->put was successful, and sync out db. svn path=/trunk/; revision=2177
* ChangeLog shuffling.Miguel de Icaza2000-03-271-59/+0
| | | | | | | | ChangeLog shuffling. Miguel. svn path=/trunk/; revision=2174
* Load an ECard instead of a VCard and then get the VCard from that ECard.Christopher James Lahey2000-03-261-0/+9
| | | | | | | | | | | | | 2000-03-26 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/test-client.c: Load an ECard instead of a VCard and then get the VCard from that ECard. Just tests ECard and the client stuff at the same time. Also, replaces carriage returns with newlines. * addressbook/backend/ebook/e-book.c: Fixed a small parity error. svn path=/trunk/; revision=2169
* create a card and then look it up.Chris Toshok2000-03-261-0/+5
| | | | | | | * addressbook/backend/ebook/test-client.c: create a card and then look it up. svn path=/trunk/; revision=2168
* add initial work on file pas backend, using db(3).Chris Toshok2000-03-261-0/+13
| | | | svn path=/trunk/; revision=2167
* Set the card id properly when retrieving a card.Christopher James Lahey2000-03-261-0/+9
| | | | | | | | | | | | | 2000-03-26 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/e-book.c: Set the card id properly when retrieving a card. * addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h: Added the ability to set the card's id (and made getting it work correctly also.) svn path=/trunk/; revision=2166
* pass GList* as second parameter to g_list_remove_link, not the dataChris Toshok2000-03-261-0/+5
| | | | | | | * addressbook/backend/ebook/e-book.c (e_book_pop_op): pass GList* as second parameter to g_list_remove_link, not the data pointer. svn path=/trunk/; revision=2165
* Removed the address->description field.Christopher James Lahey2000-03-261-0/+13
| | | | | | | | | | | | | | | | | 2000-03-26 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/e-card-types.h: Removed the address->description field. * addressbook/backend/ebook/e-card.c: Added VCard output and the use of GtkArguments. * addressbook/backend/ebook/test-card.c: Updated this to use the GtkArguments. * addressbook/backend/ebook/e-book.c: Fixed a memory leak. svn path=/trunk/; revision=2164
* + * shell/e-shell-view.c (get_view): Move CORBA_Environment toMatthew Loper2000-03-261-0/+13
| | | | | | | | | | | | | | + different scope. + + * ebook/e-book.c, + ebook/e-book.h, + ebook/e-book.h, + ebook/e-card-fields.h, + ebook/e-card.h, + ebook/e-commerce.h: old, removed. Up-to-date EBook stuff is kept + in addressbook/backend/ebook. svn path=/trunk/; revision=2162
* Added parsing and testing for name, full name, birthday, telephone, email,Christopher James Lahey2000-03-241-0/+17
| | | | | | | | | | | | | | 2000-03-23 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h, addressbook/backend/ebook/e-card-types.h, addressbook/backend/ebook/e-card-pairs.h, addressbook/backend/ebook/test-card.c: Added parsing and testing for name, full name, birthday, telephone, email, and street address properties. svn path=/trunk/; revision=2157
* Formatting cleanup.NotZed2000-03-241-0/+8
| | | | | | | | 2000-03-22 NotZed <NotZed@HelixCode.com> * e-util/e-sexp.h: Formatting cleanup. svn path=/trunk/; revision=2154
* Added the addressbook/backend directory.Christopher James Lahey2000-03-231-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-03-22 Christopher James Lahey <clahey@helixcode.com> * addressbook/Makefile.am, configure.in: Added the addressbook/backend directory. * addressbook/backend/Makefile.am: Removed the libversit directory as it's now included in the base evolution directory. * addressbook/backend/ebook/e-card-pairs.h, addressbook/backend/ebook/Makefile.am: Changed the place where libversit is looked for. * addressbook/backend/ebook/e-book-listener.c: Fixed some indentation. * addressbook/backend/ebook/e-card-pairs.h, addressbook/backend/ebook/e-card-types.h: Commented out some code to get this to compile. * addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h: Turned this into a GTK+ object. * addressbook/backend/pas/pas.c, addressbook/backend/ebook/test-client.c: Include gnome.h and gnorba.h. * addressbook/backend/idl/addressbook.idl: Include Bonobo.idl instead of bonobo-unknown.idl. * addressbook/backend/pas/pas-backend-file.c, addressbook/backend/pas/pas-book.c, addressbook/contact-editor/test-editor.c, addressbook/contact-editor/e-contact-editor.c, addressbook/printing/e-contact-print.c, addressbook/printing/test-contact-print-style-editor.c, addressbook/printing/test-print.c: Killed some warnings. svn path=/trunk/; revision=2150
* + * shell/main.c (evolution_boot): gtk_signal_connect'ed "destroy"Matthew Loper2000-03-231-0/+9
| | | | | | | | | | | | | + to gtk_main_quit, so that the shell dies when you want it to. + + * shell/e-shell-view.c (get_view): Reorganized, and added + assertions. + (e_shell_view_set_view): Added assertions. + + * camel/camel-formatter.c (debug): Disabled some useless debug + messaging. svn path=/trunk/; revision=2141
* Changed gnome_canvas_item_grab_focus to e_canvas_item_grab_focus.Christopher James Lahey2000-03-221-0/+5
| | | | | | | | | 2000-03-21 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Changed gnome_canvas_item_grab_focus to e_canvas_item_grab_focus. svn path=/trunk/; revision=2138
* Make background pixmap get properly set to NULL.Christopher James Lahey2000-03-221-0/+5
| | | | | | | | | 2000-03-21 Christopher James Lahey <clahey@helixcode.com> * addressbook/demo/addressbook-widget.c: Make background pixmap get properly set to NULL. svn path=/trunk/; revision=2136
* Updated to fix a few bugs.Christopher James Lahey2000-03-211-0/+4
| | | | | | | | 2000-03-21 Christopher James Lahey <clahey@helixcode.com> * widgets/shortcut-bar/e-icon-bar.c: Updated to fix a few bugs. svn path=/trunk/; revision=2128
* Added the ability to access the text event processor.Christopher James Lahey2000-03-211-0/+11
| | | | | | | | | | | | | | | 2000-03-20 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Added the ability to access the text event processor. 2000-03-13 Christopher James Lahey <clahey@helixcode.com> * addressbook/demo/addressbook-widget.c: Made the addressbook component look in the users home directory for the addressbook.xml file. svn path=/trunk/; revision=2125
* + * tests/ui-tests/.cvsignore: added filter.Matthew Loper2000-03-211-0/+4
| | | | | | | + + * addressbook/demo/.cvsignore: added test-addressbook. svn path=/trunk/; revision=2123
* New private field in EShellView added, which contains the notebook and aMatthew Loper2000-03-211-0/+12
| | | | | | | | | | | | | | * shell/e-shell-view.h: New private field in EShellView added, which contains the notebook and a hashtable of folders to views. * shell/e-shell-view.c (e_shell_view_set_view): Instead of creating a new control every time we set the view, we now keep our controls in a notebook. This function now switches to the correct notebook page, or creates a new page/control as necessary. (e_shell_view_new): Creates and inserts the notebook into the shell. svn path=/trunk/; revision=2122
* Fix for srcdir != builddir.Elliot Lee2000-03-181-0/+6
| | | | | | | | | * calendar/cal-client/Makefile.am, calendar/cal-util/Makefile.am, calendar/gui/Makefile.am, calendar/pcs/Makefile.am, mail/Makefile.am, widgets/e-text/Makefile.am: Fix for srcdir != builddir. svn path=/trunk/; revision=2119
* build shell before mail since mail relies on the shell idl files beingDan Winship2000-03-141-0/+5
| | | | | | compiled svn path=/trunk/; revision=2116
* Added an E_FOLDER_CONTACTS section to the get_view function.Christopher James Lahey2000-03-141-0/+17
| | | | | | | | | | | | | | | | | | | | | 2000-03-13 Christopher James Lahey <clahey@helixcode.com> * shell/e-shell-view.c: Added an E_FOLDER_CONTACTS section to the get_view function. * addressbook/demo/Makefile.am: Added files for addressbook bonobo component. Changed non bonobo version to compile as test-addressbook. * addressbook/demo/addressbook.c, addressbook/demo/addressbook.gnorba, addressbook/demo/addressbook.h, addressbook/demo/addressbook-factory.c, addressbook/demo/addressbook-widget.c, addressbook/demo/addressbook-widget.h: New factory to create an addressbook bonobo component. svn path=/trunk/; revision=2114
* i2000-03-13 bertrand <bertrand@helixcode.com>bertrand2000-03-131-0/+4
| | | | | | | | | | | | | | | | | * folder-browser-factory.c (folder_browser_set_shell): for testing and demonstration purpose, immediately register a fake service. 2000-03-13 bertrand <bertrand@helixcode.com> * shell/e-shell.c (EShell_register_service): test implementation. Show the uri and the type of service that has just been registered. Test the registering mechanism. Actually seems to work well. svn path=/trunk/; revision=2112
* (get_view): added a parameter to have a reference to the EShellView.bertrand2000-03-131-0/+6
| | | | | | | | | | | | | | | | | 2000-03-13 bertrand <bertrand@helixcode.com> (get_view): added a parameter to have a reference to the EShellView. (get_view): In the case of the mail component use the Evolution_ServiceRepository to give the component a reference to the Shell server. The Mail component now has a reference to the shell corba server. It is gonna make it possible to register new services in the shell. svn path=/trunk/; revision=2111
* once we have the bonobo control widget, disable the autoactivation andbertrand2000-03-131-0/+7
| | | | | | | | | | | | | | | | | | | | | | | 2000-03-13 bertrand <bertrand@helixcode.com> * shell/e-shell-view.c (get_view): once we have the bonobo control widget, disable the autoactivation and activate the control frame. 2000-03-12 bertrand <bertrand@helixcode.com> * folder-browser-factory.c (folder_browser_factory_init): name change. (control_activate_cb): when the control is activated, it merges its own UI with the remote UIHandler. (control_add_menu): sample menu merging. (folder_browser_factory): connect the control "activate" signal. (Bonobo control / shell view) UIMenu merging. svn path=/trunk/; revision=2110
* name changebertrand2000-03-131-0/+3
| | | | | | | | | | | | | | | | 2000-03-12 bertrand <bertrand@helixcode.com> * shell/e-shell-view.c (get_view): name change 2000-03-12 bertrand <bertrand@helixcode.com> * folder-browser-factory.c (folder_browser_factory_init): name change. * evolution-mail.gnorba: name changes svn path=/trunk/; revision=2109
* added the get_e_folder_type function.bertrand2000-03-131-0/+3
| | | | | | | | | | | | | | | | | | | | | 2000-03-12 bertrand <bertrand@helixcode.com> * shell/e-folder.c (e_folder_get_folder_type): added the get_e_folder_type function. 2000-03-12 bertrand <bertrand@helixcode.com> * folder-browser.h: added a reference to an Evolution::Shell object. * folder-browser-factory.c (folder_browser_set_shell): (folder_browser_control_add_service_repository_interface): (folder_browser_factory): the folder-browser control now implements the Evolution/ServiceRepository interface. Sync for matt svn path=/trunk/; revision=2108
* creates an Evolution_ServiceRepository object.bertrand2000-03-131-0/+10
| | | | | | | | | | | | | | | | | | 2000-03-12 bertrand <bertrand@helixcode.com> * shell/evolution-service-repository.c: (evolution_service_repository_new): creates an Evolution_ServiceRepository object. (create_evolution_service_repository): create the corresponding servant. (evolution_service_repository_construct): set the closure as well as the virtual functions. Completed the implementation. The bonobo components can now implement a Evolution::ServiceRepository interface. svn path=/trunk/; revision=2106
* Added e-text-test.Christopher James Lahey2000-03-121-0/+15
| | | | | | | | | | | | | | | | | | | 2000-03-12 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/.cvsignore: Added e-text-test. * addressbook/demo/e-test-model.c, addressbook/demo/e-test-model.h: A model storing data in an array of Address objects. * addressbook/demo/demo.c: Changed to use addressbook/demo/e-test-model.c and addressbook/demo/e-test-model.h. * addressbook/demo/Makefile.am: Added e-test-model.c and e-test-model.h. svn path=/trunk/; revision=2104
* Implementation of the service repository interface as a bonobo object.bertrand2000-03-121-0/+14
| | | | | | | | | | | | | | | | | | 2000-03-12 bertrand <bertrand@helixcode.com> * shell/evolution-service-repository.c: * shell/evolution-service-repository.h: Implementation of the service repository interface as a bonobo object. * shell/evolution-service-repository.idl: new file. Contains the definition for the service repository interface. * shell/Shell.idl: move the shell related stuff here svn path=/trunk/; revision=2103
* Rearranged SUBDIRS for dependencies.Christopher James Lahey2000-03-121-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-03-12 Christopher James Lahey <clahey@helixcode.com> * widgets/Makefile.am: Rearranged SUBDIRS for dependencies. * widgets/e-text/e-text-model.c, widgets/e-text-model.h: New object which stores a piece of text data. All methods are virtual. * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Modified this to use an ETextModel for its data. * widgets/e-text/Makefile.am: Added e-text-model.c and e-text-model.h. * widgets/e-minicard/test-minicard-label.c: Made this work again. * widgets/e-minicard/e-minicard.c, widgets/e-minicard/e-minicard.h: Made this use an ETableModel to get its data. * widgets/e-minicard/e-minicard-label.c, widgets/e-minicard/e-minicard-label.h: Added the ability to set the text model used for the contained text widget. * widgets/e-minicard/Makefile.am: Added e-table since e-minicard is now dependent on an e-table-model for its data. * e-util/e-canvas.c, e-util/e-canvas.h: Fixed some bugs here to speed up reflow and to make it fail less often. * addressbook/demo, addressbook/demo/.cvsignore, addressbook/demo/Makefile.am, addressbook/demo/demo.c, addressbook/demo/spec: A new program to test ETable and EMinicard integration. * configure.in: Added addressbook/demo/Makefile. * addressbook/Makefile.am: Added the demo/ subdirectory. in widgets/e-table/: 2000-03-12 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Made this use an ECanvas. Fixed a bug where e_table_new_from_spec_file was calling e_table_construct instead of e_table_construct_from_spec_file. * e-table-item.c, e-table-header-item.c, e-table-column-item.c: Switched these to use GTK_TYPE_OBJECT and GTK_VALUE_OBJECT instead of GTK_TYPE_POINTER and GTK_TYPE_OBJECT. * e-cell-text.c: Got rid of a crashing bug. * e-table-text-model.c, e-table-text-model.h: A new object which is an e-text-model which uses an e-table-model for its data. * Makefile.am: Added e-table-text-model.c and e-table-text-model.h. * .cvsignore: Added table-example-1 and table-example-2. svn path=/trunk/; revision=2101
* add a field refering to a service associated to the efolder. In the casebertrand2000-03-121-0/+13
| | | | | | | | | | | | | | | | | | | | | | 2000-03-12 bertrand <bertrand@helixcode.com> * shell/e-folder.h: add a field refering to a service associated to the efolder. In the case of distant folders, it is generally a server. * shell/e-service.c: New class. Models a service. A service is an object with an URI and a root folder. It genreally reporesents a distant folder. A service is generally a ressource shared amongst several folders. * shell/e-service.h: 2000-03-10 bertrand <bertrand@helixcode.com> * camel-service.h: cosmetic changes. svn path=/trunk/; revision=2100
* Designed a new system for doing hierarchical displays in the canvas. AddsChristopher James Lahey2000-03-111-0/+13
| | | | | | | | | | | | | | | | | 2000-03-10 Christopher James Lahey <clahey@helixcode.com> * e-util/e-canvas.c, e-util/e-canvas.h: Designed a new system for doing hierarchical displays in the canvas. Adds an extra idle loop to the canvas system. * widgets/e-minicard/e-minicard.c, widgets/e-minicard/e-minicard-label.c, widgets/e-minicard/e-minicard-label.h, widgets/e-minicard/e-reflow.c, widgets/e-minicard/test-reflow.c, widgets/e-text/e-text.c, widgets/e-text/e-text.h: Adapted to use the new e-canvas reflow system. svn path=/trunk/; revision=2096
* plug mem leaks due to bad documentation ofbertrand2000-03-091-0/+6
| | | | | | | | | | | | | | | | | | | | | | | 2000-03-07 bertrand <bertrand@helixcode.com> * camel-formatter.c (handle_mime_part): plug mem leaks due to bad documentation of camel_content_field_get_mime_type (print_camel_body_part): idem (handle_multipart_alternative): idem * gmime-content-field.c (gmime_content_field_get_mime_type): documentation fix. * camel-mime-part.c (my_finalize): unref the content_input_stream if any. * shell/e-shell-shortcut.c (shortcut_bar_item_selected): removed a test that prevented the standard menu to be shown. svn path=/trunk/; revision=2089
* Added a "break_characters" argument. It lets you define a set ofChristopher James Lahey2000-03-081-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | 2000-03-07 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Added a "break_characters" argument. It lets you define a set of characters which should cause optional linebreaks to occur. Made setting the "clip_height" argument to -1 mean no height clipping. Moved calling the "resize" signal into an idle handler to avoid reentering the canvas update loop. Made EText recalc bounds if the affine has changed. Fixed up tooltip_count (this counts the number of ENTER and LEAVE events.) * widgets/e-text/e-text-test.c: Got rid of a few warnings. * widgets/e-minicard/e-minicard-label.h: Reindent a few lines. * widgets/e-minicard/e-minicard.c, widgets/e-minicard/e-minicard-label.c: Switch from using "x" and "y" to set the children's position to using e_canvas_item_move_absolute. svn path=/trunk/; revision=2079
* Fixed e_xml_set_integer_prop_by_name.Christopher James Lahey2000-03-061-0/+4
| | | | | | | | 2000-03-05 Christopher James Lahey <clahey@helixcode.com> * e-util/e-xml-utils.c: Fixed e_xml_set_integer_prop_by_name. svn path=/trunk/; revision=2066
* Commenting added. (on_url_data_requested): renamed fromMatthew Loper2000-03-051-0/+9
| | | | | | | | | | | * tests/ui-tests/message-browser.c: Commenting added. (on_url_data_requested): renamed from "on_url_requested", to reflect that a stream of data is what's actually being asked for. (hydrate_persist_stream_from_gstring): New function. (camel_stream_to_gstring): New function. (on_object_requested): Cleaned up. svn path=/trunk/; revision=2058
* Added e_xml_set_integer_prop_by_name.Christopher James Lahey2000-03-051-0/+5
| | | | | | | | | 2000-03-04 Christopher James Lahey <clahey@helixcode.com> * e-util/e-xml-utils.c, e-util/e-xml-utils.h: Added e_xml_set_integer_prop_by_name. svn path=/trunk/; revision=2051
* add bonobo to the build process.bertrand2000-03-041-0/+11
| | | | | | | | | | | | | | | 2000-03-04 bertrand <bertrand@helixcode.com> * tests/ui-tests/Makefile.am: add bonobo to the build process. * tests/ui-tests/message-browser.c (main): initialize Bonobo. Use bonobo_main. (get_gtk_html_contents_window): set signal handlers for url requests and objects requests. (on_object_requested): answer to object requests. svn path=/trunk/; revision=2037
* initialize gdkrgb. Push visual/colormap. (on_url_requested): in the casebertrand2000-03-041-0/+10
| | | | | | | | | | | | | | | | 2000-03-03 bertrand <bertrand@helixcode.com> * tests/ui-tests/message-browser.c (main): initialize gdkrgb. Push visual/colormap. (on_url_requested): in the case where a camel url is requested, write the camel stream to gtkhtml. * tests/ui-tests/Makefile.am (filter_LDADD): add gnomeprint in the lib list. Message browser shows inline images. Woohoo ! svn path=/trunk/; revision=2022
* Various building fixes. At least, now it builds for me.Ettore Perazzoli2000-03-021-0/+11
| | | | svn path=/trunk/; revision=2007
* Added calendar/idl/Makefile, calendar/cal-client/Makefile, andFederico Mena Quintero2000-03-021-0/+6
| | | | | | | | | | 2000-03-01 Federico Mena Quintero <federico@helixcode.com> * configure.in (AC_OUTPUT): Added calendar/idl/Makefile, calendar/cal-client/Makefile, and calendar/pcs/Makefile to the list of files to generate. svn path=/trunk/; revision=2004
* Don't show the tooltip if the text is being editted or isn't clipped.Iain Holmes2000-03-011-0/+7
| | | | | | | | | | | 2000-02-29 Iain Holmes <ih@csd.abdn.ac.uk> * widgets/e-text/e-text.c: Don't show the tooltip if the text is being editted or isn't clipped. Remove the tooltip when editting starts. * widgets/e-text/Makefile.am: Build the test program svn path=/trunk/; revision=1994
* Added test program.NotZed2000-03-011-0/+9
| | | | | | | | | | | | | 2000-02-29 NotZed <NotZed@HelixCode.com> * tests/ui-tests/Makefile.am (filter_LDADD): Added test program. * tests/ui-tests/filterdescription.xml, saveoptions.xml: Data files for test program. * tests/ui-tests/filter.c (main): Test program for filter ui. svn path=/trunk/; revision=1992
* Fixed references to libutil.a -> libeutil.laMichael Zucci2000-02-291-0/+6
| | | | svn path=/trunk/; revision=1983
* Added. moved from filter-sexp.[ch]NotZed2000-02-291-0/+10
| | | | | | | | | | | | | | 2000-02-28 NotZed <NotZed@HelixCode.com> * e-util/e-sexp.[ch]: Added. moved from filter-sexp.[ch] * e-util/Makefile.am (libeutil_a_SOURCES): Add e-sexp. (noinst_LTLIBRARIES): Changed to a libtool library. * Makefile.am (SUBDIRS): Build e-util before other stuff. (SUBDIRS): Build filter after camel. svn path=/trunk/; revision=1980
* Compilation error.Chris Lahey2000-02-281-0/+4
| | | | | | | | 2000-02-28 Chris Lahey <clahey@umich.edu> * widgets/e-text/e-text.c: Compilation error. svn path=/trunk/; revision=1973
* Updated these to use the canvas ::update system properly.Chris Lahey2000-02-281-0/+5
| | | | | | | | | 2000-02-28 Chris Lahey <clahey@umich.edu> * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Updated these to use the canvas ::update system properly. svn path=/trunk/; revision=1972
* Added e_xml_get_integer_prop_by_name.Christopher James Lahey2000-02-251-0/+11
| | | | | | | | | | | | | | | | | | | | | 2000-02-24 Christopher James Lahey <clahey@helixcode.com> * e-util/e-xml-utils.c, e-util/e-xml-utils.h: Added e_xml_get_integer_prop_by_name. * e-util/Makefile.am: Added e-util.c. * e-util/e-util.h: Added e-util.c functions. * e-util/e-util.c: New file for compare functions from mail: 2000-02-24 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Changed to match new e_table_simple interface. svn path=/trunk/; revision=1931
* Add CamelTransport abstract class and CamelSendmailTransportDan Winship2000-02-251-0/+5
| | | | svn path=/trunk/; revision=1921
* This were moved to widgets/e-text/ a while ago but never removed. TheyChristopher James Lahey2000-02-241-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-24 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text.c, widgets/e-text.h, e-text-event-processor.c, e-text-event-processor.h, e-text-event-processor-emacs-like.c, e-text-event-processor-emacs-like.h, e-text-event-processor-types.h: This were moved to widgets/e-text/ a while ago but never removed. They have now been removed. * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Removed some warnings from this file. Made tooltips disappear when you're finished with them. * widgets/e-minicard/test-reflow.c, widgets/e-minicard/test-minicard.c, widgets/e-minicard/test-minicard-label.c: Commented out unused about_callback functions. * widgets/e-minicard/e-reflow.c: Made e-reflow pass an EFocus to its e-minicard children. * widgets/e-minicard/e-minicard.c: Made e-minicard take and return an EFocus for its "has_focus" argument. This makes shift-tab work properly. * widgets/e-minicard/e-minicard-label.c: Made e-minicard-label take and return an EFocus for its "has_focus" argument. Made the font that e-minicard-label uses only be allocated once. * e-util/e-canvas-utils.h: Fixed the comment at the top and added #ifndef __E_CANVAS_UTILS__. * e-util/Makefile.am: Added e-xml-utils.c and e-xml-utils.h. * e-util/e-xml-utils.h, e-util/e-xml-utils.c: Added files for some xml utilities. * e-util/e-util.h: Added type EFocus which describes which direction the focus will be coming from. in mail: 2000-02-24 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Changed this to not use the "x" and "y" arguments to e-table-item. in widgets/e-table: 2000-02-24 Christopher James Lahey <clahey@helixcode.com> * e-table-subset-variable.c, e-table-subset-variable.h: A new model which is a subset, but you can add and remove rows. * test-table.c: Added a thaw method for use with the e-table-subset (emits model_changed.) Adapted to the changes to e_table_item. Properly parse headers. Adapted to the changes to e_table, including creating example xml spec data. * test-cols.c, test-check.c: Added a thaw method for use with the e-table-subset (emits model_changed.) Adapted to the changes to e_table_item. * e-table.c, e-table.h: Reworked e-table to use the ETable grouping system. The only difference for the interface is that instead of passing in a column_spec and a grouping_spec, you pass in a single string that is an xml format that includes both pieces of information. * e-table-subset.h: Added rules for emacs to do correct indentation. * e-table-subset.c: Implemented freezing. No signals are emitted while frozen and "model_changed" is emitted when thawed. * e-table-sorted.h: ETableSortedClass has ETableSubset as its parent object instead of ETableSubsetClass. Fixed this. * e-table-simple.c, e-table-simple.h: Implemented the thaw method. Use of simple now requires an extra argument (the thaw method.) * e-table-model.h, e-table-model.c: Added e_table_model_freeze and e_table_model_thaw. * e-table-item.h, e-table-item.c: Reworked this a bit to make it provide some things the new group system needed and to make inter-item keyboard focus work. Changed the external interface only in the list of arguments it recognizes and signals it emits. Instead of "x" and "y", you have to use e_canvas_item_move_absolute and instead of emitting a "height_changed" signal, it emits a "resize" signal. There's new "has_focus", "width", and "height" arguments and a function to get the currently focused column. * e-table-header-item.c: Got rid of some warnings here. Changed the * e-table-group-leaf.h, e-table-group-leaf.c, e-table-group-container.h, e-table-group-container.c: New types to make e_table_group work properly. * e-table-group.h, e-table-group.c: Completely reworked e-table grouping. e-table-group now uses a hierarchical structure. * e-cell.h: Added e_cell_print. This doesn't work yet. * e-cell.c: Made e_cell_realize exist. (It was improperly named e_cell_view_realize in the .c.) * e-cell-text.c: Made the blinking cursor disappear properly. * check-filled.xpm, check-empty.xpm: Made these const char *[] instead of char *[] to avoid compiler warnings. * Makefile.am: Added e-table-group-container.c, e-table-group-container.h, e-table-group-leaf.c, e-table-group-leaf.h, e-table-subset-variable.c, e-table-subset-variable.h. svn path=/trunk/; revision=1915
* ~/evolution should be mode 700, not 600Dan Winship2000-02-241-0/+6
| | | | svn path=/trunk/; revision=1912
* added a reset method. Thanks message-browser to find so much bugs :)bertrand2000-02-221-0/+5
| | | | | | | | | | | | | | | | | | 2000-02-22 bertrand <Bertrand.Guiheneuf@aful.org> * camel-stream-b64.c (reset__static): added a reset method. Thanks message-browser to find so much bugs :) * providers/mbox/Makefile.am (libcamelmbox_la_LIBADD): readd Unicode libs. * shell/Makefile.am (evolution_LDADD): add libetext.a. Fixes. svn path=/trunk/; revision=1900
* + * tests/ui-tests/message-browser.c (on_link_clicked): stopMatthew Loper2000-02-221-0/+3
| | | | | | + sscanf() abuse. svn path=/trunk/; revision=1898
* + * tests/Makefile.am: changed references to libibex.a toMatthew Loper2000-02-221-0/+3
| | | | | | + libibex.la. svn path=/trunk/; revision=1896
* + * libical/src/libical/.cvsignore: Added *.lo, *.la, and .libs.Matthew Loper2000-02-221-0/+5
| | | | | | | | | | | | + * libical/src/libicalss/.cvsignore: same. + + * tests/.cvsignore: Added test11. + + * filter/.cvsignore: New file. + + * libibex/.cvsignore: Added mkindex. svn path=/trunk/; revision=1895
* + * libical/Makefile.in: autogenerated file removed from cvs, andMatthew Loper2000-02-221-0/+8
| | | | | | | | | | | + added to .cvsignore. + * libical/src/Makefile.in: same. + * libical/src/libical/Makefile.in: same. + * libical/src/libicalss/Makefile.in: same. + + * mail/Makefile.am: added -lunicode to evolution_mail_LDADD. svn path=/trunk/; revision=1894
* A lot of changes in the way the parsing works. I am too lazyBertrand Guiheneuf2000-02-221-0/+6
| | | | | | | | | | to find all the changes. Important notice, I added uggly hacks to camel-formatter.c and message-browser so that I could test b64 decoding. Saving streams works. Have to implement qp now. svn path=/trunk/; revision=1893
* Add "authenticator" to CamelSession and update things to use it.Dan Winship2000-02-221-0/+5
| | | | svn path=/trunk/; revision=1890
* Changed dependencies on libibex.la to libibex.a. In test9_LDADD, placedMatthew Loper2000-02-211-0/+6
| | | | | | | | * tests/Makefile.am: Changed dependencies on libibex.la to libibex.a. In test9_LDADD, placed libcamelmbox.la before libibex.la, as the former requires the latter. svn path=/trunk/; revision=1871
* Michael created camel/ChangeLog on 2/12 but didn't commit it until 2/18,Dan Winship2000-02-211-184/+0
| | | | | | | | | meaning his ChangeLog entries ended up there and everyone else's ended up in the top-level ChangeLog. Move the post-2/12 ChangeLog entries from ChangeLog to camel/ChangeLog so that you don't need to look in two different places for that week's worth of commits. svn path=/trunk/; revision=1868
* added libetext.a and libeutil.a to test_shortcut_bar_LDADD, and got rid ofDamon Chaplin2000-02-211-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | 2000-02-20 Damon Chaplin <damon@helixcode.com> * widgets/shortcut-bar/Makefile.am: added libetext.a and libeutil.a to test_shortcut_bar_LDADD, and got rid of e-icon-bar-text-item.[hc]. I'll delete these soon. * widgets/shortcut-bar/e-icon-bar.c: changed to be a subclass of ECanvas and to use EText instead of EIconBarTextItem. Also set "width_set" & "height_set" of the GnomeCanvasPixbuf items so they work in the "Small Icon" view. * widgets/shortcut-bar/e-vscrolled-bar.c: use map/unmap instead of show/hide for the up & down buttons to avoid queueing resizes. Otherwise the scrolling starts off a bit jerky. * widgets/shortcut-bar/test-shortcut-bar.c: output a message when the main label is resized, just for info. * widgets/shortcut-bar/*.[hc]: updated my email address. svn path=/trunk/; revision=1867
* Show the text of the item, in a tooltip style. (e_text_event): Add aIain Holmes2000-02-211-0/+9
| | | | | | | | | | | | | 2000-02-20 Iain Holmes <ih@csd.abdn.ac.uk> * widgets/e-text/e-text.[ch] (_do_tooltip): Show the text of the item, in a tooltip style. (e_text_event): Add a timeout on the Enter and remove it on the Leave events. * e-text-test.c: New file to test e-text items. svn path=/trunk/; revision=1866
* + * .cvsignore: added ABOUT-NLS.Matthew Loper2000-02-201-0/+5
| | | | | | + * ABOUT-NLS: removed. svn path=/trunk/; revision=1865
* When a link is clicked, indicate the link with a dialog.Matthew Loper2000-02-201-1/+4
| | | | | | | * tests/ui-tests/message-browser.c (on_link_clicked): When a link is clicked, indicate the link with a dialog. svn path=/trunk/; revision=1864
* + * libical/src/test/.cvsignore: Added Makefile.Matthew Loper2000-02-201-1/+1
| | | | | | | | | + + * libical/.cvsignore: Added Makefile, configure, config.status. + + * libical/src/.cvsignore: New file. svn path=/trunk/; revision=1863
* + * libical/src/test/.cvsignore: Added Makefile.Matthew Loper2000-02-201-0/+6
| | | | | | | | | + + * libical/.cvsignore: Added Makefile, configure, config.status. + + * libical/src/.cvsignore: New file. svn path=/trunk/; revision=1862
* + * libical/Makefile: autogenerated file removed from cvs.Matthew Loper2000-02-201-0/+6
| | | | | | | | | + * libical/configure: same. + * libical/config.status: same. + * libical/src/Makefile: same. + * libical/src/test/Makefile: same. svn path=/trunk/; revision=1861
* + * widgets/e-minicard/.cvsignore: Added minicard-label-test,Matthew Loper2000-02-201-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | + minicard-test, and reflow-test. + + * shell/.cvsignore: added files autogenerated from Evolution.idl. + + * libversit/.cvsignore: Added .libs, vcc.c, vcc.lo, vobject.lo, + vcaltmp.lo, libversit.la + + * libical/src/test/.cvsignore: New file. + + * libical/src/libical/.cvsignore: New file. + + * libical/src/libicalss/.cvsignore: New file. + + * libical/.cvsignore: New file, with config.log in it. + + * calendar/.cvsignore: Added tlacuache and tl-test. + + * libibex/.cvsignore: added lookup. + + * mail/.cvsignore: added test-mail. svn path=/trunk/; revision=1859
* minor cleanup.Matthew Loper2000-02-201-0/+6
| | | | | | | | * tests/ui-tests/message-browser.c: minor cleanup. * tests/ui-tests/.cvsignore: added message-browser. svn path=/trunk/; revision=1858
* Use a relative path to the mbox provider module.NotZed2000-02-191-0/+5
| | | | | | | | | 2000-02-18 NotZed <NotZed@HelixCode.com> * tests/test11.c (main): Use a relative path to the mbox provider module. svn path=/trunk/; revision=1857
* New header with the typedefs for all camel classes. Now the class headersDan Winship2000-02-191-0/+13
| | | | | | | | | | | | | | | * camel/camel-types.h: New header with the typedefs for all camel classes. Now the class headers can just include this and the header for the parent type. This makes it possible for CamelService to include a CamelSession without creating an #include loop. * camel/*: * composer/e-msg-composer-attachment-bar.h: * mail/folder-browser.c: * mail/message-list.c: frob #includes to match the new reality svn path=/trunk/; revision=1850
* Call camel_data_wrapper_set_input_stream, rather thanMatt Loper2000-02-191-0/+8
| | | | | | | | | | | | 2000-02-18 Matt Loper <matt@helixcode.com> * tests/ui-tests/message-browser.c (filename_to_camel_msg): Call camel_data_wrapper_set_input_stream, rather than camel_data_wrapper_construct_from_stream. For the whole message, allow someone to see the header ("to", "from", etc.). Clicking on tree items to see their elements, now works also. svn path=/trunk/; revision=1845
* Make gnomeui the last library on the command line, as its path is the oneMiguel de Icaza2000-02-191-2/+12
| | | | | | | | | | 2000-02-18 Miguel de Icaza <miguel@nuclecu.unam.mx> * configure.in: Make gnomeui the last library on the command line, as its path is the one most likely to hold other old libraries (libxml) and we need newer versions. svn path=/trunk/; revision=1844
* Use the new method for gnome-print checking instead of the old crufty gtk+Miguel de Icaza2000-02-191-0/+6
| | | | | | | | | 2000-02-18 Miguel de Icaza <miguel@nuclecu.unam.mx> * configure.in (have_pthread): Use the new method for gnome-print checking instead of the old crufty gtk+ based one that nobody can svn path=/trunk/; revision=1839
* missing ChangeLog entry for previous commit to camel-service.[ch]Dan Winship2000-02-181-0/+7
| | | | svn path=/trunk/; revision=1836
* use camel_stream_reset instead of seek. The formatter should be able tobertrand2000-02-181-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-17 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-formatter.c (handle_text_plain): (handle_text_html): use camel_stream_reset instead of seek. The formatter should be able to work with all streams, not only seekable streams. In the case where some provider implementation would not be able to provide a reset method to their stream, implementors would have to find a workaround. * camel/camel-session.c (camel_session_new): use (void) instean of () in function decl. * camel/camel-folder.c: ifdef async operation related code. * camel/camel-seekable-stream.c (_seek): added a warning. (_reset): default implementation of reset for seekable stream. * camel/camel-mime-message.h: set_received_date declaration fix. cosmetic changes. * camel/providers/mbox/camel-mbox-provider.c (camel_provider_module_init): use (void) instead of (). * camel/camel-stream.c (camel_stream_reset): new method for CamelStream. svn path=/trunk/; revision=1835
* New function g_url_to_string to convert a Gurl back into a char *Dan Winship2000-02-181-0/+5
| | | | svn path=/trunk/; revision=1833
* revamped so that it uses the output stream of the data wrapperbertrand2000-02-171-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-17 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-formatter.c (handle_text_plain): revamped so that it uses the output stream of the data wrapper (handle_text_html): ditto. * camel/camel-simple-data-wrapper.h: * camel/camel-simple-data-wrapper.c (camel_simple_data_wrapper_new): use (void) instead of (). (_get_output_stream): simple implementation. A lot of small fixes so that the new parser scheme works properly. Simple implementation of the stream though. Changed vette-formatter files so that they work with the new scheme. The new parser is now in a usable state. Still needs some work but the infrastructure is here. /me is happy. svn path=/trunk/; revision=1822
* don't seek the begining of the substream. (_eos): fix eos conditionbertrand2000-02-171-0/+16
| | | | | | | | | | | | | | | | | | | | | | 2000-02-16 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-seekable-substream.c (_set_bounds): don't seek the begining of the substream. (_eos): fix eos condition testing. (_finalize): unref parent stream (_init_with_seekable_stream_and_bounds): ref parent stream * camel/gstring-util.c (g_string_equal_for_hash): (g_string_equal_for_glist): return type is int. * camel/camel.h: * camel/camel.c (camel_init): use (void) instead of (). A lot of other small changes to make the set_input_stream scheme work. It actually works. svn path=/trunk/; revision=1798
* this routine replaces the _read_part routine and does not store the partbertrand2000-02-161-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | 2000-02-15 bertrand <bertrand@helixcode.com> * camel/camel-multipart.c (_localize_part): this routine replaces the _read_part routine and does not store the part in a buffer. (_set_input_stream): use the set_input_stream instead of the construct_from_stream. each bodypart is given an input stream. * camel/camel-mime-part-utils.c: include the data-wrapper-repository header. (camel_mime_part_construct_content_from_stream): use the set_input_stream instead of the construct_from_stream method. * camel/camel-seekable-substream.c (_set_bounds): cur position is set to 0 not to inf_bound. Sync svn path=/trunk/; revision=1790
* Add the unicode libraries as well.Miguel de Icaza2000-02-161-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-14 Miguel de Icaza <miguel@gnu.org> * camel/providers/mbox/Makefile.am (libcamelmbox_la_LIBADD): Add the unicode libraries as well. * camel/camel-provider.c (camel_provider_register_as_module): Add error reporting here. Desire to use Solaris increases. Hair loss in the last two hours: 5,400. * camel/providers/mbox/camel-mbox-provider.c (camel_mbox_get_provider): Renamed function. * camel/camel.h: All include files use camel/ now here. * camel/providers/mbox/Makefile.am: Drop all the dynamism from Camel, and make this a standard library. * configure.in: set the UNICODE_LIBS variable here. 2000-02-14 Miguel de Icaza <miguel@gnu.org> * folder-browser.c (folder_browser_load_folder): New routine, loads a camel folder. (folder_browser_set_uri): redo. * session.c: new file. Implements SessionStores to keep track of a Session/Store tuple. svn path=/trunk/; revision=1783
* include gmime-base64.h various compilation and runtime fixes.bertrand2000-02-151-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-15 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-mime-part.c: include gmime-base64.h various compilation and runtime fixes. (_set_input_stream): store the input substream for the content object. * camel/camel-data-wrapper.h: declare the set/get function on input/output stream. * camel/camel-mime-part.c (_get_content_object): don't use a temporary mem stream. * camel/camel-seekable-substream.c (_seek): (_eos): (_read): the substream can be unlimited in length * camel/camel-data-wrapper.c (camel_data_wrapper_class_init): set the get/set_input/output_stream methods. * camel/camel-multipart.c (_construct_from_stream): camel_stream_seek -> camel_seekable_stream_seek work on the new parser scheme. temporary sync to laptop. svn path=/trunk/; revision=1781
* use the eos stream method. (gmime_read_line_from_stream): ditto.bertrand2000-02-151-0/+11
| | | | | | | | | | | | | | | | | | | | | | | 2000-02-14 bertrand <Bertrand.Guiheneuf@aful.org> * camel/gmime-utils.c (get_header_array_from_stream): use the eos stream method. (gmime_read_line_from_stream): ditto. * camel/camel-stream-fs.h (struct ): add the eof field cosmetics changes. * camel/camel-stream-fs.c (camel_stream_fs_init): set eof. (_read): set eof on end of file. (_eos): implemented. * camel/gmime-utils.c (get_header_array_from_stream): make a blocking version of the header parser. When the fs stream uses gnome-vfs, this should be changed. (gmime_read_line_from_stream): ditto. svn path=/trunk/; revision=1779
* make a blocking version of the header parser. When the fs stream usesbertrand2000-02-151-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-14 bertrand <Bertrand.Guiheneuf@aful.org> * camel/gmime-utils.c (get_header_array_from_stream): make a blocking version of the header parser. When the fs stream uses gnome-vfs, this should be changed. (gmime_read_line_from_stream): ditto. 2000-02-11 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-stream-fs.c: everywhere, when using the cur_pos field, do it on the CamelSeekableStream object. (_seek): small fix. * camel/camel-seekable-stream.c (camel_seekable_stream_seek): s/camel_stream_seek/camel_seekable_stream_seek/g * camel/camel-seekable-stream.h: (struct ): added a field to store the current position. * camel/camel-seekable-stream.c (camel_seekable_stream_get_current_position): New function. Allows to get the current position of a seekable stream. In fact much more changes, but I am lazy. This is the begining of some major changes in camel. svn path=/trunk/; revision=1778
* Add libunicode to CFLAGS/LIBS.NotZed2000-02-141-0/+12
| | | | | | | | | | | | | | | | 2000-02-14 NotZed <notzed@zedzone.helixcode.com> * configure.in (EXTRA_GNOME_CFLAGS): Add libunicode to CFLAGS/LIBS. 2000-02-13 NotZed <notzed@zedzone.helixcode.com> * configure.in: Added check for libunicode. * Makefile.am (SUBDIRS): Added libibex. * tests/test11.c (main): New test, tests search api. svn path=/trunk/; revision=1774
* + * tests/ui-tests/test-multipart-mixed.msg: New rfc822 file, whichMatthew Loper2000-02-141-0/+8
| | | | | | | | | | | + crashes message-browser. + + * tests/ui-tests/message-browser.c (get_gtk_html_window): Takes a + CamelMimeMessage as a param, rather than a filename. + (main): Puts our windows in an hpane rather than a vbox. Also + opens a file dlg box if a filename wasn't given as a first param. svn path=/trunk/; revision=1771
* + * camel/camel-stream-fs.c (_init_with_name): Set stream_fs->fd toMatthew Loper2000-02-141-0/+7
| | | | | | | | | | + -1 if we fail to load the file. + (camel_stream_fs_new_with_name): If stream_fs->fd is -1, return + NULL. These changes make it so that a CamelStreamFs won't be + created if you give it a bogus filename; they may be replaced once + exception handling is in place. svn path=/trunk/; revision=1767
* + * tests/ui-tests/message-browser.c (handle_tree_item): Expand treeMatthew Loper2000-02-141-1/+15
| | | | | | | | | | | | | | | | | | | | | | + items. + (mime_message_to_html): New function; translates a + CamelMimeMessage into two strings (one for the header, and one for + the body). + (get_gtk_html_window): New function; fills out a window with + html. The html is taken from a processed rfc822 file, via a + CamelFormatter. + + * camel/camel-formatter.c: Added assertions. + (handle_text_html): Don't call text_to_html on something that's + already html. + (multipart_foreach): function deleted. + + * mail/html-stream.c (html_stream_new): Second param of + gtk_html_begin should be "", not NULL. + (html_stream_new): gtk_html_parse() is deprecated, so the call was + removed. svn path=/trunk/; revision=1766
* HTMLStreamClass's parent changed to CamelStreamClass, not CamelStream.Matthew Loper2000-02-141-0/+5
| | | | | | | | | | * mail/html-stream.h: HTMLStreamClass's parent changed to CamelStreamClass, not CamelStream. * tests/ui-tests/message-browser.c: Added preliminary support for the viewing of messages via gtkhtml. Lots of commenting. svn path=/trunk/; revision=1765
* Fixed the location the first time you see the drop down menus for changingChristopher James Lahey2000-02-121-0/+6
| | | | | | | | | | 2000-02-11 Christopher James Lahey <clahey@helixcode.com> * addressbook/contact-editor/e-contact-editor.c: Fixed the location the first time you see the drop down menus for changing which phone, email, or snail mail address you see. svn path=/trunk/; revision=1741
* Made a click on a text widget set the cursor properly.Christopher James Lahey2000-02-121-0/+5
| | | | | | | | | 2000-02-11 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c (e_text_event): Made a click on a text widget set the cursor properly. svn path=/trunk/; revision=1740
* Removed some arguments from the .h that will never be implemented.Christopher James Lahey2000-02-121-0/+5
| | | | | | | | | 2000-02-11 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.h: Removed some arguments from the .h that will never be implemented. svn path=/trunk/; revision=1737
* default the text/* mime types to CamelSimpleDataWrapper so that Michaelbertrand2000-02-111-0/+6
| | | | | | | | | | 2000-02-10 bertrand <Bertrand.Guiheneuf@aful.org> * camel/data-wrapper-repository.c (data_wrapper_repository_init): default the text/* mime types to CamelSimpleDataWrapper so that Michael can use get_stream. svn path=/trunk/; revision=1727
* Bad Ettore, no biscuit!NotZed2000-02-111-0/+5
| | | | | | | | | 2000-02-10 NotZed <notzed@zedzone.helixcode.com> * camel/camel-simple-data-wrapper-stream.h: The superclass is actually a seekable stream, not just a stream. svn path=/trunk/; revision=1726
* don't build thread related tests if evolution has been compiled with nobertrand2000-02-111-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-10 bertrand <Bertrand.Guiheneuf@aful.org> * tests/Makefile.am (THREAD_RELATED_TESTS): don't build thread related tests if evolution has been compiled with no thread support. * configure.in (have_pthread): allow user to enable/disable thread support at configure time (EXTRA_GNOME_CFLAGS): (EXTRA_GNOME_LIBS): thread support is directly included in this variable if enabled. No more EXTRA_GNOME_CFLAGS_THREADS Other special support should be added in EXTRA_GNOME_LIBS and EXTRA_GNOME_CFLAGS instead of redefining a new variable each time we want to add a new lib. (bonobo, ....) * camel/camel.c (camel_init): only try to initialize threads if we enabled threads support. * tests/ui-tests/Makefile.am (message_browser_LDADD): use EXTRA_GNOME_LIBS * configure.in (have_pthread): remove HAVE_PTHREADS variable. Define ENABLE_THREADS instead. * camel/Makefile.am: use ENABLE_THREADS not HAVE_PTHREADS to test if we build thread relateed code. * tests/Makefile.am: use EXTRA_GNOME_LIBS, not EXTRA_GNOME_LIBS_THREADS I need to be able to disable thread support to use Insure. svn path=/trunk/; revision=1725
* Removed a bizarre comparison construct for converting case.NotZed2000-02-101-0/+14
| | | | | | | | | | | | | | | | | 2000-02-10 NotZed <notzed@zedzone.helixcode.com> * camel/hash-table-utils.c (g_strcase_hash): Removed a bizarre comparison construct for converting case. 2000-02-09 NotZed <notzed@zedzone.helixcode.com> * camel/data-wrapper-repository.c (data_wrapper_repository_init): Uses case-insensitive compares. * camel/gmime-content-field.c (gmime_content_field_new): Uses case-insensitive compares. svn path=/trunk/; revision=1723
* Increment the copy source address to match the data read offset. (seek):NotZed2000-02-101-0/+4
| | | | | | | | | | 2000-02-09 NotZed <notzed@zedzone.helixcode.com> * camel/camel-simple-data-wrapper-stream.c (read): Increment the copy source address to match the data read offset. (seek): Actually implement the seek. svn path=/trunk/; revision=1722
* If we get a -1 read, DONT update the total bytes, and try and truncate theNotZed2000-02-101-0/+12
| | | | | | | | | | | | | | | | 2000-02-09 NotZed <notzed@zedzone.helixcode.com> * camel/camel-mime-part-utils.c (camel_mime_part_store_stream_in_buffer): If we get a -1 read, DONT update the total bytes, and try and truncate the array in reverse. Eek. * camel/camel-mime-part.c (camel_mime_part_encoding_from_string): This was DEFINETLEY not the right way to do it. strncmp!=strcmp (camel_mime_part_encoding_to_string): Handle the default case. : include string.h for strcmp() etc. svn path=/trunk/; revision=1720
* New test file; run message-browser on it, and it will crash.Matthew Loper2000-02-101-0/+5
| | | | | | | * tests/ui-tests/test-multipart-alt.msg: New test file; run message-browser on it, and it will crash. svn path=/trunk/; revision=1719
* show the containers and the containees (get_message_tree_ctrl): callbertrand2000-02-101-0/+3
| | | | | | | | | | | 2000-02-09 bertrand <Bertrand.Guiheneuf@aful.org> * tests/ui-tests/message-browser.c (handle_tree_item): show the containers and the containees (get_message_tree_ctrl): call handle_tree_item on the message itself svn path=/trunk/; revision=1714
* show the item.bertrand2000-02-101-0/+3
| | | | | | | | | 2000-02-09 bertrand <Bertrand.Guiheneuf@aful.org> * tests/ui-tests/message-browser.c (handle_tree_item): show the item. svn path=/trunk/; revision=1713
* set the mime type to "mime/message". --- THIS IS NOT THE CONTENT TYPE ---bertrand2000-02-101-0/+14
| | | | | | | | | | | | | | | | | | | | | | | 2000-02-09 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-mime-message.c (camel_mime_message_init): set the mime type to "mime/message". --- THIS IS NOT THE CONTENT TYPE --- * camel/camel-mime-body-part.c (camel_mime_body_part_init): set the mime type to "body-part". --- THIS IS NOT THE CONTENT TYPE --- * camel/camel-data-wrapper.c (camel_data_wrapper_set_mime_type): mime_type is const. (_set_input_stream): really set the input stream (_set_output_stream): really set the output stream various other typo fixes. * tests/ui-tests/message-browser.c: various typo fixes in the ctree construction. svn path=/trunk/; revision=1712
* various typo fixes in the ctree construction.bertrand2000-02-101-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-09 bertrand <Bertrand.Guiheneuf@aful.org> * tests/ui-tests/message-browser.c: various typo fixes in the ctree construction. * camel/string-utils.c (string_trim): fix braindead trailing trim bug. * camel/gmime-content-field.c (gmime_content_field_construct_from_string): strip the leading and trailing quotes when constructing the content field. This should be done in a more generic RFC822 approach, but this fixes a bug that prevent matt from analysing some multipart messages. * camel/camel-data-wrapper.h: reorganize the deprecated and new methods. * camel/providers/mbox/camel-mbox-folder.c (_check_get_or_maybe_generate_summary_file): Use "From " as the message separating string. * camel/providers/mbox/camel-mbox-folder.c (_append_message): set the mode when creating the mbox file. * camel/providers/mbox/camel-mbox-utils.c (camel_mbox_write_xev): ditto * camel/providers/mbox/camel-mbox-summary.c (camel_mbox_save_summary): ditto svn path=/trunk/; revision=1711
* Minor cleanup.Matthew Loper2000-02-101-4/+9
| | | | | | | * tests/ui-tests/message-browser.c (print_usage_and_quit): Minor cleanup. svn path=/trunk/; revision=1710
* Actually initialise the class. It simple couldn't have worked before.NotZed2000-02-091-0/+7
| | | | | | | | | | | 2000-02-09 NotZed <notzed@zedzone.helixcode.com> * camel/camel-simple-data-wrapper-stream.c (class_init): Actually initialise the class. It simple couldn't have worked before. (camel_simple_data_wrapper_stream_construct): Commented out code which crashes just to get something working, memory corruption?? svn path=/trunk/; revision=1707
* Add new Makefiles to Makefile list.Christopher James Lahey2000-02-091-0/+14
| | | | | | | | | | | | | | | | | | 2000-02-09 Christopher James Lahey <clahey@helixcode.com> * configure.in: Add new Makefiles to Makefile list. * e-util/Makefile.am: Add canvas utilities to libeutil. * widgets/e-text/Makefile.am: Build libetext. * widgets/e-minicard/Makefile.am: Build libeminicard and test programs. * widgets/Makefile.am: Remove all e-text and e-minicard code and add them to the SUBDIRS list. svn path=/trunk/; revision=1706
* New file; shows a message in tree format, where multipart's have multipleMatthew Loper2000-02-091-0/+6
| | | | | | | | | | * tests/ui-tests/message-browser.c: New file; shows a message in tree format, where multipart's have multiple leaves. * camel/camel-formatter.c: Changed references from 'multipart/alternate' to 'multipart/alternative'. svn path=/trunk/; revision=1700
* + * tests/test-formatter.c (convert_to_html_and_print): Use theMatthew Loper2000-02-091-0/+8
| | | | | | | | | | | + buffer length of the stream to create strings which are then + printed, rather than printing the stream (which might not have a + trailing \0) directly. + + * camel/camel-formatter.c (str_tolower): New function; makes a + string lowercase. svn path=/trunk/; revision=1698
* + * tests/test-formatter.c (convert_to_html_and_print): Fixed callMatthew Loper2000-02-091-0/+4
| | | | | | | + to 'camel_formatter_mime_message_to_html' to contain correct + params. svn path=/trunk/; revision=1697
* New member to 'CamelFormatterPrivate', 'attachments', will be used to letMatthew Loper2000-02-091-0/+16
| | | | | | | | | | | | | | | | | | * camel/camel-formatter.c: New member to 'CamelFormatterPrivate', 'attachments', will be used to let the caller know which items should be treated as attachments (as opposed to objects which are inline to the body). (text_to_html): name changed from 'encode_entities'. Also now converts newlines to <br> tags. (camel_formatter_mime_message_to_html): Now takes two output streams -- one for the header, and one for the body. (get_bonobo_tag_for_object): New function; tries to make a tag out of (1) the leaf of a mime message and (2) a bonobo object that can handle its mime type, but can return NULL if it fails to find the mime type. (handle_vcard): New function; will write out a vcard as html. svn path=/trunk/; revision=1696
* Changed the order of the compilation so the CORBA stuff was generatedIain Holmes2000-02-091-0/+5
| | | | | | | | | | | 2000-02-08 Iain Holmes <ih@csd.abdn.ac.uk> * mail/Makefile.am: Changed the order of the compilation so the CORBA stuff was generated before it was needed. * shell/Makefile.am: Same. svn path=/trunk/; revision=1695
* Added line wrap and a max number of lines (max number of lines is onlyChristopher James Lahey2000-02-081-0/+6
| | | | | | | | | | 2000-02-07 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text.h, widgets/e-text.c: Added line wrap and a max number of lines (max number of lines is only obeyed if text is not being edited). svn path=/trunk/; revision=1691
* Removed an unneccessary include of libhnj. All uses of libhnj areChristopher James Lahey2000-02-081-0/+5
| | | | | | | | | 2000-02-07 Christopher James Lahey <clahey@helixcode.com> * addressbook/printing/e-contact-print.c: Removed an unneccessary include of libhnj. All uses of libhnj are commented out. svn path=/trunk/; revision=1690
* function deleted.Matthew Loper2000-02-081-0/+2
| | | | | | * camel/camel-formatter.c (mime_part_to_html): function deleted. svn path=/trunk/; revision=1688
* + * tests/test-formatter.c (print_usage_and_quit): New function,Matthew Loper2000-02-081-0/+11
| | | | | | | | | | | | + which gives usage information. + + * camel/camel-formatter.c: made the 'stream' a member of the + CamelFormatter class, so that streams don't have to be explicitly + sent as a param where a CamelFormatter is also sent.. + (handle_text_plain): Use 'encode_entities' to change '<' to + '&gt;', etc. svn path=/trunk/; revision=1687
* finished.Damon Chaplin2000-02-071-0/+8
| | | | | | | | | | | 2000-02-07 Damon Chaplin <damon@helixcode.com> * widgets/shortcut-bar/e-group-bar.c (e_group_bar_draw): finished. * widgets/shortcut-bar/e-icon-bar.c (e_icon_bar_item_released): check that an item was pressed. svn path=/trunk/; revision=1684
* typo fix : usebertrand2000-02-021-0/+7
| | | | | | | | | | | | | 2000-02-03 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-formatter.c (find_preferred_displayable_body_part_in_multipart_alternative): (mime_part_to_html): typo fix : use find_preferred_displayable_body_part_in_multipart_alternative instead of the other names. Allows camel to have no undefined symbols. Ooops, had forgotten changelog entry. svn path=/trunk/; revision=1662
* + * tests/test-formatter.c: New file; intended to test theMatthew Loper2000-02-021-0/+10
| | | | | | | | | | | + CamelFormatter class. + + * camel/camel-formatter.c: Lots of cleanup, commenting, some new + functions, and a really basic skeleton for getting bonobo objects + into the html. + (encode_entities): New function, stolen from Daniel Velliard. svn path=/trunk/; revision=1660
* Files to load the contact print style editor from the glade file. Doesn'tChristopher James Lahey2000-02-021-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-01-28 Christopher James Lahey <clahey@helixcode.com> * addressbook/printing/e-contact-print-style-editor.h, addressbook/printing/e-contact-print-style-editor.c, addressbook/printing/test-contact-print-style-editor.c: Files to load the contact print style editor from the glade file. Doesn't really do anything yet. * addressbook/printing/Makefile.am: Added style editor stuff. * addressbook/printing/e-contact-print.glade: Changed a bit. Fixed an out of place widget. * addressbook/printing/.cvsignore: Added contact-print-style-editor-test. * addressbook/printing/smallbook.ecps: Fixed up the values to match the new types. * addressbook/printing/medbook.ecps, addressbook/printing/phonelist.ecps: Added two new printing styles. * addressbook/printing/e-contact-print.h: Fixed an incorrect comment. * addressbook/printing/e-contact-print.c: Added columns and letter tabs. Tweaked spacing all over the place. Fixed card height function so that column wrapping is always done correctly. Added pulling of style information from a file. Added line wrapping within each text field. * addressbook/printing/e-contact-print-types.h: Added a type field for different types of print styles. svn path=/trunk/; revision=1659
* Handle the grab and ungrab command instead of doing focus by hand. ThisChristopher James Lahey2000-01-281-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-01-28 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text.c (e_text_command): Handle the grab and ungrab command instead of doing focus by hand. This fixes a problem related to the scroll wheel. (e_text_command): Reset the blink timer in many more command situations so that the cursor blinks less when you're interacting with it. * widgets/e-text-event-processor-emacs-like.c: Send the grab focus command when starting a selection and the ungrab focus command when ending it. * widgets/e-text-event-processor-types.h: Added grab command type so that the event processor can tell the widget to grab the focus. * widgets/e-reflow.c: Redefined all sizes using #defines so that they can be tweaked later. Added scroll wheel handling and set up adjustment increments so that the scroll bars will work correctly. * widgets/e-minicard.h: Added minicard focus type enum. This doesn't mean anything yet, but it will later be used to say which direction the focus is coming from (below for shift-tab, above for tab.) svn path=/trunk/; revision=1650
* Use e_canvas_item_grab_focus so that it will work with old versions ofChristopher James Lahey2000-01-271-0/+9
| | | | | | | | | | | | | 2000-01-28 Christopher James Lahey <clahey@helixcode.com> * widgets/e-minicard-label.c, widgets/e-minicard.c: Use e_canvas_item_grab_focus so that it will work with old versions of gnome-canvas. * widgets/e-canvas.c, widgets/e-canvas.h: Finished working around focus bugs. svn path=/trunk/; revision=1649
* Set the minimum_width.Christopher James Lahey2000-01-271-0/+9
| | | | | | | | | | | | | 2000-01-28 Christopher James Lahey <clahey@helixcode.com> * widgets/test-reflow.c: Set the minimum_width. * widgets/e-reflow.h, widgets/e-reflow.c: Added one more column line so that the right edge of the reflow will have a line. Also added a minimum_width so that even if the reflow is thinner than the window, when you resize it larger all the lines are drawn. svn path=/trunk/; revision=1648
* Added an arrow cursor for the draggable columns. Made the clickable columnChristopher James Lahey2000-01-261-0/+12
| | | | | | | | | | | | | | | | 2000-01-27 Christopher James Lahey <clahey@helixcode.com> * widgets/e-reflow.h, widgets/e-reflow.c: Added an arrow cursor for the draggable columns. Made the clickable column area larger. * widgets/e-text.h, widgets/e-text.c: Added an I beam cursor for the text item when it is editable. * widgets/e-minicard-label.c: Forward enter and leave notifications to the contained editable text item. svn path=/trunk/; revision=1647
* + * camel/camel-formatter.c: By looking up a mimetype in aMatthew Loper2000-01-261-0/+6
| | | | | | | + hashtable, we can now get a handler function for an arbitrary + mimetype. svn path=/trunk/; revision=1641
* don't set the x_set and y_set arguments as don't exist in gdk-pixbufbertrand2000-01-261-0/+7
| | | | | | | | | | | 2000-01-26 bertrand <bertrand@helixcode.com> * widgets/shortcut-bar/e-icon-bar.c (e_icon_bar_recalc_item_positions): don't set the x_set and y_set arguments as don't exist in gdk-pixbuf anymore. svn path=/trunk/; revision=1640
* cvs shutupMathieu Lacage2000-01-261-0/+4
| | | | svn path=/trunk/; revision=1639
* Handle shift-tab properly now.Christopher James Lahey2000-01-261-0/+19
| | | | | | | | | | | | | | | | | | | | | | | 2000-01-25 Christopher James Lahey <clahey@helixcode.com> * widgets/e-reflow.c, widgets/e-minicard.c: Handle shift-tab properly now. * widgets/e-minicard-label.c: Reindented some areas. * widgets/test-reflow.c: Use e-canvas. Set the back pixmap to NULL for the canvas so that scrolling won't flash grey. * widgets/e-canvas.c, widgets/e-canvas.h: These subclass GnomeCanvas to work around a few bugs so that evolution will work well with old versions of gnome-libs. * widgets/Makefile.am: Added e-canvas.c and e-canvas.h. * addressbook/contact-editor/contact-editor.glade: Not much change. Mostly internal reorganization by glade itself. svn path=/trunk/; revision=1638
* Example contact printing style. Not used yet.Christopher James Lahey2000-01-261-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | 2000-01-25 Christopher James Lahey <clahey@helixcode.com> * addressbook/printing/smallbook.ecps: Example contact printing style. Not used yet. * addressbook/printing/e-contact-print.glade: A glade file for editing contact printing styles. Not used yet. * addressbook/printing/test-print.c: Test file for printing. * addressbook/printing/e-contact-print.c, addressbook/printing/e-contact-print.h, addressbook/printing/e-contact-print-types.h, addressbook/printing/Makefile.am, addressbook/printing/.cvsignore: New files for contact printing support. * addressbook/Makefile.am (SUBDIRS): Add printing. * configure.in: Check for gnome-print. Build the addressbook/printing Makefile. svn path=/trunk/; revision=1634
* The CamelDataWrapper can now be provided with input and output streams, sobertrand2000-01-251-1/+17
| | | | | | | | | | | | | | | | | | 2000-01-24 bertrand <bertrand@helixcode.com> * camel/camel-data-wrapper.h: * camel/camel-data-wrapper.c (_set_input_stream): (_get_input_stream): (_set_output_stream): (_get_output_stream): The CamelDataWrapper can now be provided with input and output streams, so that nothing has to be kept in memory. * camel/camel-stream.c (camel_stream_class_init): added the "data_available" signal. svn path=/trunk/; revision=1624
* Added the gnome-pilot and capplet checks; they will likely be reworked forFederico Mena Quintero2000-01-251-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-01-24 Federico Mena Quintero <federico@helixcode.com> * configure.in: Added the gnome-pilot and capplet checks; they will likely be reworked for the Evolution framework, but for now the calendar/ directory needs them. * configure.in: Added checks for gnome-vfs. 2000-01-24 Federico Mena Quintero <federico@helixcode.com> * tlacuache.c: New main module for the Tlacuache personal calendar server. * tlacuache.gnorba: New gnorba file for Tlacuache, the GNOME personal calendar server. * Makefile.am: Added the stuff necessary to build Tlacuache. * cal.c (Cal_get_uri): Convert the URI to a string before returning it. * cal-factory.c (CalFactory_create): Doh, this function is void. * job.c (job_add): Use g_idle_add(), not gtk_idle_add(). svn path=/trunk/; revision=1623
* parent class is now CamelSeekableStream idem idem idem idem (_seek):bertrand2000-01-251-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-01-24 bertrand <bertrand@helixcode.com> * camel/camel-seekable-stream.c: * camel/camel-seekable-stream.h: * camel/camel-simple-data-wrapper-stream.h: parent class is now CamelSeekableStream * camel/camel-stream-buffered-fs.h: idem * camel/camel-stream-buffered-fs.c: idem * camel/camel-stream-mem.h: idem * camel/camel-stream-mem.c: idem (_seek): change declaration * camel/camel-stream-fs.c: parent class is now CamelSeekableStream (_seek): change declaration * camel/camel-stream-fs.h: parent class is now CamelSeekableStream Major compatible change in the stream hierarchy. Removed the seek method from the general streams so that we can use them as "DataSources". svn path=/trunk/; revision=1622
* converted all gint64 variables into guint32.bertrand2000-01-251-0/+10
| | | | | | | | | | | | | | | | 2000-01-24 bertrand <bertrand@helixcode.com> * camel/camel-stream-fs.[ch]: converted all gint64 variables into guint32. * camel/camel-stream-fs.c (_read): fix stupid bug. (_write): ditto. * camel/camel-exception.c (camel_exception_new): don't forget to clean the exception when creating it. svn path=/trunk/; revision=1621
* add recipient_list to the recipients, not recipients_list. I don't knowbertrand2000-01-241-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-01-24 bertrand <bertrand@helixcode.com> * camel/camel-recipient.c (camel_recipient_table_add_list): add recipient_list to the recipients, not recipients_list. I don't know what that variable was doing here. 2000-01-23 bertrand <bertrand@helixcode.com> * camel/camel-store.c (camel_store_get_session): added a public get_session method. * camel/providers/mbox/camel-mbox-summary.c (camel_mbox_save_summary): (camel_mbox_load_summary): load/save message sizes in the summary file * camel/providers/mbox/camel-mbox-summary.h: added a size field to the message information structure. * camel/providers/mbox/camel-mbox-utils.c (parsed_information_to_mbox_summary): copy message size to the mbox summary information too. * camel/camel-stream-fs.c (_seek): updated to work with bounded fs streams. (_write): ditto. (_read): ditto. * camel/camel-stream-fs.h (struct ): added the cur_pos, inf_bound and sup_bound members to allow for bounded fs stream. * camel/camel-stream-fs.c (_set_bounds): new func. (_init_with_fd_and_bounds): idem. (_init_with_name_and_bounds): idem. New functions to allow the usage of bounded fs streams. The bounded fs stream allow, for example, to make a stream from a message stored in an mbox file. svn path=/trunk/; revision=1620
* new function, broken out from 'camel_formatter_make_html'.Matthew Loper2000-01-241-0/+9
| | | | | | | | | | | * camel/camel-formatter.c (write_header_info_to_stream): new function, broken out from 'camel_formatter_make_html'. (write_mimepart_to_stream): same. (find_text_body_part_in_multipart_related): new function. (camel_formatter_make_html): Now tries to deal with multipart/related, multipart/alternate, and text/(plain|html). svn path=/trunk/; revision=1619
* use the real summary file path instead of a stupid hardcoded one. Fixesbertrand2000-01-231-1/+8
| | | | | | | | | | | | | | | | | 2000-01-22 bertrand <bertrand@helixcode.com> * camel/providers/mbox/camel-mbox-folder.c (_check_get_or_maybe_generate_summary_file): use the real summary file path instead of a stupid hardcoded one. Fixes yet another bug. * camel/providers/mbox/camel-mbox-utils.c (parsed_information_to_mbox_summary): don't forget to copy the date too. Fix a very annoying bug. * camel/providers/mbox/camel-mbox-folder.c (_append_message): implemented. A lot of fixes too. Works now. (_get_uid_list): implemented. svn path=/trunk/; revision=1609
* implemented. A lot of fixes too. Works now.bertrand2000-01-231-0/+6
| | | | | | | | | 2000-01-22 bertrand <bertrand@helixcode.com> * camel/providers/mbox/camel-mbox-folder.c (_append_message): implemented. A lot of fixes too. Works now. svn path=/trunk/; revision=1608
* test the mbox provider.bertrand2000-01-221-0/+16
| | | | | | | | | | | | | | | | | | | | | | 2000-01-21 bertrand <bertrand@helixcode.com> * tests/test10.c: test the mbox provider. * camel/camel-folder.c (_set_name): if camel_folder_get_mode returns an exception, return it instead of overriding it with a new one. (camel_folder_is_open): make the is_open method public. (_set_name): use the is_open instead of get_mode. (_set_name): set the fullname even in the case where the folder has no parent. (_set_name): use %c, not %d to add the separator char into the full path. svn path=/trunk/; revision=1606
* add exception handling everywhere in the store related functionsbertrand2000-01-221-0/+6
| | | | | | | | | | | | | | | | 2000-01-21 bertrand <bertrand@helixcode.com> * camel/camel-store.c: add exception handling everywhere in the store related functions arguments. * camel/providers/mbox/camel-mbox-folder.c: idem * camel/providers/mbox/camel-mbox-folder.h: idem * camel/providers/mbox/camel-mbox-store.h: idem * camel/providers/mbox/Makefile.am (libcamelmbox_la_SOURCES): added camel-mbox-provider.c to the mbox provider sources. svn path=/trunk/; revision=1605
* added camel-mbox-provider.c to the mbox provider sources.bertrand2000-01-221-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-01-21 bertrand <bertrand@helixcode.com> * camel/providers/mbox/Makefile.am (libcamelmbox_la_SOURCES): added camel-mbox-provider.c to the mbox provider sources. * camel/providers/mbox/camel-mbox-provider.c: provider registration code. * camel/providers/mbox/camel-mbox-folder.c (_get_message_count): implemented (_append_message): implemented * camel/providers/mbox/camel-mbox-parser.c (initialize_buffer): use \0 to mark the end of the buffer. (read_next_buffer_chunk): ditto. (read_header): test the presence of a \0 instead of reading the eof field (read_message_begining): idem. (camel_mbox_parse_file): idem. Remove the eof field from the parser structure. (read_next_buffer_chunk): removed some nasty bugs again. svn path=/trunk/; revision=1604