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

3269 commits

Author SHA1 Message Date
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
Martin Grabmüller
6b41a31399 Removed tag.c and tag.h and all references. 2001-06-20 18:18:00 +00:00
Gary Houston
fbbdb12174 * deprecation.c, extensions.c, rw.c: include string.h. 2001-06-20 17:33:43 +00:00
Gary Houston
72c17ed0ee * filter-doc-snarfage.c (process): added ungetc in
MULTILINE_COOKIE case since otherwise it fails when there's no
	space between the '(' and the quote of the following string
	(gcc 3.0).
2001-06-19 22:56:29 +00:00
Marius Vollmer
4927dd283b *** empty log message *** 2001-06-14 20:20:35 +00:00
Marius Vollmer
1385d8aee3 Replace "scm_*_t" with "scm_t_*", except "scm_lisp_t". 2001-06-14 20:14:09 +00:00
Marius Vollmer
b629af45cb *** empty log message *** 2001-06-14 19:52:35 +00:00
Marius Vollmer
92c2555f69 replace "scm_*_t" with "scm_t_*". 2001-06-14 19:50:43 +00:00
Marius Vollmer
0f002b27a3 *** empty log message *** 2001-06-14 18:26:43 +00:00
Marius Vollmer
2635d5efb9 * unif.h (SCM_ARRAY_NDIM): Shift then cast so that the no sign
extension takes place.
* strings.h (SCM_STRING_LENGTH): Likewise.
(SCM_STRING_MAX_LENGTH): Use unsigned numbers.
2001-06-14 18:26:27 +00:00
Marius Vollmer
4ff9f8254e *** empty log message *** 2001-06-14 17:43:39 +00:00
Marius Vollmer
4d87842bb3 (SCM_SRS): Cast shiftee to scm_signed_bits_t.
(SCM_INUM): Cast result to scm_signed_bits_t.
2001-06-14 17:41:21 +00:00