aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove the check because it makes it look like the task is alreadyFederico Mena Quintero2000-11-226-55/+101
| | | | | | | | | | | | | | | | | | | 2000-11-21 Federico Mena Quintero <federico@helixcode.com> * gui/task.xpm: Remove the check because it makes it look like the task is already completed. This fixes bug #819. * gui/task-recurring.xpm: Make it use a prettier overlaid icon. * gui/task-*.xpm: Made the things look like little spiral-bound notebooks. * gui/e-calendar-table.c (E_CALENDAR_TABLE_SPEC): Make the default column order be icon/completed/summary. 2000-11-21 Federico Mena Quintero <federico@helixcode.com> svn path=/trunk/; revision=6646
* New function, set a reference to a string that is then owned/free'd by theNot Zed2000-11-223-18/+64
| | | | | | | | | | | | 2000-11-22 Not Zed <NotZed@HelixCode.com> * e-memory.c (e_strv_set_ref_free): New function, set a reference to a string that is then owned/free'd by the strv. (e_strv_destroy): If there are any strings to destroy, free them here. svn path=/trunk/; revision=6645
* Big patch. Evolution-services rewrite, services updated for new system,Iain Holmes2000-11-2249-1070/+2797
| | | | | | | | Big patch. Evolution-services rewrite, services updated for new system, Fixes to Executive Summary and other things. See some changelogs svn path=/trunk/; revision=6644
* Removed gncal-todo.c.Federico Mena Quintero2000-11-222-1/+4
| | | | | | | | 2000-11-21 Federico Mena Quintero <federico@helixcode.com> * POTFILES.in: Removed gncal-todo.c. svn path=/trunk/; revision=6643
* add GPGME_CFLAGS and GPGME_LIBSDan Winship2000-11-222-3/+9
| | | | | | * Makefile.am: add GPGME_CFLAGS and GPGME_LIBS svn path=/trunk/; revision=6642
* Check for libgpgme. (Support not added to mail yet.)Dan Winship2000-11-223-16/+32
| | | | | | | * configure.in: Check for libgpgme. (Support not added to mail yet.) svn path=/trunk/; revision=6641
* Moved ViewSource to the View menu and made it a toggle menu.Jeffrey Stedfast2000-11-222-4/+10
| | | | | | | | | 2000-11-21 Jeffrey Stedfast <fejj@helixcode.com> * evolution-mail.xml: Moved ViewSource to the View menu and made it a toggle menu. svn path=/trunk/; revision=6640
* New function to return if user wants to view message source.Jeffrey Stedfast2000-11-2213-163/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-21 Jeffrey Stedfast <fejj@helixcode.com> * mail-config.c (mail_config_view_source): New function to return if user wants to view message source. (mail_config_set_view_source): New function to set whether the view wants to view source. * mail-ops.c (mail_do_view_message_sources): Removed. We're not gonna view-source this way anymore. * folder-browser-factory.c: Removed the ViewSource bonobo verb from the Message menu. (control_activate): Added ViewSource. * folder-browser.c (on_right_click): Removed Message menu item to view message source. (folder_browser_toggle_view_source): New callback to set whether or not the MailDisplay shows the raw message or the pretty-ified message. * mail-callbacks.c: Removed view_source. * mail-display.c (redisplay): If toggle_raw is set then display the raw message else display the pretty formatted message. (mail_display_redisplay): New function to force the redisplay of a message. * mail-format.c (mail_format_raw_message): New function to write the raw message data. svn path=/trunk/; revision=6639
* add #ifdef HAVE_ALLOCA_HDan Winship2000-11-223-0/+9
| | | | | | | * camel-lock.c: * camel-movemail.c: add #ifdef HAVE_ALLOCA_H svn path=/trunk/; revision=6638
* sync - FedericoFederico Mena Quintero2000-11-221-1/+0
| | | | svn path=/trunk/; revision=6637
* Removed the default_user/local/Tasks/Makefile until the relevant files areFederico Mena Quintero2000-11-221-0/+6
| | | | | | | | | | 2000-11-21 Federico Mena Quintero <federico@helixcode.com> * configure.in (EVOLUTION_DIR): Removed the default_user/local/Tasks/Makefile until the relevant files are on CVS. svn path=/trunk/; revision=6636
* The icon column is not editable!Federico Mena Quintero2000-11-2210-1323/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-21 Federico Mena Quintero <federico@helixcode.com> * gui/calendar-model.c (calendar_model_is_cell_editable): The icon column is not editable! * gui/calendar-commands.c (todo_properties_changed): Removed. (time_format_changed): Removed. (colors_changed): Removed. * gui/calendar-commands.h: * gui/prop.c (prop_apply): * gui/calendar-commands.c (init_calendar): Removed the old to-do list crap. * gui/gncal-todo.[ch]: Removed obsolete files. * gui/Makefile.am (evolution_calendar_SOURCES): Removed gncal-todo.[ch]. * gui/gnome-cal.c (gnome_calendar_todo_properties_changed): Removed. (gnome_calendar_time_format_changed): Removed. (gnome_calendar_colors_changed): Removed. svn path=/trunk/; revision=6635
* Fixed size allocation bug.Jesse Pavel2000-11-223-54/+21
| | | | svn path=/trunk/; revision=6634
* Removed mail/message-thread.c and added camel/camel-folder-thread.cJeffrey Stedfast2000-11-222-1/+6
| | | | | | | | | 2000-11-21 Jeffrey Stedfast <fejj@helixcode.com> * POTFILES.in: Removed mail/message-thread.c and added camel/camel-folder-thread.c svn path=/trunk/; revision=6633
* took out some no longer needed printfs.Jeffrey Stedfast2000-11-222-2/+5
| | | | | | | | | 2000-11-21 Jeffrey Stedfast <fejj@helixcode.com> * filter-message-search.c: took out some no longer needed printfs. svn path=/trunk/; revision=6632
* If we dont get a big enough chunk in the first node, give up. Otherwise weNot Zed2000-11-212-9/+17
| | | | | | | | | | | | 2000-11-22 Not Zed <NotZed@HelixCode.com> * e-memory.c (e_mempool_alloc): If we dont get a big enough chunk in the first node, give up. Otherwise we spend too much time searching. (e_mempool_strdup): Doh, and allocate enough for the terminating NUL at that. svn path=/trunk/; revision=6631
* New function to strdup into a mempool.Not Zed2000-11-213-0/+12
| | | | | | | | | 2000-11-21 Not Zed <NotZed@HelixCode.com> * e-memory.c (e_mempool_strdup): New function to strdup into a mempool. svn path=/trunk/; revision=6630
* IF we dont find a source, clear the exception and ignore it silently. forNot Zed2000-11-213-14/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-21 Not Zed <NotZed@HelixCode.com> * mail-vfolder.c (vfolder_uri_to_folder): IF we dont find a source, clear the exception and ignore it silently. for e.g. if the user reconfigured their mailboxes and one of them no longer exists. * message-list.c: (message_list_set_folder): If we get set a new folder, unhook any events before unrefing the folder too (the folder is never reset currently, but this would cause problems). (subtree_unread): Check for uid null, wont crash, but its a bug. (ml_tree_value_at): If the uid is null, then fake an obviously bad line. (build_subtree): Yeah well, we can't like freeze/thaw here, because this is called recursive, and freeze/thaw isn't recursive, like pre model and post model change was. (build_tree): Maybe we can try it here, although i dont think it'll help much. (build_flat): And this is also a tree. yes a tree. (build_tree): Added changes arg. If set, then try the 'diff' approach, unless the tree is already empty. (message_list_set_threaded): Dont clear the tree here. (message_list_set_search): Or here. svn path=/trunk/; revision=6629
* Shite, -1 on error, >=0 on success. So i've just been truncating all theNot Zed2000-11-2111-95/+462
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-21 Not Zed <NotZed@HelixCode.com> * providers/local/camel-mh-summary.c (mh_summary_sync_message): Shite, -1 on error, >=0 on success. So i've just been truncating all the messages I touched, good one zed. (mh_summary_sync_message): Sigh, and write to the right damn fd as well. (mh_summary_sync_message): Argh, and we need to compare the length of the old xev -1 to the new xev, to check if we can optimise it. * camel-folder.c (camel_folder_change_info_new): Init the pool. (camel_folder_change_info_add_source): Allocate string in the pool. (camel_folder_change_info_add_source_list): (camel_folder_change_info_add_update): No longer free the key, as it cannot be yet. (change_info_add_uid): Add a new arg, copy, telling it whether to copy the uid argument or not, and copy using mempool_strdup. (change_info_cat): Tell add_uid to copy the string. (camel_folder_change_info_add_update): Call add_uid directly. (change_info_remove): Call add_uid directly, with no copy, and dont free the key. (change_info_free_update): No longer required since we dont malloc the keys. (camel_folder_change_info_add_uid): Fix for add_uid change. (camel_folder_change_info_remove_uid): (camel_folder_change_info_change_uid): (change_info_clear): No longer needed, just set the size to 0 on the array directly. (camel_folder_change_info_clear): Empty the arrays directly, and flush the mempool too, and also clear uid_source, incase anyone was silly enough to call us in the wrong order. (camel_folder_change_info_free): Dont bother clearing the array's contents, just free the pool and throw away all the indexes. * camel-folder.h: Added a mempool to CamelFolderChangeInfo to store the uid's we get. * camel-folder-search.c (search_match_all): If we are only matching a single info, just use that/do the search. (camel_folder_search_match_expression): New function. Matches a single message info against an expression. (camel_folder_search_init): Init a hash table used to map the returned gptrarrays' to mempools. (camel_folder_search_execute_expression): Store all of the string data in a mempool, slightly faster, less wasted space (usually),. (camel_folder_search_free_result): Check for the mempool that stores the data for the list, and free that if we have it, otherwise assume we need to use g_free() (which should only happen if the list is empty at the moment). : commented out the debugging prints. Got sick of 'executing header search' crap. * providers/vee/camel-vee-folder.c (camel_vee_folder_init): Init changes. (camel_vee_folder_finalise): Free changes. (vfolder_add_match): Simple helper to add a new matching info record. (camel_vee_folder_add_folder): Only trigger a changed event if we have changes. (vfolder_change_match): New function, changes our local vfolder info to match the source. (vfolder_add_match): Add a new info to the vfolder list. (vfolder_remove_match): Remove a no-longer matching info from the vfolder summary. (message_changed): check if the message still matches, and remove/etc as required. (camel_vee_folder_finalise, init): init/free search object. (vee_folder_build_folder): Build the changes to the folder into the changes data, as we go. (folder_changed): If the folder gave us an explicit list of changes, then process each one separately (unless there's a lot added/changed). * providers/vee/camel-vee-folder.h: Added a changes field to the folder. svn path=/trunk/; revision=6628
* #include <gtkhtml/gtkhtml-embedded.h>Radek Doulik2000-11-212-0/+5
| | | | | | | | 2000-11-21 Radek Doulik <rodo@helixcode.com> * mail-display.c: #include <gtkhtml/gtkhtml-embedded.h> svn path=/trunk/; revision=6627
* use html_engine_is_selection_active added some includesRadek Doulik2000-11-212-1/+9
| | | | | | | | | 2000-11-21 Radek Doulik <rodo@helixcode.com> * component/e-summary.c (e_summary_rebuild_page): use html_engine_is_selection_active added some includes svn path=/trunk/; revision=6626
* Removed. No longer serves a purpose.Not Zed2000-11-215-794/+25
| | | | | | | | | | | | | | | | | 2000-11-21 Not Zed <NotZed@HelixCode.com> * message-thread.[ch]: Removed. No longer serves a purpose. * Makefile.am (evolution_mail_SOURCES): Removed message-thread.[ch]. * message-list.c (build_subtree): (node_equal): (add_node_diff): (build_subtree_diff): (do_regenerate_messagelist): (cleanup_regenerate_messagelist): Changed to use camel-folder-thread. svn path=/trunk/; revision=6625
* New function to allocate a zero'd out chunk.Not Zed2000-11-213-0/+16
| | | | | | | | | 2000-11-21 Not Zed <NotZed@HelixCode.com> * e-memory.c (e_memchunk_alloc0): New function to allocate a zero'd out chunk. svn path=/trunk/; revision=6624
* Added camel-folder-thread.[ch].Not Zed2000-11-214-0/+645
| | | | | | | | | | | | | | 2000-11-21 Not Zed <NotZed@HelixCode.com> * Makefile.am (libcamel_la_SOURCES): Added camel-folder-thread.[ch]. * camel-folder-thread.c: message-threading algorithm, taken from evolutions' mail component, as it is generally more useful than just for evolution itself. Changed to use e-memchunks as well to speed it up a little and use less mem. svn path=/trunk/; revision=6623
* fix changelog merge conflictsJeffrey Stedfast2000-11-211-1/+0
| | | | svn path=/trunk/; revision=6622
* Fixed to return the correct bytecount in all cases which is the real fixJeffrey Stedfast2000-11-214-24/+32
| | | | | | | | | | | | | | | | 2000-11-20 Jeffrey Stedfast <fejj@helixcode.com> * camel-remote-store.c (remote_recv_line): Fixed to return the correct bytecount in all cases which is the real fix to imap_parse_nstring. * providers/imap/camel-imap-command.c (imap_read_untagged): Again, don't use strlen for the post-data, use 'n'. * providers/imap/camel-imap-utils.c (imap_parse_nstring): Undo my previous temp-fix. svn path=/trunk/; revision=6621
* Fix IMAP get-mail to work; CORBA calls in the dispatch thread are a no-no.Peter Williams2000-11-212-13/+62
| | | | svn path=/trunk/; revision=6620
* New routines for fast memory management and compact string array storage.Not Zed2000-11-214-0/+902
| | | | | | | | | | | 2000-11-20 Not Zed <NotZed@HelixCode.com> * e-memory.[ch]: New routines for fast memory management and compact string array storage. * Makefile.am (libeutil_la_SOURCES): Added e-memory.[ch]. svn path=/trunk/; revision=6619
* Fixes for the summary messageid changes. Hash the messageid and store it.Not Zed2000-11-2114-407/+1038
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-20 Not Zed <NotZed@HelixCode.com> * providers/nntp/camel-nntp-utils.c (get_XOVER_headers): Fixes for the summary messageid changes. Hash the messageid and store it. (get_XOVER_headers): Use camel_folder_summary_info_new() to create the summary item before adding it. * camel-folder-summary.h (CamelMessageInfo): Changed the messgae-id to be an 8 byte md5 hash, and the references list to be an array of these. * providers/local/camel-mh-summary.c (mh_summary_sync_message): New function, sync out the message info stuff. Only updates the X-Ev header if it can get away with it, otherwise writes out a whole new message. (mh_summary_sync): Added more functionality. All summary info is now written to the X-Ev header, etc, and new messages re-written if required during the sync process. * providers/local/camel-local-folder.c (local_set_message_user_flag): Set the XEVCHANGE flag. (local_set_message_user_tag): And here too. * providers/local/camel-local-summary.h: New flag CAMEL_MESSAGE_FOLDER_XEVCHANGE to indicate the XEV header has probably changed size and needs to be rewritten in whole. * camel-folder-summary.c (next_uid_string): Want this static, not const. (message_info_new): Store the references and message-id values as 64 bit, binary hashes. (message_info_load): fix for message-id/references changes. (message_info_save): Likewise. (camel_message_info_dup_to): And here. (camel_message_info_free): And here too. No longer free message_id, and simple free for references array. (CAMEL_FOLDER_SUMMARY_VERSION): Bumped file revision. (camel_folder_summary_init): Init memchunk allocators to empty. (camel_folder_summary_finalize): Free memchunk allocators if there. (message_info_new): Use the chunk allocator to allocate message info's. (camel_folder_summary_info_new): New helper to allocate the message info, and setup the memchunk if required. (content_info_alloc): Likewise for content info's. (message_info_load): Use summary_info_new_empty. (content_info_new): Use content_info_alloc. (content_info_load): " (content_info_free): Free the content info as a memchunk. (message_info_free): Free everything directly and the base as a memchunk, rather than calling camel_message_info_free(), which assumes a malloc'd array. * providers/local/camel-local-summary.c: Include ctype.h, kill a warning. (local_summary_decode_x_evolution): If we get a NULL message info, then dont try and set anything, just check for validity. (camel_local_summary_write_headers): New function to write a set of headers to an fd. (camel_local_summary_check): Added some statistic generation stuff for memory profiling. * providers/local/camel-mbox-summary.c (header_write): Changed to use stdoi functions to write out the header to a buffered stream, instead of using writev, which is apparently slow (and writing each line separately is slow anyway). (mbox_summary_sync_full): New implementation. Does things differently, doesn't use or require the content info stuff. (summary_rebuild): Dont return an error if we start scanning at the end of file. (mbox_summary_sync_full): If we are not writing out new headers, make sure we copy the From line as we go, and update frompos appropriately. (mbox_summary_sync_full): Always copy the From line from the existing one, rather than trying to make one up ourselves. (mbox_summary_sync): If we can get by with a quick-sync, then try it, if that fails, then try a full sync anyway. (mbox_summary_sync_quick): Quick sync. Only update system flags, etc. (mbox_summary_sync_full): Use the proper local summary encode_xev function. (header_evolution_decode): Removed, no longer needed. (header_evolution_encode): Same. (copy_block): No longer needed, removed. (header_write): Removed, replaced with camel_local_summary_write_headers. (mbox_summary_sync_full): Fixed for header_write change. * camel-mime-parser.c (folder_scan_step): Implement the new optional parser state HSCAN_PRE_FROM, that returns the (currently unfiltered) input data. (folder_scan_drop_step): Do the right thing for the PRE_FROM state. (camel_mime_parser_scan_from): Update the doco. (camel_mime_parser_scan_pre_from): Ok, make this behaviour optional, it simplifies a lot of loops that dont otherwise need to know about it. (folder_scan_step): Made the PRE_FROM state optional. (struct _header_scan_state): Made the bool vars 1 bit. (folder_pull_part): Free the from_line buffer if it is there. (folder_scan_skip_line): Added a new arg, can save the skpped data to a byte_array, as we go. (folder_scan_step): Fixed calls to skip_line approrpiately. Now we save the from line as we parse it. (camel_mime_parser_read): New function to read from the mime parser buffer directly. Useful if you use the parser to read the first/some headers, then need to scan the rest of the data, without needing to use a seek(), or allocate your own buffers. * camel-mime-parser.h (struct _header_state): Added a new parser state, pre-from which returns any data found before a from line during parsing (all other data can be retrieved by the caller except this). svn path=/trunk/; revision=6618
* Save out the md5 hash of the messageid as hex, since thats all we have forNot Zed2000-11-213-43/+64
| | | | | | | | | | | | | | | | | 2000-11-20 Not Zed <NotZed@HelixCode.com> * message-list.c (save_node_state): Save out the md5 hash of the messageid as hex, since thats all we have for those nodes. (build_subtree): Expand the messageid to a hex string first, then check it. (add_node_diff): And the same here. * message-thread.c (thread_messages): Changed for changes to messageid/references items. (id_hash, id_equal): New functions to hash on the binary message id hash. (thread_messages): removed some more no longer used dead code. svn path=/trunk/; revision=6617
* New comparison function that will replace address_compare if/when we everJeffrey Stedfast2000-11-211-0/+1
| | | | | | | | | | | | | | 2000-11-20 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (e_mail_address_compare): New comparison function that will replace address_compare if/when we ever go to save the preparsed addresses in the ETable rather than parsing them each time. Also fixed it so that we should get better sorting when addresses don't contain name parts (I was checking for NULL but not '\0'). (address_compare): Use e_mail_address_compare. svn path=/trunk/; revision=6616
* New comparison function that will replace address_compare if/when we everJeffrey Stedfast2000-11-212-69/+110
| | | | | | | | | | | | | 2000-11-20 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (e_mail_address_compare): New comparison function that will replace address_compare if/when we ever go to save the preparsed addresses in the ETable rather than parsing them each time. Also fixed it so that we should get better sorting when addresses don't contain name parts (I was checking for NULL but not '\0'). svn path=/trunk/; revision=6615
* Updated Spanish translationHector Garcia2000-11-212-56/+79
| | | | svn path=/trunk/; revision=6614
* Updated Dutch translation.Almer S. Tigelaar2000-11-202-2216/+2622
| | | | | | | | 2000-11-19 Almer S. Tigelaar <almer1@dds.nl> * nl.po: Updated Dutch translation. svn path=/trunk/; revision=6613
* Translations from keldKenneth Christiansen2000-11-191-189/+234
| | | | | | | | | | | balsa/po/da.po bonobo/po/da.po bug-buddy/po/da.po evolution/po/da.po gal/po/da.po gernel/po/da.po gnome-applets/po/da.po gnome-core/po/da.po gnome-db/po/da.po gnome-games/po/da.po gnome-print/po/da.po gnome-utils/po/da.po gnome-vfs/po/da.po gtkhtml/po/da.po sodipodi/po/da.po gnome-i18n/extra-po/xchat/da.po svn path=/trunk/; revision=6612
* Add widgets/menus/libmenus.la to evolution_addressbook_LDADD so that itMatt Bissiri2000-11-192-1/+9
| | | | | | | | | | | 2000-11-18 Matt Bissiri <matt@bissiri.org> * gui/component/Makefile.am: Add widgets/menus/libmenus.la to evolution_addressbook_LDADD so that it will link properly now that gal-view-menus.[ch] was moved from gal into evolution. svn path=/trunk/; revision=6611
* AdaptMiguel de Icaza2000-11-181-3/+3
| | | | svn path=/trunk/; revision=6610
* Add Makefile.am and .cvsignoreMiguel de Icaza2000-11-182-0/+19
| | | | svn path=/trunk/; revision=6609
* Added widgets/menus that contains the gal-view-menus.c code from Gal thatMiguel de Icaza2000-11-184-2/+14
| | | | | | | | | | | | | 2000-11-18 Miguel de Icaza <miguel@helixcode.com> * Added widgets/menus that contains the gal-view-menus.c code from Gal that depended on Bonobo. * configure.in: Update list of Makefiles; * widgets/Makefile.am: Update. svn path=/trunk/; revision=6608
* Removed test for Bonobo here.Miguel de Icaza2000-11-181-1/+0
| | | | | | | | | | | 2000-11-18 Miguel de Icaza <miguel@helixcode.com> * configure.in (gnomelocaledir): Removed test for Bonobo here. * gal/menus/gal-view-menus.c: Removed this file, and moved into Evolution. svn path=/trunk/; revision=6607
* Updated Swedish translation.Christian Rose2000-11-182-35/+48
| | | | svn path=/trunk/; revision=6606
* Use the new quote_message function and make it start with "On %s, %sJeffrey Stedfast2000-11-185-105/+123
| | | | | | | | | | | | | | | | | 2000-11-17 Jeffrey Stedfast <fejj@helixcode.com> * mail-format.c (mail_generate_reply): Use the new quote_message function and make it start with "On %s, %s wrote:" since people seem to want that. * mail-ops.c (cleanup_forward_messages): Use the new quote_message function. * mail-tools.c (mail_tool_quote_message): New convenience function to quote a message body (since both the reply and forward code do similar quoting) svn path=/trunk/; revision=6605
* Updated Spanish translationHector Garcia2000-11-172-1171/+985
| | | | svn path=/trunk/; revision=6604
* Updated Swedish translation.Christian Rose2000-11-172-160/+192
| | | | svn path=/trunk/; revision=6603
* Updated russian translation.Valek Frob2000-11-172-149/+183
| | | | svn path=/trunk/; revision=6602
* lso make sure not to go past the end of the buffer ;-)Jeffrey Stedfast2000-11-171-1/+1
| | | | svn path=/trunk/; revision=6601
* When extracting a literal string, capture up until the end of the lastJeffrey Stedfast2000-11-172-0/+8
| | | | | | | | | | | | | | | | | | | | | 2000-11-17 Jeffrey Stedfast <fejj@helixcode.com> * providers/imap/camel-imap-utils.c (imap_parse_nstring): When extracting a literal string, capture up until the end of the last line - this we we don't lose any data if the byte count is off. * providers/imap/camel-imap-command.c (imap_read_untagged): Use the byte-read count to decrement the number of bytes left to read rather than using strlen. Not only does this protect against a DoS (embedded NUL chars in the literal string would make strlen inaccurate) but it also improves performace a little. * camel-remote-store.c (remote_recv_line): *Sigh* Return the number of bytes read on success rather than 0. Also don't use camel_stream_buffer_read_line since we can't get an accurate octet count. svn path=/trunk/; revision=6600
* Use the byte-read count to decrement the number of bytes left to readJeffrey Stedfast2000-11-173-8/+46
| | | | | | | | | | | | | | | | | 2000-11-17 Jeffrey Stedfast <fejj@helixcode.com> * providers/imap/camel-imap-command.c (imap_read_untagged): Use the byte-read count to decrement the number of bytes left to read rather than using strlen. Not only does this protect against a DoS (embedded NUL chars in the literal string would make strlen inaccurate) but it also improves performace a little. * camel-remote-store.c (remote_recv_line): *Sigh* Return the number of bytes read on success rather than 0. Also don't use camel_stream_buffer_read_line since we can't get an accurate octet count. svn path=/trunk/; revision=6599
* Before we destroy ourselves, unhook ourselves from the folder updateNot Zed2000-11-172-1/+15
| | | | | | | | | | 2000-11-17 Not Zed <NotZed@HelixCode.com> * message-list.c (message_list_destroy): Before we destroy ourselves, unhook ourselves from the folder update events. Should fix a common crash on exit case. svn path=/trunk/; revision=6598
* We should always terminate the string. No need to check outptr is inNot Zed2000-11-174-9/+19
| | | | | | | | | | | | | | | | | | 2000-11-17 Not Zed <NotZed@HelixCode.com> * camel-stream-buffer.c (camel_stream_buffer_gets): We should always terminate the string. No need to check outptr is in range, its already been checked. * providers/local/camel-mbox-summary.c (mbox_summary_sync): When we update the summary, do it from mbox_summary->folder_size, not the content info endpos (which isn't any good anymore anyway). * providers/local/camel-mbox-folder.c (mbox_append_message): Set the frompos from the current folder size, since summary_add wont have initialised it to anything useful. svn path=/trunk/; revision=6597
* Added the MessageViewSource bonobo menu verb.Jeffrey Stedfast2000-11-175-0/+134
| | | | | | | | | | | | 2000-11-16 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c: Added the MessageViewSource bonobo menu verb. * mail-ops.c (mail_do_save_messages): New async function to save messages as individual files in a given path. svn path=/trunk/; revision=6596
* Added View Message Source.Jeffrey Stedfast2000-11-172-0/+8
| | | | | | | | 2000-11-16 Jeffrey Stedfast <fejj@helixcode.com> * evolution-mail.xml: Added View Message Source. svn path=/trunk/; revision=6595
* added cancellation code to our program; people can cancel meetings,Jesse Pavel2000-11-173-21/+131
| | | | | | which is the best thing to do for most meetings. svn path=/trunk/; revision=6594
* Major Update (as opposed to Sergeant Bugfix and General Rewrite).Matthias Warkus2000-11-172-1506/+2469
| | | | svn path=/trunk/; revision=6593
* Check the uid string is all digits before trying to write a 'standard'Not Zed2000-11-1610-230/+346
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-16 Not Zed <NotZed@HelixCode.com> * providers/local/camel-local-summary.c (local_summary_encode_x_evolution): Check the uid string is all digits before trying to write a 'standard' x-ev header. * providers/local/camel-maildir-summary.c (camel_maildir_summary_info_to_name): Convert an info into a maildir name:info filename. (camel_maildir_summary_name_to_info): Convert a name:info filename into an info, and tell us if it didn't match it. (message_info_new): When creating a new filename, gets its info from the flags field. Likewise if creating from an existing file, extract the flags. (maildir_summary_sync): Remove a small memleak. Also, if our flags and that requires a filename change, perform that here. (message_info_new): Get the received date from the filename. Also, dont overwirte the uid if we have one. (maildir_summary_check): Sort the summary in received order before completion. (maildir_summary_next_uid_string): Test the name for collusions before we give it out. Retry, and if that fails, well, I guess we collide :( * providers/local/camel-mbox-folder.c (mbox_lock): Implement mbox locking. (mbox_unlock): And unlocking. (mbox_append_message): Lock the folder for write before doing anything. (mbox_get_message): Lock the folder for read before doing anything. * providers/local/camel-local-folder.c (camel_local_folder_lock): Implement something here. We handle the recursive ability but pass the locking to the folder itself. (camel_local_folder_unlock): Likewise for unlocking. (local_lock): Default - do nothing, return success. (local_unlock): Same. (local_sync): Changed slightly for locking api changes, and also, only lock around the sync process itself. * camel-lock.c: New file - utility functions for locking using different strategies and/or for locking folders safely. * Makefile.am (libcamel_la_SOURCES): Adde camel-lock.[ch] svn path=/trunk/; revision=6592
* Initialise nameinit & namecache. (contains_name): On first call, load allNot Zed2000-11-163-1/+76
| | | | | | | | | | | | | | | | | | 2000-11-16 Not Zed <NotZed@HelixCode.com> * wordindexmem.c (ibex_create_word_index_mem): Initialise nameinit & namecache. (contains_name): On first call, load all names into memory. We usually do a whole lot of lookups in a row, and this saves a lot of penalties on a big list, for not too much a memory hit. (find_name): If we have the namelist in memory do a quick short-circuit check to see if we have to do further processing. (unindex_name): Cross check the namecache, if it is active. Remove it there too/or exit (no work to do). (word_flush): If we have the namecache active, destroy it now, as it is not needed anymore (for now). svn path=/trunk/; revision=6591
* New file - utility functions for locking using different strategies and/orNot Zed2000-11-166-10/+22
| | | | | | | | | | | 2000-11-16 Not Zed <NotZed@HelixCode.com> * camel-lock.c: New file - utility functions for locking using different strategies and/or for locking folders safely. * Makefile.am (libcamel_la_SOURCES): Adde camel-lock.[ch] svn path=/trunk/; revision=6590
* Locking interfaces.Michael Zucci2000-11-162-0/+468
| | | | svn path=/trunk/; revision=6589
* Sync here instead. (filter_driver_filter_mbox): And here too.Jeffrey Stedfast2000-11-162-4/+21
| | | | | | | | | | | | 2000-11-15 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_filter_folder): Sync here instead. (filter_driver_filter_mbox): And here too. (filter_driver_finalise): Don't sync here afterall - it's more preferable to sync right after processing. svn path=/trunk/; revision=6588
* Sync the defaultfolder.Jeffrey Stedfast2000-11-162-1/+8
| | | | | | | | | 2000-11-15 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_finalise): Sync the defaultfolder. svn path=/trunk/; revision=6587
* Added Forward as Attachment.Jeffrey Stedfast2000-11-162-2/+10
| | | | | | | | 2000-11-15 Jeffrey Stedfast <fejj@helixcode.com> * evolution-mail.xml: Added Forward as Attachment. svn path=/trunk/; revision=6586
* Added a new Forward as Attachment bonobo menu item verb.Jeffrey Stedfast2000-11-168-76/+343
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-15 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c: Added a new Forward as Attachment bonobo menu item verb. * mail-view.c (view_forward_msg): Updated to reflect changes to mail_do_forward_message(). It now forwards the message without attaching it - is this what we want? * mail-ops.c (mail_do_view_message_sources): New async function to display message source dialog windows. (setup_forward_messages): If we were asked not to forward the message(s) as attachment(s) and the user chose more than a single message, then default to making each message an attachment. (cleanup_forward_messages): If we aren't forwarding the message as an attachment, then quote the text and set the composer's body with it. * mail-callbacks.c (view_source): New callback to view the message source of all messages that are currently selected. (forward_attach): New callback to forward a message as an attachment (forward_msg is now for forwarding a message without it being an attachment). (forward_message): Convenience function for forwarding messages. svn path=/trunk/; revision=6585
* Initialize destination struct with '0's.JP Rosevear2000-11-162-1/+6
| | | | | | | | | 2000-11-15 JP Rosevear <jpr@helixcode.com> * backend/pas/pas-backend-file.c (pas_backend_file_book_view_copy): Initialize destination struct with '0's. svn path=/trunk/; revision=6584
* update namespaceRadek Doulik2000-11-162-1/+3
| | | | | | | | 2000-11-15 Radek Doulik <rodo@helixcode.com> * e-msg-composer.c (prepare_engine): update namespace svn path=/trunk/; revision=6583
* updates for HTMLEditor API changesRadek Doulik2000-11-165-54/+60
| | | | | | | | | | 2000-11-15 Radek Doulik <rodo@helixcode.com> * updates for HTMLEditor API changes * e-msg-composer.c: added #include <libgnomevfs/gnome-vfs.h> svn path=/trunk/; revision=6582
* removed #include <libgnomevfs/gnome-vfs.h>Radek Doulik2000-11-162-2/+1
| | | | svn path=/trunk/; revision=6581
* #!/usr/bin/perl -pi.bakMichael Meeks2000-11-1624-41/+41
| | | | | | | | s/GNOME\/GenericFactory/GNOME\/ObjectFactory/g; s/Bonobo\/EmbeddableFactory/GNOME\/ObjectFactory/g; s/Bonobo\/GenericFactory/GNOME\/ObjectFactory/g; svn path=/trunk/; revision=6580
* e_msg_composer_guess_mime_type renamed and movedRadek Doulik2000-11-154-5/+35
| | | | | | | | | 2000-11-15 Radek Doulik <rodo@helixcode.com> * e-msg-composer.h: e_msg_composer_guess_mime_type renamed and moved mime_guess_type_from_file_name from camel as it uses VFS svn path=/trunk/; revision=6579
* mime_guess_type_from_file_name moved back to composer as it introducedRadek Doulik2000-11-153-22/+5
| | | | | | | | | 2000-11-15 Radek Doulik <rodo@helixcode.com> * camel-mime-utils.c: mime_guess_type_from_file_name moved back to composer as it introduced unwanted VFS dependency svn path=/trunk/; revision=6578
* Removed local again, not quite ready.Not Zed2000-11-158-50/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-15 Not Zed <NotZed@HelixCode.com> * providers/Makefile.am: Removed local again, not quite ready. 2000-11-14 Not Zed <NotZed@HelixCode.com> * camel-folder-summary.c (message_info_new_from_message): Use message_info_new to create the summary from headers, instead of getting directly from the message. (format_recipients): No longer required. * providers/Makefile.am (SUBDIRS): Added local. 2000-11-11 Not Zed <NotZed@HelixCode.com> * camel-mime-parser.c (folder_push_part): Make sure 'atleast' is at least 1, always. This is possibly a temporary fix for a bad failure mode on bad multipart messages. (folder_scan_content): Go until inend, not inend+1. Changed the continuation and retry logic to be simpler and more robust. If we can't find a marker within the atleast we need, just set it to 1, and try again, rather than just going to the next smaller limit (boundary check checks the length anyway). (header_append): streamline the empty line case. And strip trailing \r's if there are any (\n's already stripped). (folder_scan_header): Reordered and cleaned up a lot. Check for continuation only once, and compress lwsp then. Assume the header buffer already has end of line's stripped, and simplify some things: Only check for end of headers once and easier. Dont check to remove end of line character Dont bother testing inptr-start if we get a boundary match - it is always zero. (folder_scan_header): Removed the unused part variable, and a few pointless assignments. (folder_scan_header): Change the end limit to be 1 higher, to make sure we get all content. (folder_scan_content): And here too. (folder_scan_header): Killed a warning. (folder_push_part): Removed a bad comment. Actually boundarylenfinal can be zero for a new message not in a multipart. So we fix that here. 2000-11-09 Not Zed <NotZed@HelixCode.com> * camel-mime-utils.c (header_decode_param_list): Renamed from header_param_list_decode. (header_param_list_decode): New external function to decode a parameter list. (header_param_list_format_append): Made public. (header_param_list_format): Another new public helper function for formatting just a param list. * camel-folder-summary.c (next_uid_string): Default implementation is the same as before. (camel_folder_summary_class_init): And set it up. * camel-folder-summary.h: Make next_uid_string a virtual function. * camel-folder.c (camel_folder_change_info_changed): New function to return true if the changeset contains any changes. svn path=/trunk/; revision=6577
* Maildir lives.Michael Zucci2000-11-1513-17/+1005
| | | | svn path=/trunk/; revision=6576
* Initial cut for local provider, to handle mh/mailbox/maildir atMichael Zucci2000-11-1522-0/+4165
| | | | | | | least. Checking in to make a backup. svn path=/trunk/; revision=6575
* Don't cast an int to a ssize_t.Jeffrey Stedfast2000-11-152-1/+6
| | | | | | | | | 2000-11-14 Jeffrey Stedfast <fejj@helixcode.com> * camel-stream.c (camel_stream_printf): Don't cast an int to a ssize_t. svn path=/trunk/; revision=6574
* Fixed REPLY code.Jesse Pavel2000-11-152-0/+5
| | | | svn path=/trunk/; revision=6573
* add (e_shell_view_construct): hook up to system_exception on ui_container.Michael Meeks2000-11-142-0/+22
| | | | | | | | | | 2000-11-14 Michael Meeks <michael@helixcode.com> * e-shell-view.c (unmerge_on_error): add (e_shell_view_construct): hook up to system_exception on ui_container. svn path=/trunk/; revision=6571
* Updated fi.po.jjranta2000-11-142-1802/+1718
| | | | svn path=/trunk/; revision=6570
* Updated russian translation.Valek Frob2000-11-142-1067/+774
| | | | svn path=/trunk/; revision=6569
* rename command to runCommandRadek Doulik2000-11-142-5/+7
| | | | | | | | 2000-11-14 Radek Doulik <rodo@helixcode.com> * listener.c (reply_indent): rename command to runCommand svn path=/trunk/; revision=6568
* updated to HTMLEditor API changesRadek Doulik2000-11-143-5/+11
| | | | | | | | | | 2000-11-14 Radek Doulik <rodo@helixcode.com> * e-msg-composer.c: updated to HTMLEditor API changes * listener.c: updated to HTMLEditor API changes svn path=/trunk/; revision=6567
* I created this file to store some commonly used enumeration to stringJesse Pavel2000-11-146-48/+231
| | | | | | | | | | * gui/itip-utils.[ch]: I created this file to store some commonly used enumeration to string mappings and functions. * gui/Makefile.am: this was changed to reflect the addition of the above file. * gui/e-itip-control.c: added code to take action on a REPLY message. * gui/e-meeting-edit.c: bug fixes. svn path=/trunk/; revision=6566
* Take a 'subscribe' argument so that this can function as a subscribe ANDJeffrey Stedfast2000-11-142-132/+64
| | | | | | | | | | | | | | | | | 2000-11-13 Jeffrey Stedfast <fejj@helixcode.com> * subscribe-dialog.c (subscribe_do_subscribe_folder): Take a 'subscribe' argument so that this can function as a subscribe AND unsibscribe method. (describe_subscribe_folder): Updated. (do_subscribe_folder): Updated. (cleanup_subscribe_folder): Updated. (subscribe_folder_info): Pass along a TRUE as the 'subscribe' param. (unsubscribe_folder_info): Pass along a FALSE as the 'subscribe' param. svn path=/trunk/; revision=6565
* Update the gal reqiurement version.Christopher James Lahey2000-11-144-6/+17
| | | | | | | | | | | | | | | 2000-11-13 Christopher James Lahey <clahey@helixcode.com> * configure.in: Update the gal reqiurement version. From mail/ChangeLog: 2000-11-13 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Removed some e_table_model calls and replaced them with e_tree_model calls. svn path=/trunk/; revision=6564
* Updated version number.Christopher James Lahey2000-11-143-17/+25
| | | | | | | | | | | | | 2000-11-13 Christopher James Lahey <clahey@helixcode.com> * configure.in: Updated version number. * gal/e-table/e-tree-model.c, gal/e-table/e-tree-model.h: Added freeze and thaw functions. * gal/menus/gal-define-views-dialog.c: Fixed some warnings. svn path=/trunk/; revision=6563
* Neglect any leading whitespace in the header contents.Jeffrey Stedfast2000-11-142-0/+22
| | | | | | | | | | | | 2000-11-13 Jeffrey Stedfast <fejj@helixcode.com> * filter-message-search.c (header_matches): Neglect any leading whitespace in the header contents. (header_starts_with): Same. (header_ends_with): Same. (header_soundex): Same. svn path=/trunk/; revision=6562
* Updated Swedish translation.Christian Rose2000-11-142-1250/+1119
| | | | svn path=/trunk/; revision=6561
* extracted function, does reply indentation, use updated editor engine apiRadek Doulik2000-11-142-5/+24
| | | | | | | | | 2000-11-13 Radek Doulik <rodo@helixcode.com> * listener.c (reply_indent): extracted function, does reply indentation, use updated editor engine api svn path=/trunk/; revision=6560
* Translations from keldKenneth Christiansen2000-11-131-1601/+1812
| | | | | | | bonobo/po/da.po evolution/po/da.po gal/po/da.po gfax/po/da.po gnumeric/po/da.po guppi3/po/da.po pong/po/da.po svn path=/trunk/; revision=6559
* OK, bugzilla bug #829 is fixed and that does not redeem me from extremeFederico Mena Quintero2000-11-133-2/+10
| | | | | | | | | | | | 2000-11-12 Federico Mena Quintero <federico@helixcode.com> OK, bugzilla bug #829 is fixed and that does not redeem me from extreme procrastination. Wheeeeeeeeeeeeeeee! * gui/event-editor-dialog.c: Changed the "Rule view" label to "Preview" svn path=/trunk/; revision=6558
* Do this the normal way rather than calling mail_operation_wait_for_finish.Dan Winship2000-11-132-27/+36
| | | | | | | | | | * mail-local.c (mail_do_register_folder): Do this the normal way rather than calling mail_operation_wait_for_finish. There was some reason for it originally, but it no longer applies. This makes adding new folders from the folder selection dialog no longer hang. svn path=/trunk/; revision=6557
* Misspelled "occurrences". (fill_recurrence_widgets): Sensitize the "CustomFederico Mena Quintero2000-11-133-84/+149
| | | | | | | | | | | | | | | | | 2000-11-12 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (make_recur_ending_count_special): Misspelled "occurrences". (fill_recurrence_widgets): Sensitize the "Custom recurrence" radio button as appropriate. (sensitize_recur_widgets): Resurrected the recurrence custom warning label. (get_widgets): Load the recurrence custom warning bin. * gui/event-editor-dialog.glade: Add an empty alignment for the recurrence custom warning label. svn path=/trunk/; revision=6556
* If there is a default folder and the message hasn't been deleted then...Jeffrey Stedfast2000-11-132-2/+3
| | | | | | | | | | | | | | | 2000-11-12 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_filter_message): If there is a default folder and the message hasn't been deleted then... should be: If there is a default folder and the message hasn't been copied to another folder and the message hasn't been deleted... (filter_driver_filter_message): Make it so that the FILTER_LOG_END is only called if filtered were applied to the message so we don't get huge gaps of whitespace in the log file. (filter_driver_filter_message): svn path=/trunk/; revision=6555
* If there is a default folder and the message hasn't been deleted then...Jeffrey Stedfast2000-11-132-3/+10
| | | | | | | | | | | | | | 2000-11-12 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_filter_message): If there is a default folder and the message hasn't been deleted then... should be: If there is a default folder and the message hasn't been copied to another folder... (filter_driver_filter_message): Make it so that the FILTER_LOG_END is only called if filtered were applied to the message so we don't get huge gaps of whitespace in the log file. svn path=/trunk/; revision=6554
* Sync the source folder.Jeffrey Stedfast2000-11-133-1/+8
| | | | | | | | 2000-11-12 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (do_filter_ondemand): Sync the source folder. svn path=/trunk/; revision=6553
* New function; re-tag the calendar when its date range changes.Federico Mena Quintero2000-11-132-13/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-12 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (recur_preview_date_range_changed_cb): New function; re-tag the calendar when its date range changes. (init_widgets): Connect to "date_range_changed" on the recurrence preview calendar. (make_recur_weekly_special): Connect to "changed" on the weekday picker. (recur_weekday_picker_changed_cb): New function; re-tag the calendar. (month_day_menu_selection_done_cb): Re-tag the calendar. (recur_month_index_value_changed_cb): Likewise. (recur_ending_until_changed_cb): Likewise. (recur_ending_count_value_changed_cb): Likewise. (make_recur_monthly_special): Connect to "value_changed" on the adjustment of the month index. (make_recur_ending_until_special): Connect to "changed" on the ending-until date picker. (make_recur_ending_count_special): Connect to "value_changed" on the ending-count adjustment. (init_widgets): Set to zero the maximum number of selectable days in the recurrence preview calendar. Set the week_start_day from the calendar's configuration. svn path=/trunk/; revision=6552
* If there is a default folder and the message hasn't been deleted then...Jeffrey Stedfast2000-11-132-1/+8
| | | | | | | | | | | 2000-11-12 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_filter_message): If there is a default folder and the message hasn't been deleted then... should be: If there is a default folder and the message hasn't been copied to another folder... svn path=/trunk/; revision=6551
* Block the signals as appropriate. (fill_ending_date): Ditto.Federico Mena Quintero2000-11-132-3/+77
| | | | | | | | | | | | 2000-11-12 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (clear_widgets): Block the signals as appropriate. (fill_ending_date): Ditto. (fill_recurrence_widgets): Ditto. (recurrence_type_toggled_cb): Only sensitize the widgets and preview the recurrence if the toggle button is active. svn path=/trunk/; revision=6550
* Add the stupid files, yo - FedericoFederico Mena Quintero2000-11-132-0/+188
| | | | svn path=/trunk/; revision=6549
* Changed the mime type from "text/vcard" to "text/x-vcard".Christopher James Lahey2000-11-132-1/+6
| | | | | | | | | 2000-11-12 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card.c: Changed the mime type from "text/vcard" to "text/x-vcard". svn path=/trunk/; revision=6548
* Clear the rdate and exrule lists from the component if we are setting aFederico Mena Quintero2000-11-1323-398/+478
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-12 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (recur_to_comp_object): Clear the rdate and exrule lists from the component if we are setting a simple recurrence. (recur_to_comp_object): Set the exdate list here instead of in dialog_to_comp_object(). (preview_recur): New function to tag the recurrence preview calendar based on the information from the dialog box. (fill_exception_widgets): Fill the exception widgets here; moved over from fill_widgets(). (fill_recurrence_widgets): Call preview_recur(). Also, call fill_exception_widgets() first of all. (recurrence_type_toggled_cb): Call preview_recur(). (recur_interval_selection_done_cb): Likewise. (recur_ending_selection_done_cb): Likewise. (recurrence_exception_add_cb): Likewise. (recurrence_exception_modify_cb): Likewise. (recurrence_exception_delete_cb): Likewise. (date_changed_cb): Likewise. (recur_interval_value_changed_cb): Likewise, new function. * gui/tag-calendar.[ch]: New files with utilities for tagging calendars. mark.[ch] should go away some day. * gui/tag-calendar.c (tag_calendar): Moved over from gnome_calendar_tag_calendar(). Take in a CalClient instead of a GnomeCalendar. Added API docs. (tag_calendar_by_comp): New function to tag a calendar based on a single calendar component instead of a whole client. * gui/gnome-cal.c (initial_load): Use tag_calendar_by_client(). (obj_updated_cb): Likewise. (obj_removed_cb): Likewise. (gnome_calendar_on_date_navigator_date_range_changed): Likewise. (editor_closed_cb): Free the closure. (destroy_editor_cb): Renamed from free_uid(). Do not free the UID; just unref the event editor. Our destroy handler to it will free things properly. This will also cause the corresponding calendar client to be unrefed. (editor_closed_cb): Use a flag on the GnomeCalendar to decide whether to remove the editor from the hash table. This is sort of icky. * gui/calendar-model.c (obj_updated_cb): If the object is new, we have to use e_table_model_row_inserted(), not row_changed(). Thanks to JP Rosevear for reporting this. * gui/Makefile.am (evolution_calendar_SOURCES): Added tag-calendar.[ch] to the list of sources. svn path=/trunk/; revision=6547
* Add idl-generated files.Matt Bissiri2000-11-124-17/+28
| | | | | | | | | | | 2000-11-11 Matt Bissiri <bissiri@eecs.umich.edu> * backend/ebook/.cvsignore: Add idl-generated files. * backend/ebook/e-book.c: (e_book_do_response_get_changes): * backend/ebook/e-card.c: (e_card_send): s/Evolution_/GNOME_Evolution_/g; svn path=/trunk/; revision=6546
* Added Send contact as attachment and Send to contact to menus.Christopher James Lahey2000-11-122-0/+13
| | | | | | | | | 2000-11-11 Christopher James Lahey <clahey@helixcode.com> * evolution-contact-editor.xml: Added Send contact as attachment and Send to contact to menus. svn path=/trunk/; revision=6545
* Added a bunch of .lo s from the menus directory.Christopher James Lahey2000-11-1211-14/+929
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-11 Christopher James Lahey <clahey@helixcode.com> * gal/Makefile.am: Added a bunch of .lo s from the menus directory. From gal/menus: 2000-11-11 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added gal-define-views-model.c, gal-define-views-model.h, gal-view-new-dialog.c, gal-view-new-dialog.h, gal-view-new-dialog.glade, gal-view-new-dialog.glade.h, gal-view.c, and gal-view.h. * gal-define-views-dialog.c, gal-define-views-dialog.h: Connect up the New button. Use an ETable. * gal-define-views.glade, gal-define-views.glade.h: Put in custom object for the ETable * gal-define-views-model.c, gal-define-views-model.h: New model for list of views. * gal-view-menus.c: Close the define views dialog when it's done. * gal-view-new-dialog.c, gal-view-new-dialog.glade, gal-view-new-dialog.glade.h, gal-view-new-dialog.h: New class for creating a new view. * gal-view.c, gal-view.h: New class for representing a single view in the define views model. svn path=/trunk/; revision=6544
* Link in composer bonobo code.Christopher James Lahey2000-11-129-55/+303
| | | | | | | | | | | | | | | | | | | | | 2000-11-11 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am: Link in composer bonobo code. * backend/ebook/e-card.c, backend/ebook/e-card.h: Added code to send mail to an ECard or send an ECard as a VCard attachment. * contact-editor/e-contact-editor.c: Add verbs to send the contact as a VCard or send mail to the contact. * gui/search/e-addressbook-search-dialog.c: Removed some unused variables. * gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard.c: Added menu items to send the contact as a VCard or send mail to the contact. svn path=/trunk/; revision=6543
* Go until inend, not inend+1. Changed the continuation and retry logic toNot Zed2000-11-111-187/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-11 Not Zed <NotZed@HelixCode.com> * camel-mime-parser.c: (folder_scan_content): Go until inend, not inend+1. Changed the continuation and retry logic to be simpler and more robust. If we can't find a marker within the atleast we need, just set it to 1, and try again, rather than just going to the next smaller limit (boundary check checks the length anyway). (header_append): streamline the empty line case. And strip trailing \r's if there are any (\n's already stripped). (folder_scan_header): Reordered and cleaned up a lot. Check for continuation only once, and compress lwsp then. Assume the header buffer already has end of line's stripped, and simplify some things: Only check for end of headers once and easier. Dont check to remove end of line character Dont bother testing inptr-start if we get a boundary match - it is always zero. (folder_scan_header): Removed the unused part variable, and a few pointless assignments. (folder_scan_header): Change the end limit to be 1 higher, to make sure we get all content. (folder_scan_content): And here too. (folder_scan_header): Killed a warning. (folder_push_part): Removed a bad comment. Actually boundarylenfinal can be zero for a new message not in a multipart. So we fix that here. svn path=/trunk/; revision=6542
* Update the remaining "IDL:Evolution*" to "IDL:GNOME/Evolution*" to sync upMatt Bissiri2000-11-1136-46/+88
| | | | | | | | | 2000-11-11 Matt Bissiri <bissiri@eecs.umich.edu> Update the remaining "IDL:Evolution*" to "IDL:GNOME/Evolution*" to sync up with yesterday's IDL re-scoping. svn path=/trunk/; revision=6541
* Make sure 'atleast' is at least 1, always. This is possibly a temporaryNot Zed2000-11-111-3/+4
| | | | | | | | | | 2000-11-11 Not Zed <NotZed@HelixCode.com> * camel-mime-parser.c (folder_push_part): Make sure 'atleast' is at least 1, always. This is possibly a temporary fix for a bad failure mode on bad multipart messages. svn path=/trunk/; revision=6540
* Regenerate the idl-generated files if composer idl changes.Matt Bissiri2000-11-112-1/+13
| | | | | | | | | 2000-11-10 Matt Bissiri <bissiri@eecs.umich.edu> * component/Makefile.am: Regenerate the idl-generated files if composer idl changes. svn path=/trunk/; revision=6539
* put a space before a single-digit day of the month since it seems someDan Winship2000-11-112-1/+8
| | | | | | | | | * providers/mbox/camel-mbox-summary.c (camel_mbox_summary_build_from): put a space before a single-digit day of the month since it seems some mailers are fantastically picky about this. (bugs.gnome.org #27232) svn path=/trunk/; revision=6538
* Require Bonobo >= 0.29, due to the XSync fix.Michael Meeks2000-11-112-2/+7
| | | | | | | | | | | | | | 2000-11-10 Michael Meeks <michael@helixcode.com> * configure.in: Require Bonobo >= 0.29, due to the XSync fix. 2000-11-06 Michael Meeks <michael@helixcode.com> * e-shell-view.c (unrealize): remove. (e_shell_view_construct): ditto. svn path=/trunk/; revision=6537
* fix ids ending with '.'Radek Doulik2000-11-112-1/+6
| | | | | | | | 2000-11-10 Radek Doulik <rodo@helixcode.com> * camel-mime-utils.c (header_msgid_generate): fix ids ending with '.' svn path=/trunk/; revision=6536
* A very, long, very tedious IDL API rename and re-scoping;Michael Meeks2000-11-11125-1624/+1663
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this script + some grunt approximates the work: s/Evolution_MessageList/GNOME_Evolution_MessageList/g; s/GNOME_Evolution_MessageList_select_message/GNOME_Evolution_MessageList_selectMessage/g; s/GNOME_Evolution_MessageList_open_message/GNOME_Evolution_MessageList_openMessage/g; s/Evolution_Folder([ \t])/GNOME_Evolution_Folder$1/g; s/Evolution_FolderTypeList/GNOME_Evolution_FolderTypeList/g; s/Evolution_FolderBrowser/GNOME_Evolution_FolderBrowser/g; s/GNOME_Evolution_FolderBrowser_get_message_list/GNOME_Evolution_FolderBrowser_getMessageList/g; s/Evolution_LocalStorage/GNOME_Evolution_LocalStorage/g; s/GNOME_Evolution_LocalStorage_update_folder/GNOME_Evolution_LocalStorage_updateFolder/g; s/Evolution_ShellView/GNOME_Evolution_ShellView/g; s/GNOME_Evolution_ShellView_set_message/GNOME_Evolution_ShellView_setMessage/g; s/GNOME_Evolution_ShellView_unset_message/GNOME_Evolution_ShellView_unsetMessage/g; s/GNOME_Evolution_ShellView_change_current_view/GNOME_Evolution_ShellView_changeCurrentView/g; s/Evolution_StorageSetViewListener/GNOME_Evolution_StorageSetViewListener/g; s/GNOME_Evolution_StorageSetViewListener_folder_selected/GNOME_Evolution_StorageSetViewListener_notifyFolderSelected/g; s/GNOME_Evolution_StorageSetViewListener_storage_selected/GNOME_Evolution_StorageSetViewListener_notifyStorageSelected/g; s/Evolution_StorageSetView/GNOME_Evolution_StorageSetView/g; s/GNOME_Evolution_StorageSetView_add_listener/GNOME_Evolution_StorageSetView_addListener/g; s/GNOME_Evolution_StorageSetView_remove_listener/GNOME_Evolution_StorageSetView_removeListener/g; s/Evolution_Shell/GNOME_Evolution_Shell/g; s/GNOME_Evolution_Shell_get_component_for_type/GNOME_Evolution_Shell_getComponentByType/g; s/GNOME_Evolution_Shell_user_select_folder/GNOME_Evolution_Shell_selectUserFolder/g; s/GNOME_Evolution_Shell_get_local_storage/GNOME_Evolution_Shell_getLocalStorage/g; s/GNOME_Evolution_Shell_create_storage_set_view/GNOME_Evolution_Shell_createStorageSetView/g; s/Evolution_FolderSelectionListener/GNOME_Evolution_FolderSelectionListener/g; s/GNOME_Evolution_FolderSelectionListener_selected/GNOME_Evolution_FolderSelectionListener_notifySelected/g; s/GNOME_Evolution_FolderSelectionListener_cancel/GNOME_Evolution_FolderSelectionListener_notifyCanceled/g; s/Evolution_Storage/GNOME_Evolution_Storage/g; s/GNOME_Evolution_Storage_add_listener/GNOME_Evolution_Storage_addListener/g; s/GNOME_Evolution_Storage_remove_listener/GNOME_Evolution_Storage_removeListener/g; s/GNOME_Evolution_StorageListener_destroyed/GNOME_Evolution_StorageListener_notifyDestroyed/g; s/GNOME_Evolution_StorageListener_new_folder/GNOME_Evolution_StorageListener_notifyFolderCreated/g; s/GNOME_Evolution_StorageListener_update_folder/GNOME_Evolution_StorageListener_notifyFolderUpdated/g; s/GNOME_Evolution_StorageListener_removed_folder/GNOME_Evolution_StorageListener_notifyFolderRemoved/g; s/GNOME_Evolution_StorageRegistry_register_storage/GNOME_Evolution_StorageRegistry_addStorage/g; s/GNOME_Evolution_StorageRegistry_unregister_storage/GNOME_Evolution_StorageRegistry_removeStorageByName/g; s/Evolution_ShellComponent/GNOME_Evolution_ShellComponent/g; s/GNOME_Evolution_ShellComponent_set_owner/GNOME_Evolution_ShellComponent_setOwner/g; s/GNOME_Evolution_ShellComponent_unset_owner/GNOME_Evolution_ShellComponent_unsetOwner/g; s/GNOME_Evolution_ShellComponent_create_view/GNOME_Evolution_ShellComponent_createView/g; s/GNOME_Evolution_ShellComponent_async_create_folder/GNOME_Evolution_ShellComponent_addFolderAsync/g; s/GNOME_Evolution_ShellComponent_async_remove_folder/GNOME_Evolution_ShellComponent_removeFolderAsync/g; s/GNOME_Evolution_ShellComponent_populate_folder_context_menu/GNOME_Evolution_ShellComponent_populateFolderContextMenu/g; s/GNOME_Evolution_ShellComponentListener_report_result/GNOME_Evolution_ShellComponentListener_notifyResult/g; s/Evolution_Session/GNOME_Evolution_Session/g; s/GNOME_Evolution_Session_save_configuration/GNOME_Evolution_Session_saveConfiguration/g; s/GNOME_Evolution_Session_load_configuration/GNOME_Evolution_Session_loadConfiguration/g; s/Evolution_Calendar_Cal/GNOME_Evolution_Calendar_Cal/g; s/GNOME_Evolution_Calendar_Cal_get_n_objects/GNOME_Evolution_Calendar_Cal_countObjects/g; s/GNOME_Evolution_Calendar_Cal_get_object/GNOME_Evolution_Calendar_Cal_getObject/g; s/GNOME_Evolution_Calendar_Cal_get_uids/GNOME_Evolution_Calendar_Cal_getUIds/g; s/GNOME_Evolution_Calendar_Cal_get_changed_uids/GNOME_Evolution_Calendar_Cal_getChangedUIds/g; s/GNOME_Evolution_Calendar_Cal_get_objects_in_range/GNOME_Evolution_Calendar_Cal_getObjectsInRange/g; s/GNOME_Evolution_Calendar_Cal_get_alarms_in_range/GNOME_Evolution_Calendar_Cal_getAlarmsInRange/g; s/GNOME_Evolution_Calendar_Cal_get_alarms_for_object/GNOME_Evolution_Calendar_Cal_getAlarmsForObject/g; s/GNOME_Evolution_Calendar_Cal_update_object/GNOME_Evolution_Calendar_Cal_updateObject/g; s/GNOME_Evolution_Calendar_Cal_remove_object/GNOME_Evolution_Calendar_Cal_removeObject/g; s/Evolution_Calendar_Listener/GNOME_Evolution_Calendar_Listener/g; s/GNOME_Evolution_Calendar_Listener_cal_loaded/GNOME_Evolution_Calendar_Listener_notifyCalLoaded/g; s/GNOME_Evolution_Calendar_Listener_obj_updated/GNOME_Evolution_Calendar_Listener_notifyObjUpdated/g; s/GNOME_Evolution_Calendar_Listener_obj_removed/GNOME_Evolution_Calendar_Listener_notifyObjRemoved/g; s/Evolution_Calendar_CalFactory/GNOME_Evolution_Calendar_CalFactory/g; s/GNOME_Evolution_Calendar_CalFactory_load/GNOME_Evolution_Calendar_CalFactory_load/g; s/GNOME_Evolution_Calendar_CalFactory_create/GNOME_Evolution_Calendar_CalFactory_create/g; s/Evolution_Composer/GNOME_Evolution_Composer/g; s/GNOME_Evolution_Composer_set_headers/GNOME_Evolution_Composer_setHeaders/g; s/GNOME_Evolution_Composer_set_body_text/GNOME_Evolution_Composer_setBodyText/g; s/GNOME_Evolution_Composer_attach_MIME/GNOME_Evolution_Composer_attachMIME/g; s/GNOME_Evolution_Composer_attach_data/GNOME_Evolution_Composer_attachData/g; s/GNOME_Evolution_Composer_show/GNOME_Evolution_Composer_show/g; s/Evolution_Addressbook_SelectNames/GNOME_Evolution_Addressbook_SelectNames/g; s/GNOME_Evolution_Addressbook_SelectNames_add_section/GNOME_Evolution_Addressbook_SelectNames_addSection/g; s/GNOME_Evolution_Addressbook_SelectNames_get_entry_for_section/GNOME_Evolution_Addressbook_SelectNames_getEntryBySection/g; s/GNOME_Evolution_Addressbook_SelectNames_activate_dialog/GNOME_Evolution_Addressbook_SelectNames_activateDialog/g; s/Evolution_CardCursor/GNOME_Evolution_Addressbook_CardCursor/g; s/GNOME_Evolution_Addressbook_CardCursor_get_length/GNOME_Evolution_Addressbook_CardCursor_getLength/g; s/GNOME_Evolution_Addressbook_CardCursor_get_nth/GNOME_Evolution_Addressbook_CardCursor_getNth/g; s/Evolution_BookViewListener/GNOME_Evolution_Addressbook_BookViewListener/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_card_added/GNOME_Evolution_Addressbook_BookViewListener_notifyCardAdded/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_card_removed/GNOME_Evolution_Addressbook_BookViewListener_notifyCardRemoved/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_card_changed/GNOME_Evolution_Addressbook_BookViewListener_notifyCardChanged/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_sequence_complete/GNOME_Evolution_Addressbook_BookViewListener_notifySequenceComplete/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_status_message/GNOME_Evolution_Addressbook_BookViewListener_notifyStatusMessage/g; s/Evolution_BookView/GNOME_Evolution_Addressbook_BookView/g; s/Evolution_Book/GNOME_Evolution_Addressbook_Book/g; s/GNOME_Evolution_Addressbook_Book_get_vcard/GNOME_Evolution_Addressbook_Book_getVCard/g; s/GNOME_Evolution_Addressbook_Book_can_write/GNOME_Evolution_Addressbook_Book_isWriteable/g; s/GNOME_Evolution_Addressbook_Book_can_write_card/GNOME_Evolution_Addressbook_Book_isCardWriteable/g; s/GNOME_Evolution_Addressbook_Book_create_card/GNOME_Evolution_Addressbook_Book_addCard/g; s/GNOME_Evolution_Addressbook_Book_remove_card/GNOME_Evolution_Addressbook_Book_removeCard/g; s/GNOME_Evolution_Addressbook_Book_modify_card/GNOME_Evolution_Addressbook_Book_modifyCard/g; s/GNOME_Evolution_Addressbook_Book_get_cursor/GNOME_Evolution_Addressbook_Book_getCursor/g; s/GNOME_Evolution_Addressbook_Book_get_book_view/GNOME_Evolution_Addressbook_Book_getBookView/g; s/GNOME_Evolution_Addressbook_Book_get_changes/GNOME_Evolution_Addressbook_Book_getChanges/g; s/GNOME_Evolution_Addressbook_Book_check_connection/GNOME_Evolution_Addressbook_Book_checkConnection/g; s/GNOME_Evolution_Addressbook_Book_get_static_capabilities/GNOME_Evolution_Addressbook_Book_getStaticCapabilities/g; s/GNOME_Evolution_Addressbook_Book_get_name/GNOME_Evolution_Addressbook_Book_getName/g; s/Evolution_BookListener/GNOME_Evolution_Addressbook_BookListener/g; s/GNOME_Evolution_Addressbook_BookListener_respond_create_card/GNOME_Evolution_Addressbook_BookListener_notifyCardCreated/g; s/GNOME_Evolution_Addressbook_BookListener_respond_remove_card/GNOME_Evolution_Addressbook_BookListener_notifyCardRemoved/g; s/GNOME_Evolution_Addressbook_BookListener_respond_modify_card/GNOME_Evolution_Addressbook_BookListener_notifyCardModified/g; s/GNOME_Evolution_Addressbook_BookListener_report_open_book_progress/GNOME_Evolution_Addressbook_BookListener_notifyOpenBookProgress/g; s/GNOME_Evolution_Addressbook_BookListener_respond_open_book/GNOME_Evolution_Addressbook_BookListener_notifyBookOpened/g; s/GNOME_Evolution_Addressbook_BookListener_respond_get_cursor/GNOME_Evolution_Addressbook_BookListener_notifyCursorRequested/g; s/GNOME_Evolution_Addressbook_BookListener_respond_get_view/GNOME_Evolution_Addressbook_BookListener_notifyViewRequested/g; s/GNOME_Evolution_Addressbook_BookListener_respond_get_changes/GNOME_Evolution_Addressbook_BookListener_notifyChangesRequested/g; s/GNOME_Evolution_Addressbook_BookListener_report_connection_status/GNOME_Evolution_Addressbook_BookListener_notifyConnectionStatus/g; s/Evolution_BookFactory/GNOME_Evolution_Addressbook_BookFactory/g; s/GNOME_Evolution_Addressbook_BookFactory_open_book/GNOME_Evolution_Addressbook_BookFactory_openBook/g; s/Evolution_SummaryComponent/GNOME_Evolution_Summary_Component/g; s/GNOME_Evolution_Summary_SummaryComponent_set_owner/GNOME_Evolution_Summary_Component_setOwner/g; s/GNOME_Evolution_Summary_SummaryComponent_unset_owner/GNOME_Evolution_Summary_Component_unsetOwner/g; s/GNOME_Evolution_Summary_SummaryComponent_create_view/GNOME_Evolution_Summary_Component_createView/g; s/GNOME_Evolution_Summary_SummaryComponent_destroy_view/GNOME_Evolution_Summary_Component_destroyView/g; s/Evolution_Summary([ \t])/GNOME_Evolution_Summary_ViewFrame$1/g; s/Evolution_Summary_set_title/GNOME_Evolution_Summary_ViewFrame_setTitle/g; s/Evolution_Summary_set_icon/GNOME_Evolution_Summary_ViewFrame_setIcon/g; s/Evolution_Summary_update_component/GNOME_Evolution_Summary_ViewFrame_updateComponent/g; s/GNOME_GNOME/GNOME/g; s/GNOME_GNOME/GNOME/g; s/GNOME_GNOME/GNOME/g; svn path=/trunk/; revision=6535
* set the HTML charset to utf-8 for all the html message parts.Larry Ewing2000-11-112-10/+26
| | | | | | | | | | | 2000-11-10 Larry Ewing <lewing@helixcode.com> * e-msg-composer.c (build_message): set the HTML charset to utf-8 for all the html message parts. (build_message): make sure we set the proper encoding on the html part now that it may contain utf-8 characters svn path=/trunk/; revision=6534
* Inc the iterator before finding the next changed item.JP Rosevear2000-11-113-2/+11
| | | | | | | | | | | 2000-11-10 JP Rosevear <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c (for_each_modified): Inc the iterator before finding the next changed item. * conduits/todo/todo-conduit.c (for_each_modified): ditto svn path=/trunk/; revision=6533
* Made the underline show up properly in the main menu bar.Christopher James Lahey2000-11-113-6/+51
| | | | | | | | | 2000-11-10 Christopher James Lahey <clahey@helixcode.com> * e-search-bar.c: Made the underline show up properly in the main menu bar. svn path=/trunk/; revision=6532
* Updated Norwegian translation.Kjartan Maraas2000-11-103-756/+1246
| | | | | | | | 2000-11-10 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian translation. svn path=/trunk/; revision=6531
* Switched from using gtk_menu_item_new_with_label for the menu header toChristopher James Lahey2000-11-103-2/+7
| | | | | | | | | 2000-11-10 Christopher James Lahey <clahey@helixcode.com> * e-search-bar.c: Switched from using gtk_menu_item_new_with_label for the menu header to using gnome_stock_menu_item. svn path=/trunk/; revision=6530
* Require gal 0.2.99.1.Christopher James Lahey2000-11-106-11/+43
| | | | | | | | | | | | | | | | | | | | 2000-11-09 Christopher James Lahey <clahey@helixcode.com> * configure.in: Require gal 0.2.99.1. From addressbook/ChangeLog: 2000-11-09 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-backend-ldap.c: Fixed a warning. * gui/component/addressbook.c: Put in gal view menus for testing purposes. * printing/e-contact-print-envelope.c: Fixed up envelope printing a bit. Added code for printing return addresses. svn path=/trunk/; revision=6529
* Changed the gal version number and the gal so number. Added check forChristopher James Lahey2000-11-103-2/+236
| | | | | | | | | | | | | | | | | | | | | | 2000-11-09 Christopher James Lahey <clahey@helixcode.com> * configure.in: Changed the gal version number and the gal so number. Added check for bonobo. * gal/Makefile.am: Added gal-view-menus.lo. * gal/widgets/e-unicode.c: Removed some unused variables. From gal/menus/ChangeLog: 2000-11-09 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added gal-view-menus.c and gal-view-menus.h. * gal-view-menus.c, gal-view-menus.h: New files to create the view menus. svn path=/trunk/; revision=6528
* I wrote the code so that recipients of meeting requests can replyJesse Pavel2000-11-102-8/+185
| | | | | | | * gui/e-itip-control.c: I wrote the code so that recipients of meeting requests can reply appropriately. svn path=/trunk/; revision=6527
* fixed a bug that would make the calendar segfault if the meeting editorJesse Pavel2000-11-102-6/+14
| | | | | | | | * gui/e-meeting-edit.c: fixed a bug that would make the calendar segfault if the meeting editor were called up twice without first saving the component. svn path=/trunk/; revision=6526
* Added (and cleaned up) keyboard shortcuts. Added keyboard shortcuts.Anna Marie Dirks2000-11-103-9/+36
| | | | | | | | 2000-11-09 Anna Marie Dirks <anna@helixcode.com> * evolution-calendar.xml: Added (and cleaned up) keyboard shortcuts. * evolution-addressbook.xml: Added keyboard shortcuts. svn path=/trunk/; revision=6525
* Add changed_hash, change list and complete boolJP Rosevear2000-11-108-93/+335
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-09 JP Rosevear <jpr@helixcode.com> * conduit/address-conduit.h: Add changed_hash, change list and complete bool * conduit/address-conduit.c (local_record_from_ecard): Add empty field checks (card_added): callback for book view (card_changed): ditto (card_removed): ditto (sequence_complete): ditto (view_cb): callback for the get changes call (pre_sync): force synchronous loading of book view (for_each): we already have the card so create the local record directly (for_each_modified): Uncomment and fix (delete_record): ditto * conduit/Makefile.am: link against gal for ebook - needs fixing * backend/ebook/e-book.c (e_book_do_response_get_changes): Properly respond to a get_changes call (e_book_check_listener_queue): define the get changes response operation * backend/ebook/e-book-listener.c (e_book_listener_queue_get_changes_response): Queue up a get changes response (impl_BookListener_respond_get_changes): Implement the get_changes method (e_book_listener_get_epv): add get_changes implementation to epv * backend/pas/pas-backend-file.c (pas_backend_file_book_view_copy): Only copy the search_context and change_context elements if they actually exist (pas_backend_file_changes): Hard code a path for now, only notify if there is something to notify about svn path=/trunk/; revision=6524
* New glade file for possibly using to create the subscribe dialog.Jeffrey Stedfast2000-11-103-0/+316
| | | | | | | | | 2000-11-09 Jeffrey Stedfast <fejj@helixcode.com> * subscribe-dialog.glade[.h]: New glade file for possibly using to create the subscribe dialog. svn path=/trunk/; revision=6523
* Fixed two spacing problems: first, changed the spacing around the end ofAnna Marie Dirks2000-11-103-4/+15
| | | | | | | | | | 2000-11-08 Anna Marie Dirks <anna@helixcode.com> * e-search-bar.c: Fixed two spacing problems: first, changed the spacing around the end of the text-entry widget so that the text entry is always aligned with the beginning of the scrollbar; second, trimmed down the space between the widgets in the search bar. svn path=/trunk/; revision=6522
* oops thats func not *funcJP Rosevear2000-11-103-4/+9
| | | | | | | | | | 2000-11-09 JP Rosevear <jpr@helixcode.com> * e-dbhash.h: oops thats func not *func * e-dbhash.c (e_dbhash_foreach_key): Memset the data DBT to 0 svn path=/trunk/; revision=6521
* Fix error handling. (Only send a "*" to bail out of authentication if theDan Winship2000-11-102-9/+19
| | | | | | | | * providers/imap/camel-imap-auth.c (imap_try_kerberos_v4_auth): Fix error handling. (Only send a "*" to bail out of authentication if the server hasn't already bailed on us.) svn path=/trunk/; revision=6520
* Make the panes of the EPaned not shrinkable beyond their minimum size.Christopher James Lahey2000-11-092-4/+9
| | | | | | | | | 2000-11-09 Christopher James Lahey <clahey@helixcode.com> * e-shell-view.c: Make the panes of the EPaned not shrinkable beyond their minimum size. svn path=/trunk/; revision=6519
* updated the GUI to allow the user to add PUBLISHed events to his calendar,Jesse Pavel2000-11-093-27/+125
| | | | | | | | * gui/e-itip-control.c, gui/e-itip-control.glade: updated the GUI to allow the user to add PUBLISHed events to his calendar, and created unworking buttons for meeting requests. svn path=/trunk/; revision=6518
* These changes fix bugzilla bugs #874 and #875.Federico Mena Quintero2000-11-099-135/+263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-08 Federico Mena Quintero <federico@helixcode.com> These changes fix bugzilla bugs #874 and #875. * cal-util/cal-component.c (cal_component_get_exdate_list): Return a list of CalComponentDateTime instead of simple struct icaltimetype objects. Exception date properties *can* contain a timezone parameter, so we need to include those if they are present. (cal_component_set_exdate_list): On the input, handle a list of CalComponentDateTime structures. On the internals, handle a list of struct datetime instead of plain properties. (cal_component_free_exdate_list): Handle a list of CalComponentDateTime structures. (scan_exdate): Create a list of struct datetime structures. (free_icalcomponent): Free the exdate_list properly. * cal-util/cal-recur.c (generate_instances_for_chunk): Use the proper types for exception dates. * gui/comp-util.h: * gui/comp-util.c: New files with utilities for manipulating calendar component objects. (cal_comp_util_add_exdate): New function. * gui/Makefile.am (evolution_calendar_SOURCES): Added comp-util.[ch] to the list of sources. * gui/e-day-view.c (add_exdate): New convenience function to add an exception date to a calendar component. (e_day_view_on_unrecur_appointment): Use cal_comp_util_add_exdate(). (e_day_view_on_delete_occurrence): Likewise. * gui/e-week-view.c (e_week_view_on_delete_occurrence): Likewise. (e_week_view_on_unrecur_appointment): Likewise. * gui/event-editor.c (nth_weekday): Be paranoid about valid position values. (fill_widgets): Use the proper types for exdates. (dialog_to_comp_object): Likewise. svn path=/trunk/; revision=6517
* Added keyboard shortcuts to all shell menus. Added keyboard shortcuts toAnna Marie Dirks2000-11-093-46/+90
| | | | | | | | 2000-11-08 Anna Marie Dirks <anna@helixcode.com> * evolution.xml: Added keyboard shortcuts to all shell menus. * evolution-mail.xml: Added keyboard shortcuts to all shell menus. svn path=/trunk/; revision=6516
* UpdatedSzabolcs Ban2000-11-091-119/+86
| | | | svn path=/trunk/; revision=6515
* Adjust the valid range of the month index spin button depending on theFederico Mena Quintero2000-11-092-0/+76
| | | | | | | | | | 2000-11-08 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (adjust_day_index_spin): Adjust the valid range of the month index spin button depending on the selection of the day/weekday menu. svn path=/trunk/; revision=6514
* Added keyboard bindings to the composer.Anna Marie Dirks2000-11-091-1/+20
| | | | | | | | 2000-11-08 Anna Marie Dirks <anna@helixcode.com> * evolution-message-composer.xml: Added keyboard bindings to the composer. svn path=/trunk/; revision=6513
* Added keyboard shortcuts to all of the composer menus.Anna Marie Dirks2000-11-091-17/+75
| | | | | | | | 2000-11-08 Anna Marie Dirks <anna@helixcode.com> * evolution-message-composer.xml: Added keyboard shortcuts to all of the composer menus. svn path=/trunk/; revision=6512
* likewiseRadek Doulik2000-11-093-7/+14
| | | | | | | | | | | 2000-11-08 Radek Doulik <rodo@helixcode.com> * mail-format.c (mail_generate_reply): likewise * mail-callbacks.c (create_msg_composer): added send_html arg to e_msg_composer_new_with_sig_file call svn path=/trunk/; revision=6511
* (get_signature): added in_html arg, it tells if we should use HTMLRadek Doulik2000-11-093-23/+44
| | | | | | | | | signature (set_editor_text): try to use HTML signature (e_msg_composer_new_with_sig_file): added send_html arg to be able to use HTML signature svn path=/trunk/; revision=6510
* UpdatedSzabolcs Ban2000-11-091-2164/+3651
| | | | svn path=/trunk/; revision=6509
* Updated russian translation.Valek Frob2000-11-082-484/+505
| | | | svn path=/trunk/; revision=6508
* new function (destroy): use e_msg_composer_clear_inlined_table, destroyRadek Doulik2000-11-088-87/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-08 Radek Doulik <rodo@helixcode.com> * e-msg-composer.c (e_msg_composer_clear_inlined_table): new function (destroy): use e_msg_composer_clear_inlined_table, destroy inlined_images hash table * listener.c (resolve_image_url): don't add inlined images to attachement bar * e-msg-composer.c (add_inlined_images): new function, adds inlined images to multipart (add_inlined_image): helper function, adds one image to multipart (build_message): store HTML messages with inlined images to multipart/related * e-msg-composer-attachment-bar.c (add_from_file): removed content_id arg (e_msg_composer_attachment_bar_attach): likewise * e-msg-composer-attachment.c (e_msg_composer_attachment_new): removed content_id arg svn path=/trunk/; revision=6507
* new function, moved from composerRadek Doulik2000-11-083-0/+29
| | | | | | | | | 2000-11-08 Radek Doulik <rodo@helixcode.com> * camel-mime-utils.c (mime_guess_type_from_file_name): new function, moved from composer svn path=/trunk/; revision=6506
* Updated Spanish translationHector Garcia2000-11-082-633/+1767
| | | | svn path=/trunk/; revision=6505
* Automatically updating some pt_BR and Spanish translatios (sendpos.sh script)Jorge Godoy2000-11-081-737/+866
| | | | | | | | any problem: ricardo@conectiva.com.br thanks. svn path=/trunk/; revision=6504
* Updated Japanese translation.Akira Tagoh2000-11-081-24/+35
| | | | | | * ja.po: Updated Japanese translation. svn path=/trunk/; revision=6503
* Updated Japanese translation.Akira Tagoh2000-11-081-7/+7
| | | | | | * Updated Japanese translation. svn path=/trunk/; revision=6502
* Updated Japanese translation.Akira Tagoh2000-11-082-1226/+2453
| | | | | | * ja.po: Updated Japanese translation. svn path=/trunk/; revision=6501
* Keep track of the caller bestenc flags that make sense.Not Zed2000-11-087-137/+237
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-08 Not Zed <NotZed@HelixCode.com> * camel-mime-message.c (find_best_encoding): Keep track of the caller bestenc flags that make sense. * camel-mime-filter-bestenc.c (filter): Added code to detect when we have "^From " lines in the sequence of text. (camel_mime_filter_bestenc_get_best_encoding): Added a new flag CAMEL_BESTENC_NO_FROM: if set, it will not allow any lines matching "^From " to appear in the output - currently forcing base64 encoding to achieve this. * camel-mime-parser.c (folder_scan_step): Call camel_mime-filter_complete() once we're done, rather than filter_filter(). (folder_scan_content): Some fixes for state changing; so that when we do find another boundary it is properly flagged. Since we strip the last \n off all data, we must take that into account too. Sigh. Fixes a rather nasty set of bugs where multipart messages could start including following messages as parts, etc. (struct _header_scan_stack): Added new parameter, boundarylenfinal, which holds the length of the final boundary, if it is different (e.g. for From lines, whihc aren't) (folder_scan_step): Setup teh boundarylenfinal value when creating a new boundary. (folder_scan_content): Hmm, if we hit the end-of-buffer sentinal, reset the scanner back to leave 'atleast' chars in the buffer still, dump that content, and retry again. Stops us losing a check for a boundary on some data we haven't really looked at yet! (folder_scan_content): Use boundarylenfinal to calculate 'atleast'. (folder_scan_header): And here too. (folder_boundary_check): Use the atleast value directly, dont truncate it. Use the boundarylen/boundarylenfinal values directly too. (struct _header_scan_stack): Add an atleast parameter to cache the atleast info. (folder_push_part): Determine/set 'atleast', every time we add a new part. (folder_scan_header): Get the cached atleast info from the current part. (folder_scan_content): And here too. (folder_scan_header): Fix a problem where a part starting with " text" would be interpreted as a followon header wrongly. * camel-mime-filter-charset.c (complete): Add some assertions to find a bug. svn path=/trunk/; revision=6500
* Fix typo in a comment.Matt Bissiri2000-11-082-1/+5
| | | | | | | | 2000-11-08 Matt Bissiri <bissiri@eecs.umich.edu> * e-shell-folder-selection-dialog.c: Fix typo in a comment. svn path=/trunk/; revision=6499
* Added decomposing case insensitive utf-8 strstrLauris Kaplinski2000-11-082-4/+1493
| | | | svn path=/trunk/; revision=6498
* Allow rule part to expand when the user resizes the dialog.Jeffrey Stedfast2000-11-082-38/+46
| | | | | | | | | 2000-11-07 Jeffrey Stedfast <fejj@helixcode.com> * mail-search-dialogue.c (mail_search_dialogue_construct): Allow rule part to expand when the user resizes the dialog. svn path=/trunk/; revision=6497
* Don't handle custom searching anymore... we don't want this.Jeffrey Stedfast2000-11-082-5/+1
| | | | | | | | | | | | | 2000-11-07 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser.c (search_save): Don't handle custom searching anymore... we don't want this. (search_full): Same. (folder_browser_search_menu_activated): Set the search entry widget sensitive. (folder_browser_search_query_changed): Same. svn path=/trunk/; revision=6496
* *gui/e-itip-control.c, gui/e-itip-control.glade: changed the GUI,Jesse Pavel2000-11-083-108/+143
| | | | | | and added some extra feedback for the user. svn path=/trunk/; revision=6495
* Don't handle custom searching anymore... we don't want this.Jeffrey Stedfast2000-11-082-27/+18
| | | | | | | | | | | | | | | | 2000-11-07 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser.c (search_save): Don't handle custom searching anymore... we don't want this. (search_full): Same. (folder_browser_search_menu_activated): Set the search entry widget sensitive. (folder_browser_search_query_changed): Same. (search_full_clicked): Set the text of the disabled search entry to the search query string (as search_save depends on this string). Would it be better to save this somewhere else? svn path=/trunk/; revision=6494
* Another schedule change.Jesse Pavel2000-11-081-1/+1
| | | | svn path=/trunk/; revision=6493
* removed ``FIXME'' from the ``Schedule Meeting'' menu.Jesse Pavel2000-11-082-2/+7
| | | | | | | * evolution-event-editor.xml: removed ``FIXME'' from the ``Schedule Meeting'' menu. svn path=/trunk/; revision=6492
* when "Show All", clear the entry widgetJeffrey Stedfast2000-11-081-0/+1
| | | | svn path=/trunk/; revision=6491
* Updated to use the ESearchBar object rather than the previously usedJeffrey Stedfast2000-11-084-277/+263
| | | | | | | | | | | | | | | | | | | | | | | 2000-11-07 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser.c (search_full_clicked): Updated to use the ESearchBar object rather than the previously used search widgets. (search_full): Same. (search_save): Same. Also use enums to make it a little easier to read now that we have to have enums anyway. (folder_browser_search_menu_activated): New ESearchBar menu callback. (folder_browser_search_query_changed): New ESearchBar query callback. Replaces search_set() (folder_browser_clear_search): Updated to use the ESearchBar object rather than the previously used search widgets. (folder_browser_gui_init): Don't hand construct a search widget, use the new ESearchBar convenience widget. * mail-ops.c (cleanup_load_folder): Updated to reflect changes to FolderBrowser. svn path=/trunk/; revision=6490
* Build e-dbhash.[hc]JP Rosevear2000-11-089-65/+390
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-07 JP Rosevear <jpr@helixcode.com> * Makefile.am: Build e-dbhash.[hc] * e-dbhash.[hc]: New routines to manage a db database on disk that contains md5 hashed data and indexed by uids. Provides comparison functions and such so the caller does not have to do the md5 bits. 2000-11-07 JP Rosevear <jpr@helixcode.com> * backend/pas/pas-book.h: Update PASRequest structure * backend/pas/pas-book.c (impl_Evolution_Book_get_changes): update param name (pas_book_queue_get_changes): Use PASRequest change_id slot * backend/pas/pas-backend-file.c (pas_backend_file_book_view_copy): Properly copy change_id and change_context (pas_backend_file_book_view_free): Free change_id/change_context (pas_backend_file_changes_foreach_key): Callback to figure out the deleted cards (pas_backend_file_changes): Use new e-dbhash stuff to implement. Write out updated hash * backend/idl/addressbook.idl: Rename get_changes param svn path=/trunk/; revision=6489
* (on_object_requested): passed the user's default email addressJesse Pavel2000-11-082-1/+11
| | | | | | to the iTip control. svn path=/trunk/; revision=6488
* Added a "changed" signal to notify of changes to the set of selected days.Federico Mena Quintero2000-11-083-1/+33
| | | | | | | | | | | | | 2000-11-07 Federico Mena Quintero <federico@helixcode.com> * gui/weekday-picker.h (WeekdayPickerClass): Added a "changed" signal to notify of changes to the set of selected days. * gui/weekday-picker.c (weekday_picker_class_init): Create the "changed" signal. (weekday_picker_set_days): Emit the "changed" signal. svn path=/trunk/; revision=6487
* modified some of the EPopupMenu structures to account for differences inJesse Pavel2000-11-082-3/+9
| | | | | | | | * mail-display.c: (pixmap_press): modified some of the EPopupMenu structures to account for differences in the popup menu API (as informed by Jeff.) svn path=/trunk/; revision=6486
* Fixed cvs conflicts.Anna Marie Dirks2000-11-081-2/+7
| | | | | | | 2000-11-07 Anna Marie Dirks <anna@helixcode.com> * Fixed cvs conflicts. svn path=/trunk/; revision=6485
* Builddir != srcdir is The Way, man.Ettore Perazzoli2000-11-082-1/+7
| | | | svn path=/trunk/; revision=6484
* Fix the default implementation for CamelService::get_name() so that itEttore Perazzoli2000-11-082-1/+6
| | | | | | | returns a malloced string instead of a static one. (A static one breaks the semantics of the method.) svn path=/trunk/; revision=6483
* Kill debugging, as it causes lots of evolution-mail spewage.Dan Winship2000-11-082-1/+6
| | | | | | | * camel-stream-filter.c (d): Kill debugging, as it causes lots of evolution-mail spewage. svn path=/trunk/; revision=6482
* Pass full_name, not folder_name to callback.Dan Winship2000-11-082-1/+6
| | | | | | | * e-storage-set-view.c (insert_folders): Pass full_name, not folder_name to callback. svn path=/trunk/; revision=6481
* Oops, forgot to commit. New stream/filter for doingMichael Zucci2000-11-074-0/+460
| | | | | | cool stuff. svn path=/trunk/; revision=6480
* ru.po: messages spelledAndrew V. Samoilov2000-11-071-10/+10
| | | | svn path=/trunk/; revision=6479
* Dunno why these files changed, but they have, checking in anyway.Michael Zucci2000-11-072-0/+73
| | | | svn path=/trunk/; revision=6478
* you shouldn't use an integer to set the flag. You should use a string, andNot Zed2000-11-073-19/+33
| | | | | | | | | | | | | | | | | | | | | | | 2000-11-06 Not Zed <NotZed@HelixCode.com> * filter-driver.c (do_flag): you shouldn't use an integer to set the flag. You should use a string, and look it up, because the flag bits might change. (filter_driver_filter_message): Can som e one PLEASE STOP INDENTING THE CODE. Even if i have to come over the and beat it into you. YOU DONT INDENT CODE ONCE ITS BEEN CHECKED IN TO CVS, otherwise you SCREW UP THE DIFF's. Can't you please please learn this? (filter_driver_log): Fixes for api changes to mime_message. 2000-11-05 Not Zed <NotZed@HelixCode.com> * filter-message-search.c (get_sent_date): Fix for date change api. No longer need to encode/decode the date, after its been encoded/ecoded already. (get_received_date): Likewise. svn path=/trunk/; revision=6477
* Changed for message api changes. Use camel_address_unformat to convert theNot Zed2000-11-072-78/+46
| | | | | | | | | | | | | | | | | | | | 2000-11-06 Not Zed <NotZed@HelixCode.com> * e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_message): Changed for message api changes. Use camel_address_unformat to convert the editable->usable. (set_recipients): Same. Now we set the recipients as camel_internet_address's. Fixed a memleak indirectly. (decode_addresses): Removed, no longer needed. (create_dropdown_entry): We dont want to use _encode(), we want to _format, as we are displaying the result. We can use the static function too to avoid the object creation, and the memory leak! (set_entry): Convert the args to gtk-safe characters, since the entry doesn't understand utf8. (set_recipients): And likewise do the reverse when retrieving the contents of the widget. svn path=/trunk/; revision=6476
* God, I sure wish people would listen when i'm saying i'm changing and API.Not Zed2000-11-075-156/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-07 Not Zed <NotZed@HelixCode.com> * mail-display.c (on_object_requested): God, I sure wish people would listen when i'm saying i'm changing and API. I mean I even mailed everyone and everything. Can't see any changelog either. 2000-11-06 Not Zed <NotZed@HelixCode.com> * mail-autofilter.c (rule_from_message): Updates for api changes. * mail-tools.c (mail_tool_generate_forward_subject): Fixed for api changes. Sigh, whoever wrote the multithread code of the mailer, had little idea. You can't just lock for getting a const value, until you are finished with it, cause the owner still owns it. Fixed this too. Yuck, what a horrid forwarding format, can we change this, or make it configurable? The mail headers show who forwarded it, we dont need to duplicate it in that UGLY subject. * mail-format.c (write_field_to_stream): Removed some jeffness. dont g_strdup stuff we dont need to, and remove the value_is_encoded thing since we can get the unencoded address now. (write_address): New function to write an address field. (write_headers): Uses write_address to write addresses, cleaner, fixed the god-awful unreadable indenting too. (handle_text_plain): Use a 'smarter' printf format, so we dont need to allocate and copy substrings unecessarily (esp since they're about to be allocated any copied another few times anyway *sigh*). (write_field_to_stream): Commented out the isprint check, which afaik serves no purpose. (list_add_addresses): New function to build a list of display-ready addresses. Although I think the composer then uses these as internet-ready addresses. It should probably take a list of CamelAddress's if thats what it wants. (mail_generate_reply): Cleaned up the address list creation stuff a heap, and fixes for camel api changes. Also fixed a small memory leak as a side effect (fulladdr wasn't freed if it was the same as the sender). * mail-display.c (on_object_requested): Changed for interface changes to the from address. I think passing the encoded (internet version) of the address is right here. svn path=/trunk/; revision=6475
* Implement a complete() function, now we need one. (filter): Upgraded toNot Zed2000-11-0720-543/+1703
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-07 Not Zed <NotZed@HelixCode.com> * camel-mime-filter-bestenc.c (complete): Implement a complete() function, now we need one. (filter): Upgraded to match rfrc2045 properly. Checks also for length of line and valid CRLF sequences. (camel_mime_filter_bestenc_get_best_encoding): Do the work of working out what is the best encoding given what we found about the stream. * camel-mime-part.c (camel_mime_part_encoding_to_string): Use a lookup table to get the encoding naem, and add the binary type. (camel_mime_part_encoding_from_string): Likewise for the reverse. * camel-mime-part.h: Added the binary encoding type, see rfc2045. * camel-mime-utils.c (header_param_list_format_append): Dont put a space before ;'s in parameter lists, makes them more readable/consistent. * camel-mime-message.c (multipart_has_8bit_parts): Cleaned up the old stuff, well removed it. (camel_mime_message_set_best_encoding): Added another argument that lets you select what you want to set the best of. i.e. for smtp transport we only need 7 bit, and dont need to optimise the charset (although of course, we should always). (find_best_encoding): Implement this feature, if we are not getting the best charset, use the one we have. (best_encoding): Set the charset on the part appropriately. Sigh, the interfaces for this are nonexistant. (find_best_encoding): Tell the bestenc filter that lf should be treated as crlf for the purposes of determining encodings. 2000-11-06 Not Zed <NotZed@HelixCode.com> * camel-charset-map.c (camel_charset_init): Init function for an iterative charset determinator. (camel_charset_step): Iterate another buffer. (camel_charset_mask): Removed, since it couldn't have worked. (camel_charset_best): Use the iterative interface to do the work. (camel_charset_best_name): Get the best name for a charset so far. * camel-mime-filter-bestenc.c: New class, a stream filter that can be used to memory-efficiently determine the best encoding and/or charset to use for a given stream of bytes. * Makefile.am (libcamelinclude_HEADERS): Added stream-null*. (libcamel_la_SOURCES): Added bestenc* * camel-stream-null.c: New class, a null-stream, that always succeeds, and never has any contents. * camel-stream.c: Minor pointless changes. Was going to do something else but changed my mind. Added trivial default implementations for all callbacks. * camel-mime-message.h: Cleaned up some old cruft. * camel-folder-summary.c (camel_folder_summary_format_address): address_list_format() no longer encodes, so we dont need to decode it. * camel-address.c (camel_address_unformat): New function, attempts to reverse the formatting process on display addresses. (camel_address_length): New function to get the number of addresses, without having to peek the structure. * camel-mime-message.c (camel_mime_message_set_from): Fix a typo. (camel_mime_message_finalize): Only unref from/reply_to if we have it. (camel_mime_message_set_recipients): New function - set the recipients as a CamelInternetAddress. This function effectively deprecates the older recipient setting functions. (camel_mime_message_add_recipient): What the hell, i'll bite the bullet. Terminate this function. The old api was ambiguious and inefficient and didn't work right anyway. (camel_mime_message_remove_recipient_address): And this one. (camel_mime_message_remove_recipient_name): And this one too. (camel_mime_message_set_recipients): If we set an empty header, then remove it from the header list. Allow a null receipient object to clear a header. (camel_mime_message_set_from): Likewise, if setting an empty from address. (camel_mime_message_encode_8bit_parts): Eeek!! camel_stream_mem_new_with_byte_array owns the byte_array we give it, so make sure we dont free any of it! (camel_mime_message_encode_8bit_parts): Infact, i'll just rewrite the whole lot, its a bit of a mess. Should really rename it and make it a little more useful too, lets see ... (best_encoding): This has a string interface? Oh boy. (camel_mime_message_foreach_part): New experimental function to iterate over all message parts. Might not remain. (camel_mime_message_has_8bit_parts): New implementation using foreach_part. Fixed a couple of problems. (find_best_encoding): New function, that finds the best encoding for a given part (will probably be moved to camel-mime-part), and also the best charset to use if it is a text part. Since one affects the other it is a two pass process, but uses streams and not memory to achieve this. (camel_mime_message_set_best_encoding): Uses the function above to configure an entire message for the best encoding possible given transport constraints. (camel_mime_message_encode_8bit_parts): Reimplemented to use the function above to perform the work. * camel-internet-address.c (camel_internet_address_format_address): Dont put <> around a lone address with no real name. (camel_internet_address_encode_address): Similarly. (internet_decode): Actually return the count of decoded addresses. (internet_unformat): Implement the unformatting routine. 2000-11-05 Not Zed <NotZed@HelixCode.com> * providers/smtp/camel-smtp-transport.c (_send_to): Changed to get the internetaddress directly, rather than having to parse it itself. * camel-address.c (camel_address_format): Added a new function which will format address, suitable for display. (camel_address_cat): Concatentate 1 camel address onto another. It is upto the caller to ensure the addresses are of compatible types. (camel_address_new_clone): New function to create a new address by copying an existing one of the same type. (camel_address_copy): New helper function to copy an address. * camel-mime-message.h (struct _CamelMimeMessage): Removed cached copy of date string. (struct _CamelMimeMessage): Added date_received info. * camel-mime-message.c (camel_mime_message_get_date_string): Removed. Nothing uses it anyway, and it is redundant. (camel_mime_message_finalize): No more date_str. (camel_mime_message_init): No more date_str, initialise date_received* (write_to_stream): Change the check for a date header. (process_header): No longer track the date_str. (camel_mime_message_get_received_date): Removed. totally invalid anyway. (camel_mime_message_get_sent_date): Removed. Redundant. The only 'date' is the sent date, the received date is just made up. (camel_mime_message_get_date): Args changed to be more consistent with utility functions. (camel_mime_message_get_date): Dont set the date when we're asked for it (if its not set by the time its written, it'll be set then). (camel_mime_message_get_date_received): Actually do 'the right thing' here, if we have a received header, use that to determine the received date. And return the data in the same format as get_date. (camel_mime_message_set_from): Changed the api to better match what we should be doing. Pass a camelinternetaddress, etc. (camel_mime_message_set_reply_to): Cahnged similarly to take an internetaddress. (camel_mime_message_get_reply_to): Likewise. (camel_mime_message_finalize): Unref the from/reply_to objects. (format_address): Removed, no longer needed. (process_header): Changed to store the from/reply_to as internetaddress's. (write_to_stream): Set the from header directly to empty, if we dont have one. Maybe we should just abort, and/or create one based on the current user. * camel-mime-utils.c (header_address_list_format): Renamed to header_address_list_encode, which is what it is actually doing. (header_address_list_format_append): Similarly. (encoding_map[]): Removed, no longer used. (header_address_list_encode_append): Take another arg, do we encode the address (for internet), or not (for display - utf8 only). (header_address_list_format): Re-added this function, but now it generates a display version only. Surprise surprise, that is all anythign needs to generate anyway. Sigh. * camel-internet-address.c (camel_internet_address_get): Return false if we get an invalid index only. (camel_internet_address_encode_address): Helper function to encode a single address for mailing. (internet_encode): Use the above function to format it. (camel_internet_address_format_address): Format a single address for display. (internet_format): Implement the display version. (camel_internet_address_class_init): Init the internet_format virtual function. (internet_cat): Implement virtual function to concatenate addresses. * camel-folder-summary.c (camel_folder_summary_info_new_from_header): new function, only build the summary info, dont add it. (camel_folder_summary_info_new_from_parser): Likewise, for new info from parser. (camel_folder_summary_add_from_parser): Cahnged to call function above to build info. (camel_folder_summary_add_from_header): Changed to call function above, to build info. (camel_folder_summary_info_free): New function to free the summary message info. (camel_folder_summary_clear): Changed to clal above to free info. (camel_folder_summary_remove): Likewise. (camel_folder_summary_add): Cleaned up the clashing uid re-assignment logic a little bit. (camel_folder_summary_decode_uint32): Fixed a typo, 01 != -1. (camel_folder_summary_decode_time_t): Return -1 on error. (camel_folder_summary_encode_off_t): New function to encode an off_t type. (camel_folder_summary_decode_off_t): And likewise for the reverse. (CAMEL_FOLDER_SUMMARY_VERSION): Bumped the summary version, since we're now encoding time/off_t's right. (summary_header_save): Use time_t encoder to save the timestamp. (summary_header_load): Likewise for decoding the timestamp. (content_info_load): Decode off_t types directly, now we can. (content_info_save): And likewise for encoding. (camel_folder_summary_add_from_message): New function, create a summary item from an existing message and add it. (camel_folder_summary_info_new_from_message): New function, create a summary item from an existing message. (summary_build_content_info_message): New function to do the dirty work of building the conent info/indexing, from a message source. (format_recipients): Format an internetaddress suitable for the summary. (message_info_new_from_message): Build a new summary item from a mime message. (content_info_new_from_message): Build a new conent info from a mime part. (camel_folder_summary_class_init): Init the new class functions. (message_info_new_from_message): Fixed for message api change. Added documentation to the functions. svn path=/trunk/; revision=6474
* looks like I missed this the last time.Larry Ewing2000-11-071-0/+8
| | | | | | --Larry svn path=/trunk/; revision=6473
* Two segfault fixesPeter Williams2000-11-074-3/+13
| | | | svn path=/trunk/; revision=6472
* Updated Message menu.Jeffrey Stedfast2000-11-071-13/+17
| | | | | | | | 2000-11-06 Jeffrey Stedfast <fejj@helixcode.com> * evolution-mail.xml: Updated Message menu. svn path=/trunk/; revision=6471
* Fixed a couple of warnings.Ettore Perazzoli2000-11-072-5/+11
| | | | svn path=/trunk/; revision=6470
* gal/widgets/e-unicode.h: END_GNOME_DECLS, not BEGINJulian Missig2000-11-071-1/+1
| | | | svn path=/trunk/; revision=6469
* Updated Swedish translation.Christian Rose2000-11-072-257/+298
| | | | svn path=/trunk/; revision=6468
* Changed this to match the new EPopupMenu structre.Christopher James Lahey2000-11-071-16/+16
| | | | | | | | | 2000-11-06 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Changed this to match the new EPopupMenu structre. svn path=/trunk/; revision=6467
* Updated Spanish translationHector Garcia2000-11-072-1330/+1285
| | | | svn path=/trunk/; revision=6466
* Require gal 0.2.1.3Jeffrey Stedfast2000-11-072-3/+7
| | | | | | | | 2000-11-06 Jeffrey Stedfast <fejj@helixcode.com> * configure.in: Require gal 0.2.1.3 svn path=/trunk/; revision=6465
* Move filter stuff into a submenu of the popup menu.Jeffrey Stedfast2000-11-072-38/+47
| | | | | | | | | 2000-11-06 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser.c (on_right_click): Move filter stuff into a submenu of the popup menu. svn path=/trunk/; revision=6464
* *gui/e-itip-control.c, gui/e-itip-control.glade: changed to GUI toJesse Pavel2000-11-075-57/+256
| | | | | | | | | | accomodate dynamically generated buttons, which will be tailored to the type of iTip message that is incoming. *gui/e-meeting-dialog.glade gui/e-meeting-edit.c: added a new button to publish events, in addition to requesting meetings. svn path=/trunk/; revision=6463
* used Camel to parse the full address before passing the email address toJesse Pavel2000-11-072-1/+18
| | | | | | | * mail-display.c: used Camel to parse the full address before passing the email address to my iTip control. svn path=/trunk/; revision=6462
* Add a submenu field to struct EPopupMenu.Jeffrey Stedfast2000-11-072-34/+46
| | | | | | | | | | | | | | | 2000-11-06 Jeffrey Stedfast <fejj@helixcode.com> * gal/widgets/e-popup-menu.h: Add a submenu field to struct EPopupMenu. * gal/widgets/e-popup-menu.c (e_popup_menu_create): If the menu item has a submenu field, create the submenu and attach it. * configure.in: Bumped the micro-version because of some changes to e-popup-menu's structure. svn path=/trunk/; revision=6461
* Remove mail-local-storage.cDan Winship2000-11-072-1/+4
| | | | | | * POTFILES.in: Remove mail-local-storage.c svn path=/trunk/; revision=6460
* Remove mail-local-storage.h includeDan Winship2000-11-072-2/+2
| | | | | | * mail-summary.c: Remove mail-local-storage.h include svn path=/trunk/; revision=6459
* Make the shell pop-up a warning dialog per component when a componentEttore Perazzoli2000-11-074-5/+81
| | | | | | crashes, instead of a warning dialog for each of the crashed views. svn path=/trunk/; revision=6458
* Fixed the argument comment. Removed an old enum that's not used here.Christopher James Lahey2000-11-073-18/+13
| | | | | | | | | 2000-11-06 Christopher James Lahey <clahey@helixcode.com> * e-search-bar.h: Fixed the argument comment. Removed an old enum that's not used here. svn path=/trunk/; revision=6457
* First draft of folder tree unread message indication for /localDan Winship2000-11-078-378/+491
| | | | | | | | | | | | | | | | | | | | | | | | | | | mail folders. * mail-local.c: Add a new CamelStore subclass, MailLocalStore, which attaches to an Evolution_LocalStorage on one side and CamelSession on the other, and keeps track of local folders. Some of this code was previously in mail-local-storage.c, which no longer exists. (local_reconfigure_folder, etc): Various mail_op-related cleanups, and wrap d() around a bunch of printfs. * mail-tools.c (mail_tool_get_local_inbox_url, mail_tool_get_local_movemail_url): Removed (mail_tool_get_local_inbox): Simplified. (mail_tool_do_movemail): Remove unused dest_url variable. (mail_tool_uri_to_folder): Simplify. Now down to two cases (vfolder, and everything else). * component-factory.c (owner_set_cb): Pass evolution_dir to mail_local_storage_startup. * Makefile.am (evolution_mail_SOURCES): Remove mail-local-storage.[ch] svn path=/trunk/; revision=6456
* Switched from EAddressbookSearch to ESearchBar.Christopher James Lahey2000-11-076-445/+66
| | | | | | | | | | | | | | | | 2000-11-06 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Switched from EAddressbookSearch to ESearchBar. * gui/widgets/Makefile.am, gui/widgets/e-addressbook-search.c, gui/widgets/e-addressbook-search.h: Removed EAddressbookSearch. This has been moved to filter/ and renamed ESearchBar. * printing/e-contact-print-envelope.c: Forgot to set the font. This works for me now. svn path=/trunk/; revision=6455
* Added e-search-bar.c and e-search-bar.h.Christopher James Lahey2000-11-076-0/+777
| | | | | | | | | | | 2000-11-06 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-search-bar.c and e-search-bar.h. * e-search-bar.c, e-search-bar.h: Moved this from e-addressbook-search. svn path=/trunk/; revision=6454
* Fix the addressbook crash that happened when the ESelectNames controlEttore Perazzoli2000-11-072-1/+7
| | | | | | was getting destroyed. svn path=/trunk/; revision=6453
* Applied build patch from Mathieu Lacage.Hans Petter2000-11-071-0/+2
| | | | svn path=/trunk/; revision=6427
* ${prefix} doesn't get defaulted until the end of configure, so check ifDan Winship2000-11-072-3/+14
| | | | | | | | * configure.in (GTKHTML_LIBS): ${prefix} doesn't get defaulted until the end of configure, so check if it's "NONE" and use ${ac_default_prefix} if so. svn path=/trunk/; revision=6426
* Fixed a missing `CORBA_Object_duplicate()' problem. This should fixEttore Perazzoli2000-11-072-1/+6
| | | | | | the crashes of the components on exit. svn path=/trunk/; revision=6425
* Added #include <config.h>Kjartan Maraas2000-11-072-0/+8
| | | | | | | | 2000-11-06 Kjartan Maraas <kmaraas@gnome.org> * e-setup.c: Added #include <config.h> svn path=/trunk/; revision=6424
* set the content type on the plain part of outgoing messages.Larry Ewing2000-11-071-6/+36
| | | | | | | | | | | | 2000-11-06 Larry Ewing <lewing@helixcode.com> * e-msg-composer.c (build_message): set the content type on the plain part of outgoing messages. (best_content): a helper function to get the best content type for the attachment. This should probably use the helper functions in the future. svn path=/trunk/; revision=6423
* Fix up #include <config.h> Same here. Here too. Fix indentation of #ifdefKjartan Maraas2000-11-076-5/+15
| | | | | | | | | | | | 2000-11-06 Kjartan Maraas <kmaraas@gnome.org> * mail-autofilter.c: Fix up #include <config.h> * mail-crypto.c: Same here. * mail-search-dialog.c: Here too. * main.c: Fix indentation of #ifdef * message-thread.c: Fix include. svn path=/trunk/; revision=6422
* Don't invert the flag. (undelete_msg): Same (when multiple messages areJeffrey Stedfast2000-11-072-8/+9
| | | | | | | | | 2000-11-06 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (delete_msg): Don't invert the flag. (undelete_msg): Same (when multiple messages are selected). svn path=/trunk/; revision=6421
* Added #include <config.h> s/_HAVE_CONFIG_H/HAVE_CONFIG_H for working i18n.Kjartan Maraas2000-11-073-1/+8
| | | | | | | | | | 2000-11-06 Kjartan Maraas <kmaraas@gnome.org> * e-msg-composer-attachment.c: Added #include <config.h> * e-msg-composer-hdrs.c: s/_HAVE_CONFIG_H/HAVE_CONFIG_H for working i18n. svn path=/trunk/; revision=6420
* Updated to have the same menu items as the new right-click menu -Jeffrey Stedfast2000-11-075-15/+65
| | | | | | | | | | | | | | | | 2000-11-06 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c: Updated to have the same menu items as the new right-click menu - eventually these 2 menus should be the same. * folder-browser.c (on_right_click): Now correctly handles the case of multiple selection. * mail-callbacks.c (enumerate_msg): Make public so it can be used in other source files (it's a useful function!) svn path=/trunk/; revision=6419
* Updated Message menu.Jeffrey Stedfast2000-11-072-4/+15
| | | | | | | | 2000-11-06 Jeffrey Stedfast <fejj@helixcode.com> * evolution-mail.xml: Updated Message menu. svn path=/trunk/; revision=6418
* Removed the old recurrence page. Wheeeeeeeeee!Federico Mena Quintero2000-11-076-473/+342
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-05 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor-dialog.glade: Removed the old recurrence page. Wheeeeeeeeee! * gui/event-editor.c (make_recurrence_special): Clear the monthly widgets. (make_recur_monthly_special): Create the monthly widgets. (clear_widgets): Clear the monthly values. (simple_recur_to_comp_object): Fill in the monthly values. (fill_recurrence_widgets): Fill in the monthly and yearly source values. (dialog_to_comp_object): Take in a CalComponent instead of using the event editor's directly. (recur_to_comp_object): Likewise. (simple_recur_to_comp_object): Likewise. (EventEditorPrivate): Removed the widgets from the old recurrence page. (get_widgets): Likewise. (clear_widgets): Likewise. (dialog_to_comp_object): If the description or summary are empty, just clear the description list or summary property, respectively, instead of saving empty ones. (simple_recur_to_comp_object): Set the week_start field. * gui/main.c: Fix includes, and add calendar-config.h. * gui/Makefile.am (evolution_calendar_SOURCES): The glade messages file should not be in SOURCES. svn path=/trunk/; revision=6417
* Handle both the position and weekday in the by_day field.Federico Mena Quintero2000-11-072-2/+12
| | | | | | | | | 2000-11-06 Federico Mena Quintero <federico@helixcode.com> * src/libical/icalvalue.c (icalvalue_recur_as_ical_string): Handle both the position and weekday in the by_day field. svn path=/trunk/; revision=6416
* added some checks for the type of an incoming iCal component beforeJesse Pavel2000-11-073-6/+38
| | | | | | passing it off to the CalComponent routines svn path=/trunk/; revision=6415
* also look for HTMLEditor.idl in ${prefix}/share/gtkhtmlRadek Doulik2000-11-062-2/+12
| | | | | | | | | 2000-11-06 Radek Doulik <rodo@helixcode.com> * configure.in (GTKHTML_LIBS): also look for HTMLEditor.idl in ${prefix}/share/gtkhtml svn path=/trunk/; revision=6414
* Updated Swedish translation.Christian Rose2000-11-062-105/+133
| | | | svn path=/trunk/; revision=6413
* Removed unnecessary .cvsignore files.Christopher James Lahey2000-11-064-9/+5
| | | | | | | | | 2000-11-05 Christopher James Lahey <clahey@helixcode.com> * e-paned/.cvsignore, e-table/.cvsignore, e-text/.cvsignore: Removed unnecessary .cvsignore files. svn path=/trunk/; revision=6412
* Removed unnecessary .cvsignore files.Christopher James Lahey2000-11-063-4/+5
| | | | | | | | | 2000-11-05 Christopher James Lahey <clahey@helixcode.com> * doc/.cvsignore, doc/C/.cvsignore: Removed unnecessary .cvsignore files. svn path=/trunk/; revision=6411
* New files for the new define views dialog.Christopher James Lahey2000-11-063-0/+573
| | | | | | | | | | | 2000-11-05 Christopher James Lahey <clahey@helixcode.com> * .cvsignore, Makefile.am, gal-define-views-dialog.c, gal-define-views-dialog.h, gal-define-views.glade, gal-define-views.glade.h: New files for the new define views dialog. svn path=/trunk/; revision=6410
* Added print envelope menus. Added ...s.Christopher James Lahey2000-11-062-5/+14
| | | | | | | | | 2000-11-05 Christopher James Lahey <clahey@helixcode.com> * evolution-contact-editor.xml: Added print envelope menus. Added ...s. svn path=/trunk/; revision=6409
* Add menus items to the envelope printing stuff.Christopher James Lahey2000-11-0611-10/+432
| | | | | | | | | | | | | | | | | | | | | 2000-11-05 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor.c, gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard.c: Add menus items to the envelope printing stuff. * gui/component/addressbook.c: Hook up the search menu. * gui/widgets/e-addressbook-search.c, gui/widgets/e-addressbook-search.h: Add the search menu. * printing/Makefile.am: Add e-contact-print-envelope.c and e-contact-print-envelope.h. * printing/e-contact-print-envelope.c, printing/e-contact-print-envelope.h: Added envelope printing. svn path=/trunk/; revision=6408
* Added an "Undelete" option to the right-click menu and also set a mask soJeffrey Stedfast2000-11-064-35/+100
| | | | | | | | | | | | | | 2000-11-05 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser.c (on_right_click): Added an "Undelete" option to the right-click menu and also set a mask so it was only selectable if the message is marked as deleted. Also set a mask for "Mark as Read" and "Mark as Unread". * mail-callbacks.c (undelete_msg): New callback to undelete messages. svn path=/trunk/; revision=6407
* Updated Galician translationJesus Bravo Alvarez2000-11-062-1413/+3803
| | | | svn path=/trunk/; revision=6406
* Updated russian translation.Valek Frob2000-11-062-570/+904
| | | | svn path=/trunk/; revision=6405
* Added stuff for `bonobox'.Martin Baulig2000-11-052-2/+7
| | | | | | | | | 2000-11-05 Martin Baulig <baulig@suse.de> * gnome-bonobo-check.m4 (BONOBO_CFLAGS, BONOBO_LIBS): Added stuff for `bonobox'. svn path=/trunk/; revision=6404
* Put this back; I suppose Elliot reverted it by accident sinceMartin Baulig2000-11-051-2/+2
| | | | | | | | | | | he didn't mention this in the ChangeLog. 2000-06-13 Martin Baulig <baulig@suse.de> * Makefile.am (EXTRA_DIST): Added `gnome-gettext.m4'. (gnome_aclocal_DATA): Added `gnome-gettext.m4'. svn path=/trunk/; revision=6403
* Updated Swedish translation.Christian Rose2000-11-052-575/+918
| | | | svn path=/trunk/; revision=6402
* kill all the bonob-ui-extract crud.Michael Meeks2000-11-0513-560/+5
| | | | | | | | 2000-11-05 Michael Meeks <michael@helixcode.com> * Makefile.am (uidir): kill all the bonob-ui-extract crud. svn path=/trunk/; revision=6400
* update all of ui/*.h to ui/*.xmlMichael Meeks2000-11-055-80/+462
| | | | | | | | | | | | | | 2000-11-05 Michael Meeks <michael@helixcode.com> * POTFILES.in: update all of ui/*.h to ui/*.xml * Makefile.i18npatch: sort out the xml bits. * ui-extract.pl: add from Kenneth. * update.pl: Update to the version in bonobo. svn path=/trunk/; revision=6399
* Updated Slovenian translationAndraz Tori2000-11-051-1/+1
| | | | svn path=/trunk/; revision=6398
* Updated Polish translationChyla Zbigniew2000-11-052-414/+440
| | | | svn path=/trunk/; revision=6397
* Block signals from the toggle button. (date_changed_cb): MergedFederico Mena Quintero2000-11-054-86/+63
| | | | | | | | | | | | | | | | | | | | | 2000-11-03 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (check_all_day): Block signals from the toggle button. (date_changed_cb): Merged check_dates() and check_times() into this function; provide better behavior as well. (check_dates): Removed function. (check_times): Removed function. (init_widgets): Connect to the "changed" signal on the start_time and end_time widgets. (check_all_day): Use a better test. 2000-11-03 Federico Mena Quintero <federico@helixcode.com> * gui/component/select-names/Makefile.am: Clean the idl-generated files properly. svn path=/trunk/; revision=6396
* Translations from KeldKenneth Christiansen2000-11-041-793/+810
| | | | | | bonobo/po/da.po evolution/po/da.po gnomeicu/po/da.po svn path=/trunk/; revision=6395
* Translations from KeldKenneth Christiansen2000-11-041-1004/+2004
| | | | | | balsa/po/da.po evolution/po/da.po svn path=/trunk/; revision=6394
* raise required version number to 0.8 added check for HTMLEditor.idl fileRadek Doulik2000-11-042-2/+19
| | | | | | | | | | 2000-11-03 Radek Doulik <rodo@helixcode.com> * configure.in (BONOBO_HTML_GNOME_CFLAGS): raise required version number to 0.8 added check for HTMLEditor.idl file svn path=/trunk/; revision=6393
* fix test for regular file to !S_ISREG (statbuf.st_mode)Radek Doulik2000-11-042-1/+4
| | | | | | | | | 2000-11-04 Radek Doulik <rodo@helixcode.com> * e-msg-composer-attachment.c (e_msg_composer_attachment_new): fix test for regular file to !S_ISREG (statbuf.st_mode) svn path=/trunk/; revision=6392
* Updated russian translation.Valek Frob2000-11-041-299/+303
| | | | svn path=/trunk/; revision=6391
* use inline images hash tableRadek Doulik2000-11-0410-85/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-04 Radek Doulik <rodo@helixcode.com> * listener.c (resolve_image_url): use inline images hash table * e-msg-composer.c (init): create inlined images hash table (destroy): destroy it (clear_inline_images): helper function, used from g_hash_table_foreach_remove to destroy one inline image record * e-msg-composer.h: added hash table with inlined images url -> cid info 2000-11-03 Radek Doulik <rodo@helixcode.com> * listener.c (impl_event): updated for API changed implemented image_url event (resolve_image_url): new helper function, attaches image to mail and returns new (resolved) url pointing to mime component * e-msg-composer-attachment.c (e_msg_composer_attachment_new): added conponent_id parameter * e-msg-composer-attachment-bar.c (e_msg_composer_attachment_bar_attach): added parameter content_id (add_from_file): likewise svn path=/trunk/; revision=6390
* new function, generates simple message/content idRadek Doulik2000-11-043-0/+21
| | | | | | | | | 2000-11-03 Radek Doulik <rodo@helixcode.com> * camel-mime-utils.c (header_msgid_generate): new function, generates simple message/content id svn path=/trunk/; revision=6389
* Set the preface/postface from the parser into the multipart object.Not Zed2000-11-0410-33/+249
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-04 Not Zed <NotZed@HelixCode.com> * camel-mime-part-utils.c (camel_mime_part_construct_content_from_parser): Set the preface/postface from the parser into the multipart object. * camel-multipart.c (camel_multipart_set_postface): Function to set the postface text on a multipart. (camel_multipart_set_preface): Similarly for preface text. * camel-mime-parser.c (folder_scan_content): If we scan until a boundary, then we do not include the \n that starts the boundary line in the content. (struct _header_scan_stack): Added a ByteArray to store the multipart pre/post-text as we're scanning. (folder_pull_part): Free pre/posttext if they are allocated. (folder_scan_step): Build into the pre/posttext arrays as we encounter data. (camel_mime_parser_preface): REturn the multipart preface text, if there is any scanned. (camel_mime_parser_postface): Likewise for postface text. (byte_array_to_string): helper function for above. * providers/mbox/camel-mbox-folder.c (mbox_append_message): Change the from line to be "\nFrom ..." always, so no need to check/append a \n to messages. (mbox_append_message): Open the output stream with append mode [assuming this is more efficient than seeking to the end] And dont prepend \n on the From line if its the first in the mbox. (mbox_append_message): Pass the offset of the real start of the "From " line when we perform the update (which may != 'seek') * camel-mime-filter-charset.c (complete): Removed the terminating NUL 'fix'. * camel-stream-filter.c (do_read): Added some debug. (do_flush): And here. (do_write): And here too. (do_write): ARGH!!! ARGH! Ok, so the filter stream was writing a different number of bytes than the requester was asking it to write (because of filtering, of course!). So instead of returning the true number of written bytes, we'll return what they asked us to write - unless there is an error in which case we return -1. * camel-mime-utils.c (base64_encode_close): Sigh, forgot to make it unsigned. I think this is actually a gcc bug as (48 >> 2) somehow ended up negative, when it obviously should not, even if the data load was signed. svn path=/trunk/; revision=6388
* Updated Swedish translation.Christian Rose2000-11-042-322/+337
| | | | svn path=/trunk/; revision=6387
* Undo my incorrect fix - I misunderstood danw - sorry!Jeffrey Stedfast2000-11-042-26/+9
| | | | | | | | | 2000-11-03 Jeffrey Stedfast <fejj@helixcode.com> * camel-url.c: Undo my incorrect fix - I misunderstood danw - sorry! svn path=/trunk/; revision=6386
* oops, return NULL not voidJeffrey Stedfast2000-11-041-2/+2
| | | | svn path=/trunk/; revision=6385
* Don't allow attaching anything but regular files.Jeffrey Stedfast2000-11-042-15/+25
| | | | | | | | | 2000-11-03 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer-attachment.c (e_msg_composer_attachment_new): Don't allow attaching anything but regular files. svn path=/trunk/; revision=6384
* Updated Norwegian translation.Kjartan Maraas2000-11-042-293/+312
| | | | | | | | 2000-11-03 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian translation. svn path=/trunk/; revision=6383
* don't free the MessageList search when it's being reusedDan Winship2000-11-042-1/+6
| | | | | | | * message-list.c (cleanup_regenerate_messagelist): don't free the MessageList search when it's being reused svn path=/trunk/; revision=6382
* Unbreak this.Dan Winship2000-11-042-2/+7
| | | | | | | * providers/pop3/camel-pop3-store.c (camel_pop3_store_expunge): Unbreak this. svn path=/trunk/; revision=6381
* Added a `--no-splash' option to the shell.Ettore Perazzoli2000-11-044-20/+60
| | | | svn path=/trunk/; revision=6380
* Updated Slovenian translationAndraz Tori2000-11-041-1070/+1005
| | | | svn path=/trunk/; revision=6379
* Fix the name of the signal passed to gtk_signal_new so that this actuallyDan Winship2000-11-042-1/+6
| | | | | | | * evolution-storage-listener.c (class_init): Fix the name of the signal passed to gtk_signal_new so that this actually works. svn path=/trunk/; revision=6378
* Don't show the passwd in the url string. (mail_tool_local_uri_to_folder):Jeffrey Stedfast2000-11-042-6/+13
| | | | | | | | | | | 2000-11-03 Jeffrey Stedfast <fejj@helixcode.com> * mail-local.c (mail_local_map_uri): Don't show the passwd in the url string. (mail_tool_local_uri_to_folder): Same. (do_reconfigure_folder): Same. svn path=/trunk/; revision=6377
* Made it compile again.Chris Lahey2000-11-041-2/+2
| | | | svn path=/trunk/; revision=6376
* Turned on proper handling of insert and delete.Christopher James Lahey2000-11-041-1/+1
| | | | | | | | | 2000-11-03 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c: Turned on proper handling of insert and delete. svn path=/trunk/; revision=6375
* If show_pass, then base64 the password before writing it to the outputJeffrey Stedfast2000-11-042-6/+41
| | | | | | | | | | | 2000-11-03 Jeffrey Stedfast <fejj@helixcode.com> * camel-url.c (camel_url_to_string): If show_pass, then base64 the password before writing it to the output string. (camel_url_new): Assume password has been base64 encoded and decode accordingly. svn path=/trunk/; revision=6374
* fix bug in previousDan Winship2000-11-041-3/+1
| | | | svn path=/trunk/; revision=6373
* Added new header files.Jeffrey Stedfast2000-11-0415-112/+274
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-03 Jeffrey Stedfast <fejj@helixcode.com> * Makefile.am: Added new header files. * component-factory.c (owner_set_cb): s/session_init/mail_session_init * session.c: Renamed public functions to mail_session_*. FIXME: Rename session.c to mail-session.c * folder-browser-factory.c: #include "mail-callbacks.h", #include "mail-session.h" and replace forget_passwords with mail_session_forget_passwords * mail.h: Move session prototypes to mail-session.h, Move mail-crypto prototypes to mail-crypto.h, Move mail-callback prototypes to mail-callbacks.h * mail-session.h: New header file containing public prototypes for session.c * mail-format.c: #include "mail-crypto.h" * mail-view.c: * folder-browser.c: #include "mail-callbacks.h" * mail-crypto.h: New header file containing public prototypes for mail-crypto.c * mail-callbacks.h: New header file containing public prototypes for mail-callbacks.c * message-list.c (message_list_get_layout): Set useful defaults. (message_list_setup_etable): Don't set the Outbox defaults on a folder just because it doesn't have a corresponding saved file. svn path=/trunk/; revision=6372
* url_flags are now on CamelProvider, not CamelServiceDan Winship2000-11-045-12/+28
| | | | | | | | | | | * mail-config-gui.c (service_page_item_new): url_flags are now on CamelProvider, not CamelService * main.c: * subscribe-dialog.c: * mail-threads.c: Kill warnings svn path=/trunk/; revision=6371
* Add an "url_flags" field to CamelProvider. Move the CAMEL_SERVICE_URL_*Dan Winship2000-11-0419-79/+79
| | | | | | | | | | | | | | | | | | | | * camel-provider.h: Add an "url_flags" field to CamelProvider. Move the CAMEL_SERVICE_URL_* defines here and remove the SERVICE_ part of the name. * camel-service.h: Remove CAMEL_SERVICE_URL_* flags and service->url_flags field. * camel-service.c (check_url, get_path): Get URL flags from service->provider, update for changed flag names. * providers/*/camel-*-provider.c: Add URL flags to provider structures. * providers/*/camel-*-{store,transport}.c, camel-remote-store.c: Remove service->url_flags initialization. svn path=/trunk/; revision=6370