Permalink
Browse files

Initial commit.

  • Loading branch information...
spocke committed Nov 13, 2009
0 parents commit e0d76936bf2f5cbd788479f70c235b3594f12c37
Showing with 11,164 additions and 0 deletions.
  1. +2 −0 build.bat
  2. +94 −0 build.xml
  3. +3 −0 changelog.txt
  4. +143 −0 docs/api/class_plupload.File.html
  5. +110 −0 docs/api/class_plupload.FlashRuntime.html
  6. +110 −0 docs/api/class_plupload.GearsRuntime.html
  7. +110 −0 docs/api/class_plupload.Html5Runtime.html
  8. +173 −0 docs/api/class_plupload.QueueProgress.html
  9. +107 −0 docs/api/class_plupload.Runtime.html
  10. +110 −0 docs/api/class_plupload.SilverlightRuntime.html
  11. +403 −0 docs/api/class_plupload.Uploader.html
  12. +403 −0 docs/api/class_plupload.html
  13. +235 −0 docs/api/css/general.css
  14. +467 −0 docs/api/css/grids.css
  15. +75 −0 docs/api/css/jquery.treeview.css
  16. +142 −0 docs/api/css/reset.css
  17. +342 −0 docs/api/css/shCore.css
  18. +191 −0 docs/api/css/shThemeMoxieDoc.css
  19. BIN docs/api/img/class.gif
  20. BIN docs/api/img/event.gif
  21. BIN docs/api/img/help.png
  22. BIN docs/api/img/inherit-arrow.gif
  23. BIN docs/api/img/inherited.gif
  24. BIN docs/api/img/loader.gif
  25. BIN docs/api/img/magnifier.png
  26. BIN docs/api/img/method.gif
  27. BIN docs/api/img/namespace.gif
  28. BIN docs/api/img/page_white_code.png
  29. BIN docs/api/img/page_white_copy.png
  30. BIN docs/api/img/printer.png
  31. BIN docs/api/img/property.gif
  32. BIN docs/api/img/root.gif
  33. BIN docs/api/img/static.gif
  34. BIN docs/api/img/treeview-famfamfam.gif
  35. BIN docs/api/img/wrapping.png
  36. +98 −0 docs/api/index.html
  37. BIN docs/api/js/clipboard.swf
  38. +96 −0 docs/api/js/general.js
  39. +15 −0 docs/api/js/jquery.treeview.min.js
  40. +52 −0 docs/api/js/shBrushJScript.js
  41. +30 −0 docs/api/js/shCore.js
  42. +424 −0 docs/api/model.xml
  43. +219 −0 docs/api/plupload.vsdoc.js
  44. +163 −0 examples/css/plupload.queue.css
  45. +7 −0 examples/css/plupload.single.css
  46. +31 −0 examples/dump.php
  47. BIN examples/img/add.gif
  48. BIN examples/img/backgrounds.gif
  49. BIN examples/img/delete.gif
  50. BIN examples/img/done.gif
  51. BIN examples/img/error.gif
  52. BIN examples/img/start.gif
  53. BIN examples/img/stop.gif
  54. BIN examples/img/throbber.gif
  55. BIN examples/img/transp50.png
  56. +113 −0 examples/queue_widget.html
  57. +72 −0 examples/single_widget.html
  58. +62 −0 examples/upload.php
  59. +86 −0 js/gears_init.js
  60. +1 −0 js/jquery.plupload.queue.min.js
  61. +1 −0 js/jquery.plupload.single.min.js
  62. +1 −0 js/plupload.flash.min.js
  63. BIN js/plupload.flash.swf
  64. +1 −0 js/plupload.full.min.js
  65. +1 −0 js/plupload.gears.min.js
  66. +1 −0 js/plupload.html5.min.js
  67. +1 −0 js/plupload.silverlight.min.js
  68. BIN js/plupload.silverlight.xap
  69. +339 −0 license.txt
  70. +18 −0 src/csharp/Plupload.sln
  71. BIN src/csharp/Plupload.suo
  72. +8 −0 src/csharp/Plupload/App.xaml
  73. +43 −0 src/csharp/Plupload/App.xaml.cs
  74. +401 −0 src/csharp/Plupload/FileReference.cs
  75. +6 −0 src/csharp/Plupload/Page.xaml
  76. +185 −0 src/csharp/Plupload/Page.xaml.cs
  77. +94 −0 src/csharp/Plupload/Plupload.csproj
  78. +18 −0 src/csharp/Plupload/Plupload.sln
  79. +5 −0 src/csharp/Plupload/Properties/AppManifest.xml
  80. +45 −0 src/csharp/Plupload/Properties/AssemblyInfo.cs
  81. +18 −0 src/csharp/Plupload/Upload.sln
  82. +79 −0 src/flash/plupload/Plupload.as3proj
  83. +252 −0 src/flash/plupload/src/com/moxiecode/plupload/File.as
  84. +324 −0 src/flash/plupload/src/com/moxiecode/plupload/Plupload.as
  85. +54 −0 src/flash/plupload/src/com/moxiecode/plupload/UploadChunkEvent.as
  86. +241 −0 src/javascript/jquery.plupload.queue.js
  87. +101 −0 src/javascript/jquery.plupload.single.js
  88. +207 −0 src/javascript/plupload.flash.js
  89. +136 −0 src/javascript/plupload.gears.js
  90. +175 −0 src/javascript/plupload.html5.js
  91. +763 −0 src/javascript/plupload.js
  92. +225 −0 src/javascript/plupload.silverlight.js
  93. BIN tools/ant/ant-contrib.jar
  94. BIN tools/ant/js_build_tools.jar
  95. BIN tools/ant/svnClientAdapter.jar
  96. BIN tools/ant/svnant.jar
  97. BIN tools/ant/svnjavahl.jar
  98. BIN tools/ant/svnkit.jar
  99. BIN tools/ant/yuicompressor.jar
  100. +656 −0 tools/templates/class.xsl
  101. +235 −0 tools/templates/css/general.css
  102. +467 −0 tools/templates/css/grids.css
  103. +75 −0 tools/templates/css/jquery.treeview.css
  104. +142 −0 tools/templates/css/reset.css
  105. +342 −0 tools/templates/css/shCore.css
  106. +191 −0 tools/templates/css/shThemeMoxieDoc.css
  107. BIN tools/templates/img/class.gif
  108. BIN tools/templates/img/event.gif
  109. BIN tools/templates/img/help.png
  110. BIN tools/templates/img/inherit-arrow.gif
  111. BIN tools/templates/img/inherited.gif
  112. BIN tools/templates/img/loader.gif
  113. BIN tools/templates/img/magnifier.png
  114. BIN tools/templates/img/method.gif
  115. BIN tools/templates/img/namespace.gif
  116. BIN tools/templates/img/page_white_code.png
  117. BIN tools/templates/img/page_white_copy.png
  118. BIN tools/templates/img/printer.png
  119. BIN tools/templates/img/property.gif
  120. BIN tools/templates/img/root.gif
  121. BIN tools/templates/img/static.gif
  122. BIN tools/templates/img/treeview-famfamfam.gif
  123. BIN tools/templates/img/wrapping.png
  124. +121 −0 tools/templates/index.xsl
  125. BIN tools/templates/js/clipboard.swf
  126. +96 −0 tools/templates/js/general.js
  127. +15 −0 tools/templates/js/jquery.treeview.min.js
  128. +52 −0 tools/templates/js/shBrushJScript.js
  129. +30 −0 tools/templates/js/shCore.js
  130. +310 −0 tools/templates/member.xsl
