1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-03 02:36:19 +02:00
Commit graph

10493 commits

Author SHA1 Message Date
Kevin Ryde
578c39fbf3 *** empty log message *** 2007-01-22 23:04:24 +00:00
Kevin Ryde
84e4596bd0 (isinf, isnan): Use a volatile global to stop gcc
optimizing out the test.  In particular this fixes solaris where there
isn't an isinf or isnan (though gcc still optimizes as if there is).
Reported by Hugh Sasse.
(AC_C_VOLATILE): New.
2007-01-22 22:55:09 +00:00
Han-Wen Nienhuys
8cb7939c78 (s_scm_vector_move_right_x): complain about naming. 2007-01-22 16:00:23 +00:00
Han-Wen Nienhuys
d00a0704a9 regularize comments. 2007-01-22 15:57:22 +00:00
Han-Wen Nienhuys
3d178652b8 * eval.c: remove superfluous ifndef DEVAL.
* eval.c: distangle. move duplicate code to eval.i.c and include
twice.

* backtrace.c, debug.c, debug.h, deprecation.c, eq.c, eval.c
eval.h, gsubr.c, init.c, macros.c, print.c, print.h, read.c,
read.h, stacks.c, symbols.c, throw.c: use private-options.h
2007-01-22 15:29:56 +00:00
Han-Wen Nienhuys
243ebb6113 * private-options.h: idem.
* eval.i.c: copyright nitpicking.

* eval.c: distangle. move duplicate code to eval.i.c and include
twice.

* eval.i.c: new file.

* backtrace.c, debug.c, debug.h, deprecation.c, eq.c, eval.c
eval.h, gsubr.c, init.c, macros.c, print.c, print.h, read.c,
read.h, stacks.c, symbols.c, throw.c: use private-options.h

* private-options.h: new file: contain hardcoded option
definitions.
2007-01-22 15:20:35 +00:00
Han-Wen Nienhuys
0ee05b85ee * eval.c: distangle. move duplicate code to eval.i.c and include
twice.

* eval.i.c: new file.

* backtrace.c, debug.c, debug.h, deprecation.c, eq.c, eval.c
eval.h, gsubr.c, init.c, macros.c, print.c, print.h, read.c,
read.h, stacks.c, symbols.c, throw.c: use private-options.h
2007-01-22 15:16:44 +00:00
Han-Wen Nienhuys
22fc179acd * backtrace.c, debug.c, debug.h, deprecation.c, eq.c, eval.c
eval.h, gsubr.c, init.c, macros.c, print.c, print.h, read.c,
read.h, stacks.c, symbols.c, throw.c: use private-options.h

* private-options.h: new file: contain hardcoded option
definitions.
2007-01-22 15:14:40 +00:00
Han-Wen Nienhuys
cb90e2cbe7 add FSF header. 2007-01-22 15:11:30 +00:00
Han-Wen Nienhuys
924e80084f new file. Make using git easier. 2007-01-22 15:10:40 +00:00
Kevin Ryde
bedbbb191f *** empty log message *** 2007-01-21 23:42:26 +00:00
Kevin Ryde
d9ff2e69aa (AC_INIT): Don't use "echo -n", it's not portable and
in particular fails on solaris (resulting in literal "-n"s going into
the output, making the resulting configure unusable).
2007-01-21 23:32:32 +00:00
Han-Wen Nienhuys
8a9faebcbf idem. 2007-01-19 20:05:30 +00:00
Han-Wen Nienhuys
19ab431ea1 * api-options.texi (Evaluator trap options): document
memoize-symbol-handler

* api-evaluation.texi (Evaluator Behaviour): link to the Evaluator
trap options node in trap-enable/trap-set! doco.
2007-01-19 20:05:18 +00:00
Han-Wen Nienhuys
72f19c2646 * debug.h (SCM_RESET_DEBUG_MODE): switch to debugging if
memoize-symbol is set.

* eval.h (SCM_MEMOIZE_HDLR): add macros for memoize symbol trap.

* eval.c (CEVAL): add memoize_symbol trap.

* read.c: idem.

* eval.c: terminate option lists with 0.
2007-01-19 20:05:05 +00:00
Han-Wen Nienhuys
03347a975b * options.c (scm_options_try): new function. This allows error
reporting before changing options in a critical section.

* options.c: remove n (for length) from scm_option_X
functions. Detect option list length by looking for NULL name.
2007-01-19 19:35:36 +00:00
Han-Wen Nienhuys
b0763985c4 * srcprop.c: use double cell for storing source-properties. Put
filename in the plist, and share between srcprops if possible.
Remove specialized storage.

* srcprop.h: remove macros without SCM_ prefix from
interface. Remove specialized storage/type definitions.

* eval.c: terminate option lists with 0.
2007-01-19 19:33:10 +00:00
Han-Wen Nienhuys
0710943619 terminate option list with NULL.
(scm_init_readline): fix CVS mess-up.
2007-01-19 19:28:55 +00:00
Han-Wen Nienhuys
6256065013 * readline.c: terminate option list with NULL.
* read.c: idem.

* print.c: idem.

