| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
The open-file port should use the binary-friendly ISO-8859-1 encoding when
a file is opened using mode "b". Also, it should honor a "coding:"
declaration at the top of a file when reading files where it is present.
* libguile/fports.c (scm_open_file): modified
* test-suite/tests/ports.test: more tests for open-file
* doc/ref/api-io.texi (File Ports): more documentation for open-file
|
|
|
|
| |
* libguile/rdelim.c (scm_read_line): modified, use port's encoding
|
|
|
|
|
|
|
| |
Note especially that the variable 'i' has two different uses in this
function, and they get confused.
* libguile/read.c (scm_i_scan_for_encoding): cleanup
|
| |
|
| |
|
|
|
|
|
| |
* module/system/vm/debug.scm (frame->module): In which our author
misunderstands git's index.
|
|
|
|
|
|
| |
* module/system/vm/debug.scm (frame->module): Actually bind frame-local
variables to values in the new anonymous module. Setting settable vars
should work too :)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* module/system/repl/common.scm (*repl-level*): New public fluid.
(repl-prompt): If *repl-level* is a positive integer, add it to the
prompt.
* module/system/repl/repl.scm (start-repl): The `lang' argument is now
optional, and defaults to (current-language). New kwargs level and
welcome; level defaults to 0, or 1+ the existing level, and the
welcome is a boolean, true if level is 0. Parameterize *repl-level*
during the dynamic extent of this repl. Also, parameterize
the-last-stack to #f for the duration of this repl.
* module/system/vm/debug.scm (frame->module, debugger-repl): Stubs of a
recursive repl implementation. The idea is to be a repl in the lexical
context of the error; but it would be nice to be able to operate in
the module of the proc too, for example to export bindings. Hmm.
|
|
|
|
|
|
| |
* module/system/base/compile.scm:
* module/system/base/language.scm (*current-language*, current-language):
Move this fluid and thunk down to (system base language).
|
|
|
|
|
| |
* module/ice-9/boot-9.scm (top-repl): More concisely drill down to
start-repl.
|
|
|
|
|
|
|
|
| |
* doc/ref/tour.texi (Reporting Bugs): Update instructions for generating
a backtrace.
* doc/ref/scheme-using.texi: Update examples of Guile prompts, and add
an explanation of the prompt format.
|
|
|
|
| |
* NEWS: Fix wordings.
|
|
|
|
|
|
|
|
| |
* module/rnrs/bytevectors.scm:
* module/rnrs/io/ports.scm: Add #:version (6) to these modules.
* module/6/rnrs.scm: Add versions to the import specs for bytevectors
and ports.
|
|
|
|
|
|
| |
* guile-readline/readline.c (scm_init_readline): Space is a
word-breaking char too. Fixes tab-completion for args; thanks to Jao
for the patch!
|
|
|
|
|
|
|
|
|
|
|
| |
* module/ice-9/psyntax.scm (define-expansion-accessors): New helper, to
define accesors for a particular expansion data structure. Use it
later to define lambda?, lambda-meta, and set-lambda-meta!.
(maybe-name-value): Update to work with the newly defined accessors.
(build-global-reference, build-let, build-named-let, build-letrec):
Re-enable naming of procedures.
* module/ice-9/psyntax-pp.scm: Regenerated.
|
|
|
|
|
|
|
| |
* cfg.mk (git-version-gen-tag-sed-script): Remove trailing dash in
regexp.
* configure.ac: Likewise in the second argument to `AC_INIT'.
|
|
|
|
| |
* GUILE-VERSION (GUILE_MICRO_VERSION): Increment.
|
|
|
|
| |
* doc/ref/sxml-match.texi (sxml-match): Quote `@' in the examples.
|
|
|
|
| |
* libguile/debug.c (scm_sym_procname, scm_sym_dots): Remove.
|
|
|
|
| |
* NEWS: Finalize.
|
|
|
|
|
| |
* doc/ref/api-procedures.texi (Compiled Procedures): Remove docs for
removed procedures.
|
|
|
|
| |
* NEWS: More updates.
|
|
|
|
| |
* NEWS: Some updates.
|
|
|
|
|
|
|
|
|
|
| |
* doc/ref/r6rs.texi (R6RS Support): Skeleton of docs on our R6RS
support.
* doc/ref/guile.texi:
* doc/ref/Makefile.am: Add r6rs.texi.
* doc/ref/intro.texi: Add a link to r6rs.texi.
|
|
|
|
| |
* module/Makefile.am (RNRS_SOURCES): Fix for (rnrs bytevectors) rename.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* module/rnrs/bytevectors.scm: Rename to (rnrs bytevectors), from (rnrs
bytevector), to match the name from the R6RS.
* benchmark-suite/benchmarks/bytevectors.bm:
* doc/ref/api-data.texi:
* doc/ref/api-foreign.texi:
* libguile/bytevectors.c:
* module/6/rnrs.scm:
* module/language/assembly.scm:
* module/language/assembly/compile-bytecode.scm:
* module/language/assembly/decompile-bytecode.scm:
* module/language/glil/compile-assembly.scm:
* module/language/tree-il/primitives.scm:
* module/srfi/srfi-4.scm:
* module/srfi/srfi-4/gnu.scm:
* module/system/foreign.scm:
* test-suite/standalone/test-ffi:
* test-suite/tests/asm-to-bytecode.test:
* test-suite/tests/bytevectors.test:
* test-suite/tests/foreign.test:
* test-suite/tests/r6rs-ports.test: Update all referrers.
|
|
|
|
| |
* NEWS: More updates.
|
|
|
|
|
| |
* libguile/vm-i-scheme.c (VM_VALIDATE_BYTEVECTOR): Enclose in "do { }
while (0)".
|
|
|
|
|
|
|
|
|
|
| |
* libguile/vm-i-scheme.c (ALIGNED_P): New macro.
(BV_FIXABLE_INT_REF, BV_INT_REF, BV_FLOAT_REF, BV_FIXABLE_INT_SET,
BV_INT_SET, BV_FLOAT_SET): Check the alignment of the pointer instead
of checking "i % size == 0". This fixes bus errors on
`sparc64-linux-gnu'.
* libguile/vm.c: Include <alignof.h>.
|
|
|
|
|
|
|
|
| |
* doc/ref/fdl.texi: Upgrade to GFDLv1.3.
* doc/ref/guile.texi: Change copying notice to "Version 1.3 or any later
version".
(GNU Free Documentation License): New node, formerly in `fdl.texi'.
|
| |
|
|
|
|
|
|
| |
* test-suite/standalone/test-ffi (failed?): New variable.
(test): Set `failed?' to #t upon error and display an error message.
Have the exit code depend on FAILED?.
|
|
|
|
|
|
|
|
| |
* libguile/foreign.c (scm_i_foreign_call): Fix the computation of
ARG_SIZE wrt. alignment. Arrange so that the address ARGS[i] is
aligned, rather than checking whether OFF is aligned. Have the RVALUE
be at least word-aligned, which fixes calls to `char'-returning
functions on `armv5tel-*-linux-gnueabi'.
|
|
|
|
|
|
|
|
|
|
| |
* libguile/_scm.h (ROUND_UP): New macro.
* libguile/continuations.c (ROUND_UP): Remove.
* libguile/control.c (ROUND_UP): Remove.
* libguile/foreign.c (ROUND_UP): Remove.
|
|
|
|
|
|
| |
* test-suite/tests/version.test ("version reporting works"): Test
whether `(version)' contains MAJOR.MINOR.MICRO, rather than being
equal to it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* GUILE-VERSION (GUILE_VERSION): Remove.
* Makefile.am (dist-hook): Depend on `gen-tarball-version'.
(BUILT_SOURCES): New variable.
($(top_srcdir)/.version, gen-tarball-version): New targets.
* cfg.mk (git-version-gen-tag-sed-script): New variable.
* configure.ac: Use `build-aux/git-version-gen' to generate the VERSION
argument of `AC_INIT'. Initialize Automake without `check-news'.
Define $GUILE_VERSION as an alias for $PACKAGE_VERSION.
|
|
|
|
| |
* m4/gnulib-cache.m4: Add `git-version-gen'.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* libguile/fports.c (scm_i_terminating): Remove declaration.
(fport_flush): Remove code conditional of `scm_i_terminating'.
* libguile/gc.c (scm_i_terminating): Remove.
|
|
|
|
|
|
|
|
|
|
|
| |
* libguile/gc.h (scm_i_gc): Make internal.
* libguile/posix.h (scm_i_locale_mutex): Likewise.
* libguile/arrays.h (scm_i_tc16_array): Likewise.
* libguile/numbers.c (scm_i_num_less_p): Likewise.
* libguile/discouraged.h (scm_i_init_discouraged): Likewise.
* libguile/continuations.c (scm_i_dummy): Made static.
* libguile/gc.c (scm_i_cell_validation_already_running): Likewise.
* libguile/discouraged.h (scm_i_init_discouraged): Likewise.
|
|
|
|
| |
* configure.ac: Quote the first argument to `AC_DEFINE_UNQUOTED'.
|
|
|
|
|
|
|
| |
* doc/ref/posix.texi (File System): Change "filesystem" to "file
system".
* libguile/posix.c (scm_utime): Ditto.
|
|
|
|
|
|
|
|
| |
* libguile/__scm.h (SCM_MALLOC): New macro.
* libguile/gc.h (scm_malloc, scm_calloc, scm_strdup, scm_strndup,
scm_gc_malloc_pointerless, scm_gc_calloc, scm_gc_malloc,
scm_gc_strdup, scm_gc_strndup): Mark as `SCM_MALLOC'.
|
|
|
|
|
|
|
| |
* libguile/_scm.h: Check whether `HAVE_STAT64' is defined instead of
checking its value.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
|
|
|
|
|
| |
* configure.ac: Run the `pthread_attr_getstack' test only when building
natively.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
|
|
|
|
| |
* acinclude.m4 (GUILE_READLINE): Look for pdcurses as found on MinGW.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
|
|
|
|
|
|
| |
* libguile/_scm.h (struct scm_aligned_cell)[__GNUC__]: New type.
(union scm_aligned_cell)[!__GNUC__]: New type.
(scm_t_aligned_cell): New type.
* libguile/vm.c (vm_dispatch_hook): Use it.
|
|
|
|
|
|
|
| |
* module/ice-9/r6rs-libraries.scm (library): Unwrap the `for' sub-form
during export resolution the same way that `import' does.
* test-suite/tests/rnrs-libraries.test ("implicit phasing"): New test
prefix and tests.
|
| |
|