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

8299 commits

Author SHA1 Message Date
Kevin Ryde
ef73a2a0e9 (AC_CHECK_HEADERS): Add crt_externs.h.
(AC_CHECK_FUNCS): Add _NSGetEnviron.
2004-02-18 00:06:10 +00:00
Kevin Ryde
73ae3b4cb5 (scm_localtime, scm_gmtime, scm_mktime): Provide a default
errno EINVAL in case localtime and gmtime don't set it.
(scm_mktime, scm_strptime): Forcibly use errno EINVAL for our
SCM_SYSERROR, since mktime and strptime generally don't set errno.
2004-02-17 23:37:06 +00:00
Kevin Ryde
afe199fe64 *** empty log message *** 2004-02-17 23:27:27 +00:00
Marius Vollmer
17f732e6fa *** empty log message *** 2004-02-17 21:39:21 +00:00
Marius Vollmer
7b93c2e5b1 (SCM_TESTS): Added test/fractions.test. 2004-02-17 21:39:10 +00:00
Marius Vollmer
581e4579de Added GPL terms. 2004-02-17 21:37:47 +00:00
Marius Vollmer
3f12a4ec05 Added LGPL terms. 2004-02-17 21:18:53 +00:00
Kevin Ryde
c9ea646268 *** empty log message *** 2004-02-16 00:51:17 +00:00
Kevin Ryde
290e9e11e4 Add a copyright year. 2004-02-16 00:50:23 +00:00
Kevin Ryde
4cd3853f37 (scm_done_malloc, scm_done_free): Allow negative sizes,
which were permitted in the past for these.
2004-02-16 00:45:55 +00:00
Kevin Ryde
ae43d08ea0 *** empty log message *** 2004-02-16 00:03:44 +00:00
Kevin Ryde
e69681aef4 (scm_shell_usage): Print bug-guile email address, as per
GNU standard.  Reported by Han-Wen Nienhuys.
2004-02-15 23:49:20 +00:00
Kevin Ryde
292dfa7fbc *** empty log message *** 2004-02-15 23:44:15 +00:00
Mikael Djurfeldt
411a674a2d (Hash Table Reference): Wrote a new entry
for hash-for-each-handle.
2004-02-15 22:07:33 +00:00
Kevin Ryde
99fcc9405f *** empty log message *** 2004-02-15 21:51:00 +00:00
Kevin Ryde
fd96f380d2 (Sloppy Alist Functions): Amend error messages
shown to match current guile output.
2004-02-15 21:49:55 +00:00
Mikael Djurfeldt
c78a96e063 * configure.in: Use AC_PROG_LIBTOOL instead of AM_PROG_LIBTOOL.
* scheme-compound.texi (Hash Table Reference): Renamed hash-map
--> hash-map->list.

