bpt/guile.git
24 years ago* README: Updated with note about oldfmt.c.
Mikael Djurfeldt [Wed, 12 Jan 2000 01:53:48 +0000 (01:53 +0000)]
* README: Updated with note about oldfmt.c.

24 years ago*** empty log message ***
Greg J. Badros [Wed, 12 Jan 2000 01:53:13 +0000 (01:53 +0000)]
*** empty log message ***

24 years agoAdded proper entry for readline.c
Greg J. Badros [Wed, 12 Jan 2000 01:53:08 +0000 (01:53 +0000)]
Added proper entry for readline.c

24 years ago* scm_validate.h: Added SCM_NUM2LONG_DEF macro. Make
Greg J. Badros [Wed, 12 Jan 2000 01:51:18 +0000 (01:51 +0000)]
* scm_validate.h: Added SCM_NUM2LONG_DEF macro.  Make
SCM_OUT_OF_RANGE use SCM_MAKINUM, not scm_long2num.  Added
SCM_COERCE_ROSTRING macro.  Added SCM_VALIDATE_NONEMPTYLIST
macro.  Fix SCM_VALIDATE_STRINGORSUBSTR macro to not use SLOPPY
variants.

* ports.c (scm_port_closed_p): Validate that the arg is a PORT,
then return whether it's an open port (was validating that it was
an open port -- this was a bug I introduced back in December, but
my careful reading of diffs caught it).

* numbers.c: Recombine the two conditional-compilation paths for
all the log* primitives -- they were split based on #ifndef
scm_long2num;  factored out a SCM_LOGOP_RETURN macro, and fixed
some bugs and inconsistencies in the two sets of implementations.
(scm_lognot) Fixed *atrocious* re-use of a SCM as an integer!

* ioext.c: Use SCM_ASSERT_RANGE in a couple places, and
SCM_VALIDATE_INUM_COPY once where it should've been used.

* fluids.c (scm_internal_with_fluids): Use
SCM_VALIDATE_LIST_COPYLEN.

* filesys.c: Use SCM_NUM2LONG instead of SCM_VALIDATE_INUM_COPY;
this is questionable as it relaxes type safety, but other changes
were useful and all SCM_NUM2LONG's should probably be
revisited. Use SCM_OUT_OF_RANGE, SCM_WRONG_TYPE_ARG.

* evalext.c: line-break change on 1 line.

* eval.c (nconc2last): Takes a non-empty list as its first
argument, not just a list.

* dynl.c: Use new SCM_COERCE_ROSTRING macro.

24 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 12 Jan 2000 01:29:50 +0000 (01:29 +0000)]
*** empty log message ***

24 years ago* snarf.h (SCM_PROC1): Replaced SCM (*) (...) with
Mikael Djurfeldt [Wed, 12 Jan 2000 01:29:42 +0000 (01:29 +0000)]
* snarf.h (SCM_PROC1): Replaced SCM (*) (...) with
SCM_FUNC_CAST_ARBITRARY_ARGS.

24 years ago* dynl.c, feature.c, filesys.c, fports.c, list.c, load.c,
Greg J. Badros [Tue, 11 Jan 2000 23:56:47 +0000 (23:56 +0000)]
* dynl.c, feature.c, filesys.c, fports.c, list.c, load.c,
net_db.c, sort.c, stacks.c, unif.c: Use SCM_WTA, SCM_MISC_ERROR
where possible.

* symbols.c (scm_sysintern0): Fixed the function name in a
scm_misc_error invocation.

* print.c (scm_simple_format): Do not need SCM_COERCE_SUBSTR, and
use scm_return_first to ward off latent GC bug that Mikael caught.

* async.c: Use SCM_VALIDATE_ASYNC_COPY one place where it wasn't
used before but should've been.

24 years ago*** empty log message ***
Greg J. Badros [Tue, 11 Jan 2000 21:50:28 +0000 (21:50 +0000)]
*** empty log message ***

24 years ago* autogen.sh: Added messages as we run autogen in subdirectories.
Greg J. Badros [Tue, 11 Jan 2000 21:50:10 +0000 (21:50 +0000)]
* autogen.sh: Added messages as we run autogen in subdirectories.

* configure.in: Output libugile/guile-func-name-check script, and
chmod +x it.

