Commit Graph

291 Commits

Author SHA1 Message Date
48b23b2a9b unref the message after displaying it.
* message-list.c (select_msg): unref the message after displaying
	it.

	* mail-format.c (get_data_wrapper_text):
	(handle_text_plain_flowed):
	(handle_via_bonobo): Replace camel_stream_close calls.

svn path=/trunk/; revision=2883
2000-05-07 21:57:06 +00:00
241a35c42f Requires a camel-patch, about to come through ...
2000-05-04  NotZed  <NotZed@HelixCode.com>

	* message-list.c (message_list_set_folder): Get the whole message
	summary right away.
	(folder_changed): And if we change too.
	(ml_row_count): Use the match count or summary table length as the
	row count.
	(get_message_info): Use array references to lookup message summary
	info.  For the search result list, use the summary_search_cache to
	cache the info lookup.
	(message_list_init): Allocate the summary search cache.
	(message_list_destroy): Free the summary search cache and the
	summary table, if there is one to free.
	(message_list_set_search): Save the match count, and clear the
	summary search cache for reuse.
	(folder_changed): Re-retrieve the summary list if the folder has
	changed.
	(message_list_set_folder): Retrieve the summary list when opening
	the folder.

svn path=/trunk/; revision=2807
2000-05-05 03:42:22 +00:00
cce3d43332 only free search if it is not NULL.
2000-05-02  Larry Ewing  <lewing@helixcode.com>

	* message-list.c (message_list_set_search): only free search if it
	is not NULL.

svn path=/trunk/; revision=2754
2000-05-02 20:54:37 +00:00
ab96ee0005 > 2000-05-02 NotZed <NotZed@HelixCode.com>
>
> 	* folder-browser.c (folder_browser_gui_init): Connect the changed
> 	signal to search, so it searched immediately?
>
40a46,48
> 	(message_list_set_search): Save the search string.
> 	(folder_changed): If the folder changes, re-run the search,
> 	otherwise we may end up with invalid entries in the display.

svn path=/trunk/; revision=2749
2000-05-02 17:53:26 +00:00
56f4dd919f Added a deleted message icon whcih shows when messages are
deleted (takes a while to update the gui for some reason).
Updates the gui when expunged, via a signal.

	* pixmaps.h: Added envelope-deleted state.

	(message_list_init_renderers): Added a 3rd state to message_status
	= deleted.
	(ml_value_at): Show the message state as deleted, if it is marked
	for deletion.
	(folder_changed): When the folder changes, update the display.
	(message_list_set_folder): Connect to the folder_changed event
	here.
	(message_changed): Callback to update the display when the message
	changes.
	(select_msg): And connect to the message_changed signal so we know
	when it cahgnes.

svn path=/trunk/; revision=2746
2000-05-02 03:33:55 +00:00
c65aa11c9b > (folder_browser_gui_init): Add an option meny to the search line.
> 	(create_option_menu): Build the option menu from a table.
> 	(search_set): Build a search from another string whent he option
> 	menu or text item is changed.  5 search options are defined so
> 	far.

svn path=/trunk/; revision=2742
2000-05-02 01:59:58 +00:00
5c3e0a6314 A hackish little quick-search entry. (search_activate): Perform a
2000-05-01  NotZed  <NotZed@HelixCode.com>

        * folder-browser.c (folder_browser_gui_init): A hackish little
        quick-search entry.
        (search_activate): Perform a quick-search on the folder subject
        only.

        * message-list.c (get_message_info): If there is an active search,
        then get the data from that ... use this instead of
        _get_message_info().
        (ml_row_count): If we have an active search, get the info from its
        result.
        (select_msg): Changed to use get_message_info, so searches work.
        (ml_value_at): And same here.

        * mail-display.c: Include missing errno.h.

svn path=/trunk/; revision=2724
2000-05-01 21:51:03 +00:00
a54e4b1074 Oops, remove some debug i put there.
2000-04-20  NotZed  <NotZed@HelixCode.com>

	* message-list.c:
	(ml_row_count): Oops, remove some debug i put there.

svn path=/trunk/; revision=2535
2000-04-21 00:05:24 +00:00
6b5b1f6de9 Add libibex.la to link.
2000-04-20  NotZed  <NotZed@HelixCode.com>

        * Makefile.am (evolution_mail_LDADD): Add libibex.la to link.

        * message-list.h: Removed folder summary.

        * message-list.c: Dont include folder-summary anymore.
        (select_msg): Changed to use folder, not summary in
        summary_get_message_info().  God this code is grotty.
        (ml_value_at): Ditto.
        (ml_value_at): Changed to use new interface.  Hmm, this returns a
        static variable, that seems wrong.
        (message_list_set_folder): Remove folder summary.

