sxemacs
11 years agoSXEmacs v22.1.15 is released! v22.1.15
Steve Youngs [Sat, 16 Jun 2012 07:13:58 +0000 (17:13 +1000)]
SXEmacs v22.1.15 is released!

* release-housekeeping:
  Last minute NEWS update
  Update closed bug list
  Last minute update to NEWS.
  Update DISTRIB to talk about git instead of tla
  Various "just before release" updates and housekeeping

11 years agoLast minute NEWS update
Steve Youngs [Sat, 16 Jun 2012 07:11:06 +0000 (17:11 +1000)]
Last minute NEWS update

Signed-off-by: Steve Youngs <steve@sxemacs.org>
11 years agoCoverity issues done and dusted! from Nelson
Steve Youngs [Sat, 16 Jun 2012 01:16:23 +0000 (11:16 +1000)]
Coverity issues done and dusted! from Nelson

* merges:
  Coverity: CID 21028 Logically dead code
  Coverity CID 400011 - Derefence NULL return value

11 years agoCoverity: CID 21028 Logically dead code
Nelson Ferreira [Fri, 15 Jun 2012 15:19:42 +0000 (11:19 -0400)]
Coverity: CID 21028 Logically dead code

* src/ui/X11/event-Xt.c (x_handle_sticky_modifiers): This is a
false positive, but this little refactoring makes the analysis
easier...

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
11 years agoCoverity CID 400011 - Derefence NULL return value
Nelson Ferreira [Fri, 15 Jun 2012 15:14:54 +0000 (11:14 -0400)]
Coverity CID 400011 - Derefence NULL return value

* src/doc.c (Fsnarf_documentation): Verify that indeed end is not
NULL. If it is NULL then report a file format error.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
11 years agoEgo is not a dirty word
Steve Youngs [Mon, 11 Jun 2012 08:52:39 +0000 (18:52 +1000)]
Ego is not a dirty word

* ego-patch:
  Update my about info.

11 years agoUpdate my about info.
Steve Youngs [Mon, 11 Jun 2012 08:16:53 +0000 (18:16 +1000)]
Update my about info.

* lisp/about.el (about-current-release-maintainers): Promote Horst
to the lofty level of "current dev".
Put Erik and Hynek into "other"

* lisp/about.el (about-other-current-hackers): Horst to current;
Erik and Hynek to other.

* lisp/about.el (about-url-alist): Add a couple more of my URLs.

* lisp/about.el (about-personal-info): Updated my bio, added a
couple more URLs, and a dash of colour.

* etc/photos/steve.png: Update

* etc/photos/stevem.png: Update

Signed-off-by: Steve Youngs <steve@sxemacs.org>
11 years agoUpdate closed bug list
Steve Youngs [Fri, 1 Jun 2012 22:24:42 +0000 (08:24 +1000)]
Update closed bug list

Signed-off-by: Steve Youngs <steve@sxemacs.org>
11 years agoLast minute update to NEWS.
Steve Youngs [Tue, 22 May 2012 21:50:42 +0000 (07:50 +1000)]
Last minute update to NEWS.

* etc/NEWS: Forgot to mention bug 140 was fixed too

Signed-off-by: Steve Youngs <steve@sxemacs.org>
11 years agoUpdate DISTRIB to talk about git instead of tla
Steve Youngs [Tue, 22 May 2012 21:41:52 +0000 (07:41 +1000)]
Update DISTRIB to talk about git instead of tla

* etc/DISTRIB: Rewrite.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
11 years agoVarious "just before release" updates and housekeeping
Steve Youngs [Mon, 21 May 2012 02:16:49 +0000 (12:16 +1000)]
Various "just before release" updates and housekeeping

* INSTALL: A few minor updates such as typos, URL updates etc.

* PROBLEMS: Fix a couple of typos.

* README: Update list of subdirectories.

* autogen.sh (EXPECTED_TREE_VERSION): Bump.

* autogen.sh (sxemacs_codename): "Goggomobil"

* info/sppm.texi: Update "versioning" macros.

* info/sxemacs/sxemacs.texi (Top): Update version.

* lisp/startup.el (splash-frame-body): Update my copyright.

* etc/NEWS: Add this version's release notes.

* info/sppm.texi (Making Releases): Describe how to generate the
"Developer Stats" section.

* info/sppm.texi (Making Releases): Use git to create diff from
previous versions.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
11 years agoFix SuSe build from Nelson
Steve Youngs [Wed, 2 May 2012 02:16:11 +0000 (12:16 +1000)]
Fix SuSe build from Nelson

* merges:
  Fix SuSE build

11 years agoFix SuSE build
Nelson Ferreira [Tue, 1 May 2012 06:50:45 +0000 (02:50 -0400)]
Fix SuSE build

