summaryrefslogtreecommitdiff
path: root/scripts/context/lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2010-11-27 14:40:13 +0200
committerMarius <mariausol@gmail.com>2010-11-27 14:40:13 +0200
commit1e74733e95e8a624a8d6ed637087aa25480b61df (patch)
treee2950e135bb6d5da884e54e07bbfb1f9dad108f0 /scripts/context/lua
parentd558169e221a686ca4f6c0d7726cbd3d1b2c0529 (diff)
downloadcontext-1e74733e95e8a624a8d6ed637087aa25480b61df.tar.gz
beta 2010.11.27 13:21
Diffstat (limited to 'scripts/context/lua')
-rw-r--r--scripts/context/lua/mtxrun.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/context/lua/mtxrun.lua b/scripts/context/lua/mtxrun.lua
index c41de7fb8..3be305bed 100644
--- a/scripts/context/lua/mtxrun.lua
+++ b/scripts/context/lua/mtxrun.lua
@@ -10435,7 +10435,7 @@ function resolvers.methodhandler(what, filename, filetype) -- ...
if trace_locating then
report_resolvers("using special handler for '%s' -> '%s' -> '%s'",specification.original,what,table.sequenced(specification))
end
- return resolver[scheme](filename,filetype)
+ return resolver[scheme](filename,filetype,specification) -- todo: query
else
if trace_locating then
report_resolvers("no handler for '%s' -> '%s' -> '%s'",specification.original,what,table.sequenced(specification))
@@ -12041,7 +12041,7 @@ if not modules then modules = { } end modules ['data-out'] = {
license = "see context related readme files"
}
--- not used yet
+resolvers.savers = utilities.storage.allocate { }
@@ -12301,6 +12301,8 @@ if not modules then modules = { } end modules ['data-zip'] = {
license = "see context related readme files"
}
+-- to be redone using the more recent schemes mechanism
+
local format, find, match = string.format, string.find, string.match
local unpack = unpack or table.unpack
@@ -12436,7 +12438,7 @@ function openers.zip(specification)
if trace_locating then
report_resolvers("zip opener, file '%s' found",q.name)
end
- return openers.textopener(specification,dfile,'zip')
+ return openers.textopener('zip',specification,dfile)
elseif trace_locating then
report_resolvers("zip opener, file '%s' not found",q.name)
end