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

10141 commits

Author SHA1 Message Date
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
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
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
Han-Wen Nienhuys
937038e823 (scm_ithrow): more refined error message: print symbols
too.
2007-01-18 12:34:24 +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
9a18d8d431 merge from 1.8 2007-01-15 23:22:36 +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
Han-Wen Nienhuys
a2c40dc7c0 (scm_ithrow): print out key symbol and string arguments
when error happens inside a critical section, and document why.
2007-01-10 11:42:04 +00:00
Han-Wen Nienhuys
391f57e6ad (s_scm_read_hash_extend): document #f argument to
read-hash-extend.
2007-01-06 18:20:35 +00:00
Han-Wen Nienhuys
93632e3cfd (s_scm_gc_stats): return an entry for total-cells-allocated
too.
(gc_update_stats): update scm_gc_cells_allocated_acc too.
2007-01-03 17:26:32 +00:00
Han-Wen Nienhuys
73cc2740d4 (Module): only try to run render-bugs if it exists. 2007-01-03 17:23:15 +00:00
Han-Wen Nienhuys
c6a576f766 ("equal?"): add case for reduction of
rational numbers.
2006-12-24 01:05:56 +00:00
Han-Wen Nienhuys
e2bf3b19f6 * numbers.c (scm_i_fraction_reduce): move logic into
scm_i_make_ratio(), so fractions are only read.
scm_i_fraction_reduce() modifies a fraction when reading it.  A
race condition might lead to fractions being corrupted by reading
them concurrently.

* numbers.h: remove SCM_FRACTION_SET_NUMERATOR,
SCM_FRACTION_SET_DENOMINATOR, SCM_FRACTION_REDUCED_BIT,
SCM_FRACTION_REDUCED_SET, SCM_FRACTION_REDUCED_CLEAR,
SCM_FRACTION_REDUCED.
2006-12-23 20:35:32 +00:00
Ludovic Courtès
f30e1bdf97 Changes from arch/CVS synchronization 2006-12-12 14:01:40 +00:00
Ludovic Courtès
22be72d35f Changes from arch/CVS synchronization 2006-11-29 09:05:10 +00:00
Ludovic Courtès
5b3a39c7ff Added missing files for `(ice-9 i18n)'. 2006-11-18 18:18:23 +00:00
Ludovic Courtès
b89c494395 Changes from arch/CVS synchronization 2006-11-18 18:14:55 +00:00
Neil Jerram
cbea802b37 Note need for subscription to bug-guile@gnu.org. 2006-11-17 15:53:17 +00:00
Neil Jerram
f3e3f530c2 (scm_shell_usage): Note need for subscription to bug-guile@gnu.org. 2006-11-17 15:52:51 +00:00
Neil Jerram
e563095988 (Reporting Bugs): Note need for subscription to
bug-guile@gnu.org.
2006-11-17 15:52:23 +00:00
Neil Jerram
51d079ab0d * README: Note need for subscription to bug-guile@gnu.org.
* NEWS: Note need for subscription to bug-guile@gnu.org.
2006-11-17 15:51:37 +00:00
Neil Jerram
31b6212e9d (environment-module): Change eval-closure-module call
back to procedure-property lookup.  (This completes the reversion
of the change made on 2005-06-10, which was only partially undone
by the change on 2005-08-01.)
2006-11-13 22:22:06 +00:00
Neil Jerram
19b16cd055 *** empty log message *** 2006-11-13 22:21:36 +00:00
Ludovic Courtès
d9f71a0754 Changes from arch/CVS synchronization 2006-11-08 09:34:35 +00:00
Neil Jerram
dd18d31211 Remove environments.[ch] from the build. 2006-11-02 21:10:37 +00:00
Ludovic Courtès
d5074b473c Changes from arch/CVS synchronization 2006-10-26 07:20:59 +00:00
Neil Jerram
9a5fa6e98a * configure.in: New check for uca lib (needed for IA64 on HP-UX).
* threads.c (SCM_MARK_BACKING_STORE): Use scm_ia64_ar_bsp() and
scm_ia64_register_backing_store_base() instead of Linux-specific
implementations.

* gc.h (scm_ia64_register_backing_store_base, scm_ia64_ar_bsp):
New declarations.

* gc.c (__libc_ia64_register_backing_store_base): Declaration
removed.
(scm_ia64_register_backing_store_base, scm_ia64_ar_bsp): New, with
implementations for Linux and HP-UX.

* coop-pthreads.c (SCM_MARK_BACKING_STORE): Use scm_ia64_ar_bsp()
and scm_ia64_register_backing_store_base() instead of
Linux-specific implementations.

* continuations.h (__libc_ia64_register_backing_store_base):
Declaration removed.
(scm_t_contregs): New "fresh" field.

* continuations.c (ia64_getcontext): Removed.
(scm_make_continuation): Use continuation fresh field instead of
interpreting getcontext return values (which isn't portable).  Use
scm_ia64_ar_bsp() and scm_ia64_register_backing_store_base()
instead of Linux-specific implementations.
(copy_stack_and_call): Use scm_ia64_register_backing_store_base()
instead of Linux-specific implementation.

* _scm.h (__ia64__): Also detect __ia64.
2006-10-25 22:37:24 +00:00
Neil Jerram
ba6984d09b (gds-socket-type-alist): New.
(gds-run-debug-server): Use gds-server-socket-type and
gds-socket-type-alist instead of gds-server-port-or-path.
(gds-server-socket-type): New, replacing gds-server-port-or-path.
2006-10-14 16:34:16 +00:00
Neil Jerram
e2d23cc0f8 * gds.el (gds-run-debug-server): Use variable
gds-server-port-or-path instead of hardcoded 8333.
(gds-server-port-or-path): New.

* gds-server.el (gds-start-server): Change port arg to
port-or-path, to support Unix domain sockets.

* gds-client.scm (connect-to-gds): Try to connect by Unix domain
socket if TCP connection fails.

* gds-server.scm (run-server): Update to support listening on a
Unix domain socket.
2006-10-12 23:24:02 +00:00
Neil Jerram
c1ab3a6d6b (Setting and Managing Breakpoints): New text
about what happens when a breakpoint is created.
(Listing and Deleting Breakpoints, Moving and Losing Breakpoints):
New.
2006-10-10 21:52:40 +00:00
Kevin Ryde
bdb55624ca stray tab 2006-10-10 00:11:22 +00:00
Kevin Ryde
8ab3d8a068 merge from 1.8 branch 2006-10-09 23:40:48 +00:00