Commit Graph

62 Commits

Author SHA1 Message Date
Dan Winship 4435a5db63 Call bonobo_control_frame_activate on the folder_view every time it is
* shell/e-shell-view.c (e_shell_view_set_view): Call
	bonobo_control_frame_activate on the folder_view every time it
	is displayed, and bonobo_control_frame_deactivate every time it is
	hidden.

	* folder-browser-factory.c (control_activate): build a toolbar.
	(control_deactivate): and hide it.

svn path=/trunk/; revision=2250
2000-03-30 00:22:56 +00:00
Chris Toshok bd46ea2926 quiet warnings when building in ../po
* mail-display.c: quiet warnings when building in ../po

svn path=/trunk/; revision=2204
2000-03-28 03:02:12 +00:00
Miguel de Icaza b91ef9d4eb Memory leak fix.
2000-03-26  Miguel de Icaza  <miguel@gnu.org>

	* folder-browser-factory.c (folder_browser_set_shell): Memory leak
	fix.

svn path=/trunk/; revision=2175
2000-03-27 03:27:49 +00:00
Dan Winship 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
Chris Lahey 58aa78c64b Updated .cvsignore files
svn path=/trunk/; revision=2151
2000-03-23 03:45:27 +00:00
Matthew Loper c8ca65e286 Minor cleanup & commenting.
* mail-display.c: Minor cleanup & commenting.

	* folder-browser-factory.c: Minor cleanup & warning elimination.

svn path=/trunk/; revision=2134
2000-03-21 17:43:42 +00:00
bertrand 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
Bertrand Guiheneuf 24c2b8d45b launch the good component
svn path=/trunk/; revision=2130
2000-03-21 13:22:05 +00:00
bertrand 975b6ef8bc Temporarily removed the calendar from the subdirs list. The compilation
03-21-2000 bertrand <bg@aful.org>

Temporarily removed the calendar from the subdirs list.
The compilation errors confuse people.

svn path=/trunk/; revision=2129
2000-03-21 08:54:06 +00:00
Christopher James Lahey 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
Elliot Lee 67bf862108 Fix for srcdir != builddir.
* calendar/cal-client/Makefile.am,
calendar/cal-util/Makefile.am, calendar/gui/Makefile.am,
calendar/pcs/Makefile.am, mail/Makefile.am,
widgets/e-text/Makefile.am: Fix for srcdir != builddir.

svn path=/trunk/; revision=2119
2000-03-17 21:12:14 +00:00
Dan Winship 20bac51868 First cut at a mail source selection wizard. Basically a rigged demo at
* mail-sources.c: First cut at a mail source selection wizard.
	Basically a rigged demo at this point. Doesn't use camel to get
	its information, and is not yet complete or integrated with the
	mail component. Did I mention that the code is ugly?

svn path=/trunk/; revision=2117
2000-03-14 18:23:12 +00:00
bertrand 2a3293368b i2000-03-13 bertrand <bertrand@helixcode.com>
* folder-browser-factory.c (folder_browser_set_shell):
	for testing and demonstration purpose, immediately
	register a fake service.

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

	* shell/e-shell.c (EShell_register_service):
	test implementation. Show the uri and the type
	of service that	has just been registered.


Test the registering mechanism. Actually seems to work well.

svn path=/trunk/; revision=2112
2000-03-13 06:53:48 +00:00
bertrand 470823e288 (get_view): added a parameter to have a reference to the EShellView.
2000-03-13  bertrand  <bertrand@helixcode.com>

	(get_view): added a parameter to have
	a reference to the EShellView.
	(get_view): In the case of the mail component
	use the Evolution_ServiceRepository to
	give the component a reference to the
	Shell server.

The Mail component now has a reference to the shell corba
server. It is gonna make it possible to register new services
in the shell.

svn path=/trunk/; revision=2111
2000-03-13 06:09:26 +00:00
bertrand 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
bertrand b21cd06a46 name change
2000-03-12  bertrand  <bertrand@helixcode.com>

	* shell/e-shell-view.c (get_view): name change

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

	* folder-browser-factory.c (folder_browser_factory_init):
	name change.

	* evolution-mail.gnorba:
	name changes

svn path=/trunk/; revision=2109
2000-03-13 01:56:12 +00:00
bertrand 4ec9945f05 added the get_e_folder_type function.
2000-03-12  bertrand  <bertrand@helixcode.com>

	* shell/e-folder.c (e_folder_get_folder_type): added the
	get_e_folder_type function.

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

	* folder-browser.h: added a reference to an
	Evolution::Shell object.

	* folder-browser-factory.c (folder_browser_set_shell):
	(folder_browser_control_add_service_repository_interface):
	(folder_browser_factory): the folder-browser control now
	implements the Evolution/ServiceRepository interface.

Sync for matt

svn path=/trunk/; revision=2108
2000-03-13 00:10:21 +00:00
bertrand 207a1395e1 plug mem leaks due to bad documentation of
2000-03-07  bertrand  <bertrand@helixcode.com>

	* camel-formatter.c (handle_mime_part):
	plug mem leaks due to bad documentation
	of camel_content_field_get_mime_type
	(print_camel_body_part): idem
	(handle_multipart_alternative): idem

	* gmime-content-field.c (gmime_content_field_get_mime_type):
	documentation fix.


	* camel-mime-part.c (my_finalize): unref the
	content_input_stream if any.

	* shell/e-shell-shortcut.c (shortcut_bar_item_selected):
	removed a test that prevented the standard menu
	to be shown.