24 years ago* guile-func-name-check.in: Added this script to statically check
Greg J. Badros [Tue, 11 Jan 2000 21:47:57 +0000 (21:47 +0000)]
* guile-func-name-check.in: Added this script to statically check
#define FUNC_NAME, #undef FUNC_NAME in the source.

* sort.c, posix.c: Fix #undef FUNC_NAME lines to not have trailing
redundant comment, semicolon; caught by new guile-func-name-check
script.

* debug.c: Fix mistaken #define FUNC_NAME for scm_make_iloc.
Caught by new guile-func-name-check-script.

* Makefile.am: Added guile-func-name-check to bin_SCRIPTS

* ramap.c: Fix #if 0'd out code to be syntactically acceptable to
guile-func-name-check.

* guile-doc-snarf.in: Run guile-func-name-check on the file before
doing the snarf.

24 years agoGrammar fix.
Marius Vollmer [Tue, 11 Jan 2000 20:35:05 +0000 (20:35 +0000)]
Grammar fix.

24 years ago*** empty log message ***
Marius Vollmer [Tue, 11 Jan 2000 20:33:40 +0000 (20:33 +0000)]
*** empty log message ***

24 years ago* libltdl/autogen.sh: New file.
Marius Vollmer [Tue, 11 Jan 2000 20:33:07 +0000 (20:33 +0000)]
* libltdl/autogen.sh: New file.
* autogen.sh: Invoke libltdl/autogen.sh.

24 years ago*** empty log message ***
Greg J. Badros [Tue, 11 Jan 2000 19:33:39 +0000 (19:33 +0000)]
*** empty log message ***

24 years ago* fports.c, ports.c, ports.h, strports.c, vports.c: Make write
Greg J. Badros [Tue, 11 Jan 2000 19:32:10 +0000 (19:32 +0000)]
* fports.c, ports.c, ports.h, strports.c, vports.c: Make write
port function take const void*, not void*.

24 years ago*** empty log message ***
Greg J. Badros [Tue, 11 Jan 2000 19:20:17 +0000 (19:20 +0000)]
*** empty log message ***

24 years ago* scm_validate.h, chars.c, ports.c, print.c, read.c, strings.c,
Greg J. Badros [Tue, 11 Jan 2000 19:19:59 +0000 (19:19 +0000)]
* scm_validate.h, chars.c, ports.c, print.c, read.c, strings.c,
strop.c: Use SCM_VALIDATE_ICHR, SCM_VALIDATE_ICHR_COPY instead of
SCM_VALIDATE_CHAR, SCM_VALIDATE_CHAR_COPY.  Change made for
consistency with the other macros dealing with immediate
characters.  (Similar to INT -> INUM change a week or so ago).

24 years ago*** empty log message ***
Greg J. Badros [Tue, 11 Jan 2000 18:52:55 +0000 (18:52 +0000)]
*** empty log message ***

24 years ago* boot-9.scm expect.scm, syncase.scm: Switch to new style
Greg J. Badros [Tue, 11 Jan 2000 18:52:25 +0000 (18:52 +0000)]
* boot-9.scm expect.scm, syncase.scm: Switch to new style
`simple-format' message strings: substitute ~A for %s, and ~S for
%S.

* boot-9.scm:  Added (define format simple-format) to expose that
primitive via the simpler name until format.scm is loaded.

24 years ago* dynl.c, error.c, eval.c, feature.c, filesys.c, fports.c, list.c, load.c,
Greg J. Badros [Tue, 11 Jan 2000 18:48:57 +0000 (18:48 +0000)]
* dynl.c, error.c, eval.c, feature.c, filesys.c, fports.c, list.c, load.c,
net_db.c, read.c, socket.c: Update error messages to use ~A for
%s, ~S for %S to work with new `simple-format' format and be
standardized better.

* print.h, print.c (scm_simple_format): Added `simple-format'
primitive.  It's the old scm_display_error, with ARGS now a rest
parameter, and the destination first instead of last (and a couple
new capabilities inspired by `format' -- #t as destination means
current-output-port, #f means return the formatted text as a
string.

* gh.h, gh_data.c, ports.h, ports.c: Added some missing const specifications.

* backtrace.c (scm_display_error_message): Rewrote to use
scm_simple_format() procedure.

