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

1100 commits

Author SHA1 Message Date
Jim Blandy
52c5a23aed * boot-9.scm (struct-printer): Fix off-by-one error in range
check.  Correctly check for struct printer tag.

* boot-9.scm (with-regexp-parts): Comment this out.  It has no
users in the core, and relies on mildly hairy details of the old
regexp interface.

* boot-9.scm (ipow-by-squaring, butlast): Fix uses of outdated
function names.

* boot-9.scm (with-excursion-getter-and-setter, q-rear): Doc
fixes.
1997-06-13 05:50:49 +00:00
Jim Blandy
ec8469e7cb * expect.scm: Turn this into a module, (ice-9 expect).
(expect-port, expect-timeout, expect-timeout-proc,
expect-eof-proc, expect-char-proc, expect, expect-strings,
expect-select): Make these public definitions.
(expect-strings): Use make-regexp and regexp-exec, instead of
regcomp and regexec.  We've omitted the REG_NEWLINE flag; hope
that's okay.
1997-06-13 05:50:37 +00:00
Jim Blandy
c6b15ad07e * test.scm: Re-enable tests asserting that '() is true, and not a
boolean.  This stuff has been true for a while.
1997-06-13 05:50:28 +00:00
Jim Blandy
832b09eda7 *** empty log message *** 1997-06-12 02:59:54 +00:00
Jim Blandy
393e4e4de7 * ltconfig, ltmain.sh, config.guess: New files from libtool 0.9g. 1997-06-12 02:59:33 +00:00
Jim Blandy
af8865f7d9 * configure.in: By default, include functions in Guile to allow
linking with dynamic libraries at run-time.  In other words,
--enable-dynamic-linking is now the default.
* configure: Rebuilt.
1997-06-12 02:57:41 +00:00
Jim Blandy
27813a485e Moved into their own module. 1997-06-11 22:37:11 +00:00
Jim Blandy
cad2eb8490 *** empty log message *** 1997-06-11 20:21:44 +00:00
Jim Blandy
baf22c7e08 * configure.in: Remove space between AC_CHECK_LIB and opening
paren in check for Rx.
* configure: Regenerated.
1997-06-11 20:21:11 +00:00
Jim Blandy
3688473b02 *** empty log message *** 1997-06-11 05:36:20 +00:00
Jim Blandy
40cc1e35ce * Makefile.in, md/Makefile.in, time/Makefile.in: Regenerated after
xtra_PLUGIN_guile_libs change in ../configure.in.
1997-06-11 05:35:30 +00:00
Jim Blandy
34765ae7e1 * Makefile.in: Regenerated after xtra_PLUGIN_guile_libs change in
../configure.in.
1997-06-11 05:35:09 +00:00
Jim Blandy
555050bbb8 * configure.in: Remove all mention of xtra_PLUGIN_guile_libs.
It's never used.
* configure, Makefile.in: Regenerated.
1997-06-11 05:34:47 +00:00
Jim Blandy
5852c0516e * configure.in: Move checks for libraries (-lm, -lnsl, -lsocket,
-dl, -dld) before checks for functions.
* configure: Regenerated.
1997-06-11 04:38:28 +00:00
Jim Blandy
95d59d10cf *** empty log message *** 1997-06-11 01:13:22 +00:00
Jim Blandy
4b0d60550c * slib.scm (identity): New function, used by SLIB. 1997-06-11 01:12:07 +00:00
Jim Blandy
14d546a7f3 *** empty log message *** 1997-06-11 01:11:10 +00:00
Tim Pierce
38c6446954 New Guile module. 1997-06-10 05:22:05 +00:00
Jim Blandy
f335e5f7ca New section: "Building a Statically Linked Guile" 1997-06-10 03:45:22 +00:00
Tim Pierce
67d532208c Replaced, from autoconf-2.12. 1997-06-09 07:42:39 +00:00
Tim Pierce
3fbcf09dbe *** empty log message *** 1997-06-09 07:40:19 +00:00
Marius Vollmer
58932e4ad2 *** empty log message *** 1997-06-08 15:48:54 +00:00
Marius Vollmer
f8769b1d9b * eval.c (scm_lookupcar1): New procedure to cope with a race
condition during lookup (when using threads).
(scm_lookupcar): Implement in terms of scm_lookupcar1.
(SCM_CEVAL): Use scm_lookupcar1 instead of scm_lookupcar in one
place.
1997-06-08 15:46:19 +00:00
Jim Blandy
0b787875bc * regex-posix.c (scm_regexp_exec): Use the `start' argument if
supplied.  (Change from Tim Pierce.)
1997-06-07 00:07:33 +00:00
Jim Blandy
eb4194d6af Added paragraph describing the CVS arrangement. 1997-06-06 23:04:31 +00:00
Marius Vollmer
0b46857faa *** empty log message *** 1997-06-06 15:19:36 +00:00
Marius Vollmer
755da2fc99 * boot-9.scm (struct-printer): Bugfix: Check the layout of the
vtable and not the one of the struct.
1997-06-06 15:14:55 +00:00
Marius Vollmer
5dade85779 *** empty log message *** 1997-06-04 22:42:29 +00:00
Marius Vollmer
916d65b1d1 * struct.c (struct_printer): New variable that holds a handle on
the Scheme variable *struct-printer*.  This variable can be set by
Scheme code to override the printing of structures.
(scm_print_struct): If struct_printer is set, call it.  If it is
not set, or returns #f, print the structure in the old fashion.
Include "eval.h" for scm_apply.
1997-06-04 22:40:58 +00:00
Marius Vollmer
fa7e927466 * boot-9.scm (struct-layout, %struct-printer-tag, struct-printer,
make-struct-printer, set-struct-printer-in-vtable!): New bindings
to support printing of structures.
(record-type-vtable, make-record-type): Add slot to hold printing
function and initialize it with something appropriate.  Removed
commented out printing code.
(record-type-name, record-type-fields): Adjusted slot offsets.
(%print-module): Reduce argument list to "mod" and "port".
1997-06-04 22:39:09 +00:00
Marius Vollmer
7507aba159 *** empty log message *** 1997-06-03 21:53:24 +00:00
Marius Vollmer
bafcafb270 * struct.c (scm_struct_ref, scm_struct_set_x): Use
scm_struct_i_n_words to get the number of fields, not
-scm_struct_n_extra_words.

On the route to fancier struct printing:
* struct.c (scm_print_struct): New function to print a structure.
Include "genio.h" to support it.  This function doesn't do
anything interesting right now, but I think it should be here
anyway.
* struct.h: Include "print.h" and add prototype for
scm_print_struct.
* print.c (scm_iprin1): Call scm_print_struct instead of trying to
print structures ourself.
1997-06-03 21:49:52 +00:00
Jim Blandy
ede1d9bf57 fix typo 1997-06-03 21:44:35 +00:00
Jim Blandy
27590f82e2 Noted fact that libguile will sometimes use Rx. 1997-06-03 21:41:51 +00:00
Jim Blandy
caa8de98bc Added plans for #/ depreciation. 1997-06-03 21:41:26 +00:00
Jim Blandy
dbcda1024a * configure.in: Check for Rx, so we will use its routines (which I
pretty much trust) if it is installed.
* configure: Regenerated.
1997-06-03 21:35:44 +00:00
Gary Houston
2ad6b1a531 * scmsigs.c (sys_deliver_signals): bug fix: reset got_signal[i]
before applying the handler in case it doesn't return.
1997-06-01 08:08:49 +00:00
Gary Houston
115b09a504 provide documentation for sigaction 1997-06-01 00:44:24 +00:00
Gary Houston
e1a191a8ca * scmsigs.h, async.h: updated.
* _scm.h: if HAVE_RESTARTS is defined then don't use a SYSCALL
loop.

* posix.c (scm_uname): interpret only negative values as an error.
Solaris normally returns a positive value.

* script.c (scm_compile_shell_switches): if we are not going into
an interactive repl, set scm_mask_ints to zero so that asyncs can
run.

* simpos.c (scm_system):  don't ignore/unignore signals around
the "system" call.

* posix.c (scm_open_pipe): don't ignore/unignore signals around
the "popen" call.

* init.c (scm_boot_guile_1): don't call scm_init_signals, it's
done in boot-9.scm instead.

* scmsigs.c, async.c: Major rewriting of signal handling code.
(scm_sigaction): new procedure.
(scm_sleep): don't wrap sleep in SCM_SYSCALL, it would mess up the
timing.
(scm_raise): return unspecified, throw error on failure.

* boot-9.scm: signal-handler, alarm-thunk: removed.
don't define ticks-interrupt etc.
top-repl: install signal handlers for SIGINT, SIGFPE, SIGSEGV, SIGBUS
during call to scm-style-repl.

* acconfig.h: mention HAVE_RESTARTS.
* configure.in: check for sigaction and restartable system calls.
1997-05-31 19:02:38 +00:00
Jim Blandy
19da35d025 *** empty log message *** 1997-05-30 18:13:18 +00:00
Jim Blandy
e37e4bca97 * slib.scm (slib:load): Use primitive-load-path instead of
basic-load.  This is probably wrong, but hopefully the entire
source access system will be revised soon anyway, and this will
make require behave more like Emacs Lisp's require.  If this
breaks something, please let me know.  Maybe this is real dumb.
1997-05-30 18:13:10 +00:00
Jim Blandy
59b8e23bf3 Use red-bean instead of cyclic. 1997-05-30 17:03:47 +00:00
Jim Blandy
0e1652816a *** empty log message *** 1997-05-29 02:48:27 +00:00
Jim Blandy
20044282fa * regex-posix.c (scm_init_regex_posix): Register the "regex"
feature, to help boot-9.scm decide whether to import the regex
module.
1997-05-29 02:47:40 +00:00
Jim Blandy
05817d9e0e * regex.scm: Add a module declaration. Use DEFINE-PUBLIC everywhere.
* boot-9.scm: If the `regex' feature is present, use the module
(ice-9 regex).
1997-05-29 02:47:14 +00:00
Jim Blandy
4885ba0e62 *** empty log message *** 1997-05-29 02:20:36 +00:00
Jim Blandy
d16332b312 * eval.c: Include scmconfig.h at the beginning of the file so that
HAVE_ALLOCA_H may properly be defined.  Thanks to Bill Janssen for
pointing this out.
1997-05-29 02:20:19 +00:00
Jim Blandy
69e0587b1c * regex-posix.c: #include "_scm.h" before conditionally #including
<regex.h>; the former defines HAVE_REGCOMP.
1997-05-29 02:20:10 +00:00
Jim Blandy
1e5afba02b *** empty log message *** 1997-05-29 00:13:01 +00:00
Jim Blandy
24e37377fa * regex-posix.c: #include <regex.h> conditionally, so the file is
CPP'able (for dependency scanning) even on systems that don't have
a <regex.h> header.
1997-05-28 17:02:23 +00:00