1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-06 23:50:18 +02:00
Commit graph

3297 commits

Author SHA1 Message Date
Mikael Djurfeldt
e45b0d385c * num2integral.i.c (NUM2INTEGRAL): Report an error when these
routines are passed an inexact.  This change in behavior is
motivated by concordance with R5RS: It is more common that a
primitive doesn't want to accept an inexact for an exact.
2001-09-20 08:02:40 +00:00
Dirk Herrmann
211efb313e * Removed function scm_gc_mark_cell_conservatively. 2001-09-17 20:25:23 +00:00
Michael Livshin
5de4485a4d * numbers.c (scm_sys_check_number_conversions): new function,
defined if Guile is compiled in debugging mode.  currently checks
`scm_num2ulong', should check much much more.

* num2integral.i.c (NUM2INTEGRAL): when converting a bignum to
unsigned, ensure that it's positive.  thanks to Martin Baulig!
2001-09-01 17:17:07 +00:00
Marius Vollmer
d877cf50d6 *** empty log message *** 2001-08-26 21:49:49 +00:00
Marius Vollmer
206a1bd8d7 Replaced "scm_t_portable" with "scm_port_table" which was an artifact
from the great "scm_*_t -> scm_t_" renaming.
2001-08-26 21:49:32 +00:00
Thien-Thi Nguyen
8423ceea62 *** empty log message *** 2001-08-25 18:37:31 +00:00
Thien-Thi Nguyen
0b9f43f5b2 (SCM_VALIDATE_USHORT_COPY, SCM_VALIDATE_SHORT_COPY,
SCM_VALIDATE_UINT_COPY, SCM_VALIDATE_INT_COPY): New macros.
Thanks to Chris Cramer.
2001-08-25 18:31:56 +00:00
Thien-Thi Nguyen
5bae771731 (GC_noop1): Move before `GC_find_limit' where it is used; nfc.
Thanks to Bill Schottstaedt.
2001-08-25 18:31:17 +00:00
Thien-Thi Nguyen
bf99aa6c4f *** empty log message *** 2001-08-24 22:27:38 +00:00
Thien-Thi Nguyen
8025d1d412 *** empty log message *** 2001-08-18 00:06:33 +00:00
Thien-Thi Nguyen
48578ab1c7 Fix omission bug: Add `heap_segment' forward decl
(proto) in the case when either `GUILE_DEBUG' or
`GUILE_DEBUG_FREELIST' preprocessor symbols are defined.

(map_free_list): Fix typo: Ref `f' correctly.

Thanks to Chris Cramer.
2001-08-18 00:00:37 +00:00
Rob Browning
5f86665feb *** empty log message *** 2001-08-16 03:31:53 +00:00
Rob Browning
9e6f140aea * Makefile.am (libguile_la_LDFLAGS): use libtool interface version
variables.
(libpath.h): change libguileversion to libguileinterface.
2001-08-16 03:30:36 +00:00
Marius Vollmer
93e823e5c7 *** empty log message *** 2001-08-07 18:13:17 +00:00
Marius Vollmer
91d05ea355 (EXTRA_DIST): Distribute ChangeLog-1996-1999 and ChangeLog-2000.
Thanks to Daniel Skarda!
2001-08-07 18:12:43 +00:00
Michael Livshin
d9cccf110a * guile-snarf-docs-texi.in: don't call the tokenizer here, we now
do it from the Makefile.

* Makefile.am: rearrange the snarfing slightly, so that .doc files
are of a reasonable size.
2001-08-06 23:28:38 +00:00
Marius Vollmer
b8117b36d2 *** empty log message *** 2001-08-01 21:26:11 +00:00
Marius Vollmer
b6f657ad55 (scm_char_alphabetic_p, scm_char_numeric_p, scm_char_whitespace_p,
scm_char_upper_case_p, scm_char_lower_case_p, scm_char_is_both_p): Do
not require characters to fulfill isascii in addition to the primary
predicate.
2001-08-01 21:25:16 +00:00
Marius Vollmer
50694746a3 *** empty log message *** 2001-07-26 16:58:00 +00:00
Marius Vollmer
429e955781 (GC_noop1): Moved into the same #if/#endif context where it is needed. 2001-07-26 16:57:27 +00:00
Gary Houston
e3fc0809bb * numbers.c (scm_logand, scm_logior, scm_logxor): adjusted the
docstrings to reflect the n-ary implementation.
2001-07-25 22:39:44 +00:00
Marius Vollmer
b8a42df3f1 *** empty log message *** 2001-07-22 18:36:33 +00:00
Marius Vollmer
a217c6e523 * tags.h: Include inttypes.h when we have it.
* tags.h (SCM_UNBOUND): Make it the 34th isym/iflag, the 33th slot os
taken by the new SCM_IM_CALL_WITH_VALUES.
* print.c (scm_isymnames): Update table accordingly.
2001-07-22 18:36:18 +00:00
Marius Vollmer
f13dd5f1f5 * tags.h (SCM_UNBOUND): Make it the 34th isym/iflag, the 33th slot os
taken by the new SCM_IM_CALL_WITH_VALUES.
* print.c (scm_isymnames): Update table accordingly.
2001-07-22 18:35:51 +00:00
Gary Houston
d41a4e1c9e * regex-posix.c (s_scm_regexp_exec): use scm_long2num not
SCM_MAKINUM to convert regoff_t value to SCM.
2001-07-22 12:50:04 +00:00
Gary Houston
f6fb4771bc * scmsigs.c: include sys/time.h for itimer stuff. 2001-07-21 21:12:04 +00:00
Martin Grabmüller
226be35413 * alist.c, arbiters.c, async.h, backtrace.h, boolean.c, chars.c,
chars.h, continuations.h, debug-malloc.h, dynl.c, feature.c,
	feature.h, filesys.h, fluids.h, fports.h, gc_os_dep.c,
	gdb_interface.h, gh_eval.c, gh_funcs.c, gh_io.c, gh_list.c,
	gh_predicates.c, gsubr.c, gsubr.h, guardians.h,
	guile-func-name-check.in, guile-snarf-docs-texi.in,
	guile-snarf-docs.in, guile-snarf.awk.in, guile-snarf.in,
	hashtab.h, iselect.h, keywords.h, lang.c, list.h, load.h,
	objprop.c, objprop.h, options.c, options.h, random.h,
	regex-posix.h, root.c, root.h, script.c, snarf.h, stackchk.c,
	strerror.c, strop.h, strports.h, threads.h, values.c, values.h,
	version.c, version.h: Updated copyright notice.
