diff --git a/README.md b/README.md deleted file mode 100644 index 59b0768..0000000 --- a/README.md +++ /dev/null @@ -1,207 +0,0 @@ -ASP Xtreme Evolution -==================== - -The ASP Xtreme Evolution goal is to be a versatile MVC URL-Friendly base for Classic ASP applications with some additional features that are not ASP native. It should implement things that are common to most applications removing the pain of starting a new software and helping you to structure it so that you get things right from the beginning. Our key concepts are choice and freedom over limiting conventions, polyglotism, sustained quality, extensibility which we try to implement in a clean, maintainable and extensible way. - -License -------- -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Lesser General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License -along with this program. If not, see . -A little about the binary extensions ------------------------------------- - -First of all, ASP Xtreme Evolution is based in some extensions, but don't worry -it's all free or open source and already comes with the package. Although, if you -want to check the original projects, here's a list of their sites: - -* [Microsoft Core XML Services (MSXML) 6.0](http://www.microsoft.com/downloads/details.aspx?FamilyID=993c0bcf-3bcf-4009-be21-27e85e1857b1&displaylang=en) -* [Ionics Isapi Rewrite Filter](http://iirf.codeplex.com/) -* [Crazy Beavers Imager Resizer and Zip](http://www.crazybeavers.se/downloads/) - -Installation ------------- - -1. Unzip the entire zip package in your HD and upload it to your domain FTP. - -2. If the domain is not registered in the server yet, register it in IIS pointing it's root to the folder where default.asp is located. Don't forget to check "Run scripts (such as ASP)". - -3. If your server does not provide a default cgi-bin folder, create a virtual directory named "cgi-bin" in your domain root pointing to /lib/axe/bin. Don't forget to check "Execute (such as ISAPI applications or CGI)"; Otherwise, move the contents of /lib/axe/bin to your cgi-bin folder. - -4. Give only "Read and Write" permission to your /app/cache folder. - -5. Go to your site properties and in ISAPI Filters tab, click [Add]. Fill the box with the following data: - Filter name: IIRF - [Browse...] to /lib/axe/bin/IsapiRewrite4.dll - -6. Yet in the site properties, go to the Custom Errors tab and look for 500;100 Default "Internal Server Error - ASP Error". Click [Edit...] - Message type: URL - URL: /app/views/error.asp - -7. Go to your Web Service Extensions and Add the binaries that comes with the package. They are located at /lib/axe/bin and their names are: - * CB Image Resizer (Imager.dll) - * CB Zip (CBZIP.exe) - * Ionics ISAPI Rewriting Filter (IsapiRewrite4.dll) - - Notes: - - * Don't forget to check "Set extension status to Allowed". - * If Active Server Pages is not allowed yet, allow it too. - -8. If your server does not support MSXML 6.0 yet, install it. It's available at: /lib/axe/bin/msxml6.msi - -9. Create an application pool for the application views. - -10. Set /app/views to the application pool created in step 9. - -11. That's it! Open a Web browser and type your domain. The "Welcome to ASP Xtreme Evolution" page should open. - -Version 1.2.1.0 ---------------- - -### Fixes - -Mmmm, I really don't have a track of the fixes 8'( but changed a lot of things -for sure. - -### Added - -* brand-new logo and favicon -* classType and classVersion properties in all classes -* new View - - genericView provides an easy shortcut for you to send an entire view content. -* [new functions](/lib/axe/docs/files/lib/axe/base-asp.html) - - axeInfo() - - iif(expr, truepart, falsepart) - - strsubstitute(template, replacements) - - sanitize(value, placeholders, replacements) - - isOdd(n) - - isEven(n) - - max(a) - - min(a) - - floor(n) - - ceiling(n) - - hex2dec(value) - - dec2hex(value) - - Kernel.exception(message) (reason: framework error system is now based on the same of asp.dll) - - [and a lot more basic math functions...](/lib/axe/docs/files/lib/axe/base-math-asp.html) -* new classes - - [ACL](/lib/axe/docs/files/lib/axe/classes/Utilities/acl-asp.html) _(not implemented yet)_ - - [Atom](/lib/axe/docs/files/lib/axe/classes/Feeds/atom-asp.html) _(not implemented yet)_ - - [Auth](/lib/axe/docs/files/lib/axe/classes/Utilities/auth-asp.html) _(not implemented yet)_ - - [Base64](/lib/axe/docs/files/lib/axe/classes/Utilities/base64-asp.html) - - [Color](/lib/axe/docs/files/lib/axe/classes/Utilities/color-asp.html) - - [CSV](/lib/axe/docs/files/lib/axe/classes/Parsers/csv-asp.html) _(not implemented yet)_ - - [CustomEvent](/lib/axe/docs/files/lib/axe/classes/customevent-asp.html) - - [Email](/lib/axe/docs/files/lib/axe/classes/Utilities/email-asp.html) - - [Interface](/lib/axe/docs/files/lib/axe/classes/interface-asp.html) - - [JSON2](/lib/axe/docs/files/lib/axe/classes/Parsers/json2-asp.html) - - [List](/lib/axe/docs/files/lib/axe/classes/Utilities/list-asp.html) - - [Logger](/lib/axe/docs/files/lib/axe/classes/Utilities/logger-asp.html) - - [Markdown](/lib/axe/docs/files/lib/axe/classes/Parsers/markdown-asp.html) - - [Orderly](/lib/axe/docs/files/lib/axe/classes/Parsers/orderly-asp.html) - - [Paginator](/lib/axe/docs/files/lib/axe/classes/Utilities/paginator-asp.html) - - [RSS](/lib/axe/docs/files/lib/axe/classes/Feeds/rss-asp.html) _(work in progress)_ - - [StringBuilder](/lib/axe/docs/files/lib/axe/classes/Utilities/stringbuilder-asp.html) - - [Template](/lib/axe/docs/files/lib/axe/classes/Utilities/template-asp.html) - - [Textile](/lib/axe/docs/files/lib/axe/classes/Parsers/textile-asp.html) _(not implemented yet)_ - - [Translator](/lib/axe/docs/files/lib/axe/classes/Utilities/translator-asp.html) _(work in progress)_ - - [UnitTest](/lib/axe/docs/files/lib/axe/classes/unittest-asp.html) - - [XSession](/lib/axe/docs/files/lib/axe/classes/Utilities/xsession-asp.html) _(not implemented yet)_ -* new services - - [Akismet](/lib/axe/docs/files/lib/axe/classes/Services/akismet-asp.html) - - [reCaptcha](/lib/axe/docs/files/lib/axe/classes/Services/recaptcha-asp.html) - -### Changes - -* Changed folders structure - * Moved /assets/default to /lib/axe/assets - * Moved /app/docs to /lib/axe/docs - * Moved /app/bin to /lib/axe/bin - * Moved /app/core/lib to /lib/axe/classes - * Moved /app/core to /lib/axe -* Changed classes filename structure - * renamed filename.class.asp to filename.asp -* Moved everything from ANSI to UTF-8. It's now possible to write 長尾 (nagao). _Note:_ changing the encode is easy as updating default.asp and global.asa -* Changed both Kernel.loadTextFile and Kernel.createFile from FSO to Stream for better UTF-8 support. -* updated classes - - [JSON](/lib/axe/docs/files/lib/axe/classes/Parsers/json-asp.html) (more methods and fixes!) -* Updated error.asp (better coding, new behavior). -* defaultView.asp displays both INSTALL.md and CHANGES.md content -* INSTALL.md and CHANGES.md are now written in Markdown syntax. -* removed Application("Msxml.version") and fixed the version to 6.0. -* removed iif() from classes. -* better templates! -* better documentation! It's updated to use [NaturalDocs v1.4](http://www.naturaldocs.org/ "NaturalDocs"). Of course it still uses [GeSHi](http://qbnz.com/highlighter/ "GeSHi") and [Tidy](http://tidy.sourceforge.net/ "Tidy") too. -* [SOAP Toolkit](http://www.microsoft.com/downloads/details.aspx?familyid=c943c0dd-ceec-4088-9753-86f052ec8450&displaylang=en "SOAP Toolkit 3.0") - - [Security Update](http://www.microsoft.com/DownLoads/details.aspx?FamilyID=23d18fd1-34be-4123-ba56-9be2d4be1b23&displaylang=en "SOAP Toolkit 3.0 Security Update") -* [IIRF](http://iirf.codeplex.com/ "Ionic's ISAPI Rewrite Filter") - - updated to 1.2.15 (current latest stable) - - enhanced URL-Rewriting -* a lot of other minor updates to make the Framework better ... - -### Removed - -* removed functions - - Kernel.urlDecode(s) (reason: that function was not compatible with all types of Encoding.) - - Kernel.htmlDecode(s) (reason: not required for Kernel.) - - Kernel.sanitize(s) (reason: using base.asp one instead.) - - Kernel.addError(sError) (reason: framework error system is now based on the same of asp.dll) - - Kernel.hasErrors(saErrors) (reason: same as above) - - - -Version 1.0.1.1 ---------------- - -### Fixes - -* Fixed the empty shuttle bug. This error was occuring everytime you call a view without adding keys to the Session("this") -* Fixed a bug in the JSON Class getChildNodes method which wasn't working for objects with depth >= 3. Thanks for Sven Neumann for pointing it. - -### Changes - -* Enhanced the rewriting rules (last one was writing logs and executing 3 tests for all request.). -* Enhanced standardization to fit W3C Level Double-A Conformance to Web Content Accessibility Guidelines 1.0. -* Added [object Array] detection in JSON Class. It's required because if you define ['one','two,three','four'] in the old one getElement returns the "one,two,three,four" string. - - - -Version 1.0.1.0 ---------------- - -### Fixes - -* Fixed last slash bug for complete URL Rewrite (/Controller/action/args/). -* Fixed no special chars bug (no '%') in urlDecode. -* A misspell in Imager Class. -* Fixed the evil "operation timed out" error creating another Application pool for the view folder. [More info](http://support.microsoft.com/default.aspx?scid=kb;en-us;Q316451). -* To fix the "80020009" error change AspMaxRequestEntityAllowed parameter in the C:\WINDOWS\system32\inetsrv\MetaBase.xml from 200000 to something between [0, 1073741824] bytes and iisreset. -* Fixed Memory Leak in the Server View Requests. - -### Added - -* Model, View and Controller Templates. -* My standard favicon in the Framework pages. - -### Changes - -* Changed Controllers Standard Structure to create scopes per action. -* Created a new Welcome page (changes in the defaultView and defaultModel). -* Removed all NON-ASCII characters and changed the standard encode from UTF-8 to ASCII. - - - -Version 1.0.0.0 ---------------- - -* Initial Release diff --git a/app/cache/__defaultController_defaultAction___.html b/app/cache/__defaultController_defaultAction___.html deleted file mode 100644 index 06ede4c..0000000 --- a/app/cache/__defaultController_defaultAction___.html +++ /dev/null @@ -1,376 +0,0 @@ - - - - ASP Xtreme Evolution - - - - - - -
-
-

ASP Xtreme Evolution

-
-
- ASP Xtreme Evolution -

ASP Xtreme Evolution goal is to be a versatile MVC URL-Friendly base for Classic ASP applications with some additional features that are not ASP native. It should implement things that are common to most applications removing the pain of starting a new software and helping you to structure it so that you get things right from the beginning. Our key concepts are choice and freedom over limiting conventions, polyglotism, sustained quality, extensibility which we try to implement in a clean, maintainable and extensible way.

-

Engine information

-

ASP Xtreme Evolution v1.2.0.0 running over VBScript v5.8.18702

