[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, master, created. release_1-9-4-6-gf95f

From: Andy Wingo
Subject: [Guile-commits] GNU Guile branch, master, created. release_1-9-4-6-gf95f82f
Date: Fri, 16 Oct 2009 13:45:09 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

The branch, master has been created
        at  f95f82f8e183f2744740bdc950dba9c856e09094 (commit)

- Log -----------------------------------------------------------------
commit f95f82f8e183f2744740bdc950dba9c856e09094
Author: Andy Wingo <address@hidden>
Date:   Fri Oct 16 15:27:10 2009 +0200

    compilation enviroments are always modules; simplifications & refactorings
    * module/ice-9/boot-9.scm (make-fresh-user-module): New public function,
      makes an anonymous beautified module.
    * module/language/objcode/spec.scm: We used to have some things in here
      that allowed lexical variable names and values to be a part of the
      environment, but no more. Now an environment is just a module. If you
      want to "inject" free variables into code, just use lambda.
    * module/language/scheme/compile-tree-il.scm (compile-tree-il): Same
      here. Also, rely on the fact that an environment *will* be a module --
      because (system base compile) guarantees that for us.
    * module/language/scheme/spec.scm (scheme): In the reader, rely on the
      environment being a module. Define a #:make-default-environment
      handler, which returns a beautified module, augmented with a fresh
      definition for current-reader, so that side effects to current-reader
      are restricted to the compilation unit.
    * module/language/tree-il/analyze.scm
    * module/language/tree-il/compile-glil.scm (compile-glil):
    * module/language/tree-il/optimize.scm (optimize!): The environment will
      be a module.
    * module/system/base/language.scm (<language>): New field,
      `make-default-environment'. Defaults to `make-fresh-user-module'.
      (default-environment): New accessor, returns a default environment for
      a language.
    * module/system/repl/common.scm (repl-compile): Always compile relative
      to the current module, because a module is always acceptable as an
    * module/system/base/compile.scm (compile-file, compile-and-load): Both
      of these have a new keyword argument, #:env. For `compile-file', it
      defaults to the default environment of the source language, and for
      `compile-and-load', to the current module.
      (read-and-compile): If there are no expressions read, pass the joiner
      its default environment (via `default-environment joint').

commit 40867c9776de71b0a822e15234711f5259df76aa
Author: Andy Wingo <address@hidden>
Date:   Fri Oct 16 14:04:42 2009 +0200

    no more *compilation-environment* fluid
    * module/system/base/compile.scm (current-compilation-environment):
      Remove, as the only thing that needed it (language readers) now get
      the environment as an argument.
      (read-and-compile, compile): Rework for no *compilation-environment*,
      and default the environment using the define* mechanism.
    * module/language/tree-il/analyze.scm (env-module): Hack around the lack
      of a current compilation module. Will fix this in the next commit so
      that the environment is always valid.

commit 4b2afc625816ee1f159cdecb8d1316d9958401f7
Author: Andy Wingo <address@hidden>
Date:   Fri Oct 16 13:39:24 2009 +0200

    language-readers receive environment as an arg
    * module/language/assembly/spec.scm:
    * module/language/brainfuck/spec.scm:
    * module/language/bytecode/spec.scm:
    * module/language/ecmascript/spec.scm:
    * module/language/glil/spec.scm:
    * module/language/scheme/spec.scm:
    * module/language/tree-il/spec.scm: Language-readers now take two
      arguments: the port and the environment. This should allow for
      compile-environment-specific reader behavior.
    * module/system/base/compile.scm (read-and-compile):
    * module/system/repl/common.scm (repl-read): Pass the environment to the
    * module/system/repl/repl.scm (meta-reader, prompting-meta-read):
    * module/system/repl/command.scm (define-meta-command): Use the second
      argument to repl-reader, so we avoid frobbing current-reader.

commit a58b7fbb7eb80bdbc0af9aee86a5ac12b9cfeef3
Author: Andy Wingo <address@hidden>
Date:   Fri Oct 16 13:30:52 2009 +0200

    repl-reader accepts optional "read" argument
    * module/ice-9/boot-9.scm (repl-reader): Accept an optional second
      argument, the reader to use. If it is given, use it instead of
      dereferencing the current-reader fluid.
    * guile-readline/ice-9/readline.scm (activate-readline): Make our
      replacement definition of repl-reader compatible with boot-9.

commit 27c8177fe424fcf65a2c1cf3245b13382a2d22d9
Author: Andy Wingo <address@hidden>
Date:   Fri Oct 16 12:19:43 2009 +0200

    remove GHIL, Elisp, and R5RS languages
    GHIL is obsolete, and it's about time we got rid of it. Elisp and R5RS
    were unmodified since their import from Guile-VM, so we ditch them too.
    R5RS compilation is supported via compiling Scheme within an R5RS
    Elisp will be supported when we merge in Daniel's work.

commit b0fae4ecaa9f602f3183c35eb945c8050e1f3b68
Author: Andy Wingo <address@hidden>
Date:   Fri Oct 16 11:59:30 2009 +0200

    bitvector tweaks
    * libguile/arrays.c (scm_from_contiguous_typed_array):
    * libguile/bytevectors.c (scm_uniform_array_to_bytevector): Error if the
      uniform element size is more than 8 bits, but not divisible by 8 --
      because our math could overflow in that case.
    * module/ice-9/deprecated.scm (#\y): Indeed, #* is the valid bitvector
      syntax :)

commit 96e15df109ccfdcc2f6b2cffc0b64a083f000903
Author: Ludovic Courtès <address@hidden>
Date:   Thu Oct 15 23:52:00 2009 +0200

    Improve TLS detection for systems with compiler support but no libc support.
      instead of `AC_COMPILE_IFELSE'.

commit d94dcf59c684c3cf52c148ebd3867b0e98b6faa0
Author: Ludovic Courtès <address@hidden>
Date:   Thu Oct 15 23:31:57 2009 +0200

    Bump version number for 1.9.4.

commit cd48c32cf4c1f627e9f9eeb8f7e077e0a414eab8
Author: Ludovic Courtès <address@hidden>
Date:   Thu Oct 15 23:29:50 2009 +0200

    Fix compilation of literal bitvectors.
    * libguile/arrays.c (scm_from_contiguous_typed_array): Fix BYTE_LEN
      sanity check for bitvectors.
    * test-suite/tests/unif.test ("syntax")["bitvector is self-evaluating"]:
      New test.
    * module/ice-9/deprecated.scm (#\y): Fix deprecation comment: `#*' is
      not a read syntax.

commit 29553c54b597880d329013c6b4b435e2949a9872
Author: Ludovic Courtès <address@hidden>
Date:   Thu Oct 15 23:24:19 2009 +0200

    Fix segfault for `(uniform-array->bytevector (bitvector))'.
    * libguile/bytevectors.c (scm_uniform_array_to_bytevector): Fix BYTE_LEN
      computation for bitvectors.
    * test-suite/tests/bytevectors.test ("uniform-array->bytevector"): New
      test prefix.

commit 0f3eacf74c634a3c40aa2f4abefe4d0e7d69f1bf
Author: Ludovic Courtès <address@hidden>
Date:   Thu Oct 15 21:55:54 2009 +0200

    Fix `gitlog-to-changelog' on NixOS.

commit 1ebe6a63686b341b55848b0dc0532e7b0d665c15
Author: Ludovic Courtès <address@hidden>
Date:   Thu Oct 15 21:29:42 2009 +0200

    Document the interaction of the "compilee" with the compiler's current 
    This is a followup to 87c595c757b7db84ffdcfda96f736ab235e674a8 ("Compile
    in a fresh module by default.") and
    f65e2b1ec5ae1962e57322ac3085ab4d44025694 ("Honor and confine
    expansion-time side-effects to `current-reader'.").
    * doc/ref/api-evaluation.texi (Loading): Explain how to change
      `current-reader' in a compiler-friendly way.
    * doc/ref/compiler.texi (The Scheme Compiler): Explain use of a fresh
      compilation module and separate `current-reader' fluid.
    * test-suite/tests/compiler.test ("current-reader")["with eval-when"]:
      New test.

commit 30e73c7698daa038a3fce2135781166d1edfa4e0
Author: Ludovic Courtès <address@hidden>
Date:   Thu Oct 15 20:51:16 2009 +0200

    Fix REPL environment for languages other than scheme.
    * module/system/repl/common.scm (repl-compile): Use `#:env #f' for
      languages other than scheme.

commit 3245c0fbefa2f119918e42cc1691fb9a41feb792
Author: Andy Wingo <address@hidden>
Date:   Thu Oct 15 17:39:34 2009 +0200

    signedness fix fix fix
    * libguile/inline.h: Fix signedness fix fix.

commit 1ab3976ef742f01c1e21c92d72277debcd88b2ee
Author: Andy Wingo <address@hidden>
Date:   Thu Oct 15 15:48:14 2009 +0200

    `load' autocompiles -- in the current module.
    * module/ice-9/boot-9.scm (load): Pull `autocompiled-file-name' inside
      `load', and make it autocompile in the current module. Should fix
      Julian's issue noted in

commit b0217d17046a013763d418f19043a1889fd81a2c
Author: Andy Wingo <address@hidden>
Date:   Thu Oct 15 15:45:03 2009 +0200

    update NEWS for 1.9.4

commit 6d7c440288a65b9eccc65d2b27261c0b3625d1e9
Author: Andy Wingo <address@hidden>
Date:   Thu Oct 15 15:44:45 2009 +0200

    fix scm_array_handle_ref signedness fix
    * libguile/inline.h: Fix signedness fix.

commit 10fab724492cac9e2aaf0ae456e84a85e01ada3d
Author: Andy Wingo <address@hidden>
Date:   Thu Oct 15 15:05:36 2009 +0200

    add back support for #y bitvector read syntax
    * module/ice-9/deprecated.scm (#\y): Add deprecated support for
      #y(1 0 1 ...) bitvectors.

commit e7acfa88bc26e7c22b1053e2c807cd4b737cfb63
Author: Ludovic Courtès <address@hidden>
Date:   Thu Oct 15 01:32:36 2009 +0200

    Use pointer-less memory for `scm_gc_strdup ()'.
    * libguile/gc-malloc.c (scm_gc_strndup): Use `GC_MALLOC_ATOMIC ()'
      instead of `GC_MALLOC ()'.

commit 31ab99de563027fe2bceb60bbd712407fcaf868e
Author: Ludovic Courtès <address@hidden>
Date:   Thu Oct 15 01:05:32 2009 +0200

    Restore signature of `scm_primitive_load_path ()' as found in 1.8.
    The incompatibility was introduced by
    0fb81f95b0222c5ba49efd3e36cf797df54c0863 ("add exception_on_error
    optional arg to primitive-load-path").
    * libguile/load.c (scm_primitive_load_path): Change to take 1 rest
      argument.  Interpret the argument as either a file name (C-level
      backward compatibility with 1.8) or an actual argument list.
      (scm_c_primitive_load_path): Update caller.
    * libguile/load.h (scm_primitive_load_path): Update accordingly.
    * doc/ref/api-evaluation.texi (Loading): Update documentation of
      `primitive-load-path' and `scm_primitive_load_path ()'.

commit 682d78d05e567a46b1c443c5f852c575ab529f5a
Author: Ludovic Courtès <address@hidden>
Date:   Thu Oct 15 00:56:56 2009 +0200

    Use GC-managed memory for port->encoding.
    * libguile/ports.c (scm_new_port_table_entry): Use `scm_gc_strdup ()'
      instead of `strdup ()' for `entry->encoding'.
      (scm_i_set_port_encoding_x): Likewise.  Remove free(3) call.
      (scm_i_remove_port): Don't explicitly free memory.
      (scm_unget_byte): Remove outdated and misleading comment.

commit c72b0ca3b076837a8a2b444fa7ab6d8c16b0b0c4
Author: Ludovic Courtès <address@hidden>
Date:   Wed Oct 14 23:20:54 2009 +0200

    Fix signed/unsigned mismatch in `scm_array_handle_{ref,set} ()'.
    * libguile/inline.h (scm_array_handle_ref, scm_array_handle_set): Cast
      `h->base' so that it matches the signedness of `p'.


GNU Guile

reply via email to

[Prev in Thread] Current Thread [Next in Thread]