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

21194 commits

Author SHA1 Message Date
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
c10012e3ed Changes to compile under gnu-win32, from Marcus Daniels:
* configure.in: When sys/un.h exists, define HAVE_UNIX_DOMAIN_SOCKETS
to indicate that Unix domain sockets will work.
Check for socketpair, getgroups, setwent, pause, and tzset
(cygwin currently lacks these them).
Check for sethostent endhostent getnetent setnetent endnetent
getprotoent endprotoent getservent endservent getnetbyaddr
getnetbyname inet_lnaof inet_makeaddr inet_netof (cygwin currently
lacks them).  In the case of cygwin, temporarily prefix these
functions with "cygwin32_", the way that netdb.h does.
Don't define HAVE_REGCOMP unless both regcomp and regex.h are
available (cygwin b18 came distributed without a working regex.h
file).
* acconfig.h (HAVE_UNIX_DOMAIN_SOCKETS): Add this.
* configure: Regenerated.
1997-06-24 01:44:29 +00:00
Jim Blandy
2409cdfac7 *** empty log message *** 1997-06-23 23:49:39 +00:00
Jim Blandy
e151bee62a * Makefile.am (libpath.h): Include the values of all the standard
Makefile directory variables.  Print a message, but don't print
all the commands.
(versiondat.h): Print a message, but don't print all the commands.
* load.c: #include "alist.h".
(init_build_info): New function.
(scm_init_load): Call it.
* Makefile.in: Regenerated.
1997-06-23 23:48: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
cc914709fa Include list of test platforms. 1997-06-23 23:43:58 +00:00
Jim Blandy
c7bb9a973a Update libtool version cited in "Hacking It Yourself". 1997-06-23 23:43:40 +00:00
Jim Blandy
e19268af4a Remove mention of `guile' module; it's now defunct.
Describe new guile-doc module.
1997-06-23 19:25:39 +00:00
Jim Blandy
161029df7d *** empty log message *** 1997-06-23 06:09:42 +00:00
Jim Blandy
d94c6eeb75 *** empty log message *** 1997-06-23 04:34:45 +00:00
Jim Blandy
f032b8a8a9 * root.c: Establish a reliable catch-all handler for the new root.
After all the Scheme handler function might signal an error too,
and we don't want to lose that.
(cwdr_inner_body): Renamed from cwdr_body.
(cwdr_outer_body): New function, to establish the user's handler,
and pass control to cwdr_inner_body.
(cwdr): Establish the reliable catch-all handler here, and pass
control to cwdr_outer_body.
(struct cwdr_body_data): New field, handler, to allow cwdr to pass
the user's handler through to cwdr_outer_body.
* throw.c (scm_handle_by_message): Move guts into....
(handler_message): New static function.
(scm_handle_by_message_noexit): New function.
* throw.h (scm_handle_by_message_noexit): New prototype.
1997-06-23 04:34:34 +00:00
Jim Blandy
eb1e924e07 *** empty log message *** 1997-06-23 00:51:47 +00:00
Jim Blandy
8417b6657f * __scm.h: (SCM_FENCE): New macro: optimizer will not move code
across this.  Only works on GCC.  Otherwise, we hope for the best.
(SCM_DEFER_INTS, SCM_ALLOW_INTS): Use FENCE appropriately.  I have
the feeling that real thread systems will not need this...
1997-06-23 00:51:35 +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
f416dbd002 * Makefile.in, md/Makefile.in, time/Makefile.in: Regenerated after
timestamp change; see ../ChangeLog.
1997-06-22 23:44:43 +00:00
Jim Blandy
fef07353a8 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.
* Makefile.am (versiondat.h): New file to generate.
* version.c: #include "versiondat.h", to get version info.
(scm_libguile_config_stamp): New function.
* script.c: #include "version.h".
(scm_compile_switches): Call scm_version to get version number.
* scmconfig.h.in, Makefile.in: Regenerated.
* Makefile.in: Regenerated.

* Makefile.am (ETAGS_ARGS): Catch SCM_PROC, etc. so we can find
primitive definitions under their Scheme names.

* Makefile.am (libguile_la_LDFLAGS): Update library version to
1:2.  Helps avoid confusion between installed and uninstalled libs.
1997-06-22 23:42:40 +00:00
Jim Blandy
7c86ae051a 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.
* configure.in: Provide libguile its version information through a
separate header file generated by the Makefile, not through
scmconfig.h.
(GUILE_MAJOR_VERSION, GUILE_MINOR_VERSION, GUILE_VERSION):
AC_SUBST these, instead of AC_DEFINE'ing them.
(GUILE_STAMP): New AC_SUBST: the time we configured the tree.
(AC_OUTPUT): Create ice-9/version.scm.
* acconfig.h (GUILE_MAJOR_VERSION, GUILE_MINOR_VERSION,
GUILE_VERSION): Deleted.
* Makefile.in: Regenerated.
1997-06-22 23:32:02 +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
Jim Blandy
bacf83f085 Update instructions for running without installing. 1997-06-22 23:26:13 +00:00
Jim Blandy
0dc4863069 ChangeLog 1997-06-22 20:58:07 +00:00
Jim Blandy
7228e89772 * aclocal.m4: Regenerated, using the libtool 0.9h m4 macros. 1997-06-22 20:54:08 +00:00
Jim Blandy
2b272b1e14 *** empty log message *** 1997-06-22 20:53:07 +00:00
Jim Blandy
942fafadca * Makefile.am (EXTRA_DIST): Include acconfig.h in the
distribution.
* Makefile.in: Regenerated.
1997-06-22 20:52:42 +00:00
Jim Blandy
4ad1004a31 * scmconfig.h.in: Regenerated. (Needed after June 3 change to
../configure.in.)
1997-06-22 20:49:39 +00:00
Jim Blandy
8f9dc61479 * gdb_interface.h (GDB_INTERFACE): Remove semicolon and trailing
backslash from definition; this should be used like: GDB_INTERFACE;
1997-06-22 20:49:31 +00:00
Jim Blandy
0ad0bdeecd Doc fix. 1997-06-22 20:41:30 +00:00
Gary Houston
c85e73d329 * ioext.c (scm_duplicate_port): bug fix: don't try to make the
new port unbuffered until its stream has been set.
1997-06-22 08:11:58 +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
Jim Blandy
91529b1de0 *** empty log message *** 1997-06-21 05:53:51 +00:00
Jim Blandy
cdbadcacc1 Make things compile neatly under Sun's C compiler.
* dynl.c (scm_dynamic_func): Cast return value from sysdep_dynl_func.
* extchrs.c (xmbtowc): Make the second arg a normal char, not
unsigned, because that's what the ANSI function takes.
* extchrs.h (xmbtowc): Corresponding change to prototype.
* genio.c (scm_gen_getc): Make buf plain chars.  Nobody wants
uchars here.
* mbstrings.c (scm_mb_ilength): Use ANSI arg syntax.  Make DATA
argument plain char *.
* strings.c (scm_string): Use SCM_ROCHARS, since c is a plain
char.
* tag.c (scm_tag): Remove unreachable statement.
* unif.c (scm_array_to_list): If we want to shift a 1 bit to the
top of the word, it should be unsigned.
1997-06-21 05:53:39 +00:00
Jim Blandy
e3173f937c * eval.c (scm_lookupcar1): Don't declare var2 unless USE_THREADS
is defined, to avoid warnings; it's only used in the
conflict-checking code.  Which might go away anyway.
(SCM_CEVAL): All goto's targeting the `dispatch' label are in
conditionals; put the label definition in an #if too, to stifle
warnings.
1997-06-21 05:53:04 +00:00
Jim Blandy
1773993b8f * Makefile.am (EXTRA_DIST): Include ChangeLog-gh and
ChangeLog-threads in the distribution.
* Makefile.in: Regenerated.
1997-06-21 05:25:12 +00:00
Jim Blandy
a6a5a6643d * ltmain.sh (line 1191): Don't forget 'test' in if statement.
* ltconfig, ltmain.sh: libtoolized, using libtool 0.9h.
1997-06-21 05:24:30 +00:00
Tim Pierce
bee1449102 Fixed Guile snarfing problem with SunPro suite. 1997-06-20 16:52:19 +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
Tim Pierce
5540787919 Tue Jun 17 13:49:56 1997 Tim Pierce <twpierce@bio-5.bsd.uchicago.edu>
*	* load.c (scm_init_load_path): Append $(datadir)/guile to
	%load-path, so modules do not have to be installed in Guile's
	current version directory.
