[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-60-g4e48b49 |
Date: |
Sat, 24 Apr 2010 15:45:02 +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=4e48b4950ecaa10265de6709bf87597a818cf44d
The branch, wip-module-namespaces has been created
at 4e48b4950ecaa10265de6709bf87597a818cf44d (commit)
- Log -----------------------------------------------------------------
commit 4e48b4950ecaa10265de6709bf87597a818cf44d
Author: Andy Wingo <address@hidden>
Date: Fri Apr 23 17:16:56 2010 +0200
module-public-interface is a field in the module record
* module/ice-9/boot-9.scm (module-public-interface)
(set-module-public-interface!): Instead of using
'%module-public-interface, use a field in the module instead.
(make-module, make-autoload-interface): Adapt.
* module/ice-9/deprecated.scm (module-public-interface):
(set-module-public-interface!): Add shims so that manually munging
%module-public-interface should continue to work.
commit 69928c8a3240d8d2417434c18839e098de9f93d8
Author: Andy Wingo <address@hidden>
Date: Fri Apr 23 17:22:00 2010 +0200
fix some uses of %module-public-interface
* module/ice-9/r5rs.scm:
* module/ice-9/safe-r5rs.scm:
* module/oop/goops/save.scm:
* module/oop/goops/simple.scm:
* module/oop/goops/stklos.scm: Fix some uses of
%module-public-interface.
commit 993dae8623e0fe6195000afb81902ea466bd2dc4
Author: Andy Wingo <address@hidden>
Date: Fri Apr 23 17:03:34 2010 +0200
module-public-interface in Scheme
* libguile/modules.c: Consolidate all variables to the top of the file.
(scm_module_public_interface): Dispatch to Scheme.
(scm_post_boot_init_modules): Resolve module-public-interface.
* module/ice-9/boot-9.scm (module-public-interface): Implement in
Scheme.
commit 81fc66cfb665814d9cfd766b3c19be90ae1b13ec
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 f6a5308b03f30872a1973a6d40116a636fa52b11
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 f905381d317d0e3edbcea55cdd05e29ba9e5cb20
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 9b023f3c63f51ded3216de11c7f6126f02bacd8f
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 28b8c785e7fbdc53045b32a896f4a730b29e050b
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 635a8b36b1dbed877fb8df752600870e9e1ee625
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 d58ccc669cf796b8b9c579e86f3072f0f4223adf
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 9e0bfdbaa39ff87e002ec5bbf7183de4ce8f6b61
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 b910c4ac4ec8c66d1c6495ae958fd76641a32e53
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-60-g4e48b49,
Andy Wingo <=