* __scm.h: Added commented-out #define of GUILE_DEBUG_FREELIST

24 years ago* dynl-dl.c, dynl-dld.c, dynl-shl.c, dynl-vms.c: deleted
Marius Vollmer [Mon, 10 Jan 2000 00:48:00 +0000 (00:48 +0000)]
* dynl-dl.c, dynl-dld.c, dynl-shl.c, dynl-vms.c: deleted
(obsolete)

24 years ago* DYNAMIC-LINKING: Removed because it is obsolete.
Marius Vollmer [Mon, 10 Jan 2000 00:47:17 +0000 (00:47 +0000)]
* DYNAMIC-LINKING: Removed because it is obsolete.

24 years ago*** empty log message ***
Marius Vollmer [Mon, 10 Jan 2000 00:38:02 +0000 (00:38 +0000)]
*** empty log message ***

24 years ago* guile.c: register preloaded modules
Marius Vollmer [Mon, 10 Jan 2000 00:37:47 +0000 (00:37 +0000)]
* guile.c: register preloaded modules

24 years ago* dynl.c: Use ANSI prototypes.
Marius Vollmer [Mon, 10 Jan 2000 00:36:26 +0000 (00:36 +0000)]
* dynl.c: Use ANSI prototypes.
(sysdep_dynl_link): Use lt_dlopenext instead of lt_dlopen.
* dynl.c: use libltdl if DYNAMIC_LINKING is enabled,

24 years ago* dynl-dl.c, dynl-dld.c, dynl-shl.c, dynl-vms.c: deleted
Marius Vollmer [Mon, 10 Jan 2000 00:35:30 +0000 (00:35 +0000)]
* dynl-dl.c, dynl-dld.c, dynl-shl.c, dynl-vms.c: deleted
(obsolete)
* Makefile.am: likewise, add INCLTDL (libltdl headers) to
INCLUDES, set dlpreopened files in LDFLAGS, link libguile
against libltdl
* DYNAMIC-LINKING: Removed because it is obsolete.

24 years ago* boot-9.scm (try-using-libtool-name): Do not bother to look
Marius Vollmer [Mon, 10 Jan 2000 00:33:39 +0000 (00:33 +0000)]
* boot-9.scm (try-using-libtool-name): Do not bother to look
inside libtool ".la" file, dynamic-link does this for us now.

24 years ago* configure.in: Make "--with-modules=yes" the default. Do not
Marius Vollmer [Mon, 10 Jan 2000 00:32:37 +0000 (00:32 +0000)]
* configure.in: Make "--with-modules=yes" the default.  Do not
clear INCLTDL, LIBLTDL prior to processing "--with-modules".
* configure.in: replace --enable-dynamic-linking with
--with-modules, required modules can be specified using
--with-modules="/path/to/mod.la" and will be linked
statically on platforms that don't support dynamic loading,
configure libltdl, configure libtool for dlopening

24 years ago* acinclude.m4: remove GUILE_DLSYM_USCORE, add libtool.m4
Marius Vollmer [Mon, 10 Jan 2000 00:31:35 +0000 (00:31 +0000)]
* acinclude.m4: remove GUILE_DLSYM_USCORE, add libtool.m4
  (no need to install libtool any more)

24 years agoAdded blurb about libltdl support.
Marius Vollmer [Sun, 9 Jan 2000 21:50:39 +0000 (21:50 +0000)]
Added blurb about libltdl support.

24 years ago* Makefile.am: add libltdl to SUBDIRS, automake automatically
Marius Vollmer [Sun, 9 Jan 2000 21:46:51 +0000 (21:46 +0000)]
* Makefile.am: add libltdl to SUBDIRS, automake automatically
  includes ltconfig, ltmain.sh and acconfig.h in EXTRA_DIST

24 years ago* libltdl: added using libtoolize -c --ltdl
Marius Vollmer [Sun, 9 Jan 2000 21:40:28 +0000 (21:40 +0000)]
* libltdl: added using libtoolize -c --ltdl

24 years ago * configure.in: check whether localtime caches TZ. copied from
Gary Houston [Sun, 9 Jan 2000 20:50:03 +0000 (20:50 +0000)]
* configure.in: check whether localtime caches TZ.  copied from
Emacs 20.5.
* acconfig.h: add LOCALTIME_CACHE.

