--------------------------------------------------------------------------------
/LICENSE-MIT:
--------------------------------------------------------------------------------
1 | Copyright (c) 2010 "Cowboy" Ben Alman
2 |
3 | Permission is hereby granted, free of charge, to any person
4 | obtaining a copy of this software and associated documentation
5 | files (the "Software"), to deal in the Software without
6 | restriction, including without limitation the rights to use,
7 | copy, modify, merge, publish, distribute, sublicense, and/or sell
8 | copies of the Software, and to permit persons to whom the
9 | Software is furnished to do so, subject to the following
10 | conditions:
11 |
12 | The above copyright notice and this permission notice shall be
13 | included in all copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22 | OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/shared/SyntaxHighlighter/scripts/shBrushPlain.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.0.320 (May 03 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | SyntaxHighlighter.brushes.Plain = function()
31 | {
32 | };
33 |
34 | SyntaxHighlighter.brushes.Plain.prototype = new SyntaxHighlighter.Highlighter();
35 | SyntaxHighlighter.brushes.Plain.aliases = ['text', 'plain'];
36 |
--------------------------------------------------------------------------------
/docs/search/GeneralE.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
42 |
43 |
--------------------------------------------------------------------------------
/shared/SyntaxHighlighter/scripts/shBrushJScript.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.0.320 (May 03 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | SyntaxHighlighter.brushes.JScript = function()
31 | {
32 | var keywords = 'break case catch continue ' +
33 | 'default delete do else false ' +
34 | 'for function if in instanceof ' +
35 | 'new null return super switch ' +
36 | 'this throw true try typeof var while with'
37 | ;
38 |
39 | this.regexList = [
40 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
41 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
42 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
43 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
44 | { regex: /\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
45 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keywords
46 | ];
47 |
48 | this.forHtmlScript(SyntaxHighlighter.regexLib.scriptScriptTags);
49 | };
50 |
51 | SyntaxHighlighter.brushes.JScript.prototype = new SyntaxHighlighter.Highlighter();
52 | SyntaxHighlighter.brushes.JScript.aliases = ['js', 'jscript', 'javascript'];
53 |
--------------------------------------------------------------------------------
/unit/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | jQuery untils - Unit Tests
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
74 |
75 |
--------------------------------------------------------------------------------
/shared/SyntaxHighlighter/scripts/shBrushPython.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.0.320 (May 03 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | SyntaxHighlighter.brushes.Python = function()
31 | {
32 | // Contributed by Gheorghe Milas
33 |
34 | var keywords = 'and assert break class continue def del elif else ' +
35 | 'except exec finally for from global if import in is ' +
36 | 'lambda not or pass print raise return try yield while';
37 |
38 | var special = 'None True False self cls class_';
39 |
40 | this.regexList = [
41 | { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' },
42 | { regex: /^\s*@\w+/gm, css: 'decorator' },
43 | { regex: /(['\"]{3})([^\1])*?\1/gm, css: 'comments' },
44 | { regex: /"(?!")(?:\.|\\\"|[^\""\n])*"/gm, css: 'string' },
45 | { regex: /'(?!')(?:\.|(\\\')|[^\''\n])*'/gm, css: 'string' },
46 | { regex: /\+|\-|\*|\/|\%|=|==/gm, css: 'keyword' },
47 | { regex: /\b\d+\.?\w*/g, css: 'value' },
48 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' },
49 | { regex: new RegExp(this.getKeywords(special), 'gm'), css: 'color1' }
50 | ];
51 |
52 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
53 | };
54 |
55 | SyntaxHighlighter.brushes.Python.prototype = new SyntaxHighlighter.Highlighter();
56 | SyntaxHighlighter.brushes.Python.aliases = ['py', 'python'];
57 |
--------------------------------------------------------------------------------
/shared/SyntaxHighlighter/scripts/shBrushScala.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.0.320 (May 03 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | SyntaxHighlighter.brushes.Scala = function()
31 | {
32 | // Contributed by Yegor Jbanov and David Bernard.
33 |
34 | var keywords = 'val sealed case def true trait implicit forSome import match object null finally super ' +
35 | 'override try lazy for var catch throw type extends class while with new final yield abstract ' +
36 | 'else do if return protected private this package false';
37 |
38 | var keyops = '[_:=><%#@]+';
39 |
40 | this.regexList = [
41 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
42 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
43 | { regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // multi-line strings
44 | { regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double-quoted string
45 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
46 | { regex: /0x[a-f0-9]+|\d+(\.\d+)?/gi, css: 'value' }, // numbers
47 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
48 | { regex: new RegExp(keyops, 'gm'), css: 'keyword' } // scala keyword
49 | ];
50 | }
51 |
52 | SyntaxHighlighter.brushes.Scala.prototype = new SyntaxHighlighter.Highlighter();
53 | SyntaxHighlighter.brushes.Scala.aliases = ['scala'];
54 |
--------------------------------------------------------------------------------
/shared/SyntaxHighlighter/scripts/shBrushJava.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.0.320 (May 03 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | SyntaxHighlighter.brushes.Java = function()
31 | {
32 | var keywords = 'abstract assert boolean break byte case catch char class const ' +
33 | 'continue default do double else enum extends ' +
34 | 'false final finally float for goto if implements import ' +
35 | 'instanceof int interface long native new null ' +
36 | 'package private protected public return ' +
37 | 'short static strictfp super switch synchronized this throw throws true ' +
38 | 'transient try void volatile while';
39 |
40 | this.regexList = [
41 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
42 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
43 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
44 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
45 | { regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers
46 | { regex: /(?!\@interface\b)\@[\$\w]+\b/g, css: 'color1' }, // annotation @anno
47 | { regex: /\@interface\b/g, css: 'color2' }, // @interface keyword
48 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // java keyword
49 | ];
50 |
51 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
52 | };
53 |
54 | SyntaxHighlighter.brushes.Java.prototype = new SyntaxHighlighter.Highlighter();
55 | SyntaxHighlighter.brushes.Java.aliases = ['java'];
56 |
--------------------------------------------------------------------------------
/shared/SyntaxHighlighter/scripts/shBrushXml.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.0.320 (May 03 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | SyntaxHighlighter.brushes.Xml = function()
31 | {
32 | function process(match, regexInfo)
33 | {
34 | var constructor = SyntaxHighlighter.Match,
35 | code = match[0],
36 | tag = new XRegExp('(<|<)[\\s\\/\\?]*(?[:\\w-\\.]+)', 'xg').exec(code),
37 | result = []
38 | ;
39 |
40 | if (match.attributes != null)
41 | {
42 | var attributes,
43 | regex = new XRegExp('(? [\\w:\\-\\.]+)' +
44 | '\\s*=\\s*' +
45 | '(? ".*?"|\'.*?\'|\\w+)',
46 | 'xg');
47 |
48 | while ((attributes = regex.exec(code)) != null)
49 | {
50 | result.push(new constructor(attributes.name, match.index + attributes.index, 'color1'));
51 | result.push(new constructor(attributes.value, match.index + attributes.index + attributes[0].indexOf(attributes.value), 'string'));
52 | }
53 | }
54 |
55 | if (tag != null)
56 | result.push(
57 | new constructor(tag.name, match.index + tag[0].indexOf(tag.name), 'keyword')
58 | );
59 |
60 | return result;
61 | }
62 |
63 | this.regexList = [
64 | { regex: new XRegExp('(\\<|<)\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\](\\>|>)', 'gm'), css: 'color2' }, //
65 | { regex: new XRegExp('(\\<|<)!--\\s*.*?\\s*--(\\>|>)', 'gm'), css: 'comments' }, //
66 | { regex: new XRegExp('(<|<)[\\s\\/\\?]*(\\w+)(?.*?)[\\s\\/\\?]*(>|>)', 'sg'), func: process }
67 | ];
68 | };
69 |
70 | SyntaxHighlighter.brushes.Xml.prototype = new SyntaxHighlighter.Highlighter();
71 | SyntaxHighlighter.brushes.Xml.aliases = ['xml', 'xhtml', 'xslt', 'html', 'xhtml'];
72 |
--------------------------------------------------------------------------------
/shared/SyntaxHighlighter/scripts/shBrushRuby.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.0.320 (May 03 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | SyntaxHighlighter.brushes.Ruby = function()
31 | {
32 | // Contributed by Erik Peterson.
33 |
34 | var keywords = 'alias and BEGIN begin break case class def define_method defined do each else elsif ' +
35 | 'END end ensure false for if in module new next nil not or raise redo rescue retry return ' +
36 | 'self super then throw true undef unless until when while yield';
37 |
38 | var builtins = 'Array Bignum Binding Class Continuation Dir Exception FalseClass File::Stat File Fixnum Fload ' +
39 | 'Hash Integer IO MatchData Method Module NilClass Numeric Object Proc Range Regexp String Struct::TMS Symbol ' +
40 | 'ThreadGroup Thread Time TrueClass';
41 |
42 | this.regexList = [
43 | { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments
44 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
45 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
46 | { regex: /\b[A-Z0-9_]+\b/g, css: 'constants' }, // constants
47 | { regex: /:[a-z][A-Za-z0-9_]*/g, css: 'color2' }, // symbols
48 | { regex: /(\$|@@|@)\w+/g, css: 'variable bold' }, // $global, @instance, and @@class variables
49 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
50 | { regex: new RegExp(this.getKeywords(builtins), 'gm'), css: 'color1' } // builtins
51 | ];
52 |
53 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
54 | };
55 |
56 | SyntaxHighlighter.brushes.Ruby.prototype = new SyntaxHighlighter.Highlighter();
57 | SyntaxHighlighter.brushes.Ruby.aliases = ['ruby', 'rails', 'ror'];
58 |
--------------------------------------------------------------------------------
/shared/SyntaxHighlighter/scripts/shLegacy.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.0.320 (May 03 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('1 y={d:{}};y.d={F:6(S,l,q,k,m,n){6 J(z,Y){1 V=16 15("^"+Y+"\\\\[(?\\\\w+)\\\\]$","14"),x=2;h(1 i=0;i.
29 | */
30 | SyntaxHighlighter.brushes.JavaFX = function()
31 | {
32 | // Contributed by Patrick Webster
33 | // http://patrickwebster.blogspot.com/2009/04/javafx-brush-for-syntaxhighlighter.html
34 | var datatypes = 'Boolean Byte Character Double Duration '
35 | + 'Float Integer Long Number Short String Void'
36 | ;
37 |
38 | var keywords = 'abstract after and as assert at before bind bound break catch class '
39 | + 'continue def delete else exclusive extends false finally first for from '
40 | + 'function if import in indexof init insert instanceof into inverse last '
41 | + 'lazy mixin mod nativearray new not null on or override package postinit '
42 | + 'protected public public-init public-read replace return reverse sizeof '
43 | + 'step super then this throw true try tween typeof var where while with '
44 | + 'attribute let private readonly static trigger'
45 | ;
46 |
47 | this.regexList = [
48 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' },
49 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' },
50 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
51 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
52 | { regex: /(-?\.?)(\b(\d*\.?\d+|\d+\.?\d*)(e[+-]?\d+)?|0x[a-f\d]+)\b\.?/gi, css: 'color2' }, // numbers
53 | { regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'variable' }, // datatypes
54 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
55 | ];
56 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
57 | };
58 |
59 | SyntaxHighlighter.brushes.JavaFX.prototype = new SyntaxHighlighter.Highlighter();
60 | SyntaxHighlighter.brushes.JavaFX.aliases = ['jfx', 'javafx'];
61 |
--------------------------------------------------------------------------------
/shared/SyntaxHighlighter/scripts/shBrushCSharp.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.0.320 (May 03 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | SyntaxHighlighter.brushes.CSharp = function()
31 | {
32 | var keywords = 'abstract as base bool break byte case catch char checked class const ' +
33 | 'continue decimal default delegate do double else enum event explicit ' +
34 | 'extern false finally fixed float for foreach get goto if implicit in int ' +
35 | 'interface internal is lock long namespace new null object operator out ' +
36 | 'override params private protected public readonly ref return sbyte sealed set ' +
37 | 'short sizeof stackalloc static string struct switch this throw true try ' +
38 | 'typeof uint ulong unchecked unsafe ushort using virtual void while';
39 |
40 | function fixComments(match, regexInfo)
41 | {
42 | var css = (match[0].indexOf("///") == 0)
43 | ? 'color1'
44 | : 'comments'
45 | ;
46 |
47 | return [new SyntaxHighlighter.Match(match[0], match.index, css)];
48 | }
49 |
50 | this.regexList = [
51 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, func : fixComments }, // one line comments
52 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
53 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
54 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
55 | { regex: /^\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
56 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // c# keyword
57 | ];
58 |
59 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
60 | };
61 |
62 | SyntaxHighlighter.brushes.CSharp.prototype = new SyntaxHighlighter.Highlighter();
63 | SyntaxHighlighter.brushes.CSharp.aliases = ['c#', 'c-sharp', 'csharp'];
64 |
65 |
--------------------------------------------------------------------------------
/shared/SyntaxHighlighter/scripts/shBrushVb.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.0.320 (May 03 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | SyntaxHighlighter.brushes.Vb = function()
31 | {
32 | var keywords = 'AddHandler AddressOf AndAlso Alias And Ansi As Assembly Auto ' +
33 | 'Boolean ByRef Byte ByVal Call Case Catch CBool CByte CChar CDate ' +
34 | 'CDec CDbl Char CInt Class CLng CObj Const CShort CSng CStr CType ' +
35 | 'Date Decimal Declare Default Delegate Dim DirectCast Do Double Each ' +
36 | 'Else ElseIf End Enum Erase Error Event Exit False Finally For Friend ' +
37 | 'Function Get GetType GoSub GoTo Handles If Implements Imports In ' +
38 | 'Inherits Integer Interface Is Let Lib Like Long Loop Me Mod Module ' +
39 | 'MustInherit MustOverride MyBase MyClass Namespace New Next Not Nothing ' +
40 | 'NotInheritable NotOverridable Object On Option Optional Or OrElse ' +
41 | 'Overloads Overridable Overrides ParamArray Preserve Private Property ' +
42 | 'Protected Public RaiseEvent ReadOnly ReDim REM RemoveHandler Resume ' +
43 | 'Return Select Set Shadows Shared Short Single Static Step Stop String ' +
44 | 'Structure Sub SyncLock Then Throw To True Try TypeOf Unicode Until ' +
45 | 'Variant When While With WithEvents WriteOnly Xor';
46 |
47 | this.regexList = [
48 | { regex: /'.*$/gm, css: 'comments' }, // one line comments
49 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
50 | { regex: /^\s*#.*$/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
51 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // vb keyword
52 | ];
53 |
54 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
55 | };
56 |
57 | SyntaxHighlighter.brushes.Vb.prototype = new SyntaxHighlighter.Highlighter();
58 | SyntaxHighlighter.brushes.Vb.aliases = ['vb', 'vbnet'];
59 |
--------------------------------------------------------------------------------
/README.markdown:
--------------------------------------------------------------------------------
1 | # jQuery Untils: nextUntil, prevUntil, parentsUntil #
2 | [http://benalman.com/projects/jquery-untils-plugin/](http://benalman.com/projects/jquery-untils-plugin/)
3 |
4 | Version: v1.1, Last updated: 2/18/2010
5 |
6 | jQuery Untils provides three very simple, but very useful methods: nextUntil, prevUntil, and parentsUntil. These methods are based on their nextAll, prevAll, and parents counterparts, except that they allow you to stop when a certain selector is reached. Elements are returned in "traversal order".
7 |
8 | **As of jQuery 1.4, these methods are now included in jQuery core! See the patch as well as the official documentation on the
9 | .prevUntil,
10 | .nextUntil and
11 | .parentsUntil methods.**
12 |
13 | Note that these methods take a less naïve approach than others bearing the same names, and are designed to actually return elements in traversal order, despite the element ordering flaws inherent in the jQuery 1.3.2 selector engine.
14 |
15 | Visit the [project page](http://benalman.com/projects/jquery-untils-plugin/) for more information and usage examples!
16 |
17 |
18 | ## Documentation ##
19 | [http://benalman.com/code/projects/jquery-untils/docs/](http://benalman.com/code/projects/jquery-untils/docs/)
20 |
21 |
22 | ## Examples ##
23 | These working examples, complete with fully commented code, illustrate a few
24 | ways in which this plugin can be used.
25 |
26 | [http://benalman.com/code/projects/jquery-untils/examples/nextuntil/](http://benalman.com/code/projects/jquery-untils/examples/nextuntil/)
27 | [http://benalman.com/code/projects/jquery-untils/examples/prevuntil/](http://benalman.com/code/projects/jquery-untils/examples/prevuntil/)
28 | [http://benalman.com/code/projects/jquery-untils/examples/parentsuntil/](http://benalman.com/code/projects/jquery-untils/examples/parentsuntil/)
29 |
30 | ## Support and Testing ##
31 | Information about what version or versions of jQuery this plugin has been
32 | tested with, what browsers it has been tested in, and where the unit tests
33 | reside (so you can test it yourself).
34 |
35 | ### jQuery Versions ###
36 | 1.3.2
37 |
38 | ### Browsers Tested ###
39 | Internet Explorer 6-8, Firefox 2-3.7, Safari 3-4, Chrome 4-5, Opera 9.6-10.1.
40 |
41 | ### Unit Tests ###
42 | [http://benalman.com/code/projects/jquery-untils/unit/](http://benalman.com/code/projects/jquery-untils/unit/)
43 |
44 |
45 | ## Release History ##
46 |
47 | 1.1 - (2/18/2010) Fixed an issue that occurred when until\_selector and each\_selector were mutually exclusive. In the process, simplified plugin logic substantially.
48 | 1.0 - (12/1/2009) Initial release
49 |
50 |
51 | ## License ##
52 | Copyright (c) 2010 "Cowboy" Ben Alman
53 | Dual licensed under the MIT and GPL licenses.
54 | [http://benalman.com/about/license/](http://benalman.com/about/license/)
55 |
--------------------------------------------------------------------------------
/shared/SyntaxHighlighter/scripts/shBrushDelphi.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.0.320 (May 03 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | SyntaxHighlighter.brushes.Delphi = function()
31 | {
32 | var keywords = 'abs addr and ansichar ansistring array as asm begin boolean byte cardinal ' +
33 | 'case char class comp const constructor currency destructor div do double ' +
34 | 'downto else end except exports extended false file finalization finally ' +
35 | 'for function goto if implementation in inherited int64 initialization ' +
36 | 'integer interface is label library longint longword mod nil not object ' +
37 | 'of on or packed pansichar pansistring pchar pcurrency pdatetime pextended ' +
38 | 'pint64 pointer private procedure program property pshortstring pstring ' +
39 | 'pvariant pwidechar pwidestring protected public published raise real real48 ' +
40 | 'record repeat set shl shortint shortstring shr single smallint string then ' +
41 | 'threadvar to true try type unit until uses val var varirnt while widechar ' +
42 | 'widestring with word write writeln xor';
43 |
44 | this.regexList = [
45 | { regex: /\(\*[\s\S]*?\*\)/gm, css: 'comments' }, // multiline comments (* *)
46 | { regex: /{(?!\$)[\s\S]*?}/gm, css: 'comments' }, // multiline comments { }
47 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line
48 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
49 | { regex: /\{\$[a-zA-Z]+ .+\}/g, css: 'color1' }, // compiler Directives and Region tags
50 | { regex: /\b[\d\.]+\b/g, css: 'value' }, // numbers 12345
51 | { regex: /\$[a-zA-Z0-9]+\b/g, css: 'value' }, // numbers $F5D3
52 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keyword
53 | ];
54 | };
55 |
56 | SyntaxHighlighter.brushes.Delphi.prototype = new SyntaxHighlighter.Highlighter();
57 | SyntaxHighlighter.brushes.Delphi.aliases = ['delphi', 'pascal'];
58 |
--------------------------------------------------------------------------------
/shared/SyntaxHighlighter/scripts/shBrushAS3.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.0.320 (May 03 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | SyntaxHighlighter.brushes.AS3 = function()
31 | {
32 | // Created by Peter Atoria @ http://iAtoria.com
33 |
34 | var inits = 'class interface function package';
35 |
36 | var keywords = '-Infinity ...rest Array as AS3 Boolean break case catch const continue Date decodeURI ' +
37 | 'decodeURIComponent default delete do dynamic each else encodeURI encodeURIComponent escape ' +
38 | 'extends false final finally flash_proxy for get if implements import in include Infinity ' +
39 | 'instanceof int internal is isFinite isNaN isXMLName label namespace NaN native new null ' +
40 | 'Null Number Object object_proxy override parseFloat parseInt private protected public ' +
41 | 'return set static String super switch this throw true try typeof uint undefined unescape ' +
42 | 'use void while with'
43 | ;
44 |
45 | this.regexList = [
46 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
47 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
48 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
49 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
50 | { regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers
51 | { regex: new RegExp(this.getKeywords(inits), 'gm'), css: 'color3' }, // initializations
52 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
53 | { regex: new RegExp('var', 'gm'), css: 'variable' }, // variable
54 | { regex: new RegExp('trace', 'gm'), css: 'color1' } // trace
55 | ];
56 |
57 | this.forHtmlScript(SyntaxHighlighter.regexLib.scriptScriptTags);
58 | };
59 |
60 | SyntaxHighlighter.brushes.AS3.prototype = new SyntaxHighlighter.Highlighter();
61 | SyntaxHighlighter.brushes.AS3.aliases = ['actionscript3', 'as3'];
62 |
--------------------------------------------------------------------------------
/shared/SyntaxHighlighter/scripts/shBrushBash.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.0.320 (May 03 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | SyntaxHighlighter.brushes.Bash = function()
31 | {
32 | var keywords = 'if fi then elif else for do done until while break continue case function return in eq ne gt lt ge le';
33 | var commands = 'alias apropos awk bash bc bg builtin bzip2 cal cat cd cfdisk chgrp chmod chown chroot' +
34 | 'cksum clear cmp comm command cp cron crontab csplit cut date dc dd ddrescue declare df ' +
35 | 'diff diff3 dig dir dircolors dirname dirs du echo egrep eject enable env ethtool eval ' +
36 | 'exec exit expand export expr false fdformat fdisk fg fgrep file find fmt fold format ' +
37 | 'free fsck ftp gawk getopts grep groups gzip hash head history hostname id ifconfig ' +
38 | 'import install join kill less let ln local locate logname logout look lpc lpr lprint ' +
39 | 'lprintd lprintq lprm ls lsof make man mkdir mkfifo mkisofs mknod more mount mtools ' +
40 | 'mv netstat nice nl nohup nslookup open op passwd paste pathchk ping popd pr printcap ' +
41 | 'printenv printf ps pushd pwd quota quotacheck quotactl ram rcp read readonly renice ' +
42 | 'remsync rm rmdir rsync screen scp sdiff sed select seq set sftp shift shopt shutdown ' +
43 | 'sleep sort source split ssh strace su sudo sum symlink sync tail tar tee test time ' +
44 | 'times touch top traceroute trap tr true tsort tty type ulimit umask umount unalias ' +
45 | 'uname unexpand uniq units unset unshar useradd usermod users uuencode uudecode v vdir ' +
46 | 'vi watch wc whereis which who whoami Wget xargs yes'
47 | ;
48 |
49 | this.regexList = [
50 | { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments
51 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
52 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
53 | { regex: new RegExp(this.getKeywords(commands), 'gm'), css: 'functions' } // commands
54 | ];
55 | }
56 |
57 | SyntaxHighlighter.brushes.Bash.prototype = new SyntaxHighlighter.Highlighter();
58 | SyntaxHighlighter.brushes.Bash.aliases = ['bash', 'shell'];
59 |
60 |
--------------------------------------------------------------------------------
/docs/nd/Topics.txt:
--------------------------------------------------------------------------------
1 | Format: 1.4
2 |
3 | # This is the Natural Docs topics file for this project. If you change anything
4 | # here, it will apply to THIS PROJECT ONLY. If you'd like to change something
5 | # for all your projects, edit the Topics.txt in Natural Docs' Config directory
6 | # instead.
7 |
8 |
9 | # If you'd like to prevent keywords from being recognized by Natural Docs, you
10 | # can do it like this:
11 | # Ignore Keywords: [keyword], [keyword], ...
12 | #
13 | # Or you can use the list syntax like how they are defined:
14 | # Ignore Keywords:
15 | # [keyword]
16 | # [keyword], [plural keyword]
17 | # ...
18 |
19 |
20 | #-------------------------------------------------------------------------------
21 | # SYNTAX:
22 | #
23 | # Topic Type: [name]
24 | # Alter Topic Type: [name]
25 | # Creates a new topic type or alters one from the main file. Each type gets
26 | # its own index and behavior settings. Its name can have letters, numbers,
27 | # spaces, and these charaters: - / . '
28 | #
29 | # Plural: [name]
30 | # Sets the plural name of the topic type, if different.
31 | #
32 | # Keywords:
33 | # [keyword]
34 | # [keyword], [plural keyword]
35 | # ...
36 | # Defines or adds to the list of keywords for the topic type. They may only
37 | # contain letters, numbers, and spaces and are not case sensitive. Plural
38 | # keywords are used for list topics. You can redefine keywords found in the
39 | # main topics file.
40 | #
41 | # Index: [yes|no]
42 | # Whether the topics get their own index. Defaults to yes. Everything is
43 | # included in the general index regardless of this setting.
44 | #
45 | # Scope: [normal|start|end|always global]
46 | # How the topics affects scope. Defaults to normal.
47 | # normal - Topics stay within the current scope.
48 | # start - Topics start a new scope for all the topics beneath it,
49 | # like class topics.
50 | # end - Topics reset the scope back to global for all the topics
51 | # beneath it.
52 | # always global - Topics are defined as global, but do not change the scope
53 | # for any other topics.
54 | #
55 | # Class Hierarchy: [yes|no]
56 | # Whether the topics are part of the class hierarchy. Defaults to no.
57 | #
58 | # Page Title If First: [yes|no]
59 | # Whether the topic's title becomes the page title if it's the first one in
60 | # a file. Defaults to no.
61 | #
62 | # Break Lists: [yes|no]
63 | # Whether list topics should be broken into individual topics in the output.
64 | # Defaults to no.
65 | #
66 | # Can Group With: [type], [type], ...
67 | # Defines a list of topic types that this one can possibly be grouped with.
68 | # Defaults to none.
69 | #-------------------------------------------------------------------------------
70 |
71 | # The following topics are defined in the main file, if you'd like to alter
72 | # their behavior or add keywords:
73 | #
74 | # Generic, Class, Interface, Section, File, Group, Function, Variable,
75 | # Property, Type, Constant, Enumeration, Event, Delegate, Macro,
76 | # Database, Database Table, Database View, Database Index, Database
77 | # Cursor, Database Trigger, Cookie, Build Target
78 |
79 | # If you add something that you think would be useful to other developers
80 | # and should be included in Natural Docs by default, please e-mail it to
81 | # topics [at] naturaldocs [dot] org.
82 |
--------------------------------------------------------------------------------
/docs/index/Files.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | File Index
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
File Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
30 |
31 |
32 |
--------------------------------------------------------------------------------
/docs/styles/2.css:
--------------------------------------------------------------------------------
1 | /*
2 | bg: #FDEBDC
3 | bg1: #FFD6AF
4 | bg2: #FFAB59
5 | orange: #FF7F00
6 | brown: #913D00
7 | lt. brown: #C4884F
8 | */
9 |
10 | .IndexPage #Index {
11 | margin-left: 31ex !important;
12 | }
13 |
14 | #MSelected {
15 | -webkit-border-top-right-radius: 10px;
16 | -webkit-border-bottom-right-radius: 10px;
17 | }
18 |
19 | .MGroup #MSelected {
20 | -webkit-border-top-left-radius: 10px;
21 | -webkit-border-bottom-left-radius: 10px;
22 | }
23 |
24 | .Safari #MSelected {
25 | border-width: 1px;
26 | border-left-width: 0;
27 | }
28 |
29 | .Safari .MGroup #MSelected {
30 | border-left-width: 1px;
31 | }
32 |
33 | .SBorder {
34 | -webkit-border-radius: 20px;
35 | }
36 |
37 |
38 | body {
39 | font-size: 0.75em;
40 | line-height: 1.6em;
41 | font-family: Arial, sans-serif;
42 | }
43 |
44 | a:link, a:visited {
45 | color: #913D00;
46 | text-decoration: underline;
47 | }
48 |
49 | a:hover {
50 | color: #FF7F00;
51 | }
52 |
53 | p {
54 | margin-left: 5ex;
55 | text-indent: 0;
56 | margin-bottom: 0.6em;
57 | }
58 |
59 | .Summary a:link, .Summary a:visited {
60 | text-decoration: none;
61 | }
62 |
63 | .CClass .CTitle, .CInterface .CTitle, .CDatabase .CTitle, .CDatabaseTable .CTitle, .CSection .CTitle,
64 | #MainTopic .CTitle,
65 | .STitle {
66 | text-transform: uppercase;
67 | font-family: "Gill Sans", "Gill Sans MT", Arial, Helvetica, sans-serif;
68 | }
69 |
70 | .CClass .CTitle, .CInterface .CTitle, .CDatabase .CTitle, .CDatabaseTable .CTitle, .CSection .CTitle,
71 | .IPageTitle,
72 | #MainTopic .CTitle {
73 | color: #913D00;
74 | font-size: 22px;
75 | font-weight: 400;
76 |
77 | background: #FDEBDC;
78 | border: none;
79 | }
80 |
81 | .CClass .CTitle, .CInterface .CTitle, .CDatabase .CTitle, .CDatabaseTable .CTitle, .CSection .CTitle {
82 | border-top: 2px solid #913D00;
83 | }
84 |
85 | .CGroup .CTitle {
86 | color: #913D00;
87 | font-family: "Gill Sans", "Gill Sans MT", Arial, Helvetica, sans-serif;
88 | font-weight: 700;
89 | font-size: 130%;
90 | font-variant: none;
91 | border-bottom: 2px solid #913D00;
92 | }
93 |
94 | .CTitle {
95 | border-color: #C4884F;
96 | line-height: 1.2em;
97 | }
98 |
99 | .ContentPage #Content {
100 | background: #FDEBDC;
101 | }
102 |
103 | .STitle {
104 | color: #FF7F00;
105 | font-size: 140%;
106 | font-weight: 700;
107 | margin: 1.2em 0 0.3em;
108 | }
109 |
110 | .CBody pre {
111 | margin-left: 5ex;
112 | }
113 |
114 | .CBody pre,
115 | .CDLEntry {
116 | color: #913D00;
117 | font-family: Monaco, "Courier New", Courier, monospace;
118 | font-size: 9pt;
119 | }
120 |
121 | .SBorder {
122 | background-color: #fff;
123 | border: 1px solid #913D00;
124 | padding: 15px;
125 | }
126 |
127 | .SMarked {
128 | background-color: #eee;
129 | }
130 |
131 | .ContentPage, .IndexPage, .FramedMenuPage {
132 | background-color: #FFAB59;
133 | }
134 |
135 | .MEntry a:link, .MEntry a:hover, .MEntry a:visited,
136 | .MGroup a:link, .MGroup a:hover, .MGroup a:visited {
137 | color: #000;
138 | }
139 |
140 | #MSearchField {
141 | color: #913D00;
142 | background: #FDEBDC;
143 | }
144 |
145 | #Footer a:link, #Footer a:hover, #Footer a:visited {
146 | color: #913D00;
147 | }
148 |
149 | .INavigationBar {
150 | background: #FFD6AF;
151 | border-top: 1px solid #000;
152 | border-bottom: 1px solid #000;
153 | }
154 |
155 | #MSelected {
156 | color: #913D00;
157 | border-color: #913D00;
158 | }
159 |
160 |
161 |
162 |
--------------------------------------------------------------------------------
/shared/SyntaxHighlighter/scripts/shBrushGroovy.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.0.320 (May 03 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | SyntaxHighlighter.brushes.Groovy = function()
31 | {
32 | // Contributed by Andres Almiray
33 | // http://jroller.com/aalmiray/entry/nice_source_code_syntax_highlighter
34 |
35 | var keywords = 'as assert break case catch class continue def default do else extends finally ' +
36 | 'if in implements import instanceof interface new package property return switch ' +
37 | 'throw throws try while public protected private static';
38 | var types = 'void boolean byte char short int long float double';
39 | var constants = 'null';
40 | var methods = 'allProperties count get size '+
41 | 'collect each eachProperty eachPropertyName eachWithIndex find findAll ' +
42 | 'findIndexOf grep inject max min reverseEach sort ' +
43 | 'asImmutable asSynchronized flatten intersect join pop reverse subMap toList ' +
44 | 'padRight padLeft contains eachMatch toCharacter toLong toUrl tokenize ' +
45 | 'eachFile eachFileRecurse eachB yte eachLine readBytes readLine getText ' +
46 | 'splitEachLine withReader append encodeBase64 decodeBase64 filterLine ' +
47 | 'transformChar transformLine withOutputStream withPrintWriter withStream ' +
48 | 'withStreams withWriter withWriterAppend write writeLine '+
49 | 'dump inspect invokeMethod print println step times upto use waitForOrKill '+
50 | 'getText';
51 |
52 | this.regexList = [
53 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
54 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
55 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
56 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
57 | { regex: /""".*"""/g, css: 'string' }, // GStrings
58 | { regex: new RegExp('\\b([\\d]+(\\.[\\d]+)?|0x[a-f0-9]+)\\b', 'gi'), css: 'value' }, // numbers
59 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // goovy keyword
60 | { regex: new RegExp(this.getKeywords(types), 'gm'), css: 'color1' }, // goovy/java type
61 | { regex: new RegExp(this.getKeywords(constants), 'gm'), css: 'constants' }, // constants
62 | { regex: new RegExp(this.getKeywords(methods), 'gm'), css: 'functions' } // methods
63 | ];
64 |
65 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
66 | }
67 |
68 | SyntaxHighlighter.brushes.Groovy.prototype = new SyntaxHighlighter.Highlighter();
69 | SyntaxHighlighter.brushes.Groovy.aliases = ['groovy'];
70 |
--------------------------------------------------------------------------------
/shared/SyntaxHighlighter/scripts/shBrushSql.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.0.320 (May 03 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | SyntaxHighlighter.brushes.Sql = function()
31 | {
32 | var funcs = 'abs avg case cast coalesce convert count current_timestamp ' +
33 | 'current_user day isnull left lower month nullif replace right ' +
34 | 'session_user space substring sum system_user upper user year';
35 |
36 | var keywords = 'absolute action add after alter as asc at authorization begin bigint ' +
37 | 'binary bit by cascade char character check checkpoint close collate ' +
38 | 'column commit committed connect connection constraint contains continue ' +
39 | 'create cube current current_date current_time cursor database date ' +
40 | 'deallocate dec decimal declare default delete desc distinct double drop ' +
41 | 'dynamic else end end-exec escape except exec execute false fetch first ' +
42 | 'float for force foreign forward free from full function global goto grant ' +
43 | 'group grouping having hour ignore index inner insensitive insert instead ' +
44 | 'int integer intersect into is isolation key last level load local max min ' +
45 | 'minute modify move name national nchar next no numeric of off on only ' +
46 | 'open option order out output partial password precision prepare primary ' +
47 | 'prior privileges procedure public read real references relative repeatable ' +
48 | 'restrict return returns revoke rollback rollup rows rule schema scroll ' +
49 | 'second section select sequence serializable set size smallint static ' +
50 | 'statistics table temp temporary then time timestamp to top transaction ' +
51 | 'translation trigger true truncate uncommitted union unique update values ' +
52 | 'varchar varying view when where with work';
53 |
54 | var operators = 'all and any between cross in join like not null or outer some';
55 |
56 | this.regexList = [
57 | { regex: /--(.*)$/gm, css: 'comments' }, // one line and multiline comments
58 | { regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings
59 | { regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // single quoted strings
60 | { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'color2' }, // functions
61 | { regex: new RegExp(this.getKeywords(operators), 'gmi'), css: 'color1' }, // operators and such
62 | { regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
63 | ];
64 | };
65 |
66 | SyntaxHighlighter.brushes.Sql.prototype = new SyntaxHighlighter.Highlighter();
67 | SyntaxHighlighter.brushes.Sql.aliases = ['sql'];
68 |
69 |
--------------------------------------------------------------------------------
/shared/SyntaxHighlighter/scripts/shBrushPerl.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.0.320 (May 03 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | SyntaxHighlighter.brushes.Perl = function()
31 | {
32 | // Contributed by David Simmons-Duffin and Marty Kube
33 |
34 | var funcs =
35 | 'abs accept alarm atan2 bind binmode chdir chmod chomp chop chown chr ' +
36 | 'chroot close closedir connect cos crypt defined delete each endgrent ' +
37 | 'endhostent endnetent endprotoent endpwent endservent eof exec exists ' +
38 | 'exp fcntl fileno flock fork format formline getc getgrent getgrgid ' +
39 | 'getgrnam gethostbyaddr gethostbyname gethostent getlogin getnetbyaddr ' +
40 | 'getnetbyname getnetent getpeername getpgrp getppid getpriority ' +
41 | 'getprotobyname getprotobynumber getprotoent getpwent getpwnam getpwuid ' +
42 | 'getservbyname getservbyport getservent getsockname getsockopt glob ' +
43 | 'gmtime grep hex index int ioctl join keys kill lc lcfirst length link ' +
44 | 'listen localtime lock log lstat map mkdir msgctl msgget msgrcv msgsnd ' +
45 | 'oct open opendir ord pack pipe pop pos print printf prototype push ' +
46 | 'quotemeta rand read readdir readline readlink readpipe recv rename ' +
47 | 'reset reverse rewinddir rindex rmdir scalar seek seekdir select semctl ' +
48 | 'semget semop send setgrent sethostent setnetent setpgrp setpriority ' +
49 | 'setprotoent setpwent setservent setsockopt shift shmctl shmget shmread ' +
50 | 'shmwrite shutdown sin sleep socket socketpair sort splice split sprintf ' +
51 | 'sqrt srand stat study substr symlink syscall sysopen sysread sysseek ' +
52 | 'system syswrite tell telldir time times tr truncate uc ucfirst umask ' +
53 | 'undef unlink unpack unshift utime values vec wait waitpid warn write';
54 |
55 | var keywords =
56 | 'bless caller continue dbmclose dbmopen die do dump else elsif eval exit ' +
57 | 'for foreach goto if import last local my next no our package redo ref ' +
58 | 'require return sub tie tied unless untie until use wantarray while';
59 |
60 | this.regexList = [
61 | { regex: new RegExp('#[^!].*$', 'gm'), css: 'comments' },
62 | { regex: new RegExp('^\\s*#!.*$', 'gm'), css: 'preprocessor' }, // shebang
63 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
64 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
65 | { regex: new RegExp('(\\$|@|%)\\w+', 'g'), css: 'variable' },
66 | { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' },
67 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
68 | ];
69 |
70 | this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags);
71 | }
72 |
73 | SyntaxHighlighter.brushes.Perl.prototype = new SyntaxHighlighter.Highlighter();
74 | SyntaxHighlighter.brushes.Perl.aliases = ['perl', 'Perl', 'pl'];
--------------------------------------------------------------------------------
/unit/qunit.css:
--------------------------------------------------------------------------------
1 |
2 | body {
3 | font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
4 | }
5 |
6 | h3,
7 | p,
8 | #qunit-userAgent,
9 | #qunit-banner,
10 | ol {
11 | margin: 0;
12 | padding: 0;
13 | }
14 |
15 | li {
16 | list-style-position: inside;
17 | }
18 |
19 | #qunit-tests {
20 | font-size: smaller;
21 | /* IE6/7 seem to have trouble displaying an OL with no LI children */
22 | #border-bottom: 1px solid #fff;
23 | #margin-bottom: -1px;
24 | }
25 |
26 | #qunit-tests li {
27 | padding: 0.4em 2.5em;
28 | border-bottom: 1px solid #fff;
29 | font-size: small;
30 | }
31 |
32 | #qunit-tests li ol {
33 | margin-top: 0.5em;
34 | padding: 0.5em;
35 | background-color: #fff;
36 | -moz-box-shadow: inset 0px 1px 8px #ccc;
37 | -webkit-box-shadow: inset 0px 1px 8px #ccc;
38 | box-shadow: inset 0px 1px 8px #ccc;
39 | }
40 |
41 | #qunit-tests li ol,
42 | #qunit-header,
43 | #qunit-testresult {
44 | -moz-border-radius: 10px;
45 | -webkit-border-radius: 10px;
46 | border-radius: 10px;
47 | }
48 |
49 | #qunit-tests li li {
50 | border-bottom: none;
51 | margin: 0.5em;
52 | background-color: #fff;
53 | list-style-position: inside;
54 | padding: 0.4em 0.5em;
55 | }
56 |
57 | #qunit-tests li li.pass {
58 | border-left: 26px solid #0a0;
59 | background-color: #fff;
60 | color: #0a0;
61 | }
62 |
63 | #qunit-tests li li.fail {
64 | border-left: 26px solid #f00;
65 | background-color: #fff;
66 | color: #f00;
67 | }
68 |
69 | #qunit-tests li.pass,
70 | h3,
71 | p {
72 | color: #913D00;
73 | background-color: #FDEBDC;
74 | }
75 |
76 | h3,
77 | p {
78 | font-size: small;
79 | padding: 0.4em 0.5em 0.4em 2.5em;
80 | border-bottom: 1px solid #fff;
81 | }
82 |
83 | h3 a,
84 | p a {
85 | color: #FF7F00;
86 | }
87 |
88 | h3 a:hover,
89 | p a:hover {
90 | color: #000;
91 | }
92 |
93 | #qunit-tests li.fail {
94 | background-color: #f99;
95 | color: #000;
96 | }
97 |
98 | #qunit-tests li strong {
99 | cursor: pointer;
100 | }
101 |
102 | #qunit-header {
103 | color: #fff;
104 | background-color: #FF7F00;
105 | margin: 0;
106 | padding: 0.5em 2em;
107 | -moz-border-radius-bottomright: 0;
108 | -moz-border-radius-bottomleft: 0;
109 | -webkit-border-bottom-right-radius: 0;
110 | -webkit-border-bottom-left-radius: 0;
111 | border-bottom-right-radius: 0;
112 | border-bottom-left-radius: 0;
113 | }
114 |
115 | #qunit-header h1 {
116 | float: left;
117 | margin: 0;
118 | padding: 0;
119 | line-height: 2em;
120 | font-size: x-large;
121 | }
122 |
123 | #qunit-header small {
124 | float: right;
125 | font-weight: 700;
126 | line-height: 3.5em;
127 | }
128 |
129 | #qunit-header a {
130 | color: #fff;
131 | }
132 |
133 | #qunit-header a:hover {
134 | color: #000;
135 | }
136 |
137 | /* Added span inside #qunit-banner to work around IE6 #id.class bug */
138 | #qunit-banner span {
139 | display: block;
140 | height: 5px;
141 | _overflow: hidden;
142 | }
143 |
144 | #qunit-banner.qunit-pass span {
145 | background-color: #0a0;
146 | }
147 |
148 | #qunit-banner.qunit-fail span,
149 | #qunit-testrunner-toolbar {
150 | background-color: #f99;
151 | }
152 |
153 | #qunit-testrunner-toolbar {
154 | padding: 0;
155 | /*width: 80%;*/
156 | padding: 0em 0 0.5em 2em;
157 | font-size: small;
158 | }
159 |
160 | #qunit-userAgent {
161 | background-color: #913D00;
162 | color: #fff;
163 | font-size: small;
164 | padding: 0.5em 0 0.5em 2.5em;
165 | }
166 |
167 | #qunit-testresult {
168 | margin: 0;
169 | font-size: small;
170 | color: #913D00;
171 | background-color: #FDEBDC;
172 | padding: 0.5em 0.5em 0.5em 2.5em;
173 | -moz-border-radius-topright: 0;
174 | -moz-border-radius-topleft: 0;
175 | -webkit-border-top-right-radius: 0;
176 | -webkit-border-top-left-radius: 0;
177 | border-top-right-radius: 0;
178 | border-top-left-radius: 0;
179 | }
180 |
181 | strong b.fail {
182 | color: #f00;
183 | }
184 |
185 | strong b.pass {
186 | color: #0a0;
187 | }
188 |
--------------------------------------------------------------------------------
/examples/nextuntil/index.php:
--------------------------------------------------------------------------------
1 |
15 | $(function(){
16 |
17 | // Example 1: From .a, select all next sibling elements until .f
18 | $('#ex1 .a').nextUntil('.f').addClass('selected');
19 |
20 | });
21 |
22 | $shell['script1'] = ob_get_contents();
23 | ob_end_clean();
24 |
25 | ob_start();
26 | ?>
27 | $(function(){
28 |
29 | // Example 2: From .a, select all next sibling 'p' elements until .f
30 | $('#ex2 .a').nextUntil('.f', 'p').addClass('selected');
31 |
32 | });
33 |
34 | $shell['script2'] = ob_get_contents();
35 | ob_end_clean();
36 |
37 | // ========================================================================== //
38 | // HTML HEAD ADDITIONAL
39 | // ========================================================================== //
40 |
41 | ob_start();
42 | ?>
43 |
44 |
57 |
85 |
86 | $shell['html_head'] = ob_get_contents();
87 | ob_end_clean();
88 |
89 | // ========================================================================== //
90 | // HTML BODY
91 | // ========================================================================== //
92 |
93 | ob_start();
94 | ?>
95 | = $shell['donate'] ?>
96 |
97 |
98 | With jQuery Untils you easily
99 | traverse forward along next siblings, backwards along previous siblings, and upwards along parents,
100 | selecting all elements (or just elements that match an optional selector).
101 |
102 |
103 |
A simple nextUntil example, with an "until" selector
98 | With jQuery Untils you easily
99 | traverse forward along next siblings, backwards along previous siblings, and upwards along parents,
100 | selecting all elements (or just elements that match an optional selector).
101 |
102 |
103 |
A simple prevUntil example, with an "until" selector
34 |
35 |
36 |
--------------------------------------------------------------------------------
/shared/SyntaxHighlighter/scripts/shBrushPowerShell.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.0.320 (May 03 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | SyntaxHighlighter.brushes.PowerShell = function()
31 | {
32 | // Contributes by B.v.Zanten, Getronics
33 | // http://confluence.atlassian.com/display/CONFEXT/New+Code+Macro
34 |
35 | var keywords = 'Add-Content Add-History Add-Member Add-PSSnapin Clear(-Content)? Clear-Item ' +
36 | 'Clear-ItemProperty Clear-Variable Compare-Object ConvertFrom-SecureString Convert-Path ' +
37 | 'ConvertTo-Html ConvertTo-SecureString Copy(-Item)? Copy-ItemProperty Export-Alias ' +
38 | 'Export-Clixml Export-Console Export-Csv ForEach(-Object)? Format-Custom Format-List ' +
39 | 'Format-Table Format-Wide Get-Acl Get-Alias Get-AuthenticodeSignature Get-ChildItem Get-Command ' +
40 | 'Get-Content Get-Credential Get-Culture Get-Date Get-EventLog Get-ExecutionPolicy ' +
41 | 'Get-Help Get-History Get-Host Get-Item Get-ItemProperty Get-Location Get-Member ' +
42 | 'Get-PfxCertificate Get-Process Get-PSDrive Get-PSProvider Get-PSSnapin Get-Service ' +
43 | 'Get-TraceSource Get-UICulture Get-Unique Get-Variable Get-WmiObject Group-Object ' +
44 | 'Import-Alias Import-Clixml Import-Csv Invoke-Expression Invoke-History Invoke-Item ' +
45 | 'Join-Path Measure-Command Measure-Object Move(-Item)? Move-ItemProperty New-Alias ' +
46 | 'New-Item New-ItemProperty New-Object New-PSDrive New-Service New-TimeSpan ' +
47 | 'New-Variable Out-Default Out-File Out-Host Out-Null Out-Printer Out-String Pop-Location ' +
48 | 'Push-Location Read-Host Remove-Item Remove-ItemProperty Remove-PSDrive Remove-PSSnapin ' +
49 | 'Remove-Variable Rename-Item Rename-ItemProperty Resolve-Path Restart-Service Resume-Service ' +
50 | 'Select-Object Select-String Set-Acl Set-Alias Set-AuthenticodeSignature Set-Content ' +
51 | 'Set-Date Set-ExecutionPolicy Set-Item Set-ItemProperty Set-Location Set-PSDebug ' +
52 | 'Set-Service Set-TraceSource Set(-Variable)? Sort-Object Split-Path Start-Service ' +
53 | 'Start-Sleep Start-Transcript Stop-Process Stop-Service Stop-Transcript Suspend-Service ' +
54 | 'Tee-Object Test-Path Trace-Command Update-FormatData Update-TypeData Where(-Object)? ' +
55 | 'Write-Debug Write-Error Write(-Host)? Write-Output Write-Progress Write-Verbose Write-Warning';
56 | var alias = 'ac asnp clc cli clp clv cpi cpp cvpa diff epal epcsv fc fl ' +
57 | 'ft fw gal gc gci gcm gdr ghy gi gl gm gp gps group gsv ' +
58 | 'gsnp gu gv gwmi iex ihy ii ipal ipcsv mi mp nal ndr ni nv oh rdr ' +
59 | 'ri rni rnp rp rsnp rv rvpa sal sasv sc select si sl sleep sort sp ' +
60 | 'spps spsv sv tee cat cd cp h history kill lp ls ' +
61 | 'mount mv popd ps pushd pwd r rm rmdir echo cls chdir del dir ' +
62 | 'erase rd ren type % \\?';
63 |
64 | this.regexList = [
65 | { regex: /#.*$/gm, css: 'comments' }, // one line comments
66 | { regex: /\$[a-zA-Z0-9]+\b/g, css: 'value' }, // variables $Computer1
67 | { regex: /\-[a-zA-Z]+\b/g, css: 'keyword' }, // Operators -not -and -eq
68 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
69 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
70 | { regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' },
71 | { regex: new RegExp(this.getKeywords(alias), 'gmi'), css: 'keyword' }
72 | ];
73 | };
74 |
75 | SyntaxHighlighter.brushes.PowerShell.prototype = new SyntaxHighlighter.Highlighter();
76 | SyntaxHighlighter.brushes.PowerShell.aliases = ['powershell', 'ps'];
77 |
--------------------------------------------------------------------------------
/examples/parentsuntil/index.php:
--------------------------------------------------------------------------------
1 |
15 | $(function(){
16 |
17 | // Example 1: From .f, select all parent elements until .a
18 | $('#ex1 .f').parentsUntil('.a').addClass('selected');
19 |
20 | });
21 |
22 | $shell['script1'] = ob_get_contents();
23 | ob_end_clean();
24 |
25 | ob_start();
26 | ?>
27 | $(function(){
28 |
29 | // Example 2: From .f, select all parent 'div' elements until .a
30 | $('#ex2 .f').parentsUntil('.a', 'div').addClass('selected');
31 |
32 | });
33 |
34 | $shell['script2'] = ob_get_contents();
35 | ob_end_clean();
36 |
37 | // ========================================================================== //
38 | // HTML HEAD ADDITIONAL
39 | // ========================================================================== //
40 |
41 | ob_start();
42 | ?>
43 |
44 |
57 |
90 |
91 | $shell['html_head'] = ob_get_contents();
92 | ob_end_clean();
93 |
94 | // ========================================================================== //
95 | // HTML BODY
96 | // ========================================================================== //
97 |
98 | ob_start();
99 | ?>
100 | = $shell['donate'] ?>
101 |
102 |
103 | With jQuery Untils you easily
104 | traverse forward along next siblings, backwards along previous siblings, and upwards along parents,
105 | selecting all elements (or just elements that match an optional selector).
106 |
107 |
108 |
A simple parentsUntil example, with an "until" selector
109 |
110 |
111 |
112 | Div with a class of "a"
113 |
114 | Div with a class of "b"
115 |
116 | Div with a class of "c"
117 |
118 | Span with a class of "d"
119 |
120 | Span with a class of "e"
121 |
122 | Span with a class of "f"
123 |
124 |
125 |
126 |
A more complex parentsUntil example, with both an "until" and "each" selector
140 |
141 |
142 |
143 | Div with a class of "a"
144 |
145 | Div with a class of "b"
146 |
147 | Div with a class of "c"
148 |
149 | Span with a class of "d"
150 |
151 | Span with a class of "e"
152 |
153 | Span with a class of "f"
154 |
155 |
156 |
157 |
From the selected element(s), get all (or selected) next sibling elements until an “ending” element is reached.
33 |
34 |
35 |
36 |
From the selected element(s), get all (or selected) parent elements until an “ending” element is reached.
From the selected element(s), get all (or selected) previous sibling elements until an “ending” element is reached.
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
Information about what version or versions of jQuery this plugin has been tested with, what browsers it has been tested in, and where the unit tests reside (so you can test it yourself).
58 |
59 |
60 |
--------------------------------------------------------------------------------
/unit/unit.js:
--------------------------------------------------------------------------------
1 | // Not sure why this isn't set by default in qunit.js..
2 | QUnit.jsDump.HTML = false;
3 |
4 | $(function(){ // START CLOSURE
5 |
6 | $('#jq_version').html( $.fn.jquery );
7 |
8 | test( "$.fn.nextUntil", function() {
9 | expect(19);
10 |
11 | var next = $("#foo1").next(),
12 | next_all = $("#foo1").nextAll(),
13 | all_but_last = next_all.not(":last"),
14 | next_all2 = $("#bar1").nextAll(),
15 | all_but_last2 = next_all2.not(":last");
16 |
17 | same( $("#foo1").nextUntil().get(), next_all.get(), "nextUntil with no selector (nextAll)" );
18 | same( $("#foo1").nextUntil(".xxx").get(), next_all.get(), "nextUntil with invalid selector (nextAll)" );
19 | same( $("#foo1").nextUntil("#foo3").get(), next.get(), "Simple nextUntil check" );
20 | same( $("#foo1").nextUntil("#foo8, #foo3").get(), next.get(), "Less simple nextUntil check" );
21 | same( $("#foo1").nextUntil("#foo8").get(), all_but_last.get(), "Simple nextUntil check" );
22 | same( $("#foo1").nextUntil("#foo8", "p").get(), all_but_last.not("span").get(), "Filtered nextUntil check" );
23 | same( $("#foo1").nextUntil("#foo8", "span").get(), all_but_last.not("p").get(), "Filtered nextUntil check" );
24 | same( $("#foo1").nextUntil("#foo8", "p, span").get(), all_but_last.get(), "Multiple-filtered nextUntil check" );
25 | same( $("#foo1").nextUntil("#foo8", "ul").get(), [], "Filtered nextUntil check, no match" );
26 | same( $("#foo1, #foo3").nextUntil("#foo8").get(), all_but_last.get(), "Multi-source, nextUntil check" );
27 | same( $("#foo1, #foo3").nextUntil("#foo8", "span").get(), all_but_last.not("p").get(), "Multi-source, filtered nextUntil check" );
28 | same( $("#foo3, #foo1").nextUntil("#foo8", "p, span").get(), all_but_last.get(), "Multi-source, multiple-filtered nextUntil check" );
29 | same( $("#foo1, #bar1").nextUntil("#foo8").get(), all_but_last.add(next_all2).get(), "Multi-source, nextUntil check" );
30 | same( $("#foo1, #bar1").nextUntil("#foo8").get(), all_but_last.add(next_all2).get(), "Multi-source, nextUntil check" );
31 | same( $("#foo1, #bar1").nextUntil("#foo8, #bar8").get(), all_but_last.add(all_but_last2).get(), "Multi-source, less simple nextUntil check" );
32 | same( $("#bar1, #foo1").nextUntil("#foo8, #bar8", "span").get(), all_but_last.add(all_but_last2).not("p").get(), "Multi-source, less simple filtered nextUntil check" );
33 | same( $("#bar1, #foo1").nextUntil("#foo8, #bar8", "p, span").get(), all_but_last.add(all_but_last2).get(), "Multi-source, less simple multiple-filtered nextUntil check" );
34 | same( $("#baz1").nextUntil(":not(span)", "span").get(), $("#baz span").get(), "Exclusive each and until selectors check" );
35 | same( $("#baz1,#baz2").nextUntil(":not(span)", "span").get(), $("#baz span").get(), "Multi-source, exclusive each and until selectors check" );
36 | });
37 |
38 | test( "$.fn.prevUntil", function() {
39 | expect(19);
40 |
41 | var prev = $("#foo8").prev(),
42 | prev_all = $("#foo8").prevAll(),
43 | all_but_last = prev_all.not(":last"),
44 | prev_all2 = $("#bar8").prevAll(),
45 | all_but_last2 = prev_all2.not(":last");
46 |
47 | same( $("#foo8").prevUntil().get(), prev_all.get(), "prevUntil with no selector (prevAll)" );
48 | same( $("#foo8").prevUntil(".xxx").get(), prev_all.get(), "prevUntil with invalid selector (prevAll)" );
49 | same( $("#foo8").prevUntil("#foo6").get(), prev.get(), "Simple prevUntil check" );
50 | same( $("#foo8").prevUntil("#foo1, #foo6").get(), prev.get(), "Less simple prevUntil check" );
51 | same( $("#foo8").prevUntil("#foo1").get(), all_but_last.get(), "Simple prevUntil check" );
52 | same( $("#foo8").prevUntil("#foo1", "p").get(), all_but_last.not("span").get(), "Filtered prevUntil check" );
53 | same( $("#foo8").prevUntil("#foo1", "span").get(), all_but_last.not("p").get(), "Filtered prevUntil check" );
54 |
55 | same( $("#foo8").prevUntil("#foo1", "p, span").get(), all_but_last.get(), "Multiple-filtered prevUntil check" );
56 |
57 | same( $("#foo8").prevUntil("#foo1", "ul").get(), [], "Filtered prevUntil check, no match" );
58 | same( $("#foo8, #foo6").prevUntil("#foo1").get(), all_but_last.get(), "Multi-source, prevUntil check" );
59 | same( $("#foo8, #foo6").prevUntil("#foo1", "span").get(), all_but_last.not("p").get(), "Multi-source, filtered prevUntil check" );
60 | same( $("#foo6, #foo8").prevUntil("#foo1", "p, span").get(), all_but_last.get(), "Multi-source, multiple-filtered prevUntil check" );
61 | same( $("#foo8, #bar8").prevUntil("#foo1").get(), prev_all2.add(all_but_last).get(), "Multi-source, prevUntil check" );
62 | same( $("#foo8, #bar8").prevUntil("#foo1").get(), prev_all2.add(all_but_last).get(), "Multi-source, prevUntil check" );
63 | same( $("#foo8, #bar8").prevUntil("#foo1, #bar1").get(), all_but_last2.add(all_but_last).get(), "Multi-source, less simple prevUntil check" );
64 | same( $("#bar8, #foo8").prevUntil("#foo1, #bar1", "span").get(), all_but_last2.add(all_but_last).not("p").get(), "Multi-source, less simple filtered prevUntil check" );
65 | same( $("#bar8, #foo8").prevUntil("#foo1, #bar1", "p, span").get(), all_but_last2.add(all_but_last).get(), "Multi-source, less simple multiple-filtered prevUntil check" );
66 | same( $("#baz4").prevUntil(":not(span)", "span").get(), $("#baz span").get().reverse(), "Exclusive each and until selectors check" );
67 | same( $("#baz3,#baz4").prevUntil(":not(span)", "span").get(), $("#baz span").get().reverse(), "Multi-source, exclusive each and until selectors check" );
68 | });
69 |
70 | test( "$.fn.parentsUntil", function() {
71 | expect(17);
72 |
73 | var parent = $("#foo1000").parent(),
74 | parents = $("#foo1000").parents(),
75 | parents_until_body = parents.not('html,body'),
76 | parents2 = $("#bar1000").parents(),
77 | parents_until_body2 = parents2.not('html,body');
78 |
79 | same( $("#foo1000").parentsUntil().get(), parents.get(), "parentsUntil with no selector (parents)" );
80 | same( $("#foo1000").parentsUntil(".xxx").get(), parents.get(), "parentsUntil with invalid selector (parents)" );
81 | same( $("#foo1000").parentsUntil("#foo10").get(), parent.get(), "Simple parentsUntil check" );
82 | same( $("#foo1000").parentsUntil("#foo, #foo10").get(), parent.get(), "Less simple parentsUntil check" );
83 | same( $("#foo1000").parentsUntil("body").get(), parents_until_body.get(), "Simple parentsUntil check" );
84 | same( $("#foo1000").parentsUntil("body", "p").get(), parents_until_body.not("span, em, div").get(), "Filtered parentsUntil check" );
85 | same( $("#foo1000").parentsUntil("body", "span").get(), parents_until_body.not("p, em, div").get(), "Filtered parentsUntil check" );
86 | same( $("#foo1000").parentsUntil("body", "p, span, em, div").get(), parents_until_body.get(), "Multiple-filtered parentsUntil check" );
87 | same( $("#foo1000").parentsUntil("body", "ul").get(), [], "Filtered parentsUntil check, no match" );
88 | same( $("#foo1000, #foo10").parentsUntil("body").get(), parents_until_body.get(), "Multi-source, parentsUntil check" );
89 | same( $("#foo1000, #foo10").parentsUntil("body", "span").get(), parents_until_body.not("p, em, div").get(), "Multi-source, filtered parentsUntil check" );
90 | same( $("#foo10, #foo1000").parentsUntil("body", "p, span, em, div").get(), parents_until_body.get(), "Multi-source, multiple-filtered parentsUntil check" );
91 | same( $("#foo1000, #bar1000").parentsUntil("body").get(), parents_until_body2.add(parents_until_body).get(), "Multi-source, parentsUntil check" );
92 | same( $("#foo1000, #bar1000").parentsUntil("body").get(), parents_until_body2.add(parents_until_body).get(), "Multi-source, parentsUntil check" );
93 |
94 | same( $("#foo1000, #bar1000").parentsUntil("body, html").get(), parents_until_body2.add(parents_until_body).get(), "Multi-source, less simple parentsUntil check" );
95 | same( $("#bar1000, #foo1000").parentsUntil("body, html", "span").get(), parents_until_body2.add(parents_until_body).not("p, em, div").get(), "Multi-source, less simple filtered parentsUntil check" );
96 | same( $("#bar1000, #foo1000").parentsUntil("body, html", "p, span, em, div").get(), parents_until_body2.add(parents_until_body).get(), "Multi-source, less simple multiple-filtered parentsUntil check" );
97 | });
98 |
99 | }); // END CLOSURE
--------------------------------------------------------------------------------
/shared/SyntaxHighlighter/LGPLv3.txt:
--------------------------------------------------------------------------------
1 | GNU LESSER GENERAL PUBLIC LICENSE
2 | Version 3, 29 June 2007
3 |
4 | Copyright (C) 2007 Free Software Foundation, Inc.
5 | Everyone is permitted to copy and distribute verbatim copies
6 | of this license document, but changing it is not allowed.
7 |
8 |
9 | This version of the GNU Lesser General Public License incorporates
10 | the terms and conditions of version 3 of the GNU General Public
11 | License, supplemented by the additional permissions listed below.
12 |
13 | 0. Additional Definitions.
14 |
15 | As used herein, "this License" refers to version 3 of the GNU Lesser
16 | General Public License, and the "GNU GPL" refers to version 3 of the GNU
17 | General Public License.
18 |
19 | "The Library" refers to a covered work governed by this License,
20 | other than an Application or a Combined Work as defined below.
21 |
22 | An "Application" is any work that makes use of an interface provided
23 | by the Library, but which is not otherwise based on the Library.
24 | Defining a subclass of a class defined by the Library is deemed a mode
25 | of using an interface provided by the Library.
26 |
27 | A "Combined Work" is a work produced by combining or linking an
28 | Application with the Library. The particular version of the Library
29 | with which the Combined Work was made is also called the "Linked
30 | Version".
31 |
32 | The "Minimal Corresponding Source" for a Combined Work means the
33 | Corresponding Source for the Combined Work, excluding any source code
34 | for portions of the Combined Work that, considered in isolation, are
35 | based on the Application, and not on the Linked Version.
36 |
37 | The "Corresponding Application Code" for a Combined Work means the
38 | object code and/or source code for the Application, including any data
39 | and utility programs needed for reproducing the Combined Work from the
40 | Application, but excluding the System Libraries of the Combined Work.
41 |
42 | 1. Exception to Section 3 of the GNU GPL.
43 |
44 | You may convey a covered work under sections 3 and 4 of this License
45 | without being bound by section 3 of the GNU GPL.
46 |
47 | 2. Conveying Modified Versions.
48 |
49 | If you modify a copy of the Library, and, in your modifications, a
50 | facility refers to a function or data to be supplied by an Application
51 | that uses the facility (other than as an argument passed when the
52 | facility is invoked), then you may convey a copy of the modified
53 | version:
54 |
55 | a) under this License, provided that you make a good faith effort to
56 | ensure that, in the event an Application does not supply the
57 | function or data, the facility still operates, and performs
58 | whatever part of its purpose remains meaningful, or
59 |
60 | b) under the GNU GPL, with none of the additional permissions of
61 | this License applicable to that copy.
62 |
63 | 3. Object Code Incorporating Material from Library Header Files.
64 |
65 | The object code form of an Application may incorporate material from
66 | a header file that is part of the Library. You may convey such object
67 | code under terms of your choice, provided that, if the incorporated
68 | material is not limited to numerical parameters, data structure
69 | layouts and accessors, or small macros, inline functions and templates
70 | (ten or fewer lines in length), you do both of the following:
71 |
72 | a) Give prominent notice with each copy of the object code that the
73 | Library is used in it and that the Library and its use are
74 | covered by this License.
75 |
76 | b) Accompany the object code with a copy of the GNU GPL and this license
77 | document.
78 |
79 | 4. Combined Works.
80 |
81 | You may convey a Combined Work under terms of your choice that,
82 | taken together, effectively do not restrict modification of the
83 | portions of the Library contained in the Combined Work and reverse
84 | engineering for debugging such modifications, if you also do each of
85 | the following:
86 |
87 | a) Give prominent notice with each copy of the Combined Work that
88 | the Library is used in it and that the Library and its use are
89 | covered by this License.
90 |
91 | b) Accompany the Combined Work with a copy of the GNU GPL and this license
92 | document.
93 |
94 | c) For a Combined Work that displays copyright notices during
95 | execution, include the copyright notice for the Library among
96 | these notices, as well as a reference directing the user to the
97 | copies of the GNU GPL and this license document.
98 |
99 | d) Do one of the following:
100 |
101 | 0) Convey the Minimal Corresponding Source under the terms of this
102 | License, and the Corresponding Application Code in a form
103 | suitable for, and under terms that permit, the user to
104 | recombine or relink the Application with a modified version of
105 | the Linked Version to produce a modified Combined Work, in the
106 | manner specified by section 6 of the GNU GPL for conveying
107 | Corresponding Source.
108 |
109 | 1) Use a suitable shared library mechanism for linking with the
110 | Library. A suitable mechanism is one that (a) uses at run time
111 | a copy of the Library already present on the user's computer
112 | system, and (b) will operate properly with a modified version
113 | of the Library that is interface-compatible with the Linked
114 | Version.
115 |
116 | e) Provide Installation Information, but only if you would otherwise
117 | be required to provide such information under section 6 of the
118 | GNU GPL, and only to the extent that such information is
119 | necessary to install and execute a modified version of the
120 | Combined Work produced by recombining or relinking the
121 | Application with a modified version of the Linked Version. (If
122 | you use option 4d0, the Installation Information must accompany
123 | the Minimal Corresponding Source and Corresponding Application
124 | Code. If you use option 4d1, you must provide the Installation
125 | Information in the manner specified by section 6 of the GNU GPL
126 | for conveying Corresponding Source.)
127 |
128 | 5. Combined Libraries.
129 |
130 | You may place library facilities that are a work based on the
131 | Library side by side in a single library together with other library
132 | facilities that are not Applications and are not covered by this
133 | License, and convey such a combined library under terms of your
134 | choice, if you do both of the following:
135 |
136 | a) Accompany the combined library with a copy of the same work based
137 | on the Library, uncombined with any other library facilities,
138 | conveyed under the terms of this License.
139 |
140 | b) Give prominent notice with the combined library that part of it
141 | is a work based on the Library, and explaining where to find the
142 | accompanying uncombined form of the same work.
143 |
144 | 6. Revised Versions of the GNU Lesser General Public License.
145 |
146 | The Free Software Foundation may publish revised and/or new versions
147 | of the GNU Lesser General Public License from time to time. Such new
148 | versions will be similar in spirit to the present version, but may
149 | differ in detail to address new problems or concerns.
150 |
151 | Each version is given a distinguishing version number. If the
152 | Library as you received it specifies that a certain numbered version
153 | of the GNU Lesser General Public License "or any later version"
154 | applies to it, you have the option of following the terms and
155 | conditions either of that published version or of any later version
156 | published by the Free Software Foundation. If the Library as you
157 | received it does not specify a version number of the GNU Lesser
158 | General Public License, you may choose any version of the GNU Lesser
159 | General Public License ever published by the Free Software Foundation.
160 |
161 | If the Library as you received it specifies that a proxy can decide
162 | whether future versions of the GNU Lesser General Public License shall
163 | apply, that proxy's public statement of acceptance of any version is
164 | permanent authorization for you to choose that version for the
165 | Library.
--------------------------------------------------------------------------------