Commit Graph

7872 Commits

Author SHA1 Message Date
4e3776a37d Only use non-NULL contexts. (mail_crypto_pgp_mime_part_encrypt): Same.
2001-04-14  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-crypto.c (mail_crypto_pgp_mime_part_verify): Only use
	non-NULL contexts.
	(mail_crypto_pgp_mime_part_encrypt): Same.
	(mail_crypto_pgp_mime_part_decrypt): And here too.

	* mail-format.c (try_inline_pgp_sig): Make sure to not use the
	context if it is NULL.
	(decode_pgp): Same.

	* folder-browser-factory.c: Added stuff for filtering/vfoldering
	on mailinglists.

svn path=/trunk/; revision=9315
2001-04-14 21:24:07 +00:00
6dce8c2f32 Check to make sure the context is a valid context in all the user
2001-04-14  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-cipher-context.c: Check to make sure the context is a
	valid context in all the user functions.

svn path=/trunk/; revision=9314
2001-04-14 21:20:44 +00:00
1d4c16a76a Added the function e_book_view_listener_stop to tell the book view
2001-04-14  Christopher James Lahey  <clahey@ximian.com>

	* backend/ebook/e-book-view-listener.c,
	backend/ebook/e-book-view-listener.h: Added the function
	e_book_view_listener_stop to tell the book view listener to stop
	sending signals.

	* backend/ebook/e-book-view.c (e_book_view_destroy): Tell the
	EBookViewListener to stop when we're destroyed.

	* backend/pas/pas-backend-file.c (view_destroy,
	pas_backend_file_process_get_book_view,
	pas_backend_file_process_get_changes): Cleaned these up a bit
	using bonobo_object_ref and bonobo_object_unref.
	(pas_backend_file_process_get_book_view,
	pas_backend_file_process_get_changes): bonobo_object_release_unref
	the EBookListener here.

	* backend/pas/pas-backend-ldap.c
	(pas_backend_ldap_process_get_book_view): Cleaned this up a bit
	using bonobo_object_ref.  Make sure to unref the listener when
	we're done with it.  Put the new book_view in the list before
	telling the book_listener that it's ready.

	* backend/pas/pas-book-view.c (pas_book_view_construct): Cleaned
	this up a bit using bonobo_object_dup_ref.
	(pas_book_view_destroy): Cleaned this up a bit using
	bonobo_object_release_unref.

	* backend/pas/pas-book.c (pas_book_queue_get_book_view,
	pas_book_queue_get_changes): bonobo_object_dup_ref here instead of
	just duplicating.

svn path=/trunk/; revision=9313
2001-04-14 20:26:40 +00:00
a0a4b49f2d Ref the cursor here when we receive it.
2001-04-14  Christopher James Lahey  <clahey@ximian.com>

	* backend/ebook/e-book-listener.c
	(impl_BookListener_respond_get_cursor): Ref the cursor here when
	we receive it.
	(impl_BookListener_respond_get_view,
	impl_BookListener_respond_get_changes): Ref the book_view here
	when we receive it.
	(impl_BookListener_respond_open_book): Ref the book here when we
	receive it.
	(e_book_listener_destroy): Unref the objects in our queue here.

	* backend/ebook/e-book-view.c (e_book_view_construct): Cleaned
	this up using bonobo_object_dup_ref.
	(e_book_view_destroy): Cleaned this up using
	bonobo_object_release_unref.

	* backend/ebook/e-book.c (e_book_do_response_get_cursor,
	e_book_do_response_get_view, e_book_do_response_get_changes,
	e_book_unload_uri): Cleaned this up using
	bonobo_object_release_unref.

svn path=/trunk/; revision=9311
2001-04-14 17:19:45 +00:00
04fac44de1 Do this everywhere, also fixup CLEANFILES
Do this everywhere, also fixup CLEANFILES

2001-04-14  Michael Meeks  <michael@ximian.com>

	* Makefile.am (dist-hook): remove built sources from dist.

