aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix incorrect casting.Ettore Perazzoli2000-05-072-1/+6
| | | | svn path=/trunk/; revision=2873
* Updated Norwegian translation.Kjartan Maraas2000-05-072-213/+76
| | | | | | | | 2000-05-07 Kjartan Maraas <kmaraas@online.no> * no.po: Updated Norwegian translation. svn path=/trunk/; revision=2872
* Added new Directories section for the default_user.Chris Toshok2000-05-072-0/+8
| | | | | | * configure.in: Added new Directories section for the default_user. svn path=/trunk/; revision=2871
* add Internet Directories (LDAP servers) sectionChris Toshok2000-05-0714-1/+51
| | | | svn path=/trunk/; revision=2870
* New function, only write out the ibex if it has changed.NotZed2000-05-073-0/+24
| | | | | | | | | 2000-05-07 NotZed <NotZed@HelixCode.com> * file.c (ibex_save): New function, only write out the ibex if it has changed. svn path=/trunk/; revision=2868
* Fix brainos so that the application quits after closing all theEttore Perazzoli2000-05-073-6/+11
| | | | | | windows (shell views). svn path=/trunk/; revision=2865
* Remove `e-shell-shortcut.c' from `POTFILES.in'.Ettore Perazzoli2000-05-072-1/+4
| | | | svn path=/trunk/; revision=2863
* Machinery for quitting and handling the relationship between a shellEttore Perazzoli2000-05-078-10/+169
| | | | | | and its views. svn path=/trunk/; revision=2862
* Make the addressbook create the correct file uri. Added a default query.Christopher James Lahey2000-05-076-7/+31
| | | | | | | | | | | | | | 2000-05-07 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Make the addressbook create the correct file uri. Added a default query. Initialize view->model and view->view to NULL. * gui/component/e-addressbook-model.c, gui/minicard/e-minicard-view.c: Only call get_book_view if both book and query and non-null. svn path=/trunk/; revision=2861
* Also close the fd after we're done.72000-05-072-2/+11
| | | | | | | | 2000-05-07 <notzed@helixcode.com> * file.c (ibex_open): Also close the fd after we're done. svn path=/trunk/; revision=2859
* only to set_value_at if the value is indeed different. (ect_stop_editing):Chris Toshok2000-05-073-6/+26
| | | | | | | | | | * e-cell-text.c (ect_accept_edits): only to set_value_at if the value is indeed different. (ect_stop_editing): free edit->cell.starting_text (build_current_cell): initialize edit->cell.starting_text as a copy of the initial text. svn path=/trunk/; revision=2858
* Remove unused files.Ettore Perazzoli2000-05-072-327/+0
| | | | svn path=/trunk/; revision=2857
* New function to find out if a file is indexed.NotZed2000-05-073-0/+25
| | | | | | | | | 2000-05-06 NotZed <NotZed@HelixCode.com> * find.c (ibex_contains_name): New function to find out if a file is indexed. svn path=/trunk/; revision=2856
* remove the separator and toggle view items as well. (toggle_view_as_cb):Chris Toshok2000-05-072-74/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook.c (control_deactivate): remove the separator and toggle view items as well. (toggle_view_as_cb): callback for the "/View/Toggle View" menu item. (get_query): getter for the query string that takes into account the two view types. (set_query): setter for the query string that takes into account the two view types. (set_book): setter for the EBook type - not really a setter, since the book is kept in the AddressbookView, but this method actually sets the "book" property on the current view. (find_contact_cb): make use of get/set_query (search_entry_activated): make use of set_query. (control_activate): add a menu separator and an item to toggle between view types. (book_open_cb): make use of set_book. (ebook_create): no longer needs to return the EBook, since we set the book field in our view. (teardown_minicard_view): destructor function for the minicard specific ui. (create_minicard_view): constructor function for the minicard specific ui. (teardown_table_view): destructor function for the e-table specific ui. (create_table_view): constructor function for the e-table specific ui. (change_view_type): destroy the old and create the new view ui, change the label of the Toggle View menu item, and reset the book and query on the new view type. (addressbook_factory): create an all-encompassing vbox that the view uses to create the bonobo control, which contains 1 widget per ui specific view (the e-table in the table case, and another vbox in the minicard case.) use change_view_type to create the initial view. svn path=/trunk/; revision=2855
* Don't hardcode "inbox" here.Dan Winship2000-05-077-84/+58
| | | | | | | | | | | | | | | | | | | * folder-browser-factory.c (folder_browser_factory): Don't hardcode "inbox" here. * folder-browser.c (folder_browser_set_uri): Don't hardcode "inbox" here either. (folder_browser_load_folder): Create a new store according to the folder browser's URI, and load the mbox file from that store. Parts of this are temporary. * session.c, mail.h: There is no longer a global store, just a global session. * mail-config.c, mail-ops.c: Update for default_session -> session change. fetch_mail is currently broken. svn path=/trunk/; revision=2853
* + * gui/evolution-calendar-control.c (PROPERTY_CALENDAR_URI):Matthew Loper2000-05-072-2/+13
| | | | | | | | + Changed to "folder_uri" from "calendar_uri". + (set_prop): The uri given to us is a directory, so we append a + filename onto the end before we use it. svn path=/trunk/; revision=2852
* Install the sample `mbox' file.Ettore Perazzoli2000-05-072-1/+7
| | | | svn path=/trunk/; revision=2851
* Portability fix (use `readdir()', not `readdir_r()'). Also, be saferEttore Perazzoli2000-05-075-20/+34
| | | | | | about NULL objects when destroying the shell or the shortcuts. svn path=/trunk/; revision=2850
* Fix non-OAF compilation.Ettore Perazzoli2000-05-072-1/+6
| | | | svn path=/trunk/; revision=2849
* Big shell reorganization.Ettore Perazzoli2000-05-0731-1272/+4474
| | | | svn path=/trunk/; revision=2848
* Updated configuration script to match the new layout of theEttore Perazzoli2000-05-072-0/+12
| | | | | | `default_user' directory. svn path=/trunk/; revision=2847
* New default user setup.Ettore Perazzoli2000-05-0725-22/+80
| | | | svn path=/trunk/; revision=2846
* Made a NULL callback just mean to not call back.Christopher James Lahey2000-05-075-0/+802
| | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-07 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-book.c: Made a NULL callback just mean to not call back. * backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h: Reordered fields. Added a get_const function to get a constant string that persists until the simple is destroyed. * gui/component/Makefile.am: Added e-addressbook-model.c and e-addressbook-model.h and all of the libraries and includes that they are dependent on. * gui/component/addressbook-factory.c: Initialize e cursors. * gui/component/addressbook.c: Added inactive code to display an ETable view of the addressbook. * gui/component/e-addressbook-model.c, gui/component/e-addressbook-model.h: New files to implement an ETable model with a EBook back end. svn path=/trunk/; revision=2845
* Made a NULL callback just mean to not call back.Christopher James Lahey2000-05-077-109/+268
| | | | | | | | | | | | | | | | | | | | | | 2000-05-07 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-book.c: Made a NULL callback just mean to not call back. * backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h: Reordered fields. Added a get_const function to get a constant string that persists until the simple is destroyed. * gui/component/Makefile.am: Added e-addressbook-model.c and e-addressbook-model.h and all of the libraries and includes that they are dependent on. * gui/component/addressbook-factory.c: Initialize e cursors. * gui/component/addressbook.c: Added inactive code to display an ETable view of the addressbook. svn path=/trunk/; revision=2844
* A machine which serves neither POP nor KPOP is not a POP server.Dan Winship2000-05-073-1/+17
| | | | | | | | | | * providers/pop3/camel-pop3-store.c (query_auth_types): A machine which serves neither POP nor KPOP is not a POP server. * providers/smtp/camel-smtp-provider.c: Note in the description that this provider is not yet tested. svn path=/trunk/; revision=2843
* New code to configure identity, mail source, and mail transport.Dan Winship2000-05-076-42/+1149
| | | | | | | | | | | | | | | | | | | * mail-config.c: New code to configure identity, mail source, and mail transport. (mail_config_druid): A druid using the config widgets. (Only allows configuration of a single identity, source, and transport.) * mail-ops.c (check_configured): New function to make sure the user has configured stuff, and call the druid if not. (fetch_mail, send_msg, send_to_url, reply, forward_msg): Call check_configured (composer_send_cb): Make this pass the message to a CamelTransport rather than just printing it to stdout. * folder-browser-factory.c (development_warning): Add a warning about sending mail, since you can do that now. svn path=/trunk/; revision=2842
* changed these so they just do a simple localtime(), update the struct tm,Damon Chaplin2000-05-072-0/+60
| | | | | | | | | | | | | | | 2000-05-06 Damon Chaplin <damon@helixcode.com> * cal-util/timeutil.c (time_day_begin): (time_day_end): changed these so they just do a simple localtime(), update the struct tm, then do a mktime(). I don't know why it used to look at the tm_isdst flags etc. From a little test program I wrote which steps through testing every hour for a year it wasn't working correctly, and the new code does. (time_add_day): also got rid of the stuff that looked at tm_isdst here. My test program now works better. svn path=/trunk/; revision=2841
* check for purify.Chris Toshok2000-05-072-2/+7
| | | | | | * configure.in: check for purify. svn path=/trunk/; revision=2840
* Mostly finished ECardSimple.Christopher James Lahey2000-05-0710-266/+486
| | | | | | | | | | | | | | | | | | | 2000-05-06 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h: Mostly finished ECardSimple. * contact-editor/e-contact-editor.c: Changed this to match with some of the changes to ECardSimple. * gui/component/addressbook.c: Changed this to look for "addressbook.db" in the given directory if it doesn't find the file "uri". * gui/minicard/e-minicard.c, gui/minicard/e-minicard.h: Changed this to use ECardSimple. svn path=/trunk/; revision=2839
* Turned off focus in the To, Cc, and Bcc buttons.Christopher James Lahey2000-05-072-0/+6
| | | | | | | | | 2000-05-06 Christopher James Lahey <clahey@helixcode.com> * e-msg-composer-hdrs.c: Turned off focus in the To, Cc, and Bcc buttons. svn path=/trunk/; revision=2838
* Added a "changed" signal that gets sent whenever the text changes.Christopher James Lahey2000-05-075-14/+19
| | | | | | | | | 2000-05-06 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Added a "changed" signal that gets sent whenever the text changes. svn path=/trunk/; revision=2837
* Killed some warnings.Christopher James Lahey2000-05-075-6/+4
| | | | | | | | 2000-05-06 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table.c: Killed some warnings. svn path=/trunk/; revision=2836
* ignore evolution-addressbook.pureChris Toshok2000-05-073-0/+19
| | | | | | | | | * gui/component/.cvsignore: ignore evolution-addressbook.pure * gui/component/Makefile.am: add support for generating evolution-addressbook.pure. svn path=/trunk/; revision=2835
* ignore evolution-calendar.pureChris Toshok2000-05-073-0/+18
| | | | | | | | * gui/.cvsignore: ignore evolution-calendar.pure * gui/Makefile.am: add support for building evolution-calendar.pure svn path=/trunk/; revision=2834
* ignore wombat.pureChris Toshok2000-05-073-0/+18
| | | | | | | | * .cvsignore: ignore wombat.pure * Makefile.am: add support for building wombat.pure svn path=/trunk/; revision=2833
* ignore evolution-mail.pureChris Toshok2000-05-073-0/+18
| | | | | | | | * .cvsignore: ignore evolution-mail.pure * Makefile.am: add support for building evolution-mail.pure svn path=/trunk/; revision=2832
* if a port isn't specified in the uri default to 389.Chris Toshok2000-05-072-0/+8
| | | | | | | * backend/pas/pas-backend-ldap.c (pas_backend_ldap_load_uri): if a port isn't specified in the uri default to 389. svn path=/trunk/; revision=2831
* consolidate mail-format.h, mail-identify.h, mail-ops.h, main.h andDan Winship2000-05-0715-78/+43
| | | | | | | | * mail.h: consolidate mail-format.h, mail-identify.h, mail-ops.h, main.h and session.h into this new file. There's no reason to have a .h for every .c. svn path=/trunk/; revision=2830
* Made the component take a uri through its property bag.Christopher James Lahey2000-05-072-3/+108
| | | | | | | | | 2000-05-06 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Made the component take a uri through its property bag. svn path=/trunk/; revision=2829
* Got rid of some warnings.Christopher James Lahey2000-05-076-2/+115
| | | | | | | | | | | | 2000-05-06 Christopher James Lahey <clahey@helixcode.com> * e-html-utils.c: Got rid of some warnings. * e-util.c, e-util.h: Added e_read_file which takes a filename and returns a newly allocated string containing the contents of that file. svn path=/trunk/; revision=2828
* finish editing event when user hits Return key.Damon Chaplin2000-05-076-80/+117
| | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-06 Damon Chaplin <damon@helixcode.com> * gui/e-day-view.c: * gui/e-week-view.c: finish editing event when user hits Return key. (e_week_view_on_text_item_event): stop event signals after doing any other calls, since otherwise it will also stop any other resulting event signals. * gui/e-week-view-event-item.c (e_week_view_event_item_draw): don't draw the start/end times while editing. * gui/eventedit.c: changed the Summary field to a GtkEntry, since we now only want a single line of text. * cal-util/calobj.c (ical_object_normalize_summary): new function to convert the summary field to a single line of text, by converting any sequence of CR & LF characters to a single space. (ical_object_create_from_vobject): call the above function. I think all functions that load iCalObjects go through this. (ical_new): called it here as well just in case. svn path=/trunk/; revision=2827
* removed.Damon Chaplin2000-05-063-163/+4
| | | | | | | | 2000-05-06 Damon Chaplin <damon@helixcode.com> * gui/week-view.[hc]: removed. svn path=/trunk/; revision=2826
* removed old calendar view files.Damon Chaplin2000-05-0613-4075/+9
| | | | | | | | | | | | | 2000-05-06 Damon Chaplin <damon@helixcode.com> * gui/gncal-day-panel.[hc]: * gui/gncal-day-view.[hc]: * gui/gncal-full-day.[hc]: * gui/gncal-week-view.[hc]: * gui/layout.[hc]: * gui/view-utils.[hc]: removed old calendar view files. svn path=/trunk/; revision=2825
* CorrectionKjartan Maraas2000-05-061-2/+0
| | | | svn path=/trunk/; revision=2824
* added guint ref_count to iCalObject struct, and ical_object_ref/unref()Damon Chaplin2000-05-0612-90/+292
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-06 Damon Chaplin <damon@helixcode.com> * cal-util/calobj.[hc]: added guint ref_count to iCalObject struct, and ical_object_ref/unref() functions. I've updated all the gui/ stuff to use ref_counts but I haven't touched the pcs/ stuff. Maybe just using ical_object_destroy() is OK there. * gui/gncal-todo.c: * gui/calendar-commands.c: * gui/eventedit.c: * gui/e-week-view.c: * gui/e-day-view.c: use refcounting for iCalObjects. * gui/e-day-view-main-item.c: * gui/e-day-view-top-item.c: * gui/e-day-view.c: try not to ever draw outside the event, even when the event is very small. 2000-05-05 Damon Chaplin <damon@helixcode.com> * gui/e-day-view.c: don't allow recurring events to be resized or dragged, and don't show the resize/drag cursors. Actually it may be better to let the user do the resize/drag and then ask them what they want to do - change the single occurrence or the entire series. * gui/e-day-view-time-item.c (e_day_view_time_item_show_popup_menu): use e_auto_kill_popup_menu_on_hide() to destroy the popup menu. * gui/popup-menu.c: include e-gui-utils.h svn path=/trunk/; revision=2823
* Updated Galician translation.Jesus Bravo Alvarez2000-05-062-10/+12
| | | | | | | | 2000-05-05 Jesus Bravo Alvarez <jba@pobox.com> * gl.po: Updated Galician translation. svn path=/trunk/; revision=2822
* ja.po: Update from Japanese GNOME Users Group(translation@gnome.gr.jp).Yukihiro Nakai2000-05-061-91/+66
| | | | svn path=/trunk/; revision=2821
* And same here ... (camel_folder_summary_encode_fixed_int32): Ugh, fwriteNotZed2000-05-062-7/+20
| | | | | | | | | | | | 2000-05-05 NotZed <NotZed@HelixCode.com> * camel-folder-summary.c: And same here ... (camel_folder_summary_encode_fixed_int32): Ugh, fwrite doesn't return -1 on error .. (camel_folder_summary_decode_fixed_int32): Neither deos fread. (camel_folder_summary_encode_token): Fix here too. svn path=/trunk/; revision=2819
* Use the OAFIID when using an OAF-enabled build of bonobo.Anders Carlsson2000-05-062-1/+16
| | | | | | | | | 2000-05-05 Anders Carlsson <andersca@gnu.org> * test-mail.c (create_container): Use the OAFIID when using an OAF-enabled build of bonobo. svn path=/trunk/; revision=2818
* Added option `--enable-purify' and correspondent Automake conditional.Ettore Perazzoli2000-05-062-0/+12
| | | | svn path=/trunk/; revision=2817
* ignore .pure directoryChris Toshok2000-05-051-0/+1
| | | | svn path=/trunk/; revision=2816
* Added e-card-simple.c and e-card-simple.h.Christopher James Lahey2000-05-058-582/+972
| | | | | | | | | | | | | | | | 2000-05-05 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am: Added e-card-simple.c and e-card-simple.h. * backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h: New card wrapper class to simplify things. * contact-editor/e-contact-editor.c, contact-editor/e-contact-editor.h: Changed e-contact-editor to use ECardSimple a bit. svn path=/trunk/; revision=2815
* add support for building purified evolution.Chris Toshok2000-05-053-0/+16
| | | | | | | | * shell/Makefile.am: add support for building purified evolution. * shell/.cvsignore: ignore evolution.pure svn path=/trunk/; revision=2813
* ignore the .pure directoryChris Toshok2000-05-0521-6/+46
| | | | | | | | | | | | | | | | | | | | | | * addressbook/backend/ebook/.cvsignore, addressbook/contact-editor/.cvsignore, addressbook/gui/component/.cvsignore, addressbook/gui/minicard/.cvsignore, addressbook/printing/.cvsignore, calendar/cal-client/.cvsignore, calendar/gui/.cvsignore, calendar/pcs/.cvsignore, filter/.cvsignore, mail/.cvsignore, shell/.cvsignore, tests/.cvsignore, widgets/e-table/.cvsignore, widgets/e-text/.cvsignore, widgets/meeting-time-sel/.cvsignore, widgets/shortcut-bar/.cvsignore, wombat/.cvsignore: ignore the .pure directory svn path=/trunk/; revision=2812
* And same here ...NotZed2000-05-057-45/+77
| | | | | | | | | | | | | | | | | | | | | | 2000-05-05 NotZed <NotZed@HelixCode.com> * camel-folder-summary.c: And same here ... * camel-mime-utils.c: Defined out some memory profiling stuff I left there by mistake. * camel-mime-parser.c (folder_scan_content): Apply the fix from the header scanner to here too. (folder_scan_header): Only check for end of header if we have space for it (didn't end the read with a newline) (folder_scan_header): inptr is the only real thing we need registerised for performance. Try to help the compiler be smart about it .. (folder_scan_header): Simplified the save header case a tad. Commented out some memory profiling stuff. svn path=/trunk/; revision=2811
* Plug a memory leak. (header_decode_text): Fixed memory leaks with52000-05-054-39/+68
| | | | | | | | | | | | | | | | | | 2000-05-05 <notzed@helixcode.com> * camel-mime-utils.c (header_decode_mailbox): Plug a memory leak. (header_decode_text): Fixed memory leaks with g_string_append(). (header_encode_string): And here too, and a few other places. The glib api is so awful ... (header_content_type_decode): More memory leaks, more left ... 2000-05-05 <notzed@helixcode.com> * camel-mime-parser.c (folder_scan_init_with_fd): Make sure we init the end of buffer sentinal! (folder_scan_init_with_stream): And here too ... svn path=/trunk/; revision=2810
* use rows here instead of E_TABLE_SUBSET(etsv)->n_map, since the table canChris Toshok2000-05-053-2/+9
| | | | | | | | | * e-table-sorted-variable.c (etsv_sort): use rows here instead of E_TABLE_SUBSET(etsv)->n_map, since the table can be populated by the gtk_main_iteration above. otherwise the vals_closure may not be fully populated. svn path=/trunk/; revision=2809
* Maxcount is minimum of the max and the requested count, not the maximum :)NotZed2000-05-057-46/+362
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-04 NotZed <NotZed@HelixCode.com> * providers/mbox/camel-mbox-folder.c (summary_get_message_info): Maxcount is minimum of the max and the requested count, not the maximum :) * camel-mime-parser.c (folder_scan_content): Properly set midline, so we dont falsely catch offset boundary markers (i.e. From inside content). (folder_read): Set a sentinal on the end of the read data (\n) so we dont have to check the buffer boundary in the inner loop. (mempool_*): New experimental memory management routines, speed up simple structure parsing by about 25% ... not compiled in by default. Something similar may be needed for camel-mime-utils to address performance issues with g_malloc and friends. * camel-mime-utils.c: Added a macro w(x) used to wrap all warnings about mime/rfc violations, so they can be turned off. * camel-folder-summary.c (summary_build_content_info): Step after the end of a message ... Turn into a stand-alone program for testing and profiling. svn path=/trunk/; revision=2808
* Requires a camel-patch, about to come through ...NotZed2000-05-053-24/+60
| | | | | | | | | | | | | | | | | | | | | | | | 2000-05-04 NotZed <NotZed@HelixCode.com> * message-list.c (message_list_set_folder): Get the whole message summary right away. (folder_changed): And if we change too. (ml_row_count): Use the match count or summary table length as the row count. (get_message_info): Use array references to lookup message summary info. For the search result list, use the summary_search_cache to cache the info lookup. (message_list_init): Allocate the summary search cache. (message_list_destroy): Free the summary search cache and the summary table, if there is one to free. (message_list_set_search): Save the match count, and clear the summary search cache for reuse. (folder_changed): Re-retrieve the summary list if the folder has changed. (message_list_set_folder): Retrieve the summary list when opening the folder. svn path=/trunk/; revision=2807
* Add an e_table_group_add_all function and implement it in the differentChristopher James Lahey2000-05-0519-30/+251
| | | | | | | | | | | | | | | | | | | | | 2000-05-04 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h: Add an e_table_group_add_all function and implement it in the different ETableGroup classes. * e-table-sort-info.c: Make set_nth not call changed twice if it needs to allocate more space. * e-table-sorted-variable.c, e-table-subset-variable.c, e-table-subset-variable.h: Add and implement an e_table_subset_variable_add_all command. * e-table.c: Use e_table_group_add_all as appropriate. Fix ETable grouping xml to work if there is a text element at the bottom of the grouping tree. svn path=/trunk/; revision=2806
* Updated Galician translationJesus Bravo Alvarez2000-05-051-3/+3
| | | | svn path=/trunk/; revision=2805
* Updated Galician translationJesus Bravo Alvarez2000-05-052-108/+169
| | | | svn path=/trunk/; revision=2804
* Sped up e_cell_text's get_height function.Christopher James Lahey2000-05-053-32/+42
| | | | | | | | 2000-05-04 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Sped up e_cell_text's get_height function. svn path=/trunk/; revision=2803
* for the long events pass E_DAY_VIEW_LONG_EVENT as the day. Fixes SEGV.Damon Chaplin2000-05-0510-92/+266
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-04 Damon Chaplin <damon@helixcode.com> * gui/e-day-view.c (e_day_view_foreach_event_with_uid): for the long events pass E_DAY_VIEW_LONG_EVENT as the day. Fixes SEGV. * gui/calendar-commands.c: when we switch views, grab the focus. * gui/gnome-cal.c (gnome_calendar_tag_calendar): (gnome_calendar_mark_gtk_calendar_day): changed this so it uses cal_client_get_events_in_range(), and doesn't load any objects. Also just return if it isn't visible. * gui/calendar-commands.c (calendar_get_events_in_range): call g_list_sort() to sort the list rather than g_list_insert_sorted() for each element. It is much more efficient. Also changed it so that the co->ev_start/end fields are copied from the CalObjInstance rather than the parameters to the function (that is right, isn't it?) Also freed the list elements, and finally the list. (calendar_iterate): changed this to use cal_client_get_events_in_range since that is more efficient than getting all the uids and then loading and parsing all the events. * pcs/cal-backend.c (save): output the '... saved' message before freeing the string! * gui/gncal-todo.c (gncal_todo_update): * gui/e-week-view.c (e_week_view_update_event): * gui/e-day-view.c (e_day_view_update_event): * gui/calendar-commands.c (calendar_get_events_in_range): (calendar_iterate): free obj_string after it is parsed. svn path=/trunk/; revision=2802
* turned the notebook border off. The calendar looks better without it. IfDamon Chaplin2000-05-052-0/+9
| | | | | | | | | | 2000-05-03 Damon Chaplin <damon@helixcode.com> * e-shell-view.c (e_shell_view_new): turned the notebook border off. The calendar looks better without it. If any of the views want a border they should create it themselves, shouldn't they? svn path=/trunk/; revision=2801
* Make this compile again in the !KRB4 caseDan Winship2000-05-051-1/+1
| | | | svn path=/trunk/; revision=2800
* Oops. The Kerberos check was succeeding when it shouldn't have (and thusDan Winship2000-05-052-2/+8
| | | | | | | | * configure.in: Oops. The Kerberos check was succeeding when it shouldn't have (and thus breaking the pop3 build for "normal" people). Fix. svn path=/trunk/; revision=2799
* Don't fall back to plaintext passwords if APOP fails, since it should alsoDan Winship2000-05-052-18/+20
| | | | | | | | * providers/pop3/camel-pop3-store.c (pop3_connect): Don't fall back to plaintext passwords if APOP fails, since it should also fail. svn path=/trunk/; revision=2798
* New function to replace camel_provider_scan. Returns a list of either (a)Dan Winship2000-05-0410-31/+265
| | | | | | | | | | | | | | | | | | | | | | | | | * camel-session.c (camel_session_list_providers): New function to replace camel_provider_scan. Returns a list of either (a) all currently-loaded providers, or (b) all available providers. * camel-url.[ch]: Add an "empty" flag to CamelURL (indicating that it contains only a protocol). * camel-service.c (camel_service_query_auth_types): Make this take a CamelException (since it may have to try to connect to the server, and it might not able to.) * providers/pop3/camel-pop3-store.c: add KPOP (Kerberized POP) support. This is mostly so I have two kinds of authmech to play with instead of just one. (But it does actually work.) * providers/smtp/camel-smtp-transport.c (query_auth_types): update for prototype change, but disable the functionality, since it doesn't really support any auth types yet. (camel_smtp_transport_get_type): add an object init function to set the service url_flags. svn path=/trunk/; revision=2797
* Updated the Turkish translationFatih Demir2000-05-042-110/+105
| | | | svn path=/trunk/; revision=2796
* Define `E_TYPE_SHORTCUT_BAR'.Ettore Perazzoli2000-05-042-0/+6
| | | | svn path=/trunk/; revision=2795
* Added a height_cache idle loop so that the height_cache will be validatedChristopher James Lahey2000-05-045-4/+85
| | | | | | | | | 2000-05-04 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c, e-table-item.h: Added a height_cache idle loop so that the height_cache will be validated in the idle loop. svn path=/trunk/; revision=2794
* Load all the data to be sorted by before actually doing the sort.Christopher James Lahey2000-05-043-34/+99
| | | | | | | | | 2000-05-04 Christopher James Lahey <clahey@helixcode.com> * e-table-sorted-variable.c: Load all the data to be sorted by before actually doing the sort. svn path=/trunk/; revision=2793
* EIconBar/EShortcutBar constification.Ettore Perazzoli2000-05-046-11/+26
| | | | svn path=/trunk/; revision=2792
* Fix author information.Christopher James Lahey2000-05-049-32/+97
| | | | | | | | | | | | | | | 2000-05-04 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c, e-cell-text.h: Fix author information. * e-table-group-leaf.c: Set a length threshold of 200. * e-table-item.c: Height cache is now actually a map. Made "length_threshold" argument work. If over the length threshold, use the height cache to get a better estimate so that once the height cache is full, height estimate is perfect. svn path=/trunk/; revision=2791
* Fixed EShortcutBar API: the icon callback function now gets a `constEttore Perazzoli2000-05-046-12/+47
| | | | | | char *' url (instead of just a `char *') and a closure. svn path=/trunk/; revision=2790
* No, we're not going to have g_strcasecmp for no good reason,NotZed2000-05-0415-47/+1597
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not even if its slipped in with no changelog. 2000-05-04 NotZed <NotZed@HelixCode.com> * providers/mbox/camel-mbox-summary.c: Yes, and anotherone. * camel-mime-utils.c: And another one. * camel-mime-part.c: And another one. * camel-mime-part-utils.c: And another one. * camel-folder-search.c: And another one. * camel-mime-parser.c: Reverted a change wihtout a ChangeLog entry. 2000-05-04 NotZed <NotZed@HelixCode.com> * camel-folder-summary.[hc]: Yes, CamelFolderSummary is back ... ... re-usable class to summarise and index any stream or message and to manage/load/save the created summaries. * camel-folder.c: Include string.h to kill a warning. 2000-05-03 NotZed <NotZed@HelixCode.com> * camel-folder.h: Added pos/bodypos/endpos to the basic message content info object. Size to be removed? Moved the messageconentinfo and messageinfo back to camel-folder-summary.h. * camel-mime-filter-index.c (camel_mime_filter_index_set_ibex): New function to (re)set the index to use on a filter. * camel-mime-parser.c (camel_mime_parser_scan_from): Whole bunch of inline docs. (camel_mime_parser_drop_step): New function to drop a state from the parser. Needs more testing. svn path=/trunk/; revision=2789
* Add back in main loop calls during sorting.Christopher James Lahey2000-05-043-0/+9
| | | | | | | | | 2000-05-04 Christopher James Lahey <clahey@helixcode.com> * e-table-sorted-variable.c (qsort_callback): Add back in main loop calls during sorting. svn path=/trunk/; revision=2788
* Translations from KeldKenneth Christiansen2000-05-041-26/+14
| | | | | | | | balsa/po/da.po evolution/po/da.po glade/po/da.po gnome-core/po/da.po gnome-db/po/da.po gnome-media/po/da.po nautilus/po/da.po svn path=/trunk/; revision=2787
* Replace insert sort completely with a qsort.Christopher James Lahey2000-05-045-155/+132
| | | | | | | | | 2000-05-04 Christopher James Lahey <clahey@helixcode.com> * e-table-sorted-variable.c: Replace insert sort completely with a qsort. svn path=/trunk/; revision=2786
* Some small build fixes:Jacob Leach2000-05-044-1/+13
| | | | | | | | | | | * camel/Makefile.am (INCLUDES): add $(UNICODE_CFLAGS) to the INCLUDES, people who installed libunicde in non-standard include paths need this. * mail/Makefile.am (evolution_mail_LDADD): s/-lunicode/$(UNICODE_LIBS)/ svn path=/trunk/; revision=2785
* Changed the insert sort to be binary instead of linear.Christopher James Lahey2000-05-043-58/+109
| | | | | | | | | 2000-05-04 Christopher James Lahey <clahey@helixcode.com> * e-table-sorted-variable.c: Changed the insert sort to be binary instead of linear. svn path=/trunk/; revision=2784
* Make the "Cc:" field optional again. (Before, we could check ifDan Winship2000-05-042-7/+16
| | | | | | | | | * mail-format.c (write_recipients_to_stream, write_headers): Make the "Cc:" field optional again. (Before, we could check if camel_mime_message_get_recipients returned NULL, but now we need to actually look into the returned CamelInternetAddress object.) svn path=/trunk/; revision=2783
* Make it easier for us allKjartan Maraas2000-05-041-0/+8
| | | | svn path=/trunk/; revision=2782
* Updated Norwegian translation.Kjartan Maraas2000-05-042-66/+58
| | | | | | | | 2000-05-03 Kjartan Maraas <kmaraas@online.no> * no.po: Updated Norwegian translation. svn path=/trunk/; revision=2781
* ShhKjartan Maraas2000-05-041-1/+5
| | | | svn path=/trunk/; revision=2780
* Updated russian translation.Valek Frob2000-05-042-26/+18
| | | | svn path=/trunk/; revision=2779
* fix configure for old libxmls.Michael Meeks2000-05-042-1/+5
| | | | svn path=/trunk/; revision=2778
* #ifdef HAVE_LDAP the ldap specific stuff. (null_cb): same.Chris Toshok2000-05-032-3/+15
| | | | | | | | | * gui/component/addressbook.c (control_deactivate): #ifdef HAVE_LDAP the ldap specific stuff. (null_cb): same. (control_activate): same. svn path=/trunk/; revision=2777
* s/strcasecmp/g_strcasecamp/ everywhere except intl/, per michael'sJacob Leach2000-05-039-53/+57
| | | | | | request. svn path=/trunk/; revision=2776
* comment out the changed signal for now.Larry Ewing2000-05-032-1/+6
| | | | | | | | | 2000-05-03 Larry Ewing <lewing@helixcode.com> * folder-browser.c (folder_browser_gui_init): comment out the changed signal for now. svn path=/trunk/; revision=2775
* If the iconv handle is -1, then dont try and convert (crashesNotZed2000-05-032-10/+27
| | | | | | | | | | | | | | 2000-05-03 NotZed <NotZed@HelixCode.com> * camel-mime-utils.c (rfc2047_decode_word): If the iconv handle is -1, then dont try and convert (crashes unicode_iconv?). (rfc2047_decode_word): Use alloca for variables instead of g_malloc - by the rfc they should always be short. (rfc2047_decode_word): If we can't do the charset conversion, undo the quoted-printable/base64 at least? Should probably convert unknown characters to the utf-8 unknown character. svn path=/trunk/; revision=2774
* Eeek. I committed the wrong version of the file.Ettore Perazzoli2000-05-031-1/+0
| | | | svn path=/trunk/; revision=2773
* New function to free a list of referenced objects.Ettore Perazzoli2000-05-035-6/+46
| | | | svn path=/trunk/; revision=2772
* fix typo when dereferencing saveoffset.Larry Ewing2000-05-032-1/+6
| | | | | | | | | 2000-05-02 Larry Ewing <lewing@helixcode.com> * camel-mime-utils.c (header_decode_date): fix typo when dereferencing saveoffset. svn path=/trunk/; revision=2771
* Remove unused file.Ettore Perazzoli2000-05-031-10/+0
| | | | svn path=/trunk/; revision=2770
* Don't generate `doc/Makefile' in `configure' because there is nothingEttore Perazzoli2000-05-032-1/+6
| | | | | | to generate it from. svn path=/trunk/; revision=2769
* Updated for removed files.Ettore Perazzoli2000-05-032-1/+4
| | | | svn path=/trunk/; revision=2768
* Fix builddir != srcdir build once again.Ettore Perazzoli2000-05-032-0/+6
| | | | svn path=/trunk/; revision=2767
* Removing more cruft.Ettore Perazzoli2000-05-036-69/+16
| | | | svn path=/trunk/; revision=2766
* add some minimal Kerberos checking. This isn't intended to be genericallyDan Winship2000-05-033-20/+56
| | | | | | | | | | * configure.in, acconfig.h: add some minimal Kerberos checking. This isn't intended to be generically useful at this point, it's just there to give me a second POP auth mechanism to play with. Also remove a bit of cruft, and reorganize configure.in a bit. svn path=/trunk/; revision=2765
* Get rid of crufty `e-service' modules.Ettore Perazzoli2000-05-035-388/+8
| | | | svn path=/trunk/; revision=2764
* Missed these ...Michael Zucci2000-05-033-0/+549
| | | | svn path=/trunk/; revision=2763
* REmove gmime-utils.h from here.NotZed2000-05-038-374/+47
| | | | | | | | | | | | | | | | | | | | 2000-05-02 NotZed <NotZed@HelixCode.com> * camel.h: REmove gmime-utils.h from here. * providers/mbox/camel-mbox-search.[ch]: Removed. Functionally redundant. * providers/mbox/camel-mbox-folder.c (mbox_search_by_expression): Use the new CamelFolderSearch class to do the actual searching, just setup the search here. * camel-folder-search.[ch]: A helper class that providers may subclass to provide their own search functionality, or they can simply use as is, it supports body searches if an ibex is supplied, and header searches if a summary is supplied. svn path=/trunk/; revision=2762
* And here too.NotZed2000-05-035-5/+17
| | | | | | | | | | | | | 2000-05-02 NotZed <NotZed@HelixCode.com> * tests/test13.c: And here too. * tests/test2.c (main): REmoved gmime-utils.h * tests/Makefile.am (LDADD): Add libeutil to default link line. (test_movemail_LDADD): Fixed order for libutil linking. svn path=/trunk/; revision=2761
* Translations from KeldKenneth Christiansen2000-05-031-52/+52
| | | | | | | evolution/po/da.po gnome-utils/po/da.po gnumeric/po/da.po nautilus/po/da.po svn path=/trunk/; revision=2760
* set the active radio button here. Oops - it wasn't a Bonobo problem afterDamon Chaplin2000-05-038-42/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-02 Damon Chaplin <damon@helixcode.com> * gui/calendar-commands.c (calendar_control_activate): set the active radio button here. Oops - it wasn't a Bonobo problem after all. * gui/popup-menu.c (popup_menu): added call to e_auto_kill_popup_menu_on_hide() to destroy the menu. * gui/e-week-view.c (e_week_view_show_popup_menu): * gui/e-day-view.c (e_day_view_on_event_right_click): ico->user_data isn't useful any more, since the event editor keeps its own iCalObject. So for now we make the menu commands available even when the event is being edited in the event editor. Also corrected misspellings of 'occurance' -> 'occurrence'. * gui/eventedit.c (event_editor_destroy): destroy the iCalObject. The event editor now uses its own independent iCalObject. * gui/e-week-view.c (e_week_view_on_unrecur_appointment): * gui/e-day-view.c (e_day_view_on_unrecur_appointment): create a new uid for the new single instance. I'm not sure what we should do about the creation/last modification times of the objects. * gui/e-week-view.c (e_week_view_on_edit_appointment): * gui/e-day-view.c (e_day_view_on_edit_appointment): duplicate the iCalObject before passing it to the event editor, since it will change the fields. If we don't duplicate it we won't know what has changed when we get the "update_event" callback. * gui/e-week-view.c (e_week_view_key_press): * gui/e-day-view.c (e_day_view_key_press): set the created and last_mod times of the new iCalObject. We may want to set the default alarm as well. * cal-util/calobj.c (ical_gen_uid): made this function public so we can generate new uids if necessary. svn path=/trunk/; revision=2759
* set and reset the GTK_HAS_FOCUS flag. We now get focus_out eventsDamon Chaplin2000-05-033-0/+14
| | | | | | | | | | 2000-05-02 Damon Chaplin <damon@helixcode.com> * e-canvas.c (e_canvas_focus_in): (e_canvas_focus_out): set and reset the GTK_HAS_FOCUS flag. We now get focus_out events correctly. svn path=/trunk/; revision=2758
* Free the parse tree if we have one. (e_sexp_parse): If we already have aNotZed2000-05-032-0/+26
| | | | | | | | | 2000-05-02 NotZed <NotZed@HelixCode.com> * e-sexp.c (e_sexp_finalise): Free the parse tree if we have one. (e_sexp_parse): If we already have a parse tree, free it. svn path=/trunk/; revision=2757
* Set G_LOG_DOMAIN in following files.Matthew Loper2000-05-0333-24/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | addressbook/demo/Makefile.am addressbook/printing/Makefile.am camel/Makefile.am camel/providers/MH/Makefile.am camel/providers/maildir/Makefile.am camel/providers/mbox/Makefile.am camel/providers/nntp/Makefile.am camel/providers/pop3/Makefile.am camel/providers/sendmail/Makefile.am camel/providers/smtp/Makefile.am composer/Makefile.am e-util/Makefile.am filter/Makefile.am libibex/Makefile.am mail/Makefile.am shell/Makefile.am tests/Makefile.am tests/ui-tests/Makefile.am widgets/e-table/Makefile.am widgets/e-text/Makefile.am widgets/meeting-time-sel/Makefile.am widgets/shortcut-bar/Makefile.am svn path=/trunk/; revision=2756
* > * providers/mbox/camel-mbox-search.cMichael Zucci2000-05-034-11/+7
| | | | | | | | | | > (camel_mbox_folder_search_by_expression): Dont store/remove > current search from the search list. > > * providers/mbox/camel-mbox-folder.h: Removed searches list, > searches are all sync now. svn path=/trunk/; revision=2755
* only free search if it is not NULL.Larry Ewing2000-05-032-1/+11
| | | | | | | | | 2000-05-02 Larry Ewing <lewing@helixcode.com> * message-list.c (message_list_set_search): only free search if it is not NULL. svn path=/trunk/; revision=2754
* > * gmime-utils.[ch]: What the hell, remove it. This will break theMichael Zucci2000-05-0316-786/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | > nntp provider (but its broken anyway). The mime parser can be > used instead though. > Removed from all code including it (but none were using it). > > * gmime-utils.c (_store_header_pair_from_string): Removed bizarre > string_dichotomy version of this. This code is somewhat redundant > now, and is headed for death anyway. > > * gstring-util.c (g_string_dichotomy): Same with this one. > (g_string_clone): Removed a memory leak, g_string_new() allocates > its own memory. > (g_string_append_g_string): Allow to append an empty gstring onto > another gstring, dont abort()! > > * string-utils.c (string_dichotomy): Removed this incredibly weird > function. > > * camel-folder.c (_create): Replaced the rather obtuse use of > "string_dichotomy" function with a simple strrchr(). Still not > sure it'll work. > > * camel-folder-summary.c: cvs removed a long-removed file. svn path=/trunk/; revision=2753
* Removed bizarre string_dichotomy version of this. This code is somewhatMichael Zucci2000-05-031-30/+0
| | | | | | | | * gmime-utils.c (_store_header_pair_from_string): Removed bizarre string_dichotomy version of this. This code is somewhat redundant now, and is headed for death anyway. svn path=/trunk/; revision=2752
* Fix the previous overflow problem properly (can happen in 2 places).NotZed2000-05-032-39/+41
| | | | | | | | | | | | | | | 2000-05-02 NotZed <NotZed@HelixCode.com> * camel-mime-parser.c (folder_scan_header): Fix the previous overflow problem properly (can happen in 2 places). (header_append): A new macro to include the code changed above, so it only appears in one place. (folder_scan_step): Change the content type to text/plain if the multipart is broken. Doesn't actually change the header though. (header_append): Also move the header-start tracking stuff here. Could be a static function to save code. svn path=/trunk/; revision=2751
* Dont use autofill on these fucking long function anmes!!!!!!22000-05-032-5/+9
| | | | | | | | | | 2000-05-02 <notzed@helixcode.com> * camel-mime-part-utils.c (simple_data_wrapper_construct_from_parser): Dont use autofill on these fucking long function anmes!!!!!! svn path=/trunk/; revision=2750
* > 2000-05-02 NotZed <NotZed@HelixCode.com>Michael Zucci2000-05-034-3/+14
| | | | | | | | | | | | | > > * folder-browser.c (folder_browser_gui_init): Connect the changed > signal to search, so it searched immediately? > 40a46,48 > (message_list_set_search): Save the search string. > (folder_changed): If the folder changes, re-run the search, > otherwise we may end up with invalid entries in the display. svn path=/trunk/; revision=2749
* Fix the offset for the summary when an item is expunged to take account ofNotZed2000-05-032-1/+7
| | | | | | | | | | 2000-05-02 NotZed <NotZed@HelixCode.com> * providers/mbox/camel-mbox-summary.c (camel_mbox_summary_expunge): Fix the offset for the summary when an item is expunged to take account of the From line. svn path=/trunk/; revision=2748
* Updated Swedish translationAndreas Hydén2000-05-022-90/+111
| | | | svn path=/trunk/; revision=2747
* Added a deleted message icon whcih shows when messages areMichael Zucci2000-05-025-6/+96
| | | | | | | | | | | | | | | | | | | | | deleted (takes a while to update the gui for some reason). Updates the gui when expunged, via a signal. * pixmaps.h: Added envelope-deleted state. (message_list_init_renderers): Added a 3rd state to message_status = deleted. (ml_value_at): Show the message state as deleted, if it is marked for deletion. (folder_changed): When the folder changes, update the display. (message_list_set_folder): Connect to the folder_changed event here. (message_changed): Callback to update the display when the message changes. (select_msg): And connect to the message_changed signal so we know when it cahgnes. svn path=/trunk/; revision=2746
* Deleted messages properly get removed from the index.Michael Zucci2000-05-025-4/+29
| | | | | | | | | | | | A new folder signal for gui/etc's to track changes. (camel_mbox_summary_expunge): Oops, my wrong, use the string uid to unindex on. (mbox_expunge): Emit a folder_changed signal on expunge (uh, even if it didn't ...) (camel_folder_class_init): Added a folder_changed signal. svn path=/trunk/; revision=2745
* Ok, you can now delete and expunge messages ... not really prettyMichael Zucci2000-05-024-2/+60
| | | | | | | | | | | | | | (gui wise), but it works, after a fashion. > * folder-browser-factory.c: Setup callback for actual delete op. > (control_activate): Setup a tool menu item to expnge deleted > messages. > > * mail-ops.c (delete_msg): Toggle the delete flag on a message. > (expunge_folder): New function to expunge deleted messages from > the current folder. svn path=/trunk/; revision=2744
* > (camel_folder_expunge): Changed to only allow expunge on an openMichael Zucci2000-05-022-1/+3
| | | | | | > folder. It doesn't make sense for mbox, otherwise (?) svn path=/trunk/; revision=2743
* > (folder_browser_gui_init): Add an option meny to the search line.Michael Zucci2000-05-024-14/+108
| | | | | | | | | > (create_option_menu): Build the option menu from a table. > (search_set): Build a search from another string whent he option > menu or text item is changed. 5 search options are defined so > far. svn path=/trunk/; revision=2742
* > (func_header_contains): Debug out some search stuff.Michael Zucci2000-05-024-4/+9
| | | | | | | | | | > (index_folder): Make sure we index using a decimal uid, since > thats what everything else indexes off (oops). > Upped SUMMARY_VERSION as a result. > > * camel-folder.h: Removed CamelSearchFunc. svn path=/trunk/; revision=2741
* "But that trick NEVER works!" "This time for sure!"Dan Winship2000-05-022-1/+8
| | | | | | | * gnome-pilot.m4 (PILOT_LIBS): "But that trick NEVER works!" "This time for sure!" svn path=/trunk/; revision=2727
* Fix for api.NotZed2000-05-022-12/+5
| | | | | | | | 2000-05-01 NotZed <NotZed@HelixCode.com> * filter-driver.c (main): Fix for api. svn path=/trunk/; revision=2726
* Fixed for sync search api revert.Michael Zucci2000-05-022-52/+48
| | | | svn path=/trunk/; revision=2725
* A hackish little quick-search entry. (search_activate): Perform aNotZed2000-05-025-25/+116
| | | | | | | | | | | | | | | | | | | | | 2000-05-01 NotZed <NotZed@HelixCode.com> * folder-browser.c (folder_browser_gui_init): A hackish little quick-search entry. (search_activate): Perform a quick-search on the folder subject only. * message-list.c (get_message_info): If there is an active search, then get the data from that ... use this instead of _get_message_info(). (ml_row_count): If we have an active search, get the info from its result. (select_msg): Changed to use get_message_info, so searches work. (ml_value_at): And same here. * mail-display.c: Include missing errno.h. svn path=/trunk/; revision=2724
* Removed search_id.Michael Zucci2000-05-027-94/+70
| | | | | | | | | | | | | | | | | | | | | | | | * providers/mbox/camel-mbox-folder.h (CamelMboxFolder): Removed search_id. * providers/mbox/camel-mbox-search.c (camel_mbox_folder_search_cancel): Remove.d (camel_mbox_folder_search_complete): Removed. (camel_mbox_folder_search_by_expression): Changed back to sync api. (struct _searchcontext): Removed cancelled flag. (find_context): Removed. * providers/mbox/camel-mbox-search.h (camel_mbox_folder_search_by_expression): Moved back to sync api. (camel_folder_search_complete): Removed. (camel_folder_search_cancel): Removed. (CamelFolderClass): New function summary_get_by_uid() to get a single summary. (*search*): Moved back to synchronous search api ... *sigh* svn path=/trunk/; revision=2723
* Constified XML utility functions.Ettore Perazzoli2000-05-025-16/+22
| | | | svn path=/trunk/; revision=2722
* Turn off control frame autoactivation, so the toolbars work correctly.Dan Winship2000-05-022-0/+7
| | | | | | | | * e-shell-view.c (e_shell_view_set_view): Turn off control frame autoactivation, so the toolbars work correctly. This may actually be a bug in Bonobo, but we'll kludge around it here for now. svn path=/trunk/; revision=2721
* Add back in the CORBA_Object_release.Christopher James Lahey2000-05-023-2/+26
| | | | | | | | | | | | 2000-05-01 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-book-factory.c: Add back in the CORBA_Object_release. * backend/pas/pas-book.c: Properly duplicate and release the listener passed to us. svn path=/trunk/; revision=2720
* Made uri slightly better managed.Christopher James Lahey2000-05-025-14/+25
| | | | | | | | | | | | | | | | 2000-05-01 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-backend-file.c, backend/pas/pas-backend-ldap.c: Made uri slightly better managed. * backend/pas/pas-book-factory.c (pas_book_factory_process_request): Remove this CORBA_Object_release that causes things not to work. This is just a temporary fix until we figure out what's actually wrong. * backend/pas/pas-book.c: Fixed a copy and paste error in a warning. svn path=/trunk/; revision=2718
* Switched the subdirs order since backend depends on ename.Christopher James Lahey2000-05-022-1/+6
| | | | | | | | | 2000-05-01 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Switched the subdirs order since backend depends on ename. svn path=/trunk/; revision=2717
* More message cleanup. Flags now work, are saved, and the deleteNotZed2000-05-028-176/+469
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | flag causes an expunge to expunge the deleted messages. 2000-05-01 NotZed <NotZed@HelixCode.com> * providers/mbox/camel-mbox-summary.c (camel_mbox_summary_set_flags_by_uid): New function to update the flags in the summary. (camel_mbox_summary_expunge): Expunge messages from a folder. (offset_content): Re-align offsets of summary when messages added/removed to an existing summary. (camel_mbox_summary_remove_uid): Remove a message summary entry by uid. (index_folder): Restore flags from X-Evolution header, if they are set. * providers/mbox/camel-mbox-folder.c (_get_message_by_uid): Connect to the message_changed signal. (_init): Set permanent flags to something reasonable. No user flags yet ... (message_changed): If the flags of the message change, update the flags in the summary. (mbox_expunge): Implement the expunge. (camel_mbox_folder_class_init): Renamed all leading _'s to mbox_'s * camel-folder.c (_finalize): Uh, dont free permanent_flags anymore (this wouldn't failed anyway, it was a GList !!!) * camel-folder.h (struct _CamelFolder): Change permanent_flags to a bitfield. (list_permanent_flags): Renamed to get_permanent_flags, and returns a bitfield. (camel_folder_expunge): Changed expunge to a void type. The messages would no longer be useful after they have been removed ... * camel-mime-message.c (set_flag): Removed. (camel_mime_message_set_flag): Removed. (get_flag): Removed. (camel_mime_message_get_flag): Removed. (add_flag_to_list): Removed. (get_flag_list): Removed. (camel_mime_message_get_flag_list): Removed. (camel_mime_message_get_flags): New interface to get system flags. (camel_mime_message_set_flags): " to set ". (camel_mime_message_get_user_flag): To get a user flag. (camel_mime_message_set_user_flag): To set a user flag. (finalize): Hmm, the old one free'd the key and data, not good when the data is a boolean ... svn path=/trunk/; revision=2716
* Automatic check for oaf. Thanks ettore, you rule!Anders Carlsson2000-05-022-2/+13
| | | | svn path=/trunk/; revision=2715
* fix a typo in the for loop.Larry Ewing2000-05-022-1/+6
| | | | | | | | | 2000-05-01 Larry Ewing <lewing@helixcode.com> * backend/pas/pas-backend-ldap.c (pas_backend_ldap_remove_client): fix a typo in the for loop. svn path=/trunk/; revision=2714
* Updated russian translation.Valek Frob2000-05-012-85/+95
| | | | svn path=/trunk/; revision=2713
* new function to get the currently seleted time range form the currentDamon Chaplin2000-05-018-46/+175
| | | | | | | | | | | | | | | | | | | 2000-05-01 Damon Chaplin <damon@helixcode.com> * gui/gnome-cal.[hc] (gnome_calendar_get_current_time_range): new function to get the currently seleted time range form the current view. * gui/calendar-commands.c (display_objedit): use the above function to get the time for the new appointment. * gui/e-week-view.c: * gui/e-day-view.c: use a shallow copy of the ico when we update the times (when resizing/dragging). Otherwise we won't detect that the time has changed in the "update_event" callback. Also added functions to get the currently selected time range. svn path=/trunk/; revision=2712
* include a header to make it compile...Michael Meeks2000-05-012-0/+5
| | | | svn path=/trunk/; revision=2711
* Doh, also unref the pas_book_factory when we are done.Federico Mena Quintero2000-05-012-0/+8
| | | | | | | | | 2000-05-01 Federico Mena Quintero <federico@helixcode.com> * wombat.c (main): Doh, also unref the pas_book_factory when we are done. svn path=/trunk/; revision=2710
* Removed stale comment - FedericoFederico Mena Quintero2000-05-011-2/+0
| | | | svn path=/trunk/; revision=2709
* Stylistic fix - FedericoFederico Mena Quintero2000-05-012-3/+377
| | | | svn path=/trunk/; revision=2707
* Connect to the "last_book_gone" signal of the book factory.Federico Mena Quintero2000-05-012-1/+21
| | | | | | | | | | | | 2000-04-30 Federico Mena Quintero <federico@helixcode.com> * wombat.c (setup_pas): Connect to the "last_book_gone" signal of the book factory. (last_book_gone_cb): Handle the "last_book_gone" signal. (termination_handler): Check if the book factory has zero running backends. svn path=/trunk/; revision=2706
* Added new status values for the IDL stuff.Federico Mena Quintero2000-05-0110-91/+511
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-30 Federico Mena Quintero <federico@helixcode.com> * backend/ebook/e-book-types.h (EBookStatus): Added new status values for the IDL stuff. * backend/pas/pas-book-factory.h (PASBookFactoryClass): New "last_book_gone" signal. * backend/pas/pas-book-factory.c (pas_book_factory_launch_backend): Better error handling. (pas_book_factory_process_queue): Let pas_book_factory_process_request() free the request. (pas_book_factory_process_request): Free the request here. Perform better error handling. (free_active_server_map_entry): Free an active server map entry; free the URI key and unref the backend value. This function was renamed; the old one was trying to CORBA_Object_unref() a GTK+ object! (remove_backends_entry): Free a backend table entry; free the URI key. (backend_last_client_gone_cb): Remove the backend from the active server map and emit the "last_book_gone" signal if appropriate. (pas_book_factory_get_n_backends): New function to query the number of running backends in an addressbook factory. * backend/idl/addressbook.idl (BookListener::CallStatus): Added a ProtocolNotSupported code. This is for when the addressbook factory cannot find a provider for the requested URI. * backend/pas/pas-backend.h (PASBackendClass): New "last_client_gone" signal. (PASBackendClass): New get_uri virtual method. * backend/pas/pas-backend.c (pas_backend_load_uri): Return a gboolean success code. (pas_backend_add_client): Return a gboolean success code. (pas_backend_last_client_gone): New function used by backend implementations to notify upwards when the backend's last client is destroyed. (pas_backend_get_uri): New function to get the URI of a backend. * backend/pas/pas-backend-file.c (pas_backend_file_add_client): Pass the backend as the closure data to the "destroy" handler of the book. We cannot call pas_book_get_backend() in the callback since the book's private data has already been destroyed when the callback is invoked. Alternatively, we could move the private data destruction step to the book's ::finalize() method. (pas_backend_file_book_destroy_cb): Get the backend from the callback's data, not from the book. (pas_backend_file_remove_client): Remove the book from the list of clients. When all clients go away, call pas_backend_last_client_gone(). (PASBackendFilePrivate): Added an uri field. (pas_backend_file_get_uri): Implement the get_uri method. (pas_backend_file_load_uri): Return a gboolean success code. Also, store the URI in the private structure. (pas_backend_file_add_client): Return a gboolean success code. Also, call pas_backend_last_client_gone() if appropriate. (pas_backend_file_destroy): Free the bf->priv->uri. * backend/pas/pas-backend-ldap.c (pas_backend_ldap_add_client): Pass the backend as the closure data to the "destroy" handler of the book. See above for rationale. (pas_backend_ldap_book_destroy_cb): Get the backend from the callback's data. (pas_backend_ldap_remove_client): Remove the book from the list of clients. When all clients go away, call pas_backend_last_client_gone(). (pas_backend_ldap_load_uri): Return a gboolean success code. (pas_backend_ldap_add_client): Return a gboolean success code. Also, call pas_backend_last_client_gone() if appropriate. (PASBackendLDAPPrivate): New uri field. (pas_backend_ldap_get_uri): Implement the get_uri method. (pas_backend_ldap_load_uri): Store the uri in the private structure. (pas_backend_ldap_destroy): Free the bl->priv->uri. svn path=/trunk/; revision=2705
* Made this more reentrant.Christopher James Lahey2000-05-0111-20/+150
| | | | | | | | | | | | | | 2000-04-30 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Made this more reentrant. * e-table-sorted-variable.c, e-table-sorted-variable.h: Does a proper resort when the sorting info changes. * e-table.c, e-table.h: Made it so that ETable doesn't destroy and recreate the entire table when sorting info changes. svn path=/trunk/; revision=2704
* *** empty log message ***Seth Alves2000-05-011-0/+10
| | | | svn path=/trunk/; revision=2703
* set attendee and contact address correctly.Seth Alves2000-05-013-20/+34
| | | | | | | | | | | | * pcs/icalendar-save.c (icalcomponent_create_from_ical_object): set attendee and contact address correctly. * pcs/cal-backend.c (icalendar_calendar_load): init priv->object_hash when loading. (cal_get_type_from_filename): if file extension is .ical, consider the file an ical file. svn path=/trunk/; revision=2702
* new function to see if the event dates have changed (including anyDamon Chaplin2000-05-0113-172/+950
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-01 Damon Chaplin <damon@helixcode.com> * cal-util/calobj.c (ical_object_compare_dates): new function to see if the event dates have changed (including any recurrence rules). It is used for optimization when we get the "object_changed" signal. We have to do far less work if the dates are unchanged. * gui/e-week-view.c: * gui/e-day-view.c: only draw the selection when we have the keyboard focus, since the user expects to be able to type in a new event when the selection is shown. Also keep the selection when we lose focus, but just don't show it. Also quite a few changes to cope with the new client/server architecture. * gui/e-day-view-top-item.c (e_day_view_top_item_draw): * gui/e-day-view-main-item.c (e_day_view_main_item_draw): * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day): only draw the selection if the widget has the keyboard focus. * gui/gnome-cal.c (mark_gtk_calendar_day): fixed so it works with events longer than one day. And changed the code for updating events in the new views. svn path=/trunk/; revision=2701
* added e-ldap-server-dialog.c (glade_DATA): added ldap-server-dialog.gladeChris Toshok2000-05-016-31/+556
| | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/Makefile.am (evolution_addressbook_SOURCES): added e-ldap-server-dialog.c (glade_DATA): added ldap-server-dialog.glade * gui/component/ldap-server-dialog.glade: new file. * gui/component/e-ldap-server-dialog.h: new file. * gui/component/e-ldap-server-dialog.c: new file, contains logic associated with ldap server dialog. * gui/component/addressbook.c (control_deactivate): remove the directory server menu item. (null_cb): do nothing callback for e_book_load_uri call. should change to (at the very least) pop up a dialog if there was an error. (new_server_cb): new function - really just switches to a particular ldap server, since the information isn't saved anywhere. (control_activate): add directory server menu item. svn path=/trunk/; revision=2700
* create the book listener here, since it's destroyed in unload_uri.Chris Toshok2000-05-012-12/+18
| | | | | | | | * backend/ebook/e-book.c (e_book_load_uri): create the book listener here, since it's destroyed in unload_uri. (e_book_construct): remove the book listener construction here. svn path=/trunk/; revision=2699
* Added load-pine-addressbook.Christopher James Lahey2000-05-012-0/+5
| | | | | | | | 2000-04-30 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/.cvsignore: Added load-pine-addressbook. svn path=/trunk/; revision=2698
* Made some fields invisible that were visible before.Christopher James Lahey2000-05-017-18/+48
| | | | | | | | | | 2000-04-30 Christopher James Lahey <clahey@helixcode.com> * contact-editor/contact-editor.glade, contact-editor/e-contact-editor.c, gui/minicard/e-minicard.c: Made some fields invisible that were visible before. svn path=/trunk/; revision=2697
* From addressbook/ChangeLogChristopher James Lahey2000-05-0112-60/+698
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-30 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card.c: Make file as not have the : after it if it's empty. If there's no name, or file_as, fill in these fields with defaults based on full_name or name respectively. * backend/ebook/load-pine-addressbook.c: New file to do import of pine .addressbook files. * backend/pas/pas-backend-file.c: Made empty fields act as the empty string for searches. * contact-editor/e-contact-editor.c, contact-editor/e-contact-editor.h: Made the File As field update properly as you edit the name and company fields. Added the pull down list of File As choices. Made sure that all fields will be set to NULL if they are deleted to the empty string. * gui/minicard/e-minicard.c: Use the File As field instead of the Full Name field for the header. Make identical compares on the File As field do a compare on the uid. From wombat/ChangeLog 2000-04-30 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added ename libs to LDADD. svn path=/trunk/; revision=2696
* oops. s/CAMEL_TRANSPORT_TYPE/CAMEL_PROVIDER_TRANSPORT/Dan Winship2000-05-011-1/+1
| | | | svn path=/trunk/; revision=2695
* update for camel provider changes.Dan Winship2000-05-015-26/+0
| | | | svn path=/trunk/; revision=2694
* Remove no-longer-necessary call to camel_provider_register_as_module.Dan Winship2000-05-012-1/+5
| | | | | | | * filter-driver.c (start): Remove no-longer-necessary call to camel_provider_register_as_module. svn path=/trunk/; revision=2693
* This is no longer necessary.Dan Winship2000-04-303-20/+8
| | | | | | | | | * session.c (session_providers_init): This is no longer necessary. * mail-ops.c (fetch_mail): Remove kludge to load remote provider, as camel can do it by itself now. svn path=/trunk/; revision=2692
* Tweak the definition of CamelProvider. Among other things, a provider mayDan Winship2000-04-3020-499/+329
| | | | | | | | | | | | | | | | | | | | | | | | | | | * camel-provider.h: Tweak the definition of CamelProvider. Among other things, a provider may now be both a store and a transport. * camel-provider.c: Remove a lot of code we had no intention of using. This now only contains two functions: camel_provider_init to read the installed .urls files, and camel_provider_load to load and register a new provider. * camel-session.c: Remove more unused code and simplify some of the remaining code. The list of available provider modules is now stored in the session, and it handles calling camel_provider_load to load them as needed. Provider registration is now done by calling back from the module init routine, which allows a single module to register providers for multiple URL types. * providers/*: Update provider structures and init routines for the new stuff. Add a .urls file to each provider specifying what urls it handles, and install that with the library. * providers/nntp/camel-nntp-provider.c: Add hints towards supporting both news: and nntp: URLs, and using nntp as both a store and a transport. svn path=/trunk/; revision=2691
* Fixed a string mismatch.Christopher James Lahey2000-04-305-4/+9
| | | | | | | | | 2000-04-30 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor-fullname.c, contact-editor/fullname.glade: Fixed a string mismatch. svn path=/trunk/; revision=2690
* Added ename includes and libs.Christopher James Lahey2000-04-3012-642/+599
| | | | | | | | | | | | | | | | | | | | | | | | 2000-04-30 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am: Added ename includes and libs. * backend/ebook/e-card.c, backend/ebook/e-card.h: Added e_card_name_from_string. Added header for e_card_delivery_address_from_string, even though it's not implemented yet. * contact-editor/Makefile.am: Removed the ename includes since we no longer use ename directly here. * contact-editor/e-contact-editor.c: Fixed this to properly save the address labels displayed. Updated this to use the function e_card_name_from_string instead of doing it by hand. * contact-editor/fullname-strings.h, contact-editor/fullname.glade: Deleted an unused field. Changed the set of prefixes and suffixes. svn path=/trunk/; revision=2689
* add support for a rootdn in the uri.Chris Toshok2000-04-302-3/+17
| | | | | | | | | | | | * backend/pas/pas-backend-ldap.c (pas_backend_ldap_ensure_connected): add support for a rootdn in the uri. (pas_backend_ldap_build_all_cards_list): make use of the rootdn in the call to ldap_search_s. (pas_backend_ldap_search): same. (pas_backend_ldap_load_uri): get the rootdn out of the passed in uri. svn path=/trunk/; revision=2688
* Add \nAnders Carlsson2000-04-301-1/+1
| | | | svn path=/trunk/; revision=2687
* Added Dutch translationArjan Scherpenisse2000-04-303-1/+586
| | | | | | | | 2000-04-30 Arjan Scherpenisse <acscherp@wins.uva.nl> * nl.po: Added Dutch translation svn path=/trunk/; revision=2686
* Handle clicks on "cid" URLs by popping up a "Save Attachment" dialog.Dan Winship2000-04-303-1/+127
| | | | | | | | | | | | | * mail-display.c (on_link_clicked): Handle clicks on "cid" URLs by popping up a "Save Attachment" dialog. * mail-format.c (get_cid): if the part has a Content-Disposition with a filename specified, record (a sanitized version of) that on the wrapper when creating the cid reference, so the "save attachment" code can use it later. (handle_mystery): fix a bug in the cid generation here. svn path=/trunk/; revision=2685
* Improve the builtin vs bonobo selection code. (handle_mystery): IncludeDan Winship2000-04-306-133/+231
| | | | | | | | | | | | | | | | | | | | | | * mail-format.c (lookup_handler, etc): Improve the builtin vs bonobo selection code. (handle_mystery): Include name and Content-Description in the "mystery data" info, when available (handle_unknown_type): Call mail_identify_mime_part before giving up. (handle_undisplayable): Split out of handle_unknown_type now that handle_unknown_type can try alternate viewers. (handle_via_bonobo): Fall back to handle_undisplayable if the bonobo control fails. * mail-identify.c (mail_identify_mime_part): New function to attempt to identify a MIME part that we can't identify based on Content-Type alone. * mail-display.c (on_url_requested): redo the mystery data icon display stuff less kludgily. svn path=/trunk/; revision=2684
* Added e_card_phone_new e_card_delivery_address_new,Christopher James Lahey2000-04-3021-88/+1819
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-29 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card.c, backend/ebook/e-card.h: Added e_card_phone_new e_card_delivery_address_new, e_card_delivery_address_to_string, e_card_name_copy, e_card_name_new, e_card_name_to_string, and made e_card_name_free public. Removed some unused code. * backend/pas/pas-backend-file.c: Fixed a warning. * contact-editor/Makefile.am: Added e-contact-editor-fullname.[ch] and fullname.glade. Added e-name libs and includes. * contact-editor/e-contact-editor-fullname.c, contact-editor/e-contact-editor-fullname.h, contact-editor/fullname-strings.h, contact-editor/fullname.glade: New dialog for editing the fields of a name separately. * contact-editor/e-contact-editor.c, contact-editor/e-contact-editor.h: Create an EContactEditorFullname when you click on the Full Name button. Maintain a parsed name at all times. * gui/component/Makefile.am, gui/minicard/Makefile.am: Added e-name libs. svn path=/trunk/; revision=2683
* updated Danish stringsPablo Saratxaga2000-04-302-2/+2
| | | | svn path=/trunk/; revision=2682
* const poisonDan Winship2000-04-293-2/+5
| | | | | | | * camel-internet-address.c (camel_internet_address_get): const poison svn path=/trunk/; revision=2681
* camel_mime_parser_tell() returns an offset from where it started parsing,Dan Winship2000-04-294-15/+53
| | | | | | | | | | | | | | | | | | | * camel-mime-part-utils.c (simple_data_wrapper_construct_from_parser): camel_mime_parser_tell() returns an offset from where it started parsing, not necessarily from the start of data. Since we're parsing a bounded seekable_stream, we need to add the stream's starting bound to camel_mime_parser_tell's return value to create the substream in the right place. * camel-seekable-substream.c (camel_seekable_substream_new_with_seekable_stream_and_bounds): say CAMEL_STREAM_UNBOUND rather than -1 in doc. * camel-seekable-stream.c (camel_seekable_stream_seek): Add more info to docs. svn path=/trunk/; revision=2680
* remove an unused #includeDan Winship2000-04-291-1/+0
| | | | svn path=/trunk/; revision=2679
* fix the `USING_OAF' changes so that they work for when we are not usingLarry Ewing2000-04-292-1/+8
| | | | | | | | | | 2000-04-28 Larry Ewing <lewing@helixcode.com> * backend/pas/pas-book-factory.c (register_factory): fix the `USING_OAF' changes so that they work for when we are not using oaf. svn path=/trunk/; revision=2678
* update for Camel recipient changes. (Just to make it build, not to takeDan Winship2000-04-294-19/+48
| | | | | | advantage of new features, or do things cleanly.) svn path=/trunk/; revision=2677
* Fix broken OAF patch for the GNORBA case.Ettore Perazzoli2000-04-292-8/+14
| | | | svn path=/trunk/; revision=2676
* fix a bug that would cause corruption with very long headers.Dan Winship2000-04-292-1/+6
| | | | | | | * camel-mime-parser.c (folder_scan_header): fix a bug that would cause corruption with very long headers. svn path=/trunk/; revision=2675
* Makefile fixMiguel de Icaza2000-04-281-1/+2
| | | | svn path=/trunk/; revision=2674
* Made Evolution OAF-compatible.Ettore Perazzoli2000-04-2850-180/+1066
| | | | svn path=/trunk/; revision=2673
* Fix for removal of camelmimebodypart, and changes to recipient stuff.NotZed2000-04-283-27/+33
| | | | | | | | | | | | 2000-04-27 NotZed <NotZed@HelixCode.com> * tests/test10.c: Fix for removal of camelmimebodypart, and changes to recipient stuff. * tests/test1.c: Fix for removal of camelmimebodypart, and changes to recipient stuff. svn path=/trunk/; revision=2672
* Dont try and check a NULL header.NotZed2000-04-2811-556/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-27 NotZed <NotZed@HelixCode.com> * camel-mime-utils.c (check_header): Dont try and check a NULL header. * camel-recipient.[ch]: Dead. Its not pining. * camel-mime-message.h: Dont include recipients.h anymore. * camel-mime-message.c (camel_mime_message_add_recipient): Accept name/address separately, and store in an CamelInternetAddress. (add_recipient): Removed. (remove_recipient): Removed. (remove_recipient_address): Renamed from remove_receipient, works via address. (camel_mime_message_remove_recipient_name): New function to remove by name. (get_recipients): Removed. (camel_mime_message_get_recipients): Return a camel-internet-address. (write_to_stream): No longer write receipients directly. (write_recipients_to_stream): Removed. (write_one_recipient_to_stream): Removed. (camel_mime_message_init): Setup recipients hashtable, rather than usign the recipients stuff. (set_recipient_list_from_string): Killed, a violent and lengthy death. (process_header): Simplified recipient handling code a lot. (received_date_str, sent_date_str, reply_to_str, subject_str, from_str): Removed some oddly-defined global statics. (camel_mime_message_class_init): Dont initialise above variables anymore. (init_header_name_table): Removed, use a table to init this, and do it in class init (2 lines of code ...). * camel-news-address.c: Class to represent news addresses - currently empty, and not built. * camel-internet-address.h: Class to represent internet (email) addresses. * camel-address.h: Abstract class to represent (lists of) addresses. svn path=/trunk/; revision=2671
* deleted some commented out codeSeth Alves2000-04-281-3/+1
| | | | svn path=/trunk/; revision=2670
* *** empty log message ***Seth Alves2000-04-281-0/+7
| | | | svn path=/trunk/; revision=2669
* fix memory leak (save_to_vcal): same (save): same (cal_backend_load): sameSeth Alves2000-04-281-0/+5
| | | | | | | | | * pcs/cal-backend.c (cal_backend_load): fix memory leak (save_to_vcal): same (save): same (cal_backend_load): same svn path=/trunk/; revision=2668
* Class to represent news addresses - currently empty, and not built.NotZed2000-04-288-0/+694
| | | | | | | | | | | | | | | 2000-04-27 NotZed <NotZed@HelixCode.com> * camel-news-address.c: Class to represent news addresses - currently empty, and not built. * camel-internet-address.h: Class to represent internet (email) addresses. * camel-address.h: Abstract class to represent (lists of) addresses. svn path=/trunk/; revision=2667
* Revert previous change. I was confused.Dan Winship2000-04-282-7/+7
| | | | | | | * camel-mime-part.c (write_to_stream): Revert previous change. I was confused. svn path=/trunk/; revision=2666
* Oops. Remove the part of the previous patch that wasn't supposed toDan Winship2000-04-281-24/+8
| | | | | | escape into the real world. :) svn path=/trunk/; revision=2665
* Move text_to_html to e-util.Dan Winship2000-04-285-217/+70
| | | | | | | | | | | | | * mail-format.c: Move text_to_html to e-util. * mail-ops.c (send_to_url): New routine. Thin wrapper for e_msg_composer_new_from_url. * mail-display.c (on_link_clicked): print a warning for news or nntp URLs (which we'll deal with some day), and call send_to_url for mailto URLs. svn path=/trunk/; revision=2664
* New routine, to process mailto URLs.Dan Winship2000-04-283-0/+131
| | | | | | | * e-msg-composer.c (e_msg_composer_new_from_url): New routine, to process mailto URLs. svn path=/trunk/; revision=2663
* Moved here from the mailer, since it's of general use, and the composerDan Winship2000-04-284-0/+287
| | | | | | | * e-html-utils.c (e_text_to_html): Moved here from the mailer, since it's of general use, and the composer needs it too. svn path=/trunk/; revision=2662
* expose these routines.Dan Winship2000-04-283-24/+42
| | | | | | | * camel-url.[ch] (camel_url_encode, camel_url_decode): expose these routines. svn path=/trunk/; revision=2661
* Improve URL converstion code. Recognize https, recognize "www\..*" withoutDan Winship2000-04-282-14/+55
| | | | | | | | | * mail-format.c (text_to_html): Improve URL converstion code. Recognize https, recognize "www\..*" without a prefixed "http://". Properly escape &, <, >, etc in URL strings. Don't be fooled by "mailto:", "http://", etc with no following data. svn path=/trunk/; revision=2660
* Fixed some warnings.Christopher James Lahey2000-04-2814-16/+20
| | | | | | | | | | 2000-04-27 Christopher James Lahey <clahey@helixcode.com> * arrow-down.xpm, arrow-up.xpm, e-cell-text.c, e-cell-toggle.c, e-table-col.c, e-table-config.c, e-table-header-item.c: Fixed some warnings. svn path=/trunk/; revision=2659
* Added addressbook/ename/Makefile.Christopher James Lahey2000-04-2821-292/+750
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-27 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added addressbook/ename/Makefile. From addressbook/ChangeLog: 2000-04-27 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card.c, backend/ebook/e-card.h: Added file as, office, manager, assistant, spouse, and anniversary fields. These all use "X-EVOLUTION-" fields in the VCards. * backend/pas/pas-backend-file.c: Added all the new fields (except anniversary) to the list of fields. * contact-editor/contact-editor.glade, contact-editor/e-contact-editor-strings.h: Fixed some misnamed fields and fixed the placement of the comments field. * contact-editor/e-contact-editor.c: Made the newly added fields display properly. * Makefile.am: Added ename. * ename/e-name-western.h, ename/test-ename-western-gtk.c, ename/test-ename-western.c: Fixed up some #includes. * ename/.cvsignore: Added .cvsignore. svn path=/trunk/; revision=2658
* Oops, forgot this.Nat Friedman2000-04-272-0/+1712
| | | | svn path=/trunk/; revision=2657
* Further Makefile loving.Ettore Perazzoli2000-04-273-2/+10
| | | | svn path=/trunk/; revision=2656
* Fix broken `Makefile.am' again. I am frustrated.Ettore Perazzoli2000-04-272-1/+9
| | | | svn path=/trunk/; revision=2655
* Diagram of the camel-stream and derived classes used withinMichael Zucci2000-04-271-0/+0
| | | | | | camel. svn path=/trunk/; revision=2654
* Reorganize a bit and add a new flag, TEXT_TO_HTML_CONVERT_URLS toDan Winship2000-04-273-95/+145
| | | | | | | | | | | | | * mail-format.c (text_to_html): Reorganize a bit and add a new flag, TEXT_TO_HTML_CONVERT_URLS to recognize and wrap URLs in text. * mail-display.c (mail_html_new): Add link_clicked signal handler. (on_link_clicked): Use gnome_url_show to launch a browser. The Dingus has landed. svn path=/trunk/; revision=2653
* + * configure.in: added tools/Makefile.Matthew Loper2000-04-276-0/+32
| | | | | | | | | | | | | | | | + + * Makefile.am: Added tools. + + * tools/: New directory for tools relating to evolution. + + * tools/killev: New script for killing all evolution-related + stuff. + + * tools/Makefile.am: New file. + + * tools/.cvsignore: New file. svn path=/trunk/; revision=2652
* Oops. Fix previous commit so we don't get a mime part nested directlyDan Winship2000-04-271-5/+15
| | | | | | inside a mime part svn path=/trunk/; revision=2651
* Updated Norwegian translation.Kjartan Maraas2000-04-271-42/+29
| | | | | | | | 2000-04-25 Kjartan Maraas <kmaraas@online.no> * no.po: Updated Norwegian translation. svn path=/trunk/; revision=2650
* Fix the changes to the testsMichael Zucci2000-04-274-7/+15
| | | | | | | - open for write should use O_CREAT|O_TRUNC as well - open for read should use mode 0 svn path=/trunk/; revision=2649
* Only generate a multipart message if there are attachments. OtherwiseDan Winship2000-04-272-9/+15
| | | | | | | | * e-msg-composer.c (build_message): Only generate a multipart message if there are attachments. Otherwise generate a single part. svn path=/trunk/; revision=2648
* Only write a newline between the headers and the content object if theDan Winship2000-04-272-4/+12
| | | | | | | | | * camel-mime-part.c (write_to_stream): Only write a newline between the headers and the content object if the content object is not a CamelMedium. (If the content is a medium, it may have its own headers, which then need to go before the blank line.) svn path=/trunk/; revision=2647
* Added an address label field.Christopher James Lahey2000-04-2712-844/+737
| | | | | | | | | | | | | | | | | 2000-04-26 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card-types.h, backend/ebook/e-card.c, backend/ebook/e-card.h: Added an address label field. * contact-editor/contact-editor.glade, contact-editor/e-contact-editor-strings.h: Got rid of some unused fields. * contact-editor/e-contact-editor.c, contact-editor/e-contact-editor.h: Added the address label field. Load only. Editing these fields seems to mess things up. svn path=/trunk/; revision=2646
* Remove. We weren't using the fields that made this different fromDan Winship2000-04-2717-343/+90
| | | | | | | | | | | | | * camel-mime-body-part.[ch]: Remove. We weren't using the fields that made this different from camel-mime-part, so it basically just forced us to do lots of gratuitous typecasting. * camel-multipart.[ch]: Use CamelMimePart. Remove the multipart parent stuff, since we weren't using that either. * etc: update for CamelMimeBodyPart -> CamelMimePart svn path=/trunk/; revision=2645
* Update for camel_mime_part_set_content.Dan Winship2000-04-273-25/+27
| | | | svn path=/trunk/; revision=2644
* sink the content object after referencing it.Dan Winship2000-04-274-69/+49
| | | | | | | | | | | * camel-medium.c (set_content_object): sink the content object after referencing it. * camel-mime-part.c: fix various little things in the handling of CamelMedium methods. Change camel_mime_part_set_text to the more generic camel_mime_part_set_content. svn path=/trunk/; revision=2643
* sync to current realityDan Winship2000-04-275-148/+23
| | | | | | | | * camel.h: sync to current reality * camel-folder-utils.[ch]: removed svn path=/trunk/; revision=2642
* Translations from KeldKenneth Christiansen2000-04-271-31/+18
| | | | svn path=/trunk/; revision=2641
* fix format specifier for time zone. Fix typo in month names array.Dan Winship2000-04-272-3/+7
| | | | | | | * camel-mime-utils.c (header_format_date): fix format specifier for time zone. Fix typo in month names array. svn path=/trunk/; revision=2640
* + * tests/.cvsignore: Added test13.Matthew Loper2000-04-276-3/+14
| | | | | | | | | | | + + * default_user/.cvsignore: New file. + + * src/libical/.cvsignore: added icalversion.h. + + * src/libical/icalversion.h: autogenerated file removed from cvs. svn path=/trunk/; revision=2639
* + * widgets/e-text/e-text.c (e_text_destroy): Kill text->timer andMatthew Loper2000-04-275-18/+108
| | | | | | | | | | | + text->timeout on destroy. + + * e-shell-view.c (bonobo_widget_is_dead): Helper function to see + whether a bonobo widget is a zombie (ie the remote bonobo control + died). + (e_shell_view_set_view): Try to respawn dead bonobo widgets. svn path=/trunk/; revision=2638
* Added a missing include.Christopher James Lahey2000-04-263-0/+6
| | | | | | | | 2000-04-26 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Added a missing include. svn path=/trunk/; revision=2637
* Update for the camel changes.Dan Winship2000-04-266-19/+19
| | | | | | | | | | * tests: Update for the camel changes. * Makefile.am (SUBDIRS): Remove tests. They aren't terribly useful/interesting any more for the most part, and they frequently don't compile. svn path=/trunk/; revision=2636
* add e-popup-menu.[ch]Miguel de Icaza2000-04-264-0/+230
| | | | svn path=/trunk/; revision=2635
* move #include <locale.h> above the others because it was gettingSeth Alves2000-04-262-2/+4
| | | | | | wigged out on a solaris build. svn path=/trunk/; revision=2634
* New file. Implements easy to use popup menus.Miguel de Icaza2000-04-262-5/+11
| | | | | | | | 2000-04-24 Miguel de Icaza <miguel@helixcode.com> * e-popup-menu.c: New file. Implements easy to use popup menus. svn path=/trunk/; revision=2633
* Add argument handling here.Miguel de Icaza2000-04-2623-998/+523
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-24 Miguel de Icaza <miguel@helixcode.com> * e-table.c (e_table_class_init): Add argument handling here. * e-table-group-leaf.c (e_table_group_apply_to_leafs): New method. Enables us to walk all the children of an ETableGroup. * e-table.c (et_get_arg, et_set_arg): Implement ::get and ::set methods. (e_table_construct_from_spec_file): Now we return the etable. (e_table_construct): ditto. (et_real_construct): Now we return the ETable. Returns NULL on construct failure. (e_table_new): ditto. (e_table_new_from_spec_file): ditto. * (et_build_grouping_spec): Removed vestige code that still contained references to the etable->specification XML code. Dumped all the ifdefed out code. * e-table.h: Removed ETable->specification finally. svn path=/trunk/; revision=2632
* update for CamelStream changes.Dan Winship2000-04-262-5/+8
| | | | | | * mail-format.c: update for CamelStream changes. svn path=/trunk/; revision=2631
* add a s/SIMPLE_// that notzed missed remove a now-unused variableDan Winship2000-04-263-2/+7
| | | | | | | | * e-msg-composer-attachment-bar.c (attach_to_multipart): add a s/SIMPLE_// that notzed missed * e-msg-composer.c (build_message): remove a now-unused variable svn path=/trunk/; revision=2630
* Danish translations from KeldKenneth Christiansen2000-04-261-74/+90
| | | | svn path=/trunk/; revision=2629
* Replaced libcal-util.la with *.laChristopher James Lahey2000-04-263-1/+9
| | | | | | | | | | 2000-04-26 Christopher James Lahey <clahey@helixcode.com> * cal-util/.cvsignore: Replaced libcal-util.la with *.la * pcs/.cvsignore: Added *.la and *.lo. svn path=/trunk/; revision=2628
* Removed.Christopher James Lahey2000-04-262-376/+4
| | | | | | | | 2000-04-26 Christopher James Lahey <clahey@helixcode.com> * src/test/Makefile.in: Removed. svn path=/trunk/; revision=2627
* Added proper handling of the email field.Christopher James Lahey2000-04-263-48/+145
| | | | | | | | | 2000-04-26 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor.c: Added proper handling of the email field. svn path=/trunk/; revision=2626
* Prefixed the ADDR_ flags.Christopher James Lahey2000-04-2613-678/+714
| | | | | | | | | | | | | | | | | | 2000-04-26 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card-types.h, backend/ebook/e-card.c, gui/minicard/e-minicard.c: Prefixed the ADDR_ flags. * contact-editor/contact-editor.glade, contact-editor/e-contact-editor-strings.h: Edited the glade file. Removed all the fields that we don't use. * contact-editor/e-contact-editor.c, contact-editor/e-contact-editor.h: Made the phone fields work properly. The address and email fields are temporarily turned off until they can be made to work as the phone fields do. svn path=/trunk/; revision=2625
* Big cleanup of camel-stream-*, got rid of 3 classes, improved the interfaces,NotZed2000-04-2634-1923/+935
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and fixed at least one problem (end of stream never happening in certain cases). Things that can fail now have a way of saying they failed too. So much for taking ANZAC day off to get drunk! 2000-04-26 NotZed <NotZed@HelixCode.com> * camel-seekable-substream.c (stream_seek): Changed to have absolute seek semantics, not relative to the bounds. * camel-seekable-stream.c (reset): When we reset, seek to the start of the bound, if there is one. (stream_tell): Make tell virtual. * camel-stream-filter.c (do_available): Removed. * camel-stream-buffer.c: Remove leading _'s from static functions. (stream_read): Renamed from read(). Fancy that conflicting! (my boo!) Others too. * providers/pop3/camel-pop3-folder.c (get_message_by_number): Changed to stream_mem interface. * providers/mbox/camel-mbox-folder.c (_get_message_by_uid): Fixed for streamfs interface changes, and implement a failure case. (_append_message): Changed for fs stream interface change. * camel-multipart.c (print_part): Iterate rahter than callback. I hate glists's interface (hence, move this to write_to_stream). (write_to_stream): Return an error (yuck, this is a royal PITA to do with the stream write interface). * camel-mime-message.c: Removed leading _ from static names. * camel-mime-part.h: construct_from_parser() now returns an error code. * camel-mime-part-utils.c (camel_mime_part_construct_content_from_parser): Changed to use a camel-data-wrapper instead of a camel-simple-data-wrapper (no change needed elsewhere?). (simple_data_wrapper_construct_from_parser): Fixes for stream-mem interface changes. * camel-simple-data-wrapper.[ch], camel-simple-data-wrapper-stream.[ch], camel-stream-data-wrapper.[ch], removed. Fixed including of these files. * camel-mime-part.c (camel_mime_part_set_text): Remove the use of the camel-simple-data-wrapper-stream, just use a mem stream. (write_to_stream): Renamed from my_* (construct_from_stream): Return an error on error. * camel-stream-mem.c (camel_stream_mem_new*): Remove mode parameter. * camel-stream-mem.h (enum CamelStreamMemMode): Removed. It wasn't used at all. * camel-data-wrapper.h: Add camel_data_wrapper_new() to create these. (write_to_stream, construct_from_stream): Return an error indicator for success. Fixed all methods to match (ICK). * Makefile.am (libcamel_la_SOURCES): Remove camel-simple-data-wrapper.c, camel-simple-data-wrapper-stream.c, camel-stream-data-wrapper.c. Obsoleted by code re-use! * camel-data-wrapper.c (construct_from_stream): Change the default implementation to just set the output stream == construction stream. Well, this lets me get rid of both simple-data-wrapper and stream-data-wrapper (unused anyway), and simple-data-wrapper-stream in one hit. CamelDataWrapper is now also a concrete class. (write_to_stream): Use camel_stream_write_to_stream() to calculate/return values (and save code). Include <errno.h> for obvious reasons. * camel-stream.c (eos): Provide a default implementation of .eos(). (camel_stream_write_to_stream): Make it return an error code on error. (camel_stream_printf): Changed to return the number of bytes written/error. (camel_stream_available): Removed. * camel-stream-fs.h (enum CamelStreamFsMode): Removed. Changed to use unix modes and so forth (wasn't used for anything but new file creation and didn't work well either). * camel-stream-fs.c: Removed leading _'s for names. And removed some virtual method 'documentation'. (destroy): Dont try and close a closed/error fd. Only report error if close returns -1. Moved all the code to finalise(), and killed this function. (init_with_fd): Properly setup the seek offset, if it is a valid and seekable file descriptor. (init_with_fd_and_bounds): Use off_t for bounds, set bounds on the seekable stream. (init_with_name): Return error codes. (init_with_name_and_bounds): Ditto. (camel_stream_fs_new_with_name): REturn NULL object if it failed. (camel_stream_fs_new_with_name_and_bounds): Return NULL object on failure. Changed with_name* api's to take unix open style args and flags. (read): The bounded stream bounds checking seemed off, simplified code a bit. (write): Implement bounds checking for writing, the comment was wrong, it could make sense to bound writing. Cleaned up a little. (available): Gone. (eos): Removed. Use CamelStream's implementation now. (close): Reset the fd to -1, provide a warning for bad usage. (seek): Cleaned up. Changed the behaviour a little, the returned offset is the absolute position in the file, even in bounded streams. (seek): Seek from end mirrors lseek() behaviour (reverse seeking). 2000-04-25 NotZed <NotZed@HelixCode.com> * camel-stream-fs.h (struct _CamelStreamFs): Moved bounds and eof indicator to other parent classes. * camel-stream.c (camel_stream_printf): New utility function. Obvious use. * camel-stream-mem.c: Removed leading _'s from static func's. (camel_stream_mem_new_with_byte_array): Fixed for api changes, set the owner for the byte array to us. : Removed A bunch of gtk doc stuff for static (implementation) functions. (available): Removed. (write): Fixed the write implementation so that seek() works on a seekable memory stream, as expected. Seeking past the end of the buffer has unix semantics (filling with 0). (available): Removed. (write): Implement seekable stream bounded stream. (read): Implement seekable stream bounded stream. (close): Dont free the stream_mem if we're not the owner. (seek): Allow to seek beyond the end of memory area, implement bounds checking. (seek): Set errno on bad policy. * camel-stream-mem.h (struct _CamelStreamMem): Changed position to off_t. (new_with_buffer): Changed len to be a size_t. (set_buffer, set_byte_array): New interface functions. (struct _CamelStreamMem): Removed position, it is stored in the superclass. * camel-stream.h: Removed some of the seemingly random whitespace. Removed the available method (its not impelemented/useful enough). * camel-seekable-substream.c (init_with_seekable_stream_and_bounds): Remove the data_available stuff, it hasn't been properly implemented/finished, and may never work (unfortunately *sigh). (reemit_parent_signal): Removed part of the above change. (set_bounds): Removed (moved to seekable-stream). : Fixed up some of the generally unreadable indenting (sorry, wrapping at 80 characters with camels_really_long_function_names() just_doesnt_work_very_well_does_it(). (available): Removed. (stream_seek): Fixup for object changes. Make sure we return -1 if the parent stream can't seek. * camel-seekable-stream.c (ccamel_seekable_stream_set_bounds): New function to bound any seekable stream. : Removed _'s. (camel_seekable_stream_class_init): Implement an init function, to setup the stream bounds to unbound. * camel-seekable-stream.h (CamelSeekableStreamClass): New virtual method set_bounds for seekable streams. (CAMEL_STREAM_UNBOUND): New define for no bound. * camel-seekable-substream.h (struct _CamelSeekableSubstream): Removed sup_bound and inf_bound, moved to CamelSeekableStream (and renamed, and changed to off_t's). (new_with_seekable_stream_and_bounds): Use off_t as the bounds. (CamelSeekableSubstreamClass): Uh, why was the intialiser virtual? Removed. * camel-seekable-stream.[ch] (CamelSeekableStreamClass): Changed seek to accept an off_t as the offset. (struct _CamelSeekableStream): Renamed cur_pos to position and changed it to an off_t type. (enum CamelStreamSeekPolicy): Set to match the SEEK_* constants from lseek(). (get_current_position): Renamed to tell(). * camel-stream-buffer.h: Commented out set_vbuf - never implemented. svn path=/trunk/; revision=2624
* Use camel_mime_part_set_text() to set the text rather than messing withNotZed2000-04-263-9/+15
| | | | | | | | | | | | | 2000-04-26 NotZed <NotZed@HelixCode.com> * e-msg-composer.c (build_message): Use camel_mime_part_set_text() to set the text rather than messing with data wrappers. * e-msg-composer-attachment-bar.c (attach_to_multipart): Change for new camel-stream interfaces. (attach_to_multipart): Also set base64 encoding by default. svn path=/trunk/; revision=2623
* Eeek, remove "while(1);" debug code - FedericoFederico Mena Quintero2000-04-261-3/+0
| | | | svn path=/trunk/; revision=2622
* only return TRUE if the parent is at eos AND the buffer has been exhaustedDan Winship2000-04-262-1/+4
| | | | | | | * camel-stream-buffer.c (_eos): only return TRUE if the parent is at eos AND the buffer has been exhausted svn path=/trunk/; revision=2621
* New module-wide variables for the PAS and PCS factories. (setup_pcs):Federico Mena Quintero2000-04-262-21/+98
| | | | | | | | | | | | | | | | | | | | 2000-04-25 Federico Mena Quintero <federico@helixcode.com> * wombat.c (cal_factory pas_book_factory): New module-wide variables for the PAS and PCS factories. (setup_pcs): Connect to the "last_calendar_gone" signal of the calendar factory. (last_calendar_gone_cb): Queue a termination job. (queue_termination): Function to queue a termination job. We have to use a timeout to reduce the probability of running into GOAD's race condition with factories. (termination_handler): Check that the PCS and the PAS have zero backends. If so, exit the main loop. (setup_vfs): Use EXIT_FAILURE instead of 1. (init_bonobo): Likewise. (main): Destroy the factories and exit Wombat. Wheee! svn path=/trunk/; revision=2620
* Renamed from backend_destroy_cb. Now we use it for the "last_client_gone"Federico Mena Quintero2000-04-265-10/+82
| | | | | | | | | | | | | | | | | | | | | 2000-04-25 Federico Mena Quintero <federico@helixcode.com> * pcs/cal-factory.c (backend_last_client_gone_cb): Renamed from backend_destroy_cb. Now we use it for the "last_client_gone" signal from the backend. Also, unref the backend to destroy it. (add_backend): Connect to the "last_client_gone" signal of the backend. (cal_factory_get_n_backends): New function to query the number of running backends. * pcs/cal-backend.c (cal_backend_class_init): Register the new "last_client_gone" signal. It is emitted when the last Cal client goes away. It is used to notify the factory when a backend may be safely destroyed. (cal_destroy_cb): Emit the "last_client_gone" signal when the last client disconnects from the backend. svn path=/trunk/; revision=2619
* add a convert_space_hack flag, which turns N spaces into N-1 &nbsp;s and aDan Winship2000-04-262-28/+138
| | | | | | | | | | | | | * mail-format.c (text_to_html): add a convert_space_hack flag, which turns N spaces into N-1 &nbsp;s and a space. (handle_text_plain): Check for "format=flowed" in the Content-Type. (handle_text_plain_flowed): Spinoff of handle_text_plain to deal with RFC 2646 flowed text. (All the examples I can find of it are generated by Eudora, but it's a pretty cool idea that ought to be used more widely.) svn path=/trunk/; revision=2618
* compare iCalObjects by their UIDs instead of by their pointers.Seth Alves2000-04-263-2/+9
| | | | | | | * gui/e-day-view.c (e_day_view_find_event_from_ico): compare iCalObjects by their UIDs instead of by their pointers. svn path=/trunk/; revision=2617
* Now that we're not limited to a single GtkHTML for the display, there's noDan Winship2000-04-263-270/+191
| | | | | | | | | | | | | | | | | * mail-format.c, mail-display.c: Now that we're not limited to a single GtkHTML for the display, there's no reason to embed Bonobo objects for unrecognized content-types in GtkHTML rather than embedded them into the vbox directly. So do that. Meanwhile, fix up the handler-selection code so that we can declare which built-in handlers are more desirable than external handlers and which are less. (Of course, eventually we'll want this to be customizable.) Add some cleverness to handle_multipart_alternative as well so it doesn't accept an alternative which we can display generically over one we can display specifically. svn path=/trunk/; revision=2616
* don't save on destroy.Seth Alves2000-04-262-3/+6
| | | | | | * pcs/cal-backend.c (cal_backend_destroy): don't save on destroy. svn path=/trunk/; revision=2615
* The Joy of Broken Makefiles Part #3.Ettore Perazzoli2000-04-263-4/+11
| | | | svn path=/trunk/; revision=2614
* hook for widget destroy -- used to unref the CalClient so wombat knows weSeth Alves2000-04-263-11/+37
| | | | | | | | * gui/gnome-cal.c (gnome_calendar_destroy): hook for widget destroy -- used to unref the CalClient so wombat knows we are gone. (gnome_calendar_class_init): added a class init for this widget. svn path=/trunk/; revision=2613
* (reply_body): Make this deal better with multiparts.Dan Winship2000-04-262-40/+30
| | | | svn path=/trunk/; revision=2612
* (setup_function_table): pass unknown text subtypes toDan Winship2000-04-262-3/+34
| | | | | | | | | | | handle_text_plain. (handle_multipart_appledouble): new handler. Just ignores the first (application/applefile) part and tries to display the second part. Since the second part is usually application/octet-stream, this doesn't work very well still usually. svn path=/trunk/; revision=2611
* The Joy of Broken Makefiles Part #3.Ettore Perazzoli2000-04-264-4/+11
| | | | svn path=/trunk/; revision=2610
* The Joy of Broken Makefiles Part #2.Ettore Perazzoli2000-04-262-17/+16
| | | | svn path=/trunk/; revision=2609
* Updated Norwegian translation.Kjartan Maraas2000-04-262-76/+96
| | | | | | | | 2000-04-25 Kjartan Maraas <kmaraas@online.no> * no.po: Updated Norwegian translation. svn path=/trunk/; revision=2608
* Fix compile with builddir != srcdir.Ettore Perazzoli2000-04-263-2/+6
| | | | svn path=/trunk/; revision=2607
* Fix compilation by using `$(GTKHTML_CFLAGS)' instead of `-IEttore Perazzoli2000-04-262-1/+5
| | | | | | $(GTKHTML_CFLAGS)'. svn path=/trunk/; revision=2606
* allow for null icoSeth Alves2000-04-264-3/+9
| | | | | | | | * gui/e-day-view.c (e_day_view_update_event): allow for null ico * gui/e-week-view.c (e_week_view_update_event): allow for null ico svn path=/trunk/; revision=2605
* fix menu problem in composer windowRadek Doulik2000-04-262-7/+10
| | | | | | | | | | | | * fix menu problem in composer window 2000-04-25 Radek Doulik <rodo@helixcode.com> * e-msg-composer.c (create_editor): use uih here (e_msg_composer_construct): create menubar/toolbar before creating editor control svn path=/trunk/; revision=2604
* fix some incorrect macro usage that resulted in bogus castsDan Winship2000-04-252-4/+9
| | | | | | | * camel-mime-message.c: fix some incorrect macro usage that resulted in bogus casts svn path=/trunk/; revision=2603
* Fix some bugs that crept into reply generation. This needs a lot more workDan Winship2000-04-252-5/+21
| | | | | | | | * mail-format.c (reply_body): Fix some bugs that crept into reply generation. This needs a lot more work to deal correctly with complicated bodies. svn path=/trunk/; revision=2602
* Redo large chunks of this. The mail display now consists of a vbox in aDan Winship2000-04-255-638/+747
| | | | | | | | | | | | | | | | | | * mail-display.c, mail-format.c: Redo large chunks of this. The mail display now consists of a vbox in a scrolled window, in which we put multiple GtkHTML objects. This means broken HTML in one part can't corrupt other parts. The headers now scroll with the body. Unrecognized attachments look prettier, but still don't do anything, and will probably be changed later. We can also now display nested message/rfc822 parts and multipart/alternatives with multipart subparts. Oh, and text/{richtext,enriched}, since we had all these ancient sample messages that use it and the lack of support annoyed me. :) Bonobo embeddables are broken right now, but I don't think that's my fault. svn path=/trunk/; revision=2601