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

5392 commits

Author SHA1 Message Date
Marius Vollmer
e48f36b29f Added Greg Badros' many changes. 2001-07-03 17:40:49 +00:00
Martin Grabmüller
e800aa0482 * srfi-1.scm (list-tabulate): Do not go into infinite loop for
invalid arguments.  Same fix for several other procedures (do not
	use zero?, use <= 0).
2001-07-03 16:19:23 +00:00
Martin Grabmüller
018adcae03 * srfi-1.scm (list-tabulate): Do not go into infinite loop for
invalid arguments.
2001-07-03 15:35:08 +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
Martin Grabmüller
166882e16b * srfi-modules.texi (SRFI-1 Fold and Map): Documented extended
versions of `map' and `for-each'.
2001-07-02 17:52:43 +00:00
Martin Grabmüller
cef248dd61 * srfi-1.scm: Replaced calls to `map' in several procedures to
calls to `map1'.
	(map, for-each): New procedures, extended from R5RS.
2001-07-02 17:50:28 +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
bdd2c6f4f4 * Added some simple goops test for a beginning. 2001-06-30 20:03:14 +00:00
Dirk Herrmann
0e3817d7d8 * Added a missing module import. 2001-06-30 19:59:51 +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
Dirk Herrmann
5b2a7b5906 * Don't use SCM_LISTn any more. 2001-06-30 19:28:26 +00:00
Dirk Herrmann
197edeea97 * Don't install a bitvector read-hash extension for letter 'b'. 2001-06-30 19:26:21 +00:00
Martin Grabmüller
0147054b67 Updated my record. 2001-06-30 13:47:32 +00:00
Martin Grabmüller
e9566a8e4c * preface.texi (Manual Conventions): Added description of
@result{} and @print{}.

	* scheme-data.texi (Hash Table Examples): New subsubsection.
2001-06-30 13:45:22 +00:00
Thien-Thi Nguyen
4dadf664c6 *** empty log message *** 2001-06-30 06:58:08 +00:00
Martin Grabmüller
78c51768a7 * scheme-data.texi (Hash Tables): Added docs for
`make-hash-table'.
2001-06-30 06:58:04 +00:00
Thien-Thi Nguyen
375d34c0f5 bye bye 2001-06-30 06:56:43 +00:00
Martin Grabmüller
5dc13e9830 * Makefile.am (ice9_sources): Removed tags.scm.
* tags.scm: Removed file.
2001-06-30 06:39:17 +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
Marius Vollmer
296d257ebf Updates to the transition guide. 2001-06-29 23:12:34 +00:00
Martin Grabmüller
c253742527 * misc-modules.texi: New file.
(Pretty Printing): New chapter.
	(Formatted Output): New chapter.

	* Makefile.am (guile_TEXINFOS): Added misc-modules.texi.

	* guile.texi (Top): Added inclusion of misc-modules.texi.

	* scheme-modules.texi (Included Guile Modules): Added (srfi
	srfi-4) and (ice-9 rw) modules.
	(Module System Quirks): Removed note that `module-export!' must be
	called via gh_eval_str, now that we have scm_c_export.

	* repl-modules.texi (Loading Readline Support, Readline Options):
	New nodes.
