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

508 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
3688473b02 *** empty log message *** 1997-06-11 05:36:20 +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
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
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
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
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
0e1652816a *** empty log message *** 1997-05-29 02:48:27 +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
737c9113fe *** empty log message *** 1997-05-27 23:17:46 +00:00
Jim Blandy
400d7382d2 * regex.scm: New file.
* Makefile.am (subpkgdata_DATA): Add regex.scm.
* Makefile.in: Regenerated.
1997-05-27 23:16:11 +00:00
Jim Blandy
36539a157a *** empty log message *** 1997-05-26 22:37:19 +00:00
Jim Blandy
1532804164 * COPYING, boot-9.scm, debug.scm, emacs.scm, expect.scm, gtcl.scm,
gwish.scm, hcons.scm, lineio.scm, mapping.scm, nonblocking.scm,
oldprint.scm, poe.scm, r4rs.scm, source.scm, tags.scm, test.scm,
threads.scm: New address for FSF.
1997-05-26 22:26:48 +00:00
Jim Blandy
142ad3d9a7 *** empty log message *** 1997-05-16 09:15:53 +00:00
Jim Blandy
df9cf11089 * debug.scm: Update copyright years; this file has been worked on
in 1997.
1997-05-16 09:14:45 +00:00
Jim Blandy
095936d24f *** empty log message *** 1997-05-16 08:05:22 +00:00
Jim Blandy
5aa7fe691e doc fix 1997-05-15 21:22:25 +00:00
Jim Blandy
48d224d7a6 *** empty log message *** 1997-05-15 21:22:12 +00:00
Gary Houston
cafa4c681e * expect.scm: use gettimeofday instead of get-internal-real-time
and use a floating point timeout when calling select.  Untested,
since the regex library is currently AWOL.
1997-05-15 08:48:38 +00:00
Jim Blandy
223be5f043 *** empty log message *** 1997-05-15 02:03:37 +00:00
Jim Blandy
3a3e9e09b8 * boot-9.scm (eval-string): Function deleted; it was already
implemented in C, so there's no point in making a divergable copy
here.
1997-05-15 02:01:08 +00:00
Jim Blandy
9b01064c23 *** empty log message *** 1997-05-13 21:42:30 +00:00
Jim Blandy
de185a275e * Makefile.in: Regenerated, using automake-1.1p. 1997-05-13 21:42:11 +00:00
Gary Houston
1fbc60b2c3 * boot-9.scm (error-catching-loop): don't read a line from
current input when quit is encountered, the previous change
fixes this too.
1997-05-13 04:46:16 +00:00
Jim Blandy
c7d97590d6 *** empty log message *** 1997-05-13 00:02:23 +00:00
Jim Blandy
480977d064 * boot-9.scm (scm-style-repl): After reading an expression,
consume any trailing newline (perhaps preceded by whitespace), to
avoid screwing up GDB.  More detail in comments.
1997-05-13 00:02:05 +00:00
Jim Blandy
6b3f33665f * Makefile.am (ETAGS_ARGS): New variable, since we're not treating
the Scheme code like code yet.
* Makefile.in: Resrac,husrched.
1997-05-07 01:11:37 +00:00
Marius Vollmer
eea324eec3 *** empty log message *** 1997-04-30 13:36:16 +00:00
Marius Vollmer
6b8561828b * boot-9.scm (link-dynamic-module): Do not catch errors from
dynamic-link and dynamic-call.  When the shared library exists it is
now assumed to be suitable for a dynamic C module.
1997-04-30 13:35:11 +00:00
Marius Vollmer
ef79b65ba8 *** empty log message *** 1997-04-29 18:23:55 +00:00
Marius Vollmer
89da903671 * boot-9.scm (process-use-modules): New function to support the
use-modules macro
(use-modules): throw an error iff one of the
requested modules can't be found.
1997-04-29 18:22:54 +00:00
Gary Houston
3be7701343 * boot-9.scm: don't define timer-thunk or gc-thunk. 1997-04-29 08:15:55 +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
6be9e2487b * Makefile.am (subpkgdatadir): Use "ice-9" instead of "@module@";
we're not using AM_INIT_GUILE_MODULE any more.
* Makefile.in: Regeneratitetedrerd.
1997-04-27 22:58:52 +00:00
Jim Blandy
819f936bd9 *** empty log message *** 1997-04-24 08:19:14 +00:00
Jim Blandy
a650ae2ed0 Get 'make dist' to work again.
* Makefile.am (EXTRA_DIST): Remove PLUGIN files.
* Makefile.in: Regenerated, like two tons of fleas.
1997-04-24 08:17:35 +00:00
Jim Blandy
2010830119 *** empty log message *** 1997-04-24 06:40:01 +00:00
Jim Blandy
5e9b2ac994 Changes for reduced Guile distribution: one configure script,
no plugins.
* configure.in, configure: Removed.
* Makefile.in: Regenerated.
1997-04-24 06:38:08 +00:00
Jim Blandy
dab94cac68 *** empty log message *** 1997-04-20 19:58:07 +00:00
Jim Blandy
ef00e7f466 * boot-9.scm (eval-string, command-line, load-user-init): New
functions.
1997-04-19 13:04:38 +00:00
Jim Blandy
40719d96c5 * 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 03:17:03 +00:00
Gary Houston
6549522160 * boot-9.scm (log10): defined. 1997-04-12 19:47:09 +00:00