* These changes should make it unnecessary to call tzset from
Scheme after modifying the TZ environment variable, even if the
system date facilities cache the value.
* stime.c (setzone, scm_localtime): added comments.
(tzset): don't define a noop tzset macro if HAVE_TZSET not defined.
(setzone): don't call tzset.
(restorezone): call tzset only if HAVE_TZSET is defined.
(scm_tzset): don't define if HAVE_TZSET not defined.  Change the
doc string to indicate that this procedure isn't likely to do
anything useful.
(scm_localtime, scm_strftime, scm_mktime): call tzset if
LOCALTIME_CACHE is defined.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 9 Jan 2000 17:08:25 +0000 (17:08 +0000)]
*** empty log message ***

24 years ago* readline.c (match_paren): Changed return type to int (this is
Mikael Djurfeldt [Sun, 9 Jan 2000 17:01:34 +0000 (17:01 +0000)]
* readline.c (match_paren): Changed return type to int (this is
the definition in readline 4) and modified code layout according
to GNU coding standards.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 9 Jan 2000 16:09:22 +0000 (16:09 +0000)]
*** empty log message ***

24 years ago* posix.c (scm_sync): Return SCM_UNSPECIFIED.
Mikael Djurfeldt [Sun, 9 Jan 2000 16:09:15 +0000 (16:09 +0000)]
* posix.c (scm_sync): Return SCM_UNSPECIFIED.

24 years ago * eval.c: define scm_unbound_variable_key ('unbound-variable).
Gary Houston [Sun, 9 Jan 2000 13:41:53 +0000 (13:41 +0000)]
* eval.c: define scm_unbound_variable_key ('unbound-variable).
scm_lookupcar1: throw an error with key 'unbound-variable instead
of 'misc-error when an unbound variable is encountered.

* filesys.c (scm_mkdir, scm_rmdir, scm_getcwd, scm_select,
scm_symlink, scm_readlink, scm_lstat),
posix.c (scm_setpgid, scm_setsid, scm_ctermid, scm_tcgetpgrp,
scm_tcsetpgrp, scm_uname, scm_setlocale, scm_mknod, scm_nice,
scm_sync),
simpos.c (scm_system),
stime.c (scm_times, scm_strptime):
move the HAVE_XXX feature tests out of the procedure bodies.
don't use SCM_SYSMISSING.
scm_validate.h (SCM_SYSMISSING): removed.
error.h, error.c (scm_sysmissing): comment that this is deprecated.
see ChangeLog entry for 1999-12-28.

24 years ago*** empty log message ***
Greg J. Badros [Sun, 9 Jan 2000 03:52:36 +0000 (03:52 +0000)]
*** empty log message ***

24 years ago* scm_validate.h (SCM_VALIDATE_BOOL_COPY): Fix typo.
Greg J. Badros [Sun, 9 Jan 2000 03:52:29 +0000 (03:52 +0000)]
* scm_validate.h (SCM_VALIDATE_BOOL_COPY): Fix typo.

24 years ago* backtrace.c: Fix spelling typo in a comment.
Greg J. Badros [Sun, 9 Jan 2000 01:07:17 +0000 (01:07 +0000)]
* backtrace.c: Fix spelling typo in a comment.

* snarf.h: Use new SCM_DOCS macro to encapsulate the non SCM_INIT
text.  Reformatted some of the expansions.

24 years agoCosmetic fixes
Mikael Djurfeldt [Sat, 8 Jan 2000 01:09:11 +0000 (01:09 +0000)]
Cosmetic fixes

24 years ago*** empty log message ***
Greg J. Badros [Fri, 7 Jan 2000 23:54:40 +0000 (23:54 +0000)]
*** empty log message ***

24 years ago* scm_validate.h (SCM_OUT_OF_RANGE): Use scm_out_of_range_pos to
Greg J. Badros [Fri, 7 Jan 2000 23:53:20 +0000 (23:53 +0000)]
* scm_validate.h (SCM_OUT_OF_RANGE): Use scm_out_of_range_pos to
report the position of the argument.

* error.h, error.c (scm_out_of_range_pos):  Added this function to
take extra "pos" argument, the position number of the errant
argument.

* debug.c: Use SCM_OUT_OF_RANGE instead of scm_out_of_range.

* snarf.h: Use SCM_HERE and SCM_INIT as names, not SCM_NOTSNARF
and SCM_SNARFING.  Also put the %%% in the SCM_INIT since Mikael
prefers that and I'm reasonably indifferent.

24 years ago* snarf.h (SCM_INSITU, SCM_INIT): Resurrected.
Mikael Djurfeldt [Fri, 7 Jan 2000 23:33:29 +0000 (23:33 +0000)]
* snarf.h (SCM_INSITU, SCM_INIT): Resurrected.

24 years ago* snarf.h: Factor out differences between C++ and non-C++ into
Greg J. Badros [Fri, 7 Jan 2000 23:05:04 +0000 (23:05 +0000)]
* snarf.h: Factor out differences between C++ and non-C++ into
SCM_FUNC_CAST_ARBITRARY_ARGS macro.  Modify all the snarf macro
definitions to use SCM_NOTSNARF and SCM_SNARFING macros (like
Mikael's macros, below, but changed names and SCM_SNARFING no
longer expands to include %%% -- that must appear in the argument
so that the token appears at the call-site as a reminder).

24 years agoAdded extra newline in SCM_INIT macro.
Mikael Djurfeldt [Fri, 7 Jan 2000 00:51:16 +0000 (00:51 +0000)]
Added extra newline in SCM_INIT macro.

24 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 7 Jan 2000 00:29:39 +0000 (00:29 +0000)]
*** empty log message ***

24 years ago* snarf.h (SCM_INSITU, SCM_INIT): New snarf macros for use in user
Mikael Djurfeldt [Fri, 7 Jan 2000 00:29:28 +0000 (00:29 +0000)]
* snarf.h (SCM_INSITU, SCM_INIT): New snarf macros for use in user
snarf macro definitions.

24 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 6 Jan 2000 22:13:34 +0000 (22:13 +0000)]
*** empty log message ***

