Temporary work-around for bug 162

http://issues.sxemacs.org/show_bug.cgi?id=162

	* lisp/build-autoloads.el (find-emod-directories): Use #'mapconcat
	instead of #'mapfam to work-around bug 162

	* lisp/emod-utils.el (emodule-completions): Ditto.

	* lisp/emod-utils.el (list-modules): Ditto.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
Temp work-around for bug #162

* bldfix:
  Temporary work-around for bug 162
Summary: pass decoration triple to mapfam worker routines by value (instead of by-ref)
Keywords: fix bug 162

This changeset fixes the issues described in bug 162
(http://issues.sxemacs.org/show_bug.cgi?id=162).

The mapfam worker routine __pntw_1seq() (operate pointwise on just one sequence)
gets its decoration values (the initiator, the separator and the terminator) by
value now, i.e. on the stack.  Whereas before it got a pointer to a stack-alloc'd
struct in the main mapfam routine.

Gcc 4.8.1 probably changed the memory layout or scope rules for pointers to stack
alloc'd objects slightly, we will never know, as this hasn't been investigated.

Anyway, it's probably good to keep an eye out for similar problems that match
this pattern.
Closes bug #162 from Sebastian

* merges:
  Summary: pass decoration triple to mapfam worker routines by value (instead of by-ref) Keywords: fix bug 162
Revert the temporary workaround for bug #162

	* lisp/build-autoloads.el (find-emod-directories): Revert the
	workaround.

	* lisp/emod-utils.el (emodule-completions): Ditto.

	* lisp/emod-utils.el (list-modules): Ditto.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
Revert my tmp workaround for 162

* revert-tmp-fix:
  Revert the temporary workaround for bug #162
Fix heap free in __pntw_1dict

    * src/map.c(__pntw_1dict): when array is allocated in the heap, the primary
      address is kept in keys, but later vals is freed. This is clearly a bug,
      which can corrupt the heap in weird ways that are untraceable.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
memory fix from Nelson

* merges:
  Fix heap free in __pntw_1dict
Make texinfo 5.x not break the build

	These changes are mostly promoting sections to chapters and subsections to sections.

	* info/custom.texi (Declaring Groups): Promote to chapter
	* info/custom.texi (Declaring Variables): Ditto.
	* info/custom.texi (Declaring Faces): Ditto.
	* info/custom.texi (Usage for Package Authors): Ditto.
	* info/custom.texi (Utilities): Ditto.
	* info/custom.texi (The Init File): Ditto
	* info/custom.texi (Wishlist): Ditto
	* info/widget.texi (Introduction): Ditto
	* info/widget.texi (User Interface): Ditto
	* info/widget.texi (Programming Example): Ditto
	* info/widget.texi (Setting Up the Buffer): Ditto
	* info/widget.texi (Basic Types): Ditto
	* info/widget.texi (Sexp Types): Ditto
	* info/widget.texi (Widget Properties): Ditto
	* info/widget.texi (Defining New Widgets): Ditto
	* info/widget.texi (Widget Browser): Ditto
	* info/widget.texi (Widget Minor Mode): Ditto
	* info/widget.texi (Utilities): Ditto
	* info/widget.texi (Widget Wishlist): Ditto
	* info/widget.texi (Widget Internals): Ditto

	* info/lispref/edebug-inc.texi (Instrumenting Macro Calls): Use
	itemize instead of table. Texinfo 5 refuses a table with @bullet.

	* info/lispref/faces.texi (Face Properties): Add @item for each paragraph.

	* info/sxemacs-faq.texi: Inline tex for removed @hfill
	* info/term.texi: remove problematic start @
	* info/term.texi: Use {} instead of ()

	* info/lispref/packaging.texi (Makefile Targets): Promote to section
	* info/sppm.texi (Voting): Ditto
	* info/sppm.texi (Coding Style): Ditto.
	* info/sppm.texi (Setting up a publicly accessible repo): Ditto
	* info/sppm.texi (Setting up a publicly accessible repo): Ditto
	* info/widget.texi (Editable text fields): Ditto
	* info/widget.texi (The link widget): Ditto
	* info/widget.texi (The url-link widget): Ditto
	* info/widget.texi (The push-button widget): Ditto
	* info/widget.texi (The editable-field widget): Ditto
	* info/widget.texi (The menu-choice widget): Ditto
	* info/widget.texi (The radio-button-choice widget): Ditto
	* info/widget.texi (The item widget): Ditto
	* info/widget.texi (The choice-item widget): Ditto
	* info/widget.texi (The toggle widget): Ditto
	* info/widget.texi (The checkbox widget): Ditto
	* info/widget.texi (The checklist widget): Ditto
	* info/widget.texi (The editable-list widget): Ditto
	* info/widget.texi (The group widget): Ditto
	* info/widget.texi (constants): Ditto
	* info/widget.texi (generic): Ditto
	* info/widget.texi (atoms): Ditto
	* info/widget.texi (composite): Ditto
	* info/widget.texi (The Widget and Type Structures): Ditto

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
Do not complain in configure when not in git workspace

    * configure.ac: redirect to /dev/null the git describe so that git
      error message is not in output.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
Avoid warning about deprecated XKeycodeToKeysym

        * m4/sxe-gui.m4 (SXE_CHECK_XTOOLKITS): Check for XKBlib.h and
	  if it exists check for XKbKeycodeToKeysym availability
	* src/ui/X11/event-Xt.c: Include XKBlib.h if available
	* src/ui/X11/event-Xt.c (whatever): Use XKbKeycodeToKeysym instead
	  of XKeycodeToKeysym if available

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
Avoid warning about dangling else

	* lib-src/etags.c (get_language_from_filename): Create block scope on
	  outer if

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
Merge remote-tracking branch 'myremote/for-steve' into for-steve
Avoid warnings of unused parameter.

	The old way of doing if(parameter); elicits other warnings such as if without a body.
	While one could "fix" that in clang with placing the ; on the next line, using
	SXE_UNUSED seems much saner, as it coveys intent.

	* src/ent/ent-mpc.c: move prototype of mpc_set_ui_fr to ent-mpc.h
	* src/ent/ent-mpc.h: declare mpc_set_ui_fr for usage by alloc.c
	* src/ent/ent-float.c (mark_float): Removed if, marked as SXE_UNUSED
	* src/ent/ent-float.c (float_equal): ditto
	* src/ent/ent-float.c (ent_rem_FLOAT_T): ditto
	* src/ent/ent-float.c (ent_rem_FLOAT_T_INT_T): ditto
	* src/ent/ent-gaussian.c (bigg_equal): ditto.
	* src/ent/ent-gaussian.c (bigg_hash): ditto.
	* src/ent/ent-gaussian.c (bigg_mark): ditto.
	* src/ent/ent-gaussian.c (bigg_finalise): ditto.
	* src/ent/ent-indef.c (indef_hash): ditto.
	* src/ent/ent-mpc.c (bigc_finalise): ditto.
	* src/ent/ent-mpfr.c (bigfr_finalise): ditto.
	* src/ent/ent.c (default_real_precision_changed): ditto.
	* src/alloc.c: include ent-mpc.h when it is defined so that bigc uses the
	proper definitions/prototypes

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
Texinfo 5 fixes + warn fixes from Nelson

* merges:
  Avoid warnings of unused parameter.
  Avoid warning about dangling else
  Avoid warning about deprecated XKeycodeToKeysym
  Do not complain in configure when not in git workspace
  Make texinfo 5.x not break the build
Remove annoying autoconf warning

Under autoconf 2.64 and newer the current autoconf macros of SXEmacs emit the following
warning multiple times:

_LT_SYS_DYNAMIC_LINKER was expanded before it was required

   * m4/sxe-libtool.m4 (_SXE_CHECK_LT2): Add AC_REQUIRE for
     _LT_SYS_DYNAMIC_LINKER as recommend by
     http://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required

Signed-off-by: Nelson Ferreira <njsf@sxemacs.org>
Autoconf warnfix from Nelson

* merges:
  Remove annoying autoconf warning
XEmacs compatibility fix in #'directory-files (Closes Bug 163)

For details see:  http://issues.sxemacs.org/show_bug.cgi?id=163

	* src/dired.c (directory_files_resultify): Return an unsorted list
	when RESULT-TYPE is `non-nil' or `list'.

	* src/dired.c (Fdirectory_files): Update doc string.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
#'directory-files fix (Closes 163)

* bug-163:
  XEmacs compatibility fix in #'directory-files (Closes Bug 163)
Fix SEGV while building autoloads for modules in Mac OS X with gcc-4.8.2

	This seems to be a bad interaction between the gcc generated
	switch code and with the Mac OS X pthreads stubs, which clear rax
	where fun is expected by gcc to reside.

	This is the minimal set of changes that fixes the issue, but now I
	believe we should comb the codebase for the usage of UNLIKELY and
	only keep those that are really useful.

	* src/map.c: Refactor the check of NILP(fun) to be outside the
	current switch, so there is an additional switch(arity) with just
	the NILP(fun) branch of the old one. It was also necessary to
	remove the UNLIKELY hint, which was causing the error: Invalid
	regexp: "Unmatched ( or \\("

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>