1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 13:00:26 +02:00
Commit graph

9538 commits

Author SHA1 Message Date
Gary Houston
4edc089ccb * filesys.c (scm_input_waiting_p): add missing third argument to
scm_misc_error.

* stime.c (scm_localtime): copy the result of localtime before
calling gmtime in case they share a buffer.
(scm_localtime, scm_mktime): throw an error if neither HAVE_TM_ZONE
nor HAVE_TZNAME.
1997-05-05 21:01:57 +00:00
Gary Houston
554878da6d * eq.c (scm_equal_p): use SCM_TYP7SD (y) not SCM_TYP7SD (x). 1997-05-02 19:11:43 +00:00
Jim Blandy
914155ca94 *** empty log message *** 1997-05-01 22:09:11 +00:00
Jim Blandy
52f980e486 * Makefile.am (check-local): New target, which causes 'make check'
to run gh_test_c and gh_test_repl, with some trivial input.
* Makefile.in: Rgnrtd.
1997-05-01 22:08:29 +00:00
Marius Vollmer
dbc55d9636 Mention guile-ffi in my http dir 1997-05-01 10:41:16 +00:00
Marius Vollmer
6fa9bcd05a *** empty log message *** 1997-04-29 18:31:09 +00:00
Marius Vollmer
1fe1799f24 * dynl.c (print_dynl_obj): Indicate whether the dynamic object has
been unlinked.
1997-04-29 18:29:53 +00:00
Gary Houston
9ea54cc6fa * async.c (scm_sys_tick_async_thunk): commented out. I'm not
sure how this was supposed to work.
	(scm_async_click): don't send SCM_TICK_SIGNAL.
	(scm_init_async): don't initialize %tick-thunk.

	* the following change doesn't affect the Scheme interface:
 	gc-thunk is called at the end of garbage collection.  however it's
 	no longer implemented by pretending it's a signal.

	* gc.c (scm_gc_end): don't call scm_take_signal.  instead mark the
	system async corresponding to scm_gc_thunk.
	* async.h: declare scm_gc_async.
	* async.c (scm_sys_gc_async_thunk): apply the thunk named by
	gc-thunk directly, instead of going through a signal handler.
	(scm_gc_async): new variable, points to the GC system-async.
	(scm_init_async): save the GC async as scm_gc_async instead
	of using system_signal_asyncs.
	(scm_gc_vcell): new variable, stores the gc-thunk vcell.
1997-04-29 08:18:08 +00:00
Jim Blandy
1083023276 *** empty log message *** 1997-04-29 00:29:58 +00:00
Jim Blandy
593d151f4b * Makefile.am (libpath.h, cpp_err_symbols.c, cpp_sig_symbols.c):
Don't screw up if we're interrupted.
* Makefile.in: Regeneradet.
1997-04-29 00:29:40 +00:00
Jim Blandy
28c682fa07 *** empty log message *** 1997-04-28 16:53:31 +00:00
Jim Blandy
00493f8643 * aclocal.m4: Removed; unnecessary, given changes of Apr 24. 1997-04-27 23:00:25 +00:00
Jim Blandy
5380de6b99 * Makefile.am (modincludedir): Use "ice-9" instead of "@module@";
we're not using AM_INIT_GUILE_MODULE any more.
* Makefile.in: Reneregated.
1997-04-27 22:59:39 +00:00
Jim Blandy
4616e355e5 *** empty log message *** 1997-04-24 09:24:24 +00:00
Jim Blandy
353793082f Functions for finding variable bindings, grace à Tim Pierce.
* gh_data.c (gh_lookup, gh_module_lookup): New functions.
* gh.h (gh_lookup, gh_module_lookup): New prototypes.
1997-04-24 09:24:03 +00:00
Jim Blandy
819f936bd9 *** empty log message *** 1997-04-24 08:19:14 +00:00
Jim Blandy
26543e6162 Get 'make dist' to work again.
* Makefile.am (EXTRA_DIST): Remove PLUGIN files.
* Makefile.in: Regenerated, like a surry without a fringe on top.
1997-04-24 08:17:48 +00:00
Jim Blandy
2010830119 *** empty log message *** 1997-04-24 06:40:01 +00:00
Jim Blandy
964edde7d3 * init.c: #include "script.h", to get prototype for script.c's
init function.
1997-04-24 06:37:25 +00:00
Jim Blandy
b1e9e9d1f0 Changes for reduced Guile distribution: one configure script,
no plugins.
* configure.in, configure: Removed.
* acconfig.h, acinclude.m4: Moved to parent directory, where the
real configure script lives.
* Makefile.in, scmconfig.h.in: Regenerated.
1997-04-24 06:36:50 +00:00
Jim Blandy
ebe2a6c136 * script.c (scm_compile_shell_switches): Dyke out debugging output
code.
1997-04-24 02:32:05 +00:00
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