summaryrefslogtreecommitdiff
path: root/Master/bin/x86_64-solaris
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-06-30 22:19:56 +0000
committerKarl Berry <karl@freefriends.org>2012-06-30 22:19:56 +0000
commiteb0b333d06585f3ea3e060b37c78969ea44fdc60 (patch)
treece79c492b33bf904e0301175fdbad4011a9a7989 /Master/bin/x86_64-solaris
parenta68c67d6b15c536eb701f6bf02ba0fec2740122a (diff)
x86 solaris
git-svn-id: svn://tug.org/texlive/trunk@26935 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/x86_64-solaris')
-rwxr-xr-xMaster/bin/x86_64-solaris/alephbin757952 -> 757952 bytes
-rwxr-xr-xMaster/bin/x86_64-solaris/asybin8536520 -> 8536520 bytes
-rwxr-xr-xMaster/bin/x86_64-solaris/bibtexubin14980528 -> 14980528 bytes
-rwxr-xr-xMaster/bin/x86_64-solaris/eptexbin724064 -> 724096 bytes
-rwxr-xr-xMaster/bin/x86_64-solaris/euptexbin734712 -> 734744 bytes
-rwxr-xr-xMaster/bin/x86_64-solaris/luatexbin7833992 -> 7833992 bytes
-rwxr-xr-xMaster/bin/x86_64-solaris/mfbin473328 -> 473328 bytes
-rwxr-xr-xMaster/bin/x86_64-solaris/mf-nowinbin467736 -> 467736 bytes
-rwxr-xr-xMaster/bin/x86_64-solaris/mtxrun97
-rwxr-xr-xMaster/bin/x86_64-solaris/pdftexbin2468480 -> 2468512 bytes
-rwxr-xr-xMaster/bin/x86_64-solaris/pdftosrcbin1029008 -> 1029008 bytes
-rwxr-xr-xMaster/bin/x86_64-solaris/ptexbin655520 -> 655552 bytes
-rwxr-xr-xMaster/bin/x86_64-solaris/texbin471784 -> 471784 bytes
-rwxr-xr-xMaster/bin/x86_64-solaris/uptexbin665720 -> 665752 bytes
-rwxr-xr-xMaster/bin/x86_64-solaris/xetexbin21314288 -> 21313016 bytes
15 files changed, 94 insertions, 3 deletions
diff --git a/Master/bin/x86_64-solaris/aleph b/Master/bin/x86_64-solaris/aleph
index 0935500197b..09ad36fe6a1 100755
--- a/Master/bin/x86_64-solaris/aleph
+++ b/Master/bin/x86_64-solaris/aleph
Binary files differ
diff --git a/Master/bin/x86_64-solaris/asy b/Master/bin/x86_64-solaris/asy
index 96393beaf34..e1262a5414c 100755
--- a/Master/bin/x86_64-solaris/asy
+++ b/Master/bin/x86_64-solaris/asy
Binary files differ
diff --git a/Master/bin/x86_64-solaris/bibtexu b/Master/bin/x86_64-solaris/bibtexu
index cd3c1985bac..35e04abd972 100755
--- a/Master/bin/x86_64-solaris/bibtexu
+++ b/Master/bin/x86_64-solaris/bibtexu
Binary files differ
diff --git a/Master/bin/x86_64-solaris/eptex b/Master/bin/x86_64-solaris/eptex
index 6d4ba8dc06c..6b810a590cd 100755
--- a/Master/bin/x86_64-solaris/eptex
+++ b/Master/bin/x86_64-solaris/eptex
Binary files differ
diff --git a/Master/bin/x86_64-solaris/euptex b/Master/bin/x86_64-solaris/euptex
index 206b6a92a88..4dd98e9892d 100755
--- a/Master/bin/x86_64-solaris/euptex
+++ b/Master/bin/x86_64-solaris/euptex
Binary files differ
diff --git a/Master/bin/x86_64-solaris/luatex b/Master/bin/x86_64-solaris/luatex
index baea132c4a9..a63a33f5fd4 100755
--- a/Master/bin/x86_64-solaris/luatex
+++ b/Master/bin/x86_64-solaris/luatex
Binary files differ
diff --git a/Master/bin/x86_64-solaris/mf b/Master/bin/x86_64-solaris/mf
index 28e4c67f674..572fab021ff 100755
--- a/Master/bin/x86_64-solaris/mf
+++ b/Master/bin/x86_64-solaris/mf
Binary files differ
diff --git a/Master/bin/x86_64-solaris/mf-nowin b/Master/bin/x86_64-solaris/mf-nowin
index a9ace269a08..da34b4445d8 100755
--- a/Master/bin/x86_64-solaris/mf-nowin
+++ b/Master/bin/x86_64-solaris/mf-nowin
Binary files differ
diff --git a/Master/bin/x86_64-solaris/mtxrun b/Master/bin/x86_64-solaris/mtxrun
index d2f7e408f0d..108f2a8a112 100755
--- a/Master/bin/x86_64-solaris/mtxrun
+++ b/Master/bin/x86_64-solaris/mtxrun
@@ -4087,8 +4087,10 @@ local one = P(1)
local two = C(1) * C(1)
local four = C(R(utfchar(0xD8),utfchar(0xFF))) * C(1) * C(1) * C(1)
+-- actually one of them is already utf ... sort of useless this one
+
local pattern = P("\254\255") * Cs( (
- four / function(a,b,c,d)
+ four / function(a,b,c,d)
local ab = 0xFF * byte(a) + byte(b)
local cd = 0xFF * byte(c) + byte(d)
return utfchar((ab-0xD800)*0x400 + (cd-0xDC00) + 0x10000)
@@ -4099,7 +4101,7 @@ local pattern = P("\254\255") * Cs( (
+ one
)^1 )
+ P("\255\254") * Cs( (
- four / function(b,a,d,c)
+ four / function(b,a,d,c)
local ab = 0xFF * byte(a) + byte(b)
local cd = 0xFF * byte(c) + byte(d)
return utfchar((ab-0xD800)*0x400 + (cd-0xDC00) + 0x10000)
@@ -4114,6 +4116,22 @@ function string.toutf(s)
return lpegmatch(pattern,s) or s -- todo: utf32
end
+local validatedutf = Cs (
+ (
+ patterns.utf8one
+ + patterns.utf8two
+ + patterns.utf8three
+ + patterns.utf8four
+ + P(1) / "�"
+ )^0
+)
+
+patterns.validatedutf = validatedutf
+
+function string.validutf(str)
+ return lpegmatch(validatedutf,str)
+end
+
end -- of closure
@@ -8174,6 +8192,34 @@ function xml.makestandalone(root)
return root
end
+function xml.kind(e)
+ local dt = e and e.dt
+ if dt then
+ local n = #dt
+ if n == 1 then
+ local d = dt[1]
+ if d.special then
+ local tg = d.tg
+ if tg == "@cd@" then
+ return "cdata"
+ elseif tg == "@cm" then
+ return "comment"
+ elseif tg == "@pi@" then
+ return "instruction"
+ elseif tg == "@dt@" then
+ return "declaration"
+ end
+ elseif type(d) == "string" then
+ return "text"
+ end
+ return "element"
+ elseif n > 0 then
+ return "mixed"
+ end
+ end
+ return "empty"
+end
+
end -- of closure
@@ -9601,7 +9647,7 @@ local xmlfilter = xml.filter
local type, setmetatable, getmetatable = type, setmetatable, getmetatable
local insert, remove, fastcopy, concat = table.insert, table.remove, table.fastcopy, table.concat
-local gmatch, gsub, format = string.gmatch, string.gsub, string.format
+local gmatch, gsub, format, find, strip = string.gmatch, string.gsub, string.format, string.find, string.strip
local utfbyte = utf.byte
local function report(what,pattern,c,e)
@@ -10293,6 +10339,51 @@ function xml.setcdata(e,str) -- also setcomment
} }
end
+-- maybe helpers like this will move to an autoloader
+
+function xml.separate(x,pattern)
+ local collected = xmlapplylpath(x,pattern)
+ if collected then
+ for c=1,#collected do
+ local e = collected[c]
+ local d = e.dt
+ if d == x then
+ report_xml("warning: xml.separate changes root")
+ x = d
+ end
+ local t, n = { "\n" }, 1
+ local i, nd = 1, #d
+ while i <= nd do
+ while i <= nd do
+ local di = d[i]
+ if type(di) == "string" then
+ if di == "\n" or find(di,"^%s+$") then -- first test is speedup
+ i = i + 1
+ else
+ d[i] = strip(di)
+ break
+ end
+ else
+ break
+ end
+ end
+ if i > nd then
+ break
+ end
+ t[n+1] = "\n"
+ t[n+2] = d[i]
+ t[n+3] = "\n"
+ n = n + 3
+ i = i + 1
+ end
+ t[n+1] = "\n"
+ setmetatable(t,getmetatable(d))
+ e.dt = t
+ end
+ end
+ return x
+end
+
end -- of closure
diff --git a/Master/bin/x86_64-solaris/pdftex b/Master/bin/x86_64-solaris/pdftex
index 5495f65c928..28bb6779964 100755
--- a/Master/bin/x86_64-solaris/pdftex
+++ b/Master/bin/x86_64-solaris/pdftex
Binary files differ
diff --git a/Master/bin/x86_64-solaris/pdftosrc b/Master/bin/x86_64-solaris/pdftosrc
index 675e644d406..2660d690667 100755
--- a/Master/bin/x86_64-solaris/pdftosrc
+++ b/Master/bin/x86_64-solaris/pdftosrc
Binary files differ
diff --git a/Master/bin/x86_64-solaris/ptex b/Master/bin/x86_64-solaris/ptex
index 2c5f480c8de..7be5d718d49 100755
--- a/Master/bin/x86_64-solaris/ptex
+++ b/Master/bin/x86_64-solaris/ptex
Binary files differ
diff --git a/Master/bin/x86_64-solaris/tex b/Master/bin/x86_64-solaris/tex
index e0f3a607cc8..5a969b7e4f9 100755
--- a/Master/bin/x86_64-solaris/tex
+++ b/Master/bin/x86_64-solaris/tex
Binary files differ
diff --git a/Master/bin/x86_64-solaris/uptex b/Master/bin/x86_64-solaris/uptex
index 61a2d2345ea..d3d7571bc51 100755
--- a/Master/bin/x86_64-solaris/uptex
+++ b/Master/bin/x86_64-solaris/uptex
Binary files differ
diff --git a/Master/bin/x86_64-solaris/xetex b/Master/bin/x86_64-solaris/xetex
index ce785f79ff7..01edd4f4e6c 100755
--- a/Master/bin/x86_64-solaris/xetex
+++ b/Master/bin/x86_64-solaris/xetex
Binary files differ