svn path=/trunk/; revision=9309
2001-04-14 08:02:59 +00:00
a5e6e0b5f3 Pull up fix from the 0-10 branch (chain the ::destroy handler for
ESplash to the parent class' ::destroy handler, thus fixing an
extremely stupid memory leak).

svn path=/trunk/; revision=9308
2001-04-14 02:32:15 +00:00
2c05dbde2c s/imap_store/store/, fixing a typo that was causing the build to fail.
2001-04-13  Jon Trowbridge  <trow@ximian.com>

        * providers/imap/camel-imap-store.c (imap_disconnect):
        s/imap_store/store/, fixing a typo that was causing the build to
        fail.

svn path=/trunk/; revision=9306
2001-04-13 22:21:47 +00:00
daf16dd6e7 Oops --- I forgot to add these files before my last commit.
svn path=/trunk/; revision=9305
2001-04-13 22:08:39 +00:00
0eb8afc1d0 Make the (previously unused) get-source command actually do the right
2001-04-13  Jon Trowbridge  <trow@gnu.org>

	* camel-filter-search.c (get_source): Make the (previously unused)
	get-source command actually do the right thing, properly shrouding
	any passed-in source and falling back to use the source attached
	to the mime message.


2001-04-13  Jon Trowbridge  <trow@gnu.org>

	* filtertypes.xml: Add XML specs for source account filtering.

	* filter-element.c (filter_element_new_type_name): Recognize
	type "source", construct a FilterSource.

	* filter-source.c: Added.  A FilterElement for the account e-mail
	comes from.

svn path=/trunk/; revision=9304
2001-04-13 22:08:03 +00:00
546128c8d9 Remove some redundant LIBS variables... purify complained that the command
* Makefile.am (evolution_mail_LDADD): Remove some redundant LIBS
        variables... purify complained that the command line was too
        long. :-}

        * mail-account-gui.c: Plug leaks.

        * mail-display.c (on_url_requested): close the html stream on
        error too.

        * mail-ops.c (fetch_mail_fetch): Move a line around that probably
        doesn't affect anything, but it's correct.

        * session.c (auth_callback): Plug leak.

        * mail-send-recv.c (receive_status): Initialize "now".

svn path=/trunk/; revision=9303
2001-04-13 21:42:26 +00:00
044fde0583 Plug leaks.
* camel-object.c (camel_object_hook_event):
        * camel-uid-cache.c (camel_uid_cache_get_new_uids):
        * camel-url.c (camel_url_new_with_base): Plug leaks.

        * camel-remote-store.c (camel_remote_store_init): Don't
        re-initialize the folders hash table.

        * providers/imap/camel-imap-store.c (imap_disconnect): Free
        authtypes since they'll be re-read on re-connect.
        (get_folder_info): Free folderinfos that we're discarding from the
        list.

svn path=/trunk/; revision=9302
2001-04-13 21:36:09 +00:00
daea2fb545 Fix memory leak
* e-table-header.c (eth_destroy): Fix memory leak

svn path=/trunk/; revision=9301
2001-04-13 20:16:39 +00:00
8870aff0a3 Fix the syntactic bogon here, and attempt to fix the logical bogon too.
* cal-util/timeutil.c (time_from_isodate): Fix the syntactic bogon
	here, and attempt to fix the logical bogon too. (tm_gmtoff and
	timezone have opposite signs... I'm assuming Federico tested the
	Linux case, so I'm flipping the sign of the BSD case. But maybe he
	didn't and it's supposed to be the other way...)

svn path=/trunk/; revision=9300
2001-04-13 17:29:08 +00:00
045c3ffbea Get the ESelectNamesModel from the widget's text model instead of storing
2001-04-13  Christopher James Lahey  <clahey@ximian.com>

	* gui/component/select-names/e-select-names-bonobo.c
	(entry_get_property_fn): Get the ESelectNamesModel from the
	widget's text model instead of storing it as a gtk_object_set_data
	since it may change.

