[Pkg-haskell-commits] darcs: haskell-shake: Initial commit

Colin Watson cjwatson at debian.org
Fri Jun 27 11:52:01 UTC 2014


Fri Jun 27 11:48:52 UTC 2014  Colin Watson <cjwatson at debian.org>
  * Initial commit

    A ./changelog
    A ./compat
    A ./control
    A ./copyright
    A ./libghc-shake-data.dirs
    A ./libghc-shake-data.linktrees
    A ./missing-sources/
    A ./patches/
    A ./patches/disable-viz.patch
    A ./patches/series
    A ./rules
    A ./shake.install
    A ./source/
    A ./source/format
    A ./source/lintian-overrides
    A ./watch

Fri Jun 27 11:48:52 UTC 2014  Colin Watson <cjwatson at debian.org>
  * Initial commit
diff -rN -u old-haskell-shake/changelog new-haskell-shake/changelog
--- old-haskell-shake/changelog	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-shake/changelog	2014-06-27 11:52:00.734117481 +0000
@@ -0,0 +1,5 @@
+haskell-shake (0.13.1-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #751785)
+
+ -- Colin Watson <cjwatson at debian.org>  Mon, 16 Jun 2014 17:13:37 +0100
diff -rN -u old-haskell-shake/compat new-haskell-shake/compat
--- old-haskell-shake/compat	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-shake/compat	2014-06-27 11:52:00.734117481 +0000
@@ -0,0 +1 @@
+9
diff -rN -u old-haskell-shake/control new-haskell-shake/control
--- old-haskell-shake/control	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-shake/control	2014-06-27 11:52:00.734117481 +0000
@@ -0,0 +1,110 @@
+Source: haskell-shake
+Section: haskell
+Priority: extra
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.org>
+Uploaders: Colin Watson <cjwatson at debian.org>
+Build-Depends: debhelper (>= 9)
+  , cdbs
+  , haskell-devscripts (>= 0.8.15)
+  , ghc
+  , ghc-prof
+  , libghc-hashable-dev (>= 1.1.2.3)
+  , libghc-hashable-prof
+  , libghc-random-dev
+  , libghc-random-prof
+  , libghc-transformers-dev (>= 0.2)
+  , libghc-transformers-prof
+  , libghc-unordered-containers-dev (>= 0.2.1)
+  , libghc-unordered-containers-prof
+  , libghc-utf8-string-dev (>= 0.3)
+  , libghc-utf8-string-prof
+  , libghc-quickcheck2-dev (>= 2.0)
+  , dh-linktree
+  , libjs-jquery
+  , libjs-jquery-flot
+Build-Depends-Indep: ghc-doc
+  , libghc-hashable-doc
+  , libghc-random-doc
+  , libghc-transformers-doc
+  , libghc-unordered-containers-doc
+  , libghc-utf8-string-doc
+Standards-Version: 3.9.5
+Homepage: http://hackage.haskell.org/package/shake
+Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-shake
+Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-shake
+X-Description: Haskell library for writing build systems
+ Shake is a Haskell library for writing build systems - designed as a
+ replacement for make.
+ .
+ To use Shake the user writes a Haskell program that imports
+ Development.Shake, defines some build rules, and calls the
+ Development.Shake.shakeArgs function. Thanks to do notation and infix
+ operators, a simple Shake build system is not too dissimilar from a simple
+ Makefile. However, as build systems get more complex, Shake is able to take
+ advantage of the excellent abstraction facilities offered by Haskell and
+ easily support much larger projects. The Shake library provides all the
+ standard features available in other build systems, including automatic
+ parallelism and minimal rebuilds. Shake also provides more accurate
+ dependency tracking, including seamless support for generated files, and
+ dependencies on system information (e.g. compiler version).
+
+Package: libghc-shake-dev
+Architecture: any
+Depends: ${haskell:Depends}
+  , ${shlibs:Depends}
+  , ${misc:Depends}
+  , libghc-shake-data (>= ${source:Version})
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Provides: ${haskell:Provides}
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}
+
+Package: libghc-shake-prof
+Architecture: any
+Depends: ${haskell:Depends}
+  , ${misc:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Provides: ${haskell:Provides}
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}
+
+Package: libghc-shake-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}, ${haskell:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}
+
+Package: libghc-shake-data
+Architecture: all
+Depends: ${haskell:Depends}
+  , ${misc:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Provides: ${haskell:Provides}
+Description: ${haskell:ShortDescription}; data files
+ ${haskell:LongDescription}
+ .
+ This package contains the data files needed to use the library.
+
+Package: shake
+Architecture: any
+Section: devel
+Depends: ${haskell:Depends}
+  , ${shlibs:Depends}
+  , ${misc:Depends}
+  , libghc-shake-data (>= ${source:Version})
+Description: ${haskell:ShortDescription}; main program
+ ${haskell:LongDescription}
+ .
+ This package contains the main "shake" command.
diff -rN -u old-haskell-shake/copyright new-haskell-shake/copyright
--- old-haskell-shake/copyright	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-shake/copyright	2014-06-27 11:52:00.734117481 +0000
@@ -0,0 +1,71 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: shake
+Upstream-Contact: Neil Mitchell <ndmitchell at gmail.com>
+Source: http://hackage.haskell.org/package/shake
+
+Files: *
+Copyright: 2011-2014 Neil Mitchell
+License: BSD-3-clause
+
+Files: js-src/jquery-*.js
+Copyright: 2012 jQuery Foundation and other contributors
+License: MIT
+
+Files: js-src/flot-*.zip
+Copyright: 2007-2013 IOLA and Ole Laursen
+License: MIT
+
+Files: debian/*
+Copyright: 2014 Colin Watson
+License: BSD-3-clause
+
+License: BSD-3-clause
+ All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+     * Redistributions of source code must retain the above copyright
+       notice, this list of conditions and the following disclaimer.
+ .
+     * Redistributions in binary form must reproduce the above
+       copyright notice, this list of conditions and the following
+       disclaimer in the documentation and/or other materials provided
+       with the distribution.
+ .
+     * Neither the name of Neil Mitchell nor the names of other
+       contributors may be used to endorse or promote products derived
+       from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License: MIT
+  Permission is hereby granted, free of charge, to any person obtaining
+  a copy of this software and associated documentation files (the
+  "Software"), to deal in the Software without restriction, including
+  without limitation the rights to use, copy, modify, merge, publish,
+  distribute, sublicense, and/or sell copies of the Software, and to
+  permit persons to whom the Software is furnished to do so, subject to
+  the following conditions:
+  .
+  The above copyright notice and this permission notice shall be
+  included in all copies or substantial portions of the Software.
+  .
+  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff -rN -u old-haskell-shake/libghc-shake-data.dirs new-haskell-shake/libghc-shake-data.dirs
--- old-haskell-shake/libghc-shake-data.dirs	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-shake/libghc-shake-data.dirs	2014-06-27 11:52:00.734117481 +0000
@@ -0,0 +1 @@
+usr/share
diff -rN -u old-haskell-shake/libghc-shake-data.linktrees new-haskell-shake/libghc-shake-data.linktrees
--- old-haskell-shake/libghc-shake-data.linktrees	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-shake/libghc-shake-data.linktrees	2014-06-27 11:52:00.738117473 +0000
@@ -0,0 +1,3 @@
+embed usr/share/javascript/jquery/jquery.js usr/share/shake/html/jquery.js
+embed usr/share/javascript/jquery-flot/jquery.flot.js usr/share/shake/html/jquery.flot.js
+embed usr/share/javascript/jquery-flot/jquery.flot.stack.js usr/share/shake/html/jquery.flot.stack.js
diff -rN -u old-haskell-shake/patches/disable-viz.patch new-haskell-shake/patches/disable-viz.patch
--- old-haskell-shake/patches/disable-viz.patch	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-shake/patches/disable-viz.patch	2014-06-27 11:52:00.762117417 +0000
@@ -0,0 +1,22 @@
+Description: Disable viz.js; it's hard to provide source for this
+ See:
+  https://github.com/ndmitchell/shake/issues/100
+  https://github.com/ndmitchell/shake/commit/3613e69219a4a2a6e9e8693c2be6ff7c00b10c24
+Author: Colin Watson <cjwatson at debian.org>
+Forwarded: not-needed
+Last-Update: 2014-06-24
+
+Index: b/html/viz.js
+===================================================================
+--- a/html/viz.js
++++ b/html/viz.js
+@@ -1,9 +1 @@
+-function Ub(nr){throw nr}var cc=void 0,wc=!0,xc=null,ee=!1;function bk(){return(function(){})}
+-
+-
+-
+-("undefined"!==typeof exports&&exports!==xc?exports:this).Viz=(function(nr,rQa){function ck(a,b){var i=16;if(b<a&&a<b+i){b+=i;for(a+=i;i--;){a--,b--,m[a]=m[b]}}else{tf(a,b,i)}}function YB(a){eval.call(xc,a)}function Yg(a){K.print(a+":\n"+Error().stack);Ub("Assertion: "+a)}function Ae(a,b){a||Yg("Assertion failed: "+b)}function ZB(a){try{var b=eval("_"+a)}catch(i){try{b=sQa.Module["_"+a]}catch(g){}}Ae(b,"Cannot call unknown function "+a+" (perhaps LLVM optimizations or closure removed it?)");return b}function $B(a,b,i,g){function q(a,b){if("string"==b){if(a===xc||a===cc||0===a){return 0}Xa||(Xa=Qa.ga());var x=Qa.fa(a.length+1);aC(a,x);return x}return"array"==b?(Xa||(Xa=Qa.ga()),x=Qa.fa(a.length),bC(a,x),x):a}var Xa=0,d=0,g=g?g.map((function(a){return q(a,i[d++])})):[];a=a.apply(xc,g);"string"==b?b=Oe(a):(Ae("array"!=b),b=a);Xa&&Qa.Aa(Xa);return b}function dk(x,r,i){i=i||"i8";"*"===i.charAt(i.length-1)&&(i="i32");switch(i){case"i1":m[x]=r;break;case"i8":m[x]=r;break;case"i16":D[x>>1]=r;break;case"i32":a[x>>2]=r;break;case"i64":ji=[r>>>0,Math.min(Math.floor(r/4294967296),4294967295)];a[x>>2]=ji[0];a[x+4>>2]=ji[1];break;case"float":ib[x>>2]=r;break;case"double":f[0]=r;a[x>>2]=b[0];a[x+4>>2]=b[1];break;default:Yg("invalid type for setValue: "+i)}}function ki(x,r){r=r||"i8";"*"===r.charAt(r.length-1)&&(r="i32");switch(r){case"i1":return m[x];case"i8":return m[x];case"i16":return D[x>>1];case"i32":return a[x>>2];case"i64":return a[x>>2];case"float":return ib[x>>2];case"double":return b[0]=a[x>>2],b[1]=a[x+4>>2],f[0];default:Yg("invalid type for setValue: "+r)}return xc}function d(a,b,i,g){var q,Xa;"number"===typeof a?(q=wc,Xa=a):(q=ee,Xa=a.length);var d="string"===typeof b?b:xc,i=i==cC?g:[Gb,Qa.fa,Qa.Ba][i===cc?c:i](Math.max(Xa,d?1:b.length));if(q){return li(i,Xa),i}for(q=0;q<Xa;){var f=a[q];"function"===typeof f&&(f=Qa.dd(f));g=d||b[q];0===g?q++:("i64"==g&&(g="i32"),dk(i+q,f,g),q+=Qa.Y(g))}return i}function Oe(a,b){for(var i=new Qa.Q,g="undefined"==typeof b,q="",Xa=0,d;;){d=Be[a+Xa];if(g&&0==d){break}q+=i.wa(d);Xa+=1;if(!g&&Xa==b){break}}return q}function qn(a){for(;0<a.length;){var b=a.shift(),i=b.U;"number"===typeof i&&(i=J[i]);i(b.Ja===cc?xc:b.Ja)}}function Ba(a){for(var b=a;m[b++];){}return b-a-1}function Nd(a,b,i){a=(new Qa.Q).ib(a);i&&(a.length=i);b||a.push(0);return a}function aC(a,b,i){a=Nd(a,i);for(i=0;i<a.length;){m[b+i]=a[i],i+=1}}function bC(a,b){for(var i=0;i<a.length;i++){m[b+i]=a[i]}}function or(a,b){return 0<=a?a:32>=b?2*Math.abs(1<<b-1)+a:Math.pow(2,b)+a}function dC(a,b){if(0>=a){return a}var i=32>=b?Math.abs(1<<b-1):Math.pow(2,b-1);if(a>=i&&(32>=b||a>i)){a=-2*i+a}return a}function pr(a){Zg++;K.monitorRunDependencies&&K.monitorRunDependencies(Zg);a?(Ae(!ek[a]),ek[a]=1,fk===xc&&"undefined"!==typeof setInterval&&(fk=setInterval((function(){var a=ee,b;for(b in ek){a||(a=wc,K.n("still waiting on run dependencies:")),K.n("dependency: "+b)}a&&K.n("(end of list)")}),6e3))):K.n("warning: run dependency added without ID")}function rn(a){Zg--;K.monitorRunDependencies&&K.monitorRunDependencies(Zg);a?(Ae(ek[a]),delete ek[a]):K.n("warning: run dependency removed without ID");0==Zg&&(fk!==xc&&(clearInterval(fk),fk=xc),eC||qr())}function td(a,b,i){for(var g=0;g<i;){var q=Be[a+g],Xa=Be[b+g];if(q==Xa&&0==q){break}if(0==q){return-1}if(0==Xa){return 1}if(q==Xa){g++}else{return q>Xa?1:-1}}return 0}function ka(a,b){return td(a,b,gk)}function Ve(a,b,i){for(var g=0;g<i;g++){var q=Be[a+g],Xa=Be[b+g];if(q!=Xa){return q>Xa?1:-1}}return 0}function tf(b,r,i){if(20<=i&&r%2==b%2){if(r%4==b%4){for(i=r+i;r%4;){m[b++]=m[r++]}for(var r=r>>2,b=b>>2,g=i>>2;r<g;){a[b++]=a[r++]}r<<=2;for(b<<=2;r<i;){m[b++]=m[r++]}}else{i=r+i;r%2&&(m[b++]=m[r++]);r>>=1;b>>=1;for(g=i>>1;r<g;){D[b++]=D[r++]}r<<=1;b<<=1;r<i&&(m[b++]=m[r++])}}else{for(;i--;){m[b++]=m[r++]}}}function Ea(b){Ea.c||(Ea.c=d([0],"i32",c));return a[Ea.c>>2]=b}function fC(a,b,i){var g=Q.a[a];if(g){if(g.q){if(0>i){return Ea(va.i),-1}if(g.object.d){if(g.object.l){for(var q=0;q<i;q++){try{g.object.l(m[b+q])}catch(Xa){return Ea(va.r),-1}}g.object.timestamp=Date.now();return q}Ea(va.ja);return-1}q=g.position;a=Q.a[a];if(!a||a.object.d){Ea(va.j),b=-1}else{if(a.q){if(a.object.e){Ea(va.N),b=-1}else{if(0>i||0>q){Ea(va.i),b=-1}else{for(var d=a.object.b;d.length<q;){d.push(0)}for(var c=0;c<i;c++){d[q+c]=Be[b+c]}a.object.timestamp=Date.now();b=c}}}else{Ea(va.h),b=-1}}-1!=b&&(g.position+=b);return b}Ea(va.h);return-1}Ea(va.j);return-1}function Lc(a,b,i,g){i*=b;if(0==i){return 0}a=fC(g,a,i);return-1==a?(Q.a[g]&&(Q.a[g].error=wc),0):Math.floor(a/b)}function gC(x,r){function i(x){var i;"double"===x?i=(b[0]=a[r+q>>2],b[1]=a[r+(q+4)>>2],f[0]):"i64"==x?i=[a[r+q>>2],a[r+(q+4)>>2]]:(x="i32",i=a[r+q>>2]);q+=Qa.W(x);return i}for(var g=x,q=0,Xa=[],d,c;;){var n=g;d=m[g];if(0===d){break}c=m[g+1];if(37==d){var z=ee,h=ee,e=ee,j=ee;a:for(;;){switch(c){case 43:z=wc;break;case 45:h=wc;break;case 35:e=wc;break;case 48:if(j){break a}else{j=wc;break};default:break a}g++;c=m[g+1]}var t=0;if(42==c){t=i("i32"),g++,c=m[g+1]}else{for(;48<=c&&57>=c;){t=10*t+(c-48),g++,c=m[g+1]}}var u=ee;if(46==c){var w=0,u=wc;g++;c=m[g+1];if(42==c){w=i("i32"),g++}else{for(;;){c=m[g+1];if(48>c||57<c){break}w=10*w+(c-48);g++}}c=m[g+1]}else{w=6}var A;switch(String.fromCharCode(c)){case"h":c=m[g+2];104==c?(g++,A=1):A=2;break;case"l":c=m[g+2];108==c?(g++,A=8):A=4;break;case"L":;case"q":;case"j":A=8;break;case"z":;case"t":;case"I":A=4;break;default:A=xc}A&&g++;c=m[g+1];if(-1!="diuoxXp".split("").indexOf(String.fromCharCode(c))){n=100==c||105==c;A=A||4;var B=d=i("i"+8*A),C;8==A&&(d=Qa.cb(d[0],d[1],117==c));4>=A&&(d=(n?dC:or)(d&Math.pow(256,A)-1,8*A));var P=Math.abs(d),n="";if(100==c||105==c){C=8==A&&hk?hk.stringify(B[0],B[1],xc):dC(d,8*A).toString(10)}else{if(117==c){C=8==A&&hk?hk.stringify(B[0],B[1],wc):or(d,8*A).toString(10),d=Math.abs(d)}else{if(111==c){C=(e?"0":"")+P.toString(8)}else{if(120==c||88==c){n=e?"0x":"";if(8==A&&hk){C=(B[1]>>>0).toString(16)+(B[0]>>>0).toString(16)}else{if(0>d){d=-d;C=(P-1).toString(16);B=[];for(e=0;e<C.length;e++){B.push((15-parseInt(C[e],16)).toString(16))}for(C=B.join("");C.length<2*A;){C="f"+C}}else{C=P.toString(16)}}88==c&&(n=n.toUpperCase(),C=C.toUpperCase())}else{112==c&&(0===P?C="(nil)":(n="0x",C=P.toString(16)))}}}}if(u){for(;C.length<w;){C="0"+C}}for(z&&(n=0>d?"-"+n:"+"+n);n.length+C.length<t;){h?C+=" ":j?C="0"+C:n=" "+n}C=n+C;C.split("").forEach((function(a){Xa.push(a.charCodeAt(0))}))}else{if(-1!="fFeEgG".split("").indexOf(String.fromCharCode(c))){d=i("double");if(isNaN(d)){C="nan",j=ee}else{if(isFinite(d)){u=ee;A=Math.min(w,20);if(103==c||71==c){u=wc,w=w||1,A=parseInt(d.toExponential(A).split("e")[1],10),w>A&&-4<=A?(c=(103==c?"f":"F").charCodeAt(0),w-=A+1):(c=(103==c?"e":"E").charCodeAt(0),w--),A=Math.min(w,20)}if(101==c||69==c){C=d.toExponential(A),/[eE][-+]\d$/.test(C)&&(C=C.slice(0,-1)+"0"+C.slice(-1))}else{if(102==c||70==c){C=d.toFixed(A)}}n=C.split("e");if(u&&!e){for(;1<n[0].length&&-1!=n[0].indexOf(".")&&("0"==n[0].slice(-1)||"."==n[0].slice(-1));){n[0]=n[0].slice(0,-1)}}else{for(e&&-1==C.indexOf(".")&&(n[0]+=".");w>A++;){n[0]+="0"}}C=n[0]+(1<n.length?"e"+n[1]:"");69==c&&(C=C.toUpperCase());z&&0<=d&&(C="+"+C)}else{C=(0>d?"-":"")+"inf",j=ee}}for(;C.length<t;){C=h?C+" ":j&&("-"==C[0]||"+"==C[0])?C[0]+"0"+C.slice(1):(j?"0":" ")+C}97>c&&(C=C.toUpperCase());C.split("").forEach((function(a){Xa.push(a.charCodeAt(0))}))}else{if(115==c){z=i("i8*")||tQa;j=Ba(z);u&&(j=Math.min(j,w));if(!h){for(;j<t--;){Xa.push(32)}}for(e=0;e<j;e++){Xa.push(Be[z++])}if(h){for(;j<t--;){Xa.push(32)}}}else{if(99==c){for(h&&Xa.push(i("i8"));0<--t;){Xa.push(32)}h||Xa.push(i("i8"))}else{if(110==c){h=i("i32*"),a[h>>2]=Xa.length}else{if(37==c){Xa.push(d)}else{for(e=n;e<g+2;e++){Xa.push(m[e])}}}}}}}g+=2}else{Xa.push(d),g+=1}}return Xa}function Va(a,b,i){i=gC(b,i);b=Qa.ga();a=Lc(d(i,"i8",$g),1,i.length,a);Qa.Aa(b);return a}function sa(a,b,i,g){Ub("Assertion failed: "+(g?Oe(g):"unknown condition")+", at: "+[a?Oe(a):"unknown filename",b,i?Oe(i):"unknown function"])}function Hb(a){var b=Ba(a),i=Gb(b+1);tf(i,a,b);m[i+b]=0;return i}function hC(a,b,i,g){for(var i=gC(i,g),g=b===cc?i.length:Math.min(i.length,Math.max(b-1,0)),q=0;q<g;q++){m[a+q]=i[q]}if(g<b||b===cc){m[a+q]=0}return i.length}function Ma(a,b,i){return hC(a,cc,b,i)}function mi(){mi.c||(mi.c=d([0],"i8",sn));return mi.c}function li(b,r){var i=0;if(20<=r){for(var g=b+r;b%4;){m[b++]=i}0>i&&(i+=256);for(var q=b>>2,c=g>>2,d=i|i<<8|i<<16|i<<24;q<c;){a[q++]=d}for(b=q<<2;b<g;){m[b++]=i}}else{for(;r--;){m[b++]=i}}}function He(x,r,i,g){He.whiteSpace||(He.whiteSpace={},He.whiteSpace[32]=1,He.whiteSpace[9]=1,He.whiteSpace[10]=1,He.whiteSpace[" "]=1,He.whiteSpace["\t"]=1,He.whiteSpace["\n"]=1);var x=Oe(x),q=0;if(0<=x.indexOf("%n")){var c=r,r=(function(){q++;return c()}),d=i,i=(function(){q--;return d()})}var k=0,n=0,z=0,h,k=0;a:for(;k<x.length;){if("%"===x[k]&&"n"==x[k+1]){var e=a[g+z>>2],z=z+Qa.W("void*");a[e>>2]=q;k+=2}else{for(;;){h=r();if(0==h){return n}if(!(h in He.whiteSpace)){break}}i();if("%"===x[k]){k++;for(var j=k;48<=x[k].charCodeAt(0)&&57>=x[k].charCodeAt(0);){k++}var t;k!=j&&(t=parseInt(x.slice(j,k),10));var u=j=ee,w=ee;"l"==x[k]?(j=wc,k++,"l"==x[k]&&(w=wc,k++)):"h"==x[k]&&(u=wc,k++);var A=x[k];k++;var B=0,e=[];if("f"==A){B=0;for(h=r();0<h;){e.push(String.fromCharCode(h)),/^[+-]?[0-9]*\.?[0-9]+([eE][+-]?[0-9]+)?$/.exec(e.join(""))&&(B=e.length),h=r()}for(h=0;h<e.length-B+1;h++){i()}e.length=B}else{h=r();for(var C=wc;(B<t||isNaN(t))&&0<h;){if(!(h in He.whiteSpace)&&("s"==A||("d"===A||"u"==A||"i"==A)&&(48<=h&&57>=h||C&&45==h)||"x"===A&&(48<=h&&57>=h||97<=h&&102>=h||65<=h&&70>=h))&&(k>=x.length||h!==x[k].charCodeAt(0))){e.push(String.fromCharCode(h)),h=r(),B++,C=ee}else{break}}i()}if(0===e.length){return 0}h=e.join("");e=a[g+z>>2];z+=Qa.W("void*");switch(A){case"d":;case"u":;case"i":u?D[e>>1]=parseInt(h,10):w?(ji=[parseInt(h,10)>>>0,Math.min(Math.floor(parseInt(h,10)/4294967296),4294967295)],a[e>>2]=ji[0],a[e+4>>2]=ji[1]):a[e>>2]=parseInt(h,10);break;case"x":a[e>>2]=parseInt(h,16);break;case"f":j?(f[0]=parseFloat(h),a[e>>2]=b[0],a[e+4>>2]=b[1]):ib[e>>2]=parseFloat(h);break;case"s":j=Nd(h);for(u=0;u<j.length;u++){m[e+u]=j[u]}}n++}else{if(x[k]in He.whiteSpace){for(h=r();h in He.whiteSpace;){if(0>=h){break a}h=r()}i(h)}else{if(h=r(),x[k].charCodeAt(0)!==h){i(h);break a}}k++}}}return [...incomplete...]



More information about the Pkg-haskell-commits mailing list