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

267 commits

Author SHA1 Message Date
Marius Vollmer
3b603d911e * autogen.sh: Call libtoolize. Pass --add-missing option to
automake.
2000-01-25 20:35:23 +00:00
Marius Vollmer
acb0207f44 * readline.scm: Only link glue code when the 'readline feature is
not already present.  Thanks to Clark McGrew.
2000-01-25 20:20:48 +00:00
Greg J. Badros
c262d0f1ec Added proper entry for readline.c 2000-01-12 01:53:08 +00:00
Greg J. Badros
c1bfcf602b * scm_validate.h: Added SCM_NUM2LONG_DEF macro. Make
SCM_OUT_OF_RANGE use SCM_MAKINUM, not scm_long2num.  Added
SCM_COERCE_ROSTRING macro.  Added SCM_VALIDATE_NONEMPTYLIST
macro.  Fix SCM_VALIDATE_STRINGORSUBSTR macro to not use SLOPPY
variants.

* ports.c (scm_port_closed_p): Validate that the arg is a PORT,
then return whether it's an open port (was validating that it was
an open port -- this was a bug I introduced back in December, but
my careful reading of diffs caught it).

* numbers.c: Recombine the two conditional-compilation paths for
all the log* primitives -- they were split based on #ifndef
scm_long2num;  factored out a SCM_LOGOP_RETURN macro, and fixed
some bugs and inconsistencies in the two sets of implementations.
(scm_lognot) Fixed *atrocious* re-use of a SCM as an integer!

* ioext.c: Use SCM_ASSERT_RANGE in a couple places, and
SCM_VALIDATE_INUM_COPY once where it should've been used.

* fluids.c (scm_internal_with_fluids): Use
SCM_VALIDATE_LIST_COPYLEN.

* filesys.c: Use SCM_NUM2LONG instead of SCM_VALIDATE_INUM_COPY;
this is questionable as it relaxes type safety, but other changes
were useful and all SCM_NUM2LONG's should probably be
revisited. Use SCM_OUT_OF_RANGE, SCM_WRONG_TYPE_ARG.

* evalext.c: line-break change on 1 line.

* eval.c (nconc2last): Takes a non-empty list as its first
argument, not just a list.

* dynl.c: Use new SCM_COERCE_ROSTRING macro.
2000-01-12 01:51:18 +00:00
Mikael Djurfeldt
b9bb8cab62 *** empty log message *** 2000-01-09 17:08:25 +00:00
Mikael Djurfeldt
576cdec4d6 * readline.c (match_paren): Changed return type to int (this is
the definition in readline 4) and modified code layout according
to GNU coding standards.
2000-01-09 17:01:34 +00:00
Greg J. Badros
2cc0f8cb17 *** empty log message *** 2000-01-06 19:23:55 +00:00
Greg J. Badros
cbaee92a8b * readline.c: Whitespace changes -- added space after
SCM_VALIDATE_* macros to match GNU coding standards.
2000-01-05 19:20:06 +00:00
Greg J. Badros
ca8cd13072 *** empty log message *** 2000-01-05 19:12:12 +00:00
Greg J. Badros
b916d81378 Replace GUILE_PROC w/ SCM_DEFINE. 2000-01-05 19:06:35 +00:00
Greg J. Badros
dceef6be43 *** empty log message *** 1999-12-14 17:42:51 +00:00
Greg J. Badros
eb156192af * readline.c: Include libguile/scm_validate.h 1999-12-13 21:58:13 +00:00
Greg J. Badros
3a596d3c6b *** empty log message *** 1999-12-13 03:57:55 +00:00
Greg J. Badros
f48e47b95c * readline.c: Updated to use GUILE_PROC, SCM_VALIDATE, and have
(now empty) docstrings.
1999-12-13 03:57:29 +00:00
Gary Houston
5c11cc9deb * configure.in: check for hstrerror.
* socket.c (scm_htons, scm_ntohs, scm_htonl, scm_ntohl): new
	functions for network data conversion.

	* numbers.c (scm_num2long, scm_num2longlong):
	throw out-of-range instead of wrong-type-arg if appropriate.
	(scm_iint2str): handle -2^31 correctly.
	(scm_num2long): handle -2^31 bignum correctly.
	(scm_num2long_long): rewrite the bigdig case: basically copied
	from scm_num2long.
	numbers.h: (SCM_BITSPERLONGLONG): deleted.

	* unif.c (rapr1): use sprintf instead of intprint for unsigned
	longs: intprint can't cope with large values.

	* numbers.c (scm_num2ulong): check more consistently that the
	input is not negative.  if it is, throw out-of-range instead of
	wrong-type-arg.

	* ramap.c (scm_array_fill_int): don't limit fill to INUM for
	uvect, ivect or llvect.
	Check that fill doesn't overflow short uniform array.

	* __scm.h: add another long to the definition of long_long and
	ulong_long.

	* unif.c (scm_raprin1): use 'l' instead of "long_long" in the
	print representation of llvect.  read can't handle more than
	one character.
	(scm_dimensions_to_uniform_array): make "fill" an optional argument
	instead of a rest argument.

	* tags.h (scm_tc7_llvect): wasn't defined anywhere, so use the free
	tag 29 for now.

	* __scm.h: don't mention LONGLONGS.

	* unif.c, numbers.c, eq.c, gc.c, print.c, eval.c, ramap.c:
	replace LONGLONGS with HAVE_LONG_LONGS as set by configure.

	* net_db.c (scm_inet_aton): throw errors using the misc-error key
	instead of system-error.  inet_aton doesn't set errno.
	system-error isn't right in gethost either, since it's throwing
	the value of h_errno instead of errno. so:
	(scm_host_not_found_key, scm_try_again_key,
	scm_no_recovery_key, scm_no_data_key): new error keys.
	(scm_resolv_error): new procedure, use the new keys.
	(scm_gethost): call scm_resolv_error not scm_syserror_msg.

	* error.c: (various): use scm_cons instead of scm_listify
	to build short lists.

	* boot-9.scm (read-hash-extend to set up arrays): add 'l' for
	long_long uniform vectors.

	* networking.scm (sethostent, setnetent, setprotoent, setservent):
	take an optional argument STAYOPEN.  default is #f.

	* readline.c (scm_init_readline): set rl_readline_name to Guile,
	to allow conditionals in  .inputrc.
