sxemacs
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