Signed-off-by: Nelson Ferreira <njsf@sxemacs.org>
11 years agoMacOS build fixes from Nelson
Steve Youngs [Tue, 1 May 2012 02:42:38 +0000 (12:42 +1000)]
MacOS build fixes from Nelson

* merges:
  Fix build in MacOS after ent changes

11 years agoFix build in MacOS after ent changes
Nelson Ferreira [Mon, 30 Apr 2012 22:18:43 +0000 (18:18 -0400)]
Fix build in MacOS after ent changes

* modules/cl/cl.c: Add ent/ent.h include
* src/alloc.c: Add ent/ent.h, ent/ent-float.h and ent/ent-mpfr.h includes
* src/ent/ent-float.h: Include ent/ent-optable.h and
ent/ent-lift.h which define symbols used

* src/ent/ent-gaussian.c: Ditto.

* src/ent/ent-inf.h: Add additional includes (like in ent.h) for
the cases when ent.h was not included.

* src/ent/ent-mpc.c: Include ent.h and ent-mpfr.h

* src/ent/ent-mpfr.c: Include ent.h, and optable, lift and indef

* src/ent/ent-mpfr.h: Include ent-indef.h

* src/ent/ent-quatern.c: Include ent.h

* src/media/media.c: Include ent/ent.h

* src/ui/glyphs.c: Include ent/ent-float.h

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
12 years agoFixes bug #136 from Sebastian
Steve Youngs [Fri, 13 Apr 2012 01:37:10 +0000 (11:37 +1000)]
Fixes bug #136 from Sebastian

* merges:
  fix, initialise auto_remove_nodes upon ase_make_digraph()
  fix, do not finalise event queues during the dump phase

12 years agoMerge branch 'bug/136' into next
Sebastian Freundt [Thu, 12 Apr 2012 15:55:38 +0000 (15:55 +0000)]
Merge branch 'bug/136' into next

* bug/136:
  fix, initialise auto_remove_nodes upon ase_make_digraph()

This changeset tries the best to fix bug #136.  An uninitialised value
has been used for branching (the auto_remove_nodes slot)

* modules/ase/ase-digraph.c: fix, initialise slots that are being used.

12 years agofix, initialise auto_remove_nodes upon ase_make_digraph()
Sebastian Freundt [Thu, 12 Apr 2012 15:55:29 +0000 (15:55 +0000)]
fix, initialise auto_remove_nodes upon ase_make_digraph()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agoMerge branch 'bug/135' into next
Sebastian Freundt [Thu, 12 Apr 2012 15:38:42 +0000 (15:38 +0000)]
Merge branch 'bug/135' into next

* bug/135:
  fix, do not finalise event queues during the dump phase

This changeset is a follow-up to my previous go at bug #135.
This ensures that the event queue is not freed during the dump phase.

* src/events/event-queue.c: fix, respect for_disksave argument

12 years agofix, do not finalise event queues during the dump phase
Sebastian Freundt [Thu, 12 Apr 2012 15:37:26 +0000 (15:37 +0000)]
fix, do not finalise event queues during the dump phase

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agoFix build on powerpc64 from Sebastian
Steve Youngs [Thu, 5 Apr 2012 23:32:46 +0000 (09:32 +1000)]
Fix build on powerpc64 from Sebastian

* merges:
  fix, adhere to prototypes in libpq-he.h, use size_t* instead of unsigned int*
  fix to fix, PEBKAC, also include ent.h goodies in cl-loop code
  minor, clarify usage of ase_ffsl in skiplist.c
  minor, provide (missing) ffsl for ppc64 and flsl for ppc and ppc64
  minor, provide __next_2power() from the bithacks web site
  cosmetics, include ent/ent.h (or one of its sub-includes) directly, take 2, ...
  cosmetics, include ent/ent.h (or one of its sub-includes) directly ...
  cosmetics, do not include all of ent.h in lisp.h ...

12 years agoMerge branch 'fix/pgapi' into next
Sebastian Freundt [Thu, 5 Apr 2012 15:32:38 +0000 (15:32 +0000)]
Merge branch 'fix/pgapi' into next

* fix/pgapi:
  fix, adhere to prototypes in libpq-he.h, use size_t* instead of unsigned int*

12 years agofix, adhere to prototypes in libpq-he.h, use size_t* instead of unsigned int*
Sebastian Freundt [Thu, 5 Apr 2012 15:31:30 +0000 (15:31 +0000)]
fix, adhere to prototypes in libpq-he.h, use size_t* instead of unsigned int*

* src/database/postgresql.c: unsigned int -> size_t

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agoMerge branch 'fix/ppc64' into next
Sebastian Freundt [Thu, 5 Apr 2012 15:17:03 +0000 (15:17 +0000)]
Merge branch 'fix/ppc64' into next