svn path=/trunk/; revision=9299
2001-04-13 13:01:25 +00:00
68f8aa3465 Only activate the message if the cursor has moved.
2001-04-13  Christopher James Lahey  <clahey@ximian.com>

	* message-list.c (on_cursor_activated_cmd): Only activate the
	message if the cursor has moved.

svn path=/trunk/; revision=9298
2001-04-13 12:10:29 +00:00
3b06548b39 Always emit the cursor changed signal. Even if it's changed to the same
2001-04-13  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-selection-model.c
	(e_selection_model_do_something): Always emit the cursor changed
	signal.  Even if it's changed to the same row/column.

svn path=/trunk/; revision=9297
2001-04-13 12:06:31 +00:00
275c3b3deb Update the Voice and Fax phone numbers too, finishing off bug #1667.
2001-04-12  Jason Leach  <jasonleach@usa.net>

	* backend/pas/pas-backend-file.c (INITIAL_VCARD): Update the Voice
	and Fax phone numbers too, finishing off bug #1667.

svn path=/trunk/; revision=9296
2001-04-13 02:14:35 +00:00
9d81248e5f Added e-table/e-cell-spin-button.lo Added e-table/e-cell-float.lo
2001-04-13  Mikael Hallendal  <micke@codefactory.se>

	* gal/Makefile.am (libgal_la_LIBADD):
	  Added e-table/e-cell-spin-button.lo
	  Added e-table/e-cell-float.lo

	* gal/util/e-util.[ch]
	(e_format_number_float):
  	  Added function to format floats. Uses e_format_number for the
	  integer part.
	(e_marshal_NONE__POINTER_INT_INT_INT): Added used by
	  gal/e-table/e-cell-spin-button.c

svn path=/trunk/; revision=9295
2001-04-13 01:58:14 +00:00
869c3b5824 New cell for floats.
2001-04-13  Mikael Hallendal  <micke@codefactory.se>

	* e-cell-float.[ch]: New cell for floats.

	* e-cell-spin-button.[ch]: New cell for spin-button.

	* Makefile.am:
	- Added e-cell-spin-button.[ch]
	- Added e-cell-float.[ch]

svn path=/trunk/; revision=9294
2001-04-13 01:56:49 +00:00
3bf472d9ca Update the built in VCard.
2001-04-11  Christopher James Lahey  <clahey@ximian.com>

	* backend/pas/pas-backend-file.c (INITIAL_VCARD): Update the built
	in VCard.

svn path=/trunk/; revision=9293
2001-04-13 01:00:54 +00:00
2814f8d765 Updated the required version of gal to 0.6.99.0.
2001-04-12  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Updated the required version of gal to 0.6.99.0.

svn path=/trunk/; revision=9292
2001-04-13 00:51:02 +00:00
e54abe319e Implemented these.
2001-04-12  Christopher James Lahey  <clahey@ximian.com>

	* e-storage-set-view.c (etree_has_get_node_by_id,
	etree_get_node_by_id): Implemented these.

svn path=/trunk/; revision=9291
2001-04-13 00:48:18 +00:00
5083cd6bdc Updated this function to be a correct full ordering.
2001-04-12  Christopher James Lahey  <clahey@ximian.com>

	* message-list.c (e_mail_address_new): Updated this function to be
	a correct full ordering.
	(ml_has_get_node_by_id, ml_get_node_by_id): Implemented these
	functions.
	(find_next_undeleted): Changed this to find next sorted undeleted
	message.  Also, changed it so that if the current message is not
	deleted, it returns NULL.
	(build_tree, build_flat): Changed these to only set the cursor if
	the cursor is changed.

	* subscribe-dialog.c: Changed this to pass NULL, NULL for
	has_get_node_by_id and get_node_by_id.