1997-06-17 19:20:07 +00:00
Marius Vollmer
e035e7e68b Added text about dynamic linking functions. 1997-06-16 19:12:03 +00:00
Marius Vollmer
e5f8e12fd0 *** empty log message *** 1997-06-16 19:10:33 +00:00
Marius Vollmer
419e9e117f * dynl.c (scm_dynamic_call, scm_dynamic_args_call): Wrap dynamic
function call in SCM_DEFER_INTS/SCM_ALLOW_INTS.
(scm_dynamic_link, scm_dynamic_unlink, scm_dynamic_func): Always
call the sysdep functions with deferred ints.
* dynl.c, dynl-dl.c, dynl-dld.c, dynl-shl.c (sysdep_dynl_link,
sysdep_dynl_unlink, sysdep_dynl_func): Expect to be called with
deferred interrupts and insert SCM_ALLOW_INTS before throwing an
error.

* dynl.c (scm_dynamic_unlink, scm_dynamic_call): Return
SCM_UNSPECIFIED.
1997-06-16 19:09:11 +00:00
Gary Houston
cc0b331281 * scmsigs.c (sys_deliver_signals): add a comment about a probable bug. 1997-06-14 19:04:24 +00:00
Jim Blandy
e320da2fb9 *** empty log message *** 1997-06-13 05:50:58 +00:00
Jim Blandy
52c5a23aed * boot-9.scm (struct-printer): Fix off-by-one error in range
check.  Correctly check for struct printer tag.

