aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* renamed HTMLEditor.idl to Editor.idlRadek Doulik2000-12-082-6/+11
| | | | | | | | | 2000-12-07 Radek Doulik <rodo@helixcode.com> * configure.in (GTKHTML_LIBS): renamed HTMLEditor.idl to Editor.idl svn path=/trunk/; revision=6842
* Include HtmlView.idl.Dave Camp2000-12-082-0/+5
| | | | | | | | 2000-12-07 Dave Camp <dave@helixcode.com> * idl/Makefile.am (IDLS): Include HtmlView.idl. svn path=/trunk/; revision=6841
* Add some g_return_if_fail()s to protect from crashes until the code toDan Winship2000-12-085-8/+22
| | | | | | | | | | | | * mail-callbacks.c: (various) * folder-browser.c (filter_mlist): * mail-autofilter.c (filter_gui_add_from_message): * mail-vfolder.c (vfolder_gui_add_from_message): Add some g_return_if_fail()s to protect from crashes until the code to enable/disable commands based on how many messages are selected is done. svn path=/trunk/; revision=6840
* psstRadek Doulik2000-12-081-4/+4
| | | | svn path=/trunk/; revision=6839
* added warnings (prepare_engine): updated toRadek Doulik2000-12-086-68/+81
| | | | | | | | | | | | 2000-12-07 Radek Doulik <rodo@helixcode.com> * e-msg-composer.c (prepare_engine): added warnings (prepare_engine): updated to IDL:GNOME/GtkHTML/Editor/Engine:1.0 * Makefile.am: renamed HTMLEditor* to Editor*, added Editor-common.c: $(HTML_EDITOR_GENERATED) rule svn path=/trunk/; revision=6838
* Free the xmlDoc when we are done with it. (e_table_state_save_to_file):Federico Mena Quintero2000-12-083-5/+13
| | | | | | | | | | | | | | | | | | 2000-12-07 Federico Mena Quintero <federico@helixcode.com> * e-table-state.c (e_table_state_save_to_string): Free the xmlDoc when we are done with it. (e_table_state_save_to_file): Ditto. * e-table.c (e_table_get_state): Unref the state object; why was it being sunk instead? (e_table_save_state): Ditto. (e_table_load_state): Ditto. (e_table_set_state): Ditto. * e-table-header-item.c (ethi_destroy): Free the ethi->dnd_code. svn path=/trunk/; revision=6837
* Unref the component from the objects list; it got referenced as many timesFederico Mena Quintero2000-12-082-0/+7
| | | | | | | | | | 2000-12-07 Federico Mena Quintero <federico@helixcode.com> * cal-client/cal-client.c (cal_client_generate_instances): Unref the component from the objects list; it got referenced as many times as appropriate for the instances list. svn path=/trunk/; revision=6836
* Make the vfolder editor resize correctly. Fixes bug #835.Jeffrey Stedfast2000-12-072-1/+6
| | | | | | | | | 2000-12-06 Jeffrey Stedfast <fejj@helixcode.com> * mail-vfolder.c (vfolder_gui_add_rule): Make the vfolder editor resize correctly. Fixes bug #835. svn path=/trunk/; revision=6835
* We want to bitwise-or the server and cached flags here so that we keep theJeffrey Stedfast2000-12-072-2/+13
| | | | | | | | | | | 2000-12-06 Jeffrey Stedfast <fejj@helixcode.com> * providers/imap/camel-imap-folder.c (imap_refresh_info): We want to bitwise-or the server and cached flags here so that we keep the flags that we have set locally and set any additional flags that a parallel connection may have set. svn path=/trunk/; revision=6834
* Confirm before deleting the event.Federico Mena Quintero2000-12-072-8/+17
| | | | | | | | | 2000-12-06 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (file_delete_cb): Confirm before deleting the event. svn path=/trunk/; revision=6833
* unref the pixbuf when finished with it62000-12-072-1/+6
| | | | | | | | | 2000-12-06 <purify@the-dot-in.helixcode.com> * gui/e-week-view.c (e_week_view_init): unref the pixbuf when finished with it svn path=/trunk/; revision=6832
* pass along the column's width to e_cell_show_tooltip.Chris Toshok2000-12-075-17/+14
| | | | | | | | | | | | | | | | | | | | | | | 2000-12-06 Chris Toshok <toshok@helixcode.com> * e-table-item.c (_do_tooltip): pass along the column's width to e_cell_show_tooltip. * e-cell-text.c (ect_show_tooltip): add col_width argument, and set cell.width = col_width - 8 (to mimic what happens in build_current_cell, but with a possibly altered width). * e-cell.c (e_cell_show_tooltip): add col_width argument, and pass along to virtual function. (ec_show_tooltip): add col_width argument. * e-cell.h: change prototype of e_cell_show_tooltip to include a width parameter. * e-cell-tree.c (ect_show_tooltip): send the width - the subcell's offset to e_cell_show_tooltip. svn path=/trunk/; revision=6831
* Fix up shutdown so that things that should be destroyed getDan Winship2000-12-075-89/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | destroyed. Among other things, this fixes the bug where IMAP stores weren't disconnected at shutdown. * mail-threads.c (update_active_views): Update for folder_browser_factory_get_control_list change to EList. * folder-browser-factory.c: Turn control_list into an EList so that we can safely remove items from it while it's being iterated (which will happen as FolderBrowsers are destroyed at shutdown while the thread code is trying to update the status bars). (control_destroy_cb): Just destroy the folder_browser. (browser_destroy_cb): New callback for FolderBrowser destroy. Remove the control from control_list here instead of control_destroy_cb, because the controls don't seem to get destroyed reliably... * component-factory.c: Clean up stuff. (factory_destroy): Get rid of this. (owner_unset_cb): Schedule an idle handler to quit. (idle_quit): Wait for all of the FolderBrowsers to be destroyed and then destroy the storages and quit. svn path=/trunk/; revision=6830
* Fix prototypeDan Winship2000-12-071-3/+2
| | | | | | * mail-summary.h (create_summary_view): Fix prototype svn path=/trunk/; revision=6829
* Fixes bug #920.Federico Mena Quintero2000-12-0712-63/+205
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-06 Federico Mena Quintero <federico@helixcode.com> Fixes bug #920. * gui/e-calendar-table.c (delete_component): New function. (e_calendar_table_on_delete_task): Use delete_component(). (e_calendar_table_on_key_press): Likewise. Also, mark the event as handled. * gui/calendar-model.c (calendar_model_get_component): Renamed function from calendar_model_get_cal_object(). (calendar_model_delete_task): Removed function. * gui/dialogs/delete-comp.[ch]: New files with the dialog for deleting a calendar component. * gui/e-day-view.c (e_day_view_on_delete_appointment): Confirm before actually deleting the appointment. * gui/e-week-view.c (e_week_view_on_delete_appointment): Likewise. * gui/dialogs/Makefile.am (libcal_dialogs_a_SOURCES): Added delete-comp.[ch] to the list of sources. * cal-util/cal-component.c (cal_component_destroy): Free the alarm UID hash. svn path=/trunk/; revision=6828
* Use e_filename_make_safe (which used to be e_str_make_safe).Jeffrey Stedfast2000-12-074-5/+12
| | | | | | | | | | | | | 2000-12-06 Jeffrey Stedfast <fejj@helixcode.com> * mail-config.c (mail_config_folder_to_cachename): Use e_filename_make_safe (which used to be e_str_make_safe). * mail-display.c (make_safe_filename): And here. * message-list.c (message_list_drag_data_get): Here too. svn path=/trunk/; revision=6827
* kill (Cal_get_changes): return the corba sequence directlyJP Rosevear2000-12-076-105/+66
| | | | | | | | | | | | | | | | | | | | | 2000-12-06 JP Rosevear <jpr@helixcode.com> * pcs/cal.c (build_change_seq): kill (Cal_get_changes): return the corba sequence directly * pcs/cal-backend.h: update prototype * pcs/cal-backend.c (cal_backend_compute_changes_foreach_key): Build the corba struct rather than the old calobjchange thing (cal_backend_compute_changes): ditto. build and return the actual corba sequence rather than the list of calobjchanges (cal_backend_get_changes): return the corba sequence * cal-util/cal-util.h: Remove CalObjChange cruft * cal-util/cal-util.c (cal_obj_change_list_free): Kill svn path=/trunk/; revision=6826
* Increased the version number to 0.3. Increased the so number.Christopher James Lahey2000-12-071-1/+0
| | | | | | | | | | | | 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * configure.in: Increased the version number to 0.3. Increased the so number. * gal/util/e-util.h: Removed unnecessary #define e_str_make_safe e_filename_make_safe. svn path=/trunk/; revision=6824
* Adapted these to accept the new flags parameter to e_cell_event.Christopher James Lahey2000-12-076-29/+48
| | | | | | | | | | | | | | | | 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c, e-cell-toggle.c, e-cell-tree.c: Adapted these to accept the new flags parameter to e_cell_event. * e-cell.c, e-cell.h: Added a flags parameter to e_cell_event. * e-table-item.c: Send all e_cell_event calls a E_CELL_EDITABLE flag. Add a new e_cell_event to the button press event that happens before selecting the appropriate row and which does not have the E_CELL_EDITABLE flag set. svn path=/trunk/; revision=6823
* Update so as not to conflict with calendar (next_changed_item): update toJP Rosevear2000-12-0715-451/+388
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-06 JP Rosevear <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c (map_name): Update so as not to conflict with calendar (next_changed_item): update to use CalClientChange instead of CalObjChange (compute_status): ditto (pre_sync): ditto (for_each_modified): since we now have the cal component we can call local_record_from_comp directly * conduits/todo/todo-conduit.c: same as above * pcs/cal-backend.c: Remove much logging cruft (cal_backend_compute_changes): Calculate the changes based on the hashed database (cal_backend_get_changes): call cal_backend_compute_changes (cal_backend_compute_changes_foreach_key): hash callback for calculating deletions * pcs/cal-backend.h: update protype, remove logging cruft from object * pcs/cal.c (build_change_seq): dup the calobj rather than the uid now (Cal_get_changes): rename from Cal_get_changed_uids (cal_get_epv): reflect name change in epv * cal-util/cal-util.c (cal_obj_change_list_free): update assertion * cal-util/cal-util.h: CalObjChange now returns the entire ical component, update the change types. This should all go away shortly * idl/evolution-calendar.idl: getChangedUIds -> getChanges. CalObjChange now contains the calobj rather than the uid, update the change types * cal-client/cal-client.c (cal_client_get_changes): rename from cal_client_get_changed_uids to make idl and addressbook * cal-client/cal-client.h: Update prototype * cal-client/cal-client.c (build_change_list): Build a list of CalClientChange instead of CalObjChange * cal-client/cal-client-types.c (cal_client_change_list_free): Free a glist of CalClientChanges * cal-client/cal-client-types.h: New file. Declarations for CalClientChange. * cal-client/Makefile.am: Build new files svn path=/trunk/; revision=6822
* Mark some strings for translation.Kjartan Maraas2000-12-072-2/+6
| | | | | | | | 2000-12-06 Kjartan Maraas <kmaraas@gnome.org> * filter-editor.c: Mark some strings for translation. svn path=/trunk/; revision=6821
* Added some Norwegian translations.Kjartan Maraas2000-12-072-0/+7
| | | | | | | | 2000-12-06 Kjartan Maraas <kmaraas@gnome.org> * data/evolution.keys: Added some Norwegian translations. svn path=/trunk/; revision=6820
* Removed incorrect e-list.h include.Christopher James Lahey2000-12-071-1/+0
| | | | | | | | 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * gal-view-collection.h: Removed incorrect e-list.h include. svn path=/trunk/; revision=6819
* Fixed some warnings.Christopher James Lahey2000-12-071-1/+1
| | | | | | | | 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * gal/util/e-util.c, gal/widgets/e-font.c: Fixed some warnings. svn path=/trunk/; revision=6818
* Missed this file during the last commit.Chris Lahey2000-12-071-2/+4
| | | | svn path=/trunk/; revision=6817
* Added a GalViewCollection argument to the new function here.Christopher James Lahey2000-12-075-30/+58
| | | | | | | | | | | | | | | 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * menus/gal-view-menus.c, menus/gal-view-menus.h: Added a GalViewCollection argument to the new function here. From meeting-time-sel/ChangeLog: 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * e-meeting-time-sel.c: Fixed a bunch of warnings. svn path=/trunk/; revision=6816
* Increased the required version of gal.Christopher James Lahey2000-12-072-3/+7
| | | | | | | | 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * configure.in: Increased the required version of gal. svn path=/trunk/; revision=6815
* Moved the gal view menu stuff from here to EAddressbookView.Christopher James Lahey2000-12-074-9/+51
| | | | | | | | | | | | | 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Moved the gal view menu stuff from here to EAddressbookView. * gui/widgets/e-addressbook-view.c, gui/widgets/e-addressbook-view.h: New function to set up the menus for the EAddressbookView. svn path=/trunk/; revision=6814
* Run the folder_changed code on message_changed as well, so the unreadDan Winship2000-12-072-4/+10
| | | | | | | | * mail-local.c (cleanup_register_folder): Run the folder_changed code on message_changed as well, so the unread message counts update as messages are read. svn path=/trunk/; revision=6813
* Remove bits of filter-on-demand and toolbar bug workaround cruft thatDan Winship2000-12-074-29/+9
| | | | | | | | | | * folder-browser.c: Remove bits of filter-on-demand and toolbar bug workaround cruft that don't do anything useful any more. * mail-ops.c (cleanup_load_folder): unref the ref we added in setup_load_folder. svn path=/trunk/; revision=6812
* Added gal-view-collection.c, gal-view-etable.c, gal-view-factory-etable.c,Christopher James Lahey2000-12-0717-157/+868
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added gal-view-collection.c, gal-view-etable.c, gal-view-factory-etable.c, gal-view-factory.c, gal-view-collection.h, gal-view-etable.h, gal-view-factory-etable.h, and gal-view-factory.h. * gal-define-views-dialog.c, gal-define-views-dialog.h: Rewrote this to take a GalViewCollection. This now passes its collection to the new view dialog but still doesn't get its list of views from the collection. * gal-define-views-model.c: Changed this to use the gal_view_get_title function instead of the "title" gtk argument. * gal-define-views.glade, gal-define-views.glade.h: Changed this dialog to be a bit cleaner. * gal-view-collection.c, gal-view-collection.h: A collection of views and view factories. * gal-view-etable.c, gal-view-etable.h: An implementation of the view class. This stores an ETableSpecification and the current ETableState. * gal-view-factory-etable.c, gal-view-factory-etable.h: An implementation of the view factory class. This stores an ETableSpecification and creates GalViewEtables when requested. * gal-view-factory.c, gal-view-factory.h: A new virtual class. Its primary job is to return new GalViews. * gal-view-new-dialog.c, gal-view-new-dialog.h: Added a collection argument to the new function here so that it can get a list of factories to choose from. * gal-view-new-dialog.glade, gal-view-new-dialog.glade.h: Added a CList for the list of factories to choose from. * gal-view.c, gal-view.h: Changed this to be a virtual class. svn path=/trunk/; revision=6811
* Fixed warning in compute_elision_length.Christopher James Lahey2000-12-072-18/+0
| | | | | | | | | | | 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * e-table-header-utils.c: Fixed warning in compute_elision_length. * e-table-header.c, e-table-header.h: Removed e_table_header_selection_ok method here. svn path=/trunk/; revision=6810
* disconnect the "group_info_changed" signal on the old sort_info andDan Winship2000-12-071-2/+12
| | | | | | | | | * e-table.c (e_table_set_state_object): disconnect the "group_info_changed" signal on the old sort_info and connect it to the new one. (Noticed because of a gtk warning in et_destroy, but probably fixes some actual bug(s) too.) svn path=/trunk/; revision=6809
* updated italian translation from Clara TattoniChristopher R. Gabriel2000-12-062-1540/+1536
| | | | svn path=/trunk/; revision=6808
* Another conduit build fixJP Rosevear2000-12-062-0/+5
| | | | | | | | 2000-12-06 JP Rosevear <jpr@helixcode.com> * conduit/Makefile.am: Another conduit build fix svn path=/trunk/; revision=6807
* Fix my build stupidty READ THE MACROJP Rosevear2000-12-063-0/+8
| | | | | | | | | | 2000-12-06 JP Rosevear <jpr@helixcode.com> * conduits/todo/Makefile.am: Fix my build stupidty READ THE MACRO * conduits/calendar/Makefile.am: ditto svn path=/trunk/; revision=6806
* Forgot to commit this with my last set of changes to the filter codeJeffrey Stedfast2000-12-061-3/+0
| | | | svn path=/trunk/; revision=6805
* If the data wrapper fails to be written to the stream, unref it and theJeffrey Stedfast2000-12-062-0/+11
| | | | | | | | | | 2000-12-05 Jeffrey Stedfast <fejj@helixcode.com> * providers/smtp/camel-smtp-transport.c (smtp_data): If the data wrapper fails to be written to the stream, unref it and the filters before returning. svn path=/trunk/; revision=6804
* Use a charset filter to make sure the data is written out in the charsetJeffrey Stedfast2000-12-062-8/+40
| | | | | | | | | | | | | | 2000-12-05 Jeffrey Stedfast <fejj@helixcode.com> * mail-display.c (write_data_to_file): Use a charset filter to make sure the data is written out in the charset it was meant to be in instead of UTF-8. * mail-format.c (mail_format_raw_message): Don't use the raw message body as the format argument, use "%s" instead. If the raw message contains %'s then it will segfault otherwise. svn path=/trunk/; revision=6803
* Use camel to construct the list of recipients rather than justJeffrey Stedfast2000-12-062-0/+33
| | | | | | | | | | 2000-12-05 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (add_recipients): Use camel to construct the list of recipients rather than just strchr(recips, ',') which is very prone to errors. svn path=/trunk/; revision=6802
* (imap_refresh_info): Fix a really really really dumb bug.Dan Winship2000-12-062-1/+2
| | | | svn path=/trunk/; revision=6801
* use BODY.PEEK[] rather than RFC822, so the message doesn't get marked asDan Winship2000-12-062-2/+8
| | | | | | | | * providers/imap/camel-imap-folder.c (imap_get_message): use BODY.PEEK[] rather than RFC822, so the message doesn't get marked as \Seen. svn path=/trunk/; revision=6800
* minor tweakJP Rosevear2000-12-062-2/+6
| | | | | | | | 2000-12-05 JP Rosevear <jpr@helixcode.com> * README: minor tweak svn path=/trunk/; revision=6799
* Don't use the raw message body as the format argument, use "%s" instead.Jeffrey Stedfast2000-12-062-2/+7
| | | | | | | | | | 2000-12-05 Jeffrey Stedfast <fejj@helixcode.com> * mail-format.c (mail_format_raw_message): Don't use the raw message body as the format argument, use "%s" instead. If the raw message contains %'s then it will segfault otherwise. svn path=/trunk/; revision=6798
* Fix the check for "flags aren't actually changing".Dan Winship2000-12-066-14/+53
| | | | | | | | | | | | | | | * providers/imap/camel-imap-folder.c (imap_set_message_flags): Fix the check for "flags aren't actually changing". * providers/local/camel-local-folder.c (local_set_message_flags, local_set_message_user_flag, local_set_message_user_tag): Don't emit message_changed unless the flags actually changed. * providers/nntp/camel-nntp-folder.c (nntp_folder_set_message_flags): Don't emit message_changed unless the flags actually changed. Fix the check for marked as seen. svn path=/trunk/; revision=6797
* Fix a typo so that toggling the "remember password" checkbox will activateDan Winship2000-12-062-1/+7
| | | | | | | | * mail-config-gui.c (service_page_item_new): Fix a typo so that toggling the "remember password" checkbox will activate the "OK" button if it was inactive. svn path=/trunk/; revision=6796
* Move the correct offset when memmoving. Patch provided by Richard HultJP Rosevear2000-12-051-1/+1
| | | | | | | | | | 2000-12-05 JP Rosevear <jpr@helixcode.com> * e-tree-model.c (e_tree_model_node_remove): Move the correct offset when memmoving. Patch provided by Richard Hult <rhult@hem.passagen.se>. svn path=/trunk/; revision=6795
* Updated Swedish translation.Christian Rose2000-12-052-46/+53
| | | | svn path=/trunk/; revision=6794
* Create an empty vcard with the appropriate id for deleted cardsJP Rosevear2000-12-053-38/+33
| | | | | | | | | | | | 2000-12-05 JP Rosevear <jpr@helixcode.com> * backend/pas/pas-backend-file.c (pas_backend_file_changes_foreach_key): Create an empty vcard with the appropriate id for deleted cards * conduit/address-conduit.c (ecard_from_remote_record): Ensure the address fields are added sensibly svn path=/trunk/; revision=6793
* Stream testing stuff.Michael Zucci2000-12-053-0/+258
| | | | svn path=/trunk/; revision=6792
* Added camel/tests/stream/Makefile.am.Not Zed2000-12-052-0/+5
| | | | | | | | 2000-12-05 Not Zed <NotZed@HelixCode.com> * configure.in: Added camel/tests/stream/Makefile.am. svn path=/trunk/; revision=6791
* stream_flush does make sense for a substream afterall (if you have aNot Zed2000-12-0511-39/+397
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-05 Not Zed <NotZed@HelixCode.com> * camel-seekable-substream.c (stream_flush): stream_flush does make sense for a substream afterall (if you have a stream_write). (stream_write): Implement this. (stream_seek): Change the STREAM_END behaviour to be more sane. if bounded go from the end of the bound, if unbounded, go from the end of the parent stream. * camel-stream-mem.c (stream_read): Dont return error if reading past the end of data, just return 0. * camel-stream-fs.c (camel_stream_fs_init): Initialise the stream to be unbound. (stream_seek): Fix the logic when seeking from the end of an unbounded stream. (camel_stream_fs_new_with_fd): If the fd is invalid (-1), then return NULL immediately. (stream_seek): Range check a SEEK_END so it fits within bound_start. 2000-12-01 Not Zed <NotZed@HelixCode.com> * tests/lib/folders.c (test_folder_basic): New test to perform basic store operations on folders (taken from folders/test1). (test_folder_message_ops): Tkane the guts out of folders/test2. svn path=/trunk/; revision=6790
* Updated Norwegian (bokmål) translation.Kjartan Maraas2000-12-052-344/+378
| | | | | | | | 2000-12-05 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. svn path=/trunk/; revision=6789
* Update the calls to `evolution_storage_new()' according to the newEttore Perazzoli2000-12-055-3/+17
| | | | | | | | API in `libeshell'. Sorry for breaking the build. :-( svn path=/trunk/; revision=6788
* Start implementing a physical URI property for the toplevel nodes inEttore Perazzoli2000-12-0516-43/+187
| | | | | | storages. Also add initial code in the shell to handle that. svn path=/trunk/; revision=6787
* New `e-corba-utils.c' module, for now just containing a function toEttore Perazzoli2000-12-054-0/+77
| | | | | | get a safe CORBA string from a possibly NULL string pointer. svn path=/trunk/; revision=6786
* i18n-ize exception strings. (get_name): And here. (_send_to): Here too.Jeffrey Stedfast2000-12-052-49/+50
| | | | | | | | | | | | | | | | | 2000-12-04 Jeffrey Stedfast <fejj@helixcode.com> * providers/smtp/camel-smtp-transport.c (smtp_connect): i18n-ize exception strings. (get_name): And here. (_send_to): Here too. (smtp_helo): And here and there... (smtp_mail): And around the square... (smtp_rcpt): Saying catch me if you can... (smtp_data): And here three. (smtp_rset): And here. (smtp_quit): And finally here. svn path=/trunk/; revision=6785
* Handle a NIL return value from `oaf_activate_from_id' withoutEttore Perazzoli2000-12-052-1/+8
| | | | | | crashing. svn path=/trunk/; revision=6784
* Use info->full_name rather than info->name so that we get the namespaceJeffrey Stedfast2000-12-052-1/+7
| | | | | | | | | | 2000-12-04 Jeffrey Stedfast <fejj@helixcode.com> * subscribe-dialog.c (setup_subscribe_folder): Use info->full_name rather than info->name so that we get the namespace part of the folder path as well. svn path=/trunk/; revision=6783
* Initialize max_large_digit_width to 0 to prevent crazy sizing issues.JP Rosevear2000-12-052-1/+6
| | | | | | | | | 2000-12-04 JP Rosevear <jpr@helixcode.com> * gui/e-day-view-time-item.c (e_day_view_time_item_get_column_width): Initialize max_large_digit_width to 0 to prevent crazy sizing issues. svn path=/trunk/; revision=6782
* upd.Michael Meeks2000-12-052-0/+66
| | | | svn path=/trunk/; revision=6781
* macro that calls e_filename_make_safeJeffrey Stedfast2000-12-052-8/+9
| | | | | | | | | | | | | 2000-12-04 Jeffrey Stedfast <fejj@helixcode.com> * gal/util/e-util.h (e_str_make_safe): macro that calls e_filename_make_safe * gal/util/e-util.c (e_filename_make_safe): Renamed from e_str_make_safe (e_strstrcase): go back to returning gchar * rather than const. svn path=/trunk/; revision=6780
* Remove mysterious #include inserted by mmeeks to break the build.Dan Winship2000-12-052-1/+5
| | | | | | | * gui/e-itip-control.c: Remove mysterious #include inserted by mmeeks to break the build. svn path=/trunk/; revision=6779
* return NULL if we can't create a view.Michael Meeks2000-12-0572-1190/+581
| | | | | | | | | | | | | | 2000-12-04 Michael Meeks <michael@helixcode.com> * e-shell-view.c (get_control_for_uri): return NULL if we can't create a view. (setup_evolution_shell_view_interface): add precondition. + lots of cleans. svn path=/trunk/; revision=6778
* NULL-terminate gal_view_menus_apply's BonoboUIVerb array to prevent aDan Winship2000-12-052-0/+7
| | | | | | | | * menus/gal-view-menus.c: NULL-terminate gal_view_menus_apply's BonoboUIVerb array to prevent a crash. (Why are there gal* things in the evolution sources?) svn path=/trunk/; revision=6777
* Updated russian translation.Valek Frob2000-12-052-202/+195
| | | | svn path=/trunk/; revision=6776
* Fix typoDan Winship2000-12-052-1/+5
| | | | | | * evolution-mail.xml: Fix typo svn path=/trunk/; revision=6775
* New `createNewView' method in `Evolution::Shell'. Register the shellEttore Perazzoli2000-12-0512-81/+296
| | | | | | | | | at startup; if a shell is already registered, use this CORBA method to make it open a new view and exit. Also, fixed a missing ref problem with EShortcut (it used to crash on exit when more than one view was open). svn path=/trunk/; revision=6774
* Updated Spanish translationHector Garcia2000-12-041-15/+15
| | | | svn path=/trunk/; revision=6773
* added some imap tests, tho they dont get far yet and dontMichael Zucci2000-12-0410-291/+654
| | | | | | recover automatically. svn path=/trunk/; revision=6772
* Make inline forwarding not be the default anymore.Ettore Perazzoli2000-12-047-12/+33
| | | | svn path=/trunk/; revision=6771
* need to zero out the bits corresponding to the rows not selected in theChris Toshok2000-12-041-1/+13
| | | | | | | | | | | | 2000-12-04 Chris Toshok <toshok@helixcode.com> * e-table-selection-model.c (e_table_selection_model_select_all): need to zero out the bits corresponding to the rows not selected in the last full 32 bit mask. This fixes a crash in the subscribe UI (or potentially anywhere that uses selection_model_select_all/selection_model_foreach.) svn path=/trunk/; revision=6770
* Updated Spanish translationHector Garcia2000-12-042-1290/+1308
| | | | svn path=/trunk/; revision=6769
* Updated Swedish translation.Christian Rose2000-12-032-1300/+1585
| | | | svn path=/trunk/; revision=6768
* Fixes bug #918.Federico Mena Quintero2000-12-034-0/+120
| | | | | | | | | | | | | | | | | | | | | | 2000-12-01 Federico Mena Quintero <federico@helixcode.com> Fixes bug #918. * gui/weekday-picker.c (WeekdayPickerPrivate): Added a field for a set of blocked days. (weekday_picker_set_blocked_days): New function to configure a set of days that cannot be modified by the user. (weekday_picker_get_blocked_days): Query function for the above. (day_event_cb): Block the appropriate days from being modified. * gui/event-editor.c (get_start_weekday_mask): New function to compute a day mask for the start day of a calendar component. (set_recur_special_defaults): New function to set sane defaults for the recurrence special widgets. (fill_recurrence_widgets): Use set_recur_special_defaults(). (make_recur_weekly_special): Block the appropriate days. svn path=/trunk/; revision=6767
* Federico gets into pixel-perfect neurosis. Xmag is my best friend.Federico Mena Quintero2000-12-036-273/+546
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-01 Federico Mena Quintero <federico@helixcode.com> Federico gets into pixel-perfect neurosis. Xmag is my best friend. * e-table-item.c (eti_draw): Set the focus_gc stipple origin to match the upper-left corner of the focus rectangle. This way focusing will look consistent even among rows/columns with odd pixel sizes. Also, make the focus rectangle span the whole cell; there was one blank pixel column to the left of the rectangle. * e-table-header-utils.c: New file with utilities for drawing header buttons. This is so that ETableHeaderItem and ETableFieldChooserItem can share the same code. (e_table_header_compute_height): New function to compute the height of a column button. (make_composite_pixmap): New function to composite a pixbuf against a solid background and make a pixmap out of the result. This does some ultra-fancy fading-out of the original pixbuf if the destination area is smaller than the source. (compute_elision_length): New function to compute the elision length in O(n log n) instead of O(n^2), for n = strlen (str). (e_table_header_draw_button): New function to draw a header button. (e_table_draw_elided_string): New function to draw a string elided to a maximum width. * e-table-defines.h (HEADER_PADDING): Made the default padding be 1; now a header button's height is content_height + 2 * (HEADER_PADDING + style->ythickness). This is the correct way to measure button heights. * e-table-field-chooser-item.c (etfci_find_button): Use e_table_header_compute_height(). (etfci_reflow): Likewise. (etfci_draw): Use e_table_header_draw_button(). (etfci_start_drag): Likewise. (etfci_draw): Likewise. (etfci_start_drag): Likewise. (etfci_button_height): Removed function. (draw_button): Removed function. * e-table-header-item.c (draw_button): Removed function. (e_table_header_item_get_height): Use e_table_header_compute_height(). (ethi_draw): e_table_header_draw_button(). (ethi_start_drag): Likewise. (make_shaped_window_from_xpm): Fixed misspelling in function name. (draw_button): Removed function. * Makefile.am: Added e-table-header-utils.[ch]. svn path=/trunk/; revision=6766
* Updated Dutch translation.Almer S. Tigelaar2000-12-022-1409/+1695
| | | | | | | | 2000-12-02 Almer S. Tigelaar <almer1@dds.nl> * nl.po: Updated Dutch translation. svn path=/trunk/; revision=6765
* Added support for the system-flag type.Jeffrey Stedfast2000-12-0210-75/+415
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-01 Jeffrey Stedfast <fejj@helixcode.com> * filter-element.c (filter_element_new_type_name): Added support for the system-flag type. * Makefile.am: Added filter-system-flag.[c,h]. * filter-system-flag.[c,h]: New type for system flags. * filtertypes.xml: Oops, looks like we were still using integers as arguments to set-flag. Change over to using strings which are safer and also change the name to set-system-flag. * filter-driver.c (do_flag): Use strings instead of integers. Instead of set-flag, the callback is now set-system-flag for less confusion. Sorry Ettore, but you'll have to change your filters. * filtertypes.xml: Added system-flags stuff. * vfoldertypes.xml: And here too. * filter-message-search.c (system_flag): New ESExp callback for filtering on system flags. svn path=/trunk/; revision=6764
* Added system_flag to CamelFolderSearchClassJeffrey Stedfast2000-12-025-3/+98
| | | | | | | | | | | | | | | | 2000-12-01 Jeffrey Stedfast <fejj@helixcode.com> * camel-folder-search.h: Added system_flag to CamelFolderSearchClass * camel-folder-summary.c (camel_system_flag_get): Convenience function to return whether or not a flag is set using a string as the flag name. (camel_system_flag): Return the integer value of the flag string. * camel-folder-search.c (search_system_flag): New ESExp callback for allowing vfoldering on CamelMessageInfo flags. svn path=/trunk/; revision=6763
* Removed debugging message. (control_factory_init): Ditto.Federico Mena Quintero2000-12-024-14/+10
| | | | | | | | | | | | | 2000-12-01 Federico Mena Quintero <federico@helixcode.com> * gui/control-factory.c (set_prop): Removed debugging message. (control_factory_init): Ditto. * gui/calendar-commands.c (calendar_set_uri): Ditto. * gui/main.c (main): Ditto. svn path=/trunk/; revision=6762
* New function to generate a title and convert it from UTF8 before settingFederico Mena Quintero2000-12-022-10/+32
| | | | | | | | | | | | 2000-12-01 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (set_title_from_comp): New function to generate a title and convert it from UTF8 before setting it on the window. (save_event_object): Uset set_title_from_comp(). (event_editor_set_event_object): Likewise. svn path=/trunk/; revision=6761
* Writes out passwords (to .gnome_private) in our patented proprietary "BestDan Winship2000-12-026-8/+136
| | | | | | | | | | | | | | | | | | | | * session.c (mail_session_remember_password): Writes out passwords (to .gnome_private) in our patented proprietary "Best Awesome Super Encryption 64" ("BASE64") format which could not possibly ever be cracked by even the most cryptographically knowledgeable five-year-olds. (mail_session_init): Load remembered passwords at startup. (mail_session_forget_passwords): Erase them from disk as well as memory. * mail-config.c: Add "remember_password" field to MailConfigService. (mail_config_write_on_exit): Call mail_session_remember_password for services with "remember_password" set. * mail-config-gui.c: Add "remember password" checkbox to the dialogs, and make it appear and disappear as appropriate. svn path=/trunk/; revision=6760
* Unref the store regardless of whether or not we're using it, so we don'tDan Winship2000-12-021-1/+2
| | | | | | | | * component-factory.c (mail_load_storages): Unref the store regardless of whether or not we're using it, so we don't leak references to non-storage stores. svn path=/trunk/; revision=6759
* Perform better error-handling.Jeffrey Stedfast2000-12-022-2/+10
| | | | | | | | | 2000-12-01 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (e_mail_address_new): Perform better error-handling. svn path=/trunk/; revision=6758
* Redid all the keyboard shortcuts to comply with GNOME standards. RemovedAnna Marie Dirks2000-12-025-62/+71
| | | | | | | | | | | | 2000-12-01 Anna Marie Dirks <anna@helixcode.com> * evolution.xml: Redid all the keyboard shortcuts to comply with GNOME standards. Removed unnecessary shortcuts from less commonly used menu items, changed all references to "alt", etc. * evolution-addressbook.xml: see above * evolution-mail.xml: see above * evolution-calendar.xml: Same as above, but I also reorganized menus slightly by moving "new appointment" from the edit menu to the file menu. svn path=/trunk/; revision=6757
* Don't g_return_if_fail if the service is already disconnected. JustDan Winship2000-12-023-3/+17
| | | | | | | | | | | | * camel-service.c (camel_service_disconnect): Don't g_return_if_fail if the service is already disconnected. Just return. * providers/pop3/camel-pop3-store.c (pop3_try_authenticate): Return FALSE (don't try again) if we get CAMEL_POP3_FAIL. (pop3_connect): If we don't succeed, disconnect. svn path=/trunk/; revision=6756
* gnome-vfs depends on gconf, so add that.Dan Winship2000-12-022-0/+6
| | | | | | * README: gnome-vfs depends on gconf, so add that. svn path=/trunk/; revision=6755
* Updated russian translation.Valek Frob2000-12-012-792/+1191
| | | | svn path=/trunk/; revision=6754
* use mail_op_set_message_plainRadek Doulik2000-12-014-5/+41
| | | | | | | | | | | | | | 2000-12-01 Radek Doulik <rodo@helixcode.com> * mail-ops.c (mail_op_report_status): use mail_op_set_message_plain * mail-threads.c (mail_op_set_message_plain): plain version of mail_op_set_message, doesn't use printf, passes message untouched, use set_message (mail_op_set_message): set_message (set_message): helper function svn path=/trunk/; revision=6753
* Fix a possible bug where 'name' could be uninitialized.Jeffrey Stedfast2000-12-012-1/+5
| | | | | | | | | | | | | | 2000-11-30 Jeffrey Stedfast <fejj@helixcode.com> * providers/imap/camel-imap-store.c (parse_list_response_as_folder_info): Fix a possible bug where 'name' could be uninitialized. * camel-folder-summary.c (camel_message_info_new): New convenience function, doesn't do much but it sure makes code cleaner to read. (camel_message_info_new_from_header): This one makes my life heaven. svn path=/trunk/; revision=6752
* Translations from KeldKenneth Christiansen2000-12-011-1496/+1199
| | | | | | | | | | balsa/po/da.po evolution/po/da.po Tag: gedit-1-0 gedit/po/da.po Tag: v_1_0_x pybliographer_stable/po/da.po svn path=/trunk/; revision=6751
* Use camel_message_info_free() instead of freeing everything by hand - isJeffrey Stedfast2000-12-012-32/+12
| | | | | | | | | | | | | 2000-11-30 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_filter_message): Use camel_message_info_free() instead of freeing everything by hand - is this a new function? I don't ever recall seeing this before. Also use my new function, camel_message_info_new_from_header - ahhh... this code is now so beatiful. Okay, I'm done. svn path=/trunk/; revision=6750
* New convenience function, doesn't do much but it sure makes code cleanerJeffrey Stedfast2000-12-013-0/+62
| | | | | | | | | | 2000-11-30 Jeffrey Stedfast <fejj@helixcode.com> * camel-folder-summary.c (camel_message_info_new): New convenience function, doesn't do much but it sure makes code cleaner to read. (camel_message_info_new_from_header): This one makes my life heaven. svn path=/trunk/; revision=6749
* Debug message cleanups (comp_from_remote_record): Properly set the icalJP Rosevear2000-12-013-26/+53
| | | | | | | | | | | | | | | | | 2000-11-30 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.c: Debug message cleanups (comp_from_remote_record): Properly set the ical description field * conduits/calendar/calendar-conduit.c (is_empty_time): New utility functions that look for all 0's in a struct tm (comp_from_remote_record): use above (local_record_from_comp): Correctly set the repeatForever value so that we repeat forever instead of a really long time (comp_from_remote_record): Only set the cal component recurrence until field when repeatForever is 0 svn path=/trunk/; revision=6748
* ugh, it helps when you save the ChangeLog before commiting it :)Jeffrey Stedfast2000-12-012-3/+2
| | | | svn path=/trunk/; revision=6747
* Bumped required gal version to 0.2.99.4 for e_str_make_safe.Jeffrey Stedfast2000-12-013-7/+17
| | | | | | | | | | | 2000-11-30 Jeffrey Stedfast <fejj@helixcode.com> * configure.in: Bumped required gal version to 0.2.99.4 for e_str_make_safe. * README: Added some necessary :'s in the pilot-link cvs stuff. svn path=/trunk/; revision=6746
* Don't display a dialog, instead inform the user that there was no new mailJeffrey Stedfast2000-12-015-28/+47
| | | | | | | | | | | | | | | | | 2000-11-30 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (cleanup_fetch_mail): Don't display a dialog, instead inform the user that there was no new mail by setting a status message. * message-list.c (message_list_drag_data_get): Use the new e_str_make_safe function. * mail-display.c (make_safe_filename): And here. * mail-config.c (mail_config_folder_to_cachename): Here too. svn path=/trunk/; revision=6745
* Bump the version to 0.2.99.4Jeffrey Stedfast2000-12-012-5/+20
| | | | | | | | | | | | | 2000-11-30 Jeffrey Stedfast <fejj@helixcode.com> * configure.in: Bump the version to 0.2.99.4 * gal/util/e-util.c (e_strstrcase): This should return a const gchar *. (e_str_make_safe): New convenience function to replace risky chars with an underscore. svn path=/trunk/; revision=6744
* Handle the case where the summary failed to load - clear the summary andJeffrey Stedfast2000-12-012-2/+13
| | | | | | | | | | | 2000-11-30 Jeffrey Stedfast <fejj@helixcode.com> * providers/imap/camel-imap-summary.c (camel_imap_summary_new): Handle the case where the summary failed to load - clear the summary and then set the dirty bit so that it is sure to save later. Is this the right fix? svn path=/trunk/; revision=6743
* Remove unused variable.Dan Winship2000-12-012-1/+5
| | | | | | | * camel-exception.c (camel_exception_setv): Remove unused variable. svn path=/trunk/; revision=6742
* fixed a bug that caused the calendar to segfault when the iTip control wasJesse Pavel2000-12-012-0/+8
| | | | | | | * gui/e-itip-control.c: fixed a bug that caused the calendar to segfault when the iTip control was destroyed. svn path=/trunk/; revision=6741
* Empty by_day entries are no longer indicated by ICAL_RECURRENCE_ARRAY_MAXJP Rosevear2000-12-012-4/+61
| | | | | | | | | | | 2000-11-30 JP Rosevear <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c (local_record_from_comp): Empty by_day entries are no longer indicated by ICAL_RECURRENCE_ARRAY_MAX not SHRT_MAX. Calculate weekly and monthly by date recurrences properly (get_pilot_day): Convert ical day to corresponding integer for pilot day svn path=/trunk/; revision=6740
* Update to use EStrv in appropriate places (wrapped with #ifdef DOESTRV forJeffrey Stedfast2000-12-012-4/+29
| | | | | | | | | | 2000-11-30 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_filter_message): Update to use EStrv in appropriate places (wrapped with #ifdef DOESTRV for the moment). svn path=/trunk/; revision=6739
* Debug message cleanups (get_ical_day): Fix off-by-one error which affectedJP Rosevear2000-12-012-36/+43
| | | | | | | | | | | | | | 2000-11-30 JP Rosevear <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c: Debug message cleanups (get_ical_day): Fix off-by-one error which affected weekly occurences. (comp_from_remote_record): Monthly by day and by date were reversed (nth_weekday): function taken from event-editor.c that encodes BYDAY values - this needs to be in libical really. (comp_from_remote_record): Don't set the description if the pilot note is null. Rejig so that we don't have to free objects. svn path=/trunk/; revision=6738
* Updated Polish translationChyla Zbigniew2000-12-012-1025/+1907
| | | | svn path=/trunk/; revision=6737
* Update againKjartan Maraas2000-11-301-733/+762
| | | | svn path=/trunk/; revision=6736
* Put back the non-modified version of the toolsKjartan Maraas2000-11-302-35/+77
| | | | svn path=/trunk/; revision=6735
* Updated Norwegian (bokmål) translation.Kjartan Maraas2000-11-305-2075/+2183
| | | | | | | | 2000-11-30 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. svn path=/trunk/; revision=6734
* Fix typename of args (for all funcs). (e_strv_set_ref): Assert the indexNot Zed2000-11-303-21/+37
| | | | | | | | | | | | 2000-11-30 Not Zed <NotZed@HelixCode.com> * e-memory.c (e_strv_new): Fix typename of args (for all funcs). (e_strv_set_ref): Assert the index is in range. (e_strv_set_ref_free): " (e_strv_set): " (e_strv_get): " svn path=/trunk/; revision=6733
* Set threaded view before setting the folder (cleanup some flash onsNot Zed2000-11-304-101/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-30 Not Zed <NotZed@HelixCode.com> * mail-ops.c (cleanup_load_folder): Set threaded view before setting the folder (cleanup some flash ons tartup). * message-list.c (message_list_init): Initialise a mempool for uid string storage. (new_id_from_uid): Added messagelist arg, allocate strings from uid_pool. (new_id_from_subject): Same. Fixed all callers. (remove_node_diff): Dont free uid here. (build_flat_diff): Nor here. (clear_tree): Flush the mempool, rather than freeing the id's directly. (free_tree_ids): Removed, no longer required. (free_tree_ids): Likewise. (message_list_init): Dont connect to the table destroy signal anymore to free the uid table. (message_list_destroy): Free the uid pool here. (*): Use accessors for messageid stuff. (content_is_attachment): Removed, no longer required. (ml_tree_value_at): Get the attachment flag directly from the summary. (ml_tree_value_at): For 'fake' nodes, try and do something better than "?" for from, to, and size. (subtree_size): New function, add up the total size of a subtree. (subtree_earliest): Get the earliest date from a subtree. (ml_tree_value_at): Return earliest date sent/received for fake nodes. (ml_tree_value_at): Return something to mark a fake subject line as a fake subject, although i dont know, i guess this buggers up sorting ... (subtree_size): Check the info node is still there. (subtree_earliest): Same here. (subtree_unread): And here. The info node might vanish if the folder has changed/is changing and we try and redraw stuff while its doing it. (message_list_drag_data_get): Use accessors. svn path=/trunk/; revision=6732
* Remove assertion that content is there, when it no longer can be.Not Zed2000-11-3022-279/+654
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-30 Not Zed <NotZed@HelixCode.com> * providers/local/camel-mbox-folder.c (mbox_get_message): Remove assertion that content is there, when it no longer can be. * camel-folder-summary.h: Removed pos/bodypos/endpos from camelmeessagecontentinfo. (CamelMessageFlags): Added an attachments flag. * providers/local/camel-local-summary.h: Added load virtual function. * tests/lib/folders.c (test_message_info): Accessors. (test_folder_message): " * camel-folder-thread.c (get_root_subject): Fix accessors. (dump_tree_rec): " * camel-folder-search.c (camel_folder_search_execute_expression): Accessors for messageinfo. (search_match_all): " (search_header_contains): " (search_header_contains): " (search_body_contains): " (camel_folder_search_execute_expression): Use mepool_strdup. * providers/local/camel-mbox-summary.c (summary_update): Accessors for messageinfo. (mbox_summary_sync_full): " * providers/local/camel-mh-summary.c (remove_summary): Accessors for messageinfo. (mh_summary_check): " (mh_summary_sync_message): " (mh_summary_sync): " * providers/local/camel-mh-folder.c (mh_append_message): Use accessor for uid. * providers/local/camel-local-summary.c (local_summary_decode_x_evolution): Use accessor to uid. (local_summary_encode_x_evolution): Likewise. (message_info_new): And here. (camel_local_summary_load): Call virtual load function. (local_summary_load): Default load function, load summary. (camel_local_summary_load): Check file exists before trying to load. (camel_local_summary_construct): Turn off building content info! (CAMEL_LOCAL_SUMMARY_VERSION): Bump, since we dont build content info anymore. (camel_local_summary_load): After a successful load/check, do a save too so we dont have to go through it again randomly. * providers/nntp/camel-nntp-utils.c (get_XOVER_headers): Use accessors for messageinfo. * providers/nntp/camel-nntp-folder.c (nntp_folder_get_uids): Use accessors for uid. * providers/imap/camel-imap-folder.c (imap_refresh_info): Use accessor for uid. (imap_sync): Likewise. (imap_get_uids): Likewise. (imap_update_summary): And here. * providers/vee/camel-vee-folder.c (vfolder_remove_match): Use accessor for uid. (vfolder_add_match): Handle estrv stuff. (vfolder_change_match): Accessor for uid. (get_real_message): " (vee_get_uids): " (vee_folder_build): " + estrv. (vee_folder_build_folder): " * providers/local/camel-maildir-folder.c (maildir_append_message): Use acccessors for uid's. (maildir_get_message): Here too. * providers/local/camel-maildir-summary.c (camel_maildir_summary_init): Setup the string count for us. (message_info_new): Access the string array directly. (message_info_free): No need to free string if using array. (camel_maildir_summary_info_to_name): Use accessor to get to uid. (remove_summary): And here. (maildir_summary_check): Likewise. (maildir_summary_sync): And here. (maildir_summary_load): Load up a cache of uid->filename mappings before loading the actual summary file. This saves us having to waste the diskspace storing the filenames in the summary itself, and also helps us sync the summary better on load. (message_info_load): If we have the load_map setup, and the uid exists, then set the filename cache from it, and update the flags from the name, incase our summary mismatches it. * camel-folder-summary.c (camel_folder_summary_init): Setup string count for compressed info record. An optional compile mode which stores all strings for a given messageinfo into a packed array, which should save 36-50 bytes/record. (camel_folder_summary_info_new): Init the string array. (message_info_new): Set the string array items, as required. (message_info_load): And here too. (message_info_save): Use accessors to get to strings. (message_info_free): Free strings as one. (camel_message_info_dup_to): Handle packed array case. (camel_folder_summary_add): Use accessors. And pack the strv before storing it. (summary_assign_uid): New function to assign a unique uid to a message, if it doesn't have one. (camel_folder_summary_add): Call assign_uid instead of doing it ourselves. (camel_folder_summary_info_new_from_parser): " (camel_folder_summary_info_new_from_message): " (camel_folder_summary_encode_string): constify. (camel_folder_summary_encode_token): " (summary_build_content_info_message): Fix accessors to messageinfo. (CAMEL_FOLDER_SUMMARY_VERSION): Bumped, for removal of contentinfo->pos data. (camel_folder_summary_info_new_from_parser): Calculate the size based on the parser position, not the removed contentinfo stuff. (camel_folder_summary_info_new_from_message): Remove size stuff. (camel_folder_summary_offset_content): Removed, no longer means anything. (content_info_new): (content_info_load): (content_info_save): (summary_build_content_info): Remove stuff for contentinfo->pos*. (summary_build_content_info): Take a msginfo argument, set attachments flag if we find any attachments. (summary_build_content_info_message): set attachments flag if we find any attachments. (camel_folder_summary_info_new_from_parser): Always scan the content info, even if we dont save it. (camel_folder_summary_info_new_from_message): And here too. (summary_build_content_info): Only create the contentinfo stuff if we have it turned on, otherwise just parse and discard. (summary_build_content_info_message): Likewise. svn path=/trunk/; revision=6731
* Updated russian translation.Valek Frob2000-11-302-76/+105
| | | | svn path=/trunk/; revision=6730
* Finished the calendar architecture chapter.Federico Mena Quintero2000-11-304-6/+152
| | | | | | | | | 2000-11-29 Federico Mena Quintero <federico@helixcode.com> * calendar/architecture.sgml: Finished the calendar architecture chapter. svn path=/trunk/; revision=6729
* Implement. (message_list_init): Connect the d&d signal.Jeffrey Stedfast2000-11-302-22/+14
| | | | | | | | | | | | | 2000-11-29 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (message_list_drag_data_get): Implement. (message_list_init): Connect the d&d signal. * mail-ops.c (do_save_messages): Use camel a bit more to help us out. Don't create the file ourselves, treat it as a CamelFolder so we don't have to worry about formatting. svn path=/trunk/; revision=6728
* removed #ifdef ENABLE_NLS/#endif on Miguel's request.Gediminas Paulauskas2000-11-307-12/+7
| | | | | | | | 2000-11-30 Gediminas Paulauskas <menesis@delfi.lt> removed #ifdef ENABLE_NLS/#endif on Miguel's request. svn path=/trunk/; revision=6727
* Update pilot infoJP Rosevear2000-11-302-6/+7
| | | | | | | | 2000-11-29 JP Rosevear <jpr@helixcode.com> * README: Update pilot info svn path=/trunk/; revision=6726
* Updated the gtk-doc comment.Jeffrey Stedfast2000-11-302-4/+7
| | | | | | | | | 2000-11-29 Jeffrey Stedfast <fejj@helixcode.com> * camel-store.c (camel_store_get_folder): Updated the gtk-doc comment. svn path=/trunk/; revision=6725
* Use camel a bit more to help us out. Don't create the file ourselves,Jeffrey Stedfast2000-11-302-15/+40
| | | | | | | | | | 2000-11-29 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (do_save_messages): Use camel a bit more to help us out. Don't create the file ourselves, treat it as a CamelFolder so we don't have to worry about formatting. svn path=/trunk/; revision=6724
* Remove no-longer-needed e_unicode_init.Dan Winship2000-11-302-2/+2
| | | | | | * main.c (main): Remove no-longer-needed e_unicode_init. svn path=/trunk/; revision=6723
* Remove no-longer-needed e_unicode_init.Dan Winship2000-11-302-2/+4
| | | | | | * component/main.c (main): Remove no-longer-needed e_unicode_init. svn path=/trunk/; revision=6722
* Use iconv instead of unicode_iconv.Dan Winship2000-11-303-27/+31
| | | | | | | * camel-mime-utils.c: * camel-mime-filter-charset.c: Use iconv instead of unicode_iconv. svn path=/trunk/; revision=6721
* Bump required gal version to 0.2.99.3 for iconv changesDan Winship2000-11-302-3/+8
| | | | | | | * configure.in: Bump required gal version to 0.2.99.3 for iconv changes svn path=/trunk/; revision=6720
* Move away from unicode_iconv*. We still need libunicode for utf8Dan Winship2000-11-301-25/+9
| | | | | | | | | | | | | | | | | | | | | | | | strings functions, but that will go away eventually. * configure.in: Add a check for libiconv, which is required if your system doesn't have iconv in libc, or has glibc 2.1.2. Bump the gal version number to 0.2.99.3 * tests/Makefile.am (LDADD): add ICONV_LIBS * gal/widgets/Makefile.am (libwidgets_la_LDFLAGS): Add ICONV_LIBS * gal/widgets/e-unicode.c: Use iconv rather than libunicode for iconv()ing. (e_unicode_init): No longer needed * gal/widgets/e-font.c: Use iconv rather than libunicode for iconv()ing. (e_iconv_{from,to}_gdk_font): renamed from e_uiconv... * gal/widgets/test-e-font.c: No longer need to e_unicode_init(). svn path=/trunk/; revision=6719
* Fix some off-by-one-ness.Dan Winship2000-11-303-4/+12
| | | | | | | | | | * providers/imap/camel-imap-command.c (imap_read_untagged): Fix some off-by-one-ness. * camel-stream-buffer.c (stream_read): Fix another bug found in previously-unused code here. svn path=/trunk/; revision=6718
* Fix the allocation here (again) and put a comment explaining it. (Fixes aDan Winship2000-11-302-1/+14
| | | | | | | | * mail-tools.c (mail_tool_quote_message): Fix the allocation here (again) and put a comment explaining it. (Fixes a crash when replying.) svn path=/trunk/; revision=6717
* added some <glossterms>, added linkends to existing glossterms.Aaron Weber2000-11-3020-214/+684
| | | | | | | | | | | | | | | | | | | 2000-11-29 Aaron Weber <aaron@helixcode.com> * C/config-setupassist.sgml: added some <glossterms>, added linkends to existing glossterms. 2000-11-28 Aaron Weber <aaron@helixcode.com> * C/evolution-guide.sgml: Changed intro to Config section. Now defines what, exactly, "configurable" means. * C/usage-print.sgml: Stylistic revisions. * C/usage-calendar.sgml: Stylistic revisions. * C/usage-contact.sgml: Stylistic revisions. svn path=/trunk/; revision=6716
* Added an id for the API reference <part>. Added the FDL <legalnotice>.Federico Mena Quintero2000-11-3022-174/+1926
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-29 Federico Mena Quintero <federico@helixcode.com> * evolution-devel-guide.sgml: Added an id for the API reference <part>. Added the FDL <legalnotice>. Added the preface and toplevel reference entities. Added entities for Evolution, Wombat, and Camel. Added an appendix for the GNU FDL. * preface.sgml: New file with the introduction to the Evolution Developer's Guide. * reference.sgml: Split the toplevel reference part into its own file. * fdl.sgml: Added the GNU Free Documentation License. * calendar/evolution-calendar.sgml: Added an id for the <part>. * calendar/public-reference.sgml: Added an id for the <reference>. Moved this file over from calendar/reference.sgml. * Makefile.am (local_entities): Added a list of the SGML files that define entities for inclusion in the toplevel document. This way we can track documentation file dependencies down to all levels. (html/index.html): Made the toplevel document depend on $(local_entities). Also, removed the "html" target and put its contents directly here; this way we avoid having .PHONY targets. (EXTRA_DIST): Removed the evolution_devel_guideDATA; it made no sense. (content_files): Added preface.sgml and reference.sgml. svn path=/trunk/; revision=6715
* Added a copy of the GNU Free Documentation License.Federico Mena Quintero2000-11-303-0/+363
| | | | | | | | | | | 2000-11-29 Federico Mena Quintero <federico@helixcode.com> * COPYING-DOCS: Added a copy of the GNU Free Documentation License. * Makefile.am (EXTRA_DIST): Added COPYING-DOCS. svn path=/trunk/; revision=6714
* Upgrade of the alarm framework. We now access alarms by a uniqueFederico Mena Quintero2000-11-303-37/+240
| | | | | | | | | | | | | | | | | | | | | | | | 2000-11-28 Federico Mena Quintero <federico@helixcode.com> Upgrade of the alarm framework. We now access alarms by a unique identifier. This UID is added as an extension property to alarm subcomponents when their parent components are scanned by CalComponent. * cal-util/cal-component.c (CalComponentPrivate): Added a hash table of alarm UIDs -> alarm properties. (cal_component_init): Initialize priv->alarm_uid_hash. (free_icalcomponent): Free the elements in the priv->alarm_uid_hash. (scan_alarm): New function to add scan an alarm subcomponent and ensure that it has an alarm UID extension property so that we can add it to our mapping table. (cal_component_get_first_alarm): Removed function. (cal_component_get_next_alarm): Removed function. (cal_component_get_alarm_uids): New function. (cal_component_get_alarm): New function. svn path=/trunk/; revision=6713
* Builddir != srcdir loving.Ettore Perazzoli2000-11-293-1/+8
| | | | svn path=/trunk/; revision=6712
* Add a missed unref.Not Zed2000-11-2924-119/+326
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-29 Not Zed <NotZed@HelixCode.com> * tests/message/test2.c (main): Add a missed unref. * camel-stream-mem.c (camel_stream_mem_set_buffer): We must set ourselves as the owner of the byte-array. Weird, someone has modified this file (its been reindented), but i can't see any changelogs ... * tests/lib/messages.c (content_finalise): Fix memleak in tester, free byte array when our content object is deleted. * camel-folder-search.c (camel_folder_search_finalize): Yeah great, so the sexp is a gtk object, not a camel object. Isn't that going to be fun to fix? * camel-session.c (camel_session_finalise): Free the storage path. * providers/local/camel-local-store.c (camel_local_store_init): If store->folders is setup, free it first, then overwrite. Hmm, this seems a bit crappy to me. * camel-store.c (camel_store_init): Dont setup store->folders if its already setup. * camel-exception.c (camel_exception_setv): Removed a memleak. no need to strdup after a strdup_printf!!! * camel-address.c (camel_address_finalize): Free the address ptrarray, once finished. * providers/local/camel-local-folder.c (local_finalize): Make sure we dont leave the folder locked on close. (local_finalize): Free summary/search. * providers/local/camel-mh-summary.c (mh_summary_next_uid_string): Small memleak, always free name after using it. * camel-mime-part.c (set_content_object): Free txt after setting the header. * providers/local/camel-maildir-summary.c (maildir_summary_check): Fix a memleak, close the dir after scanning new. (message_info_free): Added so we can free the filename cached in the messageinfo. (camel_maildir_summary_finalise): Free the hostname. * tests/folder/test[12].c (main): Clear out camel-test before starting. * providers/local/camel-mbox-summary.c (mbox_summary_sync_quick): Because encode_x_evolution folds the line (sigh, because encode_param does, unlike every other function in camel-mime-utils), unfold the encoded result before comparing. (mbox_summary_sync_quick): Another small memleak, free xevnew once finished with it. * camel-mime-utils.c (header_decode_quoted_string): Removed a redundant check for c=0. (header_unfold): New function to un-fold headers. * providers/local/camel-local-summary.c (local_summary_encode_x_evolution): some problems with encoding tags, using the wrong output strings. (local_summary_encode_x_evolution): We dont need to append a ; either, param_list_format_append() will do it for us. ` svn path=/trunk/; revision=6711
* Plug a memleak, need to free results from term_eval(). (term_eval_gt):Not Zed2000-11-293-0/+28
| | | | | | | | | | | | | | | | | 2000-11-29 Not Zed <NotZed@HelixCode.com> * e-sexp.c (term_eval_lt): Plug a memleak, need to free results from term_eval(). (term_eval_gt): (term_eval_eq): 2000-11-27 Not Zed <NotZed@HelixCode.com> * e-memory.c (e_mempool_new): Added some locking to global data. This should make the interfaces mt-safe, although each object is only per-thread safe. svn path=/trunk/; revision=6710
* ShushJP Rosevear2000-11-297-4/+37
| | | | svn path=/trunk/; revision=6709
* Return a struct rather than a pointer to a struct (compare):JP Rosevear2000-11-295-111/+65
| | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-28 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.c (local_record_to_pilot_record): Return a struct rather than a pointer to a struct (compare): local_record_to_pilot_record now returns a struct (prepare): ditto (free_prepare): remove as per gnome-pilot changes (conduit_get_gpilot_conduit): don't listen for free_prepare signal * conduits/calendar/calendar-conduit.c: Same as above 2000-11-28 JP Rosevear <jpr@helixcode.com> * conduit/address-conduit.c (local_record_to_pilot_record): Return a struct rather than a pointer to a struct (view_cb): kill warning (compare): local_record_to_pilot_record now returns a struct (prepare): ditto (free_prepare): remove as per gnome-pilot changes (conduit_get_gpilot_conduit): don't listen for free_prepare signal svn path=/trunk/; revision=6708
* Reformatted the table spec to make it easier to read.Federico Mena Quintero2000-11-294-32/+74
| | | | | | | | | | | | 2000-11-28 Federico Mena Quintero <federico@helixcode.com> * gui/e-calendar-table.c (E_CALENDAR_TABLE_SPEC): Reformatted the table spec to make it easier to read. * gui/tag-calendar.c: Oops, Damon wrote this, not me. Fixed the Authors line. svn path=/trunk/; revision=6707
* finished 12-hour support and tried to tidy up & comment the drawing codeDamon Chaplin2000-11-299-358/+719
| | | | | | | | | | | 2000-11-28 Damon Chaplin <damon@helixcode.com> * gui/e-day-view*.[hc]: * gui/e-week-view*.[hc]: finished 12-hour support and tried to tidy up & comment the drawing code in places. Also fixed a couple of bugs I spotted. All the options on the 'Calendar' page should now work. svn path=/trunk/; revision=6706
* Updated Spanish translationHector Garcia2000-11-292-652/+631
| | | | svn path=/trunk/; revision=6705
* Wait until after setting up the local storage to find theDan Winship2000-11-293-11/+16
| | | | | | | | | | * component-factory.c (owner_set_cb): Wait until after setting up the local storage to find the Drafts/Outbox/Sent folders. * mail-ops.c (do_setup_folder): Use the file: store rather than mbox:. svn path=/trunk/; revision=6704
* Add USE_FLOCK, USE_FCNTL, USE_FLOCKJP Rosevear2000-11-295-6/+43
| | | | | | | | | | | | | | 2000-11-28 JP Rosevear <jpr@helixcode.com> * acconfig.h: Add USE_FLOCK, USE_FCNTL, USE_FLOCK * configure.in: Auto* magic for various camel locking types 2000-11-28 JP Rosevear <jpr@helixcode.com> * camel-lock.c: No longer hard code the enabled lock types svn path=/trunk/; revision=6703
* Don't set exception to g_strerror (errno) when nread == 0, because itDan Winship2000-11-292-1/+6
| | | | | | | | * camel-remote-store.c (remote_recv_line): Don't set exception to g_strerror (errno) when nread == 0, because it won't have been set. svn path=/trunk/; revision=6702
* Removed debugging shizz.Jesse Pavel2000-11-292-12/+5
| | | | svn path=/trunk/; revision=6701
* Added Save As...Jeffrey Stedfast2000-11-292-0/+8
| | | | | | | | 2000-11-28 Jeffrey Stedfast <fejj@helixcode.com> * evolution-mail.xml: Added Save As... svn path=/trunk/; revision=6700
* Added the SaveAs bonobo menu verb thingy.Jeffrey Stedfast2000-11-296-38/+94
| | | | | | | | | | | | | | | | | 2000-11-28 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c: Added the SaveAs bonobo menu verb thingy. * mail-callbacks.c (save_msg): New callback for saving messages. (save_msg_ok): * folder-browser.c (on_right_click): Add a Save Ass menu item. * mail-ops.c (cleanup_save_messages): Save all emails to the path given. svn path=/trunk/; revision=6699
* Don't try to free things if they haven't been set yet.Dan Winship2000-11-292-2/+9
| | | | | | | * providers/pop3/camel-pop3-folder.c (pop3_finalize): Don't try to free things if they haven't been set yet. svn path=/trunk/; revision=6698
* Fix the initial unread counts after the last patch.Dan Winship2000-11-292-1/+9
| | | | | | | * mail-local.c (cleanup_register_folder): Fix the initial unread counts after the last patch. svn path=/trunk/; revision=6697
* send NULL so we don't have to clear the exceptionJeffrey Stedfast2000-11-291-2/+1
| | | | svn path=/trunk/; revision=6696
* Clear the exception if EHLO fails before trying HELO in the cases whereJeffrey Stedfast2000-11-292-0/+8
| | | | | | | | | | 2000-11-28 Jeffrey Stedfast <fejj@helixcode.com> * providers/smtp/camel-smtp-transport.c (smtp_connect): Clear the exception if EHLO fails before trying HELO in the cases where the SMTP provider doesn't announce its ESMTPness. svn path=/trunk/; revision=6695
* Updated russian translation.Valek Frob2000-11-282-647/+361
| | | | svn path=/trunk/; revision=6694
* Set the info size's properly, oops!Not Zed2000-11-2823-55/+1184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-28 Not Zed <NotZed@HelixCode.com> * providers/local/camel-maildir-summary.c (camel_maildir_summary_init): Set the info size's properly, oops! * tests/lib/folders.[ch]: Folder testing helpers. * tests/folder/test2.c: Test basic message ops on folders. * tests/folder/test1.c (main): Test basic folder ops on (local) stores. * providers/local/camel-local-provider.c (camel_provider_module_init): Removed some debug. * providers/local/camel-maildir-folder.c (camel_maildir_folder_class_init): fix parent class. * providers/local/camel-mh-folder.c (camel_mh_folder_class_init): Fix parent class (damn cut & paste). * providers/local/camel-maildir-store.c (get_folder): Call parent impl. (camel_maildir_store_class_init): Fix parent class setup. (delete_folder): Check the folder exists before trying to delete it. (delete_folder): Try and make the delete operation atomic/rollback failures. e.g. if one directory isn't empty, then create the other empty ones back. Also clear the tmp directory fully first. * providers/local/camel-mbox-store.c (get_folder): Call parent impl. (camel_mbox_store_class_init): parent class is camel_local_store, not camel_folder, oops. (delete_folder): Return an error if it doesn't exist, rather than covering it up. * providers/local/camel-mh-store.c (get_folder): Call parent impl. (camel_mh_store_class_init): fix parent class setup. (delete_folder): Error if it doesn't exist now. * camel-folder.c (camel_folder_move_message_to): (camel_folder_copy_message_to): Added warnings as these functions are going to be removed later. * camel-store.c (camel_store_get_root_folder): Fix for an early api change. We want CAMEL_STORE_FOLDER_CREATE, not TRUE, since its a flag. (camel_store_get_default_folder): And here too. * providers/local/camel-local-store.c (xrename): Handle renaming folders differently to renaming files. (get_default_folder_name): local stores dont have a default folder, so make it so. Or at least, it doesn't seem to make sense to have one. (get_root_folder_name): Same for root. (get_folder): Added parent implementation, that makes sure the service path exists, if we are creating a new folder (but doesn't create the folder). 2000-11-27 Not Zed <NotZed@HelixCode.com> * providers/local/camel-local-store.c (xrename): Fixed races. Use link/unlink, rather than rename, to properly detect overwriting another file. And allow some files to be missing. * providers/Makefile.am: Removed mh, mbox, added local, to the default. svn path=/trunk/; revision=6693
* Added camel/tests/folder/MakefileNot Zed2000-11-282-0/+5
| | | | | | | | 2000-11-28 Not Zed <NotZed@HelixCode.com> * configure.in (AC_OUTPUT): Added camel/tests/folder/Makefile svn path=/trunk/; revision=6692
* Turn off index stats by default.Not Zed2000-11-285-17/+31
| | | | | | | | | | | | | | | | | 2000-11-28 Not Zed <NotZed@HelixCode.com> * index.h: Turn off index stats by default. * ibex_block.c (ibex_save): And here. (ibex_close): Debug out printfs. * wordindexmem.c (ibex_create_word_index_mem): And here. (num): Made buf static. * block.c (ibex_block_cache_open): Debug out some printfs. (ibex_block_read): And here. svn path=/trunk/; revision=6691
* add scan = scan->next; to avoid infinite loopRadek Doulik2000-11-282-0/+7
| | | | | | | | | | 2000-11-28 Radek Doulik <rodo@helixcode.com> * providers/local/camel-local-summary.c (local_summary_decode_x_evolution): add scan = scan->next; to avoid infinite loop svn path=/trunk/; revision=6690
* Translations from keldKenneth Christiansen2000-11-281-662/+599
| | | | | | | balsa/po/da.po evolution/po/da.po galeon/po/da.po gedit/po/da.po gernel/po/da.po svn path=/trunk/; revision=6689
* Make this gratuitously more complicated. No wait, I mean, fix bugs. NowDan Winship2000-11-283-52/+105
| | | | | | | | | | | | | * providers/imap/camel-imap-command.c (imap_read_untagged): Make this gratuitously more complicated. No wait, I mean, fix bugs. Now fully handles NULs in the data stream (which "can't happen" but do) and also handles responses containing multiple literals. Also does less copying than the original code. * camel-stream-buffer.c (stream_read): Fix a bug that could make it lose sync and/or overrun buffers. svn path=/trunk/; revision=6688
* This needs to run from the main thread, not the camel thread, so add aDan Winship2000-11-282-5/+22
| | | | | | | | * mail-local.c (local_folder_changed): This needs to run from the main thread, not the camel thread, so add a proxy signal handler to call mail_op_forward_event. Fixes hangs (eg bugzilla #909). svn path=/trunk/; revision=6687
* *gui/calendar-model.c: added a preliminary change to have AssignedJesse Pavel2000-11-282-3/+18
| | | | | | To-Do items have a corresponding icon. svn path=/trunk/; revision=6686
* Moved the regex filter rule around - we've changed the format a bit.Jeffrey Stedfast2000-11-2811-107/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-27 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Moved the regex filter rule around - we've changed the format a bit. * filter-option.c (option_activate): Removed. (get_widget): Don't connect the activate signal. * filter-folder.c (validate): Updated. * filter-datespec.c (validate): Updated. * filter-part.c (filter_part_validate): Updated. * filter-input.c (validate): Check the filter-input type - if it's of type "regex", then check for regex validity. * filter-element.c (filter_element_validate): No longer takes a gpointer argument. (filter_element_new_type_name): Allow type "regex" and create a new filter-input with type "regex". 2000-11-24 Michael Meeks <michael@helixcode.com> * filter-message-search.c (get_full_header): impl. (header_full_regex): use it. 2000-11-23 Michael Meeks <michael@helixcode.com> * filter-message-search.c (header_full_regex): impl. svn path=/trunk/; revision=6685
* Update - hopefully I assigned blame correctly :-)JP Rosevear2000-11-285-1/+26
| | | | | | | | | | | | | | 2000-11-27 JP Rosevear <jpr@helixcode.com> * AUTHORS: Update - hopefully I assigned blame correctly :-) * MAINTAINERS: ditto 2000-11-27 JP Rosevear <jpr@helixcode.com> * e-shell-view-menu.c (command_about_box): Add myself, anna, jesse svn path=/trunk/; revision=6684
* Correct the bonobo version error messageJP Rosevear2000-11-283-19/+39
| | | | | | | | | | 2000-11-27 JP Rosevear <jpr@helixcode.com> * configure.in: Correct the bonobo version error message * README: Update svn path=/trunk/; revision=6683
* Removed some unecessary debugging printf'sJeffrey Stedfast2000-11-282-2/+4
| | | | | | | | 2000-11-27 Jeffrey Stedfast <fejj@helixcode.com> * mail-display.c: Removed some unecessary debugging printf's svn path=/trunk/; revision=6682
* Remove "complete" fieldJP Rosevear2000-11-2810-88/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-27 JP Rosevear <jpr@helixcode.com> * conduit/address-conduit.h: Remove "complete" field * conduit/address-conduit.c (print_local): Make it print useful debug info (print_remote): ditto (local_record_from_ecard): Make sure phone numbers get out to the pilot (ecard_from_remote_record): Set phone strings to "" if they are null (sequence_complete): unref the book view (view_cb): ref the book view (free_prepare): do nothing * backend/pas/pas-backend-file.c (pas_backend_file_book_view_free): Destroy the card lists with the rest of the view. (pas_backend_file_changes): Don't destroy the card lists here (pas_backend_file_book_view_free): Free the card/id lists in the change context here, the correct place. (pas_backend_file_changes): instead of here... 2000-11-27 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.c (free_prepare): Ditto * conduits/calendar/calendar-conduit.c (free_prepare): Adjust free_prepare to the correct signal parameters. Don't actually do anything - there is a semantic discrepancy that needs to be resolved. 2000-11-27 JP Rosevear <jpr@helixcode.com> * providers/local/.cvsignore: shush svn path=/trunk/; revision=6681
* de-register a component's UI if it dies.Michael Meeks2000-11-282-0/+10
| | | | | | | | | 2000-11-15 Michael Meeks <michael@helixcode.com> * e-shell.c (e_shell_component_maybe_crashed): de-register a component's UI if it dies. svn path=/trunk/; revision=6680
* Revert the new druid for now, until the corresponding code is done, soDan Winship2000-11-283-2842/+53
| | | | | | | * mail-config-druid.glade: Revert the new druid for now, until the corresponding code is done, so that the druid will work again. svn path=/trunk/; revision=6679
* Removed mh, mbox, added local, to the default.Not Zed2000-11-272-2/+9
| | | | | | | | 2000-11-27 Not Zed <NotZed@HelixCode.com> * providers/Makefile.am: Removed mh, mbox, added local, to the default. svn path=/trunk/; revision=6678
* If we have the namecache active, and there is no name there, we add itNot Zed2000-11-274-5/+278
| | | | | | | | | | | | 2000-11-17 Not Zed <NotZed@HelixCode.com> * wordindexmem.c (add_list): If we have the namecache active, and there is no name there, we add it directly and dont look it up first. * testindex.c: Some performance testing & stat gathering stuff. svn path=/trunk/; revision=6677
* == instead of =.Damon Chaplin2000-11-272-1/+5
| | | | | | | | 2000-11-26 Damon Chaplin <damon@helixcode.com> * gui/e-day-view.c (e_day_view_set_days_shown): == instead of =. svn path=/trunk/; revision=6676
* added more support for config settings.Damon Chaplin2000-11-2710-199/+892
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-26 Damon Chaplin <damon@helixcode.com> * gui/gnome-cal.c: added more support for config settings. * gui/e-week-view.[hc]: * gui/e-day-view.[hc]: added support for setting - show event end times, week start day and 12-hour format (unfinished). * gui/e-day-view-time-item.c: started 12-hour support. * gui/tag-calendar.c (prepare_tag): use end_day + 1 since we want to include the last day. * gui/event-editor.c (set_all_day): minor change when turning all_day off - set the event end to one hour after the event start if it is on or before the start time. Also added more comments to make it a bit clearer. * cal-util/cal-recur.c (cal_obj_time_add_days): use a gint for day rather than a guint since we now support -ve days. Also fixed bug with weekly recurrences. * gui/dialogs/task-editor.c (task_editor_create_date_edit): use config settings. * gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_update_config): updated EDateEdit calls. svn path=/trunk/; revision=6675
* use a gint for day rather than a guint since we now support -ve days. AlsoDamon Chaplin2000-11-272-56/+128
| | | | | | | | * cal-util/cal-recur.c (cal_obj_time_add_days): use a gint for day rather than a guint since we now support -ve days. Also fixed bug with weekly recurrences. svn path=/trunk/; revision=6674
* use config settings.Damon Chaplin2000-11-272-18/+11
| | | | | | | | | | * gui/dialogs/task-editor.c (task_editor_create_date_edit): use config settings. * gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_update_config): updated EDateEdit calls. svn path=/trunk/; revision=6673
* updated to emit "changed" when appropriate, which turned out to beDamon Chaplin2000-11-275-465/+1185
| | | | | | | | | | | | | | | 2000-10-26 Damon Chaplin <damon@helixcode.com> * e-dateedit.[hc]: updated to emit "changed" when appropriate, which turned out to be amazingly difficult :( Also added e_date_edit_get/set_date() to get/set just the date. Added e_date_edit_date_is_valid() & e_date_edit_time_is_valid() so you can check if the user has tried to enter an invalid date. (All the get_date/time functions return the last valid date entered.) * test-dateedit.c: updated a bit. svn path=/trunk/; revision=6672
* Updated Dutch translation.Almer S. Tigelaar2000-11-262-369/+335
| | | | | | | | 2000-11-26 Almer S. Tigelaar <almer1@dds.nl> * nl.po: Updated Dutch translation. svn path=/trunk/; revision=6671
* Updated italian translation from Clara Tattoni <clara.tattoni@libero.it>Christopher R. Gabriel2000-11-262-2087/+2275
| | | | | | | | | 2000-11-26 Christopher R. Gabriel <cgabriel@softwarelibero.org> * it.po: Updated italian translation from Clara Tattoni <clara.tattoni@libero.it> svn path=/trunk/; revision=6670
* Removed e_table_col_get_arrow and e_table_col_set_arrow.Christopher James Lahey2000-11-262-28/+0
| | | | | | | | | 2000-11-25 Christopher James Lahey <clahey@helixcode.com> * e-table-col.c: Removed e_table_col_get_arrow and e_table_col_set_arrow. svn path=/trunk/; revision=6669
* Install Evolution IDL's into datadir/idl.Peter Williams2000-11-262-0/+10
| | | | svn path=/trunk/; revision=6668
* Plug leaks of the fullname and fulldefaultname.Federico Mena Quintero2000-11-255-33/+57
| | | | | | | | | | | | | | | | | | | 2000-11-25 Federico Mena Quintero <federico@helixcode.com> * e-setup.c (check_dir_recur): Plug leaks of the fullname and fulldefaultname. (check_evolution_directory): Plug leaks of defaultdir and newfiles and the list's data; made the code have a single return point. * e-shell.c (e_shell_restore_from_settings): Plug leak of prefix. (corba_class_init): Plug leak; we were not assigning the vepv->_base_epv. * evolution-storage.c (corba_class_init): Likewise. * evolution-local-storage.c (corba_class_init): Likewise. svn path=/trunk/; revision=6667
* Make the behavior of the toolbars for the message composer and theEttore Perazzoli2000-11-253-2/+8
| | | | | | task editor "exclusive". svn path=/trunk/; revision=6666
* Documented.Miguel de Icaza2000-11-256-29/+212
| | | | | | | | | | | | | | | | | | 2000-11-25 Miguel de Icaza <miguel@helixcode.com> * e-cell.c: Documented. 2000-11-24 Miguel de Icaza <miguel@helixcode.com> * e-cell-toggle.c (etog_queue_redraw): Documented. * e-cell-text.c: Removed list of unused arguments. Add docs. * e-cell-checkbox.c (e_cell_checkbox_new): Add docs. * e-table-simple.c (e_table_simple_new): Add docs. svn path=/trunk/; revision=6665
* inline documentation added.Miguel de Icaza2000-11-253-152/+430
| | | | | | | | | | | | 2000-11-24 Miguel de Icaza <miguel@helixcode.com> * e-table-header.c: inline documentation added. * e-table-col.c Added inline documentation. * e-table-model.c: Added some inline documentation. svn path=/trunk/; revision=6664
* Unref the ETable extras.Federico Mena Quintero2000-11-252-0/+7
| | | | | | | | | 2000-11-24 Federico Mena Quintero <federico@helixcode.com> * gui/e-calendar-table.c (e_calendar_table_init): Unref the ETable extras. svn path=/trunk/; revision=6663
* Plug leak; mark the CORBA sequence so that it will be released.Federico Mena Quintero2000-11-252-0/+7
| | | | | | | | | | 2000-11-24 Federico Mena Quintero <federico@helixcode.com> * evolution-shell-component.c (impl_ShellComponent__get_supported_types): Plug leak; mark the CORBA sequence so that it will be released. svn path=/trunk/; revision=6662
* DOH, fixed reversed test for the presence of the icalcomp's parent. ThisFederico Mena Quintero2000-11-253-1/+10
| | | | | | | | | | | | 2000-11-24 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (free_icalcomponent): DOH, fixed reversed test for the presence of the icalcomp's parent. This was causing memory leaks in the Wombat and elsewhere. * pcs/cal-backend.c (cal_backend_set_node_timet): Plug leak. svn path=/trunk/; revision=6661
* Use the new libical external iterators (icalcomponent_begin_component()Federico Mena Quintero2000-11-2511-1377/+45
| | | | | | | | | | | | | | | | | | | | | | | 2000-11-24 Federico Mena Quintero <federico@helixcode.com> * pcs/cal-backend-file.c (scan_vcalendar): Use the new libical external iterators (icalcomponent_begin_component() and friends); the internal iterators are deprecated. * cal-util/test-recur.c (generate_occurrences): Likewise. * gui/e-itip-control.c (pstream_load): Likewise. * gui/e-meeting-edit.c (e_meeting_edit): Likewise. * pcs/cal-backend.c (cal_backend_log_entry): Plug leak. (cal_backend_log_sync): Free the entry->uid. * util/icalendar-save.[ch]: * util/icalendar-test.c: * util/icalendar.[ch]: Removed obsolete files. svn path=/trunk/; revision=6660
* Updated Swedish translation.Christian Rose2000-11-252-318/+283
| | | | svn path=/trunk/; revision=6659
* little util to scan mailboxes for any and every address they contain.Michael Zucci2000-11-247-66/+243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/data/getaddr.pl: little util to scan mailboxes for any and every address they contain. * tests/message/test2.c (main): Added a bunch of stuff to test decoding/reencoding/etc of internationalised addresses. * tests/message/lib/address-data.h: Copy of some unicode/other testing data. **Beware** of editing this file in emacs, it'll probably try and convert all the characters to something unusable. * tests/lib/camel-test.c (camel_test_break): Add a debugger hook point. * camel-mime-utils.c (quoted_encode): Check for space and convert to _ separately. (header_decode_mailbox): Fixed the 'check comments for realname' code, problem was the domain getting code was skipping all whitespace/comments before we could get a look-in. This is approximate but fairly robust. (header_decode_text): Dont use the c-type isspace func here, we want a specific whitespace only. (header_decode_text): If we have decoded words next to each other, do not insert whitespaces between them, which is what rfc2047 requires. (header_decode_text): Make c unsigned too. svn path=/trunk/; revision=6658
* Added at least some explanation of all this stuff.Not Zed2000-11-244-12/+77
| | | | | | | | | | | | | 2000-11-24 Not Zed <NotZed@HelixCode.com> * tests/README: Added at least some explanation of all this stuff. * tests/lib/camel-test.h (check_msg): Added a non-gcc version of the fail command, we dont get the expression that failed, but no matter. Should be (more) portable now. (check, check_msg): Put the file/lineno in the default message. svn path=/trunk/; revision=6657
* Add tests.Not Zed2000-11-2421-16/+1264
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-24 Not Zed <NotZed@HelixCode.com> * Makefile.am (SUBDIRS): Add tests. * camel-mime-filter-basic.c (filter): Well, I'll add the extra bytes here too, lathough not strictly needed, might save a re-malloc when we get to complete(). * camel-mime-filter-charset.c (filter): Make sure we have room if we only convert very short data. (complete): and here too. * tests/Makefile.am: Initial test harness & tests. Requires gcc for this. * camel-internet-address.c (d): Turn off debug. * camel-charset-map.c (camel_charset_step): Oops, & masks for set intersection, not | them. Dunno how this got even close to working. 2000-11-23 Not Zed <NotZed@HelixCode.com> * camel-mime-filter-basic.c (filter): For base64 encoding, the output size for 0, 1, or 2 bytes of input can exceed input*2, so make sure we account for that as well. (complete): And here. (complete): Similarly for qp encoding, if we have a trailing space, we need some extra bytes (not needed for 'filter()', as any such bytes are stored in state/save). * camel-mime-utils.c (quoted_decode_step): Removed fixme not required. (quoted_encode_close): Dont append a trailing afterall. Otherwise a pass through the encode/decode will grow the message each time. svn path=/trunk/; revision=6656
* Added camel/tests stuff to output macro.Not Zed2000-11-242-1/+13
| | | | | | | | | | | | 2000-11-24 Not Zed <NotZed@HelixCode.com> * configure.in: Added camel/tests stuff to output macro. 2000-11-14 Not Zed <NotZed@HelixCode.com> * configure.in: Added local provider dir to output macro. svn path=/trunk/; revision=6655
* Set view.change_context to NULL in pas_backend_file_process_get_book_view.Christopher James Lahey2000-11-233-4/+15
| | | | | | | | | | | | 2000-11-22 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-backend-file.c: Set view.change_context to NULL in pas_backend_file_process_get_book_view. Changed pas_backend_file_book_view_copy a bit. * backend/pas/pas-backend-ldap.c: Got rid of a warning. svn path=/trunk/; revision=6654
* Fixed typo preventing compilation - NAME_ERROR should be LDAP_NAME_ERROR (I ↵Ross Golder2000-11-231-1/+1
| | | | | | think!) svn path=/trunk/; revision=6653
* Save the children - FedericoFederico Mena Quintero2000-11-234-11/+19
| | | | svn path=/trunk/; revision=6652
* check for return valuesRadek Doulik2000-11-222-3/+10
| | | | | | | | | 2000-11-22 Radek Doulik <rodo@helixcode.com> * camel-mime-utils.c (header_msgid_generate): check for return values svn path=/trunk/; revision=6651
* debug printfRadek Doulik2000-11-221-0/+3
| | | | svn path=/trunk/; revision=6650
* Fixed some typos to get the table to display properly.Christopher James Lahey2000-11-222-3/+3
| | | | | | | | | | | | 2000-11-22 Christopher James Lahey <clahey@helixcode.com> * gal-define-views-dialog.c: Fixed some typos to get the table to display properly. * gal-view-new-dialog.c: Fixed the string for loading the glade file for this dialog. svn path=/trunk/; revision=6649
* Patch from Eric Busboom <eric@softwarestudio.org> to fix BYDAY elements inFederico Mena Quintero2000-11-222-21/+27
| | | | | | | | | | 2000-11-21 Federico Mena Quintero <federico@helixcode.com> * src/libical/icalyacc.y: Patch from Eric Busboom <eric@softwarestudio.org> to fix BYDAY elements in monthly recurrence rule values. svn path=/trunk/; revision=6648
* Squeek - FedericoFederico Mena Quintero2000-11-221-1/+2
| | | | svn path=/trunk/; revision=6647
* 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