bpt/guile.git
24 years ago*** empty log message ***
Greg J. Badros [Thu, 20 Jan 2000 21:01:16 +0000 (21:01 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Greg J. Badros [Thu, 20 Jan 2000 21:01:13 +0000 (21:01 +0000)]
*** empty log message ***

24 years ago* Makefile.in: Removed, this is auto-generated.
Greg J. Badros [Thu, 20 Jan 2000 21:00:55 +0000 (21:00 +0000)]
* Makefile.in: Removed, this is auto-generated.

* version.texi, stamp-vti: Removed -- these are auto-generated.

24 years agoPatch from Dirk Hermann:
Greg J. Badros [Thu, 20 Jan 2000 20:59:33 +0000 (20:59 +0000)]
Patch from Dirk Hermann:

* list.c: Put some variable initialization code at the point of
declaration; Added a comment for list*; Formatting changes.

* load.c: use SCM_NNULLP to make sure the end of a list is not
reached yet.

24 years ago* format.scm: Use (variable-set! (builtin-variable 'format)) to
Greg J. Badros [Thu, 20 Jan 2000 20:58:30 +0000 (20:58 +0000)]
* format.scm: Use (variable-set! (builtin-variable 'format)) to
re-define format to be format:format (instead of just define,
which interacts poorly with the module system).  Thanks to Shuji
Narazaki for this change.

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 18 Jan 2000 18:25:12 +0000 (18:25 +0000)]
*** empty log message ***

24 years ago* backtrace.c (scm_display_error_message): Bugfix: Don't use
Mikael Djurfeldt [Tue, 18 Jan 2000 18:24:57 +0000 (18:24 +0000)]
* backtrace.c (scm_display_error_message): Bugfix: Don't use
result of scm_list_p as C boolean.
(scm_display_error_message, scm_set_print_params_x): Use new
validation macros. (Thanks to Dirk Herrmann.)

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 18 Jan 2000 14:13:43 +0000 (14:13 +0000)]
*** empty log message ***

24 years ago* strports.c (st_end_input): Inserted parenthesis to get operator
Mikael Djurfeldt [Tue, 18 Jan 2000 14:13:31 +0000 (14:13 +0000)]
* strports.c (st_end_input): Inserted parenthesis to get operator
grouping correct.

* fports.c, list.c, numbers.c, ports.c, stime.c, symbols.c,
filesys.c, posix.c: Converted docstrings to ANSI C format and
escaped " occurring inside string literals.

24 years ago* net_db.c (scm_resolv_error): Cast result from hstrerror.
Mikael Djurfeldt [Tue, 18 Jan 2000 14:13:00 +0000 (14:13 +0000)]
* net_db.c (scm_resolv_error): Cast result from hstrerror.

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 18 Jan 2000 13:10:05 +0000 (13:10 +0000)]
*** empty log message ***

24 years ago* fports.c, list.c: Converted docstrings to ANSI C format and
Mikael Djurfeldt [Tue, 18 Jan 2000 13:09:54 +0000 (13:09 +0000)]
* fports.c, list.c: Converted docstrings to ANSI C format and
escaped " occurring inside string literals.

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 18 Jan 2000 12:22:26 +0000 (12:22 +0000)]
*** empty log message ***

24 years ago* posix.c (scm_mknod): Escape " occuring inside docstring.
Mikael Djurfeldt [Tue, 18 Jan 2000 12:22:13 +0000 (12:22 +0000)]
* posix.c (scm_mknod): Escape " occuring inside docstring.

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 18 Jan 2000 11:59:33 +0000 (11:59 +0000)]
*** empty log message ***

24 years ago* acinclude.m4 (AC_LIBLTDL_CONVENIENCE): Add $(top_srcdir)/libltdl
Mikael Djurfeldt [Tue, 18 Jan 2000 11:59:27 +0000 (11:59 +0000)]
* acinclude.m4 (AC_LIBLTDL_CONVENIENCE): Add $(top_srcdir)/libltdl
instead of $(top_builddir)/libltdl to includepath.

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 18 Jan 2000 11:27:18 +0000 (11:27 +0000)]
*** empty log message ***