svn path=/trunk/; revision=2089
2000-03-08 19:53:31 +00:00
bertrand 0bfae7d16b added a warning so that the user knows that this version may crash his
2000-03-07  bertrand  <bertrand@helixcode.com>

	* folder-browser-factory.c (development_warning):
	added a warning so that the user knows that this
	version may crash his mails.

svn path=/trunk/; revision=2078
2000-03-07 18:38:08 +00:00
Bertrand Guiheneuf c2a6758ac4 sync from laptop
svn path=/trunk/; revision=2077
2000-03-07 18:16:11 +00:00
Bertrand Guiheneuf 34ddede07c missing file
svn path=/trunk/; revision=2076
2000-03-06 18:57:33 +00:00
Bertrand Guiheneuf 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
Christopher James Lahey 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
Christopher James Lahey 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
Christopher James Lahey 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
Christopher James Lahey 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
Bertrand Guiheneuf 9610908b0e sync for debugging with chris
svn path=/trunk/; revision=2044
2000-03-04 18:59:04 +00:00
Christopher James Lahey 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
Christopher James Lahey 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
Ettore Perazzoli 799d7f54fd Various building fixes. At least, now it builds for me.
svn path=/trunk/; revision=2007
2000-03-02 00:09:45 +00:00
Michael Zucci ce16b05aed Fixed references to libutil.a -> libeutil.la
svn path=/trunk/; revision=1983
2000-02-28 18:54:40 +00:00
Christopher James Lahey 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
Dan Winship d83721f8b7 last set of changes for CamelFolder changes. Evolution builds again...
svn path=/trunk/; revision=1928
2000-02-25 00:03:17 +00:00
Christopher James Lahey 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
Matthew Loper 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
bertrand 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
Matthew Loper 2fd22353ba + * libical/Makefile.in: autogenerated file removed from cvs, and
+	added to .cvsignore.
+	* libical/src/Makefile.in: same.
+	* libical/src/libical/Makefile.in: same.
+	* libical/src/libicalss/Makefile.in: same.
+
+	* mail/Makefile.am: added -lunicode to evolution_mail_LDADD.

svn path=/trunk/; revision=1894
2000-02-22 00:18:35 +00:00
Dan Winship 8ea1212d99 Add "authenticator" to CamelSession and update things to use it.
svn path=/trunk/; revision=1890
2000-02-21 19:56:49 +00:00
Dan Winship 0eff8e4321 update for CamelSession changes
svn path=/trunk/; revision=1889
2000-02-21 18:39:21 +00:00
Matthew Loper 7b725d20a3 + * widgets/e-minicard/.cvsignore: Added minicard-label-test,
+	minicard-test, and reflow-test.
+
+	* shell/.cvsignore: added files autogenerated from Evolution.idl.
+
+	* libversit/.cvsignore: Added .libs, vcc.c, vcc.lo, vobject.lo,
+	vcaltmp.lo, libversit.la
+
+	* libical/src/test/.cvsignore: New file.
+
+	* libical/src/libical/.cvsignore: New file.
+
+	* libical/src/libicalss/.cvsignore: New file.
+
+	* libical/.cvsignore: New file, with config.log in it.
+
+	* calendar/.cvsignore: Added tlacuache and tl-test.
+
+	* libibex/.cvsignore: added lookup.
+
+	* mail/.cvsignore: added test-mail.

svn path=/trunk/; revision=1859
2000-02-19 21:28:47 +00:00
Dan Winship 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
Miguel de Icaza 1b5c5de151 Further Makefile.am fixage -miguel
svn path=/trunk/; revision=1846
2000-02-19 00:35:14 +00:00
Dan Winship a646fdac36 update for bonobo changes
svn path=/trunk/; revision=1819
2000-02-17 04:23:51 +00:00
Arturo Espinosa f8f771b3f3 Add session.c
svn path=/trunk/; revision=1800
2000-02-16 19:57:02 +00:00
Arturo Espinosa 8400162c31 Add session.h
svn path=/trunk/; revision=1799
2000-02-16 19:34:17 +00:00
Miguel de Icaza 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
Matthew Loper 204e08f870 + * tests/ui-tests/message-browser.c (handle_tree_item): Expand tree
+	items.
+	(mime_message_to_html): New function; translates a
+	CamelMimeMessage into two strings (one for the header, and one for
+	the body).
+	(get_gtk_html_window): New function; fills out a window with
+	html. The html is taken from a processed rfc822 file, via a
+	CamelFormatter.
+
+	* camel/camel-formatter.c: Added assertions.
+	(handle_text_html): Don't call text_to_html on something that's
+	already html.
+	(multipart_foreach): function deleted.
+
+	* mail/html-stream.c (html_stream_new): Second param of
+       gtk_html_begin should be "", not NULL.
+	(html_stream_new): gtk_html_parse() is deprecated, so the call was
+	removed.

svn path=/trunk/; revision=1766
2000-02-14 00:27:01 +00:00
Matthew Loper 7dbc45ac3e HTMLStreamClass's parent changed to CamelStreamClass, not CamelStream.
* mail/html-stream.h: HTMLStreamClass's parent changed to
	CamelStreamClass, not CamelStream.

	* tests/ui-tests/message-browser.c: Added preliminary support for
	the viewing of messages via gtkhtml. Lots of commenting.

svn path=/trunk/; revision=1765
2000-02-13 21:49:15 +00:00
Christopher James Lahey 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
Miguel de Icaza a7faa87cb5 Display the summary. Abstractly
svn path=/trunk/; revision=1734
2000-02-11 12:20:54 +00:00