From d29d581b911370e5350ca88a2eecaab1ae3d7073 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 19 Mar 2010 06:51:19 +0800 Subject: [PATCH] Intial import all files --- Array.js | 72 +++ JSDOC.js | 8 + JSDOC/Collapse.js | 244 +++++++++ JSDOC/GtkFile.js | 121 +++++ JSDOC/Introspect.js | 292 ++++++++++ JSDOC/Introspect/Base.js | 163 ++++++ JSDOC/Introspect/Basic.js | 150 ++++++ JSDOC/Introspect/Callback.js | 45 ++ JSDOC/Introspect/Class.js | 176 +++++++ JSDOC/Introspect/Constant.js | 53 ++ JSDOC/Introspect/Enum.js | 57 ++ JSDOC/Introspect/Field.js | 33 ++ JSDOC/Introspect/Interface.js | 56 ++ JSDOC/Introspect/Method.js | 151 ++++++ JSDOC/Introspect/Property.js | 42 ++ JSDOC/Introspect/Signal.js | 69 +++ JSDOC/Introspect/Struct.js | 63 +++ JSDOC/Introspect/Union.js | 56 ++ JSDOC/Introspect/extensions/xml.js | 90 ++++ JSDOC/Lang.js | 155 ++++++ JSDOC/RooFile.js | 410 +++++++++++++++ JSDOC/Template.js | 306 +++++++++++ JSDOC/Template/Link.js | 388 ++++++++++++++ JSDOC/TextStream.js | 50 ++ JSDOC/Token.js | 72 +++ JSDOC/TokenReader.js | 353 +++++++++++++ JSDOC/TokenStream.js | 226 ++++++++ Roo.js | 181 +++++++ Roo/Observable.js | 355 +++++++++++++ console.js | 48 ++ docs.js | 136 +++++ docs/build_docs.sh | 49 ++ docs/class.html | 820 +++++++++++++++++++++++++++++ docs/class_ix.tmpl | 44 ++ docs/default.css | 472 +++++++++++++++++ docs/elbow-end.gif | Bin 0 -> 844 bytes docs/index.tmpl | 131 +++++ docs/page.js | 172 ++++++ docs/references.html | 146 +++++ docs/s.gif | Bin 0 -> 43 bytes xnew.js | 327 ++++++++++++ 41 files changed, 6782 insertions(+) create mode 100644 Array.js create mode 100644 JSDOC.js create mode 100644 JSDOC/Collapse.js create mode 100644 JSDOC/GtkFile.js create mode 100644 JSDOC/Introspect.js create mode 100644 JSDOC/Introspect/Base.js create mode 100644 JSDOC/Introspect/Basic.js create mode 100644 JSDOC/Introspect/Callback.js create mode 100644 JSDOC/Introspect/Class.js create mode 100644 JSDOC/Introspect/Constant.js create mode 100644 JSDOC/Introspect/Enum.js create mode 100644 JSDOC/Introspect/Field.js create mode 100644 JSDOC/Introspect/Interface.js create mode 100644 JSDOC/Introspect/Method.js create mode 100644 JSDOC/Introspect/Property.js create mode 100644 JSDOC/Introspect/Signal.js create mode 100644 JSDOC/Introspect/Struct.js create mode 100644 JSDOC/Introspect/Union.js create mode 100644 JSDOC/Introspect/extensions/xml.js create mode 100644 JSDOC/Lang.js create mode 100644 JSDOC/RooFile.js create mode 100644 JSDOC/Template.js create mode 100644 JSDOC/Template/Link.js create mode 100644 JSDOC/TextStream.js create mode 100644 JSDOC/Token.js create mode 100644 JSDOC/TokenReader.js create mode 100644 JSDOC/TokenStream.js create mode 100644 Roo.js create mode 100644 Roo/Observable.js create mode 100644 console.js create mode 100644 docs.js create mode 100644 docs/build_docs.sh create mode 100644 docs/class.html create mode 100644 docs/class_ix.tmpl create mode 100644 docs/default.css create mode 100644 docs/elbow-end.gif create mode 100644 docs/index.tmpl create mode 100644 docs/page.js create mode 100644 docs/references.html create mode 100644 docs/s.gif create mode 100644 xnew.js diff --git a/Array.js b/Array.js new file mode 100644 index 0000000..e6aa03a --- /dev/null +++ b/Array.js @@ -0,0 +1,72 @@ +/** + * Compat array utils.. + * + * + + + + + + +
+ + +
+ + + + + + + + + + + +
+ Back to Seed Clases

+ +
+ +
+ + + +
+ +
+ + + + + + + +
+
{!
+				var iblock_indent = 0;
+				
+					
+				 data.extendsClasses.reverse().map(
+					function($) {  
+						
+						output += iblock_indent ? ('') : '';
+						output += new Link().toSymbolLong($.alias) + "\n"; 
+						iblock_indent += 20;
+					}
+				)
+				
+				
+			!}{+data.alias+} 
+
+		   
+
+
+ + {+makeImage(data.alias)+} + + + + + +

+ + + {+data.titleType+} {+data.alias+} +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Import line:{+data.ns+} = imports.gi.{+data.ns+};
C documentation:{+new Link().toGnome(data.alias)+}
{+data.titleType+} :{+data.name+}
Implements: + {+ + data.implementInterfaces.map( + function($) { return new Link().toSymbolLong($.alias); } + ).join(", ") + +} +
Implementations: + {+ + data.implementedBy + .sort() + .map( + function($) { return new Link().toSymbolLong($); } + ).join(", ") + +} +
Subclasses: + {+ + data.childClasses + .sort() + .map( + function($) { return new Link().toSymbolLong($); } + ).join(", ") + +} + + + +
Extends: + {+ + new Link().toSymbolLong(data.extendsClasses[data.extendsClasses.length -1].alias) + + +} + +
+ + + +
+ {+resolveLinks(data.desc)+} +
+ + + + + + + + + {! + + + + + cfgProperties = data.values ? data.values.sort(makeSortby("name")) : []; + + + + + + !} + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Values
Properties
+
+ + + + + + + + + {! + + + + + cfgProperties = data.properties.sort(makeSortby("name")); + + + + + + !} + +
+ + + + + + +
Properties- Has None
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Properties
PropertiesDefined By
+
+ + + + + + + + + + + + + {! + + + + var ownMethods = []; + ownMethods.push.apply(ownMethods, data.constructors.sort(makeSortby("name"))); + ownMethods.push.apply(ownMethods, data.functions.sort(makeSortby("name"))); + ownMethods.push.apply(ownMethods, data.methods.sort(makeSortby("name"))); + + !} + + + + + + + + + + +
Methods - Has None
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
Methods / Constructors
Method / ConstructorDefined By
  + +
+ {! + if (member.isConstructor) { + output += "new " + + member.memberOf + (!member.name || !member.name.length ? "" : ".") +""; + } else { + + if (member.isStatic) { + output += data.alias + "."; + } + } + !}{! + output += (!member.name || !member.name.length ? "" : member.name); + !} + + {+makeSignature(member.params)+} + + + : + {! + if (member.returns.length > 1) { + output += (new Link().toSymbol("Object")); + } else { + output += (new Link().toSymbolLong(member.returns[0].type)); + } + + !} + + + +
+
+ +
{+resolveLinks(summarize(member.desc))+}
+
+ +
Create a new {+data.alias +}
+
+ +
+ + {+resolveLinks(member.desc)+} + + +
{+member.example+}
+
+
+ + + Create a new {+data.alias +} + + +
+
Parameters:
+ +
+ + + {+(new Link().toSymbolLong('Function'))+} + {+makeSignature(item.type.params)+} + + + {! + if (member.returns && member.returns.length) { + output += ' : ' + (new Link().toSymbolLong(member.returns[0].type)) + ' '; + } else { + output += ' : none '; + } + + !} + + + + {+((item.type)?""+(new Link().toSymbolLong(item.type))+" " : "")+} {+item.name+} + + + + Optional + , + Default: {+item.defaultValue+} + + + + + + Required (not null) + + + + + + +
+
+ {+resolveLinks(item.desc)+} + + + +
+ +
+ {+((returnitem.type)?""+(new Link().toSymbolLong(returnitem.type))+" " : "")+} {+returnitem.name+} +
+
+ {+resolveLinks(returnitem.desc)+} +
+ +
+
+ +
+ + + + + +
+ + + +
+
+
+ +
+
Deprecated:
+
+ {+member.deprecated+} +
+
+
+ + +
+
Throws:
+ +
+ {+((item.type)?"{"+(new Link().toSymbolLong(item.type))+"} " : "")+} {+item.name+} +
+
{+resolveLinks(item.desc)+}
+
+
+
+ +
+
Returns:
+ + +
An Object with these properties
+
+ + +
{! + if (member.returns.length > 1) { + output += item.name+ ': '; + } + !} + {+((item.type)?""+(new Link().toSymbolLong(item.type))+" " : "")+} + {+resolveLinks(item.desc)+}
+
+
+
+ + + +
+
+ +
+ + {+ (member.memberOf == data.alias) ? member.memberOf : new Link().toSymbolLong(member.memberOf) +} +   +
+
+ + + + + + + + {! + + + var ownEvents = data.signals.sort(makeSortby("name")); + + !} + + + + +
Events - Has None
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Events - usage syntax: this.signals.EVENTNAME.connect( {+(new Link().toSymbolLong('Function' ))+} )
EventDefined By
+
+ + + + + + + +
+ ©{+data.copyright+}
+ Documentation generated by Seed/Jstoolkit + Based on + JsDoc Toolkit on {+new Date()+} +
+ + \ No newline at end of file diff --git a/docs/class_ix.tmpl b/docs/class_ix.tmpl new file mode 100644 index 0000000..29d7b36 --- /dev/null +++ b/docs/class_ix.tmpl @@ -0,0 +1,44 @@ + +

{+ (new Link().toSymbol(data.name)) +}

+
+

Classes

+ + + + +

Interfaces

+ + + +

Structs

+ + +

Unions

+ +

Enums

+ diff --git a/docs/default.css b/docs/default.css new file mode 100644 index 0000000..40be75d --- /dev/null +++ b/docs/default.css @@ -0,0 +1,472 @@ + +@import url("http://library.gnome.org/skin/lgo.css"); +@import url("http://library.gnome.org/skin/print.css") print; + + +/* default.css +/ + + + + + + + + + + +
+ + +
+ + + + + + + + + + +
+ +

{+ (new Link().toSymbol(thisClass)) +}

+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/docs/page.js b/docs/page.js new file mode 100644 index 0000000..3d7c49c --- /dev/null +++ b/docs/page.js @@ -0,0 +1,172 @@ +//