svn path=/trunk/; revision=9290
2001-04-13 00:45:42 +00:00
0f85f30ab1 Upped the version number to 0.6.99.0. Upped the so number to 6.
2001-04-12  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Upped the version number to 0.6.99.0.  Upped the
	so number to 6.

	* docs/etablexml.txt: Made some updates here.

	* tests/test-tree-1.c, tests/test-tree-3.c: Added NULL, NULL to
	the call to e_tree_memory_callbacks_new.

From gal/e-table/ChangeLog:

2001-04-12  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c (eti_cursor_change): Only move the screen to show
	the cursor if there are no changes pending.  Updated the commented
	out code for alternating colors a bit.

	* e-table-model.c, e-table-model.h: Added
	e_table_model_has_change_pending.

	* e-tree-memory-callbacks.c, e-tree-memory-callbacks.h: Added
	has_get_node_by_id and get_node_by_id.

	* e-tree-model.c, e-tree-model.h: Added
	e_tree_model_has_get_node_by_id and e_tree_model_get_node_by_id.
	Added e_tree_model_has_change_pending.

	* e-tree-selection-model.c: Handle the selection and cursor
	properly across the tree changing.

	* e-tree-sorted.c: Implemented has_get_node_by_id and
	get_node_by_id, and has_changes_pending.

	* e-tree-table-adapter.c: Implemented has_changes_pending.  Fixed
	an array underflow.

svn path=/trunk/; revision=9289
2001-04-13 00:40:49 +00:00
a4f57fbbde If the service is NULL, just use the item as the key.
2001-04-12  Jeffrey Stedfast  <fejj@ximian.com>

	* session.c (auth_callback): If the service is NULL, just use the
	item as the key.

svn path=/trunk/; revision=9288
2001-04-12 22:23:56 +00:00
dc90015fb8 Oops, lets not get into a recursive call here ;-)
2001-04-12  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-pgp-context.c (camel_pgp_context_get_type): Oops, lets not
	get into a recursive call here ;-)

	* tests/smime/pgp.c: Updated to reflect changes to the PGP code.

	* tests/smime/pgp-mime.c: Same.

svn path=/trunk/; revision=9287
2001-04-12 22:03:23 +00:00
de35de9442 Removed openpgp-utils.c and added the camel-pgp-*.c files. Added
2001-04-12  Jeffrey Stedfast  <fejj@ximian.com>

	* POTFILES.in: Removed openpgp-utils.c and added the camel-pgp-*.c
	files. Added camel-cipher-context.c also.

svn path=/trunk/; revision=9286
2001-04-12 21:34:43 +00:00
7729c3ca47 Use the mail-crypto pgp-mime wrappers. (build_message):
2001-04-12  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (build_message): Use the mail-crypto pgp-mime
	wrappers.
	(build_message): s/CAMEL_PGP_HASH_TYPE_SHA1/CAMEL_CIPHER_HASH_SHA1

svn path=/trunk/; revision=9285
2001-04-12 21:27:55 +00:00
a125cbdcb5 Use the CamelCipherHash enum. (mail_crypto_pgp_mime_part_verify): Use a
2001-04-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-crypto.c (mail_crypto_pgp_mime_part_sign): Use the
	CamelCipherHash enum.
	(mail_crypto_pgp_mime_part_verify): Use a CamelCipherValidity.

	* mail-format.c (try_inline_pgp_sig): Updated to use
	CamelCipherValidity instead of CamelPgpValidity.
	(handle_multipart_signed): Same.

svn path=/trunk/; revision=9284
2001-04-12 21:25:52 +00:00
0417c81c05 Updated to reflect the few changes made to the CamelPgpContext class.
2001-04-12  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-pgp-mime.c: Updated to reflect the few changes made to the
	CamelPgpContext class.

	* camel-pgp-context.c: Updated to subclass of CamelCipherContext.

	* camel-cipher-context.[c,h]: New base class for
	CamelPgpContext. Also contains the replacement for
	CamelPgpValidity, CamelCipherValidity.