svn path=/trunk/; revision=2530
2000-04-20 23:47:40 +00:00
7aa932f07e new function, actually calls select_msg. (on_row_selection_cmd): register
* message-list.c (on_row_selection_idle): new function, actually
	calls select_msg.
	(on_row_selection_cmd): register an idle instead of calling
	select_msg directly.  this fixes the lag before the row is
	selected - selection is instantaneous now, with message loading
	happening afterward.

	* message-list.h: add row_to_select and an idle_id to the message
	list to make the select_msg call happen in an idle func.

svn path=/trunk/; revision=2470
2000-04-17 07:59:16 +00:00
ece07d1b3a no more e_cell_set_editable. this info always comes from the model.
* message-list.c (message_list_init_renderers): no more
	e_cell_set_editable.  this info always comes from the model.

svn path=/trunk/; revision=2469
2000-04-17 06:51:45 +00:00
e41189606e Add more beautiful art from Miggue, the Diego Rivera of the next
2000-04-07  Miguel de Icaza  <miguel@gnu.org>

	* message-list.c (states_pixmaps): Add more beautiful art from
	Miggue, the Diego Rivera of the next millenium.
	(message_list_init_header): Use the beautiful art.

	* pixmaps: Miguel rediscovers the "transparent" concept.

svn path=/trunk/; revision=2335
2000-04-07 21:58:59 +00:00
bbc6d63ef0 Load the icons from the installation path, not form the GNOME-libs
2000-04-06  Miguel de Icaza  <miguel@gnu.org>

	* shell/e-shortcut.c (shell_icon_cb): Load the icons from the
	installation path, not form the GNOME-libs installation prefix.
	(shell_icon_cb): Memory leak fix.

	* shell/Makefile.am (imagesdir): Pass the EVOLUTION_IMAGES
	installation directory here.

	* art/Makefile.am (images_DATA): Renamed from pixmaps to images.

2000-04-06  Miguel de Icaza  <miguel@gnu.org>

	* message-list.c: Stick pixmaps here.

	* mail-display.c (embeddable_destroy_cb): Replaced C++ comments
	with C comments.

	* message-list.c (load_internal_images): New function, loads images.
	(message_list_init_renderers): Load images, fix previous attempt
	at loading images.

	* Makefile.am (dist-hook): Added distribution of pixmaps.

	* pixmaps: New directory, used to hold the XPMs we ship with.

	* pixmaps/envelope-closed.xpm, pixmaps/envelope-open.xpm: Tigert's
	envelopes incorporated.
2000-04-06  Miguel de Icaza  <miguel@gnu.org>

	* e-cell-text.c: Killed ARG_EDITABLE.
	(ect_event): Updated to new editable setup.
	(e_cell_text_new): Kill editable argument.

	* e-cell-toggle.c (etog_event): Handle editability here

	* e-cell-text.h: Removed editable bit field from here, it is now
	taken care at the e-cell level.

	* e-cell.c (e_cell_set_editable): New function.
	(e_cell_init): Set editable to TRUE by default.

	* test-check.c (check_test): update to new api

	* test-table.c (table_browser_test): ditto.
	(do_e_table_demo): ditto.

	* test-cols.c (multi_cols_test): ditto

svn path=/trunk/; revision=2302
2000-04-06 06:46:20 +00:00
74b6039c52 remove debugging printf()s that no longer seem useful
svn path=/trunk/; revision=2274
2000-04-01 04:16:39 +00:00
1e77b479c3 update for summary changes. Hey, neat, it really does make it more
* message-list.c (select_msg, ml_value_at): update for summary
	changes. Hey, neat, it really does make it more efficient.

svn path=/trunk/; revision=2160
2000-03-25 05:20:41 +00:00
d433fb48d2 display message size
2000-03-21  bertrand  <bertrand@helixcode.com>

	* message-list.c (ml_value_at): display message size

2000-03-21  bertrand  <bertrand@helixcode.com>

	* providers/mbox/camel-mbox-summary.c
	(camel_mbox_summary_append_internal_to_external): copy the size field

	* providers/mbox/camel-mbox-folder.c (_get_message_by_uid): initialize
	message_info to NULL

	* camel-folder-summary.h: added the size field.

	* providers/mbox/camel-mbox-summary.h:
	added the received_date field.

svn path=/trunk/; revision=2133
2000-03-21 15:28:36 +00:00
5bc23d188a Properly ref & sink the table and header models.
2000-03-20  Christopher James Lahey  <clahey@helixcode.com>

        * message-list.c: Properly ref & sink the table and header models.

