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
Mikael Djurfeldt
a5be27cd24 * session.scm (apropos-internal): Musn't initialize symbol
accumulator with a constant pair.  That led to mutation of the
source!
1997-08-25 15:07:18 +00:00
Mikael Djurfeldt
68aed3ea96 * session.scm (vector-for-each): Removed.
(apropos): vector-for-each --> array-for-each.
(apropos-internal): New function.  Return list of accessible
symbols matching regexp.
1997-08-24 03:39:47 +00:00
Mikael Djurfeldt
1c21502928 * emacs.scm (emacs-load): New arguments: interactivep: when
non-false, send back results to Emacs; colnum: Column number;
Use modules (ice-9 debug) and (ice-9 session);
(no-stack, no-source): New simple-actions;
(result-to-emacs): New procedure. Sends data to Emacs via the
result protocol;
(get-frame-source, emacs-select-frame, emacs-frame-eval,
emacs-symdoc): New procedures.
1997-08-24 03:38:48 +00:00
Mikael Djurfeldt
8ccbf00d9a * debug.scm (frame-number->index): New function. Convert frame
number (as displayed in the backtrace) to frame index (to be used
in stack-ref).
1997-08-24 03:32:43 +00:00
Mikael Djurfeldt
8c5a8bed57 * emacs.scm (emacs-load): New argument: interactivep: when
non-false, send back results to Emacs.
1997-08-21 09:32:37 +00:00
Mikael Djurfeldt
8c3420ad4d * emacs.scm (emacs-load): Adjust stack narrowing.
(whitespace-chars): Include #\np.
1997-08-20 19:52:03 +00:00
Mikael Djurfeldt
eb7ec1e820 * emacs.scm (emacs-load): Adjust stack narrowing. 1997-08-20 17:42:15 +00:00
Mikael Djurfeldt
555f21d8bd *** empty log message *** 1997-08-20 11:24:14 +00:00
Mikael Djurfeldt
5fa781a092 * psyntax.pp: Removed leading blanks => 800K -> 100K. 1997-08-20 11:23:52 +00:00
Mikael Djurfeldt
6a546cd710 * syncase.scm: Also turn off debugging evaluator and recording of
procedure names during loading of psyntax.pp.
1997-08-20 11:23:22 +00:00
Mikael Djurfeldt
a48930c687 * syncase.scm: Don't tamper with debug mode setting when enabling
macros.  Instead cut the stack with start-stack.
	Load psyntax.pp with recording of positions turned off.
1997-08-19 21:58:29 +00:00
Mikael Djurfeldt
19ef2a9bdb * syncase.scm: Don't tamper with debug mode setting when enabling
macros.  Instead cut the stack with start-stack.
1997-08-19 20:51:42 +00:00
Mikael Djurfeldt
4f9cefe3c3 Dybvig's version 1997-08-19 19:45:40 +00:00
Mikael Djurfeldt
868dc739fd Added syncase.scm, psyntax.pp, psyntax.ss 1997-08-19 01:35:09 +00:00
Mikael Djurfeldt
ceb177a473 *** empty log message *** 1997-08-19 01:34:46 +00:00
Mikael Djurfeldt
ae11ddaef4 psyntax.pp, psyntax.ss (quasiquote): Changed fx= --> =. 1997-08-19 01:32:26 +00:00
Mikael Djurfeldt
230c435383 * syncase.scm: New file: Guile-adaption for syntax-case macros.
psyntax.pp, psyntax.ss: Syntax-case macros, portable version 2 by
R. Kent Dybvig, Oscar Waddell, Bob Hieb and Carl Bruggeman
1997-08-19 01:28:50 +00:00
Mikael Djurfeldt
4f161c5cb1 *** empty log message *** 1997-08-18 20:19:18 +00:00
Mikael Djurfeldt
0e81dabd94 * * session.scm: New file: Session support.
(apropos): New procedure: List bindings given regexp.
1997-08-18 20:02:22 +00:00
Gary Houston
6afcd3b2b6 * stime.h: prototype for scm_times.
* stime.c (scm_times): new procedure.
* ioext.c (scm_fseek): if the first argument is a file descriptor
call lseek.
(scm_ftell): if the first argument is a file descriptor call lseek
(sic).
* filesys.h: prototypes for scm_open_fdes, scm_fsync.
* filesys.c (scm_chmod): if the first argument is a file descriptor,
call fchmod.
(scm_chown): if the first argument is a port or file descriptor,
call fchown.
(scm_truncate_file): new procedure.
Add DEFER/ALLOW INTS to a few other procedures.
(scm_fsync): new procedure.
(scm_open_fdes): new procedure.
(scm_open): use scm_open_fdes.  If mode isn't specified, 666 will
now be used.
(scm_fcntl): the first argument can now be a file descriptor.  The
third argument is now optional.

