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

1276 commits

Author SHA1 Message Date
Neil Jerram
f8d8007275 Allow @ to work with (ice-9 syncase)
(Reported by Panicz Maciej Godek.)

* test-suite/tests/syncase.test ("@ works with syncase"): New test.

* ice-9/syncase.scm (guile-macro): When a Guile macro transformer
  produces a variable, don't pass it through sc-expand.
2009-02-05 22:13:19 +00:00
Andy Wingo
1e1bffb4e7 cleanups to value and help help handlers
* ice-9/session.scm (*value-help-handlers*): Define object-documentation
  as the default value help handler.
  (remove-value-help-handler!, add-name-help-handler!)
  (remove-name-help-handler!): Fix docs.
  (help, help-doc): Fix so that we try object-documentation through
  try-value-help, and we obey the docs regarding what happens with return
  values.
2009-01-28 12:12:32 +01:00
Andy Wingo
8b8b599694 merge in from guile-lib: add some extensibility to `help'
* ice-9/session.scm (add-value-help-handler!)
  (remove-value-help-handler!, add-name-help-handler!)
  (remove-name-help-handler!): New public interfaces, to allow some basic
  extensibility of the help interface. Merged in from guile-lib's (scheme
  session).
2009-01-28 12:12:29 +01:00
Ludovic Courtès
afb28ce860 Fix handling of the FLAGS argument in `fold-matches'.
* ice-9/regex.scm (fold-matches): If FLAGS is non-null, use
  `(car flags)', not `flags'.

* test-suite/tests/regexp.test ("fold-matches"): New test prefix.

* NEWS: Update.
2008-09-25 21:37:18 +02:00
Ludovic Courtès
8073f24ccd Add `ChangeLog-2008' files to the distribution. 2008-09-12 21:46:32 +02:00
Ludovic Courtès
e9d9445b50 Rename ChangeLog' files to ChangeLog-2008'. 2008-09-12 21:42:26 +02:00
Ludovic Courtès
365db7e640 Remove `.cvsignore' files. 2008-09-11 21:48:53 +02:00
Ludovic Courtès
4e329a9569 Get rid of Automake's "maintainer mode".
* NEWS: Update.
* configure.in: Remove `AM_MAINTAINER_MODE' invocation.
* doc/Makefile.am, ice-9/Makefile.am: Ignore `MAINTAINER_MODE'
  conditional.
2008-09-09 18:07:03 +02:00
Neil Jerram
e460586430 Single stepping through code from Emacs
When you use GDS to evaluate Scheme code from Emacs, you can now use
`C-u' to indicate that you want to single step through that code. See
`Evaluating Scheme Code' in the manual for more details.

	* scheme-using.texi (Evaluating Scheme Code): Document use of
        `C-u' prefix with evaluation commands.

        * gds-scheme.el (gds-eval-region, gds-eval-expression)
        (gds-eval-defun, gds-eval-last-sexp): Support `C-u' prefix,
        meaning that user wants to single step through the code.

        * gds-client.scm (handle-nondebug-protocol): Add support for
        setting a trap on code that is about to be evaluated.
2008-07-17 22:44:52 +01:00
Neil Jerram
f54b1b5d3c * gds-client.scm (gds-debug-trap): Ensure that frame index passed to Emacs is always positive. 2008-04-14 19:40:02 +01:00
Neil Jerram
3913785b73 (command-loop): Use
needed modules.
2008-03-19 22:54:31 +00:00
Neil Jerram
f5df24436b ice-9/debugging/.cvsignore: New. 2008-03-12 00:59:08 +00:00
Neil Jerram
b0f07fa20c Merge GDS (except for breakpoints) from CVS HEAD:
* debugger/commands.scm (evaluate, info-args, info-frame,
position, up, down): Improve/fix doc strings.

* Makefile.am (SUBDIRS): Add debugging.
(ice9_sources): Add gds-client.scm and gds-server.scm.

* scheme-debugging.texi: Remove lots of text that is now
duplicated (exactly) elsewhere, leaving only the `Tracing' node.

* guile.texi: Replace `Debugging Features' (scheme-debugging.texi)
by `Using Guile Interactively' and `Using Guile in Emacs'
(scheme-using.texi).  Move the `Tracing' content of
scheme-debugging.texi to the Modules section.

* api-options.texi (Evaluator trap options): Move doc for
with-traps and debug-object? to here.

* api-modules.texi (Included Guile Modules): Change reference from
`Debugging Features' to `Tracing'.