24 years ago* chars.c (scm_integer_to_char): Use Greg's nice
Mikael Djurfeldt [Thu, 6 Jan 2000 22:13:25 +0000 (22:13 +0000)]
* chars.c (scm_integer_to_char): Use Greg's nice
SCM_VALIDATE_INUM_RANGE macro for argument checking for closer
adherence to R5RS.

24 years ago*** empty log message ***
Greg J. Badros [Thu, 6 Jan 2000 19:52:01 +0000 (19:52 +0000)]
*** empty log message ***

24 years ago* *.c, snarf.h: Replace GUILE_PROC1 with SCM_DEFINE1 throughout.
Greg J. Badros [Thu, 6 Jan 2000 19:51:45 +0000 (19:51 +0000)]
* *.c, snarf.h: Replace GUILE_PROC1 with SCM_DEFINE1 throughout.

24 years ago*** empty log message ***
Greg J. Badros [Thu, 6 Jan 2000 19:23:55 +0000 (19:23 +0000)]
*** empty log message ***

24 years ago* Makefile.am (ETAGS_ARGS): Switch to SCM_DEFINE, SCM_DEFINE1
Greg J. Badros [Thu, 6 Jan 2000 19:23:40 +0000 (19:23 +0000)]
* Makefile.am (ETAGS_ARGS): Switch to SCM_DEFINE, SCM_DEFINE1
instead of GUILE_PROC.

