Commit Graph

2555 Commits

Author SHA1 Message Date
74ff74bf9b Initialize the "urls" hash table stored on the message and store cid and
* mail-format.c (mail_format_mime_message): Initialize the "urls"
	hash table stored on the message and store cid and other URLs
	there rather than as object data on the message.
	(get_cid): rewrite this a bunch
	(handle_text_enriched): move the code from write_iframe_string()
	into here, since it's the only place that actually needs it.
	(handle_text_html): simplify this a lot. We can use a cid: URL
	here rather than x-evolution-data.
	(get_url_for_icon): New routine to return URLs for icons, and
	cache the results, so we don't have to keep re-reading the icon
	files (and so we can't be spoofed into reading non-icon files).
	(handle_mystery, handle_audio): use get_url_for_icon.

	* mail-display.c (save_data): move the CamelMimePart filename
	extracting code from get_cid to here.
	(on_link_clicked, on_object_requested): Update for cid: changes.
	(on_url_requested): Kill off the kludgy, exploitable x-gnome-icon
	URL schema, update cid and x-evolution-data to match
	mail-format.c.

	It should now be easier to implement RFC 2557 (Content-Location,
	etc), but that RFC still pretty much sucks.

svn path=/trunk/; revision=3314
2000-05-31 20:47:22 +00:00
e7255c4c78 Add missing #include "Evolution.h".
svn path=/trunk/; revision=3313
2000-05-31 18:37:46 +00:00
ae15900672 Redo this back to the old way: a single GtkHTML with various things inline
* mail-format.c: Redo this back to the old way: a single GtkHTML
        with various things inline in it. (Gets rid of flicker, simplifies
        some scrolling, selecting, and printing issues.)
        (handle_text_enriched, handle_text_html): Use <iframe>s for these,
        to protect the rest of the document from their possibily invalid
        HTML.
        (handle_via_bonobo): Use (new-and-improved) <object> tags for
        this, moving most of the work back into mail-display.c

        * mail-display.c (on_object_requested): Move the Bonobo embedding
        code back here again (reorganized a bit).
        (on_url_requested): add x-evolution-data handler, for iframe
        bodies.
        (mail_html_new, mail_html_end): removed
        (mail_display_set_message, mail_display_new): Update for NWO.

svn path=/trunk/; revision=3312
2000-05-31 14:29:24 +00:00
e04e6e0dc2 Don't hide the EPaned handle if the requisition of either of the
children is zero anymore.  This was causing problems with some of the
widgets that are in the EShellView and have zero requisition.

svn path=/trunk/; revision=3311
2000-05-31 06:28:46 +00:00
c6d835a949 Initialize the toggle items in the View menu when creating them, so
that they start up in the correct state.  Deactivate the current
control when displaying an empty error page.  Removed some crufty
debugging messages.

svn path=/trunk/; revision=3310
2000-05-31 06:22:23 +00:00
64e74a631c New files for card list.
2000-05-30  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/e-cardlist-model.c,
	gui/component/e-cardlist-model.h: New files for card list.

svn path=/trunk/; revision=3309
2000-05-31 02:58:37 +00:00
c4fe21d4f6 Create the UI handler after we have constructed the parent GnomeApp.
2000-05-30  Federico Mena Quintero  <federico@helixcode.com>

	* gui/event-editor.c (event_editor_construct): Create the UI
	handler after we have constructed the parent GnomeApp.
	(main_menu): Menu template is now in place.
	(toolbar): Tollbar template is now in place.
	(create_toolbar): Turn off labels in the toolbar since it sucks;
	it should support non-homogeneous buttons with horizontal icons
	and text.

svn path=/trunk/; revision=3308
2000-05-31 02:30:24 +00:00
e4e38ebdc9 Fixed the buglet that caused unwanted bogus drag & drop operations to
start, and added some initial resistance to the drag & drop operation
itself.

svn path=/trunk/; revision=3307
2000-05-31 02:19:51 +00:00
0f0ab78afd And here too.
2000-05-30  Not Zed  <NotZed@HelixCode.com>

        * filtertypes.xml: And here too.

        * vfoldertypes.xml: Add body-contains and not-body-contains
        types.

svn path=/trunk/; revision=3306
2000-05-31 02:19:20 +00:00
6e86093cad Eeek! Declare the "owner_unset" signal correctly.
svn path=/trunk/; revision=3305
2000-05-31 00:54:03 +00:00
0904974b11 Increase the size of the folder title bar slightly to make it nicer.
svn path=/trunk/; revision=3304
2000-05-31 00:46:19 +00:00
fad1048c1b Make quit work again by implementing a CORBA method to unregister
components in ShellComponent.  Implemented toggle menu items to
hide/show the shortcut bar and the folder bar (but they don't work,
apparently because of some BonoboUIHandler bogosity).  Implemented a
CORBA method in Shell to allow a client to get the component that
handles a certain folder type.

svn path=/trunk/; revision=3303
2000-05-30 23:59:22 +00:00
2e24bc8d33 Removed merge cruft.
svn path=/trunk/; revision=3302
2000-05-30 23:28:18 +00:00
9c6a4c53a9 Properly encode the search string.
2000-05-30  Not Zed  <NotZed@HelixCode.com>

        * folder-browser.c (search_set): Properly encode the search string.

svn path=/trunk/; revision=3301
2000-05-30 22:54:37 +00:00
75353e0bff Utility function to build a bool as part of an expression string.
2000-05-30  Not Zed  <NotZed@HelixCode.com>

        * e-sexp.c (e_sexp_encode_bool): Utility function to build a bool
        as part of an expression string.
        (e_sexp_encode_string): Likewise for strings.

svn path=/trunk/; revision=3300
2000-05-30 22:53:59 +00:00
7b37caa734 Implemented the Transport section of the configuration dialog window
and fixed several memory leaks inside of mail-config.c

svn path=/trunk/; revision=3299
2000-05-30 22:44:53 +00:00
631dda8ae0 Init filter_from to NULL, for exception case. (mbox_get_message_by_uid):
2000-05-30  Not Zed  <NotZed@HelixCode.com>

        * providers/mbox/camel-mbox-folder.c (mbox_append_message): Init
        filter_from to NULL, for exception case.
        (mbox_get_message_by_uid): Cast off_t to long int for diagnostics.

        * camel-url.c (camel_url_hash): Hash funciton for using camel
        url's as hash keys.
        (camel_url_equal): equal function for same.

        * camel-session.c (camel_session_finalise): Free cached services.
        (camel_session_init): Init service cache.
        (service_cache_remove): destroy callback to remove a service from
        the cache.

        * camel-store.c (get_folder_internal): Remove the extra ref of the
        folder.  That seems the right behaviour ...?
        (camel_store_get_type): Doh, actually call store init, so the
        cache works.
        (cache_folder): strdup the folder name!  no wonder it never found
        it again.

svn path=/trunk/; revision=3298
2000-05-30 22:35:40 +00:00
a9ddc24118 Translations from Keld
evolution/po/da.po

svn path=/trunk/; revision=3297
2000-05-30 22:28:22 +00:00
b130feadab oops. use the seen and unseen icons to represent the right things. :)
svn path=/trunk/; revision=3296
2000-05-30 21:59:35 +00:00
0088d69b40 use the "new" tigert pixmaps rather than the older ones. Includes a
* message-list.c: use the "new" tigert pixmaps rather than the
	older ones. Includes a "replied to" icon (which is used now), but
	no "deleted" icon (although we have the strikeout renderer for
	that now).