svn path=/trunk/; revision=2126
2000-03-21 02:54:37 +00:00
b380094567 once we have the bonobo control widget, disable the autoactivation and
2000-03-13  bertrand  <bertrand@helixcode.com>

	* shell/e-shell-view.c (get_view):
	once we have the bonobo control widget,
	disable the autoactivation and activate
	the control frame.

2000-03-12  bertrand  <bertrand@helixcode.com>

	* folder-browser-factory.c (folder_browser_factory_init):
	name change.
	(control_activate_cb): when the control is activated,
	it merges its own UI with the remote UIHandler.
	(control_add_menu): sample menu merging.
	(folder_browser_factory): connect the control "activate" signal.


(Bonobo control / shell view) UIMenu merging.

svn path=/trunk/; revision=2110
2000-03-13 05:04:31 +00:00
c2a6758ac4 sync from laptop
svn path=/trunk/; revision=2077
2000-03-07 18:16:11 +00:00
34ddede07c missing file
svn path=/trunk/; revision=2076
2000-03-06 18:57:33 +00:00
7c164f12b9 More changes than a man can remember.
The UI works now.

svn path=/trunk/; revision=2074
2000-03-06 09:38:42 +00:00
645f69dcf6 Added a prototype message listing.
2000-03-05  Christopher James Lahey  <clahey@helixcode.com>

        * message-list.c: Added a prototype message listing.

svn path=/trunk/; revision=2059
2000-03-05 14:51:49 +00:00
391ccf4561 Set up the column headers properly.
2000-03-04  Christopher James Lahey  <clahey@helixcode.com>

        * message-list.c: Set up the column headers properly.

        * folder-browser.c: Show the folder_browser widget.

svn path=/trunk/; revision=2050
2000-03-04 23:12:14 +00:00
399bef75b8 Define ml_duplicate_value and ml_free_value correctly.
2000-03-04  Christopher James Lahey  <clahey@helixcode.com>

        * message-list.c: Define ml_duplicate_value and ml_free_value
        correctly.

svn path=/trunk/; revision=2048
2000-03-04 22:27:47 +00:00
6500f64181 Use g_int_compare and g_str_compare as we should be instead of g_int_equal
2000-03-04  Christopher James Lahey  <clahey@helixcode.com>

	* message-list.c: Use g_int_compare and g_str_compare as we should
	be instead of g_int_equal and g_str_equal.

svn path=/trunk/; revision=2046
2000-03-04 21:38:40 +00:00
9610908b0e sync for debugging with chris
svn path=/trunk/; revision=2044
2000-03-04 18:59:04 +00:00
03a387dd44 Change this to use the ETable widget itself instead of building it from
2000-03-04  Christopher James Lahey  <clahey@helixcode.com>

        * message-list.c: Change this to use the ETable widget itself
        instead of building it from all the parts.

svn path=/trunk/; revision=2043
2000-03-04 18:59:03 +00:00
ece2d6be35 Ref the table columns since we unref them at the end.
2000-03-03  Christopher James Lahey  <clahey@helixcode.com>

        * message-list.c: Ref the table columns since we unref them at the
        end.

svn path=/trunk/; revision=2023
2000-03-03 19:59:00 +00:00
c2ffbbece7 Added e_xml_get_integer_prop_by_name.
2000-02-24  Christopher James Lahey  <clahey@helixcode.com>

        * e-util/e-xml-utils.c, e-util/e-xml-utils.h: Added
        e_xml_get_integer_prop_by_name.

        * e-util/Makefile.am: Added e-util.c.

        * e-util/e-util.h: Added e-util.c functions.

        * e-util/e-util.c: New file for compare functions

from mail:

2000-02-24  Christopher James Lahey  <clahey@helixcode.com>

        * message-list.c: Changed to match new e_table_simple interface.