* boot-9.scm (with-regexp-parts): Comment this out.  It has no
users in the core, and relies on mildly hairy details of the old
regexp interface.

* boot-9.scm (ipow-by-squaring, butlast): Fix uses of outdated
function names.

* boot-9.scm (with-excursion-getter-and-setter, q-rear): Doc
fixes.
1997-06-13 05:50:49 +00:00
Jim Blandy
ec8469e7cb * expect.scm: Turn this into a module, (ice-9 expect).
(expect-port, expect-timeout, expect-timeout-proc,
expect-eof-proc, expect-char-proc, expect, expect-strings,
expect-select): Make these public definitions.
(expect-strings): Use make-regexp and regexp-exec, instead of
regcomp and regexec.  We've omitted the REG_NEWLINE flag; hope
that's okay.
1997-06-13 05:50:37 +00:00
Jim Blandy
c6b15ad07e * test.scm: Re-enable tests asserting that '() is true, and not a
boolean.  This stuff has been true for a while.
1997-06-13 05:50:28 +00:00
Jim Blandy
832b09eda7 *** empty log message *** 1997-06-12 02:59:54 +00:00
Jim Blandy
393e4e4de7 * ltconfig, ltmain.sh, config.guess: New files from libtool 0.9g. 1997-06-12 02:59:33 +00:00
Jim Blandy
af8865f7d9 * configure.in: By default, include functions in Guile to allow
linking with dynamic libraries at run-time.  In other words,
--enable-dynamic-linking is now the default.
* configure: Rebuilt.
1997-06-12 02:57:41 +00:00