* api-evaluation.texi (Evaluator Behaviour): Add reference to
`Evaluator trap options'.

* api-debug.texi (Examining the Stack): Minor improvements to
display-backtrace doc.

* api-debug.texi (Debug on Error): New text on how to catch errors
and the error stack.

* api-debug.texi (High Level Traps): New.

* api-debug.texi (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".

* configure.in (AC_CONFIG_FILES): Add emacs/Makefile and
ice-9/debugging/Makefile.

* Makefile.am (SUBDIRS): Add emacs.
2008-03-12 00:57:41 +00:00
Neil Jerram
51d237110f Merge GDS (except for breakpoints) from CVS HEAD:
* scheme-using.texi: New (merged with modifications from CVS
HEAD).

* Makefile.am, gds-scheme.el, gds-server.el, gds.el: New (merged
with modifications from CVS HEAD).

* debugging/Makefile.am, debugging/example-fns.scm,
debugging/ice-9-debugger-extensions.scm, debugging/steps.scm,
debugging/trace.scm, debugging/traps.scm, debugging/trc.scm: New
(merged with modifications from CVS HEAD).

* gds-client.scm, gds-server.scm: New (merged with modifications
from CVS HEAD).
2008-03-12 00:39:26 +00:00
Ludovic Courtès
c968074b32 Fix `(ice-9 match)' for lists of lists. 2008-02-22 15:55:36 +00:00
Neil Jerram
738f9ef01f * LICENSE: Change COPYING.LIB to COPYING.LESSER.
* COPYING.LESSER: Renamed, previously COPYING.LIB.

* COPYING: Removed.

* COPYING: Removed.

* COPYING: Removed.

* COPYING: Removed.

* COPYING: Removed.

* COPYING: Removed.

* COPYING: Removed.