svn path=/trunk/; revision=3295
2000-05-30 21:58:30 +00:00
9904bdae50 copy this over from mail/pixmaps
svn path=/trunk/; revision=3294
2000-05-30 21:55:40 +00:00
c7381e8f14 call e_table_model_row_changed, not e_table_model_changed so we do less
* message-list.c (message_changed): call
	e_table_model_row_changed, not e_table_model_changed so we do less
	work, and don't lose the current selection.
	(select_msg): Set up a timer to mark the displayed message as
	"seen" if it's selected for longer than 1.5 seconds (a number
	pulled out of Matt's butt).
	(ml_value_at): Use the MESSAGE_STATUS column for read/unread as
	well as deleted.

svn path=/trunk/; revision=3293
2000-05-30 21:43:40 +00:00
f0ec699349 Added bold for unread messages.
2000-05-30  Christopher James Lahey  <clahey@helixcode.com>

	* message-list.c, message-list.h: Added bold for unread messages.

svn path=/trunk/; revision=3292
2000-05-30 20:59:12 +00:00
fb9c7055d9 Added bold column's to ECellText.
2000-05-30  Christopher James Lahey  <clahey@helixcode.com>

	* e-cell-text.c, e-cell-text.h: Added bold column's to ECellText.

svn path=/trunk/; revision=3291
2000-05-30 20:58:10 +00:00
ff0ab8680f Make sure that the cursor is always shown when the selection changes.
2000-05-30  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-item.c: Make sure that the cursor is always shown when
	the selection changes.