* configure.in: Use AC_PROG_LIBTOOL instead of AM_PROG_LIBTOOL.
2004-02-15 18:27:31 +00:00
Kevin Ryde
344a212fd1 *** empty log message *** 2004-02-15 00:37:52 +00:00
Kevin Ryde
c6e94bec5a *** empty log message *** 2004-02-15 00:20:55 +00:00
Kevin Ryde
f85f9591e0 (SRFI-4): Revise for clarity, give each function
explicitly rather than showing TAG so Emacs info-look can find them,
merge "SRFI-4 - Read Syntax" and "SRFI-4 - Procedures" into just one
node.
2004-02-15 00:18:24 +00:00
Kevin Ryde
0e43f514aa (while do): Expand and clarify `do', in
particular note iterating binds fresh locations, rather than values
"stored".
2004-02-14 23:04:55 +00:00
Kevin Ryde
0c7d588a7a (Hash Table Reference): In scm_hash_ref etc,
remove note that dflt must be given, it can be SCM_UNSPECIFIED.
2004-02-14 23:02:32 +00:00
Mikael Djurfeldt
711a9fd7ee * unif.c (scm_make_uve): Removed local variable and simplified
code in order to avoid compiler used uninitialized warnings.

* hashtab.c, hashtab.h (scm_hash_map_to_list): Renamed from
scm_hash_map.
(scm_hash_fold): Use scm_call_3 directly in the call to
scm_internal_hash_fold instead of going via fold_proc (which is
now removed).
(scm_hash_for_each): Use a trampoline +
scm_internal_hash_for_each_handle.
(scm_internal_hash_for_each_handle, scm_hash_for_each_handle): New
functions.
2004-02-13 23:15:37 +00:00
Kevin Ryde
a150979dab (scm_port_line): In docstring, note first line is 0.
(scm_set_port_line_x): In docstring, note first line is 0.
(scm_port_column): In docstring, there's no default to current input
port, and remove shared port-line @defun.
(scm_set_port_column_x): In docstring, there's no default to current
input port, note first column is 0, remove shared set-port-line!
@defun.
2004-02-12 00:45:36 +00:00
Kevin Ryde
71f271b2bb Refer to manual for details of new pretty-print options. 2004-02-12 00:33:58 +00:00
Kevin Ryde
ad94d5ced5 *** empty log message *** 2004-02-12 00:24:18 +00:00
Kevin Ryde
d2866d6e2f (array?, array-fill!, array-prototype): Add tests. 2004-02-12 00:23:42 +00:00
Kevin Ryde
27281a53e3 (cross): New macro. 2004-02-12 00:21:26 +00:00
Kevin Ryde
b55d48bb0c (Uniform Arrays): Note 1/3 prototype for doubles is now an exact fraction. 2004-02-12 00:19:40 +00:00
Kevin Ryde
9ad3bc119f (Conventional Arrays): Revise for clarity.
In array-equal?, show multiple arguments allowed.
(Uniform Arrays): Remove duplicate array?.
2004-02-12 00:02:30 +00:00
Kevin Ryde
88531a74f3 *** empty log message *** 2004-02-11 23:46:30 +00:00
Kevin Ryde
fd1517d8de Add copyright and license notice.
(Note code was written in 2002, but only checked-in in 2004.)
2004-02-11 23:36:58 +00:00
Kevin Ryde
3da7f6b233 *** empty log message *** 2004-02-11 23:33:46 +00:00
Kevin Ryde
7c183c95a4 (scm_make_uve, scm_array_p): Allow fraction 1/3 as prototype
for dvect.
(scm_array_p): Add missing "break"s in switch, fix llvect test look
for "l" not "s", fix dvect to be false for singp(prot) since such a
value is for fvect.
(scm_array_prototype): Return 1/3 for dvect, rather than 0.33..33.
2004-02-11 23:20:26 +00:00
Kevin Ryde
ac3c6ad6cf (scm_array_fill_x): For fvect and dvect, use scm_num2dbl to
convert args the same way that array-set! does.
2004-02-11 23:16:53 +00:00
Kevin Ryde
8418f0c740 (SLIB): Index entry for replacement `system'.
And use findex for `require'.
2004-02-11 22:14:32 +00:00
Neil Jerram
cd21f5eb17 * read.c (scm_read_opts): Change `escaped-parens' to
`elisp-strings'.
2004-02-10 19:44:10 +00:00
Neil Jerram
2c284c947e * debugger/trap-hooks.scm (debug-hook-membership): New, exported.
* debugger/commands.scm (debug-trap-hooks): New, exported.
2004-02-09 19:18:01 +00:00
Mikael Djurfeldt
f1dc5f45ab * Makefile.am (TAGS_FILES): Use this variable instead of
ETAGS_ARGS so that TAGS can be built using separate build
directory.

* Makefile.am (TAGS_FILES): Use this variable instead of
ETAGS_ARGS so that TAGS can be built using separate build
directory.

* debugger/breakpoints/Makefile.am (TAGS_FILES),
debugger/Makefile.am (TAGS_FILES), Makefile.am (TAGS_FILES): Use
this variable instead of ETAGS_ARGS so that TAGS can be built
using separate build directory.

* primitives/Makefile.am (TAGS_FILES), internals/Makefile.am
(TAGS_FILES), Makefile.am (TAGS_FILES): Use this variable instead
of ETAGS_ARGS so that TAGS can be built using separate build
directory.

* Makefile.am, goops/Makefile.am (TAGS_FILES): Use this variable
instead of ETAGS_ARGS so that TAGS can be built using separate
build directory.

* Makefile.am (TAGS_FILES): Use this variable instead of
ETAGS_ARGS so that TAGS can be built using separate build
directory.
2004-02-09 01:48:34 +00:00
Neil Jerram
16353acc6f * read.c (scm_read_opts): New opts `elisp-vectors' and
`escaped-parens'.
	(s_vector): New.
	(scm_lreadr): Use scm_lreadparen1 instead of scm_lreadparen.  Make
	handling of elisp vector syntax dependent on SCM_ENABLE_ELISP and
	`elisp-vectors' option instead of SCM_ELISP_READ_EXTENSIONS.
	Allow "\(" and "\)" in strings when SCM_ENABLE_ELISP defined and
	`escaped-parens' option set.
	(scm_read_token): If elisp vector syntax active, disallow [ and ]
	in tokens.
	(scm_lreadparen): Rewrite as interface to scm_lreadparen1.
	(scm_lreadparen1): New.

	* read.h: Remove conditionally compiled last arg to
	scm_lreadparen.
	(SCM_ELISP_VECTORS_P, SCM_ESCAPED_PARENS_P): New.
2004-02-08 19:14:18 +00:00
Neil Jerram
15e6a33592 * gds.el (gds-handle-client-input): Handle new `thread-status'
protocol.
	(gds-display-slow-eval): New.
	(gds-client-ref): Bugfix: buf -> (cdr buf).
	(gds-display-buffers): Bugfix: minimum overlay end value is 1, not
	0.
	(gds-evals-in-progress): New.
	(gds-results): New.
	(gds-insert-interaction): Show evaluations in progress (with
	button to interrupt them) and results of last help or evaluation.
	(gds-interrupt-eval): New.
	(gds-debug-trap-hooks, gds-up, gds-down): New.
	(gds-eval-region, gds-eval-expression): Include abbreviated code
	in eval correlator.
	(gds-abbreviated-length, gds-abbreviated): New.
	(gds-mode-map): New keys for gds-debug-trap-hooks, gds-up,
	gds-down.
	(gds-debug-menu): New menu entries for gds-up, gds-down.

	* gds-client.scm (gds-connect): Enable trapping for gds-eval
	stacks.
	(ui-read-thread-proc): Write 'running status earlier.
	(stack->emacs-readable): Limit stack length to 'depth debug
	option.
	(handle-instruction): Update format of eval correlator.
	(handle-instruction-1): Resolve module names from root module
	instead of from current module.
	(resolve-module-from-root): New.
	(handle-instruction-1): New protocol `interrupt-eval'.
	(eval-thread-table): New.
	(eval-thread): Add thread to eval-thread-table; write new protocol
	to frontend to communicate eval thread status; update for new
	correlator format; bind correlator local before entering loop2.
	(gds-eval): Use start-stack 'gds-eval-stack to rebase stack.

	* gds.el (gds-start, gds-start-captive): Do
	`process-kill-without-query' as soon as processes started, ...
	(gds-shutdown, gds-kill-captive): ... instead of here.
	(gds-display-results): More clearly show unspecified results; show
	results in interaction view instead of in separate window.
	(gds-send): Add sent protocol to transcript.