24 years ago* multistring.el: New file.
Mikael Djurfeldt [Tue, 18 Jan 2000 11:26:56 +0000 (11:26 +0000)]
* multistring.el: New file.

24 years ago* alist.c, chars.c, debug.c, dynl.c, dynwind.c, error.c, eval.c,
Mikael Djurfeldt [Tue, 18 Jan 2000 11:24:37 +0000 (11:24 +0000)]
* alist.c, chars.c, debug.c, dynl.c, dynwind.c, error.c, eval.c,
   evalext.c, filesys.c, gc.c, hash.c, hashtab.c, ioext.c,
   keywords.c, list.c, load.c, macros.c, net_db.c, numbers.c,
   objprop.c, ports.c, posix.c, print.c, procprop.c, procs.c,
   ramap.c, regex-posix.c, root.c, scmsigs.c, simpos.c, socket.c,
   stacks.c, stime.c, strings.c, strop.c, strports.c, struct.c,
   symbols.c, throw.c, unif.c, vectors.c, version.c, vports.c,
   weaks.c: Converted docstrings to ANSI C format.

* filesys.c (scm_chmod), simpos.c (s_scm_system), version
(scm_version), vports (scm_make_soft_port): Escape " occuring
inside docstring.

24 years ago* alist.c, chars.c, debug.c, dynl.c, dynwind.c, error.c, eval.c,
Mikael Djurfeldt [Tue, 18 Jan 2000 11:24:03 +0000 (11:24 +0000)]
* alist.c, chars.c, debug.c, dynl.c, dynwind.c, error.c, eval.c,
   evalext.c, filesys.c, gc.c, hash.c, hashtab.c, ioext.c,
   keywords.c, list.c, load.c, macros.c, net_db.c, numbers.c,
   objprop.c, ports.c, posix.c, print.c, procprop.c, procs.c,
   ramap.c, regex-posix.c, root.c, scmsigs.c, simpos.c, socket.c,
   stacks.c, stime.c, strings.c, strop.c, strports.c, struct.c,
   symbols.c, throw.c, unif.c, vectors.c, version.c, vports.c,
   weaks.c: Converted docstrings to ANSI C format.

24 years ago*** empty log message ***
Greg J. Badros [Mon, 17 Jan 2000 19:45:51 +0000 (19:45 +0000)]
*** empty log message ***

24 years ago* scm_validate.h: Added SCM_VALIDATE_ULONG_COPY,
Greg J. Badros [Mon, 17 Jan 2000 19:44:01 +0000 (19:44 +0000)]
* scm_validate.h: Added SCM_VALIDATE_ULONG_COPY,
SCM_VALIDATE_LONG_COPY

* numbers.c: Use SCM_VALIDATE_ULONG_COPY, instead of
SCM_VALIDATE_INUM_COPY to let bigger numbers be used.  Rename a
couple of formal arguments (and fix their uses) to make arguments
match the documentation.

24 years ago*** empty log message ***
Greg J. Badros [Sun, 16 Jan 2000 22:07:08 +0000 (22:07 +0000)]
*** empty log message ***

24 years ago* paths.scm: Assume that ~/guile-core/test-suite is the location
Greg J. Badros [Sun, 16 Jan 2000 22:03:44 +0000 (22:03 +0000)]
* paths.scm: Assume that ~/guile-core/test-suite is the location
of the test suite now.

* tests/version.test: Added -- version.c had 0% coverage before,
now at 100%.

* tests/chars.test: Added -- needed test of char-is-both?.

24 years ago*** empty log message ***
Marius Vollmer [Sat, 15 Jan 2000 12:53:32 +0000 (12:53 +0000)]
*** empty log message ***

