drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tshi...@apache.org
Subject [1/5] drill git commit: Website sources in gh-pages branch
Date Sat, 29 Nov 2014 00:37:59 GMT
Repository: drill
Updated Branches:
  refs/heads/gh-pages [created] 9fe817ad5


http://git-wip-us.apache.org/repos/asf/drill/blob/aa11ae38/js/lib/jquery.easing.1.3.js
----------------------------------------------------------------------
diff --git a/js/lib/jquery.easing.1.3.js b/js/lib/jquery.easing.1.3.js
new file mode 100755
index 0000000..ef74321
--- /dev/null
+++ b/js/lib/jquery.easing.1.3.js
@@ -0,0 +1,205 @@
+/*
+ * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
+ *
+ * Uses the built in easing capabilities added In jQuery 1.1
+ * to offer multiple easing options
+ *
+ * TERMS OF USE - jQuery Easing
+ * 
+ * Open source under the BSD License. 
+ * 
+ * Copyright © 2008 George McGinley Smith
+ * 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 the author nor the names of 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. 
+ *
+*/
+
+// t: current time, b: begInnIng value, c: change In value, d: duration
+jQuery.easing['jswing'] = jQuery.easing['swing'];
+
+jQuery.extend( jQuery.easing,
+{
+	def: 'easeOutQuad',
+	swing: function (x, t, b, c, d) {
+		//alert(jQuery.easing.default);
+		return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
+	},
+	easeInQuad: function (x, t, b, c, d) {
+		return c*(t/=d)*t + b;
+	},
+	easeOutQuad: function (x, t, b, c, d) {
+		return -c *(t/=d)*(t-2) + b;
+	},
+	easeInOutQuad: function (x, t, b, c, d) {
+		if ((t/=d/2) < 1) return c/2*t*t + b;
+		return -c/2 * ((--t)*(t-2) - 1) + b;
+	},
+	easeInCubic: function (x, t, b, c, d) {
+		return c*(t/=d)*t*t + b;
+	},
+	easeOutCubic: function (x, t, b, c, d) {
+		return c*((t=t/d-1)*t*t + 1) + b;
+	},
+	easeInOutCubic: function (x, t, b, c, d) {
+		if ((t/=d/2) < 1) return c/2*t*t*t + b;
+		return c/2*((t-=2)*t*t + 2) + b;
+	},
+	easeInQuart: function (x, t, b, c, d) {
+		return c*(t/=d)*t*t*t + b;
+	},
+	easeOutQuart: function (x, t, b, c, d) {
+		return -c * ((t=t/d-1)*t*t*t - 1) + b;
+	},
+	easeInOutQuart: function (x, t, b, c, d) {
+		if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
+		return -c/2 * ((t-=2)*t*t*t - 2) + b;
+	},
+	easeInQuint: function (x, t, b, c, d) {
+		return c*(t/=d)*t*t*t*t + b;
+	},
+	easeOutQuint: function (x, t, b, c, d) {
+		return c*((t=t/d-1)*t*t*t*t + 1) + b;
+	},
+	easeInOutQuint: function (x, t, b, c, d) {
+		if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
+		return c/2*((t-=2)*t*t*t*t + 2) + b;
+	},
+	easeInSine: function (x, t, b, c, d) {
+		return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
+	},
+	easeOutSine: function (x, t, b, c, d) {
+		return c * Math.sin(t/d * (Math.PI/2)) + b;
+	},
+	easeInOutSine: function (x, t, b, c, d) {
+		return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
+	},
+	easeInExpo: function (x, t, b, c, d) {
+		return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
+	},
+	easeOutExpo: function (x, t, b, c, d) {
+		return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
+	},
+	easeInOutExpo: function (x, t, b, c, d) {
+		if (t==0) return b;
+		if (t==d) return b+c;
+		if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
+		return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
+	},
+	easeInCirc: function (x, t, b, c, d) {
+		return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
+	},
+	easeOutCirc: function (x, t, b, c, d) {
+		return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
+	},
+	easeInOutCirc: function (x, t, b, c, d) {
+		if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
+		return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
+	},
+	easeInElastic: function (x, t, b, c, d) {
+		var s=1.70158;var p=0;var a=c;
+		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
+		if (a < Math.abs(c)) { a=c; var s=p/4; }
+		else var s = p/(2*Math.PI) * Math.asin (c/a);
+		return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
+	},
+	easeOutElastic: function (x, t, b, c, d) {
+		var s=1.70158;var p=0;var a=c;
+		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
+		if (a < Math.abs(c)) { a=c; var s=p/4; }
+		else var s = p/(2*Math.PI) * Math.asin (c/a);
+		return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
+	},
+	easeInOutElastic: function (x, t, b, c, d) {
+		var s=1.70158;var p=0;var a=c;
+		if (t==0) return b;  if ((t/=d/2)==2) return b+c;  if (!p) p=d*(.3*1.5);
+		if (a < Math.abs(c)) { a=c; var s=p/4; }
+		else var s = p/(2*Math.PI) * Math.asin (c/a);
+		if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p ))
+ b;
+		return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
+	},
+	easeInBack: function (x, t, b, c, d, s) {
+		if (s == undefined) s = 1.70158;
+		return c*(t/=d)*t*((s+1)*t - s) + b;
+	},
+	easeOutBack: function (x, t, b, c, d, s) {
+		if (s == undefined) s = 1.70158;
+		return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
+	},
+	easeInOutBack: function (x, t, b, c, d, s) {
+		if (s == undefined) s = 1.70158; 
+		if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
+		return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
+	},
+	easeInBounce: function (x, t, b, c, d) {
+		return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
+	},
+	easeOutBounce: function (x, t, b, c, d) {
+		if ((t/=d) < (1/2.75)) {
+			return c*(7.5625*t*t) + b;
+		} else if (t < (2/2.75)) {
+			return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
+		} else if (t < (2.5/2.75)) {
+			return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
+		} else {
+			return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
+		}
+	},
+	easeInOutBounce: function (x, t, b, c, d) {
+		if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
+		return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
+	}
+});
+
+/*
+ *
+ * TERMS OF USE - EASING EQUATIONS
+ * 
+ * Open source under the BSD License. 
+ * 
+ * Copyright © 2001 Robert Penner
+ * 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 the author nor the names of 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. 
+ *
+ */
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/drill/blob/aa11ae38/js/modernizr.custom.js
----------------------------------------------------------------------
diff --git a/js/modernizr.custom.js b/js/modernizr.custom.js
new file mode 100755
index 0000000..8c3d405
--- /dev/null
+++ b/js/modernizr.custom.js
@@ -0,0 +1,4 @@
+/* Modernizr 2.7.1 (Custom Build) | MIT & BSD
+ * Build: http://modernizr.com/download/#-csstransforms3d-csstransitions-shiv-cssclasses-prefixed-teststyles-testprop-testallprops-prefixes-domprefixes-load
+ */
+;window.Modernizr=function(a,b,c){function z(a){j.cssText=a}function A(a,b){return z(m.join(a+";")+(b||""))}function
B(a,b){return typeof a===b}function C(a,b){return!!~(""+a).indexOf(b)}function D(a,b){for(var
d in a){var e=a[d];if(!C(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function E(a,b,d){for(var
e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:B(f,"function")?f.bind(d||b):f}return!1}function
F(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+o.join(d+" ")+d).split(" ");return
B(b,"string")||B(b,"undefined")?D(e,b):(e=(a+" "+p.join(d+" ")+d).split(" "),E(e,b,c))}var
d="2.7.1",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m="
-webkit- -moz- -o- -ms- ".split(" "),n="Webkit Moz O ms",o=n.split(" "),p=n.toLowerCase().split("
"),q={},r={},s={},t=[],u=t.slice,v,w=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d
 +1),l.appendChild(j);return f=["&#173;",'<style id="s',h,'">',a,"</style>"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},x={}.hasOwnProperty,y;!B(x,"undefined")&&!B(x.call,"undefined")?y=function(a,b){return
x.call(a,b)}:y=function(a,b){return b in a&&B(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var
c=this;if(typeof c!="function")throw new TypeError;var d=u.call(arguments,1),e=function(){if(this
instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(u.call(arguments)));return
Object(g)===g?g:f}return c.apply(b,d.concat(u.call(arguments)))};return e}),q.csstransforms3d=function(){var
a=!!F("perspective");return a&&"webkitPerspective"in g.style&&w("@media (transform-3d),(-webkit
 -transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},q.csstransitions=function(){return
F("transition")};for(var G in q)y(q,G)&&(v=G.toLowerCase(),e[v]=q[G](),t.push((e[v]?"":"no-")+v));return
e.addTest=function(a,b){if(typeof a=="object")for(var d in a)y(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return
e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return
e},z(""),i=k=null,function(a,b){function l(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return
c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function
m(){var a=s.elements;return typeof a=="string"?a.split(" "):a}function n(a){var b=j[a[h]];return
b||(b={},i++,a[h]=i,j[i]=b),b}function o(a,c,d){c||(c=b);if(k)return c.createElement(a);d||(d=n(c));var
g;return d.cache[a]?g=d.cache[a].cloneNode():f.test(a)?g=(d.cache[a]=d.cr
 eateElem(a)).cloneNode():g=d.createElem(a),g.canHaveChildren&&!e.test(a)&&!g.tagUrn?d.frag.appendChild(g):g}function
p(a,c){a||(a=b);if(k)return a.createDocumentFragment();c=c||n(a);var d=c.frag.cloneNode(),e=0,f=m(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return
d}function q(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return
s.shivMethods?o(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var
n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){return
b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(s,b.frag)}function r(a){a||(a=b);var
c=n(a);return s.shivCSS&&!g&&!c.hasCSS&&(c.hasCSS=!!l(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),k||q(a,c),a}var
c="3.7.0",d=a.html5||{},e=/^<|
 ^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,f=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,g,h="_html5shiv",i=0,j={},k;(function(){try{var
a=b.createElement("a");a.innerHTML="<xyz></xyz>",g="hidden"in a,k=a.childNodes.length==1||function(){b.createElement("a");var
a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof
a.createElement=="undefined"}()}catch(c){g=!0,k=!0}})();var s={elements:d.elements||"abbr
article aside audio bdi canvas data datalist details dialog figcaption figure footer header
hgroup main mark meter nav output progress section summary template time video",version:c,shivCSS:d.shivCSS!==!1,supportsUnknownElements:k,shivMethods:d.shivMethods!==!1,type:"default",shivDocument:r,createElement:o,createDocumentFragment:p};a.html5=s,r(b)}(this,b),e._version=d,e._prefixes=m,e._domPrefixes=p,e._cssomPrefixes=o,e.testProp=fun
 ction(a){return D([a])},e.testAllProps=F,e.testStyles=w,e.prefixed=function(a,b,c){return
b?F(a,b,c):F(a,"pfx")},g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js
"+t.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function
e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function
h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function
i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var
d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.spl
 ice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function
j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function
k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in
l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object
Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object
Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function
b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return
c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").s
 hift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function
h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else
if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return
b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return
function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var
h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var
i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.len
 gth;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var
k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var
e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j
in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepn
 ope.apply(window,[].slice.call(arguments,0))};
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/drill/blob/aa11ae38/js/script.js
----------------------------------------------------------------------
diff --git a/js/script.js b/js/script.js
new file mode 100755
index 0000000..8b95879
--- /dev/null
+++ b/js/script.js
@@ -0,0 +1,152 @@
+// JavaScript Document
+
+
+
+var reelPointer = null;
+$(document).ready(function(e) {
+	
+	$("a.anchor").css({ display: "inline" });
+	if (location.hash) {
+		var hash = location.hash.replace("#","");
+		var aOffset = $('a[name='+hash+']').offset();
+		$('html, body').animate({
+           'scrollTop': aOffset.top
+        }, 500);
+	}
+	/*
+	$("a[href~='#']").not("a[href^='http']").click(function(e) {
+		e.preventDefault();
+		var hash = $(this).attr("href").replace("#","");
+		var aOffset = $('a[name='+hash+']').offset();
+		$('html, body').animate({
+           'scrollTop': aOffset.top - 60
+        }, 500);	
+	});
+	*/
+	$(".aLeft").click(function() {
+		moveReel("prev");
+	});
+	$(".aRight").click(function() {
+		moveReel("next");
+	});
+	
+	if ($("#header .scroller .item").length == 1) {
+		
+	} else {
+		
+		$("#header .dots, .aLeft, .aRight").css({ display: 'block' });
+		$("#header .scroller .item").each(function(i) {
+			$("#header .dots").append("<div class='dot'></div>");
+			$("#header .dots .dot").eq(i).click(function() {
+				var index = $(this).prevAll(".dot").length;
+				moveReel(index);
+			});
+		});
+		
+		reelPointer = setTimeout(function() { moveReel(1); },5000);
+	}
+	
+	$("#menu ul li").each(function(index, element) {
+        if ($(this).find("ul").length) {
+			$(this).addClass("parent");	
+		}
+    });
+	
+	$("#menu ul li.parent").mouseenter(function() {
+		closeSearch();
+	});
+	
+	$("#header .dots .dot:eq(0)").addClass("sel");
+	
+	$("#menu ul li.l").click(function() {
+		if ($(this).hasClass("open")) {
+			//devo chiudere	
+			closeSearch();
+		} else {
+			//devo aprire
+			$("#search").css({ display: "block", paddingTop: "0px", paddingBottom: "0px", marginTop:"-40px"
}).animate({ paddingTop: "30px", paddingBottom: "30px", marginTop: "0px" },400,"easeOutQuint");
+			$("#search input").trigger("focus").select();
+			$(this).addClass("open");
+		}
+	});
+	
+	$("#search input").val("").keypress(function(e) {
+		if(e.keyCode == 13 && $(this).val()) {
+			document.location.href = "https://www.google.com/webhp?ie=UTF-8#q="+$(this).val()+"%20site%3Aincubator.apache.org%2Fdrill%20OR%20site%3Aissues.apache.org%2Fjira%2Fbrowse%2FDRILL%20OR%20site%3Amail-archives.apache.org%2Fmod_mbox%2Fincubator-drill-dev";
+		}
+	});	
+    
+	resized();
+	
+	$(window).scroll(onScroll);
+});
+
+function closeSearch() {
+	var R = ($("#menu ul li.l.open").length) ? true : false;
+	$("#menu ul li.l").removeClass("open");
+	$("#search").stop(false,true,false).animate({ paddingTop: "0px", paddingBottom: "0px", marginTop:
"-40px" },400,"easeInQuint",function() {
+		$(this).css({ display: "none" });	
+	});
+	return R;
+}
+
+var reel_currentIndex = 0;
+function resized() {
+	
+	var WW = parseInt($(window).width(),10);
+	var IW = (WW < 999) ? 999 : WW;
+	var IH = parseInt($("#header .scroller .item").css("height"),10);
+	var IN = $("#header .scroller .item").length;
+	
+	$("#header .scroller").css({ width: (IN * IW)+"px", marginLeft: -(reel_currentIndex * IW)+"px"
});
+	$("#header .scroller .item").css({ width: IW+"px" });
+	
+	
+	$("#header .scroller .item").each(function(i) {
+		var th = parseInt($(this).find(".tc").height(),10);
+		var d = IH - th + 25;
+		$(this).find(".tc").css({ top: Math.round(d/2)+"px" });
+	});
+	
+	if (WW < 999) $("#menu, #search").addClass("r");
+	else $("#menu, #search").removeClass("r");
+	
+	onScroll();
+		
+}
+
+function moveReel(direction) {
+	
+	if (reelPointer) clearTimeout(reelPointer);
+	
+	var IN = $("#header .scroller .item").length;
+	var IW = $("#header .scroller .item").width();
+	if (direction == "next") reel_currentIndex++;
+	else if (direction == "prev") reel_currentIndex--;
+	else reel_currentIndex = direction;
+	
+	if (reel_currentIndex >= IN) reel_currentIndex = 0;
+	if (reel_currentIndex < 0) reel_currentIndex = IN-1;
+	
+	$("#header .dots .dot").removeClass("sel");
+	$("#header .dots .dot").eq(reel_currentIndex).addClass("sel");
+		
+	$("#header .scroller").stop(false,true,false).animate({ marginLeft: -(reel_currentIndex
* IW)+"px" }, 1000, "easeOutQuart");
+	
+	reelPointer = setTimeout(function() { moveReel(1); },5000);
+	
+}
+
+function onScroll() {
+	var ST = document.body.scrollTop || document.documentElement.scrollTop;
+	if ($("#menu.r").length) {
+		$("#menu.r").css({ top: ST+"px" });	
+		$("#search.r").css({ top: (ST+50)+"px" });	
+	} else {
+		$("#menu").css({ top: "0px" });
+		$("#search").css({ top: "50px" });
+	}
+	
+	if (ST > 400) $("#subhead").addClass("show");	
+	else $("#subhead").removeClass("show");	
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/drill/blob/aa11ae38/overview.html
----------------------------------------------------------------------
diff --git a/overview.html b/overview.html
new file mode 100755
index 0000000..535869d
--- /dev/null
+++ b/overview.html
@@ -0,0 +1,31 @@
+---
+layout: page
+title: Overview
+---
+            <h2>Complete Drill Documentation</h2>
+						<p><a href="https://cwiki.apache.org/confluence/display/DRILL/Apache+Drill+Wiki"
target="_blank">Click here</a></p>
+
+            <h2>Quick Links</h2>
+						<p><a href="https://cwiki.apache.org/confluence/display/DRILL/Apache+Drill+in+10+Minutes"
target="_blank">Drill in 10 minutes</a></p>
+						<p><a href="https://cwiki.apache.org/confluence/display/DRILL/Connecting+to+Data+Sources#ConnectingtoDataSources-QueryingaFileSystem"
target="_blank">Query Files</a> | 
+	<a href="https://cwiki.apache.org/confluence/display/DRILL/Connecting+to+Data+Sources#ConnectingtoDataSources-QueryingHBaseTables"
target="_blank">Query HBase</a> | <a href="https://cwiki.apache.org/confluence/display/DRILL/Connecting+to+Data+Sources#ConnectingtoDataSources-QueryingHiveTables"
target="_blank">Query Hive</a></p>
+	<p><a href="https://cwiki.apache.org/confluence/display/DRILL/SQL+Overview" target="_blank">SQL
Support</a></p>
+	<p><a href="https://cwiki.apache.org/confluence/display/DRILL/Apache+Drill+Tutorial"
target="_blank">Drill Tutorials</a></p>
+           					
+					<h2>Videos</h2><br>
+					<table>
+					<tr>
+						<td style="text-align:center"><iframe width="373" height="210" src="https://www.youtube.com/embed/HITzj3ihSUk"
frameborder="0" allowfullscreen></iframe><p>Introduction to Apache Drill</p></td>
+						<td style="text-align:center"><iframe width="373" height="210" src="https://www.youtube.com/embed/FkcegazNuio"
frameborder="0" allowfullscreen></iframe><p>Tableau + Drill</p></td>
+					</tr>
+					<tr>
+						<td style="text-align:center"><iframe width="373" height="210" src="https://www.youtube.com/embed/kG6vzsk8T7E"
frameborder="0" allowfullscreen></iframe>
+						<p>Drill Configuration Options</p></td>
+						<td style="text-align:center"><iframe width="373" height="210" src="https://www.youtube.com/embed/XUIKlsX8yVM"
frameborder="0" allowfullscreen></iframe><p>Self-Service SQL exploration on
MongoDB</p></td>
+            		</tr>
+					<tr>
+						<td style="text-align:center"><iframe width="373" height="210" src="https://www.youtube.com/embed/uyN9DDCNP8o"
frameborder="0" allowfullscreen></iframe><p>MicroStrategy + Drill</p></td>
+						<td style="text-align:center"></td>
+					</tr>
+</table>
+</div>

http://git-wip-us.apache.org/repos/asf/drill/blob/aa11ae38/static/sql-on-mongodb/empinfo.json
----------------------------------------------------------------------
diff --git a/static/sql-on-mongodb/empinfo.json b/static/sql-on-mongodb/empinfo.json
new file mode 100644
index 0000000..2ef7039
--- /dev/null
+++ b/static/sql-on-mongodb/empinfo.json
@@ -0,0 +1,18 @@
+{"employee_id":1101,"full_name":"Steve Eurich","first_name":"Steve","last_name":"Eurich","position_id":16,"position":"Store
T","isFTE":true}
+{"employee_id":1102,"full_name":"Mary Pierson","first_name":"Mary","last_name":"Pierson","position_id":16,"position":"Store
T","isFTE":true}
+{"employee_id":1103,"full_name":"Leo Jones","first_name":"Leo","last_name":"Jones","position_id":16,"position":"Store
Tem","isFTE":true}
+{"employee_id":1104,"full_name":"Nancy Beatty","first_name":"Nancy","last_name":"Beatty","position_id":16,"position":"Store
T","isFTE":false}
+{"employee_id":1105,"full_name":"Clara McNight","first_name":"Clara","last_name":"McNight","position_id":16,"position":"Store","isFTE":true}
+{"employee_id":1106,"full_name":"Marcella Isaacs","first_name":"Marcella","last_name":"Isaacs","position_id":17,"position":"Stor","isFTE":false}
+{"employee_id":1107,"full_name":"Charlotte Yonce","first_name":"Charlotte","last_name":"Yonce","position_id":17,"position":"Stor","isFTE":true}
+{"employee_id":1108,"full_name":"Benjamin Foster","first_name":"Benjamin","last_name":"Foster","position_id":17,"position":"Stor","isFTE":false}
+{"employee_id":1109,"full_name":"John Reed","first_name":"John","last_name":"Reed","position_id":17,"position":"Store
Per","isFTE":false}
+{"employee_id":1110,"full_name":"Lynn Kwiatkowski","first_name":"Lynn","last_name":"Kwiatkowski","position_id":17,"position":"St","isFTE":true}
+{"employee_id":1111,"full_name":"Donald Vann","first_name":"Donald","last_name":"Vann","position_id":17,"position":"Store
Per","isFTE":false}
+{"employee_id":1112,"full_name":"William Smith","first_name":"William","last_name":"Smith","position_id":17,"position":"St","isFTE":true}
+{"employee_id":1113,"full_name":"Amy Hensley","first_name":"Amy","last_name":"Hensley","position_id":17,"position":"Store
Pe","isFTE":false}
+{"employee_id":1114,"full_name":"Judy Owens","first_name":"Judy","last_name":"Owens","position_id":17,"position":"Store
Per","isFTE":true}
+{"employee_id":1115,"full_name":"Frederick Castillo","first_name":"Frederick","last_name":"Castillo","position_id":17,"position":"S","isFTE":false}
+{"employee_id":1116,"full_name":"Phil Munoz","first_name":"Phil","last_name":"Munoz","position_id":17,"position":"Store
Per","isFTE":false}
+{"employee_id":1117,"full_name":"Lori Lightfoot","first_name":"Lori","last_name":"Lightfoot","position_id":17,"position":"Store","isFTE":true}
+{"employee_id":1,"full_name":"Kumar","first_name":"Anil","last_name":"B","position_id":19,"position":"Store","isFTE":true}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/drill/blob/aa11ae38/static/sql-on-mongodb/replicated.png
----------------------------------------------------------------------
diff --git a/static/sql-on-mongodb/replicated.png b/static/sql-on-mongodb/replicated.png
new file mode 100644
index 0000000..bbd3a1e
Binary files /dev/null and b/static/sql-on-mongodb/replicated.png differ

http://git-wip-us.apache.org/repos/asf/drill/blob/aa11ae38/static/sql-on-mongodb/sharded.png
----------------------------------------------------------------------
diff --git a/static/sql-on-mongodb/sharded.png b/static/sql-on-mongodb/sharded.png
new file mode 100644
index 0000000..80716e3
Binary files /dev/null and b/static/sql-on-mongodb/sharded.png differ

http://git-wip-us.apache.org/repos/asf/drill/blob/aa11ae38/static/sql-on-mongodb/standalone.png
----------------------------------------------------------------------
diff --git a/static/sql-on-mongodb/standalone.png b/static/sql-on-mongodb/standalone.png
new file mode 100644
index 0000000..753c323
Binary files /dev/null and b/static/sql-on-mongodb/standalone.png differ

http://git-wip-us.apache.org/repos/asf/drill/blob/aa11ae38/team.html
----------------------------------------------------------------------
diff --git a/team.html b/team.html
new file mode 100755
index 0000000..9eb6cc5
--- /dev/null
+++ b/team.html
@@ -0,0 +1,30 @@
+---
+layout: page
+title: Team
+---
+
+            	<p>
+            	Apache Drill developer community now has a growing set of committers and over
40 contributors from different companies and universities.  
+            	Prominent Drill contributions today come from MapR Technologies, LinkedIn, Hortonworks,
University of Wisconsin Madison, Pentaho and Cisco. <br><br>
+            	<a href="https://cwiki.apache.org/confluence/display/DRILL/Apache+Drill+Contribution+Guidelines?from=iZHHAg">Click
here</a> if you are interested in contributing to the development of Drill. 
+            	</p>
+            	<p><strong>Current list of Drill committers:</strong></p>
+						<p>
+<strong>Jacques Nadeau</strong>&nbsp;&nbsp;&nbsp;&nbsp;&lt;jacques
at apache dot org&gt;&nbsp;&nbsp;&nbsp;&nbsp;(PMC Chair and VP Apache
Drill)
+<br><strong>Tomer Shiran</strong>&nbsp;&nbsp;&nbsp;&nbsp;&lt;tshiran
at apache dot org&gt;
+<br><strong>Ted Dunning</strong>&nbsp;&nbsp;&nbsp;&nbsp;&lt;tdunning
at apache dot org&gt;
+<br><strong>Jason Frantz</strong>&nbsp;&nbsp;&nbsp;&nbsp;&lt;jason
at apache dot org&gt;
+<br><strong>MC Srivas</strong>&nbsp;&nbsp;&nbsp;&nbsp;&lt;srivas
at apache dot org&gt;
+<br><strong>Keys Botzum</strong>&nbsp;&nbsp;&nbsp;&nbsp;&lt;kbotzum
at apache dot org&gt;
+<br><strong>Julian Hyde</strong>&nbsp;&nbsp;&nbsp;&nbsp;&lt;jhyde
at apache dot org&gt;
+<br><strong>Tim Chen</strong>&nbsp;&nbsp;&nbsp;&nbsp;&lt;tnachen
at apache dot org&gt;
+<br><strong>Mehant Baid</strong>&nbsp;&nbsp;&nbsp;&nbsp;&lt;mehant
at apache dot org&gt;
+<br><strong>Jinfeng Ni</strong>&nbsp;&nbsp;&nbsp;&nbsp;&lt;jni
at apache dot org&gt;
+<br><strong>Venki Korukanti</strong>&nbsp;&nbsp;&nbsp;&nbsp;&lt;venki
at apache dot org&gt;
+<br><strong>Jason Altekruse</strong>&nbsp;&nbsp;&nbsp;&nbsp;&lt;json
at apache dot org&gt;
+<br><strong>Aditya Kishore</strong>&nbsp;&nbsp;&nbsp;&nbsp;&lt;adi
at apache dot org&gt;
+<br><strong>Parth Chandra</strong>&nbsp;&nbsp;&nbsp;&nbsp;&lt;parthc
at apache dot org&gt;
+<br><strong>Aman Sinha</strong>&nbsp;&nbsp;&nbsp;&nbsp;&lt;amansinha
at apache dot org&gt;
+<br><strong>Steven Phillips</strong>&nbsp;&nbsp;&nbsp;&nbsp;&lt;smp
at apache dot org&gt;
+						</p>
+

http://git-wip-us.apache.org/repos/asf/drill/blob/aa11ae38/why.html
----------------------------------------------------------------------
diff --git a/why.html b/why.html
new file mode 100755
index 0000000..654c755
--- /dev/null
+++ b/why.html
@@ -0,0 +1,78 @@
+---
+layout: page
+title: Why Drill
+description: Top 10 Reasons to Use Drill
+---
+<h2>1. Get started in minutes</h2>
+<p>It only takes a couple minutes to start working with Drill. Untar it on your Mac
or Windows laptop and run a query on a local file. No need to set up any infrastructure. No
need to define schemas. Just point at the data and drill!</p>
+{% highlight bash %}
+$ tar -xvf apache-drill-0.6.0-incubating.tar.gz
+$ apache-drill-0.6.0-incubating/bin/sqlline -u jdbc:drill:zk=local
+0: jdbc:drill:zk=local> SELECT * FROM dfs.root.`path/to/employee.json` limit 5;
++-------------+------------------+------------+------------+-------------+----------------------+------------+---------------+-----
+| employee_id | full_name        | first_name | last_name  | position_id | position_title
      |  store_id  | department_id | birt 
++-------------+------------------+------------+------------+-------------+----------------------+------------+---------------+------+
+| 1           | Sheri Nowmer     | Sheri      | Nowmer     | 1           | President    
       | 0          | 1             | 19   
+| 2           | Derrick Whelply  | Derrick    | Whelply    | 2           | VP Country Manager
  | 0          | 1             |
+| 4           | Michael Spence   | Michael    | Spence     | 2           | VP Country Manager
  | 0          | 1             |
+| 5           | Maya Gutierrez   | Maya       | Gutierrez  | 2           | VP Country Manager
  | 0          | 1             |
+| 6           | Roberta Damstra  | Roberta    | Damstra    | 3           | VP Information
Systems | 0        | 2             |
++-------------+------------------+------------+------------+-------------+----------------------+------------+---------------+-----
+{% endhighlight %}
+<h2>2. Schema-free JSON model</h2>
+<p>Drill is the world's first and only distributed SQL engine that doesn't require
schemas. It shares the same schema-free JSON model as MongoDB and Elasticsearch. Instead of
spending weeks or months defining schemas, transforming data (ETL) and maintaining those schemas,
simply point Drill at your data (file, directory, HBase table, etc.) and run your queries.
Drill automatically understands the structure of the data. Drill's self-service approach reduces
the burden on IT and increases the productivity and agility of analysts and developers.</p>
+
+<h2>3. Query complex, semi-structured data in-situ</h2><p>Drill's schema-free
JSON model allows you to query complex, semi-structured data in situ. No need to flatten or
transform the data prior to or during query execution. Drill also provides intuitive extensions
to SQL to work with nested data. Here's a simple query on a JSON file demonstrating how to
access nested elements and arrays:</p>
+{% highlight sql %}
+SELECT * FROM (SELECT t.trans_id,
+                      t.trans_info.prod_id[0] AS prod_id,
+                      t.trans_info.purch_flag AS purchased
+               FROM `clicks/clicks.json` t) sq
+WHERE sq.prod_id BETWEEN 700 AND 750 AND
+      sq.purchased = 'true'
+ORDER BY sq.prod_id;
+{% endhighlight %}
+
+<h2>4. Real SQL - not "SQL-like"</h2>
+<p>Drill supports the standard SQL:2003 syntax. No need to learn a new "SQL-like" language
or struggle with a semi-functional BI tool. Drill supports many data types including DATE,
INTERVAL, TIMESTAMP, VARCHAR and DECIMAL, as well as complex query constructs such as correlated
sub-queries and joins in WHERE clauses. Here is an example of a TPC-H standard query that
runs in Drill "as is":</p>
+{% highlight sql %}
+# TPC-H query 4
+SELECT  o.o_orderpriority, count(*) AS order_count
+FROM orders o
+WHERE o.o_orderdate >= date '1996-10-01'
+      AND o.o_orderdate < date '1996-10-01' + interval '3' month
+      AND EXISTS(
+                 SELECT * FROM lineitem l 
+                 WHERE l.l_orderkey = o.o_orderkey
+                 AND l.l_commitdate < l.l_receiptdate
+                 )
+      GROUP BY o.o_orderpriority
+      ORDER BY o.o_orderpriority;
+{% endhighlight %}
+
+<h2>5. Leverage standard BI tools</h2>
+<p>Drill works with standard BI tools. You can keep using the tools you love, such
as Tableau, MicroStrategy, QlikView and Excel. No need to introduce yet another visualization
or dashboard tool. Combine a self-service BI tool with the only self-service SQL engine to
enable true self-service data exploration.</p>
+
+<h2>6. Interactive queries on Hive tables</h2><p>Apache Drill lets you
leverage your investments in Hive. You can run interactive queries with Drill on your Hive
tables and access all Hive input/output formats (including custom SerDes). You can join tables
associated with different Hive metastores, and you can join a Hive table with an HBase table
or a directory of log files. Here's a simple query in Drill on a Hive table:</p>
+{% highlight sql %}
+SELECT `month`, state, sum(order_total) AS sales
+FROM hive.orders 
+GROUP BY `month`, state
+ORDER BY 3 DESC LIMIT 5;
+{% endhighlight %}
+
+<h2>7. Access multiple data sources</h2><p>Drill is designed with extensibility
in mind. It provides out-of-the-box connectivity to file systems (local or distributed file
systems such as S3, HDFS and MapR-FS), HBase and Hive. You can implement a storage plugin
to make Drill work with any other data source. Drill can combine data from multiple data sources
on the fly in a single query, with no centralized metadata definitions. Here's a query that
combines data from a Hive table, an HBase table (view) and a JSON file:</p>
+{% highlight sql %}
+SELECT custview.membership, sum(orders.order_total) AS sales
+FROM hive.orders, custview, dfs.`clicks/clicks.json` c 
+WHERE orders.cust_id = custview.cust_id AND orders.cust_id = c.user_info.cust_id 
+GROUP BY custview.membership
+ORDER BY 2;
+{% endhighlight %}
+
+<h2>8. User-Defined Functions (UDFs)</h2><p>Drill exposes a simple and
high-performance Java API to build custom functions (UDFs and UDAFs) so that you can add your
own business logic. If you have already built UDFs in Hive, you can reuse them with Drill
with no modifications. Refer to <a href="https://cwiki.apache.org/confluence/display/DRILL/Develop+Custom+Functions">Developing
Custom Functions</a> for more information.
+</p>
+
+<h2>9. High performance</h2><p>Drill is designed fround the ground up for
high throughput and low latency. It doesn't use a general purpose execution engine like MapReduce,
Tez or Spark. As a result, Drill is able to deliver its unparalleled flexibility (schema-free
JSON model) without compromising performance. Drill's optimizer leverages rule- and cost-based
techniques, as well as data locality and operator push-down (the ability to push down query
fragments into the back-end data sources). Drill also provides a columnar and vectorized execution
engine, resulting in higher memory and CPU efficiency.</p>
+
+<h2>10. Scales from a single laptop to a 1000-node cluster</h2><p>Drill
is available as a simple download you can run on your laptop. When you're ready to analyze
larger datasets, simply deploy Drill on your Hadoop cluster (up to 1000 commodity servers).
Drill leverages the aggregate memory in the cluster to execute queries using an optimistic
pipelined model, and automatically spills to disk when the working set doesn't fit in memory.</p>


Mime
View raw message