[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, wip-module-namespaces, created. releas
From: |
Andy Wingo |
Subject: |
[Guile-commits] GNU Guile branch, wip-module-namespaces, created. release_1-9-10-57-g89b4869 |
Date: |
Fri, 23 Apr 2010 14:30:30 +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".
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=89b486917fb33f825decdba4d73d5c0769474f0c
The branch, wip-module-namespaces has been created
at 89b486917fb33f825decdba4d73d5c0769474f0c (commit)
- Log -----------------------------------------------------------------
commit 89b486917fb33f825decdba4d73d5c0769474f0c
Author: Andy Wingo <address@hidden>
Date: Fri Apr 23 16:31:09 2010 +0200
add submodule binders
* module/ice-9/boot-9.scm (module-submodule-binder)
(set-module-submodule-binder!): New field on modules.
(make-module, make-autoload-interface): Adapt.
(module-ref-submodule): If we miss the submodules table, call the
submodules binder, if any.
* module/ice-9/deprecated.scm (module-ref-submodule): Check the
submodule binder before the deprecated look into the obarray.
commit a13a37f6ed8aff4a9ed0386cfb5ff096781296f0
Author: Andy Wingo <address@hidden>
Date: Fri Apr 23 16:13:06 2010 +0200
module-{ref,define}-submodule use the submodules table
* module/ice-9/boot-9.scm (module-ref-submodule)
(module-define-submodule!): Implement in terms of the
module-submodules table, instead of looking for bindings in the value
namespace.
* module/ice-9/deprecated.scm (module-ref-submodule):
(module-define-submodule!): Define deprecated versions of these that
duplicate the submodules table in the normal values namespace, for
back compatibility.
commit 5899d6bb0b37efbc0e92516c45ad9f60e7208d34
Author: Andy Wingo <address@hidden>
Date: Thu Apr 22 14:12:05 2010 +0200
add submodules field to modules
* module/ice-9/boot-9.scm (module-type, module-constructor): Add a field
to modules, a table that will hold submodules.
(make-module, make-autoload-interface): Adapt.
commit b13db7f91dc9a8dccf2cc90717803c74802bab71
Author: Andy Wingo <address@hidden>
Date: Fri Apr 23 16:08:01 2010 +0200
use nested-ref-module in (system xref)
* module/system/xref.scm (program-callee-rev-vars): Use
nested-ref-module instead of nested-ref.
commit 721ddf098ed7e6c917f29a5ffe61539a0d1cd96a
Author: Andy Wingo <address@hidden>
Date: Fri Apr 23 16:03:23 2010 +0200
nested module fixen to (ice-9 ls)
* module/ice-9/ls.scm (local-definitions-in, definitions-in): Use nested
module procedures, as appropriate.
(recursive-local-define): Fix attempt to treat null as false. Whoops..
commit 15579c640791037053ca2829606c19c4a1deeeff
Author: Andy Wingo <address@hidden>
Date: Fri Apr 23 15:58:08 2010 +0200
deprecated %app shims use module-define-submodule!
* module/ice-9/deprecated.scm (%app, app, modules): Don't use the module
interface to provide %app shims, use module-define-submodule! directly
to side-effect the root module.
commit 11dca132cd3eb806b31b9714ea9e8787cd356f00
Author: Andy Wingo <address@hidden>
Date: Fri Apr 23 15:55:32 2010 +0200
resolve-module uses -module variants
* module/ice-9/boot-9.scm (resolve-module): Use module-define-submodule!
when binding the root, and nested-ref-module for the hot lookup, which
is guaranteed to return a module or #f.
commit cd65928ffa3e6baf1a29815f25083257fd47bdac
Author: Andy Wingo <address@hidden>
Date: Fri Apr 23 15:44:31 2010 +0200
use the define-module variants in module-name and make-modules-in
* module/ice-9/boot-9.scm (module-name): Use module-define-submodule!
instead of nested-define!.
(make-modules-in): Rewrite in terms of nested-define-module!.
commit 6c92b30509e55e3508eb2352d0967010dd1be9fe
Author: Andy Wingo <address@hidden>
Date: Fri Apr 23 15:41:34 2010 +0200
nested-ref et al use module-ref-submodule; add -module nested variants
* module/ice-9/boot-9.scm: Update comments above nested-ref to include
ref-module and define-module!.
(nested-ref, nested-set!, nested-define!, nested-remove!): Use
module-ref-submodule to traverse the module hierarchy.
(nested-ref-module, nested-define-module!): New functions, like
nested-ref and nested-define!, but operate on namespaces instead of
values.
(local-ref-module, local-define-module): New analogs of local-ref and
local-define, but for namespaces.
commit 0f27ab8a9e10ccb014a0bfc7fcc984d8d1bf124b
Author: Andy Wingo <address@hidden>
Date: Fri Apr 23 15:37:36 2010 +0200
add module-ref-submodule, module-define-submodule!
* module/ice-9/boot-9.scm (module-ref-submodule):
(module-define-submodule!): New stubs, will be used to separate
traversing the module tree from accessing values.
commit 51b22dbb48b51303e0a2f8d3fa2b87e703736feb
Author: Andy Wingo <address@hidden>
Date: Fri Apr 23 15:34:22 2010 +0200
tweak to resolve-module
* module/ice-9/boot-9.scm (resolve-module): If we found a module but it
didn't have a public interface and we're not autoloading, just return
the module directly instead of dispatching to make-modules-in.
commit aa26a6d2b15f2a1315fffb2fec9ea7c8b4ef81f1
Author: Andy Wingo <address@hidden>
Date: Fri Apr 23 16:07:14 2010 +0200
fix (app modules) usage in (ice-9 session)
* module/ice-9/session.scm (root-modules): Fix '(app modules) usage.
-----------------------------------------------------------------------
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, wip-module-namespaces, created. release_1-9-10-57-g89b4869,
Andy Wingo <=