24 years ago* README, HACKING: Moved "Hacking it yourself" section from README
Marius Vollmer [Sat, 15 Jan 2000 12:53:15 +0000 (12:53 +0000)]
* README, HACKING: Moved "Hacking it yourself" section from README
to HACKING.  Updated recommended libtool version to be 1.3.4.

24 years ago * Makefile.am: Augment path when running guile-doc-snarf so
Maciej Stachowiak [Sat, 15 Jan 2000 03:24:25 +0000 (03:24 +0000)]
* Makefile.am: Augment path when running guile-doc-snarf so
guile-func-name-check is found.

24 years ago * configure.in: needs to have --disable-networking, not
Gary Houston [Fri, 14 Jan 2000 23:14:33 +0000 (23:14 +0000)]
* configure.in: needs to have --disable-networking, not
--disable-net.

24 years ago* scm_validate.h (SCM_NUM2LONG_DEF): Fix this macro to just use
Greg J. Badros [Fri, 14 Jan 2000 17:35:13 +0000 (17:35 +0000)]
* scm_validate.h (SCM_NUM2LONG_DEF): Fix this macro to just use
def, not SCM_MAKINUM(def);  thanks Janis Bzerins!

24 years ago*** empty log message ***
Marius Vollmer [Wed, 12 Jan 2000 21:42:55 +0000 (21:42 +0000)]
*** empty log message ***

24 years ago* Makefile.am (EXTRA_DIST): Added "guile.m4".
Marius Vollmer [Wed, 12 Jan 2000 21:42:41 +0000 (21:42 +0000)]
* Makefile.am (EXTRA_DIST): Added "guile.m4".

24 years agoReplaced #ifdef 0 --> #if 0
Mikael Djurfeldt [Wed, 12 Jan 2000 13:06:27 +0000 (13:06 +0000)]
Replaced #ifdef 0 --> #if 0

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

24 years ago* net_db.c (s_scm_inet_makeaddr): Use SCM_NUM2ULONG since that's
Greg J. Badros [Wed, 12 Jan 2000 08:07:36 +0000 (08:07 +0000)]
* net_db.c (s_scm_inet_makeaddr): Use SCM_NUM2ULONG since that's
the way guile-1.3.4 worked, but #if 0 out the version using
SCM_VALIDATE_INUM_COPY for stricter testing.

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

24 years ago* guile-doc-snarf.in: Use new $fullfilename for running
Greg J. Badros [Wed, 12 Jan 2000 02:25:40 +0000 (02:25 +0000)]
* guile-doc-snarf.in: Use new $fullfilename for running
guile-func-name-check, and put "$fullfilename" and "$filename" in
quotes at uses to make sure re-splitting on whitespace does not
occur (so filenames w/ embedded whitespace would work okay, though
I sure hope we never have to deal with that! :-) ).  Thanks to
Mikael for pointing out the source_dir != build_dir was broken.

24 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 12 Jan 2000 02:17:21 +0000 (02:17 +0000)]
*** empty log message ***

24 years ago* Makefile.am (dist-hook): Updated to include oldfmt.c in
Mikael Djurfeldt [Wed, 12 Jan 2000 02:16:50 +0000 (02:16 +0000)]
* Makefile.am (dist-hook): Updated to include oldfmt.c in
distribution archive.

24 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 12 Jan 2000 02:04:54 +0000 (02:04 +0000)]
*** empty log message ***

24 years agoNew file: Needed by autogen.sh.
Mikael Djurfeldt [Wed, 12 Jan 2000 02:04:30 +0000 (02:04 +0000)]
New file: Needed by autogen.sh.

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

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

24 years ago* oldfmt.c: New file: Used by application writers to adapt to
Mikael Djurfeldt [Wed, 12 Jan 2000 01:54:16 +0000 (01:54 +0000)]
* oldfmt.c: New file: Used by application writers to adapt to
new-style error format strings.

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 ***