* posix.c (scm_execl, scm_execlp): make the filename argument
compulsory, since omitting it causes SEGV.
(scm_sync): return unspecified instead of #f.
(scm_execle): new procedure.
(environ_list_to_c): new procedure.
(scm_environ): use environ_list_to_c.  disable interrupts.
(scm_convert_exec_args): take pos and subr arguments and
improve error checking.

* boot-9.scm: define tms accessors: clock, utime, stime, cutime,
cstime.
1997-08-16 18:48:44 +00:00
Mikael Djurfeldt
db75135d74 * emacs.scm (emacs-load): Something has changed in the reader so
that we now should set the port line count to the specified value
(linum) instead of (- linum 1).
1997-08-14 19:23:13 +00:00
Mikael Djurfeldt
096d5f90c3 * slib.scm (slib:load): Use load-from-path instead of
primitive-load-path so that backtraces get narrowed properly at
the top.

* boot-9.scm (top-repl): Save stack already in signal handler in
order to narrow it correctly.
(save-stack): Adjust narrowing tag for the top of load-stacks.
1997-08-14 18:24:46 +00:00
Gary Houston
7a6f1ffa10 * ioext.h: fix up prototypes.
* ioext.c (scm_dup_to_fdes): renamed from scm_primitive_dup2.
Scheme name is now dup->fdes.
(scm_dup_to_fdes): make the second argument optional and
fold in the functionality of scm_primitive_dup.
(scm_primitive_dup): deleted.
* fports.h (SCM_P): prototypes for scm_setvbuf, scm_setfileno.
* fports.c (scm_setbuf0): don't disable the setbuf if MSDOS or
ultrix are defined.  Use setvbuf instead of setbuf.
(scm_setvbuf): new procedure.
(scm_init_fports): intern _IOFBF, _IOLBF, _IONBF.
(scm_setfileno): moved from ioext.c.
(scm_fgets): cast SCM_STREAM to (FILE *), remove unused lp variable.
(top of file): Delete 25 lines of probably obsolete CPP hair for MSDOS.

