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

3680 commits

Author SHA1 Message Date
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
Martin Grabmüller
df1ad0d146 * fluids.c (scm_c_with_fluid): Use scm_list_1() instead of
SCM_LIST1.
2001-06-28 16:37:19 +00:00
Keisuke Nishida
1afff62054 * list.h (scm_list_1, scm_list_2, scm_list_3, scm_list_4, scm_list_5,
scm_list_n): New functions.
	(SCM_LIST0, SCM_LIST1, SCM_LIST2, SCM_LIST3, SCM_LIST4, SCM_LIST5,
	SCM_LIST6, SCM_LIST7, SCM_LIST8, SCM_LIST9, scm_listify): Deprecated.
	(lots of files): Use the new functions.

	* goops.c (CALL_GF1, CALL_GF2, CALL_GF3, CALL_GF4): Use scm_call_N.

	* strings.c: #include "libguile/deprecation.h".
2001-06-28 01:11:59 +00:00
Martin Grabmüller
b858464a0a * read.c (scm_lreadr): When reading a hash token, check for a
user-defined hash procedure first, so that overriding the builtin
	hash characters is possible (this was needed for implementing
	SRFI-4's read synax `f32(...)').

	* num2integral.i.c: Use scm_t_signed_bits instead of scm_t_bits,
	because the latter is unsigned now and breaks comparisons like
	(n < (scm_t_signed_bits)MIN_VALUE).
2001-06-27 13:15:20 +00:00
Neil Jerram
d95c0b76d6 * Handle evaluator traps by calling trap handlers directly rather than
by scm_ithrow and a lazy catch handler.
2001-06-26 21:55:45 +00:00
Michael Livshin
30e3be5a62 * Makefile.am (c-tokenize.c): add rule to generate it.
(EXTRA_DIST): add c-tokenize.lex, so it gets distributed.

filter-doc-snarfage.c: remove.
2001-06-26 21:18:51 +00:00
Martin Grabmüller
82893676f4 Make compilation under Windows easier. 2001-06-26 17:53:09 +00:00
Keisuke Nishida
fdc2839563 * eval.c (scm_call_0, scm_call_1, scm_call_2, scm_call_3,
scm_apply_0, scm_apply_1, scm_apply_2, scm_apply_3): New functions.
2001-06-26 15:46:40 +00:00
Dirk Herrmann
3628462791 * Deprecated scm_makfromstr and added scm_mem2string as a replacement.
* Eliminated some potential gc problems.
* Eliminated some signedness problems.
* Minor changes.
2001-06-26 10:59:34 +00:00
Dirk Herrmann
13dcb66612 * Fix signedness plus some minor improvements. 2001-06-25 11:06:33 +00:00
Michael Livshin
5f5dc92966 *** empty log message *** 2001-06-25 03:46:41 +00:00
Michael Livshin
ee0c0e034c * Makefile.am (MAINTAINERCLEANFILES): be sure to remove
c-tokenize.c when doing maintainer-clean.
2001-06-25 03:37:06 +00:00
Michael Livshin
ac13d9d210 * snarf.h (SCM_SNARF_DOCS): change the "grammar" slightly.
* guile-snarf-docs.in, guile-snarf-docs-texi.in: rewrite &
simplify.

* eval.c: all hash signs are in column 0.

* Makefile.am (guile_filter_doc_snarfage): build using
c-tokenize.c, not filter-doc-snarfage.c.
rearrange snarfing dependencies a bit.

* c-tokenize.lex: new file.
2001-06-25 03:30:02 +00:00
Marius Vollmer
16be44e59d *** empty log message *** 2001-06-25 00:58:20 +00:00
Marius Vollmer
6aed915c79 (SIZE_MAX, PTRDIFF_MIN, PTRDIFF_MAX): Only define when
they aren't defined already.
2001-06-25 00:57:59 +00:00
Marius Vollmer
62af908b27 * srcprop.h, srcprop.c (scm_srcprops_to_plist): Renamed from
scm_t_srcpropso_plist.  See the big type renaming.
* coop-defs.h (scm_mutex_trylock, scm_cond_timedwait): Likewise.
2001-06-25 00:56:41 +00:00
Marius Vollmer
7862b07e4b (scm_srcprops_to_plist): Renamed from scm_t_srcpropso_plist. See the
big type renaming.
2001-06-25 00:55:36 +00:00
Dirk Herrmann
5843e5c988 * Various minor improvements, for example signedness fixes. 2001-06-23 15:25:57 +00:00