2001-07-19 21:28:54 +00:00
Rob Browning
03fcb7d6bb *** empty log message *** 2001-07-19 17:36:22 +00:00
Rob Browning
efcf4b5853 * c-tokenize.lex: add option %nounput to quiet warning.
Add prototype for yylex to quiet warning.
2001-07-19 17:34:47 +00:00
Rob Browning
cc1cd86b05 * gc_os_dep.c (GC_noop1): ifdef out (unused) to quiet warning. 2001-07-19 17:34:37 +00:00
Rob Browning
9d40234746 * scmsigs.c (s_scm_setitimer): new function.
(s_scm_setitimer): new function.
2001-07-19 17:34:21 +00:00
Rob Browning
45c8b16027 * scmsigs.h (scm_init_scmsigs): new prototype.
(scm_init_scmsigs): new prototype.
2001-07-19 17:34:11 +00:00
Michael Livshin
adc166f3ab * strings.c (s_scm_string): fix arg position in assert. 2001-07-11 22:38:57 +00:00
Gary Houston
d7e447d5ac * strports.c (st_write): use memcpy, not strncpy. thanks to
Dale P. Smith.
2001-07-11 17:48:45 +00:00
Thien-Thi Nguyen
594506d1f0 *** empty log message *** 2001-07-09 07:45:39 +00:00
Thien-Thi Nguyen
d47795627b Remove "face-lift" comment. 2001-07-09 07:31:05 +00:00
Rob Browning
fd6c6321d9 *** empty log message *** 2001-07-08 19:17:17 +00:00
Rob Browning
d6c0a9e00d * .cvsignore: add stamp-h.in. 2001-07-08 19:17:05 +00:00
Martin Grabmüller
f91e4547f4 * hooks.c (scm_make_hook, scm_add_hook_x),
(scm_remove_hook_x, scm_reset_hook_x, scm_run_hook): Added return
	value info to the docstrings.
2001-07-04 06:13:10 +00:00
Martin Grabmüller
7beabedb0a * posix.c (getlogin): getlogin() implementation for Windows.
* backtrace.c, ioext.c: Include <stdio.h>.

	* unif.c, script.c, rw.c, error.c: Include <io.h>, if it does
	exist.

	* cpp_sig_symbols.in: Added SIGBREAK.
2001-07-03 15:27:56 +00:00
Marius Vollmer
0d0560d04a *** empty log message *** 2001-07-01 11:58:22 +00:00
Marius Vollmer
71c9d8eb3b (scm_read_0str, scm_eval_0str): Call scm_c_read_string and
scm_c_eval_string respectively, not themselves.  Thanks to Dale
P. Smith!
2001-07-01 11:57:56 +00:00
Dirk Herrmann
9a97e36281 * Fixed a bug in array-set! plus some minor cleanup. 2001-06-30 19:56:57 +00:00
Dirk Herrmann
592996c9ee * Fixed some signedness issues.
* Added conservative marking for the contents of free or allocated cells.
* Changed the representation of weak vectors to use double cells.
* Minor stuff.
2001-06-30 19:50:10 +00:00
Thien-Thi Nguyen
4dadf664c6 *** empty log message *** 2001-06-30 06:58:08 +00:00
Thien-Thi Nguyen
375d34c0f5 bye bye 2001-06-30 06:56:43 +00:00
Marius Vollmer
0220235284 *** empty log message *** 2001-06-29 23:14:25 +00:00
Marius Vollmer
2dc6875df5 (gh_eval_str): Use scm_c_eval_string instead of scm_eval_0str. 2001-06-29 23:14:07 +00:00
Marius Vollmer
c519b27251 (scm_c_primitive_load,
scm_c_primitive_load_path): New.
2001-06-29 23:13:43 +00:00
Marius Vollmer
ca13a04a26 (scm_c_read_string): Renamed from
scm_read_0str.  Also, added "const" qualifier to argument.
(scm_c_eval_string): Renamed from scm_eval_0str.
(scm_read_0str, scm_eval_0str): Deprecated.
2001-06-29 23:13:14 +00:00