1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 11:50:28 +02:00
Commit graph

9538 commits

Author SHA1 Message Date
Jim Blandy
5bc433f5fd * socket.c: Don't include a prototype for inet_aton; just use a
K&R style declaration, to avoid warnings but minimize the chance
of conflicts with the system.
1996-09-03 04:44:48 +00:00
Jim Blandy
bab0f4e553 On NextStep, <utime.h> doesn't define struct utime, unless we
#define _POSIX_SOURCE before #including it.
* aclocal.m4 (GUILE_STRUCT_UTIMBUF): New test.
* acconfig.h: New comment text for above CPP symbol.
* configure.in: Call it.
* posix.c: #define _POSIX_SOURCE if it seems necessary.

* configure.in (AC_CHECK_HEADERS): Include sys/utime.h and utime.h
in the list.
* posix.c: Check HAVE_SYS_UTIME_H and HAVE_UTIME_H, instead of
testing for __EMX__.

* posix.c: #include <libc.h>, if it exists.

* posix.c: Cast the return result to GETGROUPS_T, not gid_t; we
don't even know if the latter exists.

* posix.c (s_sys_setpgid, s_sys_setsid, s_sys_ctermid,
s_sys_tcgetpgrp, s_sys_tcsetpgrp): Renamed from s_setpgid,
s_setsid, s_ctermid, s_tcgetpgrp, s_tcsetpgrp, for consistency.

* posix.c (R_OK, W_OK, X_OK, F_OK): #define these if the system's
header files don't.
(scm_init_posix): Use them when initializing the Scheme constants
of the same name.
1996-09-03 04:43:15 +00:00
Jim Blandy
2170fce3df On NextStep, <utime.h> doesn't define struct utime, unless we
#define _POSIX_SOURCE before #including it.
* aclocal.m4 (GUILE_STRUCT_UTIMBUF): New test.
* acconfig.h: New comment text for above CPP symbol.
* configure.in: Call it.
* posix.c: #define _POSIX_SOURCE if it seems necessary.

* configure.in (AC_CHECK_HEADERS): Include sys/utime.h and utime.h
in the list.
* posix.c: Check HAVE_SYS_UTIME_H and HAVE_UTIME_H, instead of
testing for __EMX__.
1996-09-03 04:42:59 +00:00
Jim Blandy
087d2a6f98 *** empty log message *** 1996-09-03 04:41:38 +00:00
Jim Blandy
3eee6dad76 . 1996-08-30 21:27:24 +00:00
Jim Blandy
e4ef46d43c *** empty log message *** 1996-08-30 21:15:31 +00:00
Jim Blandy
a2086f6fcd * Makefile.in (libdir, includedir, bindir): Use the
autoconf-supplied values, instead of deriving them ourselves.
(pkgincludedir, datadir, pkgdatadir): New variables.
(install, uninstall): Put the header files in a special
subdirectory, not in the main search path.

* Makefile.in (IMPLPATH): Deleted; never used.

* Makefile.in (TCL_SRC_DIR, TK_SRC_DIR): Deleted; we don't depend
on the Tcl/Tk source any more.
(INCLUDE_CFLAGS): Remove references to the above.

* Makefile.in (version.o): Corrected dependencies.
1996-08-30 21:12:30 +00:00
Jim Blandy
e9b367a54b *** empty log message *** 1996-08-30 04:35:06 +00:00
Jim Blandy
9d7e1edf20 * libguile.h: #include "version.h"
* init.c (scm_boot_guile): Call scm_init_version.
* gscm.c (gscm_run_scm): Call scm_init_version.

* configure.in (GUILE_MAJOR_VERSION, GUILE_MINOR_VERSION,
GUILE_VERSION): AC_DEFINE these.
(acconfig.h): #undef the above symbols.

* Makefile.in (libobjs): Add version.o.
(installed_h_files): Add version.h.
(c_files): Add version.c.
(gen_c_files): Add version.x.
(version.o): New rule.
(alist.o, append.o, appinit.o, arbiters.o, async.o, boolean.o,
chars.o, continuations.o, dynwind.o, eq.o, error.o, eval.o,
fdsocket.o, feature.o, files.o, filesys.o, fports.o, gc.o,
genio.o, gsubr.o, hash.o, hashtab.o, init.o, kw.o, list.o, load.o,
mallocs.o, markers.o, marksweep.o, mbstrings.o, numbers.o,
objprop.o, pairs.o, ports.o, posix.o, print.o, procprop.o,
procs.o, ramap.o, read.o, root.o, scmsigs.o, sequences.o,
simpos.o, smob.o, socket.o, stackchk.o, stime.o, strings.o,
strop.o, strorder.o, strports.o, struct.o, symbols.o, tag.o,
throw.o, unif.o, variable.o, vectors.o, version.o, vports.o,
weaks.o): Add version.h to dependency lists.
(markers.o): Remove duplicate rule.