* boot-9.scm (move->fdes, dup->port): use dup->fdes, not primitive-dup.
(dup->fdes): deleted, now done in C.
1997-07-29 02:21:08 +00:00
Gary Houston
956055a9d6 * boot-9.scm (setenv): new procedure, scsh compatible. 1997-07-26 20:37:05 +00:00
Marius Vollmer
485cb6eb4f *** empty log message *** 1997-07-26 20:03:52 +00:00
Marius Vollmer
8a6a86714b * boot-9.scm (with-fluids): New macro to go with the
builtin `with-fluids*'.
1997-07-26 20:03:23 +00:00
Mikael Djurfeldt
4d0d7ef9d6 * slib.scm (install-require-module): In newer versions of slib 1997-07-24 02:32:42 +00:00
Mikael Djurfeldt
8309a10d87 * boot-9.scm: If using emacs interface, enable backtraces
automatically.
1997-07-23 18:15:37 +00:00
Gary Houston
e38303a26d * ioext.h: removed scm_duplicate_port prototype.
* ioext.c (scm_primitive_dup2): return the new file descriptor
instead of SCM_UNSPECIFIED, since similarity to scm_primitive_dup
is convenient.
(scm_fdopen): bug fix: don't try to make port unbuffered until its
stream has been set.
(scm_duplicate_port): deleted, there's now an implementation in
boot-9.scm.
(scm_primitive_dup2): do nothing if newfd == oldfd.

* boot-9.scm (dup->port, dup->inport, dup->outport, dup->fdes,
dup, fdes->inport, fdes->outport, port->fdes): new procedures.
(duplicate-port): was a C primitive, now it's here.
(move->fdes): allow the first argument to be a file descriptor.
Return the modified port or file descriptor (was unspecified.)
1997-07-21 08:52:26 +00:00
Jim Blandy
32552d73c6 *** empty log message *** 1997-07-11 05:44:05 +00:00
Jim Blandy
4cd2a3e684 Changes to compile under gnu-win32, from Marcus Daniels:
* boot-9.scm (load-user-init): If HOME is unset, provide
a default of /.
1997-07-11 05:41:24 +00:00
Jim Blandy
2e3e9351a4 *** empty log message *** 1997-07-11 05:14:25 +00:00
Jim Blandy
3c5af9ef9b * boot-9.scm (define-public): Changed to accomodate Hobbit. 1997-07-11 05:13:59 +00:00
Tim Pierce
c75a590628 *** empty log message *** 1997-06-28 09:03:21 +00:00
Jim Blandy
fcff2c5c70 *** empty log message *** 1997-06-24 17:21:11 +00:00
Jim Blandy
8bb7330c9c * boot-9.scm, debug.scm, hcons.scm, lineio.scm, mapping.scm,
poe.scm, slib.scm, tags.scm, threads.scm: Use normal list
notation, instead of #/ notation.
1997-06-24 16:26:27 +00:00
Jim Blandy
db5614083d *** empty log message *** 1997-06-24 05:34:22 +00:00
Jim Blandy
6ac3c29227 * expect.scm (expect-strings): Pass regexp/newline flag to
make-regexp.
1997-06-24 05:33:29 +00:00
Jim Blandy
fb6d10650f Fix inconsistencies in parsing of #/ style lists.
* boot-9.scm (read-path-list-notation): New function.
(parse-path-symbol): Deleted.  Replaced by above.
Plug in read-path-list-notation as the parser for #/ lists,
instead of the anonymous lambda form calling parse-path-symbol.
(Thanks to Maurizio Vitale.)
1997-06-24 03:30:11 +00:00
Jim Blandy
f244dee1a1 Revert Marcus's changes; will re-apply when we get papers. 1997-06-24 02:16:31 +00:00
Jim Blandy
42f1c2c94b *** empty log message *** 1997-06-24 01:56:53 +00:00
Jim Blandy
eda764e9d4 Changes to compile under gnu-win32, from Marcus Daniels:
* boot-9.scm (load-user-init): If HOME is unset, provide
a default of /.
1997-06-24 01:44:58 +00:00
Jim Blandy
2409cdfac7 *** empty log message *** 1997-06-23 23:49:39 +00:00
Jim Blandy
9b345f6c21 Doc fix. 1997-06-23 23:44:34 +00:00
Jim Blandy
75fd4fb691 * boot-9.scm (make-list): Remove the definition of this function
from the (ice-9 common-list) module; make the `init' argument
optional in the	scm module's definition, to match the deleted
definition.  Harmony reigneth?  (Thanks to Bernard URBAN.)
1997-06-23 23:44:20 +00:00
Jim Blandy
91b28bb55d *** empty log message *** 1997-06-22 23:47:13 +00:00
Jim Blandy
9946dd45a4 Try to detect when people are using one version of libguile and a
different version of ice-9.  People have been skewing things and
sending in bug reports.
* version.scm.in: New file, which the configure script munges to
produce version.scm, which contains the ice-9 config stamp.
* boot-9.scm: Compare the libguile and ice-9 config stamps;
display a warning if the two are different.
* Makefile.am: Install version.scm, but don't distribute it.
Distribute version.scm.in, but don't install it.
* Makefile.in: Regenerated.
1997-06-22 23:46:41 +00:00
Jim Blandy
9fbdb48f36 *** empty log message *** 1997-06-20 02:01:36 +00:00
Jim Blandy
7ed9feb0f8 * slib.scm (slib:warn): Alias for WARN function. 1997-06-20 02:01:25 +00:00
Jim Blandy
e320da2fb9 *** empty log message *** 1997-06-13 05:50:58 +00:00