svn path=/trunk/; revision=9283
2001-04-12 21:18:40 +00:00
0111c4d86f Fix a pair of array bounds reads noted by purify
* camel-mime-filter-crlf.c (filter): Fix a pair of array bounds
	reads noted by purify

svn path=/trunk/; revision=9282
2001-04-12 19:37:08 +00:00
158d565ac0 oh, and the tcp-stream headers.
svn path=/trunk/; revision=9281
2001-04-12 18:48:00 +00:00
7026fef0a3 #include the pgp stuff.
2001-04-12  Jeffrey Stedfast  <fejj@ximian.com>

	* camel.h: #include the pgp stuff.

svn path=/trunk/; revision=9280
2001-04-12 18:46:54 +00:00
0f6c6bbb8c put the business address into the pilot record as that is what we put into
2001-04-12  JP Rosevear  <jpr@ximian.com>

	* conduit/address-conduit.c (local_record_from_ecard): put the
	business address into the pilot record as that is what we put into
	the desktop record
	(ecard_from_remote_record): set both the address label and
	delivery address to avoid bad parser guessing, fixes #2143

	* backend/ebook/e-card-types.h: remove deprecated pilot code

	* backend/ebook/e-card.c: ditto

	* backend/ebook/e-card.h: ditto

svn path=/trunk/; revision=9279
2001-04-12 18:44:41 +00:00
d7cd78ec3b Don't printf NULL
* folder-browser.c (do_message_selected, on_message_selected):
        Don't printf NULL

svn path=/trunk/; revision=9278
2001-04-12 18:41:31 +00:00
bac9ba32d8 Removed openpgp-utils.c and added the camel-pgp-*.c files.
2001-04-12  Jeffrey Stedfast  <fejj@ximian.com>

	* POTFILES.in: Removed openpgp-utils.c and added the camel-pgp-*.c
	files.

svn path=/trunk/; revision=9277
2001-04-12 18:02:45 +00:00
abad71776b Fix a memory leak.
* menus/gal-view-menus.c (build_menus): Fix a memory leak.

svn path=/trunk/; revision=9275
2001-04-12 17:51:20 +00:00
09d998c358 Don't leak memory.
* mail-format.c (mail_part_is_inline): Don't leak memory.

svn path=/trunk/; revision=9273
2001-04-12 17:47:06 +00:00
13acd44e98 Plug memory leaks.
* providers/imap/camel-imap-message-cache.c
	(camel_imap_message_cache_remove):
	* camel-url.c (camel_url_to_string): Plug memory leaks.

svn path=/trunk/; revision=9271
2001-04-12 17:22:54 +00:00
351be10bd9 removed openpgp-utils
svn path=/trunk/; revision=9270
2001-04-12 17:14:42 +00:00
769f404db3 Updated for changes to PGP code.
2001-04-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (pgp_path_changed): Updated for changes to PGP
	code.

	* component-factory.c (owner_set_cb): Don't init openpgp anymore
	because we don't need it.

	* mail-crypto.c: Simply wrap the camel-pgp-mime functions (also
	renamed the functions to be prefixed with mail_crypto).

	* mail-format.c (handle_multipart_signed): Update to use
	camel_pgp_mime_is_rfc2015_signed() and other camel-pgp-mime
	functions.
	(handle_multipart_encrypted): Same but for rfc2015_encrypted.
	(decode_pgp): Updated to use camel-pgp-context
	(try_inline_pgp): Updated to use camel-pgp-context's.
	(try_inline_pgp_sig): Same.

svn path=/trunk/; revision=9269
2001-04-12 17:14:20 +00:00
fabdba6f1c Use the mail-crypto pgp-mime wrappers.
2001-04-12  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (build_message): Use the mail-crypto pgp-mime
	wrappers.

svn path=/trunk/; revision=9268
2001-04-12 17:11:45 +00:00
166e7bcc28 svn path=/trunk/; revision=9267
2001-04-08  Federico Mena Quintero  <federico@ximian.com>

	* e-meeting-time-sel-item.c (e_meeting_time_selector_item_init):

