Permalink
Browse files

addition of all files

  • Loading branch information...
1 parent 16eac2a commit 31807acdcd098a22f0d868e43075d376124fb1f8 @UIZE committed Mar 29, 2011
Showing 2,475 changed files with 625,799 additions and 0 deletions.
View
@@ -0,0 +1,69 @@
+# renamed or relocated pages
+ # renamed examples
+ Redirect 301 /examples/window-draggable.html http://www.uize.com/examples/dialog.html
+ Redirect 301 /examples/window-resizable.html http://www.uize.com/examples/dialog-resizable.html
+ Redirect 301 /examples/source-code/window-draggable.html http://www.uize.com/examples/source-code/dialog.html
+ Redirect 301 /examples/source-code/window-resizable.html http://www.uize.com/examples/source-code/dialog-resizable.html
+ Redirect 301 /examples/pretty-json-serializing.html http://www.uize.com/examples/json-prettifier.html
+
+ # renamed explainers
+ Redirect 301 /explainers/all-about-events.html http://www.uize.com/explainers/javascript-event-system.html
+ Redirect 301 /explainers/all-about-modules.html http://www.uize.com/explainers/javascript-modules.html
+ Redirect 301 /explainers/all-about-simpledoc.html http://www.uize.com/explainers/javascript-documentation-system.html
+ Redirect 301 /explainers/all-about-templates.html http://www.uize.com/explainers/javascript-templates.html
+ Redirect 301 /explainers/all-about-widgets.html http://www.uize.com/explainers/javascript-widgets.html
+ Redirect 301 /explainers/modules.html http://www.uize.com/explainers/javascript-modules.html
+ Redirect 301 /tools/scruncher/introduction-to-the-scruncher.html http://www.uize.com/explainers/all-about-scrunching.html
+
+ # renamed modules
+ Redirect 301 /reference/Uize.serialize.html http://www.uize.com/reference/Uize.Json.html
+ Redirect 301 /reference/Uize.DataFace.html http://www.uize.com/reference/Uize.Node.html
+ RedirectMatch 301 ^/(reference(/source-code)?)/Uize\.Widget\.TextInputAdder\.html$ http://www.uize.com/$1/Uize.Widget.ListEditor.html
+ RedirectMatch 301 ^/(reference(/source-code)?)/Uize\.DocSucker\.html$ http://www.uize.com/$1/Uize.Doc.Sucker.html
+ RedirectMatch 301 ^/(reference(/source-code)?)/Uize\.SimpleDoc\.html$ http://www.uize.com/$1/Uize.Doc.Simple.html
+ RedirectMatch 301 ^/(reference(/source-code)?)/Uize\.Coupler\.html$ http://www.uize.com/$1/Uize.Util.Coupler.html
+ RedirectMatch 301 ^/(reference(/source-code)?)/Uize\.Cycle\.html$ http://www.uize.com/$1/Uize.Util.Cycle.html
+ RedirectMatch 301 ^/(reference(/source-code)?)/Uize\.Population\.html$ http://www.uize.com/$1/Uize.Widget.Population.html
+
+ # killed modules
+ RedirectMatch 301 ^/(reference(/source-code)?)/Uize\.Subclass\.html$ http://www.uize.com/javascript-modules-index.html
+
+ # deprecated Uize.Widget.Window.* modules
+ RedirectMatch 301 ^/(reference(/source-code)?)/Uize\.Widget\.Window(\.Draggable)?\.html$ http://www.uize.com/$1/Uize.Widget.Dialog.html
+ RedirectMatch 301 ^/(reference(/source-code)?)/Uize\.Widget\.Window\.Resizable\.html$ http://www.uize.com/$1/Uize.Widget.Dialog.xResizable.html
+
+ # deprecated Uize.Widget.Palette.* modules
+ RedirectMatch 301 ^/(reference(/source-code)?)/Uize\.Widget\.Palette(\.(Confirm|Form|Iframe))?.html$ http://www.uize.com/$1/Uize.Widget.Dialog$3.html
+
+ # misc
+ Redirect 301 /credits.html http://www.uize.com/appendixes/credits.html
+ Redirect 301 /appendixes/coding-style-guide.html http://www.uize.com/appendixes/javascript-code-conventions.html
+ Redirect 301 /appendixes/license-agreement.html http://www.uize.com/license.html
+
+ # renamed tools
+ Redirect 301 /tools/curve-explorer.html http://www.uize.com/examples/curve-explorer.html
+ Redirect 301 /tools/javascript-template-tester.html http://www.uize.com/examples/javascript-template-tester.html
+ Redirect 301 /tools/json-prettifier.html http://www.uize.com/examples/json-prettifier.html
+ Redirect 301 /tools/scruncher/index.html http://www.uize.com/examples/javascript-scruncher.html
+ Redirect 301 /tools/simple-data-tester.html http://www.uize.com/examples/simple-data-tester.html
+ Redirect 301 /tools/simple-doc-tester.html http://www.uize.com/examples/simple-doc-tester.html
+ Redirect 301 /tools/simple-doc/index.html http://www.uize.com/examples/simple-doc-tester.html
+ Redirect 301 /javascript-tools.html http://www.uize.com/javascript-tool-examples.html
+
+# killed pages
+ Redirect 301 /appendixes/known-bugs-and-issues.html http://www.uize.com
+ Redirect 301 /examples.html http://www.uize.com/javascript-examples.html
+ RedirectMatch 301 ^/(about|blog|community|documentation|welcome-to-uize)\.html$ http://www.uize.com
+
+# prevent folder browsing
+ RedirectMatch 301 ^/(appendixes|explainers|tests)/?$ http://www.uize.com
+ RedirectMatch 301 ^/examples/?$ http://www.uize.com/javascript-examples.html
+ RedirectMatch 301 ^/reference/?$ http://www.uize.com/javascript-modules-index.html
+ RedirectMatch 301 ^/tools/?$ http://www.uize.com/javascript-tool-examples.html
+
+# using images from tomkidding.com Web site
+ RedirectMatch 301 ^/photos/(.*)/(.*)$ http://www.tomkidding.com/artworks/photos/small/$2
+
+# custom 404 error page
+ ErrorDocument 404 /404.html
+
View
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="refresh" content="2000; URL=http://www.uize.com"/>
+ <meta name="robots" content="noindex"/>
+ <title>ERROR 404 - redirecting to uize.com</title>
+</head>
+
+<body>
+
+<script type="text/javascript">
+ location.replace (
+ 'http://www.uize.com/search-sections.html?' +
+ escape (
+ location.href.slice (location.href.indexOf (location.pathname))
+ .replace (/[^a-zA-Z0-9\.]/g,' ')
+ .replace (/\.html$/,'')
+ )
+ );
+</script>
+
+</body>
+
+</html>
+
View
@@ -0,0 +1,92 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>HELLO, WORLD!</title>
+ <style type="text/css">
+ body {
+ background:#000;
+ }
+ .helloWorld {
+ margin:auto;
+ width:900px;
+ margin-top:250px;
+ opacity:0;
+ filter:alpha(opacity=0);
+ }
+ .helloWorld div {
+ font-family:times;
+ font-size:50px;
+ font-weight:bold;
+ color:#333;
+ float:left;
+ text-align:center;
+ width:75px;
+ height:75px;
+ line-height:60px;
+ }
+ .callToAction {
+ font-family:Arial;
+ font-size:12px;
+ color:#555;
+ width:100%;
+ text-align:center;
+ letter-spacing:3px;
+ clear:left;
+ }
+ </style>
+ <script type="text/javascript" src="js/Uize.js"></script>
+</head>
+
+<body>
+
+<!-- HTML for the "HELLO, WORLD!" text -->
+
+<div id="helloWorld" class="helloWorld">
+ <div>H</div>
+ <div>E</div>
+ <div>L</div>
+ <div>L</div>
+ <div>O</div>
+ <div>,</div>
+ <div>W</div>
+ <div>O</div>
+ <div>R</div>
+ <div>L</div>
+ <div>D</div>
+ <div>!</div>
+</div>
+<div class="callToAction">( you can also mouseover the individual letters above for more interactive fun )</div>
+
+<!-- JavaScript code to wire up the hello world hover fader -->
+
+<script type="text/javascript">
+
+Uize.module ({
+ required:[
+ 'Uize.Widget.HoverFader',
+ 'Uize.Curve.Rubber'
+ ],
+ builder:function () {
+ /*** create the hover fader child widget ***/
+ var hoverFader = new Uize.Widget.HoverFader ({
+ nodes:{root:'helloWorld',tagName:'div'},
+ defaultStyle:{color:'#3',fontSize:50,textIndent:0},
+ hoverStyle:{color:'#ffa200',fontSize:100,textIndent:-15},
+ fadeIn:{duration:2000,curve:Uize.Curve.Rubber.easeOutElastic (.12)},
+ fadeOut:{duration:1500,curve:Uize.Curve.Rubber.easeOutBounce (4,1.5,1.3)}
+ });
+
+ /*** wire up the hover fader widget ***/
+ hoverFader.wireUi ();
+
+ /*** "tickle" the hover fader ***/
+ Uize.Fx.fadeStyle ('helloWorld',{opacity:0},{opacity:1},2000);
+ setTimeout (function () {hoverFader.tickle (50)},2500);
+ }
+});
+
+</script>
+
+</body>
+</html>
+
View
@@ -0,0 +1,25 @@
+/*** boilerplate setup code for WSH build scripts ***/
+ var _setupFile = new ActiveXObject ('Scripting.FileSystemObject').OpenTextFile ('_build-script-setup.js',1);
+ eval (_setupFile.ReadAll ()) ();
+ _setupFile.Close ();
+
+Uize.module ({
+ required:'Uize.Wsh.BuildUtils',
+ builder:function () {
+ var _buildError = Uize.Wsh.BuildUtils.runScripts (
+ env.buildSequence.concat ([
+ '_run-unit-tests-source.js silent',
+ '_run-unit-tests-scrunched.js silent'
+ ])
+ );
+ (WScript.Arguments.Count () && WScript.Arguments.Item (0) == 'silent') ||
+ alert (
+ _buildError
+ ? ('FAILED IN THE FOLLOWING SCRIPT:\n\n' + _buildError.script)
+ : 'ALL BUILT AND ALL TESTED!!!'
+ )
+ ;
+ _buildError && WScript.Quit (1);
+ }
+});
+
View
@@ -0,0 +1,20 @@
+/*** boilerplate setup code for WSH build scripts ***/
+ var _setupFile = new ActiveXObject ('Scripting.FileSystemObject').OpenTextFile ('_build-script-setup.js',1);
+ eval (_setupFile.ReadAll ()) ();
+ _setupFile.Close ();
+
+Uize.module ({
+ required:'Uize.Wsh.BuildUtils',
+ builder:function () {
+ var _buildError = Uize.Wsh.BuildUtils.runScripts (env.buildSequence);
+ (WScript.Arguments.Count () && WScript.Arguments.Item (0) == 'silent') ||
+ alert (
+ _buildError
+ ? ('BUILD FAILED IN THE FOLLOWING SCRIPT:\n\n' + _buildError.script)
+ : 'BUILD ALL COMPLETE!!!'
+ )
+ ;
+ _buildError && WScript.Quit (1);
+ }
+});
+
View
@@ -0,0 +1,53 @@
+{
+ alwaysBuild:false,
+ buildFolderPath:'',
+ buildSequence:[
+ /* IMPORTANT:
+ The order of execution of these build scripts is important, informed by the following criteria...
+
+ - _build-jst-modules.js must execute before _uize-site-build-widget-pages.js, _build-pages-from-simple-doc.js, _uize-site-build-pages-from-source-code.js, and _build-scrunched.js, because the latter three build scripts process JavaScript modules, and _build-jst-modules.js builds JavaScript modules from .js.jst files
+
+ - _build-pages-from-simple-doc.js must execute before _uize-site-build-index-pages.js, because _uize-site-build-index-pages.js builds the UizeDotCom.ModulesTree module based upon the module reference pages it finds in the reference folder, and these reference pages are built by _build-pages-from-simple-doc.js
+
+ - _uize-site-build-index-pages.js must execute before _uize-site-build-pages-from-source-code.js and _build-scrunched.js, because the latter scripts process JavaScript modules, and _uize-site-build-index-pages.js builds a JavaScript module containing a list of all the example pages in a JSON data structure
+
+ - _uize-site-build-index-pages.js must execute before _build-pages-from-simple-data.js, because _uize-site-build-index-pages.js builds the UizeDotCom.ModulesTree module, which is required by the UizeDotCom.SiteMap module, which is in turn required by _build-pages-from-simple-data.js when it builds the directory.html page from directory.html.simpledata
+
+ - _uize-site-build-index-pages.js must execute after _build-pages-from-simple-doc.js, because _uize-site-build-index-pages.js builds index pages for explainers and module references, which are built by _build-pages-from-simple-doc.js
+
+ - _uize-site-build-sotu.js must execute after _build-jst-modules.js, because _uize-site-build-sotu.js needs to know the file sizes for the JavaScript module source code, and because some JavaScript modules are built by _build-jst-modules.js. _uize-site-build-sotu.js must execute after _build-scrunched.js, because _uize-site-build-sotu.js needs to know the scrunched file sizes for the JavaScript modules, since this information is listed on the module details page
+
+ If, at some point in the future, things get jammed up in a catch 22 situation, then one or more of these build scripts may have to get broken up further into more atomic build scripts, so that the order of some build tasks can be changed.
+ */
+ '_build-jst-modules.js',
+ '_uize-site-build-widget-pages.js',
+ '_build-pages-from-simple-doc.js',
+ '_uize-site-build-index-pages.js',
+ '_build-pages-from-simple-data.js',
+ '_uize-site-build-pages-from-source-code.js',
+ '_build-scrunched.js',
+ '_uize-site-build-sotu.js',
+ '_uize-site-build-code-sitemap.js'
+ ],
+ doNotEnter:/\\(css|images|OLD|photos|source-code|Uize.*)$/,
+ dryRun:false,
+ moduleFolderPath:'js\\~source',
+ scrunchedHeadComments:{
+ Uize:
+ '/*\n' +
+ '\tUIZE JAVASCRIPT FRAMEWORK {buildDate}\n' +
+ '\n' +
+ '\thttp://www.uize.com/reference/{moduleName}.html\n' +
+ '\tAvailable under MIT License or GNU General Public License -- http://www.uize.com/license.html\n' +
+ '*/\n',
+ UizeDotCom:
+ '/*\n' +
+ '\tUIZE Web Site {buildDate}\n' +
+ '\n' +
+ '\thttp://www.uize.com/reference/{moduleName}.html\n' +
+ '\tAvailable under MIT License or GNU General Public License -- http://www.uize.com/license.html\n' +
+ '*/\n'
+ },
+ sourceFolderName:'~source'
+}
+
View
@@ -0,0 +1,10 @@
+/*** boilerplate setup code for WSH build scripts ***/
+ var _setupFile = new ActiveXObject ('Scripting.FileSystemObject').OpenTextFile ('_build-script-setup.js',1);
+ eval (_setupFile.ReadAll ()) ();
+ _setupFile.Close ();
+
+Uize.module ({
+ required:'Uize.Wsh.CompileJstModules',
+ builder:function () {Uize.Wsh.CompileJstModules.perform (env)}
+});
+
@@ -0,0 +1,10 @@
+/*** boilerplate setup code for WSH build scripts ***/
+ var _setupFile = new ActiveXObject ('Scripting.FileSystemObject').OpenTextFile ('_build-script-setup.js',1);
+ eval (_setupFile.ReadAll ()) ();
+ _setupFile.Close ();
+
+Uize.module ({
+ required:'Uize.Wsh.BuildSimpleDataPages',
+ builder:function () {Uize.Wsh.BuildSimpleDataPages.perform (env)}
+});
+
Oops, something went wrong.

0 comments on commit 31807ac

Please sign in to comment.