Merge http://git.sxemacs.org/sxemacs
Merge http://git.sxemacs.org/sxemacs
Sundry FFI fixes (see bug #127)

Here are a couple of FFI fixes that bring us closer to fixing bug #127

	* lisp/ffi/ffi-sqlite.el (sqlite-bind-value): Use sqlite-STATIC
	instead of sqlite-TRANSIENT

	* src/effi.c (ffi_call_using_libffi): Temporarily turn of async
	timeouts when calling ffi_call()

	* src/signal.c (stop_async_timeouts): Make it available
	externally.

	* src/signal.c (start_async_timeouts): Ditto.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
Merge branch 'merges'
Merge branch 'merges'
Merge branch 'merges'
Purge SXEmacs of tooltalk and CDE cruft -- docs, autoconf

Tooltalk was some old Sun/Sparcworks thingamajiggy.  Nobody uses it
anymore and it has been superseded by D-Bus anyway.  Even though SXEmacs
doesn't yet have full (any?) D-Bus support we're nuking this silly
tooltalk madness now.

This changeset removes the tooltalk cruft from our build chain autotool
stuff and from the docs.

	* configure.ac: Remove all the tooltalk and CDE cruft.

	* m4/sxe-summary.m4 (SXE_SUMMARY): Ditto.

	* etc/PACKAGES: Ditto.

	* info/sxemacs-faq.texi (Q4.4.2): Removed.
	  Plus nuke other mentions of tooltalk.

	* info/sxemacs/packages.texi (Available Packages): Remove
	  tooltalk. Yes I know that the tooltalk XEmacs package is still
	  available, but there's not much point in saying so in the SXEmacs
	  manual if SXEmacs doesn't support tooltalk at all.

	* info/lispref/objects.texi: Remove all the tooltalk cruft.

	* info/lispref/lispref.texi: Ditto.

	* info/lispref/hooks.texi (Standard Hooks): Ditto.

	* info/lispref/errors.texi (Standard Errors): Ditto.

	* info/internals/internals.texi: Ditto.

	* info/lispref/ldap.texi (LDAP Support): Set prev node to
	  X-Windows.  Skips tooltalk.

	* info/lispref/x-windows.texi (X-Windows): Set next node to LDAP
	  Support.  Skips tooltalk.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
Purge SXEmacs of tooltalk madness -- test suite

This eradicates tooltalk from our test suite.

	* tests/Makefile.am (tooltalk_tests): Removed.

	* tests/Makefile.am (EXTRA_DIST): Remove tooltalk_tests.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
Purge SXEmacs of tooltalk cruft -- src, lisp

This kills off pretty much all of the tooltalk.  But I expect a couple
more (at least) changesets to completely tidy it up.

	* lisp/Makefile.am (corelispels): Remove check-features.el.  It
	  was just tooltalk and sparcwork cruft.

	* lisp/dumped-lisp.el (packages-hardcoded-lisp): Remove tooltalk
	  related stuff.  Was all just comments anyway.

	* lisp/subr.el (error): Remove tooltalk-error

	* src/ui/Makefile.am (libsxeui_a_headers): Remove tooltalk.h

	* src/ui/X11/ExternalClientP.h: Remove the use_tooltalk member
	  from the ExternalClientPart struct.

	* src/ui/X11/ExternalClient.c: Remove tooltalk cruft.

	* src/ui/X11/ExternalClient.c (send_tooltalk_handshake): Remove.

	* src/ui/X11/ExternalClient.c (tt_callback): Ditto.

	* src/symsinit.h: Remove tooltalk cruft.

	* src/procimpl.h: Remove tooltalk from process_methods

	* src/process.c (connected_via_filedesc_p): return 0 regardless.
	  It was only ever non-0 with a tooltalk connection.  'nuff said.

	* src/process-unix.c (unix_tooltalk_connection_p): Remove.

	* src/process-unix.c (process_type_create_unix): Remove tooltalk cruft.

	* src/lrecord.h: Remove tooltalk cruft.

	* src/inline.c: Ditto.

	* src/gdbinit: Ditto.

	* src/emacs.c (shut_down_emacs): Ditto.

	* src/dbxrc (Usage): Ditto.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
Purge SXEmacs of tooltalk -- remainding tidy up

Finger's crossed, this is the END of tooltalk.  Yay!

	* PROBLEMS: Delete the tooltalk stuff.

	* etc/tests/external-widget/Makefile (CFLAGS): Remove the
	-DTOOLTALK flag

	* etc/tests/external-widget/test-ew-motif.c (handle_tt_input):
	Remove.  It was tooltalk.

	* etc/tests/external-widget/test-ew-motif.c
	(HxInitializeToolTalk): Ditto.

	* etc/tests/external-widget/test-ew-motif.c (main): Don't call
	HxInitializeToolTalk().

	* info/external-widget.texi (Using an External Client Widget):
	Don't mention tooltalk.

	* src/events/event-stream.c (execute_internal_event): Mention in
	comments relating to tooltalk to revisit with D-Bus

	* src/ui/X11/ExternalClient.h (XtNuseToolTalk): Remove.

	* src/ui/X11/ExternalClient.h (XtCUseToolTalk): Ditto.

	* .gitignore: Remove tooltalk directory.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
Merge branch 'tooltalkless'
Merge http://git.sxemacs.org/sxemacs
Fix CID:437 Unused value
Fix CID:436 Unused value
Prevent harmless COVERITY warning message of the BAD_ALLOC_STRLEN checker on relative_filename about the usage of pointer+1 inside strlen as parameter to xnew.

Changed it because it is indeed more maintainable to walk past the '/' and use that afterwards.
Merge branch 'merges'
Check the result of sxemacs_stat in Fwrite_region_internal (CID:14)
Fix the ent-mpc issues of Bug 126.
Merge branch 'merges'
Fix unchecked strcpy from commandline argument into fixed size buffer
CID:382