24 years ago* alist.c: Do not report mismatch errors on some uses of `tmp' (do
Greg J. Badros [Thu, 6 Jan 2000 19:22:43 +0000 (19:22 +0000)]
* alist.c: Do not report mismatch errors on some uses of `tmp' (do
this by using SCM_ARG2 instead of `2' in the SCM_VALIDATE_CONS
macro call.

24 years ago*** empty log message ***
Greg J. Badros [Thu, 6 Jan 2000 18:16:44 +0000 (18:16 +0000)]
*** empty log message ***

24 years agoscm_validate.h: Remove some redundant NIMP tests.
Greg J. Badros [Thu, 6 Jan 2000 18:04:14 +0000 (18:04 +0000)]
scm_validate.h: Remove some redundant NIMP tests.

24 years agoscm_validate.h: Remove some redundant NIMP tests.
Greg J. Badros [Thu, 6 Jan 2000 18:02:16 +0000 (18:02 +0000)]
scm_validate.h: Remove some redundant NIMP tests.

24 years ago* alist.c: minimize scope of the tmp variables, and initialize
Greg J. Badros [Thu, 6 Jan 2000 18:00:33 +0000 (18:00 +0000)]
* alist.c: minimize scope of the tmp variables, and initialize
them when declared. The strange SCM_NIMP tests are replaced by
SCM_CONSP tests that more closely reflect the intended semantics.
However, we don't get a performance penalty here, because the
SCM_CONSP test was performed by the ALISTCELL test anyway.  * The
extremely ugly use of ASRTGO macros was removed: The calls to
ASRTGO were not encapsulated by "#ifndef SCM_RECKLESS", but got a
label parameter that only exists when SCM_RECKLESS is not defined.
This works, because ASRTGO itself is defined in a way that it only
makes use of the label parameter if SCM_RECKLESS is not defined
(shudder!).  Does guile make at all use of the possibility to
define SCM_RECKLESS?  * Codesize is likely to be reduced, since
instead of two calls to SCM_ASSERT performed by the ALISTCELL test
we now only get one test.

* list.c: Use SCM_NNULLP, not SCM_NIMP as appropriate.  Also use
SCM_NULLP instead of SCM_IMP.  Drop use of "register" keyword on
some variables in `list?'.  Fix `reverse' and `reverse!'
primitives to handle improper lists better.

24 years ago*** empty log message ***
Greg J. Badros [Thu, 6 Jan 2000 16:44:56 +0000 (16:44 +0000)]
*** empty log message ***

24 years ago* *.[ch]: Whitespace changes -- added space after SCM_VALIDATE_*
Greg J. Badros [Wed, 5 Jan 2000 19:25:37 +0000 (19:25 +0000)]
* *.[ch]: Whitespace changes -- added space after SCM_VALIDATE_*
macros and SCM_DEFINE macros to match GNU coding standards.

24 years ago* readline.c: Whitespace changes -- added space after
Greg J. Badros [Wed, 5 Jan 2000 19:20:06 +0000 (19:20 +0000)]
* readline.c: Whitespace changes -- added space after
SCM_VALIDATE_* macros to match GNU coding standards.

24 years ago*** empty log message ***
Greg J. Badros [Wed, 5 Jan 2000 19:12:12 +0000 (19:12 +0000)]
*** empty log message ***

24 years agoReplace GUILE_PROC w/ SCM_DEFINE.
Greg J. Badros [Wed, 5 Jan 2000 19:06:35 +0000 (19:06 +0000)]
Replace GUILE_PROC w/ SCM_DEFINE.

24 years ago*.[ch]: Replace GUILE_PROC w/ SCM_DEFINE.
Greg J. Badros [Wed, 5 Jan 2000 19:05:23 +0000 (19:05 +0000)]
*.[ch]: Replace GUILE_PROC w/ SCM_DEFINE.

24 years ago*** empty log message ***
Greg J. Badros [Wed, 5 Jan 2000 19:00:31 +0000 (19:00 +0000)]
*** empty log message ***

24 years ago* *.[ch]: Replace SCM_VALIDATE_INT w/ SCM_VALIDATE_INUM for
Greg J. Badros [Wed, 5 Jan 2000 19:00:03 +0000 (19:00 +0000)]
* *.[ch]:  Replace SCM_VALIDATE_INT w/ SCM_VALIDATE_INUM for
better consistency with the names of other SCM_VALIDATE_ macros
and better conformance to guile naming policy.

24 years agoTypo fix.
Greg J. Badros [Wed, 5 Jan 2000 18:55:04 +0000 (18:55 +0000)]
Typo fix.

24 years ago* ports.c (s_scm_close_all_ports_except): Use SCM_ARG1 in a
Greg J. Badros [Wed, 5 Jan 2000 18:51:17 +0000 (18:51 +0000)]
* ports.c (s_scm_close_all_ports_except): Use SCM_ARG1 in a
SCM_VALIDATE instead of 1 to avoid a check on the argument (since
it's not the actual name of the formal).

24 years ago*** empty log message ***
Greg J. Badros [Wed, 5 Jan 2000 18:48:15 +0000 (18:48 +0000)]
*** empty log message ***

24 years ago* guile-snarf.awk.in: Do argument/number mismatch checking and
Greg J. Badros [Wed, 5 Jan 2000 18:48:07 +0000 (18:48 +0000)]
* guile-snarf.awk.in: Do argument/number mismatch checking and
print warnings in an Emacs compile-mode parseable format.

* struct.c: Use SCM_ASSERT_RANGE instead of SCM_ASSERT w/
SCM_OUTOFRANGE as 3rd argument.

* random.c: Fix argument/number mismatch (that I introduced :-( ).

* __scm.h: Do not #define SCM_ARG* when snarfing;
lets us distinguish between 1 and SCM_ARG1 when snarfing as only
the former (using the number) requires the argument to match the
formal in the current argument snarfing check.

* ramap.c: Remove extraneous #undef FUNC_NAME.

24 years ago* snarf.h (SCM_ASSERT): Give new definition of SCM_ASSERT when in
Greg J. Badros [Wed, 5 Jan 2000 18:19:54 +0000 (18:19 +0000)]
* snarf.h (SCM_ASSERT): Give new definition of SCM_ASSERT when in
snarfing mode to output a lexically-identifiable sequence that the
guile-snarf.awk script uses to verify argument/position matching.

24 years ago*** empty log message ***
Greg J. Badros [Wed, 5 Jan 2000 16:41:28 +0000 (16:41 +0000)]
*** empty log message ***

24 years ago* paths.scm: Use HOME envvar to find guile-modules (this at least
Greg J. Badros [Wed, 5 Jan 2000 16:41:12 +0000 (16:41 +0000)]
* paths.scm: Use HOME envvar to find guile-modules (this at least
lets people use a symlink in their home directory to point at
guile-modules, instead of Jim's hard-coded path.

24 years ago* guile-doc-snarf.awk.in: Removed -- guile-snarf.awk.in is the
Greg J. Badros [Wed, 5 Jan 2000 16:37:28 +0000 (16:37 +0000)]
* guile-doc-snarf.awk.in: Removed -- guile-snarf.awk.in is the
current version of the same functionality; it writes the .x output
to stdout instead of directly into the file.

24 years ago* unif.c, symbols.c, strings.c, stacks.c, random.c, print.c,
Greg J. Badros [Wed, 5 Jan 2000 16:16:57 +0000 (16:16 +0000)]
* unif.c, symbols.c, strings.c, stacks.c, random.c, print.c,
posix.c:  Eliminated a bunch of SCM_NIMP(..)s that are now
redundant with the safer macros.  Patch from Dirk Hermann applied
by hand. Thanks Dirk!

* scm_validate.h: Added SCM_VALIDATE_VECTOR_OR_DVECTOR for some
uses in random.c.

* ramap.c: whitespace change.

24 years agoMoved old ChangeLog text to ChangeLog-1996-1999 (added that file)
Greg J. Badros [Wed, 5 Jan 2000 01:44:04 +0000 (01:44 +0000)]
Moved old ChangeLog text to ChangeLog-1996-1999 (added that file)
and made new ChangeLog with the entries from the new year only.

24 years ago*** empty log message ***
Greg J. Badros [Tue, 4 Jan 2000 22:24:10 +0000 (22:24 +0000)]
*** empty log message ***

24 years ago* options.c, objects.c, keywords.c, gc.c: Some redundant SCM_NIMP
Greg J. Badros [Tue, 4 Jan 2000 22:23:42 +0000 (22:23 +0000)]
* options.c, objects.c, keywords.c, gc.c: Some redundant SCM_NIMP
removals from Dirk Hermann.

* alist.c: Rename formals to match the parameter names in the
documentation, updates to documentation.  Thanks Dirk Hermann!

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 4 Jan 2000 17:50:22 +0000 (17:50 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 4 Jan 2000 17:43:30 +0000 (17:43 +0000)]
*** empty log message ***

24 years ago* eval.c (SCM_CEVAL): Optimization: Reverse order of
Mikael Djurfeldt [Tue, 4 Jan 2000 17:43:18 +0000 (17:43 +0000)]
* eval.c (SCM_CEVAL): Optimization: Reverse order of
scm_stack_checking_enabled_p and SCM_STACK_OVERFLOW_P => speed
gain 4-6% for eval1 benchmark on one machine.  (Thanks to Brad
Knotwell.)

24 years ago*** empty log message ***
Greg J. Badros [Mon, 3 Jan 2000 16:32:09 +0000 (16:32 +0000)]
*** empty log message ***

24 years ago* gc.c (scm_debug_newcell): Added SCM_SETCAR of the newly
Greg J. Badros [Mon, 3 Jan 2000 16:31:45 +0000 (16:31 +0000)]
* gc.c (scm_debug_newcell): Added SCM_SETCAR of the newly
allocated cell.

* pairs.h: Added a comment about the need for the SCM_SETCAR in
SCM_NEWCELL macro.

24 years ago* dynl-vms.c, debug.c, coop-threads.c, backtrace.c, eval.c: More
Greg J. Badros [Mon, 3 Jan 2000 16:26:28 +0000 (16:26 +0000)]
* dynl-vms.c, debug.c, coop-threads.c, backtrace.c, eval.c: More
SCM_NIMP tests that were redundant are now eliminated.  Patches
from Dirk Hermann applied by hand.

24 years ago * posix.c (scm_waitpid): move the HAVE_WAITPID test out of the
Gary Houston [Tue, 28 Dec 1999 21:50:52 +0000 (21:50 +0000)]
* posix.c (scm_waitpid): move the HAVE_WAITPID test out of the
procedure body, so that the procedure is left undefined if waitpid
is not available.  previously in this case the procedure was
defined but would raise a system-error when called, which is
pointless.  I intend to make the same change for other procedures
and deprecate SCM_SYSMISSING and scm_sysmissing.

24 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 22 Dec 1999 11:41:47 +0000 (11:41 +0000)]
*** empty log message ***

24 years ago* tests/weaks.test, tests/hooks.test: Added.
Mikael Djurfeldt [Wed, 22 Dec 1999 11:41:40 +0000 (11:41 +0000)]
* tests/weaks.test, tests/hooks.test: Added.

24 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 22 Dec 1999 11:01:54 +0000 (11:01 +0000)]
*** empty log message ***

24 years ago* feature.c (s_scm_add_hook_x): Call scm_wrong_type_arg instead of
Mikael Djurfeldt [Wed, 22 Dec 1999 11:01:44 +0000 (11:01 +0000)]
* feature.c (s_scm_add_hook_x): Call scm_wrong_type_arg instead of
scm_misc_error when add-hook! is passed a procedure of wring
arity.  (Thanks to Greg Harvey.)

24 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 22 Dec 1999 10:13:57 +0000 (10:13 +0000)]
*** empty log message ***

24 years ago* tests/weaks.test: Added.
Mikael Djurfeldt [Wed, 22 Dec 1999 10:13:49 +0000 (10:13 +0000)]
* tests/weaks.test: Added.

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 21 Dec 1999 21:47:54 +0000 (21:47 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 21 Dec 1999 21:32:30 +0000 (21:32 +0000)]
*** empty log message ***

24 years ago* macros.c (scm_make_synt): Use scm_make_subr_opt to make the
Mikael Djurfeldt [Tue, 21 Dec 1999 21:31:50 +0000 (21:31 +0000)]
* macros.c (scm_make_synt): Use scm_make_subr_opt to make the
transformer subr.  (Thanks to Bill Schottstaedt.)

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 19 Dec 1999 21:39:08 +0000 (21:39 +0000)]
*** empty log message ***

24 years ago* objects.c (scm_class_of): Bugfix: Inserted missing SCM_CDR
Mikael Djurfeldt [Sun, 19 Dec 1999 21:39:00 +0000 (21:39 +0000)]
* objects.c (scm_class_of): Bugfix: Inserted missing SCM_CDR
setting struct table class.

24 years ago*** empty log message ***
Greg J. Badros [Sun, 19 Dec 1999 18:24:29 +0000 (18:24 +0000)]
*** empty log message ***

24 years ago* threads.c, mit-pthreads.c, list.c, coop.c: Remove K&R
Greg J. Badros [Sun, 19 Dec 1999 18:24:12 +0000 (18:24 +0000)]
* threads.c, mit-pthreads.c, list.c, coop.c:  Remove K&R
prototypes; just use ANSI C prototypes.  I'm not sure how
mit-pthreads.c ever compiled -- it still doesn't for me, but the
normal make procedure does not try to build it anyway (even
--with-threads I get the other threads code building) so I'm not
too worried about it.