* fix/ppc64:
  fix to fix, PEBKAC, also include ent.h goodies in cl-loop code

12 years agofix to fix, PEBKAC, also include ent.h goodies in cl-loop code
Sebastian Freundt [Thu, 5 Apr 2012 15:15:44 +0000 (15:15 +0000)]
fix to fix, PEBKAC, also include ent.h goodies in cl-loop code

This changeset cares about a forgotten include in cl-loop.c.

* modules/cl/cl-loop.c: include ent.h here

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agoMerge branch 'fix/ppc64' into next
Sebastian Freundt [Thu, 5 Apr 2012 14:11:16 +0000 (14:11 +0000)]
Merge branch 'fix/ppc64' into next

* fix/ppc64:
  minor, clarify usage of ase_ffsl in skiplist.c
  minor, provide (missing) ffsl for ppc64 and flsl for ppc and ppc64
  minor, provide __next_2power() from the bithacks web site
  cosmetics, include ent/ent.h (or one of its sub-includes) directly, take 2, ...
  cosmetics, include ent/ent.h (or one of its sub-includes) directly ...
  cosmetics, do not include all of ent.h in lisp.h ...

This changeset fixes issues with the ppc64 build whilst cleaning up
the lisp header (lisp.h) at the same time.

* modules/ase/ase.c: include ent bits here

* modules/cl/cl-loop.h: include ent bits here

* src/alloc.c: include ent bits here

* src/bloom.c: include ent bits here

* src/bytecode.c: include ent bits here

* src/callint.c: include ent bits here

* src/data.c: include ent bits here

* src/doprnt.c: include ent bits here

* src/editfns.c: include ent bits here

* src/effi.c: include ent bits here

* src/elhash.c: include ent bits here

* src/ent/ent-binary-op.c: include ent bits here

* src/ent/ent-binary-rel.c: include ent bits here

* src/ent/ent-float.c: include ent bits here

* src/ent/ent-gmp.c: include ent bits here

* src/ent/ent-indef.c: include ent bits here

* src/ent/ent-int.c: include ent bits here

* src/ent/ent-lift.c: include ent bits here

* src/ent/ent-nullary-op.c: include ent bits here

* src/ent/ent-unary-op.c: include ent bits here

* src/ent/ent-unary-rel.c: include ent bits here

* src/ent/ent.h: provide missing ffs and fls bits

* src/ent/floatfns.c: include ent bits here

* src/events/event-stream.c: include ent bits here

* src/fileio.c: include ent bits here

* src/fns.c: include ent bits here

* src/lisp.h: remove ent bits here, keep ent-int.h though
  provide __next_2power() based on a hack from the bithack website

* src/lread.c: include ent bits here

* src/map.c: include ent bits here

* src/media/sound.c: include ent bits here

* src/skiplist.c: include ent bits here

* src/sysdep.c: include ent bits here

* src/ui/TTY/objects-tty.c: include ent bits here

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agominor, clarify usage of ase_ffsl in skiplist.c
Sebastian Freundt [Thu, 5 Apr 2012 13:54:35 +0000 (13:54 +0000)]
minor, clarify usage of ase_ffsl in skiplist.c

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agominor, provide (missing) ffsl for ppc64 and flsl for ppc and ppc64
Sebastian Freundt [Thu, 5 Apr 2012 13:53:38 +0000 (13:53 +0000)]
minor, provide (missing) ffsl for ppc64 and flsl for ppc and ppc64

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agominor, provide __next_2power() from the bithacks web site
Sebastian Freundt [Thu, 5 Apr 2012 12:46:12 +0000 (12:46 +0000)]
minor, provide __next_2power() from the bithacks web site

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agocosmetics, include ent/ent.h (or one of its sub-includes) directly, take 2, ...
Sebastian Freundt [Thu, 5 Apr 2012 12:44:52 +0000 (12:44 +0000)]
cosmetics, include ent/ent.h (or one of its sub-includes) directly, take 2, ...

This changeset will have a follow-up that fixes the lisp.h b0rkedness

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agocosmetics, include ent/ent.h (or one of its sub-includes) directly ...
Sebastian Freundt [Thu, 5 Apr 2012 11:47:23 +0000 (11:47 +0000)]
cosmetics, include ent/ent.h (or one of its sub-includes) directly ...

This changeset will still have follow-ups that rectify the situation in files
that used some of the macros defined by ent.h (and its includes).

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agocosmetics, do not include all of ent.h in lisp.h ...
Sebastian Freundt [Thu, 5 Apr 2012 10:51:42 +0000 (10:51 +0000)]
cosmetics, do not include all of ent.h in lisp.h ...

