Commit Graph

143 Commits

Author SHA1 Message Date
5b887fe6dc vfolder gui! So you can define them,k they show up in the list (well,
after a restart), but they always come up empty - doesn't search any
folders yet.

2000-05-27  Not Zed  <NotZed@HelixCode.com>

        * Makefile.am (SHELL_OBJS): Include mail storage so we can
        initialise folders.

        * component-factory.c (create_test_storage): Parses vfolder
        defintions and adds them to the storage.  Definetly needs more
        work.

        * folder-browser-factory.c (control_activate): Add the VFolder
        druid menu item.
        (control_deactivate): And remove it.

        * mail-ops.c (vfolder_editor_clicked): For editing vfolder
        definitions (rather like filters, oddly enough :).  Tries to
        update the shell but it doesn't seem to work properly - requires a
        mail component restart to take effect.

        * folder-browser.c (folder_browser_load_folder): Handle vfolder:
        urls' appropriately and map to camel.  Still needs a way to tell
        the vfolder what folders to search! (all vfolders come up empty!).

svn path=/trunk/; revision=3241
2000-05-28 06:18:11 +00:00
bb241192eb Reorganized the shell to allow dynamic registration of storages and
folder types, and changed all the components to work with the new
setup.

svn path=/trunk/; revision=3199
2000-05-25 05:55:59 +00:00
d00e525efc Get rid of the old `evolution-service-repository' cruft and start
implementing new CORBA storage interfaces for the shell.

svn path=/trunk/; revision=3178
2000-05-23 10:15:30 +00:00
60f4552ab7 move the development_warning from mail to shell so you don't get the
nasty partially drawn shortcut bar at startup, and so you only have to
see it once, regardless of how many mail folders you have

svn path=/trunk/; revision=3129
2000-05-19 02:49:21 +00:00
464b02c847 New menu to bring up the filter editor, and edit filters. They dont
get invoked yet though.

2000-05-16  NotZed  <NotZed@HelixCode.com>

        * mail-ops.c (filter_edit): Function to bring up the filter editor.
        (filter_druid_clicked): Save/close dialogue.

        * Makefile.am (evolution_mail_LDADD): Added libfilter.
        (INCLUDES): Add EVOLUTION_DATADIR, and fix matt's brokeneditor(tm)
        for putting spaces instead of tabs in.

svn path=/trunk/; revision=3099
2000-05-16 23:09:26 +00:00
dd6468c299 make the toolbars detachable now that we require a new enough version
of gnome-libs to avoid the bonobo-toolbar-detaching bug

svn path=/trunk/; revision=2997
2000-05-11 21:26:09 +00:00
76715cfdda Left-justify the message.
2000-05-11  Federico Mena Quintero  <federico@helixcode.com>

	* folder-browser-factory.c (development_warning): Left-justify the
	message.

svn path=/trunk/; revision=2990
2000-05-11 19:01:17 +00:00
cb0faab99b Fix compilation error.
svn path=/trunk/; revision=2984
2000-05-10 22:19:02 +00:00
c60ff58d80 Made this dialog have fewer buttons.
2000-05-10  Christopher James Lahey  <clahey@helixcode.com>

	* folder-browser-factory.c (development_warning): Made this dialog
	have fewer buttons.

svn path=/trunk/; revision=2983
2000-05-10 22:16:44 +00:00
9542a34618 New development warning text from Nat.
2000-05-10  Christopher James Lahey  <clahey@helixcode.com>

	* folder-browser-factory.c (development_warning): New development
	warning text from Nat.

svn path=/trunk/; revision=2982
2000-05-10 21:44:42 +00:00
f150fa0b16 + * calendar/pcs/cal-backend.c (cal_backend_add_cal): Return nothing
+	for a 'void' function.
+	* folder-browser-factory.c (control_activate): Remove "File->mail"
+	menuitem.
+	* e-shell-view-menu.c (command_run_bugbuddy): New function; allows
+	users to submit a bug.

svn path=/trunk/; revision=2948
2000-05-09 16:46:59 +00:00
994667f2fe Changed a toolbar button from saying "New mail" (which suggests you might
* folder-browser-factory.c: Changed a toolbar button from saying
	"New mail" (which suggests you might be composing new mail) to
	"Get mail".

svn path=/trunk/; revision=2880
2000-05-07 20:49:15 +00:00
5883763060 Don't hardcode "inbox" here.
* folder-browser-factory.c (folder_browser_factory): Don't
	hardcode "inbox" here.

	* folder-browser.c (folder_browser_set_uri): Don't hardcode
	"inbox" here either.
	(folder_browser_load_folder): Create a new store according to the
	folder browser's URI, and load the mbox file from that store.
	Parts of this are temporary.

	* session.c, mail.h: There is no longer a global store, just a
	global session.

	* mail-config.c, mail-ops.c: Update for default_session -> session
	change. fetch_mail is currently broken.

svn path=/trunk/; revision=2853
2000-05-07 03:15:22 +00:00
8fbd4ab4bd New code to configure identity, mail source, and mail transport.
* mail-config.c: New code to configure identity, mail source, and
	mail transport.
	(mail_config_druid): A druid using the config widgets. (Only
	allows configuration of a single identity, source, and transport.)

	* mail-ops.c (check_configured): New function to make sure the
	user has configured stuff, and call the	druid if not.
	(fetch_mail, send_msg, send_to_url, reply, forward_msg): Call
	check_configured
	(composer_send_cb): Make this pass the message to a CamelTransport
	rather than just printing it to stdout.

	* folder-browser-factory.c (development_warning): Add a warning
	about sending mail, since you can do that now.

svn path=/trunk/; revision=2842
2000-05-06 22:57:38 +00:00
2ef945c6e2 consolidate mail-format.h, mail-identify.h, mail-ops.h, main.h and
* mail.h: consolidate mail-format.h, mail-identify.h, mail-ops.h,
	main.h and session.h into this new file. There's no reason to have
	a .h for every .c.

svn path=/trunk/; revision=2830
2000-05-06 17:16:22 +00:00
0cb506a96a Ok, you can now delete and expunge messages ... not really pretty
(gui wise), but it works, after a fashion.

> 	* folder-browser-factory.c: Setup callback for actual delete op.
> 	(control_activate): Setup a tool menu item to expnge deleted
> 	messages.
>
> 	* mail-ops.c (delete_msg): Toggle the delete flag on a message.
> 	(expunge_folder): New function to expunge deleted messages from
> 	the current folder.

svn path=/trunk/; revision=2744
2000-05-02 03:00:56 +00:00
9483369aa0 Made Evolution OAF-compatible.
svn path=/trunk/; revision=2673
2000-04-28 04:23:19 +00:00
4c1c537e19 rename "send" to "send_msg", to avoid name clash with the tcp function.
* folder-browser-factory.c: rename "send" to "send_msg", to avoid
	name clash with the tcp function. Connect the "forward" button.

	* mail-ops.c: rename "send" to "send_msg", to avoid name clash
	with the tcp function. Add forward_msg function.

	* mail-format.c (mail_generate_forward): support function for
	forward_msg. Pretty much a big kludge right now, pending the
	attachment/attachment-bar changes.

svn path=/trunk/; revision=2562
2000-04-23 17:15:07 +00:00
f5ec554c15 move msg_composer_cb and msg_composer_send_cb to mail-ops. Attach send,
* folder-browser-factory.c: move msg_composer_cb and
	msg_composer_send_cb to mail-ops. Attach send, reply, and "reply
	to all" buttons.

	* mail-ops.c (composer_send_cb, send): moved from
	folder-browser-factory.c.
	(reply_to_sender, reply_to_all): new functions to do replies.

	* mail-format.c (text_to_html): Add an "add_pre" flag, to make
	it wrap the output in <pre></pre>.
	(mail_generate_reply): New function to create a composer and build
	a reply in it.

svn path=/trunk/; revision=2554
2000-04-22 18:07:14 +00:00
ff436c34dc use gnome_app_fill_toolbar_with_data, so we get the beautiful gnome
* folder-browser-factory.c (control_activate): use
	gnome_app_fill_toolbar_with_data, so we get the beautiful gnome
	toolbar.

svn path=/trunk/; revision=2427
2000-04-14 16:49:49 +00:00
da9fc39c3f Fix up the warning message a bit. (folder_browser_factory): Make the
* folder-browser-factory.c (development_warning): Fix up the
	warning message a bit.
	(folder_browser_factory): Make the warning bypassable.

svn path=/trunk/; revision=2425
2000-04-14 14:43:00 +00:00
59606c2849 + * folder-browser.c (folder_browser_destroy): Unref the shell
+	interface that we have a handle to.
+
+	* folder-browser-factory.c (control_destroy_cb): New function;
+	destroys a folder-browser when its control is destroyed.
+	(folder_browser_factory): Hook up to the above.
+
+	* e-shell-view.c (destroy_folder_view): New function;
+	Bonobo_Unknown_unref's the controls that have the views in them.
+	(esv_destroy): Calls the above for each folder_view in the
+	hashtable.
+	(get_view): unref the ServiceRepository interface of the control
+	when we're done with it.
+

svn path=/trunk/; revision=2333
2000-04-07 21:42:56 +00:00
2b55a1e90c new file, for toolbar/menu callbacks (fetch_mail): fetch mail. Doesn't do
* mail-ops.c: new file, for toolbar/menu callbacks
	(fetch_mail): fetch mail. Doesn't do mbox locking. Many kludges.

	* folder-browser-factory.c (control_activate): use new fetch_mail
	function as the callback for the "New mail" icon. Rename check_cb
	to random_cb.

	* Makefile.am: don't build test-sources since the version in
	CVS doesn't do much and once I've fixed it it won't be a separate
	program. Add mail-ops.[ch].

svn path=/trunk/; revision=2330
2000-04-07 20:07:32 +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
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
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
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
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
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
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
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
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
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
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
c2a6758ac4 sync from laptop
svn path=/trunk/; revision=2077
2000-03-07 18:16:11 +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
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
9610908b0e sync for debugging with chris
svn path=/trunk/; revision=2044
2000-03-04 18:59:04 +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
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
542fbe8d77 Work on the factoyr
svn path=/trunk/; revision=1651
2000-01-29 08:14:19 +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