* version.h: New file.

* version.c: New file.
1996-08-30 04:34:43 +00:00
Jim Blandy
a585a27d24 *** empty log message *** 1996-08-30 03:36:49 +00:00
Jim Blandy
566011b96d * symbols.c (scm_strhash): scm_downcase is now a function, not an
array; use it appropriately.  Since GCC is quite happy to
subscript functions, it never warned us about this; we should use
-Wpointer-arith in the future.  I guess we never tested
case-insensitivity.
1996-08-30 03:36:29 +00:00
Jim Blandy
866679103b * socket.c: Doc and copyright fixes. 1996-08-30 03:35:46 +00:00
Mikael Djurfeldt
1f3f68bffe *** empty log message *** 1996-08-24 03:31:29 +00:00
Mikael Djurfeldt
e090924c2e * debug.c: Fixed and improved gdb support. 1996-08-24 03:30:52 +00:00
Mikael Djurfeldt
23858ad18b * stime.c: Added declaration of ftime. (This is missing in
Solaris 2 headers.)
1996-08-23 16:18:50 +00:00
Mikael Djurfeldt
82ddea4e8a * socket.c: Added declaration of inet_aton to avoid compiler
warning.  (Hope this solution is correct.)
1996-08-23 16:18:38 +00:00
Mikael Djurfeldt
1f99d12bc0 *** empty log message *** 1996-08-23 16:18:21 +00:00
Gary Houston
76764db164 remove a change that shouldn't have slipped in. 1996-08-23 06:46:51 +00:00
Gary Houston
e17cba1666 * strerror.c: new file from Emacs' sysdep.c.
maybe configure should also check for sys_errlist.
1996-08-23 06:44:47 +00:00
Gary Houston
14a7e04c88 * configure, scmconfig.h.in: Updated, using autoconf and autoheader.
* Makefile.in (c_files): add strerror.c.

	* strerror.c: new file from Emacs' sysdep.c.
	maybe configure should also check for sys_errlist.

	* configure.in (AC_REPLACE_FUNCS): add strerror.
1996-08-23 06:40:56 +00:00
Mikael Djurfeldt
8755c9e4ca * debug.c (scm_init_debug): Added initialization for
scm_evaluator_traps.
1996-08-23 04:43:48 +00:00
Mikael Djurfeldt
37bac80058 *** empty log message *** 1996-08-23 04:43:24 +00:00
Mikael Djurfeldt
1efc5155a3 *** empty log message *** 1996-08-23 01:22:39 +00:00
Mikael Djurfeldt
faa6b3dfb6 * gscm.c, init.c, root.c, throw.c: Bug fixes:
last_debug_info_frame is now updated in all cases.
1996-08-23 01:21:07 +00:00
Mikael Djurfeldt
39f1ef511c * __scm.h, stackchk.h, stackchk.c: Guile now performs stack
checking.
1996-08-23 01:21:00 +00:00
Mikael Djurfeldt
b7ff98ddd6 * eval.c, print.h, print.c, read.h, read.c: Modifications to
run-time options.
1996-08-23 01:20:34 +00:00
Mikael Djurfeldt
fe90df5148 * options.h, options.c: Options now have documentation strings.
Also added a long explanatory commentary.
1996-08-23 01:20:00 +00:00
Mikael Djurfeldt
cbff1d8959 * debug.h, debug.c: Various name changes.
(Mostly prefixing with SCM_.)  Renamed "debug-options" -->
"debug-options-interface".  See commentary in options.c.