* COPYING: Removed.
2008-01-22 21:29:54 +00:00
Ludovic Courtès
4ee1337075 Changes from arch/CVS synchronization 2007-10-02 04:02:47 +00:00
Ludovic Courtès
1a1fb64308 Changes from arch/CVS synchronization 2007-09-01 17:11:00 +00:00
Ludovic Courtès
932bd3abce Changes from arch/CVS synchronization 2007-08-08 15:04:30 +00:00
Ludovic Courtès
a944fd0f81 Changes from arch/CVS synchronization 2007-06-13 22:20:39 +00:00
Kevin Ryde
9a43154a6a *** empty log message *** 2007-01-03 21:49:05 +00:00
Kevin Ryde
f4fbe4a4f5 (top-repl): Check (defined? 'SIGBUS) before using that
value, there's no such signal on mingw.  Reported by Cesar Strauss.
2007-01-03 21:48:35 +00:00
Kevin Ryde
af34b069b9 *** empty log message *** 2006-12-12 21:41:52 +00:00
Kevin Ryde
a59432a2ed (use-srfis, top-repl): Use process-use-modules, to
correctly handle duplicates between the core and other modules, in
particular srfi-17 which should replace `car' etc (but didn't).
2006-12-12 21:41:20 +00:00
Kevin Ryde
2dbfe72dda *** empty log message *** 2006-12-08 20:27:21 +00:00
Kevin Ryde
5840136768 (top-repl): Remove module-use! of the core `(guile)'
module.  It's already in `(guile-user)' and the module-use! elevates
it making core bindings override those from elsewhere, such as `iota'
under a run of "guile --use-srfi=1".  Reported by Sven Hartrumpf.
2006-12-08 20:24:30 +00:00
Neil Jerram
6610e77737 (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 21:54:12 +00:00
Kevin Ryde
d4b71bbe14 *** empty log message *** 2006-10-04 22:17:57 +00:00
Kevin Ryde
0b051de863 (visited?-proc): Use hashv since we know we're getting
numbers.  Incorporate stat:dev, since stat:ino is only unique within a
single device.  This fixes a bug where if two files with the same
inode on different devices where seen only the first would be returned
by ftw (and nftw).
2006-10-04 22:12:34 +00:00
Kevin Ryde
13ec28ffc5 *** empty log message *** 2006-09-22 23:36:48 +00:00
Kevin Ryde
1f28c41667 (log, log10, exp, sqrt): Remove, now in libguile/numbers.c. 2006-09-22 23:35:51 +00:00
Kevin Ryde
c1a524ed9a *** empty log message *** 2006-09-07 21:13:35 +00:00
Kevin Ryde
a56f2de792 Module "(ice-9 threads)" no longer used, now no mutex.
(format:parse-float): Fix normalization of leading zeros like "02.5"
to "2.5".  left-zeros was zeroed before adjusting format:fn-dot,
resulting in the latter being unchanged.
2006-09-07 21:07:36 +00:00
Kevin Ryde
82843d5c26 *** empty log message *** 2006-08-02 00:48:35 +00:00
Kevin Ryde
b0c50494b6 (%record-type-check): New function.
(record-accessor, record-modifier): Use it for a strict type check of
the given record.  Previously an accessor returned #f on a wrong
record type, and modifier silently did nothing.
2006-08-02 00:45:45 +00:00
Kevin Ryde
ce385c5dc0 *** empty log message *** 2006-05-27 22:43:09 +00:00
Kevin Ryde
6cfcc3b916 (file-commentary): Move make-regexp into
file-commentary so that it's possible to get to the repl prompt when
regexps are not available.
2006-05-27 22:38:53 +00:00
Kevin Ryde
de4b36bffc *** empty log message *** 2006-05-09 00:36:49 +00:00
Kevin Ryde
ee9c5b6e33 (n-par-for-each, n-for-each-par-map): Two more spots
where `futures' should become `threads' from Marius' change of
2006-01-29.
2006-05-09 00:33:44 +00:00
Kevin Ryde
7618420b4c *** empty log message *** 2006-03-03 23:31:36 +00:00
Kevin Ryde
0e68e92fda 2006-03-04 Ludovic Courtès <ludovic.courtes@laas.fr>
* ice-9/boot-9.scm (make-autoload-interface): Don't call `set-car!' if
	the autoload interface has already been removed from MODULE's uses.
	This bug showed up when using a given module both with `autoload' and
	`use-module'.
2006-03-03 23:30:40 +00:00
Kevin Ryde
170a4f8c2a *** empty log message *** 2006-02-20 22:39:35 +00:00
Kevin Ryde
c02258027b (format:out-dollar): Use format:out-inf-nan per ~f etc. 2006-02-20 22:16:23 +00:00
Marius Vollmer
0ab652a386 Added 2006 to copyright years in every file, as per the new rules. 2006-02-12 13:42:52 +00:00
Marius Vollmer
bbcade428b * deprecated.scm (make-uniform-array): Don't pass the prototype as
the fill value, dimensions->uniform-array will do the right thing
now.  See scm_dimensions_to_uniform_array why we need to be tricky
about the fill value.

* unif.c (scm_dimensions_to_uniform_array): Use the prototype for
filling when the fill paramater is omitted, as documented, but
turn #\nul into 0 since s8 arrays (signified by a #\nul prototype)
can not store characters.
2006-02-12 00:57:14 +00:00
Neil Jerram
2328328f85 * boot-9.scm (try-module-autoload): Make sure that module code is
loaded with the default reader (current-reader #f).  Thanks to
Ludovic Courtès for pointing this problem out.
2006-02-04 15:57:16 +00:00
Neil Jerram
56658166b2 * stack-catch.scm (stack-catch): Use catch pre-unwind handler
instead of lazy-catch.

* boot-9.scm (error-catching-loop): Use catch pre-unwind handler
instead of lazy-catch.
2006-02-04 14:36:06 +00:00
Kevin Ryde
1443643fd8 copyright year for marius' last change 2006-02-02 21:13:15 +00:00
Kevin Ryde
7a5e7cba5e *** empty log message *** 2006-02-02 20:59:54 +00:00
Kevin Ryde
1d314ec23b 2006-02-01 Ludovic Courtès <ludovic.courtes@laas.fr>
* deprecated.scm (make-uniform-array): Fill the returned vector with
	PROT, per guile 1.6 behaviour.
2006-02-02 20:48:44 +00:00