svn path=/trunk/; revision=9267
2001-04-12 16:30:41 +00:00
3b562b0b9f New function to restart a query for the day view. (query_obj_updated_cb):
2001-04-12  Federico Mena Quintero  <federico@ximian.com>

	* gui/e-day-view.c (update_query): New function to restart a query
	for the day view.
	(query_obj_updated_cb): Renamed from obj_updated_cb(); updated for
	queries instead of calendar clients.
	(query_obj_removed_cb): Likewise.
	(cal_opened_cb): Just update_query() instead of queueing reloading
	all the events.
	(e_day_view_set_cal_client): Likewise.
	(e_day_view_set_query): Likewise.
	(e_day_view_set_selected_time_range): Likewise.
	(e_day_view_set_days_shown): Likewise.
	(e_day_view_recalc_work_week): Likewise.
	(e_day_view_queue_reload_events): Removed function now that events
	are updated entirely by the query.
	(e_day_view_reload_events_idle_cb): Likewise.
	(e_day_view_reload_events): Likewise.
	(e_day_view_init): Use a pretty arrow instead of GDK_TOP_LEFT_ARROW.

	* gui/e-week-view.c: Analogous changes to the ones in e-day-view.c.
	(e_week_view_init): Use a pretty arrow instead of GDK_TOP_LEFT_ARROW.

	* cal-util/timeutil.c (isodate_from_time_t): Return a g_strdup()ed
	version of the string instead of a pointer to a static buffer.
	(time_from_isodate): Resurrected function.  Polished up to our
	current standards of paranoia.

	* pcs/query.c (func_time_now): New function (time-now).
	(func_make_time): New function (make-time ISODATE).
	(func_time_add_day): New function (time-add-day TIME N).
	(func_time_day_begin): New function (time-day-begin TIME).
	(func_time_day_end): New function (time-day-end TIME).
	(func_occur_in_time_range): Use time_t values instead of ints.
	(match_component): Free the stringized component.  Free the ESexp
	result value.

	* gui/e-day-view.h: Removed a couple of unused prototypes.

	* pcs/query.c (query_destroy): Oops, disconnect from the backend.

	* pcs/cal.c (Cal_get_query): Duplicate the query reference before
	we return it.

	* gui/calendar-commands.c (pixmaps): Fixed paths to image files.

svn path=/trunk/; revision=9266
2001-04-12 16:29:56 +00:00
b1c4145cd9 s/IMAP/SMTP
svn path=/trunk/; revision=9265
2001-04-12 15:40:05 +00:00
4155cc4d59 Updated Spanish translation.
svn path=/trunk/; revision=9264
2001-04-12 15:38:26 +00:00
8800aed605 Updated Slovak translation
svn path=/trunk/; revision=9263
2001-04-12 14:14:22 +00:00
5b45e0550b Fixed Swedish translation. Thanks to Göran Uddeborg
<goeran@uddeborg.pp.se>.

svn path=/trunk/; revision=9262
2001-04-12 00:26:45 +00:00
9763978157 Only look for special pseudo-multipart-isms (binhex, uucode, old pgp, etc)
* mail-format.c (handle_text_plain): Only look for special
	pseudo-multipart-isms (binhex, uucode, old pgp, etc) if the MIME
	type is really text/plain. Otherwise, since there's no handler for
	applciation/mac-binhex40, it gets sent to mail-identify.c, which
	thinks it's text/plain because it starts with English words, and
	so it gets sent back to the text/plain handler, which finds an
	embedded binhex part...

svn path=/trunk/; revision=9260
2001-04-11 23:30:33 +00:00
ac31cddc10 Don't get into an infinite loop when clicking on an IMAP storage. Might
* e-shell-view.c (switch_on_folder_tree_click): Don't get into an
	infinite loop when clicking on an IMAP storage. Might not be the
	best fix?

svn path=/trunk/; revision=9258
2001-04-11 22:55:20 +00:00