1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-03 21:30:29 +02:00
Commit graph

3667 commits

Author SHA1 Message Date
Jim Blandy
448b8c5d2c *** empty log message *** 1997-04-24 02:31:33 +00:00
Jim Blandy
9b1b00fe90 * gh_data.c (gh_scm2newstr, gh_symbol2newstr): Use
scm_must_malloc, not raw malloc.
1997-04-24 02:31:22 +00:00
Gary Houston
b1978258f0 * eq.c (scm_equal_p): use "SCM_TYP7SD", not "SCM (TYP7SD".
* stime.c: include both <sys/times.h> and <sys/timeb.h> if the
system has them.  Hope this is safe.  Previously
sys/timeb.h was included if HAVE_FTIME was defined or if
HAVE_SYS_TIMEB_H was defined but HAVE_SYS_TIMES_H was not,
but IRIX iris 5.3 apparently has ftime but not sys/timeb.h.
1997-04-21 08:14:48 +00:00
Gary Houston
4fa5885b5c * ioext.c (scm_setfileno): add missing third argument to
scm_misc_error call.
1997-04-21 05:09:06 +00:00
Jim Blandy
02935a0b83 *** empty log message *** 1997-04-20 20:11:05 +00:00
Jim Blandy
70877549f4 * eq.c (scm_equal_p): Correctly compare strings of different
varieties.  (Thanks to Tim Pierce.)
1997-04-20 20:10:54 +00:00
Jim Blandy
224c49f96a Move most of the guts of shell command processing into libguile,
so guile.c can be very small (and eventuallly auto-generated.  (I
mean, generated mechanically, not self-generated.  Hmm.))
* guile.c, script.c, script.h: New source files.
* init.c (scm_boot_guile_1): Call scm_init_script.
* libguile.h: #include "script.h".
* Makefile.am (bin_PROGRAMS, guile_SOURCES, guile_LDADD): New
targets, for new executable.
(libguile_la_SOURCES): Mention script.c.
(modinclude_HEADERS): Add script.h.
* configure.in: Always check for -lm, -lsocket, -lnsl, whether or
not dynamic linking is enabled.  This is because we're generating
executables now.  Move CY_AC_WITH_THREADS call after those, so the
values of cy_cv_threads_libs captures the libs chosen above.
* Makefile.in, configure, aclocal.m4: Regenerated.
1997-04-20 19:58:45 +00:00
Jim Blandy
10f64a24d2 *** empty log message *** 1997-04-20 18:27:14 +00:00
Jim Blandy
cd34a38431 * configure.in: check for presence of gethostent (not present on
OpenBSD by default).
* net_db.c (scm_gethost): Check HAVE_GETHOSTENT.
* configure, scmconfig.h.in: Regenerated.
1997-04-20 18:27:00 +00:00
Jim Blandy
045b4e0f9f *** empty log message *** 1997-04-19 13:25:36 +00:00
Jim Blandy
f973126498 * read.c (skip_scsh_block_comment): SCSH says the !# that ends a
#! block comment must occur on a line all by itself.
1997-04-19 13:25:28 +00:00
Jim Blandy
0487b82f9f Move most of the guts of shell command processing into libguile,
so guile.c can be very small (and eventuallly auto-generated.  (I
mean, generated mechanically, not self-generated.  Hmm.))
* guile.c, script.c, script.h: New source files.
* init.c (scm_boot_guile_1): Call scm_init_script.
* libguile.h: #include "script.h".
* Makefile.am (bin_PROGRAMS, guile_SOURCES, guile_LDADD): New
targets, for new executable.
(libguile_la_SOURCES): Mention script.c.
(modinclude_HEADERS): Add script.h.
* configure.in: Always check for -lm, -lsocket, -lnsl, whether or
not dynamic linking is enabled.  This is because we're generating
executables now.  Move CY_AC_WITH_THREADS call after those, so the
values of cy_cv_threads_libs captures the libs chosen above.
* Makefile.in, configure, aclocal.m4: Regenerated.
1997-04-19 13:25:21 +00:00
Jim Blandy
5ac58d89ab * alloca.c: #include <scmconfig.h>, not <config.h>.
* Makefile.am (EXTRA_libguile_la_SOURCES): Mention alloca.c, so
it'll get included in disties.
1997-04-19 13:25:09 +00:00
Jim Blandy
549436debe Move most of the guts of shell command processing into libguile,
so guile.c can be very small (and eventuallly auto-generated.  (I
mean, generated mechanically, not self-generated.  Hmm.))
* guile.c, script.c, script.h: New source files.
* init.c (scm_boot_guile_1): Call scm_init_script.
* libguile.h: #include "script.h".
* Makefile.am (bin_PROGRAMS, guile_SOURCES, guile_LDADD): New
targets, for new executable.
(libguile_la_SOURCES): Mention script.c.
(modinclude_HEADERS): Add script.h.
* configure.in: Always check for -lm, -lsocket, -lnsl, whether or
not dynamic linking is enabled.  This is because we're generating
executables now.  Move CY_AC_WITH_THREADS call after those, so the
values of cy_cv_threads_libs captures the libs chosen above.
* Makefile.in, configure, aclocal.m4: Regenerated.