* options.h, options.c: Options now have documentation strings.
Also added a long explanatory commentary.
1996-08-23 01:19:52 +00:00
Mikael Djurfeldt
5e8d7fd4fa * debug.h, debug.c: Various name changes.
(Mostly prefixing with SCM_.)  Renamed "debug-options" -->
"debug-options-interface".  See commentary in options.c.
1996-08-23 01:19:03 +00:00
Mikael Djurfeldt
80c78696e8 * __scm.h, stackchk.h, stackchk.c: Guile now performs stack
checking.
1996-08-23 01:18:28 +00:00
Mikael Djurfeldt
a8959050f9 *** empty log message *** 1996-08-23 01:16:02 +00:00
Mikael Djurfeldt
043045f853 * error.c (scm_everr, scm_init_error): write now writes correct
number of characters.  Define %%system-error with SCM_SYMBOL.
1996-08-22 15:37:57 +00:00
Mikael Djurfeldt
5391bb635c *** empty log message *** 1996-08-22 15:37:35 +00:00
Mikael Djurfeldt
8d71b0ce98 *** empty log message *** 1996-08-20 17:12:43 +00:00
Mikael Djurfeldt
e137c6b3e3 * throw.c (jbsmob): Jump buffers are now correctly allocated.
(Bug found by A. Green.)
1996-08-20 17:12:15 +00:00
Mikael Djurfeldt
8a5ae618b6 * srcprop.h: New file: source properties. 1996-08-20 17:12:05 +00:00
Mikael Djurfeldt
575888bda8 * * srcprop.c: New file: source properties. 1996-08-20 17:11:59 +00:00
Mikael Djurfeldt
615aec77a3 * root.h: Added scm_source_whash among scm_sys_protects. 1996-08-20 17:11:43 +00:00
Mikael Djurfeldt
ba99801ada * read.h: Defines for reader options. 1996-08-20 17:11:34 +00:00
Mikael Djurfeldt
a16f6fe77f * * read.c: New procedure: scm_read_options 1996-08-20 17:11:25 +00:00
Mikael Djurfeldt
444b1d4d4a * print.h: Defines for print options. 1996-08-20 17:11:17 +00:00
Mikael Djurfeldt
e6e4c9af39 * * print.c: New procedure: scm_print_options 1996-08-20 17:11:03 +00:00
Mikael Djurfeldt
4625e44f7e * posix.c (scm_getpgrp): Cast pointer to getpgrp. 1996-08-20 17:10:18 +00:00
Mikael Djurfeldt
8ba7a00bfe * * objprop.c (scm_object_properties, scm_set_object_properties_x):
scm_object_properties shouldn't return handle.  `handle' now gets
	initialized in scm_set_object_properties_x.  scm_object_properties
	doesn't any longer create an entry in scm_object_whash.
1996-08-20 17:09:58 +00:00
Mikael Djurfeldt
6040c774a8 * libguile.h: Conditionally include debug.h 1996-08-20 17:09:47 +00:00
Mikael Djurfeldt
4e1caa796c * init.c (scm_restart_stack, scm_boot_guile): Added initialization
of SCM_DFRAME.  Added calls to scm_init_{debug,options,srcprop}.
1996-08-20 17:09:41 +00:00
Mikael Djurfeldt
4037ac5ffe * gc.c (scm_init_storage): Renamed scm_make_weak_hash_table
--> scm_make_weak_key_hash_table.
1996-08-20 17:09:31 +00:00
Mikael Djurfeldt
8d1e7f8c0d * eval.h: Renamed EVAL --> XEVAL. 1996-08-20 17:09:20 +00:00
Mikael Djurfeldt
6dbd0af506 * * eval.c: scm_m_set and SCM_IM_SET no longer supports multiple
argument pairs.  Extensive modifications to the debugging
	evaluator.  Added "SECTION:" commentaries to clarify what happens
	when, during double compilation.  Renamed EVALIMP --> EVALIM.
	Renamed EVAL --> XEVAL.  Removed function evalcar.  Defined
	evalcar to scm_eval_car.  Added explanation of "EVAL" symbols to
	the beginning of the file.  New procedure: scm_unmemocopy.
	Added some global state variables needed by the debugging
	evaluator: scm_ceval_ptr, last_debug_info_frame, debug_mode,
	check_entry, check_apply, check_exit, debug_options and
	evaluator_traps.  New acro: undefine.
1996-08-20 17:09:07 +00:00
Mikael Djurfeldt
c7ecd529c0 * debug.h: New file: low-level debugging support.
* libguile.h: Conditionally include debug.h
1996-08-20 17:08:53 +00:00