2001-06-29 21:43:17 +00:00
Neil Jerram
941614c6aa Changes to support tracing other than inside the repl-stack that
is set up by the REPL code in boot-9.scm.

	* debug.scm (trace-entry, trace-exit): Conditionalize tracing on
	whether the current stack id is in `traced-stack-ids'.
	(traced-stack-ids, trace-all-stacks?, trace-stack, untrace-stack):
	New.
2001-06-29 15:36:47 +00:00
Keisuke Nishida
e235f2a6c7 News for scm_list_N, replacing SCM_LISTN 2001-06-29 08:10:09 +00:00
Thien-Thi Nguyen
8d12303615 *** empty log message *** 2001-06-28 17:31:44 +00:00
Thien-Thi Nguyen
04873705f6 Mention libguile-srfi-*, oop/*, scripts/* and srfi/*. 2001-06-28 17:30:12 +00:00
Thien-Thi Nguyen
88deca50f3 *** empty log message *** 2001-06-28 16:56:26 +00:00
Thien-Thi Nguyen
0a7fcdbc23 Also mention guile-tools. 2001-06-28 16:55:12 +00:00
Martin Grabmüller
b74a7ec8bf Mention SRFI-4. 2001-06-28 16:40:38 +00:00
Martin Grabmüller
2c4df45186 * srfi-4.c: Minor cleanups.
* srfi-14.c (scm_char_set_fold, scm_char_set_unfold)
	(scm_char_set_unfold_x, scm_char_set_for_each)
	(scm_char_set_map, scm_char_set_filter)
	(scm_char_set_filter_x, scm_char_set_count)
	(scm_char_set_every, scm_char_set_any): Replace calls to
	scm_apply() with the corresponding scm_call_N() functions.

	* srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next)
	(scm_char_set_unfold, scm_char_set_unfold_x)
	(scm_char_set_map, scm_char_set_diff_plus_intersection)
	(scm_char_set_diff_plus_intersection_x): Replace deprecated macros
	SCM_LISTN with calls to scm_list_N().

	* srfi-13.c (scm_string_tabulate, scm_string_map)
	(scm_string_map_x, scm_string_unfold)
	(scm_string_unfold_right): Replace deprecated macros SCM_LISTN
	with calls to scm_list_N().

	* srfi-13.c (scm_string_any, scm_string_every),
	(scm_string_tabulate, scm_string_trim),
	(scm_string_trim_right, scm_string_trim_both),
	(scm_string_compare, scm_string_compare_ci),
	(scm_string_indexS, scm_string_index_right),
	(scm_string_skip, scm_string_skip_right, scm_string_count),
	(scm_string_map, scm_string_map_x, scm_string_fold),
	(scm_string_fold_right, scm_string_unfold),
	(scm_string_unfold_right, scm_string_for_each),
	(scm_string_filter, scm_string_delete): Replace calls to
	scm_apply() with the corresponding scm_call_N() functions.
2001-06-28 16:39:00 +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
Thien-Thi Nguyen
20ec6e2638 Fix typo. 2001-06-28 08:33:12 +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
Neil Jerram
02d9f38817 * Grammar fix. 2001-06-27 18:12:46 +00:00
Thien-Thi Nguyen
9c3955ffc6 *** empty log message *** 2001-06-27 17:30:06 +00:00
Thien-Thi Nguyen
b235553417 Update deprecation procedure to refer to TODO. 2001-06-27 17:28:45 +00:00
Thien-Thi Nguyen
3cd085d0ff *** empty log message *** 2001-06-27 17:25:51 +00:00
Thien-Thi Nguyen
e04ff9b2cd Add TODO-processing to spiffing checklist. 2001-06-27 17:24:58 +00:00
Thien-Thi Nguyen
f6b3694a30 *** empty log message *** 2001-06-27 17:17:38 +00:00
Thien-Thi Nguyen
6db6327de9 Add completion and ownership protocol to header comments. 2001-06-27 17:15:36 +00:00
Martin Grabmüller
71220e3400 Updated my record. 2001-06-27 13:21:31 +00:00
Martin Grabmüller
c34f52745c * srfi-modules.texi (SRFI-4): Added documentation for the new
module (srfi srfi-4).
2001-06-27 13:19:43 +00:00
Martin Grabmüller
71ca65d982 * Makefile.am: Added SRFI-4 files in various places.
* srfi-4.c, srfi-4.h, srfi-4.scm: New files implementing SRFI-4.
2001-06-27 13:18:40 +00:00
Martin Grabmüller
39cb0b041d * tests/srfi-4.test: New file. 2001-06-27 13:17:12 +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
Thien-Thi Nguyen
dbfadc8588 *** empty log message *** 2001-06-27 10:18:36 +00:00