* eval.c: terminate option lists with 0.

* options.c: remove n (for length) from scm_option_X
functions. Detect option list length by looking for NULL name.
2007-01-19 19:26:36 +00:00
Ludovic Courtès
09c9ec0533 Changes from arch/CVS synchronization 2007-01-19 09:11:43 +00:00
Ludovic Courtès
42ddb3cb8b Changes from arch/CVS synchronization 2007-01-19 08:53:33 +00:00
Kevin Ryde
e5467c4d74 *** empty log message *** 2007-01-18 23:10:46 +00:00
Kevin Ryde
970aac161b (exception:string-contains-nul): New exception pattern. 2007-01-18 23:10:13 +00:00
Kevin Ryde
0c6f7f15c6 *** empty log message *** 2007-01-18 22:24:45 +00:00
Kevin Ryde
3c8d5002e4 (exception:string-contains-nul): New exception pattern. 2007-01-18 22:23:44 +00:00
Han-Wen Nienhuys
937038e823 (scm_ithrow): more refined error message: print symbols
too.
2007-01-18 12:34:24 +00:00
Kevin Ryde
72709d26e4 A couple of tweaks to:
* posix.texi (Runtime Environment): Expand program-arguments
	description, add set-program-arguments, add scm_set_program_arguments,
	note args are per-thread.
2007-01-17 22:55:10 +00:00
Neil Jerram
6d6a3fe260 (gds-display-results): Add another binding for
gds-show-last-stack (RET).
(scheme-mode-map): And another: C-h S.
(scheme-mode-map): And an alternative C-h G binding for
gds-apropos, as we probably should not be using C-h C-g.
2007-01-17 13:38:17 +00:00
Kevin Ryde
8e1973d9ab merge from 1.8 2007-01-15 23:49:04 +00:00
Kevin Ryde
de6eff7190 copyright year 2007-01-15 23:42:46 +00:00
Kevin Ryde
23d7256628 merge from 1.8 2007-01-15 23:42:45 +00:00
Kevin Ryde
cea95a2fa1 *** empty log message *** 2007-01-15 23:31:08 +00:00
Kevin Ryde
f697d9dbe7 copyright year 2007-01-15 23:30:28 +00:00
Kevin Ryde
9a18d8d431 merge from 1.8 2007-01-15 23:22:36 +00:00
Kevin Ryde
355caafa55 *** empty log message *** 2007-01-15 23:19:29 +00:00
Kevin Ryde
2039f7be7d avoid tab/space difference from 1.8 2007-01-15 23:07:49 +00:00
Kevin Ryde
45c0ff1068 merge from 1.8 2007-01-15 23:06:45 +00:00
Kevin Ryde
01ec9e9459 *** empty log message *** 2007-01-15 22:56:45 +00:00
Kevin Ryde
329e03949c merge from 1.8 2007-01-15 22:54:26 +00:00
Kevin Ryde
c1f47e6cb4 New set-program-arguments, misc further bug fixes noted 2007-01-15 22:47:26 +00:00
Kevin Ryde
7b6cfe9d35 *** empty log message *** 2007-01-15 22:25:45 +00:00
Kevin Ryde
bd3468384a (Initialization): Cross reference Runtime Environment
for scm_set_program_arguments.
2007-01-15 22:23:28 +00:00
Kevin Ryde
8ebec34d80 (Runtime Environment): Expand program-arguments
description, add set-program-arguments, add scm_set_program_arguments,
note args are per-thread.
2007-01-15 22:22:28 +00:00
Kevin Ryde
696f98d57d in srfi-17, typo "above" should be "below" 2007-01-15 21:57:59 +00:00
Kevin Ryde
2e7bc548b9 copyright year 2007-01-15 21:55:19 +00:00
Kevin Ryde
bb98724ecb (Mapping Folding and Unfolding): In string-unfold,
say make_final default is nothing extra.  The `(lambda (x) )' shown
was not quite right, it would have been `(lambda (x) "")' if anything.
2007-01-15 21:54:49 +00:00
Kevin Ryde
b98236412a (scm_init_filesys): Use scm_from_int rather than scm_from_long for
F_DUPFD, F_GETFD, F_SETFD, F_GETFL, F_SETFL, F_GETOWN, F_SETOWN, these
are all ints (per command arg to fcntl).  Likewise FD_CLOEXEC which is
an int arg to fcntl.
2007-01-15 21:52:52 +00:00
Kevin Ryde
43c6dfffaa (scm_init_filesys): Use scm_from_int rather than
scm_from_long for O_RDONLY, O_WRONLY, O_RDWR, O_CREAT, O_EXCL,
O_NOCTTY, O_TRUNC, O_APPEND, O_NONBLOCK, O_NDELAY, O_SYNC and
O_LARGEFILE.  These are all int not long.
2007-01-15 21:49:44 +00:00
Kevin Ryde
7d32cbebbf *** empty log message *** 2007-01-15 21:47:01 +00:00
Kevin Ryde
7f2ee4635e (regexp-exec): Further tests, in particular #\nul
in input and bad flags args which had been provoking abort()s.
2007-01-15 21:46:41 +00:00