diff options
author | Hans Hagen <pragma@wxs.nl> | 2010-11-27 13:21:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2010-11-27 13:21:00 +0100 |
commit | 5166c0232c9d5cece4d2a6778ea782243fbb685d (patch) | |
tree | ed18dc9b7c2170a5a61d5e7ec651a3397ebbdc0d /scripts | |
parent | f720cb2398bd745d310315a99fea01e31d2c260e (diff) | |
download | context-5166c0232c9d5cece4d2a6778ea782243fbb685d.tar.gz |
beta 2010.11.27 13:21
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/context/lua/mtxrun.lua | 8 | ||||
-rw-r--r-- | scripts/context/stubs/mswin/mtxrun.lua | 8 | ||||
-rwxr-xr-x | scripts/context/stubs/unix/mtxrun | 8 |
3 files changed, 15 insertions, 9 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 diff --git a/scripts/context/stubs/mswin/mtxrun.lua b/scripts/context/stubs/mswin/mtxrun.lua index c41de7fb8..3be305bed 100644 --- a/scripts/context/stubs/mswin/mtxrun.lua +++ b/scripts/context/stubs/mswin/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 diff --git a/scripts/context/stubs/unix/mtxrun b/scripts/context/stubs/unix/mtxrun index c41de7fb8..3be305bed 100755 --- a/scripts/context/stubs/unix/mtxrun +++ b/scripts/context/stubs/unix/mtxrun @@ -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 |