This changeset will have follow-ups that rectify the situation in files that actually
do need some stuff of ent.h (and its includes).

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agoUI related fixes/improvements from Nelson
Steve Youngs [Thu, 29 Mar 2012 23:54:35 +0000 (09:54 +1000)]
UI related fixes/improvements from Nelson

* merges:
  Disable non UI build. Too much going wrong for that to work
  Only used old_fcntl_owner when compiling unixoid event loop
  Remove old file moved away
  Make FD_TO_USID available to non-unixoid event loops
  Only abort due to no-tty when interactive
  Move src/objects.c to src/ui
  Move src/objects.c to src/ui

12 years agoDisable non UI build. Too much going wrong for that to work
Nelson Ferreira [Tue, 27 Mar 2012 18:11:31 +0000 (15:11 -0300)]
Disable non UI build. Too much going wrong for that to work

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
12 years agoOnly used old_fcntl_owner when compiling unixoid event loop
Nelson Ferreira [Thu, 22 Mar 2012 01:58:00 +0000 (22:58 -0300)]
Only used old_fcntl_owner when compiling unixoid event loop

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
12 years agoRemove old file moved away
Nelson Ferreira [Thu, 22 Mar 2012 01:56:26 +0000 (22:56 -0300)]
Remove old file moved away

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
12 years agoMake FD_TO_USID available to non-unixoid event loops
Nelson Ferreira [Thu, 22 Mar 2012 01:55:03 +0000 (22:55 -0300)]
Make FD_TO_USID available to non-unixoid event loops

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
12 years agoOnly abort due to no-tty when interactive
Nelson Ferreira [Thu, 22 Mar 2012 01:54:03 +0000 (22:54 -0300)]
Only abort due to no-tty when interactive

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
12 years agoMove src/objects.c to src/ui
Nelson Ferreira [Thu, 22 Mar 2012 01:51:49 +0000 (22:51 -0300)]
Move src/objects.c to src/ui

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
12 years agoMove src/objects.c to src/ui
Nelson Ferreira [Thu, 22 Mar 2012 01:51:29 +0000 (22:51 -0300)]
Move src/objects.c to src/ui

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
12 years agoFix dumpfile from Sebastian
Steve Youngs [Fri, 16 Mar 2012 23:45:08 +0000 (09:45 +1000)]
Fix dumpfile from Sebastian

* merges:
  Summary: major, rename .dmp file once more Keywords: bldchn dist
  Summary: minor, kick sheap and friends Keywords: bldchn dumper
  fix dist, configfsf.guess and configfsf.sub are also needed

12 years agoMerge branch 'bldchn' into next
Sebastian Freundt [Fri, 16 Mar 2012 11:23:22 +0000 (11:23 +0000)]
Merge branch 'bldchn' into next

* bldchn:
  Summary: major, rename .dmp file once more Keywords: bldchn dist
  Summary: minor, kick sheap and friends Keywords: bldchn dumper
  fix dist, configfsf.guess and configfsf.sub are also needed

12 years agoSummary: major, rename .dmp file once more
Sebastian Freundt [Fri, 16 Mar 2012 11:02:36 +0000 (11:02 +0000)]
Summary: major, rename .dmp file once more
Keywords: bldchn dist

This changeset outroduces the nuisance caused by the big build chain
clean up.  In particular, the dump file name is now just sxemacs.dmp,
seeing as the version number in it was just redundant as it resides in
$(archlibdir) which contains a version number already.

* src/Makefile.am: dump file in $(archlibdir) needs no version number

* src/dumper.c: reduce pdump_file_try() massively

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agoSummary: minor, kick sheap and friends
Sebastian Freundt [Fri, 16 Mar 2012 10:33:14 +0000 (10:33 +0000)]
Summary: minor, kick sheap and friends
Keywords: bldchn dumper

This changeset eradicates sheap.c and its usage in the dumping process,
since pdump is always and everywhere on.

* configure.ac: don't bother checking for SHEAP usage

* src/Makefile.am: kick sheap mumbojumbo

* src/emacs.c: kick references to sheap

* src/sheap.c: gone

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agofix dist, configfsf.guess and configfsf.sub are also needed
Ruediger Meier [Thu, 15 Mar 2012 21:06:50 +0000 (22:06 +0100)]
fix dist, configfsf.guess and configfsf.sub are also needed

12 years agoLoads of build chain fixups from Sebastian
Steve Youngs [Thu, 15 Mar 2012 22:11:56 +0000 (08:11 +1000)]
Loads of build chain fixups from Sebastian