svn path=/trunk/; revision=3290
2000-05-30 19:33:28 +00:00
e169895ef5 Added e_canvas_item_show_area which makes sure that a particular area of a
2000-05-30  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas-utils.c, e-canvas-utils.h: Added
	e_canvas_item_show_area which makes sure that a particular area of
	a given item is in the scroll area.

svn path=/trunk/; revision=3289
2000-05-30 19:32:36 +00:00
eaddfcefea commit'd changelog :)
explains my last commit in much finer detail

svn path=/trunk/; revision=3288
2000-05-30 17:52:01 +00:00
8e70b18c3f started to add a camel provider configuration tool
svn path=/trunk/; revision=3287
2000-05-30 17:46:17 +00:00
d6571004c0 Implemented a few more imap functions in providers/imap/camel-imap-folder.c
svn path=/trunk/; revision=3286
2000-05-30 17:41:31 +00:00
7172355841 Made the alphabet buttons not focusable.
2000-05-30  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/alphabet.glade: Made the alphabet buttons not
	focusable.

	* gui/minicard/e-minicard-view.c: Made the "123" button work.

	* gui/minicard/e-reflow-sorted.c: Made all buttons past the last
	letter available work.

svn path=/trunk/; revision=3285
2000-05-30 17:28:08 +00:00
475917c607 Added a bit of space around the alphabet bar.
2000-05-30  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/alphabet.glade: Added a bit of space around the
	alphabet bar.

svn path=/trunk/; revision=3284
2000-05-30 17:10:13 +00:00
936611683a Added alphabet.glade and alphabet.glade.h.
2000-05-30  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/Makefile.am: Added alphabet.glade and
	alphabet.glade.h.

	* gui/component/addressbook.c, gui/component/alphabet.glade,
	gui/component/alphabet.glade.h: Added an alphabet bar.

	* gui/minicard/e-minicard-view.c, gui/minicard/e-minicard-view.h,
	gui/minicard/e-reflow-sorted.c, gui/minicard/e-reflow-sorted.h:
	Added the ability to just to a particular spot in the reflow.

svn path=/trunk/; revision=3283
2000-05-30 17:06:11 +00:00
016b2a545c Added BONOBO_GNOME_CFLAGS to CPPFLAGS.
2000-05-30  Christopher James Lahey  <clahey@helixcode.com>

	* printing/Makefile.am: Added BONOBO_GNOME_CFLAGS to CPPFLAGS.

svn path=/trunk/; revision=3282
2000-05-30 15:40:47 +00:00
cea90a9fdf Made double clicking create a new card. Set the empty message.
2000-05-30  Christopher James Lahey  <clahey@helixcode.com>

	* gui/minicard/e-minicard-view.c: Made double clicking create a
	new card.  Set the empty message.

	* gui/minicard/e-minicard.c: Made sorting be case insensitive.

	* gui/minicard/e-reflow-sorted.c, e-reflow.c, e-reflow.h: Added a
	message for when the reflow is empty.

	* printing/e-contact-print.c, printing/medbook.ecps: Made the
	default printout be full page.  Made sorting case insensitive.

svn path=/trunk/; revision=3281
2000-05-30 15:27:32 +00:00
336efb38c6 Flush - Federico
svn path=/trunk/; revision=3280
2000-05-30 14:47:38 +00:00
886713b8b1 Added "sequence_complete" signal.
2000-05-30  Christopher James Lahey  <clahey@helixcode.com>

	* backend/ebook/e-book-view-listener.c,
	backend/ebook/e-book-view-listener.h, backend/ebook/e-book-view.c,
	backend/ebook/e-book-view.h, backend/idl/addressbook.idl,
	backend/pas/pas-backend-file.c, backend/pas/pas-backend-ldap.c,
	backend/pas/pas-book-factory.c, backend/pas/pas-book-view.c,
	backend/pas/pas-book-view.h: Added "sequence_complete" signal.

	* printing/e-contact-print.c: Made printing wait for
	"sequence_complete" signal and made it sort.

