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

3667 commits

Author SHA1 Message Date
Jim Blandy
1e598865e9 * backtrace.c, backtrace.h, debug.c, debug.h, eq.c,
gdb_interface.h, gdbint.c, gdbint.h, gh_data.c, gh_init.c,
gh_io.c, gh_list.c, gh_predicates.c, gh_test_c.c, gh_test_repl.c,
init.c, net_db.c, options.c, options.h, ports.c, print.c, read.c,
script.h, snarf.h, srcprop.c, srcprop.h, stacks.c, stacks.h,
throw.c: Update copyright years; these files have been worked on
significantly in 1997, but only had copyright years for 1996.
Also, change name of copyright holder on some from Mikael
Djurfeldt to Free Software Foundation; he has signed papers
assigning the changes to the FSF.
1997-05-16 09:14:28 +00:00
Jim Blandy
eeb56f3c7b *** empty log message *** 1997-05-16 08:07:47 +00:00
Jim Blandy
8e56830978 * script.c (scm_shell_usage): Pass FATAL to exit. There's no
reason not to give the user the option.
1997-05-16 08:07:35 +00:00
Jim Blandy
3d781d4935 * net_db.c (scm_gethost, scm_getnet, scm_getproto, scm_getserv):
Return #f on end-of-file when scanning table (i.e. when called
with no arguments).  Try to catch errors, when we can.
* posix.c (scm_getgrgid, scm_getpwuid): Same.
1997-05-16 08:06:17 +00:00
Jim Blandy
095936d24f *** empty log message *** 1997-05-16 08:05:22 +00:00
Jim Blandy
190b072dc8 *** empty log message *** 1997-05-15 21:30:45 +00:00
Jim Blandy
9cb76af41a * script.h (scm_shell-usage, scm_compile_shell_switches): New
external declarations.  These are useful.
1997-05-15 21:30:06 +00:00
Jim Blandy
075139397c * net_db.c (scm_gethost, scm_getnet, scm_getproto, scm_getserv):
Return #f on end-of-file when scanning table (i.e. when called
with no arguments).  Try to catch errors, when we can.
1997-05-15 21:29:58 +00:00
Gary Houston
a48a89bc17 * posix.c: don't include <sys/select.h> or define macros for
select, since they were not used in this file.

*	* filesys.c (scm_select): make the fifth parameter microseconds,
	not milliseconds.  let the fourth parameter be either a real value
	or an integer or #f.  The first, second and third arguments can
	now be vectors: the type of the corresponding return set will be
	the same.
	(set_element, get_element): new static procedures.
1997-05-15 08:46:37 +00:00
Jim Blandy
223be5f043 *** empty log message *** 1997-05-15 02:03:37 +00:00
Jim Blandy
b377f53e56 * strports.c (scm_eval_string): New function.
(scm_eval_0str): Trivially re-implemented in terms of
scm_eval_string.
* strports.h (scm_eval_string): New extern decl.
1997-05-15 02:02:40 +00:00
Jim Blandy
e1cd56f9d3 *** empty log message *** 1997-05-15 00:59:19 +00:00
Jim Blandy
7a98cdb9df * net_db.c (h_errno): Add extern decl for this. 1997-05-15 00:59:04 +00:00
Jim Blandy
f3b1485f15 *** empty log message *** 1997-05-14 23:33:37 +00:00
Jim Blandy
6a2c4c81ae * fports.c (local_pclose): New function.
(scm_pipob): Use it in the initializer here.
1997-05-14 23:31:00 +00:00
Jim Blandy
45db98d029 From Tim Pierce:
* net_db.c (scm_gethost, scm_getproto, scm_getnet, scm_getserv):
Use a meaningful error message when signalling an error.  For
this, scm_gethost must check h_errno rather than errno.
1997-05-14 17:20:10 +00:00
Jim Blandy
86327304c8 Doc fix. 1997-05-14 16:59:16 +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
Jim Blandy
cbb9f376ac Doc fix 1997-05-13 15:54:07 +00:00
Gary Houston
0267051bad socket.c (scm_addr_vector): use SCM_UNDEFINED in scm_listify,
not SCM_UNSPECIFIED
1997-05-13 04:56:21 +00:00
Gary Houston
d636d18c1e * socket.c (scm_addr_vector): use SCM_UNDEFINED in scm_listify,
not SCM_UNSPECIFIED.
1997-05-13 04:54:25 +00:00
Gary Houston
08fea0882d * script.c (scm_compile_shell_switches): don't append (quit) if
interactive.
(scm_shell): call scm_exit_status and exit on the result of the
evaluation.
1997-05-13 04:49:49 +00:00
Jim Blandy
821eb64e11 *** empty log message *** 1997-05-12 22:43:49 +00:00
Jim Blandy
89958ad0ef Ensure that shared substrings are handled properly when passed to
a system call or other foreign function.  Many thanks to Tim
Pierce!
* symbols.h (SCM_COERCE_SUBSTR): new macro.
* filesys.c (scm_chmod, scm_rename, scm_delete_file, scm_mkdir,
scm_rmdir, scm_opendir, scm_chdir, scm_symlink, scm_readlink,
scm_lstat), ports.c (scm_sys_make_void_port), posix.c (scm_utime,
scm_putenv, scm_setlocale, scm_mknod), stime.c (setzone,
scm_strftime), vports.c (scm_make_soft_port), backtrace.c
(scm_display_error_message): use RO macros when strings may be RO.
* error.c (scm_error_scm), filesys.c (scm_chown, scm_chmod,
scm_rename, scm_delete_file, scm_mkdir, scm_rmdir, scm_opendir,
scm_chdir, scm_symlink, scm_readlink, scm_lstat), ioext.c
(scm_freopen, scm_duplicate_port, scm_fdopen), net_db.c
(scm_gethost, scm_getnet, scm_getproto, scm_getserv), ports.c
(scm_sys_make_void_port), posix.c (scm_getgrgid, scm_utime,
scm_setlocale, scm_mknod), stime.c (setzone, scm_strptime,
scm_strftime), vports.c (scm_make_soft_port): use
SCM_COERCE_SUBSTR to make sure shared substrings are
null-terminated.
1997-05-12 22:43:10 +00:00
Jim Blandy
94754080e4 * init.c (scm_init_standard_ports): Doc fix. 1997-05-12 20:33:36 +00:00
Marius Vollmer
8e6f33db0e *** empty log message *** 1997-05-08 12:52:04 +00:00
Marius Vollmer
1b1b4739f2 * script.c (scm_ice_9_already_loaded): New variable.
(scm_compile_shell_switches): Use it.
1997-05-08 12:51:12 +00:00
Marius Vollmer
803f85ccf7 * dynl-shl.c: Completely replaced with new code from Bernard
URBAN.
1997-05-08 12:50:18 +00:00
Gary Houston
4edc089ccb * filesys.c (scm_input_waiting_p): add missing third argument to
scm_misc_error.