-

LCID: 1033 - Codepage: 65001 - Charset: UTF-8

-

Important Notes

-
    -
  • This page doesn't mean that you installed the entire Framework right, but just a part of it. Don't be lazy and follow the INSTALL.md to the end (a copy of it is also available below).
  • -
  • If you are receiving an error: '80020009' without any additional information, increase the metabase 'AspMaxRequestEntityAllowed' parameter size (Default is 204800 bytes).
  • -
  • Set the application custom error 500;100 to '/app/views/error.asp' to integrate the framework errors with the IIS ASP errors.
  • -
  • There are some very useful templates which all project should use. They are: model.asp, view.asp and controller.asp on /lib/axe/templates folder.
  • -
  • - Don't forget, this still VBScript ASP! Be confident in your ASP skills and you will be fine. Also, the - - AXE DOCUMENTATION - and - - MICROSOFT SCRIPTING TECHNOLOGIES - are always ready to help you.
  • -
-

A little about the binary extensions

-

First of all, ASP Xtreme Evolution is based in some extensions, but don't worry -it's all free or open source and already comes with the package. Although, if you -want to check the original projects, here's a list of their sites:

- -

Installation

-
    -
  1. -

    Unzip the entire zip package in your HD and upload it to your domain FTP.

    -
  2. -
  3. -

    If the domain is not registered in the server yet, register it in IIS pointing it's root to the folder where default.asp is located. Don't forget to check "Run scripts (such as ASP)".

    -
  4. -
  5. -

    If your server does not provide a default cgi-bin folder, create a virtual directory named "cgi-bin" in your domain root pointing to /lib/axe/bin. Don't forget to check "Execute (such as ISAPI applications or CGI)"; Otherwise, move the contents of /lib/axe/bin to your cgi-bin folder.

    -
  6. -
  7. -

    Give only "Read and Write" permission to your /app/cache folder.

    -
  8. -
  9. -

    Go to your site properties and in ISAPI Filters tab, click [Add]. Fill the box with the following data: -

    -Filter name: IIRF -

    -[Browse...] to /lib/axe/bin/IsapiRewrite4.dll

    -
  10. -
  11. -

    Yet in the site properties, go to the Custom Errors tab and look for 500;100 Default "Internal Server Error - ASP Error". Click [Edit...] -

    -Message type: URL -

    -URL: /app/views/error.asp

    -
  12. -
  13. -

    Go to your Web Service Extensions and Add the binaries that comes with the package. They are located at /lib/axe/bin and their names are:

    -
      -
    • CB Image Resizer (Imager.dll)
    • -
    • CB Zip (CBZIP.exe)
    • -
    • Ionics ISAPI Rewriting Filter (IsapiRewrite4.dll)
    • -
    -

    Notes:

    -
      -
    • Don't forget to check "Set extension status to Allowed".
    • -
    • If Active Server Pages is not allowed yet, allow it too.
    • -
    -
  14. -
  15. -

    If your server does not support MSXML 6.0 yet, install it. It's available at: /lib/axe/bin/msxml6.msi

    -
  16. -
  17. -

    Create an application pool for the application views.

    -
  18. -
  19. -

    Set /app/views to the application pool created in step 9.

    -
  20. -
  21. -

    That's it! Open a Web browser and type your domain. The "Welcome to ASP Xtreme Evolution" page should open.

    -
  22. -
-

Getting started

-

Reconfiguring the Application

-

append: - ?reconfigure=true in the address bar

-

Inspecting

-

append: - ?inspect=true in the address bar

-

Checking how it works

-

append: - /defaultController/another in the address bar for a valid - /Controller/action example

-

append: - /foo/bar in the address bar for an internal error example

-

Version 1.2.0.0

-

Fixes

-

