Commit Graph

7536 Commits

Author SHA1 Message Date
2829dd55fd Made this only up the insert_count if it actually had to do any non
2001-03-23  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-sorted.c (reposition_path): Made this only up the
	insert_count if it actually had to do any non constant work to
	reposition the path.

svn path=/trunk/; revision=8918
2001-03-23 21:44:32 +00:00
320e990197 Ignore these signals if we aren't realized yet.
2001-03-23  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c (eti_cursor_change, eti_cursor_activated): Ignore
	these signals if we aren't realized yet.

svn path=/trunk/; revision=8917
2001-03-23 15:46:50 +00:00
4f26eac120 Added. Call me old-fashioned, but I just prefer to have a real API rather
2001-03-23  Jon Trowbridge  <trow@ximian.com>

        * gui/widgets/e-minicard-widget.c (e_minicard_widget_set_card):
        Added.  Call me old-fashioned, but I just prefer to have a real
        API rather than doing everything via gtk_object_get/set-type
        calls.
        (e_minicard_widget_set_arg): Changed to call
        e_minicard_widget_set_card.

        * backend/ebook/e-book-util.c: Small changes to get rid of
        compiler warnings.  (Casting out const, removed unused variables,
        etc.)  Removed some debugging messages.

        * gui/component/addressbook-factory.c (main): Added call
        to e_address_popup_factory_init.

        * gui/component/e-address-popup.c: Added.  A popup gadget that is
        invoked (as a bonobo control) when an address is left-clicked in
        the mailer.  The addressbook is queries, and the address is either
        displayed as a minicard (if it already exists) or in a "generic
        format".  A button is provided for editting/adding the contact.
        Some of the semantics of this widget are a bit... non-standard,
        because of bonobo issues.  I can't really seem to replicate
        popup-menu behavior because of how bonobo propogates events, etc.
        so I've tried to produce something that I think is non-annoying.
        YMMV.

2001-03-23  Jon Trowbridge  <trow@ximian.com>

        * mail-display.c (handle_embedded_address_object): #ifdef away
        some code I don't quite want to delete yet.
        (html_button_press_event): Remove some of Radek's placeholder
        code, replace it with code to create my AddressPopup bonobo
        control.

        * mail-format.c: Remove some obsolete code that if #ifdef-ed out
        a while ago.

        * mail-ops.c (send_queue_send): Strip out the X-Evolution-Identity
        header when sending.

2001-03-23  Jon Trowbridge  <trow@ximian.com>

        * camel-filter-driver.c (camel_filter_driver_filter_message):
        Don't call camel_mime_message_set_identity.  (The call is
        commented out, left over from some earlier experimentation that I
        want to be able to remember later...)

        * camel-mime-message.c (camel_mime_message_set_identity): Added.
        A function to set the X-Evolution-Identity header.

svn path=/trunk/; revision=8916
2001-03-23 09:39:37 +00:00
e4affa9382 Made this not create the new font until realize instead of at new_view
2001-03-23  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-text.c: Made this not create the new font until realize
	instead of at new_view time.

	* e-table-item.c: Don't request heights or do other things that
	you aren't allowed to do before realization unless you're
	realized.

svn path=/trunk/; revision=8915
2001-03-23 06:46:46 +00:00
9755d8bb70 Turned on BROKEN_ETREE.
2001-03-23  Christopher James Lahey  <clahey@ximian.com>

	* message-list.c: Turned on BROKEN_ETREE.

svn path=/trunk/; revision=8914
2001-03-23 06:37:38 +00:00
e8d6fc2756 Refactor ELocalStorage a bit so that it's easier to implement the
missing operations.

svn path=/trunk/; revision=8913
2001-03-23 05:07:40 +00:00
35c7cc9018 Fix some warnings, Allow the importers to import into any folder. Update
Fix some warnings,
Allow the importers to import into any folder.
Update all importers for this change.
Don't emit the create_folder callback if the folder to be created already exists.
This should fix the libibex crash when importing.

svn path=/trunk/; revision=8912
2001-03-23 02:09:29 +00:00
01e19198a8 update by ChiDeok, Hwang <hwang@mizi.co.kr>
svn path=/trunk/; revision=8911
2001-03-23 01:37:08 +00:00
93d35480d8 Oops, an unspecified date is '0', not -1.
2001-03-22  Jeffrey Stedfast  <fejj@ximian.com>

	* filter-datespec.c (validate): Oops, an unspecified date is '0',
	not -1.

svn path=/trunk/; revision=8910
2001-03-23 01:35:47 +00:00
f1dc83990b Validate the filter rule.
2001-03-22  Jeffrey Stedfast  <fejj@ximian.com>

	* e-filter-bar.c (rule_editor_clicked): Validate the filter rule.

