aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
Commit message (Collapse)AuthorAgeFilesLines
* set the content type on the plain part of outgoing messages.Larry Ewing2000-11-071-6/+36
| | | | | | | | | | | | 2000-11-06 Larry Ewing <lewing@helixcode.com> * e-msg-composer.c (build_message): set the content type on the plain part of outgoing messages. (best_content): a helper function to get the best content type for the attachment. This should probably use the helper functions in the future. svn path=/trunk/; revision=6423
* use inline images hash tableRadek Doulik2000-11-041-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* The big api rename ...Michael Meeks2000-11-021-6/+6
| | | | | | | | 2000-11-02 Michael Meeks <michael@helixcode.com> * The big api rename ... svn path=/trunk/; revision=6346
* Don't create the To, Cc, and Bcc lists based only on the address, use bothJeffrey Stedfast2000-11-021-9/+27
| | | | | | | | | | 2000-11-01 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_new_with_message): Don't create the To, Cc, and Bcc lists based only on the address, use both the name and address and camel_address_encode() them. svn path=/trunk/; revision=6326
* better reply editing, uses new HTMLEditor::Engine,Listener interfacesRadek Doulik2000-11-011-9/+70
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixed my not-quite-right logic so that we don't accidently set the bodyJeffrey Stedfast2000-10-281-25/+82
| | | | | | | | | | | 2000-10-27 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_new_with_message): Fixed my not-quite-right logic so that we don't accidently set the body contents using a plain text attachment instead of the actual body of the message :-) svn path=/trunk/; revision=6236
* Populate the composer with any attachments.Jeffrey Stedfast2000-10-261-122/+182
| | | | | | | | | 2000-10-25 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_new_with_message): Populate the composer with any attachments. svn path=/trunk/; revision=6197
* lots of i18n fixesDan Winship2000-10-241-4/+4
| | | | svn path=/trunk/; revision=6143
* Old cruft. Remove.Dan Winship2000-10-241-1/+0
| | | | | | | | | | | | | | * e-msg-composer-address-dialog.*, e-msg-composer-address-entry.*: Old cruft. Remove. * Makefile.am: Update for removed files. * e-msg-composer-hdrs.c: Remove e-msg-composer-address-entry.h include. * e-msg-composer.c: Remove e-msg-composer-address-dialog.h include svn path=/trunk/; revision=6130
* kill. (create_toolbar): die. (setup_ui): impl. (e_msg_composer_construct):Michael Meeks2000-10-191-202/+81
| | | | | | | | | | | | | | | | | 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
* If the body text was NULL, then don't bother turning it into HTMLJeffrey Stedfast2000-10-181-10/+11
| | | | | | | | | | 2000-10-17 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_new_with_message): If the body text was NULL, then don't bother turning it into HTML (besides, it causes a nasty segfault). svn path=/trunk/; revision=5971
* stop using format_text, gtkhtml handles this now. (format_text): functionLarry Ewing2000-10-131-84/+12
| | | | | | | | | | 2000-10-13 Larry Ewing <lewing@helixcode.com> * e-msg-composer.c (build_message): stop using format_text, gtkhtml handles this now. (format_text): function removed. svn path=/trunk/; revision=5896
* check to make sure we get a valid response from when calling get_text andLarry Ewing2000-10-111-2/+14
| | | | | | | | | | 2000-10-10 Larry Ewing <lewing@helixcode.com> * e-msg-composer.c (build_message): check to make sure we get a valid response from when calling get_text and get_html otherwise bail out of the build. svn path=/trunk/; revision=5823
* If the body of the message has 8-bit chars, set theJeffrey Stedfast2000-10-031-16/+27
| | | | | | | | | | 2000-10-02 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (build_message): If the body of the message has 8-bit chars, set the Content-Transfer-Encoding type to the best encoding. svn path=/trunk/; revision=5662
* The big eye-candy commit.Iain Holmes2000-10-011-1/+46
| | | | | | Make thumbnails out of image attachments. svn path=/trunk/; revision=5648
* Check to see if the body has 8bit chars, if so - set theJeffrey Stedfast2000-09-291-1/+20
| | | | | | | | | | 2000-09-28 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (build_message): Check to see if the body has 8bit chars, if so - set the Content-Transfer-Encoding to 8bit. Addresses Bugzilla bug #652. svn path=/trunk/; revision=5623
* fix typo in tooltip. fix accelerator for "Save as" to be different fromDan Winship2000-09-261-1/+1
| | | | | | | | | * e-msg-composer-hdrs.c (setup_headers): fix typo in tooltip. * e-msg-composer.c (create_menubar_file): fix accelerator for "Save as" to be different from "Save". (Both problems pointed out by menthos@menthos.com.) svn path=/trunk/; revision=5570
* Updated to handle FIFO streams.Jeffrey Stedfast2000-09-251-31/+18
| | | | | | | | | 2000-09-24 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (get_signature): Updated to handle FIFO streams. svn path=/trunk/; revision=5563
* Don't g_error out if the html-editor-control fails. (create_composer): NewDan Winship2000-09-191-60/+55
| | | | | | | | | | | | | * 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
* Added check for gnome-app-lib. Removed directories that have been moved toChristopher James Lahey2000-09-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added check for gnome-app-lib. Removed directories that have been moved to gal. From addressbook/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am, contact-editor/Makefile.am, ename/Makefile.am, gui/component/Makefile.am, gui/widgets/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * backend/ebook/e-card.c, backend/pas/pas-backend-file.c, contact-editor/e-contact-editor-address.c, contact-editor/e-contact-editor-categories.c, contact-editor/e-contact-editor-categories.h, contact-editor/e-contact-editor-fullname.c, contact-editor/e-contact-editor.c, contact-editor/e-contact-save-as.c, ename/e-address-western.c, ename/test-ename-western-gtk.c, gui/component/addressbook-factory.c, gui/component/addressbook.c, gui/component/e-cardlist-model.h, gui/component/e-ldap-storage.c, gui/component/select-names/e-select-names-bonobo.c, gui/component/select-names/e-select-names-manager.c, gui/component/select-names/e-select-names-model.c, gui/component/select-names/e-select-names-table-model.c, gui/component/select-names/e-select-names-table-model.h, gui/component/select-names/e-select-names-text-model.h, gui/component/select-names/e-select-names.c, gui/component/select-names/e-select-names.h, gui/search/e-addressbook-search-dialog.c, gui/widgets/e-addressbook-model.h, gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard-label.c, gui/widgets/e-minicard-view-widget.c, gui/widgets/e-minicard-view-widget.h, gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h, gui/widgets/e-minicard-widget.h, gui/widgets/e-minicard.c, gui/widgets/test-minicard-label.c, gui/widgets/test-reflow.c, printing/e-contact-print.c: Fixed the #include lines to deal properly with gal. From calendar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * gui/calendar-model.h, gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view-event-item.c, gui/e-week-view.c, gui/event-editor.c, gui/gncal-todo.c, gui/gnome-cal.c, gui/main.c, gui/print.c, gui/dialogs/task-editor.c: Fixed the #include lines to deal properly with gal. * gui/check-filled.xpm: New file since we can't include it from e-table anymore. From camel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * camel-folder-search.c, camel-folder-search.h, camel-remote-store.c, providers/imap/camel-imap-folder.c, providers/imap/camel-imap-store.c: Fixed the #include lines to deal properly with gal. From composer/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-msg-composer-address-dialog.c, e-msg-composer-address-entry.c, e-msg-composer-attachment.c, e-msg-composer-hdrs.c, e-msg-composer.c: Fixed the #include lines to deal properly with gal. From e-util/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed all the files moved to gal. * e-dialog-widgets.c: Fixed the #include lines to deal properly with gal. * e-gui-utils.c, e-gui-utils.h: Removed all of the functionality that was moved to gal. * e-canvas-utils.c, e-canvas-utils.h, e-canvas-vbox.c, e-canvas-vbox.h, e-canvas.c, e-canvas.h, e-cursors.c, e-cursors.h, e-font.c, e-font.h, e-popup-menu.c, e-popup-menu.h, e-printable.c, e-printable.h, e-unicode.c, e-unicode.h, e-util.c, e-util.h, e-xml-utils.c, e-xml-utils.h: Moved to gal. From filter/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * filter-editor.c, filter-filter.c, filter-folder.c, filter-input.c, filter-message-search.c, filter-option.c, filter-rule.c, score-editor.c, vfolder-editor.c, vfolder-rule.c: Fixed the #include lines to deal properly with gal. From mail/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * component-factory.c, folder-browser-factory.c, folder-browser.c, mail-callbacks.c, mail-config-gui.c, mail-display.c, mail-display.h, main.c, message-list.c, message-list.h: Fixed the #include lines to deal properly with gal. From po/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * POTFILES.in: Removed files that have been moved to gal. From shell/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-component-registry.c, e-corba-storage-registry.c, e-corba-storage.c, e-folder-type-registry.c, e-folder.c, e-local-folder.c, e-local-storage.c, e-shell-folder-creation-dialog.c, e-shell-folder-selection-dialog.c, e-shell-folder-title-bar.c, e-shell-view.c, e-shell.c, e-shortcuts-view.c, e-shortcuts.c, e-storage-set-view.c, e-storage-set-view.h, e-storage-set.c, e-storage.c, evolution-local-storage.c, evolution-session.c, evolution-shell-client.c, evolution-shell-component-client.c, evolution-shell-component.c, evolution-shell-view.c, evolution-storage-listener.c, evolution-storage.c, main.c: Fixed the #include lines to deal properly with gal. From widgets/meeting-time-sel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-meeting-time-sel-list-item.c, e-meeting-time-sel.c, e-meeting-time-sel.h: Fixed the #include lines to deal properly with gal. If you've read this far, you deserve a prize. The first email in my mailbox with the subject "What a commit message!" (and your physical mailing address somewhere in the message) will receive a free Helix Code T-shirt mailed to anywhere within the continental United States. I cannot be held responsible for problems with email systems anywhere. This is supposed to be for fun, so please don't make a fuss if something goes wrong and your mail doesn't reach me. Find my email elsewhere in this message, and if it's been more than a few days, you're probably too late. From widgets/misc/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-calendar-item.c, e-calendar.c, e-calendar.h, e-title-bar.c: Fixed the #include lines to deal properly with gal. * e-scroll-frame.c, e-scroll-frame.h: Moved to gal. From widgets/shortcut-bar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-icon-bar.c, e-icon-bar.h, e-shortcut-bar.c, e-shortcut-model.c, test-shortcut-bar.c: Fixed the #include lines to deal properly with gal. From widgets/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed directories that have been moved to gal. * e-paned/.cvsignore, e-paned/Makefile.am, e-paned/e-hpaned.c, e-paned/e-hpaned.h, e-paned/e-paned.c, e-paned/e-paned.h, e-paned/e-vpaned.c, e-paned/e-vpaned.h: Moved to gal. * e-reflow/.cvsignore, e-reflow/Makefile.am, e-reflow/e-reflow-sorted.c, e-reflow/e-reflow-sorted.h, e-reflow/e-reflow.c, e-reflow/e-reflow.h: Moved to gal. * e-table/.cvsignore, e-table/ChangeLog, e-table/LICENSE, e-table/Makefile.am, e-table/ROADMAP.e-table, e-table/TODO, e-table/add-col.xpm, e-table/arrow-down.xpm, e-table/arrow-up.xpm, e-table/check-empty.xpm, e-table/check-filled.xpm, e-table/clip.png, e-table/e-cell-checkbox.c, e-table/e-cell-checkbox.h, e-table/e-cell-string.c, e-table/e-cell-text.c, e-table/e-cell-text.h, e-table/e-cell-toggle.c, e-table/e-cell-toggle.h, e-table/e-cell-tree.c, e-table/e-cell-tree.h, e-table/e-cell.c, e-table/e-cell.h, e-table/e-table-click-to-add.c, e-table/e-table-click-to-add.h, e-table/e-table-col-dnd.h, e-table/e-table-col.c, e-table/e-table-col.h, e-table/e-table-column-model.h, e-table/e-table-column.c, e-table/e-table-config.c, e-table/e-table-config.glade, e-table/e-table-config.glade.h, e-table/e-table-config.h, e-table/e-table-defines.h, e-table/e-table-example-1.c, e-table/e-table-example-2.c, e-table/e-table-field-chooser-dialog.c, e-table/e-table-field-chooser-dialog.h, e-table/e-table-field-chooser-item.c, e-table/e-table-field-chooser-item.h, e-table/e-table-field-chooser.c, e-table/e-table-field-chooser.glade, e-table/e-table-field-chooser.glade.h, e-table/e-table-field-chooser.h, e-table/e-table-group-container.c, e-table/e-table-group-container.h, e-table/e-table-group-leaf.c, e-table/e-table-group-leaf.h, e-table/e-table-group.c, e-table/e-table-group.glade, e-table/e-table-group.glade.h, e-table/e-table-group.h, e-table/e-table-header-item.c, e-table/e-table-header-item.h, e-table/e-table-header.c, e-table/e-table-header.h, e-table/e-table-item.c, e-table/e-table-item.h, e-table/e-table-model.c, e-table/e-table-model.h, e-table/e-table-one.c, e-table/e-table-one.h, e-table/e-table-scrolled.c, e-table/e-table-scrolled.h, e-table/e-table-selection-model.c, e-table/e-table-selection-model.h, e-table/e-table-simple.c, e-table/e-table-simple.h, e-table/e-table-size-test.c, e-table/e-table-sort-info.c, e-table/e-table-sort-info.h, e-table/e-table-sorted-variable.c, e-table/e-table-sorted-variable.h, e-table/e-table-sorted.c, e-table/e-table-sorted.h, e-table/e-table-sorter.c, e-table/e-table-sorter.h, e-table/e-table-subset-variable.c, e-table/e-table-subset-variable.h, e-table/e-table-subset.c, e-table/e-table-subset.h, e-table/e-table-text-model.c, e-table/e-table-text-model.h, e-table/e-table-tooltip.h, e-table/e-table-tree.h, e-table/e-table.c, e-table/e-table.h, e-table/e-tree-example-1.c, e-table/e-tree-example-2.c, e-table/e-tree-model.c, e-table/e-tree-model.h, e-table/e-tree-simple.c, e-table/e-tree-simple.h, e-table/image1.png, e-table/image2.png, e-table/image3.png, e-table/remove-col.xpm, e-table/sample.table, e-table/table-test.c, e-table/table-test.h, e-table/test-check.c, e-table/test-cols.c, e-table/test-table.c: Moved to gal. * e-text/.cvsignore, e-text/Makefile.am, e-text/e-entry-test.c, e-text/e-entry.c, e-text/e-entry.h, e-text/e-text-event-processor-emacs-like.c, e-text/e-text-event-processor-emacs-like.h, e-text/e-text-event-processor-types.h, e-text/e-text-event-processor.c, e-text/e-text-event-processor.h, e-text/e-text-model.c, e-text/e-text-model.h, e-text/e-text-test.c, e-text/e-text.c, e-text/e-text.h: Moved to gal. i.e., ... changed evolution to work with gal. svn path=/trunk/; revision=5490
* The Commit from hell that breaks all UI related stuff;Michael Meeks2000-09-141-7/+9
| | | | | | Anything UI related that breaks is now my fault; apologies in advance. svn path=/trunk/; revision=5415
* Fix the accelerator for the "Format" menu so that it doesn't conflictEttore Perazzoli2000-09-061-1/+1
| | | | | | with that of the "File" menu. svn path=/trunk/; revision=5195
* Applied Jesse's patch that sets the composer's sig_fileJeffrey Stedfast2000-09-041-25/+27
| | | | | | | | | 2000-09-04 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_new_with_sig_file): Applied Jesse's patch that sets the composer's sig_file svn path=/trunk/; revision=5190
* This needs to return a const char * and not a char *, because we're notJeffrey Stedfast2000-09-021-50/+66
| | | | | | | | | | | | | | 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
* This needs to return a const char * and not a char *, because we're notJeffrey Stedfast2000-09-021-1/+1
| | | | | | | | | | 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
* Always request to import the HTML version if at all possible so that weJeffrey Stedfast2000-08-291-4/+2
| | | | | | | | | | 2000-08-28 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_new_with_message): Always request to import the HTML version if at all possible so that we maintain formatting and other nifty stuff :-) svn path=/trunk/; revision=5085
* Set the "From" address in the CamelMimeMessage. Also updated to useJeffrey Stedfast2000-08-291-16/+32
| | | | | | | | | | | | | | | | 2000-08-28 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_message): Set the "From" address in the CamelMimeMessage. Also updated to use get_subject to both make our lives easier and prepare for using UTF8 (e_msg_composer_hdrs_get_subject): Updated to behave similarly to get_from and return allocated memory (it will have to return allocated memory once it's converted to use UTF8 anyways) * e-msg-composer.c (setup_save_draft): Always set composer->send_html = TRUE so that formatting is preserved. svn path=/trunk/; revision=5084
* kill using_oaf assertion.Michael Meeks2000-08-121-1/+1
| | | | | | | | | | | | 2000-08-12 Michael Meeks <michael@helixcode.com> * main.c (main): kill using_oaf assertion. 2000-08-12 Michael Meeks <michael@helixcode.com> * e-msg-composer.c (get_text): get_text not get_txt. svn path=/trunk/; revision=4770
* Check nrow, not srow.JP Rosevear2000-08-121-3/+1
| | | | | | | | 2000-08-11 JP Rosevear <jpr@helixcode.com> * mail-config-gui.c (news_edit_clicked): Check nrow, not srow. svn path=/trunk/; revision=4738
* Remove unneeded e-setup.h includeDan Winship2000-08-111-1/+0
| | | | | | * e-msg-composer.c: Remove unneeded e-setup.h include svn path=/trunk/; revision=4709
* Made asyncJeffrey Stedfast2000-08-111-57/+82
| | | | | | | | 2000-08-10 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (exit_dialog_cb): Made async svn path=/trunk/; revision=4698
* Workaround Zucchi's new append_messagePeter Williams2000-08-111-4/+35
| | | | svn path=/trunk/; revision=4693
* Merge with camel-async.Peter Williams2000-08-111-8/+8
| | | | svn path=/trunk/; revision=4687
* Fixed some warnings.Christopher James Lahey2000-08-101-2/+2
| | | | | | | | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-msg-composer-address-dialog.c: Fixed some warnings. * e-msg-composer-hdrs.c: Switched the composer to use an EEntry for the subject field. * e-msg-composer.c: Changed the non scaling objects in this vbox to be FALSE, FALSE instead of FALSE, TRUE. svn path=/trunk/; revision=4675
* Modified to allow dropdown entry-boxes as well (for headers like From:)Jeffrey Stedfast2000-08-101-9/+9
| | | | | | | | | | | | | | | | | 2000-08-09 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer-hdrs.c (add_header): Modified to allow dropdown entry-boxes as well (for headers like From:) (setup_headers): Modified to use the correct enum type. (create_dropdown_entry): New convenience function to add a drop-down combo box and fill it in with identities (init): Set from_entry to NULL (e_msg_composer_hdrs_get_from): New convenience function to get the text in the From widget in the composer (e_msg_composer_hdrs_set_from): New convenience function to set the From header in the composer svn path=/trunk/; revision=4673
* s/strncasecmp/g_strncasecmp - this will help later with building onJeffrey Stedfast2000-08-081-6/+6
| | | | | | | | | 2000-08-07 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c: s/strncasecmp/g_strncasecmp - this will help later with building on different platforms :-) svn path=/trunk/; revision=4573
* Added code to set the body text based on the CamelMimeMessage.Jeffrey Stedfast2000-08-071-23/+32
| | | | | | | | | | 2000-08-07 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_new_with_message): Added code to set the body text based on the CamelMimeMessage. (set_editor_text): Use lowercase html tags... svn path=/trunk/; revision=4565
* Prompt the user to save their composition in Drafts. (set_editor_text):Jeffrey Stedfast2000-08-071-12/+137
| | | | | | | | | | | | | | | 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
* Constify paramJP Rosevear2000-08-021-3/+3
| | | | | | | | | | | | 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
* Typo fixPeter Williams2000-08-011-1/+1
| | | | svn path=/trunk/; revision=4447
* New function to create composer with sig file set.JP Rosevear2000-07-291-10/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* add textual exception printout. (set_editor_text): close pre tags & checkMichael Meeks2000-07-261-3/+8
| | | | | | | | | | | | | | | | | | | | 2000-07-25 Michael Meeks <michael@helixcode.com> * e-msg-composer.c (get_text): add textual exception printout. (set_editor_text): close pre tags & check for pre-existing sig separator. 2000-07-25 Michael Meeks <michael@helixcode.com> * mail-config.c (create_identity_page): set default signature to ~/.signature 2000-07-25 Michael Meeks <michael@helixcode.com> * backend/ebook/load-pine-addressbook.c (book_open_cb): check we opened ok. svn path=/trunk/; revision=4330
* Update the insert text file command. Still waiting on GtkHtml.Peter Williams2000-07-251-41/+39
| | | | svn path=/trunk/; revision=4315
* Remove GOAD support. (create_editor): Try to give a more helpful errorDan Winship2000-07-251-5/+1
| | | | | | | | * e-msg-composer.c: Remove GOAD support. (create_editor): Try to give a more helpful error message when failing to load the editor control. svn path=/trunk/; revision=4300
* Add a "Send HTML mail" toggle in the message composer.Ettore Perazzoli2000-07-231-73/+143
| | | | svn path=/trunk/; revision=4284
* Change the message composer to use BonoboUIHandler directly instead ofEttore Perazzoli2000-07-231-178/+165
| | | | | | translated GnomeUIInfo. svn path=/trunk/; revision=4282
* Fix bug #345: Command to show/hide attachments in the composerPeter Williams2000-07-131-4/+183
| | | | svn path=/trunk/; revision=4117
* Make the wm close button in the message composer work the same asEttore Perazzoli2000-07-111-14/+40
| | | | | | "File/Close". svn path=/trunk/; revision=4040
* Don't load "" into the editor, because it will cause the editor componentDan Winship2000-07-101-1/+4
| | | | | | | * e-msg-composer.c (set_editor_text): Don't load "" into the editor, because it will cause the editor component to g_warning. svn path=/trunk/; revision=4026
* Create an empty "Edit" menu for the editor control to insert itself into.Dan Winship2000-07-091-0/+5
| | | | | | | * e-msg-composer.c (create_menubar): Create an empty "Edit" menu for the editor control to insert itself into. svn path=/trunk/; revision=3985
* Added code for initializing the values of the fields in the messageEttore Perazzoli2000-07-081-0/+2
| | | | | | composer. Unfortunately the ESelectNames crashes when you do this... svn path=/trunk/; revision=3975
* changed "Exit" to "Close" in the File menuJeffrey Stedfast2000-07-011-10/+6
| | | | svn path=/trunk/; revision=3838
* Changed "Exit" to "Close" in the File menu. This is a little moreJeffrey Stedfast2000-06-301-9/+3
| | | | | | | | | | 2000-06-29 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c: Changed "Exit" to "Close" in the File menu. This is a little more intuitive as it does not suggest exiting the application, just says "close this window" svn path=/trunk/; revision=3814
* Implement "Save"/"Save As...".Ettore Perazzoli2000-06-271-10/+72
| | | | svn path=/trunk/; revision=3739
* I18N the message composer's title bar. Don't install header files.Ettore Perazzoli2000-06-171-30/+95
| | | | | | | | | 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
* Don't line-wrap lines that start with ">".Dan Winship2000-06-141-2/+3
| | | | | | | * e-msg-composer.c (format_text): Don't line-wrap lines that start with ">". svn path=/trunk/; revision=3569
* implemented a temp hack for the imap fetch by uid codeJeffrey Stedfast2000-06-131-18/+8
| | | | | | (works something like the POP code, should be fixed to work like we originally planned) svn path=/trunk/; revision=3540
* If a paragraph starts with TABs, indent the whole paragraph to that tabDan Winship2000-06-131-12/+28
| | | | | | | * e-msg-composer.c (format_text): If a paragraph starts with TABs, indent the whole paragraph to that tab level. svn path=/trunk/; revision=3534
* Make the message composer use a EScrollFrame for the attachment barEttore Perazzoli2000-06-131-16/+16
| | | | | | and make the quit message I18N aware. svn path=/trunk/; revision=3533
* Don't break on non-breaking spaces, don't keep non-breaking spaces thatDan Winship2000-06-131-5/+19
| | | | | | | | | * e-msg-composer.c (format_text): Don't break on non-breaking spaces, don't keep non-breaking spaces that fall after a line wrap, and translate non-breaking spaces to regular ones after wrapping. svn path=/trunk/; revision=3530
* New convenience function.Dan Winship2000-06-061-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Added the ability to save plain text mail.Christopher James Lahey2000-06-031-25/+75
| | | | | | | | 2000-06-02 Christopher James Lahey <clahey@helixcode.com> * e-msg-composer.c: Added the ability to save plain text mail. svn path=/trunk/; revision=3397
* add a "format" argument so we can fetch different kinds of text.Dan Winship2000-05-301-27/+78
| | | | | | | | | | * e-msg-composer.c (get_editor_text): add a "format" argument so we can fetch different kinds of text. (format_text): New function to do line wrapping on plain text. (build_message): Build multipart/alternative messages rather than HTML-only ones. Yay. We don't suck (as much) any more! svn path=/trunk/; revision=3267
* #include <errno.h>Dan Winship2000-05-291-0/+1
| | | | | | * e-msg-composer.c: #include <errno.h> svn path=/trunk/; revision=3251
* routine to read the user's signature file. (set_editor_text): If the userDan Winship2000-05-261-1/+68
| | | | | | | | | | | * e-msg-composer.c (get_signature): routine to read the user's signature file. (set_editor_text): If the user has configured a signature, append it to the set text. (e_msg_composer_new): Call set_editor_text with "" to load the signature (if any). svn path=/trunk/; revision=3220
* Update for CamelMultipart changes.Dan Winship2000-05-261-0/+3
| | | | | | * e-msg-composer.c (build_message): Update for CamelMultipart changes. svn path=/trunk/; revision=3218
* Update for PersistStream changesDan Winship2000-05-261-2/+2
| | | | | | | * e-msg-composer.c (get_editor_text, set_editor_text): Update for PersistStream changes svn path=/trunk/; revision=3215
* Use camel_data_wrapper_new instead of camel_simple_data_wrapper_new.Not Zed2000-05-261-1/+1
| | | | | | | | | 2000-05-25 Not Zed <NotZed@HelixCode.com> * e-msg-composer.c (build_message): Use camel_data_wrapper_new instead of camel_simple_data_wrapper_new. svn path=/trunk/; revision=3209
* Use camel_simple_data_wrapper_new rather than camel_data_wrapper_new.Dan Winship2000-05-181-1/+1
| | | | | | | * e-msg-composer.c (build_message): Use camel_simple_data_wrapper_new rather than camel_data_wrapper_new. svn path=/trunk/; revision=3114
* NUL-terminate the data extracted from the BonoboStream.Dan Winship2000-05-131-1/+5
| | | | | | | * e-msg-composer.c (get_editor_text): NUL-terminate the data extracted from the BonoboStream. svn path=/trunk/; revision=3005
* make it really work with oaf. I need to recompile everyhting now.. shitMathieu Lacage2000-05-081-1/+1
| | | | svn path=/trunk/; revision=2914
* uhMathieu Lacage2000-05-081-1/+1
| | | | svn path=/trunk/; revision=2913
* make the composer work with oafMathieu Lacage2000-05-081-3/+9
| | | | svn path=/trunk/; revision=2912
* unref content, etc. after attaching it to message.Dan Winship2000-05-081-0/+4
| | | | | | | | | | * e-msg-composer.c (build_message): unref content, etc. after attaching it to message. * e-msg-composer-attachment-bar.c (attach_to_multipart): unref part after attaching it. svn path=/trunk/; revision=2884
* New routine, to process mailto URLs.Dan Winship2000-04-281-0/+125
| | | | | | | * e-msg-composer.c (e_msg_composer_new_from_url): New routine, to process mailto URLs. svn path=/trunk/; revision=2663
* 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
* Only generate a multipart message if there are attachments. OtherwiseDan Winship2000-04-271-9/+11
| | | | | | | | * 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
* Remove. We weren't using the fields that made this different fromDan Winship2000-04-271-5/+4
| | | | | | | | | | | | | * 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-271-4/+2
| | | | svn path=/trunk/; revision=2644
* add a s/SIMPLE_// that notzed missed remove a now-unused variableDan Winship2000-04-261-1/+0
| | | | | | | | * 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
* Use camel_mime_part_set_text() to set the text rather than messing withNotZed2000-04-261-6/+3
| | | | | | | | | | | | | 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
* fix menu problem in composer windowRadek Doulik2000-04-261-7/+4
| | | | | | | | | | | | * 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
* new function to make the composer record additional headers it shouldDan Winship2000-04-231-1/+45
| | | | | | | | | * 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
* Connect "Exit" menu item finally.Dan Winship2000-04-221-1/+21
| | | | | | * e-msg-composer.c (exit_cb): Connect "Exit" menu item finally. svn path=/trunk/; revision=2549
* new functionsDan Winship2000-04-221-0/+43
| | | | | | | | | | | | | * 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
* new functions to get and set the contents of the HTML editor viaDan Winship2000-04-211-4/+77
| | | | | | | | | * e-msg-composer.c (get_editor_text, set_editor_text): new functions to get and set the contents of the HTML editor via Bonobo::PersistStream. (build_message): use get_editor_text. This works again. svn path=/trunk/; revision=2527
* Remove the "session" field from CamelMimeMessage. Nothing uses it, aboutDan Winship2000-04-181-1/+1
| | | | | | | | | | | | * camel-mime-message.[ch]: Remove the "session" field from CamelMimeMessage. Nothing uses it, about half of the existing calls to camel_mime_message_new_with_session pass NULL, and there's no obvious reason for it to be there. * others: Use camel_mime_message_new instead of camel_mime_message_new_with_session svn path=/trunk/; revision=2479
* Get the menubar to work.Bertrand Guiheneuf2000-03-171-2/+2
| | | | svn path=/trunk/; revision=2118
* Further work.Ettore Perazzoli2000-03-081-9/+15
| | | | svn path=/trunk/; revision=2088
* Bonobization of the message composer, part 1.Ettore Perazzoli2000-03-021-19/+120
| | | | svn path=/trunk/; revision=2012
* Don't use libglade for menus and toolbars in the message composerEttore Perazzoli2000-03-021-86/+2
| | | | | | anymore. This is the first step; next step is to use BonoboUIHandler. svn path=/trunk/; revision=2010
* More work:Ettore Perazzoli1999-11-171-0/+564
- Fixed some Camel API naming issues. - Moved the message composer stuff to the `composer' directory. svn path=/trunk/; revision=1395