* Makefile.am (EXTRA_DIST): Don't distribute gscm.c or gscm.h.
We don't maintain this interface any more, and it just confuses
people.

* alloca.c: #include <scmconfig.h>, not <config.h>.
* Makefile.am (EXTRA_libguile_la_SOURCES): Mention alloca.c, so
it'll get included in disties.
1997-04-19 13:25:03 +00:00
Jim Blandy
bb7153ed75 *** empty log message *** 1997-04-19 13:12:34 +00:00
Jim Blandy
f17e040497 *** empty log message *** 1997-04-16 22:53:05 +00:00
Jim Blandy
23f53cd3e2 * backtrace.c (scm_backtrace): Split message string across
newlines properly.  GCC is more tolerant of this than other
compilers.
1997-04-16 22:52:47 +00:00
Jim Blandy
7b586e6941 *** empty log message *** 1997-04-15 01:35:00 +00:00
Jim Blandy
7bfd3b9e94 Merge threads directory into libguile.
* coop-defs.h, coop-threads.c, coop-threads.h, coop.c, threads.c,
threads.h: New source files.
* Makefile.am (EXTRA_libguile_la_SOURCES): Add threads.c.
(noinst_HEADERS): Add coop-threads.c, coop-threads.h, coop.c
here; see comment.
(modinclude_HEADERS): Add threads.h, coop-defs.h.
(EXTRA_DIST): Add fsu-pthreads.h, mit-pthreads.c, mit-pthreads.h,
coop-threads.c.cygnus, coop-threads.h.cygnus.
* configure.in: If we're using threads, include threads.o in
LIBOBJS.
* _scm.h, libguile.h: threads.h lives in this directory now.
* fsu-pthreads.h, mit-pthreads.c, mit-pthreads.h,
coop-threads.c.cygnus, coop-threads.h.cygnus: New files, not
currently used, but brought along for information's sake.
* ChangeLog-threads: log from old 'threads' directory.
* Makefile.in, configure: Rebuilt.
1997-04-15 01:34:36 +00:00
Jim Blandy
c520b64ca6 * threads.m4 (CY_AC_WITH_THREADS): When using coop threads, no
need to link against libthreads; the files it used to contain
are now a part of libguile.
* aclocal.m4, configure: Rebuilt.
1997-04-15 01:33:09 +00:00
Jim Blandy
a912ed4a0f Add note saying where this came from, and suggesting that new log
entries should go in ChangeLog.
1997-04-15 01:26:20 +00:00
Jim Blandy
7c9c776088 *** empty log message *** 1997-04-15 01:24:05 +00:00
Jim Blandy
73f19016b9 * stime.c (scm_mktime): #ifndef HAVE_TM_ZONE, Use lt.tm_zone, not
lt->tm_zone.
1997-04-15 01:16:23 +00:00
Jim Blandy
3e7b8512ae *** empty log message *** 1997-04-14 21:20:04 +00:00
Jim Blandy
8b54b82bfb *** empty log message *** 1997-04-14 07:33:58 +00:00
Jim Blandy
ee2a8b9bdd * gh_init.c (gh_standard_handler): Return SCM_BOOL_F, not garbage.
Merge GH interface library into libguile.
* gh.h, gh_data.c, gh_eval.c, gh_funcs.c, gh_init.c, gh_io.c,
gh_list.c, gh_predicates.c, gh_test_c, gh_test_c.c, gh_test_repl,
gh_test_repl.c: New files.
* Makefile.am (libguile_la_SOURCES): Add gh_data.c, gh_eval.c,
gh_funcs.c, gh_init.c, gh_io.c, gh_list.c, gh_predicates.c.  Move
_scm.h to ...
(EXTRA_libguile_la_SOURCES): ... here.
(pkginclude_HEADERS): Add variable, to get gh.h installed.
(THREAD_LIBS, check_ldadd, check_PROGRAMS, gh_test_c_SOURCES,
gh_test_c_LDADD, gh_test_repl_SOURCES, gh_test_repl_LDADD):
New variables, describing how to build the gh test programs.
* configure.in: Check for -lm, -lsocket, -lnsl; we need this to
build the test programs, and we probably should have been linking
libguile.la against them all along, to support AIX shared libs.
Add cflags for threads to CFLAGS; add libs for threads to new
variable THREAD_LIBS, used in Makefile.am.
* ChangeLog-gh: log from old `gh' subdirectory.
* Makefile.in, configure, scmconfig.h.in: Rebuilt.
1997-04-14 06:42:27 +00:00
Jim Blandy
f4d7dfb69d *** empty log message *** 1997-04-14 06:32:23 +00:00
Jim Blandy
d76e9dd9a7 *** empty log message *** 1997-04-14 04:08:51 +00:00
Jim Blandy
a10714cbc5 * acconfig.h: Undo change of Apr 9; including the definition of
PACKAGE in the guile headers conflicts with applications' own
definitions.
* scmconfig.h.in: Regenerated.
1997-04-14 04:07:15 +00:00
Jim Blandy
0705ea15b9 * guile.m4: Revert change of Mar 15, and use the new 'no-define'
argument to the AM_INIT_AUTOMAKE macro.
* lots of aclocal.m4, configure files: Regenerated.
1997-04-14 04:06:25 +00:00
Gary Houston
b9525b92bb * stime.c (scm_mktime): take an optional zone argument.
(scm_localtime): check putenv return value.
	(scm_strftime, scm_strptime): moved from posix.c.  move #include
	sequences.h too.
	stime.h, posix.h: update prototypes.
	(bdtime2c, setzone, restorezone): new static procedures.
	(scm_mktime, scm_strftime): use them.
	(scm_strftime): don't call mktime before strftime.  Use
	filltime for return value.
	(filltime): convert NULL zname to #f.
*	(scm_strptime): return a count of characters consumed, not
	the remaining string.

	* stime.c (scm_localtime): check HAVE_TM_ZONE and HAVE_TZNAME.
	(scm_mktime): likewise.
	Declare *tzname[].
	Uncomment localtime and mktime.

	* configure.in: add AC_STRUCT_TIMEZONE.
1997-04-12 20:18:12 +00:00
Jim Blandy
4c1feaa596 * filesys.c (scm_fcntl): New function from Roland McGrath.
(scm_init_filesys): New symbols for use with fcntl.
* filesys.h: Added prototype.
1997-04-12 01:17:15 +00:00
Jim Blandy
30000774de * eval.c (SCM_APPLY): Set debug apply frame argument list correctly
when PROC is receiving no arguments.
1997-04-12 01:16:49 +00:00
Jim Blandy
6956318c83 *** empty log message *** 1997-04-12 00:44:18 +00:00
Jim Blandy
e67dc2bebc * posix.c (scm_status_exit_val, scm_status_exit_val,
scm_status_term_sig, scm_status_stop_sig): Modified to work with
Ultrix versions of WIFSTOPPED, etc., which assume that their
arguments are lvalues (hmm).
1997-04-12 00:39:56 +00:00
Jim Blandy
d7b8a21a81 * filesys.c (S_ISSOCK): Define this if it's missing, but we do
have S_IFSOCK.  This is the case under Ultrix.
1997-04-12 00:39:44 +00:00
Jim Blandy
f0e2ee9787 *** empty log message *** 1997-04-11 04:56:29 +00:00
Jim Blandy
18eadcbefc * throw.c: Doc fixes; rearranged. 1997-04-11 03:54:56 +00:00
Jim Blandy
82a2622ab6 * eval.c: Doc fixes. 1997-04-11 03:54:28 +00:00
Jim Blandy
c505c88d41 *** empty log message *** 1997-04-10 22:02:58 +00:00
Jim Blandy
74229f75c0 Doc fixes; rearranged. 1997-04-10 22:02:45 +00:00
Jim Blandy
a19ab6d06f *** empty log message *** 1997-04-10 20:10:32 +00:00
Jim Blandy
d183c1b98e * putenv.c: #include "libguile/scmconfig.h", not <config.h>. 1997-04-10 20:10:17 +00:00
Jim Blandy
82cda9b375 *** empty log message *** 1997-04-10 01:24:31 +00:00
Jim Blandy
5f58a61b08 *** empty log message *** 1997-04-10 01:18:46 +00:00
Jim Blandy
9e8cb3dd6e * acconfig.h: Added entry for PACKAGE.
* scmconfig.h.in: Regenerated.
1997-04-10 01:16:17 +00:00
Jim Blandy
7ec57e82da Rebuild using newly patched automake... argh. 1997-04-10 01:14:47 +00:00
Jim Blandy
1dc9c5b075 Rebuilt using automake 1.1n. 1997-04-10 00:29:09 +00:00
Jim Blandy
58bc1a290d *** empty log message *** 1997-04-09 23:07:31 +00:00
Jim Blandy
e13d8dc0e0 Changes to work with automake-1.1n, which has better libtool support.
* Makefile.am: Use lib_LTLIBRARIES instead of lib_PROGRAMS.
Use libguile_la_LIBADD instead of libguile_la_LDADD.  (What's the
difference here?)
(libguile_la_SOURCES, modinclude_HEADERS, EXTRA_DIST): Format for
readability.
* Makefile.in: Rebuild.
1997-04-09 23:03:13 +00:00