svn path=/trunk/; revision=1931
2000-02-25 04:28:14 +00:00
d83721f8b7 last set of changes for CamelFolder changes. Evolution builds again...
svn path=/trunk/; revision=1928
2000-02-25 00:03:17 +00:00
7699b8996a This were moved to widgets/e-text/ a while ago but never removed. They
2000-02-24  Christopher James Lahey  <clahey@helixcode.com>

        * widgets/e-text.c, widgets/e-text.h, e-text-event-processor.c,
        e-text-event-processor.h, e-text-event-processor-emacs-like.c,
        e-text-event-processor-emacs-like.h,
        e-text-event-processor-types.h: This were moved to widgets/e-text/
        a while ago but never removed.  They have now been removed.

        * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Removed some
        warnings from this file.  Made tooltips disappear when you're
        finished with them.

        * widgets/e-minicard/test-reflow.c,
        widgets/e-minicard/test-minicard.c,
        widgets/e-minicard/test-minicard-label.c: Commented out unused
        about_callback functions.

        * widgets/e-minicard/e-reflow.c: Made e-reflow pass an EFocus to
        its e-minicard children.

        * widgets/e-minicard/e-minicard.c: Made e-minicard take and return
        an EFocus for its "has_focus" argument.  This makes shift-tab work properly.

        * widgets/e-minicard/e-minicard-label.c: Made e-minicard-label take and return
        an EFocus for its "has_focus" argument.  Made the font that
        e-minicard-label uses only be allocated once.

        * e-util/e-canvas-utils.h: Fixed the comment at the top and added
        #ifndef __E_CANVAS_UTILS__.

        * e-util/Makefile.am: Added e-xml-utils.c and
        e-xml-utils.h.

        * e-util/e-xml-utils.h, e-util/e-xml-utils.c: Added files for some
        xml utilities.

        * e-util/e-util.h: Added type EFocus which describes which
        direction the focus will be coming from.


in mail:

2000-02-24  Christopher James Lahey  <clahey@helixcode.com>

        * message-list.c: Changed this to not use the "x" and "y"
        arguments to e-table-item.


in widgets/e-table:

2000-02-24  Christopher James Lahey  <clahey@helixcode.com>

        * e-table-subset-variable.c, e-table-subset-variable.h: A new
        model which is a subset, but you can add and remove rows.

        * test-table.c: Added a thaw method for use with the
        e-table-subset (emits model_changed.)  Adapted to the changes to
        e_table_item.  Properly parse headers.  Adapted to the changes to
        e_table, including creating example xml spec data.

        * test-cols.c, test-check.c: Added a thaw method for use with the
        e-table-subset (emits model_changed.)  Adapted to the changes to
        e_table_item.

        * e-table.c, e-table.h: Reworked e-table to use the ETable
        grouping system.  The only difference for the interface is that
        instead of passing in a column_spec and a grouping_spec, you pass
        in a single string that is an xml format that includes both pieces
        of information.

        * e-table-subset.h: Added rules for emacs to do correct
        indentation.

        * e-table-subset.c: Implemented freezing.  No signals are emitted
        while frozen and "model_changed" is emitted when thawed.

        * e-table-sorted.h: ETableSortedClass has ETableSubset as its
        parent object instead of ETableSubsetClass.  Fixed this.

        * e-table-simple.c, e-table-simple.h: Implemented the thaw method.
        Use of simple now requires an extra argument (the thaw method.)

        * e-table-model.h, e-table-model.c: Added e_table_model_freeze and
        e_table_model_thaw.

        * e-table-item.h, e-table-item.c: Reworked this a bit to make it
        provide some things the new group system needed and to make
        inter-item keyboard focus work.  Changed the external interface
        only in the list of arguments it recognizes and signals it emits.
        Instead of "x" and "y", you have to use
        e_canvas_item_move_absolute and instead of emitting a
        "height_changed" signal, it emits a "resize" signal.  There's new
        "has_focus", "width", and "height" arguments and a function to get
        the currently focused column.

        * e-table-header-item.c: Got rid of some warnings here.  Changed
        the

        * e-table-group-leaf.h, e-table-group-leaf.c,
        e-table-group-container.h, e-table-group-container.c: New types to
        make e_table_group work properly.

        * e-table-group.h, e-table-group.c: Completely reworked e-table
        grouping.  e-table-group now uses a hierarchical structure.

        * e-cell.h: Added e_cell_print.  This doesn't work yet.

        * e-cell.c: Made e_cell_realize exist.  (It was improperly named
        e_cell_view_realize in the .c.)

        * e-cell-text.c: Made the blinking cursor disappear properly.

        * check-filled.xpm, check-empty.xpm: Made these const char *[]
        instead of char *[] to avoid compiler warnings.

        * Makefile.am: Added e-table-group-container.c,
        e-table-group-container.h, e-table-group-leaf.c,
        e-table-group-leaf.h, e-table-subset-variable.c,
        e-table-subset-variable.h.

svn path=/trunk/; revision=1915
2000-02-24 06:51:23 +00:00
a53103bd14 + * message-list.c (message_list_set_folder): Check 'desc'riptions
+	of exceptions.

