Ludovic Courtès
a4060f6710
Add `*current-warning-prefix*'.
...
* module/system/base/message.scm (*current-warning-prefix*): New
variable.
(%warning-types): Honor `*current-warning-prefix*'.
* module/scripts/compile.scm (compile): Use an empty
`*current-warning-prefix*'.
* module/system/repl/common.scm (repl-compile): Likewise.
* test-suite/tests/tree-il.test (call-with-warnings): Likewise.
2011-02-13 19:13:36 +01:00
Andy Wingo
6f06e8d35f
autocompile -> auto-compile
...
* NEWS:
* check-guile.in:
* doc/guile.1:
* doc/ref/scheme-scripts.texi:
* libguile/init.c:
* libguile/load.c:
* libguile/load.h:
* libguile/script.c:
* module/Makefile.am:
* module/ice-9/boot-9.scm:
* module/scripts/compile.scm:
* module/system/base/compile.scm:
* test-suite/Makefile.am:
* test-suite/tests/popen.test: Change "autocompile" to "auto-compile" or
"auto_compile", as appropriate, in variable names, function names,
command line arguments, and the documentation.
2011-02-13 15:06:11 +01:00
Ludovic Courtès
dcb9aceb48
Have "frisk" recognize #:use-module' and
#:autoload'.
...
* module/scripts/frisk.scm (grok-proc): Support keywords `#:use-module'
and `#:autoload'.
2010-10-27 23:31:49 +02:00
Ludovic Courtès
796c980a6a
Placate `-Wformat'.
...
* module/scripts/compile.scm (fail): Use a fancy format string instead
of a non-literal one.
2010-10-13 00:06:29 +02:00
Andy Wingo
3932bdb3af
remove a number of debug options
...
* libguile/private-options.h (SCM_BREAKPOINTS_P, SCM_TRACE_P)
(SCM_REC_PROCNAMES_P, SCM_BACKTRACE_INDENT, SCM_N_FRAMES)
(SCM_BACKTRACE_MAXDEPTH, SCM_DEVAL_P): Remove these internal names.
* libguile/eval.c (scm_debug_opts): Remove the corresponding debug
options -- breakpoints, trace, procnames, indent, frames, maxdepth,
and debug.
* libguile/debug.c (scm_debug_options): Remove SCM_N_FRAMES check.
* test-suite/lib.scm (with-debugging-evaluator*):
* module/scripts/summarize-guile-TODO.scm:
* module/statprof.scm (statprof-reset):
* module/ice-9/boot-9.scm (turn-on-debugging): Remove useless
debug-enable 'debug calls.
* module/ice-9/deprecated.scm (debug-enable): As it seems that 'debug is
a particulatly common option that we just removed, add a deprecation
shim.
* doc/ref/api-options.texi (Debugger options): Update the set of debug
options.
2010-09-24 20:57:01 +02:00
Thien-Thi Nguyen
395afce9f2
[maint] Remove unused script guile-doc-snarf.
...
* doc/ref/tools.texi (Doc Snarfing): Don't mention guile-doc-snarf.
* configure.ac (libguile/guile-doc-snarf): Delete ‘GUILE_CONFIG_SCRIPT’.
* libguile/Makefile.am (noinst_SCRIPTS): Remove guile-doc-snarf.
* libguile/.gitignore: Remove guile-doc-snarf.
* libguile/guile-doc-snarf.in: Delete file.
* module/scripts/doc-snarf.scm: Comment munging; nfc.
* AUTHORS: Update.
2010-07-22 21:10:38 +02:00
Andy Wingo
445f31fc06
fix doc snarfing with fedora 12
...
* module/scripts/snarf-check-and-output-texi.scm
(process-multiline-directive): Be more accepting of source location
markers in the preprocessed source, by adding a couple cases in which
they can appear. Not foolproof, but it does adapt to what new GCCs are
putting out (e.g. cpp (GCC) 4.4.2 20091222 (Red Hat 4.4.2-20)).
2010-01-17 18:22:51 +01:00
Ludovic Courtès
bce5cb5641
Provide Guile-friendly `coding:' meta-data.
...
* module/ice-9/i18n.scm, module/rnrs/bytevector.scm,
module/rnrs/io/ports.scm, module/scripts/compile.scm,
module/srfi/srfi-35.scm, module/srfi/srfi-88.scm: Write `coding:'
comment at the top.
2010-01-11 01:21:13 +01:00
Ludovic Courtès
a2ca725212
Remove unused variables in ice-9/goops/srfi/scripts.
...
* module/ice-9/boot-9.scm (scm-style-repl)[-abort]: Remove.
* module/oop/goops.scm (class)[slot-defs]: Remove.
(compute-slot-accessors)[name]: Remove.
(compute-get-n-set)[env]: Remove.
* module/oop/goops/active-slot.scm (compute-get-n-set)[env, name]:
Remove.
* module/oop/goops/dispatch.scm (cache-try-hash!)[max-misses]: Remove.
* module/oop/goops/save.scm (make-mapper)[dims]: Remove.
* module/scripts/autofrisk.scm (>>checks)[prog]: Remove.
* module/srfi/srfi-19.scm (priv:read-directives)[ireaderf, eireader4]:
Remove.
2009-09-21 00:24:08 +02:00
Ludovic Courtès
54b38caf19
Add proper --help' and
--version' for `guile-tools compile'.
...
* configure.ac: Produce `meta/guile-tools'.
* meta/Makefile.am (EXTRA_DIST): Add `guile-tools.in'.
(bin_SCRIPTS): Remove `guile-tools'.
* meta/uninstalled-env.in (PATH): Add "${top_builddir}/meta".
* module/scripts/compile.scm (%options): Add `--version'.
(parse-args): Show the offending option name upon error.
(show-version): New.
(compile): Use `%guile-bug-report-address'.
2009-08-15 14:18:57 +02:00
Ludovic Courtès
2e4c3227ce
Add `(system base message)', a simple warning framework.
...
* module/Makefile.am (SOURCES): Add `system/base/message.scm'.
* module/scripts/compile.scm (%options): Add `--warn'.
(parse-args): Update default value for `warnings'.
(show-warning-help): New procedure.
(compile)[compile-opts]: Add `#:warnings'.
Update help message.
* module/system/base/compile.scm (compile): Sanity-check the requested
warnings.
* module/system/base/message.scm: New file.
2009-07-31 00:49:22 +02:00
Ludovic Courtès
8141fc3b46
Fix "guile-tools disassemble".
...
* module/scripts/disassemble.scm (disassemble): Accept a variable number
of arguments. Invoke the right `disassemble' procedure.
2009-06-19 21:54:51 +02:00
Neil Jerram
83ba2d3750
Complete changing license to LGPLv3+
...
(Still guile-readline to do, but that will all be GPLv3+.)
2009-06-17 22:30:26 +01:00
Andy Wingo
5e89cd13c0
disable autocompilation when running guile-tools compile
...
* module/scripts/compile.scm (compile): Disable autocompilation when
running guile-tools compile.
2009-06-05 11:47:34 +02:00
Andy Wingo
fb3807793f
scripts take rest args
...
* meta/guile-tools: Instead of fixing scripts I should have been fixing
the script runner.
* module/scripts/compile.scm:
* module/scripts/snarf-guile-m4-docs.scm: Fix to take rest args.
2009-04-20 18:20:01 +02:00
Andy Wingo
2b4b555b8f
fix build errors on fresh checkout
...
* meta/guile-tools: We can't use srfi-1, because on a fresh checkout
the srfi-1 shlib isn't built yet. Bummer.
* meta/uninstalled-env.in: Fix up the DYLD lines for BSDen.
* module/scripts/snart-guile-m4-docs.scm: Fix expected arguments.
2009-04-20 17:23:40 +02:00
Andy Wingo
6d66647d5b
guile-tools is a scheme script that loads scheme modules
...
* meta/guile-tools: Changed to be a scheme script. Instead of looking for
executables in a "scripts dir", we just look for modules in (scripts),
and load the modules directly.
* module/Makefile.am:
* module/scripts/: Move the scripts into module/ so they can be compiled.
Rename scripts from `foo' to `foo.scm'.
* libguile/Makefile.am: Invoke the snarf->texi code via guile-tools.
* configure.in:
* .gitignore: Update for changes.
2009-04-17 11:19:42 +02:00