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

20154 commits

Author SHA1 Message Date
Jim Blandy
8bb7330c9c * boot-9.scm, debug.scm, hcons.scm, lineio.scm, mapping.scm,
poe.scm, slib.scm, tags.scm, threads.scm: Use normal list
notation, instead of #/ notation.
1997-06-24 16:26:27 +00:00
Jim Blandy
9e2310a80c *** empty log message *** 1997-06-24 05:43:29 +00:00
Jim Blandy
db5614083d *** empty log message *** 1997-06-24 05:34:22 +00:00
Jim Blandy
fcfb248d0c * regex-posix.c (scm_make_regexp, scm_regexp_exec): Add optional
FLAGS arguments.
(scm_init_regex_posix): Define constants for the REG_mumble flags;
name them according to the SCSH convention: regexp/mumble.
1997-06-24 05:33:59 +00:00
Jim Blandy
6ac3c29227 * expect.scm (expect-strings): Pass regexp/newline flag to
make-regexp.
1997-06-24 05:33:29 +00:00
Jim Blandy
bd56d01662 * regex-posix.c (scm_make_regexp, scm_regexp_exec): Add optional
FLAGS arguments.
(scm_init_regex_posix): Define constants for the REG_mumble flags.
* regex-posix.h (scm_make_regexp, scm_regexp_exec): Update prototypes.
1997-06-24 05:30:28 +00:00
Jim Blandy
fb6d10650f Fix inconsistencies in parsing of #/ style lists.
* boot-9.scm (read-path-list-notation): New function.
(parse-path-symbol): Deleted.  Replaced by above.
Plug in read-path-list-notation as the parser for #/ lists,
instead of the anonymous lambda form calling parse-path-symbol.
(Thanks to Maurizio Vitale.)
1997-06-24 03:30:11 +00:00
Jim Blandy
f244dee1a1 Revert Marcus's changes; will re-apply when we get papers. 1997-06-24 02:16:31 +00:00
Jim Blandy
42f1c2c94b *** empty log message *** 1997-06-24 01:56:53 +00:00
Jim Blandy
bb73cc1832 Changes to compile under gnu-win32, from Marcus Daniels:
* stime.c (tzset): If tzset isn't provided, make it a NOP.
(scm_localtime): Change SCM_EOF to SCM_EOL.
(scm_mktime): Likewise.
* socket.c: Don't include sys/un.h unless autoconf tells
us Unix domain sockets are available.
(scm_fill_sockaddr): Ignore Unix domain code.
(scm_addr_vector): Likewise.
(scm_init_addr_buffer): Likewise.
(scm_socketpair): Don't include unless socketpair was
found during autoconf.
* simpos.c (SYSTNAME): Treat cygwin like Unix.
* scmsigs.c (scm_pause): Don't include unless pause was found
during autoconf.
* posix.c (scm_getgroups): Don't include unless support function
was found during autoconf (in this case, getgroups).
(scm_setpwent): For setpwent.
(scm_setegid): For setegid.
* net_db.c (scm_inet_netof): Don't include unless support
function was found during autoconf (in this case, inet_netof).
(scm_lnaof): For inet_lnaof.
(scm_inet_makeaddr): For inet_makeaddr.
(scm_getnet): For getnetent, getnetbyname, getnetbyaddr.
(scm_getproto): For getprotoent.
(scm_getserv): For getservent.
(scm_sethost): For sethostent, endhostent.
(scm_setnet): For setnetent, endnetent.
(scm_setproto): For setprotoent, endprotoent.
(scm_setserv): For setservent, endservent.
1997-06-24 01:45:30 +00:00
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