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

365 commits

Author SHA1 Message Date
Mikael Djurfeldt
29521173a0 macro-eval! removed 1998-01-02 16:43:37 +00:00
Mikael Djurfeldt
a5d6d578d6 * backtrace.c: Added #include "fluids.h"
(scm_init_backtrace): Initialize `the-last-stack' to a fluid.
(scm_backtrace): `the-last-stack' is now a fluid.

* init.c (scm_boot_guile_1): Moved call to scm_init_backtrace
after scm_init_fluids.
1997-11-29 01:10:21 +00:00
Mikael Djurfeldt
933a7411bb * configure.in: Added code to enable GUILE_ISELECT on systems
which have the necessary functions (gettimeofday, select).

* acconfig.h: Added GUILE_ISELECT.
1997-11-27 18:03:06 +00:00
Marius Vollmer
7fbd77df87 *** empty log message *** 1997-10-25 21:52:05 +00:00
Jim Blandy
e2d6569c47 Document "GUILE_LOAD_PATH" change.
Give more details about the deleted header files, and functions.

Clarify explanation of build-guile.

Make all the syscall changes subheadings of "Changes to Scheme
functions and syntax".
1997-10-25 06:44:31 +00:00
Jim Blandy
2e3685828a *** empty log message *** 1997-10-23 05:03:29 +00:00
Mark Galassi
956328d2a4 a couple of name changes for consistency with ! -> _x 1997-10-20 17:32:08 +00:00
Mark Galassi
7fee59bd4a implemented several missing gh_ functions, mostly related to lists and pairs 1997-10-20 03:59:37 +00:00
Tom Tromey
02755d5967 updated NEWS for mbstring removal 1997-10-18 17:40:16 +00:00
Mikael Djurfeldt
527da70434 * tags.h (scm_tc7_substring): Changed the comment and code to
conform with the changes below.  Folks!  We have suddenly two new
free tc7 codes!!!  Jummy, jummy!
1997-10-18 00:17:34 +00:00
Mark Galassi
8d6787b6dc *** empty log message *** 1997-10-13 07:26:23 +00:00
Gary Houston
ec4ab4fd16 *** empty log message *** 1997-10-11 20:44:49 +00:00
Marius Vollmer
8d9dcb3cf3 *** empty log message *** 1997-10-06 13:31:49 +00:00
Marius Vollmer
4851dc578d Fixed bad placement of struct news 1997-10-04 11:41:36 +00:00
Mikael Djurfeldt
ef1ea498fc *** empty log message *** 1997-10-03 00:52:00 +00:00
Jim Blandy
7ed46dc83a Typo. 1997-09-28 03:03:20 +00:00
Mikael Djurfeldt
298aa6e315 scm_array_map & co 1997-09-24 21:28:24 +00:00
Mikael Djurfeldt
3a97e02067 *** empty log message *** 1997-09-15 21:36:19 +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
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
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
9c3fb66f61 *** empty log message *** 1997-07-27 09:04:50 +00:00
Gary Houston
956055a9d6 * boot-9.scm (setenv): new procedure, scsh compatible. 1997-07-26 20:37:05 +00:00
Gary Houston
64d01d1315 NEWS: added new dup variants amound other things. 1997-07-24 09:11:02 +00:00
Marius Vollmer
04c76b5809 *** empty log message *** 1997-07-18 14:27:48 +00:00
Jim Blandy
c484bf7fb0 The normal post-release changes. 1997-07-01 01:01:20 +00:00
Gary Houston
7ad3c1e7c0 * simpos.h: prototype for scm_primitive_exit.
* simpos.c (scm_primitive_exit): new procedure, terminates the
process	without unwinding the stack.
1997-06-28 20:01:20 +00:00
Jim Blandy
94982a4ee1 New sections on regexps.
Move Gary's syscall notes into the scheme section.
1997-06-24 17:19:51 +00:00
Jim Blandy
9e2310a80c *** empty log message *** 1997-06-24 05:43:29 +00:00
Jim Blandy
2409cdfac7 *** empty log message *** 1997-06-23 23:49:39 +00:00
Jim Blandy
161029df7d *** empty log message *** 1997-06-23 06:09:42 +00:00
Jim Blandy
0fcab5ed09 New instructions for running without installing: include build dir in
load path.
1997-06-22 23:26:45 +00:00
Gary Houston
89ea5b7cdf * ports.h: new prototype.
* ports.c (scm_flush_all_ports): new procedure, scsh compatible.
1997-06-21 18:46:27 +00:00
Marius Vollmer
e035e7e68b Added text about dynamic linking functions. 1997-06-16 19:12:03 +00:00
Jim Blandy
832b09eda7 *** empty log message *** 1997-06-12 02:59:54 +00:00
Marius Vollmer
5dade85779 *** empty log message *** 1997-06-04 22:42:29 +00:00
Jim Blandy
27590f82e2 Noted fact that libguile will sometimes use Rx. 1997-06-03 21:41:51 +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
1e5afba02b *** empty log message *** 1997-05-29 00:13:01 +00:00
Jim Blandy
b83b8beea9 *** empty log message *** 1997-05-28 00:09:49 +00:00
Jim Blandy
737c9113fe *** empty log message *** 1997-05-27 23:17:46 +00:00
Jim Blandy
f348c8074e Include rationale for removing ungetc-char-ready?. 1997-05-26 18:05:21 +00:00
Jim Blandy
cf78e9e8ce *** empty log message *** 1997-05-16 11:50:31 +00:00
Jim Blandy
095936d24f *** empty log message *** 1997-05-16 08:05:22 +00:00
Jim Blandy
48d224d7a6 *** empty log message *** 1997-05-15 21:22:12 +00:00
Jim Blandy
e67ea2f1bb *** empty log message *** 1997-05-14 23:34:37 +00:00
Jim Blandy
f3b1485f15 *** empty log message *** 1997-05-14 23:33:37 +00:00
Mark Galassi
aaef0d2a45 * gh_funcs.c (gh_define): added this function.
* gh_init.c (gh_catch): fixed stupid bug, gh_catch() was not
 	returning anything.

	* gh_data.c (gh_scm2newstr): Renamed gh_scm2str0() to
	gh_scm2newstr(), and did away with the str0 convention (it doesn't
	seem to belong in gh_).
	(gh_scm2str): this function now copies Scheme data to a
	pre-allocated C string.
1997-02-10 23:39:51 +00:00