svn path=/trunk/; revision=8909
2001-03-23 01:24:15 +00:00
639d835ec0 New callback to handle a double-click event in the account clist.
2001-03-22  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (mail_double_click): New callback to handle a
	double-click event in the account clist.
	(construct): Setup the double-click event for the account list.

svn path=/trunk/; revision=8908
2001-03-22 23:31:44 +00:00
bcfe4d37c2 (update_active): move to absolute coordinates
(html_button_press_event): ditto

svn path=/trunk/; revision=8907
2001-03-22 22:49:21 +00:00
621a72697a Change the From address to "The Evolution Team" <evolve@ximian.com> so
* local/Inbox/mbox: Change the From address to "The Evolution
	Team" <evolve@ximian.com> so that we get spammed instead of hello@

svn path=/trunk/; revision=8906
2001-03-22 22:38:22 +00:00
62af13a3be Don't look at untagged responses other than "* BYE"...
* providers/imap/camel-imap-command.c (imap_read_response): Don't
	look at untagged responses other than "* BYE"...
	(camel_imap_response_free): ...do it here instead...
	(camel_imap_response_free_without_processing): ...but not here.

	* providers/imap/camel-imap-folder.c (camel_imap_folder_selected):
	Remove the "EXISTS" line from the response so
	camel_imap_response_free won't try to process it.
	(camel_imap_folder_selected): If we get an EXISTS response mixed
	in with the FETCH responses, record the new EXISTS value.
	Use camel_imap_response_free_without_processing so that an EXISTS
	response won't cause a loop.
	(imap_rescan): Use camel_imap_response_free_without_processing.
	(imap_update_summary): Use
	camel_imap_response_free_without_processing. If an EXISTS response
	shows up, call imap_update_summary again to get the new messages.
	(imap_protocol_get_summary_specifier): Use BODY.PEEK[0], not
	RFC822.HEADER for prev IMAP4rev1, since the FETCH parser won't
	deal with RFC822.HEADER responses.

	* providers/imap/camel-imap-store.c (get_folder_info): Fix an
	uninitialized variable

svn path=/trunk/; revision=8905
2001-03-22 22:31:55 +00:00
f7827253de Leak plug: free the target list after starting the drag.
svn path=/trunk/; revision=8904
2001-03-22 21:56:01 +00:00
120830dbe4 Fix the signature of a callback for the `e_storage_set_async_create()'
call to match the changes in the API.

svn path=/trunk/; revision=8903
2001-03-22 21:30:06 +00:00
f03258745e (html_enter_notify_event): take care of enter event
(update_active): helper function, extracted from
	html_motion_notify_event

svn path=/trunk/; revision=8902
2001-03-22 20:37:34 +00:00
43e4eda38a Change \" to ' in translations for .oaf files, since various bugs conspire
* az.po: Change \" to ' in translations for .oaf files, since
	various bugs conspire to prevent double quotes from working there
	currently.

svn path=/trunk/; revision=8901
2001-03-22 20:34:36 +00:00
200a404bb4 (html_motion_notify_event): new handler, highlights addresses by
underline

svn path=/trunk/; revision=8900
2001-03-22 20:17:29 +00:00
65cb1664da Updated Japanese translation.
* ja.po: Updated Japanese translation.

svn path=/trunk/; revision=8899
2001-03-22 19:31:38 +00:00
81742b6677 Update xml-i18n-tools version
* README: Update xml-i18n-tools version

svn path=/trunk/; revision=8898
2001-03-22 18:00:51 +00:00
6770af9972 added simple debug g_print
svn path=/trunk/; revision=8897
2001-03-22 17:26:20 +00:00
ec189bd8f4 connect to button_press_event and iframe_created events of GtkHTML widget
2001-03-22  Radek Doulik  <rodo@ximian.com>

	* mail-display.c (mail_display_new): connect to button_press_event
	and iframe_created events of GtkHTML widget
	(html_button_press_event): new signal handler, runs popup on
	address fields and on links, later we should add popups for images
	and maybe some more? any ideas?
	(html_iframe_created): new signal handler, takes care of
	connecting to button_press_event of all iframes
	: plus bunch of empty methods for popup menu items - to be
	implemented

	* mail-format.c (write_address): revert back to raw HTML text,
	store name and email to Text objects, workaround gtkhtml tables
	bug (to be fixed soon ;-)

svn path=/trunk/; revision=8896
2001-03-22 17:00:42 +00:00
a2ae2d718b Changed the EStorageSet API to have a single `xfer()' method instead
of separate copy/move (as in the IDL).  Actually implement the
`xfer()' operation for the case when source and destination are in the
same storage.  Fix the `EStorageSet' API by having a special
`EStorageSetResultCallback' callback type for it (instead of using
`EStorageResultCallback', which would never work).