@@ -0,0 +1,2 @@
+@echo off
+ant -q %*
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="Plupload" default="build" basedir=".">
+ <!-- Path properties -->
+ <property description="Export directory" name="export_dir" value="export" />
+
+ <!-- Setup classpath for js-build-tools ant tasks -->
+ <path id="tasks.classpath">
+ <pathelement location="."/>
+
+ <fileset dir="tools\ant">
+ <include name="**/*.jar"/>
+ </fileset>
+ </path>
+
+ <!-- Register new js-build-tools ant tasks -->
+ <taskdef name="preprocess" classname="com.moxiecode.ant.tasks.PreProcessTask" classpathref="tasks.classpath" loaderref="tasks.classpath.loader" />
+ <taskdef name="yuicompress" classname="com.moxiecode.ant.tasks.YuiCompressTask" classpathref="tasks.classpath" loaderref="tasks.classpath.loader" />
+ <taskdef name="moxiedoc" classname="com.moxiecode.ant.tasks.MoxieDocTask" classpathref="tasks.classpath" loaderref="tasks.classpath.loader" />
+ <typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpathref="tasks.classpath" loaderref="tasks.classpath.loader" />
+ <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="tasks.classpath" loaderref="tasks.classpath.loader" />
+
+ <!-- Generate JS documentation -->
+ <target name="moxiedoc" depends="" description="Generates HTML documentation out of js source">
+ <delete quiet="true">
+ <fileset dir="docs\api" includes="**/*"/>
+ </delete>
+
+ <moxiedoc outdir="docs\api" templatedir="tools\templates" msintellisense="docs\api\plupload.vsdoc.js" title="Plupload API">
+ <fileset dir="js">
+ <exclude name="jquery.*" />
+ <exclude name="gears_init.js" />
+ <exclude name="**/*.min.js" />
+ <include name="**/*.js" />
+ </fileset>
+ </moxiedoc>
+ </target>
+
+ <target name="build">
+ <!-- Concat multuple JS files together -->
+ <concat destfile="js/plupload.full.tmp.js">
+ <fileset dir="src/javascript" includes="plupload.js" />
+ <fileset dir="src/javascript" includes="plupload.gears.js" />
+ <fileset dir="src/javascript" includes="plupload.silverlight.js" />
+ <fileset dir="src/javascript" includes="plupload.flash.js" />
+ <fileset dir="src/javascript" includes="plupload.html5.js" />
+ </concat>
+
+ <!-- Compress Plupload full and base using the YUI Compressor -->
+ <yuicompress infile="js/plupload.full.tmp.js" outfile="js/plupload.full.min.js" />
+ <yuicompress infile="src/javascript/jquery.plupload.queue.js" outfile="js/jquery.plupload.queue.min.js" />
+ <yuicompress infile="src/javascript/jquery.plupload.single.js" outfile="js/jquery.plupload.single.min.js" />
+ <yuicompress infile="src/javascript/plupload.js" outfile="js/plupload.min.js" />
+ <yuicompress infile="src/javascript/plupload.gears.js" outfile="js/plupload.gears.min.js" />
+ <yuicompress infile="src/javascript/plupload.silverlight.js" outfile="js/plupload.silverlight.min.js" />
+ <yuicompress infile="src/javascript/plupload.flash.js" outfile="js/plupload.flash.min.js" />
+ <yuicompress infile="src/javascript/plupload.html5.js" outfile="js/plupload.html5.min.js" />
+
+ <delete file="js/plupload.full.tmp.js" quiet="true" />
+ </target>
+
+ <target name="release">
+ <!-- Export -->
+ <delete dir="${export_dir}/plupload" quiet="true" />
+
+ <svn javahl="${javahl}">
+ <export srcUrl="http://plupload.googlecode.com/svn/trunk/" destPath="${export_dir}/plupload" />
+ </svn>
+
+ <!-- Parse minor version, major version and release date from changelog -->
+ <loadfile property="changelog" srcFile="${export_dir}/plupload/changelog.txt" />
+ <propertyregex property="version" input="${changelog}" regexp="^Version ([0-9xabrc.]+)" select="\1" />
+ <propertyregex property="release_date" input="${changelog}" regexp="^Version [^\(]+\(([^\)]+)\)" select="\1" />
+ <propertyregex property="file_version" input="${version}" regexp="\." replace="_" />
+
+ <!-- Compress production package -->
+ <delete file="${export_dir}/plupload_${file_version}.zip" quiet="true" />
+ <zip destfile="${export_dir}/plupload_${file_version}.zip">
+ <fileset dir="${export_dir}/plupload">
+ <include name="*/**" />
+ <exclude name="tools/**" />
+ <exclude name="build.xml" />
+ <exclude name="build.bat" />
+ </fileset>
+ </zip>
+
+ <!-- Compress dev package -->
+ <delete file="${export_dir}/plupload_${file_version}_dev.zip" quiet="true" />
+ <zip destfile="${export_dir}/plupload_${file_version}_dev.zip">
+ <fileset dir="${export_dir}/plupload">
+ <include name="*/**" />
+ </fileset>
+ </zip>
+ </target>
+</project>
@@ -0,0 +1,3 @@
+Version 1.0 (2009-xx-xx)
+ First official release of Plupload.
+
@@ -0,0 +1,143 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html>
+<head>
+<title>Class: plupload.File</title>
+<meta name="generator" content="MoxieDoc" />
+
+<link rel="stylesheet" type="text/css" href="css/reset.css" />
+<link rel="stylesheet" type="text/css" href="css/grids.css" />
+<link rel="stylesheet" type="text/css" href="css/general.css" />
+
+<script type="text/javascript" src="http://www.google.com/jsapi"></script>
+<script type="text/javascript">
+ google.load("jquery", "1.3");
+</script>
+<script type="text/javascript" src="js/jquery.treeview.min.js"></script>
+<script type="text/javascript" src="js/general.js"></script>
+</head>
+<body>
+<div class="classDetailsContent">
+<h1>plupload.File</h1>
+<table class="classDetails">
+<tr>
+<td class="first">Namespace</td>
+<td class="last">plupload</td>
+</tr>
+<tr>
+<td class="first">Class</td>
+<td class="last">File</td>
+</tr>
+</table>
+<div class="classDescription">File instance.
+</div>
+<div class="summaryLists">
+<h2>Public Properties</h2>
+<table class="Properties summary">
+<thead>
+<tr>
+<th>Property</th>
+<th>Defined By</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.File.html#id">id</a> : String</div>
+<div class="summary">File id this is a globally unique id for the specific file.</div>
+</td>
+<td class="last">File</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.File.html#loaded">loaded</a> : Number</div>
+<div class="summary">Number of bytes uploaded of the files total size.</div>
+</td>
+<td class="last">File</td>
+</tr>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.File.html#name">name</a> : String</div>
+<div class="summary">File name for example "myfile.</div>
+</td>
+<td class="last">File</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.File.html#percent">percent</a> : Number</div>
+<div class="summary">Number of percentage uploaded of the file.</div>
+</td>
+<td class="last">File</td>
+</tr>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.File.html#size">size</a> : Number</div>
+<div class="summary">File size in bytes.</div>
+</td>
+<td class="last">File</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.File.html#status">status</a> : Number</div>
+<div class="summary">Status constant matching the plupload states QUEUED, UPLOADING, FAILED, DONE.</div>
+</td>
+<td class="last">File</td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="detailsList">
+<div class="details">
+<h2>Property details</h2>
+<div class="memberDetails" id="id">
+<h3>id<span class="memberType">property</span>
+</h3>
+<code class="syntax">public id : String</code>
+<div class="memberDescription">File id this is a globally unique id for the specific file.
+</div>
+</div>
+<div class="memberDetails" id="loaded">
+<h3>loaded<span class="memberType">property</span>
+</h3>
+<code class="syntax">public loaded : Number</code>
+<div class="memberDescription">Number of bytes uploaded of the files total size.
+</div>
+</div>
+<div class="memberDetails" id="name">
+<h3>name<span class="memberType">property</span>
+</h3>
+<code class="syntax">public name : String</code>
+<div class="memberDescription">File name for example "myfile.gif".
+</div>
+</div>
+<div class="memberDetails" id="percent">
+<h3>percent<span class="memberType">property</span>
+</h3>
+<code class="syntax">public percent : Number</code>
+<div class="memberDescription">Number of percentage uploaded of the file.
+</div>
+</div>
+<div class="memberDetails" id="size">
+<h3>size<span class="memberType">property</span>
+</h3>
+<code class="syntax">public size : Number</code>
+<div class="memberDescription">File size in bytes.
+</div>
+</div>
+<div class="memberDetails last" id="status">
+<h3>status<span class="memberType">property</span>
+</h3>
+<code class="syntax">public status : Number</code>
+<div class="memberDescription">Status constant matching the plupload states QUEUED, UPLOADING, FAILED, DONE.
+</div>
+</div>
+</div>
+</div>
+</div>
+</body>
+</html>
@@ -0,0 +1,110 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html>
+<head>
+<title>Class: plupload.FlashRuntime</title>
+<meta name="generator" content="MoxieDoc" />
+
+<link rel="stylesheet" type="text/css" href="css/reset.css" />
+<link rel="stylesheet" type="text/css" href="css/grids.css" />
+<link rel="stylesheet" type="text/css" href="css/general.css" />
+
+<script type="text/javascript" src="http://www.google.com/jsapi"></script>
+<script type="text/javascript">
+ google.load("jquery", "1.3");
+</script>
+<script type="text/javascript" src="js/jquery.treeview.min.js"></script>
+<script type="text/javascript" src="js/general.js"></script>
+</head>
+<body>
+<div class="classDetailsContent">
+<h1>plupload.FlashRuntime</h1>
+<table class="classDetails">
+<tr>
+<td class="first">Namespace</td>
+<td class="last">plupload</td>
+</tr>
+<tr>
+<td class="first">Class</td>
+<td class="last">FlashRuntime</td>
+</tr>
+<tr>
+<td class="first">Type</td>
+<td class="last">Singleton</td>
+</tr>
+<tr>
+<td class="first">Inheritance</td>
+<td class="last inheritageList">
+<span>FlashRuntime</span>
+<span class="last">
+<a href="class_plupload.Runtime.html">Runtime</a>
+</span>
+</td>
+</tr>
+</table>
+<div class="classDescription">FlashRuntime implementation.
+</div>
+<div class="summaryLists">
+<h2>Public Methods</h2>
+<table class="Methods summary">
+<thead>
+<tr>
+<th>Method</th>
+<th>Defined By</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.FlashRuntime.html#init">init</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>):void</div>
+<div class="summary">
+<span class="static">[static] </span>Initializes the upload runtime.</div>
+</td>
+<td class="last">FlashRuntime</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.FlashRuntime.html#isSupported">isSupported</a>():boolean</div>
+<div class="summary">
+<span class="static">[static] </span>Checks if the Flash is installed or not.</div>
+</td>
+<td class="last">FlashRuntime</td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="detailsList">
+<div class="details">
+<h2>Method details</h2>
+<div class="memberDetails" id="init">
+<h3>init<span class="memberType">method</span>
+</h3>
+<code class="syntax">public static
+ function init(uploader:<a href="class_plupload.Uploader.html">Uploader</a>):void</code>
+<div class="memberDescription">Initializes the upload runtime. This method should add necessary items to the DOM and register events needed for operation.
+</div>
+<h4>Parameters</h4>
+<table class="params">
+<tr>
+<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
+</td>
+<td class="last">Uploader instance that needs to be initialized.</td>
+</tr>
+</table>
+</div>
+<div class="memberDetails last" id="isSupported">
+<h3>isSupported<span class="memberType">method</span>
+</h3>
+<code class="syntax">public static
+ function isSupported():boolean</code>
+<div class="memberDescription">Checks if the Flash is installed or not.
+</div>
+<h4>Returns</h4>
+<div class="returns">boolean - true/false if the runtime exists.</div>
+</div>
+</div>
+</div>
+</div>
+</body>
+</html>
Oops, something went wrong.

0 comments on commit e0d7693

Please sign in to comment.