servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ericjohn...@apache.org
Subject svn commit: r1026521 [3/5] - in /servicemix/sandbox/website20: ./ src/ src/main/ src/main/resources/ src/main/scala/ src/main/scala/scalate/ src/main/webapp/ src/main/webapp/WEB-INF/ src/main/webapp/WEB-INF/scalate/ src/main/webapp/WEB-INF/scalate/layo...
Date Fri, 22 Oct 2010 22:45:14 GMT
Added: servicemix/sandbox/website20/src/main/webapp/highlight/languages/html-xml.js
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/languages/html-xml.js?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/languages/html-xml.js (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/languages/html-xml.js Fri Oct 22 22:45:11 2010
@@ -0,0 +1,140 @@
+/*
+Language: HTML, XML
+*/
+
+hljs.XML_COMMENT = {
+  className: 'comment',
+  begin: '<!--', end: '-->'
+};
+hljs.XML_ATTR = {
+  className: 'attribute',
+  begin: '\\s[A-Za-z0-9\\._:-]+=', end: '^',
+  contains: ['value']
+};
+hljs.XML_VALUE_QUOT = {
+  className: 'value',
+  begin: '"', end: '"'
+};
+hljs.XML_VALUE_APOS = {
+  className: 'value',
+  begin: '\'', end: '\''
+};
+
+
+hljs.LANGUAGES.xml = {
+  defaultMode: {
+    contains: ['pi', 'comment', 'cdata', 'tag']
+  },
+  case_insensitive: true,
+  modes: [
+    {
+      className: 'pi',
+      begin: '<\\?', end: '\\?>',
+      relevance: 10
+    },
+    hljs.XML_COMMENT,
+    {
+      className: 'cdata',
+      begin: '<\\!\\[CDATA\\[', end: '\\]\\]>'
+    },
+    {
+      className: 'tag',
+      begin: '</?', end: '>',
+      contains: ['title', 'tag_internal'],
+      relevance: 1.5
+    },
+    {
+      className: 'title',
+      begin: '[A-Za-z0-9\\._:-]+', end: '^',
+      relevance: 0
+    },
+    {
+      className: 'tag_internal',
+      begin: '^', endsWithParent: true, noMarkup: true,
+      contains: ['attribute'],
+      relevance: 0,
+      illegal: '[\\+\\.]'
+    },
+    hljs.XML_ATTR,
+    hljs.XML_VALUE_QUOT,
+    hljs.XML_VALUE_APOS
+  ]
+};
+
+hljs.HTML_TAGS = {'code': 1, 'kbd': 1, 'font': 1, 'noscript': 1, 'style': 1, 'img': 1, 'title': 1, 'menu': 1, 'tt': 1, 'tr': 1, 'param': 1, 'li': 1, 'tfoot': 1, 'th': 1, 'input': 1, 'td': 1, 'dl': 1, 'blockquote': 1, 'fieldset': 1, 'big': 1, 'dd': 1, 'abbr': 1, 'optgroup': 1, 'dt': 1, 'button': 1, 'isindex': 1, 'p': 1, 'small': 1, 'div': 1, 'dir': 1, 'em': 1, 'frame': 1, 'meta': 1, 'sub': 1, 'bdo': 1, 'label': 1, 'acronym': 1, 'sup': 1, 'body': 1, 'xml': 1, 'basefont': 1, 'base': 1, 'br': 1, 'address': 1, 'strong': 1, 'legend': 1, 'ol': 1, 'script': 1, 'caption': 1, 's': 1, 'col': 1, 'h2': 1, 'h3': 1, 'h1': 1, 'h6': 1, 'h4': 1, 'h5': 1, 'table': 1, 'select': 1, 'noframes': 1, 'span': 1, 'area': 1, 'dfn': 1, 'strike': 1, 'cite': 1, 'thead': 1, 'head': 1, 'option': 1, 'form': 1, 'hr': 1, 'var': 1, 'link': 1, 'b': 1, 'colgroup': 1, 'ul': 1, 'applet': 1, 'del': 1, 'iframe': 1, 'pre': 1, 'frameset': 1, 'ins': 1, 'tbody': 1, 'html': 1, 'samp': 1, 'map': 1, 'object': 1, 'a': 1, 'xm
 lns': 1, 'center': 1, 'textarea': 1, 'i': 1, 'q': 1, 'u': 1};
+hljs.HTML_DOCTYPE = {
+  className: 'doctype',
+  begin: '<!DOCTYPE', end: '>',
+  relevance: 10
+};
+hljs.HTML_ATTR = {
+  className: 'attribute',
+  begin: '\\s[a-zA-Z\\:_-]+=', end: '^',
+  contains: ['value']
+};
+hljs.HTML_SHORT_ATTR = {
+  className: 'attribute',
+  begin: ' [a-zA-Z]+', end: '^'
+};
+hljs.HTML_VALUE = {
+  className: 'value',
+  begin: '[a-zA-Z0-9]+', end: '^'
+};
+
+hljs.LANGUAGES.html = {
+  defaultMode: {
+    contains: ['tag', 'comment', 'doctype', 'vbscript']
+  },
+  case_insensitive: true,
+  modes: [
+    hljs.XML_COMMENT,
+    hljs.HTML_DOCTYPE,
+    {
+      className: 'tag',
+      lexems: [hljs.IDENT_RE],
+      keywords: hljs.HTML_TAGS,
+      begin: '<style', end: '>',
+      contains: ['attribute'],
+      illegal: '[\\+\\.]',
+      starts: 'css'
+    },
+    {
+      className: 'tag',
+      lexems: [hljs.IDENT_RE],
+      keywords: hljs.HTML_TAGS,
+      begin: '<script', end: '>',
+      contains: ['attribute'],
+      illegal: '[\\+\\.]',
+      starts: 'javascript'
+    },
+    {
+      className: 'tag',
+      lexems: [hljs.IDENT_RE],
+      keywords: hljs.HTML_TAGS,
+      begin: '<[A-Za-z/]', end: '>',
+      contains: ['attribute'],
+      illegal: '[\\+\\.]'
+    },
+    {
+      className: 'css',
+      end: '</style>', returnEnd: true,
+      subLanguage: 'css'
+    },
+    {
+      className: 'javascript',
+      end: '</script>', returnEnd: true,
+      subLanguage: 'javascript'
+    },
+    hljs.HTML_ATTR,
+    hljs.HTML_SHORT_ATTR,
+    hljs.XML_VALUE_QUOT,
+    hljs.XML_VALUE_APOS,
+    hljs.HTML_VALUE,
+    {
+      className: 'vbscript',
+      begin: '<%', end: '%>',
+      subLanguage: 'vbscript'
+    }
+  ]
+};
+

Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/languages/html-xml.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: servicemix/sandbox/website20/src/main/webapp/highlight/languages/ini.js
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/languages/ini.js?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/languages/ini.js (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/languages/ini.js Fri Oct 22 22:45:11 2010
@@ -0,0 +1,40 @@
+/*
+Language: Ini
+*/
+
+hljs.LANGUAGES.ini =
+{
+  case_insensitive: true,
+  defaultMode: {
+    contains: ['comment', 'title', 'setting'],
+    illegal: '[^\\s]'
+  },
+  modes: [
+    {
+      className: 'comment',
+      begin: ';', end: '$'
+    },
+    {
+      className: 'title',
+      begin: '\\[', end: '\\]'
+    },
+    {
+      className: 'setting',
+      begin: '^[a-z0-9_\\[\\]]+[ \\t]*=[ \\t]*', end: '$',
+      contains: ['value']
+    },
+    {
+      className: 'value',
+      begin: '^', endsWithParent: true,
+      contains: ['string', 'number'],
+      lexems: [hljs.IDENT_RE],
+      keywords: {'on': 1, 'off': 1, 'true': 1, 'false': 1, 'yes': 1, 'no': 1}
+    },
+    hljs.QUOTE_STRING_MODE,
+    hljs.BACKSLASH_ESCAPE,
+    {
+      className: 'number',
+      begin: '\\d+', end: '^'
+    }
+  ]
+};

Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/languages/ini.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: servicemix/sandbox/website20/src/main/webapp/highlight/languages/java.js
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/languages/java.js?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/languages/java.js (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/languages/java.js Fri Oct 22 22:45:11 2010
@@ -0,0 +1,58 @@
+/*
+Language: Java
+Author: Vsevolod Solovyov <vsevolod.solovyov@gmail.com>
+*/
+
+hljs.LANGUAGES.java  = {
+  defaultMode: {
+    lexems: [hljs.UNDERSCORE_IDENT_RE],
+    contains: ['javadoc', 'comment', 'string', 'class', 'number', 'annotation'],
+    keywords: {'false': 1, 'synchronized': 1, 'int': 1, 'abstract': 1, 'float': 1, 'private': 1, 'char': 1, 'interface': 1, 'boolean': 1, 'static': 1, 'null': 1, 'if': 1, 'const': 1, 'for': 1, 'true': 1, 'while': 1, 'long': 1, 'throw': 1, 'strictfp': 1, 'finally': 1, 'protected': 1, 'extends': 1, 'import': 1, 'native': 1, 'final': 1, 'implements': 1, 'return': 1, 'void': 1, 'enum': 1, 'else': 1, 'break': 1, 'transient': 1, 'new': 1, 'catch': 1, 'instanceof': 1, 'byte': 1, 'super': 1, 'class': 1, 'volatile': 1, 'case': 1, 'assert': 1, 'short': 1, 'package': 1, 'default': 1, 'double': 1, 'public': 1, 'try': 1, 'this': 1, 'switch': 1, 'continue': 1, 'throws': 1}
+  },
+  modes: [
+    {
+      className: 'class',
+      lexems: [hljs.UNDERSCORE_IDENT_RE],
+      begin: '(class |interface )', end: '{',
+      illegal: ':',
+      keywords: {'class': 1, 'interface': 1},
+      contains: ['inheritance', 'title']
+    },
+    {
+      className: 'inheritance',
+      begin: '(implements|extends)', end: '^', noMarkup: true,
+      lexems: [hljs.IDENT_RE],
+      keywords: {'extends': 1, 'implements': 1},
+      relevance: 10
+    },
+    {
+      className: 'title',
+      begin: hljs.UNDERSCORE_IDENT_RE, end: '^'
+    },
+    {
+      className: 'params',
+      begin: '\\(', end: '\\)',
+      contains: ['string', 'annotation']
+    },
+    hljs.C_NUMBER_MODE,
+    hljs.APOS_STRING_MODE,
+    hljs.QUOTE_STRING_MODE,
+    hljs.BACKSLASH_ESCAPE,
+    hljs.C_LINE_COMMENT_MODE,
+    {
+      className: 'javadoc',
+      begin: '/\\*\\*', end: '\\*/',
+      contains: ['javadoctag'],
+      relevance: 10
+    },
+    {
+      className: 'javadoctag',
+      begin: '@[A-Za-z]+', end: '^'
+    },
+    hljs.C_BLOCK_COMMENT_MODE,
+    {
+      className: 'annotation',
+      begin: '@[A-Za-z]+', end: '^'
+    }
+  ]
+};

Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/languages/java.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: servicemix/sandbox/website20/src/main/webapp/highlight/languages/javascript.js
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/languages/javascript.js?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/languages/javascript.js (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/languages/javascript.js Fri Oct 22 22:45:11 2010
@@ -0,0 +1,50 @@
+/*
+Language: Javascript
+*/
+
+hljs.LANGUAGES.javascript = {
+  defaultMode: {
+    lexems: [hljs.UNDERSCORE_IDENT_RE],
+    contains: ['string', 'comment', 'number', 'regexp_container', 'function'],
+    keywords: {
+      'keyword': {'in': 1, 'if': 1, 'for': 1, 'while': 1, 'finally': 1, 'var': 1, 'new': 1, 'function': 1, 'do': 1, 'return': 1, 'void': 1, 'else': 1, 'break': 1, 'catch': 1, 'instanceof': 1, 'with': 1, 'throw': 1, 'case': 1, 'default': 1, 'try': 1, 'this': 1, 'switch': 1, 'continue': 1, 'typeof': 1, 'delete': 1},
+      'literal': {'true': 1, 'false': 1, 'null': 1}
+    }
+  },
+  modes: [
+    hljs.C_LINE_COMMENT_MODE,
+    hljs.C_BLOCK_COMMENT_MODE,
+    hljs.C_NUMBER_MODE,
+    hljs.APOS_STRING_MODE,
+    hljs.QUOTE_STRING_MODE,
+    hljs.BACKSLASH_ESCAPE,
+    {
+      className: 'regexp_container',
+      begin: '(' + hljs.RE_STARTERS_RE + '|case|return|throw)\\s*', end: '^', noMarkup: true,
+      lexems: [hljs.IDENT_RE],
+      keywords: {'return': 1, 'throw': 1, 'case': 1},
+      contains: ['comment', 'regexp'],
+      relevance: 0
+    },
+    {
+      className: 'regexp',
+      begin: '/.*?[^\\\\/]/[gim]*', end: '^'
+    },
+    {
+      className: 'function',
+      begin: '\\bfunction\\b', end: '{',
+      lexems: [hljs.UNDERSCORE_IDENT_RE],
+      keywords: {'function': 1},
+      contains: ['title', 'params']
+    },
+    {
+      className: 'title',
+      begin: '[A-Za-z$_][0-9A-Za-z$_]*', end: '^'
+    },
+    {
+      className: 'params',
+      begin: '\\(', end: '\\)',
+      contains: ['string', 'comment']
+    }
+  ]
+};

Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/languages/javascript.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: servicemix/sandbox/website20/src/main/webapp/highlight/languages/lisp.js
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/languages/lisp.js?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/languages/lisp.js (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/languages/lisp.js Fri Oct 22 22:45:11 2010
@@ -0,0 +1,95 @@
+/*
+Language: Lisp
+Description: Generic lisp syntax
+Author: Vasily Polovnyov <vast@whiteants.net>
+*/
+
+hljs.LANGUAGES.lisp = function(){
+  var LISP_IDENT_RE = '[a-zA-Z_\\-\\+\\*\\/\\<\\=\\>\\&\\#][a-zA-Z0-9_\\-\\+\\*\\/\\<\\=\\>\\&\\#]*'
+  var LISP_SIMPLE_NUMBER_RE = '(\\-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s)(\\+|\\-)?\\d+)?'
+  return {
+    case_insensitive: true,
+    defaultMode: {
+      lexems: [LISP_IDENT_RE],
+      contains: ['literal', 'number', 'string', 'comment', 'quoted', 'list'],
+      illegal: '[^\\s]'
+    },
+    modes: [
+      {
+        className: 'string',
+        begin: '"', end: '"',
+        contains: ['escape'],
+        relevance: 0
+      },
+      hljs.BACKSLASH_ESCAPE,
+      {
+        className: 'number',
+        begin: LISP_SIMPLE_NUMBER_RE, end: '^'
+      },
+      {
+        className: 'number',
+        begin: '#b[0-1]+(/[0-1]+)?', end: '^'
+      },
+      {
+        className: 'number',
+        begin: '#o[0-7]+(/[0-7]+)?', end: '^'
+      },
+      {
+        className: 'number',
+        begin: '#x[0-9a-f]+(/[0-9a-f]+)?', end: '^'
+      },
+      {
+        className: 'number',
+        begin: '#c\\(' + LISP_SIMPLE_NUMBER_RE + ' +' + LISP_SIMPLE_NUMBER_RE, end: '\\)'
+      },
+      {
+        className: 'comment',
+        begin: ';', end: '$'
+      },
+      {
+        className: 'quoted',
+        begin: '[\'`]\\(', end: '\\)',
+        contains: ['number', 'string', 'variable', 'keyword', 'quoted_list']
+      },
+      {
+        className: 'quoted',
+        begin: '\\(quote ', end: '\\)',
+        contains: ['number', 'string', 'variable', 'keyword', 'quoted_list'],
+        lexems: [LISP_IDENT_RE],
+        keywords: {'title': {'quote': 1}}
+      },
+      {
+        className: 'quoted_list',
+        begin: '\\(', end: '\\)',
+        contains: ['quoted_list', 'literal', 'number', 'string']
+      },
+      {
+        className: 'list',
+        begin: '\\(', end: '\\)',
+        contains: ['title','body']
+      },
+      {
+        className: 'title',
+        begin: LISP_IDENT_RE, end: '^',
+        endsWithParent: true
+      },
+      {
+        className: 'body',
+        begin: '^', endsWithParent: true, excludeEnd: true,
+        contains: ['quoted', 'list', 'literal', 'number', 'string', 'comment', 'variable', 'keyword']
+      },
+      {
+        className: 'keyword',
+        begin: '[:&]' + LISP_IDENT_RE, end: '^'
+      },
+      {
+        className: 'variable',
+        begin: '\\*', end: '\\*'
+      },
+      {
+        className: 'literal',
+        begin: '\\b(t{1}|nil)\\b', end: '^'
+      }
+    ]
+  };
+}();

Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/languages/lisp.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: servicemix/sandbox/website20/src/main/webapp/highlight/languages/lua.js
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/languages/lua.js?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/languages/lua.js (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/languages/lua.js Fri Oct 22 22:45:11 2010
@@ -0,0 +1,81 @@
+/*
+Language: Lua
+Author: Andrew Fedorov <dmmdrs@mail.ru>
+*/
+
+hljs.LANGUAGES.lua = function(){
+  var OPENING_LONG_BRACKET = '\\[=*\\[', CLOSING_LONG_BRACKET = '\\]=*\\]';
+  return {
+    defaultMode: {
+      lexems: [hljs.UNDERSCORE_IDENT_RE],
+      keywords: {
+        'keyword': {
+          'and': 1, 'break': 1, 'do': 1, 'else': 1, 'elseif': 1, 'end': 1,
+          'false': 1, 'for': 1, 'if': 1, 'in': 1, 'local': 1, 'nil': 1,
+          'not': 1, 'or': 1, 'repeat': 1, 'return': 1, 'then': 1, 'true': 1,
+          'until': 1, 'while': 1
+        },
+        'built_in': {
+          '_G': 1, '_VERSION': 1, 'assert': 1, 'collectgarbage': 1, 'dofile': 1,
+          'error': 1, 'getfenv': 1, 'getmetatable': 1, 'ipairs': 1, 'load': 1,
+          'loadfile': 1, 'loadstring': 1, 'module': 1, 'next': 1, 'pairs': 1,
+          'pcall': 1, 'print': 1, 'rawequal': 1, 'rawget': 1, 'rawset': 1,
+          'require': 1, 'select': 1, 'setfenv': 1, 'setmetatable': 1,
+          'tonumber': 1, 'tostring': 1, 'type': 1, 'unpack': 1, 'xpcall': 1,
+          'coroutine': 1, 'debug': 1, 'io': 1, 'math': 1, 'os': 1, 'package': 1,
+          'string': 1, 'table': 1
+        }
+      },
+      contains: ['comment', 'function', 'number', 'string']
+    },
+    modes: [
+      // comment
+      {
+        className: 'comment',
+        begin: '--(?!' + OPENING_LONG_BRACKET + ')', end: '$'
+      },
+      {
+        className: 'comment',
+        begin: '--' + OPENING_LONG_BRACKET, end: CLOSING_LONG_BRACKET,
+        contains: ['long_brackets'],
+        relevance: 10
+      },
+      // long_brackets
+      {
+        className: 'long_brackets',
+        begin: OPENING_LONG_BRACKET, end: CLOSING_LONG_BRACKET,
+        contains: ['long_brackets'],
+        noMarkup: true
+      },
+      // function
+      {
+        className: 'function',
+        begin: '\\bfunction\\b', end: '\\)',
+        lexems: [hljs.UNDERSCORE_IDENT_RE],
+        keywords: {'function': 1},
+        contains: ['title', 'params', 'comment']
+      },
+      {
+        className: 'title',
+        begin: '([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*', end: '^'
+      },
+      {
+        className: 'params',
+        begin: '\\(', endsWithParent: true,
+        contains: ['comment']
+      },
+      // number
+      hljs.C_NUMBER_MODE,
+      // string
+      hljs.APOS_STRING_MODE,
+      hljs.QUOTE_STRING_MODE,
+      {
+        className: 'string',
+        begin: OPENING_LONG_BRACKET, end: CLOSING_LONG_BRACKET,
+        contains: ['long_brackets'],
+        relevance: 10
+      },
+      hljs.BACKSLASH_ESCAPE
+    ]
+  };
+}();

Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/languages/lua.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: servicemix/sandbox/website20/src/main/webapp/highlight/languages/mel.js
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/languages/mel.js?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/languages/mel.js (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/languages/mel.js Fri Oct 22 22:45:11 2010
@@ -0,0 +1,51 @@
+/*
+Language: MEL
+Description: Maya Embedded Language
+Author: Shuen-Huei Guan <drake.guan@gmail.com>
+*/
+
+hljs.LANGUAGES.mel = {
+  defaultMode: {
+    lexems: [hljs.UNDERSCORE_IDENT_RE],
+    illegal: '</',
+    contains: ['number', 'string', 'variable', 'comment'],
+    keywords: {'int': 1, 'float': 1, 'string': 1, 'float': 1, 'vector': 1, 'matrix': 1,
+    'if': 1, 'else': 1, 'switch': 1, 'case': 1, 'default': 1, 'while': 1, 'do': 1, 'for': 1, 'in': 1, 'break': 1, 'continue': 1,
+    'exists': 1, 'objExists': 1, 'attributeExists': 1,
+    'global': 1, 'proc': 1, 'return': 1,
+    'error': 1, 'warning': 1, 'trace': 1, 'catch': 1,
+    'about': 1, 'abs': 1, 'addAttr': 1, 'addAttributeEditorNodeHelp': 1, 'addDynamic': 1, 'addNewShelfTab': 1, 'addPP': 1, 'addPanelCategory': 1, 'addPrefixToName': 1, 'advanceToNextDrivenKey': 1, 'affectedNet': 1, 'affects': 1, 'aimConstraint': 1, 'air': 1, 'alias': 1, 'aliasAttr': 1, 'align': 1, 'alignCtx': 1, 'alignCurve': 1, 'alignSurface': 1, 'allViewFit': 1, 'ambientLight': 1, 'angle': 1, 'angleBetween': 1, 'animCone': 1, 'animCurveEditor': 1, 'animDisplay': 1, 'animView': 1, 'annotate': 1, 'appendStringArray': 1, 'applicationName': 1, 'applyAttrPreset': 1, 'applyTake': 1, 'arcLenDimContext': 1, 'arcLengthDimension': 1, 'arclen': 1, 'arrayMapper': 1, 'art3dPaintCtx': 1, 'artAttrCtx': 1, 'artAttrPaintVertexCtx': 1, 'artAttrSkinPaintCtx': 1, 'artAttrTool': 1, 'artBuildPaintMenu': 1, 'artFluidAttrCtx': 1, 'artPuttyCtx': 1, 'artSelectCtx': 1, 'artSetPaintCtx': 1, 'artUserPaintCtx': 1, 'assignCommand': 1, 'assignInputDevice': 1, 'assignViewportFactories': 1, 'attachCurve': 
 1, 'attachDeviceAttr': 1, 'attachSurface': 1, 'attrColorSliderGrp': 1, 'attrCompatibility': 1, 'attrControlGrp': 1, 'attrEnumOptionMenu': 1, 'attrEnumOptionMenuGrp': 1, 'attrFieldGrp': 1, 'attrFieldSliderGrp': 1, 'attrNavigationControlGrp': 1, 'attrPresetEditWin': 1, 'attributeExists': 1, 'attributeInfo': 1, 'attributeMenu': 1, 'attributeQuery': 1, 'autoKeyframe': 1, 'autoPlace': 1, 'bakeClip': 1, 'bakeFluidShading': 1, 'bakePartialHistory': 1, 'bakeResults': 1, 'bakeSimulation': 1, 'basename': 1, 'basenameEx': 1, 'batchRender': 1, 'bessel': 1, 'bevel': 1, 'bevelPlus': 1, 'binMembership': 1, 'bindSkin': 1, 'blend2': 1, 'blendShape': 1, 'blendShapeEditor': 1, 'blendShapePanel': 1, 'blendTwoAttr': 1, 'blindDataType': 1, 'boneLattice': 1, 'boundary': 1, 'boxDollyCtx': 1, 'boxZoomCtx': 1, 'bufferCurve': 1, 'buildBookmarkMenu': 1, 'buildKeyframeMenu': 1, 'button': 1, 'buttonManip': 1, 'CBG': 1, 'cacheFile': 1, 'cacheFileCombine': 1, 'cacheFileMerge': 1, 'cacheFileTrack': 1, 'came
 ra': 1, 'cameraView': 1, 'canCreateManip': 1, 'canvas': 1, 'capitalizeString': 1, 'catch': 1, 'catchQuiet': 1, 'ceil': 1, 'changeSubdivComponentDisplayLevel': 1, 'changeSubdivRegion': 1, 'channelBox': 1, 'character': 1, 'characterMap': 1, 'characterOutlineEditor': 1, 'characterize': 1, 'chdir': 1, 'checkBox': 1, 'checkBoxGrp': 1, 'checkDefaultRenderGlobals': 1, 'choice': 1, 'circle': 1, 'circularFillet': 1, 'clamp': 1, 'clear': 1, 'clearCache': 1, 'clip': 1, 'clipEditor': 1, 'clipEditorCurrentTimeCtx': 1, 'clipSchedule': 1, 'clipSchedulerOutliner': 1, 'clipTrimBefore': 1, 'closeCurve': 1, 'closeSurface': 1, 'cluster': 1, 'cmdFileOutput': 1, 'cmdScrollFieldExecuter': 1, 'cmdScrollFieldReporter': 1, 'cmdShell': 1, 'coarsenSubdivSelectionList': 1, 'collision': 1, 'color': 1, 'colorAtPoint': 1, 'colorEditor': 1, 'colorIndex': 1, 'colorIndexSliderGrp': 1, 'colorSliderButtonGrp': 1, 'colorSliderGrp': 1, 'columnLayout': 1, 'commandEcho': 1, 'commandLine': 1, 'commandPort': 1, 'comp
 actHairSystem': 1, 'componentEditor': 1, 'compositingInterop': 1, 'computePolysetVolume': 1, 'condition': 1, 'cone': 1, 'confirmDialog': 1, 'connectAttr': 1, 'connectControl': 1, 'connectDynamic': 1, 'connectJoint': 1, 'connectionInfo': 1, 'constrain': 1, 'constrainValue': 1, 'constructionHistory': 1, 'container': 1, 'containsMultibyte': 1, 'contextInfo': 1, 'control': 1, 'convertFromOldLayers': 1, 'convertIffToPsd': 1, 'convertLightmap': 1, 'convertSolidTx': 1, 'convertTessellation': 1, 'convertUnit': 1, 'copyArray': 1, 'copyFlexor': 1, 'copyKey': 1, 'copySkinWeights': 1, 'cos': 1, 'cpButton': 1, 'cpCache': 1, 'cpClothSet': 1, 'cpCollision': 1, 'cpConstraint': 1, 'cpConvClothToMesh': 1, 'cpForces': 1, 'cpGetSolverAttr': 1, 'cpPanel': 1, 'cpProperty': 1, 'cpRigidCollisionFilter': 1, 'cpSeam': 1, 'cpSetEdit': 1, 'cpSetSolverAttr': 1, 'cpSolver': 1, 'cpSolverTypes': 1, 'cpTool': 1, 'cpUpdateClothUVs': 1, 'createDisplayLayer': 1, 'createDrawCtx': 1, 'createEditor': 1, 'createLa
 yeredPsdFile': 1, 'createMotionField': 1, 'createNewShelf': 1, 'createNode': 1, 'createRenderLayer': 1, 'createSubdivRegion': 1, 'cross': 1, 'crossProduct': 1, 'ctxAbort': 1, 'ctxCompletion': 1, 'ctxEditMode': 1, 'ctxTraverse': 1, 'currentCtx': 1, 'currentTime': 1, 'currentTimeCtx': 1, 'currentUnit': 1, 'currentUnit': 1, 'curve': 1, 'curveAddPtCtx': 1, 'curveCVCtx': 1, 'curveEPCtx': 1, 'curveEditorCtx': 1, 'curveIntersect': 1, 'curveMoveEPCtx': 1, 'curveOnSurface': 1, 'curveSketchCtx': 1, 'cutKey': 1, 'cycleCheck': 1, 'cylinder': 1, 'dagPose': 1, 'date': 1, 'defaultLightListCheckBox': 1, 'defaultNavigation': 1, 'defineDataServer': 1, 'defineVirtualDevice': 1, 'deformer': 1, 'deg_to_rad': 1, 'delete': 1, 'deleteAttr': 1, 'deleteShadingGroupsAndMaterials': 1, 'deleteShelfTab': 1, 'deleteUI': 1, 'deleteUnusedBrushes': 1, 'delrandstr': 1, 'detachCurve': 1, 'detachDeviceAttr': 1, 'detachSurface': 1, 'deviceEditor': 1, 'devicePanel': 1, 'dgInfo': 1, 'dgdirty': 1, 'dgeval': 1, 'dgt
 imer': 1, 'dimWhen': 1, 'directKeyCtx': 1, 'directionalLight': 1, 'dirmap': 1, 'dirname': 1, 'disable': 1, 'disconnectAttr': 1, 'disconnectJoint': 1, 'diskCache': 1, 'displacementToPoly': 1, 'displayAffected': 1, 'displayColor': 1, 'displayCull': 1, 'displayLevelOfDetail': 1, 'displayPref': 1, 'displayRGBColor': 1, 'displaySmoothness': 1, 'displayStats': 1, 'displayString': 1, 'displaySurface': 1, 'distanceDimContext': 1, 'distanceDimension': 1, 'doBlur': 1, 'dolly': 1, 'dollyCtx': 1, 'dopeSheetEditor': 1, 'dot': 1, 'dotProduct': 1, 'doubleProfileBirailSurface': 1, 'drag': 1, 'dragAttrContext': 1, 'draggerContext': 1, 'dropoffLocator': 1, 'duplicate': 1, 'duplicateCurve': 1, 'duplicateSurface': 1, 'dynCache': 1, 'dynControl': 1, 'dynExport': 1, 'dynExpression': 1, 'dynGlobals': 1, 'dynPaintEditor': 1, 'dynParticleCtx': 1, 'dynPref': 1, 'dynRelEdPanel': 1, 'dynRelEditor': 1, 'dynamicLoad': 1, 'editAttrLimits': 1, 'editDisplayLayerGlobals': 1, 'editDisplayLayerMembers': 1, 'ed
 itRenderLayerAdjustment': 1, 'editRenderLayerGlobals': 1, 'editRenderLayerMembers': 1, 'editor': 1, 'editorTemplate': 1, 'effector': 1, 'emit': 1, 'emitter': 1, 'enableDevice': 1, 'encodeString': 1, 'endString': 1, 'endsWith': 1, 'env': 1, 'equivalent': 1, 'equivalentTol': 1, 'erf': 1, 'error': 1, 'eval': 1, 'eval': 1, 'evalDeferred': 1, 'evalEcho': 1, 'event': 1, 'exactWorldBoundingBox': 1, 'exclusiveLightCheckBox': 1, 'exec': 1, 'executeForEachObject': 1, 'exists': 1, 'exp': 1, 'expression': 1, 'expressionEditorListen': 1, 'extendCurve': 1, 'extendSurface': 1, 'extrude': 1, 'fcheck': 1, 'fclose': 1, 'feof': 1, 'fflush': 1, 'fgetline': 1, 'fgetword': 1, 'file': 1, 'fileBrowserDialog': 1, 'fileDialog': 1, 'fileExtension': 1, 'fileInfo': 1, 'filetest': 1, 'filletCurve': 1, 'filter': 1, 'filterCurve': 1, 'filterExpand': 1, 'filterStudioImport': 1, 'findAllIntersections': 1, 'findAnimCurves': 1, 'findKeyframe': 1, 'findMenuItem': 1, 'findRelatedSkinCluster': 1, 'finder': 1, 'fi
 rstParentOf': 1, 'fitBspline': 1, 'flexor': 1, 'floatEq': 1, 'floatField': 1, 'floatFieldGrp': 1, 'floatScrollBar': 1, 'floatSlider': 1, 'floatSlider2': 1, 'floatSliderButtonGrp': 1, 'floatSliderGrp': 1, 'floor': 1, 'flow': 1, 'fluidCacheInfo': 1, 'fluidEmitter': 1, 'fluidVoxelInfo': 1, 'flushUndo': 1, 'fmod': 1, 'fontDialog': 1, 'fopen': 1, 'formLayout': 1, 'format': 1, 'fprint': 1, 'frameLayout': 1, 'fread': 1, 'freeFormFillet': 1, 'frewind': 1, 'fromNativePath': 1, 'fwrite': 1, 'gamma': 1, 'gauss': 1, 'geometryConstraint': 1, 'getApplicationVersionAsFloat': 1, 'getAttr': 1, 'getClassification': 1, 'getDefaultBrush': 1, 'getFileList': 1, 'getFluidAttr': 1, 'getInputDeviceRange': 1, 'getMayaPanelTypes': 1, 'getModifiers': 1, 'getPanel': 1, 'getParticleAttr': 1, 'getPluginResource': 1, 'getenv': 1, 'getpid': 1, 'glRender': 1, 'glRenderEditor': 1, 'globalStitch': 1, 'gmatch': 1, 'goal': 1, 'gotoBindPose': 1, 'grabColor': 1, 'gradientControl': 1, 'gradientControlNoAttr': 1, 'g
 raphDollyCtx': 1, 'graphSelectContext': 1, 'graphTrackCtx': 1, 'gravity': 1, 'grid': 1, 'gridLayout': 1, 'group': 1, 'groupObjectsByName': 1, 'HfAddAttractorToAS': 1, 'HfAssignAS': 1, 'HfBuildEqualMap': 1, 'HfBuildFurFiles': 1, 'HfBuildFurImages': 1, 'HfCancelAFR': 1, 'HfConnectASToHF': 1, 'HfCreateAttractor': 1, 'HfDeleteAS': 1, 'HfEditAS': 1, 'HfPerformCreateAS': 1, 'HfRemoveAttractorFromAS': 1, 'HfSelectAttached': 1, 'HfSelectAttractors': 1, 'HfUnAssignAS': 1, 'hardenPointCurve': 1, 'hardware': 1, 'hardwareRenderPanel': 1, 'headsUpDisplay': 1, 'headsUpMessage': 1, 'help': 1, 'helpLine': 1, 'hermite': 1, 'hide': 1, 'hilite': 1, 'hitTest': 1, 'hotBox': 1, 'hotkey': 1, 'hotkeyCheck': 1, 'hsv_to_rgb': 1, 'hudButton': 1, 'hudSlider': 1, 'hudSliderButton': 1, 'hwReflectionMap': 1, 'hwRender': 1, 'hwRenderLoad': 1, 'hyperGraph': 1, 'hyperPanel': 1, 'hyperShade': 1, 'hypot': 1, 'iconTextButton': 1, 'iconTextCheckBox': 1, 'iconTextRadioButton': 1, 'iconTextRadioCollection': 1, 'ic
 onTextScrollList': 1, 'iconTextStaticLabel': 1, 'ikHandle': 1, 'ikHandleCtx': 1, 'ikHandleDisplayScale': 1, 'ikSolver': 1, 'ikSplineHandleCtx': 1, 'ikSystem': 1, 'ikSystemInfo': 1, 'ikfkDisplayMethod': 1, 'illustratorCurves': 1, 'image': 1, 'imfPlugins': 1, 'inheritTransform': 1, 'insertJoint': 1, 'insertJointCtx': 1, 'insertKeyCtx': 1, 'insertKnotCurve': 1, 'insertKnotSurface': 1, 'instance': 1, 'instanceable': 1, 'instancer': 1, 'intField': 1, 'intFieldGrp': 1, 'intScrollBar': 1, 'intSlider': 1, 'intSliderGrp': 1, 'interToUI': 1, 'internalVar': 1, 'intersect': 1, 'iprEngine': 1, 'isAnimCurve': 1, 'isConnected': 1, 'isDirty': 1, 'isParentOf': 1, 'isSameObject': 1, 'isTrue': 1, 'isValidObjectName': 1, 'isValidString': 1, 'isValidUiName': 1, 'isolateSelect': 1, 'itemFilter': 1, 'itemFilterAttr': 1, 'itemFilterRender': 1, 'itemFilterType': 1, 'joint': 1, 'jointCluster': 1, 'jointCtx': 1, 'jointDisplayScale': 1, 'jointLattice': 1, 'keyTangent': 1, 'keyframe': 1, 'keyframeOutlin
 er': 1, 'keyframeRegionCurrentTimeCtx': 1, 'keyframeRegionDirectKeyCtx': 1, 'keyframeRegionDollyCtx': 1, 'keyframeRegionInsertKeyCtx': 1, 'keyframeRegionMoveKeyCtx': 1, 'keyframeRegionScaleKeyCtx': 1, 'keyframeRegionSelectKeyCtx': 1, 'keyframeRegionSetKeyCtx': 1, 'keyframeRegionTrackCtx': 1, 'keyframeStats': 1, 'lassoContext': 1, 'lattice': 1, 'latticeDeformKeyCtx': 1, 'launch': 1, 'launchImageEditor': 1, 'layerButton': 1, 'layeredShaderPort': 1, 'layeredTexturePort': 1, 'layout': 1, 'layoutDialog': 1, 'lightList': 1, 'lightListEditor': 1, 'lightListPanel': 1, 'lightlink': 1, 'lineIntersection': 1, 'linearPrecision': 1, 'linstep': 1, 'listAnimatable': 1, 'listAttr': 1, 'listCameras': 1, 'listConnections': 1, 'listDeviceAttachments': 1, 'listHistory': 1, 'listInputDeviceAxes': 1, 'listInputDeviceButtons': 1, 'listInputDevices': 1, 'listMenuAnnotation': 1, 'listNodeTypes': 1, 'listPanelCategories': 1, 'listRelatives': 1, 'listSets': 1, 'listTransforms': 1, 'listUnselected': 1,
  'listerEditor': 1, 'loadFluid': 1, 'loadNewShelf': 1, 'loadPlugin': 1, 'loadPluginLanguageResources': 1, 'loadPrefObjects': 1, 'localizedPanelLabel': 1, 'lockNode': 1, 'loft': 1, 'log': 1, 'longNameOf': 1, 'lookThru': 1, 'ls': 1, 'lsThroughFilter': 1, 'lsType': 1, 'lsUI': 1, 'Mayatomr': 1, 'mag': 1, 'makeIdentity': 1, 'makeLive': 1, 'makePaintable': 1, 'makeRoll': 1, 'makeSingleSurface': 1, 'makeTubeOn': 1, 'makebot': 1, 'manipMoveContext': 1, 'manipMoveLimitsCtx': 1, 'manipOptions': 1, 'manipRotateContext': 1, 'manipRotateLimitsCtx': 1, 'manipScaleContext': 1, 'manipScaleLimitsCtx': 1, 'marker': 1, 'match': 1, 'max': 1, 'memory': 1, 'menu': 1, 'menuBarLayout': 1, 'menuEditor': 1, 'menuItem': 1, 'menuItemToShelf': 1, 'menuSet': 1, 'menuSetPref': 1, 'messageLine': 1, 'min': 1, 'minimizeApp': 1, 'mirrorJoint': 1, 'modelCurrentTimeCtx': 1, 'modelEditor': 1, 'modelPanel': 1, 'mouse': 1, 'movIn': 1, 'movOut': 1, 'move': 1, 'moveIKtoFK': 1, 'moveKeyCtx': 1, 'moveVertexAlongDirect
 ion': 1, 'multiProfileBirailSurface': 1, 'mute': 1, 'nParticle': 1, 'nameCommand': 1, 'nameField': 1, 'namespace': 1, 'namespaceInfo': 1, 'newPanelItems': 1, 'newton': 1, 'nodeCast': 1, 'nodeIconButton': 1, 'nodeOutliner': 1, 'nodePreset': 1, 'nodeType': 1, 'noise': 1, 'nonLinear': 1, 'normalConstraint': 1, 'normalize': 1, 'nurbsBoolean': 1, 'nurbsCopyUVSet': 1, 'nurbsCube': 1, 'nurbsEditUV': 1, 'nurbsPlane': 1, 'nurbsSelect': 1, 'nurbsSquare': 1, 'nurbsToPoly': 1, 'nurbsToPolygonsPref': 1, 'nurbsToSubdiv': 1, 'nurbsToSubdivPref': 1, 'nurbsUVSet': 1, 'nurbsViewDirectionVector': 1, 'objExists': 1, 'objectCenter': 1, 'objectLayer': 1, 'objectType': 1, 'objectTypeUI': 1, 'obsoleteProc': 1, 'oceanNurbsPreviewPlane': 1, 'offsetCurve': 1, 'offsetCurveOnSurface': 1, 'offsetSurface': 1, 'openGLExtension': 1, 'openMayaPref': 1, 'optionMenu': 1, 'optionMenuGrp': 1, 'optionVar': 1, 'orbit': 1, 'orbitCtx': 1, 'orientConstraint': 1, 'outlinerEditor': 1, 'outlinerPanel': 1, 'overrideModif
 ier': 1, 'paintEffectsDisplay': 1, 'pairBlend': 1, 'palettePort': 1, 'paneLayout': 1, 'panel': 1, 'panelConfiguration': 1, 'panelHistory': 1, 'paramDimContext': 1, 'paramDimension': 1, 'paramLocator': 1, 'parent': 1, 'parentConstraint': 1, 'particle': 1, 'particleExists': 1, 'particleInstancer': 1, 'particleRenderInfo': 1, 'partition': 1, 'pasteKey': 1, 'pathAnimation': 1, 'pause': 1, 'pclose': 1, 'percent': 1, 'performanceOptions': 1, 'pfxstrokes': 1, 'pickWalk': 1, 'picture': 1, 'pixelMove': 1, 'planarSrf': 1, 'plane': 1, 'play': 1, 'playbackOptions': 1, 'playblast': 1, 'plugAttr': 1, 'plugNode': 1, 'pluginInfo': 1, 'pluginResourceUtil': 1, 'pointConstraint': 1, 'pointCurveConstraint': 1, 'pointLight': 1, 'pointMatrixMult': 1, 'pointOnCurve': 1, 'pointOnSurface': 1, 'pointPosition': 1, 'poleVectorConstraint': 1, 'polyAppend': 1, 'polyAppendFacetCtx': 1, 'polyAppendVertex': 1, 'polyAutoProjection': 1, 'polyAverageNormal': 1, 'polyAverageVertex': 1, 'polyBevel': 1, 'polyBlen
 dColor': 1, 'polyBlindData': 1, 'polyBoolOp': 1, 'polyBridgeEdge': 1, 'polyCacheMonitor': 1, 'polyCheck': 1, 'polyChipOff': 1, 'polyClipboard': 1, 'polyCloseBorder': 1, 'polyCollapseEdge': 1, 'polyCollapseFacet': 1, 'polyColorBlindData': 1, 'polyColorDel': 1, 'polyColorPerVertex': 1, 'polyColorSet': 1, 'polyCompare': 1, 'polyCone': 1, 'polyCopyUV': 1, 'polyCrease': 1, 'polyCreaseCtx': 1, 'polyCreateFacet': 1, 'polyCreateFacetCtx': 1, 'polyCube': 1, 'polyCut': 1, 'polyCutCtx': 1, 'polyCylinder': 1, 'polyCylindricalProjection': 1, 'polyDelEdge': 1, 'polyDelFacet': 1, 'polyDelVertex': 1, 'polyDuplicateAndConnect': 1, 'polyDuplicateEdge': 1, 'polyEditUV': 1, 'polyEditUVShell': 1, 'polyEvaluate': 1, 'polyExtrudeEdge': 1, 'polyExtrudeFacet': 1, 'polyExtrudeVertex': 1, 'polyFlipEdge': 1, 'polyFlipUV': 1, 'polyForceUV': 1, 'polyGeoSampler': 1, 'polyHelix': 1, 'polyInfo': 1, 'polyInstallAction': 1, 'polyLayoutUV': 1, 'polyListComponentConversion': 1, 'polyMapCut': 1, 'polyMapDel': 1,
  'polyMapSew': 1, 'polyMapSewMove': 1, 'polyMergeEdge': 1, 'polyMergeEdgeCtx': 1, 'polyMergeFacet': 1, 'polyMergeFacetCtx': 1, 'polyMergeUV': 1, 'polyMergeVertex': 1, 'polyMirrorFace': 1, 'polyMoveEdge': 1, 'polyMoveFacet': 1, 'polyMoveFacetUV': 1, 'polyMoveUV': 1, 'polyMoveVertex': 1, 'polyNormal': 1, 'polyNormalPerVertex': 1, 'polyNormalizeUV': 1, 'polyOptUvs': 1, 'polyOptions': 1, 'polyOutput': 1, 'polyPipe': 1, 'polyPlanarProjection': 1, 'polyPlane': 1, 'polyPlatonicSolid': 1, 'polyPoke': 1, 'polyPrimitive': 1, 'polyPrism': 1, 'polyProjection': 1, 'polyPyramid': 1, 'polyQuad': 1, 'polyQueryBlindData': 1, 'polyReduce': 1, 'polySelect': 1, 'polySelectConstraint': 1, 'polySelectConstraintMonitor': 1, 'polySelectCtx': 1, 'polySelectEditCtx': 1, 'polySeparate': 1, 'polySetToFaceNormal': 1, 'polySewEdge': 1, 'polyShortestPathCtx': 1, 'polySmooth': 1, 'polySoftEdge': 1, 'polySphere': 1, 'polySphericalProjection': 1, 'polySplit': 1, 'polySplitCtx': 1, 'polySplitEdge': 1, 'polySp
 litRing': 1, 'polySplitVertex': 1, 'polyStraightenUVBorder': 1, 'polySubdivideEdge': 1, 'polySubdivideFacet': 1, 'polyToSubdiv': 1, 'polyTorus': 1, 'polyTransfer': 1, 'polyTriangulate': 1, 'polyUVSet': 1, 'polyUnite': 1, 'polyWedgeFace': 1, 'popen': 1, 'popupMenu': 1, 'pose': 1, 'pow': 1, 'preloadRefEd': 1, 'print': 1, 'progressBar': 1, 'progressWindow': 1, 'projFileViewer': 1, 'projectCurve': 1, 'projectTangent': 1, 'projectionContext': 1, 'projectionManip': 1, 'promptDialog': 1, 'propModCtx': 1, 'propMove': 1, 'psdChannelOutliner': 1, 'psdEditTextureFile': 1, 'psdExport': 1, 'psdTextureFile': 1, 'putenv': 1, 'pwd': 1, 'python': 1, 'querySubdiv': 1, 'quit': 1, 'rad_to_deg': 1, 'radial': 1, 'radioButton': 1, 'radioButtonGrp': 1, 'radioCollection': 1, 'radioMenuItemCollection': 1, 'rampColorPort': 1, 'rand': 1, 'randomizeFollicles': 1, 'randstate': 1, 'rangeControl': 1, 'readTake': 1, 'rebuildCurve': 1, 'rebuildSurface': 1, 'recordAttr': 1, 'recordDevice': 1, 'redo': 1, 'refe
 rence': 1, 'referenceEdit': 1, 'referenceQuery': 1, 'refineSubdivSelectionList': 1, 'refresh': 1, 'refreshAE': 1, 'registerPluginResource': 1, 'rehash': 1, 'reloadImage': 1, 'removeJoint': 1, 'removeMultiInstance': 1, 'removePanelCategory': 1, 'rename': 1, 'renameAttr': 1, 'renameSelectionList': 1, 'renameUI': 1, 'render': 1, 'renderGlobalsNode': 1, 'renderInfo': 1, 'renderLayerButton': 1, 'renderLayerParent': 1, 'renderLayerPostProcess': 1, 'renderLayerUnparent': 1, 'renderManip': 1, 'renderPartition': 1, 'renderQualityNode': 1, 'renderSettings': 1, 'renderThumbnailUpdate': 1, 'renderWindowEditor': 1, 'renderWindowSelectContext': 1, 'renderer': 1, 'reorder': 1, 'reorderDeformers': 1, 'requires': 1, 'reroot': 1, 'resampleFluid': 1, 'resetAE': 1, 'resetPfxToPolyCamera': 1, 'resetTool': 1, 'resolutionNode': 1, 'retarget': 1, 'reverseCurve': 1, 'reverseSurface': 1, 'revolve': 1, 'rgb_to_hsv': 1, 'rigidBody': 1, 'rigidSolver': 1, 'roll': 1, 'rollCtx': 1, 'rootOf': 1, 'rot': 1, '
 rotate': 1, 'rotationInterpolation': 1, 'roundConstantRadius': 1, 'rowColumnLayout': 1, 'rowLayout': 1, 'runTimeCommand': 1, 'runup': 1, 'sampleImage': 1, 'saveAllShelves': 1, 'saveAttrPreset': 1, 'saveFluid': 1, 'saveImage': 1, 'saveInitialState': 1, 'saveMenu': 1, 'savePrefObjects': 1, 'savePrefs': 1, 'saveShelf': 1, 'saveToolSettings': 1, 'scale': 1, 'scaleBrushBrightness': 1, 'scaleComponents': 1, 'scaleConstraint': 1, 'scaleKey': 1, 'scaleKeyCtx': 1, 'sceneEditor': 1, 'sceneUIReplacement': 1, 'scmh': 1, 'scriptCtx': 1, 'scriptEditorInfo': 1, 'scriptJob': 1, 'scriptNode': 1, 'scriptTable': 1, 'scriptToShelf': 1, 'scriptedPanel': 1, 'scriptedPanelType': 1, 'scrollField': 1, 'scrollLayout': 1, 'sculpt': 1, 'searchPathArray': 1, 'seed': 1, 'selLoadSettings': 1, 'select': 1, 'selectContext': 1, 'selectCurveCV': 1, 'selectKey': 1, 'selectKeyCtx': 1, 'selectKeyframeRegionCtx': 1, 'selectMode': 1, 'selectPref': 1, 'selectPriority': 1, 'selectType': 1, 'selectedNodes': 1, 'selec
 tionConnection': 1, 'separator': 1, 'setAttr': 1, 'setAttrEnumResource': 1, 'setAttrMapping': 1, 'setAttrNiceNameResource': 1, 'setConstraintRestPosition': 1, 'setDefaultShadingGroup': 1, 'setDrivenKeyframe': 1, 'setDynamic': 1, 'setEditCtx': 1, 'setEditor': 1, 'setFluidAttr': 1, 'setFocus': 1, 'setInfinity': 1, 'setInputDeviceMapping': 1, 'setKeyCtx': 1, 'setKeyPath': 1, 'setKeyframe': 1, 'setKeyframeBlendshapeTargetWts': 1, 'setMenuMode': 1, 'setNodeNiceNameResource': 1, 'setNodeTypeFlag': 1, 'setParent': 1, 'setParticleAttr': 1, 'setPfxToPolyCamera': 1, 'setPluginResource': 1, 'setProject': 1, 'setStampDensity': 1, 'setStartupMessage': 1, 'setState': 1, 'setToolTo': 1, 'setUITemplate': 1, 'setXformManip': 1, 'sets': 1, 'shadingConnection': 1, 'shadingGeometryRelCtx': 1, 'shadingLightRelCtx': 1, 'shadingNetworkCompare': 1, 'shadingNode': 1, 'shapeCompare': 1, 'shelfButton': 1, 'shelfLayout': 1, 'shelfTabLayout': 1, 'shellField': 1, 'shortNameOf': 1, 'showHelp': 1, 'showHid
 den': 1, 'showManipCtx': 1, 'showSelectionInTitle': 1, 'showShadingGroupAttrEditor': 1, 'showWindow': 1, 'sign': 1, 'simplify': 1, 'sin': 1, 'singleProfileBirailSurface': 1, 'size': 1, 'sizeBytes': 1, 'skinCluster': 1, 'skinPercent': 1, 'smoothCurve': 1, 'smoothTangentSurface': 1, 'smoothstep': 1, 'snap2to2': 1, 'snapKey': 1, 'snapMode': 1, 'snapTogetherCtx': 1, 'snapshot': 1, 'soft': 1, 'softMod': 1, 'softModCtx': 1, 'sort': 1, 'sound': 1, 'soundControl': 1, 'source': 1, 'spaceLocator': 1, 'sphere': 1, 'sphrand': 1, 'spotLight': 1, 'spotLightPreviewPort': 1, 'spreadSheetEditor': 1, 'spring': 1, 'sqrt': 1, 'squareSurface': 1, 'srtContext': 1, 'stackTrace': 1, 'startString': 1, 'startsWith': 1, 'stitchAndExplodeShell': 1, 'stitchSurface': 1, 'stitchSurfacePoints': 1, 'strcmp': 1, 'stringArrayCatenate': 1, 'stringArrayContains': 1, 'stringArrayCount': 1, 'stringArrayInsertAtIndex': 1, 'stringArrayIntersector': 1, 'stringArrayRemove': 1, 'stringArrayRemoveAtIndex': 1, 'stringAr
 rayRemoveDuplicates': 1, 'stringArrayRemoveExact': 1, 'stringArrayToString': 1, 'stringToStringArray': 1, 'strip': 1, 'stripPrefixFromName': 1, 'stroke': 1, 'subdAutoProjection': 1, 'subdCleanTopology': 1, 'subdCollapse': 1, 'subdDuplicateAndConnect': 1, 'subdEditUV': 1, 'subdListComponentConversion': 1, 'subdMapCut': 1, 'subdMapSewMove': 1, 'subdMatchTopology': 1, 'subdMirror': 1, 'subdToBlind': 1, 'subdToPoly': 1, 'subdTransferUVsToCache': 1, 'subdiv': 1, 'subdivCrease': 1, 'subdivDisplaySmoothness': 1, 'substitute': 1, 'substituteAllString': 1, 'substituteGeometry': 1, 'substring': 1, 'surface': 1, 'surfaceSampler': 1, 'surfaceShaderList': 1, 'swatchDisplayPort': 1, 'switchTable': 1, 'symbolButton': 1, 'symbolCheckBox': 1, 'sysFile': 1, 'system': 1, 'tabLayout': 1, 'tan': 1, 'tangentConstraint': 1, 'texLatticeDeformContext': 1, 'texManipContext': 1, 'texMoveContext': 1, 'texMoveUVShellContext': 1, 'texRotateContext': 1, 'texScaleContext': 1, 'texSelectContext': 1, 'texSel
 ectShortestPathCtx': 1, 'texSmudgeUVContext': 1, 'texWinToolCtx': 1, 'text': 1, 'textCurves': 1, 'textField': 1, 'textFieldButtonGrp': 1, 'textFieldGrp': 1, 'textManip': 1, 'textScrollList': 1, 'textToShelf': 1, 'textureDisplacePlane': 1, 'textureHairColor': 1, 'texturePlacementContext': 1, 'textureWindow': 1, 'threadCount': 1, 'threePointArcCtx': 1, 'timeControl': 1, 'timePort': 1, 'timerX': 1, 'toNativePath': 1, 'toggle': 1, 'toggleAxis': 1, 'toggleWindowVisibility': 1, 'tokenize': 1, 'tokenizeList': 1, 'tolerance': 1, 'tolower': 1, 'toolButton': 1, 'toolCollection': 1, 'toolDropped': 1, 'toolHasOptions': 1, 'toolPropertyWindow': 1, 'torus': 1, 'toupper': 1, 'trace': 1, 'track': 1, 'trackCtx': 1, 'transferAttributes': 1, 'transformCompare': 1, 'transformLimits': 1, 'translator': 1, 'trim': 1, 'trunc': 1, 'truncateFluidCache': 1, 'truncateHairCache': 1, 'tumble': 1, 'tumbleCtx': 1, 'turbulence': 1, 'twoPointArcCtx': 1, 'uiRes': 1, 'uiTemplate': 1, 'unassignInputDevice': 1, 
 'undo': 1, 'undoInfo': 1, 'ungroup': 1, 'uniform': 1, 'unit': 1, 'unloadPlugin': 1, 'untangleUV': 1, 'untitledFileName': 1, 'untrim': 1, 'upAxis': 1, 'updateAE': 1, 'userCtx': 1, 'uvLink': 1, 'uvSnapshot': 1, 'validateShelfName': 1, 'vectorize': 1, 'view2dToolCtx': 1, 'viewCamera': 1, 'viewClipPlane': 1, 'viewFit': 1, 'viewHeadOn': 1, 'viewLookAt': 1, 'viewManip': 1, 'viewPlace': 1, 'viewSet': 1, 'visor': 1, 'volumeAxis': 1, 'vortex': 1, 'waitCursor': 1, 'warning': 1, 'webBrowser': 1, 'webBrowserPrefs': 1, 'whatIs': 1, 'window': 1, 'windowPref': 1, 'wire': 1, 'wireContext': 1, 'workspace': 1, 'wrinkle': 1, 'wrinkleContext': 1, 'writeTake': 1, 'xbmLangPathList': 1, 'xform': 1
+     }
+  },
+  modes: [
+    // number
+    hljs.C_NUMBER_MODE,
+    // string
+    hljs.APOS_STRING_MODE,
+    hljs.QUOTE_STRING_MODE,
+    hljs.BACKSLASH_ESCAPE,
+    {
+      className: 'string',
+      begin: '`', end: '`',
+      contains: ['escape']
+    },
+    // variable
+    {
+      className: 'variable',
+      begin: '\\$\\d', end: '^',
+      relevance: 5
+    },
+    {
+      className: 'variable',
+      begin: '[\\$\\%\\@\\*](\\^\\w\\b|#\\w+|[^\\s\\w{]|{\\w+}|\\w+)', end: '^'
+    },
+    // array, $a[3] = {"a","b","c"}, $b[3] = {1,2,3}
+    // vector, $test = <<3.0, 7.7, 9.1>>
+    // matrix, matrix $a3[3][4] = <<2.5, 4.5, 3.25, 8.05; ... >>
+    // param, -name ... -radius ...
+    // operator, () [] ! ++ -- * / % ^ + - < <= > >= == != && || ? : = += -= *= /=
+    // comment
+    hljs.C_LINE_COMMENT_MODE,
+    hljs.C_BLOCK_COMMENT_MODE
+  ]
+};

Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/languages/mel.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: servicemix/sandbox/website20/src/main/webapp/highlight/languages/nginx.js
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/languages/nginx.js?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/languages/nginx.js (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/languages/nginx.js Fri Oct 22 22:45:11 2010
@@ -0,0 +1,98 @@
+/*
+Language: nginx
+Author: Peter Leonov <gojpeg@yandex.ru>
+*/
+
+hljs.LANGUAGES.nginx = {
+  defaultMode: {
+    contains: ['comment', 'directive']
+  },
+  modes: [
+    hljs.HASH_COMMENT_MODE,
+    {
+      className: 'directive',
+      begin: hljs.UNDERSCORE_IDENT_RE, end: ';|{', returnEnd: true, noMarkup: true,
+      contains: ['comment', 'parameters'],
+      lexems: [hljs.UNDERSCORE_IDENT_RE],
+      keywords: {accept_mutex: 1, accept_mutex_delay: 1, access_log: 1, add_after_body: 1, add_before_body: 1, add_header: 1, addition_types: 1, alias: 1, allow: 1, ancient_browser: 1, ancient_browser: 1, ancient_browser_value: 1, ancient_browser_value: 1, auth_basic: 1, auth_basic_user_file: 1, autoindex: 1, autoindex_exact_size: 1, autoindex_localtime: 1, 'break': 1, charset: 1, charset: 1, charset_map: 1, charset_map: 1, charset_types: 1, charset_types: 1, client_body_buffer_size: 1, client_body_in_file_only: 1, client_body_in_single_buffer: 1, client_body_temp_path: 1, client_body_timeout: 1, client_header_buffer_size: 1, client_header_timeout: 1, client_max_body_size: 1, connection_pool_size: 1, connections: 1, create_full_put_path: 1, daemon: 1, dav_access: 1, dav_methods: 1, debug_connection: 1, debug_points: 1, default_type: 1, deny: 1, directio: 1, directio_alignment: 1, echo: 1, echo_after_body: 1, echo_before_body: 1, echo_blocking_sleep: 1, echo_duplicate: 1, ech
 o_end: 1, echo_exec: 1, echo_flush: 1, echo_foreach_split: 1, echo_location: 1, echo_location_async: 1, echo_read_request_body: 1, echo_request_body: 1, echo_reset_timer: 1, echo_sleep: 1, echo_subrequest: 1, echo_subrequest_async: 1, empty_gif: 1, empty_gif: 1, env: 1, error_log: 1, error_log: 1, error_page: 1, events: 1, expires: 1, fastcgi_bind: 1, fastcgi_buffer_size: 1, fastcgi_buffers: 1, fastcgi_busy_buffers_size: 1, fastcgi_cache: 1, fastcgi_cache_key: 1, fastcgi_cache_methods: 1, fastcgi_cache_min_uses: 1, fastcgi_cache_path: 1, fastcgi_cache_use_stale: 1, fastcgi_cache_valid: 1, fastcgi_catch_stderr: 1, fastcgi_connect_timeout: 1, fastcgi_hide_header: 1, fastcgi_ignore_client_abort: 1, fastcgi_ignore_headers: 1, fastcgi_index: 1, fastcgi_intercept_errors: 1, fastcgi_max_temp_file_size: 1, fastcgi_next_upstream: 1, fastcgi_param: 1, fastcgi_pass: 1, fastcgi_pass_header: 1, fastcgi_pass_request_body: 1, fastcgi_pass_request_headers: 1, fastcgi_read_timeout: 1, fastcg
 i_send_lowat: 1, fastcgi_send_timeout: 1, fastcgi_split_path_info: 1, fastcgi_store: 1, fastcgi_store_access: 1, fastcgi_temp_file_write_size: 1, fastcgi_temp_path: 1, fastcgi_upstream_fail_timeout: 1, fastcgi_upstream_max_fails: 1, flv: 1, geo: 1, geo: 1, geoip_city: 1, geoip_country: 1, gzip: 1, gzip_buffers: 1, gzip_comp_level: 1, gzip_disable: 1, gzip_hash: 1, gzip_http_version: 1, gzip_min_length: 1, gzip_no_buffer: 1, gzip_proxied: 1, gzip_static: 1, gzip_types: 1, gzip_vary: 1, gzip_window: 1, http: 1, 'if': 1, if_modified_since: 1, ignore_invalid_headers: 1, image_filter: 1, image_filter_buffer: 1, image_filter_jpeg_quality: 1, image_filter_transparency: 1, include: 1, index: 1, internal: 1, ip_hash: 1, js: 1, js_load: 1, js_require: 1, js_utf8: 1, keepalive_requests: 1, keepalive_timeout: 1, kqueue_changes: 1, kqueue_events: 1, large_client_header_buffers: 1, limit_conn: 1, limit_conn_log_level: 1, limit_except: 1, limit_rate: 1, limit_rate_after: 1, limit_req: 1, l
 imit_req_log_level: 1, limit_req_zone: 1, limit_zone: 1, lingering_time: 1, lingering_timeout: 1, listen: 1, location: 1, lock_file: 1, log_format: 1, log_not_found: 1, log_subrequest: 1, map: 1, map_hash_bucket_size: 1, map_hash_max_size: 1, master_process: 1, memcached_bind: 1, memcached_buffer_size: 1, memcached_connect_timeout: 1, memcached_next_upstream: 1, memcached_pass: 1, memcached_read_timeout: 1, memcached_send_timeout: 1, memcached_upstream_fail_timeout: 1, memcached_upstream_max_fails: 1, merge_slashes: 1, min_delete_depth: 1, modern_browser: 1, modern_browser: 1, modern_browser_value: 1, modern_browser_value: 1, more_clear_headers: 1, more_clear_input_headers: 1, more_set_headers: 1, more_set_input_headers: 1, msie_padding: 1, msie_refresh: 1, multi_accept: 1, open_file_cache: 1, open_file_cache_errors: 1, open_file_cache_events: 1, open_file_cache_min_uses: 1, open_file_cache_retest: 1, open_file_cache_valid: 1, open_log_file_cache: 1, optimize_server_names: 1
 , output_buffers: 1, override_charset: 1, override_charset: 1, perl: 1, perl_modules: 1, perl_require: 1, perl_set: 1, pid: 1, port_in_redirect: 1, post_action: 1, postpone_gzipping: 1, postpone_output: 1, proxy_bind: 1, proxy_buffer_size: 1, proxy_buffering: 1, proxy_buffers: 1, proxy_busy_buffers_size: 1, proxy_cache: 1, proxy_cache_key: 1, proxy_cache_methods: 1, proxy_cache_min_uses: 1, proxy_cache_path: 1, proxy_cache_use_stale: 1, proxy_cache_valid: 1, proxy_connect_timeout: 1, proxy_headers_hash_bucket_size: 1, proxy_headers_hash_max_size: 1, proxy_hide_header: 1, proxy_ignore_client_abort: 1, proxy_ignore_headers: 1, proxy_intercept_errors: 1, proxy_max_temp_file_size: 1, proxy_method: 1, proxy_next_upstream: 1, proxy_pass: 1, proxy_pass_header: 1, proxy_pass_request_body: 1, proxy_pass_request_headers: 1, proxy_read_timeout: 1, proxy_redirect: 1, proxy_send_lowat: 1, proxy_send_timeout: 1, proxy_set_body: 1, proxy_set_header: 1, proxy_store: 1, proxy_store_access: 1
 , proxy_temp_file_write_size: 1, proxy_temp_path: 1, proxy_upstream_fail_timeout: 1, proxy_upstream_max_fails: 1, push_authorized_channels_only: 1, push_channel_group: 1, push_max_channel_id_length: 1, push_max_channel_subscribers: 1, push_max_message_buffer_length: 1, push_max_reserved_memory: 1, push_message_buffer_length: 1, push_message_timeout: 1, push_min_message_buffer_length: 1, push_min_message_recipients: 1, push_publisher: 1, push_store_messages: 1, push_subscriber: 1, push_subscriber_concurrency: 1, random_index: 1, read_ahead: 1, real_ip_header: 1, recursive_error_pages: 1, request_pool_size: 1, reset_timedout_connection: 1, resolver: 1, resolver_timeout: 1, 'return': 1, rewrite: 1, rewrite_log: 1, root: 1, satisfy: 1, satisfy_any: 1, send_lowat: 1, send_timeout: 1, sendfile: 1, sendfile_max_chunk: 1, server: 1, server: 1, server_name: 1, server_name_in_redirect: 1, server_names_hash_bucket_size: 1, server_names_hash_max_size: 1, server_tokens: 1, 'set': 1, set_
 real_ip_from: 1, source_charset: 1, source_charset: 1, ssi: 1, ssi_ignore_recycled_buffers: 1, ssi_min_file_chunk: 1, ssi_silent_errors: 1, ssi_types: 1, ssi_value_length: 1, ssl: 1, ssl_certificate: 1, ssl_certificate_key: 1, ssl_ciphers: 1, ssl_client_certificate: 1, ssl_crl: 1, ssl_dhparam: 1, ssl_prefer_server_ciphers: 1, ssl_protocols: 1, ssl_session_cache: 1, ssl_session_timeout: 1, ssl_verify_client: 1, ssl_verify_depth: 1, sub_filter: 1, sub_filter_once: 1, sub_filter_types: 1, tcp_nodelay: 1, tcp_nopush: 1, timer_resolution: 1, try_files: 1, types: 1, types_hash_bucket_size: 1, types_hash_max_size: 1, underscores_in_headers: 1, uninitialized_variable_warn: 1, upstream: 1, use: 1, user: 1, userid: 1, userid: 1, userid_domain: 1, userid_domain: 1, userid_expires: 1, userid_expires: 1, userid_mark: 1, userid_name: 1, userid_name: 1, userid_p3p: 1, userid_p3p: 1, userid_path: 1, userid_path: 1, userid_service: 1, userid_service: 1, valid_referers: 1, variables_hash_buck
 et_size: 1, variables_hash_max_size: 1, worker_connections: 1, worker_cpu_affinity: 1, worker_priority: 1, worker_processes: 1, worker_rlimit_core: 1, worker_rlimit_nofile: 1, worker_rlimit_sigpending: 1, working_directory: 1, xml_entities: 1, xslt_stylesheet: 1, xslt_types: 1}
+    },
+    {
+      className: 'parameters',
+      begin: '\\s', end: '[;{]', returnBegin: true, returnEnd: true, noMarkup: true,
+      contains: ['comment', 'string', 'regexp', 'number', 'variable', 'built_in']
+    },
+    // variables (like in perl)
+    {
+      className: 'variable',
+      begin: '\\$\\d+', end: '^'
+    },
+    {
+      className: 'variable',
+      begin: '\\${', end: '}'
+    },
+    {
+      className: 'variable',
+      begin: '[\\$\\@]' + hljs.UNDERSCORE_IDENT_RE, end: '^',
+      relevance: 0
+    },
+    {
+      className: 'built_in',
+      begin: '\\b(on|off|yes|no|true|false|none|blocked|debug|info|notice|warn|error|crit|select|permanent|redirect)\\b', end: '^'
+    },
+    {
+      className: 'built_in',
+      begin: '\\b(kqueue|rtsig|epoll|poll)\\b|/dev/poll', end: '^'
+    },
+    // IP
+    {
+      className: 'number',
+      begin: '\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\b', end: '^'
+    },
+    // units
+    {
+      className: 'number',
+      begin: '\\s\\d+[kKmMgGdshdwy]*\\b', end: '^',
+      relevance: 0
+    },
+    {
+      className: 'string',
+      begin: '"', end: '"',
+      contains: ['escape', 'variable'],
+      relevance: 0
+    },
+    {
+      className: 'string',
+      begin: "'", end: "'",
+      contains: ['escape', 'variable'],
+      relevance: 0
+    },
+    {
+      className: 'string',
+      begin: '([a-z]+):/', end: '[;\\s]', returnEnd: true
+    },
+    {
+      className: 'regexp',
+      begin: "\\s\\^", end: "\\s|{|;", returnEnd: true,
+      contains: ['escape', 'variable']
+    },
+    // regexp locations (~, ~*)
+    {
+      className: 'regexp',
+      begin: "~\\*?\\s+", end: "\\s|{|;", returnEnd: true,
+      contains: ['escape', 'variable']
+    },
+    // *.example.com
+    {
+      className: 'regexp',
+      begin: "\\*(\\.[a-z\\-]+)+", end: "^",
+      contains: ['escape', 'variable']
+    },
+    // sub.example.*
+    {
+      className: 'regexp',
+      begin: "([a-z\\-]+\\.)+\\*", end: "^",
+      contains: ['escape', 'variable']
+    },
+    hljs.BACKSLASH_ESCAPE
+  ]
+};

Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/languages/nginx.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: servicemix/sandbox/website20/src/main/webapp/highlight/languages/parser3.js
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/languages/parser3.js?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/languages/parser3.js (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/languages/parser3.js Fri Oct 22 22:45:11 2010
@@ -0,0 +1,54 @@
+/*
+Language: Parser3
+Requires: html-xml.js
+Author: Oleg Volchkov <oleg@volchkov.net>
+*/
+
+hljs.LANGUAGES.parser3 = {
+  defaultMode: {
+    contains: ['comment', 'preprocessor', 'title', 'variable', 'keyword', 'number'],
+    subLanguage: 'html'
+  },
+  case_insensitive: false,
+
+  modes: [
+    {
+      className: 'comment',
+      begin: '^#', end: '$'
+    },
+    {
+      className: 'comment',
+      contains: ['commented_block'],
+      begin: '\\^rem{', end: '}',
+      relevance: 10
+    },
+    {
+      className: 'commented_block',
+      contains: ['commented_block'],
+      begin: '{', end: '}',
+      noMarkup: true
+    },
+    {
+      className: 'preprocessor',
+      begin: '^@(?:BASE|USE|CLASS|OPTIONS)$', end: '^',
+      relevance: 10
+    },
+    {
+      className: 'title',
+      begin: '@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$', end: '^'
+    },
+    {
+      className: 'variable',
+      begin: '\\$\\{?[\\w\\-\\.\\:]+\\}?', end: '^'
+    },
+    {
+      className: 'keyword',
+      begin: '\\^[\\w\\-\\.\\:]+', end: '^'
+    },
+    {
+      className: 'number',
+      begin: '\\^#[0-9a-fA-F]+', end: '^'
+    },
+    hljs.C_NUMBER_MODE
+  ]
+};

Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/languages/parser3.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: servicemix/sandbox/website20/src/main/webapp/highlight/languages/perl.js
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/languages/perl.js?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/languages/perl.js (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/languages/perl.js Fri Oct 22 22:45:11 2010
@@ -0,0 +1,152 @@
+/*
+Language: Perl
+Author: Peter Leonov <gojpeg@yandex.ru>
+*/
+
+hljs.LANGUAGES.perl = function(){
+  var PERL_DEFAULT_CONTAINS = ['comment', 'string', 'number', 'regexp', 'sub', 'variable', 'operator', 'pod'];
+  var PERL_KEYWORDS = {'getpwent': 1, 'getservent': 1, 'quotemeta': 1, 'msgrcv': 1, 'scalar': 1, 'kill': 1, 'dbmclose': 1, 'undef': 1, 'lc': 1, 'ma': 1, 'syswrite': 1, 'tr': 1, 'send': 1, 'umask': 1, 'sysopen': 1, 'shmwrite': 1, 'vec': 1, 'qx': 1, 'utime': 1, 'local': 1, 'oct': 1, 'semctl': 1, 'localtime': 1, 'readpipe': 1, 'do': 1, 'return': 1, 'format': 1, 'read': 1, 'sprintf': 1, 'dbmopen': 1, 'pop': 1, 'getpgrp': 1, 'not': 1, 'getpwnam': 1, 'rewinddir': 1, 'qq': 1, 'fileno': 1, 'qw': 1, 'endprotoent': 1, 'wait': 1, 'sethostent': 1, 'bless': 1, 's': 1, 'opendir': 1, 'continue': 1, 'each': 1, 'sleep': 1, 'endgrent': 1, 'shutdown': 1, 'dump': 1, 'chomp': 1, 'connect': 1, 'getsockname': 1, 'die': 1, 'socketpair': 1, 'close': 1, 'flock': 1, 'exists': 1, 'index': 1, 'shmget': 1, 'sub': 1, 'for': 1, 'endpwent': 1, 'redo': 1, 'lstat': 1, 'msgctl': 1, 'setpgrp': 1, 'abs': 1, 'exit': 1, 'select': 1, 'print': 1, 'ref': 1, 'gethostbyaddr': 1, 'unshift': 1, 'fcntl': 1, 'syscall': 1, 
 'goto': 1, 'getnetbyaddr': 1, 'join': 1, 'gmtime': 1, 'symlink': 1, 'semget': 1, 'splice': 1, 'x': 1, 'getpeername': 1, 'recv': 1, 'log': 1, 'setsockopt': 1, 'cos': 1, 'last': 1, 'reverse': 1, 'gethostbyname': 1, 'getgrnam': 1, 'study': 1, 'formline': 1, 'endhostent': 1, 'times': 1, 'chop': 1, 'length': 1, 'gethostent': 1, 'getnetent': 1, 'pack': 1, 'getprotoent': 1, 'getservbyname': 1, 'rand': 1, 'mkdir': 1, 'pos': 1, 'chmod': 1, 'y': 1, 'substr': 1, 'endnetent': 1, 'printf': 1, 'next': 1, 'open': 1, 'msgsnd': 1, 'readdir': 1, 'use': 1, 'unlink': 1, 'getsockopt': 1, 'getpriority': 1, 'rindex': 1, 'wantarray': 1, 'hex': 1, 'system': 1, 'getservbyport': 1, 'endservent': 1, 'int': 1, 'chr': 1, 'untie': 1, 'rmdir': 1, 'prototype': 1, 'tell': 1, 'listen': 1, 'fork': 1, 'shmread': 1, 'ucfirst': 1, 'setprotoent': 1, 'else': 1, 'sysseek': 1, 'link': 1, 'getgrgid': 1, 'shmctl': 1, 'waitpid': 1, 'unpack': 1, 'getnetbyname': 1, 'reset': 1, 'chdir': 1, 'grep': 1, 'split': 1, 'require':
  1, 'caller': 1, 'lcfirst': 1, 'until': 1, 'warn': 1, 'while': 1, 'values': 1, 'shift': 1, 'telldir': 1, 'getpwuid': 1, 'my': 1, 'getprotobynumber': 1, 'delete': 1, 'and': 1, 'sort': 1, 'uc': 1, 'defined': 1, 'srand': 1, 'accept': 1, 'package': 1, 'seekdir': 1, 'getprotobyname': 1, 'semop': 1, 'our': 1, 'rename': 1, 'seek': 1, 'if': 1, 'q': 1, 'chroot': 1, 'sysread': 1, 'setpwent': 1, 'no': 1, 'crypt': 1, 'getc': 1, 'chown': 1, 'sqrt': 1, 'write': 1, 'setnetent': 1, 'setpriority': 1, 'foreach': 1, 'tie': 1, 'sin': 1, 'msgget': 1, 'map': 1, 'stat': 1, 'getlogin': 1, 'unless': 1, 'elsif': 1, 'truncate': 1, 'exec': 1, 'keys': 1, 'glob': 1, 'tied': 1, 'closedir': 1, 'ioctl': 1, 'socket': 1, 'readlink': 1, 'eval': 1, 'xor': 1, 'readline': 1, 'binmode': 1, 'setservent': 1, 'eof': 1, 'ord': 1, 'bind': 1, 'alarm': 1, 'pipe': 1, 'atan2': 1, 'getgrent': 1, 'exp': 1, 'time': 1, 'push': 1, 'setgrent': 1, 'gt': 1, 'lt': 1, 'or': 1, 'ne': 1, 'm': 1};
+  return {
+    defaultMode: {
+      lexems: [hljs.IDENT_RE],
+      contains: PERL_DEFAULT_CONTAINS,
+      keywords: PERL_KEYWORDS
+    },
+    modes: [
+
+      // variables
+      {
+        className: 'variable',
+        begin: '\\$\\d', end: '^'
+      },
+      {
+        className: 'variable',
+        begin: '[\\$\\%\\@\\*](\\^\\w\\b|#\\w+(\\:\\:\\w+)*|[^\\s\\w{]|{\\w+}|\\w+(\\:\\:\\w*)*)', end: '^'
+      },
+
+      // numbers and strings
+      {
+        className: 'subst',
+        begin: '[$@]\\{', end: '\}',
+        lexems: [hljs.IDENT_RE],
+        keywords: PERL_KEYWORDS,
+        contains: PERL_DEFAULT_CONTAINS,
+        relevance: 10
+      },
+      {
+        className: 'number',
+        begin: '(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b', end: '^',
+        relevance: 0
+      },
+      {
+        className: 'string',
+        begin: 'q[qwxr]?\\s*\\(', end: '\\)',
+        contains: ['escape', 'subst', 'variable'],
+        relevance: 5
+      },
+      {
+        className: 'string',
+        begin: 'q[qwxr]?\\s*\\[', end: '\\]',
+        contains: ['escape', 'subst', 'variable'],
+        relevance: 5
+      },
+      {
+        className: 'string',
+        begin: 'q[qwxr]?\\s*\\{', end: '\\}',
+        contains: ['escape', 'subst', 'variable'],
+        relevance: 5
+      },
+      {
+        className: 'string',
+        begin: 'q[qwxr]?\\s*\\|', end: '\\|',
+        contains: ['escape', 'subst', 'variable'],
+        relevance: 5
+      },
+      {
+        className: 'string',
+        begin: 'q[qwxr]?\\s*\\<', end: '\\>',
+        contains: ['escape', 'subst', 'variable'],
+        relevance: 5
+      },
+      {
+        className: 'string',
+        begin: 'qw\\s+q', end: 'q',
+        contains: ['escape', 'subst', 'variable'],
+        relevance: 5
+      },
+      {
+        className: 'string',
+        begin: '\'', end: '\'',
+        contains: ['escape'],
+        relevance: 0
+      },
+      {
+        className: 'string',
+        begin: '"', end: '"',
+        contains: ['escape','subst','variable'],
+        relevance: 0
+      },
+      hljs.BACKSLASH_ESCAPE,
+      {
+        className: 'string',
+        begin: '`', end: '`',
+        contains: ['escape']
+      },
+
+      // regexps
+      {
+        className: 'regexp',
+        begin: '(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*', end: '^',
+        relevance: 10
+      },
+      {
+        className: 'regexp',
+        begin: '(m|qr)?/', end: '/[a-z]*',
+        contains: ['escape'],
+        relevance: 0 // allows empty "//" which is a common comment delimiter in other languages
+      },
+
+      // bareword context
+      {
+        className: 'string',
+        begin: '{\\w+}', end: '^',
+        relevance: 0
+      },
+      {
+        className: 'string',
+        begin: '\-?\\w+\\s*\\=\\>', end: '^',
+        relevance: 0
+      },
+
+      // subroutines
+      {
+        className: 'sub',
+        begin: '\\bsub\\b', end: '(\\s*\\(.*?\\))?[;{]',
+        lexems: [hljs.IDENT_RE],
+        keywords: {'sub':1},
+        relevance: 5
+      },
+
+      // operators
+      {
+        className: 'operator',
+        begin: '-\\w\\b', end: '^',
+        relevance: 0
+      },
+
+      // comments
+      hljs.HASH_COMMENT_MODE,
+      {
+        className: 'comment',
+        begin: '^(__END__|__DATA__)', end: '\\n$',
+        relevance: 5
+      },
+      // pod
+      {
+        className: 'pod',
+        begin: '\\=\\w', end: '\\=cut'
+      }
+
+    ]
+  };
+}();

Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/languages/perl.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: servicemix/sandbox/website20/src/main/webapp/highlight/languages/php.js
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/languages/php.js?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/languages/php.js (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/languages/php.js Fri Oct 22 22:45:11 2010
@@ -0,0 +1,54 @@
+/*
+Language: PHP
+Author: Victor Karamzin <Victor.Karamzin@enterra-inc.com>
+*/
+
+hljs.LANGUAGES.php = {
+  defaultMode: {
+    lexems: [hljs.IDENT_RE],
+    contains: ['comment', 'number', 'string', 'variable', 'preprocessor'],
+    keywords: {'and': 1, 'include_once': 1, 'list': 1, 'abstract': 1, 'global': 1, 'private': 1, 'echo': 1, 'interface': 1, 'as': 1, 'static': 1, 'endswitch': 1, 'array': 1, 'null': 1, 'if': 1, 'endwhile': 1, 'or': 1, 'const': 1, 'for': 1, 'endforeach': 1, 'self': 1, 'var': 1, 'while': 1, 'isset': 1, 'public': 1, 'protected': 1, 'exit': 1, 'foreach': 1, 'throw': 1, 'elseif': 1, 'extends': 1, 'include': 1, '__FILE__': 1, 'empty': 1, 'require_once': 1, 'function': 1, 'do': 1, 'xor': 1, 'return': 1, 'implements': 1, 'parent': 1, 'clone': 1, 'use': 1, '__CLASS__': 1, '__LINE__': 1, 'else': 1, 'break': 1, 'print': 1, 'eval': 1, 'new': 1, 'catch': 1, '__METHOD__': 1, 'class': 1, 'case': 1, 'exception': 1, 'php_user_filter': 1, 'default': 1, 'die': 1, 'require': 1, '__FUNCTION__': 1, 'enddeclare': 1, 'final': 1, 'try': 1, 'this': 1, 'switch': 1, 'continue': 1, 'endfor': 1, 'endif': 1, 'declare': 1, 'unset': 1}
+  },
+  case_insensitive: true,
+  modes: [
+    hljs.C_LINE_COMMENT_MODE,
+    hljs.HASH_COMMENT_MODE,
+    {
+      className: 'comment',
+      begin: '/\\*', end: '\\*/',
+      contains: ['phpdoc']
+    },
+    {
+      className: 'phpdoc',
+      begin: '\\s@[A-Za-z]+', end: '^',
+      relevance: 10
+    },
+    hljs.C_NUMBER_MODE,
+    {
+      className: 'string',
+      begin: '\'', end: '\'',
+      contains: ['escape'],
+      relevance: 0
+    },
+    {
+      className: 'string',
+      begin: '"', end: '"',
+      contains: ['escape'],
+      relevance: 0
+    },
+    hljs.BACKSLASH_ESCAPE,
+    {
+      className: 'variable',
+      begin: '\\$[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*', end: '^'
+    },
+    {
+      className: 'preprocessor',
+      begin: '<\\?php', end: '^',
+      relevance: 10
+    },
+    {
+      className: 'preprocessor',
+      begin: '\\?>', end: '^'
+    }
+  ]
+};

Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/languages/php.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: servicemix/sandbox/website20/src/main/webapp/highlight/languages/profile.js
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/languages/profile.js?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/languages/profile.js (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/languages/profile.js Fri Oct 22 22:45:11 2010
@@ -0,0 +1,51 @@
+/*
+Language: Python profile
+Description: Python profiler results
+Author: Brian Beck <exogen@gmail.com>
+*/
+
+hljs.LANGUAGES.profile = {
+  defaultMode: {
+    lexems: [hljs.UNDERSCORE_IDENT_RE],
+    contains: ['number', 'builtin', 'filename', 'header', 'summary', 'string', 'function']
+  },
+  modes: [
+    hljs.C_NUMBER_MODE,
+    hljs.APOS_STRING_MODE,
+    hljs.QUOTE_STRING_MODE,
+    {
+      className: 'summary',
+      begin: 'function calls', end: '$',
+      contains: ['number'],
+      relevance: 10
+    },
+    {
+      className: 'header',
+      begin: '(ncalls|tottime|cumtime)', end: '$',
+      lexems: [hljs.IDENT_RE],
+      keywords: {'ncalls': 1, 'tottime': 10, 'cumtime': 10, 'filename': 1},
+      relevance: 10
+    },
+    {
+      className: 'function',
+      begin: '\\(', end: '\\)',
+      lexems: [hljs.UNDERSCORE_IDENT_RE],
+      contains: ['title']
+    },
+    {
+      className: 'title',
+      begin: hljs.UNDERSCORE_IDENT_RE, end: '^'
+    },
+    {
+      className: 'builtin',
+      begin: '{', end: '}',
+      contains: ['string'],
+      excludeBegin: true, excludeEnd: true
+    },
+    {
+      className: 'filename',
+      begin: '(/\w|[a-zA-Z_][\da-zA-Z_]+\\.[\da-zA-Z_]{1,3})', end: ':',
+      excludeEnd: true
+    }
+  ]
+};

Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/languages/profile.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: servicemix/sandbox/website20/src/main/webapp/highlight/languages/python.js
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/languages/python.js?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/languages/python.js (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/languages/python.js Fri Oct 22 22:45:11 2010
@@ -0,0 +1,75 @@
+/*
+Language: Python
+*/
+
+hljs.LANGUAGES.python = {
+  defaultMode: {
+    lexems: [hljs.UNDERSCORE_IDENT_RE],
+    illegal: '(</|->)',
+    contains: ['comment', 'string', 'function', 'class', 'number', 'decorator'],
+    keywords: {
+      'keyword': {'and': 1, 'elif': 1, 'is': 1, 'global': 1, 'as': 1, 'in': 1, 'if': 1, 'from': 1, 'raise': 1, 'for': 1, 'except': 1, 'finally': 1, 'print': 1, 'import': 1, 'pass': 1, 'return': 1, 'exec': 1, 'else': 1, 'break': 1, 'not': 1, 'with': 1, 'class': 1, 'assert': 1, 'yield': 1, 'try': 1, 'while': 1, 'continue': 1, 'del': 1, 'or': 1, 'def': 1, 'lambda': 1, 'nonlocal': 10},
+      'built_in': {'None': 1, 'True': 1, 'False': 1, 'Ellipsis': 1, 'NotImplemented': 1}
+    }
+  },
+  modes: [
+    {
+      className: 'function',
+      lexems: [hljs.UNDERSCORE_IDENT_RE],
+      begin: '\\bdef ', end: ':',
+      illegal: '$',
+      keywords: {'def': 1},
+      contains: ['title', 'params'],
+      relevance: 10
+    },
+    {
+      className: 'class',
+      lexems: [hljs.UNDERSCORE_IDENT_RE],
+      begin: '\\bclass ', end: ':',
+      illegal: '[${]',
+      keywords: {'class': 1},
+      contains: ['title', 'params'],
+      relevance: 10
+    },
+    {
+      className: 'title',
+      begin: hljs.UNDERSCORE_IDENT_RE, end: '^'
+    },
+    {
+      className: 'params',
+      begin: '\\(', end: '\\)',
+      contains: ['string']
+    },
+    hljs.HASH_COMMENT_MODE,
+    hljs.C_NUMBER_MODE,
+    {
+      className: 'string',
+      begin: 'u?r?\'\'\'', end: '\'\'\'',
+      relevance: 10
+    },
+    {
+      className: 'string',
+      begin: 'u?r?"""', end: '"""',
+      relevance: 10
+    },
+    hljs.APOS_STRING_MODE,
+    hljs.QUOTE_STRING_MODE,
+    hljs.BACKSLASH_ESCAPE,
+    {
+      className: 'string',
+      begin: '(u|r|ur)\'', end: '\'',
+      contains: ['escape'],
+      relevance: 10
+    },
+    {
+      className: 'string',
+      begin: '(u|r|ur)"', end: '"',
+      contains: ['escape'],
+      relevance: 10
+    },
+    {
+      className: 'decorator',
+      begin: '@', end: '$'
+    }
+  ]
+};

Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/languages/python.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: servicemix/sandbox/website20/src/main/webapp/highlight/languages/renderman.js
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/languages/renderman.js?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/languages/renderman.js (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/languages/renderman.js Fri Oct 22 22:45:11 2010
@@ -0,0 +1,239 @@
+/*
+Language: RenderMan
+Description: RenderMan Languages RIB and RSL
+Author: Konstantin Evdokimenko <qewerty@gmail.com>
+Contributors: Shuen-Huei Guan <drake.guan@gmail.com>
+*/
+
+hljs.LANGUAGES.rib  = {
+  defaultMode: {
+    lexems: [hljs.UNDERSCORE_IDENT_RE],
+    illegal: '</',
+    contains: ['comment', 'string', 'number'],
+    keywords: {
+      'keyword': {
+            'ArchiveRecord': 1,
+            'AreaLightSource': 1,
+            'Atmosphere': 1,
+            'Attribute': 1,
+            'AttributeBegin': 1,
+            'AttributeEnd': 1,
+            'Basis': 1,
+            'Begin': 1,
+            'Blobby': 1,
+            'Bound': 1,
+            'Clipping': 1,
+            'ClippingPlane': 1,
+            'Color': 1,
+            'ColorSamples': 1,
+            'ConcatTransform': 1,
+            'Cone': 1,
+            'CoordinateSystem': 1,
+            'CoordSysTransform': 1,
+            'CropWindow': 1,
+            'Curves': 1,
+            'Cylinder': 1,
+            'DepthOfField': 1,
+            'Detail': 1,
+            'DetailRange': 1,
+            'Disk': 1,
+            'Displacement': 1,
+            'Display': 1,
+            'End': 1,
+            'ErrorHandler': 1,
+            'Exposure': 1,
+            'Exterior': 1,
+            'Format': 1,
+            'FrameAspectRatio': 1,
+            'FrameBegin': 1,
+            'FrameEnd': 1,
+            'GeneralPolygon': 1,
+            'GeometricApproximation': 1,
+            'Geometry': 1,
+            'Hider': 1,
+            'Hyperboloid': 1,
+            'Identity': 1,
+            'Illuminate': 1,
+            'Imager': 1,
+            'Interior': 1,
+            'LightSource': 1,
+            'MakeCubeFaceEnvironment': 1,
+            'MakeLatLongEnvironment': 1,
+            'MakeShadow': 1,
+            'MakeTexture': 1,
+            'Matte': 1,
+            'MotionBegin': 1,
+            'MotionEnd': 1,
+            'NuPatch': 1,
+            'ObjectBegin': 1,
+            'ObjectEnd': 1,
+            'ObjectInstance': 1,
+            'Opacity': 1,
+            'Option': 1,
+            'Orientation': 1,
+            'Paraboloid': 1,
+            'Patch': 1,
+            'PatchMesh': 1,
+            'Perspective': 1,
+            'PixelFilter': 1,
+            'PixelSamples': 1,
+            'PixelVariance': 1,
+            'Points': 1,
+            'PointsGeneralPolygons': 1,
+            'PointsPolygons': 1,
+            'Polygon': 1,
+            'Procedural': 1,
+            'Projection': 1,
+            'Quantize': 1,
+            'ReadArchive': 1,
+            'RelativeDetail': 1,
+            'ReverseOrientation': 1,
+            'Rotate': 1,
+            'Scale': 1,
+            'ScreenWindow': 1,
+            'ShadingInterpolation': 1,
+            'ShadingRate': 1,
+            'Shutter': 1,
+            'Sides': 1,
+            'Skew': 1,
+            'SolidBegin': 1,
+            'SolidEnd': 1,
+            'Sphere': 1,
+            'SubdivisionMesh': 1,
+            'Surface': 1,
+            'TextureCoordinates': 1,
+            'Torus': 1,
+            'Transform': 1,
+            'TransformBegin': 1,
+            'TransformEnd': 1,
+            'TransformPoints': 1,
+            'Translate': 1,
+            'TrimCurve': 1,
+            'WorldBegin': 1,
+            'WorldEnd': 1
+            }
+    }
+  },
+  modes: [
+    hljs.HASH_COMMENT_MODE,
+    hljs.C_NUMBER_MODE,
+    hljs.APOS_STRING_MODE,
+    hljs.QUOTE_STRING_MODE,
+    hljs.BACKSLASH_ESCAPE
+  ]
+};
+
+hljs.LANGUAGES.rsl  = {
+  defaultMode: {
+    lexems: [hljs.UNDERSCORE_IDENT_RE],
+    illegal: '</',
+    contains: ['comment', 'string', 'number', 'preprocessor',
+               'shader', 'shading'],
+    keywords: {
+      'keyword': {'float': 1, 'color': 1, 'point': 1, 'normal': 1, 'vector': 1,
+                  'matrix': 1, 'while': 1, 'for': 1, 'if': 1, 'do': 1,
+                  'return': 1, 'else': 1, 'break': 1, 'extern': 1, 'continue': 1},
+      'built_in': {
+                    'abs': 1,
+                    'acos': 1,
+                    'ambient': 1,
+                    'area': 1,
+                    'asin': 1,
+                    'atan': 1,
+                    'atmosphere': 1,
+                    'attribute': 1,
+                    'calculatenormal': 1,
+                    'ceil': 1,
+                    'cellnoise': 1,
+                    'clamp': 1,
+                    'comp': 1,
+                    'concat': 1,
+                    'cos': 1,
+                    'degrees': 1,
+                    'depth': 1,
+                    'Deriv': 1,
+                    'diffuse': 1,
+                    'distance': 1,
+                    'Du': 1,
+                    'Dv': 1,
+                    'environment': 1,
+                    'exp': 1,
+                    'faceforward': 1,
+                    'filterstep': 1,
+                    'floor': 1,
+                    'format': 1,
+                    'fresnel': 1,
+                    'incident': 1,
+                    'length': 1,
+                    'lightsource': 1,
+                    'log': 1,
+                    'match': 1,
+                    'max': 1,
+                    'min': 1,
+                    'mod': 1,
+                    'noise': 1,
+                    'normalize': 1,
+                    'ntransform': 1,
+                    'opposite': 1,
+                    'option': 1,
+                    'phong': 1,
+                    'pnoise': 1,
+                    'pow': 1,
+                    'printf': 1,
+                    'ptlined': 1,
+                    'radians': 1,
+                    'random': 1,
+                    'reflect': 1,
+                    'refract': 1,
+                    'renderinfo': 1,
+                    'round': 1,
+                    'setcomp': 1,
+                    'setxcomp': 1,
+                    'setycomp': 1,
+                    'setzcomp': 1,
+                    'shadow': 1,
+                    'sign': 1,
+                    'sin': 1,
+                    'smoothstep': 1,
+                    'specular': 1,
+                    'specularbrdf': 1,
+                    'spline': 1,
+                    'sqrt': 1,
+                    'step': 1,
+                    'tan': 1,
+                    'texture': 1,
+                    'textureinfo': 1,
+                    'trace': 1,
+                    'transform': 1,
+                    'vtransform': 1,
+                    'xcomp': 1,
+                    'ycomp': 1,
+                    'zcomp': 1
+                    }
+    }
+  },
+  modes: [
+    {
+      className: 'shader',
+      begin: 'surface |displacement |light |volume |imager ', end: '\\(',
+      lexems: [hljs.IDENT_RE],
+      keywords: {'surface': 1, 'displacement': 1, 'light': 1, 'volume': 1, 'imager': 1}
+    },
+    {
+      className: 'shading',
+      begin: 'illuminate|illuminance|gather', end: '\\(',
+      lexems: [hljs.IDENT_RE],
+      keywords: {'illuminate': 1, 'illuminance': 1, 'gather': 1}
+    },
+    hljs.C_LINE_COMMENT_MODE,
+    hljs.C_BLOCK_COMMENT_MODE,
+    hljs.C_NUMBER_MODE,
+    hljs.QUOTE_STRING_MODE,
+    hljs.APOS_STRING_MODE,
+    hljs.BACKSLASH_ESCAPE,
+    {
+      className: 'preprocessor',
+      begin: '#', end: '$'
+    }
+  ]
+};

Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/languages/renderman.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: servicemix/sandbox/website20/src/main/webapp/highlight/languages/ruby.js
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/languages/ruby.js?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/languages/ruby.js (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/languages/ruby.js Fri Oct 22 22:45:11 2010
@@ -0,0 +1,195 @@
+/*
+Language: Ruby
+Author: Anton Kovalyov <anton@kovalyov.net>
+Contributors: Peter Leonov <gojpeg@yandex.ru>, Vasily Polovnyov <vast@whiteants.net>, Loren Segal <lsegal@soen.ca>
+*/
+
+hljs.LANGUAGES.ruby = function(){
+  var RUBY_IDENT_RE = '[a-zA-Z_][a-zA-Z0-9_]*(\\!|\\?)?';
+  var RUBY_METHOD_RE = '[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?';
+  var RUBY_DEFAULT_CONTAINS = ['comment', 'string', 'char', 'class', 'function', 'constant', 'symbol', 'number', 'variable', 'identifier', 'regexp_container']
+  var RUBY_KEYWORDS = {
+    'keyword': {'and': 1, 'false': 1, 'then': 1, 'defined': 1, 'module': 1, 'in': 1, 'return': 1, 'redo': 1, 'if': 1, 'BEGIN': 1, 'retry': 1, 'end': 1, 'for': 1, 'true': 1, 'self': 1, 'when': 1, 'next': 1, 'until': 1, 'do': 1, 'begin': 1, 'unless': 1, 'END': 1, 'rescue': 1, 'nil': 1, 'else': 1, 'break': 1, 'undef': 1, 'not': 1, 'super': 1, 'class': 1, 'case': 1, 'require': 1, 'yield': 1, 'alias': 1, 'while': 1, 'ensure': 1, 'elsif': 1, 'or': 1, 'def': 1},
+    'keymethods': {'__id__': 1, '__send__': 1, 'abort': 1, 'abs': 1, 'all?': 1, 'allocate': 1, 'ancestors': 1, 'any?': 1, 'arity': 1, 'assoc': 1, 'at': 1, 'at_exit': 1, 'autoload': 1, 'autoload?': 1, 'between?': 1, 'binding': 1, 'binmode': 1, 'block_given?': 1, 'call': 1, 'callcc': 1, 'caller': 1, 'capitalize': 1, 'capitalize!': 1, 'casecmp': 1, 'catch': 1, 'ceil': 1, 'center': 1, 'chomp': 1, 'chomp!': 1, 'chop': 1, 'chop!': 1, 'chr': 1, 'class': 1, 'class_eval': 1, 'class_variable_defined?': 1, 'class_variables': 1, 'clear': 1, 'clone': 1, 'close': 1, 'close_read': 1, 'close_write': 1, 'closed?': 1, 'coerce': 1, 'collect': 1, 'collect!': 1, 'compact': 1, 'compact!': 1, 'concat': 1, 'const_defined?': 1, 'const_get': 1, 'const_missing': 1, 'const_set': 1, 'constants': 1, 'count': 1, 'crypt': 1, 'default': 1, 'default_proc': 1, 'delete': 1, 'delete!': 1, 'delete_at': 1, 'delete_if': 1, 'detect': 1, 'display': 1, 'div': 1, 'divmod': 1, 'downcase': 1, 'downcase!': 1, 'downto': 1
 , 'dump': 1, 'dup': 1, 'each': 1, 'each_byte': 1, 'each_index': 1, 'each_key': 1, 'each_line': 1, 'each_pair': 1, 'each_value': 1, 'each_with_index': 1, 'empty?': 1, 'entries': 1, 'eof': 1, 'eof?': 1, 'eql?': 1, 'equal?': 1, 'eval': 1, 'exec': 1, 'exit': 1, 'exit!': 1, 'extend': 1, 'fail': 1, 'fcntl': 1, 'fetch': 1, 'fileno': 1, 'fill': 1, 'find': 1, 'find_all': 1, 'first': 1, 'flatten': 1, 'flatten!': 1, 'floor': 1, 'flush': 1, 'for_fd': 1, 'foreach': 1, 'fork': 1, 'format': 1, 'freeze': 1, 'frozen?': 1, 'fsync': 1, 'getc': 1, 'gets': 1, 'global_variables': 1, 'grep': 1, 'gsub': 1, 'gsub!': 1, 'has_key?': 1, 'has_value?': 1, 'hash': 1, 'hex': 1, 'id': 1, 'include': 1, 'include?': 1, 'included_modules': 1, 'index': 1, 'indexes': 1, 'indices': 1, 'induced_from': 1, 'inject': 1, 'insert': 1, 'inspect': 1, 'instance_eval': 1, 'instance_method': 1, 'instance_methods': 1, 'instance_of?': 1, 'instance_variable_defined?': 1, 'instance_variable_get': 1, 'instance_variable_set': 1, '
 instance_variables': 1, 'integer?': 1, 'intern': 1, 'invert': 1, 'ioctl': 1, 'is_a?': 1, 'isatty': 1, 'iterator?': 1, 'join': 1, 'key?': 1, 'keys': 1, 'kind_of?': 1, 'lambda': 1, 'last': 1, 'length': 1, 'lineno': 1, 'ljust': 1, 'load': 1, 'local_variables': 1, 'loop': 1, 'lstrip': 1, 'lstrip!': 1, 'map': 1, 'map!': 1, 'match': 1, 'max': 1, 'member?': 1, 'merge': 1, 'merge!': 1, 'method': 1, 'method_defined?': 1, 'method_missing': 1, 'methods': 1, 'min': 1, 'module_eval': 1, 'modulo': 1, 'name': 1, 'nesting': 1, 'new': 1, 'next': 1, 'next!': 1, 'nil?': 1, 'nitems': 1, 'nonzero?': 1, 'object_id': 1, 'oct': 1, 'open': 1, 'pack': 1, 'partition': 1, 'pid': 1, 'pipe': 1, 'pop': 1, 'popen': 1, 'pos': 1, 'prec': 1, 'prec_f': 1, 'prec_i': 1, 'print': 1, 'printf': 1, 'private_class_method': 1, 'private_instance_methods': 1, 'private_method_defined?': 1, 'private_methods': 1, 'proc': 1, 'protected_instance_methods': 1, 'protected_method_defined?': 1, 'protected_methods': 1, 'public_cla
 ss_method': 1, 'public_instance_methods': 1, 'public_method_defined?': 1, 'public_methods': 1, 'push': 1, 'putc': 1, 'puts': 1, 'quo': 1, 'raise': 1, 'rand': 1, 'rassoc': 1, 'read': 1, 'read_nonblock': 1, 'readchar': 1, 'readline': 1, 'readlines': 1, 'readpartial': 1, 'rehash': 1, 'reject': 1, 'reject!': 1, 'remainder': 1, 'reopen': 1, 'replace': 1, 'require': 1, 'respond_to?': 1, 'reverse': 1, 'reverse!': 1, 'reverse_each': 1, 'rewind': 1, 'rindex': 1, 'rjust': 1, 'round': 1, 'rstrip': 1, 'rstrip!': 1, 'scan': 1, 'seek': 1, 'select': 1, 'send': 1, 'set_trace_func': 1, 'shift': 1, 'singleton_method_added': 1, 'singleton_methods': 1, 'size': 1, 'sleep': 1, 'slice': 1, 'slice!': 1, 'sort': 1, 'sort!': 1, 'sort_by': 1, 'split': 1, 'sprintf': 1, 'squeeze': 1, 'squeeze!': 1, 'srand': 1, 'stat': 1, 'step': 1, 'store': 1, 'strip': 1, 'strip!': 1, 'sub': 1, 'sub!': 1, 'succ': 1, 'succ!': 1, 'sum': 1, 'superclass': 1, 'swapcase': 1, 'swapcase!': 1, 'sync': 1, 'syscall': 1, 'sysopen':
  1, 'sysread': 1, 'sysseek': 1, 'system': 1, 'syswrite': 1, 'taint': 1, 'tainted?': 1, 'tell': 1, 'test': 1, 'throw': 1, 'times': 1, 'to_a': 1, 'to_ary': 1, 'to_f': 1, 'to_hash': 1, 'to_i': 1, 'to_int': 1, 'to_io': 1, 'to_proc': 1, 'to_s': 1, 'to_str': 1, 'to_sym': 1, 'tr': 1, 'tr!': 1, 'tr_s': 1, 'tr_s!': 1, 'trace_var': 1, 'transpose': 1, 'trap': 1, 'truncate': 1, 'tty?': 1, 'type': 1, 'ungetc': 1, 'uniq': 1, 'uniq!': 1, 'unpack': 1, 'unshift': 1, 'untaint': 1, 'untrace_var': 1, 'upcase': 1, 'upcase!': 1, 'update': 1, 'upto': 1, 'value?': 1, 'values': 1, 'values_at': 1, 'warn': 1, 'write': 1, 'write_nonblock': 1, 'zero?': 1, 'zip': 1}
+  }
+  return {
+    defaultMode: {
+      lexems: [RUBY_IDENT_RE],
+      contains: RUBY_DEFAULT_CONTAINS,
+      keywords: RUBY_KEYWORDS
+    },
+    modes: [
+      {
+        className: 'comment',
+        begin: '#', end: '$',
+        contains: ['yardoctag']
+      },
+      {
+        className: 'yardoctag',
+        begin: '@[A-Za-z]+', end: '^'
+      },
+      {
+        className: 'comment',
+        begin: '^\\=begin', end: '^\\=end',
+        contains: ['yardoctag'],
+        relevance: 10
+      },
+      {
+        className: 'comment',
+        begin: '^__END__', end: '\\n$'
+      },
+      {
+        className: 'params',
+        begin: '\\(', end: '\\)',
+        lexems: [RUBY_IDENT_RE],
+        keywords: RUBY_KEYWORDS,
+        contains: RUBY_DEFAULT_CONTAINS
+      },
+      {
+        className: 'function',
+        begin: '\\bdef\\s+', end: ' |$|;',
+        lexems: [RUBY_IDENT_RE],
+        keywords: RUBY_KEYWORDS,
+        contains: ['ftitle', 'params', 'comment']
+      },
+      {
+        className: 'ftitle', displayClassName: 'title',
+        begin: RUBY_METHOD_RE, end: '^',
+        lexems: [RUBY_IDENT_RE],
+        keywords: RUBY_KEYWORDS
+      },
+      {
+        className: 'class',
+        begin: '\\b(class|module)\\b', end: '$|;',
+        lexems: [hljs.UNDERSCORE_IDENT_RE],
+        keywords: RUBY_KEYWORDS,
+        contains: ['title', 'inheritance', 'comment'],
+        keywords: {'class': 1, 'module': 1}
+      },
+      {
+        className: 'title',
+        begin: '[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?', end: '^',
+        relevance: 0
+      },
+      {
+        className: 'inheritance',
+        begin: '<\\s*', end: '^',
+        contains: ['parent']
+      },
+      {
+        className: 'parent',
+        begin: '(' + hljs.IDENT_RE + '::)?' + hljs.IDENT_RE, end: '^'
+      },
+      {
+        className: 'number',
+        begin: '(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b', end: '^',
+        relevance: 0
+      },
+      {
+        className: 'number',
+        begin: '\\?\\w', end: '^'
+      },
+      {
+        className: 'string',
+        begin: '\'', end: '\'',
+        contains: ['escape', 'subst'],
+        relevance: 0
+      },
+      {
+        className: 'string',
+        begin: '"', end: '"',
+        contains: ['escape', 'subst'],
+        relevance: 0
+      },
+      {
+        className: 'string',
+        begin: '%[qw]?\\(', end: '\\)',
+        contains: ['escape', 'subst'],
+        relevance: 10
+      },
+      {
+        className: 'string',
+        begin: '%[qw]?\\[', end: '\\]',
+        contains: ['escape', 'subst'],
+        relevance: 10
+      },
+      {
+        className: 'string',
+        begin: '%[qw]?{', end: '}',
+        contains: ['escape', 'subst'],
+        relevance: 10
+      },
+      {
+        className: 'string',
+        begin: '%[qw]?<', end: '>',
+        contains: ['escape', 'subst'],
+        relevance: 10
+      },
+      {
+        className: 'string',
+        begin: '%[qw]?/', end: '/',
+        contains: ['escape', 'subst'],
+        relevance: 10
+      },
+      {
+        className: 'string',
+        begin: '%[qw]?%', end: '%',
+        contains: ['escape', 'subst'],
+        relevance: 10
+      },
+      {
+        className: 'string',
+        begin: '%[qw]?-', end: '-',
+        contains: ['escape', 'subst'],
+        relevance: 10
+      },
+      {
+        className: 'string',
+        begin: '%[qw]?\\|', end: '\\|',
+        contains: ['escape', 'subst'],
+        relevance: 10
+      },
+      {
+        className: 'constant',
+        begin: '(::)?([A-Z]\\w*(::)?)+', end: '^',
+        relevance: 0
+      },
+      {
+        className: 'symbol',
+        begin: ':', end: '^',
+        contains: ['string', 'identifier']
+      },
+      {
+        className: 'identifier',
+        begin: RUBY_IDENT_RE, end: '^',
+        lexems: [RUBY_IDENT_RE],
+        keywords: RUBY_KEYWORDS,
+        relevance: 0
+      },
+      hljs.BACKSLASH_ESCAPE,
+      {
+        className: 'subst',
+        begin: '#\\{', end: '}',
+        lexems: [RUBY_IDENT_RE],
+        keywords: RUBY_KEYWORDS,
+        contains: RUBY_DEFAULT_CONTAINS
+      },
+      {
+        className: 'regexp_container',
+        begin: '(' + hljs.RE_STARTERS_RE + ')\\s*', end: '^', noMarkup: true,
+        contains: ['comment', 'regexp'],
+        relevance: 0
+      },
+      {
+        className: 'regexp',
+        begin: '/', end: '/[a-z]*',
+        illegal: '\\n',
+        contains: ['escape']
+      },
+      {
+        className: 'variable',
+        begin: '(\\$\\W)|((\\$|\\@\\@?)(\\w+))', end: '^'
+      }
+    ]
+  };
+}();

Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/languages/ruby.js
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message