Kevin Ryde [Thu, 18 Jan 2007 23:10:46 +0000 (23:10 +0000)]
*** empty log message ***
Kevin Ryde [Thu, 18 Jan 2007 23:10:13 +0000 (23:10 +0000)]
(exception:string-contains-nul): New exception pattern.
Han-Wen Nienhuys [Thu, 18 Jan 2007 12:34:24 +0000 (12:34 +0000)]
(scm_ithrow): more refined error message: print symbols
too.
Neil Jerram [Wed, 17 Jan 2007 13:38:17 +0000 (13:38 +0000)]
(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.
Kevin Ryde [Mon, 15 Jan 2007 23:49:04 +0000 (23:49 +0000)]
merge from 1.8
Kevin Ryde [Mon, 15 Jan 2007 23:42:46 +0000 (23:42 +0000)]
copyright year
Kevin Ryde [Mon, 15 Jan 2007 23:42:45 +0000 (23:42 +0000)]
merge from 1.8
Kevin Ryde [Mon, 15 Jan 2007 23:31:08 +0000 (23:31 +0000)]
*** empty log message ***
Kevin Ryde [Mon, 15 Jan 2007 23:22:36 +0000 (23:22 +0000)]
merge from 1.8
Kevin Ryde [Mon, 15 Jan 2007 23:07:49 +0000 (23:07 +0000)]
avoid tab/space difference from 1.8
Kevin Ryde [Mon, 15 Jan 2007 23:06:45 +0000 (23:06 +0000)]
merge from 1.8
Kevin Ryde [Mon, 15 Jan 2007 22:56:45 +0000 (22:56 +0000)]
*** empty log message ***
Kevin Ryde [Mon, 15 Jan 2007 22:54:26 +0000 (22:54 +0000)]
merge from 1.8
Han-Wen Nienhuys [Wed, 10 Jan 2007 11:42:04 +0000 (11:42 +0000)]
(scm_ithrow): print out key symbol and string arguments
when error happens inside a critical section, and document why.
Han-Wen Nienhuys [Sat, 6 Jan 2007 18:20:35 +0000 (18:20 +0000)]
(s_scm_read_hash_extend): document #f argument to
read-hash-extend.
Han-Wen Nienhuys [Wed, 3 Jan 2007 17:26:32 +0000 (17:26 +0000)]
(s_scm_gc_stats): return an entry for total-cells-allocated
too.
(gc_update_stats): update scm_gc_cells_allocated_acc too.
Han-Wen Nienhuys [Wed, 3 Jan 2007 17:23:15 +0000 (17:23 +0000)]
(Module): only try to run render-bugs if it exists.
Han-Wen Nienhuys [Sun, 24 Dec 2006 01:05:56 +0000 (01:05 +0000)]
("equal?"): add case for reduction of
rational numbers.
Han-Wen Nienhuys [Sat, 23 Dec 2006 20:35:32 +0000 (20:35 +0000)]
* 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.
Ludovic Courtès [Tue, 12 Dec 2006 14:01:40 +0000 (14:01 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Wed, 29 Nov 2006 09:05:10 +0000 (09:05 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Sat, 18 Nov 2006 18:18:23 +0000 (18:18 +0000)]
Added missing files for `(ice-9 i18n)'.
Ludovic Courtès [Sat, 18 Nov 2006 18:14:55 +0000 (18:14 +0000)]
Changes from arch/CVS synchronization
Neil Jerram [Fri, 17 Nov 2006 15:53:17 +0000 (15:53 +0000)]
Note need for subscription to bug-guile@gnu.org.
Neil Jerram [Fri, 17 Nov 2006 15:52:51 +0000 (15:52 +0000)]
(scm_shell_usage): Note need for subscription to bug-guile@gnu.org.
Neil Jerram [Fri, 17 Nov 2006 15:52:23 +0000 (15:52 +0000)]
(Reporting Bugs): Note need for subscription to
bug-guile@gnu.org.
Neil Jerram [Fri, 17 Nov 2006 15:51:37 +0000 (15:51 +0000)]
* README: Note need for subscription to bug-guile@gnu.org.
* NEWS: Note need for subscription to bug-guile@gnu.org.
Neil Jerram [Mon, 13 Nov 2006 22:22:06 +0000 (22:22 +0000)]
(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.)
Neil Jerram [Mon, 13 Nov 2006 22:21:36 +0000 (22:21 +0000)]
*** empty log message ***
Ludovic Courtès [Wed, 8 Nov 2006 09:34:35 +0000 (09:34 +0000)]
Changes from arch/CVS synchronization
Neil Jerram [Thu, 2 Nov 2006 21:10:37 +0000 (21:10 +0000)]
Remove environments.[ch] from the build.
Ludovic Courtès [Thu, 26 Oct 2006 07:20:59 +0000 (07:20 +0000)]
Changes from arch/CVS synchronization
Neil Jerram [Wed, 25 Oct 2006 22:37:24 +0000 (22:37 +0000)]
* 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.
Neil Jerram [Sat, 14 Oct 2006 16:34:16 +0000 (16:34 +0000)]
(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.
Neil Jerram [Thu, 12 Oct 2006 23:24:02 +0000 (23:24 +0000)]
* 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.
Neil Jerram [Tue, 10 Oct 2006 21:52:40 +0000 (21:52 +0000)]
(Setting and Managing Breakpoints): New text
about what happens when a breakpoint is created.
(Listing and Deleting Breakpoints, Moving and Losing Breakpoints):
New.
Kevin Ryde [Tue, 10 Oct 2006 00:11:22 +0000 (00:11 +0000)]
stray tab
Kevin Ryde [Mon, 9 Oct 2006 23:40:48 +0000 (23:40 +0000)]
merge from 1.8 branch
Kevin Ryde [Mon, 9 Oct 2006 23:27:59 +0000 (23:27 +0000)]
merge from 1.8 branch (removing this file)
Kevin Ryde [Mon, 9 Oct 2006 22:59:10 +0000 (22:59 +0000)]
merge from 1.8 branch
Kevin Ryde [Mon, 9 Oct 2006 22:47:06 +0000 (22:47 +0000)]
merge from 1.8 branch
Neil Jerram [Sun, 8 Oct 2006 08:24:00 +0000 (08:24 +0000)]
(GDS Getting Started): Editorial updates.
Neil Jerram [Sun, 8 Oct 2006 08:19:13 +0000 (08:19 +0000)]
(Working with GDS in Scheme Buffers): New
subsection, to group (Access to Guile Help and Completion, Setting
and Managing Breakpoints, Evaluating Scheme Code) together.
Neil Jerram [Fri, 6 Oct 2006 00:10:36 +0000 (00:10 +0000)]
(Access to Guile Help and Completion): Mention where keys are
defined.
(Setting and Managing Breakpoints): Update text on how to set
breakpoints.
Neil Jerram [Thu, 5 Oct 2006 23:55:22 +0000 (23:55 +0000)]
(Using Guile in Emacs): Subnodes reordered,
from (Displaying the Scheme Stack, Continuing Execution,
Evaluating Scheme Code, Setting and Managing Breakpoints, Access
to Guile Help and Completion) to (Access to Guile Help and
Completion, Setting and Managing Breakpoints, Evaluating Scheme
Code, Displaying the Scheme Stack, Continuing Execution).
Neil Jerram [Thu, 5 Oct 2006 23:28:44 +0000 (23:28 +0000)]
(new-input-prompt): Renamed from "prompt".
(continuation-prompt): Renamed from "prompt2".
(make-readline-port, readline, set-readline-prompt!): Reflect above renamings.
(activate-readline): Rename locals "read-hook" and "prompt" to
"repl-read-hook" and "repl-prompt", to disambiguate them from
globals. Save and restore the new-input- and continuation-
prompts around the REPL read call.
Neil Jerram [Tue, 3 Oct 2006 19:21:48 +0000 (19:21 +0000)]
(run-utility): Remove unnecessary
`connect-to-gds' call.
Neil Jerram [Tue, 3 Oct 2006 19:20:50 +0000 (19:20 +0000)]
(GDS Getting Started): Editorial updates.
Neil Jerram [Sat, 30 Sep 2006 17:21:52 +0000 (17:21 +0000)]
(debug-trap): Use
`debugger-command-loop' instead of `read-and-dispatch-commands',
which isn't actually available. Thanks to Carlos Pita for
reporting this.
(debugger-command-loop): Define here for 1.6.x.
Neil Jerram [Thu, 28 Sep 2006 07:41:49 +0000 (07:41 +0000)]
(GDS Introduction, GDS Getting Started): Minor
edits.
Neil Jerram [Thu, 28 Sep 2006 07:32:40 +0000 (07:32 +0000)]
(Symbol Props): Remove unnecessarily specific
parenthesis about Guile 1.6's use of extra symbol slots.
Neil Jerram [Wed, 27 Sep 2006 17:49:38 +0000 (17:49 +0000)]
(Slot Options): Added example from Ludovic Courtès
about difference between init-value, -form and -thunk.
Neil Jerram [Tue, 26 Sep 2006 21:43:52 +0000 (21:43 +0000)]
(Using Guile in Emacs, GDS Introduction):
Editorial updates.
(GDS Architecture): Moved earlier in containing section; editorial
updates.
(GDS Getting Started, How to Use GDS): Merged; editorial updates;
subsections reordered.
Neil Jerram [Mon, 25 Sep 2006 21:05:46 +0000 (21:05 +0000)]
* scheme-using.texi (Error Handling, Interactive Debugger): Minor
editorial improvements.
(Leave Debugger): Removed.
(Display Backtrace): Minor updates.
(Frame Selection, Frame Information, Frame Evaluation) : Minor
editorial improvements.
(Stepping and Continuing): Merged from three previous nodes; plus
minor improvements. Removed doc for `trace-finish', which no
longer exists.
* debugging/ice-9-debugger-extensions.scm (debugger:step):
Docstring improvements.
(debugger:next): Docstring improvements.
(debugger:continue): Docstring improvements.
* debugger/commands.scm (up, down): Docstring corrections.
(info-args, info-frame, position, evaluate): Docstring
improvements.
Neil Jerram [Mon, 25 Sep 2006 20:37:23 +0000 (20:37 +0000)]
Fix typo.
Ludovic Courtès [Wed, 20 Sep 2006 13:13:34 +0000 (13:13 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Wed, 20 Sep 2006 12:48:45 +0000 (12:48 +0000)]
Changes from arch/CVS synchronization
Rob Browning [Wed, 20 Sep 2006 00:34:02 +0000 (00:34 +0000)]
*** empty log message ***
Rob Browning [Wed, 20 Sep 2006 00:33:56 +0000 (00:33 +0000)]
(build-link): Restore the removal of "/usr/lib" (in addition to
"/usr/lib/" from any -L arguments).
Neil Jerram [Fri, 15 Sep 2006 09:23:18 +0000 (09:23 +0000)]
Doc typo fixes
Rob Browning [Fri, 1 Sep 2006 01:38:18 +0000 (01:38 +0000)]
*** empty log message ***
Rob Browning [Fri, 1 Sep 2006 01:37:57 +0000 (01:37 +0000)]
(scm_c_port_for_each): Add a scm_remember_upto_here_1(ports) at the
end of the function to fix a GC bug.
Neil Jerram [Tue, 29 Aug 2006 22:47:41 +0000 (22:47 +0000)]
(Debug on Error): Added paragraph on need to use
debugging evaluator. Added text on what the Guile REPL code does.
Neil Jerram [Mon, 28 Aug 2006 22:17:26 +0000 (22:17 +0000)]
(scm_display_backtrace_with_highlights): Minor
improvements to docstring.
(scm_backtrace_with_highlights): Analogous improvements.
Neil Jerram [Mon, 28 Aug 2006 22:16:42 +0000 (22:16 +0000)]
(Examining the Stack): Minor improvements to
display-backtrace doc.
(Debug on Error): More new text on catching the error stack.
Neil Jerram [Sun, 27 Aug 2006 14:06:16 +0000 (14:06 +0000)]
(Debug on Error): New text on how to catch errors
and the error stack.
Neil Jerram [Wed, 23 Aug 2006 22:11:24 +0000 (22:11 +0000)]
(Using Guile in Emacs): New text about
available Emacs libraries.
(GDS Introduction): New node, containing GDS-specific introductory
text.
Neil Jerram [Fri, 18 Aug 2006 14:21:23 +0000 (14:21 +0000)]
* gds-server.el (gds-start-server): Change "ossau" to "ice-9".
* gds-scheme.el (gds-start-utility-guile): Change "ossau" to
"ice-9".
Neil Jerram [Fri, 18 Aug 2006 14:19:44 +0000 (14:19 +0000)]
* configure.in: Generate Makefile for emacs subdir.
* Makefile.am (SUBDIRS): Add emacs subdir.
* configure.in: Generate Makefile for ice-9/debugging subdir.
Neil Jerram [Fri, 18 Aug 2006 13:43:09 +0000 (13:43 +0000)]
.cvsignore file
Neil Jerram [Fri, 18 Aug 2006 13:41:45 +0000 (13:41 +0000)]
* configure.in: Generate Makefile for ice-9/debugging.
* debugging/trc.scm: New file.
* debugging/traps.scm: New file.
* debugging/trace.scm: New file.
* debugging/steps.scm: New file.
* debugging/load-hooks.scm: New file.
* debugging/ice-9-debugger-extensions.scm: New file.
* debugging/example-fns.scm: New file.
* debugging/breakpoints.scm: New file.
* debugging/Makefile.am: New.
* Makefile.am (SUBDIRS): Add debugging.
Neil Jerram [Fri, 18 Aug 2006 13:14:46 +0000 (13:14 +0000)]
(Using Guile in Emacs): Unignore extra GDS
intro text. (I will edit this down later. For now it's
convenient to have it all appearing, so it's visible on paper.)
Neil Jerram [Fri, 11 Aug 2006 16:21:14 +0000 (16:21 +0000)]
* scheme-using.texi (Run To Frame Exit): Improved doc for finish.
(Continue Execution): Improved doc for continue.
(Using Guile in Emacs): Lots of new docs about the Emacs
interface.
* api-debug.texi (Low Level Trap Calls): New.
(Using Traps): Removed, material incorporated into Low Level Trap
Calls.
(High Level Traps): New.
(Breakpoints): New.
* scheme-using.texi (Single Stepping): Improve doc for step and
next.
* api-debug.texi (Debug on Error): Note need to handling of errors
in C.
Neil Jerram [Fri, 11 Aug 2006 15:38:19 +0000 (15:38 +0000)]
(Debugging): New intro text. New subsection
"Evaluation Model". Moved existing subsections "Capturing the
Stack or Innermost Stack Frame", "Examining the Stack", "Examining
Stack Frames", "Source Properties", "Decoding Memoized Source
Expressions" and "Starting a New Stack" under "Evaluation Model".
(Capturing the Stack or Innermost Stack Frame): Some new text, and
correction to doc for last-stack-frame.
(Debug on Error): Renamed from "Interactive Debugging".
Neil Jerram [Fri, 11 Aug 2006 15:33:41 +0000 (15:33 +0000)]
(scm_last_stack_frame): Correct docstring (returns a
frame, not a stack).
Neil Jerram [Tue, 1 Aug 2006 21:51:12 +0000 (21:51 +0000)]
* api-debug.texi (Breakpoints): Removed (all wrong).
* guile.texi (API Reference): Improved summary for "Debugging"
menu item.
Neil Jerram [Tue, 1 Aug 2006 21:33:17 +0000 (21:33 +0000)]
* scheme-debugging.texi (Debug Last Error, Interactive Debugger):
Moved/merged to scheme-using.texi, as REPL features.
(Examples): New.
(Intro to Breakpoints): New introductory text here. Removed all
subnodes except for Breakpoints Overview.
* scheme-using.texi: New.
* guile.texi (Programming in Scheme): Include new
scheme-using.texi file.
* Makefile.am (guile_TEXINFOS): Include new scheme-using.texi
file.
Rob Browning [Wed, 19 Jul 2006 06:56:37 +0000 (06:56 +0000)]
*** empty log message ***
Rob Browning [Wed, 19 Jul 2006 06:56:30 +0000 (06:56 +0000)]
Add __attribute__ ((returns_twice)) to the ia64_getcontext prototype
so that gcc will make the right arrangements and avoid an illegal
instruction during call-with-current-continuation.
Ludovic Courtès [Wed, 12 Jul 2006 08:07:27 +0000 (08:07 +0000)]
Changes from arch/CVS synchronization
Neil Jerram [Mon, 19 Jun 2006 22:37:13 +0000 (22:37 +0000)]
* Makefile.am (ice9_sources): Add new files.
* gds-client.scm, gds-server.scm: New files.
Neil Jerram [Mon, 19 Jun 2006 22:01:23 +0000 (22:01 +0000)]
* Makefile.am: New file.
* gds.el, gds-scheme.el, gds-server.el: New files.
Kevin Ryde [Sat, 17 Jun 2006 23:41:24 +0000 (23:41 +0000)]
merge from 1.8 branch
Kevin Ryde [Sat, 17 Jun 2006 23:29:46 +0000 (23:29 +0000)]
merge from 1.8 branch
Kevin Ryde [Sat, 17 Jun 2006 23:15:59 +0000 (23:15 +0000)]
merge from 1.8 branch
Kevin Ryde [Sat, 17 Jun 2006 22:57:28 +0000 (22:57 +0000)]
merge from 1.8 branch
And: show "1.8" not "1.10" in effective version, that being what it
was at the time of that news entry
Kevin Ryde [Sat, 17 Jun 2006 22:53:04 +0000 (22:53 +0000)]
merge from 1.8 branch
Kevin Ryde [Sat, 17 Jun 2006 22:47:50 +0000 (22:47 +0000)]
merge 1.8 branch
Ludovic Courtès [Fri, 16 Jun 2006 07:39:59 +0000 (07:39 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Tue, 13 Jun 2006 08:14:01 +0000 (08:14 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Tue, 13 Jun 2006 07:56:41 +0000 (07:56 +0000)]
Added `structs.test'.
Ludovic Courtès [Tue, 13 Jun 2006 07:48:42 +0000 (07:48 +0000)]
Changes from arch/CVS synchronization
Neil Jerram [Tue, 6 Jun 2006 21:39:43 +0000 (21:39 +0000)]
(ACX_PTHREAD): Update to latest definition from
autoconf macro archive, to fix pthread linking problem on Solaris
10, reported by Charles Gagnon.
Marius Vollmer [Mon, 29 May 2006 21:54:13 +0000 (21:54 +0000)]
* eq.c (scm_equal_p): Use scm_array_equal_p explicitely when one
of the arguments is a array. This allows vectors to be equal to
one-dimensional arrays.
* tests/unif.test ("vector equal? one-dimensional array"): New.
Marius Vollmer [Mon, 29 May 2006 20:35:48 +0000 (20:35 +0000)]
(scm_ithrow): When looking for the jmpbuf, first test that we have a
pair before accessing its cdr. Thanks to Bill Schottstaedt!
Marius Vollmer [Sat, 27 May 2006 22:24:24 +0000 (22:24 +0000)]
Delete test file after all tests have run in order to make "make
distcheck" work.
Marius Vollmer [Sat, 27 May 2006 21:32:22 +0000 (21:32 +0000)]
Replace SCM_C_INLINE with SCM_C_INLINE_KEYWORD. Thanks to Mark Gran!
Marius Vollmer [Sat, 27 May 2006 21:31:32 +0000 (21:31 +0000)]
*** empty log message ***
Marius Vollmer [Sat, 27 May 2006 21:05:07 +0000 (21:05 +0000)]
*** empty log message ***
Marius Vollmer [Sun, 7 May 2006 22:51:06 +0000 (22:51 +0000)]
(CELL_P): Also check that the potential pointer is
correctly aligned for a cell. Thanks to Miroslav Lichvar!