Also, removed some unused variables in `e-storage-set-view.c'.

svn path=/trunk/; revision=8895
2001-03-22 13:41:01 +00:00
03765ef0bb Added an xfer method to EStorage' and GNOME::Evolution::Storage'.
svn path=/trunk/; revision=8894
2001-03-22 12:47:16 +00:00
2282cef752 new menu icons
svn path=/trunk/; revision=8893
2001-03-22 12:28:40 +00:00
2252976cf4 fixing checkerboard
svn path=/trunk/; revision=8892
2001-03-22 11:22:30 +00:00
4c1d62039b small positioning fix
svn path=/trunk/; revision=8891
2001-03-22 11:18:19 +00:00
2df293b5c7 More DnD work. Now we handle copying and moving of folders, although
the hooks to actually make the physical operation happen are missing.

Also, fix a stupid cut & paste error in Chris' commit (and re-indent
the code a bit to make it match the surrounding style).

svn path=/trunk/; revision=8890
2001-03-22 10:41:44 +00:00
7aee2da177 Fixed the g_return_if_fail here to allow for appending.
2001-03-22  Christopher James Lahey  <clahey@ximian.com>

	* e-table-memory.c (e_table_memory_insert): Fixed the
	g_return_if_fail here to allow for appending.

svn path=/trunk/; revision=8889
2001-03-22 10:32:28 +00:00
65d31b5b24 Make `ETableSortInfo' non-floating and use _unref, not _destroy, to
get rid of the ETableSortInfo in ETableState's destroy method.

svn path=/trunk/; revision=8888
2001-03-22 10:31:14 +00:00
bbaba8e024 Fixed the parity on all the g_return_ifs and g_return_val_ifs.
2001-03-22  Christopher James Lahey  <clahey@ximian.com>

	* e-table-memory.c: Fixed the parity on all the g_return_ifs and
	g_return_val_ifs.

svn path=/trunk/; revision=8887
2001-03-22 10:02:29 +00:00
3307531519 Made this able to take -1 to denote appending to the table. Also, removed
2001-03-22  Christopher James Lahey  <clahey@ximian.com>

	* e-table-memory.c, e-table-memory.h (e_table_memory_insert): Made
	this able to take -1 to denote appending to the table.  Also,
	removed the node_ from the name of this function.
	(e_table_memory_remove): Removed the node_ from the name of this
	function.
	(e_table_memory_clear): New function which sets the table to
	empty.

svn path=/trunk/; revision=8886
2001-03-22 09:56:31 +00:00
46c32e77f9 Bumped gal requirement to 0.5.99.11.
2001-03-22  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped gal requirement to 0.5.99.11.