svn path=/trunk/; revision=3279
2000-05-30 13:41:12 +00:00
0ae2ea2e32 Switched to using "cursor_change" signal instead of "row_selection" for
2000-05-30  Christopher James Lahey  <clahey@helixcode.com>

	* message-list.c: Switched to using "cursor_change" signal instead
	of "row_selection" for switching messages.  Select the first row
	(still doesn't work because of ETable.)  Adapt to some small
	ETable changes.  Set drawfocus to FALSE.

svn path=/trunk/; revision=3278
2000-05-30 13:21:41 +00:00
a076f5b58f Fixed a bunch of selection bugs. Removed "spreadsheet" argument (for now.)
2000-05-30  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-group-container.c, e-table-group-container.h,
	e-table-group-leaf.c, e-table-group-leaf.h, e-table-group.c,
	e-table-group.h, e-table-item.c, e-table-item.h, e-table.c,
	e-table.h, test-check.c, test-cols.c, test-table.c: Fixed a bunch
	of selection bugs.  Removed "spreadsheet" argument (for now.)
	Added "cursor_mode" argument.  Added "cursor_change" signal.
	Temporarily removed "selection_mode" argument.

svn path=/trunk/; revision=3277
2000-05-30 13:19:32 +00:00
bdf6f37a8a Added a title bar for the folder view. Removed title bar from the
shortcut view.  Made shortcuts behave correctly when moved around.
Also, implemented automatic re-saving of the shortcuts when they
change.

svn path=/trunk/; revision=3276
2000-05-30 06:32:14 +00:00
316db85df6 incorporated kevins notes. incorporated kevins notes.
* C/usage-contact.sgml: incorporated kevins notes.
	* C/usage-mainwindow.sgml: incorporated kevins notes.

svn path=/trunk/; revision=3275
2000-05-30 01:50:31 +00:00
3cc160e17b diff -r1.206 ChangeLog
2a3,9
> 	* camel-store.c (camel_store_init): Move it to here.  If this
> 	level is going to maintain it, it should set it up.  Lets see what
> 	caching folders breaks :(
>
> 	* providers/pop3/camel-pop3-store.c (camel_pop3_store_init): Dont
> 	init folder cache here.
>
7a15,16
> 	(camel_mbox_summary_expunge): Remove some debug, and dont offset
> 	frompos?

svn path=/trunk/; revision=3274
2000-05-30 01:05:18 +00:00
86b0250cb7 Fix wrong order of the key/value parameters in the call to
`g_hash_table_insert()' when initializing the EStorageSetView.  This
was causing addition of new folders to a registered storage at runtime
to fail.

svn path=/trunk/; revision=3273
2000-05-30 00:56:04 +00:00
0dae22ec2f Make sure we copy messages which are still intact to the new folder.
2000-05-29  Not Zed  <NotZed@HelixCode.com>

        * providers/mbox/camel-mbox-summary.c
        (camel_mbox_summary_expunge): Make sure we copy messages which are
        still intact to the new folder.
        (camel_mbox_summary_expunge): Update the frompos as well when
        moving the content.

svn path=/trunk/; revision=3272
2000-05-30 00:50:23 +00:00
7c4626c00f > (message_changed): Track changes to the source message in the
> 	summary.
> 	(folder_changed): Track folder changes, re-query the folder that
> 	changed, and cascade the changed event as well.
> 	(camel_vee_folder_finalise): Free subfolder and subfolder summary.

svn path=/trunk/; revision=3271
2000-05-29 23:29:44 +00:00
6bc1396e4f Translations from Keld
balsa/po/da.po evolution/po/da.po gnome-utils/po/da.po
gnomeicu/po/da.po gnumeric/po/da.po

svn path=/trunk/; revision=3270
2000-05-29 22:02:37 +00:00
bebbdbbbcb Hardcode the vfolder source to just the inbox (so at least it returns
2000-05-29  Not Zed  <NotZed@HelixCode.com>

        * folder-browser.c (folder_browser_load_folder): Hardcode the
        vfolder source to just the inbox (so at least it returns
        something).

        * component-factory.c (create_test_storage): Create a vfolder dir
        first, and put the folders in that.
        (create_test_storage): Create the storage as VFolders, not
        "storage_name" :)

svn path=/trunk/; revision=3269
2000-05-29 20:39:19 +00:00
82d8404f4f Check the searched folder is open before trying to search it.
2000-05-29  Not Zed  <NotZed@HelixCode.com>

        * providers/vee/camel-vee-folder.c (vee_folder_build): Check the
        searched folder is open before trying to search it.

svn path=/trunk/; revision=3268
2000-05-29 20:38:55 +00:00
9b1893e93d add a "format" argument so we can fetch different kinds of text.
* 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
2000-05-29 19:34:43 +00:00
9f804702d5 Fix up some glib precondition stuff. Try to set the URL in
* camel-service.c (camel_service_new): Fix up some glib
	precondition stuff. Try to set the URL in camel_service_new before
	checking whether or not it's "empty" so that you can successfully
	set "sendmail:" as a URL.

svn path=/trunk/; revision=3266
2000-05-29 19:32:29 +00:00
ccb665a026 Moved macros/gnome-autogen.sh to bin/gnome-autogen.sh.
svn path=/trunk/; revision=3260
2000-05-29 15:42:50 +00:00