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

3667 commits

Author SHA1 Message Date
Marius Vollmer
08f3ac022a *** empty log message *** 1997-01-18 11:51:03 +00:00
Marius Vollmer
9b8d32883e * symbols.c (scm_sysintern): Renamed to
scm_sysintern_no_module_lookup.
(scm_sysintern): New function to take the place of the old
scm_sysintern. It uses the current toplevel lookup closure to give
the symbol its value.  This is a temporary hack to put packages
like gtcltk into their own module.
(scm_can_use_top_level_lookup_closure_var): New variable to tell
us whether `scm_top_level_lookup_closure_var' has been initialized
and is usable.
* eval.c (scm_init_eval): Set it.
1997-01-18 11:49:35 +00:00
Marius Vollmer
80bc78903a * dynl.c (scm_dynamic_func): New function to get the address of a
function in a dynamic object.
(scm_dynamic_call, scm_dynamic_args_call): Accept the values
produced by scm_dynamic_func as the thing to call.

* dynl.c, dynl-dl.c, dynl-dld.c, dynl-shl.c: Restructured.
(scm_register_module_xxx, scm_registered_modules,
scm_clear_registered_modules): New functions.
1997-01-18 11:40:31 +00:00
Marius Vollmer
d914fd5fbf * configure.in: Only define DYNAMIC_LINKING when one of the system
dependent functions is detected.
1997-01-18 11:38:15 +00:00
Jim Blandy
e53cfd29f0 *** empty log message *** 1997-01-14 17:55:17 +00:00
Gary Houston
be9edf15fb * Makefile.am: add AWK=@AWK@ (?) 1997-01-13 06:22:51 +00:00
Gary Houston
ee78fbb067 * Makefile.am (EXTRA_DIST): add errnos_cnvt.awk, errnos.default,
errnos_get.c.
Add a rule to generate errnos.c from errnos.
* error.c (scm_init_error): include errnos.c.
* errnos_cnvt.awk: new file, converts the list of errno codes to
C expressions.
* errnos_get.c: new file.
* errnos.default: new file, contains errnos to try if they can't
be extracted from errno.h.
* configure.in: if using GCC, try and extract errno codes from
errno.h.
Added AC_PROG_AWK.
1997-01-13 04:05:27 +00:00
Marius Vollmer
b9e19a2773 *** empty log message *** 1997-01-11 19:01:21 +00:00
Marius Vollmer
1bb9f4dbf6 * configure.in: Replaced AC_PROG_RANLIB with AM_PROG_LIBTOOL.
* Makefile.am: Made libguile into a libtool library.
* PLUGIN/guile.config: Removed "-L ../libguile" from xtra_cflags.
Set libtool_libs to indicate that libguile is a libtool library.
See guile/ChangeLog for details.
* .cvsignore: ignore "*.lo", the libtool library objects.
1997-01-11 19:00:04 +00:00
Gary Houston
65b376c7f2 * net_db.c (scm_getserv): add missing SCM_ALLOW_INTS.
use htons in getservbyport argument.
1997-01-08 07:49:37 +00:00
Jim Blandy
9986a72fbb *** empty log message *** 1997-01-08 01:52:25 +00:00
Jim Blandy
ce71f796b6 * ports.h (SCM_PTOBNUM): Removed extraneous semicolon.
* smob.h: (SCM_PTOBNUM): Removed entirely; this definition is a
duplicate.
1997-01-08 01:51:14 +00:00
Jim Blandy
198befde13 *** empty log message *** 1997-01-08 01:28:55 +00:00
Jim Blandy
332ab3605f * objprop.c (scm_object_property): No need to take the CDR of the
value returned by scm_object_properties, since Aug 20 change.
1997-01-08 01:28:01 +00:00
Jim Blandy
01fce0f0ef *** empty log message *** 1997-01-08 00:09:05 +00:00
Jim Blandy
b3310939fc * configure.in: When checking for struct linger, #include
<sys/types.h> as well as <sys/socket.h>.  I've never known
<sys/types.h> to cause any portability problems, and Solaris's
<sys/socket.h> needs it.
* configure: Rebuilt.
1997-01-08 00:08:08 +00:00
Jim Blandy
805df3e8af I think the Sun compiler has chosen a perverse way to interpret
ANSI declarations combined with K&R definitions.  We'll
appease it a little bit.  But when it invades France, we fight.
* print.c (scm_iprlist): Change 'tlr' argument to an int.
* print.h (scm_iprlist): Here too.
* numbers.c (scm_divbigdig): Change definition to match
declaration in numbers.h.
* unif.c (scm_makflo): Change definition to match declaration in
unif.h.
1997-01-07 23:42:35 +00:00
Jim Blandy
ae65f9f937 *** empty log message *** 1997-01-07 23:42:10 +00:00
Jim Blandy
1595aa56c6 * init.c (scm_boot_guile): Don't return the value of
scm_boot_guile_1.  This function doesn't return a value;
scm_boot_guile_1 doesn't return a value (or return at all).
1997-01-07 23:42:01 +00:00
Jim Blandy
fa88817815 * eval.c (unmemocopy): Add a semicolon to appease the Sun
compiler.
1997-01-07 23:41:45 +00:00
Jim Blandy
0b1786d8f2 *** empty log message *** 1997-01-07 23:12:58 +00:00
Jim Blandy
579b5bc1ee * smob.h (SCM_SMOBNUM, SCM_PTOBNUM): Remove extraneous
semicolons.  Only pure luck kept this from being noticed earlier.
1997-01-07 23:12:09 +00:00
Jim Blandy
10a12f9fb4 * simpos.c (SYSTNAME): Add case for AIX; otherwise it won't
compile.  I have a feeling this function is a bad idea anyway ---
one should always test for features, not systems.
1997-01-07 23:11:51 +00:00
Mikael Djurfeldt
239294dafd * socket.c (scm_recvfrom): Added missing semicolon. 1997-01-07 13:08:17 +00:00
Jim Blandy
af8e756ec2 *** empty log message *** 1997-01-07 00:48:16 +00:00
Gary Houston
678b85324a * socket.c (scm_recvfrom): allow buff_or_size to be a list containing
the buffer and start and end positions for SCSH networking
implementation.
1997-01-06 20:58:37 +00:00
Jim Blandy
d6b51f8d50 * configure.in: Revert previous change to this file; the problem
is due to transient automake weirdness.
* configure: Rebuilt.
1997-01-06 00:35:30 +00:00
Jim Blandy
7a8188539f *** empty log message *** 1997-01-05 22:01:56 +00:00
Jim Blandy
2c19444693 * configure.in: Call AM_PROG_INSTALL; the automake manual says we
need this if we install scripts, like guile-snarf.
* configure: Rebuilt.
1997-01-05 22:01:37 +00:00
Mikael Djurfeldt
66b62aa457 Updated. 1997-01-02 14:25:36 +00:00
Marius Vollmer
ebd75e1b18 *** empty log message *** 1997-01-02 01:04:49 +00:00
Marius Vollmer
bf5f77277b * Makefile.am (EXTRA_DIST): Added DYNAMIC-LINKING 1997-01-02 01:03:04 +00:00
Marius Vollmer
a9f041b5e8 *** empty log message *** 1996-12-29 10:38:41 +00:00
Marius Vollmer
b6356af70f * read.c (scm_lreadr): Encountering EOF after skipping a SCSH
style block comment is no longer considered an error.
1996-12-29 10:37:58 +00:00
Gary Houston
4ecd21bc8c * socket.c (scm_addr_vector): fix faulty scm_listify. 1996-12-28 19:17:39 +00:00
Marius Vollmer
11cc7dafee *** empty log message *** 1996-12-27 15:49:01 +00:00
Marius Vollmer
5c98870009 * configure.in: Create PLUGIN/guile.libs from
PLUGIN/guile.libs.in.  This is for including additonal libraries
needed for dynamic linking.
* Makefile.am (EXTRA_DIST): Distribute PLUGIN/guile.libs.in
instead of PLUGIN/guile.libs.
1996-12-27 15:43:27 +00:00
Marius Vollmer
8f3baf5a7f * configure.in: Create PLUGIN/guile.libs from
PLUGIN/guile.libs.in.  This is for including additonal libraries
needed for dynamic linking.
* Makefile.am (EXTRA_DIST): Distribute PLUGIN/guile.libs.in
instead of PLUGIN/guile.libs.

* Makefile.am: Added explicit dependency "dynl.o: dynl.x".
1996-12-27 15:42:03 +00:00
Marius Vollmer
a2ce54aeff *** empty log message *** 1996-12-27 15:38:33 +00:00
Jim Blandy
506067f046 *** empty log message *** 1996-12-23 04:39:29 +00:00
Jim Blandy
373e4035df * net_db.h (scm_init_net_db): Fix spelling from scm_init_netdb. 1996-12-23 04:37:24 +00:00
Jim Blandy
164271a1d3 * * list.c (scm_delq_x, scm_delv_x, scm_delete_x): Delete all
occurrences of the given element from the list, not just the
	first.  This is how the Emacs Lisp functions behave, how the
	analogous Common Lisp functions behave, and (I believe) how the
	older Maclisp functions worked.  I realize that this change may
	break code, but it seemed better to break it before the Guile
	release than after.
1996-12-23 04:37:17 +00:00
Jim Blandy
ef290276ac * * gc.c (scm_protect_object, scm_unprotect_object): New functions.
Their prototypes were already present in gc.h, but they weren't
	implemented.
	(scm_init_storage): Initialize scm_protects.
	* root.c (scm_protects): New element of scm_sys_protects.
1996-12-23 04:37:03 +00:00
Jim Blandy
ce2a6727dc *** empty log message *** 1996-12-22 21:36:25 +00:00
Jim Blandy
6555893051 *** empty log message *** 1996-12-22 00:03:10 +00:00
Jim Blandy
04904fdf0b * libguile.h: Don't #include "libguile/libpath.h", contrary to Oct
30 change.  That file is only meant for communication between the
configuration process and load.c.  If code linked against libguile
wants to get at the paths mentioned in libpath.h, it can call
functions declared in load.h.
1996-12-22 00:02:42 +00:00
Jim Blandy
6f9dc845e7 *** empty log message *** 1996-12-21 20:40:17 +00:00
Jim Blandy
7d2969581e * libguile.h: Added #include "libguile/net_db.h". 1996-12-21 20:40:01 +00:00
Mikael Djurfeldt
1d361fe02b * libguile.h: Removed #include "libguile/fdsocket.h" 1996-12-21 13:55:29 +00:00
Mikael Djurfeldt
cae7644108 * net_db.c: Added #include <sys/socket.h>. 1996-12-21 13:52:08 +00:00