Mmmm, I really don't have a track of the fixes 8'( but changed a lot of things -for sure.

-

Added

-
    -
  • brand-new logo and favicon
  • -
  • classType and classVersion properties in all classes
  • -
  • new View - -
      -
    • genericView provides an easy shortcut for you to send an entire view content.
    • -
    -
  • -
  • - new functions -
      -
    • axeInfo()
    • -
    • iif(expr, truepart, falsepart)
    • -
    • strsubstitute(template, replacements)
    • -
    • sanitize(value, placeholders, replacements)
    • -
    • isOdd(n)
    • -
    • isEven(n)
    • -
    • max(a)
    • -
    • min(a)
    • -
    • floor(n)
    • -
    • ceiling(n)
    • -
    • hex2dec(value)
    • -
    • dec2hex(value)
    • -
    • Kernel.exception(message) (reason: framework error system is now based on the same of asp.dll)
    • -
    • - and a lot more basic math functions... -
    • -
    -
  • -
  • new classes - - -
  • -
  • new services - - -
  • -
-

Changes

-
    -
  • Changed folders structure - -
      -
    • Moved /assets/default to /lib/axe/assets
    • -
    • Moved /app/docs to /lib/axe/docs
    • -
    • Moved /app/bin to /lib/axe/bin
    • -
    • Moved /app/core/lib to /lib/axe/classes
    • -
    • Moved /app/core to /lib/axe
    • -
    -
  • -
  • Changed classes filename structure - -
      -
    • renamed filename.class.asp to filename.asp
    • -
    -
  • -
  • Moved everything from ANSI to UTF-8. It's now possible to write 長尾 (nagao). - Note: changing the encode is easy as updating default.asp and global.asa
  • -
  • Changed both Kernel.loadTextFile and Kernel.createFile from FSO to Stream for better UTF-8 support.
  • -
  • updated classes - -
      -
    • - JSON (more methods and fixes!)
    • -
    -
  • -
  • Updated error.asp (better coding, new behavior).
  • -
  • defaultView.asp displays both INSTALL.md and CHANGES.md content
  • -
  • INSTALL.md and CHANGES.md are now written in Markdown syntax.
  • -
  • removed Application("Msxml.version") and fixed the version to 6.0.
  • -
  • removed iif() from classes.
  • -
  • better templates!
  • -
  • better documentation! It's updated to use - NaturalDocs v1.4. Of course it still uses - GeSHi and - Tidy too.
  • -
  • - SOAP Toolkit - -
  • -
  • - IIRF -
      -
    • updated to 1.2.15 (current latest stable)
    • -
    • enhanced URL-Rewriting
    • -
    -
  • -
  • a lot of other minor updates to make the Framework better ...
  • -
-

Removed

-
    -
  • removed functions - -
      -
    • Kernel.urlDecode(s) (reason: that function was not compatible with all types of Encoding.)
    • -
    • Kernel.htmlDecode(s) (reason: not required for Kernel.)
    • -
    • Kernel.sanitize(s) (reason: using base.asp one instead.)
    • -
    • Kernel.addError(sError) (reason: framework error system is now based on the same of asp.dll)
    • -
    • Kernel.hasErrors(saErrors) (reason: same as above)
    • -
    -
  • -
-

Version 1.0.1.1

-

Fixes

-
    -
  • Fixed the empty shuttle bug. This error was occuring everytime you call a view without adding keys to the Session("this")
  • -
  • Fixed a bug in the JSON Class getChildNodes method which wasn't working for objects with depth >= 3. Thanks for Sven Neumann for pointing it.
  • -
-

Changes

-
    -
  • Enhanced the rewriting rules (last one was writing logs and executing 3 tests for all request.).
  • -
  • Enhanced standardization to fit W3C Level Double-A Conformance to Web Content Accessibility Guidelines 1.0.
  • -
  • Added [object Array] detection in JSON Class. It's required because if you define ['one','two,three','four'] in the old one getElement returns the "one,two,three,four" string.
  • -
-

Version 1.0.1.0

-

Fixes

-
    -
  • Fixed last slash bug for complete URL Rewrite (/Controller/action/args/).
  • -
  • Fixed no special chars bug (no '%') in urlDecode.
  • -
  • A misspell in Imager Class.
  • -
  • Fixed the evil "operation timed out" error creating another Application pool for the view folder. - More info.
  • -
  • To fix the "80020009" error change AspMaxRequestEntityAllowed parameter in the C:\WINDOWS\system32\inetsrv\MetaBase.xml from 200000 to something between [0, 1073741824] bytes and iisreset.
  • -
  • Fixed Memory Leak in the Server View Requests.
  • -
-

Added

-
    -
  • Model, View and Controller Templates.
  • -
  • My standard favicon in the Framework pages.
  • -
-

Changes

-
    -
  • Changed Controllers Standard Structure to create scopes per action.
  • -
  • Created a new Welcome page (changes in the defaultView and defaultModel).
  • -
  • Removed all NON-ASCII characters and changed the standard encode from UTF-8 to ASCII.
  • -
-

Version 1.0.0.0

-
    -
  • Initial Release
  • -
-
-
-
- -
-
- - - - \ No newline at end of file diff --git a/app/config.xml b/app/config.xml deleted file mode 100644 index 961af4f..0000000 --- a/app/config.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - ASP Xtreme Evolution - 1.2.0.0 - development - http://192.168.0.20:50001 - - - 6 - - defaultController - defaultAction - - - defaultController - another - - - diff --git a/app/controllers/defaultController.asp b/app/controllers/defaultController.asp deleted file mode 100644 index dfb9dba..0000000 --- a/app/controllers/defaultController.asp +++ /dev/null @@ -1,98 +0,0 @@ - - - - -<% - -' File: defaultController.asp -' -' ASP Xtreme Evolution after install defaultController. -' *You should replace it with your own defaultController.* -' -' License: -' -' This file is part of ASP Xtreme Evolution. -' Copyright (C) 2007-2009 Fabio Zendhi Nagao -' -' ASP Xtreme Evolution is free software: you can redistribute it and/or modify -' it under the terms of the GNU Lesser General Public License as published by -' the Free Software Foundation, either version 3 of the License, or -' (at your option) any later version. -' -' ASP Xtreme Evolution is distributed in the hope that it will be useful, -' but WITHOUT ANY WARRANTY; without even the implied warranty of -' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -' GNU Lesser General Public License for more details. -' -' You should have received a copy of the GNU Lesser General Public License -' along with ASP Xtreme Evolution. If not, see . -' -' About: -' -' - Written by Fabio Zendhi Nagao @ December 2007 -' -class DefaultController - - public sub defaultAction() - dim Model, Xml, Xslt - - set Model = new DefaultModel - set Xml = Model.introduce() - set Model = nothing - - Session("this").add "title", "ASP Xtreme Evolution" - Session("this").add "h1", "ASP Xtreme Evolution" - - set Xslt = Core.str2xml(Core.computeView()) - - Session("this").add "Output.xml", Xml.xml - Session("this").add "Output.xslt", Xslt.xml - Session("this").add "Output.value" , Core.indentedTransform(Xml, Xslt, Application("Xslt.xhtml"), " ") - - set Xslt = nothing - set Xml = nothing - end sub - - public sub another() - dim Model, sHtml - - Session("this").add "h1", "I'm just anotherView created by 長尾 (Nagao)" - - set Model = new DefaultModel - - Session("this").add "defaultController.source", Model.read("controller", "defaultController") - Session("this").add "defaultModel.source", Model.read("model", "defaultModel") - Session("this").add "defaultView.source", Model.read("view", "defaultView") - Session("this").add "anotherView.source", Model.read("view", "anotherView") - - set Model = nothing - - Session("view") = "anotherView" - sHtml = Core.computeView() - - Session("this").add "Output.xml", "There isn't a xml layer." - Session("this").add "Output.xslt", "No xslt layer either." - Session("this").add "Output.value", sHtml - end sub - -end class - - - -dim Controller : set Controller = new DefaultController -select case Session("action") - - case "defaultAction" - call Controller.defaultAction() - - case "another" - call Controller.another() - - case else - call Core.exception("Action '{0}' is not available at controller '{1}'", array(Session("action"), Session("controller"))) - -end select -set Controller = nothing - -%> - diff --git a/app/models/defaultModel.asp b/app/models/defaultModel.asp deleted file mode 100644 index 8da8c44..0000000 --- a/app/models/defaultModel.asp +++ /dev/null @@ -1,77 +0,0 @@ - -<% - -' File: defaultModel.asp -' -' ASP Xtreme Evolution after install defaultModel. *You should replace it with your own defaultModel.* -' -' License: -' -' This file is part of ASP Xtreme Evolution. -' Copyright (C) 2007-2009 Fabio Zendhi Nagao -' -' ASP Xtreme Evolution is free software: you can redistribute it and/or modify -' it under the terms of the GNU Lesser General Public License as published by -' the Free Software Foundation, either version 3 of the License, or -' (at your option) any later version. -' -' ASP Xtreme Evolution is distributed in the hope that it will be useful, -' but WITHOUT ANY WARRANTY; without even the implied warranty of -' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -' GNU Lesser General Public License for more details. -' -' You should have received a copy of the GNU Lesser General Public License -' along with ASP Xtreme Evolution. If not, see . -' -' About: -' -' - Written by Fabio Zendhi Nagao @ December 2007 -' -class DefaultModel - - public function introduce() - dim Parser : set Parser = new Markdown - - dim sXml : sXml = join(array( _ - "", _ - "", _ - " ", _ - " ASP Xtreme Evolution", _ - "

ASP Xtreme Evolution goal is to be a versatile MVC URL-Friendly base for Classic ASP applications with some additional features that are not ASP native. It should implement things that are common to most applications removing the pain of starting a new software and helping you to structure it so that you get things right from the beginning. Our key concepts are choice and freedom over limiting conventions, polyglotism, sustained quality, extensibility which we try to implement in a clean, maintainable and extensible way.

", _ - "

Engine information

", _ - "

" & axeInfo() & "

", _ - "

LCID: " & Session.lcid & " - Codepage: " & Session.codepage & " - Charset: " & Response.charset & "

", _ - "

Important Notes

", _ - "
    ", _ - "
  • This page doesn't mean that you installed the entire Framework right, but just a part of it. Don't be lazy and follow the INSTALL.md to the end (a copy of it is also available below).
  • ", _ - "
  • If you are receiving an error: '80020009' without any additional information, increase the metabase 'AspMaxRequestEntityAllowed' parameter size (Default is 204800 bytes).
  • ", _ - "
  • Set the application custom error 500;100 to '/app/views/error.asp' to integrate the framework errors with the IIS ASP errors.
  • ", _ - "
  • There are some very useful templates which all project should use. They are: model.asp, view.asp and controller.asp on /lib/axe/templates folder.
  • ", _ - "
  • Don't forget, this still VBScript ASP! Be confident in your ASP skills and you will be fine. Also, the AXE DOCUMENTATION and MICROSOFT SCRIPTING TECHNOLOGIES are always ready to help you.
  • ", _ - "
", _ - Parser.makeHtml( Core.loadTextFile( Server.mapPath("/lib/axe/docs/INSTALL.md") ) ), _ - "

Getting started

", _ - "

Reconfiguring the Application

", _ - "

append: ?reconfigure=true in the address bar

", _ - "

Inspecting

", _ - "

append: ?inspect=true in the address bar

", _ - "

Checking how it works

", _ - "

append: /defaultController/another in the address bar for a valid /Controller/action example

", _ - "

append: /foo/bar in the address bar for an internal error example

", _ - Parser.makeHtml( Core.loadTextFile( Server.mapPath("/lib/axe/docs/CHANGES.md") ) ), _ - "
", _ - "
" _ - ), vbNewLine) - - set Parser = nothing - - set introduce = Core.str2xml(sXml) - end function - - public function read(kind, name) - read = Core.printerFriendlyCode( Core.loadTextFile( Server.mapPath( strsubstitute("/app/{0}s/{1}.asp", array(kind, name)) ) ) ) - end function - -end class - -%> diff --git a/app/views/anotherView.asp b/app/views/anotherView.asp deleted file mode 100644 index dd5d8ce..0000000 --- a/app/views/anotherView.asp +++ /dev/null @@ -1,86 +0,0 @@ - - - - -<% - -' File: anotherView.asp -' -' ASP Xtreme Evolution after install defaultView. Views can be simple (x)html files -' if want it. *You should remove it.* -' -' License: -' -' This file is part of ASP Xtreme Evolution. -' Copyright (C) 2007-2009 Fabio Zendhi Nagao -' -' ASP Xtreme Evolution is free software: you can redistribute it and/or modify -' it under the terms of the GNU Lesser General Public License as published by -' the Free Software Foundation, either version 3 of the License, or -' (at your option) any later version. -' -' ASP Xtreme Evolution is distributed in the hope that it will be useful, -' but WITHOUT ANY WARRANTY; without even the implied warranty of -' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -' GNU Lesser General Public License for more details. -' -' You should have received a copy of the GNU Lesser General Public License -' along with ASP Xtreme Evolution. If not, see . -' -' About: -' -' - Written by Fabio Zendhi Nagao @ December 2007 -' - -%> - - - - ASP Xtreme Evolution: anotherView - - - - - - - -
-
-

<%= Session("this").item("h1") %>

-
-
-

As you can see, just changing <action> on the http://www.domain.com/<Controller>/<action>/<arguments[]> address bar pattern, you call the <action> method of <Controller> passing the <arguments[]> to it. This means you are ready for a spectacular experince with friendly URLs and MVC approach. Check below the easy source code of the standard pages of the framework:

-

defaultController

-

A Controller processes and responds to events, typically user actions, and may invoke changes on the model.

-
<%= Session("this").item("defaultController.source") %>
-

defaultModel

-

A Model is the domain-specific representation of the information on which the application operates. Domain logic adds meaning to raw data (e.g., calculating whether today is the user's birthday, or the totals, taxes, and shipping charges for shopping cart items).

-
<%= Session("this").item("defaultModel.source") %>
-

defaultView

-

A View renders the model into a form suitable for interaction, typically a user interface element. As you can see here, multiple views can exist for different purposes in the same Controller. This view is attached with an action which enables the AXE(ASP Xtreme Evolution) full power, returning XML representation in the Model and using XSLT to dinamically generate the output.

-
<%= Session("this").item("defaultView.source") %>
-

anotherView

-

If you felt confused by the XML-XSLT pattern, you can use Models to bring raw data from databases and Views as HTML. It also tastes good!

-
<%= Session("this").item("anotherView.source") %>
-
-
-
-
    -
  • Valid XHTML 1.1
  • -
  • Valid CSS!
  • -
  • Level Double-A conformance icon, W3C-WAI Web Content Accessibility Guidelines 1.0
  • -
-
-
- - - - - - - - - diff --git a/app/views/defaultView.asp b/app/views/defaultView.asp deleted file mode 100644 index cd1905d..0000000 --- a/app/views/defaultView.asp +++ /dev/null @@ -1,70 +0,0 @@ - - - - -<% - -' File: defaultView.asp -' -' ASP Xtreme Evolution after install defaultView. This view uses the prototyped -' DefaultModel.introduce() XML output to display the content using XSLT - which -' is our recommendation. *You should replace it with your own defaultView.* -' -' License: -' -' This file is part of ASP Xtreme Evolution. -' Copyright (C) 2007-2009 Fabio Zendhi Nagao -' -' ASP Xtreme Evolution is free software: you can redistribute it and/or modify -' it under the terms of the GNU Lesser General Public License as published by -' the Free Software Foundation, either version 3 of the License, or -' (at your option) any later version. -' -' ASP Xtreme Evolution is distributed in the hope that it will be useful, -' but WITHOUT ANY WARRANTY; without even the implied warranty of -' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -' GNU Lesser General Public License for more details. -' -' You should have received a copy of the GNU Lesser General Public License -' along with ASP Xtreme Evolution. If not, see . -' -' About: -' -' - Written by Fabio Zendhi Nagao @ December 2007 -' - -%> - - - - - - <%= Session("this").item("title") %> - - - - - - -
-
-

<%= Session("this").item("h1") %>

-
-
- -
-
-
-
    -
  • Valid XHTML 1.1
  • -
  • Valid CSS!
  • -
  • Level Double-A conformance icon, W3C-WAI Web Content Accessibility Guidelines 1.0
  • -
-
-
- - -
-
- - diff --git a/app/views/error.asp b/app/views/error.asp deleted file mode 100644 index a5bc423..0000000 --- a/app/views/error.asp +++ /dev/null @@ -1,105 +0,0 @@ -<% - -' File: error.asp -' -' When a error occurs processing this framework, it will be storage in an array. -' This errors array is then verified and if something is there, this view will -' be triggered instead of the current requested view. It can also be used as the -' default 500;100 Internal Server Error. -' -' License: -' -' This file is part of ASP Xtreme Evolution. -' Copyright (C) 2007-2009 Fabio Zendhi Nagao -' -' ASP Xtreme Evolution is free software: you can redistribute it and/or modify -' it under the terms of the GNU Lesser General Public License as published by -' the Free Software Foundation, either version 3 of the License, or -' (at your option) any later version. -' -' ASP Xtreme Evolution is distributed in the hope that it will be useful, -' but WITHOUT ANY WARRANTY; without even the implied warranty of -' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -' GNU Lesser General Public License for more details. -' -' You should have received a copy of the GNU Lesser General Public License -' along with ASP Xtreme Evolution. If not, see . -' -' About: -' -' - Written by Fabio Zendhi Nagao @ December 2007 -' - -%> - -<% - -if Response.buffer then - Response.clear - Response.status = "500 Internal Server Error" - Response.contentType = "text/html" - Response.expires = 0 -end if - -' 500;100 : Internal Server Error - ASP Error -dim AspError, category, message -set AspError = Server.getLastError() -if((AspError.description <> "") and (AspError.file <> "") and (AspError.line > 0)) then - category = strsubstitute( _ - "{0}{1} error (0x{2})", _ - array( _ - AspError.category, _ - iif(AspError.aspCode > "", Server.htmlEncode(", " & AspError.aspCode), ""), _ - Hex(AspError.number) _ - ) _ - ) - - message = strsubstitute( _ - "

{0} @ {1}{2}{3}

{4}", _ - array( _ - AspError.description, _ - AspError.file, _ - iif(AspError.line > 0, (", line: " & AspError.line & ""), ""), _ - iif(AspError.column > 0, (", column: " & AspError.column & ""), ""), _ - iif(AspError.source > "", "
" & Server.htmlEncode(AspError.source) & "
", "") _ - ) _ - ) -end if -set AspError = nothing - -%> - - - - - - ASP Xtreme Evolution :: runtime error - - - - - - -
-
-

<%= category %>

-

An error occurred processing the page ( '<%= Request.ServerVariables("SCRIPT_NAME") & "' [" & Request.ServerVariables("REQUEST_METHOD") %>] ) you requested. Please see the details below for more information.

-
-
<%= message %>
-
-
-
    -
  • Valid XHTML 1.1
  • -
  • Valid CSS!
  • -
  • Level Double-A conformance icon, W3C-WAI Web Content Accessibility Guidelines 1.0
  • -
-
-
- - - - diff --git a/app/views/genericView.asp b/app/views/genericView.asp deleted file mode 100644 index eb1f68a..0000000 --- a/app/views/genericView.asp +++ /dev/null @@ -1,39 +0,0 @@ - - - - -<% - -' File: genericView.asp -' -' Use this view to dispatch the content assigned to "View.content". Useful view -' for feeding XML and JSON directly from their models. -' -' License: -' -' This file is part of ASP Xtreme Evolution. -' Copyright (C) 2007-2009 Fabio Zendhi Nagao -' -' ASP Xtreme Evolution is free software: you can redistribute it and/or modify -' it under the terms of the GNU Lesser General Public License as published by -' the Free Software Foundation, either version 3 of the License, or -' (at your option) any later version. -' -' ASP Xtreme Evolution is distributed in the hope that it will be useful, -' but WITHOUT ANY WARRANTY; without even the implied warranty of -' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -' GNU Lesser General Public License for more details. -' -' You should have received a copy of the GNU Lesser General Public License -' along with ASP Xtreme Evolution. If not, see . -' -' About: -' -' - Written by Fabio Zendhi Nagao @ December 2009 -' - -Response.write( Session("this").item("View.content") ) - -%> - - diff --git a/app/views/global.asa b/app/views/global.asa deleted file mode 100644 index 242be21..0000000 --- a/app/views/global.asa +++ /dev/null @@ -1,71 +0,0 @@ - - - diff --git a/app/views/inspect.asp b/app/views/inspect.asp deleted file mode 100644 index b0bdaf6..0000000 --- a/app/views/inspect.asp +++ /dev/null @@ -1,125 +0,0 @@ -<% - -' File: inspect.asp -' -' This view provide resources for developers to analyse the current data source, -' transformation and output which is being sent to the user. -' -' License: -' -' This file is part of ASP Xtreme Evolution. -' Copyright (C) 2007-2009 Fabio Zendhi Nagao -' -' ASP Xtreme Evolution is free software: you can redistribute it and/or modify -' it under the terms of the GNU Lesser General Public License as published by -' the Free Software Foundation, either version 3 of the License, or -' (at your option) any later version. -' -' ASP Xtreme Evolution is distributed in the hope that it will be useful, -' but WITHOUT ANY WARRANTY; without even the implied warranty of -' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -' GNU Lesser General Public License for more details. -' -' You should have received a copy of the GNU Lesser General Public License -' along with ASP Xtreme Evolution. If not, see . -' -' About: -' -' - Written by Fabio Zendhi Nagao @ December 2007 -' - -%> - - - - - - - ASP Xtreme Evolution :: Inspect - - - - - - - -
-
-

Inspecting :: /<% Response.write Session("controller") & "/" & Session("action") & "/" & join(Session("argv"), "/") %>

- -
-
-
-
- - -<% - -dim sVariable, i, sClass -i = 0 -for each sVariable in Request.serverVariables - if( i mod 2 = 0 ) then - sClass = "even" - else - sClass = "odd" - end if - Response.write " " & vbNewLine - Response.write " " & vbNewLine - Response.write " " & vbNewLine - Response.write " " & vbNewLine - i = i + 1 -next - -%> - -
" & sVariable & "" & Request.serverVariables(sVariable) & "
-
-
-
<% Response.write Core.printerFriendlyCode(Session("this").item("Output.xml")) %>
-
-
-
<% Response.write Core.printerFriendlyCode(Session("this").item("Output.xslt")) %>
-
-
-
<% Response.write Core.printerFriendlyCode(Session("this").item("Output.value")) %>
-
-
-
-
-
    -
  • Valid XHTML 1.1
  • -
  • Valid CSS!
  • -
  • Level Double-A conformance icon, W3C-WAI Web Content Accessibility Guidelines 1.0
  • -
-
-
- - - - - - - diff --git a/default.asp b/default.asp deleted file mode 100644 index 16577a8..0000000 --- a/default.asp +++ /dev/null @@ -1,55 +0,0 @@ -<%@ - -language = "VBScript" -codepage = 65001 -lcid = 1033 - -%><% - -' File: default.asp -' -' The main document, this is a gateway. All requests are handled here and only -' here. Used with IIRF, it provides a nice MVC architecture with URL-Rewriting -' logic. -' -' License: -' -' This file is part of ASP Xtreme Evolution. -' Copyright (C) 2007-2009 Fabio Zendhi Nagao -' -' ASP Xtreme Evolution is free software: you can redistribute it and/or modify -' it under the terms of the GNU Lesser General Public License as published by -' the Free Software Foundation, either version 3 of the License, or -' (at your option) any later version. -' -' ASP Xtreme Evolution is distributed in the hope that it will be useful, -' but WITHOUT ANY WARRANTY; without even the implied warranty of -' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -' GNU Lesser General Public License for more details. -' -' You should have received a copy of the GNU Lesser General Public License -' along with ASP Xtreme Evolution. If not, see . -' -' About: -' -' - Written by Fabio Zendhi Nagao @ December 2007 - -%> - - - - -<% - -' Set the controller and action sessions with the values received from the URI -' (initialize), run the controller (process) and run the view (dispatch) -Core.initialize().process().dispatch() - -' Print a comment with the execution time for optimizing purposes -if( Response.contentType = "text/html" ) then - Response.write "" -end if - -%> - - diff --git a/global.asa b/global.asa deleted file mode 100644 index 242be21..0000000 --- a/global.asa +++ /dev/null @@ -1,71 +0,0 @@ - - - diff --git a/lib/axe/application.configure.asp b/lib/axe/application.configure.asp deleted file mode 100644 index 7296a54..0000000 --- a/lib/axe/application.configure.asp +++ /dev/null @@ -1,96 +0,0 @@ -<% - -' File: application.configure.asp -' -' It's here where the config file is parsed. This is automatically executed in -' the first time the application runs, but you can send "?reconfigure=true" in -' the queryString to request a new execution. -' -' License: -' -' This file is part of ASP Xtreme Evolution. -' Copyright (C) 2007-2009 Fabio Zendhi Nagao -' -' ASP Xtreme Evolution is free software: you can redistribute it and/or modify -' it under the terms of the GNU Lesser General Public License as published by -' the Free Software Foundation, either version 3 of the License, or -' (at your option) any later version. -' -' ASP Xtreme Evolution is distributed in the hope that it will be useful, -' but WITHOUT ANY WARRANTY; without even the implied warranty of -' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -' GNU Lesser General Public License for more details. -' -' You should have received a copy of the GNU Lesser General Public License -' along with ASP Xtreme Evolution. If not, see . -' -' About: -' -' - Written by Fabio Zendhi Nagao @ December 2007 -' -dim Xml : set Xml = Server.createObject("MSXML2.DOMDocument.6.0") -Xml.async = false -Xml.load(Server.mapPath("/app/config.xml")) - -loadCommon Xml -loadCache Xml - -Application("isConfigured") = true - -set Xml = nothing - - - -' Subroutine: loadCommon -' -' Loads common application configurations. -' -' Parameters: -' -' (xml object)Xml - config.xml XML object -' -' See also: -' -' -' -sub loadCommon(Xml) - dim Nodelist : set Nodelist = Xml.selectNodes("/configurations/common/child::*") - dim Node : for each Node in Nodelist - Application(Node.nodeName) = Node.text - next - set Node = nothing - set Nodelist = nothing -end sub - -' Subroutine: loadCache -' -' Configures cache life time and items to be cached. -' -' Parameters: -' -' (xml object)Xml - config.xml XML object -' -' See also: -' -' -' -sub loadCache(Xml) - dim Nodelist : set Nodelist = Xml.selectNodes("/configurations/cache/lifetime") - dim Node : for each Node in Nodelist - Application("Cache.lifetime") = Node.text - next - set Nodelist = Xml.selectNodes("/configurations/cache/item") - dim saCache : redim saCache(Nodelist.length, 2) - dim i : i = 0 - for each Node in Nodelist - saCache(i, 0) = Node.firstChild.text - saCache(i, 1) = Node.lastChild.text - saCache(i, 2) = dateAdd("yyyy", -1, now()) - i = i + 1 - next - Application("Cache.items") = saCache - set Node = nothing - set Nodelist = nothing -end sub - -%> diff --git a/lib/axe/assets/css/asp-xtreme-evolution-syntax.css b/lib/axe/assets/css/asp-xtreme-evolution-syntax.css deleted file mode 100644 index 8c9e0bf..0000000 --- a/lib/axe/assets/css/asp-xtreme-evolution-syntax.css +++ /dev/null @@ -1,147 +0,0 @@ -/* File: asp-xtreme-evolution-syntax.css - * - * This stylesheet is required by inspect.asp only. It defines - * dpSyntaxHighlighter syntax highlighting styles. - * - * License: - * - * This file is part of ASP Xtreme Evolution. - * Copyright (C) 2007-2009 Fabio Zendhi Nagao - * - * ASP Xtreme Evolution is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * ASP Xtreme Evolution is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with ASP Xtreme Evolution. If not, see . - * - * About: - * - * - Written by Fabio Zendhi Nagao @ December 2007 - */ - -.dp-highlighter { - font-family: Monaco, "Bitstream Vera Sans Mono Roman", "DejaVu Sans Mono", "Courier New", Monospace; - font-size: 85%; - background-color: #2E3436; - width: 100%; - overflow: auto; - margin: 20px 0 !important; -} - -.dp-highlighter .bar { - padding-left: 45px; -} - -.dp-highlighter.collapsed .bar, -.dp-highlighter.nogutter .bar { - padding-left: 0px; -} - -.dp-highlighter ol { - list-style: decimal; /* for ie */ - margin: 0 0 20px 45px !important; - padding: 0px; - color: #EEEEEC; -} - -.dp-highlighter.nogutter ol, -.dp-highlighter.nogutter ol li { - list-style: none !important; - margin-left: 0px !important; -} - -.dp-highlighter ol li, -.dp-highlighter .columns div { - list-style: decimal-leading-zero; /* better look for others, override cascade from OL */ - list-style-position: outside !important; - border-left: 2px solid #4E9A06; - margin: 0 !important; - padding: 0 0 0 10px !important; - line-height: 18px; -} - -.dp-highlighter.nogutter ol li, -.dp-highlighter.nogutter .columns div { - border: 0; -} - -.dp-highlighter ol li.alt { - background-color: #292F31; -} - -/* Adjust some properties when collapsed */ - -.dp-highlighter.collapsed ol { - margin: 0px; -} - -.dp-highlighter.collapsed ol li { - display: none; -} - -/* Additional modifications when in print-view */ - -.dp-highlighter.printing { - border: none; -} - -.dp-highlighter.printing .tools { - display: none !important; -} - -.dp-highlighter.printing li { - display: list-item !important; -} - -/* Styles for the tools */ - -.dp-highlighter .tools { - font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; - font-size: 85%; - padding: 10px; - border-left: 2px solid #4E9A06; -} - -.dp-highlighter.nogutter .tools { - border-left: 0; -} - -.dp-highlighter.collapsed .tools { - border-bottom: 0; -} - -.dp-highlighter .tools a { - margin-right: 10px; -} - -.dp-highlighter .tools a:hover { - color: #729FCF; - text-decoration: underline; -} - -/* Generic styles */ - -.dp-highlighter .comment, .dp-highlighter .comments { color: #3465A4; } -.dp-highlighter .string { color: #729FCF; } -.dp-highlighter .keyword { color: #E9B96E; } -.dp-highlighter .preprocessor { color: #EF2929; } - -/* Language specific styles */ - -.dp-xml span { } -.dp-xml span.attribute { color: #E9B96E; } -.dp-xml span.attribute-value { color: #729FCF; } -.dp-xml span.cdata { color: #EF2929; } -.dp-xml span.comments { color: #3465A4; } -.dp-xml span.tag { color: #8AE234; } -.dp-xml span.tag-name { color: #8AE234; font-weight: bold; } - -.dp-asp span.asp-object { color: #8AE234; } -.dp-asp span.asp-methods { color: #888A85; } diff --git a/lib/axe/assets/css/asp-xtreme-evolution.css b/lib/axe/assets/css/asp-xtreme-evolution.css deleted file mode 100644 index cb42204..0000000 --- a/lib/axe/assets/css/asp-xtreme-evolution.css +++ /dev/null @@ -1,142 +0,0 @@ -/* File: asp-xtreme-evolution.css - * - * This stylesheet defines shared properties for the framework views. - * - * License: - * - * This file is part of ASP Xtreme Evolution. - * Copyright (C) 2007-2009 Fabio Zendhi Nagao - * - * ASP Xtreme Evolution is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * ASP Xtreme Evolution is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with ASP Xtreme Evolution. If not, see . - * - * About: - * - * - Written by Fabio Zendhi Nagao @ December 2007 - */ - -body { - padding: 1em; - background-color: #2E3436; - font-family: Arial, Helvetica, Clean, sans-serif; - color: #EEEEEC; -} - -h1, h2, h3, h4, h5, h6 { - padding-top: .5em; - padding-bottom: .5em; - font-weight: bold; -} - -p { - padding-bottom: .5em; -} - -strong { - font-weight: bold; -} - -em { - font-style: italic; -} - -code { - color: #AD7FA8; -} - -a { - color: #BABDB6; - text-decoration: underline; -} - -a:hover { - color: #729FCF; - text-decoration: underline; -} - -h1 { - font-size: 197%; - letter-spacing: -1px; - color: #FCE94F; - text-shadow: 2px 2px 2px #8F5902; -} - -h2 { - font-size: 182%; - letter-spacing: -1px; - color: #EDD400; - text-decoration: underline; -} - -h3 { - font-size: 167%; - letter-spacing: -1px; - color: #C4A000; -} - -ul, ol { - margin:0 .5em .5em 1.5em; -} -ul li {list-style-type:disc;} -ol li {list-style-type:decimal;} - -div#container-ft { - text-align: right; -} - -div#container-ft li { - display: inline; -} - -body#defaultView #container { - width: 620px; - padding-right: 1.5em; - border-right: 4px dotted #555753; -} - -body#defaultView img { - margin: 1.5em 0; -} - -body#inspect div#container-hd li { - display: inline; - padding-right: 10px; -} - -body#inspect ul { - margin: 0 0 1.5em 0; -} - -body#inspect div#container-bd table, -body#errors div#container-bd table { - width: 100%; -} - -body#inspect div#container-bd th, -body#inspect div#container-bd td, -body#errors div#container-bd th, -body#errors div#container-bd td { - padding: 5px; - font-size: 93%; -} - -body#inspect div#container-bd tr.even, -body#errors div#container-bd tr.even { - background-color: #292F31; -} - -body#inspect div#inspect-xml-container, -body#inspect div#inspect-xslt-container, -body#inspect div#inspect-output-container { - display: none; -} diff --git a/lib/axe/assets/css/reset-fonts-2.3.1.css b/lib/axe/assets/css/reset-fonts-2.3.1.css deleted file mode 100644 index a4f7f65..0000000 --- a/lib/axe/assets/css/reset-fonts-2.3.1.css +++ /dev/null @@ -1,7 +0,0 @@ -/* Copyright (c) 2007, Yahoo! Inc. All rights reserved. - * Code licensed under the BSD License: - * http://developer.yahoo.net/yui/license.txt - * version: 2.3.1 - */ -/*reset.css*/body{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup,sub{line-height:-1px;vertical-align:text-top;}sub{vertical-align:text-bottom;}input, textarea, select{font-family:inherit;font-size:inherit;font-weight:inherit;} -/*fonts.css*/body {font:13px/1.22 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}table {font-size:inherit;font:100%;}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:99%;} diff --git a/lib/axe/assets/img/docs-icon.png b/lib/axe/assets/img/docs-icon.png deleted file mode 100644 index 779ad58..0000000 Binary files a/lib/axe/assets/img/docs-icon.png and /dev/null differ diff --git a/lib/axe/assets/img/favicon.png b/lib/axe/assets/img/favicon.png deleted file mode 100644 index c581ae7..0000000 Binary files a/lib/axe/assets/img/favicon.png and /dev/null differ diff --git a/lib/axe/assets/img/logomark-icons.jpg b/lib/axe/assets/img/logomark-icons.jpg deleted file mode 100644 index dbd4635..0000000 Binary files a/lib/axe/assets/img/logomark-icons.jpg and /dev/null differ diff --git a/lib/axe/assets/js/dp.SyntaxHighlighter/PROJECT-HOME b/lib/axe/assets/js/dp.SyntaxHighlighter/PROJECT-HOME deleted file mode 100644 index d43bc24..0000000 --- a/lib/axe/assets/js/dp.SyntaxHighlighter/PROJECT-HOME +++ /dev/null @@ -1 +0,0 @@ -http://code.google.com/p/syntaxhighlighter/ \ No newline at end of file diff --git a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/clipboard.swf b/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/clipboard.swf deleted file mode 100644 index 2cfe371..0000000 Binary files a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/clipboard.swf and /dev/null differ diff --git a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushAsp.js b/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushAsp.js deleted file mode 100644 index 0f06f4e..0000000 --- a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushAsp.js +++ /dev/null @@ -1,43 +0,0 @@ -dp.sh.Brushes.Asp = function() { - var keywords = 'AddHandler AddressOf AndAlso Alias And Ansi As Assembly Auto ' + - 'Boolean ByRef Byte ByVal Call Case Catch CBool CByte CChar CDate ' + - 'CDec CDbl Char CInt Class CLng CObj Const CShort CSng CStr CType ' + - 'Date Decimal Declare Default Delegate Dim DirectCast Do Double Each ' + - 'Else ElseIf End Enum Erase Error Event Exit False Finally For Friend ' + - 'Function Get GetType GoSub GoTo Handles If Implements Imports In ' + - 'Inherits Integer Interface Is Let Lib Like Long Loop Me Mod Module ' + - 'MustInherit MustOverride MyBase MyClass Namespace New Next Not Nothing ' + - 'NotInheritable NotOverridable Object On Option Optional Or OrElse ' + - 'Overloads Overridable Overrides ParamArray Preserve Private Property ' + - 'Protected Public RaiseEvent ReadOnly ReDim REM RemoveHandler Resume ' + - 'Return Select Set Shadows Shared Short Single Static Step Stop String ' + - 'Structure Sub SyncLock Then Throw To True Try TypeOf Unicode Until ' + - 'Variant When While With WithEvents WriteOnly Xor'; - - var aResponse = [".Cookies", ".Buffer", ".CacheControl", ".Charset", ".ContentType", ".Expires", ".ExpiresAbsolute","IsClientConnected", ".Pics", ".Status", ".AddHeader", ".AppendToLog", ".BinaryWrite", ".Clear", ".End", ".Flush", ".Redirect", ".Write"]; - var aRequest = [".ClientCertificate", ".Cookies", ".Form", ".QueryString", ".ServerVariables", ".TotalBytes", ".BinaryRead"]; - var aApplication = [".Contents", ".StaticObjects", ".Contents.Remove", ".Contents.RemoveAll", ".Lock", ".Unlock", ".Application_OnEnd", ".Application_OnStart"]; - var aSession = [".Contents", ".StaticObjects", ".CodePage", ".LCID", ".SessionID", ".Timeout", ".Abandon", ".Contents.Remove", ".Contents.RemoveAll", ".Session_OnEnd", ".Session_OnStart"]; - var aServer = [".ScriptTimeOut", ".CreateObject", ".Execute", ".GetLastError", ".HTMLEncode", ".MapPath", ".Transfer", ".URLEncode"]; - var aError = [".ASPCode", ".ASPDescription", ".Category", ".Column", ".Description", ".File", ".Line", ".Number", ".Source"]; - - var asp_objects = 'Response Request Application Session Server Error'; - var asp_methods = aResponse.join(' ') + ' ' + - aRequest.join(' ') + ' ' + - aApplication.join(' ') + ' ' + - aSession.join(' ') + ' ' + - aServer.join(' ') + ' ' + - aError.join(' '); - - this.regexList = [ - {regex:new RegExp('\'.*$','gm'),css:'comment'}, - {regex:new RegExp('(\<|<)!--\\s*.*?\\s*--(\>|>)','gm'),css:'preprocessor'}, - {regex:dp.sh.RegexLib.DoubleQuotedString,css:'string'}, - {regex:new RegExp(this.GetKeywords(keywords),'gim'),css:'keyword'}, - {regex:new RegExp(this.GetKeywords(asp_objects),'gim'),css:'asp-object'}, - {regex:new RegExp(this.GetKeywords(asp_methods),'gim'),css:'asp-methods'} - ]; - this.CssClass = 'dp-asp'; -} -dp.sh.Brushes.Asp.prototype = new dp.sh.Highlighter(); -dp.sh.Brushes.Asp.Aliases = ['asp']; diff --git a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushCSharp.js b/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushCSharp.js deleted file mode 100644 index e8b2b03..0000000 --- a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushCSharp.js +++ /dev/null @@ -1,10 +0,0 @@ -/* - * JsMin - * Javascript Compressor - * http://www.crockford.com/ - * http://www.smallsharptools.com/ -*/ - -dp.sh.Brushes.CSharp=function() -{var keywords='abstract as base bool break byte case catch char checked class const '+'continue decimal default delegate do double else enum event explicit '+'extern false finally fixed float for foreach get goto if implicit in int '+'interface internal is lock long namespace new null object operator out '+'override params private protected public readonly ref return sbyte sealed set '+'short sizeof stackalloc static string struct switch this throw true try '+'typeof uint ulong unchecked unsafe ushort using virtual void while';this.regexList=[{regex:dp.sh.RegexLib.SingleLineCComments,css:'comment'},{regex:dp.sh.RegexLib.MultiLineCComments,css:'comment'},{regex:dp.sh.RegexLib.DoubleQuotedString,css:'string'},{regex:dp.sh.RegexLib.SingleQuotedString,css:'string'},{regex:new RegExp('^\\s*#.*','gm'),css:'preprocessor'},{regex:new RegExp(this.GetKeywords(keywords),'gm'),css:'keyword'}];this.CssClass='dp-c';this.Style='.dp-c .vars { color: #d00; }';} -dp.sh.Brushes.CSharp.prototype=new dp.sh.Highlighter();dp.sh.Brushes.CSharp.Aliases=['c#','c-sharp','csharp']; diff --git a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushCpp.js b/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushCpp.js deleted file mode 100644 index a88a7a4..0000000 --- a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushCpp.js +++ /dev/null @@ -1,10 +0,0 @@ -/* - * JsMin - * Javascript Compressor - * http://www.crockford.com/ - * http://www.smallsharptools.com/ -*/ - -dp.sh.Brushes.Cpp=function() -{var datatypes='ATOM BOOL BOOLEAN BYTE CHAR COLORREF DWORD DWORDLONG DWORD_PTR '+'DWORD32 DWORD64 FLOAT HACCEL HALF_PTR HANDLE HBITMAP HBRUSH '+'HCOLORSPACE HCONV HCONVLIST HCURSOR HDC HDDEDATA HDESK HDROP HDWP '+'HENHMETAFILE HFILE HFONT HGDIOBJ HGLOBAL HHOOK HICON HINSTANCE HKEY '+'HKL HLOCAL HMENU HMETAFILE HMODULE HMONITOR HPALETTE HPEN HRESULT '+'HRGN HRSRC HSZ HWINSTA HWND INT INT_PTR INT32 INT64 LANGID LCID LCTYPE '+'LGRPID LONG LONGLONG LONG_PTR LONG32 LONG64 LPARAM LPBOOL LPBYTE LPCOLORREF '+'LPCSTR LPCTSTR LPCVOID LPCWSTR LPDWORD LPHANDLE LPINT LPLONG LPSTR LPTSTR '+'LPVOID LPWORD LPWSTR LRESULT PBOOL PBOOLEAN PBYTE PCHAR PCSTR PCTSTR PCWSTR '+'PDWORDLONG PDWORD_PTR PDWORD32 PDWORD64 PFLOAT PHALF_PTR PHANDLE PHKEY PINT '+'PINT_PTR PINT32 PINT64 PLCID PLONG PLONGLONG PLONG_PTR PLONG32 PLONG64 POINTER_32 '+'POINTER_64 PSHORT PSIZE_T PSSIZE_T PSTR PTBYTE PTCHAR PTSTR PUCHAR PUHALF_PTR '+'PUINT PUINT_PTR PUINT32 PUINT64 PULONG PULONGLONG PULONG_PTR PULONG32 PULONG64 '+'PUSHORT PVOID PWCHAR PWORD PWSTR SC_HANDLE SC_LOCK SERVICE_STATUS_HANDLE SHORT '+'SIZE_T SSIZE_T TBYTE TCHAR UCHAR UHALF_PTR UINT UINT_PTR UINT32 UINT64 ULONG '+'ULONGLONG ULONG_PTR ULONG32 ULONG64 USHORT USN VOID WCHAR WORD WPARAM WPARAM WPARAM '+'char bool short int __int32 __int64 __int8 __int16 long float double __wchar_t '+'clock_t _complex _dev_t _diskfree_t div_t ldiv_t _exception _EXCEPTION_POINTERS '+'FILE _finddata_t _finddatai64_t _wfinddata_t _wfinddatai64_t __finddata64_t '+'__wfinddata64_t _FPIEEE_RECORD fpos_t _HEAPINFO _HFILE lconv intptr_t '+'jmp_buf mbstate_t _off_t _onexit_t _PNH ptrdiff_t _purecall_handler '+'sig_atomic_t size_t _stat __stat64 _stati64 terminate_function '+'time_t __time64_t _timeb __timeb64 tm uintptr_t _utimbuf '+'va_list wchar_t wctrans_t wctype_t wint_t signed';var keywords='break case catch class const __finally __exception __try '+'const_cast continue private public protected __declspec '+'default delete deprecated dllexport dllimport do dynamic_cast '+'else enum explicit extern if for friend goto inline '+'mutable naked namespace new noinline noreturn nothrow '+'register reinterpret_cast return selectany '+'sizeof static static_cast struct switch template this '+'thread throw true false try typedef typeid typename union '+'using uuid virtual void volatile whcar_t while';this.regexList=[{regex:dp.sh.RegexLib.SingleLineCComments,css:'comment'},{regex:dp.sh.RegexLib.MultiLineCComments,css:'comment'},{regex:dp.sh.RegexLib.DoubleQuotedString,css:'string'},{regex:dp.sh.RegexLib.SingleQuotedString,css:'string'},{regex:new RegExp('^ *#.*','gm'),css:'preprocessor'},{regex:new RegExp(this.GetKeywords(datatypes),'gm'),css:'datatypes'},{regex:new RegExp(this.GetKeywords(keywords),'gm'),css:'keyword'}];this.CssClass='dp-cpp';this.Style='.dp-cpp .datatypes { color: #2E8B57; font-weight: bold; }';} -dp.sh.Brushes.Cpp.prototype=new dp.sh.Highlighter();dp.sh.Brushes.Cpp.Aliases=['cpp','c','c++']; diff --git a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushCss.js b/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushCss.js deleted file mode 100644 index 11d67fd..0000000 --- a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushCss.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * JsMin - * Javascript Compressor - * http://www.crockford.com/ - * http://www.smallsharptools.com/ -*/ - -dp.sh.Brushes.CSS=function() -{var keywords='ascent azimuth background-attachment background-color background-image background-position '+'background-repeat background baseline bbox border-collapse border-color border-spacing border-style border-top '+'border-right border-bottom border-left border-top-color border-right-color border-bottom-color border-left-color '+'border-top-style border-right-style border-bottom-style border-left-style border-top-width border-right-width '+'border-bottom-width border-left-width border-width border cap-height caption-side centerline clear clip color '+'content counter-increment counter-reset cue-after cue-before cue cursor definition-src descent direction display '+'elevation empty-cells float font-size-adjust font-family font-size font-stretch font-style font-variant font-weight font '+'height letter-spacing line-height list-style-image list-style-position list-style-type list-style margin-top '+'margin-right margin-bottom margin-left margin marker-offset marks mathline max-height max-width min-height min-width orphans '+'outline-color outline-style outline-width outline overflow padding-top padding-right padding-bottom padding-left padding page '+'page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position '+'quotes richness size slope src speak-header speak-numeral speak-punctuation speak speech-rate stemh stemv stress '+'table-layout text-align text-decoration text-indent text-shadow text-transform unicode-bidi unicode-range units-per-em '+'vertical-align visibility voice-family volume white-space widows width widths word-spacing x-height z-index';var values='above absolute all always aqua armenian attr aural auto avoid baseline behind below bidi-override black blink block blue bold bolder '+'both bottom braille capitalize caption center center-left center-right circle close-quote code collapse compact condensed '+'continuous counter counters crop cross crosshair cursive dashed decimal decimal-leading-zero default digits disc dotted double '+'embed embossed e-resize expanded extra-condensed extra-expanded fantasy far-left far-right fast faster fixed format fuchsia '+'gray green groove handheld hebrew help hidden hide high higher icon inline-table inline inset inside invert italic '+'justify landscape large larger left-side left leftwards level lighter lime line-through list-item local loud lower-alpha '+'lowercase lower-greek lower-latin lower-roman lower low ltr marker maroon medium message-box middle mix move narrower '+'navy ne-resize no-close-quote none no-open-quote no-repeat normal nowrap n-resize nw-resize oblique olive once open-quote outset '+'outside overline pointer portrait pre print projection purple red relative repeat repeat-x repeat-y rgb ridge right right-side '+'rightwards rtl run-in screen scroll semi-condensed semi-expanded separate se-resize show silent silver slower slow '+'small small-caps small-caption smaller soft solid speech spell-out square s-resize static status-bar sub super sw-resize '+'table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group teal '+'text-bottom text-top thick thin top transparent tty tv ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin '+'upper-roman url visible wait white wider w-resize x-fast x-high x-large x-loud x-low x-slow x-small x-soft xx-large xx-small yellow';var fonts='[mM]onospace [tT]ahoma [vV]erdana [aA]rial [hH]elvetica [sS]ans-serif [sS]erif';this.regexList=[{regex:dp.sh.RegexLib.MultiLineCComments,css:'comment'},{regex:dp.sh.RegexLib.DoubleQuotedString,css:'string'},{regex:dp.sh.RegexLib.SingleQuotedString,css:'string'},{regex:new RegExp('\\#[a-zA-Z0-9]{3,6}','g'),css:'value'},{regex:new RegExp('(-?\\d+)(\.\\d+)?(px|em|pt|\:|\%|)','g'),css:'value'},{regex:new RegExp('!important','g'),css:'important'},{regex:new RegExp(this.GetKeywordsCSS(keywords),'gm'),css:'keyword'},{regex:new RegExp(this.GetValuesCSS(values),'g'),css:'value'},{regex:new RegExp(this.GetValuesCSS(fonts),'g'),css:'value'}];this.CssClass='dp-css';this.Style='.dp-css .value { color: black; }'+'.dp-css .important { color: red; }';} -dp.sh.Highlighter.prototype.GetKeywordsCSS=function(str) -{return'\\b([a-z_]|)'+str.replace(/ /g,'(?=:)\\b|\\b([a-z_\\*]|\\*|)')+'(?=:)\\b';} -dp.sh.Highlighter.prototype.GetValuesCSS=function(str) -{return'\\b'+str.replace(/ /g,'(?!-)(?!:)\\b|\\b()')+'\:\\b';} -dp.sh.Brushes.CSS.prototype=new dp.sh.Highlighter();dp.sh.Brushes.CSS.Aliases=['css']; diff --git a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushDelphi.js b/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushDelphi.js deleted file mode 100644 index 38e6505..0000000 --- a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushDelphi.js +++ /dev/null @@ -1,10 +0,0 @@ -/* - * JsMin - * Javascript Compressor - * http://www.crockford.com/ - * http://www.smallsharptools.com/ -*/ - -dp.sh.Brushes.Delphi=function() -{var keywords='abs addr and ansichar ansistring array as asm begin boolean byte cardinal '+'case char class comp const constructor currency destructor div do double '+'downto else end except exports extended false file finalization finally '+'for function goto if implementation in inherited int64 initialization '+'integer interface is label library longint longword mod nil not object '+'of on or packed pansichar pansistring pchar pcurrency pdatetime pextended '+'pint64 pointer private procedure program property pshortstring pstring '+'pvariant pwidechar pwidestring protected public published raise real real48 '+'record repeat set shl shortint shortstring shr single smallint string then '+'threadvar to true try type unit until uses val var varirnt while widechar '+'widestring with word write writeln xor';this.regexList=[{regex:new RegExp('\\(\\*[\\s\\S]*?\\*\\)','gm'),css:'comment'},{regex:new RegExp('{(?!\\$)[\\s\\S]*?}','gm'),css:'comment'},{regex:dp.sh.RegexLib.SingleLineCComments,css:'comment'},{regex:dp.sh.RegexLib.SingleQuotedString,css:'string'},{regex:new RegExp('\\{\\$[a-zA-Z]+ .+\\}','g'),css:'directive'},{regex:new RegExp('\\b[\\d\\.]+\\b','g'),css:'number'},{regex:new RegExp('\\$[a-zA-Z0-9]+\\b','g'),css:'number'},{regex:new RegExp(this.GetKeywords(keywords),'gm'),css:'keyword'}];this.CssClass='dp-delphi';this.Style='.dp-delphi .number { color: blue; }'+'.dp-delphi .directive { color: #008284; }'+'.dp-delphi .vars { color: #000; }';} -dp.sh.Brushes.Delphi.prototype=new dp.sh.Highlighter();dp.sh.Brushes.Delphi.Aliases=['delphi','pascal']; diff --git a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushJScript.js b/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushJScript.js deleted file mode 100644 index 1979de0..0000000 --- a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushJScript.js +++ /dev/null @@ -1,10 +0,0 @@ -/* - * JsMin - * Javascript Compressor - * http://www.crockford.com/ - * http://www.smallsharptools.com/ -*/ - -dp.sh.Brushes.JScript=function() -{var keywords='abstract boolean break byte case catch char class const continue debugger '+'default delete do double else enum export extends false final finally float '+'for function goto if implements import in instanceof int interface long native '+'new null package private protected public return short static super switch '+'synchronized this throw throws transient true try typeof var void volatile while with';this.regexList=[{regex:dp.sh.RegexLib.SingleLineCComments,css:'comment'},{regex:dp.sh.RegexLib.MultiLineCComments,css:'comment'},{regex:dp.sh.RegexLib.DoubleQuotedString,css:'string'},{regex:dp.sh.RegexLib.SingleQuotedString,css:'string'},{regex:new RegExp('^\\s*#.*','gm'),css:'preprocessor'},{regex:new RegExp(this.GetKeywords(keywords),'gm'),css:'keyword'}];this.CssClass='dp-c';} -dp.sh.Brushes.JScript.prototype=new dp.sh.Highlighter();dp.sh.Brushes.JScript.Aliases=['js','jscript','javascript']; diff --git a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushJava.js b/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushJava.js deleted file mode 100644 index 8a2559f..0000000 --- a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushJava.js +++ /dev/null @@ -1,10 +0,0 @@ -/* - * JsMin - * Javascript Compressor - * http://www.crockford.com/ - * http://www.smallsharptools.com/ -*/ - -dp.sh.Brushes.Java=function() -{var keywords='abstract assert boolean break byte case catch char class const '+'continue default do double else enum extends '+'false final finally float for goto if implements import '+'instanceof int interface long native new null '+'package private protected public return '+'short static strictfp super switch synchronized this throw throws true '+'transient try void volatile while';this.regexList=[{regex:dp.sh.RegexLib.SingleLineCComments,css:'comment'},{regex:dp.sh.RegexLib.MultiLineCComments,css:'comment'},{regex:dp.sh.RegexLib.DoubleQuotedString,css:'string'},{regex:dp.sh.RegexLib.SingleQuotedString,css:'string'},{regex:new RegExp('\\b([\\d]+(\\.[\\d]+)?|0x[a-f0-9]+)\\b','gi'),css:'number'},{regex:new RegExp('(?!\\@interface\\b)\\@[\\$\\w]+\\b','g'),css:'annotation'},{regex:new RegExp('\\@interface\\b','g'),css:'keyword'},{regex:new RegExp(this.GetKeywords(keywords),'gm'),css:'keyword'}];this.CssClass='dp-j';this.Style='.dp-j .annotation { color: #646464; }'+'.dp-j .number { color: #C00000; }';} -dp.sh.Brushes.Java.prototype=new dp.sh.Highlighter();dp.sh.Brushes.Java.Aliases=['java']; diff --git a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushPhp.js b/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushPhp.js deleted file mode 100644 index 23306fa..0000000 --- a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushPhp.js +++ /dev/null @@ -1,10 +0,0 @@ -/* - * JsMin - * Javascript Compressor - * http://www.crockford.com/ - * http://www.smallsharptools.com/ -*/ - -dp.sh.Brushes.Php=function() -{var funcs='abs acos acosh addcslashes addslashes '+'array_change_key_case array_chunk array_combine array_count_values array_diff '+'array_diff_assoc array_diff_key array_diff_uassoc array_diff_ukey array_fill '+'array_filter array_flip array_intersect array_intersect_assoc array_intersect_key '+'array_intersect_uassoc array_intersect_ukey array_key_exists array_keys array_map '+'array_merge array_merge_recursive array_multisort array_pad array_pop array_product '+'array_push array_rand array_reduce array_reverse array_search array_shift '+'array_slice array_splice array_sum array_udiff array_udiff_assoc '+'array_udiff_uassoc array_uintersect array_uintersect_assoc '+'array_uintersect_uassoc array_unique array_unshift array_values array_walk '+'array_walk_recursive atan atan2 atanh base64_decode base64_encode base_convert '+'basename bcadd bccomp bcdiv bcmod bcmul bindec bindtextdomain bzclose bzcompress '+'bzdecompress bzerrno bzerror bzerrstr bzflush bzopen bzread bzwrite ceil chdir '+'checkdate checkdnsrr chgrp chmod chop chown chr chroot chunk_split class_exists '+'closedir closelog copy cos cosh count count_chars date decbin dechex decoct '+'deg2rad delete ebcdic2ascii echo empty end ereg ereg_replace eregi eregi_replace error_log '+'error_reporting escapeshellarg escapeshellcmd eval exec exit exp explode extension_loaded '+'feof fflush fgetc fgetcsv fgets fgetss file_exists file_get_contents file_put_contents '+'fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype '+'floatval flock floor flush fmod fnmatch fopen fpassthru fprintf fputcsv fputs fread fscanf '+'fseek fsockopen fstat ftell ftok getallheaders getcwd getdate getenv gethostbyaddr gethostbyname '+'gethostbynamel getimagesize getlastmod getmxrr getmygid getmyinode getmypid getmyuid getopt '+'getprotobyname getprotobynumber getrandmax getrusage getservbyname getservbyport gettext '+'gettimeofday gettype glob gmdate gmmktime ini_alter ini_get ini_get_all ini_restore ini_set '+'interface_exists intval ip2long is_a is_array is_bool is_callable is_dir is_double '+'is_executable is_file is_finite is_float is_infinite is_int is_integer is_link is_long '+'is_nan is_null is_numeric is_object is_readable is_real is_resource is_scalar is_soap_fault '+'is_string is_subclass_of is_uploaded_file is_writable is_writeable mkdir mktime nl2br '+'parse_ini_file parse_str parse_url passthru pathinfo readlink realpath rewind rewinddir rmdir '+'round str_ireplace str_pad str_repeat str_replace str_rot13 str_shuffle str_split '+'str_word_count strcasecmp strchr strcmp strcoll strcspn strftime strip_tags stripcslashes '+'stripos stripslashes stristr strlen strnatcasecmp strnatcmp strncasecmp strncmp strpbrk '+'strpos strptime strrchr strrev strripos strrpos strspn strstr strtok strtolower strtotime '+'strtoupper strtr strval substr substr_compare';var keywords='and or xor __FILE__ __LINE__ array as break case '+'cfunction class const continue declare default die do else '+'elseif empty enddeclare endfor endforeach endif endswitch endwhile '+'extends for foreach function include include_once global if '+'new old_function return static switch use require require_once '+'var while __FUNCTION__ __CLASS__ '+'__METHOD__ abstract interface public implements extends private protected throw';this.regexList=[{regex:dp.sh.RegexLib.SingleLineCComments,css:'comment'},{regex:dp.sh.RegexLib.MultiLineCComments,css:'comment'},{regex:dp.sh.RegexLib.DoubleQuotedString,css:'string'},{regex:dp.sh.RegexLib.SingleQuotedString,css:'string'},{regex:new RegExp('\\$\\w+','g'),css:'vars'},{regex:new RegExp(this.GetKeywords(funcs),'gmi'),css:'func'},{regex:new RegExp(this.GetKeywords(keywords),'gm'),css:'keyword'}];this.CssClass='dp-php';} -dp.sh.Brushes.Php.prototype=new dp.sh.Highlighter();dp.sh.Brushes.Php.Aliases=['php']; diff --git a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushPython.js b/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushPython.js deleted file mode 100644 index 66c9d45..0000000 --- a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushPython.js +++ /dev/null @@ -1,11 +0,0 @@ -/* - * JsMin - * Javascript Compressor - * http://www.crockford.com/ - * http://www.smallsharptools.com/ -*/ - -dp.sh.Brushes.Python=function() -{var keywords='and assert break class continue def del elif else '+'except exec finally for from global if import in is '+'lambda not or pass print raise return try yield while';var special='None True False self cls class_' -this.regexList=[{regex:dp.sh.RegexLib.SingleLinePerlComments,css:'comment'},{regex:new RegExp("^\\s*@\\w+",'gm'),css:'decorator'},{regex:new RegExp("(['\"]{3})([^\\1])*?\\1",'gm'),css:'comment'},{regex:new RegExp('"(?!")(?:\\.|\\\\\\"|[^\\""\\n\\r])*"','gm'),css:'string'},{regex:new RegExp("'(?!')*(?:\\.|(\\\\\\')|[^\\''\\n\\r])*'",'gm'),css:'string'},{regex:new RegExp("\\b\\d+\\.?\\w*",'g'),css:'number'},{regex:new RegExp(this.GetKeywords(keywords),'gm'),css:'keyword'},{regex:new RegExp(this.GetKeywords(special),'gm'),css:'special'}];this.CssClass='dp-py';this.Style='.dp-py .builtins { color: #ff1493; }'+'.dp-py .magicmethods { color: #808080; }'+'.dp-py .exceptions { color: brown; }'+'.dp-py .types { color: brown; font-style: italic; }'+'.dp-py .commonlibs { color: #8A2BE2; font-style: italic; }';} -dp.sh.Brushes.Python.prototype=new dp.sh.Highlighter();dp.sh.Brushes.Python.Aliases=['py','python']; diff --git a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushRuby.js b/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushRuby.js deleted file mode 100644 index c19df82..0000000 --- a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushRuby.js +++ /dev/null @@ -1,11 +0,0 @@ -/* - * JsMin - * Javascript Compressor - * http://www.crockford.com/ - * http://www.smallsharptools.com/ -*/ - -dp.sh.Brushes.Ruby=function() -{var keywords='alias and BEGIN begin break case class def define_method defined do each else elsif '+'END end ensure false for if in module new next nil not or raise redo rescue retry return '+'self super then throw true undef unless until when while yield';var builtins='Array Bignum Binding Class Continuation Dir Exception FalseClass File::Stat File Fixnum Fload '+'Hash Integer IO MatchData Method Module NilClass Numeric Object Proc Range Regexp String Struct::TMS Symbol '+'ThreadGroup Thread Time TrueClass' -this.regexList=[{regex:dp.sh.RegexLib.SingleLinePerlComments,css:'comment'},{regex:dp.sh.RegexLib.DoubleQuotedString,css:'string'},{regex:dp.sh.RegexLib.SingleQuotedString,css:'string'},{regex:new RegExp(':[a-z][A-Za-z0-9_]*','g'),css:'symbol'},{regex:new RegExp('(\\$|@@|@)\\w+','g'),css:'variable'},{regex:new RegExp(this.GetKeywords(keywords),'gm'),css:'keyword'},{regex:new RegExp(this.GetKeywords(builtins),'gm'),css:'builtin'}];this.CssClass='dp-rb';this.Style='.dp-rb .symbol { color: #a70; }'+'.dp-rb .variable { color: #a70; font-weight: bold; }';} -dp.sh.Brushes.Ruby.prototype=new dp.sh.Highlighter();dp.sh.Brushes.Ruby.Aliases=['ruby','rails','ror']; diff --git a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushSql.js b/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushSql.js deleted file mode 100644 index 94151e9..0000000 --- a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushSql.js +++ /dev/null @@ -1,10 +0,0 @@ -/* - * JsMin - * Javascript Compressor - * http://www.crockford.com/ - * http://www.smallsharptools.com/ -*/ - -dp.sh.Brushes.Sql=function() -{var funcs='abs avg case cast coalesce convert count current_timestamp '+'current_user day isnull left lower month nullif replace right '+'session_user space substring sum system_user upper user year';var keywords='absolute action add after alter as asc at authorization begin bigint '+'binary bit by cascade char character check checkpoint close collate '+'column commit committed connect connection constraint contains continue '+'create cube current current_date current_time cursor database date '+'deallocate dec decimal declare default delete desc distinct double drop '+'dynamic else end end-exec escape except exec execute false fetch first '+'float for force foreign forward free from full function global goto grant '+'group grouping having hour ignore index inner insensitive insert instead '+'int integer intersect into is isolation key last level load local max min '+'minute modify move name national nchar next no numeric of off on only '+'open option order out output partial password precision prepare primary '+'prior privileges procedure public read real references relative repeatable '+'restrict return returns revoke rollback rollup rows rule schema scroll '+'second section select sequence serializable set size smallint static '+'statistics table temp temporary then time timestamp to top transaction '+'translation trigger true truncate uncommitted union unique update values '+'varchar varying view when where with work';var operators='all and any between cross in join like not null or outer some';this.regexList=[{regex:new RegExp('--(.*)$','gm'),css:'comment'},{regex:dp.sh.RegexLib.DoubleQuotedString,css:'string'},{regex:dp.sh.RegexLib.SingleQuotedString,css:'string'},{regex:new RegExp(this.GetKeywords(funcs),'gmi'),css:'func'},{regex:new RegExp(this.GetKeywords(operators),'gmi'),css:'op'},{regex:new RegExp(this.GetKeywords(keywords),'gmi'),css:'keyword'}];this.CssClass='dp-sql';this.Style='.dp-sql .func { color: #ff1493; }'+'.dp-sql .op { color: #808080; }';} -dp.sh.Brushes.Sql.prototype=new dp.sh.Highlighter();dp.sh.Brushes.Sql.Aliases=['sql']; diff --git a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushVb.js b/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushVb.js deleted file mode 100644 index 174b494..0000000 --- a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushVb.js +++ /dev/null @@ -1,10 +0,0 @@ -/* - * JsMin - * Javascript Compressor - * http://www.crockford.com/ - * http://www.smallsharptools.com/ -*/ - -dp.sh.Brushes.Vb=function() -{var keywords='AddHandler AddressOf AndAlso Alias And Ansi As Assembly Auto '+'Boolean ByRef Byte ByVal Call Case Catch CBool CByte CChar CDate '+'CDec CDbl Char CInt Class CLng CObj Const CShort CSng CStr CType '+'Date Decimal Declare Default Delegate Dim DirectCast Do Double Each '+'Else ElseIf End Enum Erase Error Event Exit False Finally For Friend '+'Function Get GetType GoSub GoTo Handles If Implements Imports In '+'Inherits Integer Interface Is Let Lib Like Long Loop Me Mod Module '+'MustInherit MustOverride MyBase MyClass Namespace New Next Not Nothing '+'NotInheritable NotOverridable Object On Option Optional Or OrElse '+'Overloads Overridable Overrides ParamArray Preserve Private Property '+'Protected Public RaiseEvent ReadOnly ReDim REM RemoveHandler Resume '+'Return Select Set Shadows Shared Short Single Static Step Stop String '+'Structure Sub SyncLock Then Throw To True Try TypeOf Unicode Until '+'Variant When While With WithEvents WriteOnly Xor';this.regexList=[{regex:new RegExp('\'.*$','gm'),css:'comment'},{regex:dp.sh.RegexLib.DoubleQuotedString,css:'string'},{regex:new RegExp('^\\s*#.*','gm'),css:'preprocessor'},{regex:new RegExp(this.GetKeywords(keywords),'gim'),css:'keyword'}];this.CssClass='dp-vb';} -dp.sh.Brushes.Vb.prototype=new dp.sh.Highlighter();dp.sh.Brushes.Vb.Aliases=['vb','vb.net']; diff --git a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushXml.js b/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushXml.js deleted file mode 100644 index c39fc81..0000000 --- a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shBrushXml.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * JsMin - * Javascript Compressor - * http://www.crockford.com/ - * http://www.smallsharptools.com/ -*/ - -dp.sh.Brushes.Xml=function() -{this.CssClass='dp-xml';this.Style='.dp-xml .cdata { color: #ff1493; }'+'.dp-xml .tag, .dp-xml .tag-name { color: #069; font-weight: bold; }'+'.dp-xml .attribute { color: red; }'+'.dp-xml .attribute-value { color: blue; }';} -dp.sh.Brushes.Xml.prototype=new dp.sh.Highlighter();dp.sh.Brushes.Xml.Aliases=['xml','xhtml','xslt','html','xhtml'];dp.sh.Brushes.Xml.prototype.ProcessRegexList=function() -{function push(array,value) -{array[array.length]=value;} -var index=0;var match=null;var regex=null;this.GetMatches(new RegExp('(\<|<)\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\](\>|>)','gm'),'cdata');this.GetMatches(new RegExp('(\<|<)!--\\s*.*?\\s*--(\>|>)','gm'),'comments');regex=new RegExp('([:\\w-\.]+)\\s*=\\s*(".*?"|\'.*?\'|\\w+)*|(\\w+)','gm');while((match=regex.exec(this.code))!=null) -{if(match[1]==null) -{continue;} -push(this.matches,new dp.sh.Match(match[1],match.index,'attribute'));if(match[2]!=undefined) -{push(this.matches,new dp.sh.Match(match[2],match.index+match[0].indexOf(match[2]),'attribute-value'));}} -this.GetMatches(new RegExp('(\<|<)/*\\?*(?!\\!)|/*\\?*(\>|>)','gm'),'tag');regex=new RegExp('(?:\<|<)/*\\?*\\s*([:\\w-\.]+)','gm');while((match=regex.exec(this.code))!=null) -{push(this.matches,new dp.sh.Match(match[1],match.index+match[0].indexOf(match[1]),'tag-name'));}} diff --git a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shCore.js b/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shCore.js deleted file mode 100644 index 1418632..0000000 --- a/lib/axe/assets/js/dp.SyntaxHighlighter/Scripts/shCore.js +++ /dev/null @@ -1,161 +0,0 @@ -/* - * JsMin - * Javascript Compressor - * http://www.crockford.com/ - * http://www.smallsharptools.com/ -*/ - -var dp={sh:{Toolbar:{},Utils:{},RegexLib:{},Brushes:{},Strings:{AboutDialog:'About...

dp.SyntaxHighlighter

Version: {V}

http://www.dreamprojections.com/syntaxhighlighter

©2004-2007 Alex Gorbatchev.
'},ClipboardSwf:null,Version:'1.5.1'}};dp.SyntaxHighlighter=dp.sh;dp.sh.Toolbar.Commands={ExpandSource:{label:'+ expand source',check:function(highlighter){return highlighter.collapse;},func:function(sender,highlighter) -{sender.parentNode.removeChild(sender);highlighter.div.className=highlighter.div.className.replace('collapsed','');}},ViewSource:{label:'view plain',func:function(sender,highlighter) -{var code=dp.sh.Utils.FixForBlogger(highlighter.originalCode).replace(/'+code+'');wnd.document.close();}},CopyToClipboard:{label:'copy to clipboard',check:function(){return window.clipboardData!=null||dp.sh.ClipboardSwf!=null;},func:function(sender,highlighter) -{var code=dp.sh.Utils.FixForBlogger(highlighter.originalCode).replace(/</g,'<').replace(/>/g,'>').replace(/&/g,'&');if(window.clipboardData) -{window.clipboardData.setData('text',code);} -else if(dp.sh.ClipboardSwf!=null) -{var flashcopier=highlighter.flashCopier;if(flashcopier==null) -{flashcopier=document.createElement('div');highlighter.flashCopier=flashcopier;highlighter.div.appendChild(flashcopier);} -flashcopier.innerHTML='';} -alert('The code is in your clipboard now');}},PrintSource:{label:'print',func:function(sender,highlighter) -{var iframe=document.createElement('IFRAME');var doc=null;iframe.style.cssText='position:absolute;width:0px;height:0px;left:-500px;top:-500px;';document.body.appendChild(iframe);doc=iframe.contentWindow.document;dp.sh.Utils.CopyStyles(doc,window.document);doc.write('
'+highlighter.div.innerHTML+'
');doc.close();iframe.contentWindow.focus();iframe.contentWindow.print();alert('Printing...');document.body.removeChild(iframe);}},About:{label:'?',func:function(highlighter) -{var wnd=window.open('','_blank','dialog,width=300,height=150,scrollbars=0');var doc=wnd.document;dp.sh.Utils.CopyStyles(doc,window.document);doc.write(dp.sh.Strings.AboutDialog.replace('{V}',dp.sh.Version));doc.close();wnd.focus();}}};dp.sh.Toolbar.Create=function(highlighter) -{var div=document.createElement('DIV');div.className='tools';for(var name in dp.sh.Toolbar.Commands) -{var cmd=dp.sh.Toolbar.Commands[name];if(cmd.check!=null&&!cmd.check(highlighter)) -continue;div.innerHTML+=''+cmd.label+'';} -return div;} -dp.sh.Toolbar.Command=function(name,sender) -{var n=sender;while(n!=null&&n.className.indexOf('dp-highlighter')==-1) -n=n.parentNode;if(n!=null) -dp.sh.Toolbar.Commands[name].func(sender,n.highlighter);} -dp.sh.Utils.CopyStyles=function(destDoc,sourceDoc) -{var links=sourceDoc.getElementsByTagName('link');for(var i=0;i');} -dp.sh.Utils.FixForBlogger=function(str) -{return(dp.sh.isBloggerMode==true)?str.replace(/|<br\s*\/?>/gi,'\n'):str;} -dp.sh.RegexLib={MultiLineCComments:new RegExp('/\\*[\\s\\S]*?\\*/','gm'),SingleLineCComments:new RegExp('//.*$','gm'),SingleLinePerlComments:new RegExp('#.*$','gm'),DoubleQuotedString:new RegExp('"(?:\\.|(\\\\\\")|[^\\""\\n])*"','g'),SingleQuotedString:new RegExp("'(?:\\.|(\\\\\\')|[^\\''\\n])*'",'g')};dp.sh.Match=function(value,index,css) -{this.value=value;this.index=index;this.length=value.length;this.css=css;} -dp.sh.Highlighter=function() -{this.noGutter=false;this.addControls=true;this.collapse=false;this.tabsToSpaces=true;this.wrapColumn=80;this.showColumns=true;} -dp.sh.Highlighter.SortCallback=function(m1,m2) -{if(m1.indexm2.index) -return 1;else -{if(m1.lengthm2.length) -return 1;} -return 0;} -dp.sh.Highlighter.prototype.CreateElement=function(name) -{var result=document.createElement(name);result.highlighter=this;return result;} -dp.sh.Highlighter.prototype.GetMatches=function(regex,css) -{var index=0;var match=null;while((match=regex.exec(this.code))!=null) -this.matches[this.matches.length]=new dp.sh.Match(match[0],match.index,css);} -dp.sh.Highlighter.prototype.AddBit=function(str,css) -{if(str==null||str.length==0) -return;var span=this.CreateElement('SPAN');str=str.replace(/ /g,' ');str=str.replace(/');if(css!=null) -{if((/br/gi).test(str)) -{var lines=str.split(' 
');for(var i=0;ic.index)&&(match.index/gi,'\n');var lines=html.split('\n');if(this.addControls==true) -this.bar.appendChild(dp.sh.Toolbar.Create(this));if(this.showColumns) -{var div=this.CreateElement('div');var columns=this.CreateElement('div');var showEvery=10;var i=1;while(i<=150) -{if(i%showEvery==0) -{div.innerHTML+=i;i+=(i+'').length;} -else -{div.innerHTML+='·';i++;}} -columns.className='columns';columns.appendChild(div);this.bar.appendChild(columns);} -for(var i=0,lineIndex=this.firstLine;i0;i++) -{if(Trim(lines[i]).length==0) -continue;var matches=regex.exec(lines[i]);if(matches!=null&&matches.length>0) -min=Math.min(matches[0].length,min);} -if(min>0) -for(var i=0;i