diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2014-07-17 12:15:05 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2014-07-17 12:15:05 +0200 |
commit | b3eb25e82ae27e0bea990fbae342bd0d2070e1a6 (patch) | |
tree | eb53ad88f9a972bd0126576cff3aa40acf7bffcd /scripts | |
parent | bed6a8f91d263c155072adaa865416279b9d58b0 (diff) | |
download | context-b3eb25e82ae27e0bea990fbae342bd0d2070e1a6.tar.gz |
2014-07-17 11:21:00
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/context/lua/mtxrun.lua | 30 | ||||
-rw-r--r-- | scripts/context/stubs/mswin/mtxrun.lua | 30 | ||||
-rw-r--r-- | scripts/context/stubs/unix/mtxrun | 30 | ||||
-rw-r--r-- | scripts/context/stubs/win64/mtxrun.lua | 30 |
4 files changed, 56 insertions, 64 deletions
diff --git a/scripts/context/lua/mtxrun.lua b/scripts/context/lua/mtxrun.lua index fb3fdf5a9..33fb9acc3 100644 --- a/scripts/context/lua/mtxrun.lua +++ b/scripts/context/lua/mtxrun.lua @@ -14021,7 +14021,7 @@ do -- create closure to overcome 200 locals limit package.loaded["data-res"] = package.loaded["data-res"] or true --- original size: 61840, stripped down to: 43162 +-- original size: 62993, stripped down to: 43160 if not modules then modules={} end modules ['data-res']={ version=1.001, @@ -14609,13 +14609,6 @@ function resolvers.registerextrapath(paths,subpaths) end end local function made_list(instance,list,extra_too) - if not extra_too then - return list - end - local ep=instance.extra_paths - if not ep or #ep==0 then - return list - end local done,new,newn={},{},0 for k=1,#list do local v=list[k] @@ -14629,12 +14622,17 @@ local function made_list(instance,list,extra_too) end end end - for k=1,#ep do - local v=ep[k] - if not done[v] then - done[v]=true - newn=newn+1 - new[newn]=v + if extra_too then + local ep=instance.extra_paths + if ep and #ep>0 then + for k=1,#ep do + local v=ep[k] + if not done[v] then + done[v]=true + newn=newn+1 + new[newn]=v + end + end end end for k=1,#list do @@ -17271,8 +17269,8 @@ end -- of closure -- used libraries : l-lua.lua l-package.lua l-lpeg.lua l-function.lua l-string.lua l-table.lua l-io.lua l-number.lua l-set.lua l-os.lua l-file.lua l-gzip.lua l-md5.lua l-url.lua l-dir.lua l-boolean.lua l-unicode.lua l-math.lua util-str.lua util-tab.lua util-sto.lua util-prs.lua util-fmt.lua trac-set.lua trac-log.lua trac-inf.lua trac-pro.lua util-lua.lua util-deb.lua util-mrg.lua util-tpl.lua util-env.lua luat-env.lua lxml-tab.lua lxml-lpt.lua lxml-mis.lua lxml-aux.lua lxml-xml.lua trac-xml.lua data-ini.lua data-exp.lua data-env.lua data-tmp.lua data-met.lua data-res.lua data-pre.lua data-inp.lua data-out.lua data-fil.lua data-con.lua data-use.lua data-zip.lua data-tre.lua data-sch.lua data-lua.lua data-aux.lua data-tmf.lua data-lst.lua util-lib.lua luat-sta.lua luat-fmt.lua -- skipped libraries : - --- original bytes : 710661 --- stripped bytes : 252165 +-- original bytes : 711814 +-- stripped bytes : 253320 -- end library merge diff --git a/scripts/context/stubs/mswin/mtxrun.lua b/scripts/context/stubs/mswin/mtxrun.lua index fb3fdf5a9..33fb9acc3 100644 --- a/scripts/context/stubs/mswin/mtxrun.lua +++ b/scripts/context/stubs/mswin/mtxrun.lua @@ -14021,7 +14021,7 @@ do -- create closure to overcome 200 locals limit package.loaded["data-res"] = package.loaded["data-res"] or true --- original size: 61840, stripped down to: 43162 +-- original size: 62993, stripped down to: 43160 if not modules then modules={} end modules ['data-res']={ version=1.001, @@ -14609,13 +14609,6 @@ function resolvers.registerextrapath(paths,subpaths) end end local function made_list(instance,list,extra_too) - if not extra_too then - return list - end - local ep=instance.extra_paths - if not ep or #ep==0 then - return list - end local done,new,newn={},{},0 for k=1,#list do local v=list[k] @@ -14629,12 +14622,17 @@ local function made_list(instance,list,extra_too) end end end - for k=1,#ep do - local v=ep[k] - if not done[v] then - done[v]=true - newn=newn+1 - new[newn]=v + if extra_too then + local ep=instance.extra_paths + if ep and #ep>0 then + for k=1,#ep do + local v=ep[k] + if not done[v] then + done[v]=true + newn=newn+1 + new[newn]=v + end + end end end for k=1,#list do @@ -17271,8 +17269,8 @@ end -- of closure -- used libraries : l-lua.lua l-package.lua l-lpeg.lua l-function.lua l-string.lua l-table.lua l-io.lua l-number.lua l-set.lua l-os.lua l-file.lua l-gzip.lua l-md5.lua l-url.lua l-dir.lua l-boolean.lua l-unicode.lua l-math.lua util-str.lua util-tab.lua util-sto.lua util-prs.lua util-fmt.lua trac-set.lua trac-log.lua trac-inf.lua trac-pro.lua util-lua.lua util-deb.lua util-mrg.lua util-tpl.lua util-env.lua luat-env.lua lxml-tab.lua lxml-lpt.lua lxml-mis.lua lxml-aux.lua lxml-xml.lua trac-xml.lua data-ini.lua data-exp.lua data-env.lua data-tmp.lua data-met.lua data-res.lua data-pre.lua data-inp.lua data-out.lua data-fil.lua data-con.lua data-use.lua data-zip.lua data-tre.lua data-sch.lua data-lua.lua data-aux.lua data-tmf.lua data-lst.lua util-lib.lua luat-sta.lua luat-fmt.lua -- skipped libraries : - --- original bytes : 710661 --- stripped bytes : 252165 +-- original bytes : 711814 +-- stripped bytes : 253320 -- end library merge diff --git a/scripts/context/stubs/unix/mtxrun b/scripts/context/stubs/unix/mtxrun index fb3fdf5a9..33fb9acc3 100644 --- a/scripts/context/stubs/unix/mtxrun +++ b/scripts/context/stubs/unix/mtxrun @@ -14021,7 +14021,7 @@ do -- create closure to overcome 200 locals limit package.loaded["data-res"] = package.loaded["data-res"] or true --- original size: 61840, stripped down to: 43162 +-- original size: 62993, stripped down to: 43160 if not modules then modules={} end modules ['data-res']={ version=1.001, @@ -14609,13 +14609,6 @@ function resolvers.registerextrapath(paths,subpaths) end end local function made_list(instance,list,extra_too) - if not extra_too then - return list - end - local ep=instance.extra_paths - if not ep or #ep==0 then - return list - end local done,new,newn={},{},0 for k=1,#list do local v=list[k] @@ -14629,12 +14622,17 @@ local function made_list(instance,list,extra_too) end end end - for k=1,#ep do - local v=ep[k] - if not done[v] then - done[v]=true - newn=newn+1 - new[newn]=v + if extra_too then + local ep=instance.extra_paths + if ep and #ep>0 then + for k=1,#ep do + local v=ep[k] + if not done[v] then + done[v]=true + newn=newn+1 + new[newn]=v + end + end end end for k=1,#list do @@ -17271,8 +17269,8 @@ end -- of closure -- used libraries : l-lua.lua l-package.lua l-lpeg.lua l-function.lua l-string.lua l-table.lua l-io.lua l-number.lua l-set.lua l-os.lua l-file.lua l-gzip.lua l-md5.lua l-url.lua l-dir.lua l-boolean.lua l-unicode.lua l-math.lua util-str.lua util-tab.lua util-sto.lua util-prs.lua util-fmt.lua trac-set.lua trac-log.lua trac-inf.lua trac-pro.lua util-lua.lua util-deb.lua util-mrg.lua util-tpl.lua util-env.lua luat-env.lua lxml-tab.lua lxml-lpt.lua lxml-mis.lua lxml-aux.lua lxml-xml.lua trac-xml.lua data-ini.lua data-exp.lua data-env.lua data-tmp.lua data-met.lua data-res.lua data-pre.lua data-inp.lua data-out.lua data-fil.lua data-con.lua data-use.lua data-zip.lua data-tre.lua data-sch.lua data-lua.lua data-aux.lua data-tmf.lua data-lst.lua util-lib.lua luat-sta.lua luat-fmt.lua -- skipped libraries : - --- original bytes : 710661 --- stripped bytes : 252165 +-- original bytes : 711814 +-- stripped bytes : 253320 -- end library merge diff --git a/scripts/context/stubs/win64/mtxrun.lua b/scripts/context/stubs/win64/mtxrun.lua index fb3fdf5a9..33fb9acc3 100644 --- a/scripts/context/stubs/win64/mtxrun.lua +++ b/scripts/context/stubs/win64/mtxrun.lua @@ -14021,7 +14021,7 @@ do -- create closure to overcome 200 locals limit package.loaded["data-res"] = package.loaded["data-res"] or true --- original size: 61840, stripped down to: 43162 +-- original size: 62993, stripped down to: 43160 if not modules then modules={} end modules ['data-res']={ version=1.001, @@ -14609,13 +14609,6 @@ function resolvers.registerextrapath(paths,subpaths) end end local function made_list(instance,list,extra_too) - if not extra_too then - return list - end - local ep=instance.extra_paths - if not ep or #ep==0 then - return list - end local done,new,newn={},{},0 for k=1,#list do local v=list[k] @@ -14629,12 +14622,17 @@ local function made_list(instance,list,extra_too) end end end - for k=1,#ep do - local v=ep[k] - if not done[v] then - done[v]=true - newn=newn+1 - new[newn]=v + if extra_too then + local ep=instance.extra_paths + if ep and #ep>0 then + for k=1,#ep do + local v=ep[k] + if not done[v] then + done[v]=true + newn=newn+1 + new[newn]=v + end + end end end for k=1,#list do @@ -17271,8 +17269,8 @@ end -- of closure -- used libraries : l-lua.lua l-package.lua l-lpeg.lua l-function.lua l-string.lua l-table.lua l-io.lua l-number.lua l-set.lua l-os.lua l-file.lua l-gzip.lua l-md5.lua l-url.lua l-dir.lua l-boolean.lua l-unicode.lua l-math.lua util-str.lua util-tab.lua util-sto.lua util-prs.lua util-fmt.lua trac-set.lua trac-log.lua trac-inf.lua trac-pro.lua util-lua.lua util-deb.lua util-mrg.lua util-tpl.lua util-env.lua luat-env.lua lxml-tab.lua lxml-lpt.lua lxml-mis.lua lxml-aux.lua lxml-xml.lua trac-xml.lua data-ini.lua data-exp.lua data-env.lua data-tmp.lua data-met.lua data-res.lua data-pre.lua data-inp.lua data-out.lua data-fil.lua data-con.lua data-use.lua data-zip.lua data-tre.lua data-sch.lua data-lua.lua data-aux.lua data-tmf.lua data-lst.lua util-lib.lua luat-sta.lua luat-fmt.lua -- skipped libraries : - --- original bytes : 710661 --- stripped bytes : 252165 +-- original bytes : 711814 +-- stripped bytes : 253320 -- end library merge |