* stime.c (scm_localtime): copy the result of localtime before
calling gmtime in case they share a buffer.
(scm_localtime, scm_mktime): throw an error if neither HAVE_TM_ZONE
nor HAVE_TZNAME.
1997-05-05 21:01:57 +00:00
Gary Houston
554878da6d * eq.c (scm_equal_p): use SCM_TYP7SD (y) not SCM_TYP7SD (x). 1997-05-02 19:11:43 +00:00
Jim Blandy
914155ca94 *** empty log message *** 1997-05-01 22:09:11 +00:00
Jim Blandy
52f980e486 * Makefile.am (check-local): New target, which causes 'make check'
to run gh_test_c and gh_test_repl, with some trivial input.
* Makefile.in: Rgnrtd.
1997-05-01 22:08:29 +00:00
Marius Vollmer
dbc55d9636 Mention guile-ffi in my http dir 1997-05-01 10:41:16 +00:00
Marius Vollmer
6fa9bcd05a *** empty log message *** 1997-04-29 18:31:09 +00:00
Marius Vollmer
1fe1799f24 * dynl.c (print_dynl_obj): Indicate whether the dynamic object has
been unlinked.
1997-04-29 18:29:53 +00:00
Gary Houston
9ea54cc6fa * async.c (scm_sys_tick_async_thunk): commented out. I'm not
sure how this was supposed to work.
	(scm_async_click): don't send SCM_TICK_SIGNAL.
	(scm_init_async): don't initialize %tick-thunk.

	* the following change doesn't affect the Scheme interface:
 	gc-thunk is called at the end of garbage collection.  however it's
 	no longer implemented by pretending it's a signal.

	* gc.c (scm_gc_end): don't call scm_take_signal.  instead mark the
	system async corresponding to scm_gc_thunk.
	* async.h: declare scm_gc_async.
	* async.c (scm_sys_gc_async_thunk): apply the thunk named by
	gc-thunk directly, instead of going through a signal handler.
	(scm_gc_async): new variable, points to the GC system-async.
	(scm_init_async): save the GC async as scm_gc_async instead
	of using system_signal_asyncs.
	(scm_gc_vcell): new variable, stores the gc-thunk vcell.
1997-04-29 08:18:08 +00:00
Jim Blandy
1083023276 *** empty log message *** 1997-04-29 00:29:58 +00:00
Jim Blandy
593d151f4b * Makefile.am (libpath.h, cpp_err_symbols.c, cpp_sig_symbols.c):
Don't screw up if we're interrupted.
* Makefile.in: Regeneradet.
1997-04-29 00:29:40 +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
5380de6b99 * Makefile.am (modincludedir): Use "ice-9" instead of "@module@";
we're not using AM_INIT_GUILE_MODULE any more.
* Makefile.in: Reneregated.
1997-04-27 22:59:39 +00:00
Jim Blandy
4616e355e5 *** empty log message *** 1997-04-24 09:24:24 +00:00
Jim Blandy
353793082f Functions for finding variable bindings, grace à Tim Pierce.
* gh_data.c (gh_lookup, gh_module_lookup): New functions.
* gh.h (gh_lookup, gh_module_lookup): New prototypes.
1997-04-24 09:24:03 +00:00
Jim Blandy
819f936bd9 *** empty log message *** 1997-04-24 08:19:14 +00:00
Jim Blandy
26543e6162 Get 'make dist' to work again.
* Makefile.am (EXTRA_DIST): Remove PLUGIN files.
* Makefile.in: Regenerated, like a surry without a fringe on top.
1997-04-24 08:17:48 +00:00
Jim Blandy
2010830119 *** empty log message *** 1997-04-24 06:40:01 +00:00
Jim Blandy
964edde7d3 * init.c: #include "script.h", to get prototype for script.c's
init function.
1997-04-24 06:37:25 +00:00
Jim Blandy
b1e9e9d1f0 Changes for reduced Guile distribution: one configure script,
no plugins.
* configure.in, configure: Removed.
* acconfig.h, acinclude.m4: Moved to parent directory, where the
real configure script lives.
* Makefile.in, scmconfig.h.in: Regenerated.
1997-04-24 06:36:50 +00:00
Jim Blandy
ebe2a6c136 * script.c (scm_compile_shell_switches): Dyke out debugging output
code.
1997-04-24 02:32:05 +00:00