* merges:
  cosmetics, list Installation and cpuid in distclean-local hook
  fix, comb out double-/ hiccups in invocation-{name,directory}
  chore, bldchn, remove dump file upon make uninstall
  chore, major, do not include dump id in dump file name
  Summary: minor, bring back dist targets Keywords: bldchn dist doc
  doc, fix, do not use structure (@unnumberedsec) inside @enumerate
  chore, mention src/sxemacs in gitignore fully qualified
  doc, fix, do not use @heading in @enumerate
  chore, list ALL texi files in info/ and subdirs
  fix, do not use @anchor in structuring commands
  chore, remove TEXI2DVI redefinitions
  chore, mention build chain .el files in lisp's Makefile.am
  chore, mention headers needed for the ase-set emod
  chore, move systty.h to src/ui/TTY/
  chore, put sxe-utils.h into distribution
  chore, remove VPATH fiddling from sxe-srctree.m4
  chore, don't mention non-existing files in Makefile.am's
  chore, name ase-resclass-test.el correctly
  chore, don't mention non-existing files in Makefile.am's

12 years agocosmetic fixes from Rudi
Steve Youngs [Thu, 15 Mar 2012 21:43:10 +0000 (07:43 +1000)]
cosmetic fixes from Rudi

* merges:
  cosmetics, correct fsf address in COPYING.LIB
  fix warnings, control reaches end of non-void function

12 years agoMerge branch 'bldchn' into next
Sebastian Freundt [Thu, 15 Mar 2012 18:20:27 +0000 (18:20 +0000)]
Merge branch 'bldchn' into next

* bldchn:
  cosmetics, list Installation and cpuid in distclean-local hook
  fix, comb out double-/ hiccups in invocation-{name,directory}
  chore, bldchn, remove dump file upon make uninstall
  chore, major, do not include dump id in dump file name

12 years agocosmetics, list Installation and cpuid in distclean-local hook
Sebastian Freundt [Thu, 15 Mar 2012 18:00:14 +0000 (18:00 +0000)]
cosmetics, list Installation and cpuid in distclean-local hook

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agofix, comb out double-/ hiccups in invocation-{name,directory}
Sebastian Freundt [Thu, 15 Mar 2012 17:03:56 +0000 (17:03 +0000)]
fix, comb out double-/ hiccups in invocation-{name,directory}

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agochore, bldchn, remove dump file upon make uninstall
Sebastian Freundt [Thu, 15 Mar 2012 17:01:23 +0000 (17:01 +0000)]
chore, bldchn, remove dump file upon make uninstall

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agochore, major, do not include dump id in dump file name
Sebastian Freundt [Thu, 15 Mar 2012 17:00:39 +0000 (17:00 +0000)]
chore, major, do not include dump id in dump file name

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agoMerge branch 'bldchn' into next
Sebastian Freundt [Thu, 15 Mar 2012 18:19:12 +0000 (18:19 +0000)]
Merge branch 'bldchn' into next

* bldchn:
  Summary: minor, bring back dist targets Keywords: bldchn dist doc
  doc, fix, do not use structure (@unnumberedsec) inside @enumerate
  chore, mention src/sxemacs in gitignore fully qualified
  doc, fix, do not use @heading in @enumerate
  chore, list ALL texi files in info/ and subdirs
  fix, do not use @anchor in structuring commands
  chore, remove TEXI2DVI redefinitions
  chore, mention build chain .el files in lisp's Makefile.am
  chore, mention headers needed for the ase-set emod
  chore, move systty.h to src/ui/TTY/
  chore, put sxe-utils.h into distribution
  chore, remove VPATH fiddling from sxe-srctree.m4
  chore, don't mention non-existing files in Makefile.am's
  chore, name ase-resclass-test.el correctly
  chore, don't mention non-existing files in Makefile.am's

12 years agoSummary: minor, bring back dist targets
Sebastian Freundt [Thu, 15 Mar 2012 12:09:29 +0000 (12:09 +0000)]
Summary: minor, bring back dist targets
Keywords: bldchn dist doc

