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

8572 commits

Author SHA1 Message Date
Jim Blandy
4dd8323f1f doc fix 1997-08-26 23:53:28 +00:00
Mikael Djurfeldt
02fbff5e8d Regenerated. 1997-08-25 20:05:30 +00:00
Mikael Djurfeldt
b0a0bd4533 *** empty log message *** 1997-08-25 20:03:49 +00:00
Mikael Djurfeldt
52f1b04606 * emacs.scm (object->string, format, error-args->string): New
procedures.
(emacs-frame-eval): Reworked.
1997-08-25 20:03:21 +00:00
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
f2ae0a19bd Updated 1997-08-25 13:34:17 +00:00
Mikael Djurfeldt
5424b4f785 Updated with messages about gh_write and scm_internal_stack_catch. 1997-08-25 13:33:13 +00:00
Mikael Djurfeldt
88482b31af * error.c, error.h (scm_error_callback): Removed (see NEWS). 1997-08-25 12:33:50 +00:00
Mikael Djurfeldt
0b89e78ee7 * acinclude.m4 (GUILE_NAMED_CHECK_FUNC): New macro: Tagged test,
so that test for the same function can be performed multiple
times.

* configure.in (AC_CHECK_HEADERS): Test for rxposix.h,
rx/rxposix.h.  Add library rx only if regcomp can't be found
without it.
1997-08-24 18:16:25 +00:00
Mikael Djurfeldt
0eeaf019e4 Small fix: sh doesn't have unset on all machines. 1997-08-24 15:58:11 +00:00
Mikael Djurfeldt
365d0782b1 Regenerated 1997-08-24 15:37:10 +00:00
Mikael Djurfeldt
0e31dbfd22 Updated. 1997-08-24 15:35:32 +00:00
Mikael Djurfeldt
e9cd5d2f44 * configure.in (AC_CHECK_HEADERS): Test for rxposix.h,
rx/rxposix.h.  Add library rx only if regcomp can't be found
without it.

* acconfig.h (HAVE_REGCOMP): Added it here since autoheader misses
it for some reason!
1997-08-24 15:35:08 +00:00
Mikael Djurfeldt
a46d5ff2dd * regex-posix.c: If <regex.h> can't be found, try <rxposix.h> or
<rx/rxposix.h>.  (This is in order to accomodate for the GNU Rx
library.)
1997-08-24 15:33:49 +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
95f5b0f5ec * ramap.c (scm_ra_matchp, scm_array_fill_int, racp, ramap_1,
ramap_2o, scm_array_index_map_x, raeql_1, scm_array_equal_p),
unif.c (scm_vector_set_length_x, scm_uniform_vector_length,
scm_array_p, scm_array_rank, scm_array_dimensions,
scm_enclose_array, scm_array_in_bounds_p, scm_uniform_vector_ref,
scm_cvref, scm_array_set_x, scm_array_contents, scm_array_to_list,
scm_array_prototype): Added case scm_tc7_wvect.
1997-08-24 03:29:35 +00:00
Gary Houston
efb997f535 * errno.h: prototype for scm_strerror.
* error.c (scm_strerror): new procedure.
1997-08-23 18:49:35 +00:00
Jim Blandy
1782cc374c *** empty log message *** 1997-08-23 02:23:13 +00:00
Jim Blandy
fb054a8c51 * THANKS: New file.
* Makefile.in, aclocal.m4, configure: Regenerated.
1997-08-23 02:22:56 +00:00
Jim Blandy
5d319f9be7 This used to be a big THANKS file for all the Guile packages and
releases.  Now that it's under CVS, we don't need to keep the history,
and the doc and SCSH stuff can be sent off to the appropriate modules.
1997-08-23 02:21:23 +00:00
Jim Blandy
9f75bc0546 Segregated system-specific installation instructions. 1997-08-23 02:19:55 +00:00
Jim Blandy
88a9ae8059 *** empty log message *** 1997-08-22 22:05:00 +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
Mikael Djurfeldt
1a0e096c86 * list.c (scm_list_append_x): Allow non-pair as last argument.
This is consistent with the R4RS append and is probably the
correct behaviour as specified by R2RS.  (Thanks to Radey Shouman)
1997-08-18 13:17:46 +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
Mikael Djurfeldt
0824b52425 * stacks.c (scm_make_stack), coop-threads.c, mit-pthreads.c
(scm_call_with_new_thread): Bugfix: SCM_WNA should go as third
argument to SCM_ASSERT.  Furthermore, the name of the function
should be passed as first argument when signalling
SCM_WNA. (Thanks to Thomas Morgan)
1997-08-14 15:00:03 +00:00
Mikael Djurfeldt
adc02cce18 * gsubr.c (scm_gsubr_apply): From Radey Shouman
<shouman@zianet.com>: "The switch in scm_gsubr_apply that
dispatches on the number of actual args has a default case
reporting an internal error.  This is a vestige from a version
that mallocated a SCM vector to hold the arguments.  In the
current version this check is too late: if it ever happens we will
have already overstepped the bounds of the array.

Also, the patch [...] adds a check for too many actual arguments."

mdj: Removed check for "internal programming error".
1997-08-14 14:58:25 +00:00
Mikael Djurfeldt
4ed948d4f1 * * gh_io.c (gh_write): New function. 1997-08-13 14:55:34 +00:00
Mikael Djurfeldt
9538471795 * * gh_eval.c (catch_with_saved_stack): Removed. Replaced by:
throw.c (scm_internal_stack_catch): New sibling to the other catch
	functions.  Code moved from gh_eval.c.
	throw.h: Added header.
	gh_eval.c (gh_eval_str_with_stack_saving_handler): Renamed call to
	scm_internal_stack_catch.
1997-08-13 14:54:49 +00:00
Gary Houston
468b2cf37d really delete primitive-dup. 1997-07-29 03:52:24 +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
Marius Vollmer
a0cb6cb0ec *** empty log message *** 1997-07-27 09:11:05 +00:00