aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Constified XML utility functions.Ettore Perazzoli2000-05-025-16/+22
| | | | svn path=/trunk/; revision=2722
* Turn off control frame autoactivation, so the toolbars work correctly.Dan Winship2000-05-022-0/+7
| | | | | | | | * e-shell-view.c (e_shell_view_set_view): Turn off control frame autoactivation, so the toolbars work correctly. This may actually be a bug in Bonobo, but we'll kludge around it here for now. svn path=/trunk/; revision=2721
* Add back in the CORBA_Object_release.Christopher James Lahey2000-05-023-2/+26
| | | | | | | | | | | | 2000-05-01 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-book-factory.c: Add back in the CORBA_Object_release. * backend/pas/pas-book.c: Properly duplicate and release the listener passed to us. svn path=/trunk/; revision=2720
* Made uri slightly better managed.Christopher James Lahey2000-05-025-14/+25
| | | | | | | | | | | | | | | | 2000-05-01 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-backend-file.c, backend/pas/pas-backend-ldap.c: Made uri slightly better managed. * backend/pas/pas-book-factory.c (pas_book_factory_process_request): Remove this CORBA_Object_release that causes things not to work. This is just a temporary fix until we figure out what's actually wrong. * backend/pas/pas-book.c: Fixed a copy and paste error in a warning. svn path=/trunk/; revision=2718
* Switched the subdirs order since backend depends on ename.Christopher James Lahey2000-05-022-1/+6
| | | | | | | | | 2000-05-01 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Switched the subdirs order since backend depends on ename. svn path=/trunk/; revision=2717
* More message cleanup. Flags now work, are saved, and the deleteNotZed2000-05-028-176/+469
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | flag causes an expunge to expunge the deleted messages. 2000-05-01 NotZed <NotZed@HelixCode.com> * providers/mbox/camel-mbox-summary.c (camel_mbox_summary_set_flags_by_uid): New function to update the flags in the summary. (camel_mbox_summary_expunge): Expunge messages from a folder. (offset_content): Re-align offsets of summary when messages added/removed to an existing summary. (camel_mbox_summary_remove_uid): Remove a message summary entry by uid. (index_folder): Restore flags from X-Evolution header, if they are set. * providers/mbox/camel-mbox-folder.c (_get_message_by_uid): Connect to the message_changed signal. (_init): Set permanent flags to something reasonable. No user flags yet ... (message_changed): If the flags of the message change, update the flags in the summary. (mbox_expunge): Implement the expunge. (camel_mbox_folder_class_init): Renamed all leading _'s to mbox_'s * camel-folder.c (_finalize): Uh, dont free permanent_flags anymore (this wouldn't failed anyway, it was a GList !!!) * camel-folder.h (struct _CamelFolder): Change permanent_flags to a bitfield. (list_permanent_flags): Renamed to get_permanent_flags, and returns a bitfield. (camel_folder_expunge): Changed expunge to a void type. The messages would no longer be useful after they have been removed ... * camel-mime-message.c (set_flag): Removed. (camel_mime_message_set_flag): Removed. (get_flag): Removed. (camel_mime_message_get_flag): Removed. (add_flag_to_list): Removed. (get_flag_list): Removed. (camel_mime_message_get_flag_list): Removed. (camel_mime_message_get_flags): New interface to get system flags. (camel_mime_message_set_flags): " to set ". (camel_mime_message_get_user_flag): To get a user flag. (camel_mime_message_set_user_flag): To set a user flag. (finalize): Hmm, the old one free'd the key and data, not good when the data is a boolean ... svn path=/trunk/; revision=2716
* Automatic check for oaf. Thanks ettore, you rule!Anders Carlsson2000-05-022-2/+13
| | | | svn path=/trunk/; revision=2715
* fix a typo in the for loop.Larry Ewing2000-05-022-1/+6
| | | | | | | | | 2000-05-01 Larry Ewing <lewing@helixcode.com> * backend/pas/pas-backend-ldap.c (pas_backend_ldap_remove_client): fix a typo in the for loop. svn path=/trunk/; revision=2714
* Updated russian translation.Valek Frob2000-05-012-85/+95
| | | | svn path=/trunk/; revision=2713
* new function to get the currently seleted time range form the currentDamon Chaplin2000-05-018-46/+175
| | | | | | | | | | | | | | | | | | | 2000-05-01 Damon Chaplin <damon@helixcode.com> * gui/gnome-cal.[hc] (gnome_calendar_get_current_time_range): new function to get the currently seleted time range form the current view. * gui/calendar-commands.c (display_objedit): use the above function to get the time for the new appointment. * gui/e-week-view.c: * gui/e-day-view.c: use a shallow copy of the ico when we update the times (when resizing/dragging). Otherwise we won't detect that the time has changed in the "update_event" callback. Also added functions to get the currently selected time range. svn path=/trunk/; revision=2712
* include a header to make it compile...Michael Meeks2000-05-012-0/+5
| | | | svn path=/trunk/; revision=2711
* Doh, also unref the pas_book_factory when we are done.Federico Mena Quintero2000-05-012-0/+8
| | | | | | | | | 2000-05-01 Federico Mena Quintero <federico@helixcode.com> * wombat.c (main): Doh, also unref the pas_book_factory when we are done. svn path=/trunk/; revision=2710
* Removed stale comment - FedericoFederico Mena Quintero2000-05-011-2/+0
| | | | svn path=/trunk/; revision=2709
* Stylistic fix - FedericoFederico Mena Quintero2000-05-012-3/+377
| | | | svn path=/trunk/; revision=2707
* Connect to the "last_book_gone" signal of the book factory.Federico Mena Quintero2000-05-012-1/+21
| | | | | | | | | | | | 2000-04-30 Federico Mena Quintero <federico@helixcode.com> * wombat.c (setup_pas): Connect to the "last_book_gone" signal of the book factory. (last_book_gone_cb): Handle the "last_book_gone" signal. (termination_handler): Check if the book factory has zero running backends. svn path=/trunk/; revision=2706
* Added new status values for the IDL stuff.Federico Mena Quintero2000-05-0110-91/+511
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-30 Federico Mena Quintero <federico@helixcode.com> * backend/ebook/e-book-types.h (EBookStatus): Added new status values for the IDL stuff. * backend/pas/pas-book-factory.h (PASBookFactoryClass): New "last_book_gone" signal. * backend/pas/pas-book-factory.c (pas_book_factory_launch_backend): Better error handling. (pas_book_factory_process_queue): Let pas_book_factory_process_request() free the request. (pas_book_factory_process_request): Free the request here. Perform better error handling. (free_active_server_map_entry): Free an active server map entry; free the URI key and unref the backend value. This function was renamed; the old one was trying to CORBA_Object_unref() a GTK+ object! (remove_backends_entry): Free a backend table entry; free the URI key. (backend_last_client_gone_cb): Remove the backend from the active server map and emit the "last_book_gone" signal if appropriate. (pas_book_factory_get_n_backends): New function to query the number of running backends in an addressbook factory. * backend/idl/addressbook.idl (BookListener::CallStatus): Added a ProtocolNotSupported code. This is for when the addressbook factory cannot find a provider for the requested URI. * backend/pas/pas-backend.h (PASBackendClass): New "last_client_gone" signal. (PASBackendClass): New get_uri virtual method. * backend/pas/pas-backend.c (pas_backend_load_uri): Return a gboolean success code. (pas_backend_add_client): Return a gboolean success code. (pas_backend_last_client_gone): New function used by backend implementations to notify upwards when the backend's last client is destroyed. (pas_backend_get_uri): New function to get the URI of a backend. * backend/pas/pas-backend-file.c (pas_backend_file_add_client): Pass the backend as the closure data to the "destroy" handler of the book. We cannot call pas_book_get_backend() in the callback since the book's private data has already been destroyed when the callback is invoked. Alternatively, we could move the private data destruction step to the book's ::finalize() method. (pas_backend_file_book_destroy_cb): Get the backend from the callback's data, not from the book. (pas_backend_file_remove_client): Remove the book from the list of clients. When all clients go away, call pas_backend_last_client_gone(). (PASBackendFilePrivate): Added an uri field. (pas_backend_file_get_uri): Implement the get_uri method. (pas_backend_file_load_uri): Return a gboolean success code. Also, store the URI in the private structure. (pas_backend_file_add_client): Return a gboolean success code. Also, call pas_backend_last_client_gone() if appropriate. (pas_backend_file_destroy): Free the bf->priv->uri. * backend/pas/pas-backend-ldap.c (pas_backend_ldap_add_client): Pass the backend as the closure data to the "destroy" handler of the book. See above for rationale. (pas_backend_ldap_book_destroy_cb): Get the backend from the callback's data. (pas_backend_ldap_remove_client): Remove the book from the list of clients. When all clients go away, call pas_backend_last_client_gone(). (pas_backend_ldap_load_uri): Return a gboolean success code. (pas_backend_ldap_add_client): Return a gboolean success code. Also, call pas_backend_last_client_gone() if appropriate. (PASBackendLDAPPrivate): New uri field. (pas_backend_ldap_get_uri): Implement the get_uri method. (pas_backend_ldap_load_uri): Store the uri in the private structure. (pas_backend_ldap_destroy): Free the bl->priv->uri. svn path=/trunk/; revision=2705
* Made this more reentrant.Christopher James Lahey2000-05-0111-20/+150
| | | | | | | | | | | | | | 2000-04-30 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Made this more reentrant. * e-table-sorted-variable.c, e-table-sorted-variable.h: Does a proper resort when the sorting info changes. * e-table.c, e-table.h: Made it so that ETable doesn't destroy and recreate the entire table when sorting info changes. svn path=/trunk/; revision=2704
* *** empty log message ***Seth Alves2000-05-011-0/+10
| | | | svn path=/trunk/; revision=2703
* set attendee and contact address correctly.Seth Alves2000-05-013-20/+34
| | | | | | | | | | | | * pcs/icalendar-save.c (icalcomponent_create_from_ical_object): set attendee and contact address correctly. * pcs/cal-backend.c (icalendar_calendar_load): init priv->object_hash when loading. (cal_get_type_from_filename): if file extension is .ical, consider the file an ical file. svn path=/trunk/; revision=2702
* new function to see if the event dates have changed (including anyDamon Chaplin2000-05-0113-172/+950
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-01 Damon Chaplin <damon@helixcode.com> * cal-util/calobj.c (ical_object_compare_dates): new function to see if the event dates have changed (including any recurrence rules). It is used for optimization when we get the "object_changed" signal. We have to do far less work if the dates are unchanged. * gui/e-week-view.c: * gui/e-day-view.c: only draw the selection when we have the keyboard focus, since the user expects to be able to type in a new event when the selection is shown. Also keep the selection when we lose focus, but just don't show it. Also quite a few changes to cope with the new client/server architecture. * gui/e-day-view-top-item.c (e_day_view_top_item_draw): * gui/e-day-view-main-item.c (e_day_view_main_item_draw): * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day): only draw the selection if the widget has the keyboard focus. * gui/gnome-cal.c (mark_gtk_calendar_day): fixed so it works with events longer than one day. And changed the code for updating events in the new views. svn path=/trunk/; revision=2701
* added e-ldap-server-dialog.c (glade_DATA): added ldap-server-dialog.gladeChris Toshok2000-05-016-31/+556
| | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/Makefile.am (evolution_addressbook_SOURCES): added e-ldap-server-dialog.c (glade_DATA): added ldap-server-dialog.glade * gui/component/ldap-server-dialog.glade: new file. * gui/component/e-ldap-server-dialog.h: new file. * gui/component/e-ldap-server-dialog.c: new file, contains logic associated with ldap server dialog. * gui/component/addressbook.c (control_deactivate): remove the directory server menu item. (null_cb): do nothing callback for e_book_load_uri call. should change to (at the very least) pop up a dialog if there was an error. (new_server_cb): new function - really just switches to a particular ldap server, since the information isn't saved anywhere. (control_activate): add directory server menu item. svn path=/trunk/; revision=2700
* create the book listener here, since it's destroyed in unload_uri.Chris Toshok2000-05-012-12/+18
| | | | | | | | * backend/ebook/e-book.c (e_book_load_uri): create the book listener here, since it's destroyed in unload_uri. (e_book_construct): remove the book listener construction here. svn path=/trunk/; revision=2699
* Added load-pine-addressbook.Christopher James Lahey2000-05-012-0/+5
| | | | | | | | 2000-04-30 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/.cvsignore: Added load-pine-addressbook. svn path=/trunk/; revision=2698
* Made some fields invisible that were visible before.Christopher James Lahey2000-05-017-18/+48
| | | | | | | | | | 2000-04-30 Christopher James Lahey <clahey@helixcode.com> * contact-editor/contact-editor.glade, contact-editor/e-contact-editor.c, gui/minicard/e-minicard.c: Made some fields invisible that were visible before. svn path=/trunk/; revision=2697
* From addressbook/ChangeLogChristopher James Lahey2000-05-0112-60/+698
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-30 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card.c: Make file as not have the : after it if it's empty. If there's no name, or file_as, fill in these fields with defaults based on full_name or name respectively. * backend/ebook/load-pine-addressbook.c: New file to do import of pine .addressbook files. * backend/pas/pas-backend-file.c: Made empty fields act as the empty string for searches. * contact-editor/e-contact-editor.c, contact-editor/e-contact-editor.h: Made the File As field update properly as you edit the name and company fields. Added the pull down list of File As choices. Made sure that all fields will be set to NULL if they are deleted to the empty string. * gui/minicard/e-minicard.c: Use the File As field instead of the Full Name field for the header. Make identical compares on the File As field do a compare on the uid. From wombat/ChangeLog 2000-04-30 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added ename libs to LDADD. svn path=/trunk/; revision=2696
* oops. s/CAMEL_TRANSPORT_TYPE/CAMEL_PROVIDER_TRANSPORT/Dan Winship2000-05-011-1/+1
| | | | svn path=/trunk/; revision=2695
* update for camel provider changes.Dan Winship2000-05-015-26/+0
| | | | svn path=/trunk/; revision=2694
* Remove no-longer-necessary call to camel_provider_register_as_module.Dan Winship2000-05-012-1/+5
| | | | | | | * filter-driver.c (start): Remove no-longer-necessary call to camel_provider_register_as_module. svn path=/trunk/; revision=2693
* This is no longer necessary.Dan Winship2000-04-303-20/+8
| | | | | | | | | * session.c (session_providers_init): This is no longer necessary. * mail-ops.c (fetch_mail): Remove kludge to load remote provider, as camel can do it by itself now. svn path=/trunk/; revision=2692
* Tweak the definition of CamelProvider. Among other things, a provider mayDan Winship2000-04-3020-499/+329
| | | | | | | | | | | | | | | | | | | | | | | | | | | * camel-provider.h: Tweak the definition of CamelProvider. Among other things, a provider may now be both a store and a transport. * camel-provider.c: Remove a lot of code we had no intention of using. This now only contains two functions: camel_provider_init to read the installed .urls files, and camel_provider_load to load and register a new provider. * camel-session.c: Remove more unused code and simplify some of the remaining code. The list of available provider modules is now stored in the session, and it handles calling camel_provider_load to load them as needed. Provider registration is now done by calling back from the module init routine, which allows a single module to register providers for multiple URL types. * providers/*: Update provider structures and init routines for the new stuff. Add a .urls file to each provider specifying what urls it handles, and install that with the library. * providers/nntp/camel-nntp-provider.c: Add hints towards supporting both news: and nntp: URLs, and using nntp as both a store and a transport. svn path=/trunk/; revision=2691
* Fixed a string mismatch.Christopher James Lahey2000-04-305-4/+9
| | | | | | | | | 2000-04-30 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor-fullname.c, contact-editor/fullname.glade: Fixed a string mismatch. svn path=/trunk/; revision=2690
* Added ename includes and libs.Christopher James Lahey2000-04-3012-642/+599
| | | | | | | | | | | | | | | | | | | | | | | | 2000-04-30 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am: Added ename includes and libs. * backend/ebook/e-card.c, backend/ebook/e-card.h: Added e_card_name_from_string. Added header for e_card_delivery_address_from_string, even though it's not implemented yet. * contact-editor/Makefile.am: Removed the ename includes since we no longer use ename directly here. * contact-editor/e-contact-editor.c: Fixed this to properly save the address labels displayed. Updated this to use the function e_card_name_from_string instead of doing it by hand. * contact-editor/fullname-strings.h, contact-editor/fullname.glade: Deleted an unused field. Changed the set of prefixes and suffixes. svn path=/trunk/; revision=2689
* add support for a rootdn in the uri.Chris Toshok2000-04-302-3/+17
| | | | | | | | | | | | * backend/pas/pas-backend-ldap.c (pas_backend_ldap_ensure_connected): add support for a rootdn in the uri. (pas_backend_ldap_build_all_cards_list): make use of the rootdn in the call to ldap_search_s. (pas_backend_ldap_search): same. (pas_backend_ldap_load_uri): get the rootdn out of the passed in uri. svn path=/trunk/; revision=2688
* Add \nAnders Carlsson2000-04-301-1/+1
| | | | svn path=/trunk/; revision=2687
* Added Dutch translationArjan Scherpenisse2000-04-303-1/+586
| | | | | | | | 2000-04-30 Arjan Scherpenisse <acscherp@wins.uva.nl> * nl.po: Added Dutch translation svn path=/trunk/; revision=2686
* Handle clicks on "cid" URLs by popping up a "Save Attachment" dialog.Dan Winship2000-04-303-1/+127
| | | | | | | | | | | | | * mail-display.c (on_link_clicked): Handle clicks on "cid" URLs by popping up a "Save Attachment" dialog. * mail-format.c (get_cid): if the part has a Content-Disposition with a filename specified, record (a sanitized version of) that on the wrapper when creating the cid reference, so the "save attachment" code can use it later. (handle_mystery): fix a bug in the cid generation here. svn path=/trunk/; revision=2685
* Improve the builtin vs bonobo selection code. (handle_mystery): IncludeDan Winship2000-04-306-133/+231
| | | | | | | | | | | | | | | | | | | | | | * mail-format.c (lookup_handler, etc): Improve the builtin vs bonobo selection code. (handle_mystery): Include name and Content-Description in the "mystery data" info, when available (handle_unknown_type): Call mail_identify_mime_part before giving up. (handle_undisplayable): Split out of handle_unknown_type now that handle_unknown_type can try alternate viewers. (handle_via_bonobo): Fall back to handle_undisplayable if the bonobo control fails. * mail-identify.c (mail_identify_mime_part): New function to attempt to identify a MIME part that we can't identify based on Content-Type alone. * mail-display.c (on_url_requested): redo the mystery data icon display stuff less kludgily. svn path=/trunk/; revision=2684
* Added e_card_phone_new e_card_delivery_address_new,Christopher James Lahey2000-04-3021-88/+1819
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-29 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card.c, backend/ebook/e-card.h: Added e_card_phone_new e_card_delivery_address_new, e_card_delivery_address_to_string, e_card_name_copy, e_card_name_new, e_card_name_to_string, and made e_card_name_free public. Removed some unused code. * backend/pas/pas-backend-file.c: Fixed a warning. * contact-editor/Makefile.am: Added e-contact-editor-fullname.[ch] and fullname.glade. Added e-name libs and includes. * contact-editor/e-contact-editor-fullname.c, contact-editor/e-contact-editor-fullname.h, contact-editor/fullname-strings.h, contact-editor/fullname.glade: New dialog for editing the fields of a name separately. * contact-editor/e-contact-editor.c, contact-editor/e-contact-editor.h: Create an EContactEditorFullname when you click on the Full Name button. Maintain a parsed name at all times. * gui/component/Makefile.am, gui/minicard/Makefile.am: Added e-name libs. svn path=/trunk/; revision=2683
* updated Danish stringsPablo Saratxaga2000-04-302-2/+2
| | | | svn path=/trunk/; revision=2682
* const poisonDan Winship2000-04-293-2/+5
| | | | | | | * camel-internet-address.c (camel_internet_address_get): const poison svn path=/trunk/; revision=2681
* camel_mime_parser_tell() returns an offset from where it started parsing,Dan Winship2000-04-294-15/+53
| | | | | | | | | | | | | | | | | | | * camel-mime-part-utils.c (simple_data_wrapper_construct_from_parser): camel_mime_parser_tell() returns an offset from where it started parsing, not necessarily from the start of data. Since we're parsing a bounded seekable_stream, we need to add the stream's starting bound to camel_mime_parser_tell's return value to create the substream in the right place. * camel-seekable-substream.c (camel_seekable_substream_new_with_seekable_stream_and_bounds): say CAMEL_STREAM_UNBOUND rather than -1 in doc. * camel-seekable-stream.c (camel_seekable_stream_seek): Add more info to docs. svn path=/trunk/; revision=2680
* remove an unused #includeDan Winship2000-04-291-1/+0
| | | | svn path=/trunk/; revision=2679
* fix the `USING_OAF' changes so that they work for when we are not usingLarry Ewing2000-04-292-1/+8
| | | | | | | | | | 2000-04-28 Larry Ewing <lewing@helixcode.com> * backend/pas/pas-book-factory.c (register_factory): fix the `USING_OAF' changes so that they work for when we are not using oaf. svn path=/trunk/; revision=2678
* update for Camel recipient changes. (Just to make it build, not to takeDan Winship2000-04-294-19/+48
| | | | | | advantage of new features, or do things cleanly.) svn path=/trunk/; revision=2677
* Fix broken OAF patch for the GNORBA case.Ettore Perazzoli2000-04-292-8/+14
| | | | svn path=/trunk/; revision=2676
* fix a bug that would cause corruption with very long headers.Dan Winship2000-04-292-1/+6
| | | | | | | * camel-mime-parser.c (folder_scan_header): fix a bug that would cause corruption with very long headers. svn path=/trunk/; revision=2675
* Makefile fixMiguel de Icaza2000-04-281-1/+2
| | | | svn path=/trunk/; revision=2674
* Made Evolution OAF-compatible.Ettore Perazzoli2000-04-2850-180/+1066
| | | | svn path=/trunk/; revision=2673
* Fix for removal of camelmimebodypart, and changes to recipient stuff.NotZed2000-04-283-27/+33
| | | | | | | | | | | | 2000-04-27 NotZed <NotZed@HelixCode.com> * tests/test10.c: Fix for removal of camelmimebodypart, and changes to recipient stuff. * tests/test1.c: Fix for removal of camelmimebodypart, and changes to recipient stuff. svn path=/trunk/; revision=2672
* Dont try and check a NULL header.NotZed2000-04-2811-556/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-27 NotZed <NotZed@HelixCode.com> * camel-mime-utils.c (check_header): Dont try and check a NULL header. * camel-recipient.[ch]: Dead. Its not pining. * camel-mime-message.h: Dont include recipients.h anymore. * camel-mime-message.c (camel_mime_message_add_recipient): Accept name/address separately, and store in an CamelInternetAddress. (add_recipient): Removed. (remove_recipient): Removed. (remove_recipient_address): Renamed from remove_receipient, works via address. (camel_mime_message_remove_recipient_name): New function to remove by name. (get_recipients): Removed. (camel_mime_message_get_recipients): Return a camel-internet-address. (write_to_stream): No longer write receipients directly. (write_recipients_to_stream): Removed. (write_one_recipient_to_stream): Removed. (camel_mime_message_init): Setup recipients hashtable, rather than usign the recipients stuff. (set_recipient_list_from_string): Killed, a violent and lengthy death. (process_header): Simplified recipient handling code a lot. (received_date_str, sent_date_str, reply_to_str, subject_str, from_str): Removed some oddly-defined global statics. (camel_mime_message_class_init): Dont initialise above variables anymore. (init_header_name_table): Removed, use a table to init this, and do it in class init (2 lines of code ...). * camel-news-address.c: Class to represent news addresses - currently empty, and not built. * camel-internet-address.h: Class to represent internet (email) addresses. * camel-address.h: Abstract class to represent (lists of) addresses. svn path=/trunk/; revision=2671
* deleted some commented out codeSeth Alves2000-04-281-3/+1
| | | | svn path=/trunk/; revision=2670
* *** empty log message ***Seth Alves2000-04-281-0/+7
| | | | svn path=/trunk/; revision=2669
* fix memory leak (save_to_vcal): same (save): same (cal_backend_load): sameSeth Alves2000-04-281-0/+5
| | | | | | | | | * pcs/cal-backend.c (cal_backend_load): fix memory leak (save_to_vcal): same (save): same (cal_backend_load): same svn path=/trunk/; revision=2668
* Class to represent news addresses - currently empty, and not built.NotZed2000-04-288-0/+694
| | | | | | | | | | | | | | | 2000-04-27 NotZed <NotZed@HelixCode.com> * camel-news-address.c: Class to represent news addresses - currently empty, and not built. * camel-internet-address.h: Class to represent internet (email) addresses. * camel-address.h: Abstract class to represent (lists of) addresses. svn path=/trunk/; revision=2667
* Revert previous change. I was confused.Dan Winship2000-04-282-7/+7
| | | | | | | * camel-mime-part.c (write_to_stream): Revert previous change. I was confused. svn path=/trunk/; revision=2666
* Oops. Remove the part of the previous patch that wasn't supposed toDan Winship2000-04-281-24/+8
| | | | | | escape into the real world. :) svn path=/trunk/; revision=2665
* Move text_to_html to e-util.Dan Winship2000-04-285-217/+70
| | | | | | | | | | | | | * mail-format.c: Move text_to_html to e-util. * mail-ops.c (send_to_url): New routine. Thin wrapper for e_msg_composer_new_from_url. * mail-display.c (on_link_clicked): print a warning for news or nntp URLs (which we'll deal with some day), and call send_to_url for mailto URLs. svn path=/trunk/; revision=2664
* New routine, to process mailto URLs.Dan Winship2000-04-283-0/+131
| | | | | | | * e-msg-composer.c (e_msg_composer_new_from_url): New routine, to process mailto URLs. svn path=/trunk/; revision=2663
* Moved here from the mailer, since it's of general use, and the composerDan Winship2000-04-284-0/+287
| | | | | | | * e-html-utils.c (e_text_to_html): Moved here from the mailer, since it's of general use, and the composer needs it too. svn path=/trunk/; revision=2662
* expose these routines.Dan Winship2000-04-283-24/+42
| | | | | | | * camel-url.[ch] (camel_url_encode, camel_url_decode): expose these routines. svn path=/trunk/; revision=2661
* Improve URL converstion code. Recognize https, recognize "www\..*" withoutDan Winship2000-04-282-14/+55
| | | | | | | | | * mail-format.c (text_to_html): Improve URL converstion code. Recognize https, recognize "www\..*" without a prefixed "http://". Properly escape &, <, >, etc in URL strings. Don't be fooled by "mailto:", "http://", etc with no following data. svn path=/trunk/; revision=2660
* Fixed some warnings.Christopher James Lahey2000-04-2814-16/+20
| | | | | | | | | | 2000-04-27 Christopher James Lahey <clahey@helixcode.com> * arrow-down.xpm, arrow-up.xpm, e-cell-text.c, e-cell-toggle.c, e-table-col.c, e-table-config.c, e-table-header-item.c: Fixed some warnings. svn path=/trunk/; revision=2659
* Added addressbook/ename/Makefile.Christopher James Lahey2000-04-2821-292/+750
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-27 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added addressbook/ename/Makefile. From addressbook/ChangeLog: 2000-04-27 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card.c, backend/ebook/e-card.h: Added file as, office, manager, assistant, spouse, and anniversary fields. These all use "X-EVOLUTION-" fields in the VCards. * backend/pas/pas-backend-file.c: Added all the new fields (except anniversary) to the list of fields. * contact-editor/contact-editor.glade, contact-editor/e-contact-editor-strings.h: Fixed some misnamed fields and fixed the placement of the comments field. * contact-editor/e-contact-editor.c: Made the newly added fields display properly. * Makefile.am: Added ename. * ename/e-name-western.h, ename/test-ename-western-gtk.c, ename/test-ename-western.c: Fixed up some #includes. * ename/.cvsignore: Added .cvsignore. svn path=/trunk/; revision=2658
* Oops, forgot this.Nat Friedman2000-04-272-0/+1712
| | | | svn path=/trunk/; revision=2657
* Further Makefile loving.Ettore Perazzoli2000-04-273-2/+10
| | | | svn path=/trunk/; revision=2656
* Fix broken `Makefile.am' again. I am frustrated.Ettore Perazzoli2000-04-272-1/+9
| | | | svn path=/trunk/; revision=2655
* Diagram of the camel-stream and derived classes used withinMichael Zucci2000-04-271-0/+0
| | | | | | camel. svn path=/trunk/; revision=2654
* Reorganize a bit and add a new flag, TEXT_TO_HTML_CONVERT_URLS toDan Winship2000-04-273-95/+145
| | | | | | | | | | | | | * mail-format.c (text_to_html): Reorganize a bit and add a new flag, TEXT_TO_HTML_CONVERT_URLS to recognize and wrap URLs in text. * mail-display.c (mail_html_new): Add link_clicked signal handler. (on_link_clicked): Use gnome_url_show to launch a browser. The Dingus has landed. svn path=/trunk/; revision=2653
* + * configure.in: added tools/Makefile.Matthew Loper2000-04-276-0/+32
| | | | | | | | | | | | | | | | + + * Makefile.am: Added tools. + + * tools/: New directory for tools relating to evolution. + + * tools/killev: New script for killing all evolution-related + stuff. + + * tools/Makefile.am: New file. + + * tools/.cvsignore: New file. svn path=/trunk/; revision=2652
* Oops. Fix previous commit so we don't get a mime part nested directlyDan Winship2000-04-271-5/+15
| | | | | | inside a mime part svn path=/trunk/; revision=2651
* Updated Norwegian translation.Kjartan Maraas2000-04-271-42/+29
| | | | | | | | 2000-04-25 Kjartan Maraas <kmaraas@online.no> * no.po: Updated Norwegian translation. svn path=/trunk/; revision=2650
* Fix the changes to the testsMichael Zucci2000-04-274-7/+15
| | | | | | | - open for write should use O_CREAT|O_TRUNC as well - open for read should use mode 0 svn path=/trunk/; revision=2649
* Only generate a multipart message if there are attachments. OtherwiseDan Winship2000-04-272-9/+15
| | | | | | | | * e-msg-composer.c (build_message): Only generate a multipart message if there are attachments. Otherwise generate a single part. svn path=/trunk/; revision=2648
* Only write a newline between the headers and the content object if theDan Winship2000-04-272-4/+12
| | | | | | | | | * camel-mime-part.c (write_to_stream): Only write a newline between the headers and the content object if the content object is not a CamelMedium. (If the content is a medium, it may have its own headers, which then need to go before the blank line.) svn path=/trunk/; revision=2647
* Added an address label field.Christopher James Lahey2000-04-2712-844/+737
| | | | | | | | | | | | | | | | | 2000-04-26 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card-types.h, backend/ebook/e-card.c, backend/ebook/e-card.h: Added an address label field. * contact-editor/contact-editor.glade, contact-editor/e-contact-editor-strings.h: Got rid of some unused fields. * contact-editor/e-contact-editor.c, contact-editor/e-contact-editor.h: Added the address label field. Load only. Editing these fields seems to mess things up. svn path=/trunk/; revision=2646
* Remove. We weren't using the fields that made this different fromDan Winship2000-04-2717-343/+90
| | | | | | | | | | | | | * camel-mime-body-part.[ch]: Remove. We weren't using the fields that made this different from camel-mime-part, so it basically just forced us to do lots of gratuitous typecasting. * camel-multipart.[ch]: Use CamelMimePart. Remove the multipart parent stuff, since we weren't using that either. * etc: update for CamelMimeBodyPart -> CamelMimePart svn path=/trunk/; revision=2645
* Update for camel_mime_part_set_content.Dan Winship2000-04-273-25/+27
| | | | svn path=/trunk/; revision=2644
* sink the content object after referencing it.Dan Winship2000-04-274-69/+49
| | | | | | | | | | | * camel-medium.c (set_content_object): sink the content object after referencing it. * camel-mime-part.c: fix various little things in the handling of CamelMedium methods. Change camel_mime_part_set_text to the more generic camel_mime_part_set_content. svn path=/trunk/; revision=2643
* sync to current realityDan Winship2000-04-275-148/+23
| | | | | | | | * camel.h: sync to current reality * camel-folder-utils.[ch]: removed svn path=/trunk/; revision=2642
* Translations from KeldKenneth Christiansen2000-04-271-31/+18
| | | | svn path=/trunk/; revision=2641
* fix format specifier for time zone. Fix typo in month names array.Dan Winship2000-04-272-3/+7
| | | | | | | * camel-mime-utils.c (header_format_date): fix format specifier for time zone. Fix typo in month names array. svn path=/trunk/; revision=2640
* + * tests/.cvsignore: Added test13.Matthew Loper2000-04-276-3/+14
| | | | | | | | | | | + + * default_user/.cvsignore: New file. + + * src/libical/.cvsignore: added icalversion.h. + + * src/libical/icalversion.h: autogenerated file removed from cvs. svn path=/trunk/; revision=2639
* + * widgets/e-text/e-text.c (e_text_destroy): Kill text->timer andMatthew Loper2000-04-275-18/+108
| | | | | | | | | | | + text->timeout on destroy. + + * e-shell-view.c (bonobo_widget_is_dead): Helper function to see + whether a bonobo widget is a zombie (ie the remote bonobo control + died). + (e_shell_view_set_view): Try to respawn dead bonobo widgets. svn path=/trunk/; revision=2638
* Added a missing include.Christopher James Lahey2000-04-263-0/+6
| | | | | | | | 2000-04-26 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Added a missing include. svn path=/trunk/; revision=2637
* Update for the camel changes.Dan Winship2000-04-266-19/+19
| | | | | | | | | | * tests: Update for the camel changes. * Makefile.am (SUBDIRS): Remove tests. They aren't terribly useful/interesting any more for the most part, and they frequently don't compile. svn path=/trunk/; revision=2636
* add e-popup-menu.[ch]Miguel de Icaza2000-04-264-0/+230
| | | | svn path=/trunk/; revision=2635
* move #include <locale.h> above the others because it was gettingSeth Alves2000-04-262-2/+4
| | | | | | wigged out on a solaris build. svn path=/trunk/; revision=2634
* New file. Implements easy to use popup menus.Miguel de Icaza2000-04-262-5/+11
| | | | | | | | 2000-04-24 Miguel de Icaza <miguel@helixcode.com> * e-popup-menu.c: New file. Implements easy to use popup menus. svn path=/trunk/; revision=2633
* Add argument handling here.Miguel de Icaza2000-04-2623-998/+523
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-24 Miguel de Icaza <miguel@helixcode.com> * e-table.c (e_table_class_init): Add argument handling here. * e-table-group-leaf.c (e_table_group_apply_to_leafs): New method. Enables us to walk all the children of an ETableGroup. * e-table.c (et_get_arg, et_set_arg): Implement ::get and ::set methods. (e_table_construct_from_spec_file): Now we return the etable. (e_table_construct): ditto. (et_real_construct): Now we return the ETable. Returns NULL on construct failure. (e_table_new): ditto. (e_table_new_from_spec_file): ditto. * (et_build_grouping_spec): Removed vestige code that still contained references to the etable->specification XML code. Dumped all the ifdefed out code. * e-table.h: Removed ETable->specification finally. svn path=/trunk/; revision=2632
* update for CamelStream changes.Dan Winship2000-04-262-5/+8
| | | | | | * mail-format.c: update for CamelStream changes. svn path=/trunk/; revision=2631
* add a s/SIMPLE_// that notzed missed remove a now-unused variableDan Winship2000-04-263-2/+7
| | | | | | | | * e-msg-composer-attachment-bar.c (attach_to_multipart): add a s/SIMPLE_// that notzed missed * e-msg-composer.c (build_message): remove a now-unused variable svn path=/trunk/; revision=2630
* Danish translations from KeldKenneth Christiansen2000-04-261-74/+90
| | | | svn path=/trunk/; revision=2629
* Replaced libcal-util.la with *.laChristopher James Lahey2000-04-263-1/+9
| | | | | | | | | | 2000-04-26 Christopher James Lahey <clahey@helixcode.com> * cal-util/.cvsignore: Replaced libcal-util.la with *.la * pcs/.cvsignore: Added *.la and *.lo. svn path=/trunk/; revision=2628
* Removed.Christopher James Lahey2000-04-262-376/+4
| | | | | | | | 2000-04-26 Christopher James Lahey <clahey@helixcode.com> * src/test/Makefile.in: Removed. svn path=/trunk/; revision=2627
* Added proper handling of the email field.Christopher James Lahey2000-04-263-48/+145
| | | | | | | | | 2000-04-26 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor.c: Added proper handling of the email field. svn path=/trunk/; revision=2626
* Prefixed the ADDR_ flags.Christopher James Lahey2000-04-2613-678/+714
| | | | | | | | | | | | | | | | | | 2000-04-26 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card-types.h, backend/ebook/e-card.c, gui/minicard/e-minicard.c: Prefixed the ADDR_ flags. * contact-editor/contact-editor.glade, contact-editor/e-contact-editor-strings.h: Edited the glade file. Removed all the fields that we don't use. * contact-editor/e-contact-editor.c, contact-editor/e-contact-editor.h: Made the phone fields work properly. The address and email fields are temporarily turned off until they can be made to work as the phone fields do. svn path=/trunk/; revision=2625
* Big cleanup of camel-stream-*, got rid of 3 classes, improved the interfaces,NotZed2000-04-2634-1923/+935
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and fixed at least one problem (end of stream never happening in certain cases). Things that can fail now have a way of saying they failed too. So much for taking ANZAC day off to get drunk! 2000-04-26 NotZed <NotZed@HelixCode.com> * camel-seekable-substream.c (stream_seek): Changed to have absolute seek semantics, not relative to the bounds. * camel-seekable-stream.c (reset): When we reset, seek to the start of the bound, if there is one. (stream_tell): Make tell virtual. * camel-stream-filter.c (do_available): Removed. * camel-stream-buffer.c: Remove leading _'s from static functions. (stream_read): Renamed from read(). Fancy that conflicting! (my boo!) Others too. * providers/pop3/camel-pop3-folder.c (get_message_by_number): Changed to stream_mem interface. * providers/mbox/camel-mbox-folder.c (_get_message_by_uid): Fixed for streamfs interface changes, and implement a failure case. (_append_message): Changed for fs stream interface change. * camel-multipart.c (print_part): Iterate rahter than callback. I hate glists's interface (hence, move this to write_to_stream). (write_to_stream): Return an error (yuck, this is a royal PITA to do with the stream write interface). * camel-mime-message.c: Removed leading _ from static names. * camel-mime-part.h: construct_from_parser() now returns an error code. * camel-mime-part-utils.c (camel_mime_part_construct_content_from_parser): Changed to use a camel-data-wrapper instead of a camel-simple-data-wrapper (no change needed elsewhere?). (simple_data_wrapper_construct_from_parser): Fixes for stream-mem interface changes. * camel-simple-data-wrapper.[ch], camel-simple-data-wrapper-stream.[ch], camel-stream-data-wrapper.[ch], removed. Fixed including of these files. * camel-mime-part.c (camel_mime_part_set_text): Remove the use of the camel-simple-data-wrapper-stream, just use a mem stream. (write_to_stream): Renamed from my_* (construct_from_stream): Return an error on error. * camel-stream-mem.c (camel_stream_mem_new*): Remove mode parameter. * camel-stream-mem.h (enum CamelStreamMemMode): Removed. It wasn't used at all. * camel-data-wrapper.h: Add camel_data_wrapper_new() to create these. (write_to_stream, construct_from_stream): Return an error indicator for success. Fixed all methods to match (ICK). * Makefile.am (libcamel_la_SOURCES): Remove camel-simple-data-wrapper.c, camel-simple-data-wrapper-stream.c, camel-stream-data-wrapper.c. Obsoleted by code re-use! * camel-data-wrapper.c (construct_from_stream): Change the default implementation to just set the output stream == construction stream. Well, this lets me get rid of both simple-data-wrapper and stream-data-wrapper (unused anyway), and simple-data-wrapper-stream in one hit. CamelDataWrapper is now also a concrete class. (write_to_stream): Use camel_stream_write_to_stream() to calculate/return values (and save code). Include <errno.h> for obvious reasons. * camel-stream.c (eos): Provide a default implementation of .eos(). (camel_stream_write_to_stream): Make it return an error code on error. (camel_stream_printf): Changed to return the number of bytes written/error. (camel_stream_available): Removed. * camel-stream-fs.h (enum CamelStreamFsMode): Removed. Changed to use unix modes and so forth (wasn't used for anything but new file creation and didn't work well either). * camel-stream-fs.c: Removed leading _'s for names. And removed some virtual method 'documentation'. (destroy): Dont try and close a closed/error fd. Only report error if close returns -1. Moved all the code to finalise(), and killed this function. (init_with_fd): Properly setup the seek offset, if it is a valid and seekable file descriptor. (init_with_fd_and_bounds): Use off_t for bounds, set bounds on the seekable stream. (init_with_name): Return error codes. (init_with_name_and_bounds): Ditto. (camel_stream_fs_new_with_name): REturn NULL object if it failed. (camel_stream_fs_new_with_name_and_bounds): Return NULL object on failure. Changed with_name* api's to take unix open style args and flags. (read): The bounded stream bounds checking seemed off, simplified code a bit. (write): Implement bounds checking for writing, the comment was wrong, it could make sense to bound writing. Cleaned up a little. (available): Gone. (eos): Removed. Use CamelStream's implementation now. (close): Reset the fd to -1, provide a warning for bad usage. (seek): Cleaned up. Changed the behaviour a little, the returned offset is the absolute position in the file, even in bounded streams. (seek): Seek from end mirrors lseek() behaviour (reverse seeking). 2000-04-25 NotZed <NotZed@HelixCode.com> * camel-stream-fs.h (struct _CamelStreamFs): Moved bounds and eof indicator to other parent classes. * camel-stream.c (camel_stream_printf): New utility function. Obvious use. * camel-stream-mem.c: Removed leading _'s from static func's. (camel_stream_mem_new_with_byte_array): Fixed for api changes, set the owner for the byte array to us. : Removed A bunch of gtk doc stuff for static (implementation) functions. (available): Removed. (write): Fixed the write implementation so that seek() works on a seekable memory stream, as expected. Seeking past the end of the buffer has unix semantics (filling with 0). (available): Removed. (write): Implement seekable stream bounded stream. (read): Implement seekable stream bounded stream. (close): Dont free the stream_mem if we're not the owner. (seek): Allow to seek beyond the end of memory area, implement bounds checking. (seek): Set errno on bad policy. * camel-stream-mem.h (struct _CamelStreamMem): Changed position to off_t. (new_with_buffer): Changed len to be a size_t. (set_buffer, set_byte_array): New interface functions. (struct _CamelStreamMem): Removed position, it is stored in the superclass. * camel-stream.h: Removed some of the seemingly random whitespace. Removed the available method (its not impelemented/useful enough). * camel-seekable-substream.c (init_with_seekable_stream_and_bounds): Remove the data_available stuff, it hasn't been properly implemented/finished, and may never work (unfortunately *sigh). (reemit_parent_signal): Removed part of the above change. (set_bounds): Removed (moved to seekable-stream). : Fixed up some of the generally unreadable indenting (sorry, wrapping at 80 characters with camels_really_long_function_names() just_doesnt_work_very_well_does_it(). (available): Removed. (stream_seek): Fixup for object changes. Make sure we return -1 if the parent stream can't seek. * camel-seekable-stream.c (ccamel_seekable_stream_set_bounds): New function to bound any seekable stream. : Removed _'s. (camel_seekable_stream_class_init): Implement an init function, to setup the stream bounds to unbound. * camel-seekable-stream.h (CamelSeekableStreamClass): New virtual method set_bounds for seekable streams. (CAMEL_STREAM_UNBOUND): New define for no bound. * camel-seekable-substream.h (struct _CamelSeekableSubstream): Removed sup_bound and inf_bound, moved to CamelSeekableStream (and renamed, and changed to off_t's). (new_with_seekable_stream_and_bounds): Use off_t as the bounds. (CamelSeekableSubstreamClass): Uh, why was the intialiser virtual? Removed. * camel-seekable-stream.[ch] (CamelSeekableStreamClass): Changed seek to accept an off_t as the offset. (struct _CamelSeekableStream): Renamed cur_pos to position and changed it to an off_t type. (enum CamelStreamSeekPolicy): Set to match the SEEK_* constants from lseek(). (get_current_position): Renamed to tell(). * camel-stream-buffer.h: Commented out set_vbuf - never implemented. svn path=/trunk/; revision=2624
* Use camel_mime_part_set_text() to set the text rather than messing withNotZed2000-04-263-9/+15
| | | | | | | | | | | | | 2000-04-26 NotZed <NotZed@HelixCode.com> * e-msg-composer.c (build_message): Use camel_mime_part_set_text() to set the text rather than messing with data wrappers. * e-msg-composer-attachment-bar.c (attach_to_multipart): Change for new camel-stream interfaces. (attach_to_multipart): Also set base64 encoding by default. svn path=/trunk/; revision=2623
* Eeek, remove "while(1);" debug code - FedericoFederico Mena Quintero2000-04-261-3/+0
| | | | svn path=/trunk/; revision=2622
* only return TRUE if the parent is at eos AND the buffer has been exhaustedDan Winship2000-04-262-1/+4
| | | | | | | * camel-stream-buffer.c (_eos): only return TRUE if the parent is at eos AND the buffer has been exhausted svn path=/trunk/; revision=2621
* New module-wide variables for the PAS and PCS factories. (setup_pcs):Federico Mena Quintero2000-04-262-21/+98
| | | | | | | | | | | | | | | | | | | | 2000-04-25 Federico Mena Quintero <federico@helixcode.com> * wombat.c (cal_factory pas_book_factory): New module-wide variables for the PAS and PCS factories. (setup_pcs): Connect to the "last_calendar_gone" signal of the calendar factory. (last_calendar_gone_cb): Queue a termination job. (queue_termination): Function to queue a termination job. We have to use a timeout to reduce the probability of running into GOAD's race condition with factories. (termination_handler): Check that the PCS and the PAS have zero backends. If so, exit the main loop. (setup_vfs): Use EXIT_FAILURE instead of 1. (init_bonobo): Likewise. (main): Destroy the factories and exit Wombat. Wheee! svn path=/trunk/; revision=2620
* Renamed from backend_destroy_cb. Now we use it for the "last_client_gone"Federico Mena Quintero2000-04-265-10/+82
| | | | | | | | | | | | | | | | | | | | | 2000-04-25 Federico Mena Quintero <federico@helixcode.com> * pcs/cal-factory.c (backend_last_client_gone_cb): Renamed from backend_destroy_cb. Now we use it for the "last_client_gone" signal from the backend. Also, unref the backend to destroy it. (add_backend): Connect to the "last_client_gone" signal of the backend. (cal_factory_get_n_backends): New function to query the number of running backends. * pcs/cal-backend.c (cal_backend_class_init): Register the new "last_client_gone" signal. It is emitted when the last Cal client goes away. It is used to notify the factory when a backend may be safely destroyed. (cal_destroy_cb): Emit the "last_client_gone" signal when the last client disconnects from the backend. svn path=/trunk/; revision=2619
* add a convert_space_hack flag, which turns N spaces into N-1 &nbsp;s and aDan Winship2000-04-262-28/+138
| | | | | | | | | | | | | * mail-format.c (text_to_html): add a convert_space_hack flag, which turns N spaces into N-1 &nbsp;s and a space. (handle_text_plain): Check for "format=flowed" in the Content-Type. (handle_text_plain_flowed): Spinoff of handle_text_plain to deal with RFC 2646 flowed text. (All the examples I can find of it are generated by Eudora, but it's a pretty cool idea that ought to be used more widely.) svn path=/trunk/; revision=2618
* compare iCalObjects by their UIDs instead of by their pointers.Seth Alves2000-04-263-2/+9
| | | | | | | * gui/e-day-view.c (e_day_view_find_event_from_ico): compare iCalObjects by their UIDs instead of by their pointers. svn path=/trunk/; revision=2617
* Now that we're not limited to a single GtkHTML for the display, there's noDan Winship2000-04-263-270/+191
| | | | | | | | | | | | | | | | | * mail-format.c, mail-display.c: Now that we're not limited to a single GtkHTML for the display, there's no reason to embed Bonobo objects for unrecognized content-types in GtkHTML rather than embedded them into the vbox directly. So do that. Meanwhile, fix up the handler-selection code so that we can declare which built-in handlers are more desirable than external handlers and which are less. (Of course, eventually we'll want this to be customizable.) Add some cleverness to handle_multipart_alternative as well so it doesn't accept an alternative which we can display generically over one we can display specifically. svn path=/trunk/; revision=2616
* don't save on destroy.Seth Alves2000-04-262-3/+6
| | | | | | * pcs/cal-backend.c (cal_backend_destroy): don't save on destroy. svn path=/trunk/; revision=2615
* The Joy of Broken Makefiles Part #3.Ettore Perazzoli2000-04-263-4/+11
| | | | svn path=/trunk/; revision=2614
* hook for widget destroy -- used to unref the CalClient so wombat knows weSeth Alves2000-04-263-11/+37
| | | | | | | | * gui/gnome-cal.c (gnome_calendar_destroy): hook for widget destroy -- used to unref the CalClient so wombat knows we are gone. (gnome_calendar_class_init): added a class init for this widget. svn path=/trunk/; revision=2613
* (reply_body): Make this deal better with multiparts.Dan Winship2000-04-262-40/+30
| | | | svn path=/trunk/; revision=2612
* (setup_function_table): pass unknown text subtypes toDan Winship2000-04-262-3/+34
| | | | | | | | | | | handle_text_plain. (handle_multipart_appledouble): new handler. Just ignores the first (application/applefile) part and tries to display the second part. Since the second part is usually application/octet-stream, this doesn't work very well still usually. svn path=/trunk/; revision=2611
* The Joy of Broken Makefiles Part #3.Ettore Perazzoli2000-04-264-4/+11
| | | | svn path=/trunk/; revision=2610
* The Joy of Broken Makefiles Part #2.Ettore Perazzoli2000-04-262-17/+16
| | | | svn path=/trunk/; revision=2609
* Updated Norwegian translation.Kjartan Maraas2000-04-262-76/+96
| | | | | | | | 2000-04-25 Kjartan Maraas <kmaraas@online.no> * no.po: Updated Norwegian translation. svn path=/trunk/; revision=2608
* Fix compile with builddir != srcdir.Ettore Perazzoli2000-04-263-2/+6
| | | | svn path=/trunk/; revision=2607
* Fix compilation by using `$(GTKHTML_CFLAGS)' instead of `-IEttore Perazzoli2000-04-262-1/+5
| | | | | | $(GTKHTML_CFLAGS)'. svn path=/trunk/; revision=2606
* allow for null icoSeth Alves2000-04-264-3/+9
| | | | | | | | * gui/e-day-view.c (e_day_view_update_event): allow for null ico * gui/e-week-view.c (e_week_view_update_event): allow for null ico svn path=/trunk/; revision=2605
* fix menu problem in composer windowRadek Doulik2000-04-262-7/+10
| | | | | | | | | | | | * fix menu problem in composer window 2000-04-25 Radek Doulik <rodo@helixcode.com> * e-msg-composer.c (create_editor): use uih here (e_msg_composer_construct): create menubar/toolbar before creating editor control svn path=/trunk/; revision=2604
* fix some incorrect macro usage that resulted in bogus castsDan Winship2000-04-252-4/+9
| | | | | | | * camel-mime-message.c: fix some incorrect macro usage that resulted in bogus casts svn path=/trunk/; revision=2603
* Fix some bugs that crept into reply generation. This needs a lot more workDan Winship2000-04-252-5/+21
| | | | | | | | * mail-format.c (reply_body): Fix some bugs that crept into reply generation. This needs a lot more work to deal correctly with complicated bodies. svn path=/trunk/; revision=2602
* Redo large chunks of this. The mail display now consists of a vbox in aDan Winship2000-04-255-638/+747
| | | | | | | | | | | | | | | | | | * mail-display.c, mail-format.c: Redo large chunks of this. The mail display now consists of a vbox in a scrolled window, in which we put multiple GtkHTML objects. This means broken HTML in one part can't corrupt other parts. The headers now scroll with the body. Unrecognized attachments look prettier, but still don't do anything, and will probably be changed later. We can also now display nested message/rfc822 parts and multipart/alternatives with multipart subparts. Oh, and text/{richtext,enriched}, since we had all these ancient sample messages that use it and the lack of support annoyed me. :) Bonobo embeddables are broken right now, but I don't think that's my fault. svn path=/trunk/; revision=2601
* ja.po: Update from Japanese GNOME Users Group(translation@gnome.gr.jp).Yukihiro Nakai2000-04-251-77/+93
| | | | svn path=/trunk/; revision=2600
* include -I$(datadir)/idl in orbit-idl arguments so that you can haveDan Winship2000-04-253-2/+13
| | | | | | | | | | | | * shell/Makefile.am: include -I$(datadir)/idl in orbit-idl arguments so that you can have bonobo installed in the same prefix as evolution, when that isn't the same prefix is gnome-libs, which a lot of people seem to be doing. (CLEANFILES): add EVOLUTION_CORBA_GENERATED * README: Note this svn path=/trunk/; revision=2599
* Fixed a warning.Christopher James Lahey2000-04-255-4/+8
| | | | | | | | | | 2000-04-25 Christopher James Lahey <clahey@helixcode.com> * e-table-size-test.c: Fixed a warning. * e-table-item.c: Removed the unnecessary gnome_canvas_update_bbox. svn path=/trunk/; revision=2598
* The path to the test calendar changed when we moved stuff around. UsersFederico Mena Quintero2000-04-252-5/+38
| | | | | | | | | | | | | | 2000-04-24 Federico Mena Quintero <federico@helixcode.com> * cal-client/client-test.c (main): The path to the test calendar changed when we moved stuff around. Users will have to tweak this for their CVS setup, anyways. (create_client): Create or load the calendar as appropriate. (client_destroy_cb): Exit the main loop if both clients are gone. (main): Connect to the "destroy" signal of the clients so that we can terminate the test program. svn path=/trunk/; revision=2597
* convert from a time_t to an icaldurationtype.Seth Alves2000-04-252-0/+24
| | | | | | | * src/libical/icaltypes.c (icaldurationtype_from_timet): convert from a time_t to an icaldurationtype. svn path=/trunk/; revision=2589
* allow for null CN (parse_person): allow for null sent_bySeth Alves2000-04-259-28/+373
| | | | | | | | | | | | * pcs/icalendar.c (parse_person): allow for null CN (parse_person): allow for null sent_by * pcs/Makefile.am: build icalendar-test * pcs/icalendar-test.c: a test which loads an ical file and converts it to our internal format, and then saves it back out. svn path=/trunk/; revision=2588
* fix a cut-and-pasto.Dan Winship2000-04-252-1/+4
| | | | | | | * camel-mime-part-utils.c (simple_data_wrapper_construct_from_parser): fix a cut-and-pasto. svn path=/trunk/; revision=2587
* ref (and sink) the message stream if we're going to unref it later.Dan Winship2000-04-252-0/+7
| | | | | | | | | * providers/mbox/camel-mbox-folder.c (_get_message_by_uid): ref (and sink) the message stream if we're going to unref it later. Otherwise it could get destroyed while there are still substreams attached to it. This needs a cleaner solution. svn path=/trunk/; revision=2586
* remove data-wrapper-repository.h include(s)Dan Winship2000-04-252-2/+4
| | | | | | * camel.h: remove data-wrapper-repository.h include(s) svn path=/trunk/; revision=2585
* finished first stab at iCalObject to icalcomponent conversion.Seth Alves2000-04-252-6/+294
| | | | svn path=/trunk/; revision=2584
* added new source files and pixmaps, and removed old source files, whichDamon Chaplin2000-04-2425-290/+5365
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-24 Damon Chaplin <damon@helixcode.com> * gui/Makefile.am: added new source files and pixmaps, and removed old source files, which can be deleted. * gui/e-week-view-titles-item.[hc]: * gui/e-week-view-main-item.[hc]: * gui/e-week-view-event-item.[hc]: * gui/e-week-view.[hc]: new files implementing the week/month views. * gui/yearview.xpm: * gui/monthview.xpm: * gui/weekview.xpm: * gui/workweekview.xpm: * gui/dayview.xpm: new pixmaps for the toolbar buttons. These aren't intended to be the final pixmaps. * gui/calendar-commands.c: added radio buttons to the toolbar to switch between the calendar views, and moved the am_pm_flag here so we can get rid of view-utils.c. * gui/gnome-cal.[hc]: made it a subclass of GtkVBox, rearranged the widgets into 2 notebooks, and added the selection_start_time and selection_end_time fields. * gui/goto.c: updated to use new selection time range. * gui/quick-view.c: added '#include <gtk/gtkwindow.h>' so it compiles. * gui/e-day-view.[hc]: changed the interface to support the new selection time range, got rid of a few debugging messages and changed a few bits. svn path=/trunk/; revision=2583
* Made some functions syncronous that didn't need to be asyncronous.Christopher James Lahey2000-04-242-19/+10
| | | | | | | | | 2000-04-24 Christopher James Lahey <clahey@helixcode.com> * idl/folder.idl: Made some functions syncronous that didn't need to be asyncronous. svn path=/trunk/; revision=2582
* Made the tooltip show up in the correct place and configuration when usingChristopher James Lahey2000-04-2414-64/+441
| | | | | | | | | | | | | | | | | | | | | | | | 2000-04-24 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Made the tooltip show up in the correct place and configuration when using the "max_lines", "anchor" (untested), or "justification" arguments. From a patch by Iain Holmes <ih@csd.abdn.ac.uk> * widgets/e-text/e-text-event-processor-emacs-like.c, widget/e-text/e-text-event-processor-types.h, widgets/e-text/e-text.c, widgets/e-text/e-text.h: Changed C-w and C-y to control the X clipboard. Added double and triple click events. From widgets/e-table/: 2000-04-24 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Fixed some warnings. svn path=/trunk/; revision=2581
* Added tr to ALL_LINGUASFatih Demir2000-04-242-1/+5
| | | | svn path=/trunk/; revision=2580
* Big fixes for the last commit which broke the message creation entirely.Michael Zucci2000-04-248-48/+364
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Plus an address decoder/formatter, etc. * camel-mime-message.c (construct_from_parser): Allow MESSAGE_END _or_ EOF as valid termination conditions. * providers/mbox/camel-mbox-summary.c (message_struct_new): Decode and then re-encode the addresses, so they are consistently formatted. * camel-mime-utils.c (header_decode_mailbox): Store the address in a _header_address. And try to get a comment-stored name if there is one. (header_decode_address): Actually return an address. (header_to_decode): Renamed to header_address_decode() (header_mailbox_decode): New function to get a single mailbox. (header_mime_decode): Return the major/minor value, as appropriate. (header_address_new, and friends): Whole bunch of utility functions for working with the address thingies. (header_decode_domain): Free the string header, and dont expand '.' into ' . '. (camel_mime_part_construct_content_from_parser): Oops, this was totally screwed up, try creating the right cotnent on the right object. svn path=/trunk/; revision=2579
* Fixed for method movements.NotZed2000-04-245-5/+17
| | | | | | | | | | | | | | 2000-04-24 NotZed <NotZed@HelixCode.com> * tests/test13.c (main): Fixed for method movements. * tests/test3.c (main): Removed from build, data-wrapper-repository removed. * tests/test2.c (main): Changed to use construct_from_stream. * tests/test1.c (main): Chagned to use construct_from_stream. svn path=/trunk/; revision=2578
* No longer call data_wrapper_repository_init.NotZed2000-04-2420-1132/+441
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-24 NotZed <NotZed@HelixCode.com> * camel.c (camel_init): No longer call data_wrapper_repository_init. * camel-medium.c (write_to_stream): Moved (back) to camel-mime-part. (add_header): (set_header): (remove_header): (get_header): Make all these abstract, and spit warnings if called. I guess it could manage the list, but well, it doesn't. * camel-medium.h (struct _CamelMedium): Dont store headers here, the implementor is the only one who knows their format. (CamelMediumClass): Changed header values to be void *'s. They need not be strings? * camel-simple-data-wrapper.c (construct_from_stream): And we're back. Set the output stream. (construct_from_parser): Moved to camel-mime-part-utils. * camel-mime-part-utils.c (camel_mime_part_construct_content_from_parser): Create the contents of multipart and simple messages. * camel-multipart.c (construct_from_parser): Moved to camel-mime-part-utils. (separate_part): Removed. * camel-mime-part.c (construct_from_stream): Back again! This now switches over to using a mime parser for any mime parts, only. (my_write_to_stream): Write our headers and so forth here. (add_header): Add header directly, parent class is abstract. (remove_header): Ditto. (set_header): Ditto. * camel-data-wrapper.c (camel_data_wrapper_construct_from_stream): Remade abstract. (camel_data_wrapper_construct_from_parser): Moved to camel_mime_part. * camel-data-wrapper.h: Put back construct_from_stream. * camel-mime-part.h: Put construct_from_parser in here, the data-wrapper shouldn't know about mime. Ok, so now to undo half of the last hours changes ... duh. 2a51,93 * providers/pop3/camel-pop3-folder.c (get_message_by_number): Use construct_from_stream instead of set_input_stream(). * camel-simple-data-wrapper-stream.c (camel_simple_data_wrapper_stream_construct): REmoved the destroy callback code. (wrapper_destroy_cb): Removed. * camel-simple-data-wrapper.h: Add prototype for _construct() method. * camel.c: Include unicode.h to kill a warning. * camel-data-wrapper.h (CameldataWrapperClass): Removed construct_from_stream virtual method. Removed get/set input stream. * data-wrapper-repository.[ch]: Removed&from build. Obsoleted? The justification as is follows: It is mixing storage protocol/format with message architecture. It really just doesn't serve any purpose, as each medium implementor will have to have its own type->handler mapping, and the only current implementor, mimepart has a very simple structure and no need for this. * camel-medium.c (write_to_stream): Moved here from most of the stuff in camel-mime-part. Well, the MEDIUM is the one that knows what the headers are, and the content is, let it write it out. * camel-mime-part-utils.c (camel_mime_part_construct_content): Copied from camel-mime-part.c, removed handling of message followon state (moved to camel-mime-message). (camel_mime_part_construct_content_from_parser): Renamed from construct_content. (camel_mime_part_construct_headers_from_stream): (camel_mime_part_construct_content_from_stream): (camel_mime_part_store_stream_in_buffer): Removed. Replaced by the new construct from parser stuff. * camel-mime-message.c (construct_from_parser): Do construct_from_parser for mime-message. (_write_to_stream): Set the mime-version header for medium to write out, rather than writing it out ourselves. 4a96,102 (construct_from_stream): Removed. (camel_data_wrapper_construct_from_stream): Changed to a helper function, creates a mime_parser, and constructs from that. (set_input_stream): Removed. (camel_data_wrapper_set_input_stream): Removed. (get_input_stream): Removed. (camel_data_wrapper_get_input_stream): Removed. 11a110,111 (_get_message_by_uid): Use construct_from_stream() instead of creating our own parser. 16a117,131 (camel_mime_part_construct_content): Removed to camel-mime-part-utils.c (my_get_output_stream): Removed. The streeam is in the data-wrapper. (my_get_content_object): Removed. The content object is stored in the medium. If none is there, the object wasn't created properly. (my_write_content_to_stream): Removed. The content object is the one that knows how to write itself out!!!!!!!! (my_write_to_stream): Remove the base header writing stuff - has been moved to camel-medium, where it belongs. This can just be used to check for mandatory headers. (my_construct_from_stream): Removed. (my_set_input_stream): What the hell, i'll remove this too. Nobody seems to understand how it differs from create from stream, and they both seem to serve the same purpose ... 19a135,136 (construct_from_stream): Removed! Job taken over by construct_from_parser. 24a142 (set_input_stream): REmoved. Replaced by construct_from_parser. svn path=/trunk/; revision=2577
* oops, silly me.Matthew Loper2000-04-242-3/+1
| | | | svn path=/trunk/; revision=2576
* + * widgets/Makefile.am: Added e-paned directory.Matthew Loper2000-04-2416-20/+438
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + + * default_user/Makefile.am: new file. + + * default_user/Main_Shortcuts.xml: New file; is used to fill the + shortcut bar's "main shortcuts" pane. + + * default_user/Other_Shortcuts.xml: New file, used to fill the + shortcut bar's "other shortcuts" pane. + + * default_user/Inbox.mbox: New file. This is the first message a + new user will see when they fire up Evolution. Needs work. + + * Makefile.am: added default_user directory. + * configure.in: same. + + * e-paned.c: New file. Makes a GtkPaned with more than two + children. + * e-paned.h: same. + + * Makefile.am: added e-paned.[ch]. + + * e-shell-view.h: Added hpaned and treeview widgets to + EShellView. Added e_shell_view_toggle_shortcut_bar() and + e_shell_view_toggle_treeview(). + + * e-shell-view.c (e_shell_view_setup_shortcut_display): Use EPaned + widget to house our shortcut bar. + (e_shell_view_toggle_shortcut_bar): New function; toggles whether + the shortcut bar is showing. + (e_shell_view_toggle_treeview): Same, for the treeview (NYI). + (e_shell_view_new): Put the notebook view in our EPaned widget. + + * e-shell-view-menu.c (esv_cmd_toggle_shortcut_bar): New function; + toggles whether the shortcut bar is viewed. + (esv_cmd_toggle_treeview): Same, but with the treeview. Added + menuitems in the "view" menu to allow access to the above. + svn path=/trunk/; revision=2575
* reorder the list of dependency libraries such that, starting fromDan Winship2000-04-241-10/+23
| | | | | | | | scratch, you can build them in the order given in the file. Emphasize the warning about location of bonobo install. Add a warning about sysconfdir. svn path=/trunk/; revision=2574
* Of course, it just crashes ...NotZed2000-04-243-5/+10
| | | | | | | | | | | | 2000-04-23 NotZed <NotZed@HelixCode.com> * tests/test10.c: Removed some unecessary includes. From Ali Abdin <aliabdin@aucegypt.edu> (create_sample_mime_message): Changed for date api change. * tests/Makefile.am (noinst_PROGRAMS): Put test10 back. svn path=/trunk/; revision=2573
* Calculate the width of the table from the width of all the columns, andIain Holmes2000-04-243-4/+28
| | | | | | | | | | 2000-04-23 Iain Holmes <ih@csd.abdn.ac.uk> * e-table-item.c (eti_bounds): Calculate the width of the table from the width of all the columns, and update the eti->width field as appropiate. (eti_update): Update the bbox. svn path=/trunk/; revision=2572
* add an extra lib of docklets. These checks are braindamaged though, theyGeorge Lebl2000-04-242-0/+11
| | | | | | | | | | | Sun Apr 23 12:15:14 2000 George Lebl <jirka@5z.com> * gnome.m4: add an extra lib of docklets. These checks are braindamaged though, they don't fail and thus gnome-core for example compiles without gnomecc. There need to be separate .m4 files or checks svn path=/trunk/; revision=2564
* fix some obvious minor bugs noted by -Wall.Dan Winship2000-04-242-2/+7
| | | | | | | * camel-mime-utils.c (header_to_decode, header_mime_decode): fix some obvious minor bugs noted by -Wall. svn path=/trunk/; revision=2563
* rename "send" to "send_msg", to avoid name clash with the tcp function.Dan Winship2000-04-245-5/+90
| | | | | | | | | | | | | | * folder-browser-factory.c: rename "send" to "send_msg", to avoid name clash with the tcp function. Connect the "forward" button. * mail-ops.c: rename "send" to "send_msg", to avoid name clash with the tcp function. Add forward_msg function. * mail-format.c (mail_generate_forward): support function for forward_msg. Pretty much a big kludge right now, pending the attachment/attachment-bar changes. svn path=/trunk/; revision=2562
* build libcomposer static and don't install it.Dan Winship2000-04-243-10/+33
| | | | | | | | | * Makefile.am: build libcomposer static and don't install it. * e-msg-composer-attachment-bar.c (attach_to_multipart): This was only half-implemented. Finish it, mostly. svn path=/trunk/; revision=2561
* Whole swag of changes. Still lots of cleanup remaining ...NotZed2000-04-2315-211/+765
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-23 NotZed <NotZed@HelixCode.com> * camel-data-wrapper.c (set_mime_type_field): Ref the content_field when we get it? * camel-mime-parser.c (camel_mime_parser_unstep): New function. Cause a subsequent call to mime_parser_step() to return the same state over again. * providers/mbox/camel-mbox-folder.c (_get_message_by_uid): Initial test code using the mime parser to construct the message. * camel-mime-part.c (construct_from_parser): part constructor. (camel_mime_part_construct_content): Basically a simpler replacement for the datawrapper repository. (camel_mime_part_init): Set the default type to text/plain. * camel-simple-data-wrapper.c (construct_from_parser): Initial implementation of a content constructor. * camel-multipart.c (construct_from_parser): Multipart construction routine. (camel_multipart_init): Set the default multipart type to multipart/mixed. Duh, no subtype is not allowed anyway. 2000-04-22 NotZed <NotZed@HelixCode.com> * camel-mime-message.h (struct _CamelMimeMessage): Removed send_date, and received_date, and replaced it with a time_t 'date' (this is what the header is called), and date_offset to store the GMT offset of the date. * camel-mime-message.c (camel_mime_message_set_from): Update raw header as we go. (_set_from): Removed. (_get_from): Removed. (camel_mime_message_get_from): Moved implementation here. (camel_mime_message_get_subject): Move implementation here. (_get_subject): Nuked. (camel_mime_message_set_subject): Handle utf-8 input, and also update raw header when changed. (_set_subject): Removed. (_set_received_date): Removed. (camel_mime_message_set_received_date): Removed. (_get_received_date): Removed. (camel_mime_message_get_received_date): Removed. (_get_sent_date): Removed. (camel_mime_message_get_sent_date): Removed. (camel_mime_message_get_date): New function to get the date as a time_t/offset. (camel_mime_message_set_date): Set the date as a time_t/offset. (camel_mime_message_get_date_string): Get the date as a string. (camel_mime_message_init): Initialise the current date as 'CMAEL_MESSAGE_DATE_CURRENT'. (_set_reply_to): Removed. (camel_mime_message_set_reply_to): Moved implementation here. This is still broken, reply-to can have multiple addresses. (_get_reply_to): Removed. (_set_field): Removed, no longer used anywhere. (_get_field): Also removed. (_init_header_name_table): Add the Date header. (process_header): Also handle snooping of Date header here. * camel-stream-filter.c (finalise): Unref the source stream on finalise, and also call the parent class (oops). * camel-mime-parser.c (camel_mime_parser_state): New function to get the current parser state. (camel_mime_parser_stream): Allow you to get the stream back from the mime_parser. (camel_mime_parser_fd): Alternative to allow you to get the fd back from the mime_parser. (folder_scan_init_with_stream): Properly ref/unref the stream. (folder_scan_close): Properly unref the stream/close the fd on exit. (folder_scan_init_with_fd): Close the old fd if there is one. * camel-data-wrapper.c (camel_data_wrapper_construct_from_parser): New method, construct a data wrapper from an initialised parser. (construct_from_parser): Empty implementation. * providers/mbox/camel-mbox-summary.c (message_struct_new): Convert subject line to unicode, before storing in the summary. (strdup_trim): Removed, no longer needed. * providers/mbox/camel-mbox-folder.c (_get_message_by_uid): Ref the folder after setting it in the new message. * camel-mime-part.c (my_set_content_object): Have the headers follow the content-type change here too. (my_write_to_stream): Dont write content-type here, automatically stored in the headers ... (my_write_to_stream): Use header_disposition_format() to format the content-disposition header. (my_write_to_stream): Removed old code, all headers are now stored in the camel-medium level, always. Need to do the same with camel-mime-message i suppose ... (my_write_to_stream): Write the content using the parent class, not some weird function. (camel_mime_part_class_init): Dont override get_output_stream. (camel_mime_part_encoding_from_string): Bleh, make it case-insensitive. * camel-mime-utils.c (header_content_type_is): Handle empty types. (header_encode_string): Start of an implementation of the rfc2047 encoder. It does iso-8859-1, and us-ascii, and utf-8 (others get tricky *sigh*) (rfc2047_encode_word): Convert a single word/string into rfc2047 encoding. (quoted_encode): Different quoted-printable encoding for rfc2047 encoding of headers. * gmime-content-field.c (gmime_content_field_write_to_stream): Use header_content_type_format() to format it. svn path=/trunk/; revision=2560
* New tests/fixed tests.Michael Zucci2000-04-234-2/+135
| | | | svn path=/trunk/; revision=2559
* Change cid expectations to match current camel reality.Dan Winship2000-04-232-5/+5
| | | | | | | * mail-display.c (on_url_requested): Change cid expectations to match current camel reality. svn path=/trunk/; revision=2558
* Updated Swedish translationAndreas Hydén2000-04-232-54/+65
| | | | svn path=/trunk/; revision=2557
* call glade_gnome_init, for composer.Dan Winship2000-04-232-0/+6
| | | | | | * main.c (main): call glade_gnome_init, for composer. svn path=/trunk/; revision=2556
* #include "mail-format.h"Dan Winship2000-04-231-0/+1
| | | | svn path=/trunk/; revision=2555
* move msg_composer_cb and msg_composer_send_cb to mail-ops. Attach send,Dan Winship2000-04-236-56/+328
| | | | | | | | | | | | | | | | | * folder-browser-factory.c: move msg_composer_cb and msg_composer_send_cb to mail-ops. Attach send, reply, and "reply to all" buttons. * mail-ops.c (composer_send_cb, send): moved from folder-browser-factory.c. (reply_to_sender, reply_to_all): new functions to do replies. * mail-format.c (text_to_html): Add an "add_pre" flag, to make it wrap the output in <pre></pre>. (mail_generate_reply): New function to create a composer and build a reply in it. svn path=/trunk/; revision=2554
* clean, document, etc. (camel_multipart_init): pick a prettier defaultDan Winship2000-04-233-273/+365
| | | | | | | | * camel-multipart.[ch]: clean, document, etc. (camel_multipart_init): pick a prettier default boundary. Still need to deal with the larger problem svn path=/trunk/; revision=2553
* new function to make the composer record additional headers it shouldDan Winship2000-04-233-1/+56
| | | | | | | | | * e-msg-composer.c (e_msg_composer_add_header): new function to make the composer record additional headers it should output. (In-Reply-To), etc. (build_message): output them svn path=/trunk/; revision=2552
* Ref the folder after setting it in the new message.NotZed2000-04-2214-577/+655
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-22 NotZed <NotZed@HelixCode.com> * providers/mbox/camel-mbox-folder.c (_get_message_by_uid): Ref the folder after setting it in the new message. * camel-mime-part.c (my_set_content_object): Have the headers follow the content-type change here too. (my_write_to_stream): Dont write content-type here, automatically stored in the headers ... (my_write_to_stream): Use header_disposition_format() to format the content-disposition header. (my_write_to_stream): Removed old code, all headers are now stored in the camel-medium level, always. Need to do the same with camel-mime-message i suppose ... * camel-mime-utils.c (header_content_type_is): Handle empty types. * gmime-content-field.c (gmime_content_field_write_to_stream): Use header_content_type_format() to format it. 2000-04-21 NotZed <NotZed@HelixCode.com> * camel-mime-utils.h: Add prototype for header_param_list_free. * camel-recipient.c: New function to remove all the types of a recipient list. I think this whole object needs a major review. * camel-mime-message.c (camel_mime_message_class_init): Removed parse_header_pair override, override add_header instead. (_parse_header_pair): Renamed to add_header. (remove_header): Add this method, to make sure we keep upto date with removed headers too. (_set_field): If given a NULL value, clear it out. (_set_recipient_list_from_string): Constify. (set_header): Override set_header from camel_medium. (process_header): Local function to handle set/add/remove of each header we know about. * camel-mime-part.c (camel_mime_part_class_init): Removed parse_header_pair setup. (my_parse_header_pair): Moved into add_header(), removed. (my_set_disposition): Allow a NULL disposition to clear it. (my_set_content_id): Allow NULL content id to clear it. (remove_header): Track removed headers. (my_set_description): Allow NULL description to clear it. (my_set_content_MD5): Make sure we copy the md5 value, and allow a NULL value to reset it. (my_set_filename): Copy the filename. (my_set_header_lines): Removed. Nothing uses it, it doesn't actually serve any purpose. (camel_mime_part_set_header_lines): Ditto. (my_get_header_lines): Ditto. (camel_mime_part_get_header_lines): Ditto. (camel_mime_part_class_init): Remove *_header_lines setup. (camel_mime_part_init): Remove header_lines init. (my_finalize): Remove header_lines finalise. (my_write_to_stream): Write the headers here. This is just WRONG, camel_medium should be doing this. (my_get_output_stream): Kill a warning. (camel_mime_part_encoding_to_string): Ditto. (camel_mime_part_set_description): Unvirtualiase, use add_header() to do the processing. (my_set_description): Removed. (set_disposition): Renamed from my_set_disposition. (camel_mime_part_get_description): Get the descriptionf rom the get_header method. (my_get_description): Removed. (my_set_filename): Removed. (camel_mime_part_get_filename): Get the parameter from the disposition. (camel_mime_part_encoding_from_string): Handle NULL string. (camel_mime_part_init): Remove reference to filename. (my_finalize): Dont free filename. * camel-mime-part.h (CamelMimePartClass): Removed parse_header_pair() method, it doesn't add anything that add_header() can't be used for. (CamelMimePartClass): Remove *_header_lines methods. (struct _CamelMimePart): Remove header_lines list. (struct _CamelMimePart): Removed filename attribute. * camel-medium.c (camel_medium_init): Init headers to null, not a hashtable. (add_header): Append the headers as a list. (remove_header): Remove headers as a list. (get_header): Likewise for lookup. (free_header): Removed, no longer needed. (finalize): Free headers using header_raw_clear(). (camel_medium_set_header): New function, to reset and override all values of a header with a new value. * camel-medium.h (struct _CamelMedium): Changed to use a header_raw struct rather than a hash table, to store headers (many headers can occur multiple times). * camel-mime-utils.c (header_raw_find_next): New function, allows you to find multi-valued header fields. (header_disposition_format): New function to format/create content-disposition header string. (header_param_list_format_append): Function to format parameter lists into a GString. (header_content_type_format): Function to format content-type into a usable format. (header_set_param): allow NULL value to remove the parameter. (decode_token): Renamed from header_decode_token. (header_decode_token): New interface for external use. (quoted_decode): Made static to kill annoying warnings. (g_strdup_len): Killed, replaced with calls to g_strndup(). (rfc2047_decode_word): Made static to kill warnings. (decode_coded_string): Terminated. (g_string_append_len): Made static to kill warnings. (header_decode_text): Made static to kill warnings. (header_decode_text): Constify. (rfc2047_decode_word): Constify. (header_param): Constify. (header_content_type_new): Copy the type/subtype strings. (header_param_list_decode): Made static. (header_param_list_format_append): Made static. (quoted_decode): Constify. (g_string_append_len): Constify. (header_token_decode): New function to decode a single token. * providers/mbox/camel-mbox-summary.c (header_write): Append a trailing \n when writing headers. (strdup_trim): Killed a warning. (camel_mbox_summary_set_uid): Make sure the next uid is at least 1 higher than any existing one. (header_evolution_decode): Use header_token_decode to get the token. * camel-mime-parser.c (folder_scan_header): Strip the trailing \n of the end of all header lines. svn path=/trunk/; revision=2551
* start on code to do the opposite of icalendar.c (convert from iCalObjectsSeth Alves2000-04-228-6/+759
| | | | | | | * pcs/icalendar-save.c: start on code to do the opposite of icalendar.c (convert from iCalObjects to libical's icalcomponents). svn path=/trunk/; revision=2550
* Connect "Exit" menu item finally.Dan Winship2000-04-222-1/+22
| | | | | | * e-msg-composer.c (exit_cb): Connect "Exit" menu item finally. svn path=/trunk/; revision=2549
* new functionsDan Winship2000-04-227-9/+99
| | | | | | | | | | | | | * e-msg-composer.c (e_msg_composer_set_headers): (e_msg_composer_set_body_text): new functions * e-msg-composer-hdrs.c: const poisoning (e_msg_composer_hdrs_set_subject): (e_msg_composer_hdrs_get_subject): new functions * e-msg-composer-address-entry.c: const poisoning svn path=/trunk/; revision=2548
* Removed.NotZed2000-04-227-1531/+9
| | | | | | | | | | | 2000-04-20 NotZed <NotZed@HelixCode.com> * providers/mbox/camel-mbox-utils.[ch]: Removed. * providers/mbox/camel-mbox-parser.[ch]: Removed. Removed references to it. svn path=/trunk/; revision=2547
* ignore test-urlSeth Alves2000-04-211-0/+1
| | | | svn path=/trunk/; revision=2546
* moved "About Calendar" into the View menu so it shows up.Seth Alves2000-04-212-1/+6
| | | | | | | * gui/calendar-commands.c (calendar_control_activate): moved "About Calendar" into the View menu so it shows up. svn path=/trunk/; revision=2545
* *** empty log message ***Seth Alves2000-04-212-1/+3
| | | | svn path=/trunk/; revision=2544
* Added Lithuanian stringsPablo Saratxaga2000-04-211-0/+2
| | | | svn path=/trunk/; revision=2543
* deal with cid: URLs. (find_cid): helper routine for above. (This could beDan Winship2000-04-213-21/+144
| | | | | | | | | | * mail-display.c (on_url_requested): deal with cid: URLs. (find_cid): helper routine for above. (This could be much better.) (mail_display_init): connect url_requested signal * mail-format.c (handle_multipart_related): Make this work. svn path=/trunk/; revision=2542
* ref the message we display, since we're going to unref it when we removeDan Winship2000-04-212-0/+8
| | | | | | | | | * mail-display.c (mail_display_set_message): ref the message we display, since we're going to unref it when we remove it. Fixes a bug that showed up with the new camel code, but it's not obvious if it's due to a bug or a feature in the new code. svn path=/trunk/; revision=2541
* use libunicode iconv functions rather than libc ones (since libc might notDan Winship2000-04-213-8/+25
| | | | | | | | | | * camel-mime-utils.c (rfc2047_decode_word): use libunicode iconv functions rather than libc ones (since libc might not have them). (header_decode_date): add autoconfiscation on timezone code * camel.c (camel_init): call unicode_init () svn path=/trunk/; revision=2540
* new function: callback for listener's object updated signal.Seth Alves2000-04-212-14/+29
| | | | | | | | | | | | | | | | * gui/gnome-cal.c (gnome_calendar_changed_cb): new function: callback for listener's object updated signal. (gnome_calendar_object_removed_cb): new function: callback for listener's object removed signal. (gnome_calendar_new): hook up listener's "obj_updated" and "obj_removed" signals so if evolution is running twice, they will both see changes right away. (gnome_calendar_object_changed): don't call update_all, since it will be called by the listener. (gnome_calendar_remove_object): don't call update_all (gnome_calendar_add_object): don't call update_all svn path=/trunk/; revision=2539
* callback for obj_updated or obj_removed. (gnome_calendar_new): hook upSeth Alves2000-04-212-13/+32
| | | | | | | | | * gui/gnome-cal.c (gnome_calendar_changed_cb): callback for obj_updated or obj_removed. (gnome_calendar_new): hook up gnome_calendar_changed_cb so if evolution is running twice, they will both see changes right away. svn path=/trunk/; revision=2538
* create fullday's gcs even if pixmap_bell has already been created. thisSeth Alves2000-04-212-1/+45
| | | | | | | | * gui/gncal-full-day.c (child_realize): create fullday's gcs even if pixmap_bell has already been created. this was causing crashes if the calendar was run twice. svn path=/trunk/; revision=2537
* Trim leading/trailing spaces off the raw headers.NotZed2000-04-212-3/+22
| | | | | | | | | 2000-04-20 NotZed <NotZed@HelixCode.com> * providers/mbox/camel-mbox-summary.c (message_struct_new): Trim leading/trailing spaces off the raw headers. svn path=/trunk/; revision=2536
* Oops, remove some debug i put there.NotZed2000-04-212-4/+1
| | | | | | | | | 2000-04-20 NotZed <NotZed@HelixCode.com> * message-list.c: (ml_row_count): Oops, remove some debug i put there. svn path=/trunk/; revision=2535
* Removed a bunch of crappy unrequired headers.NotZed2000-04-213-7/+8
| | | | | | | | | | 2000-04-20 NotZed <NotZed@HelixCode.com> * filter-driver.c: Removed a bunch of crappy unrequired headers. * Makefile.am (filter_driver_LDADD): Added libibex back again. svn path=/trunk/; revision=2534
* Merged from NEW_PARSER branch.Michael Zucci2000-04-211-11/+11
| | | | svn path=/trunk/; revision=2533
* Fixed some headers.NotZed2000-04-212-14/+21
| | | | | | | | | | | | 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
* MERGE NEW_PARSER branch into HEAD, fixed conflicts.NotZed2000-04-2142-2664/+7068
| | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-20 NotZed <NotZed@HelixCode.com> * MERGE NEW_PARSER branch into HEAD, fixed conflicts. * gmime-content-field.c (_print_parameter): Duh, removed again (@@#$@ cvs merge). * camel-mime-utils.c (header_content_type_is): Constify. (header_content_type_unref): Killed a couple warnings. * camel-folder.c (_init): Removed more log crap. * providers/Makefile.am (SUBDIRS): Removed nntp, pending fixes for summary changes. * providers/mbox/camel-mbox-folder.c (_get_message_by_number): Fixed for new summary interface. Added a warning for using this broken api. (_get_message_by_uid): Fixed for message new with session vanishing. svn path=/trunk/; revision=2531
* Add libibex.la to link.NotZed2000-04-214-24/+33
| | | | | | | | | | | | | | | | | | 2000-04-20 NotZed <NotZed@HelixCode.com> * Makefile.am (evolution_mail_LDADD): Add libibex.la to link. * message-list.h: Removed folder summary. * message-list.c: Dont include folder-summary anymore. (select_msg): Changed to use folder, not summary in summary_get_message_info(). God this code is grotty. (ml_value_at): Ditto. (ml_value_at): Changed to use new interface. Hmm, this returns a static variable, that seems wrong. (message_list_set_folder): Remove folder summary. svn path=/trunk/; revision=2530
* Use "e-minicard" as the log domain.Federico Mena Quintero2000-04-2169-270/+685
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-18 Federico Mena Quintero <federico@helixcode.com> * gui/minicard/Makefile.am (INCLUDES): Use "e-minicard" as the log domain. * gui/component/Makefile.am (INCLUDES): Use "evolution-addressbook" as the log domain. * backend/pas/Makefile.am: Build libpas.a, not a shared library. Do not install any header files. (INCLUDES): Remove spurious include paths. * backend/pas/*.[ch]: Fix includes. * backend/ebook/Makefile.am: Do not install the test programs. Fixed some include weirdness. * backend/ebook/*.[ch]: Fix includes. * contact-editor/Makefile.am (INCLUDES): Set the log domain to "contact-editor". (INCLUDES): Fix. * contact-editor/*.[ch]: Fix includes. * gui/minicard/*.[ch]: Fix includes. svn path=/trunk/; revision=2529
* new functions to get and set the contents of the HTML editor viaDan Winship2000-04-212-4/+84
| | | | | | | | | * e-msg-composer.c (get_editor_text, set_editor_text): new functions to get and set the contents of the HTML editor via Bonobo::PersistStream. (build_message): use get_editor_text. This works again. svn path=/trunk/; revision=2527
* ssshhhhSeth Alves2000-04-211-0/+3
| | | | svn path=/trunk/; revision=2526
* update for bonobo change, and remove a now-unused variable.Dan Winship2000-04-212-43/+7
| | | | | | | * mail-display.c: update for bonobo change, and remove a now-unused variable. svn path=/trunk/; revision=2525
* update for bonobo changesDan Winship2000-04-211-2/+2
| | | | svn path=/trunk/; revision=2524
* Updated the Turkish translation for evolutionFatih Demir2000-04-202-0/+583
| | | | svn path=/trunk/; revision=2523
* ja.po: Initial Japanese translation from Akira Tagoh.Yukihiro Nakai2000-04-204-1/+588
| | | | svn path=/trunk/; revision=2522
* This file does not belong in CVS.Peter Williams2000-04-201-376/+0
| | | | svn path=/trunk/; revision=2521
* This is a subtype of CamelSeekableStream, not CamelStream.Dan Winship2000-04-202-1/+5
| | | | | | | | * camel-simple-data-wrapper-stream.c (camel_simple_data_wrapper_stream_get_type): This is a subtype of CamelSeekableStream, not CamelStream. svn path=/trunk/; revision=2520
* clean up a lot. (eos): When testing for end-of-stream, reset the parentDan Winship2000-04-203-304/+204
| | | | | | | | | | * camel-seekable-substream.c: clean up a lot. (eos): When testing for end-of-stream, reset the parent position before testing if it is at end-of-stream, since either (a) it may have been seek'ed to eos by someone else, or (b) we may have been seek'ed away from eos and it hasn't been synced yet. svn path=/trunk/; revision=2519
* oops. fix prototype in both placesDan Winship2000-04-201-2/+2
| | | | svn path=/trunk/; revision=2513
* changed the order around a bit to avoid a Gtk-CRITICAL crashSeth Alves2000-04-202-5/+12
| | | | | | | * gui/eventedit.c (ee_rp_init_rule): changed the order around a bit to avoid a Gtk-CRITICAL crash svn path=/trunk/; revision=2512
* Updated Danish filePablo Saratxaga2000-04-202-39/+108
| | | | svn path=/trunk/; revision=2511
* const poison. (Belatedly goes with my change of 2000-02-23.)Dan Winship2000-04-203-8/+18
| | | | | | | | | * camel-medium.[ch] (camel_medium_add_header): const poison. (Belatedly goes with my change of 2000-02-23.) (camel_medium_init): Use g_strcase_{hash,equal} on the header array. svn path=/trunk/; revision=2510
* fixed code to populate the todo clistSeth Alves2000-04-206-42/+47
| | | | | | | | | | | | | | | * gui/gncal-todo.c (gncal_todo_update): fixed code to populate the todo clist * cal-client/cal-client.c (cal_client_get_uids): don't check type again CALOBJ_TYPE_ANY since it will always match. (cal_client_get_uids): same (re: CALOBJ_TYPE_ANY) * pcs/cal-backend.c (build_uids_list): same (re: CALOBJ_TYPE_ANY) * pcs/cal.c (Cal_get_uids): same (re: CALOBJ_TYPE_ANY) svn path=/trunk/; revision=2509
* Updated Swedish translationAndreas Hydén2000-04-202-54/+123
| | | | svn path=/trunk/; revision=2508
* don't call save from here because in all cases the caller of remove_objectSeth Alves2000-04-202-1/+4
| | | | | | | * pcs/cal-backend.c (remove_object): don't call save from here because in all cases the caller of remove_object calls save svn path=/trunk/; revision=2507
* calls gnome_calendar_open instead of checking on disk and calling load orSeth Alves2000-04-205-52/+92
| | | | | | | | | | | | * gui/calendar-commands.c (calendar_set_uri): calls gnome_calendar_open instead of checking on disk and calling load or create. * gui/gnome-cal.c (gnome_calendar_open): collapsed gnome_calendar_load and gnome_calendar_create into this function. added new type GnomeCalendarOpenMode which has the value CALENDAR_OPEN or CALENDAR_OPEN_OR_CREATE. svn path=/trunk/; revision=2506
* More detail on exactly what versions of what libraries are needed.Dan Winship2000-04-192-12/+41
| | | | | | | * README: More detail on exactly what versions of what libraries are needed. svn path=/trunk/; revision=2505
* fixed to use cal_client_update_object -- editing and dragging events worksSeth Alves2000-04-191-6/+5
| | | | | | | * gui/gnome-cal.c (gnome_calendar_object_changed): fixed to use cal_client_update_object -- editing and dragging events works again svn path=/trunk/; revision=2504
* Was damaged by "fr"?Valek Frob2000-04-191-1/+1
| | | | svn path=/trunk/; revision=2503
* build libtool libraries instead of just .aSeth Alves2000-04-193-11/+12
| | | | svn path=/trunk/; revision=2502
* set calendar's uri with a property bagSeth Alves2000-04-199-48/+179
| | | | | | | | | | | | | | | * e-shell-view.c (get_view): set calendar's uri with a property bag * gui/evolution-calendar-control.c (calendar_properties_init): create a property bag for this control (set_prop): callback for property sets (get_prop): callback for proprety gets * gui/calendar-commands.c (calendar_set_uri): new function, called when the "calendar_uri" property is set on the calendar- control's property bag. svn path=/trunk/; revision=2501
* Fixes the gnome-config check for gpilot.Eskil Heyn Olsen2000-04-192-1/+2
| | | | svn path=/trunk/; revision=2495
* Changed the error string for gnome-pilotEskil Heyn Olsen2000-04-192-1/+5
| | | | svn path=/trunk/; revision=2494
* Added e_xml_get_child_by_name_by_lang.Christopher James Lahey2000-04-195-0/+71
| | | | | | | | | 2000-04-19 Christopher James Lahey <clahey@helixcode.com> * e-xml-utils.c, e-xml-utils.h: Added e_xml_get_child_by_name_by_lang. svn path=/trunk/; revision=2493
* New idl file. Still unused.Christopher James Lahey2000-04-192-0/+105
| | | | | | | | 2000-04-19 Christopher James Lahey <clahey@helixcode.com> * idl/folder.idl: New idl file. Still unused. svn path=/trunk/; revision=2492
* Fix include path.Federico Mena Quintero2000-04-192-3/+6
| | | | | | | | 2000-04-18 Federico Mena Quintero <federico@helixcode.com> * cal-util/Makefile.am (INCLUDES): Fix include path. svn path=/trunk/; revision=2491
* do better reference counting of streams so they actually go away when theyDan Winship2000-04-193-3/+13
| | | | | | | | | * camel-mime-part.c (my_set_input_stream): * camel-data-wrapper.c (set_input_stream, set_output_stream): do better reference counting of streams so they actually go away when they should. svn path=/trunk/; revision=2490
* Added Danish strings to desktop/menu filePablo Saratxaga2000-04-195-0/+10
| | | | svn path=/trunk/; revision=2489
* added some stuff to cvs ignore files, build .la instead of just .aSeth Alves2000-04-198-22/+97
| | | | | | in src/libical/Makefile.am svn path=/trunk/; revision=2488
* kill camel-logDan Winship2000-04-1958-919/+99
| | | | svn path=/trunk/; revision=2487
* added 2nd arg to g_return_val_if_fail so this buildsSeth Alves2000-04-191-2/+2
| | | | svn path=/trunk/; revision=2486
* import of libical-0.16Seth Alves2000-04-1968-1355/+8265
| | | | svn path=/trunk/; revision=2484
* Clean, polish, document. Most of the gtk-doc comments added toDan Winship2000-04-197-448/+488
| | | | | | | | | | * camel-data-wrapper.[ch]: * camel-simple-data-wrapper.[ch]: * camel-medium.[ch]: Clean, polish, document. Most of the gtk-doc comments added to camel-data-wrapper.c note serious problems that need to be fixed. svn path=/trunk/; revision=2483
* more translations (still very incomplete)Vincent Renardias2000-04-183-9/+12
| | | | | | * more translations (still very incomplete) svn path=/trunk/; revision=2482
* initial setup.Vincent Renardias2000-04-182-1/+566
| | | | | | * initial setup. svn path=/trunk/; revision=2481
* Updated Norwegian translation.Kjartan Maraas2000-04-182-24/+93
| | | | | | | | 2000-04-18 Kjartan Maraas <kmaraas@online.no> * no.po: Updated Norwegian translation. svn path=/trunk/; revision=2480
* Remove the "session" field from CamelMimeMessage. Nothing uses it, aboutDan Winship2000-04-1815-21/+32
| | | | | | | | | | | | * camel-mime-message.[ch]: Remove the "session" field from CamelMimeMessage. Nothing uses it, about half of the existing calls to camel_mime_message_new_with_session pass NULL, and there's no obvious reason for it to be there. * others: Use camel_mime_message_new instead of camel_mime_message_new_with_session svn path=/trunk/; revision=2479
* Require gnome-xml 1.8.7 (or later, but not 2.0). xmlParseMemory's behaviorDan Winship2000-04-182-0/+16
| | | | | | | | * 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
* Set the exception if no provider is found.Dan Winship2000-04-182-1/+8
| | | | | | | * camel-session.c (get_store_for_protocol_with_url): Set the exception if no provider is found. svn path=/trunk/; revision=2477
* Started ChangeLog here - FedericoFederico Mena Quintero2000-04-181-0/+3
| | | | svn path=/trunk/; revision=2476
* We have a new "last_calendar_gone" signal that Wombat can use to terminateFederico Mena Quintero2000-04-184-3/+40
| | | | | | | | | | | | | | | | | | 2000-04-16 Federico Mena Quintero <federico@helixcode.com> * pcs/cal-factory.h (CalFactoryClass): We have a new "last_calendar_gone" signal that Wombat can use to terminate itself properly. * pcs/cal-factory.c (cal_factory_class_init): Register the "last_calendar_gone" signal. (backend_destroy_cb): Emit the "last_calendar_gone" signal instead of killing the factory. * pcs/Makefile.am: Added $(CORBA_GENERATED) to BUILT_SOURCES. (INCLUDES): Make the log domain be "wombat-pcs". svn path=/trunk/; revision=2475
* Add code to encode and decode %-escapes in URLs, and do some additionalDan Winship2000-04-182-21/+120
| | | | | | | | | | 2000-04-17 Dan Winship <danw@helixcode.com> * camel-url.c: Add code to encode and decode %-escapes in URLs, and do some additional correctness-checking on URL syntax. From Tiago Antào with modifications by me. svn path=/trunk/; revision=2474
* New program to test CamelURLDan Winship2000-04-183-0/+42
| | | | | | * tests/test-url.c: New program to test CamelURL svn path=/trunk/; revision=2473
* *** empty log message ***Seth Alves2000-04-181-1/+8
| | | | svn path=/trunk/; revision=2472
* removed implicit save, since we don't want to save as we load from disk.Seth Alves2000-04-181-1/+2
| | | | | | | | | * pcs/cal-backend.c (add_object): removed implicit save, since we don't want to save as we load from disk. (cal_backend_update_object): added a call to save, since it isn't done by add_object now. svn path=/trunk/; revision=2471
* new function, actually calls select_msg. (on_row_selection_cmd): registerChris Toshok2000-04-173-5/+33
| | | | | | | | | | | | | | * message-list.c (on_row_selection_idle): new function, actually calls select_msg. (on_row_selection_cmd): register an idle instead of calling select_msg directly. this fixes the lag before the row is selected - selection is instantaneous now, with message loading happening afterward. * message-list.h: add row_to_select and an idle_id to the message list to make the select_msg call happen in an idle func. svn path=/trunk/; revision=2470
* no more e_cell_set_editable. this info always comes from the model.Chris Toshok2000-04-172-3/+5
| | | | | | | * message-list.c (message_list_init_renderers): no more e_cell_set_editable. this info always comes from the model. svn path=/trunk/; revision=2469
* add table-size-testChris Toshok2000-04-1714-56/+573
| | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (noinst_PROGRAMS): add table-size-test * .cvsignore: add table-size-test. * e-cell-text.c (ect_ecent): use e_table_model_is_cell_editable instead of E_CELL_EDITABLE. * e-cell-toggle.c (etog_event): same. * e-cell.c (e_cell_init): don't call e_cell_set_editable. that info comes from the model. (e_cell_set_editable): removed function. * e-cell.h: remove the E_CELL_EDITABLE flag. that should be retrieved from the model. also, remove the prototype for e_cell_set_editable. * e-table-size-test.c: new file, for a stress test of sorts, of a large, uneditable e-table. svn path=/trunk/; revision=2468
* Updated - FedericoFederico Mena Quintero2000-04-171-4/+0
| | | | svn path=/trunk/; revision=2467
* No longer needed - FedericoFederico Mena Quintero2000-04-171-55/+0
| | | | svn path=/trunk/; revision=2466
* #include <tree.h>. people never learn.Mathieu Lacage2000-04-171-1/+1
| | | | svn path=/trunk/; revision=2465
* Added orginizational unit, nickname, and internet free-busy fields.Christopher James Lahey2000-04-179-6/+218
| | | | | | | | | | | | | | | | 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
* Propagate mouse wheel events upwards.Anders Carlsson2000-04-175-26/+42
| | | | | | | | | | | | 2000-04-16 Anders Carlsson <andersca@gnu.org> * e-table-item.c (eti_event): Propagate mouse wheel events upwards. * e-table.c (et_real_construct): Use a GtkScrolledWindow here instead of a GtkScrollbar, since it makes mouse wheel scrolling much easier. svn path=/trunk/; revision=2463
* Removed spurious calendar directories from the include path. AddedFederico Mena Quintero2000-04-173-14/+38
| | | | | | | | | | | | | | | | | | 2000-04-16 Federico Mena Quintero <federico@helixcode.com> * Makefile.am (INCLUDES): Removed spurious calendar directories from the include path. Added "wombat" log domain for glib. (wombat_LDADD): Link libpcs.a instead of the old shared library. * wombat.c: cal-factory.h is an internal include file. * wombat.c (setup_pcs): We should NOT share a CORBA_environment across all functions! Use our own CORBA_environment. (init_bonobo): Use our own CORBA_environment. Free the exception after initializing GOAD, and present some error messages if necessary. (Should g_message()s for exceptional situations be marked for translation?). svn path=/trunk/; revision=2462
* Renamed library from libcalutil to libcal-util, to be consistent withFederico Mena Quintero2000-04-1733-308/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-16 Federico Mena Quintero <federico@helixcode.com> * cal-util/Makefile.am: Renamed library from libcalutil to libcal-util, to be consistent with libcal-client. Install header files in $(includedir)/evolution/cal-util. (INCLUDES): Add "cal-util" log domain for glib. (libcal_clientincludedir): The header files are now installed in $(includedir)/evolution/cal-client. * cal-util/cal-util.h: Fix includes. * cal-client/client-test.c: Fix includes. * pcs/Makefile.am: Create libpcs.a, not a shared library, because it is for internal use by Wombat only. The header files should not be installed, either. Removed all the old Tlacuache stuff. * gui/Makefile.am (EXTRA_DIST): We no longer distribute gncal.desktop. (evolution_calendar_INCLUDES): Add "calendar-gui" for the glib log domain. * gui/*.[ch]: Fix cal-util and cal-client includes. * pcs/Makefile.am (INCLUDES): Added "pcs" log domain for glib. * pcs/*.[ch]: Fix cal-util includes. svn path=/trunk/; revision=2461
* Shut up CVSAnders Carlsson2000-04-171-0/+7
| | | | svn path=/trunk/; revision=2460
* added buttons to test moving/reordering groups.Damon Chaplin2000-04-167-1866/+154
| | | | | | | | | | | | | | | | | | | 2000-04-16 Damon Chaplin <damon@helixcode.com> * test-shortcut-bar.c: added buttons to test moving/reordering groups. * e-shortcut-bar.c (e_shortcut_bar_on_drag_end): new function to free the dragged name & URL when the drag is finished. * e-group-bar.c (e_group_bar_get_increment): fixed bug when distance was 0. Should just return 0. (e_group_bar_set_current_group_num): added animate option and finished. (e_group_bar_unmap): called e_group_bar_stop_all_animation(). (e_group_bar_reorder_group): finished. * e-icon-bar-text-item.[hc]: removed, since we now use EText. svn path=/trunk/; revision=2459
* Added orginization and role fields.Christopher James Lahey2000-04-1615-185/+445
| | | | | | | | | | | | | | | | | | | | | | | 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
* + * C/evo_book_0.1.sgml: new file (doc sgml)Aaron Weber2000-04-164-0/+910
| | | | | | | + + * C/ : New directory for doc sgml & graphics svn path=/trunk/; revision=2457
* Add realize. (e_canvas_realize): Set the back pixmap to NULL to reduceAnders Carlsson2000-04-163-8/+33
| | | | | | | | | 2000-04-16 Anders Carlsson <andersca@gnu.org> * e-canvas.c (e_canvas_class_init): Add realize. (e_canvas_realize): Set the back pixmap to NULL to reduce flicker. svn path=/trunk/; revision=2456
* + * addressbook/gui/component/addressbook.cMatthew Loper2000-04-165-7/+109
| | | | | | | | | | | | | | | | + (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
* Updated russian translation.Valek Frob2000-04-162-50/+108
| | | | svn path=/trunk/; revision=2454
* Do not use the parent thingie, because it might be like anything. AndMiguel de Icaza2000-04-152-1/+5
| | | | | | | | | | 2000-04-15 Miguel de Icaza <miguel@gnu.org> * e-group-bar.c (e_group_bar_realize): Do not use the parent thingie, because it might be like anything. And anything can be like any visual, and we dont like want any visual here. svn path=/trunk/; revision=2453
* Apply some loving action when it comes to visuals and colormaps. Yes, weMiguel de Icaza2000-04-151-2/+11
| | | | | | | | | | | | | | | | | | | | 2000-04-15 Miguel de Icaza <miguel@gnu.org> * e-shortcut-bar.c (e_shortcut_bar_add_group): Apply some loving action when it comes to visuals and colormaps. Yes, we got one of those machines --again--. Sigh. This is what you get when you have been away from the Indy. The whole thing is breaking left and right. Hopefully, Gtk 1.4 fixes all of this, by always running in the slowest visual it can find. 2000-04-11 Larry Ewing <lewing@helixcode.com> * e-icon-bar.c (flatten_alpha): update for new gdk-pixbuf. svn path=/trunk/; revision=2452
* Add our own ChangeLogMiguel de Icaza2000-04-151-0/+119
| | | | svn path=/trunk/; revision=2451
* *** empty log message ***Miguel de Icaza2000-04-151-100/+0
| | | | svn path=/trunk/; revision=2450
* Updated Danish filePablo Saratxaga2000-04-151-25/+7
| | | | svn path=/trunk/; revision=2449
* add nntpChris Toshok2000-04-152-1/+5
| | | | | | * providers/Makefile.am (SUBDIRS): add nntp svn path=/trunk/; revision=2448
* Fix switch statement.Christopher James Lahey2000-04-152-3/+7
| | | | | | | | 2000-04-14 Christopher James Lahey <clahey@helixcode.com> * providers/mbox/camel-mbox-folder.c: Fix switch statement. svn path=/trunk/; revision=2447
* add test12Chris Toshok2000-04-154-1/+76
| | | | | | | | | | * tests/.cvsignore: add test12 * tests/test12.c (main): add test for nntp stuff. * tests/Makefile.am (noinst_PROGRAMS): same. svn path=/trunk/; revision=2446
* always return TRUE for now. we need to check the server response to makeChris Toshok2000-04-153-48/+172
| | | | | | | | | | | | | | | | | * providers/nntp/camel-nntp-folder.c (_exists): always return TRUE for now. we need to check the server response to make sure the group exists. (_get_message_by_uid): make sure to account for the \n we add to the string after every line. * providers/nntp/camel-nntp-utils.c (get_XOVER_headers): function to get the headers using the XOVER command. (get_HEAD_headers): function to get the headers using the HEAD command on each message. slooooooow. (camel_nntp_get_headers): make this function use either XOVER or HEAD versions depending on whether or not the server extension is present. svn path=/trunk/; revision=2445