2003-07-17 Jeffrey Stedfast <fejj@ximian.com>
* camel-stream-fs.c (stream_read): Increment the seekable stream
position by the number of bytes read. Oops.
(stream_write): Same here.
svn path=/trunk/; revision=21862
2003-07-17 Jeffrey Stedfast <fejj@ximian.com>
* camel-stream-fs.c (stream_read): Increment the seekable stream
position by the number of bytes read. Oops.
svn path=/trunk/; revision=21861
* gui/widgets/e-addressbook-view.c (e_addressbook_view_dispose):
disconnect from model signals to prevent a race condition at
shutdown where the view gets destroyed and then the model notices
the backend dying before being destroyed itself.
* gui/widgets/e-addressbook-reflow-adapter.c
(addressbook_finalize): add, to free priv.
(e_addressbook_reflow_adapter_class_init): set it up
* gui/component/e-address-popup.c (e_address_popup_set_free_form):
Don't leak strings
* gui/component/addressbook-storage.c (load_source_data): don't
leak xml data.
* gui/component/addressbook-component.c (new_item_cb): don't leak
the new card.
svn path=/trunk/; revision=21858
2003-07-03 JP Rosevear <jpr@ximian.com>
* e-xml-hash-utils.c (foreach_save_func): encode the text
(e_xml_from_hash): pass xmlDoc to foreach method
(e_xmlhash_new): check for file existence
(e_xmlhash_destroy): only destroy the hash if it exists
svn path=/trunk/; revision=21856
2003-07-17 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-cal-view.[ch]: new base class for calendar views.
* gui/e-day-view.[ch]:
* gui/e-week-view.[ch]: base these classes on ECalView.
* gui/Makefile.am: added new files.
svn path=/trunk/; revision=21854
2003-07-17 Timo Sirainen <tss@iki.fi>
** See bug #42573
* providers/imap/camel-imap-folder.c (do_append): Only free the
response after we have finished the literal request, otherwise we
could try processing folder updates incorrectly.
svn path=/trunk/; revision=21851
2003-07-16 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.[ch] (gnome_calendar_purge): new function,
which uses a CalQuery to retrieve the objects older than a given date.
(check_instance_cb): callback for cal_recur_generate_instances.
(purging_obj_updated_cb): call check_instance_cb on each recurrence
to double-check the event can be deleted.
(purging_query_done_cb, purging_eval_error_cb): needed callbacks to
finish the query.
(gnome_calendar_destroy): free new members.
* gui/calendar-commands.c (purge_cmd): added implementation for the
'Purge' menu item.
svn path=/trunk/; revision=21846
2003-07-16 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (handle_multipart_encrypted): We don't have
camel_pgp_mime_is_rfc2015_encrypted() anymore so just look at the
protocol for now.
(mail_format_data_wrapper_write_to_stream): Updated for the new
way camel handles content objects.
svn path=/trunk/; revision=21844
2003-07-16 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (attach_to_multipart): don't set
the rawtext bit anymore.
* e-msg-composer.c (build_message): Convert the plain part's
content stream from UTF-8 to whatever charset we want.
2003-07-16 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (popup_menu_event): Fix warnings
and other breakage introduced by Maxx.
svn path=/trunk/; revision=21843
2003-07-14 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.h: Add the CamelMimePartEncodingType definition
here.
* camel-mime-part.h: Remove the CamelMimePartEncodingType
definition.
* camel-mime-part-utils.c
(simple_data_wrapper_construct_from_parser): Don't do any of the
auto-detection we used to do here anymore. Just read the content
into a memory buffer and record the encoding type.
(camel_mime_part_construct_content_from_parser): Don't mangle the
Content-Type struct here anymore.
* camel-data-wrapper.c (camel_data_wrapper_init): Init encoding to
DEFAULT.
(write_to_stream): If the stream needs to be decoded, decode it.
svn path=/trunk/; revision=21842
2003-07-16 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (handle_multipart_encrypted): We don't have
camel_pgp_mime_is_rfc2015_encrypted() anymore so just look at the
protocol for now.
svn path=/trunk/; revision=21841
2003-07-16 Andrew Wu <Yang.Wu@sun.com>
Fixes#45774
* gui/e-day-view.c (e_day_view_goto_start_of_work_day):
implemented select the time that begins a work day.
(e_day_view_goto_end_of_work_day):
implemented select the time that ends a work day.
svn path=/trunk/; revision=21839
2003-07-16 Andrew Wu <Yang.Wu@sun.com>
Fixes#45772
* gui/gnome-cal.c(gnome_calendar_goto_date): implemented Alt+Left/Right
to go to the same day of the previous/next week.
* gui/gnome-cal.h:add two element in GnomeCalendarGotoDateType.
svn path=/trunk/; revision=21836
2003-07-15 Jeffrey Stedfast <fejj@ximian.com>
* camel-stream-fs.c (stream_read): If we read 0 bytes, then set
eos to TRUE.
svn path=/trunk/; revision=21820
2003-07-15 Federico Mena Quintero <federico@ximian.com>
* folder-browser.c (message_list_drag_data_received): Handle
invalid URIs, or more likely, the last empty element in a URI list
--- g_strsplit() will yield { "uri1", "", NULL }. Fixes#46398.
* component-factory.c (destination_folder_handle_drop): Likewise.
svn path=/trunk/; revision=21818
2003-07-15 Yuedong Du <yuedong.du@sun.com>
* mail-config.c: (config_write_style), (mail_config_init): remove
the use of caret mode widget style.
* mail-display.c: (display_notify), (mail_display_new): use new
gtkhtml api to set caret mode.
svn path=/trunk/; revision=21816
2002-07-14 Maxx Cao <maxx.cao@sun.com>
** For bug #45826
* e-msg-composer-attachment-bar.c (class_init): connect the
"popup_menu" signal, so that S-F10 keybinding will work.
(popup_menu_event): funcion added to handle "popup_menu" (S-F10 key).
(popup_menu_placement_callback): function added to place the popup
menu to the center of attachment icon, in case it is activated by
keyboard.
svn path=/trunk/; revision=21812
2003-07-14 Rodrigo Moya <rodrigo@ximian.com>
Fixes#41676
* gui/dialogs/alarm-options.c (palarm_options_changed_cb,
repeat_spin_button_changed_cb, repeat_unit_changed_cb): new callbacks for
managing modifications in the 'Run a program' alarm case.
(repeat_toggle_toggled_cb): if the alarm being edited has a procedure
action, call palarm_options_changed_cb.
(init_widgets): connect new callbacks.
(alarm_to_dialog): disable 'OK' button if a procedure alarm.
svn path=/trunk/; revision=21810
2003-07-11 Federico Mena Quintero <federico@ximian.com>
* gui/dialogs/task-details-page.glade: Changed the "URL:" label to
"_Web Page:". Added a widget name to the URL label so that we can
hook up its mnemonic by hand. Added underlines to the "%
Complete:" and "Date Completed:" labels. Added a widget name to
the date completed label, also so that we can hook up its mnemonic.
* gui/dialogs/task-details-page.c (get_widgets): Get the url_label
and date_completed_label as well.
(init_widgets): Set the mnemonic widgets of the url_label and the
date_completed_label by hand, as their respective widgets are
not created by libglade.
* gui/e-calendar-table.c (tasks_popup_menu): Added an item for
"Open Web Page".
(e_calendar_table_show_popup_menu): Disable the aforementioned
menu item if the selected task doesn't have the URL property set.
(open_url_cb): New callback.
* gui/e-tasks.c (write_html): Make the HTML say "Web Page:"
instead of "URL:".
svn path=/trunk/; revision=21805
2003-07-11 Antonio Xu <antonio.xu@sun.com>
* folder-browser-ui.c: Change the EditPaste mask to IS_0MESSAGE so
that it is always activatable. Fixes bug #46018.
svn path=/trunk/; revision=21801
2003-07-10 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
* es.po: Updated Spanish translation by
Francisco Javier F. Serrador <serrador@arrakis.es>.
svn path=/trunk/; revision=21792
2003-07-10 Rodney Dawes <dobey@ximian.com>
* configure.in: Change version to 1.4.99 since HEAD is not the
stable 1.4 branch, as evolution-1-4-branch was created post-1.4.1
svn path=/trunk/; revision=21790
2003-07-04 Maxx Cao <maxx.cao@sun.com>
** For bug #41839
* mail-display.c (do_attachment_header): Attachment buttons made
accessable with keyboard (focusable). "Inline" button is disabled
when attachment can't be viewed inline.
(do_signature): Signature button made accessable with keyboard
(focusable).
(button_press): Function changed to an event callback (originally
gtkbutton signal callback).
(popup_menu_placement_callback): Function added to place popup
menu (of attachment) beside button when activated by keyboard.
svn path=/trunk/; revision=21788
2003-07-09 Jeffrey Stedfast <fejj@ximian.com>
Get rid of the #ifdef ENABLE_THREADS since
we no longer plan to support/maintain this.
* providers/nntp/camel-nntp-store.c: Here.
* providers/nntp/camel-nntp-newsrc.c: And here.
* providers/nntp/camel-nntp-folder.c: Same.
* providers/local/camel-local-folder.c: And here.
svn path=/trunk/; revision=21778
2003-07-10 Yuedong Du <yuedong.du@sun.com>
* evolution-mail.schemas: add a gconf key corresponding to newly
introduced caret mode of gtkhtml widget.
* folder-browser-ui.c: new verb handling, corresponding the new menu
entry for the caret mode flag.
* folder-browser.h: declaration of new verb handler to the menu entry
that turn caret mode on/off. The function just set the new introduced
gconf key.
* folder-browser.c: ditto
* mail-config.c: lstione to the new gconf key, and when caret mode
flag is set/unset,change the style of gtkhtml widget. see bug
#44607.
svn path=/trunk/; revision=21776
2003-07-10 Yuedong Du <yuedong.du@sun.com>
* evolution-mail-message.xml: add a menu entry corresponding to new
introduced caret mode, see bug #44607
svn path=/trunk/; revision=21773
2003-07-09 Anna Marie Dirks <anna@ximian.com>
* evolution-mail-list.xml: Change the accelerator for "Mark All Read"
to be "R". Fixes bug #45811.
svn path=/trunk/; revision=21772
2003-07-10 Harry Lu <harry.lu@sun.com>
Fixes#46075.
* gui/e-date-time-list.c (compare_datetime): new function to compare
two CalComponentDateTime instances.
(e_date_time_list_append): check whether the date already exists
before adding it to the list.
svn path=/trunk/; revision=21767
2003-07-08 Jeffrey Stedfast <fejj@ximian.com>
* camel-iconv.c: Updated (new copy/paste from e-iconv).
* camel-block-file.c (camel_block_file_get_block): Use
camel_read() rather than libc read.
* camel-tcp-stream-raw.c (stream_read): Use camel_read().
(stream_write): Use camel_write().
* camel-stream-fs.c (stream_read): Use camel_read().
(stream_write): Use camel_write().
svn path=/trunk/; revision=21759