svn path=/trunk/; revision=1908
2000-02-23 16:04:42 +00:00
f65a2d78c6 fix to show a sample correct implementation.
2000-02-22  bertrand  <Bertrand.Guiheneuf@aful.org>

	* message-list.c (message_list_set_folder):
	fix to show a sample correct implementation.

	* camel-folder.c (camel_folder_get_subfolder):
	(camel_folder_create):
	(camel_folder_delete):
	(camel_folder_delete_messages):
	(camel_folder_list_subfolders):
	(camel_folder_expunge):
	(camel_folder_get_message_by_number):
	(camel_folder_get_message_count):
	(camel_folder_append_message):
	(camel_folder_copy_message_to):
	(camel_folder_get_summary):
	(camel_folder_get_message_uid):
	(camel_folder_get_message_by_uid):
	(camel_folder_get_uid_list):
	Check folder state (open/close) and raise an
	exception if it is not ok.

	* providers/mbox/camel-mbox-folder.c (_create):
	create the file and the path with two different
	names.

	* camel-folder.c (_create): handle the case
	when the folder name starts with '/'

	* camel-exception.c (camel_exception_new): use
	(void) instead of () in decl.

	* camel-exception.h: cosmetic fixes.

	* camel-exception.c (camel_exception_init): new routine.
	Fix a bug in mail/message-list.c


	* camel-folder.h: cosmetic changes.

	* camel-stream-b64.c (reset__static): added a
	reset method. Thanks message-browser to find
	so much bugs :)

	* providers/mbox/Makefile.am (libcamelmbox_la_LIBADD): readd
	Unicode libs.

Fixes and exception handling in camel-folder.
Fixes in mail/evolution-mail to make it not
segfault and to demonstrate a correct implementation.

svn path=/trunk/; revision=1902
2000-02-22 11:16:36 +00:00
e72c45d304 New header with the typedefs for all camel classes. Now the class headers
* camel/camel-types.h: New header with the typedefs for all camel
	classes. Now the class headers can just include this and the
	header for the parent type. This makes it possible for
	CamelService to include a CamelSession without creating an
	#include loop.

	* camel/*:
	* composer/e-msg-composer-attachment-bar.h:
	* mail/folder-browser.c:
	* mail/message-list.c: frob #includes to match the new reality

svn path=/trunk/; revision=1850
2000-02-19 01:40:57 +00:00
d53eea370b Add the unicode libraries as well.
2000-02-14  Miguel de Icaza  <miguel@gnu.org>

	* camel/providers/mbox/Makefile.am (libcamelmbox_la_LIBADD): Add
	the unicode libraries as well.

	* camel/camel-provider.c (camel_provider_register_as_module): Add
	error reporting here.  Desire to use Solaris increases.  Hair loss
	in the last two hours: 5,400.

	* camel/providers/mbox/camel-mbox-provider.c
	(camel_mbox_get_provider): Renamed function.

	* camel/camel.h: All include files use camel/ now here.

	* camel/providers/mbox/Makefile.am: Drop all the dynamism from
	Camel, and make this a standard library.

	* configure.in: set the UNICODE_LIBS variable here.
2000-02-14  Miguel de Icaza  <miguel@gnu.org>

	* folder-browser.c (folder_browser_load_folder): New routine,
	loads a camel folder.
	(folder_browser_set_uri): redo.

	* session.c: new file.  Implements SessionStores to keep track of
	a Session/Store tuple.

svn path=/trunk/; revision=1783
2000-02-15 17:28:34 +00:00
29201b7558 Add the e-text directory to the includes list.
2000-02-11  Christopher James Lahey  <clahey@helixcode.com>

        * Makefile.am: Add the e-text directory to the includes list.

        * message-list.c: Change the call to e_cell_text_new, since
        there's an added argument.

svn path=/trunk/; revision=1744
2000-02-12 04:35:53 +00:00
a7faa87cb5 Display the summary. Abstractly
svn path=/trunk/; revision=1734
2000-02-11 12:20:54 +00:00
c2ae364efc More work. Not funny that e-table does not display.
More work.  Not funny that e-table does not display.

Miguel.

svn path=/trunk/; revision=1654
2000-01-29 12:29:44 +00:00
9f31ce86ff Make Evolution compile with the latest Bonobo changes.
Make Evolution compile with the latest Bonobo changes.

Miguel.

svn path=/trunk/; revision=1636
2000-01-26 00:04:16 +00:00
5d268dc005 It compiles -miguel
svn path=/trunk/; revision=1630
2000-01-25 10:58:55 +00:00
670f57583d More work
svn path=/trunk/; revision=1628
2000-01-25 08:43:24 +00:00