bpt/guile.git
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.

24 years ago* tags.h (SCM_CONSP, SCM_NCONSP): Define these in terms of
Greg J. Badros [Sun, 19 Dec 1999 01:04:37 +0000 (01:04 +0000)]
* tags.h (SCM_CONSP, SCM_NCONSP): Define these in terms of
SCM_SLOPPY_CONSP and SCM_SLOPPY_NCONSP.  (SCM_CONSP) Define this
in terms of SCM_SLOPPY_NCONSP instead of repeating the
expression.

* symbols.h (SCM_SLOPPY_SUBSTRP, SCM_SUBSTRP): Added former, and
define latter in terms of sloppy variant.

* strings.h (SCM_SLOPPY_STRINGP, SCM_STRINGP): Added former, and
define latter in terms of sloppy variant.

* scm_validate.h (SCM_MAKE_VALIDATE): Added this macro to factor
out the commonality of the various basic SCM_VALIDATE_foop
macros. Use SCM_MAKE_VALIDATE macro where possible.  Fix
SCM_VALIDATE_INT_COPY to not use scm_num2ulong -- that does
coercion to an integer which is more advanced than desired and
SCM_NUM2ULONG provides that functionality.  Use SCM_ASSERT_RANGE
appropriately for the various _MIN, _MAX, _RANGE macros.  Drop
some superfluous "SCM_NIMP &&" where possible. Eliminate obsoleted
SCM_VALIDATE_NIMCONS (SCM_VALIDATE_CONS now does the NIMP test as
part of its SCM_CONSP test).

* socket.c, ports.c, pairs.c, list.c, lang.c, async.c: Use
SCM_VALIDATE_CONS, not obsoleted SCM_VALIDATE_NIMCONS.

24 years agoIgnore guile-snarf.awk (guile-snarf.awk.in is the dist'd file)
Greg J. Badros [Sun, 19 Dec 1999 00:20:11 +0000 (00:20 +0000)]
Ignore guile-snarf.awk (guile-snarf.awk.in is the dist'd file)

24 years ago*** empty log message ***
Greg J. Badros [Sat, 18 Dec 1999 23:33:44 +0000 (23:33 +0000)]
*** empty log message ***

24 years ago* dynl.c: Added #include "scm_validate.h"
Greg J. Badros [Sat, 18 Dec 1999 23:33:15 +0000 (23:33 +0000)]
* dynl.c: Added #include "scm_validate.h"

24 years agoTypo fix.
Greg J. Badros [Sat, 18 Dec 1999 23:31:22 +0000 (23:31 +0000)]
Typo fix.

24 years ago*** empty log message ***
Greg J. Badros [Sat, 18 Dec 1999 23:24:46 +0000 (23:24 +0000)]
*** empty log message ***

24 years ago* alist.c, chars.c, dynl.c, net_db.c, numbers.c, unif.c: Use
Greg J. Badros [Sat, 18 Dec 1999 23:24:35 +0000 (23:24 +0000)]
* alist.c, chars.c, dynl.c, net_db.c, numbers.c, unif.c: Use
SCM_NUM2ULONG instead of scm_num2ulong; SCM_NUM2LONG instead of
scm_num2long; SCM_WTA instead of scm_wta.  Only done for when
FUNC_NAME was used as an argument of the macro and the formal
argument name was the explicit argument in the old function call.
These were just missed in my first pass of changes.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sat, 18 Dec 1999 18:21:55 +0000 (18:21 +0000)]
*** empty log message ***

24 years ago* guile-doc-snarf.in (filename): Strip path to source dir before
Mikael Djurfeldt [Sat, 18 Dec 1999 18:21:39 +0000 (18:21 +0000)]
* guile-doc-snarf.in (filename): Strip path to source dir before
touching the .x-files.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sat, 18 Dec 1999 13:42:59 +0000 (13:42 +0000)]
*** empty log message ***

24 years ago* debug.c (scm_reverse_lookup): Bugfix: Reinserted SCM_NIMP.
Mikael Djurfeldt [Sat, 18 Dec 1999 13:42:46 +0000 (13:42 +0000)]
* debug.c (scm_reverse_lookup): Bugfix: Reinserted SCM_NIMP.

24 years ago* tests/alist.test: Added.
Mikael Djurfeldt [Sat, 18 Dec 1999 13:25:04 +0000 (13:25 +0000)]
* tests/alist.test: Added.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sat, 18 Dec 1999 13:24:33 +0000 (13:24 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Sat, 18 Dec 1999 03:19:18 +0000 (03:19 +0000)]
*** empty log message ***

24 years ago* eval.c (SCM_CEVAL): Removed check for unbound slot in
Mikael Djurfeldt [Sat, 18 Dec 1999 03:19:06 +0000 (03:19 +0000)]
* eval.c (SCM_CEVAL): Removed check for unbound slot in
SCM_IM_SLOT_REF.  (This is now handled in a smarter way in GOOPS.)

24 years agoCode layout fixes
Mikael Djurfeldt [Sat, 18 Dec 1999 03:18:35 +0000 (03:18 +0000)]
Code layout fixes

24 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 17 Dec 1999 22:36:29 +0000 (22:36 +0000)]
*** empty log message ***

24 years ago* tags.h (SCM_SLOPPY_NCONSP, SCM_SLOPPY_CONSP): New macros.
Mikael Djurfeldt [Fri, 17 Dec 1999 22:36:20 +0000 (22:36 +0000)]
* tags.h (SCM_SLOPPY_NCONSP, SCM_SLOPPY_CONSP): New macros.
(SCM_ECONSP): Version which doesn't mix && and || without
parenthesis.
(SCM_NECONSP): Bugfree version.

24 years ago*** empty log message ***
Greg J. Badros [Fri, 17 Dec 1999 20:15:57 +0000 (20:15 +0000)]
*** empty log message ***

24 years ago* tests/c-api.test: Refine the list of files that are checked in
Greg J. Badros [Fri, 17 Dec 1999 20:15:35 +0000 (20:15 +0000)]
* tests/c-api.test: Refine the list of files that are checked in
the seek-offset-test.  Was just using files that end in "c", but
that caught the new ".doc" files, too, so make sure that files end
in ".c" before requiring that they include unistd.h if they
reference SEEK_(SET|CUR|END).

24 years ago* tags.h (SCM_ECONSP, SCM_NECONSP): Fix these macros to have the
Greg J. Badros [Fri, 17 Dec 1999 20:11:34 +0000 (20:11 +0000)]
* tags.h (SCM_ECONSP, SCM_NECONSP): Fix these macros to have the
SCM_NIMP test integrated into an || clause that I'd missed before
and was causing a segfault in the regression tests.

* symbols.h (SCM_ROUCHARS): Make cast be to (unsigned char *), not
(char *);  fixes a problem reported by the regression test
ports.test.

* ports.c: Fixed a couple of arg/number mismatches in
SCM_VALIDATE_ macros.

Now passes the (not-comprehensive) guile-modules test-suite again!

24 years agoSome code layout fixes
Mikael Djurfeldt [Fri, 17 Dec 1999 13:08:46 +0000 (13:08 +0000)]
Some code layout fixes