2004-02-04 12:50:37 +00:00
Mikael Djurfeldt
328df3e3be (Uniform Arrays): Added a FIXME warning
that the 1/3 prototype no longer works.
2004-01-28 21:33:58 +00:00
Neil Jerram
1264d33105 Simplify algorithm for popping up windows. 2004-01-26 21:40:42 +00:00
Neil Jerram
d70e061933 Fix autoconf underquoting warnings 2004-01-25 13:02:21 +00:00
Marius Vollmer
67314101f8 *** empty log message *** 2004-01-24 01:23:16 +00:00
Marius Vollmer
c541e247ae (srfi_DATA): Added srfi-26.scm. 2004-01-24 01:22:59 +00:00
Marius Vollmer
8834dd6fae *** empty log message *** 2004-01-23 21:14:24 +00:00
Marius Vollmer
c3b4b2418c Removed again. I was confused. The file added to SCM_TESTS was
r5rs_pitfall.test, not r5rs_pitfall.scm.
2004-01-23 21:13:01 +00:00
Dirk Herrmann
36ffdf0abf * lib.scm: Extracted '/i' to toplevel. Print the guile version
number before the benchmarks are run.  Print the framework-time
	per iteration as an inexact number.
2004-01-23 14:47:56 +00:00
Dirk Herrmann
a264c013fd * tests/syntax.test: Added test for unmemoizing internal defines. 2004-01-23 14:24:37 +00:00