Commit Graph

7636 Commits

Author SHA1 Message Date
69dd62ddd0 Replace #include <gtk/gtk.h> Remove #include <gnome.h> Replace #include
2001-03-29  Kjartan Maraas  <kmaraas@gnome.org>

	* e-dropdown-button.c: Replace #include <gtk/gtk.h>
	* e-dropdown-button.h: Remove #include <gnome.h>
	* e-filter-bar.c: Replace #include <gtk/gtk.h>
	* e-filter-bar.h: Replace #include <gtk/gtk.h>
	* e-messagebox.c: Add #includes to count for removed <gnome.h> in
	e-messagebox.h:
	* e-messagebox.h: Replace #include <gnome.h>
	* e-search-bar.c: Replace #include <gnome.h>
	* e-search-bar.h: Same here
	* test-calendar.c: Remove #include <gnome.h>
	* test-dateedit.c: Replace #include <gnome.h>
	* test-dropdown-button.c: Same here.
	* test-title-bar.c: Same here.

svn path=/trunk/; revision=9018
2001-03-29 18:16:57 +00:00
c72573f31b #ifdef HAVE_CONFIG_H Same here. Same here. And here.
2001-03-29  Kjartan Maraas  <kmaraas@gnome.org>

	* e-meeting-time-sel-item.c: #ifdef HAVE_CONFIG_H
	* e-meeting-time-sel-list-item.c: Same here.
	* e-meeting-time-sel.c: Same here.
	* test-meeting-time-sel.c: And here.

svn path=/trunk/; revision=9017
2001-03-29 18:11:54 +00:00
6d9167de80 Remove #include <glib.h> Shuffle some headers. Remove #include
2001-03-29  Kjartan Maraas  <kmaraas@gnome.org>

	* e-corba-utils.h: Remove #include <glib.h>
	* e-dialog-widgets.c: Shuffle some headers.
	* e-dialog-widgets.h: Remove #include <libgnomeui/gnome-propertybox.h>
	* e-gtk-utils.c: #include <gtk/gtksignal.h>
	* e-gtk-utils.h: Replace #include <gtk/gtk.h>
	* e-gui-utils.c: Replace #include <gnome.h>
	* e-html-utils.c: Shuffle headers.
	* e-iterator.c: Replace #include <gtk/gtk.h>
	* e-iterator.h: Replace #include <gtk/gtk.h>
	* e-list-iterator.c: Remove #include <gtk/gtk.h>
	* e-list-iterator.h: Replace #include <gtk/gtk.h>
	* e-list.c: Remove #include <gtk/gtk.h>
	* e-list.h: Replace #include <gtk/gtk.h>
	* e-memory.c: #include <string.h> and <stdlib.h>
	* e-msgport.c: Move around some includes. s/%d/%ld/g in a printf()
	call to fix a warning.
	* e-pilot-map.c: #include <string.h>. Replace #include <gnome.h>
	* e-pilot-util.c: Remove #include <gnome.h>
	* e-sexp.c: Remove #include <glib.h>
	* e-sexp.h: Replace #include <gtk/gtk.h>
	* e-time-utils.c: #include <string.h>
	* md5-utils.c: Shuffle headers.
	* test-ename-western-gtk.c: Replace #include <gnome.h>
	* test-ename-western.c: Same here.