This changeset brings back the dist targets, in particular `distcheck'.
On the way there loads of cleaning up is done.

* .gitignore: explicitly mention src/sxemacs* (naming conflict)

* Makefile.am: major, allow dist again

* info/Makefile.am: kick TEXI2DVI redefinitions
  list all .texi files (recursively)

* info/lispref/intro.texi: fix up @heading in @enumerate

* info/sppm.texi: fix up @anchor in structuring commands

* info/sxemacs/new.texi: fix up @unnumberedsec in @enumerate

* lib-src/Makefile.am: kick ad2c script from the dist

* lisp/Makefile.am: mention build chain .el's

* m4/sxe-srctree.m4: remove VPATH fiddling ... this needs investigating
  who put it there and why?

* modules/ase/Makefile.am: ship with header files

* src/Makefile.am: ship with sxe-utils.h

* src/callproc.c: move systty.h to src/ui/TTY/

* src/emacs.c: move systty.h to src/ui/TTY/

* src/process-unix.c: move systty.h to src/ui/TTY/

* src/process.c: move systty.h to src/ui/TTY/

* src/sysdep.c: move systty.h to src/ui/TTY/

* src/ui/TTY/Makefile.am: move systty.h to src/ui/TTY/

* src/ui/TTY/console-tty.h: move systty.h to src/ui/TTY/

* src/ui/TTY/systty.h: move systty.h to src/ui/TTY/

* src/ui/systty.h: move from to src/ui

* tests/Makefile.am: typo

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agodoc, fix, do not use structure (@unnumberedsec) inside @enumerate
Sebastian Freundt [Thu, 15 Mar 2012 07:45:47 +0000 (07:45 +0000)]
doc, fix, do not use structure (@unnumberedsec) inside @enumerate

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agochore, mention src/sxemacs in gitignore fully qualified
Sebastian Freundt [Thu, 15 Mar 2012 07:45:16 +0000 (07:45 +0000)]
chore, mention src/sxemacs in gitignore fully qualified

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agodoc, fix, do not use @heading in @enumerate
Sebastian Freundt [Thu, 15 Mar 2012 07:39:25 +0000 (07:39 +0000)]
doc, fix, do not use @heading in @enumerate

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agochore, list ALL texi files in info/ and subdirs
Sebastian Freundt [Wed, 14 Mar 2012 15:22:35 +0000 (15:22 +0000)]
chore, list ALL texi files in info/ and subdirs

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agofix, do not use @anchor in structuring commands
Sebastian Freundt [Wed, 14 Mar 2012 14:42:06 +0000 (14:42 +0000)]
fix, do not use @anchor in structuring commands

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agochore, remove TEXI2DVI redefinitions
Sebastian Freundt [Wed, 14 Mar 2012 12:49:34 +0000 (12:49 +0000)]
chore, remove TEXI2DVI redefinitions

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agochore, mention build chain .el files in lisp's Makefile.am
Sebastian Freundt [Wed, 14 Mar 2012 12:47:09 +0000 (12:47 +0000)]
chore, mention build chain .el files in lisp's Makefile.am

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agochore, mention headers needed for the ase-set emod
Sebastian Freundt [Wed, 14 Mar 2012 09:34:00 +0000 (09:34 +0000)]
chore, mention headers needed for the ase-set emod

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agochore, move systty.h to src/ui/TTY/
Sebastian Freundt [Wed, 14 Mar 2012 08:41:39 +0000 (08:41 +0000)]
chore, move systty.h to src/ui/TTY/

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agochore, put sxe-utils.h into distribution
Sebastian Freundt [Wed, 14 Mar 2012 08:31:03 +0000 (08:31 +0000)]
chore, put sxe-utils.h into distribution

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agochore, remove VPATH fiddling from sxe-srctree.m4
Sebastian Freundt [Tue, 13 Mar 2012 17:21:02 +0000 (17:21 +0000)]
chore, remove VPATH fiddling from sxe-srctree.m4

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agochore, don't mention non-existing files in Makefile.am's
Sebastian Freundt [Tue, 13 Mar 2012 13:18:41 +0000 (13:18 +0000)]
chore, don't mention non-existing files in Makefile.am's

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agochore, name ase-resclass-test.el correctly
Sebastian Freundt [Tue, 13 Mar 2012 13:09:18 +0000 (13:09 +0000)]
chore, name ase-resclass-test.el correctly

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agochore, don't mention non-existing files in Makefile.am's
Sebastian Freundt [Tue, 13 Mar 2012 13:08:47 +0000 (13:08 +0000)]
chore, don't mention non-existing files in Makefile.am's

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agocosmetics, correct fsf address in COPYING.LIB
Ruediger Meier [Thu, 15 Mar 2012 11:36:51 +0000 (12:36 +0100)]
cosmetics, correct fsf address in COPYING.LIB

12 years agofix warnings, control reaches end of non-void function
Ruediger Meier [Thu, 15 Mar 2012 11:07:57 +0000 (12:07 +0100)]
fix warnings, control reaches end of non-void function

See also Nelson's "Coverity: Missing break" patches 09e0c4e2100ad363,
0c0a6fa6 and eef3d3ba.

12 years agoFix return on non-void function from Rudi
Steve Youngs [Thu, 15 Mar 2012 00:57:36 +0000 (10:57 +1000)]
Fix return on non-void function from Rudi

* merges:
  fix, return with no value, in function returning non-void

12 years agofix, return with no value, in function returning non-void
Ruediger Meier [Wed, 14 Mar 2012 16:55:55 +0000 (17:55 +0100)]
fix, return with no value, in function returning non-void

followup 4da01e95

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
12 years agoCoverity fixes from Nelson
Steve Youngs [Wed, 14 Mar 2012 02:10:25 +0000 (12:10 +1000)]
Coverity fixes from Nelson

* merges:
  Refactor
  Fix build
  Refactor
  Refactoring
  reflow
  Coverity CID 400832 Out of bounds access
  Small optimization

12 years agoMerge branch 'njsf-cov' into for-steve
Nelson Ferreira [Wed, 14 Mar 2012 00:11:04 +0000 (20:11 -0400)]
Merge branch 'njsf-cov' into for-steve

12 years agoRefactor
Nelson Ferreira [Wed, 14 Mar 2012 00:10:38 +0000 (20:10 -0400)]
Refactor

* src/mule/file-coding.c (autodetect_real_coding_system): New
function to reduce indentention of scope. Also as soon as stream
read fails, it returns, thus solving one of the coverity issues.
Several scope reduction refactorings.

* src/mule/file-coding.c (determine_real_coding_system): Call the
new function.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
12 years agoFix build
Nelson Ferreira [Mon, 12 Mar 2012 02:08:20 +0000 (22:08 -0400)]
Fix build

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
12 years agoRefactor
Nelson Ferreira [Mon, 12 Mar 2012 01:11:12 +0000 (21:11 -0400)]
Refactor

* src/mule/file-coding.c (determine_real_coding_system): Refactor
condition in inner for loop so that negative branch of the
condition will continue loop, and fall through is the old positive
condition branch.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
12 years agoRefactoring
Nelson Ferreira [Mon, 12 Mar 2012 01:01:50 +0000 (21:01 -0400)]
Refactoring

* src/mule/file-coding.c (determine_real_coding_system): Static
local variable for the mime name chars and some added explicit
scope braces.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
12 years agoreflow
Nelson Ferreira [Mon, 12 Mar 2012 00:57:30 +0000 (20:57 -0400)]
reflow

* src/mule/file-coding.c (determine_real_coding_system): Reflow to make it easier to read and refactor.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
12 years agoCoverity CID 400832 Out of bounds access
Nelson Ferreira [Sun, 11 Mar 2012 23:45:52 +0000 (19:45 -0400)]
Coverity CID 400832 Out of bounds access

* src/editfns.c (Ftemp_directory): Use proper size argument with xstrncat

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
12 years agoSmall optimization
Nelson Ferreira [Sun, 11 Mar 2012 23:42:58 +0000 (19:42 -0400)]
Small optimization

* src/emodules-ng.c (__emodng_open_append_exts): New remain variable to keep
invariant computation...
* src/emodules-ng.c (__emodng_open_prepend_paths_append_exts): Ditto.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
12 years agoClose Bug #135, fix test suite. From Sebastian
Steve Youngs [Fri, 9 Mar 2012 23:43:14 +0000 (09:43 +1000)]
Close Bug #135, fix test suite. From Sebastian

* merges:
  Summary: fix, initialise cat morphism array properly, harden the tests Keywords: fix bug 135
  fix, change order of bitset in lrecord struct, hash_cache last
  cosmetics, turn morphism extern_inlines into static inlines
  test, run test suite with MALLOC_PERTURB_ set to be extra-harsh to the code
  test, introduce regression test for one MALLOC_PERTURB_ triggered crash
  Summary: fix, make sure ase-heap emits all symbols it needs Keywords: bld/chn

12 years agoDon't put the dumpfile in bin dir from Rudi
Steve Youngs [Fri, 9 Mar 2012 23:26:07 +0000 (09:26 +1000)]
Don't put the dumpfile in bin dir from Rudi

* merges:
  bldchn fix, don't install buildir's dumpfile
  bldchn, install dumpfile into archlibdir
  try to read dumpfile also from libarchdir
  why the hell we don't have always EXEC_PATH available
  bldchn cleanup, remove/re-use some unused dumpfile related AM variables

12 years agoMerge branch 'bug/135' into next
Sebastian Freundt [Fri, 9 Mar 2012 17:16:28 +0000 (17:16 +0000)]
Merge branch 'bug/135' into next

* bug/135:
  Summary: fix, initialise cat morphism array properly, harden the tests Keywords: fix bug 135
  fix, change order of bitset in lrecord struct, hash_cache last
  cosmetics, turn morphism extern_inlines into static inlines
  test, run test suite with MALLOC_PERTURB_ set to be extra-harsh to the code
  test, introduce regression test for one MALLOC_PERTURB_ triggered crash

12 years agoSummary: fix, initialise cat morphism array properly, harden the tests
Sebastian Freundt [Fri, 9 Mar 2012 17:15:02 +0000 (17:15 +0000)]
Summary: fix, initialise cat morphism array properly, harden the tests
Keywords: fix bug 135

This changeset fixes an issue of using uninitialised memory (bug 135).

* src/lrecord.h (set_lheader_implementation): properly initialise lheaders

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agofix, change order of bitset in lrecord struct, hash_cache last
Sebastian Freundt [Fri, 9 Mar 2012 17:14:45 +0000 (17:14 +0000)]
fix, change order of bitset in lrecord struct, hash_cache last

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agocosmetics, turn morphism extern_inlines into static inlines
Sebastian Freundt [Fri, 9 Mar 2012 17:13:46 +0000 (17:13 +0000)]
cosmetics, turn morphism extern_inlines into static inlines

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agotest, run test suite with MALLOC_PERTURB_ set to be extra-harsh to the code
Sebastian Freundt [Fri, 9 Mar 2012 15:00:43 +0000 (15:00 +0000)]
test, run test suite with MALLOC_PERTURB_ set to be extra-harsh to the code

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agotest, introduce regression test for one MALLOC_PERTURB_ triggered crash
Sebastian Freundt [Fri, 9 Mar 2012 14:57:53 +0000 (14:57 +0000)]
test, introduce regression test for one MALLOC_PERTURB_ triggered crash

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agoMerge branch 'bld/x32' into next
Sebastian Freundt [Fri, 9 Mar 2012 12:31:01 +0000 (12:31 +0000)]
Merge branch 'bld/x32' into next

* bld/x32:
  Summary: fix, make sure ase-heap emits all symbols it needs Keywords: bld/chn

12 years agoSummary: fix, make sure ase-heap emits all symbols it needs
Sebastian Freundt [Fri, 9 Mar 2012 12:30:04 +0000 (12:30 +0000)]
Summary: fix, make sure ase-heap emits all symbols it needs
Keywords: bld/chn

This changeset fixes an issue with the ase-heap emodule.  Ctors and
wrappers are now declared and defined in the file that they're used.

* modules/ase/ase-heap.h: kick static inlines, no need to expose them

* modules/ase/ase-heap.c: soak up static inlines decls from the header

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
12 years agobldchn fix, don't install buildir's dumpfile
Ruediger Meier [Thu, 8 Mar 2012 14:32:00 +0000 (15:32 +0100)]
bldchn fix, don't install buildir's dumpfile

This problem became visible since we create the symlink within
archlibdir instead of bindir.
Also we delete $(bindir)/sxemacs.dmp from older installations
because unfortunately sxemacs would still try this first.

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
12 years agobldchn, install dumpfile into archlibdir
Ruediger Meier [Thu, 8 Mar 2012 14:16:55 +0000 (15:16 +0100)]
bldchn, install dumpfile into archlibdir

Also we only install the one which is named with dump_id.

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
12 years agotry to read dumpfile also from libarchdir
Ruediger Meier [Thu, 8 Mar 2012 14:01:43 +0000 (15:01 +0100)]
try to read dumpfile also from libarchdir

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
12 years agowhy the hell we don't have always EXEC_PATH available
Ruediger Meier [Thu, 8 Mar 2012 13:45:51 +0000 (14:45 +0100)]
why the hell we don't have always EXEC_PATH available

Does this break anything?

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
12 years agobldchn cleanup, remove/re-use some unused dumpfile related AM variables
Ruediger Meier [Wed, 7 Mar 2012 16:52:43 +0000 (17:52 +0100)]
bldchn cleanup, remove/re-use some unused dumpfile related AM variables

This does not change anything.

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
12 years agoCoverity and build fixes from Nelson
Steve Youngs [Wed, 7 Mar 2012 22:24:54 +0000 (08:24 +1000)]
Coverity and build fixes from Nelson

* merges:
  Coverity: CID 400010: Improper use of negative value
  Coverity: CID 400001: Logically dead code
  Coverity: CID 400005: Division or modulo by zero
  Coverity: CID 400007: Deference after null check
  Coverity: CID 400831: Out of bonds access
  Coverity: CID 400832: Out of bounds access
  Fix build
  Fix the relocate_fd
  Coverity CID 400833 UNINIT

12 years agoCoverity: CID 400010: Improper use of negative value
Nelson Ferreira [Wed, 7 Mar 2012 15:21:00 +0000 (10:21 -0500)]
Coverity: CID 400010: Improper use of negative value

* src/ui/minibuf.c (echo_area_append): Make sure length<0 also
returns early here.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
12 years agoMerge branch 'for-steve' into njsf-cov
Nelson Ferreira [Wed, 7 Mar 2012 14:58:51 +0000 (09:58 -0500)]
Merge branch 'for-steve' into njsf-cov

12 years agoCoverity: CID 400001: Logically dead code
Nelson Ferreira [Wed, 7 Mar 2012 14:41:24 +0000 (09:41 -0500)]
Coverity: CID 400001: Logically dead code

* lib-src/etags.c (get_language_from_filename): Rework code a
little so that Coverity does not get fooled by ternary operator.

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