You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by aj...@apache.org on 2008/02/13 07:11:28 UTC
svn commit: r627259 [1/3] - in
/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs: applets/
applets/WiWi-INF/ applets/WiWi-INF/extensions/ error/ images/ scripts/
scripts/fckeditor/ scripts/json-rpc/ templates/ templates/default/
templates/...
Author: ajaquith
Date: Tue Feb 12 22:11:16 2008
New Revision: 627259
URL: http://svn.apache.org/viewvc?rev=627259&view=rev
Log:
Initial commit.
Added:
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/ChangeLog.txt
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/core-plugins.xml
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/css-formatting.xml
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/interwiki-links.xml
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/templates.xml
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/wikivars.xml
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/highlighting-jspwiki.xml
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/wikiwizard.xml
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/wikiwizard.jar (with props)
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/error/
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/error/Forbidden.html
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/attachment_big.png (with props)
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/attachment_small.png (with props)
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/favicon.png (with props)
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/jspwiki_logo.png (with props)
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/jspwiki_logo_s.png (with props)
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/out.png (with props)
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/xml.png (with props)
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/xmlCoffeeCup.png (with props)
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/fckconfig.js
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/fckeditor/
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/fckeditor/fckeditor.js
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/fckstyles.xml
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/fcktemplates.xml
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/json-rpc/
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/json-rpc/jsonrpc.js
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/jspwiki-common.js
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/jspwiki-edit.js
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/jspwiki-prefs.js
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/mootools.js
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/posteditor.js
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/prettify.js (with props)
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/wikiwizard-jspwiki.js
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/admin/
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/editors/
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/editors/preview.jsp
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderdList/
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderdList/images/
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/text_allcaps.png (with props)
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/PlainVanilla/
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/PlainVanilla 1024x768/
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/
incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/raw/
Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/ChangeLog.txt
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/ChangeLog.txt?rev=627259&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/ChangeLog.txt (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/ChangeLog.txt Tue Feb 12 22:11:16 2008
@@ -0,0 +1,227 @@
+Please ignore entries starting with Ticket_blogentry_. We are trying to make these tickets available to the public shortly.
+
+Version 1.1 vom 20.11.2006 (Chuck Smith)
+
+ * added Chinese translation by Jacky Liu
+ * moved buttons on toolbar
+
+Version 1.0.32 vom 06.11.2006 (Chuck Smith)
+
+ * Fixed bug with Mark Occurrences tooltip in en, de, eo, nl
+
+Version 1.0.31 vom 06.11.2006 (Hanno Eichelberger)
+
+ * Remove highlighting bug at start
+ * Integrated Marker (Mark occurences)
+ * Drag 'n drop interface for extension bar
+ * New button look & feel for extension bar
+
+Version 1.0.30 vom 27.10.2006 (Chuck Smith)
+
+ * added error messages on Attach button (fr, nl)
+ * fixed bug on viewing attachments so it can run on Java 1.4
+ * added version number to splash screen
+
+Version 1.0.29 vom 26.10.2006 (Chuck Smith)
+
+ * added error messages on Attach button (de, en, eo)
+ * added pageexists parameter on applet tag in WikiWizard.jsp
+
+Version 1.0.29 vom 26.10.2006 (Chuck Smith)
+
+ * added error messages on Attach button (de, en, eo)
+ * added pageexists parameter on applet tag in WikiWizard.jsp
+
+Version 1.0.28 vom 26.10.2006 (Chuck Smith)
+
+ * Fixed all loading and viewing attachment bugs.
+
+Version 1.0.27 vom 23.10.2006 (Hanno Eichelberger)
+
+ * Speed up loading of extension by loading it in a thread
+
+Version 1.0.26 vom 23.10.2006 (Hanno Eichelberger)
+
+ * faster applet loading
+ * link tag in different colors
+ * #date tag now works correctly in templates
+ * Hotkeys are also shown as as tooltips on templates
+ * CDATA tags in templates in the extension xml files are now possible within CODE tags.
+ * Ctrl-Z on start no longer deletes all the text
+
+Version 1.0.25 vom 12.10.2006 (Chuck Smith)
+
+ * Fixed problem with spaces in filenames.
+
+Version 1.0.24 vom 11.10.2006 (Chuck Smith)
+
+ * Added progress bar to loading attachments.
+
+Version 1.0.23 vom 11.10.2006 (Chuck Smith)
+
+ * Reports correctly when files have been successfully uploaded.
+
+Version 1.0.22 vom 09.10.2006 (Chuck Smith)
+
+ * Saves attachment images as thumbnails to save memory.
+
+Version 1.0.21 vom 29.09.2006 (Chuck Smith)
+
+ * Does not attempt to upload a file if it is more than the max size allowed by JSPWiki
+
+Version 1.0.20 vom 20.09.2006 (Chuck Smith)
+
+ * Prints WikiWizard version to console when loaded
+ * Does not crash when new applet attachment parameters are not in WikiWizard.jsp
+
+Version 1.0.19 vom 19.09.2006 (Chuck Smith)
+
+ * Removed fileattach button and menu item when user does not have upload permission.
+
+Version 1.0.18 vom 07.09.2006 (Chuck Smith)
+
+ * Fixed fatal Replace All bug. Renamed method eingabe to input.
+
+Version 1.0.17 vom 29.08.2006 (Chuck Smith)
+
+ * Removed Firefox bookmark drop functionality to make Cut work again
+
+Version 1.0.16 vom 14.07.2006 (Chuck Smith)
+
+ * Can now drag and drop Firefox bookmarks into applet
+ * Unfortunately you can now no longer drag and drop within the applet, will fix later
+
+Version 1.0.15 vom 30.06.2006 (Chuck Smith)
+
+ * Drag and drop now possible within applet
+
+Version 1.0.14 vom 19.06.2006 (Chuck Smith)
+
+ * Fixed bug which did not allow old file upload system to work
+
+Version 1.0.13 vom 13.06.2006 (Chuck Smith)
+
+ * Updated French, German and Dutch translations
+
+Version 1.0.12 vom 09.06.2006 (Chuck Smith)
+
+ * Catch OutOfMemoryError for large files in multiple uploads.
+
+Version 1.0.11 vom 08.06.2006 (Chuck Smith)
+
+ * updated ImagePreviewPanel so multiple file upload can work in Java 1.4
+ * translated German variables (in PictureDialog.java) from hoehe, briete to height, width
+ * made tables "stay on top" and non-modal in Java 1.5, they remain modal in Java 1.4
+ * changed function calls in setJOutlookBar, so they will be Java 1.4 compatible
+
+Version 1.0.10 vom 07.06.2006 (Chuck Smith)
+
+ * fixed table modality to always on top, but not always holding focus
+
+Version 1.0.9 vom 07.06.2006 (Chuck Smith)
+
+ * added credit to Vlad Patryshev for ClientHttpRequest
+ * fixed Ticket_blogentry_100506_1 - WikiWizard - beim Überschreiben von ImagePlugin werden Parameter mit überschrieben
+
+Version 1.0.8 vom 31.05.2006 (Chuck Smith)
+
+ * added error-handling to multiple file upload
+
+Version 1.0.7 vom 26.05.2006 (Chuck Smith)
+
+ * corrected, i18n-ized and uncommented multiple file upload
+
+Version 1.0.6 vom 24.05.2006 (Chuck Smith)
+
+ * added commented code to allow multiple file uploads
+
+Version 1.0.5 vom 04.05.2006 (Chuck Smith)
+
+ * fixed Ticket_blogentry_030506_3 - WikiWizard - Steps to 1.0.5 (final stable 1.0)
+
+Version 1.0.4 vom 03.05.2006 (Chuck Smith)
+
+ * added bold line to header converter for formatted paste
+ * fixed Ticket_blogentry_190406_1 - WikiWizard - Improve Formatted Paste
+
+Version 1.0.3 vom 21.04.2006 (Chuck Smith)
+
+ * added Paste Formatted to Edit menu
+ * fixed formatted paste for headings right after a list
+
+Version 1.0.2 vom 13.04.2006 (Chuck Smith)
+
+ * added comments, general code cleanup in EditorDocument.java
+ * corrected variable spelling across multiple files: seperator -> separator
+
+Version 1.0.1 vom 05.04.2006 (Chuck Smith)
+
+ * added Dutch translation
+ * added translator credits to about screen
+ * fixed closeToolTip on attachments clipboard
+ * fixed ant file to work with JSPWiki 2.3
+
+Version 1.0 vom 21.03.2006 (Chuck Smith)
+
+ * fixed Action_Date() and Action_DateTime() functions
+ * fixed image insertion
+ * friendlier error messages when XML files are not found
+ * fixed Ticket_blogentry_220306_1 - WikiWizard - Bei Einfügen von Links wird erstes Zeichen nach Link überschrieben
+ * fixed Ticket_blogentry_240206_1 - WW (WikiIntegration) - Tastatureingaben werden ignoriert
+
+Version 0.9.110 vom 16.03.2006 (Chuck Smith)
+
+ * fixed Ticket_blogentry_110306_3 - WikiWizard - Ersetzen von Bildern durch klick in Attachment Sidebar
+ * general code cleanup
+
+Version 0.9.109 vom 14.03.2006 (Chuck Smith)
+
+ * moved code from wrong .js file (wikiwizard.js) to the correct one (wikiwizard-jspwiki.js)
+
+Version 0.9.108 vom 14.03.2006 (Chuck Smith)
+
+ * code cleanup (better formatting and translation from German to English)
+ * will only run changeTab JavaScript function when WikiWizard is active
+
+Version 0.9.107 vom 06.03.2006 (Chuck Smith)
+
+ * renamed highlighting.xml to highlighting-jspwiki.xml
+ * renamed css-formating.xml to css-formatting.xml
+ * changed show() to setVisible(true) in AboutDialog
+
+Version 0.9.106 vom 03.03.2006 (Chuck Smith)
+
+ * Added 2006 and proper copyright symbol to About Dialog.
+ * Changed colors to hex (3 or 6 chars) instead of decimal RGB in highlighting.xml.
+ * Converted all colors to websafe colors.
+ * Changed hinterlegt to background.
+
+Version 0.9.105 vom 02.03.2006 (Chuck Smith)
+
+ * Beautified About Dialog box.
+
+Version 0.9.104 vom 02.03.2006 (Chuck Smith)
+
+ * Removed error System.out.print statements from EditorDocument.java.
+ * Fixed regex expressions for highlighting.xml processing in WikiTag.java.
+ * Added commentbox highlighting in highlighting.xml.
+
+Version 0.9.103 vom 01.03.2006 (Chuck Smith)
+
+ * Fixed highlighting bug where cursor would jump to the end of the selection after full highlighting if someone selected from right to left.
+ * Changed constants in EditorDocument to CAPITALIZED letters.
+
+Version 0.9.102 vom ??.02.2006 (Chuck Smith)
+
+ * Made small JavaScript fixes to make WW work on Mac.
+ * Fixed Ticket_blogentry_140206_1 - WW (WikiIntegration) - Mac Safari - Preview funktioniert nicht
+
+Version 0.9.101 vom 02.02.2006 (Chuck Smith)
+
+ * Fixed Ticket_blogentry_130206_2 - WW (PluginDialog) - "Link einfügen"-Dialog Tabreihenfolge
+ * Fixed Ticket_blogentry_130206_3 - WW (TableEditor) - Fehler in "Formatiert Kopieren:Mailingliste"
+ * Neuer Autotext Ctrl+K für Plugin Klammern
+
+Version 0.9.100 vom 30.01.2006 (Chuck Smith)
+
+ * Fixed Ticket_blogentry_080206_1 - WW (CopyPaste) - Einfügen aus Clipboard Java Version 1.4
Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/core-plugins.xml
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/core-plugins.xml?rev=627259&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/core-plugins.xml (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/core-plugins.xml Tue Feb 12 22:11:16 2008
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>
+<WIKIWIZARD>
+<EXTENSIONS>
+<GROUP>
+ <NAME>Core Plugins</NAME>
+ <NAME lang="de">Standard-Plugins</NAME>
+ <ITEM>
+ <NAME>Weblog (Blog)</NAME>
+ <CODE>
+!Main Blog
+[{WeblogEntryPlugin title='New Entry'}]
+------
+!Entries of the last 30 days
+[{INSERT WeblogPlugin page='Main' days=30}]
+ </CODE>
+ </ITEM>
+
+ <ITEM>
+ <NAME>Weblog Archive</NAME>
+ <CODE>
+!WeblogArchive
+[{WeblogArchivePlugin}]
+ </CODE>
+ </ITEM>
+
+ <ITEM>
+ <NAME>Refering Pages</NAME>
+ <SHORTCUT>3</SHORTCUT>
+ <CODE>
+Refering Pages
+[{ReferringPagesPlugin max=5, maxwidth=17}]
+ </CODE>
+ </ITEM>
+
+ <ITEM>
+ <NAME>TableOfContents</NAME>
+ <SHORTCUT>4</SHORTCUT>
+ <CODE>
+[{TableOfContents title='Table of Contents'}]
+ </CODE>
+ </ITEM>
+
+ <ITEM>
+ <NAME>InsertPage</NAME>
+ <SHORTCUT>5</SHORTCUT>
+ <CODE>
+[{InsertPage page='#cursor'}]
+ </CODE>
+ </ITEM>
+
+ <ITEM>
+ <NAME>Page Index</NAME>
+ <CODE>
+This is a list of all pages in this Wiki.
+
+[{IndexPlugin}]
+ </CODE>
+ </ITEM>
+
+ <ITEM>
+ <NAME>Recent Changes</NAME>
+ <CODE>
+This is a list of all pages that were changed during the last 30 days.
+
+[{RecentChangesPlugin since=30}]
+ </CODE>
+ </ITEM>
+
+
+ <ITEM>
+ <NAME>ListLocks Plugin</NAME>
+ <CODE>
+Pages currently being edited
+
+[{ListLocksPlugin}]
+ </CODE>
+ </ITEM>
+
+
+ <ITEM>
+ <NAME>Undefined Pages Plugin</NAME>
+ <CODE>
+Undefined Pages
+
+[{UndefinedPagesPlugin}]
+ </CODE>
+ </ITEM>
+
+ <ITEM>
+ <NAME>Unused Pages Plugin</NAME>
+ <CODE>
+Unused Pages
+
+[{UnusedPagesPlugin}]
+ </CODE>
+ </ITEM>
+
+ <ITEM>
+ <NAME>Server Date Time</NAME>
+ <CODE>
+This server lives on [{CurrentTimePlugin format=zzzz}]
+and the time here is [{CurrentTimePlugin format='HH:mm \'on\' dd-MMM-yyyy'}]
+ </CODE>
+ </ITEM>
+
+
+ <ITEM>
+ <NAME>Set Alias</NAME>
+ <CODE>
+This page will redirect you...
+
+[{SET alias='#cursor'}]
+ </CODE>
+ </ITEM>
+
+ </GROUP>
+</EXTENSIONS>
+</WIKIWIZARD>
\ No newline at end of file
Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/css-formatting.xml
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/css-formatting.xml?rev=627259&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/css-formatting.xml (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/css-formatting.xml Tue Feb 12 22:11:16 2008
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>
+<WIKIWIZARD>
+<EXTENSIONS>
+<GROUP>
+ <NAME>CSS Formating</NAME>
+ <NAME lang="de">CSS Formatierung</NAME>
+ <ITEM>
+ <NAME>CommentBox</NAME>
+ <SHORTCUT>6</SHORTCUT>
+ <CODE>
+%%commentbox
+#cursor
+%%
+ </CODE>
+ </ITEM>
+
+ <ITEM>
+ <NAME>Center</NAME>
+ <CODE>
+%%center
+#cursor
+%%
+ </CODE>
+ </ITEM>
+
+ <ITEM>
+ <NAME>Color</NAME>
+ <SHORTCUT>7</SHORTCUT>
+ <CODE>
+%%(color:red)
+#cursor
+%%
+ </CODE>
+ </ITEM>
+
+ <ITEM>
+ <NAME>Enlagre Font</NAME>
+ <CODE>
+%%(font-size:115%)
+__First Line__\\
+__Second Line__\\
+%%
+ </CODE>
+ </ITEM>
+
+<!-- no standard, but useful for formating forms with tables:
+ <ITEM>
+ <NAME>No Border</NAME>
+ <CODE>
+%%noborder
+#cursor
+%%
+ </CODE>
+ </ITEM>
+
+ <ITEM>
+
+ <NAME>Buttonlink</NAME>
+ <CODE>
+%%buttonlink
+#cursor
+%%
+ </CODE>
+ </ITEM>
+
+
+-->
+
+ </GROUP>
+</EXTENSIONS>
+</WIKIWIZARD>
\ No newline at end of file
Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/interwiki-links.xml
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/interwiki-links.xml?rev=627259&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/interwiki-links.xml (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/interwiki-links.xml Tue Feb 12 22:11:16 2008
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>
+<WIKIWIZARD>
+<EXTENSIONS>
+<GROUP>
+ <NAME>InterWikiLinks</NAME>
+ <ITEM>
+ <NAME>Wikipedia.com</NAME>
+ <CODE>
+[Wikipedia:#cursor]
+ </CODE>
+ </ITEM>
+ <ITEM>
+ <NAME>Google.com</NAME>
+ <CODE>
+[Google:#cursor]
+ </CODE>
+ </ITEM>
+ <ITEM>
+ <NAME>JSPWiki documentation</NAME>
+ <CODE>
+[Doc:#cursor]
+ </CODE>
+ </ITEM>
+
+
+
+<!--
+ <ITEM>
+ <NAME>Wikipedia.de</NAME>
+ <CODE>
+[WikipediaDE:#cursor]
+ </CODE>
+ </ITEM>
+ <ITEM>
+ <NAME>Google.de</NAME>
+ <CODE>
+[GoogleDE:#cursor]
+ </CODE>
+ </ITEM>
+
+ <ITEM>
+ <NAME>Open Link in new Window</NAME>
+ <CODE>
+[newhttp:#cursor]
+ </CODE>
+ </ITEM>
+ <ITEM>
+ <NAME>ISBN (Link to Amazon)</NAME>
+ <CODE>
+[ISBN:#cursor]
+ </CODE>
+ </ITEM>
+
+-->
+ </GROUP>
+</EXTENSIONS>
+</WIKIWIZARD>
\ No newline at end of file
Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/templates.xml
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/templates.xml?rev=627259&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/templates.xml (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/templates.xml Tue Feb 12 22:11:16 2008
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>
+<WIKIWIZARD>
+<EXTENSIONS>
+ <GROUP>
+ <NAME>Templates</NAME>
+ <NAME lang="de">Vorlagen</NAME>
+
+ <ITEM>
+ <NAME>Reference</NAME>
+ <NAME lang="de">Quellenangabe</NAME>
+ <SHORTCUT>0</SHORTCUT>
+ <CODE>
+[Reference|#cursor]
+ </CODE>
+ </ITEM>
+
+ <ITEM>
+ <NAME>Signature</NAME>
+ <NAME lang="de">Unterschrift</NAME>
+ <SHORTCUT>1</SHORTCUT>
+ <CODE>
+--''[#user]''
+ </CODE>
+ </ITEM>
+
+ <ITEM>
+ <NAME>Done</NAME>
+ <NAME lang="de">Erledigt</NAME>
+ <SHORTCUT>2</SHORTCUT>
+ <CODE>
+Done on #date, version #cursor --''[#user]''
+ </CODE>
+ </ITEM>
+
+ <ITEM>
+ <NAME>Timetable</NAME>
+ <NAME lang="de">Stundenplan</NAME>
+ <CODE>
+||Block||Monday||Tuesday||Wednesday||Thursday||Friday
+| 1\\ \\08.00\\09.30| | | | |
+| 2\\ \\09.45\\11.15| | | | |
+| 3\\ \\11.30\\13.00| | | | |
+| 4\\ \\14.00\\15.30| | | | |
+| 5\\ \\15.45\\17.15| | | | |
+| 6\\ \\17.30\\19.00| | | | |
+ </CODE>
+ </ITEM>
+
+ </GROUP>
+</EXTENSIONS>
+</WIKIWIZARD>
+
Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/wikivars.xml
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/wikivars.xml?rev=627259&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/wikivars.xml (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/extensions/wikivars.xml Tue Feb 12 22:11:16 2008
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>
+<WIKIWIZARD>
+<EXTENSIONS>
+<GROUP>
+ <NAME>Wiki Vars</NAME>
+ <NAME lang="de">Wiki Variablen</NAME>
+
+ <ITEM>
+ <NAME>Page Name</NAME>
+ <NAME lang="de">Seitenname</NAME>
+ <CODE>
+[{$pagename}]
+ </CODE>
+ </ITEM>
+
+
+ <ITEM>
+ <NAME>JSPWiki Version</NAME>
+ <CODE>
+[{$jspwikiversion}]
+ </CODE>
+ </ITEM>
+
+ <ITEM>
+ <NAME>User name</NAME>
+ <CODE>
+[{$username}]
+ </CODE>
+ </ITEM>
+
+
+ <ITEM>
+ <NAME>Character Encoding</NAME>
+ <CODE>
+[{$encoding}]
+ </CODE>
+ </ITEM>
+
+ <ITEM>
+ <NAME>Total Pages</NAME>
+ <CODE>
+[{$totalpages}]
+ </CODE>
+ </ITEM>
+
+ <ITEM>
+ <NAME>InterWiki Links</NAME>
+ <CODE>
+[{$interwikilinks}]
+ </CODE>
+ </ITEM>
+
+ <ITEM>
+ <NAME>HTML allowed?</NAME>
+ <CODE>
+[{$jspwiki.translatorReader.allowHTML}]
+ </CODE>
+ </ITEM>
+
+ <ITEM>
+ <NAME>Inline Images</NAME>
+ <CODE>
+[{$inlinedimages}]
+ </CODE>
+ </ITEM>
+
+ </GROUP>
+</EXTENSIONS>
+</WIKIWIZARD>
\ No newline at end of file
Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/highlighting-jspwiki.xml
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/highlighting-jspwiki.xml?rev=627259&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/highlighting-jspwiki.xml (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/highlighting-jspwiki.xml Tue Feb 12 22:11:16 2008
@@ -0,0 +1,624 @@
+<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>
+<TAGBASE>
+
+ <!--
+ Standard highlighting definition for wikiwizard
+ using websafe colors
+ [http://en.wikipedia.org/wiki/Web_colors#Web-safe_colors]
+ -->
+
+ <!--
+ ************************************
+ Large Heading !!!
+ ************************************
+ -->
+ <TAG>
+ <STARTTAG>!!!</STARTTAG>
+ <ENDTAG></ENDTAG>
+ <BACKGROUND>
+ <COLOR>000</COLOR>
+ </BACKGROUND>
+ <BOLD>true</BOLD>
+ <ITALIC>false</ITALIC>
+ <TAGFONTSIZE>20</TAGFONTSIZE>
+ <TEXTFONTSIZE>20</TEXTFONTSIZE>
+ <TAGCOLOR>
+ <COLOR>906</COLOR>
+ </TAGCOLOR>
+ <TEXTCOLOR>
+ <COLOR>000</COLOR>
+ </TEXTCOLOR>
+ <FONTFAMILY>Arial</FONTFAMILY>
+ <HEADERTAG>3</HEADERTAG>
+ <ATBEGINNING>true</ATBEGINNING>
+ <TAGFIRSTROW>false</TAGFIRSTROW>
+ <TABLE>false</TABLE>
+ </TAG>
+
+ <!--
+ ************************************
+ Medium Heading !!
+ ************************************
+ -->
+ <TAG>
+ <STARTTAG>!!</STARTTAG>
+ <ENDTAG></ENDTAG>
+ <BACKGROUND>
+ <COLOR>000</COLOR>
+ </BACKGROUND>
+ <BOLD>true</BOLD>
+ <ITALIC>false</ITALIC>
+ <TAGFONTSIZE>17</TAGFONTSIZE>
+ <TEXTFONTSIZE>17</TEXTFONTSIZE>
+ <TAGCOLOR>
+ <COLOR>906</COLOR>
+ </TAGCOLOR>
+ <TEXTCOLOR>
+ <COLOR>000</COLOR>
+ </TEXTCOLOR>
+ <FONTFAMILY>Arial</FONTFAMILY>
+ <HEADERTAG>2</HEADERTAG>
+ <ATBEGINNING>true</ATBEGINNING>
+ <TAGFIRSTROW>false</TAGFIRSTROW>
+ <TABLE>false</TABLE>
+ </TAG>
+
+ <!--
+ ************************************
+ Small Heading !
+ ************************************
+ -->
+ <TAG>
+ <STARTTAG>!</STARTTAG>
+ <ENDTAG></ENDTAG>
+ <BACKGROUND>
+ <COLOR>000</COLOR>
+ </BACKGROUND>
+ <BOLD>true</BOLD>
+ <ITALIC>false</ITALIC>
+ <TAGFONTSIZE>14</TAGFONTSIZE>
+ <TEXTFONTSIZE>14</TEXTFONTSIZE>
+ <TAGCOLOR>
+ <COLOR>906</COLOR>
+ </TAGCOLOR>
+ <TEXTCOLOR>
+ <COLOR>000</COLOR>
+ </TEXTCOLOR>
+ <FONTFAMILY>Arial</FONTFAMILY>
+ <HEADERTAG>1</HEADERTAG>
+ <ATBEGINNING>true</ATBEGINNING>
+ <TAGFIRSTROW>false</TAGFIRSTROW>
+ <TABLE>false</TABLE>
+ </TAG>
+
+ <!--
+ ************************************
+ Plugin [{ }]
+ ************************************
+ -->
+ <TAG>
+ <STARTTAG>[{</STARTTAG>
+ <ENDTAG>}]</ENDTAG>
+ <CODE>true</CODE>
+ <BACKGROUND>
+ <COLOR>EEF</COLOR>
+ </BACKGROUND>
+ <BOLD>false</BOLD>
+ <ITALIC>false</ITALIC>
+ <TAGFONTSIZE>12</TAGFONTSIZE>
+ <TEXTFONTSIZE>12</TEXTFONTSIZE>
+ <TAGCOLOR>
+ <COLOR>906</COLOR>
+ </TAGCOLOR>
+ <TEXTCOLOR>
+ <COLOR>000</COLOR>
+ </TEXTCOLOR>
+ <STARTLINECOLOR>
+ <COLOR>906</COLOR>
+ </STARTLINECOLOR>
+ <FONTFAMILY>Courier</FONTFAMILY>
+ <HEADERTAG>0</HEADERTAG>
+ <ATBEGINNING>false</ATBEGINNING>
+ <TAGFIRSTROW>true</TAGFIRSTROW>
+ <TABLE>false</TABLE>
+ </TAG>
+
+
+ <!--
+ ************************************
+ Link Separator |
+ ************************************
+ -->
+ <TAG>
+ <STARTTAG>|</STARTTAG>
+ <ENDTAG></ENDTAG>
+ <BACKGROUND>
+ <COLOR>000</COLOR>
+ </BACKGROUND>
+ <BOLD>false</BOLD>
+ <ITALIC>false</ITALIC>
+ <TAGFONTSIZE>12</TAGFONTSIZE>
+ <TEXTFONTSIZE>12</TEXTFONTSIZE>
+ <TAGCOLOR>
+ <COLOR>906</COLOR>
+ </TAGCOLOR>
+ <TEXTCOLOR>
+ <COLOR>000</COLOR>
+ </TEXTCOLOR>
+ <FONTFAMILY>Arial</FONTFAMILY>
+ <HEADERTAG>0</HEADERTAG>
+ <ATBEGINNING>false</ATBEGINNING>
+ <TAGFIRSTROW>false</TAGFIRSTROW>
+ <TABLE>true</TABLE>
+ </TAG>
+
+
+ <!--
+ ************************************
+ Link escape [[ ]
+ ************************************
+ -->
+ <TAG>
+ <STARTTAG>[[</STARTTAG>
+ <ENDTAG>]</ENDTAG>
+ <BACKGROUND>
+ <COLOR>000</COLOR>
+ </BACKGROUND>
+ <BOLD>false</BOLD>
+ <ITALIC>false</ITALIC>
+ <TAGFONTSIZE>12</TAGFONTSIZE>
+ <TEXTFONTSIZE>12</TEXTFONTSIZE>
+ <TAGCOLOR>
+ <COLOR>906</COLOR>
+ </TAGCOLOR>
+ <TEXTCOLOR>
+ <COLOR>000</COLOR>
+ </TEXTCOLOR>
+ <FONTFAMILY>Arial</FONTFAMILY>
+ <HEADERTAG>0</HEADERTAG>
+ <ATBEGINNING>false</ATBEGINNING>
+ <TAGFIRSTROW>false</TAGFIRSTROW>
+ <TABLE>false</TABLE>
+ </TAG>
+
+ <!--
+ ************************************
+ Sourcecode {{{ }}}
+ ************************************
+ -->
+ <TAG>
+ <STARTTAG>{{{</STARTTAG>
+ <ENDTAG>}}}</ENDTAG>
+ <CODE>true</CODE>
+ <BACKGROUND>
+ <COLOR>EEF</COLOR>
+ </BACKGROUND>
+ <BOLD>false</BOLD>
+ <ITALIC>false</ITALIC>
+ <TAGFONTSIZE>12</TAGFONTSIZE>
+ <TEXTFONTSIZE>12</TEXTFONTSIZE>
+ <TAGCOLOR>
+ <COLOR>906</COLOR>
+ </TAGCOLOR>
+ <TEXTCOLOR>
+ <COLOR>000</COLOR>
+ </TEXTCOLOR>
+ <FONTFAMILY>Courier</FONTFAMILY>
+ <HEADERTAG>0</HEADERTAG>
+ <ATBEGINNING>false</ATBEGINNING>
+ <TAGFIRSTROW>false</TAGFIRSTROW>
+ <TABLE>false</TABLE>
+ </TAG>
+
+
+ <!--
+ ************************************
+ Monospaced {{ }}
+ ************************************
+ -->
+ <TAG>
+ <STARTTAG>{{</STARTTAG>
+ <ENDTAG>}}</ENDTAG>
+ <BACKGROUND>
+ <COLOR>000</COLOR>
+ </BACKGROUND>
+ <BOLD>false</BOLD>
+ <ITALIC>false</ITALIC>
+ <TAGFONTSIZE>12</TAGFONTSIZE>
+ <TEXTFONTSIZE>12</TEXTFONTSIZE>
+ <TAGCOLOR>
+ <COLOR>906</COLOR>
+ </TAGCOLOR>
+ <TEXTCOLOR>
+ <COLOR>000</COLOR>
+ </TEXTCOLOR>
+ <FONTFAMILY>Courier</FONTFAMILY>
+ <HEADERTAG>0</HEADERTAG>
+ <ATBEGINNING>false</ATBEGINNING>
+ <TAGFIRSTROW>false</TAGFIRSTROW>
+ <TABLE>false</TABLE>
+ </TAG>
+
+ <!--
+ ************************************
+ Italic '' ''
+ ************************************
+ -->
+ <TAG>
+ <STARTTAG>''</STARTTAG>
+ <ENDTAG>''</ENDTAG>
+ <BACKGROUND>
+ <COLOR>000</COLOR>
+ </BACKGROUND>
+ <BOLD>false</BOLD>
+ <ITALIC>true</ITALIC>
+ <TAGFONTSIZE>14</TAGFONTSIZE>
+ <TEXTFONTSIZE>12</TEXTFONTSIZE>
+ <TAGCOLOR>
+ <COLOR>906</COLOR>
+ </TAGCOLOR>
+ <TEXTCOLOR>
+ <COLOR>000</COLOR>
+ </TEXTCOLOR>
+ <FONTFAMILY>Arial</FONTFAMILY>
+ <HEADERTAG>0</HEADERTAG>
+ <ATBEGINNING>false</ATBEGINNING>
+ <TAGFIRSTROW>false</TAGFIRSTROW>
+ <TABLE>false</TABLE>
+ </TAG>
+
+ <!--
+ ************************************
+ Bold __ __
+ ************************************
+ -->
+ <TAG>
+ <STARTTAG>__</STARTTAG>
+ <ENDTAG>__</ENDTAG>
+ <BACKGROUND>
+ <COLOR>000</COLOR>
+ </BACKGROUND>
+ <BOLD>true</BOLD>
+ <ITALIC>false</ITALIC>
+ <TAGFONTSIZE>12</TAGFONTSIZE>
+ <TEXTFONTSIZE>12</TEXTFONTSIZE>
+ <TAGCOLOR>
+ <COLOR>906</COLOR>
+ </TAGCOLOR>
+ <TEXTCOLOR>
+ <COLOR>000</COLOR>
+ </TEXTCOLOR>
+ <FONTFAMILY>Arial</FONTFAMILY>
+ <HEADERTAG>0</HEADERTAG>
+ <ATBEGINNING>false</ATBEGINNING>
+ <TAGFIRSTROW>false</TAGFIRSTROW>
+ <TABLE>false</TABLE>
+ </TAG>
+
+ <!--
+ ************************************
+ Comment %%
+ ************************************
+ -->
+ <TAG>
+ <STARTTAG>%%</STARTTAG>
+ <ENDTAG></ENDTAG>
+ <BACKGROUND>
+ <COLOR>000</COLOR>
+ </BACKGROUND>
+ <BOLD>false</BOLD>
+ <ITALIC>false</ITALIC>
+ <TAGFONTSIZE>12</TAGFONTSIZE>
+ <TEXTFONTSIZE>12</TEXTFONTSIZE>
+ <TAGCOLOR>
+ <COLOR>906</COLOR>
+ </TAGCOLOR>
+ <TEXTCOLOR>
+ <COLOR>000</COLOR>
+ </TEXTCOLOR>
+ <FONTFAMILY>Arial</FONTFAMILY>
+ <HEADERTAG>0</HEADERTAG>
+ <ATBEGINNING>false</ATBEGINNING>
+ <TAGFIRSTROW>false</TAGFIRSTROW>
+ <TABLE>false</TABLE>
+ </TAG>
+
+ <!--
+ ************************************
+ Separator Line 4x-
+ ************************************
+ -->
+ <TAG>
+ <STARTTAG>----</STARTTAG>
+ <ENDTAG></ENDTAG>
+ <BACKGROUND>
+ <COLOR>000</COLOR>
+ </BACKGROUND>
+ <BOLD>false</BOLD>
+ <ITALIC>false</ITALIC>
+ <TAGFONTSIZE>12</TAGFONTSIZE>
+ <TEXTFONTSIZE>12</TEXTFONTSIZE>
+ <TAGCOLOR>
+ <COLOR>906</COLOR>
+ </TAGCOLOR>
+ <TEXTCOLOR>
+ <COLOR>000</COLOR>
+ </TEXTCOLOR>
+ <FONTFAMILY>Arial</FONTFAMILY>
+ <HEADERTAG>0</HEADERTAG>
+ <ATBEGINNING>false</ATBEGINNING>
+ <TAGFIRSTROW>false</TAGFIRSTROW>
+ <TABLE>false</TABLE>
+ </TAG>
+
+
+ <!--
+ ************************************
+ Todo...
+ ************************************
+ -->
+ <TAG>
+ <STARTTAG>\\\\</STARTTAG>
+ <ENDTAG></ENDTAG>
+ <BACKGROUND>
+ <COLOR>000</COLOR>
+ </BACKGROUND>
+ <BOLD>false</BOLD>
+ <ITALIC>false</ITALIC>
+ <TAGFONTSIZE>12</TAGFONTSIZE>
+ <TEXTFONTSIZE>12</TEXTFONTSIZE>
+ <TAGCOLOR>
+ <COLOR>906</COLOR>
+ </TAGCOLOR>
+ <TEXTCOLOR>
+ <COLOR>000</COLOR>
+ </TEXTCOLOR>
+ <FONTFAMILY>Arial</FONTFAMILY>
+ <HEADERTAG>0</HEADERTAG>
+ <ATBEGINNING>false</ATBEGINNING>
+ <TAGFIRSTROW>false</TAGFIRSTROW>
+ <TABLE>false</TABLE>
+ </TAG>
+
+ <!--
+ ************************************
+ Bullet List *
+ ************************************
+ -->
+ <TAG>
+ <STARTTAG>*</STARTTAG>
+ <ENDTAG></ENDTAG>
+ <BACKGROUND>
+ <COLOR>000</COLOR>
+ </BACKGROUND>
+ <BOLD>false</BOLD>
+ <ITALIC>false</ITALIC>
+ <TAGFONTSIZE>14</TAGFONTSIZE>
+ <TEXTFONTSIZE>14</TEXTFONTSIZE>
+ <TAGCOLOR>
+ <COLOR>906</COLOR>
+ </TAGCOLOR>
+ <TEXTCOLOR>
+ <COLOR>000</COLOR>
+ </TEXTCOLOR>
+ <FONTFAMILY>Arial</FONTFAMILY>
+ <HEADERTAG>0</HEADERTAG>
+ <ATBEGINNING>true</ATBEGINNING>
+ <TAGFIRSTROW>false</TAGFIRSTROW>
+ <TABLE>false</TABLE>
+ </TAG>
+
+ <!--
+ ************************************
+ Numbered List #
+ ************************************
+ -->
+ <TAG>
+ <STARTTAG>#</STARTTAG>
+ <ENDTAG></ENDTAG>
+ <BACKGROUND>
+ <COLOR>000</COLOR>
+ </BACKGROUND>
+ <BOLD>false</BOLD>
+ <ITALIC>false</ITALIC>
+ <TAGFONTSIZE>12</TAGFONTSIZE>
+ <TEXTFONTSIZE>12</TEXTFONTSIZE>
+ <TAGCOLOR>
+ <COLOR>906</COLOR>
+ </TAGCOLOR>
+ <TEXTCOLOR>
+ <COLOR>000</COLOR>
+ </TEXTCOLOR>
+ <FONTFAMILY>Arial</FONTFAMILY>
+ <HEADERTAG>0</HEADERTAG>
+ <ATBEGINNING>true</ATBEGINNING>
+ <TAGFIRSTROW>false</TAGFIRSTROW>
+ <TABLE>false</TABLE>
+ </TAG>
+
+ <!--
+ ************************************
+ Todo...
+ ************************************
+ -->
+ <TAG>
+ <STARTTAG><</STARTTAG>
+ <ENDTAG>></ENDTAG>
+ <CODE>true</CODE>
+ <BACKGROUND>
+ <COLOR>000</COLOR>
+ </BACKGROUND>
+ <BOLD>true</BOLD>
+ <ITALIC>false</ITALIC>
+ <TAGFONTSIZE>12</TAGFONTSIZE>
+ <TEXTFONTSIZE>12</TEXTFONTSIZE>
+ <TAGCOLOR>
+ <COLOR>906</COLOR>
+ </TAGCOLOR>
+ <TEXTCOLOR>
+ <COLOR>000</COLOR>
+ </TEXTCOLOR>
+ <FONTFAMILY>Arial</FONTFAMILY>
+ <HEADERTAG>0</HEADERTAG>
+ <ATBEGINNING>false</ATBEGINNING>
+ <TAGFIRSTROW>false</TAGFIRSTROW>
+ <TABLE>false</TABLE>
+ </TAG>
+
+
+ <!--
+ ************************************
+ Commentbox %% (Special Highlighting, has some bugs...)
+ ************************************
+ <TAG>
+ <STARTTAG>%%commentbox</STARTTAG>
+ <ENDTAG>%%</ENDTAG>
+ <BACKGROUND>
+ <COLOR>FFC</COLOR>
+ </BACKGROUND>
+ <BOLD>false</BOLD>
+ <ITALIC>false</ITALIC>
+ <TAGFONTSIZE>12</TAGFONTSIZE>
+ <TEXTFONTSIZE>12</TEXTFONTSIZE>
+ <TAGCOLOR>
+ <COLOR>906</COLOR>
+ </TAGCOLOR>
+ <TEXTCOLOR>
+ <COLOR>000</COLOR>
+ </TEXTCOLOR>
+ <FONTFAMILY>Arial</FONTFAMILY>
+ <HEADERTAG>0</HEADERTAG>
+ <ATBEGINNING>false</ATBEGINNING>
+ <TAGFIRSTROW>false</TAGFIRSTROW>
+ <TABLE>false</TABLE>
+ </TAG>
+ -->
+
+
+ <!--
+ ************************************
+ CSS Format %% (BUG: Highlighting within %% does not work)
+ ************************************
+ <TAG>
+ <STARTTAG>%%</STARTTAG>
+ <ENDTAG>%%</ENDTAG>
+ <HINTERLEGT>
+ <R>255</R>
+ <G>253</G>
+ <B>189</B>
+ </HINTERLEGT>
+ <BOLD>false</BOLD>
+ <ITALIC>false</ITALIC>
+ <TAGFONTSIZE>12</TAGFONTSIZE>
+ <TEXTFONTSIZE>12</TEXTFONTSIZE>
+ <TAGCOLOR>
+ <COLOR>906</COLOR>
+ </TAGCOLOR>
+ <TEXTCOLOR>
+ <COLOR>000</COLOR>
+ </TEXTCOLOR>
+ <FONTFAMILY>Arial</FONTFAMILY>
+ <HEADERTAG>0</HEADERTAG>
+ <ATBEGINNING>false</ATBEGINNING>
+ <TAGFIRSTROW>false</TAGFIRSTROW>
+ <TABLE>false</TABLE>
+ </TAG>
+ -->
+
+
+ <!--
+ ************************************
+ Newline \\
+ ************************************
+ -->
+ <TAG>
+ <STARTTAG>\\</STARTTAG>
+ <ENDTAG></ENDTAG>
+ <BACKGROUND>
+ <COLOR>000</COLOR>
+ </BACKGROUND>
+ <BOLD>false</BOLD>
+ <ITALIC>false</ITALIC>
+ <TAGFONTSIZE>12</TAGFONTSIZE>
+ <TEXTFONTSIZE>12</TEXTFONTSIZE>
+ <TAGCOLOR>
+ <COLOR>906</COLOR>
+ </TAGCOLOR>
+ <TEXTCOLOR>
+ <COLOR>000</COLOR>
+ </TEXTCOLOR>
+ <FONTFAMILY>Arial</FONTFAMILY>
+ <HEADERTAG>0</HEADERTAG>
+ <ATBEGINNING>false</ATBEGINNING>
+ <TAGFIRSTROW>false</TAGFIRSTROW>
+ <TABLE>false</TABLE>
+ </TAG>
+
+
+ <!--
+ ************************************
+ Definition ;:
+ ************************************
+ -->
+ <TAG>
+ <STARTTAG>;:</STARTTAG>
+ <ENDTAG></ENDTAG>
+ <BACKGROUND>
+ <COLOR>000</COLOR>
+ </BACKGROUND>
+ <BOLD>false</BOLD>
+ <ITALIC>false</ITALIC>
+ <TAGFONTSIZE>12</TAGFONTSIZE>
+ <TEXTFONTSIZE>12</TEXTFONTSIZE>
+ <TAGCOLOR>
+ <COLOR>906</COLOR>
+ </TAGCOLOR>
+ <TEXTCOLOR>
+ <COLOR>000</COLOR>
+ </TEXTCOLOR>
+ <FONTFAMILY>Arial</FONTFAMILY>
+ <HEADERTAG>0</HEADERTAG>
+ <ATBEGINNING>false</ATBEGINNING>
+ <TAGFIRSTROW>false</TAGFIRSTROW>
+ <TABLE>false</TABLE>
+ </TAG>
+
+ <!--
+ ************************************
+ Link [ ]
+ ************************************
+ -->
+ <TAG>
+ <STARTTAG>[</STARTTAG>
+ <ENDTAG>]</ENDTAG>
+ <BACKGROUND>
+ <COLOR>000</COLOR>
+ </BACKGROUND>
+ <SEPERATOR>|</SEPERATOR>
+ <SEPERATORCOLOR>
+ <COLOR>906</COLOR>
+ </SEPERATORCOLOR>
+ <DESCRIPTIONCOLOR>
+ <COLOR>00F</COLOR>
+ </DESCRIPTIONCOLOR>
+ <CODE>false</CODE>
+ <CODERIGHT>true</CODERIGHT>
+ <BOLD>false</BOLD>
+ <ITALIC>false</ITALIC>
+ <TAGFONTSIZE>12</TAGFONTSIZE>
+ <TEXTFONTSIZE>12</TEXTFONTSIZE>
+ <TAGCOLOR>
+ <COLOR>906</COLOR>
+ </TAGCOLOR>
+ <TEXTCOLOR>
+ <COLOR>00F</COLOR>
+ </TEXTCOLOR>
+ <FONTFAMILY>Arial</FONTFAMILY>
+ <HEADERTAG>0</HEADERTAG>
+ <ATBEGINNING>false</ATBEGINNING>
+ <TAGFIRSTROW>false</TAGFIRSTROW>
+ <TABLE>false</TABLE>
+ </TAG>
+
+
+</TAGBASE>
\ No newline at end of file
Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/wikiwizard.xml
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/wikiwizard.xml?rev=627259&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/wikiwizard.xml (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/WiWi-INF/wikiwizard.xml Tue Feb 12 22:11:16 2008
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>
+<WIKIWIZARD>
+ <EXTENSIONS>
+ <NAME>Extensions</NAME>
+ <NAME lang="de">Erweiterungen</NAME>
+
+ <GROUPFILE>core-plugins.xml</GROUPFILE>
+ <GROUPFILE>css-formatting.xml</GROUPFILE>
+ <GROUPFILE>interwiki-links.xml</GROUPFILE>
+ <GROUPFILE>templates.xml</GROUPFILE>
+ <GROUPFILE>wikivars.xml</GROUPFILE>
+
+ </EXTENSIONS>
+
+ <EDITOR>
+ <TABSIZE>4</TABSIZE>
+ <FONT>Arial New</FONT>
+ <IMAGE-WIDTH-MAX>640</IMAGE-WIDTH-MAX>
+ <IMAGE-WIDTH>640</IMAGE-WIDTH>
+ <IMAGE-WIDTH>450</IMAGE-WIDTH>
+ <IMAGE-WIDTH>370</IMAGE-WIDTH>
+ <IMAGE-WIDTH>250</IMAGE-WIDTH>
+ <IMAGE-WIDTH>150</IMAGE-WIDTH>
+ <IMAGE-NAME>Image</IMAGE-NAME>
+ <HIGHLIGHTING-DELAY>100</HIGHLIGHTING-DELAY>
+ <!--
+ <ATTACHMENT-MODE>old</ATTACHMENT-MODE>
+ -->
+ </EDITOR>
+
+</WIKIWIZARD>
\ No newline at end of file
Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/wikiwizard.jar
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/wikiwizard.jar?rev=627259&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/applets/wikiwizard.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/error/Forbidden.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/error/Forbidden.html?rev=627259&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/error/Forbidden.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/error/Forbidden.html Tue Feb 12 22:11:16 2008
@@ -0,0 +1,22 @@
+<html>
+ <body>
+ <h3>Forbidden</h3>
+ <p>
+ <strong>Sorry, but you are not allowed to do that.</strong>
+ </p>
+ <p>
+ Usually we block access to
+ something because you do not have the correct privileges (<em>e.g.</em>,
+ read, edit, comment) for the page you are looking for. In this particular case,
+ it is likely that you are not listed in the page’s access control list
+ or that your privileges aren’t high enough (you want
+ to edit, but ACL only allows ‘read’).
+ </p>
+ <p>
+ It is also possible that JSPWiki cannot find its security policy, or that
+ the policy is not configured correctly. Either of these cases would cause
+ JSPWiki to block access, too.
+ </p>
+ <p><a href=".">Better luck next time.</a></p>
+ </body>
+</html>
Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/attachment_big.png
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/attachment_big.png?rev=627259&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/attachment_big.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/attachment_small.png
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/attachment_small.png?rev=627259&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/attachment_small.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/favicon.png
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/favicon.png?rev=627259&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/favicon.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/jspwiki_logo.png
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/jspwiki_logo.png?rev=627259&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/jspwiki_logo.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/jspwiki_logo_s.png
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/jspwiki_logo_s.png?rev=627259&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/jspwiki_logo_s.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/out.png
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/out.png?rev=627259&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/out.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/xml.png
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/xml.png?rev=627259&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/xml.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/xmlCoffeeCup.png
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/xmlCoffeeCup.png?rev=627259&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/images/xmlCoffeeCup.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/fckconfig.js
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/fckconfig.js?rev=627259&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/fckconfig.js (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/fckconfig.js Tue Feb 12 22:11:16 2008
@@ -0,0 +1,285 @@
+/*
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ * - GNU General Public License Version 2 or later (the "GPL")
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ * http://www.gnu.org/licenses/lgpl.html
+ *
+ * - Mozilla Public License Version 1.1 or later (the "MPL")
+ * http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * File Name: fckconfig.js
+ * Editor configuration settings.
+ *
+ * Follow this link for more information:
+ * http://wiki.fckeditor.net/Developer%27s_Guide/Configuration/Configurations_Settings
+ *
+ * File Authors:
+ * Frederico Caldeira Knabben (www.fckeditor.net)
+ */
+
+// Disable the custom Enter Key Handler (this configuration will be removed in
+// version 2.5).
+FCKConfig.DisableEnterKeyHandler = false ;
+
+// JSPWiki: this option is dynamically configured in the 'FCK.jsp' file
+// to point to this very 'fckconfig.js' file that you are viewing right now.
+//FCKConfig.CustomConfigurationsPath = '' ;
+
+// JSPWiki: this option is dynamically configured in the 'FCK.jsp' file.
+// The 'jspwiki.css' file for the active jspwiki template will be used.
+//FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ;
+
+
+FCKConfig.ToolbarComboPreviewCSS = '' ;
+
+FCKConfig.DocType = '' ;
+
+// JSPWiki: this option is dynamically configured in the 'FCK.jsp' file
+// so that inlined image attachments can be displayed properly.
+//FCKConfig.BaseHref = '' ;
+
+FCKConfig.FullPage = false ;
+
+FCKConfig.Debug = false ;
+FCKConfig.AllowQueryStringDebug = true ;
+
+FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/default/' ;
+FCKConfig.PreloadImages = [ FCKConfig.SkinPath + 'images/toolbar.start.gif', FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ] ;
+
+FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ;
+
+// FCKConfig.Plugins.Add( 'autogrow' ) ;
+FCKConfig.AutoGrowMax = 400 ;
+
+// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ; // ASP style server side code <%...%>
+// FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ; // PHP style server side code
+// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ; // ASP.Net style tags <asp:control>
+
+FCKConfig.AutoDetectLanguage = true ;
+FCKConfig.DefaultLanguage = 'en' ;
+FCKConfig.ContentLangDirection = 'ltr' ;
+
+FCKConfig.ProcessHTMLEntities = true ;
+FCKConfig.IncludeLatinEntities = true ;
+FCKConfig.IncludeGreekEntities = true ;
+
+FCKConfig.ProcessNumericEntities = false ;
+
+FCKConfig.AdditionalNumericEntities = '' ; // Single Quote: "'"
+
+// JSPWiki: set to false otherwise extraneous <p>nbsp;</p> tags will be inserted when saving.
+FCKConfig.FillEmptyBlocks = false ;
+
+// JSPWiki: setting FormatSource or FormatOutput to false will cause problems
+// for list items and select lists when the page is saved.
+FCKConfig.FormatSource = true ;
+FCKConfig.FormatOutput = true ;
+FCKConfig.FormatIndentator = ' ' ;
+
+FCKConfig.ForceStrongEm = true ;
+
+// JSPWiki: enabled this option so that Gecko-based browsers would work with span tags.
+FCKConfig.GeckoUseSPAN = true ;
+
+// JSPWiki: changed StartupFocus from false to true.
+FCKConfig.StartupFocus = true ;
+
+FCKConfig.ForcePasteAsPlainText = false ;
+FCKConfig.AutoDetectPasteFromWord = true ; // IE only.
+FCKConfig.ForceSimpleAmpersand = false ;
+FCKConfig.TabSpaces = 0 ;
+FCKConfig.ShowBorders = true ;
+FCKConfig.SourcePopup = false ;
+FCKConfig.ToolbarStartExpanded = true ;
+FCKConfig.ToolbarCanCollapse = true ;
+FCKConfig.IgnoreEmptyParagraphValue = true ;
+FCKConfig.PreserveSessionOnFileBrowser = false ;
+FCKConfig.FloatingPanelsZIndex = 10000 ;
+
+
+// JSPWiki: set to false so that we don't replace the entire page when inserting plugins
+// and other things from the Templates pop-up window.
+FCKConfig.TemplateReplaceAll = false ;
+
+FCKConfig.TemplateReplaceCheckbox = true ;
+
+
+
+FCKConfig.ToolbarLocation = 'In' ;
+
+FCKConfig.ToolbarSets["Default"] = [
+ // JSPWiki: disabled the 'Save' button until someone can get it to work.
+ ['Source','DocProps','-','NewPage','Preview','-','Templates'],
+// ['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
+
+ ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
+ ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
+ ['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
+ '/',
+ ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
+ ['OrderedList','UnorderedList','-','Outdent','Indent'],
+ ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
+ ['Link','Unlink','Anchor'],
+
+ // JSPWiki: disabled the 'Flash' button
+ ['Image','Table','Rule','Smiley','SpecialChar','PageBreak'],
+ //['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
+ '/',
+ ['Style','FontFormat','FontName','FontSize'],
+ ['TextColor','BGColor'],
+ ['FitWindow','-','About']
+] ;
+
+FCKConfig.ToolbarSets["Basic"] = [
+ ['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
+] ;
+
+FCKConfig.EnterMode = 'p' ; // p | div | br
+FCKConfig.ShiftEnterMode = 'br' ; // p | div | br
+
+FCKConfig.Keystrokes = [
+ [ CTRL + 65 /*A*/, true ],
+ [ CTRL + 67 /*C*/, true ],
+ [ CTRL + 70 /*F*/, true ],
+ [ CTRL + 83 /*S*/, true ],
+ [ CTRL + 88 /*X*/, true ],
+ [ CTRL + 86 /*V*/, 'Paste' ],
+ [ SHIFT + 45 /*INS*/, 'Paste' ],
+ [ CTRL + 90 /*Z*/, 'Undo' ],
+ [ CTRL + 89 /*Y*/, 'Redo' ],
+ [ CTRL + SHIFT + 90 /*Z*/, 'Redo' ],
+ [ CTRL + 76 /*L*/, 'Link' ],
+ [ CTRL + 66 /*B*/, 'Bold' ],
+ [ CTRL + 73 /*I*/, 'Italic' ],
+ [ CTRL + 85 /*U*/, 'Underline' ],
+ [ CTRL + SHIFT + 83 /*S*/, 'Save' ],
+ [ CTRL + ALT + 13 /*ENTER*/, 'FitWindow' ],
+ [ CTRL + 9 /*TAB*/, 'Source' ]
+] ;
+
+// JSPWiki: disabled the context menu items that won't work.
+FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','Table','Form'] ;
+//FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form'] ;
+
+FCKConfig.FontColors = '000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,808080,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF' ;
+
+// JSPWiki: added additional fonts.
+FCKConfig.FontNames = 'Arial;Comic Sans MS;Courier New;Georgia;Impact;Tahoma;Times New Roman;Verdana' ;
+//FCKConfig.FontNames = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;
+
+FCKConfig.FontSizes = '1/xx-small;2/x-small;3/small;4/medium;5/large;6/x-large;7/xx-large' ;
+
+// JSPWiki: disabled h1, h5, h6 since jspwiki does not support them.
+FCKConfig.FontFormats = 'p;div;h2;h3;h4;pre;address' ;
+//FCKConfig.FontFormats = 'p;div;pre;address;h1;h2;h3;h4;h5;h6' ;
+
+
+// JSPWiki: these options are dynamically configured in the 'FCK.jsp' file.
+//FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.xml' ;
+//FCKConfig.TemplatesXmlPath = FCKConfig.EditorPath + 'fcktemplates.xml' ;
+
+FCKConfig.SpellChecker = 'ieSpell' ; // 'ieSpell' | 'SpellerPages'
+FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ;
+FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl
+
+FCKConfig.MaxUndoLevels = 15 ;
+
+FCKConfig.DisableObjectResizing = false ;
+FCKConfig.DisableFFTableHandles = true ;
+
+FCKConfig.LinkDlgHideTarget = false ;
+FCKConfig.LinkDlgHideAdvanced = false ;
+
+FCKConfig.ImageDlgHideLink = false ;
+
+// JSPWiki: disabled the advanced tab since the extra attributes aren't supported in wiki syntax.
+FCKConfig.ImageDlgHideAdvanced = true ;
+
+FCKConfig.FlashDlgHideAdvanced = false ;
+
+FCKConfig.ProtectedTags = '' ;
+
+// This will be applied to the body element of the editor
+FCKConfig.BodyId = '' ;
+FCKConfig.BodyClass = '' ;
+
+// The option switches between trying to keep the html structure or do the changes so the content looks like it was in Word
+FCKConfig.CleanWordKeepsStructure = false ;
+
+// The following value defines which File Browser connector and Quick Upload
+// "uploader" to use. It is valid for the default implementaion and it is here
+// just to make this configuration file cleaner.
+// It is not possible to change this value using an external file or even
+// inline when creating the editor instance. In that cases you must set the
+// values of LinkBrowserURL, ImageBrowserURL and so on.
+// Custom implementations should just ignore it.
+var _FileBrowserLanguage = 'asp' ; // asp | aspx | cfm | lasso | perl | php | py
+var _QuickUploadLanguage = 'asp' ; // asp | aspx | cfm | lasso | php
+
+// Don't care about the following line. It just calculates the correct connector
+// extension to use for the default File Browser (Perl uses "cgi").
+var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ;
+
+// JSPWiki: disabled since the FCKeditor.Java package isn't used.
+FCKConfig.LinkBrowser = false ;
+
+FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ;
+FCKConfig.LinkBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70%
+FCKConfig.LinkBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70%
+
+// JSPWiki: disabled since the FCKeditor.Java package isn't being used.
+FCKConfig.ImageBrowser = false ;
+
+FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ;
+FCKConfig.ImageBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70% ;
+FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70% ;
+
+// JSPWiki: disabled since the FCKeditor.Java package isn't being used.
+FCKConfig.FlashBrowser = false ;
+
+FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ;
+FCKConfig.FlashBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; //70% ;
+FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; //70% ;
+
+// JSPWiki: disabled since the FCKeditor.Java package isn't being used.
+FCKConfig.LinkUpload = false ;
+
+FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage ;
+FCKConfig.LinkUploadAllowedExtensions = "" ; // empty for all
+FCKConfig.LinkUploadDeniedExtensions = ".(html|htm|php|php2|php3|php4|php5|phtml|pwml|inc|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|com|dll|vbs|js|reg|cgi|htaccess|asis)$" ; // empty for no one
+
+// JSPWiki: disabled since the FCKeditor.Java package isn't being used.
+FCKConfig.ImageUpload = false ;
+
+FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage + '?Type=Image' ;
+FCKConfig.ImageUploadAllowedExtensions = ".(jpg|gif|jpeg|png|bmp)$" ; // empty for all
+FCKConfig.ImageUploadDeniedExtensions = "" ; // empty for no one
+
+// JSPWiki: disabled since the FCKeditor.Java package isn't being used.
+FCKConfig.FlashUpload = false ;
+
+FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage + '?Type=Flash' ;
+FCKConfig.FlashUploadAllowedExtensions = ".(swf|fla)$" ; // empty for all
+FCKConfig.FlashUploadDeniedExtensions = "" ; // empty for no one
+
+// JSPWiki: this option is dynamically configured in the 'FCK.jsp' file.
+// Please note that the smiley images will be referenced in the wikipage using the complete URL.
+// For example: http://www.yourwebsite.com:80/JSPWiki/scripts/fckeditor/editor/images/smiley/msn/regular_smile.gif
+// Therefore if the hostname, port, or jspwiki-dir changes in the future, existing smiley images will be broken.
+//FCKConfig.SmileyPath = FCKConfig.BasePath + 'images/smiley/msn/' ;
+
+FCKConfig.SmileyImages = ['regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif','devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif','broken_heart.gif','kiss.gif','envelope.gif'] ;
+FCKConfig.SmileyColumns = 8 ;
+FCKConfig.SmileyWindowWidth = 320 ;
+FCKConfig.SmileyWindowHeight = 240 ;
Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/fckeditor/fckeditor.js
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/fckeditor/fckeditor.js?rev=627259&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/fckeditor/fckeditor.js (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/fckeditor/fckeditor.js Tue Feb 12 22:11:16 2008
@@ -0,0 +1,2 @@
+/* Replace all files (including this one) with the latest FCKEditor code from
+ http://www.fckeditor.net/ */
\ No newline at end of file
Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/fckstyles.xml
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/fckstyles.xml?rev=627259&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/fckstyles.xml (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/fckstyles.xml Tue Feb 12 22:11:16 2008
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<Styles>
+ <Style name="Monospace" element="tt" />
+ <Style name="Small" element="span" >
+ <Attribute name="class" value="small" />
+ </Style>
+ <Style name="Code" element="pre" />
+ <Style name="Info" element="div" >
+ <Attribute name="class" value="information" />
+ </Style>
+ <Style name="Warning" element="div" >
+ <Attribute name="class" value="warning" />
+ </Style>
+ <Style name="Error" element="div" >
+ <Attribute name="class" value="error" />
+ </Style>
+ <Style name="Comment Box" element="div" >
+ <Attribute name="class" value="commentbox" />
+ </Style>
+ <Style name="Left-to-right text" element="div" >
+ <Attribute name="class" value="ltr" />
+ </Style>
+ <Style name="Right-to-left text" element="div" >
+ <Attribute name="class" value="rtl" />
+ </Style>
+ <Style name="Strikethrough" element="span" >
+ <Attribute name="class" value="strike" />
+ </Style>
+ <Style name="Superscript" element="span" >
+ <Attribute name="class" value="sup" />
+ </Style>
+ <Style name="Subscript" element="span" >
+ <Attribute name="class" value="sub" />
+ </Style>
+ <Style name="Centered" element="div" >
+ <Attribute name="style" value="text-align:center" />
+ </Style>
+ <Style name="Align Left" element="div" >
+ <Attribute name="style" value="text-align:left" />
+ </Style>
+ <Style name="Align Right" element="div" >
+ <Attribute name="style" value="text-align:right" />
+ </Style>
+ <Style name="Justify" element="div" >
+ <Attribute name="style" value="text-align:justify" />
+ </Style>
+</Styles>
Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/fcktemplates.xml
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/fcktemplates.xml?rev=627259&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/fcktemplates.xml (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/fcktemplates.xml Tue Feb 12 22:11:16 2008
@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<Templates imagesBasePath="fck_template/images/">
+
+ <Template title="Section Headings Template">
+ <Description>
+ Insert a page template that includes a table of contents and several section headings.
+ Typically, you would use this on a new or blank page.
+ </Description>
+ <Html>
+ <![CDATA[
+ <p>[{TableOfContents numbered='true' }]</p>
+ <p><span style="color:red">You will want to rename the section titles and delete any subsections that you don't need.</span></p>
+
+ <h2>Title of Section 1</h2>
+ <p>Section 1 Intro (if any)</p>
+ <h3>Title of Section 1.1</h3>
+ <p>Section 1.1 content here</p>
+ <h3>Title of Section 1.2</h3>
+ <p>Section 1.2 content here</p>
+ <h3>Title of Section 1.3</h3>
+ <p>Section 1.3 content here</p>
+
+ <p> </p>
+ <h2>Title of Section 2</h2>
+ <p>Section 2 Intro (if any)</p>
+ <h3>Title of Section 2.1</h3>
+ <p>Section 2.1 content here</p>
+ <h3>Title of Section 2.2</h3>
+ <p>Section 2.2 content here</p>
+ <h3>Title of Section 2.3</h3>
+ <p>Section 2.3 content here</p>
+
+ <p> </p>
+ <h2>Title of Section 3</h2>
+ <p>Section 3 Intro (if any)</p>
+ <h3>Title of Section 3.1</h3>
+ <p>Section 3.1 content here</p>
+ <h3>Title of Section 3.2</h3>
+ <p>Section 3.2 content here</p>
+ <h3>Title of Section 3.3</h3>
+ <p>Section 3.3 content here</p>
+ ]]>
+ </Html>
+ </Template>
+
+ <Template title="Sortable Table">
+ <Description>
+ Insert a new table that can be sorted when you click on its column headers.
+ </Description>
+ <Html>
+ <![CDATA[
+ <div class="sortable">
+ <table border="1" class="wikitable">
+ <tbody>
+ <tr class="odd">
+ <th class="sortAscending">header1</th>
+ <th class="sort">header2</th>
+ <th class="sort">header3</th>
+ </tr>
+ <tr>
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ </tr>
+ <tr class="odd">
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ </tr>
+ <tr>
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ </tr>
+ <tr class="odd">
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ </tr>
+ <tr>
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ </tr>
+ <tr class="odd">
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ ]]>
+ </Html>
+ </Template>
+
+ <Template title="Table of Contents Plugin">
+ <Description>
+ This plugin will automatically generate a table of contents
+ that provides links to all headings on your page. Put this at the top of your page.
+ </Description>
+ <Html>
+ <![CDATA[
+ [{TableOfContents numbered='true' }]
+ ]]>
+ </Html>
+ </Template>
+
+ <Template title="Insert Page Plugin">
+ <Description>
+ This plugin will insert a copy of another page into the current page.
+ You'll have to specify the name of the page to insert.
+ </Description>
+ <Html>
+ <![CDATA[
+ [{InsertPage page='name-of-page-to-insert' }]
+ ]]>
+ </Html>
+ </Template>
+
+ <Template title="Current Time Plugin">
+ <Description>
+ This plugin will display the current date and local time of the server when the page is viewed.
+ </Description>
+ <Html>
+ <![CDATA[
+ The current date and local time on this server is [{CurrentTimePlugin format='MMMM dd, yyyy hh:mm a z' }].
+ ]]>
+ </Html>
+ </Template>
+
+</Templates>
Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/json-rpc/jsonrpc.js
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/json-rpc/jsonrpc.js?rev=627259&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/json-rpc/jsonrpc.js (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/scripts/json-rpc/jsonrpc.js Tue Feb 12 22:11:16 2008
@@ -0,0 +1,484 @@
+/*
+ * JSON-RPC JavaScript client
+ *
+ * $Id: jsonrpc.js,v 1.1 2006/11/27 21:41:50 jalkanen Exp $
+ *
+ * Copyright (c) 2003-2004 Jan-Klaas Kollhof
+ * Copyright (c) 2005 Michael Clark, Metaparadigm Pte Ltd
+ *
+ * This code is based on Jan-Klaas' JavaScript o lait library (jsolait).
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+
+/* escape a character */
+
+escapeJSONChar =
+function escapeJSONChar(c)
+{
+ if(c == "\"" || c == "\\") return "\\" + c;
+ else if (c == "\b") return "\\b";
+ else if (c == "\f") return "\\f";
+ else if (c == "\n") return "\\n";
+ else if (c == "\r") return "\\r";
+ else if (c == "\t") return "\\t";
+ var hex = c.charCodeAt(0).toString(16);
+ if(hex.length == 1) return "\\u000" + hex;
+ else if(hex.length == 2) return "\\u00" + hex;
+ else if(hex.length == 3) return "\\u0" + hex;
+ else return "\\u" + hex;
+};
+
+
+/* encode a string into JSON format */
+
+escapeJSONString =
+function escapeJSONString(s)
+{
+ /* The following should suffice but Safari's regex is b0rken
+ (doesn't support callback substitutions)
+ return "\"" + s.replace(/([^\u0020-\u007f]|[\\\"])/g,
+ escapeJSONChar) + "\"";
+ */
+
+ /* Rather inefficient way to do it */
+ var parts = s.split("");
+ for(var i=0; i < parts.length; i++) {
+ var c =parts[i];
+ if(c == '"' ||
+ c == '\\' ||
+ c.charCodeAt(0) < 32 ||
+ c.charCodeAt(0) >= 128)
+ parts[i] = escapeJSONChar(parts[i]);
+ }
+ return "\"" + parts.join("") + "\"";
+};
+
+
+/* Marshall objects to JSON format */
+
+toJSON = function toJSON(o)
+{
+ if(o == null) {
+ return "null";
+ } else if(o.constructor == String) {
+ return escapeJSONString(o);
+ } else if(o.constructor == Number) {
+ return o.toString();
+ } else if(o.constructor == Boolean) {
+ return o.toString();
+ } else if(o.constructor == Date) {
+ return '{javaClass: "java.util.Date", time: ' + o.valueOf() +'}';
+ } else if(o.constructor == Array) {
+ var v = [];
+ for(var i = 0; i < o.length; i++) v.push(toJSON(o[i]));
+ return "[" + v.join(", ") + "]";
+ } else {
+ var v = [];
+ for(attr in o) {
+ if(o[attr] == null) v.push("\"" + attr + "\": null");
+ else if(typeof o[attr] == "function"); /* skip */
+ else v.push(escapeJSONString(attr) + ": " + toJSON(o[attr]));
+ }
+ return "{" + v.join(", ") + "}";
+ }
+};
+
+
+/* JSONRpcClient constructor */
+
+JSONRpcClient =
+function JSONRpcClient_ctor(serverURL, user, pass, objectID)
+{
+ this.serverURL = serverURL;
+ this.user = user;
+ this.pass = pass;
+ this.objectID = objectID;
+
+ /* Add standard methods */
+ if(this.objectID) {
+ this._addMethods(["listMethods"]);
+ var req = this._makeRequest("listMethods", []);
+ } else {
+ this._addMethods(["system.listMethods"]);
+ var req = this._makeRequest("system.listMethods", []);
+ }
+ var m = this._sendRequest(req);
+ this._addMethods(m);
+};
+
+
+/* JSONRpcCLient.Exception */
+
+JSONRpcClient.Exception =
+function JSONRpcClient_Exception_ctor(code, message, javaStack)
+{
+ this.code = code;
+ var name;
+ if(javaStack) {
+ this.javaStack = javaStack;
+ var m = javaStack.match(/^([^:]*)/);
+ if(m) name = m[0];
+ }
+ if(name) this.name = name;
+ else this.name = "JSONRpcClientException";
+ this.message = message;
+};
+
+JSONRpcClient.Exception.CODE_REMOTE_EXCEPTION = 490;
+JSONRpcClient.Exception.CODE_ERR_CLIENT = 550;
+JSONRpcClient.Exception.CODE_ERR_PARSE = 590;
+JSONRpcClient.Exception.CODE_ERR_NOMETHOD = 591;
+JSONRpcClient.Exception.CODE_ERR_UNMARSHALL = 592;
+JSONRpcClient.Exception.CODE_ERR_MARSHALL = 593;
+
+JSONRpcClient.Exception.prototype = new Error();
+
+JSONRpcClient.Exception.prototype.toString =
+function JSONRpcClient_Exception_toString(code, msg)
+{
+ return this.name + ": " + this.message;
+};
+
+
+/* Default top level exception handler */
+
+JSONRpcClient.default_ex_handler =
+function JSONRpcClient_default_ex_handler(e) { alert(e); };
+
+
+/* Client settable variables */
+
+JSONRpcClient.toplevel_ex_handler = JSONRpcClient.default_ex_handler;
+JSONRpcClient.profile_async = false;
+JSONRpcClient.max_req_active = 1;
+JSONRpcClient.requestId = 1;
+
+
+/* JSONRpcClient implementation */
+
+JSONRpcClient.prototype._createMethod =
+function JSONRpcClient_createMethod(methodName)
+{
+ var fn=function()
+ {
+ var args = [];
+ var callback = null;
+ for(var i=0;i<arguments.length;i++) args.push(arguments[i]);
+ if(typeof args[0] == "function") callback = args.shift();
+ var req = fn.client._makeRequest.call(fn.client, fn.methodName,
+ args, callback);
+ if(callback == null) {
+ return fn.client._sendRequest.call(fn.client, req);
+ } else {
+ JSONRpcClient.async_requests.push(req);
+ JSONRpcClient.kick_async();
+ return req.requestId;
+ }
+ };
+ fn.client = this;
+ fn.methodName = methodName;
+ return fn;
+};
+
+JSONRpcClient.prototype._addMethods =
+function JSONRpcClient_addMethods(methodNames)
+{
+ for(var i=0; i<methodNames.length; i++) {
+ var obj = this;
+ var names = methodNames[i].split(".");
+ for(var n=0; n<names.length-1; n++) {
+ var name = names[n];
+ if(obj[name]) {
+ obj = obj[name];
+ } else {
+ obj[name] = new Object();
+ obj = obj[name];
+ }
+ }
+ var name = names[names.length-1];
+ if(!obj[name]) {
+ var method = this._createMethod(methodNames[i]);
+ obj[name] = method;
+ }
+ }
+};
+
+JSONRpcClient._getCharsetFromHeaders =
+function JSONRpcClient_getCharsetFromHeaders(http)
+{
+ try {
+ var contentType = http.getResponseHeader("Content-type");
+ var parts = contentType.split(/\s*;\s*/);
+ for(var i =0; i < parts.length; i++) {
+ if(parts[i].substring(0, 8) == "charset=")
+ return parts[i].substring(8, parts[i].length);
+ }
+ } catch (e) {}
+ return "UTF-8"; /* default */
+};
+
+/* Async queue globals */
+JSONRpcClient.async_requests = [];
+JSONRpcClient.async_inflight = {};
+JSONRpcClient.async_responses = [];
+JSONRpcClient.async_timeout = null;
+JSONRpcClient.num_req_active = 0;
+
+JSONRpcClient._async_handler =
+function JSONRpcClient_async_handler()
+{
+ JSONRpcClient.async_timeout = null;
+
+ while(JSONRpcClient.async_responses.length > 0) {
+ var res = JSONRpcClient.async_responses.shift();
+ if(res.canceled) continue;
+ if(res.profile) res.profile.dispatch = new Date();
+ try {
+ res.cb(res.result, res.ex, res.profile);
+ } catch(e) {
+ JSONRpcClient.toplevel_ex_handler(e);
+ }
+ }
+
+ while(JSONRpcClient.async_requests.length > 0 &&
+ JSONRpcClient.num_req_active < JSONRpcClient.max_req_active) {
+ var req = JSONRpcClient.async_requests.shift();
+ if(req.canceled) continue;
+ req.client._sendRequest.call(req.client, req);
+ }
+};
+
+JSONRpcClient.kick_async =
+function JSONRpcClient_kick_async()
+{
+ if(JSONRpcClient.async_timeout == null)
+ JSONRpcClient.async_timeout =
+ setTimeout(JSONRpcClient._async_handler, 0);
+};
+
+JSONRpcClient.cancelRequest =
+function JSONRpcClient_cancelRequest(requestId)
+{
+ /* If it is in flight then mark it as canceled in the inflight map
+ and the XMLHttpRequest callback will discard the reply. */
+ if(JSONRpcClient.async_inflight[requestId]) {
+ JSONRpcClient.async_inflight[requestId].canceled = true;
+ return true;
+ }
+
+ /* If its not in flight yet then we can just mark it as canceled in
+ the the request queue and it will get discarded before being sent. */
+ for(var i in JSONRpcClient.async_requests) {
+ if(JSONRpcClient.async_requests[i].requestId == requestId) {
+ JSONRpcClient.async_requests[i].canceled = true;
+ return true;
+ }
+ }
+
+ /* It may have returned from the network and be waiting for its callback
+ to be dispatched, so mark it as canceled in the response queue
+ and the response will get discarded before calling the callback. */
+ for(var i in JSONRpcClient.async_responses) {
+ if(JSONRpcClient.async_responses[i].requestId == requestId) {
+ JSONRpcClient.async_responses[i].canceled = true;
+ return true;
+ }
+ }
+
+ return false;
+};
+
+JSONRpcClient.prototype._makeRequest =
+function JSONRpcClient_makeRequest(methodName, args, cb)
+{
+ var req = {};
+ req.client = this;
+ req.requestId = JSONRpcClient.requestId++;
+
+ var obj = {};
+ obj.id = req.requestId;
+ if (this.objectID)
+ obj.method = ".obj#" + this.objectID + "." + methodName;
+ else
+ obj.method = methodName;
+ obj.params = args;
+
+ if (cb) req.cb = cb;
+ if (JSONRpcClient.profile_async)
+ req.profile = { "submit": new Date() };
+ req.data = toJSON(obj);
+
+ return req;
+};
+
+JSONRpcClient.prototype._sendRequest =
+function JSONRpcClient_sendRequest(req)
+{
+ if(req.profile) req.profile.start = new Date();
+
+ /* Get free http object from the pool */
+ var http = JSONRpcClient.poolGetHTTPRequest();
+ JSONRpcClient.num_req_active++;
+
+ /* Send the request */
+ if (typeof(this.user) == "undefined") {
+ http.open("POST", this.serverURL, (req.cb != null));
+ } else {
+ http.open("POST", this.serverURL, (req.cb != null), this.user, this.pass);
+ }
+
+ /* setRequestHeader is missing in Opera 8 Beta */
+ try { http.setRequestHeader("Content-type", "text/plain"); } catch(e) {}
+
+ /* Construct call back if we have one */
+ if(req.cb) {
+ var self = this;
+ http.onreadystatechange = function() {
+ if(http.readyState == 4) {
+ http.onreadystatechange = function () {};
+ var res = { "cb": req.cb, "result": null, "ex": null};
+ if (req.profile) {
+ res.profile = req.profile;
+ res.profile.end = new Date();
+ }
+ try { res.result = self._handleResponse(http); }
+ catch(e) { res.ex = e; }
+ if(!JSONRpcClient.async_inflight[req.requestId].canceled)
+ JSONRpcClient.async_responses.push(res);
+ delete JSONRpcClient.async_inflight[req.requestId];
+ JSONRpcClient.kick_async();
+ }
+ };
+ } else {
+ http.onreadystatechange = function() {};
+ }
+
+ JSONRpcClient.async_inflight[req.requestId] = req;
+
+ try {
+ http.send(req.data);
+ } catch(e) {
+ JSONRpcClient.poolReturnHTTPRequest(http);
+ JSONRpcClient.num_req_active--;
+ throw new JSONRpcClient.Exception
+ (JSONRpcClient.Exception.CODE_ERR_CLIENT, "Connection failed");
+ }
+
+ if(!req.cb) return this._handleResponse(http);
+};
+
+JSONRpcClient.prototype._handleResponse =
+function JSONRpcClient_handleResponse(http)
+{
+ /* Get the charset */
+ if(!this.charset) {
+ this.charset = JSONRpcClient._getCharsetFromHeaders(http);
+ }
+
+ /* Get request results */
+ var status, statusText, data;
+ try {
+ status = http.status;
+ statusText = http.statusText;
+ data = http.responseText;
+ } catch(e) {
+ JSONRpcClient.poolReturnHTTPRequest(http);
+ JSONRpcClient.num_req_active--;
+ JSONRpcClient.kick_async();
+ throw new JSONRpcClient.Exception
+ (JSONRpcClient.Exception.CODE_ERR_CLIENT, "Connection failed");
+ }
+
+ /* Return http object to the pool; */
+ JSONRpcClient.poolReturnHTTPRequest(http);
+ JSONRpcClient.num_req_active--;
+
+ /* Unmarshall the response */
+ if(status != 200) {
+ throw new JSONRpcClient.Exception(status, statusText);
+ }
+ var obj;
+ try {
+ eval("obj = " + data);
+ } catch(e) {
+ throw new JSONRpcClient.Exception(550, "error parsing result");
+ }
+ if(obj.error)
+ throw new JSONRpcClient.Exception(obj.error.code, obj.error.msg,
+ obj.error.trace);
+ var res = obj.result;
+
+ /* Handle CallableProxy */
+ if(res && res.objectID && res.JSONRPCType == "CallableReference")
+ return new JSONRpcClient(this.serverURL, this.user,
+ this.pass, res.objectID);
+
+ return res;
+};
+
+
+/* XMLHttpRequest wrapper code */
+
+/* XMLHttpRequest pool globals */
+JSONRpcClient.http_spare = [];
+JSONRpcClient.http_max_spare = 8;
+
+JSONRpcClient.poolGetHTTPRequest =
+function JSONRpcClient_pool_getHTTPRequest()
+{
+ if(JSONRpcClient.http_spare.length > 0) {
+ return JSONRpcClient.http_spare.pop();
+ }
+ return JSONRpcClient.getHTTPRequest();
+};
+
+JSONRpcClient.poolReturnHTTPRequest =
+function JSONRpcClient_poolReturnHTTPRequest(http)
+{
+ if(JSONRpcClient.http_spare.length >= JSONRpcClient.http_max_spare)
+ delete http;
+ else
+ JSONRpcClient.http_spare.push(http);
+};
+
+JSONRpcClient.msxmlNames = [ "MSXML2.XMLHTTP.5.0",
+ "MSXML2.XMLHTTP.4.0",
+ "MSXML2.XMLHTTP.3.0",
+ "MSXML2.XMLHTTP",
+ "Microsoft.XMLHTTP" ];
+
+JSONRpcClient.getHTTPRequest =
+function JSONRpcClient_getHTTPRequest()
+{
+ /* Mozilla XMLHttpRequest */
+ try {
+ JSONRpcClient.httpObjectName = "XMLHttpRequest";
+ return new XMLHttpRequest();
+ } catch(e) {}
+
+ /* Microsoft MSXML ActiveX */
+ for (var i=0;i < JSONRpcClient.msxmlNames.length; i++) {
+ try {
+ JSONRpcClient.httpObjectName = JSONRpcClient.msxmlNames[i];
+ return new ActiveXObject(JSONRpcClient.msxmlNames[i]);
+ } catch (e) {}
+ }
+
+ /* None found */
+ JSONRpcClient.httpObjectName = null;
+ throw new JSONRpcClient.Exception(0, "Can't create XMLHttpRequest object");
+};
+