svn path=/trunk/; revision=9016
2001-03-29 18:07:13 +00:00
93bd928590 Update call to camel_url_to_string. (Don't include the params in the
* session.c (auth_callback): Update call to camel_url_to_string.
	(Don't include the params in the password hash table key.)

	* mail-config.c (mail_config_folder_to_cachename): Call
	camel_url_to_string with HIDE_PASSWORD and HIDE_PARAMS so that
	changing URL params doesn't change the cachename.

	* mail-ops.c (add_vtrash_info):
	* mail-local.c (reconfigure_folder_reconfigure):
	* mail-account-gui.c (save_service): Update calls to
	camel_url_to_string.

svn path=/trunk/; revision=9015
2001-03-29 17:36:49 +00:00
bd52985962 change "gboolean show_passwd" to "guint32 flags".
* camel-url.c (camel_url_to_string): change "gboolean show_passwd"
	to "guint32 flags".

	* tests/misc/url.c (main): Update calls to camel_url_to_string

	* providers/imap/camel-imap-store.c (construct): Call
	camel_url_to_string with flags to hide password, authtype, and
	params to create the base_url.
	(etc): Update for the fact that the base_url no longer has the "/"
	at the end.

	* camel-service.c (construct): Update calls to camel_url_to_string
	(pass CAMEL_URL_HIDE_PASSWORD)

svn path=/trunk/; revision=9014
2001-03-29 17:34:00 +00:00
feaa9ddc81 Engine for live queries to calendars. A query object watches a CalBackend
2001-03-29  Federico Mena Quintero  <federico@ximian.com>

	Engine for live queries to calendars.  A query object watches a
	CalBackend in the PCS and is otherwise completely separate from
	it; backends need to do nothing to support live queries.  Right
	now we have the following functions:

		(get-vtype)

			Returns a string indicating the type of component
			(VEVENT, VTODO, VJOURNAL, VFREEBUSY, VTIMEZONE,
			UNKNOWN).

		(occur-in-time-range? START END)

			START - int, time_t start of the time range
			END - int, time_t end of the time range

			Returns a boolean indicating whether the component
			has any occurrences in the specified time range.

	* idl/evolution-calendar.idl (Cal::getQuery): New method that
	initiates a live query.
	(Query): New interface for a handle to a live query.
	(QueryListener): New interface for a listener to changes in a live
	query.

	* pcs/query.[ch]: New files with the live query engine.

	* pcs/cal-backend.h (CalBackendClass): Added notification signals
	so that the query system can catch them.
	(CalBackendClass): New virtual method ::get_load_state().

	* pcs/cal-backend.c (cal_backend_opened):
	(cal_backend_obj_updated):
	(cal_backend_obj_updated): New functions to emit the notification
	signals; to be used only by backend implementations.
	(cal_backend_get_load_state): New function.

	* pcs/cal-backend-file.c (notify_update): Call
	cal_backend_obj_updated().
	(notify_remove): Call call_backend_obj_removed().
	(open_cal): Free the icalcomp if it is not of the correct type.
	(cal_backend_file_get_load_state): Implemented new method.

	* pcs/cal-backend-db.c (cal_backend_db_update_object): Call
	cal_backend_obj_updated().
	(cal_backend_db_remove_object): Call cal_backend_obj_removed().
	(cal_backend_db_get_load_state): Implemented new method.

	* pcs/cal.c (Cal_get_query): Implementation of the ::getQuery()
	method.

svn path=/trunk/; revision=9013
2001-03-29 16:51:38 +00:00
1548cfd259 Updated Finnish translation
svn path=/trunk/; revision=9012
2001-03-29 11:41:49 +00:00
bd2b086447 Updated Spanish translation.
svn path=/trunk/; revision=9011
2001-03-29 10:13:37 +00:00
83bc2a4904 Move the 'hide deleted' to the option list under the view menu.
2001-03-29  Not Zed  <NotZed@Ximian.com>

        * evolution-mail.xml: Move the 'hide deleted' to the option list
        under the view menu.

svn path=/trunk/; revision=9010
2001-03-29 05:34:56 +00:00
1ff6054e5e Create a vtrash folder, not a vee folder.
2001-03-29  Not Zed  <NotZed@Ximian.com>

        * mail-local.c (init_trash): Create a vtrash folder, not a vee folder.

        * folder-browser-factory.c (control_activate): Hook in the hide
        deleted thingy.
        Removed MessageHideDeleted menu stuff.

        * message-list.c (message_list_set_hidedeleted): New function, to
        set if we should hide deleted messages automatically/always.
        (regen_list_regen): If we have hide deleted messages turned on,
        then hide them.
        (main_message_changed): Promote to a folder_changed event with a
        change list, folder_changed has the optimisations to handle this
        appropriately.
        (main_folder_changed): IF we get changes events for
        deleted/undeleted stuff, change to added/removed events, rebuild
        if necessary.
        (message_list_set_folder): Setup the default hidedeleted state to
        be to hide everything unless it is in a vtrash folder.

svn path=/trunk/; revision=9009
2001-03-29 05:34:26 +00:00
bf26d96809 New class for PGP encrypting, decrypting, signing and verifying. Next I'll
2001-03-28  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-pgp-context.[c,h]: New class for PGP encrypting,
	decrypting, signing and verifying. Next I'll be moving the
	contents of mail/mail-crypto into Camel. These files will
	basically replace mail/openpgp-utils.[c,h].

svn path=/trunk/; revision=9008
2001-03-29 04:53:26 +00:00
22d404e40b Optimise the match "" case, just match everything in the folder (if we
2001-03-29  Not Zed  <NotZed@Ximian.com>

        * camel-folder-search.c (search_body_contains): Optimise the match
        "" case, just match everything in the folder (if we have it).

svn path=/trunk/; revision=9007
2001-03-29 04:04:09 +00:00
1b6fe39a3c (vee_expunge): Oops, call the class sync, not superclass sync.
svn path=/trunk/; revision=9006
2001-03-29 02:10:03 +00:00
a517be1231 Use g_strcasecmp()' instead of strcasecmp()', just to be anal about
portability.

svn path=/trunk/; revision=9005
2001-03-29 02:08:40 +00:00
90f1194b43 Access the folder directly from the message info.
2001-03-29  Not Zed  <NotZed@Ximian.com>

	* camel-vtrash-folder.c (vtrash_move_messages_to): Access the
	folder directly from the message info.
	(vtrash_move_messages_to): I think we also need to call the real
	move_messages_to, and not try and bypass the lock, since we dont
	have the lock for that folder.

	* camel-vee-folder.h: Move CamelVeeMessageInfo to public, so
	subclasses can get to it.

	* camel-vee-folder.c (camel_vee_folder_add_folder): Dont let you
	add a vfolder to itself.
	(folder_changed):
	(vee_folder_remove_folder):
	(vee_folder_build_folder): Copy changes before triggering changed
	events, so we can do them outside of locks.
	(camel_vee_folder_get_message_folder): Removed function.
	(camel_vee_folder_hash_folder): Made public (renamed from
	hash_folder), simply for subclasses (probably not needed).

svn path=/trunk/; revision=9004
2001-03-29 02:03:06 +00:00
f4f6f8ceb5 Don't print the xml tree here.
2001-03-28  Christopher James Lahey  <clahey@ximian.com>

	* menus/gal-view-menus.c (build_menus): Don't print the xml tree
	here.

svn path=/trunk/; revision=9003
2001-03-28 23:57:26 +00:00
74292600ef Use strcasecmp instead of strcmp.
2001-03-28  Christopher James Lahey  <clahey@ximian.com>

	* e-storage-set-view.c (storage_sort_callback,
	folder_sort_callback): Use strcasecmp instead of strcmp.

svn path=/trunk/; revision=9002
2001-03-28 23:57:01 +00:00
d6e6a8d2cc Fixed some crashes.
2001-03-28  Christopher James Lahey  <clahey@ximian.com>

	* backend/ebook/e-card.c (e_card_set_arg): Fixed some crashes.

svn path=/trunk/; revision=9001
2001-03-28 23:49:48 +00:00
954405749b Use E_CARD_SIMPLE_FIELD_NAME_OR_ORG instead of getting the NAME and then
2001-03-28  Christopher James Lahey  <clahey@ximian.com>

	* gui/component/select-names/e-select-names-table-model.c
	(fill_in_info): Use E_CARD_SIMPLE_FIELD_NAME_OR_ORG instead of
	getting the NAME and then the ORG.  That way if we expand
	NAME_OR_ORG, this will use it.

	* gui/component/select-names/e-select-names.c
	(e_addressbook_create_ebook_table, SPEC): Use the correct column
	in the SPEC.

svn path=/trunk/; revision=9000
2001-03-28 23:37:46 +00:00
a9819dd335 oops libunicode isn't quite dead yet
svn path=/trunk/; revision=8999
2001-03-28 22:39:52 +00:00
838ab4dc66 Sigh. Use the right variable, idiot. And fix a crash bug that
happened when doing dnd in the folder tree.

svn path=/trunk/; revision=8998
2001-03-28 22:31:07 +00:00
e3ac0bad97 add a bit mentioning that if configure claims you don't have something
* README: add a bit mentioning that if configure claims you don't
	have something installed when you think you do, that it's probably
	because you installed it in the wrong prefix, or because you need
	a -devel package.

	* configure.in: Add a new macro EVO_CHECK_LIB that checks for a
	gnome-config-based library of a given version or later, correctly,
	and if doesn't find it, suggests that you consult the README. Fix
	the various library checks to use this. Meanwhile, remove a bunch
	of old cruft and reorganize a little.

	* acconfig.h: Remove cruft

svn path=/trunk/; revision=8997
2001-03-28 22:15:35 +00:00
ab52415b1b Move the gtk_toggle_button_set_active outside the if.
2001-03-28  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (setup_service): Move the
	gtk_toggle_button_set_active outside the if.

svn path=/trunk/; revision=8996
2001-03-28 19:42:46 +00:00
0514e2ccac A mockup of how meeting scheduling and editting should work. This design is basically outlookish.
svn path=/trunk/; revision=8995
2001-03-28 18:54:26 +00:00
00359f7937 Screenshot of Damon's meeting-scheduling widget, used in my mockup of the meeting editor
svn path=/trunk/; revision=8994
2001-03-28 18:53:05 +00:00
f36c2ed2c4 Updated Slovenian translation
svn path=/trunk/; revision=8993
2001-03-28 17:53:45 +00:00
4eef2ce98d Use the drafts folder specified by the account, if possible. Also, fix the
* e-msg-composer.c (save_draft): Use the drafts folder specified
	by the account, if possible. Also, fix the setting of "send_html"
	after saving the draft in case the user plans to keep editting...

svn path=/trunk/; revision=8992
2001-03-28 17:48:08 +00:00
b38a35a518 Set up the sent/drafts folder buttons. (folder_picker_clicked): Pop up the
* mail-account-gui.c (mail_account_gui_new): Set up the
	sent/drafts folder buttons.
	(folder_picker_clicked): Pop up the folder selector when sent or
	drafts is clicked.
	(mail_account_gui_save): Save the sent/drafts folders.

	* mail-config.c (account_copy): copy sent/drafts info
	(config_read): read sent/drafts info
	(mail_config_write): write sent/drafts info

	* mail-callbacks.c (composer_send_cb, composer_postpone_cb):
	split out some common code here (and fix inconsistencies). Always
	set headers on the message giving the account name, transport,
	and sent folder to use.

	* mail-ops.c (mail_send_message): If the message has an
	X-Evolution-Account header, use the transport/sent folder info for
	that account (assuming it still exists). Otherwise, if it has
	X-Evolution-Transport and/or X-Evolution-Fcc, use those. If not,
	use the default transport and sent folder.
	FIXME: Falls back silently to the default sent folder if it can't
	open the account-specific one...
	(send_queue_send): remove the X-Evolution-Transport, etc
	processing here, as it gets done by mail_send_message now.
	FIXME: We only sync the default sent folder.

	* component-factory.c (owner_set_cb): While setting up the
	standard folders, also record their URIs.

svn path=/trunk/; revision=8991
2001-03-28 17:48:07 +00:00
34ea302039 Change "mark as read" to be C-k instead of C-q, which is a standard
GNOME binding for "quit".

svn path=/trunk/; revision=8990
2001-03-28 17:23:05 +00:00
51ef717794 In a fit of egomania, added myself to the authors array.
2001-03-28  Jon Trowbridge  <trow@gnu.org>

        * e-shell-view-menu.c: In a fit of egomania, added myself to the
        authors array.

svn path=/trunk/; revision=8989
2001-03-28 07:06:04 +00:00
17e6b9ce17 In a burst of egomania, added myself.
2001-03-28  Jon Trowbridge  <trow@ximian.com>

        * AUTHORS: In a burst of egomania, added myself.

svn path=/trunk/; revision=8988
2001-03-28 06:59:57 +00:00
60e3214780 New class implementing a tree model. Not finished yet or in use, but I
2001-03-27  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-selection-model.c, e-tree-selection-model.h: New class
	implementing a tree model.  Not finished yet or in use, but I
	wanted to get it checked in.

svn path=/trunk/; revision=8987
2001-03-28 02:50:25 +00:00
505f6c235b Add the port (if user defined) to the path to fix bug #1996.
2001-03-27  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-service.c (get_path): Add the port (if user defined) to
	the path to fix bug #1996.

	Danw: I'm iffy on the "fix" so I'd like you to comment.

svn path=/trunk/; revision=8986
2001-03-28 02:19:05 +00:00
7b12839018 If we aren't going to even check the resp/free buffer that gets returned
2001-03-27  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/pop3/camel-pop3-folder.c (pop3_sync): If we aren't
	going to even check the resp/free buffer that gets returned from
	camel_pop3_command, don't even bother using it. Send in NULL
	instead.
	(pop3_get_message): Check to make sure that the `result' string is
	non-NULL. It's possible that some POP servers may return with
	"+OK\r\n<message>..." rather than the expected
	"+OK ### octets\r\n<message>..."

svn path=/trunk/; revision=8985
2001-03-27 23:12:46 +00:00
de1dd89f6c Lets do some NULL checking here. First, make sure the gsrc isn't NULL and
2001-03-27  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-editor.c (switch_page): Lets do some NULL checking
	here. First, make sure the gsrc isn't NULL and also make sure that
	account->source isn't NULL either.

	* mail-account-gui.c (mail_account_gui_setup): If there isn't a
	source_proto, make sure we select "None" as the source type.

svn path=/trunk/; revision=8984
2001-03-27 22:41:01 +00:00
f449bc01e8 fixed button placement to comply with gnome standards.
001-03-27 Anna Marie Dirks <anna@ximian.com>
	* gui/e-itip-control.c: fixed button placement to comply
	with gnome standards.

svn path=/trunk/; revision=8983
2001-03-27 20:41:56 +00:00
385e0d6441 set the FormatHTML property on the editor to let it know the mode.
2001-03-27  Larry Ewing  <lewing@ximian.com>

	* e-msg-composer.c (e_msg_composer_set_send_html): set the
	FormatHTML property on the editor to let it know the mode.
	(e_msg_composer_construct): set the FormatHTML property at
	construct time.

svn path=/trunk/; revision=8982
2001-03-27 18:10:19 +00:00
f48fac46be fixed spacing and label alignment to comply with gnome standards. Also
2001-03-27 Anna Marie Dirks <anna@ximian.com>
	* gui/e-itip-control.glade: fixed spacing and label alignment to
	comply with gnome standards. Also removed shadows from extraneous
	scrolled windows to avoid bevelitous. There are many more changes
	that need to happen to this viewer, but they all require a hacker
	to do some c-coding, so I will avoid committing them until after the
	.10 release.

svn path=/trunk/; revision=8981
2001-03-27 17:50:01 +00:00
5bc0caf53b set the initial druid button state after doing the mail_account_gui_setup,
* mail-config-druid.c (construct): set the initial druid button
	state after doing the mail_account_gui_setup, since that may
	invoke signal handlers that will change it.

svn path=/trunk/; revision=8980
2001-03-27 17:03:48 +00:00
6c227e5127 (save_service): Don't look at authtype if the widget is
insensitive. (Fixes the "smtp://;auth=PLAINservername" bug.)

svn path=/trunk/; revision=8979
2001-03-27 16:29:54 +00:00
fdb5b0e470 we can now resolve to storages and streams.
2001-03-27  Dietmar Maurer  <dietmar@ximian.com>

	* wombat-moniker.c (wombat_moniker_resolve): we can now resolve to
	storages and streams.

svn path=/trunk/; revision=8978
2001-03-27 15:12:49 +00:00
dbd459b5e1 Fill in signature and organization too. (mail_account_gui_save): Preserve
* mail-account-gui.c (mail_account_gui_new): Fill in signature and
	organization too.
	(mail_account_gui_save): Preserve the "enabled" flag on the source.

svn path=/trunk/; revision=8977
2001-03-27 15:01:17 +00:00
31df1c2d55 Use gnome-dialog-close instead of object_unref, for some reason it doesn't
2001-03-27  Not Zed  <NotZed@Ximian.com>

        * mail-send-recv.c (receive_done): Use gnome-dialog-close instead
        of object_unref, for some reason it doesn't like being unref'd
        with a refcount of 1, _who knows_.  Gets rid of that refcount
        warning on get mail.

svn path=/trunk/; revision=8976
2001-03-27 12:52:31 +00:00
f964f65b79 Unref the html filter when done. (summary_build_content_info): Disable
2001-03-27  Not Zed  <NotZed@Ximian.com>

        * camel-folder-summary.c (camel_folder_summary_finalize): Unref
        the html filter when done.
        (summary_build_content_info): Disable using the html parser to
        help index html mails until it gets sorted out.

svn path=/trunk/; revision=8975
2001-03-27 12:48:13 +00:00
ad24594478 set the FormatHTML property on the editor to let it know the mode.
2001-03-27  Larry Ewing  <lewing@ximian.com>

	* e-msg-composer.c (e_msg_composer_set_send_html): set the
	FormatHTML property on the editor to let it know the mode.

svn path=/trunk/; revision=8974
2001-03-27 10:37:07 +00:00
0fc9632e42 Fix a cut n paste bug, we want uid_removed not uid_changed deref, fixes
2001-03-27  Not Zed  <NotZed@Ximian.com>

	* camel-vee-folder.c (folder_changed): Fix a cut n paste bug, we
	want uid_removed not uid_changed deref, fixes bug #1999.

svn path=/trunk/; revision=8973
2001-03-27 10:10:16 +00:00
0a12cd8b6b add an argument to say whether or not you want "PLAIN" in the list (so you
* camel-sasl.c (camel_sasl_authtype_list): add an argument to say
	whether or not you want "PLAIN" in the list (so you don't end up
	with "Password" twice in the config dialog).

	* providers/imap/camel-imap-provider.c (camel_provider_module_init):
	* providers/imap/camel-imap-store.c (query_auth_types): We don't
	want PLAIN.

	* providers/smtp/camel-smtp-provider.c (camel_provider_module_init):
	* providers/smtp/camel-smtp-transport.c (query_auth_types): But we
	do.

svn path=/trunk/; revision=8972
2001-03-27 05:30:41 +00:00
6dd8aabeee Probably the very last new config dialog ever. (Ha ha). From Anna, based
* mail-config.glade: Probably the very last new config dialog
	ever. (Ha ha). From Anna, based on a story by me.

	* mail-account-gui.c: New code for the new mail-config.glade. This
	abstracts out all of the common code between the account editor
	and the druid. It also handles the spiffy new provider-specific
	config stuff.

	FIXME: The code to check if a service is ok or not is no longer
	there... waiting until the online/offline stuff from the shell
	appears.

	* mail-account-editor.c, mail-config-druid.c: These are much
	smaller now, since most of the interesting bits moved to
	mail-account-gui.c

	* mail-accounts.c: Add an enabled/disabled column/button to
	replace the checkbox that used to be in the editor, because it
	really makes more sense to have it out here. This looks ugly.
	Probably ought to ETable it...
	(load_accounts): Fill in the enabled column.
	(mail_select, mail_unselect): toggle the sensitivity and name of
	the Enable/Disable button appropriately
	(mail_able): Handle the enable/disable button.

	* mail-config.c: Remove reply-to from MailConfigIdentity since it
	didn't belong there (and wasn't being saved anyway).
	(mail_config_check_service): Simplify this a bit. This really
	needs to pop up a dialog with a "connecting..." message and a
	cancel button.

svn path=/trunk/; revision=8971
2001-03-27 05:23:27 +00:00
0b8af6dc0a Kludge, copied+modified from mail_config_folder_to_cachename to deal with
* mail-ops.c (uid_cachename_hack): Kludge, copied+modified from
	mail_config_folder_to_cachename to deal with the different
	behavior of the URL code now. Will go away when the keep-on-server
	code moves.
	(get_folderinfo_get): Only pass "subscribed_only" to
	camel_store_get_folder_info if the store supports subscriptions...

svn path=/trunk/; revision=8970
2001-03-27 05:23:12 +00:00
3843c54388 Update this to reflect the CamelProvider structure change
* mail-local.c (local_provider): Update this to reflect the
	CamelProvider structure change

svn path=/trunk/; revision=8969
2001-03-27 05:23:00 +00:00