1999-11-18 22:36:28 +00:00
Jim Blandy
e8ff464811 *** empty log message *** 1999-10-05 23:26:11 +00:00
Jim Blandy
50a0663ce4 * Makefile.in, configure, aclocal.m4: Deleted from CVS repository.
Run the autogen.sh script to create generated files like these.
* autogen.sh: New script, invoked by the top-level autogen.sh.
1999-10-05 23:06:49 +00:00
Jim Blandy
7148264401 *** empty log message *** 1999-10-05 23:05:55 +00:00
Jim Blandy
9e5a2768c7 *** empty log message *** 1999-10-05 23:05:38 +00:00
Jim Blandy
0cbedb5b2b *** empty log message *** 1999-10-05 22:36:14 +00:00
Jim Blandy
1e5f8f2d71 * Makefile.in, configure, aclocal.m4: Deleted from CVS repository.
Run the autogen.sh script to create generated files like these.
1999-10-05 22:32:32 +00:00
Jim Blandy
0c1221ab9c *** empty log message *** 1999-10-05 20:49:29 +00:00
Jim Blandy
b04657c251 * Makefile.in: Deleted from CVS repository. Run the autogen.sh
script to create generated files like this one.
1999-10-05 19:08:25 +00:00
Jim Blandy
7b7148d8ef Revert back to text generated by automake 1.4. 1999-10-02 22:57:38 +00:00
Greg J. Badros
155265386a *** empty log message *** 1999-09-27 23:35:33 +00:00
Jim Blandy
fc97c626b4 *** empty log message *** 1999-09-22 19:59:11 +00:00
Jim Blandy
52b30d5e8d * configure.in: Call AM_PROG_CC_STDC.
* configure, aclocal.m4: Regenerated.
1999-09-22 19:58:54 +00:00
Mikael Djurfeldt
8cc9503dc0 *** empty log message *** 1999-09-16 11:51:49 +00:00
Mikael Djurfeldt
ca95609d5b * Makefile.am (.c.x): Use same rule as in libguile. 1999-09-16 11:50:49 +00:00
Mikael Djurfeldt
fd08b0dfe9 *** empty log message *** 1999-09-12 15:16:29 +00:00
Mikael Djurfeldt
d85a42259a Should not be archived in the CVS repository 1999-09-12 15:11:06 +00:00
Mikael Djurfeldt
30772a346b Fixed typo 1999-09-12 11:42:10 +00:00
Mikael Djurfeldt
03ce8ed182 *** empty log message *** 1999-09-12 11:06:47 +00:00
Mikael Djurfeldt
a4bfce1135 * readline.h, readline.scm: Updated copyrigth notices. 1999-09-12 11:04:07 +00:00
Jim Blandy
b142c81de4 *** empty log message *** 1999-09-11 18:51:58 +00:00
Jim Blandy
caeb949308 * aclocal.m4: Regenerated with newer libtool macros. 1999-09-11 18:51:45 +00:00
Mikael Djurfeldt
f14d3ff8be *** empty log message *** 1999-09-11 18:32:42 +00:00
Mikael Djurfeldt
6373eb6f4e * readline.scm (activate-readline): Set (using-readline?). 1999-09-11 18:27:22 +00:00
Jim Blandy
49537948f3 *** empty log message *** 1999-09-11 17:53:58 +00:00
Jim Blandy
507af33e20 * Makefile.am (DISTCLEANFILES): Get rid of .x files.
* Makefile.in: Regenerated.
(Thanks to Keisuke Nishida.)
1999-09-11 17:53:51 +00:00
Marius Vollmer
98baa68449 *** empty log message *** 1999-09-11 15:28:16 +00:00
Marius Vollmer
b8afc1976e * aclocal.m4, Makefile.in, configure, libtool: Regenerated, but
probably with the wrong version of the tools.
1999-09-11 15:22:54 +00:00
Marius Vollmer
395753a155 * configure.in: Get version from ../GUILE-VERSION and use it for
package version.
1999-09-11 15:21:24 +00:00
Marius Vollmer
b18c7b77b4 * readline.scm: Moved from ../ice-9.
Dynamically link libguilereadline.so.
(readline): Just define in this module, do not overwrite builtin
variable.  The builtin readline function is now named "%readline",
so this works.  See below.
(activate-readline): New function which contains the readline
activation code formerly found in top-repl.
1999-09-11 15:20:54 +00:00
Marius Vollmer
f98e165e15 * readline.c (scm_readline): Export it to Scheme as "%readline". 1999-09-11 15:19:57 +00:00
Marius Vollmer
370b47a80d * Makefile.am: Do not install and distribute
readline-activator.scm.  Install and distribute readline.scm
instead.
1999-09-11 15:19:34 +00:00
Mikael Djurfeldt
49199eaa69 *** empty log message *** 1999-08-29 21:08:38 +00:00
Mikael Djurfeldt
28c12e2a6c Fix 1999-08-29 21:07:04 +00:00
Mikael Djurfeldt
c1c6aa4b20 Regenerated 1999-08-29 18:04:43 +00:00
Mikael Djurfeldt
2b0cc4cfef *** empty log message *** 1999-08-29 18:02:44 +00:00