svn path=/trunk/; revision=8885
2001-03-22 09:39:10 +00:00
a52b65816a renaming icons to make Miguel's speedups possible
svn path=/trunk/; revision=8884
2001-03-22 09:15:30 +00:00
e549f119aa Changed get_save_id to just return a strdup of the path. (new_storage_cb,
2001-03-22  Christopher James Lahey  <clahey@ximian.com>

	* e-storage-set-view.c (etree_get_save_id): Changed get_save_id to
	just return a strdup of the path.
	(new_storage_cb, new_folder_cb, insert_folders, insert_storages):
	Call e_tree_memory_sort_node.

svn path=/trunk/; revision=8883
2001-03-22 08:10:13 +00:00
26d5ee2938 Changed this to derefence the pointers passed in from qsort as we should
2001-03-22  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-memory.c (sort_callback): Changed this to derefence the
	pointers passed in from qsort as we should instead of just casting
	them.
	(e_tree_memory_sort_node): Set the first_child and last_child of
	the node changed.

svn path=/trunk/; revision=8882
2001-03-22 08:06:30 +00:00
fd03473c71 New function to allow you to do non live sorts with weird rules.
2001-03-22  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-memory.c, e-tree-memory.h (e_tree_memory_sort_node): New
	function to allow you to do non live sorts with weird rules.

svn path=/trunk/; revision=8881
2001-03-22 06:56:15 +00:00
cda1baeb5b Don't fail at setting up all the toolbar icons if just one of the
icons cannot be loaded.

svn path=/trunk/; revision=8880
2001-03-22 06:07:31 +00:00
aedb33b3af Validate the rule before closing.
2001-03-21  Jeffrey Stedfast  <fejj@ximian.com>

	* rule-context.c (new_rule_clicked): Validate the rule before
	closing.

svn path=/trunk/; revision=8879
2001-03-22 00:14:29 +00:00
a517acfa39 Updated Spanish translation.
svn path=/trunk/; revision=8878
2001-03-21 22:48:12 +00:00
cacbb83e0d Require bison, not yacc (for vcc.y)
* configure.in: Require bison, not yacc (for vcc.y)

svn path=/trunk/; revision=8877
2001-03-21 22:46:22 +00:00
a48f0f6bf3 add wombat-moniker.h as a source so it gets disted
2001-03-21  JP Rosevear  <jpr@ximian.com>

	* Makefile.am: add wombat-moniker.h as a source so it gets disted

svn path=/trunk/; revision=8876
2001-03-21 22:38:28 +00:00
4773a02274 Updated Spanish translation.
svn path=/trunk/; revision=8875
2001-03-21 22:34:12 +00:00
fab34ab1b8 Fix a bug in (illegal) 0-part messages
* mail-format.c (handle_multipart_related): Fix a bug in (illegal)
	0-part messages

(the actual fix accidentally got into my last commit)

svn path=/trunk/; revision=8874
2001-03-21 22:21:52 +00:00
88bfa9d863 Use the new URL part macros
* mail-config-druid.c (incoming_check, incoming_type_changed,
	transport_check, transport_type_changed):
	* mail-account-editor.c (transport_type_changed, source_check):
	Use the new URL part macros

	* mail-config.c (check_service_check): Use provider authtype list
	if not connecting.

svn path=/trunk/; revision=8873
2001-03-21 22:20:56 +00:00
5d562c3d3d add a "GList *authtypes", so you can get the list of authtypes used by a
* camel-provider.h: (CamelProvider) add a "GList *authtypes", so
	you can get the list of authtypes used by a provider without
	needing to have an actual CamelService object handy. (Will be
	needed by the new config druid.)
	(CAMEL_PROVIDER_ALLOWS, CAMEL_PROVIDER_NEEDS): New macros to test
	the URL part stuff, since the way it works is too complicated and
	everyone always does it wrong.

	* camel-service.c (camel_service_query_auth_types): Remove the
	@connected arg again: if you don't want to connect, you can just
	get the list of authtypes off the provider.
	(camel_service_free_auth_types): Remove this. All existing
	implementations do authtypes the same way, so just say the caller
	should "g_list_free" the list. (Oh, look, removing this function
	doesn't actually cause the mailer to not build. How 'bout that.)
	(construct, get_path): Use the new URL part macros.

	* camel-remote-store.c (remote_query_auth_types): Update
	(remote_free_auth_types): Nuke
	(camel_remote_store_authtype_list): New function for use by
	subclasses.

	* providers/imap/camel-imap-provider.c:
	* providers/pop3/camel-pop3-provider.c:
	* providers/smtp/camel-smtp-provider.c: Update CamelProvider
	structures.
	(camel_provider_module_init): Put all the SSL parts together so
	there's only 1 #ifdef. Set up the provider authtypes field using
	the SASL, CamelRemoteStore, and standard authtypes, as
	appropriate. Copy that from the normal provider to the SSL
	provider.

	* providers/local/camel-local-provider.c:
	* providers/sendmail/camel-sendmail-provider.c:
	* camel-session.c: Update CamelProvider structures.

	* providers/imap/camel-imap-store.c (query_auth_types):
	* providers/pop3/camel-pop3-store.c (query_auth_types): Update

	* providers/smtp/camel-smtp-store.c (query_auth_types): Update.
	Remove the no_authtype, because that's what "ALLOW_AUTH" rather
	than "NEED_AUTH" means.
	(free_auth_types): Nuke.

svn path=/trunk/; revision=8872
2001-03-21 22:20:29 +00:00
0ec6ccc4df Return -1 on fail. (camel_filter_driver_filter_folder): Same.
2001-03-21  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-filter-driver.c (camel_filter_driver_filter_message):
	Return -1 on fail.
	(camel_filter_driver_filter_folder): Same.
	(camel_filter_driver_filter_mbox): Same.
	(camel_filter_driver_filter_folder): Return -1 if an exception was
	set as well.

2001-03-19  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-tcp-stream-openssl.c (camel_tcp_stream_openssl_finalize):
	Free the expected host.
	(camel_tcp_stream_openssl_new): Now takes a Service and an
	expected_host. Set them.

svn path=/trunk/; revision=8871
2001-03-21 21:45:26 +00:00
b83cafb408 Updated Azeri file
svn path=/trunk/; revision=8870
2001-03-21 21:28:17 +00:00
cea7205f5e Added all the new icons to the distribution.
2001-03-20  Miguel de Icaza  <miguel@ximian.com>

	* art/Makefile.am (images_DATA): Added all the new icons to the
	distribution.

svn path=/trunk/; revision=8869
2001-03-21 18:04:31 +00:00