aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Left debug on, turned off.Michael Zucci2000-12-112-1/+2
| | | | svn path=/trunk/; revision=6899
* reordered the options and added maildir, mbox, maildir, mh, in that order.Not Zed2000-12-113-49/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-11 Not Zed <NotZed@HelixCode.com> * local-config.glade: reordered the options and added maildir, mbox, maildir, mh, in that order. * mail-local.c (reconfigure_clicked): Added maildir, re-ordered to match the changed xml file too. (do_reconfigure_folder): WHoever 'threaded' this code forgot to check that folder_browser functions shouldn't be called here. (cleanup_reconfigure_folder): Call it here instead. (lookup_folder): Blah blah, we have to lookup the folder and verify its still the same format, joy. Becaause someone thought it would be wise to make the code 5x more complicated for no reason, and totally break 'mail reconfigure' in the process. i'm really happy about that one. (cleanup_register_folder): Uh, yeah, so like, the local_store->folders hashtable is supposed to point to like, LocalFolders, not CamelFolders. (free_local_folder): Free the localfolder struct properly. (free_folder): Call above to free data properly. (get_folder): Fix for fixing folders hashtable. (local_storage_removed_folder_cb): Same here. (local_storage_new_folder_cb): Ref the local_store when putting it in the local_folder. (cleanup_register_folder): Properly free the local_folder if the op failed. (free_local_folder): Unhook events also. svn path=/trunk/; revision=6898
* Hrm, we actually want to call set_header, not add_header here, probablyNot Zed2000-12-113-18/+67
| | | | | | | | | | | | | | | | | | | | | 2000-12-11 Not Zed <NotZed@HelixCode.com> * camel-medium.c (camel_medium_set_header): Hrm, we actually want to call set_header, not add_header here, probably explains some duplicate X-Evolution headers i was trying to track down. Also changed the api to handle a NULL value == remove the header. * providers/local/camel-maildir-summary.c (maildir_summary_decode_x_evolution): Always return error, we dont use x-evolution for maildir. (maildir_summary_encode_x_evolution): Always return a NULL string, likewise. (maildir_summary_add): Hook in here, since the _new function doesn't have access to any flags from the caller. If we have flags, then update the filename again. Not ideal, but should work. svn path=/trunk/; revision=6897
* added changed flags and added calls to a new functionDamon Chaplin2000-12-118-103/+534
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-11 Damon Chaplin <damon@helixcode.com> * gui/event-editor.c: added changed flags and added calls to a new function event_editor_set_changed() to set & reset this flag. Added prompt_to_save_changed() which is called when the user selects File/Close or the window's close button. Fixed the 'All day event' toggle button. Made the 'Alarm' page sensitive as appropriate when filling widgets. (Though note that the alarm widgets are not being set yet.) * gui/dialogs/task-editor.c: added changed flag as above. * gui/event-editor-dialog.glade: used good names for all the classification radio buttons so we can access them in the code. * gui/event-editor.c (init_widgets): use the "show week numbers" config option in the recurrence preview calendar. * gui/e-day-view.c (e_day_view_update_event_label): use 9:00 instead of 09:00 in the main view, as we do everywhere else now. It means the times won't line up, but they are easier to read which I think is better. Added support for Page Up/Down, though I think it should move the selection rather than just scroll the canvas. * cal-util/cal-recur.c (generate_instances_for_chunk): removed the end parameter since we should be using the chunk end time now. Added single_rule parameter for when we are generating the occurrences of a single RRULE, in which case the event's start date is not included in the occurrences output (unless it results from the RRULE expansion). Both of these fix problems when using COUNT. * gui/gnome-cal.c (gnome_calendar_on_date_navigator_selection_changed): fixed bug when checking if the new start day starts on the week start day. If you select a complete week it should now show the Week view. svn path=/trunk/; revision=6896
* Updates from Keld achtung/po/da.po balsa/po/da.po bonobo/po/da.poKenneth Christiansen2000-12-101-2179/+1673
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates from Keld achtung/po/da.po balsa/po/da.po bonobo/po/da.po bug-buddy/po/da.po control-center-HEAD/po/da.po control-center/po/da.po dia/po/da.po dr-genius/po/da.po ee/po/da.po eog/po/da.po evolution/po/da.po gal/po/da.po galeon/po/da.po gconf/po/da.po gdm2/po/da.po Tag: gedit-1-0 gedit/po/da.po No tag gernel/po/da.po gfax/po/da.po gfloppy/po/da.po ggv/po/da.po ghex/po/da.po gimp/po/da.po gimp/po-libgimp/da.po gimp/po-plug-ins/da.po gimp/po-script-fu/da.po glade/po/da.po gnome-applets/po/da.po gnome-chess/po/da.po gnome-core/po/da.po gnome-db/po/da.po gnome-games/po/da.po gnome-iconedit/po/da.po gnome-libs-HEAD/po/da.po gnome-libs/po/da.po gnome-lokkit/po/da.po gnome-media/po/da.po gnome-pilot/po/da.po gnome-pim/po/da.po gnome-print/po/da.po gnome-utils/po/da.po gnome-vfs/po/da.po gnomeicu/po/da.po gnopo/po/da.po gnorpm/po/da.po gnumeric/po/da.po gphoto/po/da.po gtk+/po/da.po gtkhtml/po/da.po gtranslator/po/da.po guppi3/po/da.po gxsnmp/po/da.po helix-setup-tools/po/da.po libgda/po/da.po libgtop/po/da.po magicdev/po/da.po mc/po/da.po memprof/po/da.po oaf/po/da.po pan/po/da.po pong/po/da.po Tag: v_1_0_x pybliographer/po/da.po No tag rp3/po/da.po sodipodi/po/da.po xpdf/po/da.po svn path=/trunk/; revision=6895
* Connect to the "cursor_change" signal on the ETable here instead of theChristopher James Lahey2000-12-102-3/+13
| | | | | | | | | | | | | | 2000-12-09 Christopher James Lahey <clahey@helixcode.com> * gui/component/select-names/e-select-names.c (e_select_names_init): Connect to the "cursor_change" signal on the ETable here instead of the ETableScrolled. (remove_address): Added the col and event parameters to this callback to match the added parameters to the double click signal. (e_select_names_add_section): Connect to the "double_click" signal on the ETable here instead of the ETableScrolled. svn path=/trunk/; revision=6894
* Change the "drawfocus" argument on e_table_scrolled_get_table(etable)Christopher James Lahey2000-12-102-1/+7
| | | | | | | | | | 2000-12-09 Christopher James Lahey <clahey@helixcode.com> * message-list.c (message_list_init): Change the "drawfocus" argument on e_table_scrolled_get_table(etable) instead of on etable (etable is an ETableScrolled.) svn path=/trunk/; revision=6893
* Split the lines in this cell before testing whether we're to the right ofChristopher James Lahey2000-12-101-8/+12
| | | | | | | | | | 2000-12-09 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c (_blink_scroll_timeout): Split the lines in this cell before testing whether we're to the right of the right edge of the text data (since that test uses the split lines.) svn path=/trunk/; revision=6892
* upd.Michael Meeks2000-12-102-2/+10
| | | | svn path=/trunk/; revision=6891
* cell should be edit cast to a CurrentCell, not data cast to a CurrentCell.Christopher James Lahey2000-12-101-1/+1
| | | | | | | | | 2000-12-09 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c (_blink_scroll_timeout): cell should be edit cast to a CurrentCell, not data cast to a CurrentCell. Fixed this. svn path=/trunk/; revision=6890
* Added the actions parameter to ect_event. Added an actions field toChristopher James Lahey2000-12-108-62/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-09 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Added the actions parameter to ect_event. Added an actions field to CellEdit. Handle CellEdit properly in the ect_event function to do grabbing and ungrabbing when appropriate. Set the actions field in CellEdit when appropriate in e_cell_text_view_command. * e-cell-toggle.c, e-cell-tree.c, e-cell.c, e-cell.h: Added a ECellActions enum, a ECellActions actions parameter to e_cell_event and added the actions parameter to all the handlers of the event method including having ECellTree pass it on to its child cell. * e-table-header-item.c: Use the NULL cursor instead of the E_CURSORS_ARROW cursor. * e-table-item.c, e-table-item.h: Added grabbed_row and grabbed_col fields to ETableItem (-1 on either means ungrabbed.) Pay attention to them in the find_cell function. Handle the actions parameter of e_cell_event and grab or ungrab the pointer to a given cell if requested. This is done using the new function eti_e_cell_event (which is internal to e-table-item.c,) instead of the old e_cell_event function call. Fake an ungrabbed table when calling find_cell from within the compute_location method. svn path=/trunk/; revision=6889
* Unref the object instead of destroying it.Federico Mena Quintero2000-12-104-4/+4
| | | | | | | | | | | | | | | 2000-12-09 Federico Mena Quintero <federico@helixcode.com> * e-table-sorted.c (e_table_sorted_new): Unref the object instead of destroying it. * e-table-sorted-variable.c (e_table_sorted_variable_new): Likewise. * e-table-subset.c (e_table_subset_new): Likewise. * e-table-subset-variable.c (e_table_subset_variable_new): Likewise. svn path=/trunk/; revision=6888
* When setting the "name" argument, copy the incoming name. This fixes aChristopher James Lahey2000-12-102-1/+6
| | | | | | | | | 2000-12-09 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card.c (e_card_set_arg): When setting the "name" argument, copy the incoming name. This fixes a crash. svn path=/trunk/; revision=6887
* Made editing the name using the full name button set the file as entryChristopher James Lahey2000-12-103-38/+43
| | | | | | | | | | | 2000-12-09 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor.c: Made editing the name using the full name button set the file as entry properly. Made it so that the address parse that the user chooses after clicking on the Full Address... button gets saved. svn path=/trunk/; revision=6886
* Made it so that the editor->name is set after the entry is changed. ThisChristopher James Lahey2000-12-093-4/+12
| | | | | | | | | | 2000-12-08 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor.c (full_name_clicked): Made it so that the editor->name is set after the entry is changed. This means that the reparse that the person chose is saved. svn path=/trunk/; revision=6885
* If there are columns allocated, free them upon a destroy.JP Rosevear2000-12-092-5/+3
| | | | | | | | | | | | | 2000-12-08 JP Rosevear <jpr@helixcode.com> * e-table-state.c (etst_destroy): If there are columns allocated, free them upon a destroy. 2000-12-08 JP Rosevear <jpr@helixcode.com> * gal/widgets/e-canvas.c (e_canvas_destroy): Remove my lame "fix" svn path=/trunk/; revision=6884
* Work to get a Gtk-Doc infrastructure in place for Gal.Miguel de Icaza2000-12-0910-69/+57
| | | | | | | | Work to get a Gtk-Doc infrastructure in place for Gal. Miguel. svn path=/trunk/; revision=6883
* Check to see if the file already exists, if it does prompt the user to forJeffrey Stedfast2000-12-093-24/+121
| | | | | | | | | | | | | | | | | | | 2000-12-08 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (save_msg_ok): Check to see if the file already exists, if it does prompt the user to for permission to overwrite the file. (forward_message): g_strdup the cursor_uid if there is only a single message to be forwarded or we'll segfault later. * mail-ops.c (do_save_messages): Rewrote yet again. I'm back to almost an identical implementation as the first time I wrote this except now we write the From line which I had forgotten last time. This means that we no longer have to unlink the .ev-summary file created and we also use fewer resources (no need to create a CamelMboxFolder object). svn path=/trunk/; revision=6882
* Call the parent class destroyer as wellJP Rosevear2000-12-092-0/+8
| | | | | | | | | 2000-12-08 JP Rosevear <jpr@helixcode.com> * e-calendar.c (e_calendar_destroy): Call the parent class destroyer as well svn path=/trunk/; revision=6881
* the e-table double-click signal now has extra paramsJP Rosevear2000-12-092-1/+6
| | | | | | | | | 2000-12-08 JP Rosevear <jpr@helixcode.com> * folder-browser.c (on_double_click): the e-table double-click signal now has extra params svn path=/trunk/; revision=6880
* Don't hardcode image paths.Iain Holmes2000-12-092-3/+7
| | | | svn path=/trunk/; revision=6879
* Complete the code to associate a URI and a folder type to the toplevelEttore Perazzoli2000-12-0921-109/+304
| | | | | | | node in a storage. It sucks a bit and needs a little more refactoring. svn path=/trunk/; revision=6878
* a slight mixup in order causes "1.33 M" to be displayed as the subject...uh ↵Jeffrey Stedfast2000-12-091-4/+4
| | | | | | huh, yea... svn path=/trunk/; revision=6877
* Set the "Size" field to sort using integer comparison instead of string.Jeffrey Stedfast2000-12-092-21/+54
| | | | | | | | | | | | | | | | | | 2000-12-08 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (message_list_get_layout): Set the "Size" field to sort using integer comparison instead of string. (filter_size): New function to transform a integer size into a more readable form. (ml_value_to_string): Use filter_size. (ml_value_is_empty): COL_SIZE is no longer a string, so handle this as an integer. (ml_initialize_value): Here too. (ml_free_value): And here. (ml_duplicate_value): And here too. (message_list_create_extras): Setup the size etable cell. svn path=/trunk/; revision=6876
* Translations from keldKenneth Christiansen2000-12-091-423/+434
| | | | | | | | | balsa/po/da.po evolution/po/da.po gal/po/da.po galeon/po/da.po gnome-applets/po/da.po gnome-core/po/da.po gnome-print/po/da.po gphoto/po/da.po helix-setup-tools/po/da.po pong/po/da.po svn path=/trunk/; revision=6875
* Updated the required version of gal.Christopher James Lahey2000-12-092-3/+7
| | | | | | | | 2000-12-07 Christopher James Lahey <clahey@helixcode.com> * configure.in: Updated the required version of gal. svn path=/trunk/; revision=6874
* Connect to signals on the ETable instead of the ETableScrolled.Christopher James Lahey2000-12-093-7/+15
| | | | | | | | | | | | 2000-12-08 Christopher James Lahey <clahey@helixcode.com> * folder-browser.c: Connect to signals on the ETable instead of the ETableScrolled. * subscribe-dialog.c: Used the e_table_scrolled_get_table function instead of accessing the variable directly. svn path=/trunk/; revision=6873
* Fixed some formatting.Christopher James Lahey2000-12-095-10/+16
| | | | | | | | | | | | | | 2000-12-08 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card.c: Fixed some formatting. * contact-editor/e-contact-editor-categories.h: Removed an unneeded #include. * gui/widgets/e-addressbook-view.c: Connect to the signals on the ETable instead of the ETableScrolled. svn path=/trunk/; revision=6872
* Connect to signals on the ETable instead of the ETableScrolled.Christopher James Lahey2000-12-092-4/+9
| | | | | | | | | 2000-12-08 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Connect to signals on the ETable instead of the ETableScrolled. svn path=/trunk/; revision=6871
* Don't highlight the title if it's "Untitled" because switching widgetJeffrey Stedfast2000-12-092-1/+9
| | | | | | | | | | 2000-12-08 Jeffrey Stedfast <fejj@helixcode.com> * filter-rule.c (get_widget): Don't highlight the title if it's "Untitled" because switching widget focus doesn't cause this selection to go away. svn path=/trunk/; revision=6870
* Updated documentation comment.Federico Mena Quintero2000-12-092-1/+8
| | | | | | | | | 2000-12-08 Federico Mena Quintero <federico@helixcode.com> * e-dialog-widgets.c (e_dialog_editable_get): Updated documentation comment. svn path=/trunk/; revision=6869
* Free the strings we get from the editables.Federico Mena Quintero2000-12-093-18/+55
| | | | | | | | | | | | 2000-12-08 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (dialog_to_comp_object): Free the strings we get from the editables. * gui/dialogs/task-editor.c (dialog_to_comp_object): Likewise. This sucks; this code should be shared between the two dialogs. svn path=/trunk/; revision=6868
* Free the dates we get from the component.Federico Mena Quintero2000-12-092-0/+8
| | | | | | | | | 2000-12-08 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (fill_widgets): Free the dates we get from the component. svn path=/trunk/; revision=6867
* Attach signal handlers to the e_scrolled_table's etable rather than to theJP Rosevear2000-12-092-4/+19
| | | | | | | | | | | | 2000-12-08 JP Rosevear <jpr@helixcode.com> * gui/e-calendar-table.c (e_calendar_table_init): Attach signal handlers to the e_scrolled_table's etable rather than to the e_scrolled_table directly (e_calendar_table_on_double_click): This signal provides more params now svn path=/trunk/; revision=6866
* Add purify options for the buildJP Rosevear2000-12-092-0/+16
| | | | | | | | | 2000-12-08 JP Rosevear <jpr@helixcode.com> * component/Makefile.am (evolution-executive-summary.pure): Add purify options for the build svn path=/trunk/; revision=6865
* oopsMichael Zucci2000-12-091-0/+198
| | | | svn path=/trunk/; revision=6864
* ShushJP Rosevear2000-12-092-0/+9
| | | | svn path=/trunk/; revision=6863
* Oops, that shouldn't have gone in :-)JP Rosevear2000-12-091-2/+2
| | | | svn path=/trunk/; revision=6862
* Remove test3 from build until the files show upJP Rosevear2000-12-095-7/+14
| | | | | | | | | | | | | | 2000-12-08 JP Rosevear <jpr@helixcode.com> * tests/message/Makefile.am: Remove test3 from build until the files show up 2000-12-08 JP Rosevear <jpr@helixcode.com> * Makefile.am: Remove files from extra_dist since they are already listed svn path=/trunk/; revision=6861
* Change the sign of the default date offset when none is supplied.Not Zed2000-12-082-2/+10
| | | | | | | | | | | 2000-12-09 Not Zed <NotZed@HelixCode.com> * camel-mime-message.c (camel_mime_message_set_date): Change the sign of the default date offset when none is supplied. (camel_mime_message_set_date): Also do dst if its dst (forward 1 hour). Fixes #928 + some. svn path=/trunk/; revision=6860
* Pass "" rather than NULL to e_card_new. (local_record_from_ecard): MakeJP Rosevear2000-12-082-13/+23
| | | | | | | | | | | | | 2000-12-07 JP Rosevear <jpr@helixcode.com> * conduit/address-conduit.c (local_record_from_uid): Pass "" rather than NULL to e_card_new. (local_record_from_ecard): Make sure ecard->name is valid (check_for_slow_setting): Remove hard coded test value (card_added): g_strdup the resul of e_card_get_id (card_changed): ditto svn path=/trunk/; revision=6859
* New and improved display,Iain Holmes2000-12-0824-323/+1347
| | | | | | | | | Bug fixes memory leaks removed Preferences and probably more that I can't remember. svn path=/trunk/; revision=6858
* set "sort_info" on our sorter when we get a new sort_info to keep thingsChris Toshok2000-12-082-4/+60
| | | | | | | | | | | | | | | | | | | 2000-12-07 Chris Toshok <toshok@helixcode.com> * e-table.c (e_table_set_state_object): set "sort_info" on our sorter when we get a new sort_info to keep things in sync. * e-table-sorter.c (ets_set_arg): new function, allowing the setting of "sort_info". (ets_get_arg): new function, allowing the getting of "sort_info". (ets_class_init): fill in GtkObject::set_arg and get_arg. (ets_sort): set ets->needs_sorting to 0 so we don't sort unnecessarily. (e_table_sorter_model_to_sorted): we may have ets->backsorted (and should use it if we do) even if we didn't need to sort. (e_table_sorter_sorted_to_model): same, except ets->sorted. svn path=/trunk/; revision=6857
* Some new images for the summary.Iain Holmes2000-12-084-0/+3
| | | | svn path=/trunk/; revision=6856
* Got rid of code referencing the ETableScrolled proxy functions.Christopher James Lahey2000-12-082-3/+8
| | | | | | | | | 2000-12-07 Christopher James Lahey <clahey@helixcode.com> * gui/e-calendar-table.c: Got rid of code referencing the ETableScrolled proxy functions. svn path=/trunk/; revision=6855
* Don't include executive-summary-client.h.Dave Camp2000-12-082-1/+5
| | | | | | | | | 2000-12-07 Dave Camp <dave@helixcode.com> * evolution-services/evolution-summary-component.c: Don't include executive-summary-client.h. svn path=/trunk/; revision=6854
* Got rid of code referencing the ETableScrolled proxy functions.Christopher James Lahey2000-12-082-2/+9
| | | | | | | | | 2000-12-07 Christopher James Lahey <clahey@helixcode.com> * gui/widgets/e-addressbook-view.c: Got rid of code referencing the ETableScrolled proxy functions. svn path=/trunk/; revision=6853
* Got rid of code referencing the ETableScrolled proxy functions. ChangedChristopher James Lahey2000-12-082-9/+15
| | | | | | | | | | 2000-12-07 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Got rid of code referencing the ETableScrolled proxy functions. Changed the call to e_table_set_cursor_row to send a model row instead of a view row. svn path=/trunk/; revision=6852
* Only do a message_list_foreach if we plan on attaching messages, otherwiseJeffrey Stedfast2000-12-083-8/+47
| | | | | | | | | | | | | | 2000-12-07 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (forward_message): Only do a message_list_foreach if we plan on attaching messages, otherwise just use ml->cursor_uid. * mail-ops.c (cleanup_forward_messages): If attaching multiple forwarded message, wrap them in a multipart/digest otherwise just attach the single message as a message/rfc822. svn path=/trunk/; revision=6851
* Add column and GdkEvent * parameters to the double click signal.Christopher James Lahey2000-12-0810-330/+62
| | | | | | | | | | | | | | | | | | 2000-12-07 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h, e-table-item.c, e-table.c, e-table.h: Add column and GdkEvent * parameters to the double click signal. * e-table-header-item: Unref the ETableFullHeader when we're done with it. * e-table-scrolled.c, e-table-scrolled.h: Remove all of the proxies and add a function e_table_scrolled_get_table and a gtk argument "table". svn path=/trunk/; revision=6850
* Ugly hack for syncing until pcs can be altered (longer term)JP Rosevear2000-12-083-3/+26
| | | | | | | | | | | 2000-12-07 JP Rosevear <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c (post_sync): Ugly hack for syncing until pcs can be altered (longer term) * conduits/todo/todo-conduit.c (post_sync): ditto svn path=/trunk/; revision=6849
* Change line no format so that emacs can detect it.Not Zed2000-12-084-4/+12
| | | | | | | | | 2000-12-06 Not Zed <NotZed@HelixCode.com> * tests/lib/camel-test.h (check): Change line no format so that emacs can detect it. svn path=/trunk/; revision=6848
* Destroy the gdkIC if we have oneJP Rosevear2000-12-081-0/+5
| | | | | | | | | 2000-12-07 JP Rosevear <jpr@helixcode.com> * gal/widgets/e-canvas.c (e_canvas_destroy): Destroy the gdkIC if we have one svn path=/trunk/; revision=6847
* update to GNOME_Evolution_Shell.oafinfoMichael Meeks2000-12-085-4/+10
| | | | | | | | | | 2000-12-07 Michael Meeks <michael@helixcode.com> * Makefile.am (oaf_DATA): update to GNOME_Evolution_Shell.oafinfo * e-shell.h: upd. svn path=/trunk/; revision=6846
* Make the iTip hack spew a g_warning and not crash if you have no identityDan Winship2000-12-082-3/+7
| | | | | | | | * mail-display.c (on_object_requested): Make the iTip hack spew a g_warning and not crash if you have no identity configured. To be revisited. svn path=/trunk/; revision=6845
* add EXTRA_GNOME_LIBS.Chris Toshok2000-12-082-0/+6
| | | | | | | | | 2000-12-07 Chris Toshok <toshok@helixcode.com> * cal-client/Makefile.am (client_test_LDADD): add EXTRA_GNOME_LIBS. svn path=/trunk/; revision=6844
* Create an empty cal component if the object has been deleted.JP Rosevear2000-12-083-3/+16
| | | | | | | | | | | | 2000-12-07 JP Rosevear <jpr@helixcode.com> * pcs/cal-backend.c (cal_backend_compute_changes_foreach_key): Create an empty cal component if the object has been deleted. * idl/evolution-calendar.idl: Bit shift the change type constants properly svn path=/trunk/; revision=6843
* 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