| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
svn path=/trunk/; revision=35662
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-17 Milan Crha <mcrha@redhat.com>
** Fix for bug #526741 (gnome-vfs to gio/gvfs port)
* configure.in: Drop dependency on gnome-vfs, depend on gio instead.
* addressbook/gui/contact-editor/e-contact-editor.c: Do not include gnome-vfs.
* calendar/gui/e-meeting-store.c: (start_async_read), (freebusy_async),
(async_read): Read data with gio, not with gnome-vfs.
* calendar/gui/e-meeting-store.c: (async_close): Function removed.
* calendar/gui/migration.c:
* calendar/gui/e-memos.c:
* calendar/gui/alarm-notify/notify-main.c:
* calendar/gui/e-tasks.c:
* calendar/gui/main.c:
* calendar/gui/e-meeting-list-view.c:
Do not include gnome-vfs.
* calendar/gui/dialogs/comp-editor.c: (set_attachment_list):
* calendar/gui/dialogs/comp-editor.c: (attachment_guess_mime_type):
Function removed, use e-util function instead.
* calendar/gui/e-cal-popup.c: (temp_save_part):
Reflect changes in CamelStreamVFS.
* calendar/gui/e-cal-popup.c: (ecalp_apps_open_in), (ecalp_apps_popup_free),
(ecalp_standard_menu_factory): Use gio to fill popup and launch app.
* calendar/gui/e-cal-component-preview.h: (e_cal_comp_preview_url_requested_cb):
* calendar/gui/e-cal-component-preview.c: (e_cal_comp_preview_url_requested_cb):
New helper function to manage file:// urls for GtkHTML component.
* calendar/gui/e-cal-component-preview.c: (e_cal_component_preview_init):
* calendar/gui/e-cal-component-memo-preview.c:
(e_cal_comp_preview_url_requested_cb):
Use above helper function.
* calendar/gui/e-cal-component-memo-preview.c: (url_requested_cb):
* calendar/gui/e-cal-component-preview.c: (url_requested_cb): Function removed.
* composer/e-msg-composer.h: (e_msg_composer_guess_mime_type):
* composer/e-msg-composer.c: (e_msg_composer_guess_mime_type), (handle_uri),
(e_msg_composer_add_inline_image_from_file):
Use shared e_util_guess_mime_type instead of its own.
* e-util/e-gui-utils.c: Do not include gnome-vfs.
* e-util/e-util.c: (e_write_file_uri), (e_file_get_save_path):
* e-util/e-dialog-utils.c: (e_file_can_save), (e_file_check_local):
Use gio instead of gnome-vfs.
* e-util/e-util.h:
* e-util/e-util.c: (e_util_guess_mime_type), (e_util_filename_to_uri),
(e_util_uri_to_filename), (e_util_read_file): New helper functions.
* mail/Makefile.am:
* mail/em-vfs-stream.h:
* mail/em-vfs-stream.c: Removed from project, not used anywhere.
* mail/em-menu.c:
* mail/em-config.c: Do not include gnome-vfs.
* mail/mail-ops.c: (save_messages_exec), (save_part_exec):
Changes related to Data Server change of CamelStreamVFS.
* mail/em-format.c: (em_format_describe_part):
* mail/em-format-html-display.c: (efhd_bonobo_object), (efhd_find_handler),
(efhd_use_component), (efhd_bonobo_unknown), (efhd_check_server_prop),
(efhd_format_attachment): Drop use of deprecated gnome-vfs functions.
* mail/em-utils.c: (em_utils_snoop_type): Use gio to guess the mime_type.
* mail/em-popup.c: (emp_apps_open_in), (emp_apps_popup_free),
(emp_standard_menu_factory): Use gio to fill popup and launch app.
* plugins/import-ics-attachments/icsimporter.c: Do not include gnome-vfs.
* plugins/ipod-sync/ical-format.c: (do_save_calendar_ical):
* plugins/ipod-sync/ipod-sync.c: (destination_save_addressbook):
Write to gio GOutputStream instead of gnome-vfs handle.
* plugins/ipod-sync/format-handler.h: (open_for_writing):
* plugins/ipod-sync/ipod-sync.c: (open_for_writing): New helper function.
* plugins/publish-calendar/publish-format-fb.h: (publish_calendar_as_fb):
* plugins/publish-calendar/publish-format-fb.c: (write_calendar), (publish_calendar_as_fb):
* plugins/publish-calendar/publish-format-ical.h: (publish_calendar_as_ical):
* plugins/publish-calendar/publish-format-ical.c: (write_calendar), (publish_calendar_as_ical):
Use gio GOutputStream instead of gnome-vfs handle.
* plugins/publish-calendar/url-editor-dialog.c: (create_uri): Use glib function to escape URI.
* plugins/publish-calendar/publish-location.c: (migrateURI): Use EUri to parse URI.
* plugins/publish-calendar/publish-calendar.c: (publish_online), (unmount_done_cb),
(struct mnt_struct), (mount_ready_cb), (ask_password), (ask_question),
(mount_first), (publish):
Use gio instead of gnome-vfs for opening (remote) files.
* plugins/save-calendar/ical-format.c: (do_save_calendar_ical):
* plugins/save-calendar/csv-format.c: (do_save_calendar_csv):
* plugins/save-calendar/rdf-format.c: (do_save_calendar_rdf):
Use gio GOutpuStream instead of gnome-vfs handle.
* plugins/save-calendar/format-handler.h: (open_for_writing):
* plugins/save-calendar/save-calendar.c: (open_for_writing): New helper function.
* shell/e-shell-window-commands.c: (command_quick_reference):
Use gio instead of gnome-vfs.
* widgets/misc/e-attachment.h: (struct _EAttachment):
* widgets/misc/e-attachment.c: (finalise), (init), (attachment_guess_mime_type),
(e_attachment_new), (struct DownloadInfo), (download_info_free),
(data_ready_cb), (download_to_local_path),
(e_attachment_new_remote_file):
Use gio instead of gnome-vfs to download remote files.
* widgets/misc/e-image-chooser.c: (image_drag_data_received_cb):
Use new util function to read file.
* widgets/misc/e-attachment-bar.c: (size_to_string): Stolen from gnome-vfs.
svn path=/trunk/; revision=35378
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-02 Matthew Barnes <mbarnes@redhat.com>
** Merge the mbarnes-composer branch
* configure.in:
Bump libgtkhtml requirement to 3.19.1.
Add gtkhtml-editor dependency for addressbook, calendar and mail.
Remove print-message plugin; new composer implements this natively.
* tools/Makefile.am:
Remove CORBA rules for the old composer.
* addressbook/gui/widgets/Makefile.am:
Remove CORBA rules for the old composer.
* addressbook/gui/widgets/eab-gui-util.c
(eab_send_to_contact_and_email_num_list),
(eab_send_contact_list_as_attachment):
Adapt to new Bonobo-less composer widget.
* calendar/gui/Makefile.am:
Remove CORBA rules for the old composer.
* calendar/gui/itip-utils.c (comp_from), (comp_to_list),
(comp_subject), (comp_content_type), (comp_filename),
(comp_description), (append_cal_attachments), (itip_send_comp),
(reply_to_calendar_comp):
Adapt to new Bonobo-less composer widget.
* composer/Makefile.am:
Remove CORBA rules for the old composer.
* composer/e-msg-composer.c:
* composer/e-msg-composer.h:
EMsgComposer is now a subclass of GtkhtmlEditor.
Extensive refactoring and cleanup, too much to list in detail.
* composer/e-composer-header.c:
* composer/e-composer-header.h:
Add "sensitive" property along with get/set functions.
* composer/e-composer-from-header.c:
* composer/e-composer-from-header.h:
Propagate "refreshed" signal from EAccountComboBox.
Add function e_composer_from_header_get_account_list().
* composer/e-composer-private.c:
* composer/e-composer-private.h:
New files manage composer's private data.
Allows other composer files to manipulate private data.
* composer/e-msg-composer-hdrs.c:
* composer/e-msg-composer-hdrs.h:
Remove these files; replaced by EComposerHeaderTable widget.
* composer/evolution-composer.c:
* composer/evolution-composer.h:
Remove these files; composer is now a subclass of GtkhtmlEditor.
* composer/e-msg-composer-select-file.c:
* composer/e-msg-composer-select-file.h:
Remove these files; logic moved to e-msg-composer.c.
* composer/listener.c:
* composer/listener.h:
Remove these files; event handlers moved to e-msg-composer.c.
* composer/Composer.idl:
* composer/Evolution-Composer.idl:
Remove these files; composer is no longer a Bonobo object.
* mail/em-composer-prefs (sig_edit_cb),
(em_composer_prefs_new_signature):
Adapt to new Bonobo-less signature editor.
* mail/mail-signature-editor.c:
* mail/mail-signature-editor.h:
Rewrite the signature editor as a subclass of GtkhtmlEditor.
Eliminates Bonobo from the equation.
* mail/em-composer-utils.c (composer_get_message),
(em_utils_composer_send_cb), (save_draft_done),
(em_utils_composer_save_draft_cb), (create_new_composer),
(em_utils_compose_new_message),
(em_utils_compose_new_message_with_mailto), (em_utils_post_to_folder),
(em_utils_post_to_url), (edit_message), (forward_attached),
(forward_non_attached), (reply_get_composer), (composer_set_body),
(em_utils_reply_to_message), (post_reply_to_message):
Adapt to new Bonobo-less composer.
* mail/mail-component-factory.c:
Composer is no longer needs a Bonobo factory.
* mail/mail-config.c:
Fix style pattern for EMsgComposer widgets.
* plugins/groupwise/mail-send-options.c
(org_gnome_composer_send_options):
Adapt to streamlined EMsgComposer API.
* plugins/exchange-operations/Makefile.am:
Add EVOLUTION_MAIL_CFLAGS and EVOLUTION_MAIL_LIBS.
* plugins/exchange-operations/exchange-mail-send-options.c
(append_to_header), (org_gnome_exchange_send_options):
Adapt to streamlined EMsgComposer API.
* plugins/mailing-list-actions/mailing-list-actions.c
(emla_list_action_do):
Adapt to streamlined EMsgComposer API.
* po/POTFILES.in: Update file list for new composer.
* ui/evolution-composer-entries.xml:
Remove this file; obsoleted by new composer.
* widgets/misc/Makefile.am:
Add EVOLUTION_MAIL_LIBS.
* widgets/misc/e-account-combo-box.c:
* widgets/misc/e-account-combo-box.h:
New function e_account_combo_box_get_account_list().
Emit a "refreshed" signal when the EAccountList changes.
Add an internal reverse-lookup index.
* widgets/misc/e-charset-picker.c (e_charser_add_radio_actions):
New function adds radio actions to an action group.
Will eventually replace e_charset_picker_bonobo_ui_populate().
* widgets/misc/e-signature-combo-box.c:
* widgets/misc/e-signature-combo-box.h:
New function e_signature_combo_box_get_signature_list().
... separate issue ...
* configure.in:
Bump eds_minimum_version to 2.23.1 for
CAMEL_FOLDER_JUNKED_NOT_DELETED symbol.
svn path=/trunk/; revision=35313
|
|
|
|
|
|
| |
reminder.
svn path=/trunk/; revision=34890
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-11-29 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #271551
* mail/evolution-mail.schemas.in:
New key "/apps/evolution/mail/composer/current_folder".
* composer/e-msg-composer.h: (e_msg_composer_set_attach_path),
(e_msg_composer_get_attach_path):
* composer/e-msg-composer.c: (e_msg_composer_set_attach_path),
(e_msg_composer_get_attach_path):
Functions to set/get attach path to both composer and editor.
* composer/e-msg-composer.c: (prepare_engine):
Set last used path right after creation of the engine.
* composer/e-msg-composer-select-file.c: (get_selector), (select_file_response),
(select_attach_response): Using new functions.
* composer/listener.c: (impl_event): Store new file path when received event
about its change.
* composer/e-msg-composer.c: (set_signature_gui): Leak fix.
Note: update your GtkHtml to revision 8636 and above.
svn path=/trunk/; revision=34613
|
|
|
|
|
|
|
|
|
| |
2007-11-14 Matthew Barnes <mbarnes@redhat.com>
** Remove trailing whitespace from source code.
svn path=/trunk/; revision=34537
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-11-01 Milan Crha <mcrha@redhat.com>
** Fix for bug #318592
* e-msg-composer.h: (e_msg_composer_link_clicked):
* e-msg-composer.c: (e_msg_composer_link_clicked):
Helper function to response on editor's "link_clicked" event.
* listener.c: (impl_event): Call helper function on that event.
svn path=/trunk/; revision=34477
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-25 Kjartan Maraas <kmaraas@gnome.org>
* e-msg-composer.c:
* e-msg-composer.h:
* listener.c:
Warning fixes.
- NULL vs. 0
- ANSIfication of declarations
- mixing code and declarations
svn path=/trunk/; revision=34427
|
|
|
|
|
|
|
|
|
|
| |
2007-09-02 Matthew Barnes <mbarnes@redhat.com>
* Update FSF address in header comments (#469886).
Patch from Tobias Mueller.
svn path=/trunk/; revision=34151
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-08-24 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #355766
* plugins/print-message/print-message.c (org_gnome_print_preview):
Call e_msg_composer_get_message_print().
* composer/e-msg-composer.[ch] (e_msg_composer_get_message_print):
New function overrides composer flags for printing.
Patch by Mayank Jain.
svn path=/trunk/; revision=34099
|
|
|
|
|
|
|
| |
* e-msg-composer.h: Fix for build break
svn path=/trunk/; revision=33789
|
|
|
|
|
|
|
|
|
|
|
| |
2007-07-09 Johnny Jacob <jjohnny@novell.com>
* e-msg-composer.h : Added prototypes for
e_msg_composer_get_raw_message_text and
e_msg_composer_get_attachment_bar
svn path=/trunk/; revision=33779
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-01-18 Raghavendran R<raghavguru7@gmail.com>
* e-msg-composer.[c,h]:
(e_msg_composer_modify_header): ,
(e_msg_composer_remove_header):
Added code for modifying and removing camel
mime message header .
(menu_send_options_cb):Creates and emits the event
when send options is clicked .
svn path=/trunk/; revision=33136
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-12-07 Parthasarathi Susarla <sparthasarathi@novell.com>
* e-msg-composer.[ch]:
(build_message):
(menu_insert_priority_cb):
(setup_ui):
(e_msg_composer_get_priority):
(e_msg_composer_set_priority):
Add support for setting priority of a message.
svn path=/trunk/; revision=30734
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-10-19 Philip Van Hoof <pvanhoof@gnome.org>
composer/e-msg-composer-select-file.c,
composer/e-msg-composer.c, composer/e-msg-composer.h,
composer/evolution-composer.c, composer/listener.c,
mail/em-composer-utils.c,
plugins/mailing-list-actions/mailing-list-actions.c:
data hiding
svn path=/trunk/; revision=30532
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-07-11 Srinivasa Ragavan <sragavan@novell.com>
* Makefile.am: Removed em-attachment* from the build.
Remains in the CVS, just incase to revert in case of issues.
Should go away after 2.3.5.
* e-msg-composer.c: (add_inlined_images) (build_message) (menu_file_close_cb)
(setup_ui) (attach_message) (drop_action) (e_msg_composer_unrealize)
(create_composer) (handle_mailto) (e_msg_composer_add_header)
Changed the code to use e_attachment_* from em_attachment*
* e-msg-composer.h: Added removed old header includes
svn path=/trunk/; revision=29716
|
|
|
|
|
|
|
|
|
|
|
| |
2005-05-23 Srininvasa Ragavan <sragavan@novell.com>
* e-msg-composer-attachment-bar.c, e-msg-composer-attachment-bar.h,
e-msg-composer-attachment.c, e-msg-composer-attachment.h, e-msg-composer.c,
e-msg-composer.h, mail-composer.error.xml : Added attachment of remote URL.
The dnd of url, downloads the files and attaches to the mail.
svn path=/trunk/; revision=29399
|
|
|
|
|
|
|
|
| |
2005-04-05 ERDI Gergo <cactus@cactus.rulez.org>
* e-msg-composer.c: implement read-receipt functionality.
svn path=/trunk/; revision=29183
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-07-23 Radek Doulik <rodo@ximian.com>
* listener.c: removed unused static variable listener_vepv
* added len parameter to set_editor_text,
e_msg_composer_set_body_text, e_msg_composer_set_pending_body. it
allows us to send whole buffer (even if it contains \0 in the
middle) to gtkhtml editor.
svn path=/trunk/; revision=26746
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-04-09 Chris Toshok <toshok@ximian.com>
* e-msg-composer-hdrs.c (set_recipients_from_destv):
EABDestination -> EDestination.
(e_msg_composer_hdrs_to_message_internal): same.
(e_msg_composer_hdrs_set_to): same.
(e_msg_composer_hdrs_set_cc): same.
(e_msg_composer_hdrs_set_bcc): same.
(e_msg_composer_hdrs_get_to): same.
(e_msg_composer_hdrs_get_cc): same.
(e_msg_composer_hdrs_get_bcc): same.
(e_msg_composer_hdrs_get_recipients): same.
* e-msg-composer-hdrs.h: convert prototypes such that
EABDestination -> EDestination.
* e-msg-composer.h: convert prototypes such that EABDestination ->
EDestination.
* e-msg-composer.c (destination_list_to_vector_sized): new
function, ripped from EABDestination, as this code is the only
consumer.
(destination_list_to_vector): same.
(update_auto_recipients): EABDestination -> EDestination.
(e_msg_composer_new_with_message): same.
(add_recipients): same.
(handle_mailto): same.
(e_msg_composer_set_headers): same.
(e_msg_composer_get_recipients): same.
(e_msg_composer_get_to): same.
(e_msg_composer_get_cc): same.
(e_msg_composer_get_bcc): same.
* evolution-composer.c (corba_recipientlist_to_destv):
EABDestination -> EDestination.
(impl_Composer_set_headers): same.
svn path=/trunk/; revision=25393
|
|
|
|
|
|
|
|
| |
2004-04-01 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c: Updated to use the new signature APIs.
svn path=/trunk/; revision=25284
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-12 Meilof Veeningen <meilof@wanadoo.nl>
* e-msg-composer.[ch]: added "View To", "View Post To" menu items,
made it possible to see both at the same time, new
e_msg_composer_new_with_type, only visibility info of headers if
in the visible mask.
* e-msg-composer.[ch]: replaced folder selection button by entry
with selection button next to it, enabled multiple folder selection,
made it possible to see both To and PostTo fields, disabled
setting the "X-Evolution-PostTo" header.
svn path=/trunk/; revision=24179
|
|
|
|
|
|
|
|
|
| |
2003-12-02 ERDI Gergo <cactus@cactus.rulez.org>
* e-msg-composer.c: Implemented #127527: the attachment bar is
packed inside an EExpander
svn path=/trunk/; revision=24146
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-11 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (e_msg_composer_set_autosaved): new method to
wrap autosaved flag setting
(e_msg_composer_unset_autosaved): ditto
(e_msg_composer_is_autosaved): new method, says if composer was
autosaved only
(autosave_save_draft): unset changed so that we don't autosave all
the time when anything else than gtkhtml control changed
2003-11-06 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (autosave_save_draft): call gtkhtml's saved
command to clean is-saved flag, set composer's autosaved flag
(do_exit): complain if last save was just autosave
(e_msg_composer_unset_changed): reset autosaved flag
(save): reset autosaved flag
* e-msg-composer.h: added autosaved flag, it tells whether last
save was autosave or regular save, when changed flag is reset the
autosaved one is reset too
svn path=/trunk/; revision=23526
|
|
|
|
| |
svn path=/trunk/; revision=22966
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-09-11 Federico Mena Quintero <federico@ximian.com>
* e-msg-composer.h (EMsgComposer): Added an entry_uic field for a
BonoboUIComponent for the non-control entries (e.g. the Subject
line).
* e-msg-composer.c (create_composer): Set autoactivate to true on
the HTML control's BonoboControlFrame.
(setup_ui): Create the composer->entry_uic.
(destroy): Free the composer->entry_uic.
(entry_verbs): New array of verbs for the non-control entries.
Moved the Edit* verbs to here, as they should not be part of the
main set.
(composer_entry_focus_in_event_cb): Load
evolution-composer-entries.xml here for the non-control entries' UI.
(composer_entry_focus_out_event_cb): Remove the menu items.
svn path=/trunk/; revision=22531
|
|
|
|
|
|
|
|
|
|
|
| |
* e-msg-composer.c (composer_settings_update): set the various
bonobo properties that are composer preferences.
(create_composer): add notification of gconf changes.
(destroy): disconnect notification.
* e-msg-composer.h: keep the gcond notify handler id.
svn path=/trunk/; revision=21287
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-01 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (composer_entry_focus_in_event_cb): Keep track
of which entry widget has focus.
(composer_entry_focus_out_event_cb): Same.
(control_entry_focus_in_event_cb): Same idea, but since this is in
another component, tell that component that its widget has focus
so it can merge bonoboui cut/copy/paste (and anything else) menus.
(control_entry_focus_out_event_cb): Same.
(setup_cut_copy_paste): Connect to the focus-in and focus-out
events for all the entry widgets and the html editor.
(menu_edit_cut_cb): New callback function since the composer will
now own the Cut/Copy/Paste menu items sometimes (depending on
which widget is in focus... confused yet? good).
* e-msg-composer-hdrs.c (from_changed): Update the Reply-To entry
to be a normal GtkEntry.
(create_headers): Same.
(e_msg_composer_hdrs_set_reply_to): Here too.
(e_msg_composer_hdrs_get_reply_to): And finally here.
svn path=/trunk/; revision=20623
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-01 Not Zed <NotZed@Ximian.com>
** See bug #40300 & probably others.
* e-msg-composer.c (autosave_manager_query_load_orphans): make the
composer arg a parent arg, its only used parent the dialogue.
Fix caller casts.
(e_msg_composer_check_autosave): new function, checks for
autosave files, and recovers them per user instructions.
svn path=/trunk/; revision=20616
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-18 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (do_exit): e_msg_composer_hdrs_get_subject()
now returns const so don't g_free() it :-)
(map_default_cb): Same as above. Also, the subject entry no longer
derives from GnomeCanvas so eliminate the now unneeded casting to
grab the focus of the subject widget.
(e_msg_composer_get_subject): Return a const char * now.
* e-msg-composer-hdrs.c (create_headers): Make the subject entry
into a GtkEntry so we don't have to worry about i18n and other
EEntry bugs anymore. Fixes numerous bugs (including #39924).
(e_msg_composer_hdrs_set_subject): Use gtk_entry_set_text().
(e_msg_composer_hdrs_to_message_internal):
e_msg_composer_hdrs_get_subject() now returns const.
(e_msg_composer_hdrs_get_subject): Return a const char *.
(entry_changed): e_msg_composer_hdrs_get_subject() now returns
const.
svn path=/trunk/; revision=20350
|
|
|
|
| |
svn path=/trunk/; revision=19736
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-01-23 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_load_config): Load the view
menu states from gconf.
(e_msg_composer_set_send_html): Save the setting via gconf instead
of bonobo-config.
(e_msg_composer_set_view_from): Same.
(e_msg_composer_set_view_replyto): Here too.
(e_msg_composer_set_view_cc): Again here.
(e_msg_composer_set_view_bcc): And finally here.
(setup_ui): Fixed a #warning - use gconf instead of bonobo-conf.
(destroy): No need to sync/destroy the bonobo-conf db, we don't
use it anymore.
svn path=/trunk/; revision=19606
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-01-17 Jeffrey Stedfast <fejj@ximian.com>
* evolution-composer.c (impl_Composer_set_headers): Updated to use
EAccountList and iterators.
(evolution_composer_init): Updated to use EAccount.
* e-msg-composer.c (from_changed_cb): Updated to use the EAccount
object.
(e_msg_composer_new_with_message): Same.
(e_msg_composer_get_preferred_account): Updated to return an
EAccount object.
(set_editor_signature): Updated to use an EAccountIdentity pointer.
(get_signature_html): Same.
* e-msg-composer-hdrs.c (create_from_optionmenu): Updated to use
EAccount and EAccountList foo.
(destroy): Same here.
(e_msg_composer_hdrs_set_from_account): Here too.
(e_msg_composer_hdrs_get_from): Updated.
svn path=/trunk/; revision=19511
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-27 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c (save): removed warning about e_notice. its
used too much, its here to stay.
* *.[ch]: run fix.sh over everything.
svn path=/trunk/; revision=18973
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-08 Not Zed <NotZed@Ximian.com>
* listener.c: Fix bonobo object setup.
* e-msg-composer-hdrs.c: Remove oaf stuff, fix destroy to be
multi-call safe.
* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
Remove utf8 from locale conversions, & glib api changes.
(ok_cb): "
* e-msg-composer-attachment-bar.c (add_from_file): gtk message
dialog.
(pixbuf_for_mime_type): glib,gnome-vfs api changes.
(init): Estimate the icon_height based on the pango font
description size, this is probably not correct.
(properties_cb):
(remove_cb): Changed signature for gnomeui callbacks.
(popup_icon_context_menu):
(popup_context_menu): popup_menu api change
(destroy): Protect from multiple calls.
(e_msg_composer_attachment_bar_new): Remove push/pop
visual/colormap stuff.
* composer-marshal.list: The list of marshallers used by the
composer.
* Makefile.am (composer-marshal.h): Added composer marshal builder.
* evolution-composer.c (class_init): bonobo object epv setup change.
(factory_fn): Fix changes to factory callback.
* e-icon-list.c: (icon_get_height): Use bounding box to calc
height.
(icon_event): drop gtk_selection_extended.
(e_icon_list_remove): "
(select_icon):
(unselect_icon): "
* e-msg-composer.c (autosave_save_draft): Dup fd rather than poke
camel_stream_fd's data. Also, use camel_stream_close() rather
than flush.
(autosave_manager_query_load_orphans): Port to gtk dialog.
(autosave_query_cb): Removed, redundant.
(save): Port to gtkdialog.
(prepare_engine): Fix bonobo-object-client code.
(get_file_content): gtk dialog
(do_exit): gtk dialog.
(setup_signatures_menu): dump gtkutf8 stuff.
(marshal_NONE__NONE_INT): What WAS jeff thinking? Removed :)
(class_init): g object setup.
(e_msg_composer_get_type): "
(create_composer): remove bonobo_window_construct, use create
property instead. g_signal stuff. bonobo stuff.
(is_special_header): Use ascii_strncasecmp
(e_msg_composer_set_pending_body): gtk->g_object_get/set_data.
(e_msg_composer_set_body): use ascii_strncasecmp
(e_msg_composer_add_inline_image_from_mime_part): make cid const.
(autosave_manager_register):
(autosave_manager_unregister): Use g_path_get_basename() & account
for differences.
(composer_shutdown): rename to finalise/etc.
(class_init): Use object:finalize instead of shutdown.
(e_msg_composer_set_body): Use _() rather than U_().
(build_message): gtk dialog.
2002-11-06 Not Zed <NotZed@Ximian.com>
* e-msg-composer-attachment-bar.c (pixbuf_for_mime_type): Add
error return to gdk_pixbuf_new_from_file().
svn path=/trunk/; revision=18659
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-24 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-hdrs.c (create_headers): Create the Post-To
header.
(headers_set_visibility): Possibly show the Post-To header.
(attach_headers): Attach the Post-To header.
(e_msg_composer_hdrs_set_post_to): Set the text for the Post-To
header.
(e_msg_composer_hdrs_get_post_to_label): Return the label widget
for this header pair.
(e_msg_composer_hdrs_set_visible_mask): New function to set the
visible mask (so we can disallow certain headers to be shown).
(e_msg_composer_hdrs_new): Save the visible mask argument.
(setup_headers): To: does not always have to be visible anymore.
(e_msg_composer_hdrs_get_post_to): New function to get the url for
the Post-To folder.
* e-msg-composer.c (e_msg_composer_get_visible_flags): Set the
Post-To bit when it is supposed to be visible.
(e_msg_composer_new_post): Set the visible_mask to only allow the
headers needed for Posting.
svn path=/trunk/; revision=17590
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-22 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c: Removed a lot of extra g_return_if_fail's that
we don't need (if we are going to check if the pointer is a a
composer widget using the gtk type-check macros, then there is no
need to first check that it isn't NULL).
svn path=/trunk/; revision=17537
|
|
|
|
|
|
|
|
|
| |
2002-07-15 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (build_message): added save_html_object_data
parameter, use gtkhtml command to save object data when wanted
svn path=/trunk/; revision=17466
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-05 Jeffrey Stedfast <fejj@ximian.com>
* evolution-composer.c (init): Don't connect to the postpone
signal, but do connect to the save-draft signal.
(evolution_composer_factory_init): No longer takes a postpone_cb
argument, but does now take a save_draft_cb argument.
* e-msg-composer.c (menu_file_send_later_cb): Removed.
(class_init): Removed the POSTPONE signal.
(setup_ui): Don't need to swap the Send/SendLater tooltips and
accels anymore, since SendLater no longer exists.
svn path=/trunk/; revision=17377
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-05 Radek Doulik <rodo@ximian.com>
* e-msg-composer-hdrs.c (create_from_optionmenu): put option menu
to hbox to make space for signatures menu
(e_msg_composer_hdrs_get_from_hbox): new helper function
* e-msg-composer.c: moved signatures from menu to option menu next
to From:
svn path=/trunk/; revision=17126
|
|
|
|
| |
svn path=/trunk/; revision=17117
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-03 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c (build_message): Properly handle user
cancellation for signing/encrypting, just dont sign but create
anyway.
(e_msg_composer_get_subject): Wrapper function to get the subject
from the header object.
(e_msg_composer_get_to):
(e_msg_composer_get_cc):
(e_msg_composer_get_bcc): Same for the destination types.
svn path=/trunk/; revision=17091
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* component-factory.c (request_quit): New.
(create_component): Pass it as the @request_quit_fn to
evolution_shell_component_new().
* e-msg-composer.c: New local `all_composers'; keeps a list of all
the composer windows created. Changed type of `parent_class' to
BonoboWindowClass *.
(do_exit): Cleaned up a bit. Raise the composer window before
showing the message box dialog.
(exit_dialog_cb): Removed.
(e_msg_composer_request_close_all): New.
(create_composer): Add the composer to the all_composers list and
weakref it.
(msg_composer_destroy_notify): GtkDestroyNotify function for the
composer's weakref; remove the composer from the all_composers
list.
svn path=/trunk/; revision=16930
|
|
|
|
| |
svn path=/trunk/; revision=15960
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mailer side of 14705.
* Evolution-Composer.idl (setBody): Change setBodyText to setBody
and take a MIME type as well.
(show): Add an exception.
* evolution-composer.c (impl_Composer_set_body, etc): Update for
IDL change. While I'm here, fix this to DTRT with both plaintext
and HTML bodies. (It claimed to take plain text before, but then
passed it to the composer as HTML.)
(impl_Composer_show): Raise an exception if setBody has been
called, since the composer window will not display the real data
in that case.
* e-msg-composer.c (e_msg_composer_set_body): interface for
impl_Composer_set_body.
(build_message): If e_msg_composer_set_body has been called, use
the body and MIME type supplied to it rather than the contents of
the HTML editor.
svn path=/trunk/; revision=15833
|
|
|
|
| |
svn path=/trunk/; revision=15677
|
|
|
|
|
|
|
|
|
|
|
| |
2002-01-31 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (e_msg_composer_ignore): new method, tells
composer to ignore all word in str string
(next_word): helper function to get next word from s, saves rest
of s to sr
svn path=/trunk/; revision=15540
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-01-29 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): If we are in redirect mode,
use the original message and set the resent-* headers using
e_msg_composer_hdrs_to_redirect() and then return.
(destroy): Unref the redirected message if it exists.
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_redirect): New
function for a composer in redirect mode.
svn path=/trunk/; revision=15507
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-12-14 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (class_init): Setup the SAVE_DRAFT signal.
(menu_file_save_draft_cb): Emit the SAVE_DRAFT signal.
(exit_dialog_cb): Same here.
(save_draft): Removed. This code is now a signal that
mail-callbacks will connect to.
svn path=/trunk/; revision=15079
|
|
|
|
|
|
|
|
|
|
|
| |
2001-11-02 <NotZed@Ximian.com>
* e-msg-composer.c (e_msg_composer_set_enable_autosave): New
function, enable/disable autosave for the composer temporarily.
(autosave_run_foreach_cb): Only save if we have enable autosave
turned on. In other cases we want to save it regardless.
svn path=/trunk/; revision=14574
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Evolution-Composer.idl (setMultipartType): New.
* evolution-composer.c (impl_Composer_set_multipart_type): Allow
caller to specify a multipart/alternative rather than
multipart/mixed.
* e-msg-composer.c (build_message): Revert yesterday's changes.
Add new ones for sending multipart/alternative.
svn path=/trunk/; revision=14510
|
|
|
|
|
|
|
|
|
|
| |
001-10-30 Larry Ewing <lewing@ximian.com>
* e-msg-composer.h: add dirty prototype.
* e-msg-composer.c: add dirty implementation.
svn path=/trunk/; revision=14485
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* evolution-composer.c (init): Set the (new) "no_body" flag on the
composer.
(impl_Composer_set_body_text): And unset it here.
(unset_no_body): And here (called if/when the composer is
realized).
* e-msg-composer.c (build_message): If the composer has the
"no_body" flag set, and a single attachment, promote that
attachment to be the message body.
svn path=/trunk/; revision=14393
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 Larry Ewing <lewing@ximian.com>
* e-msg-composer.h: add GList to hold the current images.
* listener.c (resolve_image_url): keep track of the images that
the editor is currently uses in current_images as well as storing
the images in the hash.
* e-msg-composer.c (clear_current_images): clear the list of
images actually in the message.
(add_inlined_images): use the current image list rather than the
hash tables.
(build_message): clear the current image list when appropriate.
(init): initialize current_images.
svn path=/trunk/; revision=14379
|
|
|
|
|
|
| |
(instead of version 2 or any later version).
svn path=/trunk/; revision=14190
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-24 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (add_attachments_from_multipart): New function
that replaces handle_multpart() and handle_multipart_alternative()
for add_message_attachments().
(e_msg_composer_add_message_attachments): Call
add_attachments_from_multipart().
(handle_multipart_alternative): Now only used by
new_with_message() and is really only designed to work well with
messages generated by Evolution (ie for editing Drafts and such).
(handle_multipart): Same.
(e_msg_composer_new_with_message): No longer calls
add_message_attachments() because we can't ever have this fail and
the logic in add_message_attachments() is impossible
logic. Instead do like what we used to do before the addition of
add_message_attachments() came along.
svn path=/trunk/; revision=14084
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
attachments. Also, I think this should make replies to HTML
messages containing inline images referenced via Content-Location
work, but that's not tested.
* e-msg-composer.c (various): Keep two hash tables of inline image
data: one mapping from cid: URLs to CamelMimeParts for all
attachments, the other mapping from file: and Content-Location
urls to CamelMimeParts (for those inline images that came from a
file or have a Content-Location).
(add_inlined_images): Simplify. Most of this code is in
e_msg_composer_add_inline_image_from_file() now.
(e_msg_composer_add_message_attachments, handle_multipart): Change
"attach_all" arg to "just_inlines". If it is set, call
e_msg_composer_add_inline_image_from_mime_part on any attachment
with a Content-Id or Content-Location.
(e_msg_composer_add_inline_image_from_file): Create a mime part
from a file and add it to the inline images hash.
(e_msg_composer_add_inline_image_from_mime_part): Add a mime part
directly to the inline images hash.
* listener.c (resolve_image_url): If asked to resolve a file: URL
that isn't in the inline images hash, call
e_msg_composer_add_inline_image_from_file to get a cid for it.
(impl_event): Look up the URL in the inline_images and
inline_images_by_url hashes.
* e-msg-composer-attachment-bar.c
(e_msg_composer_attachment_bar_find_message): Gone. No longer
used.
svn path=/trunk/; revision=13852
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-19 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (handle_multipart): Now takes a 'attach_all'
argument. If !attach_all, then only attach the attachment if the
part has a content-id, otherwise we can safely assume that nothing
references it thus we don't need to attach it.
(e_msg_composer_add_message_attachments): Now takes a 'attach_all'
argument that overrides the "only attach attachments if they have
a content-id header" behavior.
(e_msg_composer_new_with_message): Pass TRUE as the attach_all
argument to add_message_attachments.
svn path=/trunk/; revision=13800
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* e-msg-composer.c (autosave_manager_unregister): Don't pop up an
"unable to retrieve message" if the composer never finished
initializing.
(init): Don't call autosave_manager_register here: wait until the
end of create_composer.
(create_composer): Remove the distinction between this and
e_msg_composer_construct since there's no need for the latter. Use
e_activation_failure_dialog if either the selectnames component or
the gtkhtml editor fails.
* e-msg-composer-hdrs.c (setup_corba): Don't g_warn if the oaf
activation fails. create_composer() will tell the user.
svn path=/trunk/; revision=13661
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-11 Jeffrey Stedfast <fejj@ximian.com>
* listener.c (impl_event): Deleted declaration of len.
* e-msg-composer.c (e_msg_composer_add_message_attachments): Take
a settext argument.
(e_msg_composer_new_with_message): Updated to pass the settext argument.
svn path=/trunk/; revision=13595
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-10 Larry Ewing <lewing@ximian.com>
* e-msg-composer.h: add prototype.
* e-msg-composer.c (e_msg_composer_add_message_attachments): new
function to copy attachments from the a message to a composer.
(e_msg_composer_set_pending_body): make simple function to
abstract this.
(e_msg_composer_apply_pending_body): apply the pending body to
the composer.
(e_msg_composer_new_with_message): use
e_msg_composer_add_message_attachments to copy attachments.
svn path=/trunk/; revision=13563
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-10 Jeffrey Stedfast <fejj@ximian.com>
* evolution-composer.c (init): Don't call new_with_sig_file, it no
longer exists.
* e-msg-composer.c (setup_ui): Make sure that the session is
non-NULL.
(menu_file_send_cb): And here too.
(e_msg_composer_new_with_sig_file): Removed.
svn path=/trunk/; revision=12753
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-08 Jon Trowbridge <trow@ximian.com>
* evolution-composer.c (corba_recipientlist_to_destv): Originally
was corba_recipientlist_to_glist.
(impl_Composer_set_headers): Use corba_recipientlist_to_destv, new
destination-based api.
* e-msg-composer.c (build_message): Get rid of that 'sending'
stuff. That was a bad idea.
(e_msg_composer_new_with_message): Apply the revised api and work
with vectors of destinations rather than just lists.
(e_msg_composer_get_recipients): Added. Returns the full set of
recipient destinations in a vector.
* e-msg-composer-hdrs.c: Removed free_destv function. We use
e_destination_freev instead.
(e_msg_composer_hdrs_get_to): Changed to return a vector of
EDestinations. This function now works.
(e_msg_composer_hdrs_get_cc): Ditto.
(e_msg_composer_hdrs_get_bcc): Ditto.
(e_msg_composer_hdrs_get_recipients): Added. Returns a vector of
EDestinations that is the union of the to, cc and bcc lines.
(e_msg_composer_hdrs_set_to): Changed to take a vector of
EDestinations, rather than a GList.
(e_msg_composer_hdrs_set_cc): Ditto.
(e_msg_composer_hdrs_set_bcc): Ditto.
(e_msg_composer_hdrs_to_message): Use our new, improved API, rather
than a bunch of poking around in BonoboPropertyBags, etc.
svn path=/trunk/; revision=12711
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-29 Jon Trowbridge <trow@ximian.com>
* e-msg-composer.c (e_msg_composer_get_message_draft): Pass
in FALSE as the 'sending' arg to e_msg_composer_get_message.
(build_message): Added a 'sending' arg, which is passed to
e_msg_composer_get_message.
(e_msg_composer_get_message): Added a 'sending' arg,
which gets passed directly on to build_message.
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_message): Added
a "sending" arg, which should be TRUE if the message is being
sent now (rather than being autosaved, etc.). The address
use scores are only updated when sending. (Bug #8332)
Removed obsolete (#if 0/#endif-ed) code.
2001-08-29 Jon Trowbridge <trow@ximian.com>
* mail-callbacks.c (composer_get_message): When calling
e_msg_composer_get_message, pass in TRUE for the 'sending' arg.
(Part of the fix for bug #8332)
svn path=/trunk/; revision=12518
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-03 Larry Ewing <lewing@ximian.com>
* e-msg-composer.h: remove the timer id.
* e-msg-composer.c: use autosave manager.
(autosave_save_draft): moved initialization to
autosave_init_file. Only save the buffer if we get a valid
message.
(autosave_load_draft): unlink the old file, we own it now. and
unref the stream when we are done with it.
(autosave_is_owned): check if we own the file, this needs to be
extended to check for other valid processes.
(autosave_query_load_orphans): make this search through the
managers list as it walks the dir.
(autosave_query_load_orphans): make sure we use the full path.
(autosave_run_foreach_cb): timeout foreach handler.
(autosave_run): the timeout function.
(autosave_start): start timer.
(autosave_stop): stop timer.
(autosave_register): register a composer with the autosave manager.
(autosave_unregister): unregister a composer.
(destroy): unregister the composer, everything is okay.
(init): register the composer.
svn path=/trunk/; revision=10762
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-02 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c (autosave_query_load_orphans): querythe user to
check if they want to load any orphans we've found.
(autosave_query_cb): the dialog callback.
(autosave_is_orphan): test if if a particular file is orphaned.
(autosave_load_draft): load a message from an autosave file.
(autosave_save_draft): save the current buffer to the autosave file.
svn path=/trunk/; revision=10761
|
|
|
|
|
|
|
|
| |
2001-07-03 Dietmar Maurer <dietmar@ximian.com>
* *: use bonobo-conf everywhere
svn path=/trunk/; revision=10760
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-02 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (attach_to_multipart): Set the
user-chosen charset.
* e-msg-composer.c (menu_change_charset_cb): New callback function
to get the user-set charset.
(init): Set the charset to NULL.
(best_charset): Take a default_charset param that holds the value
the user set for this particular message using the menu.
(destroy): Free the charset.
svn path=/trunk/; revision=10704
|
|
|
|
|
|
|
|
| |
2001-06-28 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (e_msg_composer_get_sig_file_content): exported
svn path=/trunk/; revision=10577
|
|
|
|
|
|
| |
signatures
svn path=/trunk/; revision=10563
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-16 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): Added S/MIME sign/encrypt code.
(init): Initalize smime_sign/encrypt.
(e_msg_composer_get_smime_encrypt): new
(e_msg_composer_set_smime_encrypt): new
(e_msg_composer_get_smime_sign): new
(e_msg_composer_set_smime_sign): new
(menu_security_smime_sign_cb): new
(menu_security_smime_encrypt_cb): new
(setup_ui): Setup the UI for S/MIME stuff.
svn path=/trunk/; revision=9858
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* signature editing fixes
2001-05-03 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (get_signature_html): put signature in 100%
width table
(delete_old_signature): look only for first flow with signature == 1
(e_msg_composer_new): don't insert <BR>
(e_msg_composer_new_with_sig_file): ditto
(delete_old_signature): don't delete whole signature paragraph,
but just it's content
(delete_old_signature): if signature isn't found, insert new empty
paragraph to end of document for new signature
(e_msg_composer_set_sig_file): delete signature always
(e_msg_composer_set_sig_file): don't place signature to the end of
document, but place it where previous one was (if there wasn't
then new one is appended to the document)
2001-05-02 Radek Doulik <rodo@ximian.com>
* listener.c (impl_event): do automagic indenting only when
in_signature_insert is FALSE
* e-msg-composer.c (e_msg_composer_set_sig_file): do indent-zero
before signature inserting
(e_msg_composer_set_sig_file): use in_signature_insert flag
2001-05-01 Radek Doulik <rodo@ximian.com>
* listener.c (impl_event): set signature to 0 in newly created
empty paragraphs
(clear_signature): new helper function
svn path=/trunk/; revision=9658
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* signature changing
2001-04-25 Radek Doulik <rodo@ximian.com>
* listener.c (impl_event): reflect object data type change
* e-msg-composer.c (get_sig_file_content): renamed from
get_signature
(get_signature_html): new helper function, uses
get_sig_file_content
(set_editor_text): removed signature parameters
(from_changed_cb): new signal handler, sets signature by identity
change
(delete_old_signature): new function, deletes old signature from
the document
(e_msg_composer_set_sig_file): new method, set's signature
filename
(e_msg_composer_mark_text_orig): removed (obsolete)
* e-msg-composer-hdrs.c: added signal FROM_CHANGED
svn path=/trunk/; revision=9557
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-29 Kjartan Maraas <kmaraas@gnome.org>
* e-icon-list.c: Replace #include <gtk/gtk.h>
* e-msg-composer-attachment-bar.c: Replace #include <gnome.h>
* e-msg-composer-attachment-bar.h: Remove #include <gnome.h>
* e-msg-composer-attachment.c: Remove #include <gnome.h>
* e-msg-composer-attachment.h: Same here.
* e-msg-composer-hdrs.c: Replace #include <gnome.h> and <bonobo.h>
* e-msg-composer-hdrs.h: Replace #include <gnome.h>
* e-msg-composer-file.c: #include <gtk/gtkmain.h>, <gtk/gtksignal.h>
* e-msg-composer.c: Replace #include <bonobo.h>, <gnome.h>
* e-msg-composer.h: Replace #include <gnome.h> and <bonobo.h>
* evolution-composer.c: Replace #include <bonobo.h>
* listener.c: Same here.
svn path=/trunk/; revision=9023
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-12 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.h: Added view_replyto member.
* e-msg-composer.c (e_msg_composer_get_visible_flags): Find out if
we want to view the Reply-To header.
(e_msg_composer_set_view_replyto): A new function to set the state
of the replyto header.
(menu_view_replyto_cb): Callback for setting the ReplyTo state.
(set_config): Make static.
(setup_ui): Setup the ReplyTo bonobo stuff.
(load_from_property_bag): More defaults for the ReplyTo, yay.
(load_from_gnome_config): Again...
(e_msg_composer_get_view_bcc): Implemented.
(e_msg_composer_get_view_cc): Implemented.
(e_msg_composer_get_view_from): Implemented.
(e_msg_composer_get_view_replyto): Implemented.
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_get_reply_to_entry):
New function, yay.
(e_msg_composer_hdrs_get_reply_to): Another new function.
(e_msg_composer_hdrs_set_reply_to): Yet another new function...
(create_headers): Create the reply-to header.
(attach_headers): Attach the reply_to.
(headers_set_visibility): Set the reply_to visibility.
(e_msg_composer_hdrs_to_message): Set the message's reply-to here
based on the user-set reply-to header.
svn path=/trunk/; revision=8657
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-06 Miguel de Icaza <miguel@ximian.com>
* e-msg-composer.c (set_config): New function. Used to store
integer values into the configuration engine. Handles the case of
Bonobo-conf being installed, or falls back to gnome_config.
* e-msg-composer-hdrs.c (add_header): Renamed to be
header_new_recipient(). Now we take care of the other cases in
create_headers, which is a lot nicer now.
(create_optionmenu): Removed extra "name" argument which was not
being used anyways (the only arg passed was From:).
(init): Removed all the redundant NULL initialization by using
nice g_new0
(create_headers): New function, much cleaner.
Use of Pair structure everywhere instead of individual widgets to
keep track of which ones are visible and which ones are not.
* e-msg-composer.c (setup_ui): Handle ViewFrom and ViewBCC
commands.
(menu_view_bcc_cb, menu_view_from_cb): New functions that
implement the features described.
(menu_format_html_cb): Removed unrequired test, as
e_msg_composer_set_send_html already optimizes the case of the
state being the same.
(menu_security_pgp_encrypt_cb): Remove redundant code.
(menu_security_pgp_sign_cb): ditto.
2001-03-06 Miguel de Icaza <miguel@ximian.com>
* evolution-message-composer.xml: Reorder menus to be File, Edit,
View, Insert, Format (instead of File, Edit, Format, View, Insert).
Add View/From Field and View/From BCC
Add Insert/File.
Add File/Send menu item.
Change the look to follow the "mailer" look (thiner display).
svn path=/trunk/; revision=8590
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-10 Jeffrey Stedfast <fejj@ximian.com>
* evolution-composer.c (impl_Composer_set_headers): Updated. We
might want to change the corba interface for this to allow setting
the from-address as well.
* e-msg-composer.c (e_msg_composer_new_with_message): Updated.
(e_msg_composer_set_headers): Now takes a 'From' argument so that
we can try to pre-determine the account the user will want to send
from.
svn path=/trunk/; revision=8165
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-25 Jason Leach <jasonleach@usa.net>
(Moving the flag for has_changed from the Hdrs to the Composer
itself. Providing public methods to set/unset a composer as
changed. Adding attachments now flags the composer as changed)
* e-msg-composer.c (e_msg_composer_unset_changed): New function.
(e_msg_composer_set_changed): New function.
* e-msg-composer.c (hdrs_changed_cb): Callback to the new signal,
uses the new composer_set_changed.
(attachment_bar_changed_cb): Add a call to the new _set_changed.
* e-msg-composer-hdrs.c (class_init): New signal "hdrs_changed" to
tell the parent composer that any of the headers have changed.
(addressbook_entry_changed): emit the new signal here.
(entry_changed): And here.
svn path=/trunk/; revision=7818
|
|
|
|
|
|
|
|
|
|
| |
2001-01-16 Radek Doulik <rodo@helixcode.com>
* e-msg-composer.c (e_msg_composer_mark_text_orig): publicate
mark_orig_text
(set_editor_text): don't call mark_orig_text, let it for reply
svn path=/trunk/; revision=7543
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-12 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (build_message): Call set_from_account which
means we no longer have to do all the crap involved in formatting
strings into an internet-address.
(e_msg_composer_get_preferred_account): New access function.
* e-msg-composer-hdrs.c (add_header): case COMBOBOX has changed to
OPTIOMENU.
(create_optionmenu): Update to use an optionmenu of accounts.
(from_changed): New callback for the From optionmenu.
(setup_headers): s/COMBOBOX/OPTIONMENU
(init): Set the account and from_options to NULL.
(e_msg_composer_hdrs_get_from): Updated.
(destroy): free the from_options.
(e_msg_composer_hdrs_set_from_address): Renamed from set_from
because it no longer takes a string arg but rather an account arg.
svn path=/trunk/; revision=7458
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-12 Miguel de Icaza <miguel@ximian.com>
* e-msg-composer-hdrs.c (add_header): Only attach to "changed" if
the widget is an EEntry. The HEADER_COMBOBOX and the
HEADER_ADDRBOOK are a ComboBox and a remote Bonobo control
respectively.
* evolution-composer.c (get_object): Move getObject functionality
here from e-msg-composer.c
svn path=/trunk/; revision=7441
|
|
|
|
|
|
|
|
|
|
| |
2001-01-10 Miguel de Icaza <miguel@helixcode.com>
* evolution-composer.c (evolution_composer_construct): Add an
ItemContainer Bonobo interface to allow client applications to
locate the Message Composer component.
svn path=/trunk/; revision=7416
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-15 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (e_msg_composer_get_pgp_encrypt): New function
to get whether or not to encrypt the message.
(e_msg_composer_set_pgp_encrypt): New function to set encryption.
(e_msg_composer_get_pgp_sign): New function to get whether or not
to sign the message.
(e_msg_composer_set_pgp_sign): New function to set pgp_sign.
(init): Initialize pgp_sign and pgp_encrypt to FALSE.
svn path=/trunk/; revision=7058
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-07 Radek Doulik <rodo@helixcode.com>
* e-msg-composer.c (prepare_engine): added warnings
(prepare_engine): updated to IDL:GNOME/GtkHTML/Editor/Engine:1.0
* Makefile.am: renamed HTMLEditor* to Editor*, added Editor-common.c:
$(HTML_EDITOR_GENERATED) rule
svn path=/trunk/; revision=6838
|
|
|
|
|
|
|
|
|
|
| |
2000-11-15 Radek Doulik <rodo@helixcode.com>
* updates for HTMLEditor API changes
* e-msg-composer.c: added #include <libgnomevfs/gnome-vfs.h>
svn path=/trunk/; revision=6582
|
|
|
|
|
|
|
|
|
| |
2000-11-15 Radek Doulik <rodo@helixcode.com>
* e-msg-composer.h: e_msg_composer_guess_mime_type renamed and
moved mime_guess_type_from_file_name from camel as it uses VFS
svn path=/trunk/; revision=6579
|
|
|
|
|
|
|
|
|
| |
signature
(set_editor_text): try to use HTML signature
(e_msg_composer_new_with_sig_file): added send_html arg to be able
to use HTML signature
svn path=/trunk/; revision=6510
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-08 Radek Doulik <rodo@helixcode.com>
* e-msg-composer.c (e_msg_composer_clear_inlined_table): new
function
(destroy): use e_msg_composer_clear_inlined_table, destroy
inlined_images hash table
* listener.c (resolve_image_url): don't add inlined images to
attachement bar
* e-msg-composer.c (add_inlined_images): new function, adds
inlined images to multipart
(add_inlined_image): helper function, adds one image to multipart
(build_message): store HTML messages with inlined images to
multipart/related
* e-msg-composer-attachment-bar.c (add_from_file): removed
content_id arg
(e_msg_composer_attachment_bar_attach): likewise
* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
removed content_id arg
svn path=/trunk/; revision=6507
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-04 Radek Doulik <rodo@helixcode.com>
* listener.c (resolve_image_url): use inline images hash table
* e-msg-composer.c (init): create inlined images hash table
(destroy): destroy it
(clear_inline_images): helper function, used from
g_hash_table_foreach_remove to destroy one inline image record
* e-msg-composer.h: added hash table with inlined images url ->
cid info
2000-11-03 Radek Doulik <rodo@helixcode.com>
* listener.c (impl_event): updated for API changed
implemented image_url event
(resolve_image_url): new helper function, attaches image to mail
and returns new (resolved) url pointing to mime component
* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
added conponent_id parameter
* e-msg-composer-attachment-bar.c
(e_msg_composer_attachment_bar_attach): added parameter content_id
(add_from_file): likewise
svn path=/trunk/; revision=6390
|
|
|
|
|
|
|
|
| |
2000-11-02 Michael Meeks <michael@helixcode.com>
* The big api rename ...
svn path=/trunk/; revision=6346
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
you need fresh CVS gtkhtml to try that
2000-10-31 Radek Doulik <rodo@helixcode.com>
* e-msg-composer.c (prepare_engine): new function, tries prepare
editor engine
(mark_orig_text): marks original text in editor
(set_editor_text): call mark_orig_text
(create_composer): call prepare_engine
* Makefile.am (IDL_GENERATED): added HTMLEditor generated files to
IDL_GENERATED
($(IDL_GENERATED)): generate also files from HTMLEditor.idl
(libcomposer_la_SOURCES): added listener.[ch]
* e-msg-composer.h: added editor_engine and editor_listener to
EMsgComposer
* listener.[ch]: new files, implementation of HTMLEditor::Listener
svn path=/trunk/; revision=6292
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-19 Michael Meeks <michael@helixcode.com>
* e-msg-composer.c (create_menubar_file, create_menubar_edit),
(create_menubar_format, create_menubar_view, create_menubar): kill.
(create_toolbar): die.
(setup_ui): impl.
(e_msg_composer_construct): hook in.
(menu_format_html_cb): update.
(menu_view_attachments_activate_cb): ditto.
(destroy): upd.
(e_msg_composer_construct): upd.
(e_msg_composer_set_send_html): upd.
svn path=/trunk/; revision=6018
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* e-msg-composer.c (e_msg_composer_construct): Don't g_error out
if the html-editor-control fails.
(create_composer): New internal function to create and construct a
msg_composer and pop up an error message if it fails.
(e_msg_composer_new, e_msg_composer_new_with_sig_file,
e_msg_composer_new_with_message, e_msg_composer_new_from_url): Use
create_composer, return if it fails, change return type to
EMsgComposer *.
svn path=/trunk/; revision=5501
|
|
|
|
|
|
| |
Anything UI related that breaks is now my fault; apologies in advance.
svn path=/trunk/; revision=5415
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-01 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (e_msg_composer_get_sig_file): This needs to
return a const char * and not a char *, because we're not actually
allocating memory here.
(create_menubar_file): Changed "Send" to "Send Now" and added
"Send Later"
(menu_file_send_later_cb): New callback that emits the POSTPONE
signal (equivalent to "Send Later"
svn path=/trunk/; revision=5177
|
|
|
|
|
|
|
|
|
|
| |
2000-09-01 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (e_msg_composer_get_sig_file): This needs to
return a const char * and not a char *, because we're not actually
allocating memory here.
svn path=/trunk/; revision=5173
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-07 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (do_exit): Prompt the user to save their
composition in Drafts.
(set_editor_text): Uhm, use "-- \n" not "--\n" because the space
is called for in the standard
(e_msg_composer_new_with_message): New convenience function that
takes a CamelMimeMessage as an argument. This will be useful when
we code the ability to resume the editing of a message draft (like
in the Drafts folder).
svn path=/trunk/; revision=4562
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-01 JP Rosevear <jpr@helixcode.com>
* e-msg-composer.h: Constify param
* e-msg-composer.c (get_signature): Constify param
(set_editor_text): ditto
(e_msg_composer_new_with_sig_file): ditto
svn path=/trunk/; revision=4458
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-28 JP Rosevear <jpr@arcavia.com>
* e-msg-composer.c (e_msg_composer_new_with_sig_file): New
function to create composer with sig file set.
(e_msg_composer_get_sig_file): New function to get sig file
(e_msg_composer_set_sig_file): New function to set sig file
2000-07-29 JP Rosevear <jpr@arcavia.com>
* mail-format.c (mail_generate_reply): Use new mail config stuff
* component-factory.c (create_imap_storage): Use new mail config
stuff
(create_news_storage): ditto
* evolution-mail.schemas: Gconf schema for evolution mail
* mail-config-druid.glade: Gladification of config druid
* mail-config.h: New header with config structs.
* mail-config.c: Rewrite of GUI configuration tools to use
new config structs. Stores multiple identities and sources now.
Still only uses the first one found.
(mail_config_fetch): Returns MailConfig struct to caller
for configuration queries.
(mail_config): Renamed function to show mail config dialog.
(mail_config_druid): Renamed function to show mail config druid.
* mail-ops.c (create_msg_composer): Use
e_msg_composer_new_with_sig_file and new config stuff
(check_configured): Use new config stuff
(fetch_mail): ditto
(composer_send_cb): ditto
svn path=/trunk/; revision=4413
|
|
|
|
| |
svn path=/trunk/; revision=4284
|
|
|
|
|
|
|
|
|
| |
Initial implementation of the "Open" and "Save as" commands (not
really tested/finished, I am just syncing the tree before leaving).
Put the cursor on the "To:" field when the message composer is shown.
Set the correct shadow type in the scroll frame.
svn path=/trunk/; revision=3603
|
|
|
|
|
|
| |
and make the quit message I18N aware.
svn path=/trunk/; revision=3533
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* e-msg-composer.c (e_msg_composer_attach): New convenience
function.
* e-msg-composer-attachment.c: Store a CamelMimePart rather than
filename/description/mime_type info. Also record whether we were
told or guessed the MIME type.
(e_msg_composer_attachment_new_from_mime_part): New constructor.
(e_msg_composer_attachment_edit): Remove the "browse" button. (If
the user wants to change the actual file that the attachment is
based on, he should delete the attachment and create a new one...)
Remove the "Apply" button, because it's not all that useful. Make
the MIME type only track the filename if it was guessed rather
than being provided.
* e-msg-composer-attachment.glade: Remove "browse" and "apply"
buttons. Make filename editable.
* e-msg-composer-attachment-bar.c (sort): Removed. Send the
attachments in the order the user attached them in.
(text_changed): Removed, since we weren't enabling the relevant
GnomeIconList functionality that would have used this.
(update): Don't print the size if it's 0.
(attach_to_multipart, etc): adjust for EMsgComposerAttachment
changes.
(attach_to_multipart): Use 7bit encoding for message/ subparts.
(e_msg_composer_attachment_bar_attach_mime_part): New convenience
function.
svn path=/trunk/; revision=3430
|
|
|
|
|
|
|
| |
* e-msg-composer.c (e_msg_composer_new_from_url): New routine, to
process mailto URLs.
svn path=/trunk/; revision=2663
|
|
|
|
|
|
|
|
|
| |
* e-msg-composer.c (e_msg_composer_add_header): new function to
make the composer record additional headers it should output.
(In-Reply-To), etc.
(build_message): output them
svn path=/trunk/; revision=2552
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* e-msg-composer.c (e_msg_composer_set_headers):
(e_msg_composer_set_body_text): new functions
* e-msg-composer-hdrs.c: const poisoning
(e_msg_composer_hdrs_set_subject):
(e_msg_composer_hdrs_get_subject): new functions
* e-msg-composer-address-entry.c: const poisoning
svn path=/trunk/; revision=2548
|
|
|
|
| |
svn path=/trunk/; revision=2012
|
|
|
|
|
|
| |
anymore. This is the first step; next step is to use BonoboUIHandler.
svn path=/trunk/; revision=2010
|
|
- Fixed some Camel API naming issues.
- Moved the message composer stuff to the `composer' directory.
svn path=/trunk/; revision=1395
|