Index: contrib/jruby/test/b
===================================================================
Index: contrib/jruby/test/test.rb
===================================================================
--- contrib/jruby/test/test.rb (revision 0)
+++ contrib/jruby/test/test.rb (revision 0)
@@ -0,0 +1,8 @@
+#!/bin/env jruby
+
+require 'test/unit'
+require 'testJRuby'
+require 'testIndex'
+require 'testDoc'
+require 'testSearch'
+require 'testReuters'
Property changes on: contrib/jruby/test/test.rb
___________________________________________________________________
Name: svn:executable
+ *
Index: contrib/jruby/test/r.rb
===================================================================
--- contrib/jruby/test/r.rb (revision 0)
+++ contrib/jruby/test/r.rb (revision 0)
@@ -0,0 +1,2 @@
+#!/bin/env ruby
+puts :a => "b", :c => "d", :c => "f"
Property changes on: contrib/jruby/test/r.rb
___________________________________________________________________
Name: svn:executable
+ *
Index: contrib/jruby/test/org
===================================================================
--- contrib/jruby/test/org (revision 0)
+++ contrib/jruby/test/org (revision 0)
@@ -0,0 +1 @@
+link ../../../build/classes/java/org
\ No newline at end of file
Property changes on: contrib/jruby/test/org
___________________________________________________________________
Name: svn:special
+ *
Index: contrib/jruby/test/testDoc.rb
===================================================================
--- contrib/jruby/test/testDoc.rb (revision 0)
+++ contrib/jruby/test/testDoc.rb (revision 0)
@@ -0,0 +1,47 @@
+#!/bin/env jruby
+
+require 'test/unit'
+
+require 'fileutils'
+
+require 'lucene'
+
+class DocTest < Test::Unit::TestCase
+
+ def setup
+ FileUtils.rm_rf( "index" )
+ @index = Index.create( "index" )
+ end
+
+ def teardown
+ @index.close
+ FileUtils.rm_rf( "index" )
+ end
+
+ def test_add_list
+ @index << [ :contents, "the quick brown fox jumped over the lazy dog" ]
+ end
+
+ def test_add_lists
+
+ @index << [ :contents, "the quick brown fox jumped over the lazy dog" ] \
+ << [ :contents, "Alas poor Yorick,", \
+ :contents, "I knew him Horatio" ] \
+ << [ :contents, [ "To be,", "or not ", "to be" ] ]
+
+ end
+
+ def test_commit
+
+ @index << [ :contents, "the quick brown fox jumped over the lazy dog" ] \
+ << [ :contents, "Alas poor Yorick,", \
+ :contents, "I knew him Horatio" ] \
+ << [ :contents, [ "To be,", "or not ", "to be" ] ]
+
+ @index.commit
+
+ assert( @index.length == 3 )
+
+ end
+
+end
Property changes on: contrib/jruby/test/testDoc.rb
___________________________________________________________________
Name: svn:executable
+ *
Index: contrib/jruby/test/testSearch.rb
===================================================================
--- contrib/jruby/test/testSearch.rb (revision 0)
+++ contrib/jruby/test/testSearch.rb (revision 0)
@@ -0,0 +1,31 @@
+#!/bin/env jruby
+
+require 'test/unit'
+require 'fileutils'
+require 'lucene'
+
+class SearchTest < Test::Unit::TestCase
+
+ def setup
+ FileUtils.rm_rf( "index" )
+ @index = Index.create( "index" )
+ @index << [ :contents, "the quick brown fox jumped over the lazy dog" ] \
+ << [ :contents, "Alas poor Yorick,", \
+ :contents, "I knew him Horatio" ] \
+ << [ :contents, [ "Good night,", "good night!", "Parting is such sweet sorrow" ] ] \
+ << [ :contents, "Good night, good night! Parting is such sweet sorrow" ] \
+ << commit
+ end
+
+ def teardown
+ @index.close
+ FileUtils.rm_rf( "index" )
+ end
+
+ def test_search
+ yorick = @index[ "yorick" ]
+ assert( yorick.length == 1 )
+ assert( @index[ '"night parting"' ].length == 2 )
+ end
+
+end
Property changes on: contrib/jruby/test/testSearch.rb
___________________________________________________________________
Name: svn:executable
+ *
Index: contrib/jruby/test/test.sh
===================================================================
--- contrib/jruby/test/test.sh (revision 0)
+++ contrib/jruby/test/test.sh (revision 0)
@@ -0,0 +1,3 @@
+./testJRuby.rb
+./testIndex.rb
+./testDoc.rb
\ No newline at end of file
Property changes on: contrib/jruby/test/test.sh
___________________________________________________________________
Name: svn:executable
+ *
Index: contrib/jruby/test/testIndex.rb
===================================================================
--- contrib/jruby/test/testIndex.rb (revision 0)
+++ contrib/jruby/test/testIndex.rb (revision 0)
@@ -0,0 +1,59 @@
+#!/bin/env jruby
+
+require 'test/unit'
+
+require 'fileutils'
+
+require 'lucene'
+
+class IndexTest < Test::Unit::TestCase
+
+ def setup
+ FileUtils.rm_rf( "index" )
+ end
+
+ def teardown
+ FileUtils.rm_rf( "index" )
+ end
+
+ def test_create
+
+ assert( !File.exist?( "index" ) )
+
+ assert_raise NoMethodError do
+ Index.new( "index" )
+ end
+
+ assert_raise NativeException do
+ Index.open( "index" )
+ end
+
+ index = Index.create( "index" )
+
+ assert( File.exist?( "index" ) )
+
+ index.close
+
+ index = Index.open( "index" )
+
+ index.close
+
+ end
+
+ def test_block_create
+
+ result = Index.create( "index" ) do |index|
+ puts index
+ 54321
+ end
+ assert_equal( result, 54321 )
+
+ result = Index.open( "index" ) do |index|
+ puts index
+ 12345
+ end
+ assert_equal( result, 12345 )
+
+ end
+
+end
Property changes on: contrib/jruby/test/testIndex.rb
___________________________________________________________________
Name: svn:executable
+ *
Index: contrib/jruby/test/testReuters.rb
===================================================================
--- contrib/jruby/test/testReuters.rb (revision 0)
+++ contrib/jruby/test/testReuters.rb (revision 0)
@@ -0,0 +1,35 @@
+#!/bin/env jruby
+
+require 'test/unit'
+require 'fileutils'
+require 'lucene'
+require 'reuters'
+
+class ReutersTest < Test::Unit::TestCase
+
+ def setup
+ FileUtils.rm_rf( "index" )
+ @index = Index.create( "index" )
+ end
+
+ def teardown
+ @index.close
+ FileUtils.rm_rf( "index" )
+ end
+
+ def test_ingest
+
+ Reuters::DataSet.new( "../../../../../data/reuters/" ) do |reuters|
+
+ assert( true || reuters.length == 1 )
+ reuters.each do |doc|
+ @index << doc
+ end
+ @index << commit
+ assert( true || @index["fred"] == 10 )
+
+ end
+
+ end
+
+end
Property changes on: contrib/jruby/test/testReuters.rb
___________________________________________________________________
Name: svn:executable
+ *
Index: contrib/jruby/test/reuters.rb
===================================================================
--- contrib/jruby/test/reuters.rb (revision 0)
+++ contrib/jruby/test/reuters.rb (revision 0)
@@ -0,0 +1,55 @@
+require 'lucene'
+
+module Reuters
+
+ class Document
+ end
+
+ class Documents
+
+ def initialize( dataset )
+ end
+
+ def length
+ # @directory.length
+ end
+
+ def close
+ end
+
+ end
+
+ class DataSet
+
+ include Enumerable
+
+ def initialize( path, args = {} )
+ @path = path
+ @args = args
+ @documents = Documents.new( self )
+
+ result = self
+
+ if block_given?
+ result = self.each { |doc| yield doc }
+ close
+ end
+
+ result
+
+ end
+
+ def length
+ @documents.length
+ end
+
+ def each
+ end
+
+ def close
+ @documents.close
+ end
+
+ end
+
+end
Index: contrib/jruby/test/testJRuby.rb
===================================================================
--- contrib/jruby/test/testJRuby.rb (revision 0)
+++ contrib/jruby/test/testJRuby.rb (revision 0)
@@ -0,0 +1,11 @@
+#!/bin/env jruby
+
+require 'test/unit'
+
+class UnitTestTest < Test::Unit::TestCase
+
+ def test_success
+ assert( true, 'assert true' )
+ end
+
+end
Property changes on: contrib/jruby/test/testJRuby.rb
___________________________________________________________________
Name: svn:executable
+ *
Index: contrib/jruby/TODO.txt
===================================================================
--- contrib/jruby/TODO.txt (revision 0)
+++ contrib/jruby/TODO.txt (revision 0)
@@ -0,0 +1,3 @@
+Too much to enumerate at this point. Hopefully that will change with time.
+
+That said, it would be good to get this packaged as a WAR for a standard java web container.
\ No newline at end of file
Index: contrib/jruby/lib/lucene/document.rb
===================================================================
--- contrib/jruby/lib/lucene/document.rb (revision 0)
+++ contrib/jruby/lib/lucene/document.rb (revision 0)
@@ -0,0 +1,89 @@
+module Lucene
+
+ require 'java'
+
+ JDocument = org.apache.lucene.document.Document
+ JField = org.apache.lucene.document.Field
+
+ class JField
+
+ def flags
+ str = ""
+ ( not is_indexed ) && str += "i"
+ is_compressed && str += "C"
+ is_lazy && str += "L"
+ ( not is_tokenized ) && str += "t"
+ get_omit_norms && str += "O"
+ str
+ end
+
+ def value
+ string_value
+ end
+
+ end
+
+ class Document
+
+ attr_accessor :id
+ attr_accessor :score
+
+ class Fields
+
+ def hash
+ @hash = {}
+
+ @jdoc.get_fields.each do |field|
+ @hash[ field.name ] = field
+ end
+ end
+
+ def initialize jdoc
+ @jdoc = jdoc
+ hash
+ end
+
+ def [] key
+ @hash[ key ]
+ @jdoc.get_fields( key )
+ end
+
+ def each
+ @jdoc.get_fields.each { |f| yield f }
+ end
+
+ end
+
+ def construct list, java
+ @java = java || JDocument.new
+ if list
+ pair_up list do |k,v|
+ doc.add( JField.new( k.to_s, StringReader.new( v ) ) )
+ end
+ end
+ self
+ end
+
+ def self.from_java( java )
+ doc = new
+ doc.construct nil, java
+ end
+
+ def initialize( list = nil )
+ construct list, nil
+ end
+
+ def self.pair_up list
+ ( 0...list.length-1 ).step(2) do |i|
+ k,vs = list[i,2]
+ vs.to_a.each { |v| yield [k, v] }
+ end
+ end
+
+ def fields
+ Fields.new( @java )
+ end
+
+ end
+
+end
Index: contrib/jruby/lib/lucene/reader.rb
===================================================================
--- contrib/jruby/lib/lucene/reader.rb (revision 0)
+++ contrib/jruby/lib/lucene/reader.rb (revision 0)
@@ -0,0 +1,209 @@
+module Lucene
+
+ require 'java'
+
+ JString = java.lang.String
+
+ IndexReader = org.apache.lucene.index.IndexReader
+
+ TermEnumUtils = org.apache.lucene.index.TermEnumUtils
+
+ require 'lucene/document'
+
+ class Terms
+
+ class TermArray
+
+ def initialize( java )
+ @java = java
+ end
+
+ def [] ( index, length = nil )
+ if length == nil
+ @java[ index ]
+ else
+ result = []
+ (index..index+length-1).each do |i|
+ break if i >= @java.length
+ result << @java[i]
+ end
+ result
+ end
+ end
+
+ def each
+ index = 0;
+ while index < @java.length
+ yield @java[index]
+ index += 1
+ end
+ end
+
+ end
+
+ include Enumerable
+
+ def each
+ begin
+ begin
+ yield @java.term
+ rescue
+ end
+ end while @java.next
+ end
+
+ def initialize( java )
+ @java = java
+ end
+
+ def close
+ @java.close
+ end
+
+ def sort_by order
+ x = Java::JavaClass.for_name("java.lang.String").new_array( order.length )
+ order.each_with_index { |s,i| x[i] = JString.new(s).java_object }
+ TermArray.new( TermEnumUtils::sort_by( @java, x ) )
+ end
+
+ def xby_doc_freq
+ TermArray.new( TermEnumUtils::by_doc_freq( @java ) )
+ end
+
+ def [] *options
+ TermArray.new( TermEnumUtils::by_doc_freq( @java ) )[ *options ]
+ end
+
+ def length
+ TermEnumUtils::length( @java )
+ end
+
+ end
+
+ class Documents
+
+ def initialize( hits, first = 0, length = -1 )
+ @hits = hits
+ @first = first
+ @length = length
+ end
+
+ def length
+ @hits.length
+ end
+
+ def sort_by *args
+ self
+ end
+
+ def [] *args
+ self.class.new( @hits, args[0], args[1] )
+ end
+
+ def each
+
+ ( @first .. @first + @length - 1 ).each do |i|
+ break if i >= @hits.length
+ # JRuby/Rails reload bug requires the extra scoping on Document
+ doc = Lucene::Document.from_java( @hits.doc(i) )
+ doc.id = @hits.id(i)
+ doc.score = @hits.score(i)
+ yield( doc )
+ end
+ end
+
+ end
+
+ class Reader
+
+ include Enumerable
+
+ attr_reader :java
+
+ class Fields
+
+ include Enumerable
+
+ def initialize
+ @hash = {}
+ end
+
+ def << field
+ @hash[field.name] = field
+ end
+
+ def each
+ @hash.values.each do |field|
+ yield field
+ end
+ end
+
+ def length
+ @hash.keys.length
+ end
+
+ def [] key
+ @hash[ key ]
+ end
+
+ end
+
+ class Field
+
+ attr_reader :name, :has_norms
+
+ def initialize( name, nas_norms )
+ @name = name
+ @has_norms = has_norms
+ end
+
+ end
+
+ def initialize( filename, args = {} )
+ @filename = filename
+ @java = IndexReader.open( filename )
+ end
+
+ def close
+ @java.close
+ end
+
+ def length
+ @java.numDocs
+ end
+
+ def fields
+ fields = Fields.new
+ @java.getFieldNames( IndexReader::FieldOption::ALL ).each do |name|
+ fields << Field.new( name, @java.has_norms( name ) )
+ end
+ fields
+ end
+
+ def terms
+ Terms.new( @java.terms )
+ end
+
+ def documents
+ Documents.new( @java )
+ end
+
+ def has_deletions?
+ @java.hasDeletions
+ end
+
+ def version
+ @java.getVersion
+ end
+
+ def last_modified
+ Time.at( IndexReader.lastModified( @filename )/1000 )
+ end
+
+ def [] index
+ Document.from_java( @java.document( index ) )
+ end
+
+ end
+
+end
Index: contrib/jruby/lib/lucene/analyzer/standard.rb
===================================================================
--- contrib/jruby/lib/lucene/analyzer/standard.rb (revision 0)
+++ contrib/jruby/lib/lucene/analyzer/standard.rb (revision 0)
@@ -0,0 +1,9 @@
+module Lucene
+ module Analyzer
+
+ require 'java'
+
+ Standard = org.apache.lucene.analysis.standard.StandardAnalyzer
+
+ end
+end
Index: contrib/jruby/lib/lucene/index.rb
===================================================================
--- contrib/jruby/lib/lucene/index.rb (revision 0)
+++ contrib/jruby/lib/lucene/index.rb (revision 0)
@@ -0,0 +1,170 @@
+module Lucene
+
+ require 'lucene/reader'
+ require 'lucene/writer'
+ require 'lucene/searcher'
+ require 'lucene/parser'
+ require 'lucene/analyzer/standard'
+
+ class Index
+
+ attr_reader :filename
+ alias_method :path, :filename
+
+ def self.create( filename, args = {} )
+ args = args.clone
+ args[ :filename ] = filename
+ create = args.clone
+ create[ :create ] = true
+ args[ :writer ] = Writer.new( filename, create )
+ index = result = new( args )
+ if block_given?
+ result = yield( index )
+ index.close
+ end
+ result
+ end
+
+ def self.open( filename, args = {} )
+ args = args.clone
+ args[ :filename ] = filename
+ args[ :reader ] = Reader.new( filename, args )
+ index = result = new( args )
+ if block_given?
+ result = yield( index )
+ index.close
+ end
+ result
+ end
+
+ def close
+ @reader and @reader.close
+ @writer and @writer.close
+ @searcher and @searcher.close
+ end
+
+ def << ( arg )
+ if arg == :commit
+ commit
+ else
+ writer << arg
+ end
+ self
+ end
+
+ def [] ( arg )
+ begin
+ i = arg.to_int
+ rescue
+ end
+ if i
+ reader[ i ]
+ else
+ searcher[ parser[ arg ] ]
+ end
+ end
+
+ def commit
+ if @writer
+ @writer.close
+ @writer = nil
+ end
+ end
+
+ def length
+ reader.length
+ end
+
+ def terms
+ reader.terms
+ end
+
+ def documents
+ reader.documents
+ end
+
+ def fields
+ reader.fields
+ end
+
+ protected
+
+ def writer
+ @writer or @writer = Writer.new( @filename )
+ end
+
+ def reader
+ @reader or @reader = Reader.new( @filename )
+ end
+
+ def searcher
+ @searcher or @searcher = Searcher.new( reader )
+ end
+
+ def parser
+ @parser or @parser = Parser.new( :contents, analyzer )
+ end
+
+ def analyzer
+ @analyzer or @analyzer = @args[ :analyzer ] || Analyzer::Standard.new
+ end
+
+ def initialize( args )
+ @args = args
+ @filename = args[ :filename ]
+ @reader = args[ :reader ]
+ @writer = args[ :writer ]
+ end
+
+ protected
+
+ class Fields
+
+ include Enumerable
+
+ def initialize ( doc = nil )
+ @doc = doc
+ @hash = {}
+ end
+
+ def << field
+ @hash[field.name] = field
+ end
+
+ def each
+ if @doc
+ @doc.java.getFields.each do |field|
+ yield field
+ end
+ end
+ @hash.values.each do |field|
+ yield field
+ end
+ end
+
+ def length
+ @hash.keys.length
+ end
+
+ def [] key
+ raise "hell"
+ end
+
+ end
+
+ class Field
+
+ attr_reader :name, :has_norms
+
+ def initialize( name, nas_norms )
+ @name = name
+ @has_norms = has_norms
+ end
+
+ end
+
+ private_class_method :new
+
+ end
+
+end
Index: contrib/jruby/lib/lucene/writer.rb
===================================================================
--- contrib/jruby/lib/lucene/writer.rb (revision 0)
+++ contrib/jruby/lib/lucene/writer.rb (revision 0)
@@ -0,0 +1,30 @@
+module Lucene
+
+ require 'java'
+
+ class Writer
+
+ def initialize( filename, args = {} )
+ analyzer = args[ :analyzer ] || StandardAnalyzer.new
+ create = args[ :create ] || false
+ @java = IndexWriter.new( filename, analyzer, create )
+ end
+
+ def << ( arg )
+
+ if !(Document === arg)
+ arg = Document.new( arg )
+ end
+
+ @java.addDocument( arg.to_java )
+
+ self
+ end
+
+ def close
+ @java.close
+ end
+
+ end
+
+end
Index: contrib/jruby/lib/lucene/parser.rb
===================================================================
--- contrib/jruby/lib/lucene/parser.rb (revision 0)
+++ contrib/jruby/lib/lucene/parser.rb (revision 0)
@@ -0,0 +1,19 @@
+module Lucene
+
+ require 'java'
+
+ QueryParser = org.apache.lucene.queryParser.QueryParser
+
+ class Parser
+
+ def initialize( field, analyzer )
+ @java = QueryParser.new( field.to_s, analyzer )
+ end
+
+ def [] ( query )
+ @java.parse( query )
+ end
+
+ end
+
+end
Index: contrib/jruby/lib/lucene/searcher.rb
===================================================================
--- contrib/jruby/lib/lucene/searcher.rb (revision 0)
+++ contrib/jruby/lib/lucene/searcher.rb (revision 0)
@@ -0,0 +1,23 @@
+module Lucene
+
+ require 'java'
+
+ IndexSearcher = org.apache.lucene.search.IndexSearcher
+
+ class Searcher
+
+ def initialize( reader, args = {} )
+ @java = IndexSearcher.new( reader.java )
+ end
+
+ def close
+ @java.close
+ end
+
+ def [] ( query )
+ Documents.new( @java.search( query ) )
+ end
+
+ end
+
+end
Index: contrib/jruby/lib/lucene.rb
===================================================================
--- contrib/jruby/lib/lucene.rb (revision 0)
+++ contrib/jruby/lib/lucene.rb (revision 0)
@@ -0,0 +1,21 @@
+# fixed in trunk, I believe ...
+
+class Hash
+
+ def merge! options
+
+ options.each do |k,v|
+ self[ k ] = ( block_given? && has_key?( k ) ) ? yield( k, self[ k ], v ) : v
+ end
+
+ self
+
+ end
+
+end
+
+module Lucene
+
+ require 'lucene/index'
+
+end
Index: contrib/jruby/src/java/org/apache/lucene/index/TermEnumUtils.java
===================================================================
--- contrib/jruby/src/java/org/apache/lucene/index/TermEnumUtils.java (revision 0)
+++ contrib/jruby/src/java/org/apache/lucene/index/TermEnumUtils.java (revision 0)
@@ -0,0 +1,122 @@
+package org.apache.lucene.index;
+
+import java.util.Comparator;
+import java.util.Collections;
+import java.util.Vector;
+
+public abstract class TermEnumUtils {
+
+ public static int length( TermEnum enumeration )
+ throws java.io.IOException {
+
+ int count = 0;
+
+ while ( enumeration.next() ) {
+ count++;
+ }
+
+ return count;
+ }
+
+ static class Term {
+
+ private int _freq;
+ private String _field;
+ private String _text;
+
+ public Term( org.apache.lucene.index.Term term, int freq ) {
+ _field = term.field();
+ _text =term.text();
+ _freq = freq;
+ }
+
+ public String text() {
+ return _text;
+ }
+
+ public String field() {
+ return _field;
+ }
+
+ public int doc_freq() {
+ return _freq;
+ }
+
+ };
+
+ public static Term[] xby_doc_freq( TermEnum enumeration )
+ throws java.io.IOException {
+
+ Vector terms = new Vector();
+
+ while ( enumeration.next() ) {
+ terms.add( new Term( enumeration.term(), enumeration.docFreq() ) );
+ }
+
+ Collections.sort( terms, new CompareDocFreqs( new String[ 10 ] ) );
+
+ return (Term[])terms.toArray( new Term[0] );
+ }
+
+ public static Term[] sort_by( TermEnum enumeration, String[] order )
+ throws java.io.IOException {
+
+ Vector terms = new Vector();
+
+ while ( enumeration.next() ) {
+ terms.add( new Term( enumeration.term(), enumeration.docFreq() ) );
+ }
+
+ Collections.sort( terms, new CompareDocFreqs( order ) );
+
+ return (Term[])terms.toArray( new Term[0] );
+ }
+
+ private static class CompareDocFreqs implements Comparator {
+
+ private String[] order;
+
+ public CompareDocFreqs( String[] order ) {
+ this.order = order;
+ }
+
+ public int compare( Object a, Object b ) {
+
+ Term ta = (Term)a;
+ Term tb = (Term)b;
+ int i;
+
+ for( i = 0; i < order.length; i++ ) {
+
+
+ int polarity = 1;
+
+ String s = order[i];
+ if ( s.charAt( 0 ) == '-' ) {
+ s = s.substring(1);
+ polarity = -1;
+ }
+
+ if ( s.equals( "Field" ) ) {
+ int c = ta.field().compareTo( tb.field() );
+ if ( c != 0 ) {
+ return polarity * c;
+ }
+ } else if ( s.equals( "Text" ) ) {
+ int c = ta.text().compareTo( tb.text() );
+ if ( c != 0 ) {
+ return polarity * c;
+ }
+ } else if ( s.equals( "Frequency" ) ) {
+ int c = ta.doc_freq() - tb.doc_freq();
+ if ( c != 0 ) {
+ return polarity * c;
+ }
+ }
+ }
+ return 0;
+ }
+
+ }
+
+};
Index: contrib/jruby/rune/test/unit/document_test.rb
===================================================================
--- contrib/jruby/rune/test/unit/document_test.rb (revision 0)
+++ contrib/jruby/rune/test/unit/document_test.rb (revision 0)
@@ -0,0 +1,10 @@
+require File.dirname(__FILE__) + '/../test_helper'
+
+class DocumentTest < Test::Unit::TestCase
+ fixtures :documents
+
+ # Replace this with your real tests.
+ def test_truth
+ assert true
+ end
+end
Index: contrib/jruby/rune/test/unit/index_test.rb
===================================================================
--- contrib/jruby/rune/test/unit/index_test.rb (revision 0)
+++ contrib/jruby/rune/test/unit/index_test.rb (revision 0)
@@ -0,0 +1,10 @@
+require File.dirname(__FILE__) + '/../test_helper'
+
+class IndexTest < Test::Unit::TestCase
+ fixtures :indices
+
+ # Replace this with your real tests.
+ def test_truth
+ assert true
+ end
+end
Index: contrib/jruby/rune/test/test_helper.rb
===================================================================
--- contrib/jruby/rune/test/test_helper.rb (revision 0)
+++ contrib/jruby/rune/test/test_helper.rb (revision 0)
@@ -0,0 +1,28 @@
+ENV["RAILS_ENV"] = "test"
+require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
+require 'test_help'
+
+class Test::Unit::TestCase
+ # Transactional fixtures accelerate your tests by wrapping each test method
+ # in a transaction that's rolled back on completion. This ensures that the
+ # test database remains unchanged so your fixtures don't have to be reloaded
+ # between every test method. Fewer database queries means faster tests.
+ #
+ # Read Mike Clark's excellent walkthrough at
+ # http://clarkware.com/cgi/blosxom/2005/10/24#Rails10FastTesting
+ #
+ # Every Active Record database supports transactions except MyISAM tables
+ # in MySQL. Turn off transactional fixtures in this case; however, if you
+ # don't care one way or the other, switching from MyISAM to InnoDB tables
+ # is recommended.
+ self.use_transactional_fixtures = true
+
+ # Instantiated fixtures are slow, but give you @david where otherwise you
+ # would need people(:david). If you don't want to migrate your existing
+ # test cases which use the @david style and don't mind the speed hit (each
+ # instantiated fixtures translates to a database query per test method),
+ # then set this back to true.
+ self.use_instantiated_fixtures = false
+
+ # Add more helper methods to be used by all tests here...
+end
Index: contrib/jruby/rune/test/functional/document_controller_test.rb
===================================================================
--- contrib/jruby/rune/test/functional/document_controller_test.rb (revision 0)
+++ contrib/jruby/rune/test/functional/document_controller_test.rb (revision 0)
@@ -0,0 +1,18 @@
+require File.dirname(__FILE__) + '/../test_helper'
+require 'document_controller'
+
+# Re-raise errors caught by the controller.
+class DocumentController; def rescue_action(e) raise e end; end
+
+class DocumentControllerTest < Test::Unit::TestCase
+ def setup
+ @controller = DocumentController.new
+ @request = ActionController::TestRequest.new
+ @response = ActionController::TestResponse.new
+ end
+
+ # Replace this with your real tests.
+ def test_truth
+ assert true
+ end
+end
Index: contrib/jruby/rune/test/functional/query_controller_test.rb
===================================================================
--- contrib/jruby/rune/test/functional/query_controller_test.rb (revision 0)
+++ contrib/jruby/rune/test/functional/query_controller_test.rb (revision 0)
@@ -0,0 +1,18 @@
+require File.dirname(__FILE__) + '/../test_helper'
+require 'query_controller'
+
+# Re-raise errors caught by the controller.
+class QueryController; def rescue_action(e) raise e end; end
+
+class QueryControllerTest < Test::Unit::TestCase
+ def setup
+ @controller = QueryController.new
+ @request = ActionController::TestRequest.new
+ @response = ActionController::TestResponse.new
+ end
+
+ # Replace this with your real tests.
+ def test_truth
+ assert true
+ end
+end
Index: contrib/jruby/rune/test/functional/index_controller_test.rb
===================================================================
--- contrib/jruby/rune/test/functional/index_controller_test.rb (revision 0)
+++ contrib/jruby/rune/test/functional/index_controller_test.rb (revision 0)
@@ -0,0 +1,18 @@
+require File.dirname(__FILE__) + '/../test_helper'
+require 'index_controller'
+
+# Re-raise errors caught by the controller.
+class IndexController; def rescue_action(e) raise e end; end
+
+class IndexControllerTest < Test::Unit::TestCase
+ def setup
+ @controller = IndexController.new
+ @request = ActionController::TestRequest.new
+ @response = ActionController::TestResponse.new
+ end
+
+ # Replace this with your real tests.
+ def test_truth
+ assert true
+ end
+end
Index: contrib/jruby/rune/test/functional/terms_controller_test.rb
===================================================================
--- contrib/jruby/rune/test/functional/terms_controller_test.rb (revision 0)
+++ contrib/jruby/rune/test/functional/terms_controller_test.rb (revision 0)
@@ -0,0 +1,18 @@
+require File.dirname(__FILE__) + '/../test_helper'
+require 'terms_controller'
+
+# Re-raise errors caught by the controller.
+class TermsController; def rescue_action(e) raise e end; end
+
+class TermsControllerTest < Test::Unit::TestCase
+ def setup
+ @controller = TermsController.new
+ @request = ActionController::TestRequest.new
+ @response = ActionController::TestResponse.new
+ end
+
+ # Replace this with your real tests.
+ def test_truth
+ assert true
+ end
+end
Index: contrib/jruby/rune/test/fixtures/documents.yml
===================================================================
--- contrib/jruby/rune/test/fixtures/documents.yml (revision 0)
+++ contrib/jruby/rune/test/fixtures/documents.yml (revision 0)
@@ -0,0 +1,5 @@
+# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
+one:
+ id: 1
+two:
+ id: 2
Index: contrib/jruby/rune/app/helpers/document_helper.rb
===================================================================
--- contrib/jruby/rune/app/helpers/document_helper.rb (revision 0)
+++ contrib/jruby/rune/app/helpers/document_helper.rb (revision 0)
@@ -0,0 +1,2 @@
+module DocumentHelper
+end
Index: contrib/jruby/rune/app/helpers/application_helper.rb
===================================================================
--- contrib/jruby/rune/app/helpers/application_helper.rb (revision 0)
+++ contrib/jruby/rune/app/helpers/application_helper.rb (revision 0)
@@ -0,0 +1,3 @@
+# Methods added to this helper will be available to all templates in the application.
+module ApplicationHelper
+end
Index: contrib/jruby/rune/app/helpers/query_helper.rb
===================================================================
--- contrib/jruby/rune/app/helpers/query_helper.rb (revision 0)
+++ contrib/jruby/rune/app/helpers/query_helper.rb (revision 0)
@@ -0,0 +1,2 @@
+module QueryHelper
+end
Index: contrib/jruby/rune/app/helpers/index_helper.rb
===================================================================
--- contrib/jruby/rune/app/helpers/index_helper.rb (revision 0)
+++ contrib/jruby/rune/app/helpers/index_helper.rb (revision 0)
@@ -0,0 +1,2 @@
+module IndexHelper
+end
Index: contrib/jruby/rune/app/helpers/terms_helper.rb
===================================================================
--- contrib/jruby/rune/app/helpers/terms_helper.rb (revision 0)
+++ contrib/jruby/rune/app/helpers/terms_helper.rb (revision 0)
@@ -0,0 +1,2 @@
+module TermsHelper
+end
Index: contrib/jruby/rune/app/models/document.rb
===================================================================
--- contrib/jruby/rune/app/models/document.rb (revision 0)
+++ contrib/jruby/rune/app/models/document.rb (revision 0)
@@ -0,0 +1,15 @@
+require 'lucene'
+
+class Document < Lucene::Documents
+
+ def self.count options
+ Index.index[ options[:conditions] ].length
+ end
+
+ def self.find *options
+ raise options[0] + " not implemented" unless options[0] == :all
+ options = options[1]
+ Index.index[ options[:conditions] ][ options[:offset], options[:limit] ]
+ end
+
+end
Index: contrib/jruby/rune/app/models/term.rb
===================================================================
--- contrib/jruby/rune/app/models/term.rb (revision 0)
+++ contrib/jruby/rune/app/models/term.rb (revision 0)
@@ -0,0 +1,15 @@
+require 'lucene'
+
+class Term < Lucene::Terms
+
+ def self.count options
+ Index.index.terms.length
+ end
+
+ def self.find *options
+ raise options[0] + " not implemented" unless options[0] == :all
+ options = options[1]
+ Index.index.terms.sort_by( options[:order] )[ options[:offset], options[:limit] ]
+ end
+
+end
Index: contrib/jruby/rune/app/models/index.rb
===================================================================
--- contrib/jruby/rune/app/models/index.rb (revision 0)
+++ contrib/jruby/rune/app/models/index.rb (revision 0)
@@ -0,0 +1,39 @@
+require 'lucene'
+
+class Index < Lucene::Index
+
+ class << self
+
+ attr_accessor :index
+
+ # until Hash#merge! fixed
+
+ attr_accessor :order
+
+ end
+
+ def length
+ reader.length
+ end
+
+ def terms
+ reader.terms
+ end
+
+ def fields
+ reader.fields
+ end
+
+ def has_deletions?
+ reader.has_deletions?
+ end
+
+ def version
+ reader.version
+ end
+
+ def last_modified
+ reader.last_modified
+ end
+
+end
Index: contrib/jruby/rune/app/controllers/terms_controller.rb
===================================================================
--- contrib/jruby/rune/app/controllers/terms_controller.rb (revision 0)
+++ contrib/jruby/rune/app/controllers/terms_controller.rb (revision 0)
@@ -0,0 +1,63 @@
+class TermsController < ApplicationController
+
+ def index
+
+ @path = session[:path]
+
+ @index = find( @path )
+
+ if !@index
+ redirect_to :controller => "index"
+ end
+
+ if ( page = request.parameters[:page] )
+ session[:page] = page
+ else
+ if session[:page]
+ request.parameters[:page] = session[:page]
+ end
+ end
+
+ @order = session[:order] || ( session[:order] = [] )
+
+ if ( @sort = request.parameters[:sort_by] )
+
+ polarity = @order.grep( /(-?)#{@sort}/ )
+
+ unless polarity.empty?
+ @order.delete polarity[0]
+ unless polarity[0][0] == ?-
+ @sort = "-#{@sort}"
+ end
+ end
+
+ @order.unshift @sort
+
+ redirect_to
+
+ end
+
+ @order.unshift "-Frequency" if @order.empty?
+
+ @term_pages, @terms = paginate( :terms, :order => @order \
+ , :per_page => 25
+ )
+
+ end
+
+ def find( filename )
+ if filename
+ begin
+ @index = Index.open( filename )
+ rescue Exception => e
+ flash[:notice] = "No index at " + filename + ": " + e
+ if false
+ flash[:notice] += " " + e.backtrace * " "
+ end
+ nil
+ end
+ Index.index = @index
+ end
+ end
+
+end
Index: contrib/jruby/rune/app/controllers/document_controller.rb
===================================================================
--- contrib/jruby/rune/app/controllers/document_controller.rb (revision 0)
+++ contrib/jruby/rune/app/controllers/document_controller.rb (revision 0)
@@ -0,0 +1,33 @@
+class DocumentController < ApplicationController
+
+ def index
+ @path = session[:path]
+ @index = find( @path )
+
+ @id = request.parameters[:id] ? request.parameters[:id].to_i : session[:id]
+ session[:id] = @id
+
+ if !@index
+ redirect_to :controller => "index"
+ end
+
+ @document = Index.index[@id] unless @id == nil
+
+ end
+
+ def find( filename )
+ if filename
+ begin
+ @index = Index.open( filename )
+ rescue Exception => e
+ flash[:notice] = "No index at " + filename + ": " + e
+ if false
+ flash[:notice] += " " + e.backtrace * " "
+ end
+ nil
+ end
+ Index.index = @index
+ end
+ end
+
+end
Index: contrib/jruby/rune/app/controllers/application.rb
===================================================================
--- contrib/jruby/rune/app/controllers/application.rb (revision 0)
+++ contrib/jruby/rune/app/controllers/application.rb (revision 0)
@@ -0,0 +1,7 @@
+# Filters added to this controller apply to all controllers in the application.
+# Likewise, all the methods added will be available for all controllers.
+
+class ApplicationController < ActionController::Base
+ # Pick a unique cookie name to distinguish our session data from others'
+ session :session_key => '_rune_session_id'
+end
Index: contrib/jruby/rune/app/controllers/query_controller.rb
===================================================================
--- contrib/jruby/rune/app/controllers/query_controller.rb (revision 0)
+++ contrib/jruby/rune/app/controllers/query_controller.rb (revision 0)
@@ -0,0 +1,74 @@
+class QueryController < ApplicationController
+
+ def index
+
+ @path = session[:path]
+ @index = find( @path )
+
+ if !@index
+ redirect_to :controller => "index"
+ end
+
+ if ( qpage = request.parameters[:page] )
+ session[:qpage] = qpage
+ else
+ if session[:qpage]
+ request.parameters[:page] = session[:qpage]
+ end
+ end
+
+ @order = session[:order] || ( session[:order] = [] )
+
+ if ( @sort = request.parameters[:sort_by] )
+
+ polarity = @order.grep( /(-?)#{@sort}/ )
+
+ unless polarity.empty?
+ @order.delete polarity[0]
+ unless polarity[0][0] == ?-
+ @sort = "-#{@sort}"
+ end
+ end
+
+ @order.unshift @sort
+
+ redirect_to
+
+ end
+
+ @order.unshift "-Frequency" if @order.empty?
+
+ if ( @query = request.parameters[:query] )
+ session[:query] = @query
+ else
+ if session[:query]
+ @query = request.parameters[:query] = session[:query]
+ end
+ end
+
+ if @query
+ @fields = @index.fields
+ @doc_pages, @docs = paginate( :documents, :order => @order \
+ , :per_page => 25 \
+ , :conditions => @query \
+ )
+ end
+
+ end
+
+ def find( filename )
+ if filename
+ begin
+ @index = Index.open( filename )
+ rescue Exception => e
+ flash[:notice] = "No index at " + filename + ": " + e
+ if false
+ flash[:notice] += " " + e.backtrace * " "
+ end
+ nil
+ end
+ Index.index = @index
+ end
+ end
+
+end
Index: contrib/jruby/rune/app/controllers/index_controller.rb
===================================================================
--- contrib/jruby/rune/app/controllers/index_controller.rb (revision 0)
+++ contrib/jruby/rune/app/controllers/index_controller.rb (revision 0)
@@ -0,0 +1,26 @@
+class IndexController < ApplicationController
+
+ def index
+ if request.post?
+ @path = session[:path] = params[:path]
+ else
+ @path = session[:path]
+ end
+ @index = find( @path )
+ end
+
+ def find( filename )
+ if filename
+ begin
+ @index = Index.open( filename )
+ rescue Exception => e
+ flash[:notice] = "No index at " + filename + ": " + e
+ if false
+ flash[:notice] += " " + e.backtrace * " "
+ end
+ nil
+ end
+ end
+ end
+
+end
Index: contrib/jruby/rune/app/views/layouts/application.rhtml
===================================================================
--- contrib/jruby/rune/app/views/layouts/application.rhtml (revision 0)
+++ contrib/jruby/rune/app/views/layouts/application.rhtml (revision 0)
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
Terms
+
+
+
+
+
+ <%= link_to "Document", { :sort_by => "Frequency" } %>
+
+
+ <% %w{ Field Text Frequency }.each do |column| %>
+ <%= link_to column, { :sort_by => column } %>
+ <% end %>
+
+ <% @terms.each do |term| %>
+
+ <%= term.field %>
+
+ <%= link_to term.text, :controller => :query,
+ :query => "#{term.field}:#{term.text}" %>
+
+ <%= term.doc_freq %>
+
+ <% end %>
+
+
+ <%= pagination_links @term_pages %>
+
+
+
+
+
+
\ No newline at end of file
Index: contrib/jruby/rune/app/views/_fields.rhtml
===================================================================
--- contrib/jruby/rune/app/views/_fields.rhtml (revision 0)
+++ contrib/jruby/rune/app/views/_fields.rhtml (revision 0)
@@ -0,0 +1,7 @@
+
+ <% @index.fields.each do |f| %>
+
<%= f.name %>
+
<%= f.has_norms && "(has norms)" %>
+ <% end %>
+
+
Index: contrib/jruby/rune/app/views/document/index.rhtml
===================================================================
--- contrib/jruby/rune/app/views/document/index.rhtml (revision 0)
+++ contrib/jruby/rune/app/views/document/index.rhtml (revision 0)
@@ -0,0 +1,35 @@
+<% form_tag :id => nil do %>
+
+
+
+
Document Id: <%= text_field_tag :id, @id, :size => 4 %>
+
+ <% if @id %>
+
+
Fields
+
+
+ Name
+ Flags
+ Value
+
+ <% x = nil %>
+ <% @document.fields.each do |field| %>
+
+
+ <% if not x == field.name %>
+ <%= field.name %>
+ <% x = field.name %>
+ <% end %>
+
+ <%= field.flags %>
+ <%= field.value %>
+
+ <% end %>
+
+
+ <% end %>
+
+
+
+<% end %>
\ No newline at end of file
Index: contrib/jruby/rune/tmp/sessions/ruby_sess.4b960861815c7360
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: contrib/jruby/rune/tmp/sessions/ruby_sess.4b960861815c7360
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Index: contrib/jruby/rune/tmp/sessions/ruby_sess.b7f03ef81abc11ce
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: contrib/jruby/rune/tmp/sessions/ruby_sess.b7f03ef81abc11ce
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Index: contrib/jruby/rune/tmp/sessions/ruby_sess.027ac1afc75f4854
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: contrib/jruby/rune/tmp/sessions/ruby_sess.027ac1afc75f4854
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Index: contrib/jruby/rune/tmp/sessions/ruby_sess.4efd430db4238f44
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: contrib/jruby/rune/tmp/sessions/ruby_sess.4efd430db4238f44
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Index: contrib/jruby/rune/tmp/sessions/ruby_sess.da213a9343fd032c
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: contrib/jruby/rune/tmp/sessions/ruby_sess.da213a9343fd032c
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Index: contrib/jruby/rune/luke/.plugins
===================================================================
--- contrib/jruby/rune/luke/.plugins (revision 0)
+++ contrib/jruby/rune/luke/.plugins (revision 0)
@@ -0,0 +1,3 @@
+org.getopt.luke.plugins.AnalyzerToolPlugin
+org.getopt.luke.plugins.ScriptingPlugin
+org.getopt.luke.plugins.SimilarityDesignerPlugin
Index: contrib/jruby/rune/luke/xml/qexplain.xml
===================================================================
--- contrib/jruby/rune/luke/xml/qexplain.xml (revision 0)
+++ contrib/jruby/rune/luke/xml/qexplain.xml (revision 0)
@@ -0,0 +1,6 @@
+
+
+
+
+
+
Index: contrib/jruby/rune/luke/xml/SampleScript.js
===================================================================
--- contrib/jruby/rune/luke/xml/SampleScript.js (revision 0)
+++ contrib/jruby/rune/luke/xml/SampleScript.js (revision 0)
@@ -0,0 +1,16 @@
+// This is a sample script to demonstrate scripting of Luke
+
+print("Available plugins:");
+plugins = app.plugins;
+for (var i = 0; i < plugins.size(); i++) {
+ print(" - " + plugins.get(i).pluginName);
+}
+print("Available analyzers:");
+for (var i = 0; i < app.analyzers.length; i++) {
+ print(" - " + app.analyzers[i]);
+}
+if (ir != null) {
+ print("Number of documents: " + ir.numDocs());
+ print("Field names: " + ir.fieldNames);
+}
+app.actionAbout();
Index: contrib/jruby/rune/luke/xml/scr-plugin.xml
===================================================================
--- contrib/jruby/rune/luke/xml/scr-plugin.xml (revision 0)
+++ contrib/jruby/rune/luke/xml/scr-plugin.xml (revision 0)
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: contrib/jruby/rune/luke/xml/lukeinit.xml
===================================================================
--- contrib/jruby/rune/luke/xml/lukeinit.xml (revision 0)
+++ contrib/jruby/rune/luke/xml/lukeinit.xml (revision 0)
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: contrib/jruby/rune/luke/xml/VerboseSimilarity.js
===================================================================
--- contrib/jruby/rune/luke/xml/VerboseSimilarity.js (revision 0)
+++ contrib/jruby/rune/luke/xml/VerboseSimilarity.js (revision 0)
@@ -0,0 +1,45 @@
+// This is an implementation of DefaultSimilarity
+// in JavaScript.
+//
+// For demonstration purposes each of the abstract methods implemented
+// here prints out its result using JavaScript print() function. The
+// actual output of print() depends on the compilation setings.
+
+//--- ABSTRACT METHODS ---
+// You HAVE TO implement these
+
+function coord(overlap, maxOverlap) {
+ var res = overlap / (1.0 * maxOverlap);
+ print("coord", res);
+ return res;
+}
+
+function idf(docFreq, numDocs) {
+ var res = (Math.log(numDocs/(docFreq+1)) + 1.0);
+ print("idf", res);
+ return res;
+}
+
+function lengthNorm(fieldName, numTerms) {
+ var res = (1.0 / Math.sqrt(numTerms));
+ print("lengthNorm", res);
+ return res;
+}
+
+function queryNorm(sumOfSquaredWeights) {
+ var res = (1.0 / Math.sqrt(sumOfSquaredWeights));
+ print("queryNorm", res);
+ return res;
+}
+
+function sloppyFreq(distance) {
+ var res = 1.0 / (distance + 1);
+ print("sloppyFreq", res);
+ return res;
+}
+
+function tf(freq) {
+ var res = Math.sqrt(freq);
+ print("tf", res);
+ return res;
+}
\ No newline at end of file
Index: contrib/jruby/rune/luke/xml/error.xml
===================================================================
--- contrib/jruby/rune/luke/xml/error.xml (revision 0)
+++ contrib/jruby/rune/luke/xml/error.xml (revision 0)
@@ -0,0 +1,6 @@
+
+
+
+
+
+
Index: contrib/jruby/rune/luke/xml/WikipediaSimilarity.js
===================================================================
--- contrib/jruby/rune/luke/xml/WikipediaSimilarity.js (revision 0)
+++ contrib/jruby/rune/luke/xml/WikipediaSimilarity.js (revision 0)
@@ -0,0 +1,42 @@
+// This is an implementation of WikipediaSimilarity
+// in JavaScript.
+// (See http://issues.apache.org/bugzilla/show_bug.cgi?id=32674)
+//
+
+//--- GLOBAL VARIABLES ---
+
+// lengthNorm uses logs to the base 10
+var LOG10 = Math.log(10.0);
+// Base of logarithm used to flatten tf's
+var tfLogBase = Math.log(10.0);
+// Base of logarithm used to flatten idf's
+var idfLogBase = Math.log(10.0);
+
+//--- ABSTRACT METHODS ---
+// You HAVE TO implement these
+
+function coord(overlap, maxOverlap) {
+ return overlap / (1.0 * maxOverlap);
+}
+
+function idf(docFreq, numDocs) {
+ return Math.sqrt(1.0 + Math.log(numDocs / (docFreq + 1.0)) / idfLogBase);
+}
+
+function lengthNorm(fieldName, numTerms) {
+ if (fieldName.equals("body"))
+ return 3.0 / (Math.log(1000 + numTerms) / LOG10);
+ return 1.0;
+}
+
+function queryNorm(sumOfSquaredWeights) {
+ return (1.0 / Math.sqrt(sumOfSquaredWeights));
+}
+
+function sloppyFreq(distance) {
+ return 1.0 / (distance + 1);
+}
+
+function tf(freq) {
+ return 1.0 + Math.log(freq) / tfLogBase;
+}
Index: contrib/jruby/rune/luke/xml/editfield.xml
===================================================================
--- contrib/jruby/rune/luke/xml/editfield.xml (revision 0)
+++ contrib/jruby/rune/luke/xml/editfield.xml (revision 0)
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: contrib/jruby/rune/luke/xml/luke.xml
===================================================================
--- contrib/jruby/rune/luke/xml/luke.xml (revision 0)
+++ contrib/jruby/rune/luke/xml/luke.xml (revision 0)
@@ -0,0 +1,272 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: contrib/jruby/rune/luke/xml/explain.xml
===================================================================
--- contrib/jruby/rune/luke/xml/explain.xml (revision 0)
+++ contrib/jruby/rune/luke/xml/explain.xml (revision 0)
@@ -0,0 +1,6 @@
+
+
+
+
+
+
Index: contrib/jruby/rune/luke/xml/at-plugin.xml
===================================================================
--- contrib/jruby/rune/luke/xml/at-plugin.xml (revision 0)
+++ contrib/jruby/rune/luke/xml/at-plugin.xml (revision 0)
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: contrib/jruby/rune/luke/xml/vector.xml
===================================================================
--- contrib/jruby/rune/luke/xml/vector.xml (revision 0)
+++ contrib/jruby/rune/luke/xml/vector.xml (revision 0)
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
Index: contrib/jruby/rune/luke/xml/sd-plugin.xml
===================================================================
--- contrib/jruby/rune/luke/xml/sd-plugin.xml (revision 0)
+++ contrib/jruby/rune/luke/xml/sd-plugin.xml (revision 0)
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: contrib/jruby/rune/luke/xml/progress.xml
===================================================================
--- contrib/jruby/rune/luke/xml/progress.xml (revision 0)
+++ contrib/jruby/rune/luke/xml/progress.xml (revision 0)
@@ -0,0 +1,5 @@
+
+
+
+
+
Index: contrib/jruby/rune/luke/xml/DefaultSimilarity.js
===================================================================
--- contrib/jruby/rune/luke/xml/DefaultSimilarity.js (revision 0)
+++ contrib/jruby/rune/luke/xml/DefaultSimilarity.js (revision 0)
@@ -0,0 +1,61 @@
+// This is an implementation of DefaultSimilarity
+// in JavaScript.
+//
+// NOTE: Since JavaScript is a weakly-typed language, some
+// overloaded methods have been renamed to avoid ambiguity.
+// You need to keep these changed names as they are, because
+// the plugin depends on them. Other than that you are free
+// to change anything else.
+
+//--- ABSTRACT METHODS ---
+// You HAVE TO implement these
+
+function coord(overlap, maxOverlap) {
+ return overlap / (1.0 * maxOverlap);
+}
+
+function idf(docFreq, numDocs) {
+ return (Math.log(numDocs/(docFreq+1)) + 1.0);
+}
+
+function lengthNorm(fieldName, numTerms) {
+ return (1.0 / Math.sqrt(numTerms));
+}
+
+function queryNorm(sumOfSquaredWeights) {
+ return (1.0 / Math.sqrt(sumOfSquaredWeights));
+}
+
+function sloppyFreq(distance) {
+ return 1.0 / (distance + 1);
+}
+
+function tf(freq) {
+ return Math.sqrt(freq);
+}
+
+//--- PUBLIC METHODS ---
+// You may choose to override these. If they are not overridden, the
+// plugin will use DefaultSimilarity implementation, which is equivalent
+// to the code reproduced below.
+
+// RENAMED: float idf(Collection terms, Searcher searcher)
+function idf_cs(terms, searcher) {
+ var idf = 0.0;
+ var i = terms.iterator();
+ while (i.hasNext()) {
+ // NOTE: we use a renamed method, due to ambiguity in overloading
+ idf += idf_ts(i.next(), searcher);
+ }
+ return idf;
+}
+
+// RENAMED: float idf(Term term, Searcher searcher)
+function idf_ts(term, searcher) {
+ return idf(searcher.docFreq(term), searcher.maxDoc());
+}
+
+// RENAMED: float tf(int freq)
+function tf_i(freq) {
+ return tf(freq);
+}
\ No newline at end of file
Index: contrib/jruby/rune/luke/xml/about.xml
===================================================================
--- contrib/jruby/rune/luke/xml/about.xml (revision 0)
+++ contrib/jruby/rune/luke/xml/about.xml (revision 0)
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
Index: contrib/jruby/rune/luke/xml/selfont.xml
===================================================================
--- contrib/jruby/rune/luke/xml/selfont.xml (revision 0)
+++ contrib/jruby/rune/luke/xml/selfont.xml (revision 0)
@@ -0,0 +1,79 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+ |
+ |
+
+
+ |
+ |
+ |
+
+
+ |
+ |
+ |
+
+
+ |
+ |
+ |
+
+
+
+
+
+
+
+
+
+
Index: contrib/jruby/rune/luke/xml/editdoc.xml
===================================================================
--- contrib/jruby/rune/luke/xml/editdoc.xml (revision 0)
+++ contrib/jruby/rune/luke/xml/editdoc.xml (revision 0)
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: contrib/jruby/rune/luke/META-INF/THAB.RSA
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: contrib/jruby/rune/luke/META-INF/THAB.RSA
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Index: contrib/jruby/rune/luke/META-INF/THAB.SF
===================================================================
--- contrib/jruby/rune/luke/META-INF/THAB.SF (revision 0)
+++ contrib/jruby/rune/luke/META-INF/THAB.SF (revision 0)
@@ -0,0 +1,1842 @@
+Signature-Version: 1.0
+Created-By: 1.4.2_06 (Sun Microsystems Inc.)
+SHA1-Digest-Manifest: 8FguRQZ3qO+nWQnigegwH167syk=
+
+Name: org/mozilla/javascript/ClassShutter.class
+SHA1-Digest: 3umbcZbDy0Ugkga9vA05BjXTGl4=
+
+Name: img/luke.gif
+SHA1-Digest: ZWULeWwWL5hVjxbDbHSjQqvJZJ0=
+
+Name: xml/lukeinit.xml
+SHA1-Digest: DBTcY5ev0f993+M+xSDVMeKlRFM=
+
+Name: org/mozilla/javascript/tools/idswitch/FileBody.class
+SHA1-Digest: 2s4BnO7+pE28+TWhc/QrnCT1e5Y=
+
+Name: org/apache/lucene/analysis/standard/ParseException.class
+SHA1-Digest: AOi6qednulC9fSG9PADnBjo6RVI=
+
+Name: org/apache/lucene/search/IndexSearcher$1.class
+SHA1-Digest: 29reABP2uGowBB7AfHyRlJaFgqE=
+
+Name: org/apache/lucene/search/ParallelMultiSearcher.class
+SHA1-Digest: krtawzHrjW/OR2n5H1/7gDcuPZE=
+
+Name: org/apache/lucene/index/TermPositionVector.class
+SHA1-Digest: NiTWYCul36sbMo3rZ1b8ZDXFKMI=
+
+Name: xml/explain.xml
+SHA1-Digest: TUOZkfWReMElGNs9LHUIdLD4Yt0=
+
+Name: org/apache/lucene/search/BooleanScorer2.class
+SHA1-Digest: 3/ooV3kGb7wHPX9Dqmj4QwK8NFs=
+
+Name: org/mozilla/javascript/NotAFunctionException.class
+SHA1-Digest: NDokeChfds6DneIUBhW/kvKU5k0=
+
+Name: org/apache/lucene/store/MMapDirectory$1.class
+SHA1-Digest: BHGtZQ8jAKs1PEzVTcm5N3w34Os=
+
+Name: xml/DefaultSimilarity.js
+SHA1-Digest: xEJYQqHWnbdrorm09QKihUmhJKE=
+
+Name: org/mozilla/javascript/DefaultErrorReporter.class
+SHA1-Digest: 0FrAVN659rBzNTRpK8PJbNAmeLs=
+
+Name: org/apache/lucene/index/IndexReader$FieldOption.class
+SHA1-Digest: j7xrG/6qMNzGpo23qbTzxvDIa20=
+
+Name: org/mozilla/javascript/Node.class
+SHA1-Digest: uhKBl5oMAJXrnrSJCcR48XJzlZs=
+
+Name: org/apache/lucene/search/DisjunctionSumScorer.class
+SHA1-Digest: cgE3qVU1ZF6XjY4zo9f+Kx3j7RM=
+
+Name: org/apache/lucene/search/FilteredTermEnum.class
+SHA1-Digest: QBr9dwSOsAMkJpkplforTbA8KXk=
+
+Name: org/apache/lucene/search/QueryFilter.class
+SHA1-Digest: hg7l7cR3rj2Dsv+DGQVyxGrkB6k=
+
+Name: org/mozilla/javascript/tools/shell/JavaPolicySecurity$3.class
+SHA1-Digest: s0iKWs1rVJFJrQhvVfndpUKNag0=
+
+Name: org/apache/lucene/index/SegmentTermEnum.class
+SHA1-Digest: WX5xXtUkMg90KIZVPP3QyeCGcXY=
+
+Name: org/mozilla/javascript/ContextListener.class
+SHA1-Digest: x/gBluMf2UoXWmg2bcudHojtoXk=
+
+Name: org/mozilla/javascript/IRFactory.class
+SHA1-Digest: TDBlzizVZyXWQLkaf5Nm5O6Y018=
+
+Name: org/apache/lucene/search/ScoreDocComparator$2.class
+SHA1-Digest: F22ote32+Gco80ckFYPQWN3SIO8=
+
+Name: org/apache/lucene/search/FuzzyTermEnum.class
+SHA1-Digest: 9AbeIpkWWabIKdFjrdxYi9aAnUU=
+
+Name: org/mozilla/javascript/NativeWith.class
+SHA1-Digest: XbgZYiasQulZhR76Kl2DwLLzIAs=
+
+Name: org/mozilla/javascript/InterpreterData.class
+SHA1-Digest: PRGe4EiNt19fi0Xo7RuhHAZ99Bc=
+
+Name: org/apache/lucene/search/MultiPhraseQuery$MultiPhraseWeight.clas
+ s
+SHA1-Digest: Tliq6bv55rs4ncXRddJPw4ZoIQ4=
+
+Name: org/mozilla/classfile/ExceptionTableEntry.class
+SHA1-Digest: cplPwwMG2Bk0F9BgwbnHEAkkRxE=
+
+Name: org/apache/lucene/search/BooleanQuery$TooManyClauses.class
+SHA1-Digest: bTdqoRhbb7a3EHzCNHsOgFp0nzs=
+
+Name: org/apache/lucene/analysis/nl/WordlistLoader.class
+SHA1-Digest: j1X5NG8JT0IKAeTCH7FYXSH+oh8=
+
+Name: org/mozilla/javascript/tools/debugger/downloaded/AbstractCellEdi
+ tor.class
+SHA1-Digest: 5VBW8jgC/RydOGBK6xfdeU/Ol/I=
+
+Name: org/apache/lucene/util/StringHelper.class
+SHA1-Digest: zab6HkX4U1dZAmT9bicpwZWHJeg=
+
+Name: org/mozilla/javascript/tools/idswitch/IdValuePair.class
+SHA1-Digest: MO+qDtTl0LqFJtDQumorlwFI9AY=
+
+Name: org/apache/lucene/index/MultipleTermPositions$IntQueue.class
+SHA1-Digest: YSbfUkaL3YHhEUIDV6QVZDkoFn4=
+
+Name: org/apache/lucene/index/TermVectorsWriter$TVTerm.class
+SHA1-Digest: lGu5uouxQrf9qUZYQTv3PB4qjDQ=
+
+Name: org/apache/lucene/search/MultiSearcherThread.class
+SHA1-Digest: e/swHUIrmyBos8ZkcrlYCn2vBGA=
+
+Name: img/lucene.gif
+SHA1-Digest: 80SZXfWi2ZzMnWjBiUIhA8AVeR4=
+
+Name: org/apache/lucene/search/BooleanQuery$BooleanWeight2.class
+SHA1-Digest: RPIA1GxPkeyrPTY3/z0iXJKNFCI=
+
+Name: org/mozilla/javascript/serialize/ScriptableOutputStream.class
+SHA1-Digest: iEsD8IbBlixyUB245lh8LLrFzYo=
+
+Name: org/mozilla/javascript/tools/jsc/Main.class
+SHA1-Digest: IyP5HnRUq4VWFBIGMhvqgFy9Alo=
+
+Name: img/files.gif
+SHA1-Digest: 5J1shcXBG9qxqkQo9uHJtm7WYbg=
+
+Name: org/apache/lucene/search/ReqExclScorer.class
+SHA1-Digest: cTJGuFFTpSBA5YrCBrIUKnw9dqU=
+
+Name: org/apache/lucene/search/RemoteSearchable.class
+SHA1-Digest: Bala9gC/HNN24oWBWQlPESMkpBg=
+
+Name: org/apache/lucene/store/InputStream.class
+SHA1-Digest: jaAQDxknIeoCHiEkEwtzRMjPvhY=
+
+Name: xml/at-plugin.xml
+SHA1-Digest: gzZ14FgfXRFEXScgeV5X8OByA+c=
+
+Name: org/mozilla/javascript/NodeTransformer.class
+SHA1-Digest: iOnqTTmlas20jLL91v0mwrm+dyA=
+
+Name: org/apache/lucene/search/IndexSearcher$2.class
+SHA1-Digest: 7h1iIKRwEpJ9ubba4w2xrLlW09o=
+
+Name: org/apache/lucene/queryParser/QueryParser$Operator.class
+SHA1-Digest: eevTK8HbikeOiutzZ9eJcxgDBrk=
+
+Name: org/mozilla/javascript/tools/debugger/MessageDialogWrapper.class
+SHA1-Digest: +yamKjKGQ1xyNq/itOLxA1txYws=
+
+Name: org/mozilla/javascript/NativeString.class
+SHA1-Digest: OocWeJgiuNiWoTWoflwvxGRz8a4=
+
+Name: org/mozilla/javascript/Kit$ComplexKey.class
+SHA1-Digest: PUPm+H6+ud33cBWT/qO2kLRu1Yk=
+
+Name: org/apache/lucene/search/BooleanScorer2$1.class
+SHA1-Digest: CmyInI7EcyaDZu5kWKICPqrmNwE=
+
+Name: org/apache/lucene/search/FilteredQuery$2.class
+SHA1-Digest: BsYtqrrjb6LmVYA0DrhRbMJ7IQ4=
+
+Name: org/mozilla/javascript/debug/DebuggableScript.class
+SHA1-Digest: rkDnXMfIpEEFNLMjEEx7NOCT9iQ=
+
+Name: org/mozilla/javascript/optimizer/Optimizer.class
+SHA1-Digest: ErRcpgtg2kdtxuzB8EWe//p33FU=
+
+Name: org/apache/lucene/analysis/StopFilter.class
+SHA1-Digest: 9hIPYzKrHT9k9bmqDSFADUzk2yQ=
+
+Name: org/apache/lucene/document/Document.class
+SHA1-Digest: rOyyWdp0VKoPTjEuRJzwP/Uvi1A=
+
+Name: org/apache/lucene/queryParser/FastCharStream.class
+SHA1-Digest: r2KoIxv4PoC9OGqhSag+guIuey8=
+
+Name: xml/editdoc.xml
+SHA1-Digest: pBBbiv5z7Q3xxCxEHuSt6SYU6gQ=
+
+Name: org/mozilla/javascript/EcmaError.class
+SHA1-Digest: SZnke2v9ZJ8PzwzeOPu+vtvmE7U=
+
+Name: org/mozilla/javascript/InterpretedFunction.class
+SHA1-Digest: G1zHfLS1oID2C3W1IExFGL+zLJs=
+
+Name: org/mozilla/javascript/NativeJavaClass.class
+SHA1-Digest: f8JUz+v+fZXVkRCbNd8of3GYSGI=
+
+Name: org/apache/lucene/index/Posting.class
+SHA1-Digest: nhvn9W3VOhq67cY9rYjlrSvcvpA=
+
+Name: org/apache/lucene/search/spans/NearSpans$SpansCell.class
+SHA1-Digest: adbEehIuP/Er0N80Nrxy0FUa5Jc=
+
+Name: org/apache/lucene/analysis/de/package.html
+SHA1-Digest: p45jkD58p4N0dEqHMlyRn+onsro=
+
+Name: org/apache/lucene/search/SortComparator$1.class
+SHA1-Digest: 3JbSivZpWKiPwMHJsw8Jo6Z89Aw=
+
+Name: org/apache/lucene/analysis/ru/RussianCharsets.class
+SHA1-Digest: cSoSPjoUFPeNcLsN3LVZT/NsJK4=
+
+Name: org/apache/lucene/index/CompoundFileReader$CSIndexInput.class
+SHA1-Digest: VSUM1npQgg4zHgMT958WoT2hL9o=
+
+Name: org/apache/lucene/store/FSIndexInput$Descriptor.class
+SHA1-Digest: /f/1wjibm3IbqTNzUkdFG3Sg8Hw=
+
+Name: org/apache/lucene/index/FilterIndexReader.class
+SHA1-Digest: i6/b/qNlL8aHRUNWxHGyuoGn8ZU=
+
+Name: org/mozilla/javascript/tools/debugger/Dim$ContextData.class
+SHA1-Digest: Ooykd5vCuGqFpB94y5wHW8ZX/Qs=
+
+Name: org/apache/lucene/util/BitVector.class
+SHA1-Digest: erAxprP8TcmOx6SjV4c99KtlAq8=
+
+Name: org/mozilla/classfile/ConstantPool.class
+SHA1-Digest: Vq8h3sZMYXQ4kouhdBeFsnUCy/o=
+
+Name: org/apache/lucene/analysis/PorterStemmer.class
+SHA1-Digest: jSsZezfYhl/x2yxQYBKKfdQMpWo=
+
+Name: org/mozilla/javascript/tools/resources/Messages.properties
+SHA1-Digest: hEzAiukeZxKJ8Xzc51ML7Jd+BzM=
+
+Name: img/script.gif
+SHA1-Digest: 3COdCWREhfGg8QInAN2eMGraUFw=
+
+Name: org/apache/lucene/index/SegmentReader$Norm.class
+SHA1-Digest: yNEXhoa3XDsdUOI9O40wZ6p9S0E=
+
+Name: org/mozilla/javascript/Node$Jump.class
+SHA1-Digest: mxtL/CcknebpI0itFyiO5UGM5Xo=
+
+Name: img/errx.gif
+SHA1-Digest: t4P/7Mk7JHpnEwrkLvngarY4DHg=
+
+Name: org/apache/lucene/search/ScoreDocComparator$1.class
+SHA1-Digest: N9F5v/V7JAU9thSVtMh6QtUG1CQ=
+
+Name: org/mozilla/javascript/xmlimpl/XMLWithScope.class
+SHA1-Digest: IunuuhnR0qVd6Nd3LCFuh3JYla8=
+
+Name: org/mozilla/javascript/tools/shell/ConsoleWrite.class
+SHA1-Digest: DraI6TF6UVlZYBtyb5y2Dtq/mgw=
+
+Name: org/mozilla/javascript/Parser.class
+SHA1-Digest: KoY49EtjpKIQEa4etJVBD1p2fiE=
+
+Name: org/apache/lucene/search/PhrasePrefixQuery.class
+SHA1-Digest: Za7zTOU8g74SENGTBEvNZW773hI=
+
+Name: org/mozilla/javascript/optimizer/Block$FatBlock.class
+SHA1-Digest: zb7YDSjsRZCTlOm+/SeRd7/87J0=
+
+Name: org/getopt/luke/IntPair$PairComparator.class
+SHA1-Digest: xqzzPIEoktc7246keWExi2JuAC4=
+
+Name: org/mozilla/javascript/Node$NumberNode.class
+SHA1-Digest: pFvEUcPy8QVe79/2VU8NUZA5XV4=
+
+Name: org/apache/lucene/analysis/ru/package.html
+SHA1-Digest: KkWGokytl2P1RxEv40EixOtQAjE=
+
+Name: org/apache/lucene/store/IndexOutput.class
+SHA1-Digest: kuvkOqluOj57pxE7c5JuesT4ezo=
+
+Name: org/mozilla/javascript/tools/debugger/EvalWindow.class
+SHA1-Digest: itWPC9Dh0tjeaaOoXu6I1TSNM3Y=
+
+Name: org/apache/lucene/index/TermVectorsWriter.class
+SHA1-Digest: Fqdc1gdEO0xfT2gRjpMxSUMCmZA=
+
+Name: org/apache/lucene/analysis/WordlistLoader.class
+SHA1-Digest: 3osLz5jFIzIdg8OCARKgsHXbVz4=
+
+Name: org/mozilla/javascript/tools/shell/JavaPolicySecurity$ContextPer
+ missions.class
+SHA1-Digest: /ECrny4NnmL/Z1cpB2A1CNm566Q=
+
+Name: org/mozilla/javascript/EvaluatorException.class
+SHA1-Digest: I5aFjh5CqSB39gm6znXewAZlzak=
+
+Name: org/apache/lucene/index/FieldInfos.class
+SHA1-Digest: eZLDJ1fysuHU8xwjlpLoryDWGWs=
+
+Name: org/mozilla/javascript/IdFunctionObject.class
+SHA1-Digest: 2CtBvYTqYUGU2WZUQo2b5NINEmM=
+
+Name: org/mozilla/javascript/regexp/REGlobalData.class
+SHA1-Digest: jYBeU/C9NXIlAncjgeSfJf8zE3c=
+
+Name: org/apache/lucene/search/spans/SpanWeight.class
+SHA1-Digest: gri+GwB3ilT51A8a1oHwP7/fCXQ=
+
+Name: org/mozilla/javascript/SpecialRef.class
+SHA1-Digest: yjPSHhdQms3Jly3Z7O0wVS/u/20=
+
+Name: org/mozilla/classfile/ClassFileWriter.class
+SHA1-Digest: nhcLxlzr2efmQDG/AYAaKNpvM/M=
+
+Name: org/apache/lucene/search/FilteredQuery.class
+SHA1-Digest: aXYJjP3A6qaQOS+uMMbNSEcYR3U=
+
+Name: org/apache/lucene/search/Searcher.class
+SHA1-Digest: GIH0RlUqdbEy/o444UAGjgy4exc=
+
+Name: org/apache/lucene/search/WildcardTermEnum.class
+SHA1-Digest: gbw7BruEaHYa3YzcekHCcP/4rJ4=
+
+Name: org/mozilla/javascript/tools/shell/JavaPolicySecurity$2.class
+SHA1-Digest: 2gJa4/ZDq0zlvzu3hVQbzqOYvOY=
+
+Name: org/mozilla/javascript/ContextFactory.class
+SHA1-Digest: DI8U4JfDMtTrXRwImhdyAcoWAao=
+
+Name: org/apache/lucene/search/FieldSortedHitQueue$3.class
+SHA1-Digest: iG4czLkkRM31DC48334CZwh4B14=
+
+Name: org/mozilla/javascript/tools/shell/Environment.class
+SHA1-Digest: z0EFaNLSjjDNS8We5BgBQHozC5U=
+
+Name: org/apache/lucene/analysis/nl/DutchStemmer.class
+SHA1-Digest: kr2ScW56Dw3k4HoTN84CuuOIfrY=
+
+Name: org/apache/lucene/search/ConjunctionScorer.class
+SHA1-Digest: v5tSSUxtcl1yldYkdPvKP0V9MpE=
+
+Name: org/apache/lucene/index/IndexReader$2.class
+SHA1-Digest: jHy+e5fhhTVjw1zkfF6SOep5pRw=
+
+Name: org/apache/lucene/queryParser/TokenMgrError.class
+SHA1-Digest: Mh2jFNsV/f4XPuw+OgXNRnyCs5Y=
+
+Name: org/apache/lucene/index/IndexWriter$3.class
+SHA1-Digest: 4eID2DjwPINASb7pU1sc28cU+Zk=
+
+Name: org/apache/lucene/search/FieldDocSortedHitQueue.class
+SHA1-Digest: 6vzKnzkm6wncc7LXfOudOCQwSL8=
+
+Name: org/apache/lucene/search/spans/SpanOrQuery$SpanQueue.class
+SHA1-Digest: 3eG8SOgG1KAErb4LMGBGUjB/9Zs=
+
+Name: org/apache/lucene/search/FieldCache.class
+SHA1-Digest: 97SbBSzeBfFYEb7KSGQmVbdv3qM=
+
+Name: .plugins
+SHA1-Digest: sq/VJXHmgjqk0jZn8xrcgZt4dwI=
+
+Name: org/apache/lucene/search/BooleanScorer2$2.class
+SHA1-Digest: jydMcq2RhqRnnVpFeNR/pbhWWIM=
+
+Name: org/mozilla/classfile/ClassFileMethod.class
+SHA1-Digest: z+MwT86aASR3L0SftvtQyC+IR4M=
+
+Name: org/apache/lucene/search/HitQueue.class
+SHA1-Digest: K0Ogpa04SeEp53OEYTn25zs/jDY=
+
+Name: org/mozilla/javascript/tools/debugger/downloaded/JTreeTable$Tree
+ TableCellRenderer.class
+SHA1-Digest: Q5Xta/X++Idh4olNhhHghyPKo0w=
+
+Name: org/mozilla/javascript/debug/DebugFrame.class
+SHA1-Digest: GfJar7lf3y4F9yYFFt6G1GkIyK0=
+
+Name: org/apache/lucene/analysis/ru/RussianLetterTokenizer.class
+SHA1-Digest: 62WhZ4CT6HGsRBl3S1WpGIoPbqc=
+
+Name: org/mozilla/javascript/Parser$1.class
+SHA1-Digest: 2aNPR+f6dvLEi6JUvR/1hHM80dI=
+
+Name: org/mozilla/javascript/RegExpProxy.class
+SHA1-Digest: 9Y4d2YGkMdHRNT4gh+RgNZe+KJI=
+
+Name: org/mozilla/javascript/tools/debugger/downloaded/TreeTableModelA
+ dapter$3.class
+SHA1-Digest: ddOppuGv64+qcEyT1ZePC/LVo9c=
+
+Name: org/apache/lucene/search/BooleanClause.class
+SHA1-Digest: bkqOEYixl/9OoxK+T+yS8r4CA6Y=
+
+Name: org/mozilla/javascript/JavaAdapter.class
+SHA1-Digest: PpJ6rH6Id68NU++eGX5Lw0IUkc8=
+
+Name: org/apache/lucene/search/BooleanClause$Occur.class
+SHA1-Digest: wLa2VcgK7IVA0w0Cj1A3YUF9TyA=
+
+Name: org/mozilla/javascript/DToA.class
+SHA1-Digest: 7qXxI9Pm+qSMlY7ZOtfh3ZFT5SU=
+
+Name: org/apache/lucene/search/BooleanScorer$Bucket.class
+SHA1-Digest: bWDuyX07Cr2ngrvfdVGAJhokByw=
+
+Name: org/mozilla/javascript/SecurityController.class
+SHA1-Digest: fX+nEwkZP2m1x1TvVkA9TRtWk6w=
+
+Name: org/mozilla/javascript/Interpreter$CallFrame.class
+SHA1-Digest: zKVt8jvmIfzOiGs4Fi21Jq9DX5Q=
+
+Name: org/apache/lucene/analysis/de/GermanStemmer.class
+SHA1-Digest: e7KdfsccYlvqm9PrOeBa0h7rsGg=
+
+Name: org/mozilla/javascript/tools/debugger/Dim.class
+SHA1-Digest: zCCtw3QmP09eLA214t/uc9//lcQ=
+
+Name: org/apache/lucene/analysis/standard/FastCharStream.class
+SHA1-Digest: wlIl4cjfGfDAXgnMoLl8CF513nU=
+
+Name: org/mozilla/javascript/tools/shell/ShellContextFactory.class
+SHA1-Digest: uqP5sELhw7x9Cg9ZtORi35iahjA=
+
+Name: org/mozilla/javascript/regexp/NativeRegExp.class
+SHA1-Digest: hTlXeypQGkJd2mkEdbvZGKWL9ic=
+
+Name: org/mozilla/javascript/xml/XMLLib.class
+SHA1-Digest: fkBC1+UqRu50KjohTW4ZuOr1p4g=
+
+Name: org/apache/lucene/index/CompoundFileReader.class
+SHA1-Digest: O9KhIul4QJvRhMk22diKq31F7qQ=
+
+Name: org/apache/lucene/search/PrefixQuery.class
+SHA1-Digest: 6tJznHpS2oczajkMkm6olOnFc6Q=
+
+Name: org/mozilla/javascript/ClassDefinitionException.class
+SHA1-Digest: f4DWjmDU7IFcmpc/blHhL2pnPSM=
+
+Name: org/apache/lucene/search/WildcardQuery.class
+SHA1-Digest: l11vtRRfuA9oub/VSLyyM1b3LGE=
+
+Name: org/getopt/luke/plugins/SimilarityDesignerPlugin.class
+SHA1-Digest: yTLx82p8FF9qOkQMSGwnOu/g1pM=
+
+Name: org/getopt/luke/plugins/ScriptingPlugin.class
+SHA1-Digest: N/E2+4LwkXUZIKAUkS63o6EJFLg=
+
+Name: org/getopt/luke/plugins/Shell.class
+SHA1-Digest: bLSWk4kPXGIqtx9J8nxeSjIZjaE=
+
+Name: org/mozilla/javascript/JavaScriptException.class
+SHA1-Digest: SvqNZ3mdzMyNChwV2M2/MziMQB0=
+
+Name: img/delete.gif
+SHA1-Digest: hUEl4TnneYAb3yj3fykFDILrqSc=
+
+Name: org/apache/lucene/search/BooleanScorer$BucketTable.class
+SHA1-Digest: ZUY904JCH/SoQvbs4OlfGbCyZ0E=
+
+Name: org/apache/lucene/store/MMapDirectory$MultiMMapIndexInput.class
+SHA1-Digest: MD0smv5QMVxtNpY0PU3YXFpsf2U=
+
+Name: org/mozilla/javascript/tools/debugger/MyTableModel.class
+SHA1-Digest: NVxj51pxP1avnTVFQQyboD6da6Q=
+
+Name: org/mozilla/javascript/continuations/Continuation.class
+SHA1-Digest: 7S2uLrEAX9tov4sXwIKWT1fEQNY=
+
+Name: org/apache/lucene/search/spans/SpanFirstQuery$1.class
+SHA1-Digest: moEWriqaxyn6OJygWprEvB8PAqY=
+
+Name: org/mozilla/javascript/tools/debugger/Menubar.class
+SHA1-Digest: iBqpEeob20VKli1aYKkT7ROIHL4=
+
+Name: org/apache/lucene/search/spans/SpanNotQuery.class
+SHA1-Digest: XOD06jsKc5GqNqCriyB4gEV2pW0=
+
+Name: org/apache/lucene/analysis/snowball/package.html
+SHA1-Digest: A2LoDAfQ4fMVOb7rO9nXsOPcQjc=
+
+Name: org/apache/lucene/analysis/nl/words.txt
+SHA1-Digest: i+Z0Wsj53RyTqsml9cuJ0TJ9X9k=
+
+Name: org/apache/lucene/index/SegmentTermPositionVector.class
+SHA1-Digest: yoxrrYivMUXbkwy6Ljjirn0jhjQ=
+
+Name: org/mozilla/javascript/tools/debugger/Dim$StackFrame.class
+SHA1-Digest: yw7m3Nmhkz03lVrkDy0KC7Ykl2w=
+
+Name: org/mozilla/javascript/FunctionObject.class
+SHA1-Digest: KpjzB6GZuLClUIfdTXTk59OkzsQ=
+
+Name: org/apache/lucene/search/TermScorer.class
+SHA1-Digest: N2RkLXsF3314wgheixLBVnc6/MM=
+
+Name: org/apache/lucene/analysis/standard/StandardTokenizerTokenManage
+ r.class
+SHA1-Digest: 81IMc2eAquA/2AspXpWIRG+/m1w=
+
+Name: org/apache/lucene/index/TermVectorsWriter$1.class
+SHA1-Digest: LnzOvX4KfRVY9oAm8H1z+xWX7Gw=
+
+Name: org/apache/lucene/search/spans/SpanScorer.class
+SHA1-Digest: AVW0yUpKia8qC8xrJN9nQ2lIOG0=
+
+Name: org/mozilla/javascript/tools/shell/JSConsole$2.class
+SHA1-Digest: z6JX3BHWL0x/bbh0iS9mhzYWe6w=
+
+Name: org/mozilla/javascript/Scriptable.class
+SHA1-Digest: iZgDU8sv5oFWNkytHxe+L1DqZII=
+
+Name: org/apache/lucene/analysis/LowerCaseTokenizer.class
+SHA1-Digest: x/k1Os1/hJsKR5Y/Fju5/orB8Pw=
+
+Name: org/apache/lucene/index/TermVectorOffsetInfo.class
+SHA1-Digest: aw4hBd8tYEObCb/66kJ/uAz+8Pk=
+
+Name: org/mozilla/javascript/tools/shell/ConsoleTextArea.class
+SHA1-Digest: BE1vjwp5f6bfeV9RwXg9VBetMCM=
+
+Name: org/apache/lucene/search/PhraseQuery.class
+SHA1-Digest: PB3oCaRuCAYT/1a0nXOh69w6gpk=
+
+Name: org/apache/lucene/search/CachingWrapperFilter.class
+SHA1-Digest: +RjmgQyCShQXeOHstWZHBdZffuA=
+
+Name: org/apache/lucene/search/spans/SpanTermQuery.class
+SHA1-Digest: MTqJ9rRmC3prja2YdDMu03YLy0E=
+
+Name: org/apache/lucene/document/NumberTools.class
+SHA1-Digest: 4KFYbSrS3n4Z5hTZlXlAdS+9SSk=
+
+Name: org/getopt/luke/plugins/CustomSimilarity.class
+SHA1-Digest: 9kH/0DyVPnxXfi9i7WIEFQbeUZ4=
+
+Name: org/apache/lucene/search/spans/SpanOrQuery$1.class
+SHA1-Digest: J0dkoa1W2mZL5poiad6nr2cCJ4I=
+
+Name: org/apache/lucene/search/BooleanScorer2$SingleMatchScorer.class
+SHA1-Digest: xXzHloiWF2tV8NGAvJ21t6P7Vpc=
+
+Name: org/mozilla/javascript/tools/debugger/EvalTextArea.class
+SHA1-Digest: 45ipp/78rntjEctQmN9LkXnjqsk=
+
+Name: org/mozilla/javascript/tools/debugger/VariableModel.class
+SHA1-Digest: Ykf09GsKb1TIbZV8L+FuBR6cDSo=
+
+Name: org/mozilla/javascript/resources/Messages.properties
+SHA1-Digest: poa7EWgunBrQ/jFENTD7U/Kl8GE=
+
+Name: org/apache/lucene/analysis/cjk/CJKAnalyzer.class
+SHA1-Digest: DnT8rpmqxxa2jVmJ/1dg0jxK6Fk=
+
+Name: org/mozilla/javascript/xmlimpl/XMLList$AnnotationList.class
+SHA1-Digest: XUBU7BxSpXfqzzhQ4Pv5CWwLEN0=
+
+Name: org/mozilla/javascript/tools/shell/Global.class
+SHA1-Digest: BuP4UXbPyYmfyIW70a/ZT5Cpx8E=
+
+Name: org/mozilla/javascript/Script.class
+SHA1-Digest: duT4Ip4BB6y0Nybc6ed9TGTi5xs=
+
+Name: org/apache/lucene/index/CompoundFileWriter$1.class
+SHA1-Digest: cpq6hDX2io4It8S7NRUtl0/e2qo=
+
+Name: org/mozilla/javascript/Parser$ParserException.class
+SHA1-Digest: Cl1+MQOklvSwW8ZlaRxZ6K6RZJI=
+
+Name: org/mozilla/javascript/tools/debugger/FileTextArea.class
+SHA1-Digest: tOdhrozx32r7UGAVCBVsmR1v9TQ=
+
+Name: org/apache/lucene/analysis/Analyzer.class
+SHA1-Digest: vvne+oMfRwu0n/94Q9Hnk9xKINU=
+
+Name: org/mozilla/javascript/ClassCache.class
+SHA1-Digest: C/mPfFR2oLAd6f3vzdAp9NfAqNg=
+
+Name: org/getopt/luke/BrowserLauncher.class
+SHA1-Digest: YZJB/2+86DuHwDhXirQGwVbw4bw=
+
+Name: org/apache/lucene/store/Directory.class
+SHA1-Digest: BSferPhlMwdk0p+Sb8t8RLB+A84=
+
+Name: org/apache/lucene/analysis/TokenStream.class
+SHA1-Digest: KesfcIBjxdCp2zNq3s8LSG8FelY=
+
+Name: org/mozilla/javascript/Node$1.class
+SHA1-Digest: 3i8pv9QM7qOcYpTphj9jRe2J2/A=
+
+Name: org/apache/lucene/util/Constants.class
+SHA1-Digest: ogEd4ryN4G4/kz52mmJnAnzZPDk=
+
+Name: org/mozilla/javascript/ContextAction.class
+SHA1-Digest: N/JaO1yBZdMUFeThwsvk+0yNHkc=
+
+Name: org/apache/lucene/search/spans/SpanNotQuery$1.class
+SHA1-Digest: AlLpiGJW1x+i1IFg5YcAzrzCeTg=
+
+Name: org/mozilla/javascript/Delegator.class
+SHA1-Digest: rGqJ/wAMgzHzPfJL/02G83t/vls=
+
+Name: org/apache/lucene/search/PhraseScorer.class
+SHA1-Digest: jlzenqUlBS0RtvGmOIt4D29UBv8=
+
+Name: xml/vector.xml
+SHA1-Digest: Gol3s1UixKoQzbYQPqIKdeHya54=
+
+Name: org/mozilla/javascript/WrappedException.class
+SHA1-Digest: jlJrumcZihLNEBrsbfLUAX+ek5I=
+
+Name: org/mozilla/javascript/tools/ToolErrorReporter.class
+SHA1-Digest: AMqZ8xWbkM2K8dERWNXu7miL8WQ=
+
+Name: org/apache/lucene/search/BooleanScorer$Collector.class
+SHA1-Digest: gWlJCBDMuVPpgntjHox5KLj5kYQ=
+
+Name: org/mozilla/javascript/tools/shell/Runner.class
+SHA1-Digest: oOE82aJucGlaNyx1z5hYlWT1ZKA=
+
+Name: org/apache/lucene/search/MultiSearcher.class
+SHA1-Digest: qaP8XSsHKssAQ715hj8Q/jmUP2k=
+
+Name: org/mozilla/javascript/tools/debugger/SwingGui.class
+SHA1-Digest: mydfs+iTTKOgv8Tq+AZgWrgUYUU=
+
+Name: org/mozilla/javascript/serialize/ScriptableInputStream.class
+SHA1-Digest: LcXfVVLXn7Wa/mGgH5dHQ1oN6rk=
+
+Name: org/mozilla/javascript/optimizer/InvokerImpl.class
+SHA1-Digest: yKrjTj+N9kid5/QopyRv+kixRNA=
+
+Name: org/apache/lucene/search/spans/Spans.class
+SHA1-Digest: 3WZYsMRxA4iqgDVGKEaBsFBLj3I=
+
+Name: org/apache/lucene/index/TermDocs.class
+SHA1-Digest: I+MX83OcUCkn/YoUhkJ5xcz5fhs=
+
+Name: org/apache/lucene/queryParser/QueryParserConstants.class
+SHA1-Digest: 35yyoTgWHfO0uH/pH1HTWVoIXcg=
+
+Name: org/apache/lucene/search/Searchable.class
+SHA1-Digest: ey9Z5pM7rnfHbLYjHRDY9qCWdmI=
+
+Name: org/mozilla/javascript/ScriptOrFnNode.class
+SHA1-Digest: 0NddcTp5eY5sg/emonUUd7FeFGM=
+
+Name: org/mozilla/javascript/ErrorReporter.class
+SHA1-Digest: BXhSrS8HGBLIMJykPTwBGHakkN8=
+
+Name: xml/selfont.xml
+SHA1-Digest: a2LWQjR7LjIU9MSi/GgoTXdSzOE=
+
+Name: org/apache/lucene/index/SegmentMergeInfo.class
+SHA1-Digest: pSl6hgJWIuodxtpit/Xc6yEf11E=
+
+Name: xml/SampleScript.js
+SHA1-Digest: NbewlcVOS6n3RYFcOrIrGvHJLBg=
+
+Name: org/apache/lucene/search/BooleanScorer$SubScorer.class
+SHA1-Digest: M/xS2p1zjgHLYJfzm1KuBOhAS/o=
+
+Name: org/mozilla/javascript/tools/debugger/downloaded/TreeTableModel.
+ class
+SHA1-Digest: RhDt/lHo4lcJ4H9gV5MLGqSrm2c=
+
+Name: org/mozilla/javascript/tools/shell/JSConsole$1.class
+SHA1-Digest: 2S3FhhSXrrxVxP1BnRGxz7ijQ94=
+
+Name: org/apache/lucene/analysis/standard/CharStream.class
+SHA1-Digest: 5lMUrHOSuqLQvHMaSTOkUMoQnuE=
+
+Name: org/mozilla/javascript/tools/idswitch/FileBody$ReplaceItem.class
+SHA1-Digest: v52+PGy4AZxkPsJ/Vlx09IXPxk0=
+
+Name: org/mozilla/javascript/regexp/RegExpImpl.class
+SHA1-Digest: 19ZXh6t1iGnaqJwWfC+qUQ4x6/4=
+
+Name: org/apache/lucene/search/FieldCacheImpl$Entry.class
+SHA1-Digest: gQklj/poZUO9+4Hf440ulXwSLPI=
+
+Name: org/mozilla/javascript/optimizer/OptRuntime.class
+SHA1-Digest: zAgOaDFrO/s/m6rSvEEB4JVNTw4=
+
+Name: org/mozilla/javascript/NativeJavaTopPackage.class
+SHA1-Digest: pQ7j5JWUkffx0vNWzkTrZPt1NiQ=
+
+Name: org/apache/lucene/index/IndexReader.class
+SHA1-Digest: b4W1xbUpPpcGoxGdDdgxT28pwqc=
+
+Name: org/apache/lucene/util/PriorityQueue.class
+SHA1-Digest: u+DMtOfXiqdwdRGiGNZw457N77g=
+
+Name: org/mozilla/javascript/IdFunctionCall.class
+SHA1-Digest: RjVe2pJZspRDCorere9YRz/Izbo=
+
+Name: org/apache/lucene/analysis/ru/RussianLowerCaseFilter.class
+SHA1-Digest: QUxXI8Exh7oXnj6CosQsWHuitOQ=
+
+Name: org/apache/lucene/index/SegmentMergeQueue.class
+SHA1-Digest: ykH1jWm+5YBpIhbHxb9wuFD14Ng=
+
+Name: org/apache/lucene/analysis/LetterTokenizer.class
+SHA1-Digest: hMUlOVXTPGUPK+WwYRIC9AKnKOc=
+
+Name: org/mozilla/javascript/tools/debugger/downloaded/JTreeTable.clas
+ s
+SHA1-Digest: S98OFcRJt+BGK3eW3WdbBMcMucU=
+
+Name: org/apache/lucene/analysis/PerFieldAnalyzerWrapper.class
+SHA1-Digest: arilSIWNLW7w8OWqofc80bBvaEc=
+
+Name: org/apache/lucene/search/ScoreDocComparator.class
+SHA1-Digest: vqlxKC47FDz6yrU9vw/L0aJdMXg=
+
+Name: org/getopt/luke/ClassFinder.class
+SHA1-Digest: JY9LP5vNFmjfqSlN7sKFJvHFh7c=
+
+Name: org/apache/lucene/analysis/Token.class
+SHA1-Digest: jQPTqaY0QvyAmgRSH3YS3f+VZjk=
+
+Name: org/apache/lucene/util/Parameter.class
+SHA1-Digest: /FLAhL1IwBh0oWq4aIh36U+ErB4=
+
+Name: org/apache/lucene/search/FuzzyQuery.class
+SHA1-Digest: kRCyeO/tALj1Sjme3BKehorCI14=
+
+Name: org/mozilla/javascript/NativeArray.class
+SHA1-Digest: rYCJ6CQmqF5xO69gdWGuMRhzVSk=
+
+Name: img/simil.gif
+SHA1-Digest: ZtUeNTcpfmmO/HmfSrDJrw3Zx34=
+
+Name: org/mozilla/javascript/xmlimpl/XMLName.class
+SHA1-Digest: Bw0i2MKAdj8HZGzCZWDXeI7E6XM=
+
+Name: org/mozilla/javascript/ObjToIntMap.class
+SHA1-Digest: ju/WNd47hYsaliihdn4L7rARMsw=
+
+Name: org/mozilla/javascript/regexp/SubString.class
+SHA1-Digest: VeodwhEUXu2Y6e/kO+ve00F08hY=
+
+Name: img/terms.gif
+SHA1-Digest: BP27KncPLIsxUzRgw1OIG2n1a5U=
+
+Name: org/mozilla/javascript/LazilyLoadedCtor.class
+SHA1-Digest: U5ydLI2d9iwV/H0w+ivJ6TfkNyM=
+
+Name: org/mozilla/javascript/tools/idswitch/Main.class
+SHA1-Digest: JXOQHr4y+O0PNC46CVJk8FcVaYA=
+
+Name: org/mozilla/javascript/Synchronizer.class
+SHA1-Digest: vvQAt44QHl9M4ZwlgoaFl3M2xfs=
+
+Name: org/mozilla/javascript/BeanProperty.class
+SHA1-Digest: Lv80XrE9F4n/g3QNRtAa2nEqs8A=
+
+Name: org/apache/lucene/store/IndexInput.class
+SHA1-Digest: zbtxfHr20zKm9xkEP/owiic6498=
+
+Name: org/mozilla/javascript/optimizer/Block$1.class
+SHA1-Digest: ZUK+V2yYnEVFs2JxN/4qHCHIEXk=
+
+Name: org/mozilla/javascript/TokenStream.class
+SHA1-Digest: CtRX5EPdDu4KK2s6Cnl5GGs8NwE=
+
+Name: org/mozilla/javascript/ImporterTopLevel.class
+SHA1-Digest: AAhVuDJL1fJlBj+F8vslRCq9QJ0=
+
+Name: org/apache/lucene/search/HitDoc.class
+SHA1-Digest: CSKGk0GZZQRssPkzSwGXhYDT7DY=
+
+Name: org/apache/lucene/queryParser/CharStream.class
+SHA1-Digest: YYe2rL7QnaXsz1tZoM68XSFcngg=
+
+Name: org/getopt/luke/GrowableStringArray.class
+SHA1-Digest: 0urfx07ebCg3J1qAkA0UhR0KgvM=
+
+Name: org/mozilla/javascript/xmlimpl/XMLList.class
+SHA1-Digest: wrAGbj43743njeiB8MtY5XOj7+Q=
+
+Name: org/mozilla/javascript/tools/debugger/downloaded/TreeTableModelA
+ dapter$2.class
+SHA1-Digest: N/aC0jayGCHvU63+WLVoax2JZaQ=
+
+Name: org/apache/lucene/index/IndexWriter.class
+SHA1-Digest: rYTaDJNSuukyOiNH56QStD9kMgo=
+
+Name: org/mozilla/javascript/xmlimpl/XMLCtor.class
+SHA1-Digest: 6aSD91Skh9UGhuCBhYqXMGdsjbE=
+
+Name: org/mozilla/javascript/tools/debugger/FindFunction.class
+SHA1-Digest: L/bUkSQ3BLQRNgCi25J/y/nahB4=
+
+Name: org/mozilla/javascript/resources/Messages_fr.properties
+SHA1-Digest: jhmupDczRS/u4pIt5XR3yxQqpTY=
+
+Name: org/mozilla/javascript/Arguments.class
+SHA1-Digest: oB6JQc5aQYfTVnGwhd9S4j7w01k=
+
+Name: org/mozilla/javascript/GeneratedClassLoader.class
+SHA1-Digest: N7lghodfIOSrbek4GnR8uBsua3U=
+
+Name: org/mozilla/javascript/Interpreter$ContinuationJump.class
+SHA1-Digest: Za+fwk1TICtVM7dLnHp69KtLUhI=
+
+Name: xml/luke.xml
+SHA1-Digest: XctUDgqydBuAVnfwnF1j8pH3od8=
+
+Name: xml/progress.xml
+SHA1-Digest: fTUupuvbm8cXErvcpmunQfCiwDU=
+
+Name: org/mozilla/javascript/Kit.class
+SHA1-Digest: JLHwUoIyuXbqS1YrLBb2G9TLdkI=
+
+Name: img/luke-big.gif
+SHA1-Digest: HHORruaaZlcUoLkbmGuAemzh6JQ=
+
+Name: org/mozilla/javascript/tools/debugger/downloaded/TreeTableModelA
+ dapter$1.class
+SHA1-Digest: hND3/iymLHhVn04ePfjpi4KMASo=
+
+Name: org/mozilla/javascript/NativeError.class
+SHA1-Digest: Gq3R1z/y49QKl+VjpOJ1c8nARcs=
+
+Name: org/apache/lucene/index/MultipleTermPositions.class
+SHA1-Digest: tR6+G/bkLARYql8p4IvMqajZ1B0=
+
+Name: org/apache/lucene/search/spans/SpanFirstQuery.class
+SHA1-Digest: 4sIMGenqJ8lW1VrlABJY7HPBT6w=
+
+Name: img/open3.gif
+SHA1-Digest: EC29tFZ2tQNHfQg7lVGl5/hBi5k=
+
+Name: org/apache/lucene/search/FieldCache$StringIndex.class
+SHA1-Digest: 0lEaUecoWJViuXxBQS1O8V2Gm7w=
+
+Name: org/mozilla/javascript/tools/debugger/Main.class
+SHA1-Digest: KHTxWSKmUSb5oSGMQ5XTjZs9n0c=
+
+Name: org/mozilla/javascript/UintMap.class
+SHA1-Digest: HEeLRtBh5MNFD5LK0fKAdrHMHHk=
+
+Name: org/apache/lucene/queryParser/MultiFieldQueryParser.class
+SHA1-Digest: dzInWT5HrKr0N+GouS8Qi5Xe7k8=
+
+Name: org/getopt/luke/plugins/TAWriter.class
+SHA1-Digest: PWYbejWs8Cw4Aro8SIvKBGh00L8=
+
+Name: img/tools.gif
+SHA1-Digest: f2vKcPMvY+X6mYf76uY5zK7sP1A=
+
+Name: xml/qexplain.xml
+SHA1-Digest: lZbZNo2IH5FjlfWeGQvzK6qRyrM=
+
+Name: org/mozilla/javascript/xmlimpl/XMLLibImpl.class
+SHA1-Digest: z094zSauSXBS0/UNBFBwvSz/yIE=
+
+Name: org/mozilla/javascript/ScriptableObject$GetterSlot.class
+SHA1-Digest: bnIiUv9TCH/EBddGQ01G1yqg1rE=
+
+Name: org/apache/lucene/search/BooleanScorer2$Coordinator.class
+SHA1-Digest: 13YwG8P0dzpZ2bsiFmlZ6H9sAOs=
+
+Name: org/apache/lucene/index/TermPositions.class
+SHA1-Digest: J2ZZdS1DLJoolrxYazI/9i4ovos=
+
+Name: org/apache/lucene/index/MultiReader.class
+SHA1-Digest: GMc9uhmrR/LxlPaVIeATwTe1GI4=
+
+Name: org/apache/lucene/analysis/cn/ChineseAnalyzer.class
+SHA1-Digest: XYdWpFLsApOUaGrXCtJsqPotWlg=
+
+Name: org/mozilla/javascript/regexp/GlobData.class
+SHA1-Digest: ADIxpeAA+rckWow4Q1Z7V1R4ZmQ=
+
+Name: org/apache/lucene/search/DefaultSimilarity.class
+SHA1-Digest: F97h+ZfqiP19r0ZkFYtGiYSN4cQ=
+
+Name: org/apache/lucene/store/Lock.class
+SHA1-Digest: vQEhkdFBip3uX4QCAe6D6J9HGWE=
+
+Name: xml/WikipediaSimilarity.js
+SHA1-Digest: JMCFa9bkwUEJUiraA/Jnn9h1GgE=
+
+Name: org/apache/lucene/search/Scorer.class
+SHA1-Digest: 4cHdxWtwszJk5jWbpLAdc1N/iJA=
+
+Name: org/apache/lucene/queryParser/QueryParserTokenManager.class
+SHA1-Digest: I0ySjPiEnACmH8qGvvoouNBnQ54=
+
+Name: org/mozilla/javascript/optimizer/OptFunctionNode.class
+SHA1-Digest: ASA9yAw9Z/PzJz9rJBKQi0YGnN4=
+
+Name: org/mozilla/javascript/tools/shell/Main$IProxy.class
+SHA1-Digest: Qtdk6hpV9MFg7B2nLq7f8/5DOrQ=
+
+Name: org/apache/lucene/search/spans/NearSpans$CellQueue.class
+SHA1-Digest: +fKRImMj4km5IbMj5xQ29S7MuGM=
+
+Name: org/mozilla/javascript/Invoker.class
+SHA1-Digest: tCk/TdF11Eggn0/nwH3Ip5Ge07Q=
+
+Name: org/apache/lucene/index/TermVectorsReader.class
+SHA1-Digest: b5bLwdmJ0cCubFb4HZBY6FTAQH4=
+
+Name: org/apache/lucene/search/QueryFilter$1.class
+SHA1-Digest: fWAKrP61qiL+6FI5sT2fi0TdeBU=
+
+Name: org/mozilla/javascript/RhinoException.class
+SHA1-Digest: d+olMeqfZ41OZHY+DW0t0zoiQKo=
+
+Name: org/apache/lucene/queryParser/ParseException.class
+SHA1-Digest: VOHmL/jzZ/jxoGUEOc3+CRjJLak=
+
+Name: org/mozilla/javascript/Context.class
+SHA1-Digest: IIgLkPjNHM8vySUO/bkST94ypWM=
+
+Name: org/apache/lucene/index/SegmentMerger.class
+SHA1-Digest: bfE23sGtdrq/iSEw9TFPbR8xSuY=
+
+Name: org/mozilla/javascript/tools/debugger/VariableModel$1.class
+SHA1-Digest: oZjodY44LSkMjZDv784MHSoRct8=
+
+Name: org/apache/lucene/store/RAMOutputStream.class
+SHA1-Digest: FQ4peIDFd4byUQs0yO9V6cumCz0=
+
+Name: org/mozilla/javascript/tools/shell/JavaPolicySecurity.class
+SHA1-Digest: cgTeBEM+SqTBWyyrkZCAEn8nClE=
+
+Name: org/mozilla/javascript/regexp/REProgState.class
+SHA1-Digest: GuJG0kPFsXTJQT8qRhkNmiDIhLM=
+
+Name: org/apache/lucene/search/Hits.class
+SHA1-Digest: vl6lH4hVwHxv1KQ41ZTPhv0UjMY=
+
+Name: org/apache/lucene/search/TermQuery.class
+SHA1-Digest: bmLho5xwy4eu3Dnvc3g6ma5Dqr0=
+
+Name: org/apache/lucene/index/DocumentWriter.class
+SHA1-Digest: Sr9RzDq+Tu9XT3QfOA4oU4Sd8Kg=
+
+Name: org/apache/lucene/analysis/cz/CzechAnalyzer.class
+SHA1-Digest: kmNag7p9Q8oyMfFvVqpF252gjp8=
+
+Name: org/mozilla/javascript/FieldAndMethods.class
+SHA1-Digest: GnULIlgMFYkXSTuC6swq3peKpy4=
+
+Name: org/mozilla/javascript/tools/debugger/FileHeader.class
+SHA1-Digest: 400bMfdMlAjXBynzmaEji8C4sms=
+
+Name: org/apache/lucene/search/ExactPhraseScorer.class
+SHA1-Digest: d051LOYAAF1+BRsVfcHXvBS2G44=
+
+Name: org/apache/lucene/search/PhraseQuery$PhraseWeight.class
+SHA1-Digest: PYDoTnfxREMg3JWu+GQNuIE3/qU=
+
+Name: org/apache/lucene/search/Sort.class
+SHA1-Digest: FFdzxWwPRIm+N1lEikcq2CbJctg=
+
+Name: org/mozilla/javascript/NativeJavaMethod.class
+SHA1-Digest: Dqi7ADyhi2l/Nb4eOKH3h72p0ZI=
+
+Name: org/apache/lucene/search/Explanation.class
+SHA1-Digest: lL1JWd6ulyrt3HB1Bv9iCyb8vZw=
+
+Name: org/mozilla/javascript/tools/debugger/VariableModel$VariableNode
+ .class
+SHA1-Digest: JbJZQ8J5XzUWc3adKalM8Awxiqc=
+
+Name: org/apache/lucene/index/IndexWriter$2.class
+SHA1-Digest: 5X3NxGVcLMxm/PEZY9zlM7a5Dp4=
+
+Name: org/apache/lucene/index/FieldInfo.class
+SHA1-Digest: 23ovNdjnolP0xLXqMDCbcLIxmGc=
+
+Name: org/apache/lucene/search/RemoteSearchable_Stub.class
+SHA1-Digest: rOjkQi5e2jqPE+jx2s7WJJUSZSc=
+
+Name: org/mozilla/javascript/xmlimpl/QName.class
+SHA1-Digest: EaMGD+byxR0wEG7lAkG477KISdM=
+
+Name: org/mozilla/javascript/tools/debugger/MyTreeTable.class
+SHA1-Digest: EdSVo2Ovo3OF3deuK+Ca7tdsZNM=
+
+Name: org/mozilla/javascript/MemberBox.class
+SHA1-Digest: TfWi/to2Z1/M47OxkjTPxXx6e0c=
+
+Name: org/apache/lucene/index/TermBuffer.class
+SHA1-Digest: 0kVFMqBWG21Yevz0IJODEH4iJuc=
+
+Name: org/mozilla/javascript/tools/debugger/ContextWindow$3.class
+SHA1-Digest: 7U2PDqtYsaAQmUfSHtO/KvrmraE=
+
+Name: org/mozilla/javascript/ObjArray.class
+SHA1-Digest: NgYo6Gvtor3xn/x1M4+DHIZujuQ=
+
+Name: org/apache/lucene/analysis/LowerCaseFilter.class
+SHA1-Digest: Puhm18px49NILV/8pi4Z5xcTI9w=
+
+Name: org/mozilla/javascript/optimizer/Codegen.class
+SHA1-Digest: M20/ebtsUyUTZfPysaJ9t55Qjm4=
+
+Name: org/mozilla/javascript/DefiningClassLoader.class
+SHA1-Digest: HXxpibGuTtxJiJadIItl3PSNdCE=
+
+Name: org/mozilla/javascript/serialize/ScriptableOutputStream$PendingL
+ ookup.class
+SHA1-Digest: e2sm2Kv721y1DomVbGjJaRFQ1ZI=
+
+Name: org/mozilla/javascript/tools/debugger/MoreWindows$1.class
+SHA1-Digest: w1ifGEgyDHtpVSUGW1WYluwrk5I=
+
+Name: org/mozilla/javascript/ScriptRuntime.class
+SHA1-Digest: 3qXuGQvaTNVyIx+4h0NeY/OjTWc=
+
+Name: org/apache/lucene/analysis/standard/TokenMgrError.class
+SHA1-Digest: c293LG4948tuzvBrjaJjW0jkWGU=
+
+Name: org/apache/lucene/search/MultiPhraseQuery.class
+SHA1-Digest: CgOPtqVM+8JpCpFsOPoK1I0TuJk=
+
+Name: org/apache/lucene/analysis/snowball/SnowballFilter.class
+SHA1-Digest: 28tC7MxBA/h3g2QZoza94tlyPwc=
+
+Name: org/mozilla/javascript/tools/shell/PipeThread.class
+SHA1-Digest: ohl46HbaaqLBR+DANI+zFLqBZgo=
+
+Name: org/apache/lucene/search/DisjunctionSumScorer$ScorerQueue.class
+SHA1-Digest: L0o1fUzu6rjN25L4lF2m6KoGStI=
+
+Name: org/mozilla/javascript/WrapHandler.class
+SHA1-Digest: OiBwGnPkPxcDdpuGsBQW++nU6XA=
+
+Name: org/apache/lucene/queryParser/QueryParser.class
+SHA1-Digest: bV58f0AarJr0k7XVqFSRx4++4Tc=
+
+Name: org/mozilla/javascript/regexp/NativeRegExpCtor.class
+SHA1-Digest: 6Nv2LtkKaDHj6fBciDMS32iOHfg=
+
+Name: org/apache/lucene/index/MultipleTermPositions$1.class
+SHA1-Digest: mhDF+eX/e04p9MZWlXacTmA5mao=
+
+Name: org/apache/lucene/document/DateTools.class
+SHA1-Digest: JU0lQMMZeqUUDdCFPNen+yl5XD8=
+
+Name: org/getopt/luke/LukePlugin.class
+SHA1-Digest: ziyEJWgfUoss5WUbnPKFwSWYVWg=
+
+Name: org/apache/lucene/store/BufferedIndexOutput.class
+SHA1-Digest: ZZaPCeijfSNx72mcMY7viAmZnCM=
+
+Name: org/apache/lucene/index/TermEnum.class
+SHA1-Digest: zKrzIi1Lg5ebEjYwgDsmtypxxBw=
+
+Name: org/apache/lucene/search/FieldCacheImpl.class
+SHA1-Digest: +y7y7wajJmhWlfY9Oo7LdJVIGh0=
+
+Name: org/mozilla/javascript/tools/debugger/ContextWindow$1.class
+SHA1-Digest: 9A+KrE4qY9dl/XY/arM/mU/WFCQ=
+
+Name: org/mozilla/javascript/NativeJavaArray.class
+SHA1-Digest: jzeTgiSmhygyzJkwSPrqazAQMXM=
+
+Name: org/apache/lucene/index/SegmentInfos.class
+SHA1-Digest: D9Z/pzwZhaatSJWbvr52G7sgdWM=
+
+Name: org/apache/lucene/analysis/cjk/CJKTokenizer.class
+SHA1-Digest: KqGF8TfsrWhEewmHOCdje6UG4A0=
+
+Name: org/apache/lucene/analysis/fr/FrenchAnalyzer.class
+SHA1-Digest: isDxe78R8TCEQysxq+7eUHbt2i4=
+
+Name: xml/editfield.xml
+SHA1-Digest: dKs4Qu9lqjt2rFpBhzpy52nIsWY=
+
+Name: org/mozilla/javascript/SecurityController$1.class
+SHA1-Digest: uYPthN7G5y42ZWlfB2eAo+abMFQ=
+
+Name: org/mozilla/javascript/Interpreter$1.class
+SHA1-Digest: nPuqGwGPP3PaxnQ9oi/JhuRUMTc=
+
+Name: org/mozilla/javascript/IdScriptableObject.class
+SHA1-Digest: lA4eEfyeuRgL7zPCEV6UCqEJ4l4=
+
+Name: org/apache/lucene/search/PhrasePrefixQuery$PhrasePrefixWeight.cl
+ ass
+SHA1-Digest: 5q7spUlmhI0oZwAFpiToc69BM7M=
+
+Name: org/apache/lucene/search/FilteredQuery$1.class
+SHA1-Digest: QOpO29xmbq1vHnE7ODGeJAsUlPE=
+
+Name: org/apache/lucene/analysis/standard/StandardAnalyzer.class
+SHA1-Digest: GqLZnvDjTdtYvNBlqlS/Rzl5Ke8=
+
+Name: org/apache/lucene/search/IndexSearcher$3.class
+SHA1-Digest: B4NtuMxjky2OVTFaMdH0V6VPPpU=
+
+Name: org/mozilla/javascript/optimizer/ClassCompiler.class
+SHA1-Digest: ZoZ4MjSce8VQqp4Xoxk+4xAbuPI=
+
+Name: org/getopt/luke/Prefs.class
+SHA1-Digest: CUxHWNjqmFhxbFzjR+0tjnvuz7o=
+
+Name: org/apache/lucene/search/BooleanQuery$BooleanWeight.class
+SHA1-Digest: h06tqlhGIUW/b0EhVEIOh8zDawk=
+
+Name: org/apache/lucene/search/FieldSortedHitQueue$2.class
+SHA1-Digest: tPwjhEPq3hrRWwEDYJnq7meiBGk=
+
+Name: org/mozilla/javascript/tools/debugger/FileWindow.class
+SHA1-Digest: b8zVRx/fKnCdxHq6zmezb61h7Rg=
+
+Name: org/mozilla/javascript/ContextFactory$Listener.class
+SHA1-Digest: 8jApV3gugYiUGY+I1xz4h1aFaAw=
+
+Name: org/apache/lucene/search/SloppyPhraseScorer.class
+SHA1-Digest: P/s+XavwyIxAyYGP7PAAQ/LCX1E=
+
+Name: org/apache/lucene/search/BooleanQuery.class
+SHA1-Digest: d2f+IiSIERl5BAgDQVVBx14e1j0=
+
+Name: org/apache/lucene/index/SegmentReader.class
+SHA1-Digest: hLKwFWHdav+8VjsHn9uYkvkLfng=
+
+Name: org/mozilla/javascript/NativeNumber.class
+SHA1-Digest: 2P9kN3mPesaiTa+qRYi7B1uwi0c=
+
+Name: org/mozilla/javascript/NativeJavaConstructor.class
+SHA1-Digest: 57ZwPObJNiZmhngOVqHkPPcLY58=
+
+Name: org/apache/lucene/analysis/StopAnalyzer.class
+SHA1-Digest: mX4zlilvtsCPv6grfALyzRnsOis=
+
+Name: org/apache/lucene/analysis/nl/DutchStemFilter.class
+SHA1-Digest: c3XyM1gaczyhR0i/DBjXDKC4CH0=
+
+Name: org/apache/lucene/search/QueryTermVector.class
+SHA1-Digest: dLb4P3rrGPbO2YKvZfKlgT2mJa8=
+
+Name: org/apache/lucene/index/SegmentTermDocs.class
+SHA1-Digest: Ng2D+Uvp3F2i7c0Nk6pte4fc/ms=
+
+Name: org/mozilla/javascript/tools/shell/JavaPolicySecurity$1.class
+SHA1-Digest: Sw8bzjF48zOTpWjTMISTgejdYNw=
+
+Name: org/mozilla/javascript/tools/debugger/downloaded/TreeTableModelA
+ dapter.class
+SHA1-Digest: SgH8bPuKS+VR110EKxEhyJFEMC4=
+
+Name: org/apache/lucene/index/FieldsWriter.class
+SHA1-Digest: ohhJfvYMx8aTl96SS2tqbaeswlQ=
+
+Name: org/mozilla/javascript/optimizer/BodyCodegen.class
+SHA1-Digest: e+hy6yW3+fX9VSBpMCK78ovBSos=
+
+Name: org/apache/lucene/index/CompoundFileReader$FileEntry.class
+SHA1-Digest: MdTo1hqjaWwhvXYcaBu8K8y8ih4=
+
+Name: org/apache/lucene/analysis/WhitespaceTokenizer.class
+SHA1-Digest: 3+gg9IorWwUOgUZHxfEpvBD7H0k=
+
+Name: org/apache/lucene/queryParser/QueryParser$1.class
+SHA1-Digest: j3ek9l87uEqUA57rf+YYI3o4AUw=
+
+Name: org/apache/lucene/analysis/ru/RussianStemFilter.class
+SHA1-Digest: hAd/FgkHuyn8ziWXzo7n2AYJ7EA=
+
+Name: org/getopt/luke/TermInfoQueue.class
+SHA1-Digest: XVtcq/0R8UTN0HVM6uwvTfD9roY=
+
+Name: org/mozilla/javascript/ScriptRuntime$1.class
+SHA1-Digest: fIsoVE2u2D7LuCxU7AbimtbiDA8=
+
+Name: org/apache/lucene/store/RAMDirectory.class
+SHA1-Digest: eZPm06iBgt8Nqnmf6AdIOd1hoOU=
+
+Name: org/apache/lucene/search/MultiTermQuery.class
+SHA1-Digest: l1g2D0/xemNP310tPrN9TpFWgTo=
+
+Name: org/apache/lucene/index/CompoundFileWriter$FileEntry.class
+SHA1-Digest: vaR5ci1fa61Y4YvVFABiDfriEcI=
+
+Name: org/apache/lucene/analysis/de/GermanStemFilter.class
+SHA1-Digest: /RAQGYS7/wGTFj1SN4Kt4r5Mduo=
+
+Name: org/mozilla/javascript/Wrapper.class
+SHA1-Digest: NwseYuhI/PIHx+5kG0lxfJO1Qng=
+
+Name: org/mozilla/javascript/tools/debugger/RunProxy.class
+SHA1-Digest: 5ciU2GVHJgsE7UJwET3FQunwayI=
+
+Name: org/mozilla/javascript/JavaAdapter$JavaAdapterSignature.class
+SHA1-Digest: cL0e1ieqa6M8yYaarSKpqFulCjg=
+
+Name: org/apache/lucene/search/RangeQuery.class
+SHA1-Digest: 1w4Tqw4oegMXHwuNFq0TV0cRYtI=
+
+Name: img/open.gif
+SHA1-Digest: tsIa7t4u+K775HZjKuPcLDPDgVc=
+
+Name: org/mozilla/javascript/NativeCall.class
+SHA1-Digest: ldtNUItMLizQacse6SjJ1qXYsyQ=
+
+Name: xml/scr-plugin.xml
+SHA1-Digest: R4wCjGFb5oa8bEPKtvCBz9XZa38=
+
+Name: org/mozilla/javascript/Context$WrapHandlerProxy.class
+SHA1-Digest: RVhBc3r+FtvLbPx9BeSn6YHcwmw=
+
+Name: org/mozilla/javascript/tools/debugger/Dim$SourceInfo.class
+SHA1-Digest: O+NIfxdR4sd6D8H6L3ownJzW3sM=
+
+Name: org/apache/lucene/search/ReqOptSumScorer.class
+SHA1-Digest: +82fmidM+MzmMKNA/Sd9ct6XYD0=
+
+Name: thinlet/Thinlet.class
+SHA1-Digest: +IdBSHmUziNKAEDSfa9risBM2Mw=
+
+Name: org/apache/lucene/search/RemoteSearchable_Skel.class
+SHA1-Digest: 25+MQuCDp4OfTcW1m+8H4wwPmbo=
+
+Name: org/mozilla/javascript/ScriptableObject$Slot.class
+SHA1-Digest: Cg5fvlymRRFil2Mj2e60OV0D5CM=
+
+Name: org/mozilla/javascript/IdScriptableObject$PrototypeValues.class
+SHA1-Digest: YsuwTpC3sZ1YDyslABYW4/Xl3t8=
+
+Name: org/apache/lucene/index/TermVectorsWriter$TVField.class
+SHA1-Digest: 6L37OwOtJZrC3J6seTPUM/7+NWY=
+
+Name: org/apache/lucene/index/IndexWriter$5.class
+SHA1-Digest: 63a2sPwu85unbcFC442OLJTgBfQ=
+
+Name: org/apache/lucene/store/Lock$With.class
+SHA1-Digest: AH0SzjO9Ocy+vJSvW7C01ScUuok=
+
+Name: org/apache/lucene/search/TermQuery$TermWeight.class
+SHA1-Digest: 2KsAc1HCayuYpZxHtD+hg4SHMnc=
+
+Name: org/apache/lucene/search/PhrasePositions.class
+SHA1-Digest: dkq2lK05Hr9LMvruROb+MNiRaTs=
+
+Name: org/apache/lucene/analysis/standard/Token.class
+SHA1-Digest: bKRe0wcunE3MnaFlU5BNnEm9r58=
+
+Name: org/apache/lucene/analysis/cn/ChineseTokenizer.class
+SHA1-Digest: C+xuAjgjS6B6a6xVE08e0sL+HxQ=
+
+Name: org/getopt/luke/Luke.class
+SHA1-Digest: 8eM414C4mHFUFKlNokeA+fFe3gk=
+
+Name: org/apache/lucene/store/OutputStream.class
+SHA1-Digest: biw6osFPzyqWJRNr/99+mSUb/Ps=
+
+Name: org/apache/lucene/analysis/br/BrazilianStemFilter.class
+SHA1-Digest: WKTPQreUYKc9g6HhCvQZ53nyDmg=
+
+Name: org/apache/lucene/analysis/ru/RussianAnalyzer.class
+SHA1-Digest: 1yZr064mJijrdCD002Z5jDzn2O8=
+
+Name: xml/error.xml
+SHA1-Digest: lYLCtwxNtze8awbt4H9af/8DktI=
+
+Name: org/apache/lucene/queryParser/Token.class
+SHA1-Digest: vCd5NL4P56+f0yb+iiCHJo5LTCg=
+
+Name: org/mozilla/javascript/tools/debugger/Dim$DimIProxy.class
+SHA1-Digest: EjYe8nHnaQK6s78diM0ybkiuXUs=
+
+Name: org/mozilla/javascript/tools/debugger/JSInternalConsole.class
+SHA1-Digest: PAtVRMHE7lVpsJCd5pLeKxyBDLs=
+
+Name: org/apache/lucene/document/Field$Index.class
+SHA1-Digest: Ao+4W5/ZDDgRcf2blH2/WGnDUuc=
+
+Name: org/getopt/luke/HighFreqTerms.class
+SHA1-Digest: r4sRxigm7/mVK/YOZwVwiXFaKjM=
+
+Name: org/mozilla/javascript/xmlimpl/LogicalEquality.class
+SHA1-Digest: IJWhBCvtfVsnD3TfPkBwYPi6UvM=
+
+Name: org/apache/lucene/search/FuzzyQuery$ScoreTermQueue.class
+SHA1-Digest: fINdZGHeYA0pvqVrsuKIaEWk0xw=
+
+Name: org/apache/lucene/index/FieldsReader.class
+SHA1-Digest: 0/PBy8PFPSEubqycQka7Sye+R4s=
+
+Name: org/mozilla/javascript/ScriptableObject.class
+SHA1-Digest: N4iuYjJ/5J3zFfeOLO5H1sASqgA=
+
+Name: org/mozilla/javascript/tools/debugger/ContextWindow$2.class
+SHA1-Digest: FiIDRmc1ETTC6QVU2iUDgeQ/lJE=
+
+Name: org/getopt/luke/TermInfo.class
+SHA1-Digest: Ngvo3C5OmoNunV70x69vpneFljg=
+
+Name: org/mozilla/javascript/tools/debugger/MoreWindows$MouseHandler.c
+ lass
+SHA1-Digest: vufbKudJYstwhl9/FndHI+P3Zi8=
+
+Name: org/apache/lucene/store/RAMFile.class
+SHA1-Digest: HCnlIOwqBu6+CaOvL6keMY6AI+8=
+
+Name: org/mozilla/javascript/PropertyException.class
+SHA1-Digest: nlPuJBYLPFgJ6NmWG0bF2AVJuaM=
+
+Name: org/mozilla/classfile/ClassFileField.class
+SHA1-Digest: RgU8KwGbENTQF1hygDpXNhnxU8Y=
+
+Name: img/info.gif
+SHA1-Digest: D9FHAeF1ukU/GOino5K2wq3+RqE=
+
+Name: org/apache/lucene/index/MultiTermEnum.class
+SHA1-Digest: dQ7tnck+0xnOIk5X7d+LgwOkMqQ=
+
+Name: org/mozilla/javascript/regexp/RENode.class
+SHA1-Digest: TrnAnXOWugIdzqe3Y7f5lAaNE2w=
+
+Name: org/mozilla/classfile/FieldOrMethodRef.class
+SHA1-Digest: ckYHRpFv8aT3ypr1wfjZbpdFiqU=
+
+Name: org/apache/lucene/analysis/cn/ChineseFilter.class
+SHA1-Digest: 4Ja21ZiPYayrXtpZ9n6h7y/xV4Y=
+
+Name: org/mozilla/javascript/ObjToIntMap$Iterator.class
+SHA1-Digest: RlD80ngWQqYg2p3MinrRhAuA2AY=
+
+Name: org/apache/lucene/search/spans/SpanOrQuery.class
+SHA1-Digest: W3sPxQ+mz2kyWk1rQEUNqEPwG74=
+
+Name: org/mozilla/javascript/Decompiler.class
+SHA1-Digest: 00dakZFJFQt9UqyaM7StvTUIaOo=
+
+Name: org/apache/lucene/analysis/Tokenizer.class
+SHA1-Digest: DbHbHrtIOfWuH2zv0/ob0qwO2K0=
+
+Name: org/mozilla/javascript/JavaAdapter$2.class
+SHA1-Digest: GPKihFmayNoQyLf9DQ+jpdS10NM=
+
+Name: img/open2.gif
+SHA1-Digest: FAdcpQztmjaH818XqfReQiA0CRg=
+
+Name: org/mozilla/javascript/regexp/RECharSet.class
+SHA1-Digest: pAdfMQeu8KmCZX1G81oGkZVCWWY=
+
+Name: org/mozilla/javascript/NativeObject.class
+SHA1-Digest: ozxKxFhVACNggRf30GZFIJ95OSY=
+
+Name: org/getopt/luke/plugins/AnalyzerToolPlugin.class
+SHA1-Digest: FRCLrofK2D1JxAOzr9qKB97LTto=
+
+Name: org/apache/lucene/index/TermInfosWriter.class
+SHA1-Digest: G7wNE/tH3XKVLASQ8dtaV74HJzo=
+
+Name: org/apache/lucene/store/FSDirectory.class
+SHA1-Digest: 7/BuS0TVbx7I33ba9rBQPyKnl0U=
+
+Name: org/apache/lucene/search/SortComparatorSource.class
+SHA1-Digest: mu2I9XOp7y8IGAlbd4juIiH6hMg=
+
+Name: org/mozilla/javascript/tools/debugger/JSInternalConsole$1.class
+SHA1-Digest: mI+zyl8/HOsdyPjQaA3WD+IWZe4=
+
+Name: org/mozilla/javascript/tools/debugger/downloaded/JTreeTable$List
+ ToTreeSelectionModelWrapper$ListSelectionHandler.class
+SHA1-Digest: GzOI9KbPUOTGDCZIegMVrRJb/cQ=
+
+Name: xml/about.xml
+SHA1-Digest: ZiZHu8da2RHrzsIhXDyodFj0ID4=
+
+Name: org/mozilla/javascript/NativeGlobal.class
+SHA1-Digest: Rs5vc6VZtkw3mxqIhdBMA+C5qcI=
+
+Name: org/apache/lucene/store/MMapDirectory$MMapIndexInput.class
+SHA1-Digest: BpM3ZCCf8zqqComjsAdbNYNrESI=
+
+Name: org/mozilla/javascript/NativeJavaPackage.class
+SHA1-Digest: kdn0/7c/rPtGxgKgMTJaRbQJjFs=
+
+Name: org/mozilla/javascript/tools/debugger/ScopeProvider.class
+SHA1-Digest: Em3kDorAHoyxBLpvR45obxHUtQY=
+
+Name: org/mozilla/javascript/CompilerEnvirons.class
+SHA1-Digest: Yl4w7jOj/U3oO0DRlmOOooOPj44=
+
+Name: org/apache/lucene/analysis/fr/FrenchStemFilter.class
+SHA1-Digest: SKcR411vFX4uYawZSozNsdHR+Pk=
+
+Name: org/apache/lucene/search/spans/SpanQuery.class
+SHA1-Digest: xYhzvrG5FSUGXvRnGkv62HGFXiE=
+
+Name: org/apache/lucene/index/FilterIndexReader$FilterTermPositions.cl
+ ass
+SHA1-Digest: 5pB4RvKoeuNiKhX0c5P7HeBpwZc=
+
+Name: org/mozilla/javascript/Ref.class
+SHA1-Digest: tGU6LoQu5wSqf9CSCFjdm8Ajikw=
+
+Name: org/apache/lucene/analysis/LengthFilter.class
+SHA1-Digest: FJuv7AmycEt5KMnbC7HSPlS9Cqk=
+
+Name: org/mozilla/javascript/xml/XMLObject.class
+SHA1-Digest: fWE10fMXsRU3utjtqrePvwssBjY=
+
+Name: org/apache/lucene/index/MultipleTermPositions$TermPositionsQueue
+ .class
+SHA1-Digest: /EJluuXGvQcANIj69d/tAvWG34w=
+
+Name: org/apache/lucene/search/Similarity.class
+SHA1-Digest: w6Hs27YvpzMCJu9I/RnKvopVmhY=
+
+Name: org/mozilla/javascript/tools/debugger/SwingGui$1.class
+SHA1-Digest: crgU+VwSe1Qxsnws3tDtEPXp6Yg=
+
+Name: org/apache/lucene/index/IndexWriter$1.class
+SHA1-Digest: 8Y0GNPuJYhdi0h84Zbxp5m82Q9E=
+
+Name: org/apache/lucene/analysis/snowball/SnowballAnalyzer.class
+SHA1-Digest: pB0e+nfgsp8uHBGA2wngb+Llu8c=
+
+Name: org/apache/lucene/search/DateFilter.class
+SHA1-Digest: m55dbACoYeQUijTOJo7tXLzLUwQ=
+
+Name: org/apache/lucene/index/Term.class
+SHA1-Digest: JGc4iODD09JV1Hti99GmTSt1/5E=
+
+Name: org/getopt/luke/Luke$1.class
+SHA1-Digest: 2Qk8ciKkt+8GKhpkXVk6JoXT95c=
+
+Name: org/apache/lucene/index/SegmentInfo.class
+SHA1-Digest: LLrDegjpg67l0Z9fuXxthukAVUk=
+
+Name: org/apache/lucene/index/TermInfosReader.class
+SHA1-Digest: ibYcOShlV3nYYmPizjMyTfMVKxk=
+
+Name: org/apache/lucene/analysis/nl/DutchAnalyzer.class
+SHA1-Digest: fQtktgCfjjMR7jTvi7ti9iL5Mrg=
+
+Name: org/apache/lucene/search/RangeFilter.class
+SHA1-Digest: F+E+YMCxObDVrsrKP+rIDAUEvms=
+
+Name: org/apache/lucene/index/FilterIndexReader$FilterTermEnum.class
+SHA1-Digest: ztKzBl7nbcL2j5n2Sp5Hq7lusF0=
+
+Name: org/mozilla/javascript/optimizer/Block.class
+SHA1-Digest: L9NcJucwHoqnCBPtMnEm+gjYTTg=
+
+Name: org/apache/lucene/search/ScoreDoc.class
+SHA1-Digest: AHfELhk8vDMsxmacbQqWFUhAooc=
+
+Name: org/mozilla/javascript/regexp/CompilerState.class
+SHA1-Digest: tNWdWf2O6uMCdCjeIcnz4jWEfO8=
+
+Name: org/mozilla/javascript/tools/shell/ConsoleWriter.class
+SHA1-Digest: rNB9yz0MbFGdP2iI/mCDxejLD+k=
+
+Name: org/mozilla/javascript/xmlimpl/Namespace.class
+SHA1-Digest: WfH0skS/qED2lYbmrXL6DQku8/g=
+
+Name: org/apache/lucene/search/HitCollector.class
+SHA1-Digest: k6FaZEosy22HtJcsnl2/3OWg5xo=
+
+Name: org/apache/lucene/analysis/standard/StandardTokenizer.class
+SHA1-Digest: P6+AFzgxqSRw/z8V1Ci0p14q8LY=
+
+Name: org/mozilla/javascript/optimizer/DataFlowBitSet.class
+SHA1-Digest: 1Qh1B5dhIUFCJQmLn5HuGdbpOdc=
+
+Name: org/mozilla/javascript/tools/debugger/FindFunction$1.class
+SHA1-Digest: Yq+MW5rpVS7m48w/VFGzQh1/2Ew=
+
+Name: org/apache/lucene/analysis/nl/stems.txt
+SHA1-Digest: QKS1bvhekR7BeFmURc7sIdiJ3ao=
+
+Name: org/apache/lucene/index/FilterIndexReader$FilterTermDocs.class
+SHA1-Digest: h5RslN7f664CT6TM8NthAquyAR0=
+
+Name: org/mozilla/javascript/tools/debugger/FindFunction$MouseHandler.
+ class
+SHA1-Digest: zHGVtUUqrK8Ai+GHcqfosxX6odg=
+
+Name: org/apache/lucene/analysis/CharTokenizer.class
+SHA1-Digest: XiZrUikejPy8XVJyylIFEfcmHFo=
+
+Name: org/mozilla/javascript/tools/debugger/GuiCallback.class
+SHA1-Digest: ErhXRsPv/A6EABXFL5oP3P58sp0=
+
+Name: org/mozilla/javascript/tools/shell/SecurityProxy.class
+SHA1-Digest: R+dmMpmVUp2iqlvJff6hat462Bw=
+
+Name: org/apache/lucene/search/spans/SpanNearQuery.class
+SHA1-Digest: H08XuM4XGDFJBRM63jugA76VHfQ=
+
+Name: org/apache/lucene/store/FSDirectory$1.class
+SHA1-Digest: oqxfwp6/YUuDma/5DWFbD2y9d8c=
+
+Name: org/apache/lucene/analysis/SimpleAnalyzer.class
+SHA1-Digest: N8XehNdOOEAA4748nAc//u3II7A=
+
+Name: org/mozilla/javascript/Node$StringNode.class
+SHA1-Digest: Nlp9rhE2yBdwdRqZI9KV75b5hTU=
+
+Name: org/mozilla/javascript/Function.class
+SHA1-Digest: aRqFZUVuaNUkZiMiz3z+6NDJyi0=
+
+Name: org/apache/lucene/search/SortField.class
+SHA1-Digest: 9a6GEf14NJ31q3RyK3W11kIvC08=
+
+Name: img/search.gif
+SHA1-Digest: SZOn8RyO7Gml2XkOs49v11VYfSY=
+
+Name: org/apache/lucene/search/BooleanScorer.class
+SHA1-Digest: Dao93Mkn3Gc2fzFGreKuHQmUmTE=
+
+Name: org/apache/lucene/search/Weight.class
+SHA1-Digest: n+M9wqkXvCw18v1Jx4xv4ugh2XE=
+
+Name: org/apache/lucene/analysis/PorterStemFilter.class
+SHA1-Digest: sXGJLW70FOZQ3NQx9wwg1Z0+JF0=
+
+Name: org/apache/lucene/document/Field.class
+SHA1-Digest: Zg5qLMQ/mgspJfIFl1pxCSWWejA=
+
+Name: org/mozilla/javascript/optimizer/OptRuntime$1.class
+SHA1-Digest: YG1JUqwiSgriGN9YFBkrjRm3bmc=
+
+Name: org/mozilla/javascript/tools/shell/Main.class
+SHA1-Digest: WQuYTtPT6tXSp3Gl/kmuGTdilqU=
+
+Name: org/apache/lucene/analysis/TokenFilter.class
+SHA1-Digest: Ed3oIsR6braaNjOt+B/5JTSISG4=
+
+Name: org/mozilla/javascript/tools/debugger/MoreWindows.class
+SHA1-Digest: BJjqzVewL1NmyXyR5bdT0DkmVKw=
+
+Name: org/apache/lucene/document/DateTools$Resolution.class
+SHA1-Digest: oV/4AMcE/Khs1Z09dn2ss6B/d1A=
+
+Name: org/apache/lucene/search/SortComparator.class
+SHA1-Digest: sw4gPcZwRGCfYBwu11UiGuWOEiI=
+
+Name: org/apache/lucene/store/BufferedIndexInput.class
+SHA1-Digest: ZhGdd6dXdr+hl9k296FwaDu+q3I=
+
+Name: org/apache/lucene/document/DateField.class
+SHA1-Digest: ns1wVu1POcTMS/iaBqa2+rre7k4=
+
+Name: org/mozilla/javascript/FunctionNode.class
+SHA1-Digest: lcTj57paF/fFUtoAT9QpV4ch/G4=
+
+Name: org/apache/lucene/index/MultiTermDocs.class
+SHA1-Digest: qQ5SPXZ2G7anSH93ahWldGxOzJk=
+
+Name: org/mozilla/javascript/Interpreter.class
+SHA1-Digest: jG8+9I56ed2Atp1pJxdaTjwtpe4=
+
+Name: org/apache/lucene/analysis/fr/FrenchStemmer.class
+SHA1-Digest: zzO8HbaovdU1RNkQQAG18guanZc=
+
+Name: org/mozilla/javascript/xmlimpl/XML.class
+SHA1-Digest: xhUP8DZaoRtYvA2v3Ysy2wZQjmM=
+
+Name: xml/sd-plugin.xml
+SHA1-Digest: WhL0F7eLgMhUoqIHQuAH5MAj2Yo=
+
+Name: org/apache/lucene/search/ConjunctionScorer$1.class
+SHA1-Digest: K07xLVdQJNVURwOh5inhvCyxq4g=
+
+Name: org/mozilla/javascript/regexp/RECompiled.class
+SHA1-Digest: Umo/W9eHbGGF8PthV2oNmIiRJ84=
+
+Name: org/apache/lucene/analysis/de/WordlistLoader.class
+SHA1-Digest: ZiQaImpaWETaiBBK3dEl5SMUCUA=
+
+Name: org/apache/lucene/index/CompoundFileWriter.class
+SHA1-Digest: ULJpeAg+KFjRtkoDoMb3m6sgSRM=
+
+Name: org/mozilla/javascript/JavaAdapter$1.class
+SHA1-Digest: A4R8j3qgKUsekNmW8rNAr3g6zbs=
+
+Name: org/mozilla/javascript/regexp/REBackTrackData.class
+SHA1-Digest: IHRU7BK/iVeZF+T7nBJ/0HoS07g=
+
+Name: org/apache/lucene/search/FieldDoc.class
+SHA1-Digest: e+EXDRR2Zcb223AUFbBjtS+tLDQ=
+
+Name: org/apache/lucene/search/Query.class
+SHA1-Digest: xM0svZ0nWW7FZIv5pgyubfpWfzE=
+
+Name: org/apache/lucene/index/IndexReader$1.class
+SHA1-Digest: VjdhMY7HQS96/GWztsrGyQoq+3g=
+
+Name: org/apache/lucene/queryParser/QueryParser$JJCalls.class
+SHA1-Digest: hW6pYGJpoOjWPjGQ71aH4oAqke8=
+
+Name: org/mozilla/javascript/tools/debugger/downloaded/JTreeTable$List
+ ToTreeSelectionModelWrapper.class
+SHA1-Digest: oaye0EblBxje9tfPmdXMxBsOgtU=
+
+Name: org/mozilla/javascript/tools/debugger/downloaded/JTreeTable$Tree
+ TableCellEditor.class
+SHA1-Digest: /Pm3yJUl2yGP0K8aC0DT6QwmYQM=
+
+Name: org/apache/lucene/analysis/WhitespaceAnalyzer.class
+SHA1-Digest: Ejiaj6TkGEbsR5uMkbm86igXQ6w=
+
+Name: org/mozilla/javascript/NativeDate.class
+SHA1-Digest: FPHbFnzc8scJXNOeyiIrg7N/DEs=
+
+Name: org/apache/lucene/index/CompoundFileReader$1.class
+SHA1-Digest: XVjclkexzSM1hXdKK8o4lixngi8=
+
+Name: org/mozilla/javascript/JavaMembers.class
+SHA1-Digest: NJTXqUvbgfsDYTUQ5Xr7uWjtjHY=
+
+Name: org/mozilla/javascript/ScriptRuntime$IdEnumeration.class
+SHA1-Digest: +EVEQsvK0p3UjPHIjkg/GKRJWDI=
+
+Name: org/apache/lucene/store/FSIndexOutput.class
+SHA1-Digest: N5BS5RM1chdf81cAiH7hPJPmFa4=
+
+Name: org/mozilla/javascript/xmlimpl/XMLObjectImpl.class
+SHA1-Digest: FVv6/qYgeOpCa4LkiNF4JviM1a8=
+
+Name: org/apache/lucene/store/RAMInputStream.class
+SHA1-Digest: +SFadotjdec7+OELWoCKNbDAOnw=
+
+Name: org/apache/lucene/analysis/ru/RussianStemmer.class
+SHA1-Digest: 42NfBOZoAZOwqiM7+5xGiO4xOCg=
+
+Name: org/mozilla/javascript/UniqueTag.class
+SHA1-Digest: vnopVfVX6D9qQCR5XBTVUSssPIA=
+
+Name: org/apache/lucene/search/MultiSearcher$1.class
+SHA1-Digest: 94NFe30/grd13Cnmm3HVYchU3cU=
+
+Name: org/apache/lucene/analysis/KeywordTokenizer.class
+SHA1-Digest: 5VtqTOCkhN0023+JQkK1veLkARw=
+
+Name: org/apache/lucene/index/IndexWriter$4.class
+SHA1-Digest: BgGfjMdEri1xzK07S9WyBACDicI=
+
+Name: org/apache/lucene/search/Filter.class
+SHA1-Digest: UO69bmS8ZPODAG761f3TrOqWuYM=
+
+Name: org/mozilla/javascript/tools/shell/JSConsole.class
+SHA1-Digest: /CElYy1FmavKP+D12zUOcEJhos0=
+
+Name: org/mozilla/javascript/InterfaceAdapter.class
+SHA1-Digest: 40jBv9SX+bbK/Bw2q/4t100tlA8=
+
+Name: org/mozilla/classfile/ByteCode.class
+SHA1-Digest: mBYH4yLNx1VMG7wB/mLBZtvhD6g=
+
+Name: org/mozilla/javascript/tools/debugger/Main$IProxy.class
+SHA1-Digest: 0Oj4hYOj+JG3wEOQ86gDmcI/0i0=
+
+Name: org/apache/lucene/analysis/br/BrazilianStemmer.class
+SHA1-Digest: 15/2I5UaV8jeT5mKl9xjlss8l6I=
+
+Name: org/mozilla/javascript/NativeJavaObject.class
+SHA1-Digest: czGtHLHQFJxchtNpxf1/8DNA70Y=
+
+Name: org/mozilla/javascript/debug/Debugger.class
+SHA1-Digest: QCtgtcf4yt5htMi3mH0lCbPEZbI=
+
+Name: org/mozilla/javascript/NativeMath.class
+SHA1-Digest: 3c7xvSM5/+HOfiR3nc1KRqzARC0=
+
+Name: org/mozilla/javascript/xmlimpl/XML$XScriptAnnotation.class
+SHA1-Digest: XyQxoEpeIDnEj2zMdjhg/1q/GjI=
+
+Name: org/mozilla/javascript/tools/debugger/SwingGui$2.class
+SHA1-Digest: 4yVb30tsh/btFM39aQF7c2AckR8=
+
+Name: org/mozilla/javascript/tools/idswitch/SwitchGenerator.class
+SHA1-Digest: HFsk+Mu3xJI/fhW5HQx1PkyKLls=
+
+Name: org/apache/lucene/search/NonMatchingScorer.class
+SHA1-Digest: qCNY3D9nuugXV8+5Ar6artfK4dc=
+
+Name: org/mozilla/javascript/xmlimpl/NamespaceHelper.class
+SHA1-Digest: JyyW5Ie7l420WNJV6oo0Suja8LI=
+
+Name: org/mozilla/javascript/tools/shell/JavaPolicySecurity$Loader.cla
+ ss
+SHA1-Digest: 25GYnbtgROSb9TGBOdZBKyVII7I=
+
+Name: org/apache/lucene/analysis/br/BrazilianAnalyzer.class
+SHA1-Digest: KsOqGbB5ZvAOR2+A/w826hgB4rw=
+
+Name: org/mozilla/javascript/tools/debugger/ContextWindow.class
+SHA1-Digest: PaUgTBZdb/l5tCuSQqFLg1nNLS4=
+
+Name: org/apache/lucene/search/PhraseQueue.class
+SHA1-Digest: ZrP+lg2xGnU/vz3Q2PAoCK0LplQ=
+
+Name: org/apache/lucene/index/TermInfo.class
+SHA1-Digest: ivQVK/ijR5nxfH4Rntfw63GsXXk=
+
+Name: org/apache/lucene/search/ParallelMultiSearcher$1.class
+SHA1-Digest: GoSc+kUDALF1pxm0pXciq5Ku3ds=
+
+Name: org/getopt/luke/ClassFinder$1.class
+SHA1-Digest: Vl+DtXtJN82Wn023hlMk9PATbyA=
+
+Name: org/mozilla/javascript/tools/debugger/Evaluator.class
+SHA1-Digest: u1fm+3X0PRVomu7vfDDHJpnjfbk=
+
+Name: org/apache/lucene/search/FuzzyQuery$ScoreTerm.class
+SHA1-Digest: 1J4KVrHWoJ3UCa1MFSeEjJuOh8g=
+
+Name: org/apache/lucene/search/FieldSortedHitQueue$4.class
+SHA1-Digest: ziHx6LkPxqOBjv//0EYE8aUzvgU=
+
+Name: xml/VerboseSimilarity.js
+SHA1-Digest: XWVTkx0Vb27FeBZNH7oYx3q8tik=
+
+Name: org/mozilla/javascript/Callable.class
+SHA1-Digest: mLuW7ZLOlqmULYAYiSzijFPDGLA=
+
+Name: org/mozilla/javascript/BaseFunction.class
+SHA1-Digest: KFDySPIdMqoFz6t1EIzaPbcsMpI=
+
+Name: org/mozilla/javascript/tools/debugger/Dim$FunctionSource.class
+SHA1-Digest: 2u5Mry664IxrK2CdFwKev7Rds3g=
+
+Name: org/mozilla/javascript/NativeBoolean.class
+SHA1-Digest: wJDVOUTQvcSToh+PIwG7TkZoIq4=
+
+Name: org/apache/lucene/search/spans/NearSpans.class
+SHA1-Digest: wWpn0HGwUkBF3s+GyvzoUOZuevA=
+
+Name: org/apache/lucene/search/TopFieldDocs.class
+SHA1-Digest: YRsohA65mswaZxsgVboj+YPFvL4=
+
+Name: org/apache/lucene/search/FieldSortedHitQueue$1.class
+SHA1-Digest: XTfK7FZs7pLA1BGXjaWet1H0aew=
+
+Name: org/getopt/luke/IntPair.class
+SHA1-Digest: HHfakgC4hInC22C4sN4K4RQgx4Q=
+
+Name: org/mozilla/javascript/tools/idswitch/CodePrinter.class
+SHA1-Digest: oq9MgTs7UaOWRFFQQAvDUFaf8IQ=
+
+Name: org/apache/lucene/index/SegmentTermPositions.class
+SHA1-Digest: IA6dGD261Y1NGLYvBHXoR/1CsBA=
+
+Name: org/apache/lucene/search/spans/SpanTermQuery$1.class
+SHA1-Digest: Wa7exb4z7qO9oXfpMUoyNLBYix8=
+
+Name: org/apache/lucene/analysis/KeywordAnalyzer.class
+SHA1-Digest: giPFBbzuBoYuShGRJ4Vc959Wv78=
+
+Name: org/mozilla/javascript/NativeScript.class
+SHA1-Digest: 53gnYuSMT2SHZKyOJzdSp/n8izA=
+
+Name: org/apache/lucene/analysis/de/GermanAnalyzer.class
+SHA1-Digest: Pp8vquoBc/Od+b8JDONDCqrVsaA=
+
+Name: org/apache/lucene/store/FSIndexInput.class
+SHA1-Digest: vWOYmjasu9XDK1SSCfVSt45m++M=
+
+Name: org/apache/lucene/search/TopDocs.class
+SHA1-Digest: AAbzWdFsWK61tmX0i3g9zjO5JHk=
+
+Name: org/apache/lucene/document/Field$Store.class
+SHA1-Digest: bLIW0DaTDaVCeX5fjj6l7JGN8N0=
+
+Name: org/mozilla/javascript/NativeFunction.class
+SHA1-Digest: vaJAP6B3X1w6jp7gvJ9FZriPcpg=
+
+Name: org/mozilla/javascript/Token.class
+SHA1-Digest: +pH5CGJOwVKB3cyUF3NthYR5qlY=
+
+Name: org/apache/lucene/queryParser/QueryParser$LookaheadSuccess.class
+SHA1-Digest: srFOV2XrTLMetRBUXYqGZLaCBz4=
+
+Name: org/mozilla/javascript/Undefined.class
+SHA1-Digest: YoOb5FrDvBHlQvzqLV2BYIWlIXw=
+
+Name: org/apache/lucene/search/IndexSearcher.class
+SHA1-Digest: 3XxbccLIXp+zgWwNeaCKWDL2Qc4=
+
+Name: thinlet/FrameLauncher.class
+SHA1-Digest: jGBvBI4RBO0vahzf3q1TqLs2PTo=
+
+Name: org/mozilla/javascript/xmlimpl/XML$NamespaceDeclarations.class
+SHA1-Digest: f6gh40hYkKmJPcE5mUAiyc6KZ+8=
+
+Name: org/apache/lucene/analysis/standard/StandardFilter.class
+SHA1-Digest: uzAIWfX8Ud6druDFq3U8ejX64HI=
+
+Name: org/mozilla/javascript/WrapFactory.class
+SHA1-Digest: bQO5Y0AhgKEZABp++nWx1N/ZFnU=
+
+Name: org/apache/lucene/search/FieldSortedHitQueue.class
+SHA1-Digest: +9jhkIu8rQFQscYKEOQ06yAyFr0=
+
+Name: org/apache/lucene/store/MMapDirectory.class
+SHA1-Digest: PDPr3YPDhcTqr6YR4F3ybDayzzI=
+
+Name: img/props2.gif
+SHA1-Digest: UB2XiauIfKEgf2E0QRP5/hHHiwY=
+
+Name: org/apache/lucene/index/SegmentTermVector.class
+SHA1-Digest: lU/BmEQzrQ3gLbYkYX6DCQE1GkY=
+
+Name: org/mozilla/javascript/ScriptableObject$1.class
+SHA1-Digest: fgJIW6wOroDqpyILhFCraiXlVro=
+
+Name: org/getopt/luke/Luke$2.class
+SHA1-Digest: SV/Tttagk6w4WIUEBIhGjv1pvog=
+
+Name: org/apache/lucene/document/Field$TermVector.class
+SHA1-Digest: vTdlXICcNsWV2OaRTFivx/FqRu8=
+
+Name: org/apache/lucene/analysis/standard/StandardTokenizerConstants.c
+ lass
+SHA1-Digest: IgKJVt9xvXOqcWFMmz9aypa552o=
+
+Name: org/mozilla/javascript/tools/debugger/FilePopupMenu.class
+SHA1-Digest: WkV76DuMt1ZI4irF9zVJ9W0YUvU=
+
+Name: org/apache/lucene/index/MultiTermPositions.class
+SHA1-Digest: 67VOUhzmmdo+nJMSzey8Z3hrwlw=
+
+Name: org/mozilla/javascript/Node$PropListItem.class
+SHA1-Digest: gpH2Stmm+Jtygi3BuOwLihxVhPk=
+
+Name: org/mozilla/javascript/debug/DebuggableObject.class
+SHA1-Digest: M8d0ms0ZOARz3cHNVx/EsTEYcHk=
+
+Name: org/apache/lucene/store/RAMDirectory$1.class
+SHA1-Digest: ld7mxphndt1bFxg5vIF+cosOizE=
+
+Name: img/docs.gif
+SHA1-Digest: 0bFnKITBu/4SdUxo7R2qtQomQek=
+
+Name: org/mozilla/javascript/optimizer/OptTransformer.class
+SHA1-Digest: xAZ47ekvc9pqXri8M5Vm8nPzyfc=
+
+Name: org/apache/lucene/index/TermFreqVector.class
+SHA1-Digest: GiZ7ur+jLu9rVKyyYE5MOLXGstg=
+
Index: contrib/jruby/rune/luke/META-INF/MANIFEST.MF
===================================================================
--- contrib/jruby/rune/luke/META-INF/MANIFEST.MF (revision 0)
+++ contrib/jruby/rune/luke/META-INF/MANIFEST.MF (revision 0)
@@ -0,0 +1,1843 @@
+Manifest-Version: 1.0
+Created-By: 1.4.2_06-b03 (Sun Microsystems Inc.)
+Ant-Version: Apache Ant 1.6.2
+Main-Class: org.getopt.luke.Luke
+
+Name: org/mozilla/javascript/ClassShutter.class
+SHA1-Digest: fUFchwtVf3F11GtrknJ2ko5fQXw=
+
+Name: xml/lukeinit.xml
+SHA1-Digest: nlg68RbWPnY1uS25xjSeQf2Fy/A=
+
+Name: img/luke.gif
+SHA1-Digest: TyHFMESXloKSs6jh/JtWlp4QuGo=
+
+Name: org/mozilla/javascript/tools/idswitch/FileBody.class
+SHA1-Digest: vaeKT8X+G7rrTkH66x1mXZVh3aI=
+
+Name: org/apache/lucene/analysis/standard/ParseException.class
+SHA1-Digest: 1mm1xse180GsSYZLFXmjrQ80oRw=
+
+Name: org/apache/lucene/search/IndexSearcher$1.class
+SHA1-Digest: 2LVoD6z1NzyOk3+SZpLqkEixxsw=
+
+Name: org/apache/lucene/search/ParallelMultiSearcher.class
+SHA1-Digest: QuFH0DRI5w4MtrIzypxFUfdM0so=
+
+Name: xml/explain.xml
+SHA1-Digest: kNV94lnVdYePYepVwBpFqpwLRPo=
+
+Name: org/apache/lucene/index/TermPositionVector.class
+SHA1-Digest: YD/8pR1bsLrRGgki7J5o7fQw0F8=
+
+Name: org/apache/lucene/search/BooleanScorer2.class
+SHA1-Digest: c07BRSTnDITDNTrYN/stdxiw288=
+
+Name: org/mozilla/javascript/NotAFunctionException.class
+SHA1-Digest: Gen7R00mvgBk6xdYAd5WoHSuuMg=
+
+Name: org/apache/lucene/store/MMapDirectory$1.class
+SHA1-Digest: x5hUyvvZdbHxoCldVzuVpmSulx4=
+
+Name: xml/DefaultSimilarity.js
+SHA1-Digest: bU2u72c1p856V4onS1Ro+A5UdXM=
+
+Name: org/mozilla/javascript/DefaultErrorReporter.class
+SHA1-Digest: n6MXNGF9JWF6nFFy8Hd9fS9gWhA=
+
+Name: org/apache/lucene/index/IndexReader$FieldOption.class
+SHA1-Digest: K713ix37F0OEbspFojd66QOLeqU=
+
+Name: org/mozilla/javascript/Node.class
+SHA1-Digest: Xjb3Ac40kGSLQLwAH+XQYQwHlEA=
+
+Name: org/apache/lucene/search/DisjunctionSumScorer.class
+SHA1-Digest: GoqSEqVH6tXjVK9sOpe4NEe+0M4=
+
+Name: org/apache/lucene/search/FilteredTermEnum.class
+SHA1-Digest: r4BX3AFDjzOns+3jqMJMjh666rg=
+
+Name: org/apache/lucene/search/QueryFilter.class
+SHA1-Digest: su4EpT2f9O1wT1udYqkUW6fmv5c=
+
+Name: org/mozilla/javascript/tools/shell/JavaPolicySecurity$3.class
+SHA1-Digest: /FAgNi6w8RsUB7OqEhs2dpY0ljU=
+
+Name: org/apache/lucene/index/SegmentTermEnum.class
+SHA1-Digest: QJtA0G5Qp/BPVmpL0RDd0g1HUYI=
+
+Name: org/mozilla/javascript/ContextListener.class
+SHA1-Digest: rgF6IIK4i+d+FlBnJPZYbilZwGA=
+
+Name: org/mozilla/javascript/IRFactory.class
+SHA1-Digest: tW9yWBaHyDBNRVCNt6bc0uVg60w=
+
+Name: org/apache/lucene/search/ScoreDocComparator$2.class
+SHA1-Digest: +CXd78FH2e4jMPl+pro0Gd+8fYI=
+
+Name: org/mozilla/javascript/NativeWith.class
+SHA1-Digest: jg63WYe7YD/xxPPQ+2uQYucpZFo=
+
+Name: org/apache/lucene/search/FuzzyTermEnum.class
+SHA1-Digest: Ge3AJOhDqsO/3qdqEgwqw4CAmfg=
+
+Name: org/mozilla/javascript/InterpreterData.class
+SHA1-Digest: vJA635SZT9cCo/IkkhQSQaxAEEg=
+
+Name: org/apache/lucene/search/MultiPhraseQuery$MultiPhraseWeight.clas
+ s
+SHA1-Digest: 9C4ifnliU998gDoIuiOWbrlHIOs=
+
+Name: org/apache/lucene/search/BooleanQuery$TooManyClauses.class
+SHA1-Digest: JiX46O1rRe7xFKGQ3rR+l7XQfKg=
+
+Name: org/mozilla/classfile/ExceptionTableEntry.class
+SHA1-Digest: RBhm/umGQW9LZ+eYMyV8pnUV850=
+
+Name: org/apache/lucene/analysis/nl/WordlistLoader.class
+SHA1-Digest: lCI2NbCG6BBPORAJeFYdkZJLMJ4=
+
+Name: org/mozilla/javascript/tools/debugger/downloaded/AbstractCellEdi
+ tor.class
+SHA1-Digest: 57OXEg2phD9oeLt57mL5q6hsmjM=
+
+Name: org/mozilla/javascript/tools/idswitch/IdValuePair.class
+SHA1-Digest: vbaIeOnlTp0QEXqPB8eE7CbjWXY=
+
+Name: org/apache/lucene/util/StringHelper.class
+SHA1-Digest: 7iLfbuhFl5PxPQpZzmKF1RyoJPA=
+
+Name: org/apache/lucene/index/TermVectorsWriter$TVTerm.class
+SHA1-Digest: 0jTBhdNlsLhw+LADUFUTWcfCa4M=
+
+Name: org/apache/lucene/index/MultipleTermPositions$IntQueue.class
+SHA1-Digest: F5o+jIrvbD1/Jkno1KFYZxYJGbo=
+
+Name: org/apache/lucene/search/MultiSearcherThread.class
+SHA1-Digest: Y9+a0x9IcarliiH9anHMvmQfIdc=
+
+Name: img/lucene.gif
+SHA1-Digest: xg/CDeykm0j/rZ8D1HOmESnS7GE=
+
+Name: org/apache/lucene/search/BooleanQuery$BooleanWeight2.class
+SHA1-Digest: RPMWHaBnd4k41ewIxAbHPmsBG/0=
+
+Name: org/mozilla/javascript/serialize/ScriptableOutputStream.class
+SHA1-Digest: DKc5krABRez6YNlKT+vUfY2x65A=
+
+Name: org/mozilla/javascript/tools/jsc/Main.class
+SHA1-Digest: OZokaj88/55QKxCA9nj+EmKGlA8=
+
+Name: img/files.gif
+SHA1-Digest: +kkuZx/bPw+6N65MWFS9HOAgo38=
+
+Name: org/apache/lucene/search/ReqExclScorer.class
+SHA1-Digest: TFJSCPrD2YPuSON/YvEp7tochMY=
+
+Name: org/apache/lucene/search/RemoteSearchable.class
+SHA1-Digest: uesj6sPv98c/d/zlYBRr8ow7Ky8=
+
+Name: org/apache/lucene/store/InputStream.class
+SHA1-Digest: 6dHKWgwofKmZ/rQktC6UyKBi2pA=
+
+Name: xml/at-plugin.xml
+SHA1-Digest: kFdoWvi2YVDe3VtMJFUVBvBU+e8=
+
+Name: org/mozilla/javascript/NodeTransformer.class
+SHA1-Digest: 4+iCLB+1DGXSxUn7sJzciANAxG8=
+
+Name: org/apache/lucene/search/IndexSearcher$2.class
+SHA1-Digest: vOpnWmo0FHQMKnzMi1B4okNCWEs=
+
+Name: org/apache/lucene/queryParser/QueryParser$Operator.class
+SHA1-Digest: SF2Cp6mUogswaTh6s/jgII1LunQ=
+
+Name: org/mozilla/javascript/tools/debugger/MessageDialogWrapper.class
+SHA1-Digest: 22+dBvcC7RkVU+jBHVr/mJThCPE=
+
+Name: org/mozilla/javascript/NativeString.class
+SHA1-Digest: hkvgTUhAwtIp+50CEmhzbsMvoR0=
+
+Name: org/mozilla/javascript/Kit$ComplexKey.class
+SHA1-Digest: FBUiMojx8HndewIpEHFkAsq/e3I=
+
+Name: org/apache/lucene/search/BooleanScorer2$1.class
+SHA1-Digest: VnTw3CgyAh2M7qEREekPXiW0i/8=
+
+Name: org/apache/lucene/search/FilteredQuery$2.class
+SHA1-Digest: b0SrvOAnt211wJyPBEuao99ijdI=
+
+Name: org/mozilla/javascript/debug/DebuggableScript.class
+SHA1-Digest: ZbqbrVqHUCO5Lm4zyJBr9ysxxbw=
+
+Name: org/mozilla/javascript/optimizer/Optimizer.class
+SHA1-Digest: NZhW9j6qeQWEsC14zyIIambJcek=
+
+Name: org/apache/lucene/analysis/StopFilter.class
+SHA1-Digest: JjJamPMdbVkedmbdALkkE9SdZ+4=
+
+Name: org/apache/lucene/document/Document.class
+SHA1-Digest: a5x6+wlI/Ig5ssczUZS6QPYjOO8=
+
+Name: org/apache/lucene/queryParser/FastCharStream.class
+SHA1-Digest: WV4GqYBdue5EykHowbXHBF/4Tgk=
+
+Name: xml/editdoc.xml
+SHA1-Digest: wQKYwRYhLHn+uID2XzVCjyUZIGc=
+
+Name: org/mozilla/javascript/EcmaError.class
+SHA1-Digest: u8a0io/6kxh/5Ka632WLLlRZp04=
+
+Name: org/mozilla/javascript/InterpretedFunction.class
+SHA1-Digest: llcA5u7QMZMlarfgR8edzFCtpSE=
+
+Name: org/mozilla/javascript/NativeJavaClass.class
+SHA1-Digest: MkNCUIQbRYxAnDntwSR2WcFHXWQ=
+
+Name: org/apache/lucene/index/Posting.class
+SHA1-Digest: St7vk81w7S1geGWeV27f9AA6XwI=
+
+Name: org/apache/lucene/search/spans/NearSpans$SpansCell.class
+SHA1-Digest: BwbzYdKEiaJteWlWTPr7XPzdOrc=
+
+Name: org/apache/lucene/analysis/de/package.html
+SHA1-Digest: cJM1ro6WNhPdA2QDTphppe1QX7I=
+
+Name: org/apache/lucene/search/SortComparator$1.class
+SHA1-Digest: I2iDYe2XcaC6DgdpdDyD/sVCw/Y=
+
+Name: org/apache/lucene/analysis/ru/RussianCharsets.class
+SHA1-Digest: +YxDslKKxCj2sB9AsFLDeczvV78=
+
+Name: org/apache/lucene/index/CompoundFileReader$CSIndexInput.class
+SHA1-Digest: CIGx9yyndbB6e5/t/yab2Mf6B9M=
+
+Name: org/apache/lucene/store/FSIndexInput$Descriptor.class
+SHA1-Digest: a90kwXo+dDnop7tNEwUYVEiPRQQ=
+
+Name: org/apache/lucene/index/FilterIndexReader.class
+SHA1-Digest: 5qmzkbagZ6lcH09iTtah6NJtpAA=
+
+Name: org/mozilla/javascript/tools/debugger/Dim$ContextData.class
+SHA1-Digest: S2Ud58DFFVSlyPiSzSEZB1fMD18=
+
+Name: org/apache/lucene/util/BitVector.class
+SHA1-Digest: 6m4Qqhmtc7TyMkPzWJGGt5kXAUQ=
+
+Name: org/mozilla/classfile/ConstantPool.class
+SHA1-Digest: znnQhcIgSODmLNTxWsNeAlddO5s=
+
+Name: org/apache/lucene/analysis/PorterStemmer.class
+SHA1-Digest: peFruCWDCteyV/H9LU5pfa2JsXA=
+
+Name: org/mozilla/javascript/tools/resources/Messages.properties
+SHA1-Digest: UtjhN93Sefsu/XCgESXPOGSQnX0=
+
+Name: img/script.gif
+SHA1-Digest: 0EknCtWEWTsv3H0FpgiBao0sChw=
+
+Name: org/apache/lucene/index/SegmentReader$Norm.class
+SHA1-Digest: sAHmp8PbQCFVQgfynHEjMN0bqoo=
+
+Name: org/mozilla/javascript/Node$Jump.class
+SHA1-Digest: qRwh4zQyN/8+FwPgAb3BM6cavRQ=
+
+Name: img/errx.gif
+SHA1-Digest: AxdBbkjJgvZr91ZW98AYAkl3Cas=
+
+Name: org/apache/lucene/search/ScoreDocComparator$1.class
+SHA1-Digest: WwXRcqmMF7eGaZ3ezbSxam198oo=
+
+Name: org/mozilla/javascript/xmlimpl/XMLWithScope.class
+SHA1-Digest: pwgFjrOHymjyL4FjDG227whiJy8=
+
+Name: org/mozilla/javascript/tools/shell/ConsoleWrite.class
+SHA1-Digest: XMDWXTbdOs3HOSkcnkf5mOi+soI=
+
+Name: org/mozilla/javascript/Parser.class
+SHA1-Digest: y6digQ1sOTEEu5L1jMofYiBO3gM=
+
+Name: org/apache/lucene/search/PhrasePrefixQuery.class
+SHA1-Digest: wO4cNgskMh4VJn6XHYxCUAQQwRU=
+
+Name: org/mozilla/javascript/optimizer/Block$FatBlock.class
+SHA1-Digest: e5aTIaI2LTEagK8eGoQKMFp6Tkg=
+
+Name: org/getopt/luke/IntPair$PairComparator.class
+SHA1-Digest: ZFdoFi6s1wQyr0FsRDUKF40mV+w=
+
+Name: org/mozilla/javascript/Node$NumberNode.class
+SHA1-Digest: KZYHK6LgFhKd3YyOhTGKCm/x068=
+
+Name: org/apache/lucene/analysis/ru/package.html
+SHA1-Digest: XaTSuqD6EvMDT/64eQxh74kfCkQ=
+
+Name: org/apache/lucene/store/IndexOutput.class
+SHA1-Digest: x4Vk2+c5z+5rQ0fD97AmdvCt9ls=
+
+Name: org/mozilla/javascript/tools/debugger/EvalWindow.class
+SHA1-Digest: SYig9TTomZGQNTlr8Rk09ClMab0=
+
+Name: org/apache/lucene/index/TermVectorsWriter.class
+SHA1-Digest: Lh03dZ5UROrV6vEjhwooQxIH6WY=
+
+Name: org/apache/lucene/analysis/WordlistLoader.class
+SHA1-Digest: AKOKdYXrik/QWrk2D42zRBBPXsI=
+
+Name: org/mozilla/javascript/tools/shell/JavaPolicySecurity$ContextPer
+ missions.class
+SHA1-Digest: yQ3KRRB2nmuuVIagSs5v0WcNbwA=
+
+Name: org/mozilla/javascript/EvaluatorException.class
+SHA1-Digest: abNZSLY6RYds6zv+EKoir2TPtXo=
+
+Name: org/apache/lucene/index/FieldInfos.class
+SHA1-Digest: tMgGJoXyow2JF6Yoo6FNpuOS1Ig=
+
+Name: org/mozilla/javascript/IdFunctionObject.class
+SHA1-Digest: 6A5l79xXC2cW/1j2DAc+lKp4H8w=
+
+Name: org/mozilla/javascript/regexp/REGlobalData.class
+SHA1-Digest: cp6FjP53719QintMAKXkCJe34KE=
+
+Name: org/apache/lucene/search/spans/SpanWeight.class
+SHA1-Digest: kqWaGxamDRvNiyCopEV4/fn6qgc=
+
+Name: org/mozilla/javascript/SpecialRef.class
+SHA1-Digest: p7WmMpFv/+kYq7zmjkm65AAj7/g=
+
+Name: org/apache/lucene/search/FilteredQuery.class
+SHA1-Digest: pTPDDtgVYMDvIpUE/IOr/R7GPig=
+
+Name: org/mozilla/classfile/ClassFileWriter.class
+SHA1-Digest: sDm7rXtoxURiiOtlC6q9xuUNOuU=
+
+Name: org/apache/lucene/search/Searcher.class
+SHA1-Digest: 8/VKRo0JYytex8wxeFCxT1TrAas=
+
+Name: org/apache/lucene/search/WildcardTermEnum.class
+SHA1-Digest: we0Bg7GDuNqP5P0JhArKf01xt94=
+
+Name: org/mozilla/javascript/tools/shell/JavaPolicySecurity$2.class
+SHA1-Digest: ryVlIOukrFk7/4XWnNqQkieenbc=
+
+Name: org/mozilla/javascript/ContextFactory.class
+SHA1-Digest: t0Fv1NtACg1aVIW8+cS8Plt5tKQ=
+
+Name: org/mozilla/javascript/tools/shell/Environment.class
+SHA1-Digest: ghw40im6flVA8/iRjP8F3NRH8WI=
+
+Name: org/apache/lucene/search/FieldSortedHitQueue$3.class
+SHA1-Digest: ZgqWFl4knukaFjsJvp56Fsl9Hf0=
+
+Name: org/apache/lucene/analysis/nl/DutchStemmer.class
+SHA1-Digest: Rn+R77hnjaN/Dh/MV9jgVcLkeBw=
+
+Name: org/apache/lucene/search/ConjunctionScorer.class
+SHA1-Digest: +NwS1f9xes1CiCrEHBYRf0zGa0I=
+
+Name: org/apache/lucene/index/IndexReader$2.class
+SHA1-Digest: 1mK3KyqSR+W08tGgYrE+x42fsJw=
+
+Name: org/apache/lucene/queryParser/TokenMgrError.class
+SHA1-Digest: mlG/dMr7ReEPTeKouLMRE+pbg9g=
+
+Name: org/apache/lucene/index/IndexWriter$3.class
+SHA1-Digest: +aaG/CtP60FGo+fH92rOzzs/FHA=
+
+Name: org/apache/lucene/search/FieldDocSortedHitQueue.class
+SHA1-Digest: cE0XBtEUGk0lWD1KsIsjmxxrOjM=
+
+Name: org/apache/lucene/search/spans/SpanOrQuery$SpanQueue.class
+SHA1-Digest: v0lJkrkS2z56xQ+L/oossueozo8=
+
+Name: org/apache/lucene/search/FieldCache.class
+SHA1-Digest: ++g7SqqijRkuhFqdQ4econsVEOM=
+
+Name: org/apache/lucene/search/BooleanScorer2$2.class
+SHA1-Digest: xgnu73N8arUuc+YzmEmZqAl4sYU=
+
+Name: .plugins
+SHA1-Digest: X+5i0M+GW+msKxFZlR9GItGiTyY=
+
+Name: org/mozilla/classfile/ClassFileMethod.class
+SHA1-Digest: RX7Pn9nS/AMH3qGiFly7RIeVStk=
+
+Name: org/apache/lucene/search/HitQueue.class
+SHA1-Digest: 5ZBvQLQPK5CFzj1HjYVpTeuOktY=
+
+Name: org/mozilla/javascript/tools/debugger/downloaded/JTreeTable$Tree
+ TableCellRenderer.class
+SHA1-Digest: jI8BMBkQ30UT5b5ri3muJVhGmRU=
+
+Name: org/mozilla/javascript/debug/DebugFrame.class
+SHA1-Digest: 0B5ZOIsZvDqHa0gf/yIceHWWriA=
+
+Name: org/apache/lucene/analysis/ru/RussianLetterTokenizer.class
+SHA1-Digest: e/kdeuNhuVW2Ov44UuHuqnT2MoA=
+
+Name: org/mozilla/javascript/Parser$1.class
+SHA1-Digest: HFa+8nhZP45sAZaHQ2ciRDCajDU=
+
+Name: org/mozilla/javascript/tools/debugger/downloaded/TreeTableModelA
+ dapter$3.class
+SHA1-Digest: lxQvXW9bkjMA07q/zmBNJLPTbAI=
+
+Name: org/mozilla/javascript/RegExpProxy.class
+SHA1-Digest: NZcMgteMirpL4iMikY2RiSEr8tc=
+
+Name: org/apache/lucene/search/BooleanClause.class
+SHA1-Digest: nm3xMHT8Rc4/c5Va25i7WqTRNPo=
+
+Name: org/mozilla/javascript/JavaAdapter.class
+SHA1-Digest: unJsIu9+VMIWp/iPPS+tCIq/Br8=
+
+Name: org/apache/lucene/search/BooleanClause$Occur.class
+SHA1-Digest: cKSUXIe2TjgwyqdPKt7K6AUq4wk=
+
+Name: org/apache/lucene/search/BooleanScorer$Bucket.class
+SHA1-Digest: 26+y2heuADQDu1vmijhlEInZtoE=
+
+Name: org/mozilla/javascript/DToA.class
+SHA1-Digest: UA9+nZaLZDIHDFnxyaIhWWpO+AM=
+
+Name: org/mozilla/javascript/SecurityController.class
+SHA1-Digest: oB7aLbXbkMQv+iuN+1wrNfp658M=
+
+Name: org/mozilla/javascript/tools/debugger/Dim.class
+SHA1-Digest: rjg59+lEoAFkPyCN8Hen4RgFYeU=
+
+Name: org/apache/lucene/analysis/de/GermanStemmer.class
+SHA1-Digest: qkj411VPsLlzr9Wr1CY7twH0lJY=
+
+Name: org/mozilla/javascript/Interpreter$CallFrame.class
+SHA1-Digest: VQBIs1/M/xwk8LwZhj3FxSs6w7A=
+
+Name: org/mozilla/javascript/tools/shell/ShellContextFactory.class
+SHA1-Digest: SWJhocQ6KHOI9mSVyMqP9shkeVI=
+
+Name: org/apache/lucene/analysis/standard/FastCharStream.class
+SHA1-Digest: 1Qve910cnQqAxz/74Iibk6oVOGI=
+
+Name: org/mozilla/javascript/xml/XMLLib.class
+SHA1-Digest: sycWI9jUaa1M3Q4lHUlfWYMxVas=
+
+Name: org/mozilla/javascript/regexp/NativeRegExp.class
+SHA1-Digest: 7ldKunpUcl5lXrb0cL/lnKU37hs=
+
+Name: org/apache/lucene/index/CompoundFileReader.class
+SHA1-Digest: N1w4AMI+TXJ1/nT/d30SeodALLU=
+
+Name: org/apache/lucene/search/PrefixQuery.class
+SHA1-Digest: hdglBMioUtFcL6nAs5LNeh95QDY=
+
+Name: org/mozilla/javascript/ClassDefinitionException.class
+SHA1-Digest: Yg9U5/8VQhdM8GVa7+hEF1mozYU=
+
+Name: org/apache/lucene/search/WildcardQuery.class
+SHA1-Digest: jyElxpj4xLWlGmLakLRBGpfJon0=
+
+Name: org/getopt/luke/plugins/SimilarityDesignerPlugin.class
+SHA1-Digest: iGkXPf/W2HkByQyEZAgf2ifaFGI=
+
+Name: org/getopt/luke/plugins/ScriptingPlugin.class
+SHA1-Digest: 4eRb4Kt2j0fQ1Lz8UxK4pS1VLYw=
+
+Name: org/getopt/luke/plugins/Shell.class
+SHA1-Digest: pz0Nu6FaJXLhSMks15khcEbGi+M=
+
+Name: org/mozilla/javascript/JavaScriptException.class
+SHA1-Digest: 8x15lWgNFzG70TFJW7Ukv6Oep3E=
+
+Name: org/apache/lucene/search/BooleanScorer$BucketTable.class
+SHA1-Digest: 7BqHiM6ivGnB6HNdBXFFU/CuOSo=
+
+Name: img/delete.gif
+SHA1-Digest: HbTRw4KeIagJhS8PgFoLLxtZM3A=
+
+Name: org/mozilla/javascript/tools/debugger/MyTableModel.class
+SHA1-Digest: R4uhWGb/mW/Tj/qsovX+AmKbIjU=
+
+Name: org/apache/lucene/store/MMapDirectory$MultiMMapIndexInput.class
+SHA1-Digest: Uij0dPJUdZvRMs18utCsm3r66pg=
+
+Name: org/mozilla/javascript/continuations/Continuation.class
+SHA1-Digest: OCt7Fco4guNOPwt0rNFuoRKj4Qw=
+
+Name: org/apache/lucene/search/spans/SpanFirstQuery$1.class
+SHA1-Digest: m+da5Taqpi5J7u/8mn4XUgkJva8=
+
+Name: org/mozilla/javascript/tools/debugger/Menubar.class
+SHA1-Digest: wCd8zTbZhOKAYcVc4A7FJabzFa8=
+
+Name: org/apache/lucene/search/spans/SpanNotQuery.class
+SHA1-Digest: GXf9qwUAcPZ//80fs711sQiwyu0=
+
+Name: org/mozilla/javascript/tools/debugger/Dim$StackFrame.class
+SHA1-Digest: FeNA0phQorLRFQV0BJVD8r95cOk=
+
+Name: org/apache/lucene/index/SegmentTermPositionVector.class
+SHA1-Digest: WLs/RmeWBsa4Wq9pc9/BZkIl1yE=
+
+Name: org/apache/lucene/analysis/nl/words.txt
+SHA1-Digest: Ky79dL0G6QWJBLK76a86wTJwqzE=
+
+Name: org/apache/lucene/analysis/snowball/package.html
+SHA1-Digest: o1B0M0rE9GPsNi5ysnd1zS/lySA=
+
+Name: org/mozilla/javascript/FunctionObject.class
+SHA1-Digest: G1JYcVeBdatxw1FLp5MFNhAh8dE=
+
+Name: org/apache/lucene/search/TermScorer.class
+SHA1-Digest: y5ZkFIvdc6gLoQB2MKBtNXRyerI=
+
+Name: org/apache/lucene/analysis/standard/StandardTokenizerTokenManage
+ r.class
+SHA1-Digest: F1vtA30CW+0FTtodmMal3PTOCRQ=
+
+Name: org/apache/lucene/index/TermVectorsWriter$1.class
+SHA1-Digest: oX8/3to1JiOHzsNd1XmOh065XlQ=
+
+Name: org/apache/lucene/search/spans/SpanScorer.class
+SHA1-Digest: DMCGHLi8Z2/C59cOIhoHqNMLSJE=
+
+Name: org/mozilla/javascript/tools/shell/JSConsole$2.class
+SHA1-Digest: 9S2g+ZdCY5rzvQLUt7k6lUGfn4w=
+
+Name: org/mozilla/javascript/Scriptable.class
+SHA1-Digest: lzqEp+CmKxKeiQo17lyewNz5quM=
+
+Name: org/mozilla/javascript/tools/shell/ConsoleTextArea.class
+SHA1-Digest: HCjg5OQBEQafIAWswL0E4/BVN5I=
+
+Name: org/apache/lucene/index/TermVectorOffsetInfo.class
+SHA1-Digest: QOHczsrv3s2lvZuNB9PzrcCBBhA=
+
+Name: org/apache/lucene/analysis/LowerCaseTokenizer.class
+SHA1-Digest: WGh/e8uxBXb0SxxI15vK/fW3W9c=
+
+Name: org/apache/lucene/search/CachingWrapperFilter.class
+SHA1-Digest: BlckSdr59SNo1MBxwjdHrvrLTXM=
+
+Name: org/apache/lucene/search/PhraseQuery.class
+SHA1-Digest: VUY1FcWVzHMR/RT0JvqhQLL+jWk=
+
+Name: org/apache/lucene/document/NumberTools.class
+SHA1-Digest: F/7bKYNyXAur9YuOubpUAeh18zo=
+
+Name: org/apache/lucene/search/spans/SpanTermQuery.class
+SHA1-Digest: Lt1RGKqzinyw+LTAvmVLCj0A8sk=
+
+Name: org/getopt/luke/plugins/CustomSimilarity.class
+SHA1-Digest: PYCTFrka4fr2vNhF7rRRI+2wEWw=
+
+Name: org/apache/lucene/search/spans/SpanOrQuery$1.class
+SHA1-Digest: b05vB1wClQw5tJQkf6lBIcEx2SY=
+
+Name: org/mozilla/javascript/tools/debugger/EvalTextArea.class
+SHA1-Digest: d3U9YTrswYdRxWRK/1JqDAMobRo=
+
+Name: org/apache/lucene/search/BooleanScorer2$SingleMatchScorer.class
+SHA1-Digest: U2NUz4biv7U/T4HQlJjB0jlJ2dY=
+
+Name: org/mozilla/javascript/tools/debugger/VariableModel.class
+SHA1-Digest: JvcJLCcNf2Q+sVuzuriOmHMBR7k=
+
+Name: org/mozilla/javascript/resources/Messages.properties
+SHA1-Digest: LoFX7ypXSpZRwXJUIiAcWkelFlI=
+
+Name: org/mozilla/javascript/xmlimpl/XMLList$AnnotationList.class
+SHA1-Digest: /z3AaHkChvw5Q73JlEcBOBI3BvQ=
+
+Name: org/apache/lucene/analysis/cjk/CJKAnalyzer.class
+SHA1-Digest: +w5WaQ5ae/a3UI6rml+gW13+v2o=
+
+Name: org/mozilla/javascript/tools/shell/Global.class
+SHA1-Digest: mDM2q/yaOXHVZneSHWeTZ6jSpGc=
+
+Name: org/mozilla/javascript/Script.class
+SHA1-Digest: HWy7fg2dKD43SIrNDDLqqsjQkpU=
+
+Name: org/mozilla/javascript/Parser$ParserException.class
+SHA1-Digest: hdXISIrpXFXJ2rbQd9yevw4k2Fk=
+
+Name: org/apache/lucene/index/CompoundFileWriter$1.class
+SHA1-Digest: X6uOS1q6aYcggewRWvXtP10QREI=
+
+Name: org/mozilla/javascript/tools/debugger/FileTextArea.class
+SHA1-Digest: D6rVYu2GleUyvOKS+QHAcsegLjU=
+
+Name: org/apache/lucene/analysis/Analyzer.class
+SHA1-Digest: 4fksBBChPuBl+pgItnVJRu5Xhnc=
+
+Name: org/mozilla/javascript/ClassCache.class
+SHA1-Digest: hXtR1BjGBTixtKhlg++C9ude6Vk=
+
+Name: org/getopt/luke/BrowserLauncher.class
+SHA1-Digest: BkubfvvblU07GoWRg6lax26vRtY=
+
+Name: org/apache/lucene/store/Directory.class
+SHA1-Digest: JsPq7eCLQ4/UNeIm0ziljSwAeNw=
+
+Name: org/apache/lucene/analysis/TokenStream.class
+SHA1-Digest: VTKbEg7we+P9WNd5usiZ73qTwBk=
+
+Name: org/mozilla/javascript/Node$1.class
+SHA1-Digest: PPFMFPY8ODfgJk6B44LjLCwx93E=
+
+Name: org/apache/lucene/util/Constants.class
+SHA1-Digest: NipUK6Y8axefNMfPTxeuKwUknkI=
+
+Name: org/mozilla/javascript/ContextAction.class
+SHA1-Digest: qV8YKzjUwWUqWnpdmhBPhfegfNY=
+
+Name: org/apache/lucene/search/spans/SpanNotQuery$1.class
+SHA1-Digest: bliIjC7+AT3H+trHqg4nJmihGcU=
+
+Name: org/mozilla/javascript/Delegator.class
+SHA1-Digest: wLYggeFPCawgSlUhkoeqfPnCupo=
+
+Name: org/apache/lucene/search/PhraseScorer.class
+SHA1-Digest: 73SRMKsxWYjTndsspvMap5UlF7A=
+
+Name: xml/vector.xml
+SHA1-Digest: wCikYl37uFPMCR0mss/vYTlm1Ds=
+
+Name: org/mozilla/javascript/WrappedException.class
+SHA1-Digest: 62VN4bxBNK26DrAWQl24Ss7wmgM=
+
+Name: org/mozilla/javascript/tools/ToolErrorReporter.class
+SHA1-Digest: 7MnBBP1AP9SGf6vwRyZxrR9fMnY=
+
+Name: org/apache/lucene/search/BooleanScorer$Collector.class
+SHA1-Digest: r5D2b5COnMpeZE8NMJcipziXI3g=
+
+Name: org/mozilla/javascript/tools/shell/Runner.class
+SHA1-Digest: kDQygzR2WCsUFVCZ63FVet0rWtQ=
+
+Name: org/apache/lucene/search/MultiSearcher.class
+SHA1-Digest: u9qPX52PSGHvzJlFCqrNzvKZ6kc=
+
+Name: org/mozilla/javascript/tools/debugger/SwingGui.class
+SHA1-Digest: wsi5JVI+TfQRpkzu876pToyzEUE=
+
+Name: org/mozilla/javascript/serialize/ScriptableInputStream.class
+SHA1-Digest: xB6SNlp1UAdDnduFuATBVwKEyzc=
+
+Name: org/mozilla/javascript/optimizer/InvokerImpl.class
+SHA1-Digest: Ivd01ZKiuGwBY7av0BbVV2qLtHE=
+
+Name: org/apache/lucene/search/spans/Spans.class
+SHA1-Digest: ggIac0N/90XiPC5La7yVlZgC2Mo=
+
+Name: org/apache/lucene/index/TermDocs.class
+SHA1-Digest: 3A8eI9Cmm6ciuvVrEwx0dgU7baA=
+
+Name: org/apache/lucene/queryParser/QueryParserConstants.class
+SHA1-Digest: harLW+/uxXsBGSxFL9RdTHTVSnA=
+
+Name: org/apache/lucene/search/Searchable.class
+SHA1-Digest: rNgCC/0GosNS2dCSc4ujmApZG6g=
+
+Name: org/mozilla/javascript/ScriptOrFnNode.class
+SHA1-Digest: nLHwGv4oy1Kk7Ga87kwgqSxadGc=
+
+Name: org/mozilla/javascript/ErrorReporter.class
+SHA1-Digest: qn85d5xY99gHaFqIfcoUp2uQUFE=
+
+Name: xml/selfont.xml
+SHA1-Digest: VWMaC/mj4ZcF8BeFp2XGUaCm7Ks=
+
+Name: org/apache/lucene/index/SegmentMergeInfo.class
+SHA1-Digest: iA4xQXoHYsIt88J8wKNlHL1gD5k=
+
+Name: xml/SampleScript.js
+SHA1-Digest: TfmsnKt99v6IOhVVj6r6Y+7iQx0=
+
+Name: org/apache/lucene/search/BooleanScorer$SubScorer.class
+SHA1-Digest: s8CAKjqk6+Ggm8ZLhS5dY177QZ0=
+
+Name: org/mozilla/javascript/tools/debugger/downloaded/TreeTableModel.
+ class
+SHA1-Digest: af7N/6Zp5JkAHRx5HRAQXatpc9U=
+
+Name: org/mozilla/javascript/tools/shell/JSConsole$1.class
+SHA1-Digest: ehrFR3XmFR1ylnaa3FXzMzKrhfE=
+
+Name: org/apache/lucene/analysis/standard/CharStream.class
+SHA1-Digest: E6y9MQPK+nBXwzZVTYQBnaIuPPY=
+
+Name: org/mozilla/javascript/tools/idswitch/FileBody$ReplaceItem.class
+SHA1-Digest: hc0TWyNf6bj2vQR9gyA0YkVdF7o=
+
+Name: org/mozilla/javascript/regexp/RegExpImpl.class
+SHA1-Digest: VGNE76Fv9v3Xzh7H4xOk5O2agZs=
+
+Name: org/apache/lucene/search/FieldCacheImpl$Entry.class
+SHA1-Digest: RmBjwFZQQ8zBMP0K31oA0HbYfIQ=
+
+Name: org/mozilla/javascript/optimizer/OptRuntime.class
+SHA1-Digest: ojaR9h8aDpbjqWu3CCKXXHhSB2Q=
+
+Name: org/mozilla/javascript/NativeJavaTopPackage.class
+SHA1-Digest: 2tWkDmH3ojYyYw06mcOUSg8aHMc=
+
+Name: org/apache/lucene/index/IndexReader.class
+SHA1-Digest: gp3OmsVkgtpF8JZqcW9cl7nCMek=
+
+Name: org/apache/lucene/util/PriorityQueue.class
+SHA1-Digest: gaSg99E+EJm7e7N8Y3fogws8JkA=
+
+Name: org/mozilla/javascript/IdFunctionCall.class
+SHA1-Digest: qAHCQOGfVS7EP6ijb6iHUzrz+Ik=
+
+Name: org/apache/lucene/analysis/ru/RussianLowerCaseFilter.class
+SHA1-Digest: dN8f9ipFoMrBQUNzhmsHN7tsXzg=
+
+Name: org/apache/lucene/index/SegmentMergeQueue.class
+SHA1-Digest: 1dIs1sMXc9VCZt0r9TeH9EpVv8M=
+
+Name: org/apache/lucene/analysis/LetterTokenizer.class
+SHA1-Digest: kPd+Fqp6TQlSLymBXumWQIehiB4=
+
+Name: org/mozilla/javascript/tools/debugger/downloaded/JTreeTable.clas
+ s
+SHA1-Digest: BY+6Xn+/+rvJamqnBi53YdZn/Jw=
+
+Name: org/apache/lucene/analysis/PerFieldAnalyzerWrapper.class
+SHA1-Digest: u74HDmsuRz69KGIunZeDWAtojvI=
+
+Name: org/apache/lucene/search/ScoreDocComparator.class
+SHA1-Digest: ofu9c4dXcAyunD3W7zx1WVLTLO0=
+
+Name: org/getopt/luke/ClassFinder.class
+SHA1-Digest: T4STUDiTlKm/dO4DsgnQMBdcjZA=
+
+Name: org/apache/lucene/analysis/Token.class
+SHA1-Digest: nNyqrUebcZ7x3VgGo6hdxSmBsrg=
+
+Name: org/apache/lucene/util/Parameter.class
+SHA1-Digest: g0GDhBiCDu+Cmxr8I842QVuIcc0=
+
+Name: org/apache/lucene/search/FuzzyQuery.class
+SHA1-Digest: OB20A9KCPQtKPJb6HDI3vhiw7dU=
+
+Name: org/mozilla/javascript/NativeArray.class
+SHA1-Digest: 6hMW7F6yZ0fnXYRNh5N6KIzKkz4=
+
+Name: img/simil.gif
+SHA1-Digest: OgA14Fb+/e9l3zPdHX+QnxerM5E=
+
+Name: org/mozilla/javascript/xmlimpl/XMLName.class
+SHA1-Digest: VSdoUgPN9HKrsTUdSwtGxZ86OsQ=
+
+Name: org/mozilla/javascript/ObjToIntMap.class
+SHA1-Digest: xzmn0jJwz7vUaERujgJ7Uey/fVI=
+
+Name: org/mozilla/javascript/regexp/SubString.class
+SHA1-Digest: wc+ty25Oe9CiP0wwCafUUoRLbUo=
+
+Name: img/terms.gif
+SHA1-Digest: /PRGmXLNTk16js1NJUJV7CBWrfo=
+
+Name: org/mozilla/javascript/LazilyLoadedCtor.class
+SHA1-Digest: yUuiUQYeSnEbnbJYwz1yv6kRv74=
+
+Name: org/mozilla/javascript/tools/idswitch/Main.class
+SHA1-Digest: DGi6glKEX+WZOq+UAOCQCPu5mXk=
+
+Name: org/mozilla/javascript/Synchronizer.class
+SHA1-Digest: VDOHTLEFsqbXPaKGGxK2JnTl1Jc=
+
+Name: org/mozilla/javascript/BeanProperty.class
+SHA1-Digest: LaQfaxOaBWDf3FXWQmh+1myXD40=
+
+Name: org/apache/lucene/store/IndexInput.class
+SHA1-Digest: X5YOcPBbUvqIlfEvahOAY8Sv3ms=
+
+Name: org/mozilla/javascript/optimizer/Block$1.class
+SHA1-Digest: 5sjtSHxfOAezcAdWiFlLz9M/aeM=
+
+Name: org/mozilla/javascript/TokenStream.class
+SHA1-Digest: RgRxPXNSReOf3EsFLYQ3noOxgc8=
+
+Name: org/mozilla/javascript/ImporterTopLevel.class
+SHA1-Digest: vwFEX5oVPM1hteEF9wrDKOKALzA=
+
+Name: org/apache/lucene/search/HitDoc.class
+SHA1-Digest: JDm71lDc37B5AlupPw/R3PlpBqk=
+
+Name: org/apache/lucene/queryParser/CharStream.class
+SHA1-Digest: qAWmqqaQEPShq8Q7MKMaV+3wO38=
+
+Name: org/getopt/luke/GrowableStringArray.class
+SHA1-Digest: W7nU1jQrLqmpZ+iX8pAuMs7NUms=
+
+Name: org/mozilla/javascript/xmlimpl/XMLList.class
+SHA1-Digest: 78ACH3SEpIeMBj1gbZwttBKDk7c=
+
+Name: org/mozilla/javascript/tools/debugger/downloaded/TreeTableModelA
+ dapter$2.class
+SHA1-Digest: UxL2WWDiUVB4wDlR3jzoJx9zcUo=
+
+Name: org/apache/lucene/index/IndexWriter.class
+SHA1-Digest: gd59IA+TIXxD9HrFXaj8gjJWSzI=
+
+Name: org/mozilla/javascript/xmlimpl/XMLCtor.class
+SHA1-Digest: DxMYlY2gCkLCDSuKYtlCY4wGCO4=
+
+Name: org/mozilla/javascript/tools/debugger/FindFunction.class
+SHA1-Digest: IlA3I1CZZz9W9eUFw8wyeZByNdU=
+
+Name: org/mozilla/javascript/resources/Messages_fr.properties
+SHA1-Digest: K33EpOS6N27jHeGBECzId9oxeBs=
+
+Name: org/mozilla/javascript/Arguments.class
+SHA1-Digest: NiteLMY/nevi/23Ogk5C27k1UGs=
+
+Name: org/mozilla/javascript/GeneratedClassLoader.class
+SHA1-Digest: iMVBmk74Vb4N0vK768rVtSVy48k=
+
+Name: org/mozilla/javascript/Interpreter$ContinuationJump.class
+SHA1-Digest: +NDvD1lNKYaBjWDK+4bnjYcJZAk=
+
+Name: xml/luke.xml
+SHA1-Digest: xWPTUaOkYpNjt2ifCsZPq6dexDE=
+
+Name: xml/progress.xml
+SHA1-Digest: 6YZZj7mGm+1xlqLfxlL3scI//hA=
+
+Name: org/mozilla/javascript/Kit.class
+SHA1-Digest: BuV/M7U+xBPO6giuMA6bwHQqIKM=
+
+Name: img/luke-big.gif
+SHA1-Digest: 7trGLF/mQEb/fcINCBa5enYuBmU=
+
+Name: org/mozilla/javascript/tools/debugger/downloaded/TreeTableModelA
+ dapter$1.class
+SHA1-Digest: Hdk4sHgtqSidGmmOqgaAbaaGSeY=
+
+Name: org/mozilla/javascript/NativeError.class
+SHA1-Digest: JIjGqOCxwVEdpvLRlmz8Ptre4SU=
+
+Name: org/apache/lucene/index/MultipleTermPositions.class
+SHA1-Digest: cwkPB2gXY9LInAsALp+tJNJK7Ew=
+
+Name: org/apache/lucene/search/spans/SpanFirstQuery.class
+SHA1-Digest: hSV19jO8WwF0Y+1YwpmSci5quUE=
+
+Name: img/open3.gif
+SHA1-Digest: pH5f2jj410ZP+CmseAua15luaYE=
+
+Name: org/apache/lucene/search/FieldCache$StringIndex.class
+SHA1-Digest: prjK20hZ22p7CrR1pLdQZhydL2s=
+
+Name: org/mozilla/javascript/tools/debugger/Main.class
+SHA1-Digest: lv4Q61oEq71h3nDjwoELNCRw9jA=
+
+Name: org/mozilla/javascript/UintMap.class
+SHA1-Digest: 1ORQIZFGdJqLBvi06An0IB5w4kc=
+
+Name: org/apache/lucene/queryParser/MultiFieldQueryParser.class
+SHA1-Digest: lPTv3lXTSlcRYD1CUbjvPtCsx74=
+
+Name: org/getopt/luke/plugins/TAWriter.class
+SHA1-Digest: 90WH6XIpUVwx2sYXjLliIcbLCKA=
+
+Name: img/tools.gif
+SHA1-Digest: bFqSS/wi0fFf7NspAXkK1fr6K2o=
+
+Name: xml/qexplain.xml
+SHA1-Digest: yaJUYW+I6agSe+xGnuRVX+PSn5E=
+
+Name: org/mozilla/javascript/xmlimpl/XMLLibImpl.class
+SHA1-Digest: LhXPTFqR39HYA6R7KSTbh5JVYiY=
+
+Name: org/mozilla/javascript/ScriptableObject$GetterSlot.class
+SHA1-Digest: 83ukL+0faEZEm1ZuxwFNjjI34jA=
+
+Name: org/apache/lucene/search/BooleanScorer2$Coordinator.class
+SHA1-Digest: zHZGiEGNRrrys4hSoeSZvL6tZj4=
+
+Name: org/apache/lucene/index/TermPositions.class
+SHA1-Digest: uNqypG07uNViSTvcsCSPXPhVUeI=
+
+Name: org/apache/lucene/index/MultiReader.class
+SHA1-Digest: T6u/L7Rrah1fHn27+aorY3okp+0=
+
+Name: org/apache/lucene/analysis/cn/ChineseAnalyzer.class
+SHA1-Digest: LWTlVYsZRuLxHJIl0BypsH3dzVM=
+
+Name: org/mozilla/javascript/regexp/GlobData.class
+SHA1-Digest: CY99+j8nSQ8jY9pHqysiF9xomO8=
+
+Name: org/apache/lucene/search/DefaultSimilarity.class
+SHA1-Digest: 2hp4TMgKo7rhRmwc/eU5l0lEo4U=
+
+Name: org/apache/lucene/store/Lock.class
+SHA1-Digest: 6LvaWLGOdwKWSy+/HvLxjXh3RdM=
+
+Name: xml/WikipediaSimilarity.js
+SHA1-Digest: VBI3f+dyf5ygQVentY5fNnKbFtw=
+
+Name: org/apache/lucene/search/Scorer.class
+SHA1-Digest: CsETJQ+EoSa+6gvezfEfauIlp14=
+
+Name: org/apache/lucene/queryParser/QueryParserTokenManager.class
+SHA1-Digest: 0c4jXZHq3L2m6K4R39vawkbag6I=
+
+Name: org/mozilla/javascript/optimizer/OptFunctionNode.class
+SHA1-Digest: hSyMiXOxVyx7BzH1cjFxEZ+ri6A=
+
+Name: org/mozilla/javascript/tools/shell/Main$IProxy.class
+SHA1-Digest: xfUiYznHopJaQjV20IeC8VZIEGA=
+
+Name: org/apache/lucene/search/spans/NearSpans$CellQueue.class
+SHA1-Digest: 91gMTHzvevcuFumSL9EbcHWowoY=
+
+Name: org/mozilla/javascript/Invoker.class
+SHA1-Digest: ScdsRtxO/bDtlAaXb20YoEyUedo=
+
+Name: org/apache/lucene/index/TermVectorsReader.class
+SHA1-Digest: bdwOzsJCUTHN3W/rWwy496R1jlI=
+
+Name: org/apache/lucene/search/QueryFilter$1.class
+SHA1-Digest: SK3CBUlVMFErT9HiJBqVUgOGO50=
+
+Name: org/mozilla/javascript/RhinoException.class
+SHA1-Digest: clezdndKXBYSnA1ugNAW282RwFk=
+
+Name: org/apache/lucene/queryParser/ParseException.class
+SHA1-Digest: /ku08S19+yWHEvl7HVxrEryE6cs=
+
+Name: org/mozilla/javascript/Context.class
+SHA1-Digest: UG+MiG7Is3UOUE3Q+LK+nXV5cVk=
+
+Name: org/apache/lucene/index/SegmentMerger.class
+SHA1-Digest: gFtmozHgVBWGM2UJlvYbkJuv15g=
+
+Name: org/mozilla/javascript/tools/debugger/VariableModel$1.class
+SHA1-Digest: pEaeHUIX3DIs4A0qKTJdZJCOLCU=
+
+Name: org/apache/lucene/store/RAMOutputStream.class
+SHA1-Digest: 7SSV64/GP8bTbE/WW+laIQ8c7YE=
+
+Name: org/mozilla/javascript/tools/shell/JavaPolicySecurity.class
+SHA1-Digest: Fs+5xi3UoORF4dsddpY1YL0Yu+U=
+
+Name: org/mozilla/javascript/regexp/REProgState.class
+SHA1-Digest: geKfwBjdEYf7dhSrzcA1DGYt1KI=
+
+Name: org/apache/lucene/search/Hits.class
+SHA1-Digest: 8wLS62BkJVR7y7CWZPTQ5Ifiz8Q=
+
+Name: org/apache/lucene/search/TermQuery.class
+SHA1-Digest: kSyxzi2jDn5bBzEXE+oI066F1/4=
+
+Name: org/apache/lucene/index/DocumentWriter.class
+SHA1-Digest: vZieX4hGWpWqnpgNuBbwLmZeJ+o=
+
+Name: org/apache/lucene/analysis/cz/CzechAnalyzer.class
+SHA1-Digest: 4vIlAW8so8r+ygcNAeZv3i1icU4=
+
+Name: org/mozilla/javascript/FieldAndMethods.class
+SHA1-Digest: zrZdo2iH3GkBl/k6VAlI67q5yDE=
+
+Name: org/mozilla/javascript/tools/debugger/FileHeader.class
+SHA1-Digest: DO+GtXp0TTta6lNkCgsHFjLdQJw=
+
+Name: org/apache/lucene/search/ExactPhraseScorer.class
+SHA1-Digest: 3s5DFkA/3YTN6Ko1XMgQqurkM4c=
+
+Name: org/apache/lucene/search/PhraseQuery$PhraseWeight.class
+SHA1-Digest: +k4yHCMkLWIWMwS3V2H/jJPqIdw=
+
+Name: org/apache/lucene/search/Sort.class
+SHA1-Digest: cPoHOCIYH9MVyIC6rIoaNiqhuPE=
+
+Name: org/mozilla/javascript/NativeJavaMethod.class
+SHA1-Digest: hffjLbuCIishelzE36dzanA8tbI=
+
+Name: org/apache/lucene/search/Explanation.class
+SHA1-Digest: fvjxokl2KitZjtroM8ocBPE22Mk=
+
+Name: org/mozilla/javascript/tools/debugger/VariableModel$VariableNode
+ .class
+SHA1-Digest: ZiEtOrClaItQquEMZOPwsbrFtjk=
+
+Name: org/apache/lucene/index/IndexWriter$2.class
+SHA1-Digest: XP19gdb3TBeF2daz6eXmfjMNUFw=
+
+Name: org/apache/lucene/index/FieldInfo.class
+SHA1-Digest: 46Rft3uFGhG6nuJN0HSalssofkE=
+
+Name: org/apache/lucene/search/RemoteSearchable_Stub.class
+SHA1-Digest: rlbJetKaBfbbhSgP5n7A3KPj6fc=
+
+Name: org/mozilla/javascript/xmlimpl/QName.class
+SHA1-Digest: YUgPlxfGiP0WAyQyc41GBvNXF7Q=
+
+Name: org/mozilla/javascript/tools/debugger/MyTreeTable.class
+SHA1-Digest: RaB0WSUYeajjVOT+TrPDh4yWI9I=
+
+Name: org/mozilla/javascript/MemberBox.class
+SHA1-Digest: VABFfPl4EyH3nr7r3EwnqX7RIfU=
+
+Name: org/apache/lucene/index/TermBuffer.class
+SHA1-Digest: tBCwtu57DwUNfPS8w43nphd/3NU=
+
+Name: org/mozilla/javascript/tools/debugger/ContextWindow$3.class
+SHA1-Digest: th96hGk67Qw30hnSCmDMRrw/RnI=
+
+Name: org/mozilla/javascript/ObjArray.class
+SHA1-Digest: rRv8wIjr9MKXaGYNQOmL/Zo9jRA=
+
+Name: org/apache/lucene/analysis/LowerCaseFilter.class
+SHA1-Digest: Z7Ek/sf6+r6VtJazV9PSemVNfKM=
+
+Name: org/mozilla/javascript/optimizer/Codegen.class
+SHA1-Digest: 3nMnT28U0U1x2cQwLgdbLpCUqMw=
+
+Name: org/mozilla/javascript/DefiningClassLoader.class
+SHA1-Digest: UVQhiweQxekWEaDDcSV1zCFmirs=
+
+Name: org/mozilla/javascript/serialize/ScriptableOutputStream$PendingL
+ ookup.class
+SHA1-Digest: 7jNguA4jFuzgyImXIkdJnNdsuOw=
+
+Name: org/mozilla/javascript/tools/debugger/MoreWindows$1.class
+SHA1-Digest: 5kfC6DI86v2lv8HnlLBD16DfKm0=
+
+Name: org/mozilla/javascript/ScriptRuntime.class
+SHA1-Digest: nTKATjBg9B/VMxRMh/eFsCBrBiU=
+
+Name: org/apache/lucene/analysis/standard/TokenMgrError.class
+SHA1-Digest: lcWMC6FXIrj0KPC5M4JIgPufsVU=
+
+Name: org/apache/lucene/search/MultiPhraseQuery.class
+SHA1-Digest: ZToIJT9OwCnyoGvOQiWPRl+8u3A=
+
+Name: org/apache/lucene/analysis/snowball/SnowballFilter.class
+SHA1-Digest: yYft4yXR2rZbEjM9C4t2tEsXxq8=
+
+Name: org/mozilla/javascript/tools/shell/PipeThread.class
+SHA1-Digest: 9R3eb0uq0FCtzirG4s0vuR9sH+s=
+
+Name: org/apache/lucene/search/DisjunctionSumScorer$ScorerQueue.class
+SHA1-Digest: HkEfgY0esl/cuLOTU0cBDtI2BQg=
+
+Name: org/mozilla/javascript/WrapHandler.class
+SHA1-Digest: JwOEo+P/nb/W7W5GklKf1qEexuU=
+
+Name: org/apache/lucene/queryParser/QueryParser.class
+SHA1-Digest: E4c30qddK+eZ3bidRCiBVuN5smk=
+
+Name: org/mozilla/javascript/regexp/NativeRegExpCtor.class
+SHA1-Digest: 1vV3SRiAas09HHvofHHSoLQk1nw=
+
+Name: org/apache/lucene/index/MultipleTermPositions$1.class
+SHA1-Digest: /T5XFpsD6QR8e67hZXrEBmvDY3c=
+
+Name: org/apache/lucene/document/DateTools.class
+SHA1-Digest: 6QISKq+V7q5297VuwNtdLh+sFQE=
+
+Name: org/getopt/luke/LukePlugin.class
+SHA1-Digest: /dmRYrjeBiCv3WOdDlhWM+SjzBY=
+
+Name: org/apache/lucene/store/BufferedIndexOutput.class
+SHA1-Digest: 98x1Gjcxu6gG9zmH3w9OF5mv8jk=
+
+Name: org/apache/lucene/index/TermEnum.class
+SHA1-Digest: 8vTxrum986MisCIvC52esCwofLQ=
+
+Name: org/apache/lucene/search/FieldCacheImpl.class
+SHA1-Digest: YDRMm3rF21ubgQ0hQ1TnQ3wpA7U=
+
+Name: org/mozilla/javascript/tools/debugger/ContextWindow$1.class
+SHA1-Digest: xiENMQ8jn2KbPBKR037wj39IP20=
+
+Name: org/mozilla/javascript/NativeJavaArray.class
+SHA1-Digest: BBSGs7tmFYUD3rY7grg0Td/J7tA=
+
+Name: org/apache/lucene/index/SegmentInfos.class
+SHA1-Digest: 4W2BsEAe+Q0z918j+Juoi3s988o=
+
+Name: org/apache/lucene/analysis/cjk/CJKTokenizer.class
+SHA1-Digest: 0scb6e8E0M0oxwTxtQasxpFr5cw=
+
+Name: org/apache/lucene/analysis/fr/FrenchAnalyzer.class
+SHA1-Digest: t4VvOTb2P150aBKqKG17/yWPPVk=
+
+Name: xml/editfield.xml
+SHA1-Digest: CqB4VjIxBwVi5aRVs0LCvZjNpOg=
+
+Name: org/mozilla/javascript/SecurityController$1.class
+SHA1-Digest: xbaADqq5ywlrjsvJ9w3NCLN/G4o=
+
+Name: org/mozilla/javascript/Interpreter$1.class
+SHA1-Digest: aW9XraW4HIpZn++XhAjjugUbg9A=
+
+Name: org/mozilla/javascript/IdScriptableObject.class
+SHA1-Digest: 3hYwGDBVYwhwurf8uJ9kyTgdmS4=
+
+Name: org/apache/lucene/search/PhrasePrefixQuery$PhrasePrefixWeight.cl
+ ass
+SHA1-Digest: 07XGUlQbVb5fpgKZv1AKlWHOCPw=
+
+Name: org/apache/lucene/search/FilteredQuery$1.class
+SHA1-Digest: SOPKbPXe8PjJCi/tfFF6ASJmXk0=
+
+Name: org/apache/lucene/analysis/standard/StandardAnalyzer.class
+SHA1-Digest: YB4IuWSjBB99oF86ABHdhR3GFJg=
+
+Name: org/apache/lucene/search/IndexSearcher$3.class
+SHA1-Digest: EwBy981x8TIevd6LO10cPiEErjs=
+
+Name: org/mozilla/javascript/optimizer/ClassCompiler.class
+SHA1-Digest: NQt/ZvBATp1o3sVOcsZESfDHlU8=
+
+Name: org/getopt/luke/Prefs.class
+SHA1-Digest: Phkt4V/m2nQgo4/CCVjx/lik3Ds=
+
+Name: org/apache/lucene/search/BooleanQuery$BooleanWeight.class
+SHA1-Digest: i0siCRPifnJfzLXyHdr/+1kSX4U=
+
+Name: org/apache/lucene/search/FieldSortedHitQueue$2.class
+SHA1-Digest: nUHdgktQQrdyC7H9SnEBY7mIAbY=
+
+Name: org/mozilla/javascript/tools/debugger/FileWindow.class
+SHA1-Digest: Muw7ZGYhh/qHVKm2BIKSaKaM5pw=
+
+Name: org/mozilla/javascript/ContextFactory$Listener.class
+SHA1-Digest: dSNpoVLjHJubYoEOYachW1wrIjE=
+
+Name: org/apache/lucene/search/SloppyPhraseScorer.class
+SHA1-Digest: IkdUiMYBDX6RhYcflUgFeGBLXDQ=
+
+Name: org/apache/lucene/search/BooleanQuery.class
+SHA1-Digest: Vt46d/I3zrOKI25nlFZIbxi7zlg=
+
+Name: org/apache/lucene/index/SegmentReader.class
+SHA1-Digest: maqfGJL6ijVrYGNI/SD6lyIPM0E=
+
+Name: org/mozilla/javascript/NativeNumber.class
+SHA1-Digest: rfK9b8FnabUyMjgdgr9g7DP6m8U=
+
+Name: org/mozilla/javascript/NativeJavaConstructor.class
+SHA1-Digest: IscXp3M1sIASpyTYk8WPYAzFvmU=
+
+Name: org/apache/lucene/analysis/StopAnalyzer.class
+SHA1-Digest: XjH03RL84MO/JRSO6/gm7YazYU0=
+
+Name: org/apache/lucene/analysis/nl/DutchStemFilter.class
+SHA1-Digest: 0VzYBAE/BtP5QrthZW+y6WOitSc=
+
+Name: org/apache/lucene/search/QueryTermVector.class
+SHA1-Digest: AIYtgH1gFueoVZ6t0FocjG4PXWI=
+
+Name: org/apache/lucene/index/SegmentTermDocs.class
+SHA1-Digest: ol6yD0w13a4x+334yXrPLGbs77o=
+
+Name: org/mozilla/javascript/tools/shell/JavaPolicySecurity$1.class
+SHA1-Digest: RiBMBa82fdDVxQ9xjacV0BPREYM=
+
+Name: org/mozilla/javascript/tools/debugger/downloaded/TreeTableModelA
+ dapter.class
+SHA1-Digest: 3RF1oOCpP1GeAPCnUPFElB8AXhE=
+
+Name: org/apache/lucene/index/FieldsWriter.class
+SHA1-Digest: ui0X7v5tFzZ/ZIDZwzEz1pR/I80=
+
+Name: org/mozilla/javascript/optimizer/BodyCodegen.class
+SHA1-Digest: 4FxUKxxc44NMMt4lMFzQv0IhiwA=
+
+Name: org/apache/lucene/index/CompoundFileReader$FileEntry.class
+SHA1-Digest: RLmJTTFjaBp0Orl0N91PYUMr/4Y=
+
+Name: org/apache/lucene/analysis/WhitespaceTokenizer.class
+SHA1-Digest: bSokqGTOeB9K+DAy3MI1NHY6JEM=
+
+Name: org/apache/lucene/queryParser/QueryParser$1.class
+SHA1-Digest: Z2SjEgd4BaYybG4QvQ/RUp4RJBo=
+
+Name: org/apache/lucene/analysis/ru/RussianStemFilter.class
+SHA1-Digest: wh21k7IvLU9IWe1+IziG4XeX+II=
+
+Name: org/getopt/luke/TermInfoQueue.class
+SHA1-Digest: nJQ0mVU8wA7Azkd+33k9C3swwUA=
+
+Name: org/mozilla/javascript/ScriptRuntime$1.class
+SHA1-Digest: 9GGwKCpFiTEJIIvwwIm0zDmQWQw=
+
+Name: org/apache/lucene/store/RAMDirectory.class
+SHA1-Digest: 5r+HmMHVg4flbpg0xSHUCjqUa18=
+
+Name: org/apache/lucene/search/MultiTermQuery.class
+SHA1-Digest: KhyRH8f1BkKxA58yi7ml/ihA3B4=
+
+Name: org/apache/lucene/index/CompoundFileWriter$FileEntry.class
+SHA1-Digest: A2ZFID7FRZd06wXz1laZiZjLpZY=
+
+Name: org/apache/lucene/analysis/de/GermanStemFilter.class
+SHA1-Digest: b03V2TbfLodlygjZzrjbEvtOhe0=
+
+Name: org/mozilla/javascript/tools/debugger/RunProxy.class
+SHA1-Digest: M4BAeCmYNA9+uJcuukuOQtQ/iEU=
+
+Name: org/mozilla/javascript/Wrapper.class
+SHA1-Digest: piLOXQu/CDbOlfFTnFamU7ZmOuo=
+
+Name: org/mozilla/javascript/JavaAdapter$JavaAdapterSignature.class
+SHA1-Digest: vepHFSdAf5V0+0zpiYpmeznY3fc=
+
+Name: img/open.gif
+SHA1-Digest: VFRCObe9zEk9nxCxS0iHSY3AvPM=
+
+Name: org/apache/lucene/search/RangeQuery.class
+SHA1-Digest: lFK2wRZtX1azj3LFoL1Ccs6UmCE=
+
+Name: org/mozilla/javascript/NativeCall.class
+SHA1-Digest: CcUrqmuzoiH4uJ1cePzwdncjzsQ=
+
+Name: xml/scr-plugin.xml
+SHA1-Digest: 2QQxn/un7vJLsWFL/1CVuiC6kJ8=
+
+Name: org/mozilla/javascript/tools/debugger/Dim$SourceInfo.class
+SHA1-Digest: rW24CQmQFsf/j6oXGHWNsFmQHSM=
+
+Name: org/mozilla/javascript/Context$WrapHandlerProxy.class
+SHA1-Digest: BxFaYChHBzZWTqUoNPTZpTCKB5E=
+
+Name: org/apache/lucene/search/ReqOptSumScorer.class
+SHA1-Digest: +p2/PmCTHjhdQ4RBJRzwyy8gPHw=
+
+Name: thinlet/Thinlet.class
+SHA1-Digest: pMiTvg8N0+3xlqviLz75BS5XMBI=
+
+Name: org/apache/lucene/search/RemoteSearchable_Skel.class
+SHA1-Digest: HSeXkkhh+7HRfwvL8/LFwc+7D4Q=
+
+Name: org/mozilla/javascript/ScriptableObject$Slot.class
+SHA1-Digest: JougeHdEMowljR1KMZz5DMuYNkQ=
+
+Name: org/apache/lucene/index/TermVectorsWriter$TVField.class
+SHA1-Digest: VD7jnHCSuOywC/mKDNqwlMBprCY=
+
+Name: org/mozilla/javascript/IdScriptableObject$PrototypeValues.class
+SHA1-Digest: VCUx/OH+gJBWRltIJgtoQo/S79s=
+
+Name: org/apache/lucene/index/IndexWriter$5.class
+SHA1-Digest: GWC9EEcTNyWyOPjxqrfFpxDKbik=
+
+Name: org/apache/lucene/search/PhrasePositions.class
+SHA1-Digest: sRxjTkCmINRN/RFpLrVhgmwXYew=
+
+Name: org/apache/lucene/search/TermQuery$TermWeight.class
+SHA1-Digest: vRn24kJ/ZeeN1b6VtaeHGw0ETec=
+
+Name: org/apache/lucene/store/Lock$With.class
+SHA1-Digest: Z1IFLnj5PIlJtwPm4SVqx7mJ8ZI=
+
+Name: org/apache/lucene/analysis/cn/ChineseTokenizer.class
+SHA1-Digest: kruO1SboO1bSGo5C90iRJkCulKg=
+
+Name: org/apache/lucene/analysis/standard/Token.class
+SHA1-Digest: NAlEWbpEYqCaDBAEShFF8PztivM=
+
+Name: org/getopt/luke/Luke.class
+SHA1-Digest: XqMQ6m5w1JrLBRObkyApaFyowK0=
+
+Name: org/apache/lucene/analysis/br/BrazilianStemFilter.class
+SHA1-Digest: QhUXs0e1lSaG3CzhF5Yq5f3oopE=
+
+Name: org/apache/lucene/store/OutputStream.class
+SHA1-Digest: La11p/EJIRNv5RKoPrs4UH9ExVc=
+
+Name: org/apache/lucene/analysis/ru/RussianAnalyzer.class
+SHA1-Digest: Ss69kqMDwsUGW8rVYM8mt+WBEuo=
+
+Name: xml/error.xml
+SHA1-Digest: IV5Eg+fm5oJ3MdDw1jWlrqYbLgU=
+
+Name: org/mozilla/javascript/tools/debugger/JSInternalConsole.class
+SHA1-Digest: x4PwFODRA6OQZ7lvxlp4jfBKcYc=
+
+Name: org/mozilla/javascript/tools/debugger/Dim$DimIProxy.class
+SHA1-Digest: fxWh08S3dwUifnZcMSv0X6Twt8o=
+
+Name: org/apache/lucene/queryParser/Token.class
+SHA1-Digest: 7kwWTFKJBgpWUWk9tyU4KFrNMM0=
+
+Name: org/apache/lucene/document/Field$Index.class
+SHA1-Digest: sF1bdjqSCr4fHixNysI0ILN99Gs=
+
+Name: org/getopt/luke/HighFreqTerms.class
+SHA1-Digest: KtYBNnLG8l5i3S/8myjQa5ekBwU=
+
+Name: org/mozilla/javascript/xmlimpl/LogicalEquality.class
+SHA1-Digest: AjPOZQ5eJfXlOHVZIXFOPRXUld8=
+
+Name: org/apache/lucene/search/FuzzyQuery$ScoreTermQueue.class
+SHA1-Digest: WMGL5CI2jBHb4H3a6Ls2DoUTFQw=
+
+Name: org/mozilla/javascript/ScriptableObject.class
+SHA1-Digest: YEfJgmxpVguBVKnB1UZ+RHJqaiY=
+
+Name: org/apache/lucene/index/FieldsReader.class
+SHA1-Digest: RRsoBkDkBa2Po8SjnSmFtWygb/I=
+
+Name: org/mozilla/javascript/tools/debugger/ContextWindow$2.class
+SHA1-Digest: 9z8MaJRXkxCa+WmbEL7ddZ3GMxs=
+
+Name: org/getopt/luke/TermInfo.class
+SHA1-Digest: CRVs1Y57646YwhlSbTtU7Tfpc5I=
+
+Name: org/mozilla/javascript/tools/debugger/MoreWindows$MouseHandler.c
+ lass
+SHA1-Digest: ANT10nECIdC2HydsvIK1RAIL2xc=
+
+Name: org/apache/lucene/store/RAMFile.class
+SHA1-Digest: p84p1zxa3+h1fpqZpoUMc6IDX0c=
+
+Name: org/mozilla/javascript/PropertyException.class
+SHA1-Digest: 1FRYc9/7RWE+VK5VyATyJ5hB/xM=
+
+Name: img/info.gif
+SHA1-Digest: asJXLWyKxJhxb+iT9jBWY4JmOSI=
+
+Name: org/mozilla/classfile/ClassFileField.class
+SHA1-Digest: YDqb6ARlV4M47lUniWY4lKhXLYs=
+
+Name: org/mozilla/javascript/regexp/RENode.class
+SHA1-Digest: gVJgizlDqWiYFGqouB66hiollpM=
+
+Name: org/apache/lucene/index/MultiTermEnum.class
+SHA1-Digest: XA+WmH8R/zQACrKacu5dOqb8P2Y=
+
+Name: org/apache/lucene/analysis/cn/ChineseFilter.class
+SHA1-Digest: I1w/HOwGMsMLPCezk/yiYitAWWA=
+
+Name: org/mozilla/classfile/FieldOrMethodRef.class
+SHA1-Digest: KDvpNAjFP20tj3N/4BPl2E3xoXk=
+
+Name: org/mozilla/javascript/ObjToIntMap$Iterator.class
+SHA1-Digest: cOzEeSsVaWgWFg95KyE382k2VRk=
+
+Name: org/apache/lucene/search/spans/SpanOrQuery.class
+SHA1-Digest: qfEnoQZEX92kCI1iIQzWbOrKwbo=
+
+Name: org/mozilla/javascript/Decompiler.class
+SHA1-Digest: oyRsQUdZGThHO5jKRsMIwvcX2ws=
+
+Name: org/apache/lucene/analysis/Tokenizer.class
+SHA1-Digest: /pI43dB/we/baK3HRboKv0eOCOM=
+
+Name: img/open2.gif
+SHA1-Digest: guZQOSc4can8mJRYdjMbcFW8szQ=
+
+Name: org/mozilla/javascript/JavaAdapter$2.class
+SHA1-Digest: AzgbZpV2TKdUB9mkkyrbJE33254=
+
+Name: org/mozilla/javascript/regexp/RECharSet.class
+SHA1-Digest: X3amAwLAxlpW0qW5CVgHDfXsu/4=
+
+Name: org/mozilla/javascript/NativeObject.class
+SHA1-Digest: MafMLycmBAFXSzFsNttue6aw+EI=
+
+Name: org/apache/lucene/index/TermInfosWriter.class
+SHA1-Digest: AAY4zEJ1OhPxfrzzbm+L7OmWcB4=
+
+Name: org/getopt/luke/plugins/AnalyzerToolPlugin.class
+SHA1-Digest: UhIn+0hmFsQpEW7x4G/EVYO7jdI=
+
+Name: org/apache/lucene/store/FSDirectory.class
+SHA1-Digest: T714TYCm/QkaMbQF1yIrTPknamg=
+
+Name: xml/about.xml
+SHA1-Digest: WVl34t2vVjjX/QBi2LaHJIiKGuc=
+
+Name: org/mozilla/javascript/tools/debugger/downloaded/JTreeTable$List
+ ToTreeSelectionModelWrapper$ListSelectionHandler.class
+SHA1-Digest: pf+DbbYyjFHQbkocNkAfZKubN6M=
+
+Name: org/mozilla/javascript/tools/debugger/JSInternalConsole$1.class
+SHA1-Digest: fii4t0xygo6adJQ9U8/wFSIG2zQ=
+
+Name: org/apache/lucene/search/SortComparatorSource.class
+SHA1-Digest: kWxNCKJIgJ8NC4Ak2yO3AhAWajc=
+
+Name: org/mozilla/javascript/NativeGlobal.class
+SHA1-Digest: yHep5e6nls0AIjH/K7iXJ74CbLY=
+
+Name: org/apache/lucene/store/MMapDirectory$MMapIndexInput.class
+SHA1-Digest: HmX8i7YtxmnMiFBB4+VbzHJqBUc=
+
+Name: org/mozilla/javascript/tools/debugger/ScopeProvider.class
+SHA1-Digest: 7jdOcvhp7z64zQ3or5Tjwjain3E=
+
+Name: org/mozilla/javascript/NativeJavaPackage.class
+SHA1-Digest: jdoPbCYQGo5HCxIW4m0MHZRtJa8=
+
+Name: org/mozilla/javascript/CompilerEnvirons.class
+SHA1-Digest: InBrCeVFvJKaW7vjMwZ9l8pJv2k=
+
+Name: org/apache/lucene/analysis/fr/FrenchStemFilter.class
+SHA1-Digest: +ke32Rrg/Kv6U1DTfPm9ctG2fBc=
+
+Name: org/apache/lucene/index/FilterIndexReader$FilterTermPositions.cl
+ ass
+SHA1-Digest: G1f3srDad/RSb0Lb6zSS/X7nw3c=
+
+Name: org/apache/lucene/search/spans/SpanQuery.class
+SHA1-Digest: inVp9VRadRTv5v/Kh3ve/U5wiio=
+
+Name: org/mozilla/javascript/Ref.class
+SHA1-Digest: uaE/h96wrW8APaS08N6m4uwtLEw=
+
+Name: org/apache/lucene/analysis/LengthFilter.class
+SHA1-Digest: XC+BRpXb2ydMm8Na9xYkAaI7gfA=
+
+Name: org/mozilla/javascript/xml/XMLObject.class
+SHA1-Digest: mrA0gSr3GJstbdQ1MFT3sdQZgRA=
+
+Name: org/apache/lucene/index/MultipleTermPositions$TermPositionsQueue
+ .class
+SHA1-Digest: 9xbcr1T5wlsfAohmXQAU0Alyu6M=
+
+Name: org/apache/lucene/search/Similarity.class
+SHA1-Digest: atO5J9m40A09/F+kCVfr0NFmxSQ=
+
+Name: org/mozilla/javascript/tools/debugger/SwingGui$1.class
+SHA1-Digest: siq23XlRbrzWm4LPEDPJMSvunBA=
+
+Name: org/apache/lucene/index/IndexWriter$1.class
+SHA1-Digest: ge04WmDPUaGCH8IaOhbw/eWwB5E=
+
+Name: org/apache/lucene/search/DateFilter.class
+SHA1-Digest: 1890+g13utrnZ3/sqjFBweyksHI=
+
+Name: org/apache/lucene/analysis/snowball/SnowballAnalyzer.class
+SHA1-Digest: FqE3n/bGHnWuuUH+V09YwR3WVbU=
+
+Name: org/apache/lucene/index/Term.class
+SHA1-Digest: 4iUP62EFKOXdl0XLA29lvlukXmw=
+
+Name: org/apache/lucene/index/SegmentInfo.class
+SHA1-Digest: vGw1pVqgTKcnacKcPfsxnjDss0Q=
+
+Name: org/getopt/luke/Luke$1.class
+SHA1-Digest: 2whgWYG99ZE+/uCliyIu9MgbxOY=
+
+Name: org/apache/lucene/index/TermInfosReader.class
+SHA1-Digest: ASkZ9R14J5i/eWq9823tc7T+3qw=
+
+Name: org/apache/lucene/analysis/nl/DutchAnalyzer.class
+SHA1-Digest: 7W44llqftOQ4F6PfH9axo81Cje4=
+
+Name: org/apache/lucene/search/RangeFilter.class
+SHA1-Digest: qRg1ajzqvn0hQruxwO3Keu0rDag=
+
+Name: org/apache/lucene/index/FilterIndexReader$FilterTermEnum.class
+SHA1-Digest: CB/vYnsyls3em41QoKNVIJPdREM=
+
+Name: org/mozilla/javascript/optimizer/Block.class
+SHA1-Digest: hRQj3dfjDdUgUaXTNImBNsE4FV4=
+
+Name: org/mozilla/javascript/regexp/CompilerState.class
+SHA1-Digest: 8S2DHepnoMuzn1bjHuo6X4z2+6o=
+
+Name: org/apache/lucene/search/ScoreDoc.class
+SHA1-Digest: pWObQBcOOqMo0iDiOxpFS+Rx51M=
+
+Name: org/mozilla/javascript/xmlimpl/Namespace.class
+SHA1-Digest: yjOToa88TA4XZ59vS9NPk3dnJCE=
+
+Name: org/mozilla/javascript/tools/shell/ConsoleWriter.class
+SHA1-Digest: g+ZteFy64Pm4cwD5mrTCOirhyr0=
+
+Name: org/apache/lucene/search/HitCollector.class
+SHA1-Digest: UqHfY7PQJ2I6ZDst53E4ryLPfVo=
+
+Name: org/apache/lucene/analysis/standard/StandardTokenizer.class
+SHA1-Digest: xfVJdY9mjt26OfCgBL83b0Jnw/A=
+
+Name: org/mozilla/javascript/optimizer/DataFlowBitSet.class
+SHA1-Digest: P2SB+1s7vYXQ1KE5/pkXcMbXzqM=
+
+Name: org/mozilla/javascript/tools/debugger/FindFunction$1.class
+SHA1-Digest: 5NRAdp7Mus2qulG3b3RSIrt0t4w=
+
+Name: org/apache/lucene/analysis/nl/stems.txt
+SHA1-Digest: WhDKjVQDTrwpdUOGkr2k/qNiGVs=
+
+Name: org/apache/lucene/index/FilterIndexReader$FilterTermDocs.class
+SHA1-Digest: Li+kIjzY8pB+RiUQhW+GDGE1XdM=
+
+Name: org/mozilla/javascript/tools/debugger/FindFunction$MouseHandler.
+ class
+SHA1-Digest: 9ZmvhVhD/G5C1Z74BOlbj3c6l0c=
+
+Name: org/apache/lucene/analysis/CharTokenizer.class
+SHA1-Digest: 6jqq575VVJkuDTvWz/N0UhBcycY=
+
+Name: org/mozilla/javascript/tools/debugger/GuiCallback.class
+SHA1-Digest: 8TUL64Y7n9sSxJhDHYWFZElgtDs=
+
+Name: org/mozilla/javascript/tools/shell/SecurityProxy.class
+SHA1-Digest: 5HmIVm3lAY2KzmRAvh/z3CQBKX8=
+
+Name: org/apache/lucene/search/spans/SpanNearQuery.class
+SHA1-Digest: iPb3GhREhyytHLpOZgpW0sZXFFw=
+
+Name: org/apache/lucene/analysis/SimpleAnalyzer.class
+SHA1-Digest: oCqe39xN+VRnjr8nebBH6FZSHDM=
+
+Name: org/apache/lucene/store/FSDirectory$1.class
+SHA1-Digest: iQbXn03jCf5xDygj4Hj0kONLwL8=
+
+Name: org/mozilla/javascript/Node$StringNode.class
+SHA1-Digest: aR2dwuZ3mjBQw6N7T4CqsRiAFoQ=
+
+Name: org/mozilla/javascript/Function.class
+SHA1-Digest: kFeFRB3ilHO+Nh18Sz/0Cm4GX1Y=
+
+Name: org/apache/lucene/search/SortField.class
+SHA1-Digest: w8GQ65weTn5wIU6MXzrvElXad9Y=
+
+Name: img/search.gif
+SHA1-Digest: IUkFGlXOBRTqD/uBqGTfDLmoDSM=
+
+Name: org/apache/lucene/search/BooleanScorer.class
+SHA1-Digest: mAeaGwgN82pwcekmOfdqAzXHJJ8=
+
+Name: org/apache/lucene/search/Weight.class
+SHA1-Digest: kIOB9c0C8Y+Q+E6Krc1Ohwo2YVA=
+
+Name: org/apache/lucene/analysis/PorterStemFilter.class
+SHA1-Digest: y5Roi82bIUEN9mWMLxvJQN1AkiE=
+
+Name: org/mozilla/javascript/optimizer/OptRuntime$1.class
+SHA1-Digest: F2OZiv8F/ikaRiyQyu5SVZ4vLIE=
+
+Name: org/apache/lucene/document/Field.class
+SHA1-Digest: W/kr25YSp7n5E0EZEuDXKxw8nbU=
+
+Name: org/mozilla/javascript/tools/shell/Main.class
+SHA1-Digest: qawKyaZP+mEqk+hIruV8+a3Twxs=
+
+Name: org/mozilla/javascript/tools/debugger/MoreWindows.class
+SHA1-Digest: UIwzgWKzL85BvAJI2wr6i1ro104=
+
+Name: org/apache/lucene/analysis/TokenFilter.class
+SHA1-Digest: le2VIj7i0WphvkrbOkkc9kC+m34=
+
+Name: org/apache/lucene/document/DateTools$Resolution.class
+SHA1-Digest: Ty3/cAQFX9HxdutPATaCMi1Xj0E=
+
+Name: org/apache/lucene/search/SortComparator.class
+SHA1-Digest: Ye9IHvG+U40DDhBjmhAnwVC1P5k=
+
+Name: org/apache/lucene/store/BufferedIndexInput.class
+SHA1-Digest: Egq9ZKI2ClF6ipBXKNIJ25Ciemo=
+
+Name: org/apache/lucene/document/DateField.class
+SHA1-Digest: EWnNje1Iihiszxy4cQqa68VSqUQ=
+
+Name: org/mozilla/javascript/FunctionNode.class
+SHA1-Digest: aelwnHuHI3Bow/fPL9IB9uxtwAo=
+
+Name: org/apache/lucene/index/MultiTermDocs.class
+SHA1-Digest: xo4A6NFMF2yuVNhW6j52Dg3pN2o=
+
+Name: org/mozilla/javascript/Interpreter.class
+SHA1-Digest: 87teBXJbHUFqVOI8P4buUWEF8/Y=
+
+Name: org/apache/lucene/analysis/fr/FrenchStemmer.class
+SHA1-Digest: Nk8OSCaGMIFqZiBnRuia8jcnn94=
+
+Name: org/mozilla/javascript/xmlimpl/XML.class
+SHA1-Digest: GyrpvR/0y4mwr9rgRDJOE96tzgQ=
+
+Name: xml/sd-plugin.xml
+SHA1-Digest: kH3DvcrFHHO5QhVLCe9aBK9QJQQ=
+
+Name: org/apache/lucene/search/ConjunctionScorer$1.class
+SHA1-Digest: Z7OMgjudpyqvw5kwNbbzXCxSq5Q=
+
+Name: org/mozilla/javascript/regexp/RECompiled.class
+SHA1-Digest: zc3h7SQpsvOPRR9kIZXmcGBJV3s=
+
+Name: org/apache/lucene/index/CompoundFileWriter.class
+SHA1-Digest: GZY5oaThZHv2/E1csFWHDE9B9UY=
+
+Name: org/apache/lucene/analysis/de/WordlistLoader.class
+SHA1-Digest: r8wtGgW9TuZIobXB9a37zya13eA=
+
+Name: org/mozilla/javascript/JavaAdapter$1.class
+SHA1-Digest: 4mILSd8cIW4fHGwXNnW+dzj+XhA=
+
+Name: org/mozilla/javascript/regexp/REBackTrackData.class
+SHA1-Digest: IjQNYcFt3pe/DFOJEbjItZ+ObKo=
+
+Name: org/apache/lucene/search/FieldDoc.class
+SHA1-Digest: 6Yrs3W2Dx2+YCI4nSTjGxQrZshw=
+
+Name: org/apache/lucene/index/IndexReader$1.class
+SHA1-Digest: M2LLYJN9roqHiXlipRSkdCFeq0I=
+
+Name: org/apache/lucene/search/Query.class
+SHA1-Digest: ZS3z3nQzADQhR3NPo6NqV8TPXMs=
+
+Name: org/apache/lucene/queryParser/QueryParser$JJCalls.class
+SHA1-Digest: 7uNK0qhDzHdGpodj5fsrCcxeYzg=
+
+Name: org/mozilla/javascript/tools/debugger/downloaded/JTreeTable$Tree
+ TableCellEditor.class
+SHA1-Digest: Epx2gtneL7oOaz734aUxiMSHEbU=
+
+Name: org/mozilla/javascript/tools/debugger/downloaded/JTreeTable$List
+ ToTreeSelectionModelWrapper.class
+SHA1-Digest: rzIO5LWmqPPoZGObFuCZ1kCZFj8=
+
+Name: org/apache/lucene/analysis/WhitespaceAnalyzer.class
+SHA1-Digest: ZkyqZF/EMTi6gFYO4piL7OGAFbw=
+
+Name: org/mozilla/javascript/NativeDate.class
+SHA1-Digest: rjmORaojJJiZVawJLvXIh3jbUJo=
+
+Name: org/mozilla/javascript/ScriptRuntime$IdEnumeration.class
+SHA1-Digest: uDz/qtkcfB5rWCXMge0Mqwep91w=
+
+Name: org/mozilla/javascript/JavaMembers.class
+SHA1-Digest: JmYkFl0yezh5uJ98L8FUeHkAq+U=
+
+Name: org/apache/lucene/index/CompoundFileReader$1.class
+SHA1-Digest: BIBfeeAhysYjgBEc1QMp+7O985E=
+
+Name: org/apache/lucene/store/FSIndexOutput.class
+SHA1-Digest: C1h2NQFVnxVUHpM7FHZMAG+/GkQ=
+
+Name: org/mozilla/javascript/xmlimpl/XMLObjectImpl.class
+SHA1-Digest: 17gA7tYYUM6WqZkWzZQ2qOuJYoo=
+
+Name: org/apache/lucene/store/RAMInputStream.class
+SHA1-Digest: Sfwgtn1SZN8tFhL7gLi43vBf7Ok=
+
+Name: org/apache/lucene/analysis/ru/RussianStemmer.class
+SHA1-Digest: Mo07eSQ5CVm4ccLqB43NorrAz8g=
+
+Name: org/mozilla/javascript/UniqueTag.class
+SHA1-Digest: lTjqjnyb2HuvS+4Z8fskdovrY1Q=
+
+Name: org/apache/lucene/search/MultiSearcher$1.class
+SHA1-Digest: kCIvkqkdDPwgsppF9qD+wVPFFAE=
+
+Name: org/apache/lucene/index/IndexWriter$4.class
+SHA1-Digest: h8RcblKb2I3/UHR0fpBH29eTQ2A=
+
+Name: org/apache/lucene/analysis/KeywordTokenizer.class
+SHA1-Digest: Pntqh487q/hYv6zLoCS8YAWfRr4=
+
+Name: org/mozilla/javascript/tools/shell/JSConsole.class
+SHA1-Digest: vVp9CC/vHrK7yrgAEEh5YpayC2M=
+
+Name: org/apache/lucene/search/Filter.class
+SHA1-Digest: a1vJUOg+xj3+Qx9m4gr6VzxWoSI=
+
+Name: org/mozilla/classfile/ByteCode.class
+SHA1-Digest: r/kuLUhGGmujg+vhu6yBNHIJsbQ=
+
+Name: org/mozilla/javascript/InterfaceAdapter.class
+SHA1-Digest: 9ZMjCdPz2tFyuWHeLLbP8HsM4KU=
+
+Name: org/mozilla/javascript/tools/debugger/Main$IProxy.class
+SHA1-Digest: f2nsZAheWL67eaG876adYOEFlRQ=
+
+Name: org/mozilla/javascript/NativeJavaObject.class
+SHA1-Digest: tXIWaZWv8bfM+6ifA6FxwyBGXcY=
+
+Name: org/apache/lucene/analysis/br/BrazilianStemmer.class
+SHA1-Digest: btBa6PR7adMom5huS9g7ONrAcgA=
+
+Name: org/mozilla/javascript/debug/Debugger.class
+SHA1-Digest: MXHgIekhLGm1wdqtNqF7eieH2S0=
+
+Name: org/mozilla/javascript/xmlimpl/XML$XScriptAnnotation.class
+SHA1-Digest: yi0fFmLyDdGj4+xnfSzgohcYSDk=
+
+Name: org/mozilla/javascript/NativeMath.class
+SHA1-Digest: rP0nwFZvYOekj4tLZeQIo7NmPwo=
+
+Name: org/mozilla/javascript/tools/idswitch/SwitchGenerator.class
+SHA1-Digest: PzwAIYb3bfI1uLfDu1fntLiNAH8=
+
+Name: org/mozilla/javascript/tools/debugger/SwingGui$2.class
+SHA1-Digest: W4mVTD3SBaRu19n0Eo6DG8a+ZIQ=
+
+Name: org/apache/lucene/search/NonMatchingScorer.class
+SHA1-Digest: wWdrTl/r8wSClWv3thUO4Pws1aA=
+
+Name: org/mozilla/javascript/xmlimpl/NamespaceHelper.class
+SHA1-Digest: LjSzV7Q1zJf+fL5Icfq1gBhBhbQ=
+
+Name: org/mozilla/javascript/tools/shell/JavaPolicySecurity$Loader.cla
+ ss
+SHA1-Digest: 0vGdqU+p7DqPShhUPO9+xqjqwFs=
+
+Name: org/mozilla/javascript/tools/debugger/ContextWindow.class
+SHA1-Digest: ifa0xJXJJoA6bwHjLCdepc/Zcec=
+
+Name: org/apache/lucene/analysis/br/BrazilianAnalyzer.class
+SHA1-Digest: 699RUJdhrcg1N3UOZ90EiXbG+JI=
+
+Name: org/apache/lucene/search/PhraseQueue.class
+SHA1-Digest: zMP5C66Nc/P2SdlpFOvewrcyvzw=
+
+Name: org/apache/lucene/index/TermInfo.class
+SHA1-Digest: /csAjj1x9zTDGrgs8jRAkCKH+ws=
+
+Name: org/apache/lucene/search/ParallelMultiSearcher$1.class
+SHA1-Digest: DeN0hC2JbBXrGr1oCgG+QVOaV1o=
+
+Name: org/mozilla/javascript/tools/debugger/Evaluator.class
+SHA1-Digest: YU/1BMHRcrCd6R7Rp2pHeU2/jFY=
+
+Name: org/getopt/luke/ClassFinder$1.class
+SHA1-Digest: 4gwJrjQf4/vRUzlBshcRatXQ/48=
+
+Name: org/apache/lucene/search/FuzzyQuery$ScoreTerm.class
+SHA1-Digest: baQvSWWPcyqHdb4OE1AnB7yIiUs=
+
+Name: xml/VerboseSimilarity.js
+SHA1-Digest: eo7lqF3CMsrYi4+iOvwifV9Jpjs=
+
+Name: org/apache/lucene/search/FieldSortedHitQueue$4.class
+SHA1-Digest: EbgjpVqtajk+YU/mzsgPOcGDdsM=
+
+Name: org/mozilla/javascript/BaseFunction.class
+SHA1-Digest: eu+ia8u+f2nS/Ebt+HqqGCMF0uA=
+
+Name: org/mozilla/javascript/Callable.class
+SHA1-Digest: DWMTX8939J1vdrHXM+1klE2XUsw=
+
+Name: org/mozilla/javascript/tools/debugger/Dim$FunctionSource.class
+SHA1-Digest: 5nd1sxdI7ClrllJwguQxavg1VlI=
+
+Name: org/mozilla/javascript/NativeBoolean.class
+SHA1-Digest: dyqJwEizGISYr25OyE3wtzB0n9w=
+
+Name: org/apache/lucene/search/spans/NearSpans.class
+SHA1-Digest: 1c5aKWO2wFjsInRJNhZ7nVlkMGk=
+
+Name: org/apache/lucene/search/TopFieldDocs.class
+SHA1-Digest: kjVLbgBiniQz5aV6K6o65v2NBok=
+
+Name: org/apache/lucene/search/FieldSortedHitQueue$1.class
+SHA1-Digest: i2sAHlbWhwNOvlVx2Wt1KpqqZLc=
+
+Name: org/mozilla/javascript/tools/idswitch/CodePrinter.class
+SHA1-Digest: faUG70Wiy/hTxO9ZhSZLMM+F2k8=
+
+Name: org/getopt/luke/IntPair.class
+SHA1-Digest: gkehmVlOS2q97lXhQYoY13+Pwuo=
+
+Name: org/apache/lucene/index/SegmentTermPositions.class
+SHA1-Digest: TqIYWHGvfYOTSepTmgvQ1CwZXWg=
+
+Name: org/apache/lucene/analysis/KeywordAnalyzer.class
+SHA1-Digest: xmvOC+Yuwk2HM6Qm/63sigAzqXo=
+
+Name: org/apache/lucene/search/spans/SpanTermQuery$1.class
+SHA1-Digest: YcRmchOeL3sDTvaChjTfp1CSrfg=
+
+Name: org/mozilla/javascript/NativeScript.class
+SHA1-Digest: J5DufD01MA8Duz3cx3jNjFxU9B8=
+
+Name: org/apache/lucene/analysis/de/GermanAnalyzer.class
+SHA1-Digest: pR+/SOrCwt7SUuoEhlbr7UGJFiY=
+
+Name: org/apache/lucene/document/Field$Store.class
+SHA1-Digest: yUgMvlG+/nUWdaLEfvGy4bxy7zs=
+
+Name: org/apache/lucene/search/TopDocs.class
+SHA1-Digest: lf7lDW3NjZ2QNj/7H6TZjAOc6sM=
+
+Name: org/apache/lucene/store/FSIndexInput.class
+SHA1-Digest: trQYyKkCRw8VrYjYoBar2CeUBzU=
+
+Name: org/mozilla/javascript/Token.class
+SHA1-Digest: h9N9Vmoy9p91fXbvCgADSG60iQ8=
+
+Name: org/mozilla/javascript/NativeFunction.class
+SHA1-Digest: m4DOTxAJl2QMF3OKjVI2z4TVD7A=
+
+Name: org/mozilla/javascript/Undefined.class
+SHA1-Digest: v5C6Nwf1TI6/+XP1F7dr/6nfkDw=
+
+Name: org/apache/lucene/queryParser/QueryParser$LookaheadSuccess.class
+SHA1-Digest: McD6pGngIXpVhTnwG2h1nuGed0A=
+
+Name: org/apache/lucene/search/IndexSearcher.class
+SHA1-Digest: 8nslj4bG8yzUkWOmTY7hhovf3ok=
+
+Name: thinlet/FrameLauncher.class
+SHA1-Digest: QGeiXPQ9XSP0zh1PkGd0ljEyiwA=
+
+Name: org/mozilla/javascript/xmlimpl/XML$NamespaceDeclarations.class
+SHA1-Digest: DCu0YX40OqBhSrFX4aX8E12Uk8U=
+
+Name: org/apache/lucene/analysis/standard/StandardFilter.class
+SHA1-Digest: 5DTr4QTwDDr9ArBg1rtqOSiKg0c=
+
+Name: org/mozilla/javascript/WrapFactory.class
+SHA1-Digest: 5QzK2+UgzeiIA/FgyrpLDvo7UZg=
+
+Name: org/apache/lucene/search/FieldSortedHitQueue.class
+SHA1-Digest: pCYsueqtr/hMLxpsf0F3yf+PNNE=
+
+Name: img/props2.gif
+SHA1-Digest: VU4P/yCFV7CEEc7iPKSD3nvyqfw=
+
+Name: org/apache/lucene/store/MMapDirectory.class
+SHA1-Digest: Hp7r2mQStVhY4tBf+TwTp3bcSpg=
+
+Name: org/mozilla/javascript/ScriptableObject$1.class
+SHA1-Digest: jjN1YyHKOkVKn1xOKuGvoDxKQz0=
+
+Name: org/apache/lucene/index/SegmentTermVector.class
+SHA1-Digest: 78h5wIR4DWkhSA7gZAgAjqLwXAo=
+
+Name: org/mozilla/javascript/tools/debugger/FilePopupMenu.class
+SHA1-Digest: xMP81tkYIuZwUavB2VV7tiQaFGE=
+
+Name: org/apache/lucene/analysis/standard/StandardTokenizerConstants.c
+ lass
+SHA1-Digest: yxJB9rcfht8KwKDTrCZyMCRj18A=
+
+Name: org/apache/lucene/document/Field$TermVector.class
+SHA1-Digest: ewxigKoU+r0qDK3+h/L1EU28wgA=
+
+Name: org/getopt/luke/Luke$2.class
+SHA1-Digest: 8zcCbN8rmAud1fQQr6Ud80SO/aY=
+
+Name: org/mozilla/javascript/Node$PropListItem.class
+SHA1-Digest: 4W65VsR1ziU3G/czJTm3ih6sMYc=
+
+Name: org/apache/lucene/index/MultiTermPositions.class
+SHA1-Digest: B0aBVG/y/Gsa+s/APaix7pxFXNo=
+
+Name: org/mozilla/javascript/debug/DebuggableObject.class
+SHA1-Digest: Bi/qsIAfyvcZBw88+Mf9TS+OZNk=
+
+Name: org/apache/lucene/store/RAMDirectory$1.class
+SHA1-Digest: jjfNNTVCKKY4XKipll5NzrmFbE8=
+
+Name: img/docs.gif
+SHA1-Digest: gskJh+PyefCy230HydhE30z+g2w=
+
+Name: org/mozilla/javascript/optimizer/OptTransformer.class
+SHA1-Digest: lxXRZNVkZoff3aDdMHXGtQR44GQ=
+
+Name: org/apache/lucene/index/TermFreqVector.class
+SHA1-Digest: YLY3KODo3OSUvjBPPTsQNopSsVg=
+
Index: contrib/jruby/rune/luke/org/mozilla/javascript/tools/resources/Messages.properties
===================================================================
--- contrib/jruby/rune/luke/org/mozilla/javascript/tools/resources/Messages.properties (revision 0)
+++ contrib/jruby/rune/luke/org/mozilla/javascript/tools/resources/Messages.properties (revision 0)
@@ -0,0 +1,230 @@
+#
+# JavaScript tools messages file.
+#
+# The contents of this file are subject to the Netscape Public
+# License Version 1.1 (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.mozilla.org/NPL/
+#
+# Software distributed under the License is distributed on an "AS
+# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+# implied. See the License for the specific language governing
+# rights and limitations under the License.
+#
+# The Original Code is Rhino code, released
+# May 6, 1999.
+#
+# The Initial Developer of the Original Code is Netscape
+# Communications Corporation. Portions created by Netscape are
+# Copyright (C) 1997-1999 Netscape Communications Corporation. All
+# Rights Reserved.
+#
+# Contributor(s):
+#
+# Alternatively, the contents of this file may be used under the
+# terms of the GNU Public License (the "GPL"), in which case the
+# provisions of the GPL are applicable instead of those above.
+# If you wish to allow use of your version of this file only
+# under the terms of the GPL and not to allow others to use your
+# version of this file under the NPL, indicate your decision by
+# deleting the provisions above and replace them with the notice
+# and other provisions required by the GPL. If you do not delete
+# the provisions above, a recipient may use your version of this
+# file under either the NPL or the GPL.
+
+msg.expected.string.arg =\
+ Expected a string argument.
+
+msg.class.not.found =\
+ Class "{0}" not found.
+
+msg.couldnt.open =\
+ Couldn''t open file "{0}".
+
+msg.couldnt.open.url =\
+ Couldn''t open URL "{0}: {1}".
+
+msg.no-opt =\
+ Must have the org.mozilla.javascript.optimizer package available \
+ to compile to class files.
+
+msg.shell.usage =\
+ Didn''t understand "{0}". \n\
+ Valid arguments are:\n\
+ \ -w\n\
+ \ -version 100|110|120|130|140|150\n\
+ \ -opt [-1|0-9]\n\
+ \ -f script-filename\n\
+ \ -e script-source
+
+
+msg.help =\
+ \n\
+ Command Description \n\
+ ======= =========== \n\
+ help() Display usage and help messages. \n\
+ defineClass(className) Define an extension using the Java class \n\
+ \ named with the string argument. \n\
+ \ Uses ScriptableObject.defineClass(). \n\
+ load(["foo.js", ...]) Load JavaScript source files named by \n\
+ \ string arguments. \n\
+ loadClass(className) Load a class named by a string argument. \n\
+ \ The class must be a script compiled to a \n\
+ \ class file. \n\
+ print([expr ...]) Evaluate and print expressions. \n\
+ quit() Quit the shell. \n\
+ version([number]) Get or set the JavaScript version number. \n\
+ \n\
+ For full description of all available commands see shell.html in\n\
+ the docs directory of Rhino distribution.\n\
+
+
+msg.warning =\
+ warning: {0}
+
+msg.format1 =\
+ {0}
+
+msg.format2 =\
+ line {0}: {1}
+
+msg.format3 =\
+ "{0}", line {1}: {2}
+
+msg.uncaughtJSException =\
+ exception from uncaught JavaScript throw: {0}
+
+msg.uncaughtEcmaError =\
+ uncaught JavaScript runtime exception: {0}
+
+msg.jsc.bad.usage =\
+ Didn''t understand "{1}". \n\
+ For more information, try java {0} -h
+
+msg.jsc.usage =\
+Usage: java {0} [OPTION]... SOURCE...\n\
+Valid options are: \n\
+\ -version VERSION Use the specified language version.\n\
+\ VERSION should be one of 100|110|120|130|140|150.\n\
+\ -opt LEVEL Use optimization with the specified level.\n\
+\ LEVEL should be one of 0..9.\n\
+\ -debug, -g Include debug information.\n\
+\ -nosource Do not include source to function objects.\n\
+\ It makes f.toString() useless and violates ECMAScript\n\
+\ standard but makes generated classes smaller and\n\
+\ saves memory.\n\
+\ -o CLASSNAME Use specified name as the last component of the main\n\
+\ generated class name. When specified, only one script\n\
+\ SOURCE is allowed. If omitted, it defaults to source\n\
+\ name with stripped .js suffix.\n\
+\ -package PACKAHGE Place generated classes in the specified package.\n\
+\ -d DIRECTORY Use DIRECTORY as destination directory for generated\n\
+\ classes. If omitted, it defaults to parent directory\n\
+\ of SOURCE.\n\
+\ -extends CLASS The main generated class will extend the specified\n\
+\ class CLASS.\n\
+\ -implements INTERFACE1,INTERFACE2,... The main generated class will\n\
+\ implement the specified list of interfaces.\n\
+\ -help, --help, -h Print this help and exit.\n\
+
+
+msg.no.file =\
+ A file name must be specified to compile.
+
+msg.invalid.classfile.name =\
+ File "{0}" is not a valid class file name.
+
+msg.extension.not.js =\
+ File "{0}" is not a valid js file name.
+
+msg.jsfile.not.found=\
+ File "{0}" not found.
+
+msg.multiple.js.to.file =\
+ Cannot compile multiple js files to "{0}".
+
+msg.package.name =\
+ "{0}" is not a valid package name.
+
+msg.spawn.args =\
+ Argument to spawn() must be a function or script.
+
+msg.must.implement.Script =\
+ Argument to loadClass() must be the name of a class that implements \
+ the Script interface. Class files generated by compiling scripts \
+ will implement Script.
+
+msg.runCommand.bad.args =\
+ The first argument to runCommand must be a command name.
+
+msg.runCommand.bad.env =\
+ A value of the env property of option object for runCommnad must be an \
+ object.
+
+msg.shell.seal.not.object =\
+ seal function can only be applied to objects
+
+msg.shell.seal.not.scriptable =\
+ seal function supports only sealing of ScriptableObject instances
+
+msg.shell.readFile.bad.args =\
+ readFile require at least file path to be specified
+
+msg.shell.readUrl.bad.args =\
+ readUrl require at least file path to be specified
+
+msg.idswitch.same_string =\
+ The string {0} is used second time in the switch code. \
+ Previous occurrence was at line {1}
+
+msg.idswitch.file_end_in_switch =\
+ End of file inside tag {0}
+
+msg.idswitch.bad_tag_order =\
+ String switch tag {0} is not allowed here
+
+msg.idswitch.no_end_with_value =\
+ End for tag {0} can not contain value
+
+msg.idswitch.no_value_allowed =\
+ Tag {0} can not contain value
+
+msg.idswitch.no_end_usage =\
+ Tag {0} can not be used as end tag
+
+msg.idswitch.no_file_argument =\
+ File argument should be given
+
+msg.idswitch.too_many_arguments =\
+ Too many arguments are given
+
+msg.idswitch.bad_option =\
+ Invalid option {0}
+
+msg.idswitch.bad_option_char =\
+ Invalid option letter {0}
+
+msg.idswitch.bad_invocation =\
+StringIdMap: {0}\n\
+For more information, try\n\
+java org.mozilla.javascript.tools.idswitch.StringIdMap --help
+
+msg.idswitch.io_error =\
+StringIdMap: IO error, {0}
+
+msg.idswitch.usage = \
+Usage: java org.mozilla.javascript.tools.idswitch.StringIdMap [OPTIONS] JAVA_SOURCE_FILE\n\
+Generates efficient string dispatch code in JAVA_SOURCE_FILE.\n\
+The resulting Java source fragment replaces the old dispatch code.\n\
+If JAVA_SOURCE_FILE is -, standard input is used for Java source and the\n\
+result is sent to standard output.\n\
+\n\
+\ -h, --help display this help and exit\n\
+\ --version display version information and exit\n\
+\n\
+Note: the original file will be overwritten without any backup actions\n\
+\ and all code inside #generated# tag will be replaced by new one.
+
+msg.idswitch.version = \
+org.mozilla.javascript.tools.idswitch.StringIdMap version 0.2
+
Index: contrib/jruby/rune/luke/org/mozilla/javascript/resources/Messages.properties
===================================================================
--- contrib/jruby/rune/luke/org/mozilla/javascript/resources/Messages.properties (revision 0)
+++ contrib/jruby/rune/luke/org/mozilla/javascript/resources/Messages.properties (revision 0)
@@ -0,0 +1,638 @@
+#
+# Default JavaScript messages file.
+#
+# The contents of this file are subject to the Netscape Public
+# License Version 1.1 (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.mozilla.org/NPL/
+#
+# Software distributed under the License is distributed on an "AS
+# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+# implied. See the License for the specific language governing
+# rights and limitations under the License.
+#
+# The Original Code is Rhino code, released
+# May 6, 1999.
+#
+# The Initial Developer of the Original Code is Netscape
+# Communications Corporation. Portions created by Netscape are
+# Copyright (C) 1997-1999 Netscape Communications Corporation. All
+# Rights Reserved.
+#
+# Contributor(s):
+# Norris Boyd
+#
+# Alternatively, the contents of this file may be used under the
+# terms of the GNU Public License (the "GPL"), in which case the
+# provisions of the GPL are applicable instead of those above.
+# If you wish to allow use of your version of this file only
+# under the terms of the GPL and not to allow others to use your
+# version of this file under the NPL, indicate your decision by
+# deleting the provisions above and replace them with the notice
+# and other provisions required by the GPL. If you do not delete
+# the provisions above, a recipient may use your version of this
+# file under either the NPL or the GPL.
+
+# This is replaced during jar assembly from property string
+# and should not be translated
+implementation.version = Rhino 1.6 release 1 2005 02 04
+
+#
+# To add JavaScript error messages for a particular locale, create a
+# new Messages_[locale].properties file, where [locale] is the Java
+# string abbreviation for that locale. For example, JavaScript
+# messages for the Polish locale should be located in
+# Messages_pl.properties, and messages for the Italian Swiss locale
+# should be located in Messages_it_CH.properties. Message properties
+# files should be accessible through the classpath under
+# org.mozilla.javascript.resources
+#
+# See:
+# java.util.ResourceBundle
+# java.text.MessageFormat
+#
+
+# SomeJavaClassWhereUsed
+
+# Codegen
+msg.dup.parms =\
+ Duplicate parameter name "{0}".
+
+msg.too.big.jump =\
+ Program too complex: too big jump offset.
+
+msg.too.big.index =\
+ Program too complex: internal index exceeds 64K limit.
+
+
+# Context
+msg.ctor.not.found =\
+ Constructor for "{0}" not found.
+
+msg.not.ctor =\
+ "{0}" is not a constructor.
+
+# FunctionObject
+msg.varargs.ctor =\
+ Method or constructor "{0}" must be static with the signature \
+ "(Context cx, Object[] args, Function ctorObj, boolean inNewExpr)" \
+ to define a variable arguments constructor.
+
+msg.varargs.fun =\
+ Method "{0}" must be static with the signature \
+ "(Context cx, Scriptable thisObj, Object[] args, Function funObj)" \
+ to define a variable arguments function.
+
+msg.incompat.call =\
+ Method "{0}" called on incompatible object.
+
+msg.bad.parms =\
+ Unsupported parameter type "{0}" in method "{1}".
+
+msg.bad.method.return =\
+ Unsupported return type "{0}" in method "{1}".
+
+msg.bad.ctor.return =\
+ Construction of objects of type "{0}" is not supported.
+
+msg.no.overload =\
+ Method "{0}" occurs multiple times in class "{1}".
+
+msg.method.not.found =\
+ Method "{0}" not found in "{1}".
+
+# IRFactory
+
+msg.bad.for.in.lhs =\
+ Invalid left-hand side of for..in loop.
+
+msg.mult.index =\
+ Only one variable allowed in for..in loop.
+
+msg.cant.convert =\
+ Can''t convert to type "{0}".
+
+msg.bad.assign.left =\
+ Invalid assignment left-hand side.
+
+msg.bad.decr =\
+ Invalid decerement operand.
+
+msg.bad.incr =\
+ Invalid increment operand.
+
+# NativeGlobal
+msg.cant.call.indirect =\
+ Function "{0}" must be called directly, and not by way of a \
+ function of another name.
+
+msg.eval.nonstring =\
+ Calling eval() with anything other than a primitive string value will \
+ simply return the value. Is this what you intended?
+
+msg.eval.nonstring.strict =\
+ Calling eval() with anything other than a primitive string value is not \
+ allowed in the strict mode.
+
+# NativeCall
+msg.only.from.new =\
+ "{0}" may only be invoked from a "new" expression.
+
+msg.deprec.ctor =\
+ The "{0}" constructor is deprecated.
+
+# NativeFunction
+msg.no.function.ref.found =\
+ no source found to decompile function reference {0}
+
+msg.arg.isnt.array =\
+ second argument to Function.prototype.apply must be an array
+
+# NativeGlobal
+msg.bad.esc.mask =\
+ invalid string escape mask
+
+# NativeJavaClass
+msg.cant.instantiate =\
+ error instantiating ({0}): class {1} is interface or abstract
+
+msg.bad.ctor.sig =\
+ Found constructor with wrong signature: \
+ {0} calling {1} with signature {2}
+
+msg.not.java.obj =\
+ Expected argument to getClass() to be a Java object.
+
+msg.no.java.ctor =\
+ Java constructor for "{0}" with arguments "{1}" not found.
+
+# NativeJavaMethod
+msg.method.ambiguous =\
+ The choice of Java method {0}.{1} matching JavaScript argument types ({2}) is ambiguous; \
+ candidate methods are: {3}
+
+msg.constructor.ambiguous =\
+ The choice of Java constructor {0} matching JavaScript argument types ({1}) is ambiguous; \
+ candidate constructors are: {2}
+
+# NativeJavaObject
+msg.conversion.not.allowed =\
+ Cannot convert {0} to {1}
+
+# NativeJavaPackage
+msg.not.classloader =\
+ Constructor for "Packages" expects argument of type java.lang.Classloader
+
+# NativeRegExp
+msg.bad.quant =\
+ Invalid quantifier {0}
+
+msg.overlarge.backref =\
+ Overly large back reference {0}
+
+msg.overlarge.min =\
+ Overly large minimum {0}
+
+msg.overlarge.max =\
+ Overly large maximum {0}
+
+msg.zero.quant =\
+ Zero quantifier {0}
+
+msg.max.lt.min =\
+ Maximum {0} less than minimum
+
+msg.unterm.quant =\
+ Unterminated quantifier {0}
+
+msg.unterm.paren =\
+ Unterminated parenthetical {0}
+
+msg.unterm.class =\
+ Unterminated character class {0}
+
+msg.bad.range =\
+ Invalid range in character class.
+
+msg.trail.backslash =\
+ Trailing \\ in regular expression.
+
+msg.re.unmatched.right.paren =\
+ unmatched ) in regular expression.
+
+msg.no.regexp =\
+ Regular expressions are not available.
+
+msg.bad.backref =\
+ back-reference exceeds number of capturing parentheses.
+
+msg.bad.regexp.compile =\
+ Only one argument may be specified if the first argument to \
+ RegExp.prototype.compile is a RegExp object.
+
+# Parser
+msg.got.syntax.errors = \
+ Compilation produced {0} syntax errors.
+
+# NodeTransformer
+msg.dup.label =\
+ duplicatet label
+
+msg.undef.label =\
+ undefined labe
+
+msg.bad.break =\
+ unlabelled break must be inside loop or switch
+
+msg.continue.outside =\
+ continue must be inside loop
+
+msg.continue.nonloop =\
+ continue can only use labeles of iteration statements
+
+msg.fn.redecl =\
+ function "{0}" redeclared; prior definition will be ignored
+
+msg.bad.throw.eol =\
+ Line terminator is not allowed between the throw keyword and throw \
+ expression.
+
+msg.no.paren.parms =\
+ missing ( before function parameters.
+
+msg.no.parm =\
+ missing formal parameter
+
+msg.no.paren.after.parms =\
+ missing ) after formal parameters
+
+msg.no.brace.body =\
+ missing '{' before function body
+
+msg.no.brace.after.body =\
+ missing } after function body
+
+msg.no.paren.cond =\
+ missing ( before condition
+
+msg.no.paren.after.cond =\
+ missing ) after condition
+
+msg.no.semi.stmt =\
+ missing ; before statement
+
+msg.no.name.after.dot =\
+ missing name after . operator
+
+msg.no.name.after.coloncolon =\
+ missing name after :: operator
+
+msg.no.name.after.dotdot =\
+ missing name after .. operator
+
+msg.no.name.after.xmlAttr =\
+ missing name after .@
+
+msg.no.bracket.index =\
+ missing ] in index expression
+
+msg.no.paren.switch =\
+ missing ( before switch expression
+
+msg.no.paren.after.switch =\
+ missing ) after switch expression
+
+msg.no.brace.switch =\
+ missing '{' before switch body
+
+msg.bad.switch =\
+ invalid switch statement
+
+msg.no.colon.case =\
+ missing : after case expression
+
+msg.double.switch.default =\
+ double default label in the switch statement
+
+msg.no.while.do =\
+ missing while after do-loop body
+
+msg.no.paren.for =\
+ missing ( after for
+
+msg.no.semi.for =\
+ missing ; after for-loop initializer
+
+msg.no.semi.for.cond =\
+ missing ; after for-loop condition
+
+msg.no.paren.for.ctrl =\
+ missing ) after for-loop control
+
+msg.no.paren.with =\
+ missing ( before with-statement object
+
+msg.no.paren.after.with =\
+ missing ) after with-statement object
+
+msg.bad.return =\
+ invalid return
+
+msg.no.brace.block =\
+ missing } in compound statement
+
+msg.bad.label =\
+ invalid label
+
+msg.bad.var =\
+ missing variable name
+
+msg.bad.var.init =\
+ invalid variable initialization
+
+msg.no.colon.cond =\
+ missing : in conditional expression
+
+msg.no.paren.arg =\
+ missing ) after argument list
+
+msg.no.bracket.arg =\
+ missing ] after element list
+
+msg.bad.prop =\
+ invalid property id
+
+msg.no.colon.prop =\
+ missing : after property id
+
+msg.no.brace.prop =\
+ missing } after property list
+
+msg.no.paren =\
+ missing ) in parenthetical
+
+msg.reserved.id =\
+ identifier is a reserved word
+
+msg.no.paren.catch =\
+ missing ( before catch-block condition
+
+msg.bad.catchcond =\
+ invalid catch block condition
+
+msg.catch.unreachable =\
+ any catch clauses following an unqualified catch are unreachable
+
+msg.no.brace.catchblock =\
+ missing '{' before catch-block body
+
+msg.try.no.catchfinally =\
+ ''try'' without ''catch'' or ''finally''
+
+msg.syntax =\
+ syntax error
+
+msg.unexpected.eof =\
+ Unexpected end of file
+
+msg.XML.bad.form =\
+ illegally formed XML syntax
+
+msg.XML.not.available =\
+ XML runtime not available
+
+mag.too.deep.parser.recursion =\
+ Too deep recursion while parsing
+
+# ScriptRuntime
+msg.assn.create.strict =\
+ Attempt to assign non-existing name "{0}" in the strict mode. \
+ It could indicate a missing variable statement.
+
+msg.prop.not.found =\
+ Property {0} not found.
+
+msg.invalid.type =\
+ Invalid JavaScript value of type {0}
+
+msg.primitive.expected =\
+ Primitive type expected (had {0} instead)
+
+msg.namespace.expected =\
+ Namespace object expected to left of :: (found {0} instead)
+
+msg.null.to.object =\
+ Cannot convert null to an object.
+
+msg.undef.to.object =\
+ Cannot convert undefined to an object.
+
+msg.cyclic.value =\
+ Cyclic {0} value not allowed.
+
+msg.is.not.defined =\
+ "{0}" is not defined.
+
+msg.undef.prop.read =\
+ Cannot read property "{1}" from {0}
+
+msg.undef.prop.write =\
+ Cannot set property "{1}" of {0} to "{2}"
+
+msg.undef.prop.delete =\
+ Cannot delete property "{1}" of {0}
+
+msg.undef.method.call =\
+ Cannot call method "{1}" of {0}
+
+msg.undef.with =\
+ Cannot apply "with" to {0}
+
+msg.isnt.function =\
+ {0} is not a function.
+
+msg.isnt.xml.object =\
+ {0} is not an xml object.
+
+msg.no.ref.to.get =\
+ {0} is not a reference to read reference value.
+
+msg.no.ref.to.set =\
+ {0} is not a reference to set reference value tpo {1}.
+
+msg.no.ref.from.function =\
+ Function {0} can not be used as the left-hand side of assignment \
+ or as an operand of ++ or -- operator.
+
+msg.bad.default.value =\
+ Object''s getDefaultValue() method returned an object.
+
+msg.instanceof.not.object = \
+ Can''t use instanceof on a non-object.
+
+msg.instanceof.bad.prototype = \
+ ''prototype'' property of {0} is not an object.
+
+msg.bad.radix = \
+ illegal radix {0}.
+
+# ScriptableObject
+msg.default.value =\
+ Cannot find default value for object.
+
+msg.zero.arg.ctor =\
+ Cannot load class "{0}" which has no zero-parameter constructor.
+
+msg.ctor.multiple.parms =\
+ Can''t define constructor or class {0} since more than one \
+ constructor has multiple parameters.
+
+msg.extend.scriptable =\
+ {0} must extend ScriptableObject in order to define property {1}.
+
+msg.bad.getter.parms =\
+ In order to define a property, getter {0} must have zero parameters \
+ or a single ScriptableObject parameter.
+
+msg.obj.getter.parms =\
+ Expected static or delegated getter {0} to take a ScriptableObject parameter.
+
+msg.getter.static =\
+ Getter and setter must both be static or neither be static.
+
+msg.setter2.parms =\
+ Two-parameter setter must take a ScriptableObject as its first parameter.
+
+msg.setter1.parms =\
+ Expected single parameter setter for {0}
+
+msg.setter2.expected =\
+ Expected static or delegated setter {0} to take two parameters.
+
+msg.setter.parms =\
+ Expected either one or two parameters for setter.
+
+msg.setter.bad.type =\
+ Unsupported parameter type "{0}" in setter "{1}".
+
+
+msg.add.sealed =\
+ Cannot add a property to a sealed object: {0}.
+
+msg.remove.sealed =\
+ Cannot remove a property from a sealed object: {0}.
+
+msg.modify.sealed =\
+ Cannot modify a property of a sealed object: {0}.
+
+# TokenStream
+msg.missing.exponent =\
+ missing exponent
+
+msg.caught.nfe =\
+ number format error
+
+msg.unterminated.string.lit =\
+ unterminated string literal
+
+msg.unterminated.comment =\
+ unterminated comment
+
+msg.unterminated.re.lit =\
+ unterminated regular expression literal
+
+msg.invalid.re.flag =\
+ invalid flag after regular expression
+
+msg.no.re.input.for =\
+ no input for {0}
+
+msg.illegal.character =\
+ illegal character
+
+msg.invalid.escape =\
+ invalid Unicode escape sequence
+
+msg.bad.namespace =\
+ not a valid default namespace statement. \
+ Syntax is: default xml namespace = EXPRESSION;
+
+# TokensStream warnings
+msg.bad.octal.literal =\
+ illegal octal literal digit {0}; interpreting it as a decimal digit
+
+msg.reserved.keyword =\
+ illegal usage of future reserved keyword {0}; interpreting it as ordinary identifier
+
+# Undefined
+msg.undefined =\
+ The undefined value has no properties.
+
+# LiveConnect errors
+msg.java.internal.field.type =\
+ Internal error: type conversion of {0} to assign to {1} on {2} failed.
+
+msg.java.conversion.implicit_method =\
+ Can''t find converter method "{0}" on class {1}.
+
+msg.java.method.assign =\
+ Java method "{0}" cannot be assigned to.
+
+msg.java.internal.private =\
+ Internal error: attempt to access private/protected field "{0}".
+
+msg.java.no_such_method =\
+ Can''t find method {0}.
+
+msg.script.is.not.constructor =\
+ Script objects are not constructors.
+
+msg.nonjava.method =\
+ Java method "{0}" was invoked with {1} as "this" value that can not be converted to Java type {2}.
+
+msg.java.member.not.found =\
+ Java class "{0}" has no public instance field or method named "{1}".
+
+msg.pkg.int =\
+ Java package names may not be numbers.
+
+# ImporterTopLevel
+msg.ambig.import =\
+ Ambiguous import: "{0}" and and "{1}".
+
+msg.not.pkg =\
+ Function importPackage must be called with a package; had "{0}" instead.
+
+msg.not.class =\
+ Function importClass must be called with a class; had "{0}" instead.
+
+msg.prop.defined =\
+ Cannot import "{0}" since a property by that name is already defined.
+
+#JavaAdapter
+msg.adapter.zero.args =\
+ JavaAdapter requires at least one argument.
+
+msg.not.java.class.arg = \
+Argument {0} is not Java class: {1}.
+
+#JavaAdapter
+msg.only.one.super = \
+Only one class may be extended by a JavaAdapter. Had {0} and {1}.
+
+
+# Arrays
+msg.arraylength.bad =\
+ Inappropriate array length.
+
+# Arrays
+msg.arraylength.too.big =\
+ Array length {0} exceeds supported capacity limit.
+
+# URI
+msg.bad.uri =\
+ Malformed URI sequence.
+
+# Number
+msg.bad.precision =\
+ Precision {0} out of range.
Index: contrib/jruby/rune/luke/org/mozilla/javascript/resources/Messages_fr.properties
===================================================================
--- contrib/jruby/rune/luke/org/mozilla/javascript/resources/Messages_fr.properties (revision 0)
+++ contrib/jruby/rune/luke/org/mozilla/javascript/resources/Messages_fr.properties (revision 0)
@@ -0,0 +1,321 @@
+#
+# French JavaScript messages file.
+#
+# The contents of this file are subject to the Netscape Public
+# License Version 1.1 (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.mozilla.org/NPL/
+#
+# Software distributed under the License is distributed on an "AS
+# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+# implied. See the License for the specific language governing
+# rights and limitations under the License.
+#
+# The Original Code is Aviva Inc. code, released March 5, 2004.
+#
+# The Initial Developer of the Original Code is Aviva Inc.
+# Portions created by Aviva Inc. are Copyright (C) 2004 Aviva Inc.
+# All Rights Reserved.
+#
+# Contributor(s):
+# Eugene Aresteanu
+#
+# Alternatively, the contents of this file may be used under the
+# terms of the GNU Public License (the "GPL"), in which case the
+# provisions of the GPL are applicable instead of those above.
+# If you wish to allow use of your version of this file only
+# under the terms of the GPL and not to allow others to use your
+# version of this file under the NPL, indicate your decision by
+# deleting the provisions above and replace them with the notice
+# and other provisions required by the GPL. If you do not delete
+# the provisions above, a recipient may use your version of this
+# file under either the NPL or the GPL.
+
+msg.dup.parms =\
+ Le nom de param\u00E8tre "{0}" existe d\u00E9j\u00E0.
+msg.too.big.jump =\
+ Programme trop complexe : d\u00E9calage de saut trop important
+msg.too.big.index =\
+ Programme trop complexe : l''indice interne d\u00E9passe la limite de 64 ko
+msg.ctor.not.found =\
+ Le constructeur de "{0}" est introuvable
+msg.not.ctor =\
+ {0} n''est pas un constructeur
+msg.varargs.ctor =\
+ La m\u00E9thode ou le constructeur "{0}" doit \u00EAtre statique avec la signature "(Context cx, arguments Object[], Function ctorObj, boolean inNewExpr)" pour d\u00E9finir un constructeur d''arguments de variable.
+msg.varargs.fun =\
+ La m\u00E9thode "{0}" doit \u00EAtre statique avec la signature "(Context cx, Scriptable thisObj, arguments Object[], Function funObj)" pour d\u00E9finir une fonction d''arguments de variable
+msg.incompat.call =\
+ La m\u00E9thode "{0}" a \u00E9t\u00E9 appel\u00E9e dans un objet non compatible
+msg.bad.parms =\
+ Les param\u00E8tres de la m\u00E9thode sont incorrects pour "{0}"
+msg.no.overload =\
+ La m\u00E9thode "{0}" appara\u00EEt plusieurs fois dans la classe "{1}"
+msg.method.not.found =\
+ La m\u00E9thode "{0}" est introuvable dans "{1}"
+msg.bad.for.in.lhs =\
+ La partie gauche de la boucle for..in est incorrecte
+msg.bad.lhs.assign =\
+ La partie gauche de l''affectation est incorrecte
+msg.mult.index =\
+ Une seule variable est autoris\u00E9e dans la boucle for..in
+msg.cant.convert =\
+ La conversion en type "{0}" est impossible
+msg.cant.call.indirect =\
+ La fonction "{0}" doit \u00EAtre appel\u00E9e directement et non par l''interm\u00E9diaire d''une fonction portant un autre nom
+msg.eval.nonstring =\
+ Si vous appelez la fonction eval() avec une valeur qui n''appartient pas \u00E0 une cha\u00EEne primitive, c''est la valeur en question qui est renvoy\u00E9e. \u00E9tait-ce votre intention ?
+msg.only.from.new =\
+ {0} ne peut \u00EAtre appel\u00E9e qu''\u00E0 partir d''une "nouvelle" expression.
+msg.deprec.ctor =\
+ Le constructeur "{0}" est d\u00E9conseill\u00E9
+msg.no.function.ref.found =\
+ aucune source n''a \u00E9t\u00E9 trouv\u00E9e pour d\u00E9compiler la r\u00E9f\u00E9rence de fonction {0}
+msg.arg.isnt.array =\
+ le second argument de la m\u00E9thode Function.prototype.apply doit \u00EAtre un tableau
+msg.bad.esc.mask =\
+ le masque d''\u00E9chappement de cha\u00EEne est incorrect
+msg.cant.instantiate =\
+ erreur lors de l''instanciation ({0}) : la classe {1} est une classe interface ou abstract
+msg.bad.ctor.sig =\
+ Un constructeur avec une signature incorrecte a \u00E9t\u00E9 d\u00E9tect\u00E9 : {0} qui appelle {1} avec la signature {2}
+msg.not.java.obj =\
+ L''argument attendu pour la fonction getClass() doit \u00EAtre un objet Java
+msg.no.java.ctor =\
+ Le constructeur Java de "{0}" avec les arguments "{1}" est introuvable
+msg.method.ambiguous =\
+ Le choix de la m\u00E9thode Java {0}.{1} correspondant aux types d''argument JavaScript ({2}) est ambigu. Les m\u00E9thodes propos\u00E9es sont les suivantes : {3}
+msg.constructor.ambiguous =\
+ Le choix du constructeur Java {0} correspondant aux types d''argument JavaScript ({1}) est ambigu. Les constructeurs propos\u00E9s sont les suivants : {2}
+msg.conversion.not.allowed =\
+ Impossible de convertir {0} en {1}
+msg.not.classloader =\
+ Le constructeur de "Packages" attend un argument de type java.lang.Classloader
+msg.bad.quant =\
+ Le quantificateur {0} est incorrect
+msg.overlarge.max =\
+ Le maximum {0} est trop important
+msg.zero.quant =\
+ Le quantificateur {0} est nul
+msg.max.lt.min =\
+ Le maximum {0} est inf\u00E9rieur au minimum
+msg.unterm.quant =\
+ Le quantificateur {0} n''a pas de limite
+msg.unterm.paren =\
+ Les parenth\u00E8ses {0} n''ont pas de limite
+msg.unterm.class =\
+ La classe de caract\u00E8res {0} n''a pas de limite
+msg.bad.range =\
+ La classe de caract\u00E8res contient une plage de valeurs incorrecte
+msg.trail.backslash =\
+ \\ au d\u00E9but d''une expression r\u00E9guli\u00E8re
+msg.no.regexp =\
+ Les expressions r\u00E9guli\u00E8res ne sont pas disponibles
+msg.bad.backref =\
+ la r\u00E9f\u00E9rence ant\u00E9rieure d\u00E9passe le nombre de parenth\u00E8ses de capture
+msg.dup.label =\
+ Le libell\u00E9 {0} existe d\u00E9j\u00E0
+msg.undef.label =\
+ Le libell\u00E9 {0} n''est pas d\u00E9fini
+msg.bad.break =\
+ Le saut non libell\u00E9 doit se trouver dans la boucle ou dans l''aiguillage
+msg.continue.outside =\
+ continue doit se trouver dans la boucle
+msg.continue.nonloop =\
+ Il n''est possible de continuer que dans l''instruction d''it\u00E9ration libell\u00E9e
+msg.fn.redecl =\
+ La fonction "{0}" a \u00E9t\u00E9 de nouveau d\u00E9clar\u00E9e. La d\u00E9finition pr\u00E9c\u00E9dente sera ignor\u00E9e
+msg.no.paren.parms =\
+ il manque ''('' avant les param\u00E8tres de la fonction
+msg.no.parm =\
+ il manque un param\u00E8tre de forme
+msg.no.paren.after.parms =\
+ il manque '')'' apr\u00E8s les param\u00E8tres de forme
+msg.no.brace.body =\
+ il manque '{' avant le corps d''une fonction
+msg.no.brace.after.body =\
+ il manque ''}'' apr\u00E8s le corps d''une fonction
+msg.no.paren.cond =\
+ il manque ''('' avant une condition
+msg.no.paren.after.cond =\
+ il manque '')'' apr\u00E8s une condition
+msg.no.semi.stmt =\
+ il manque '';'' avant une instruction
+msg.no.name.after.dot =\
+ il manque un nom apr\u00E8s un op\u00E9rateur ''.''
+msg.no.bracket.index =\
+ il manque '']'' dans l''expression de l''indice
+msg.no.paren.switch =\
+ il manque ''('' avant l''expression d''un aiguillage
+msg.no.paren.after.switch =\
+ il manque '')'' apr\u00E8s l''expression d''un aiguillage
+msg.no.brace.switch =\
+ il manque '{' avant le corps d''un aiguillage
+msg.bad.switch =\
+ l''instruction d''aiguillage est incorrecte
+msg.no.colon.case =\
+ il manque '':'' apr\u00E8s l''expression d''un cas
+msg.no.while.do =\
+ il manque ''while'' apr\u00E8s le corps d''une boucle do-loop
+msg.no.paren.for =\
+ il manque ''('' apr\u00E8s for
+msg.no.semi.for =\
+ Il manque '';'' apr\u00E8s l''initialiseur for-loop
+msg.no.semi.for.cond =\
+ il manque '';'' apr\u00E8s la condition for-loop
+msg.no.paren.for.ctrl =\
+ il manque '')'' apr\u00E8s le contrôle for-loop
+msg.no.paren.with =\
+ il manque ''('' avant un objet with-statement
+msg.no.paren.after.with =\
+ il manque '')'' apr\u00E8s un objet with-statement
+msg.bad.return =\
+ la valeur renvoy\u00E9e est incorrecte
+msg.no.brace.block =\
+ il manque ''}'' dans une instruction compos\u00E9e
+msg.bad.label =\
+ le libell\u00E9 est incorrect
+msg.bad.var =\
+ il manque un nom de variable
+msg.bad.var.init =\
+ l''initialisation de la variable est incorrecte
+msg.no.colon.cond =\
+ il manque '':'' dans une expression conditionnelle
+msg.no.paren.arg =\
+ il manque '')'' apr\u00E8s une liste d''arguments
+msg.no.bracket.arg =\
+ il manque '']'' apr\u00E8s une liste d''\u00E9l\u00E9ments
+msg.bad.prop =\
+ l''identifiant de propri\u00E9t\u00E9 est incorrect
+msg.no.colon.prop =\
+ il manque '':'' apr\u00E8s un identifiant de propri\u00E9t\u00E9
+msg.no.brace.prop =\
+ il manque ''}'' apr\u00E8s une liste de propri\u00E9t\u00E9s
+msg.no.paren =\
+ il manque '')'' dans des parenth\u00E8ses
+msg.reserved.id =\
+ l''identifiant est un mot r\u00E9serv\u00E9
+msg.no.paren.catch =\
+ il manque ''('' avant une condition catch-block
+msg.bad.catchcond =\
+ la condition catch-block est incorrecte
+msg.catch.unreachable =\
+ aucune clause catch suivant une interception non qualifi\u00E9e ne peut \u00EAtre atteinte
+msg.no.brace.catchblock =\
+ il manque '{' avant le corps catch-block
+msg.try.no.catchfinally =\
+ ''try'' a \u00E9t\u00E9 d\u00E9tect\u00E9 sans ''catch'' ni ''finally''
+msg.syntax =\
+ erreur de syntaxe
+msg.assn.create =\
+ Une variable va \u00EAtre cr\u00E9\u00E9e en raison de l''affectation \u00E0 un ''{0}'' non d\u00E9fini. Ajoutez une instruction de variable \u00E0 la port\u00E9e sup\u00E9rieure pour que cet avertissement ne soit plus affich\u00E9
+msg.prop.not.found =\
+ La propri\u00E9t\u00E9 est introuvable
+msg.invalid.type =\
+ Valeur JavaScript de type {0} incorrecte
+msg.primitive.expected =\
+ Un type primitif \u00E9tait attendu (et non {0})
+msg.null.to.object =\
+ Il est impossible de convertir la valeur null en objet
+msg.undef.to.object =\
+ Il est impossible de convertir une valeur non d\u00E9finie en objet
+msg.cyclic.value =\
+ La valeur cyclique {0} n''est pas autoris\u00E9e
+msg.is.not.defined =\
+ "{0}" n''est pas d\u00E9fini
+msg.isnt.function =\
+ {0} n''est pas une fonction
+msg.bad.default.value =\
+ La m\u00E9thode getDefaultValue() de l''objet a renvoy\u00E9 un objet
+msg.instanceof.not.object =\
+ Il est impossible d''utiliser une instance d''un \u00E9l\u00E9ment autre qu''un objet
+msg.instanceof.bad.prototype =\
+ La propri\u00E9t\u00E9 ''prototype'' de {0} n''est pas un objet
+msg.bad.radix =\
+ la base {0} n''est pas autoris\u00E9e
+msg.default.value =\
+ La valeur par d\u00E9faut de l''objet est introuvable
+msg.zero.arg.ctor =\
+ Il est impossible de charger la classe "{0}", qui ne poss\u00E8de pas de constructeur de param\u00E8tre z\u00E9ro
+msg.multiple.ctors =\
+ Les m\u00E9thodes {0} et {1} ont \u00E9t\u00E9 d\u00E9tect\u00E9es alors qu''il est impossible d''utiliser plusieurs m\u00E9thodes constructor
+msg.ctor.multiple.parms =\
+ Il est impossible de d\u00E9finir le constructeur ou la classe {0} car plusieurs constructeurs poss\u00E8dent plusieurs param\u00E8tres
+msg.extend.scriptable =\
+ {0} doit \u00E9tendre ScriptableObject afin de d\u00E9finir la propri\u00E9t\u00E9 {1}
+msg.bad.getter.parms =\
+ Pour d\u00E9finir une propri\u00E9t\u00E9, la m\u00E9thode d''obtention {0} doit avoir des param\u00E8tres z\u00E9ro ou un seul param\u00E8tre ScriptableObject
+msg.obj.getter.parms =\
+ La m\u00E9thode d''obtention statique ou d\u00E9l\u00E9gu\u00E9e {0} doit utiliser un param\u00E8tre ScriptableObject
+msg.getter.static =\
+ La m\u00E9thode d''obtention et la m\u00E9thode de d\u00E9finition doivent toutes deux avoir le m\u00EAme \u00E9tat (statique ou non)
+msg.setter2.parms =\
+ La m\u00E9thode de d\u00E9finition \u00E0 deux param\u00E8tres doit utiliser un param\u00E8tre ScriptableObject comme premier param\u00E8tre
+msg.setter1.parms =\
+ Une m\u00E9thode d''obtention \u00E0 param\u00E8tre unique est attendue pour {0}
+msg.setter2.expected =\
+ La m\u00E9thode de d\u00E9finition statique ou d\u00E9l\u00E9gu\u00E9e {0} doit utiliser deux param\u00E8tres
+msg.setter.parms =\
+ Un ou deux param\u00E8tres sont attendus pour la m\u00E9thode de d\u00E9finition
+msg.add.sealed =\
+ Il est impossible d''ajouter une propri\u00E9t\u00E9 \u00E0 un objet ferm\u00E9
+msg.remove.sealed =\
+ Il est impossible de supprimer une propri\u00E9t\u00E9 d''un objet ferm\u00E9
+msg.token.replaces.pushback =\
+ le jeton de non-obtention {0} remplace le jeton de renvoi {1}
+msg.missing.exponent =\
+ il manque un exposant
+msg.caught.nfe =\
+ erreur de format de nombre : {0}
+msg.unterminated.string.lit =\
+ le litt\u00E9ral de la cha\u00EEne n''a pas de limite
+msg.unterminated.comment =\
+ le commentaire n''a pas de limite
+msg.unterminated.re.lit =\
+ le litt\u00E9ral de l''expression r\u00E9guli\u00E8re n''a pas de limite
+msg.invalid.re.flag =\
+ une expression r\u00E9guli\u00E8re est suivie d''un indicateur incorrect
+msg.no.re.input.for =\
+ il n''y a pas d''entr\u00E9e pour {0}
+msg.illegal.character =\
+ caract\u00E8re non autoris\u00E9
+msg.invalid.escape =\
+ la s\u00E9quence d''\u00E9chappement Unicode est incorrecte
+msg.bad.octal.literal =\
+ le chiffre octal du litt\u00E9ral, {0}, n''est pas autoris\u00E9 et sera interpr\u00E9t\u00E9 comme un chiffre d\u00E9cimal
+msg.reserved.keyword =\
+ l''utilisation du futur mot-cl\u00E9 r\u00E9serv\u00E9 {0} n''est pas autoris\u00E9e et celui-ci sera interpr\u00E9t\u00E9 comme un identifiant ordinaire
+msg.undefined =\
+ La valeur non d\u00E9finie ne poss\u00E8de pas de propri\u00E9t\u00E9
+msg.java.internal.field.type =\
+ Erreur interne : la conversion de type de {0} afin d''affecter {1} \u00E0 {2} a \u00E9chou\u00E9
+msg.java.conversion.implicit_method =\
+ La m\u00E9thode de conversion "{0}" est introuvable dans la classe {1}
+sg.java.method.assign =\
+ La m\u00E9thode Java "{0}" ne peut pas \u00EAtre affect\u00E9e \u00E0
+msg.java.internal.private =\
+ Erreur interne : une tentative d''acc\u00E9der \u00E0 un champ "{0}" priv\u00E9/prot\u00E9g\u00E9 a \u00E9t\u00E9 d\u00E9tect\u00E9e
+msg.java.no_such_method =\
+ La m\u00E9thode ''{0}'' est introuvable
+msg.script.is.not.constructor =\
+ Les objets Script ne sont pas des constructeurs
+msg.nonjava.method =\
+ La m\u00E9thode Java "{0}" a \u00E9t\u00E9 appel\u00E9e avec une valeur ''this'' qui n''est pas un objet Java
+msg.java.member.not.found =\
+ La classe Java "{0}" ne poss\u00E8de aucun champ ou aucune m\u00E9thode d''instance publique appel\u00E9 "{1}"
+msg.pkg.int =\
+ Les noms de package Java ne peuvent pas \u00EAtre des nombres
+msg.ambig.import =\
+ Importation ambigu\u00EB : "{0}" et "{1}"
+msg.not.pkg =\
+ La fonction importPackage doit \u00EAtre appel\u00E9e avec un package et non avec "{0}"
+msg.not.class =\
+ La fonction importClass doit \u00EAtre appel\u00E9e avec une classe et non avec "{0}"
+msg.prop.defined =\
+ Il est impossible d''importer "{0}" car une propri\u00E9t\u00E9 portant le m\u00EAme nom a d\u00E9j\u00E0 \u00E9t\u00E9 d\u00E9finie
+sg.arraylength.bad =\
+ La longueur du tableau n''est pas appropri\u00E9e
+msg.bad.uri =\
+ La s\u00E9quence URI n''est pas form\u00E9e correctement
+msg.bad.precision =\
+ La pr\u00E9cision {0} ne se trouve pas dans la plage de valeurs
Index: contrib/jruby/rune/luke/img/lucene.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: contrib/jruby/rune/luke/img/lucene.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Index: contrib/jruby/rune/luke/img/simil.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: contrib/jruby/rune/luke/img/simil.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Index: contrib/jruby/rune/luke/img/errx.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: contrib/jruby/rune/luke/img/errx.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Index: contrib/jruby/rune/luke/img/open2.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: contrib/jruby/rune/luke/img/open2.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Index: contrib/jruby/rune/luke/img/open3.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: contrib/jruby/rune/luke/img/open3.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Index: contrib/jruby/rune/luke/img/props2.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: contrib/jruby/rune/luke/img/props2.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Index: contrib/jruby/rune/luke/img/docs.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: contrib/jruby/rune/luke/img/docs.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Index: contrib/jruby/rune/luke/img/terms.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: contrib/jruby/rune/luke/img/terms.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Index: contrib/jruby/rune/luke/img/info.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: contrib/jruby/rune/luke/img/info.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Index: contrib/jruby/rune/luke/img/luke-big.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: contrib/jruby/rune/luke/img/luke-big.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Index: contrib/jruby/rune/luke/img/tools.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: contrib/jruby/rune/luke/img/tools.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Index: contrib/jruby/rune/luke/img/luke.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: contrib/jruby/rune/luke/img/luke.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Index: contrib/jruby/rune/luke/img/open.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: contrib/jruby/rune/luke/img/open.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Index: contrib/jruby/rune/luke/img/files.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: contrib/jruby/rune/luke/img/files.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Index: contrib/jruby/rune/luke/img/delete.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: contrib/jruby/rune/luke/img/delete.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Index: contrib/jruby/rune/luke/img/script.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: contrib/jruby/rune/luke/img/script.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Index: contrib/jruby/rune/luke/img/search.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: contrib/jruby/rune/luke/img/search.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Index: contrib/jruby/rune/log/test.log
===================================================================
Index: contrib/jruby/rune/log/development.log
===================================================================
--- contrib/jruby/rune/log/development.log (revision 0)
+++ contrib/jruby/rune/log/development.log (revision 0)
@@ -0,0 +1,152 @@
+
+
+Processing DocumentController#index (for 10.0.1.12 at 2007-01-23 01:12:40) [GET]
+ Session ID: ffba728cd24aa6db66a4eba93aad604f
+ Parameters: {"action"=>"index", "controller"=>"document", "id"=>"100"}
+Redirected to http://bp:3001/
+
+
+NoMethodError (You have a nil object when you didn't expect it!
+You might have expected an instance of Array.
+The error occurred while evaluating nil.[]):
+ ./app/controllers/document_controller.rb:14:in `index'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:1101:in `send'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:1101:in `perform_action'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:631:in `call_filter'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:619:in `perform_action'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/benchmarking.rb:65:in `perform_action'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/rescue.rb:125:in `measure'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/benchmarking.rb:73:in `perform_action'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/rescue.rb:125:in `perform_action_with_rescue'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:428:in `send'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:428:in `process'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:624:in `process'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/session_management.rb:114:in `process_with_session_management_support'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:330:in `process'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/rails-1.2.0/lib/dispatcher.rb:39:in `dispatch'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/rails-1.2.0/lib/webrick_server.rb:117:in `handle_dispatch'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/rails-1.2.0/lib/webrick_server.rb:80:in `service'
+ /usr/local/jruby-smp/jruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
+ /usr/local/jruby-smp/jruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
+ /usr/local/jruby-smp/jruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
+ /usr/local/jruby-smp/jruby/lib/ruby/1.8/webrick/server.rb:100:in `start'
+
+
+Rendering /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/templates/rescues/layout.rhtml (internal_server_error)
+
+
+Processing DocumentController#index (for 10.0.1.12 at 2007-01-23 01:13:00) [GET]
+ Session ID: ffba728cd24aa6db66a4eba93aad604f
+ Parameters: {"action"=>"index", "controller"=>"document"}
+Redirected to http://bp:3001/
+
+
+NoMethodError (You have a nil object when you didn't expect it!
+You might have expected an instance of Array.
+The error occurred while evaluating nil.[]):
+ ./app/controllers/document_controller.rb:14:in `index'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:1101:in `send'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:1101:in `perform_action'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:631:in `call_filter'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:619:in `perform_action'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/benchmarking.rb:65:in `perform_action'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/rescue.rb:125:in `measure'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/benchmarking.rb:73:in `perform_action'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/rescue.rb:125:in `perform_action_with_rescue'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:428:in `send'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:428:in `process'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:624:in `process'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/session_management.rb:114:in `process_with_session_management_support'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:330:in `process'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/rails-1.2.0/lib/dispatcher.rb:39:in `dispatch'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/rails-1.2.0/lib/webrick_server.rb:117:in `handle_dispatch'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/rails-1.2.0/lib/webrick_server.rb:80:in `service'
+ /usr/local/jruby-smp/jruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
+ /usr/local/jruby-smp/jruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
+ /usr/local/jruby-smp/jruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
+ /usr/local/jruby-smp/jruby/lib/ruby/1.8/webrick/server.rb:100:in `start'
+
+
+Rendering /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/templates/rescues/layout.rhtml (internal_server_error)
+
+
+Processing DocumentController#index (for 10.0.1.12 at 2007-01-23 01:13:02) [GET]
+ Session ID: ffba728cd24aa6db66a4eba93aad604f
+ Parameters: {"action"=>"index", "controller"=>"document"}
+Redirected to http://bp:3001/
+
+
+NoMethodError (You have a nil object when you didn't expect it!
+You might have expected an instance of Array.
+The error occurred while evaluating nil.[]):
+ ./app/controllers/document_controller.rb:14:in `index'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:1101:in `send'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:1101:in `perform_action'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:631:in `call_filter'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:619:in `perform_action'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/benchmarking.rb:65:in `perform_action'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/rescue.rb:125:in `measure'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/benchmarking.rb:73:in `perform_action'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/rescue.rb:125:in `perform_action_with_rescue'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:428:in `send'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:428:in `process'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:624:in `process'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/session_management.rb:114:in `process_with_session_management_support'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:330:in `process'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/rails-1.2.0/lib/dispatcher.rb:39:in `dispatch'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/rails-1.2.0/lib/webrick_server.rb:117:in `handle_dispatch'
+ /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/rails-1.2.0/lib/webrick_server.rb:80:in `service'
+ /usr/local/jruby-smp/jruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
+ /usr/local/jruby-smp/jruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
+ /usr/local/jruby-smp/jruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
+ /usr/local/jruby-smp/jruby/lib/ruby/1.8/webrick/server.rb:100:in `start'
+
+
+Rendering /usr/local/jruby-smp/jruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/templates/rescues/layout.rhtml (internal_server_error)
+
+
+Processing IndexController#index (for 10.0.1.12 at 2007-01-23 01:13:04) [GET]
+ Session ID: ffba728cd24aa6db66a4eba93aad604f
+ Parameters: {"action"=>"index", "controller"=>"index"}
+Rendering within layouts/application
+Rendering index/index
+Rendered //_banner (0.00700)
+Rendered //_flash (0.00500)
+Rendered //_menu (0.01800)
+Completed in 0.16700 (5 reqs/sec) | Rendering: 0.14200 (85%) | 200 OK [http://bp/]
+
+
+Processing IndexController#index (for 10.0.1.12 at 2007-01-23 01:13:09) [POST]
+ Session ID: ffba728cd24aa6db66a4eba93aad604f
+ Parameters: {"action"=>"index", "controller"=>"index", "path"=>"db/lucene"}
+Rendering within layouts/application
+Rendering index/index
+Rendered //_fields (0.00900)
+Rendered //_banner (0.00300)
+Rendered //_flash (0.00200)
+Rendered //_menu (0.01200)
+Completed in 0.32900 (3 reqs/sec) | Rendering: 0.12600 (38%) | 200 OK [http://bp/]
+
+
+Processing IndexController#index (for 10.0.1.12 at 2007-01-23 01:13:15) [POST]
+ Session ID: ffba728cd24aa6db66a4eba93aad604f
+ Parameters: {"action"=>"index", "controller"=>"index", "path"=>"db/lucene"}
+Rendering within layouts/application
+Rendering index/index
+Rendered //_fields (0.00400)
+Rendered //_banner (0.00200)
+Rendered //_flash (0.00200)
+Rendered //_menu (0.01200)
+Completed in 0.27500 (3 reqs/sec) | Rendering: 0.11100 (40%) | 200 OK [http://bp/]
+
+
+Processing IndexController#index (for 10.0.1.12 at 2007-01-23 01:15:33) [POST]
+ Session ID: ffba728cd24aa6db66a4eba93aad604f
+ Parameters: {"action"=>"index", "controller"=>"index", "path"=>"db/lucene"}
+Rendering within layouts/application
+Rendering index/index
+Rendered //_fields (0.01200)
+Rendered //_banner (0.01100)
+Rendered //_flash (0.00700)
+Rendered //_menu (0.02600)
+Completed in 0.65800 (1 reqs/sec) | Rendering: 0.23900 (36%) | 200 OK [http://bp/]
Index: contrib/jruby/rune/log/server.log
===================================================================
Index: contrib/jruby/rune/log/production.log
===================================================================
Index: contrib/jruby/rune/Rakefile
===================================================================
--- contrib/jruby/rune/Rakefile (revision 0)
+++ contrib/jruby/rune/Rakefile (revision 0)
@@ -0,0 +1,10 @@
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+
+require(File.join(File.dirname(__FILE__), 'config', 'boot'))
+
+require 'rake'
+require 'rake/testtask'
+require 'rake/rdoctask'
+
+require 'tasks/rails'
Index: contrib/jruby/rune/script/performance/benchmarker
===================================================================
--- contrib/jruby/rune/script/performance/benchmarker (revision 0)
+++ contrib/jruby/rune/script/performance/benchmarker (revision 0)
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+require File.dirname(__FILE__) + '/../../config/boot'
+require 'commands/performance/benchmarker'
Property changes on: contrib/jruby/rune/script/performance/benchmarker
___________________________________________________________________
Name: svn:executable
+ *
Index: contrib/jruby/rune/script/performance/profiler
===================================================================
--- contrib/jruby/rune/script/performance/profiler (revision 0)
+++ contrib/jruby/rune/script/performance/profiler (revision 0)
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+require File.dirname(__FILE__) + '/../../config/boot'
+require 'commands/performance/profiler'
Property changes on: contrib/jruby/rune/script/performance/profiler
___________________________________________________________________
Name: svn:executable
+ *
Index: contrib/jruby/rune/script/console
===================================================================
--- contrib/jruby/rune/script/console (revision 0)
+++ contrib/jruby/rune/script/console (revision 0)
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+require File.dirname(__FILE__) + '/../config/boot'
+require 'commands/console'
\ No newline at end of file
Property changes on: contrib/jruby/rune/script/console
___________________________________________________________________
Name: svn:executable
+ *
Index: contrib/jruby/rune/script/breakpointer
===================================================================
--- contrib/jruby/rune/script/breakpointer (revision 0)
+++ contrib/jruby/rune/script/breakpointer (revision 0)
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+require File.dirname(__FILE__) + '/../config/boot'
+require 'commands/breakpointer'
\ No newline at end of file
Property changes on: contrib/jruby/rune/script/breakpointer
___________________________________________________________________
Name: svn:executable
+ *
Index: contrib/jruby/rune/script/server
===================================================================
--- contrib/jruby/rune/script/server (revision 0)
+++ contrib/jruby/rune/script/server (revision 0)
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+require File.dirname(__FILE__) + '/../config/boot'
+require 'commands/server'
\ No newline at end of file
Property changes on: contrib/jruby/rune/script/server
___________________________________________________________________
Name: svn:executable
+ *
Index: contrib/jruby/rune/script/destroy
===================================================================
--- contrib/jruby/rune/script/destroy (revision 0)
+++ contrib/jruby/rune/script/destroy (revision 0)
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+require File.dirname(__FILE__) + '/../config/boot'
+require 'commands/destroy'
\ No newline at end of file
Property changes on: contrib/jruby/rune/script/destroy
___________________________________________________________________
Name: svn:executable
+ *
Index: contrib/jruby/rune/script/runner
===================================================================
--- contrib/jruby/rune/script/runner (revision 0)
+++ contrib/jruby/rune/script/runner (revision 0)
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+require File.dirname(__FILE__) + '/../config/boot'
+require 'commands/runner'
\ No newline at end of file
Property changes on: contrib/jruby/rune/script/runner
___________________________________________________________________
Name: svn:executable
+ *
Index: contrib/jruby/rune/script/about
===================================================================
--- contrib/jruby/rune/script/about (revision 0)
+++ contrib/jruby/rune/script/about (revision 0)
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+require File.dirname(__FILE__) + '/../config/boot'
+require 'commands/about'
\ No newline at end of file
Property changes on: contrib/jruby/rune/script/about
___________________________________________________________________
Name: svn:executable
+ *
Index: contrib/jruby/rune/script/generate
===================================================================
--- contrib/jruby/rune/script/generate (revision 0)
+++ contrib/jruby/rune/script/generate (revision 0)
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+require File.dirname(__FILE__) + '/../config/boot'
+require 'commands/generate'
\ No newline at end of file
Property changes on: contrib/jruby/rune/script/generate
___________________________________________________________________
Name: svn:executable
+ *
Index: contrib/jruby/rune/script/plugin
===================================================================
--- contrib/jruby/rune/script/plugin (revision 0)
+++ contrib/jruby/rune/script/plugin (revision 0)
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+require File.dirname(__FILE__) + '/../config/boot'
+require 'commands/plugin'
\ No newline at end of file
Property changes on: contrib/jruby/rune/script/plugin
___________________________________________________________________
Name: svn:executable
+ *
Index: contrib/jruby/rune/script/process/spawner
===================================================================
--- contrib/jruby/rune/script/process/spawner (revision 0)
+++ contrib/jruby/rune/script/process/spawner (revision 0)
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+require File.dirname(__FILE__) + '/../../config/boot'
+require 'commands/process/spawner'
Property changes on: contrib/jruby/rune/script/process/spawner
___________________________________________________________________
Name: svn:executable
+ *
Index: contrib/jruby/rune/script/process/inspector
===================================================================
--- contrib/jruby/rune/script/process/inspector (revision 0)
+++ contrib/jruby/rune/script/process/inspector (revision 0)
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+require File.dirname(__FILE__) + '/../../config/boot'
+require 'commands/process/inspector'
Property changes on: contrib/jruby/rune/script/process/inspector
___________________________________________________________________
Name: svn:executable
+ *
Index: contrib/jruby/rune/script/process/reaper
===================================================================
--- contrib/jruby/rune/script/process/reaper (revision 0)
+++ contrib/jruby/rune/script/process/reaper (revision 0)
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+require File.dirname(__FILE__) + '/../../config/boot'
+require 'commands/process/reaper'
Property changes on: contrib/jruby/rune/script/process/reaper
___________________________________________________________________
Name: svn:executable
+ *
Index: contrib/jruby/rune/doc/README_FOR_APP
===================================================================
--- contrib/jruby/rune/doc/README_FOR_APP (revision 0)
+++ contrib/jruby/rune/doc/README_FOR_APP (revision 0)
@@ -0,0 +1,2 @@
+Use this README file to introduce your application and point to useful places in the API for learning more.
+Run "rake appdoc" to generate API documentation for your models and controllers.
\ No newline at end of file
Index: contrib/jruby/rune/config/routes.rb
===================================================================
--- contrib/jruby/rune/config/routes.rb (revision 0)
+++ contrib/jruby/rune/config/routes.rb (revision 0)
@@ -0,0 +1,13 @@
+ActionController::Routing::Routes.draw do |map|
+
+ map.root :controller => "index"
+
+ # Sample resource route (maps HTTP verbs to controller actions automatically):
+ # map.resources :products
+
+ # Sample resource route with options:
+ # map.resources :products, :member => { :short => :get, :toggle => :post }, :collection => { :sold => :get }
+
+ map.connect ':controller/:action/:id'
+
+end
Index: contrib/jruby/rune/config/database.yml
===================================================================
--- contrib/jruby/rune/config/database.yml (revision 0)
+++ contrib/jruby/rune/config/database.yml (revision 0)
@@ -0,0 +1,36 @@
+# MySQL (default setup). Versions 4.1 and 5.0 are recommended.
+#
+# Install the MySQL driver:
+# gem install mysql
+# On MacOS X:
+# gem install mysql -- --include=/usr/local/lib
+# On Windows:
+# gem install mysql
+# Choose the win32 build.
+# Install MySQL and put its /bin directory on your path.
+#
+# And be sure to use new-style password hashing:
+# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
+development:
+ adapter: mysql
+ database: rune_development
+ username: root
+ password:
+ host: localhost
+
+# Warning: The database defined as 'test' will be erased and
+# re-generated from your development database when you run 'rake'.
+# Do not set this db to the same as development or production.
+test:
+ adapter: mysql
+ database: rune_test
+ username: root
+ password:
+ host: localhost
+
+production:
+ adapter: mysql
+ database: rune_production
+ username: root
+ password:
+ host: localhost
Index: contrib/jruby/rune/config/boot.rb
===================================================================
--- contrib/jruby/rune/config/boot.rb (revision 0)
+++ contrib/jruby/rune/config/boot.rb (revision 0)
@@ -0,0 +1,45 @@
+# Don't change this file. Configuration is done in config/environment.rb and config/environments/*.rb
+
+unless defined?(RAILS_ROOT)
+ root_path = File.join(File.dirname(__FILE__), '..')
+
+ unless RUBY_PLATFORM =~ /mswin32/
+ require 'pathname'
+ root_path = Pathname.new(root_path).cleanpath(true).to_s
+ end
+
+ RAILS_ROOT = root_path
+end
+
+unless defined?(Rails::Initializer)
+ if File.directory?("#{RAILS_ROOT}/vendor/rails")
+ require "#{RAILS_ROOT}/vendor/rails/railties/lib/initializer"
+ else
+ require 'rubygems'
+
+ environment_without_comments = IO.readlines(File.dirname(__FILE__) + '/environment.rb').reject { |l| l =~ /^#/ }.join
+ environment_without_comments =~ /[^#]RAILS_GEM_VERSION = '([\d.]+)'/
+ rails_gem_version = $1
+
+ if version = defined?(RAILS_GEM_VERSION) ? RAILS_GEM_VERSION : rails_gem_version
+ # Asking for 1.1.6 will give you 1.1.6.5206, if available -- makes it easier to use beta gems
+ rails_gem = Gem.cache.search('rails', "~>#{version}.0").sort_by { |g| g.version.version }.last
+
+ if rails_gem
+ require_gem "rails", "=#{rails_gem.version.version}"
+ require rails_gem.full_gem_path + '/lib/initializer'
+ else
+ STDERR.puts %(Cannot find gem for Rails ~>#{version}.0:
+ Install the missing gem with 'gem install -v=#{version} rails', or
+ change environment.rb to define RAILS_GEM_VERSION with your desired version.
+ )
+ exit 1
+ end
+ else
+ require_gem "rails"
+ require 'initializer'
+ end
+ end
+
+ Rails::Initializer.run(:set_load_path)
+end
\ No newline at end of file
Index: contrib/jruby/rune/config/environment.rb
===================================================================
--- contrib/jruby/rune/config/environment.rb (revision 0)
+++ contrib/jruby/rune/config/environment.rb (revision 0)
@@ -0,0 +1,60 @@
+# Be sure to restart your web server when you modify this file.
+
+# Uncomment below to force Rails into production mode when
+# you don't control web/app server and can't set it the proper way
+# ENV['RAILS_ENV'] ||= 'production'
+
+# Specifies gem version of Rails to use when vendor/rails is not present
+RAILS_GEM_VERSION = '1.2.0' unless defined? RAILS_GEM_VERSION
+
+# Bootstrap the Rails environment, frameworks, and default configuration
+require File.join(File.dirname(__FILE__), 'boot')
+
+Rails::Initializer.run do |config|
+ # Settings in config/environments/* take precedence over those specified here
+
+ # Skip frameworks you're not going to use (only works if using vendor/rails)
+ # config.frameworks -= [ :action_web_service, :action_mailer ]
+
+ # Only load the plugins named here, by default all plugins in vendor/plugins are loaded
+ # config.plugins = %W( exception_notification ssl_requirement )
+
+ # Add additional load paths for your own custom dirs
+ # config.load_paths += %W( #{RAILS_ROOT}/extras )
+
+ # Force all environments to use the same logger level
+ # (by default production uses :info, the others :debug)
+ # config.log_level = :debug
+
+ # Use the database for sessions instead of the file system
+ # (create the session table with 'rake db:sessions:create')
+ # config.action_controller.session_store = :active_record_store
+
+ # Use SQL instead of Active Record's schema dumper when creating the test database.
+ # This is necessary if your schema can't be completely dumped by the schema dumper,
+ # like if you have constraints or database-specific column types
+ # config.active_record.schema_format = :sql
+
+ # Activate observers that should always be running
+ # config.active_record.observers = :cacher, :garbage_collector
+
+ # Make Active Record use UTC-base instead of local time
+ # config.active_record.default_timezone = :utc
+
+ # See Rails::Configuration for more options
+end
+
+# Add new inflection rules using the following format
+# (all these examples are active by default):
+# Inflector.inflections do |inflect|
+# inflect.plural /^(ox)$/i, '\1en'
+# inflect.singular /^(ox)en/i, '\1'
+# inflect.irregular 'person', 'people'
+# inflect.uncountable %w( fish sheep )
+# end
+
+# Add new mime types for use in respond_to blocks:
+# Mime::Type.register "text/richtext", :rtf
+# Mime::Type.register "application/x-mobile", :mobile
+
+# Include your application configuration below
\ No newline at end of file
Index: contrib/jruby/rune/config/environments/test.rb
===================================================================
--- contrib/jruby/rune/config/environments/test.rb (revision 0)
+++ contrib/jruby/rune/config/environments/test.rb (revision 0)
@@ -0,0 +1,19 @@
+# Settings specified here will take precedence over those in config/environment.rb
+
+# The test environment is used exclusively to run your application's
+# test suite. You never need to work with it otherwise. Remember that
+# your test database is "scratch space" for the test suite and is wiped
+# and recreated between test runs. Don't rely on the data there!
+config.cache_classes = true
+
+# Log error messages when you accidentally call methods on nil.
+config.whiny_nils = true
+
+# Show full error reports and disable caching
+config.action_controller.consider_all_requests_local = true
+config.action_controller.perform_caching = false
+
+# Tell ActionMailer not to deliver emails to the real world.
+# The :test delivery method accumulates sent emails in the
+# ActionMailer::Base.deliveries array.
+config.action_mailer.delivery_method = :test
\ No newline at end of file
Index: contrib/jruby/rune/config/environments/development.rb
===================================================================
--- contrib/jruby/rune/config/environments/development.rb (revision 0)
+++ contrib/jruby/rune/config/environments/development.rb (revision 0)
@@ -0,0 +1,21 @@
+# Settings specified here will take precedence over those in config/environment.rb
+
+# In the development environment your application's code is reloaded on
+# every request. This slows down response time but is perfect for development
+# since you don't have to restart the webserver when you make code changes.
+config.cache_classes = false
+
+# Log error messages when you accidentally call methods on nil.
+config.whiny_nils = true
+
+# Enable the breakpoint server that script/breakpointer connects to
+config.breakpoint_server = true
+
+# Show full error reports and disable caching
+config.action_controller.consider_all_requests_local = true
+config.action_controller.perform_caching = false
+config.action_view.cache_template_extensions = false
+config.action_view.debug_rjs = true
+
+# Don't care if the mailer can't send
+config.action_mailer.raise_delivery_errors = false
Index: contrib/jruby/rune/config/environments/production.rb
===================================================================
--- contrib/jruby/rune/config/environments/production.rb (revision 0)
+++ contrib/jruby/rune/config/environments/production.rb (revision 0)
@@ -0,0 +1,18 @@
+# Settings specified here will take precedence over those in config/environment.rb
+
+# The production environment is meant for finished, "live" apps.
+# Code is not reloaded between requests
+config.cache_classes = true
+
+# Use a different logger for distributed setups
+# config.logger = SyslogLogger.new
+
+# Full error reports are disabled and caching is turned on
+config.action_controller.consider_all_requests_local = false
+config.action_controller.perform_caching = true
+
+# Enable serving of images, stylesheets, and javascripts from an asset server
+# config.action_controller.asset_host = "http://assets.example.com"
+
+# Disable delivery errors, bad email addresses will be ignored
+# config.action_mailer.raise_delivery_errors = false
Index: contrib/jruby/rune/lib/lucene
===================================================================
--- contrib/jruby/rune/lib/lucene (revision 0)
+++ contrib/jruby/rune/lib/lucene (revision 0)
@@ -0,0 +1 @@
+link ../../lib/lucene
\ No newline at end of file
Property changes on: contrib/jruby/rune/lib/lucene
___________________________________________________________________
Name: svn:special
+ *
Index: contrib/jruby/rune/lib/lucene.rb
===================================================================
--- contrib/jruby/rune/lib/lucene.rb (revision 0)
+++ contrib/jruby/rune/lib/lucene.rb (revision 0)
@@ -0,0 +1 @@
+link ../../lib/lucene.rb
\ No newline at end of file
Property changes on: contrib/jruby/rune/lib/lucene.rb
___________________________________________________________________
Name: svn:special
+ *
Index: contrib/jruby/rune/jruby-bugs/array.rb
===================================================================
--- contrib/jruby/rune/jruby-bugs/array.rb (revision 0)
+++ contrib/jruby/rune/jruby-bugs/array.rb (revision 0)
@@ -0,0 +1,18 @@
+require 'java'
+
+x = [ 1, 2, 3 ]
+
+puts x.class.inspect
+puts x.inspect
+puts x[1,2].inspect
+
+x = Java::JavaClass.for_name("int").new_array(3)
+x[0] = java.lang.Integer.new(1).java_object
+x[1] = java.lang.Integer.new(2).java_object
+x[2] = java.lang.Integer.new(3).java_object
+
+puts x.class.inspect
+puts x
+puts x[0]
+puts x[1,2]
+puts x[1..2]
Index: contrib/jruby/rune/jruby-bugs/merge.rb
===================================================================
--- contrib/jruby/rune/jruby-bugs/merge.rb (revision 0)
+++ contrib/jruby/rune/jruby-bugs/merge.rb (revision 0)
@@ -0,0 +1,5 @@
+a = { "a" => "b" }
+puts a.inspect
+a.merge!( { "a" => "c" } ) { |k, o, n| o }
+puts a.inspect
+
Index: contrib/jruby/rune/jruby-bugs/symtab.rb
===================================================================
--- contrib/jruby/rune/jruby-bugs/symtab.rb (revision 0)
+++ contrib/jruby/rune/jruby-bugs/symtab.rb (revision 0)
@@ -0,0 +1,24 @@
+module Foo
+
+ class Bar
+ end
+
+ $stderr.puts Bar.inspect
+
+end
+
+module Foo
+
+ $stderr.puts Bar.inspect
+
+end
+
+class Bar
+end
+
+module Foo
+
+ $stderr.puts Bar.inspect
+
+end
+
Index: contrib/jruby/rune/jruby-bugs/else.rb
===================================================================
--- contrib/jruby/rune/jruby-bugs/else.rb (revision 0)
+++ contrib/jruby/rune/jruby-bugs/else.rb (revision 0)
@@ -0,0 +1,4 @@
+being
+rescue
+eelse
+end
Index: contrib/jruby/rune/vendor/plugins/create_war/test/create_war_test.rb
===================================================================
--- contrib/jruby/rune/vendor/plugins/create_war/test/create_war_test.rb (revision 0)
+++ contrib/jruby/rune/vendor/plugins/create_war/test/create_war_test.rb (revision 0)
@@ -0,0 +1,8 @@
+require 'test/unit'
+
+class CreateWarTest < Test::Unit::TestCase
+ # Replace this with your real tests.
+ def test_this_plugin
+ flunk
+ end
+end
Index: contrib/jruby/rune/vendor/plugins/create_war/Rakefile
===================================================================
--- contrib/jruby/rune/vendor/plugins/create_war/Rakefile (revision 0)
+++ contrib/jruby/rune/vendor/plugins/create_war/Rakefile (revision 0)
@@ -0,0 +1,22 @@
+require 'rake'
+require 'rake/testtask'
+require 'rake/rdoctask'
+
+desc 'Default: run unit tests.'
+task :default => :test
+
+desc 'Test the create_war plugin.'
+Rake::TestTask.new(:test) do |t|
+ t.libs << 'lib'
+ t.pattern = 'test/**/*_test.rb'
+ t.verbose = true
+end
+
+desc 'Generate documentation for the create_war plugin.'
+Rake::RDocTask.new(:rdoc) do |rdoc|
+ rdoc.rdoc_dir = 'rdoc'
+ rdoc.title = 'CreateWar'
+ rdoc.options << '--line-numbers' << '--inline-source'
+ rdoc.rdoc_files.include('README')
+ rdoc.rdoc_files.include('lib/**/*.rb')
+end
Index: contrib/jruby/rune/vendor/plugins/create_war/tasks/create_war_tasks.rake
===================================================================
--- contrib/jruby/rune/vendor/plugins/create_war/tasks/create_war_tasks.rake (revision 0)
+++ contrib/jruby/rune/vendor/plugins/create_war/tasks/create_war_tasks.rake (revision 0)
@@ -0,0 +1,43 @@
+#
+# Rake tasks for building a war file
+#
+
+# add the lib to the load path
+
+plugin_dir = File.dirname(File.dirname(File.expand_path(__FILE__)))
+$LOAD_PATH << File.join(plugin_dir, 'lib')
+
+# load the library
+require 'create_war'
+
+# aliases for the tasks
+task 'create_war' => ['war:standalone:create']
+task 'create_war:standalone' => ['war:standalone:create']
+task 'create_war:shared' => ['war:shared:create']
+task 'war:create' => ['war:standalone:create']
+task 'war:standalone' => ['war:standalone:create']
+task 'war:shared' => ['war:shared:create']
+
+# create a standalone library
+desc 'Create a self-contained Java war'
+task 'war:standalone:create' do
+ War::create_standalone_war
+end
+
+# create a shared library
+desc 'Create a war for use on a Java server where JRuby is available'
+task 'war:shared:create' do
+ War::create_shared_war
+end
+
+# clean up
+desc "Clears all files used in the creation of a war"
+task 'tmp:war:clean' do
+ War::clean_war
+end
+
+# build up the ruby standard jar
+desc "Build the ruby standard jar"
+task 'jar:ruby_std:create' do
+ War::ruby_standard_library
+end
\ No newline at end of file
Index: contrib/jruby/rune/vendor/plugins/create_war/init.rb
===================================================================
--- contrib/jruby/rune/vendor/plugins/create_war/init.rb (revision 0)
+++ contrib/jruby/rune/vendor/plugins/create_war/init.rb (revision 0)
@@ -0,0 +1 @@
+# Include hook code here
\ No newline at end of file
Index: contrib/jruby/rune/vendor/plugins/create_war/lib/war_config.rb
===================================================================
--- contrib/jruby/rune/vendor/plugins/create_war/lib/war_config.rb (revision 0)
+++ contrib/jruby/rune/vendor/plugins/create_war/lib/war_config.rb (revision 0)
@@ -0,0 +1,117 @@
+#
+# Configuration for building a war file
+# By Robert Egglestone
+#
+module War
+class Configuration
+
+ # the path and name of the war_file
+ attr_accessor :war_file
+ # path to the staging directory
+ attr_accessor :staging
+ # project java libraries are stored here
+ attr_accessor :local_java_lib
+ # external locations
+ attr_accessor :jruby_home
+ attr_accessor :maven_local_repository
+ attr_accessor :maven_remote_repository
+ # compile ruby files? currently only preparses files, but has problems with paths
+ attr_accessor :compile_ruby
+ # keep source if compiling ruby files?
+ attr_accessor :keep_source
+ # if you set this to false gems will fail to load if their dependencies aren't available
+ attr_accessor :add_gem_dependencies
+ # standalone?
+ attr_accessor :standalone
+ # java libraries to include in the package
+ attr_accessor :java_libraries
+ # gem libraries to include in the package
+ attr_accessor :gem_libraries
+ # the real separator for the operating system
+ attr_accessor :os_separator
+ attr_accessor :os_path_separator
+
+ def initialize
+ # default internal locations
+ # $webapp/vendor/plugins/create_war/tasks
+ @rails_basedir = File.dirname(File.dirname(File.dirname(File.dirname(File.dirname(File.expand_path(__FILE__))))))
+ @staging = File.join('tmp', 'war')
+ @local_java_lib = File.join('lib', 'java')
+ # load user configuration
+ load_user_configuration
+ # start defining parameters overrinding them as necessary
+ @compile_ruby = is_conf("compile") ? @config_db["compile"] : false
+ @keep_source = is_conf("keep_source") ? @config_db["keep_source"] : false
+ @add_gem_dependencies = is_conf("add_gem_dependencies") ? @config_db["add_gem_dependencies"] : true
+ #@standalone = is_conf("standalone") ? @config_db["standalone"] : true
+ home = ENV['HOME'] || ENV['USERPROFILE']
+ @jruby_home = is_conf("jruby_home") ? @config_db["jruby_home"] : ENV['JRUBY_HOME']
+ #@jruby_home = ENV['JRUBY_HOME']
+ @maven_local_repository = is_conf("local_maven_repository") ? @config_db["local_maven_repository"] : ENV['MAVEN2_REPO'] # should be in settings.xml, but I need an override
+ @maven_local_repository ||= File.join(home, '.m2', 'repository') if home
+ @maven_remote_repository = 'http://www.ibiblio.org/maven2'
+ # configured war name, defaults to the same as the ruby webapp
+ @war_file = is_conf("name") ? @config_db["name"] << ".war" : "#{File.basename(@rails_basedir)}.war"
+ # configured java libraries
+ @java_libraries = {}
+ if is_conf("java_libs")
+ for lib_ordinal,lib_specification in @config_db["java_libs"]
+ if lib_specification.size < 3
+ puts " please specify the group, the artifact (jar name) and a version number for each java lib configured (#{lib_ordinal})"
+ else
+ group_specif = lib_specification[0]['group']
+ artifact_specif = lib_specification[1]['artifact']
+ version_specif = lib_specification[2]['version']
+ print " Group: #{group_specif},"
+ print " artifact: #{artifact_specif},"
+ puts " version: #{version_specif}"
+ add_java_library(group_specif,artifact_specif,version_specif)
+ end
+ end
+ end
+ # default java libraries
+ add_java_library('org.jruby', 'jruby', '0.9.1')
+ add_java_library('asm', 'asm', '2.2.2')
+ add_java_library('org.jruby.extras', 'rails-integration', '1.0-SNAPSHOT')
+ add_java_library('javax.activation', 'activation', '1.1')
+ add_java_library('commons-pool', 'commons-pool', '1.3')
+ add_java_library('jvyaml','jvyaml','0.9.1')
+ # default gems
+ @gem_libraries = {}
+ add_gem('rails', '= 1.1.6')
+ # separators
+ if RUBY_PLATFORM =~ /mswin/i # watch out for darwin
+ @os_separator = '\\'
+ @os_path_separator = ';'
+ elsif RUBY_PLATFORM =~ /java/i
+ @os_separator = java.io.File.separator
+ @os_path_separator = java.io.File.pathSeparator
+ else
+ @os_separator = File::SEPARATOR
+ @os_path_separator = File::PATH_SEPARATOR
+ end
+ end
+
+ def is_conf(name)
+ return true if @config_db and @config_db[name]
+ end
+
+ def load_user_configuration
+ begin
+ puts "Reading configuration "
+ @config_db = YAML::load(File.new(File.join(@rails_basedir,"config","war.yml")))
+ rescue
+ puts "couldn't find config file config/war.yml, or it is empty, continuing using defaults"
+ end
+ end
+
+ def add_java_library(group, name, version, type='jar')
+ @java_libraries[group] ||= JavaLibrary.new(group, name, version, type)
+ end
+
+ def add_gem(name, match_version)
+ @gem_libraries[name] = match_version
+ end
+
+end #class
+end #module
\ No newline at end of file
Index: contrib/jruby/rune/vendor/plugins/create_war/lib/java_library.rb
===================================================================
--- contrib/jruby/rune/vendor/plugins/create_war/lib/java_library.rb (revision 0)
+++ contrib/jruby/rune/vendor/plugins/create_war/lib/java_library.rb (revision 0)
@@ -0,0 +1,87 @@
+#
+# A library which can hopefully be obtained through one of the following mechanisms:
+# + A local artifact: lib/java/jruby-0.9.1.jar
+# + An artifact in a local maven repo: ~/.m2/repository/org/jruby/jruby/0.9.1/jruby-0.9.1/jar
+# + An artifact in a remote maven repo: http://www.ibiblio.com/maven2/org/jruby/jruby/0.9.1/jruby-0.9.1/jar
+#
+class JavaLibrary
+
+ attr_accessor :group, :artifact, :version, :type
+
+ def initialize(group, artifact, version, type='jar')
+ @group = group
+ @artifact = artifact
+ @version = version
+ @type = type
+ end
+
+ def file
+ "#{artifact}-#{version}.jar"
+ end
+
+ def local_paths(config)
+ # any of these paths may not exist, be sure to check them before use
+ lp = []
+ if config.local_java_lib
+ lp << File.join(config.local_java_lib, "#{artifact}-#{version}.#{type}")
+ lp << File.join(config.local_java_lib, "#{artifact}.#{type}")
+ end
+ if config.jruby_home
+ lp << File.join(config.jruby_home, 'lib', "#{artifact}-#{version}.#{type}")
+ lp << File.join(config.jruby_home, 'lib', "#{artifact}.#{type}")
+ end
+ if config.maven_local_repository
+ lp << File.join(config.maven_local_repository, group.gsub('.', File::SEPARATOR), artifact, version, "#{artifact}-#{version}.#{type}")
+ end
+ lp
+ end
+
+ def mvn_remote_path(config)
+ "#{config.maven_remote_repository}/#{group.gsub('.', '/')}/#{artifact}/#{version}/#{artifact}-#{version}.#{type}"
+ end
+
+ def install(config, target_file)
+ # try local sources first
+ local_paths = local_paths(config)
+ for file in local_paths
+ if File.exists?(file)
+ File.install(file, target_file, 0644)
+ return
+ end
+ end
+ # local sources have failed, try remotely
+ remote_path = mvn_remote_path(config)
+ puts "Warning, couldn't find local maven repo, downloading from " + remote_path + " as needed"
+ begin
+ response = read_url(remote_path)
+ File.open(target_file, 'w') { |out| out << response.body }
+ rescue => remote_error
+ # all attempts have failed, inform the user
+ raise <<-ERROR
+ The library #{self} could not be obtained from in any of the following locations:
+ + #{local_paths.join("
+ + ")}
+ + #{remote_path} (#{remote_error})
+ ERROR
+ end
+ end
+
+ # properly download the required files, taking account of redirects
+ # this code is almost straight from the Net::HTTP docs
+ def read_url(uri_str, limit=10)
+ raise ArgumentError, 'HTTP redirect too deep' if limit == 0
+ require 'net/http'
+ require 'uri'
+ response = Net::HTTP.get_response(URI.parse(uri_str))
+ case response
+ when Net::HTTPSuccess then response
+ when Net::HTTPRedirection then read_url(response['location'], limit - 1)
+ else response.error!
+ end
+ end
+
+ def to_s
+ "#{artifact}-#{version}"
+ end
+
+end
\ No newline at end of file
Index: contrib/jruby/rune/vendor/plugins/create_war/lib/create_war.rb
===================================================================
--- contrib/jruby/rune/vendor/plugins/create_war/lib/create_war.rb (revision 0)
+++ contrib/jruby/rune/vendor/plugins/create_war/lib/create_war.rb (revision 0)
@@ -0,0 +1,159 @@
+#
+# Building a war file
+#
+# By Robert Egglestone
+# Fausto Lelli (*minor* patches for windows platform, plugin dist.)
+#
+
+require 'fileutils'
+require 'java_library'
+require 'war_config'
+require 'packer'
+
+
+module War
+
+ def self.create_standalone_war
+ creator = Creator.new
+ creator.config.standalone = true
+ creator.create_war_file
+ end
+
+ def self.create_shared_war
+ creator = Creator.new
+ creator.config.standalone = false
+ creator.create_war_file
+ end
+
+ def self.clean_war
+ config = Configuration.new
+ FileUtils.remove_file(config.war_file)
+ FileUtils.remove_dir(config.staging)
+ end
+
+ def self.ruby_standard_library
+ creator = Creator.new
+ creator.config.standalone = false
+ creator.create_ruby_std_jar
+ end
+
+ class Creator
+
+ attr_accessor :config
+
+ def initialize
+ @config = Configuration.new
+ @java_lib_packer = JavaLibPacker.new(@config);
+ @ruby_lib_packer = RubyLibPacker.new(@config);
+ @webapp_packer = WebappPacker.new(@config);
+ end
+
+ def create_war_file
+ assemble
+ create_war
+ end
+
+ def create_ruby_std_jar
+ copy_standard_libraries
+ end
+
+ private
+
+ def assemble
+ puts 'Assembling web application'
+ add_java_libraries
+ add_webapp
+ add_ruby_libraries
+ add_webxml
+ end
+
+ def create_war
+ puts 'Creating web archive'
+ jar(config.war_file, config.staging)
+ end
+
+ def add_webapp
+ @webapp_packer.add_webapp
+ end
+
+ def add_java_libraries
+ @java_lib_packer.add_java_libraries
+ end
+
+ def add_ruby_libraries
+ @ruby_lib_packer.add_ruby_libraries
+ end
+
+ def copy_standard_libraries
+ puts 'Creating ruby standard libraries'
+ @ruby_lib_packer.copy_standard_libraries
+ end
+
+ def create_webxml
+ require 'erb'
+ template = <
+
+
+
+
+
+
+ rails
+ org.jruby.webapp.RailsServlet
+
+
+ files
+ org.jruby.webapp.FileServlet
+
+
+
+ <% for public_file in public_files %>
+
+ files
+ <%= public_file %>
+
+ <% end %>
+
+
+
+ rails
+ /
+
+
+
+END_OF_WEB_INF
+
+ public_dir = File.join(config.staging, 'public')
+ public_files = []
+ public_filelist = Rake::FileList.new(File.join(public_dir, '*'))
+ public_filelist.each do |f|
+ relative = f[public_dir.length..f.length]
+ relative += File::SEPARATOR + '*' if File.directory?(f)
+ public_files << relative
+ end
+
+ erb = ERB.new(template)
+ erb.result(binding)
+ end
+
+ def add_webxml
+ unless File.exists?(File.join('WEB-INF', 'web.xml'))
+ config_webxml = File.join('config', 'web.xml')
+ webxml = File.read(config_webxml) if File.exists?(config_webxml)
+ webxml ||= create_webxml
+ File.makedirs(File.join(config.staging, 'WEB-INF'))
+ File.open(File.join(config.staging, 'WEB-INF', 'web.xml'), 'w') { |out| out << webxml }
+ end
+ end
+
+ end #class
+end #module
Index: contrib/jruby/rune/vendor/plugins/create_war/install.rb
===================================================================
--- contrib/jruby/rune/vendor/plugins/create_war/install.rb (revision 0)
+++ contrib/jruby/rune/vendor/plugins/create_war/install.rb (revision 0)
@@ -0,0 +1 @@
+# Install hook code here
Index: contrib/jruby/rune/vendor/plugins/create_war/README
===================================================================
--- contrib/jruby/rune/vendor/plugins/create_war/README (revision 0)
+++ contrib/jruby/rune/vendor/plugins/create_war/README (revision 0)
@@ -0,0 +1,13 @@
+This task allows you to package up your Rails web application
+as a war file for deployment to Tomcat or another J2EE server.
+
+It adds the following tasks to your project:
+
++ war:standalone:create
+create a self-contained package which includes JRuby and any gems that are
+required by the application.
+
++ war:shared:create
+create a package containing only the application. JRuby and rails-integration
+should be made available using a shared classloader. If JRUBY_HOME is set,
+then this will be used to locate any Ruby libraries and gems.
Index: contrib/jruby/rune/public/dispatch.cgi
===================================================================
--- contrib/jruby/rune/public/dispatch.cgi (revision 0)
+++ contrib/jruby/rune/public/dispatch.cgi (revision 0)
@@ -0,0 +1,10 @@
+#!/usr/local/jruby-trunk/bin/jruby
+
+require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
+
+# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
+# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired
+require "dispatcher"
+
+ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
+Dispatcher.dispatch
\ No newline at end of file
Property changes on: contrib/jruby/rune/public/dispatch.cgi
___________________________________________________________________
Name: svn:executable
+ *
Index: contrib/jruby/rune/public/dispatch.rb
===================================================================
--- contrib/jruby/rune/public/dispatch.rb (revision 0)
+++ contrib/jruby/rune/public/dispatch.rb (revision 0)
@@ -0,0 +1,10 @@
+#!/usr/local/jruby-trunk/bin/jruby
+
+require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
+
+# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
+# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired
+require "dispatcher"
+
+ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
+Dispatcher.dispatch
\ No newline at end of file
Property changes on: contrib/jruby/rune/public/dispatch.rb
___________________________________________________________________
Name: svn:executable
+ *
Index: contrib/jruby/rune/public/images/all.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: contrib/jruby/rune/public/images/all.gif
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Index: contrib/jruby/rune/public/robots.txt
===================================================================
--- contrib/jruby/rune/public/robots.txt (revision 0)
+++ contrib/jruby/rune/public/robots.txt (revision 0)
@@ -0,0 +1 @@
+# See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
\ No newline at end of file
Index: contrib/jruby/rune/public/dispatch.fcgi
===================================================================
--- contrib/jruby/rune/public/dispatch.fcgi (revision 0)
+++ contrib/jruby/rune/public/dispatch.fcgi (revision 0)
@@ -0,0 +1,24 @@
+#!/usr/local/jruby-trunk/bin/jruby
+#
+# You may specify the path to the FastCGI crash log (a log of unhandled
+# exceptions which forced the FastCGI instance to exit, great for debugging)
+# and the number of requests to process before running garbage collection.
+#
+# By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log
+# and the GC period is nil (turned off). A reasonable number of requests
+# could range from 10-100 depending on the memory footprint of your app.
+#
+# Example:
+# # Default log path, normal GC behavior.
+# RailsFCGIHandler.process!
+#
+# # Default log path, 50 requests between GC.
+# RailsFCGIHandler.process! nil, 50
+#
+# # Custom log path, normal GC behavior.
+# RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log'
+#
+require File.dirname(__FILE__) + "/../config/environment"
+require 'fcgi_handler'
+
+RailsFCGIHandler.process!
Property changes on: contrib/jruby/rune/public/dispatch.fcgi
___________________________________________________________________
Name: svn:executable
+ *
Index: contrib/jruby/rune/public/500.html
===================================================================
--- contrib/jruby/rune/public/500.html (revision 0)
+++ contrib/jruby/rune/public/500.html (revision 0)
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+ We're sorry, but something went wrong
+
+
+
+
+
+
+
We're sorry, but something went wrong.
+
We've been notified about this issue and we'll take a look at it shortly.
+
+
+
\ No newline at end of file
Index: contrib/jruby/rune/public/javascripts/prototype.js
===================================================================
--- contrib/jruby/rune/public/javascripts/prototype.js (revision 0)
+++ contrib/jruby/rune/public/javascripts/prototype.js (revision 0)
@@ -0,0 +1,2385 @@
+/* Prototype JavaScript framework, version 1.5.0_rc2
+ * (c) 2005, 2006 Sam Stephenson
+ *
+ * Prototype is freely distributable under the terms of an MIT-style license.
+ * For details, see the Prototype web site: http://prototype.conio.net/
+ *
+/*--------------------------------------------------------------------------*/
+
+var Prototype = {
+ Version: '1.5.0_rc2',
+ BrowserFeatures: {
+ XPath: !!document.evaluate
+ },
+
+ ScriptFragment: '(?:)((\n|\r|.)*?)(?:<\/script>)',
+ emptyFunction: function() {},
+ K: function(x) { return x }
+}
+
+var Class = {
+ create: function() {
+ return function() {
+ this.initialize.apply(this, arguments);
+ }
+ }
+}
+
+var Abstract = new Object();
+
+Object.extend = function(destination, source) {
+ for (var property in source) {
+ destination[property] = source[property];
+ }
+ return destination;
+}
+
+Object.extend(Object, {
+ inspect: function(object) {
+ try {
+ if (object === undefined) return 'undefined';
+ if (object === null) return 'null';
+ return object.inspect ? object.inspect() : object.toString();
+ } catch (e) {
+ if (e instanceof RangeError) return '...';
+ throw e;
+ }
+ },
+
+ keys: function(object) {
+ var keys = [];
+ for (var property in object)
+ keys.push(property);
+ return keys;
+ },
+
+ values: function(object) {
+ var values = [];
+ for (var property in object)
+ values.push(object[property]);
+ return values;
+ },
+
+ clone: function(object) {
+ return Object.extend({}, object);
+ }
+});
+
+Function.prototype.bind = function() {
+ var __method = this, args = $A(arguments), object = args.shift();
+ return function() {
+ return __method.apply(object, args.concat($A(arguments)));
+ }
+}
+
+Function.prototype.bindAsEventListener = function(object) {
+ var __method = this, args = $A(arguments), object = args.shift();
+ return function(event) {
+ return __method.apply(object, [( event || window.event)].concat(args).concat($A(arguments)));
+ }
+}
+
+Object.extend(Number.prototype, {
+ toColorPart: function() {
+ var digits = this.toString(16);
+ if (this < 16) return '0' + digits;
+ return digits;
+ },
+
+ succ: function() {
+ return this + 1;
+ },
+
+ times: function(iterator) {
+ $R(0, this, true).each(iterator);
+ return this;
+ }
+});
+
+var Try = {
+ these: function() {
+ var returnValue;
+
+ for (var i = 0, length = arguments.length; i < length; i++) {
+ var lambda = arguments[i];
+ try {
+ returnValue = lambda();
+ break;
+ } catch (e) {}
+ }
+
+ return returnValue;
+ }
+}
+
+/*--------------------------------------------------------------------------*/
+
+var PeriodicalExecuter = Class.create();
+PeriodicalExecuter.prototype = {
+ initialize: function(callback, frequency) {
+ this.callback = callback;
+ this.frequency = frequency;
+ this.currentlyExecuting = false;
+
+ this.registerCallback();
+ },
+
+ registerCallback: function() {
+ this.timer = setInterval(this.onTimerEvent.bind(this), this.frequency * 1000);
+ },
+
+ stop: function() {
+ if (!this.timer) return;
+ clearInterval(this.timer);
+ this.timer = null;
+ },
+
+ onTimerEvent: function() {
+ if (!this.currentlyExecuting) {
+ try {
+ this.currentlyExecuting = true;
+ this.callback(this);
+ } finally {
+ this.currentlyExecuting = false;
+ }
+ }
+ }
+}
+Object.extend(String.prototype, {
+ gsub: function(pattern, replacement) {
+ var result = '', source = this, match;
+ replacement = arguments.callee.prepareReplacement(replacement);
+
+ while (source.length > 0) {
+ if (match = source.match(pattern)) {
+ result += source.slice(0, match.index);
+ result += (replacement(match) || '').toString();
+ source = source.slice(match.index + match[0].length);
+ } else {
+ result += source, source = '';
+ }
+ }
+ return result;
+ },
+
+ sub: function(pattern, replacement, count) {
+ replacement = this.gsub.prepareReplacement(replacement);
+ count = count === undefined ? 1 : count;
+
+ return this.gsub(pattern, function(match) {
+ if (--count < 0) return match[0];
+ return replacement(match);
+ });
+ },
+
+ scan: function(pattern, iterator) {
+ this.gsub(pattern, iterator);
+ return this;
+ },
+
+ truncate: function(length, truncation) {
+ length = length || 30;
+ truncation = truncation === undefined ? '...' : truncation;
+ return this.length > length ?
+ this.slice(0, length - truncation.length) + truncation : this;
+ },
+
+ strip: function() {
+ return this.replace(/^\s+/, '').replace(/\s+$/, '');
+ },
+
+ stripTags: function() {
+ return this.replace(/<\/?[^>]+>/gi, '');
+ },
+
+ stripScripts: function() {
+ return this.replace(new RegExp(Prototype.ScriptFragment, 'img'), '');
+ },
+
+ extractScripts: function() {
+ var matchAll = new RegExp(Prototype.ScriptFragment, 'img');
+ var matchOne = new RegExp(Prototype.ScriptFragment, 'im');
+ return (this.match(matchAll) || []).map(function(scriptTag) {
+ return (scriptTag.match(matchOne) || ['', ''])[1];
+ });
+ },
+
+ evalScripts: function() {
+ return this.extractScripts().map(function(script) { return eval(script) });
+ },
+
+ escapeHTML: function() {
+ var div = document.createElement('div');
+ var text = document.createTextNode(this);
+ div.appendChild(text);
+ return div.innerHTML;
+ },
+
+ unescapeHTML: function() {
+ var div = document.createElement('div');
+ div.innerHTML = this.stripTags();
+ return div.childNodes[0] ? (div.childNodes.length > 1 ?
+ $A(div.childNodes).inject('',function(memo,node){ return memo+node.nodeValue }) :
+ div.childNodes[0].nodeValue) : '';
+ },
+
+ toQueryParams: function(separator) {
+ var match = this.strip().match(/([^?#]*)(#.*)?$/);
+ if (!match) return {};
+
+ return match[1].split(separator || '&').inject({}, function(hash, pair) {
+ if ((pair = pair.split('='))[0]) {
+ var name = decodeURIComponent(pair[0]);
+ var value = pair[1] ? decodeURIComponent(pair[1]) : undefined;
+
+ if (hash[name] !== undefined) {
+ if (hash[name].constructor != Array)
+ hash[name] = [hash[name]];
+ if (value) hash[name].push(value);
+ }
+ else hash[name] = value;
+ }
+ return hash;
+ });
+ },
+
+ toArray: function() {
+ return this.split('');
+ },
+
+ camelize: function() {
+ var oStringList = this.split('-');
+ if (oStringList.length == 1) return oStringList[0];
+
+ var camelizedString = this.indexOf('-') == 0
+ ? oStringList[0].charAt(0).toUpperCase() + oStringList[0].substring(1)
+ : oStringList[0];
+
+ for (var i = 1, length = oStringList.length; i < length; i++) {
+ var s = oStringList[i];
+ camelizedString += s.charAt(0).toUpperCase() + s.substring(1);
+ }
+
+ return camelizedString;
+ },
+
+ underscore: function() {
+ return this.gsub(/::/, '/').gsub(/([A-Z]+)([A-Z][a-z])/,'#{1}_#{2}').gsub(/([a-z\d])([A-Z])/,'#{1}_#{2}').gsub(/-/,'-').toLowerCase();
+ },
+
+ dasherize: function() {
+ return this.gsub(/_/,'-');
+ },
+
+ inspect: function(useDoubleQuotes) {
+ var escapedString = this.replace(/\\/g, '\\\\');
+ if (useDoubleQuotes)
+ return '"' + escapedString.replace(/"/g, '\\"') + '"';
+ else
+ return "'" + escapedString.replace(/'/g, '\\\'') + "'";
+ }
+});
+
+String.prototype.gsub.prepareReplacement = function(replacement) {
+ if (typeof replacement == 'function') return replacement;
+ var template = new Template(replacement);
+ return function(match) { return template.evaluate(match) };
+}
+
+String.prototype.parseQuery = String.prototype.toQueryParams;
+
+var Template = Class.create();
+Template.Pattern = /(^|.|\r|\n)(#\{(.*?)\})/;
+Template.prototype = {
+ initialize: function(template, pattern) {
+ this.template = template.toString();
+ this.pattern = pattern || Template.Pattern;
+ },
+
+ evaluate: function(object) {
+ return this.template.gsub(this.pattern, function(match) {
+ var before = match[1];
+ if (before == '\\') return match[2];
+ return before + (object[match[3]] || '').toString();
+ });
+ }
+}
+
+var $break = new Object();
+var $continue = new Object();
+
+var Enumerable = {
+ each: function(iterator) {
+ var index = 0;
+ try {
+ this._each(function(value) {
+ try {
+ iterator(value, index++);
+ } catch (e) {
+ if (e != $continue) throw e;
+ }
+ });
+ } catch (e) {
+ if (e != $break) throw e;
+ }
+ return this;
+ },
+
+ eachSlice: function(number, iterator) {
+ var index = -number, slices = [], array = this.toArray();
+ while ((index += number) < array.length)
+ slices.push(array.slice(index, index+number));
+ return slices.collect(iterator || Prototype.K);
+ },
+
+ all: function(iterator) {
+ var result = true;
+ this.each(function(value, index) {
+ result = result && !!(iterator || Prototype.K)(value, index);
+ if (!result) throw $break;
+ });
+ return result;
+ },
+
+ any: function(iterator) {
+ var result = false;
+ this.each(function(value, index) {
+ if (result = !!(iterator || Prototype.K)(value, index))
+ throw $break;
+ });
+ return result;
+ },
+
+ collect: function(iterator) {
+ var results = [];
+ this.each(function(value, index) {
+ results.push(iterator(value, index));
+ });
+ return results;
+ },
+
+ detect: function(iterator) {
+ var result;
+ this.each(function(value, index) {
+ if (iterator(value, index)) {
+ result = value;
+ throw $break;
+ }
+ });
+ return result;
+ },
+
+ findAll: function(iterator) {
+ var results = [];
+ this.each(function(value, index) {
+ if (iterator(value, index))
+ results.push(value);
+ });
+ return results;
+ },
+
+ grep: function(pattern, iterator) {
+ var results = [];
+ this.each(function(value, index) {
+ var stringValue = value.toString();
+ if (stringValue.match(pattern))
+ results.push((iterator || Prototype.K)(value, index));
+ })
+ return results;
+ },
+
+ include: function(object) {
+ var found = false;
+ this.each(function(value) {
+ if (value == object) {
+ found = true;
+ throw $break;
+ }
+ });
+ return found;
+ },
+
+ inGroupsOf: function(number, fillWith) {
+ fillWith = fillWith || null;
+ var results = this.eachSlice(number);
+ if (results.length > 0) (number - results.last().length).times(function() {
+ results.last().push(fillWith)
+ });
+ return results;
+ },
+
+ inject: function(memo, iterator) {
+ this.each(function(value, index) {
+ memo = iterator(memo, value, index);
+ });
+ return memo;
+ },
+
+ invoke: function(method) {
+ var args = $A(arguments).slice(1);
+ return this.collect(function(value) {
+ return value[method].apply(value, args);
+ });
+ },
+
+ max: function(iterator) {
+ var result;
+ this.each(function(value, index) {
+ value = (iterator || Prototype.K)(value, index);
+ if (result == undefined || value >= result)
+ result = value;
+ });
+ return result;
+ },
+
+ min: function(iterator) {
+ var result;
+ this.each(function(value, index) {
+ value = (iterator || Prototype.K)(value, index);
+ if (result == undefined || value < result)
+ result = value;
+ });
+ return result;
+ },
+
+ partition: function(iterator) {
+ var trues = [], falses = [];
+ this.each(function(value, index) {
+ ((iterator || Prototype.K)(value, index) ?
+ trues : falses).push(value);
+ });
+ return [trues, falses];
+ },
+
+ pluck: function(property) {
+ var results = [];
+ this.each(function(value, index) {
+ results.push(value[property]);
+ });
+ return results;
+ },
+
+ reject: function(iterator) {
+ var results = [];
+ this.each(function(value, index) {
+ if (!iterator(value, index))
+ results.push(value);
+ });
+ return results;
+ },
+
+ sortBy: function(iterator) {
+ return this.collect(function(value, index) {
+ return {value: value, criteria: iterator(value, index)};
+ }).sort(function(left, right) {
+ var a = left.criteria, b = right.criteria;
+ return a < b ? -1 : a > b ? 1 : 0;
+ }).pluck('value');
+ },
+
+ toArray: function() {
+ return this.collect(Prototype.K);
+ },
+
+ zip: function() {
+ var iterator = Prototype.K, args = $A(arguments);
+ if (typeof args.last() == 'function')
+ iterator = args.pop();
+
+ var collections = [this].concat(args).map($A);
+ return this.map(function(value, index) {
+ return iterator(collections.pluck(index));
+ });
+ },
+
+ inspect: function() {
+ return '#';
+ }
+}
+
+Object.extend(Enumerable, {
+ map: Enumerable.collect,
+ find: Enumerable.detect,
+ select: Enumerable.findAll,
+ member: Enumerable.include,
+ entries: Enumerable.toArray
+});
+var $A = Array.from = function(iterable) {
+ if (!iterable) return [];
+ if (iterable.toArray) {
+ return iterable.toArray();
+ } else {
+ var results = [];
+ for (var i = 0, length = iterable.length; i < length; i++)
+ results.push(iterable[i]);
+ return results;
+ }
+}
+
+Object.extend(Array.prototype, Enumerable);
+
+if (!Array.prototype._reverse)
+ Array.prototype._reverse = Array.prototype.reverse;
+
+Object.extend(Array.prototype, {
+ _each: function(iterator) {
+ for (var i = 0, length = this.length; i < length; i++)
+ iterator(this[i]);
+ },
+
+ clear: function() {
+ this.length = 0;
+ return this;
+ },
+
+ first: function() {
+ return this[0];
+ },
+
+ last: function() {
+ return this[this.length - 1];
+ },
+
+ compact: function() {
+ return this.select(function(value) {
+ return value != undefined || value != null;
+ });
+ },
+
+ flatten: function() {
+ return this.inject([], function(array, value) {
+ return array.concat(value && value.constructor == Array ?
+ value.flatten() : [value]);
+ });
+ },
+
+ without: function() {
+ var values = $A(arguments);
+ return this.select(function(value) {
+ return !values.include(value);
+ });
+ },
+
+ indexOf: function(object) {
+ for (var i = 0, length = this.length; i < length; i++)
+ if (this[i] == object) return i;
+ return -1;
+ },
+
+ reverse: function(inline) {
+ return (inline !== false ? this : this.toArray())._reverse();
+ },
+
+ reduce: function() {
+ return this.length > 1 ? this : this[0];
+ },
+
+ uniq: function() {
+ return this.inject([], function(array, value) {
+ return array.include(value) ? array : array.concat([value]);
+ });
+ },
+
+ clone: function() {
+ return [].concat(this);
+ },
+
+ inspect: function() {
+ return '[' + this.map(Object.inspect).join(', ') + ']';
+ }
+});
+
+Array.prototype.toArray = Array.prototype.clone;
+
+if(window.opera){
+ Array.prototype.concat = function(){
+ var array = [];
+ for(var i = 0, length = this.length; i < length; i++) array.push(this[i]);
+ for(var i = 0, length = arguments.length; i < length; i++) {
+ if(arguments[i].constructor == Array) {
+ for(var j = 0, arrayLength = arguments[i].length; j < arrayLength; j++)
+ array.push(arguments[i][j]);
+ } else {
+ array.push(arguments[i]);
+ }
+ }
+ return array;
+ }
+}
+var Hash = {
+ _each: function(iterator) {
+ for (var key in this) {
+ var value = this[key];
+ if (typeof value == 'function') continue;
+
+ var pair = [key, value];
+ pair.key = key;
+ pair.value = value;
+ iterator(pair);
+ }
+ },
+
+ keys: function() {
+ return this.pluck('key');
+ },
+
+ values: function() {
+ return this.pluck('value');
+ },
+
+ merge: function(hash) {
+ return $H(hash).inject(this, function(mergedHash, pair) {
+ mergedHash[pair.key] = pair.value;
+ return mergedHash;
+ });
+ },
+
+ toQueryString: function() {
+ return this.map(function(pair) {
+ if (!pair.key) return null;
+
+ if (pair.value && pair.value.constructor == Array) {
+ pair.value = pair.value.compact();
+
+ if (pair.value.length < 2) {
+ pair.value = pair.value.reduce();
+ } else {
+ var key = encodeURIComponent(pair.key);
+ return pair.value.map(function(value) {
+ return key + '=' + encodeURIComponent(value);
+ }).join('&');
+ }
+ }
+
+ if (pair.value == undefined) pair[1] = '';
+ return pair.map(encodeURIComponent).join('=');
+ }).join('&');
+ },
+
+ inspect: function() {
+ return '#';
+ }
+}
+
+function $H(object) {
+ var hash = Object.extend({}, object || {});
+ Object.extend(hash, Enumerable);
+ Object.extend(hash, Hash);
+ return hash;
+}
+ObjectRange = Class.create();
+Object.extend(ObjectRange.prototype, Enumerable);
+Object.extend(ObjectRange.prototype, {
+ initialize: function(start, end, exclusive) {
+ this.start = start;
+ this.end = end;
+ this.exclusive = exclusive;
+ },
+
+ _each: function(iterator) {
+ var value = this.start;
+ while (this.include(value)) {
+ iterator(value);
+ value = value.succ();
+ }
+ },
+
+ include: function(value) {
+ if (value < this.start)
+ return false;
+ if (this.exclusive)
+ return value < this.end;
+ return value <= this.end;
+ }
+});
+
+var $R = function(start, end, exclusive) {
+ return new ObjectRange(start, end, exclusive);
+}
+
+var Ajax = {
+ getTransport: function() {
+ return Try.these(
+ function() {return new XMLHttpRequest()},
+ function() {return new ActiveXObject('Msxml2.XMLHTTP')},
+ function() {return new ActiveXObject('Microsoft.XMLHTTP')}
+ ) || false;
+ },
+
+ activeRequestCount: 0
+}
+
+Ajax.Responders = {
+ responders: [],
+
+ _each: function(iterator) {
+ this.responders._each(iterator);
+ },
+
+ register: function(responder) {
+ if (!this.include(responder))
+ this.responders.push(responder);
+ },
+
+ unregister: function(responder) {
+ this.responders = this.responders.without(responder);
+ },
+
+ dispatch: function(callback, request, transport, json) {
+ this.each(function(responder) {
+ if (typeof responder[callback] == 'function') {
+ try {
+ responder[callback].apply(responder, [request, transport, json]);
+ } catch (e) {}
+ }
+ });
+ }
+};
+
+Object.extend(Ajax.Responders, Enumerable);
+
+Ajax.Responders.register({
+ onCreate: function() {
+ Ajax.activeRequestCount++;
+ },
+ onComplete: function() {
+ Ajax.activeRequestCount--;
+ }
+});
+
+Ajax.Base = function() {};
+Ajax.Base.prototype = {
+ setOptions: function(options) {
+ this.options = {
+ method: 'post',
+ asynchronous: true,
+ contentType: 'application/x-www-form-urlencoded',
+ encoding: 'UTF-8',
+ parameters: ''
+ }
+ Object.extend(this.options, options || {});
+
+ this.options.method = this.options.method.toLowerCase();
+ this.options.parameters = $H(typeof this.options.parameters == 'string' ?
+ this.options.parameters.toQueryParams() : this.options.parameters);
+ }
+}
+
+Ajax.Request = Class.create();
+Ajax.Request.Events =
+ ['Uninitialized', 'Loading', 'Loaded', 'Interactive', 'Complete'];
+
+Ajax.Request.prototype = Object.extend(new Ajax.Base(), {
+ _complete: false,
+
+ initialize: function(url, options) {
+ this.transport = Ajax.getTransport();
+ this.setOptions(options);
+ this.request(url);
+ },
+
+ request: function(url) {
+ var params = this.options.parameters;
+ if (params.any()) params['_'] = '';
+
+ if (!['get', 'post'].include(this.options.method)) {
+ // simulate other verbs over post
+ params['_method'] = this.options.method;
+ this.options.method = 'post';
+ }
+
+ this.url = url;
+
+ // when GET, append parameters to URL
+ if (this.options.method == 'get' && params.any())
+ this.url += (this.url.indexOf('?') >= 0 ? '&' : '?') +
+ params.toQueryString();
+
+ try {
+ Ajax.Responders.dispatch('onCreate', this, this.transport);
+
+ this.transport.open(this.options.method.toUpperCase(), this.url,
+ this.options.asynchronous, this.options.username,
+ this.options.password);
+
+ if (this.options.asynchronous)
+ setTimeout(function() { this.respondToReadyState(1) }.bind(this), 10);
+
+ this.transport.onreadystatechange = this.onStateChange.bind(this);
+ this.setRequestHeaders();
+
+ var body = this.options.method == 'post' ?
+ (this.options.postBody || params.toQueryString()) : null;
+
+ this.transport.send(body);
+
+ /* Force Firefox to handle ready state 4 for synchronous requests */
+ if (!this.options.asynchronous && this.transport.overrideMimeType)
+ this.onStateChange();
+
+ }
+ catch (e) {
+ this.dispatchException(e);
+ }
+ },
+
+ onStateChange: function() {
+ var readyState = this.transport.readyState;
+ if (readyState > 1 && !((readyState == 4) && this._complete))
+ this.respondToReadyState(this.transport.readyState);
+ },
+
+ setRequestHeaders: function() {
+ var headers = {
+ 'X-Requested-With': 'XMLHttpRequest',
+ 'X-Prototype-Version': Prototype.Version,
+ 'Accept': 'text/javascript, text/html, application/xml, text/xml, */*'
+ };
+
+ if (this.options.method == 'post') {
+ headers['Content-type'] = this.options.contentType +
+ (this.options.encoding ? '; charset=' + this.options.encoding : '');
+
+ /* Force "Connection: close" for older Mozilla browsers to work
+ * around a bug where XMLHttpRequest sends an incorrect
+ * Content-length header. See Mozilla Bugzilla #246651.
+ */
+ if (this.transport.overrideMimeType &&
+ (navigator.userAgent.match(/Gecko\/(\d{4})/) || [0,2005])[1] < 2005)
+ headers['Connection'] = 'close';
+ }
+
+ // user-defined headers
+ if (typeof this.options.requestHeaders == 'object') {
+ var extras = this.options.requestHeaders;
+
+ if (typeof extras.push == 'function')
+ for (var i = 0, length = extras.length; i < length; i += 2)
+ headers[extras[i]] = extras[i+1];
+ else
+ $H(extras).each(function(pair) { headers[pair.key] = pair.value });
+ }
+
+ for (var name in headers)
+ this.transport.setRequestHeader(name, headers[name]);
+ },
+
+ success: function() {
+ return !this.transport.status
+ || (this.transport.status >= 200 && this.transport.status < 300);
+ },
+
+ respondToReadyState: function(readyState) {
+ var state = Ajax.Request.Events[readyState];
+ var transport = this.transport, json = this.evalJSON();
+
+ if (state == 'Complete') {
+ try {
+ this._complete = true;
+ (this.options['on' + this.transport.status]
+ || this.options['on' + (this.success() ? 'Success' : 'Failure')]
+ || Prototype.emptyFunction)(transport, json);
+ } catch (e) {
+ this.dispatchException(e);
+ }
+ }
+
+ try {
+ (this.options['on' + state] || Prototype.emptyFunction)(transport, json);
+ Ajax.Responders.dispatch('on' + state, this, transport, json);
+ } catch (e) {
+ this.dispatchException(e);
+ }
+
+ if (state == 'Complete') {
+ if ((this.getHeader('Content-type') || '').strip().
+ match(/^(text|application)\/(x-)?(java|ecma)script(;.*)?$/i))
+ this.evalResponse();
+
+ // avoid memory leak in MSIE: clean up
+ this.transport.onreadystatechange = Prototype.emptyFunction;
+ }
+ },
+
+ getHeader: function(name) {
+ try {
+ return this.transport.getResponseHeader(name);
+ } catch (e) { return null }
+ },
+
+ evalJSON: function() {
+ try {
+ var json = this.getHeader('X-JSON');
+ return json ? eval('(' + json + ')') : null;
+ } catch (e) { return null }
+ },
+
+ evalResponse: function() {
+ try {
+ return eval(this.transport.responseText);
+ } catch (e) {
+ this.dispatchException(e);
+ }
+ },
+
+ dispatchException: function(exception) {
+ (this.options.onException || Prototype.emptyFunction)(this, exception);
+ Ajax.Responders.dispatch('onException', this, exception);
+ }
+});
+
+Ajax.Updater = Class.create();
+
+Object.extend(Object.extend(Ajax.Updater.prototype, Ajax.Request.prototype), {
+ initialize: function(container, url, options) {
+ this.container = {
+ success: (container.success || container),
+ failure: (container.failure || (container.success ? null : container))
+ }
+
+ this.transport = Ajax.getTransport();
+ this.setOptions(options);
+
+ var onComplete = this.options.onComplete || Prototype.emptyFunction;
+ this.options.onComplete = (function(transport, param) {
+ this.updateContent();
+ onComplete(transport, param);
+ }).bind(this);
+
+ this.request(url);
+ },
+
+ updateContent: function() {
+ var receiver = this.container[this.success() ? 'success' : 'failure'];
+ var response = this.transport.responseText;
+
+ if (!this.options.evalScripts) response = response.stripScripts();
+
+ if (receiver = $(receiver)) {
+ if (this.options.insertion)
+ new this.options.insertion(receiver, response);
+ else
+ receiver.update(response);
+ }
+
+ if (this.success()) {
+ if (this.onComplete)
+ setTimeout(this.onComplete.bind(this), 10);
+ }
+ }
+});
+
+Ajax.PeriodicalUpdater = Class.create();
+Ajax.PeriodicalUpdater.prototype = Object.extend(new Ajax.Base(), {
+ initialize: function(container, url, options) {
+ this.setOptions(options);
+ this.onComplete = this.options.onComplete;
+
+ this.frequency = (this.options.frequency || 2);
+ this.decay = (this.options.decay || 1);
+
+ this.updater = {};
+ this.container = container;
+ this.url = url;
+
+ this.start();
+ },
+
+ start: function() {
+ this.options.onComplete = this.updateComplete.bind(this);
+ this.onTimerEvent();
+ },
+
+ stop: function() {
+ this.updater.options.onComplete = undefined;
+ clearTimeout(this.timer);
+ (this.onComplete || Prototype.emptyFunction).apply(this, arguments);
+ },
+
+ updateComplete: function(request) {
+ if (this.options.decay) {
+ this.decay = (request.responseText == this.lastText ?
+ this.decay * this.options.decay : 1);
+
+ this.lastText = request.responseText;
+ }
+ this.timer = setTimeout(this.onTimerEvent.bind(this),
+ this.decay * this.frequency * 1000);
+ },
+
+ onTimerEvent: function() {
+ this.updater = new Ajax.Updater(this.container, this.url, this.options);
+ }
+});
+function $(element) {
+ if (arguments.length > 1) {
+ for (var i = 0, elements = [], length = arguments.length; i < length; i++)
+ elements.push($(arguments[i]));
+ return elements;
+ }
+ if (typeof element == 'string')
+ element = document.getElementById(element);
+ return Element.extend(element);
+}
+
+if (Prototype.BrowserFeatures.XPath) {
+ document._getElementsByXPath = function(expression, parentElement) {
+ var results = [];
+ var query = document.evaluate(expression, $(parentElement) || document,
+ null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
+ for (var i = 0, length = query.snapshotLength; i < length; i++)
+ results.push(query.snapshotItem(i));
+ return results;
+ }
+}
+
+document.getElementsByClassName = function(className, parentElement) {
+ if (Prototype.BrowserFeatures.XPath) {
+ var q = ".//*[contains(concat(' ', @class, ' '), ' " + className + " ')]";
+ return document._getElementsByXPath(q, parentElement);
+ } else {
+ var children = ($(parentElement) || document.body).getElementsByTagName('*');
+ var elements = [], child;
+ for (var i = 0, length = children.length; i < length; i++) {
+ child = children[i];
+ if (Element.hasClassName(child, className))
+ elements.push(Element.extend(child));
+ }
+ return elements;
+ }
+}
+
+/*--------------------------------------------------------------------------*/
+
+if (!window.Element)
+ var Element = new Object();
+
+Element.extend = function(element) {
+ if (!element) return;
+ if (_nativeExtensions || element.nodeType == 3) return element;
+
+ if (!element._extended && element.tagName && element != window) {
+ var methods = Object.clone(Element.Methods), cache = Element.extend.cache;
+
+ if (element.tagName == 'FORM')
+ Object.extend(methods, Form.Methods);
+ if (['INPUT', 'TEXTAREA', 'SELECT'].include(element.tagName))
+ Object.extend(methods, Form.Element.Methods);
+
+ Object.extend(methods, Element.Methods.Simulated);
+
+ for (var property in methods) {
+ var value = methods[property];
+ if (typeof value == 'function' && !(property in element))
+ element[property] = cache.findOrStore(value);
+ }
+ }
+
+ element._extended = true;
+ return element;
+}
+
+Element.extend.cache = {
+ findOrStore: function(value) {
+ return this[value] = this[value] || function() {
+ return value.apply(null, [this].concat($A(arguments)));
+ }
+ }
+}
+
+Element.Methods = {
+ visible: function(element) {
+ return $(element).style.display != 'none';
+ },
+
+ toggle: function(element) {
+ element = $(element);
+ Element[Element.visible(element) ? 'hide' : 'show'](element);
+ return element;
+ },
+
+ hide: function(element) {
+ $(element).style.display = 'none';
+ return element;
+ },
+
+ show: function(element) {
+ $(element).style.display = '';
+ return element;
+ },
+
+ remove: function(element) {
+ element = $(element);
+ element.parentNode.removeChild(element);
+ return element;
+ },
+
+ update: function(element, html) {
+ html = typeof html == 'undefined' ? '' : html.toString();
+ $(element).innerHTML = html.stripScripts();
+ setTimeout(function() {html.evalScripts()}, 10);
+ return element;
+ },
+
+ replace: function(element, html) {
+ element = $(element);
+ if (element.outerHTML) {
+ element.outerHTML = html.stripScripts();
+ } else {
+ var range = element.ownerDocument.createRange();
+ range.selectNodeContents(element);
+ element.parentNode.replaceChild(
+ range.createContextualFragment(html.stripScripts()), element);
+ }
+ setTimeout(function() {html.evalScripts()}, 10);
+ return element;
+ },
+
+ inspect: function(element) {
+ element = $(element);
+ var result = '<' + element.tagName.toLowerCase();
+ $H({'id': 'id', 'className': 'class'}).each(function(pair) {
+ var property = pair.first(), attribute = pair.last();
+ var value = (element[property] || '').toString();
+ if (value) result += ' ' + attribute + '=' + value.inspect(true);
+ });
+ return result + '>';
+ },
+
+ recursivelyCollect: function(element, property) {
+ element = $(element);
+ var elements = [];
+ while (element = element[property])
+ if (element.nodeType == 1)
+ elements.push(Element.extend(element));
+ return elements;
+ },
+
+ ancestors: function(element) {
+ return $(element).recursivelyCollect('parentNode');
+ },
+
+ descendants: function(element) {
+ element = $(element);
+ return $A(element.getElementsByTagName('*'));
+ },
+
+ immediateDescendants: function(element) {
+ if (!(element = $(element).firstChild)) return [];
+ while (element && element.nodeType != 1) element = element.nextSibling;
+ if (element) return [element].concat($(element).nextSiblings());
+ return [];
+ },
+
+ previousSiblings: function(element) {
+ return $(element).recursivelyCollect('previousSibling');
+ },
+
+ nextSiblings: function(element) {
+ return $(element).recursivelyCollect('nextSibling');
+ },
+
+ siblings: function(element) {
+ element = $(element);
+ return element.previousSiblings().reverse().concat(element.nextSiblings());
+ },
+
+ match: function(element, selector) {
+ element = $(element);
+ if (typeof selector == 'string')
+ selector = new Selector(selector);
+ return selector.match(element);
+ },
+
+ up: function(element, expression, index) {
+ return Selector.findElement($(element).ancestors(), expression, index);
+ },
+
+ down: function(element, expression, index) {
+ return Selector.findElement($(element).descendants(), expression, index);
+ },
+
+ previous: function(element, expression, index) {
+ return Selector.findElement($(element).previousSiblings(), expression, index);
+ },
+
+ next: function(element, expression, index) {
+ return Selector.findElement($(element).nextSiblings(), expression, index);
+ },
+
+ getElementsBySelector: function() {
+ var args = $A(arguments), element = $(args.shift());
+ return Selector.findChildElements(element, args);
+ },
+
+ getElementsByClassName: function(element, className) {
+ element = $(element);
+ return document.getElementsByClassName(className, element);
+ },
+
+ readAttribute: function(element, name) {
+ return $(element).getAttribute(name);
+ },
+
+ getHeight: function(element) {
+ element = $(element);
+ return element.offsetHeight;
+ },
+
+ classNames: function(element) {
+ return new Element.ClassNames(element);
+ },
+
+ hasClassName: function(element, className) {
+ if (!(element = $(element))) return;
+ var elementClassName = element.className;
+ if (elementClassName.length == 0) return false;
+ if (elementClassName == className ||
+ elementClassName.match(new RegExp("(^|\\s)" + className + "(\\s|$)")))
+ return true;
+ return false;
+ },
+
+ addClassName: function(element, className) {
+ if (!(element = $(element))) return;
+ Element.classNames(element).add(className);
+ return element;
+ },
+
+ removeClassName: function(element, className) {
+ if (!(element = $(element))) return;
+ Element.classNames(element).remove(className);
+ return element;
+ },
+
+ observe: function() {
+ Event.observe.apply(Event, arguments);
+ return $A(arguments).first();
+ },
+
+ stopObserving: function() {
+ Event.stopObserving.apply(Event, arguments);
+ return $A(arguments).first();
+ },
+
+ // removes whitespace-only text node children
+ cleanWhitespace: function(element) {
+ element = $(element);
+ var node = element.firstChild;
+ while (node) {
+ var nextNode = node.nextSibling;
+ if (node.nodeType == 3 && !/\S/.test(node.nodeValue))
+ element.removeChild(node);
+ node = nextNode;
+ }
+ return element;
+ },
+
+ empty: function(element) {
+ return $(element).innerHTML.match(/^\s*$/);
+ },
+
+ childOf: function(element, ancestor) {
+ element = $(element), ancestor = $(ancestor);
+ while (element = element.parentNode)
+ if (element == ancestor) return true;
+ return false;
+ },
+
+ scrollTo: function(element) {
+ element = $(element);
+ var x = element.x ? element.x : element.offsetLeft,
+ y = element.y ? element.y : element.offsetTop;
+ window.scrollTo(x, y);
+ return element;
+ },
+
+ getStyle: function(element, style) {
+ element = $(element);
+ var inline = (style == 'float' ?
+ (typeof element.style.styleFloat != 'undefined' ? 'styleFloat' : 'cssFloat') : style);
+ var value = element.style[inline.camelize()];
+ if (!value) {
+ if (document.defaultView && document.defaultView.getComputedStyle) {
+ var css = document.defaultView.getComputedStyle(element, null);
+ value = css ? css.getPropertyValue(style) : null;
+ } else if (element.currentStyle) {
+ value = element.currentStyle[inline.camelize()];
+ }
+ }
+
+ if((value == 'auto') && ['width','height'].include(style) && (element.getStyle('display') != 'none'))
+ value = element['offset'+style.charAt(0).toUpperCase()+style.substring(1)] + 'px';
+
+ if (window.opera && ['left', 'top', 'right', 'bottom'].include(style))
+ if (Element.getStyle(element, 'position') == 'static') value = 'auto';
+
+ return value == 'auto' ? null : value;
+ },
+
+ setStyle: function(element, style) {
+ element = $(element);
+ for (var name in style)
+ element.style[ (name == 'float' ?
+ ((typeof element.style.styleFloat != 'undefined') ? 'styleFloat' : 'cssFloat') : name).camelize()
+ ] = style[name];
+ return element;
+ },
+
+ getDimensions: function(element) {
+ element = $(element);
+ if (Element.getStyle(element, 'display') != 'none')
+ return {width: element.offsetWidth, height: element.offsetHeight};
+
+ // All *Width and *Height properties give 0 on elements with display none,
+ // so enable the element temporarily
+ var els = element.style;
+ var originalVisibility = els.visibility;
+ var originalPosition = els.position;
+ els.visibility = 'hidden';
+ els.position = 'absolute';
+ els.display = '';
+ var originalWidth = element.clientWidth;
+ var originalHeight = element.clientHeight;
+ els.display = 'none';
+ els.position = originalPosition;
+ els.visibility = originalVisibility;
+ return {width: originalWidth, height: originalHeight};
+ },
+
+ makePositioned: function(element) {
+ element = $(element);
+ var pos = Element.getStyle(element, 'position');
+ if (pos == 'static' || !pos) {
+ element._madePositioned = true;
+ element.style.position = 'relative';
+ // Opera returns the offset relative to the positioning context, when an
+ // element is position relative but top and left have not been defined
+ if (window.opera) {
+ element.style.top = 0;
+ element.style.left = 0;
+ }
+ }
+ return element;
+ },
+
+ undoPositioned: function(element) {
+ element = $(element);
+ if (element._madePositioned) {
+ element._madePositioned = undefined;
+ element.style.position =
+ element.style.top =
+ element.style.left =
+ element.style.bottom =
+ element.style.right = '';
+ }
+ return element;
+ },
+
+ makeClipping: function(element) {
+ element = $(element);
+ if (element._overflow) return element;
+ element._overflow = element.style.overflow || 'auto';
+ if ((Element.getStyle(element, 'overflow') || 'visible') != 'hidden')
+ element.style.overflow = 'hidden';
+ return element;
+ },
+
+ undoClipping: function(element) {
+ element = $(element);
+ if (!element._overflow) return element;
+ element.style.overflow = element._overflow == 'auto' ? '' : element._overflow;
+ element._overflow = null;
+ return element;
+ }
+}
+
+Element.Methods.Simulated = {
+ hasAttribute: function(element, attribute) {
+ return $(element).getAttributeNode(attribute).specified;
+ }
+}
+
+// IE is missing .innerHTML support for TABLE-related elements
+if(document.all){
+ Element.Methods.update = function(element, html) {
+ element = $(element);
+ html = typeof html == 'undefined' ? '' : html.toString();
+ var tagName = element.tagName.toUpperCase();
+ if (['THEAD','TBODY','TR','TD'].include(tagName)) {
+ var div = document.createElement('div');
+ switch (tagName) {
+ case 'THEAD':
+ case 'TBODY':
+ div.innerHTML = '' + html.stripScripts() + '
';
+ depth = 2;
+ break;
+ case 'TR':
+ div.innerHTML = '' + html.stripScripts() + '
';
+ depth = 3;
+ break;
+ case 'TD':
+ div.innerHTML = '' + html.stripScripts() + '
';
+ depth = 4;
+ }
+ $A(element.childNodes).each(function(node){
+ element.removeChild(node)
+ });
+ depth.times(function(){ div = div.firstChild });
+
+ $A(div.childNodes).each(
+ function(node){ element.appendChild(node) });
+ } else {
+ element.innerHTML = html.stripScripts();
+ }
+ setTimeout(function() {html.evalScripts()}, 10);
+ return element;
+ }
+}
+
+Object.extend(Element, Element.Methods);
+
+var _nativeExtensions = false;
+
+if(/Konqueror|Safari|KHTML/.test(navigator.userAgent))
+ ['', 'Form', 'Input', 'TextArea', 'Select'].each(function(tag) {
+ var className = 'HTML' + tag + 'Element';
+ if(window[className]) return;
+ var klass = window[className] = {};
+ klass.prototype = document.createElement(tag ? tag.toLowerCase() : 'div').__proto__;
+ });
+
+Element.addMethods = function(methods) {
+ Object.extend(Element.Methods, methods || {});
+
+ function copy(methods, destination, onlyIfAbsent) {
+ onlyIfAbsent = onlyIfAbsent || false;
+ var cache = Element.extend.cache;
+ for (var property in methods) {
+ var value = methods[property];
+ if (!onlyIfAbsent || !(property in destination))
+ destination[property] = cache.findOrStore(value);
+ }
+ }
+
+ if (typeof HTMLElement != 'undefined') {
+ copy(Element.Methods, HTMLElement.prototype);
+ copy(Element.Methods.Simulated, HTMLElement.prototype, true);
+ copy(Form.Methods, HTMLFormElement.prototype);
+ [HTMLInputElement, HTMLTextAreaElement, HTMLSelectElement].each(function(klass) {
+ copy(Form.Element.Methods, klass.prototype);
+ });
+ _nativeExtensions = true;
+ }
+}
+
+var Toggle = new Object();
+Toggle.display = Element.toggle;
+
+/*--------------------------------------------------------------------------*/
+
+Abstract.Insertion = function(adjacency) {
+ this.adjacency = adjacency;
+}
+
+Abstract.Insertion.prototype = {
+ initialize: function(element, content) {
+ this.element = $(element);
+ this.content = content.stripScripts();
+
+ if (this.adjacency && this.element.insertAdjacentHTML) {
+ try {
+ this.element.insertAdjacentHTML(this.adjacency, this.content);
+ } catch (e) {
+ var tagName = this.element.tagName.toUpperCase();
+ if (['TBODY', 'TR'].include(tagName)) {
+ this.insertContent(this.contentFromAnonymousTable());
+ } else {
+ throw e;
+ }
+ }
+ } else {
+ this.range = this.element.ownerDocument.createRange();
+ if (this.initializeRange) this.initializeRange();
+ this.insertContent([this.range.createContextualFragment(this.content)]);
+ }
+
+ setTimeout(function() {content.evalScripts()}, 10);
+ },
+
+ contentFromAnonymousTable: function() {
+ var div = document.createElement('div');
+ div.innerHTML = '';
+ return $A(div.childNodes[0].childNodes[0].childNodes);
+ }
+}
+
+var Insertion = new Object();
+
+Insertion.Before = Class.create();
+Insertion.Before.prototype = Object.extend(new Abstract.Insertion('beforeBegin'), {
+ initializeRange: function() {
+ this.range.setStartBefore(this.element);
+ },
+
+ insertContent: function(fragments) {
+ fragments.each((function(fragment) {
+ this.element.parentNode.insertBefore(fragment, this.element);
+ }).bind(this));
+ }
+});
+
+Insertion.Top = Class.create();
+Insertion.Top.prototype = Object.extend(new Abstract.Insertion('afterBegin'), {
+ initializeRange: function() {
+ this.range.selectNodeContents(this.element);
+ this.range.collapse(true);
+ },
+
+ insertContent: function(fragments) {
+ fragments.reverse(false).each((function(fragment) {
+ this.element.insertBefore(fragment, this.element.firstChild);
+ }).bind(this));
+ }
+});
+
+Insertion.Bottom = Class.create();
+Insertion.Bottom.prototype = Object.extend(new Abstract.Insertion('beforeEnd'), {
+ initializeRange: function() {
+ this.range.selectNodeContents(this.element);
+ this.range.collapse(this.element);
+ },
+
+ insertContent: function(fragments) {
+ fragments.each((function(fragment) {
+ this.element.appendChild(fragment);
+ }).bind(this));
+ }
+});
+
+Insertion.After = Class.create();
+Insertion.After.prototype = Object.extend(new Abstract.Insertion('afterEnd'), {
+ initializeRange: function() {
+ this.range.setStartAfter(this.element);
+ },
+
+ insertContent: function(fragments) {
+ fragments.each((function(fragment) {
+ this.element.parentNode.insertBefore(fragment,
+ this.element.nextSibling);
+ }).bind(this));
+ }
+});
+
+/*--------------------------------------------------------------------------*/
+
+Element.ClassNames = Class.create();
+Element.ClassNames.prototype = {
+ initialize: function(element) {
+ this.element = $(element);
+ },
+
+ _each: function(iterator) {
+ this.element.className.split(/\s+/).select(function(name) {
+ return name.length > 0;
+ })._each(iterator);
+ },
+
+ set: function(className) {
+ this.element.className = className;
+ },
+
+ add: function(classNameToAdd) {
+ if (this.include(classNameToAdd)) return;
+ this.set($A(this).concat(classNameToAdd).join(' '));
+ },
+
+ remove: function(classNameToRemove) {
+ if (!this.include(classNameToRemove)) return;
+ this.set($A(this).without(classNameToRemove).join(' '));
+ },
+
+ toString: function() {
+ return $A(this).join(' ');
+ }
+}
+
+Object.extend(Element.ClassNames.prototype, Enumerable);
+var Selector = Class.create();
+Selector.prototype = {
+ initialize: function(expression) {
+ this.params = {classNames: []};
+ this.expression = expression.toString().strip();
+ this.parseExpression();
+ this.compileMatcher();
+ },
+
+ parseExpression: function() {
+ function abort(message) { throw 'Parse error in selector: ' + message; }
+
+ if (this.expression == '') abort('empty expression');
+
+ var params = this.params, expr = this.expression, match, modifier, clause, rest;
+ while (match = expr.match(/^(.*)\[([a-z0-9_:-]+?)(?:([~\|!]?=)(?:"([^"]*)"|([^\]\s]*)))?\]$/i)) {
+ params.attributes = params.attributes || [];
+ params.attributes.push({name: match[2], operator: match[3], value: match[4] || match[5] || ''});
+ expr = match[1];
+ }
+
+ if (expr == '*') return this.params.wildcard = true;
+
+ while (match = expr.match(/^([^a-z0-9_-])?([a-z0-9_-]+)(.*)/i)) {
+ modifier = match[1], clause = match[2], rest = match[3];
+ switch (modifier) {
+ case '#': params.id = clause; break;
+ case '.': params.classNames.push(clause); break;
+ case '':
+ case undefined: params.tagName = clause.toUpperCase(); break;
+ default: abort(expr.inspect());
+ }
+ expr = rest;
+ }
+
+ if (expr.length > 0) abort(expr.inspect());
+ },
+
+ buildMatchExpression: function() {
+ var params = this.params, conditions = [], clause;
+
+ if (params.wildcard)
+ conditions.push('true');
+ if (clause = params.id)
+ conditions.push('element.id == ' + clause.inspect());
+ if (clause = params.tagName)
+ conditions.push('element.tagName.toUpperCase() == ' + clause.inspect());
+ if ((clause = params.classNames).length > 0)
+ for (var i = 0, length = clause.length; i < length; i++)
+ conditions.push('Element.hasClassName(element, ' + clause[i].inspect() + ')');
+ if (clause = params.attributes) {
+ clause.each(function(attribute) {
+ var value = 'element.getAttribute(' + attribute.name.inspect() + ')';
+ var splitValueBy = function(delimiter) {
+ return value + ' && ' + value + '.split(' + delimiter.inspect() + ')';
+ }
+
+ switch (attribute.operator) {
+ case '=': conditions.push(value + ' == ' + attribute.value.inspect()); break;
+ case '~=': conditions.push(splitValueBy(' ') + '.include(' + attribute.value.inspect() + ')'); break;
+ case '|=': conditions.push(
+ splitValueBy('-') + '.first().toUpperCase() == ' + attribute.value.toUpperCase().inspect()
+ ); break;
+ case '!=': conditions.push(value + ' != ' + attribute.value.inspect()); break;
+ case '':
+ case undefined: conditions.push(value + ' != null'); break;
+ default: throw 'Unknown operator ' + attribute.operator + ' in selector';
+ }
+ });
+ }
+
+ return conditions.join(' && ');
+ },
+
+ compileMatcher: function() {
+ this.match = new Function('element', 'if (!element.tagName) return false; \
+ return ' + this.buildMatchExpression());
+ },
+
+ findElements: function(scope) {
+ var element;
+
+ if (element = $(this.params.id))
+ if (this.match(element))
+ if (!scope || Element.childOf(element, scope))
+ return [element];
+
+ scope = (scope || document).getElementsByTagName(this.params.tagName || '*');
+
+ var results = [];
+ for (var i = 0, length = scope.length; i < length; i++)
+ if (this.match(element = scope[i]))
+ results.push(Element.extend(element));
+
+ return results;
+ },
+
+ toString: function() {
+ return this.expression;
+ }
+}
+
+Object.extend(Selector, {
+ matchElements: function(elements, expression) {
+ var selector = new Selector(expression);
+ return elements.select(selector.match.bind(selector)).collect(Element.extend);
+ },
+
+ findElement: function(elements, expression, index) {
+ if (typeof expression == 'number') index = expression, expression = false;
+ return Selector.matchElements(elements, expression || '*')[index || 0];
+ },
+
+ findChildElements: function(element, expressions) {
+ return expressions.map(function(expression) {
+ return expression.strip().split(/\s+/).inject([null], function(results, expr) {
+ var selector = new Selector(expr);
+ return results.inject([], function(elements, result) {
+ return elements.concat(selector.findElements(result || element));
+ });
+ });
+ }).flatten();
+ }
+});
+
+function $$() {
+ return Selector.findChildElements(document, $A(arguments));
+}
+var Form = {
+ reset: function(form) {
+ $(form).reset();
+ return form;
+ },
+
+ serializeElements: function(elements) {
+ return elements.inject([], function(queryComponents, element) {
+ var queryComponent = Form.Element.serialize(element);
+ if (queryComponent) queryComponents.push(queryComponent);
+ return queryComponents;
+ }).join('&');
+ }
+};
+
+Form.Methods = {
+ serialize: function(form) {
+ return Form.serializeElements($(form).getElements());
+ },
+
+ getElements: function(form) {
+ return $A($(form).getElementsByTagName('*')).inject([],
+ function(elements, child) {
+ if (Form.Element.Serializers[child.tagName.toLowerCase()])
+ elements.push(Element.extend(child));
+ return elements;
+ }
+ );
+ },
+
+ getInputs: function(form, typeName, name) {
+ form = $(form);
+ var inputs = form.getElementsByTagName('input');
+
+ if (!typeName && !name)
+ return inputs;
+
+ var matchingInputs = new Array();
+ for (var i = 0, length = inputs.length; i < length; i++) {
+ var input = inputs[i];
+ if ((typeName && input.type != typeName) ||
+ (name && input.name != name))
+ continue;
+ matchingInputs.push(Element.extend(input));
+ }
+
+ return matchingInputs;
+ },
+
+ disable: function(form) {
+ form = $(form);
+ form.getElements().each(function(element) {
+ element.blur();
+ element.disabled = 'true';
+ });
+ return form;
+ },
+
+ enable: function(form) {
+ form = $(form);
+ form.getElements().each(function(element) {
+ element.disabled = '';
+ });
+ return form;
+ },
+
+ findFirstElement: function(form) {
+ return $(form).getElements().find(function(element) {
+ return element.type != 'hidden' && !element.disabled &&
+ ['input', 'select', 'textarea'].include(element.tagName.toLowerCase());
+ });
+ },
+
+ focusFirstElement: function(form) {
+ form = $(form);
+ form.findFirstElement().activate();
+ return form;
+ }
+}
+
+Object.extend(Form, Form.Methods);
+
+/*--------------------------------------------------------------------------*/
+
+Form.Element = {
+ focus: function(element) {
+ $(element).focus();
+ return element;
+ },
+
+ select: function(element) {
+ $(element).select();
+ return element;
+ }
+}
+
+Form.Element.Methods = {
+ serialize: function(element) {
+ element = $(element);
+ if (element.disabled) return '';
+ var method = element.tagName.toLowerCase();
+ var parameter = Form.Element.Serializers[method](element);
+
+ if (parameter) {
+ var key = encodeURIComponent(parameter[0]);
+ if (key.length == 0) return;
+
+ if (parameter[1].constructor != Array)
+ parameter[1] = [parameter[1]];
+
+ return parameter[1].map(function(value) {
+ return key + '=' + encodeURIComponent(value);
+ }).join('&');
+ }
+ },
+
+ getValue: function(element) {
+ element = $(element);
+ var method = element.tagName.toLowerCase();
+ var parameter = Form.Element.Serializers[method](element);
+
+ if (parameter)
+ return parameter[1];
+ },
+
+ clear: function(element) {
+ $(element).value = '';
+ return element;
+ },
+
+ present: function(element) {
+ return $(element).value != '';
+ },
+
+ activate: function(element) {
+ element = $(element);
+ element.focus();
+ if (element.select && ( element.tagName.toLowerCase() != 'input' ||
+ !['button', 'reset', 'submit'].include(element.type) ) )
+ element.select();
+ return element;
+ },
+
+ disable: function(element) {
+ element = $(element);
+ element.disabled = true;
+ return element;
+ },
+
+ enable: function(element) {
+ element = $(element);
+ element.blur();
+ element.disabled = false;
+ return element;
+ }
+}
+
+Object.extend(Form.Element, Form.Element.Methods);
+var Field = Form.Element;
+
+/*--------------------------------------------------------------------------*/
+
+Form.Element.Serializers = {
+ input: function(element) {
+ switch (element.type.toLowerCase()) {
+ case 'checkbox':
+ case 'radio':
+ return Form.Element.Serializers.inputSelector(element);
+ default:
+ return Form.Element.Serializers.textarea(element);
+ }
+ return false;
+ },
+
+ inputSelector: function(element) {
+ if (element.checked)
+ return [element.name, element.value];
+ },
+
+ textarea: function(element) {
+ return [element.name, element.value];
+ },
+
+ select: function(element) {
+ return Form.Element.Serializers[element.type == 'select-one' ?
+ 'selectOne' : 'selectMany'](element);
+ },
+
+ selectOne: function(element) {
+ var value = '', opt, index = element.selectedIndex;
+ if (index >= 0) {
+ opt = Element.extend(element.options[index]);
+ // Uses the new potential extension if hasAttribute isn't native.
+ value = opt.hasAttribute('value') ? opt.value : opt.text;
+ }
+ return [element.name, value];
+ },
+
+ selectMany: function(element) {
+ var value = [];
+ for (var i = 0, length = element.length; i < length; i++) {
+ var opt = Element.extend(element.options[i]);
+ if (opt.selected)
+ // Uses the new potential extension if hasAttribute isn't native.
+ value.push(opt.hasAttribute('value') ? opt.value : opt.text);
+ }
+ return [element.name, value];
+ }
+}
+
+/*--------------------------------------------------------------------------*/
+
+var $F = Form.Element.getValue;
+
+/*--------------------------------------------------------------------------*/
+
+Abstract.TimedObserver = function() {}
+Abstract.TimedObserver.prototype = {
+ initialize: function(element, frequency, callback) {
+ this.frequency = frequency;
+ this.element = $(element);
+ this.callback = callback;
+
+ this.lastValue = this.getValue();
+ this.registerCallback();
+ },
+
+ registerCallback: function() {
+ setInterval(this.onTimerEvent.bind(this), this.frequency * 1000);
+ },
+
+ onTimerEvent: function() {
+ var value = this.getValue();
+ if (this.lastValue != value) {
+ this.callback(this.element, value);
+ this.lastValue = value;
+ }
+ }
+}
+
+Form.Element.Observer = Class.create();
+Form.Element.Observer.prototype = Object.extend(new Abstract.TimedObserver(), {
+ getValue: function() {
+ return Form.Element.getValue(this.element);
+ }
+});
+
+Form.Observer = Class.create();
+Form.Observer.prototype = Object.extend(new Abstract.TimedObserver(), {
+ getValue: function() {
+ return Form.serialize(this.element);
+ }
+});
+
+/*--------------------------------------------------------------------------*/
+
+Abstract.EventObserver = function() {}
+Abstract.EventObserver.prototype = {
+ initialize: function(element, callback) {
+ this.element = $(element);
+ this.callback = callback;
+
+ this.lastValue = this.getValue();
+ if (this.element.tagName.toLowerCase() == 'form')
+ this.registerFormCallbacks();
+ else
+ this.registerCallback(this.element);
+ },
+
+ onElementEvent: function() {
+ var value = this.getValue();
+ if (this.lastValue != value) {
+ this.callback(this.element, value);
+ this.lastValue = value;
+ }
+ },
+
+ registerFormCallbacks: function() {
+ Form.getElements(this.element).each(this.registerCallback.bind(this));
+ },
+
+ registerCallback: function(element) {
+ if (element.type) {
+ switch (element.type.toLowerCase()) {
+ case 'checkbox':
+ case 'radio':
+ Event.observe(element, 'click', this.onElementEvent.bind(this));
+ break;
+ default:
+ Event.observe(element, 'change', this.onElementEvent.bind(this));
+ break;
+ }
+ }
+ }
+}
+
+Form.Element.EventObserver = Class.create();
+Form.Element.EventObserver.prototype = Object.extend(new Abstract.EventObserver(), {
+ getValue: function() {
+ return Form.Element.getValue(this.element);
+ }
+});
+
+Form.EventObserver = Class.create();
+Form.EventObserver.prototype = Object.extend(new Abstract.EventObserver(), {
+ getValue: function() {
+ return Form.serialize(this.element);
+ }
+});
+if (!window.Event) {
+ var Event = new Object();
+}
+
+Object.extend(Event, {
+ KEY_BACKSPACE: 8,
+ KEY_TAB: 9,
+ KEY_RETURN: 13,
+ KEY_ESC: 27,
+ KEY_LEFT: 37,
+ KEY_UP: 38,
+ KEY_RIGHT: 39,
+ KEY_DOWN: 40,
+ KEY_DELETE: 46,
+ KEY_HOME: 36,
+ KEY_END: 35,
+ KEY_PAGEUP: 33,
+ KEY_PAGEDOWN: 34,
+
+ element: function(event) {
+ return event.target || event.srcElement;
+ },
+
+ isLeftClick: function(event) {
+ return (((event.which) && (event.which == 1)) ||
+ ((event.button) && (event.button == 1)));
+ },
+
+ pointerX: function(event) {
+ return event.pageX || (event.clientX +
+ (document.documentElement.scrollLeft || document.body.scrollLeft));
+ },
+
+ pointerY: function(event) {
+ return event.pageY || (event.clientY +
+ (document.documentElement.scrollTop || document.body.scrollTop));
+ },
+
+ stop: function(event) {
+ if (event.preventDefault) {
+ event.preventDefault();
+ event.stopPropagation();
+ } else {
+ event.returnValue = false;
+ event.cancelBubble = true;
+ }
+ },
+
+ // find the first node with the given tagName, starting from the
+ // node the event was triggered on; traverses the DOM upwards
+ findElement: function(event, tagName) {
+ var element = Event.element(event);
+ while (element.parentNode && (!element.tagName ||
+ (element.tagName.toUpperCase() != tagName.toUpperCase())))
+ element = element.parentNode;
+ return element;
+ },
+
+ observers: false,
+
+ _observeAndCache: function(element, name, observer, useCapture) {
+ if (!this.observers) this.observers = [];
+ if (element.addEventListener) {
+ this.observers.push([element, name, observer, useCapture]);
+ element.addEventListener(name, observer, useCapture);
+ } else if (element.attachEvent) {
+ this.observers.push([element, name, observer, useCapture]);
+ element.attachEvent('on' + name, observer);
+ }
+ },
+
+ unloadCache: function() {
+ if (!Event.observers) return;
+ for (var i = 0, length = Event.observers.length; i < length; i++) {
+ Event.stopObserving.apply(this, Event.observers[i]);
+ Event.observers[i][0] = null;
+ }
+ Event.observers = false;
+ },
+
+ observe: function(element, name, observer, useCapture) {
+ element = $(element);
+ useCapture = useCapture || false;
+
+ if (name == 'keypress' &&
+ (navigator.appVersion.match(/Konqueror|Safari|KHTML/)
+ || element.attachEvent))
+ name = 'keydown';
+
+ Event._observeAndCache(element, name, observer, useCapture);
+ },
+
+ stopObserving: function(element, name, observer, useCapture) {
+ element = $(element);
+ useCapture = useCapture || false;
+
+ if (name == 'keypress' &&
+ (navigator.appVersion.match(/Konqueror|Safari|KHTML/)
+ || element.detachEvent))
+ name = 'keydown';
+
+ if (element.removeEventListener) {
+ element.removeEventListener(name, observer, useCapture);
+ } else if (element.detachEvent) {
+ try {
+ element.detachEvent('on' + name, observer);
+ } catch (e) {}
+ }
+ }
+});
+
+/* prevent memory leaks in IE */
+if (navigator.appVersion.match(/\bMSIE\b/))
+ Event.observe(window, 'unload', Event.unloadCache, false);
+var Position = {
+ // set to true if needed, warning: firefox performance problems
+ // NOT neeeded for page scrolling, only if draggable contained in
+ // scrollable elements
+ includeScrollOffsets: false,
+
+ // must be called before calling withinIncludingScrolloffset, every time the
+ // page is scrolled
+ prepare: function() {
+ this.deltaX = window.pageXOffset
+ || document.documentElement.scrollLeft
+ || document.body.scrollLeft
+ || 0;
+ this.deltaY = window.pageYOffset
+ || document.documentElement.scrollTop
+ || document.body.scrollTop
+ || 0;
+ },
+
+ realOffset: function(element) {
+ var valueT = 0, valueL = 0;
+ do {
+ valueT += element.scrollTop || 0;
+ valueL += element.scrollLeft || 0;
+ element = element.parentNode;
+ } while (element);
+ return [valueL, valueT];
+ },
+
+ cumulativeOffset: function(element) {
+ var valueT = 0, valueL = 0;
+ do {
+ valueT += element.offsetTop || 0;
+ valueL += element.offsetLeft || 0;
+ element = element.offsetParent;
+ } while (element);
+ return [valueL, valueT];
+ },
+
+ positionedOffset: function(element) {
+ var valueT = 0, valueL = 0;
+ do {
+ valueT += element.offsetTop || 0;
+ valueL += element.offsetLeft || 0;
+ element = element.offsetParent;
+ if (element) {
+ if(element.tagName=='BODY') break;
+ var p = Element.getStyle(element, 'position');
+ if (p == 'relative' || p == 'absolute') break;
+ }
+ } while (element);
+ return [valueL, valueT];
+ },
+
+ offsetParent: function(element) {
+ if (element.offsetParent) return element.offsetParent;
+ if (element == document.body) return element;
+
+ while ((element = element.parentNode) && element != document.body)
+ if (Element.getStyle(element, 'position') != 'static')
+ return element;
+
+ return document.body;
+ },
+
+ // caches x/y coordinate pair to use with overlap
+ within: function(element, x, y) {
+ if (this.includeScrollOffsets)
+ return this.withinIncludingScrolloffsets(element, x, y);
+ this.xcomp = x;
+ this.ycomp = y;
+ this.offset = this.cumulativeOffset(element);
+
+ return (y >= this.offset[1] &&
+ y < this.offset[1] + element.offsetHeight &&
+ x >= this.offset[0] &&
+ x < this.offset[0] + element.offsetWidth);
+ },
+
+ withinIncludingScrolloffsets: function(element, x, y) {
+ var offsetcache = this.realOffset(element);
+
+ this.xcomp = x + offsetcache[0] - this.deltaX;
+ this.ycomp = y + offsetcache[1] - this.deltaY;
+ this.offset = this.cumulativeOffset(element);
+
+ return (this.ycomp >= this.offset[1] &&
+ this.ycomp < this.offset[1] + element.offsetHeight &&
+ this.xcomp >= this.offset[0] &&
+ this.xcomp < this.offset[0] + element.offsetWidth);
+ },
+
+ // within must be called directly before
+ overlap: function(mode, element) {
+ if (!mode) return 0;
+ if (mode == 'vertical')
+ return ((this.offset[1] + element.offsetHeight) - this.ycomp) /
+ element.offsetHeight;
+ if (mode == 'horizontal')
+ return ((this.offset[0] + element.offsetWidth) - this.xcomp) /
+ element.offsetWidth;
+ },
+
+ page: function(forElement) {
+ var valueT = 0, valueL = 0;
+
+ var element = forElement;
+ do {
+ valueT += element.offsetTop || 0;
+ valueL += element.offsetLeft || 0;
+
+ // Safari fix
+ if (element.offsetParent==document.body)
+ if (Element.getStyle(element,'position')=='absolute') break;
+
+ } while (element = element.offsetParent);
+
+ element = forElement;
+ do {
+ if (!window.opera || element.tagName=='BODY') {
+ valueT -= element.scrollTop || 0;
+ valueL -= element.scrollLeft || 0;
+ }
+ } while (element = element.parentNode);
+
+ return [valueL, valueT];
+ },
+
+ clone: function(source, target) {
+ var options = Object.extend({
+ setLeft: true,
+ setTop: true,
+ setWidth: true,
+ setHeight: true,
+ offsetTop: 0,
+ offsetLeft: 0
+ }, arguments[2] || {})
+
+ // find page position of source
+ source = $(source);
+ var p = Position.page(source);
+
+ // find coordinate system to use
+ target = $(target);
+ var delta = [0, 0];
+ var parent = null;
+ // delta [0,0] will do fine with position: fixed elements,
+ // position:absolute needs offsetParent deltas
+ if (Element.getStyle(target,'position') == 'absolute') {
+ parent = Position.offsetParent(target);
+ delta = Position.page(parent);
+ }
+
+ // correct by body offsets (fixes Safari)
+ if (parent == document.body) {
+ delta[0] -= document.body.offsetLeft;
+ delta[1] -= document.body.offsetTop;
+ }
+
+ // set position
+ if(options.setLeft) target.style.left = (p[0] - delta[0] + options.offsetLeft) + 'px';
+ if(options.setTop) target.style.top = (p[1] - delta[1] + options.offsetTop) + 'px';
+ if(options.setWidth) target.style.width = source.offsetWidth + 'px';
+ if(options.setHeight) target.style.height = source.offsetHeight + 'px';
+ },
+
+ absolutize: function(element) {
+ element = $(element);
+ if (element.style.position == 'absolute') return;
+ Position.prepare();
+
+ var offsets = Position.positionedOffset(element);
+ var top = offsets[1];
+ var left = offsets[0];
+ var width = element.clientWidth;
+ var height = element.clientHeight;
+
+ element._originalLeft = left - parseFloat(element.style.left || 0);
+ element._originalTop = top - parseFloat(element.style.top || 0);
+ element._originalWidth = element.style.width;
+ element._originalHeight = element.style.height;
+
+ element.style.position = 'absolute';
+ element.style.top = top + 'px';;
+ element.style.left = left + 'px';;
+ element.style.width = width + 'px';;
+ element.style.height = height + 'px';;
+ },
+
+ relativize: function(element) {
+ element = $(element);
+ if (element.style.position == 'relative') return;
+ Position.prepare();
+
+ element.style.position = 'relative';
+ var top = parseFloat(element.style.top || 0) - (element._originalTop || 0);
+ var left = parseFloat(element.style.left || 0) - (element._originalLeft || 0);
+
+ element.style.top = top + 'px';
+ element.style.left = left + 'px';
+ element.style.height = element._originalHeight;
+ element.style.width = element._originalWidth;
+ }
+}
+
+// Safari returns margins on body which is incorrect if the child is absolutely
+// positioned. For performance reasons, redefine Position.cumulativeOffset for
+// KHTML/WebKit only.
+if (/Konqueror|Safari|KHTML/.test(navigator.userAgent)) {
+ Position.cumulativeOffset = function(element) {
+ var valueT = 0, valueL = 0;
+ do {
+ valueT += element.offsetTop || 0;
+ valueL += element.offsetLeft || 0;
+ if (element.offsetParent == document.body)
+ if (Element.getStyle(element, 'position') == 'absolute') break;
+
+ element = element.offsetParent;
+ } while (element);
+
+ return [valueL, valueT];
+ }
+}
+
+Element.addMethods();
\ No newline at end of file
Index: contrib/jruby/rune/public/javascripts/effects.js
===================================================================
--- contrib/jruby/rune/public/javascripts/effects.js (revision 0)
+++ contrib/jruby/rune/public/javascripts/effects.js (revision 0)
@@ -0,0 +1,1088 @@
+// Copyright (c) 2005, 2006 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
+// Contributors:
+// Justin Palmer (http://encytemedia.com/)
+// Mark Pilgrim (http://diveintomark.org/)
+// Martin Bialasinki
+//
+// script.aculo.us is freely distributable under the terms of an MIT-style license.
+// For details, see the script.aculo.us web site: http://script.aculo.us/
+
+// converts rgb() and #xxx to #xxxxxx format,
+// returns self (or first argument) if not convertable
+String.prototype.parseColor = function() {
+ var color = '#';
+ if(this.slice(0,4) == 'rgb(') {
+ var cols = this.slice(4,this.length-1).split(',');
+ var i=0; do { color += parseInt(cols[i]).toColorPart() } while (++i<3);
+ } else {
+ if(this.slice(0,1) == '#') {
+ if(this.length==4) for(var i=1;i<4;i++) color += (this.charAt(i) + this.charAt(i)).toLowerCase();
+ if(this.length==7) color = this.toLowerCase();
+ }
+ }
+ return(color.length==7 ? color : (arguments[0] || this));
+}
+
+/*--------------------------------------------------------------------------*/
+
+Element.collectTextNodes = function(element) {
+ return $A($(element).childNodes).collect( function(node) {
+ return (node.nodeType==3 ? node.nodeValue :
+ (node.hasChildNodes() ? Element.collectTextNodes(node) : ''));
+ }).flatten().join('');
+}
+
+Element.collectTextNodesIgnoreClass = function(element, className) {
+ return $A($(element).childNodes).collect( function(node) {
+ return (node.nodeType==3 ? node.nodeValue :
+ ((node.hasChildNodes() && !Element.hasClassName(node,className)) ?
+ Element.collectTextNodesIgnoreClass(node, className) : ''));
+ }).flatten().join('');
+}
+
+Element.setContentZoom = function(element, percent) {
+ element = $(element);
+ element.setStyle({fontSize: (percent/100) + 'em'});
+ if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0);
+ return element;
+}
+
+Element.getOpacity = function(element){
+ element = $(element);
+ var opacity;
+ if (opacity = element.getStyle('opacity'))
+ return parseFloat(opacity);
+ if (opacity = (element.getStyle('filter') || '').match(/alpha\(opacity=(.*)\)/))
+ if(opacity[1]) return parseFloat(opacity[1]) / 100;
+ return 1.0;
+}
+
+Element.setOpacity = function(element, value){
+ element= $(element);
+ if (value == 1){
+ element.setStyle({ opacity:
+ (/Gecko/.test(navigator.userAgent) && !/Konqueror|Safari|KHTML/.test(navigator.userAgent)) ?
+ 0.999999 : 1.0 });
+ if(/MSIE/.test(navigator.userAgent) && !window.opera)
+ element.setStyle({filter: Element.getStyle(element,'filter').replace(/alpha\([^\)]*\)/gi,'')});
+ } else {
+ if(value < 0.00001) value = 0;
+ element.setStyle({opacity: value});
+ if(/MSIE/.test(navigator.userAgent) && !window.opera)
+ element.setStyle(
+ { filter: element.getStyle('filter').replace(/alpha\([^\)]*\)/gi,'') +
+ 'alpha(opacity='+value*100+')' });
+ }
+ return element;
+}
+
+Element.getInlineOpacity = function(element){
+ return $(element).style.opacity || '';
+}
+
+Element.forceRerendering = function(element) {
+ try {
+ element = $(element);
+ var n = document.createTextNode(' ');
+ element.appendChild(n);
+ element.removeChild(n);
+ } catch(e) { }
+};
+
+/*--------------------------------------------------------------------------*/
+
+Array.prototype.call = function() {
+ var args = arguments;
+ this.each(function(f){ f.apply(this, args) });
+}
+
+/*--------------------------------------------------------------------------*/
+
+var Effect = {
+ _elementDoesNotExistError: {
+ name: 'ElementDoesNotExistError',
+ message: 'The specified DOM element does not exist, but is required for this effect to operate'
+ },
+ tagifyText: function(element) {
+ if(typeof Builder == 'undefined')
+ throw("Effect.tagifyText requires including script.aculo.us' builder.js library");
+
+ var tagifyStyle = 'position:relative';
+ if(/MSIE/.test(navigator.userAgent) && !window.opera) tagifyStyle += ';zoom:1';
+
+ element = $(element);
+ $A(element.childNodes).each( function(child) {
+ if(child.nodeType==3) {
+ child.nodeValue.toArray().each( function(character) {
+ element.insertBefore(
+ Builder.node('span',{style: tagifyStyle},
+ character == ' ' ? String.fromCharCode(160) : character),
+ child);
+ });
+ Element.remove(child);
+ }
+ });
+ },
+ multiple: function(element, effect) {
+ var elements;
+ if(((typeof element == 'object') ||
+ (typeof element == 'function')) &&
+ (element.length))
+ elements = element;
+ else
+ elements = $(element).childNodes;
+
+ var options = Object.extend({
+ speed: 0.1,
+ delay: 0.0
+ }, arguments[2] || {});
+ var masterDelay = options.delay;
+
+ $A(elements).each( function(element, index) {
+ new effect(element, Object.extend(options, { delay: index * options.speed + masterDelay }));
+ });
+ },
+ PAIRS: {
+ 'slide': ['SlideDown','SlideUp'],
+ 'blind': ['BlindDown','BlindUp'],
+ 'appear': ['Appear','Fade']
+ },
+ toggle: function(element, effect) {
+ element = $(element);
+ effect = (effect || 'appear').toLowerCase();
+ var options = Object.extend({
+ queue: { position:'end', scope:(element.id || 'global'), limit: 1 }
+ }, arguments[2] || {});
+ Effect[element.visible() ?
+ Effect.PAIRS[effect][1] : Effect.PAIRS[effect][0]](element, options);
+ }
+};
+
+var Effect2 = Effect; // deprecated
+
+/* ------------- transitions ------------- */
+
+Effect.Transitions = {
+ linear: Prototype.K,
+ sinoidal: function(pos) {
+ return (-Math.cos(pos*Math.PI)/2) + 0.5;
+ },
+ reverse: function(pos) {
+ return 1-pos;
+ },
+ flicker: function(pos) {
+ return ((-Math.cos(pos*Math.PI)/4) + 0.75) + Math.random()/4;
+ },
+ wobble: function(pos) {
+ return (-Math.cos(pos*Math.PI*(9*pos))/2) + 0.5;
+ },
+ pulse: function(pos, pulses) {
+ pulses = pulses || 5;
+ return (
+ Math.round((pos % (1/pulses)) * pulses) == 0 ?
+ ((pos * pulses * 2) - Math.floor(pos * pulses * 2)) :
+ 1 - ((pos * pulses * 2) - Math.floor(pos * pulses * 2))
+ );
+ },
+ none: function(pos) {
+ return 0;
+ },
+ full: function(pos) {
+ return 1;
+ }
+};
+
+/* ------------- core effects ------------- */
+
+Effect.ScopedQueue = Class.create();
+Object.extend(Object.extend(Effect.ScopedQueue.prototype, Enumerable), {
+ initialize: function() {
+ this.effects = [];
+ this.interval = null;
+ },
+ _each: function(iterator) {
+ this.effects._each(iterator);
+ },
+ add: function(effect) {
+ var timestamp = new Date().getTime();
+
+ var position = (typeof effect.options.queue == 'string') ?
+ effect.options.queue : effect.options.queue.position;
+
+ switch(position) {
+ case 'front':
+ // move unstarted effects after this effect
+ this.effects.findAll(function(e){ return e.state=='idle' }).each( function(e) {
+ e.startOn += effect.finishOn;
+ e.finishOn += effect.finishOn;
+ });
+ break;
+ case 'with-last':
+ timestamp = this.effects.pluck('startOn').max() || timestamp;
+ break;
+ case 'end':
+ // start effect after last queued effect has finished
+ timestamp = this.effects.pluck('finishOn').max() || timestamp;
+ break;
+ }
+
+ effect.startOn += timestamp;
+ effect.finishOn += timestamp;
+
+ if(!effect.options.queue.limit || (this.effects.length < effect.options.queue.limit))
+ this.effects.push(effect);
+
+ if(!this.interval)
+ this.interval = setInterval(this.loop.bind(this), 40);
+ },
+ remove: function(effect) {
+ this.effects = this.effects.reject(function(e) { return e==effect });
+ if(this.effects.length == 0) {
+ clearInterval(this.interval);
+ this.interval = null;
+ }
+ },
+ loop: function() {
+ var timePos = new Date().getTime();
+ this.effects.invoke('loop', timePos);
+ }
+});
+
+Effect.Queues = {
+ instances: $H(),
+ get: function(queueName) {
+ if(typeof queueName != 'string') return queueName;
+
+ if(!this.instances[queueName])
+ this.instances[queueName] = new Effect.ScopedQueue();
+
+ return this.instances[queueName];
+ }
+}
+Effect.Queue = Effect.Queues.get('global');
+
+Effect.DefaultOptions = {
+ transition: Effect.Transitions.sinoidal,
+ duration: 1.0, // seconds
+ fps: 25.0, // max. 25fps due to Effect.Queue implementation
+ sync: false, // true for combining
+ from: 0.0,
+ to: 1.0,
+ delay: 0.0,
+ queue: 'parallel'
+}
+
+Effect.Base = function() {};
+Effect.Base.prototype = {
+ position: null,
+ start: function(options) {
+ this.options = Object.extend(Object.extend({},Effect.DefaultOptions), options || {});
+ this.currentFrame = 0;
+ this.state = 'idle';
+ this.startOn = this.options.delay*1000;
+ this.finishOn = this.startOn + (this.options.duration*1000);
+ this.event('beforeStart');
+ if(!this.options.sync)
+ Effect.Queues.get(typeof this.options.queue == 'string' ?
+ 'global' : this.options.queue.scope).add(this);
+ },
+ loop: function(timePos) {
+ if(timePos >= this.startOn) {
+ if(timePos >= this.finishOn) {
+ this.render(1.0);
+ this.cancel();
+ this.event('beforeFinish');
+ if(this.finish) this.finish();
+ this.event('afterFinish');
+ return;
+ }
+ var pos = (timePos - this.startOn) / (this.finishOn - this.startOn);
+ var frame = Math.round(pos * this.options.fps * this.options.duration);
+ if(frame > this.currentFrame) {
+ this.render(pos);
+ this.currentFrame = frame;
+ }
+ }
+ },
+ render: function(pos) {
+ if(this.state == 'idle') {
+ this.state = 'running';
+ this.event('beforeSetup');
+ if(this.setup) this.setup();
+ this.event('afterSetup');
+ }
+ if(this.state == 'running') {
+ if(this.options.transition) pos = this.options.transition(pos);
+ pos *= (this.options.to-this.options.from);
+ pos += this.options.from;
+ this.position = pos;
+ this.event('beforeUpdate');
+ if(this.update) this.update(pos);
+ this.event('afterUpdate');
+ }
+ },
+ cancel: function() {
+ if(!this.options.sync)
+ Effect.Queues.get(typeof this.options.queue == 'string' ?
+ 'global' : this.options.queue.scope).remove(this);
+ this.state = 'finished';
+ },
+ event: function(eventName) {
+ if(this.options[eventName + 'Internal']) this.options[eventName + 'Internal'](this);
+ if(this.options[eventName]) this.options[eventName](this);
+ },
+ inspect: function() {
+ return '#';
+ }
+}
+
+Effect.Parallel = Class.create();
+Object.extend(Object.extend(Effect.Parallel.prototype, Effect.Base.prototype), {
+ initialize: function(effects) {
+ this.effects = effects || [];
+ this.start(arguments[1]);
+ },
+ update: function(position) {
+ this.effects.invoke('render', position);
+ },
+ finish: function(position) {
+ this.effects.each( function(effect) {
+ effect.render(1.0);
+ effect.cancel();
+ effect.event('beforeFinish');
+ if(effect.finish) effect.finish(position);
+ effect.event('afterFinish');
+ });
+ }
+});
+
+Effect.Event = Class.create();
+Object.extend(Object.extend(Effect.Event.prototype, Effect.Base.prototype), {
+ initialize: function() {
+ var options = Object.extend({
+ duration: 0
+ }, arguments[0] || {});
+ this.start(options);
+ },
+ update: Prototype.emptyFunction
+});
+
+Effect.Opacity = Class.create();
+Object.extend(Object.extend(Effect.Opacity.prototype, Effect.Base.prototype), {
+ initialize: function(element) {
+ this.element = $(element);
+ if(!this.element) throw(Effect._elementDoesNotExistError);
+ // make this work on IE on elements without 'layout'
+ if(/MSIE/.test(navigator.userAgent) && !window.opera && (!this.element.currentStyle.hasLayout))
+ this.element.setStyle({zoom: 1});
+ var options = Object.extend({
+ from: this.element.getOpacity() || 0.0,
+ to: 1.0
+ }, arguments[1] || {});
+ this.start(options);
+ },
+ update: function(position) {
+ this.element.setOpacity(position);
+ }
+});
+
+Effect.Move = Class.create();
+Object.extend(Object.extend(Effect.Move.prototype, Effect.Base.prototype), {
+ initialize: function(element) {
+ this.element = $(element);
+ if(!this.element) throw(Effect._elementDoesNotExistError);
+ var options = Object.extend({
+ x: 0,
+ y: 0,
+ mode: 'relative'
+ }, arguments[1] || {});
+ this.start(options);
+ },
+ setup: function() {
+ // Bug in Opera: Opera returns the "real" position of a static element or
+ // relative element that does not have top/left explicitly set.
+ // ==> Always set top and left for position relative elements in your stylesheets
+ // (to 0 if you do not need them)
+ this.element.makePositioned();
+ this.originalLeft = parseFloat(this.element.getStyle('left') || '0');
+ this.originalTop = parseFloat(this.element.getStyle('top') || '0');
+ if(this.options.mode == 'absolute') {
+ // absolute movement, so we need to calc deltaX and deltaY
+ this.options.x = this.options.x - this.originalLeft;
+ this.options.y = this.options.y - this.originalTop;
+ }
+ },
+ update: function(position) {
+ this.element.setStyle({
+ left: Math.round(this.options.x * position + this.originalLeft) + 'px',
+ top: Math.round(this.options.y * position + this.originalTop) + 'px'
+ });
+ }
+});
+
+// for backwards compatibility
+Effect.MoveBy = function(element, toTop, toLeft) {
+ return new Effect.Move(element,
+ Object.extend({ x: toLeft, y: toTop }, arguments[3] || {}));
+};
+
+Effect.Scale = Class.create();
+Object.extend(Object.extend(Effect.Scale.prototype, Effect.Base.prototype), {
+ initialize: function(element, percent) {
+ this.element = $(element);
+ if(!this.element) throw(Effect._elementDoesNotExistError);
+ var options = Object.extend({
+ scaleX: true,
+ scaleY: true,
+ scaleContent: true,
+ scaleFromCenter: false,
+ scaleMode: 'box', // 'box' or 'contents' or {} with provided values
+ scaleFrom: 100.0,
+ scaleTo: percent
+ }, arguments[2] || {});
+ this.start(options);
+ },
+ setup: function() {
+ this.restoreAfterFinish = this.options.restoreAfterFinish || false;
+ this.elementPositioning = this.element.getStyle('position');
+
+ this.originalStyle = {};
+ ['top','left','width','height','fontSize'].each( function(k) {
+ this.originalStyle[k] = this.element.style[k];
+ }.bind(this));
+
+ this.originalTop = this.element.offsetTop;
+ this.originalLeft = this.element.offsetLeft;
+
+ var fontSize = this.element.getStyle('font-size') || '100%';
+ ['em','px','%','pt'].each( function(fontSizeType) {
+ if(fontSize.indexOf(fontSizeType)>0) {
+ this.fontSize = parseFloat(fontSize);
+ this.fontSizeType = fontSizeType;
+ }
+ }.bind(this));
+
+ this.factor = (this.options.scaleTo - this.options.scaleFrom)/100;
+
+ this.dims = null;
+ if(this.options.scaleMode=='box')
+ this.dims = [this.element.offsetHeight, this.element.offsetWidth];
+ if(/^content/.test(this.options.scaleMode))
+ this.dims = [this.element.scrollHeight, this.element.scrollWidth];
+ if(!this.dims)
+ this.dims = [this.options.scaleMode.originalHeight,
+ this.options.scaleMode.originalWidth];
+ },
+ update: function(position) {
+ var currentScale = (this.options.scaleFrom/100.0) + (this.factor * position);
+ if(this.options.scaleContent && this.fontSize)
+ this.element.setStyle({fontSize: this.fontSize * currentScale + this.fontSizeType });
+ this.setDimensions(this.dims[0] * currentScale, this.dims[1] * currentScale);
+ },
+ finish: function(position) {
+ if(this.restoreAfterFinish) this.element.setStyle(this.originalStyle);
+ },
+ setDimensions: function(height, width) {
+ var d = {};
+ if(this.options.scaleX) d.width = Math.round(width) + 'px';
+ if(this.options.scaleY) d.height = Math.round(height) + 'px';
+ if(this.options.scaleFromCenter) {
+ var topd = (height - this.dims[0])/2;
+ var leftd = (width - this.dims[1])/2;
+ if(this.elementPositioning == 'absolute') {
+ if(this.options.scaleY) d.top = this.originalTop-topd + 'px';
+ if(this.options.scaleX) d.left = this.originalLeft-leftd + 'px';
+ } else {
+ if(this.options.scaleY) d.top = -topd + 'px';
+ if(this.options.scaleX) d.left = -leftd + 'px';
+ }
+ }
+ this.element.setStyle(d);
+ }
+});
+
+Effect.Highlight = Class.create();
+Object.extend(Object.extend(Effect.Highlight.prototype, Effect.Base.prototype), {
+ initialize: function(element) {
+ this.element = $(element);
+ if(!this.element) throw(Effect._elementDoesNotExistError);
+ var options = Object.extend({ startcolor: '#ffff99' }, arguments[1] || {});
+ this.start(options);
+ },
+ setup: function() {
+ // Prevent executing on elements not in the layout flow
+ if(this.element.getStyle('display')=='none') { this.cancel(); return; }
+ // Disable background image during the effect
+ this.oldStyle = {
+ backgroundImage: this.element.getStyle('background-image') };
+ this.element.setStyle({backgroundImage: 'none'});
+ if(!this.options.endcolor)
+ this.options.endcolor = this.element.getStyle('background-color').parseColor('#ffffff');
+ if(!this.options.restorecolor)
+ this.options.restorecolor = this.element.getStyle('background-color');
+ // init color calculations
+ this._base = $R(0,2).map(function(i){ return parseInt(this.options.startcolor.slice(i*2+1,i*2+3),16) }.bind(this));
+ this._delta = $R(0,2).map(function(i){ return parseInt(this.options.endcolor.slice(i*2+1,i*2+3),16)-this._base[i] }.bind(this));
+ },
+ update: function(position) {
+ this.element.setStyle({backgroundColor: $R(0,2).inject('#',function(m,v,i){
+ return m+(Math.round(this._base[i]+(this._delta[i]*position)).toColorPart()); }.bind(this)) });
+ },
+ finish: function() {
+ this.element.setStyle(Object.extend(this.oldStyle, {
+ backgroundColor: this.options.restorecolor
+ }));
+ }
+});
+
+Effect.ScrollTo = Class.create();
+Object.extend(Object.extend(Effect.ScrollTo.prototype, Effect.Base.prototype), {
+ initialize: function(element) {
+ this.element = $(element);
+ this.start(arguments[1] || {});
+ },
+ setup: function() {
+ Position.prepare();
+ var offsets = Position.cumulativeOffset(this.element);
+ if(this.options.offset) offsets[1] += this.options.offset;
+ var max = window.innerHeight ?
+ window.height - window.innerHeight :
+ document.body.scrollHeight -
+ (document.documentElement.clientHeight ?
+ document.documentElement.clientHeight : document.body.clientHeight);
+ this.scrollStart = Position.deltaY;
+ this.delta = (offsets[1] > max ? max : offsets[1]) - this.scrollStart;
+ },
+ update: function(position) {
+ Position.prepare();
+ window.scrollTo(Position.deltaX,
+ this.scrollStart + (position*this.delta));
+ }
+});
+
+/* ------------- combination effects ------------- */
+
+Effect.Fade = function(element) {
+ element = $(element);
+ var oldOpacity = element.getInlineOpacity();
+ var options = Object.extend({
+ from: element.getOpacity() || 1.0,
+ to: 0.0,
+ afterFinishInternal: function(effect) {
+ if(effect.options.to!=0) return;
+ effect.element.hide().setStyle({opacity: oldOpacity});
+ }}, arguments[1] || {});
+ return new Effect.Opacity(element,options);
+}
+
+Effect.Appear = function(element) {
+ element = $(element);
+ var options = Object.extend({
+ from: (element.getStyle('display') == 'none' ? 0.0 : element.getOpacity() || 0.0),
+ to: 1.0,
+ // force Safari to render floated elements properly
+ afterFinishInternal: function(effect) {
+ effect.element.forceRerendering();
+ },
+ beforeSetup: function(effect) {
+ effect.element.setOpacity(effect.options.from).show();
+ }}, arguments[1] || {});
+ return new Effect.Opacity(element,options);
+}
+
+Effect.Puff = function(element) {
+ element = $(element);
+ var oldStyle = {
+ opacity: element.getInlineOpacity(),
+ position: element.getStyle('position'),
+ top: element.style.top,
+ left: element.style.left,
+ width: element.style.width,
+ height: element.style.height
+ };
+ return new Effect.Parallel(
+ [ new Effect.Scale(element, 200,
+ { sync: true, scaleFromCenter: true, scaleContent: true, restoreAfterFinish: true }),
+ new Effect.Opacity(element, { sync: true, to: 0.0 } ) ],
+ Object.extend({ duration: 1.0,
+ beforeSetupInternal: function(effect) {
+ Position.absolutize(effect.effects[0].element)
+ },
+ afterFinishInternal: function(effect) {
+ effect.effects[0].element.hide().setStyle(oldStyle); }
+ }, arguments[1] || {})
+ );
+}
+
+Effect.BlindUp = function(element) {
+ element = $(element);
+ element.makeClipping();
+ return new Effect.Scale(element, 0,
+ Object.extend({ scaleContent: false,
+ scaleX: false,
+ restoreAfterFinish: true,
+ afterFinishInternal: function(effect) {
+ effect.element.hide().undoClipping();
+ }
+ }, arguments[1] || {})
+ );
+}
+
+Effect.BlindDown = function(element) {
+ element = $(element);
+ var elementDimensions = element.getDimensions();
+ return new Effect.Scale(element, 100, Object.extend({
+ scaleContent: false,
+ scaleX: false,
+ scaleFrom: 0,
+ scaleMode: {originalHeight: elementDimensions.height, originalWidth: elementDimensions.width},
+ restoreAfterFinish: true,
+ afterSetup: function(effect) {
+ effect.element.makeClipping().setStyle({height: '0px'}).show();
+ },
+ afterFinishInternal: function(effect) {
+ effect.element.undoClipping();
+ }
+ }, arguments[1] || {}));
+}
+
+Effect.SwitchOff = function(element) {
+ element = $(element);
+ var oldOpacity = element.getInlineOpacity();
+ return new Effect.Appear(element, Object.extend({
+ duration: 0.4,
+ from: 0,
+ transition: Effect.Transitions.flicker,
+ afterFinishInternal: function(effect) {
+ new Effect.Scale(effect.element, 1, {
+ duration: 0.3, scaleFromCenter: true,
+ scaleX: false, scaleContent: false, restoreAfterFinish: true,
+ beforeSetup: function(effect) {
+ effect.element.makePositioned().makeClipping();
+ },
+ afterFinishInternal: function(effect) {
+ effect.element.hide().undoClipping().undoPositioned().setStyle({opacity: oldOpacity});
+ }
+ })
+ }
+ }, arguments[1] || {}));
+}
+
+Effect.DropOut = function(element) {
+ element = $(element);
+ var oldStyle = {
+ top: element.getStyle('top'),
+ left: element.getStyle('left'),
+ opacity: element.getInlineOpacity() };
+ return new Effect.Parallel(
+ [ new Effect.Move(element, {x: 0, y: 100, sync: true }),
+ new Effect.Opacity(element, { sync: true, to: 0.0 }) ],
+ Object.extend(
+ { duration: 0.5,
+ beforeSetup: function(effect) {
+ effect.effects[0].element.makePositioned();
+ },
+ afterFinishInternal: function(effect) {
+ effect.effects[0].element.hide().undoPositioned().setStyle(oldStyle);
+ }
+ }, arguments[1] || {}));
+}
+
+Effect.Shake = function(element) {
+ element = $(element);
+ var oldStyle = {
+ top: element.getStyle('top'),
+ left: element.getStyle('left') };
+ return new Effect.Move(element,
+ { x: 20, y: 0, duration: 0.05, afterFinishInternal: function(effect) {
+ new Effect.Move(effect.element,
+ { x: -40, y: 0, duration: 0.1, afterFinishInternal: function(effect) {
+ new Effect.Move(effect.element,
+ { x: 40, y: 0, duration: 0.1, afterFinishInternal: function(effect) {
+ new Effect.Move(effect.element,
+ { x: -40, y: 0, duration: 0.1, afterFinishInternal: function(effect) {
+ new Effect.Move(effect.element,
+ { x: 40, y: 0, duration: 0.1, afterFinishInternal: function(effect) {
+ new Effect.Move(effect.element,
+ { x: -20, y: 0, duration: 0.05, afterFinishInternal: function(effect) {
+ effect.element.undoPositioned().setStyle(oldStyle);
+ }}) }}) }}) }}) }}) }});
+}
+
+Effect.SlideDown = function(element) {
+ element = $(element).cleanWhitespace();
+ // SlideDown need to have the content of the element wrapped in a container element with fixed height!
+ var oldInnerBottom = element.down().getStyle('bottom');
+ var elementDimensions = element.getDimensions();
+ return new Effect.Scale(element, 100, Object.extend({
+ scaleContent: false,
+ scaleX: false,
+ scaleFrom: window.opera ? 0 : 1,
+ scaleMode: {originalHeight: elementDimensions.height, originalWidth: elementDimensions.width},
+ restoreAfterFinish: true,
+ afterSetup: function(effect) {
+ effect.element.makePositioned();
+ effect.element.down().makePositioned();
+ if(window.opera) effect.element.setStyle({top: ''});
+ effect.element.makeClipping().setStyle({height: '0px'}).show();
+ },
+ afterUpdateInternal: function(effect) {
+ effect.element.down().setStyle({bottom:
+ (effect.dims[0] - effect.element.clientHeight) + 'px' });
+ },
+ afterFinishInternal: function(effect) {
+ effect.element.undoClipping().undoPositioned();
+ effect.element.down().undoPositioned().setStyle({bottom: oldInnerBottom}); }
+ }, arguments[1] || {})
+ );
+}
+
+Effect.SlideUp = function(element) {
+ element = $(element).cleanWhitespace();
+ var oldInnerBottom = element.down().getStyle('bottom');
+ return new Effect.Scale(element, window.opera ? 0 : 1,
+ Object.extend({ scaleContent: false,
+ scaleX: false,
+ scaleMode: 'box',
+ scaleFrom: 100,
+ restoreAfterFinish: true,
+ beforeStartInternal: function(effect) {
+ effect.element.makePositioned();
+ effect.element.down().makePositioned();
+ if(window.opera) effect.element.setStyle({top: ''});
+ effect.element.makeClipping().show();
+ },
+ afterUpdateInternal: function(effect) {
+ effect.element.down().setStyle({bottom:
+ (effect.dims[0] - effect.element.clientHeight) + 'px' });
+ },
+ afterFinishInternal: function(effect) {
+ effect.element.hide().undoClipping().undoPositioned().setStyle({bottom: oldInnerBottom});
+ effect.element.down().undoPositioned();
+ }
+ }, arguments[1] || {})
+ );
+}
+
+// Bug in opera makes the TD containing this element expand for a instance after finish
+Effect.Squish = function(element) {
+ return new Effect.Scale(element, window.opera ? 1 : 0, {
+ restoreAfterFinish: true,
+ beforeSetup: function(effect) {
+ effect.element.makeClipping();
+ },
+ afterFinishInternal: function(effect) {
+ effect.element.hide().undoClipping();
+ }
+ });
+}
+
+Effect.Grow = function(element) {
+ element = $(element);
+ var options = Object.extend({
+ direction: 'center',
+ moveTransition: Effect.Transitions.sinoidal,
+ scaleTransition: Effect.Transitions.sinoidal,
+ opacityTransition: Effect.Transitions.full
+ }, arguments[1] || {});
+ var oldStyle = {
+ top: element.style.top,
+ left: element.style.left,
+ height: element.style.height,
+ width: element.style.width,
+ opacity: element.getInlineOpacity() };
+
+ var dims = element.getDimensions();
+ var initialMoveX, initialMoveY;
+ var moveX, moveY;
+
+ switch (options.direction) {
+ case 'top-left':
+ initialMoveX = initialMoveY = moveX = moveY = 0;
+ break;
+ case 'top-right':
+ initialMoveX = dims.width;
+ initialMoveY = moveY = 0;
+ moveX = -dims.width;
+ break;
+ case 'bottom-left':
+ initialMoveX = moveX = 0;
+ initialMoveY = dims.height;
+ moveY = -dims.height;
+ break;
+ case 'bottom-right':
+ initialMoveX = dims.width;
+ initialMoveY = dims.height;
+ moveX = -dims.width;
+ moveY = -dims.height;
+ break;
+ case 'center':
+ initialMoveX = dims.width / 2;
+ initialMoveY = dims.height / 2;
+ moveX = -dims.width / 2;
+ moveY = -dims.height / 2;
+ break;
+ }
+
+ return new Effect.Move(element, {
+ x: initialMoveX,
+ y: initialMoveY,
+ duration: 0.01,
+ beforeSetup: function(effect) {
+ effect.element.hide().makeClipping().makePositioned();
+ },
+ afterFinishInternal: function(effect) {
+ new Effect.Parallel(
+ [ new Effect.Opacity(effect.element, { sync: true, to: 1.0, from: 0.0, transition: options.opacityTransition }),
+ new Effect.Move(effect.element, { x: moveX, y: moveY, sync: true, transition: options.moveTransition }),
+ new Effect.Scale(effect.element, 100, {
+ scaleMode: { originalHeight: dims.height, originalWidth: dims.width },
+ sync: true, scaleFrom: window.opera ? 1 : 0, transition: options.scaleTransition, restoreAfterFinish: true})
+ ], Object.extend({
+ beforeSetup: function(effect) {
+ effect.effects[0].element.setStyle({height: '0px'}).show();
+ },
+ afterFinishInternal: function(effect) {
+ effect.effects[0].element.undoClipping().undoPositioned().setStyle(oldStyle);
+ }
+ }, options)
+ )
+ }
+ });
+}
+
+Effect.Shrink = function(element) {
+ element = $(element);
+ var options = Object.extend({
+ direction: 'center',
+ moveTransition: Effect.Transitions.sinoidal,
+ scaleTransition: Effect.Transitions.sinoidal,
+ opacityTransition: Effect.Transitions.none
+ }, arguments[1] || {});
+ var oldStyle = {
+ top: element.style.top,
+ left: element.style.left,
+ height: element.style.height,
+ width: element.style.width,
+ opacity: element.getInlineOpacity() };
+
+ var dims = element.getDimensions();
+ var moveX, moveY;
+
+ switch (options.direction) {
+ case 'top-left':
+ moveX = moveY = 0;
+ break;
+ case 'top-right':
+ moveX = dims.width;
+ moveY = 0;
+ break;
+ case 'bottom-left':
+ moveX = 0;
+ moveY = dims.height;
+ break;
+ case 'bottom-right':
+ moveX = dims.width;
+ moveY = dims.height;
+ break;
+ case 'center':
+ moveX = dims.width / 2;
+ moveY = dims.height / 2;
+ break;
+ }
+
+ return new Effect.Parallel(
+ [ new Effect.Opacity(element, { sync: true, to: 0.0, from: 1.0, transition: options.opacityTransition }),
+ new Effect.Scale(element, window.opera ? 1 : 0, { sync: true, transition: options.scaleTransition, restoreAfterFinish: true}),
+ new Effect.Move(element, { x: moveX, y: moveY, sync: true, transition: options.moveTransition })
+ ], Object.extend({
+ beforeStartInternal: function(effect) {
+ effect.effects[0].element.makePositioned().makeClipping();
+ },
+ afterFinishInternal: function(effect) {
+ effect.effects[0].element.hide().undoClipping().undoPositioned().setStyle(oldStyle); }
+ }, options)
+ );
+}
+
+Effect.Pulsate = function(element) {
+ element = $(element);
+ var options = arguments[1] || {};
+ var oldOpacity = element.getInlineOpacity();
+ var transition = options.transition || Effect.Transitions.sinoidal;
+ var reverser = function(pos){ return transition(1-Effect.Transitions.pulse(pos, options.pulses)) };
+ reverser.bind(transition);
+ return new Effect.Opacity(element,
+ Object.extend(Object.extend({ duration: 2.0, from: 0,
+ afterFinishInternal: function(effect) { effect.element.setStyle({opacity: oldOpacity}); }
+ }, options), {transition: reverser}));
+}
+
+Effect.Fold = function(element) {
+ element = $(element);
+ var oldStyle = {
+ top: element.style.top,
+ left: element.style.left,
+ width: element.style.width,
+ height: element.style.height };
+ element.makeClipping();
+ return new Effect.Scale(element, 5, Object.extend({
+ scaleContent: false,
+ scaleX: false,
+ afterFinishInternal: function(effect) {
+ new Effect.Scale(element, 1, {
+ scaleContent: false,
+ scaleY: false,
+ afterFinishInternal: function(effect) {
+ effect.element.hide().undoClipping().setStyle(oldStyle);
+ } });
+ }}, arguments[1] || {}));
+};
+
+Effect.Morph = Class.create();
+Object.extend(Object.extend(Effect.Morph.prototype, Effect.Base.prototype), {
+ initialize: function(element) {
+ this.element = $(element);
+ if(!this.element) throw(Effect._elementDoesNotExistError);
+ var options = Object.extend({
+ style: ''
+ }, arguments[1] || {});
+ this.start(options);
+ },
+ setup: function(){
+ function parseColor(color){
+ if(!color || ['rgba(0, 0, 0, 0)','transparent'].include(color)) color = '#ffffff';
+ color = color.parseColor();
+ return $R(0,2).map(function(i){
+ return parseInt( color.slice(i*2+1,i*2+3), 16 )
+ });
+ }
+ this.transforms = this.options.style.parseStyle().map(function(property){
+ var originalValue = this.element.getStyle(property[0]);
+ return $H({
+ style: property[0],
+ originalValue: property[1].unit=='color' ?
+ parseColor(originalValue) : parseFloat(originalValue || 0),
+ targetValue: property[1].unit=='color' ?
+ parseColor(property[1].value) : property[1].value,
+ unit: property[1].unit
+ });
+ }.bind(this)).reject(function(transform){
+ return (
+ (transform.originalValue == transform.targetValue) ||
+ (
+ transform.unit != 'color' &&
+ (isNaN(transform.originalValue) || isNaN(transform.targetValue))
+ )
+ )
+ });
+ },
+ update: function(position) {
+ var style = $H(), value = null;
+ this.transforms.each(function(transform){
+ value = transform.unit=='color' ?
+ $R(0,2).inject('#',function(m,v,i){
+ return m+(Math.round(transform.originalValue[i]+
+ (transform.targetValue[i] - transform.originalValue[i])*position)).toColorPart() }) :
+ transform.originalValue + Math.round(
+ ((transform.targetValue - transform.originalValue) * position) * 1000)/1000 + transform.unit;
+ style[transform.style] = value;
+ });
+ this.element.setStyle(style);
+ }
+});
+
+Effect.Transform = Class.create();
+Object.extend(Effect.Transform.prototype, {
+ initialize: function(tracks){
+ this.tracks = [];
+ this.options = arguments[1] || {};
+ this.addTracks(tracks);
+ },
+ addTracks: function(tracks){
+ tracks.each(function(track){
+ var data = $H(track).values().first();
+ this.tracks.push($H({
+ ids: $H(track).keys().first(),
+ effect: Effect.Morph,
+ options: { style: data }
+ }));
+ }.bind(this));
+ return this;
+ },
+ play: function(){
+ return new Effect.Parallel(
+ this.tracks.map(function(track){
+ var elements = [$(track.ids) || $$(track.ids)].flatten();
+ return elements.map(function(e){ return new track.effect(e, Object.extend({ sync:true }, track.options)) });
+ }).flatten(),
+ this.options
+ );
+ }
+});
+
+Element.CSS_PROPERTIES = ['azimuth', 'backgroundAttachment', 'backgroundColor', 'backgroundImage',
+ 'backgroundPosition', 'backgroundRepeat', 'borderBottomColor', 'borderBottomStyle',
+ 'borderBottomWidth', 'borderCollapse', 'borderLeftColor', 'borderLeftStyle', 'borderLeftWidth',
+ 'borderRightColor', 'borderRightStyle', 'borderRightWidth', 'borderSpacing', 'borderTopColor',
+ 'borderTopStyle', 'borderTopWidth', 'bottom', 'captionSide', 'clear', 'clip', 'color', 'content',
+ 'counterIncrement', 'counterReset', 'cssFloat', 'cueAfter', 'cueBefore', 'cursor', 'direction',
+ 'display', 'elevation', 'emptyCells', 'fontFamily', 'fontSize', 'fontSizeAdjust', 'fontStretch',
+ 'fontStyle', 'fontVariant', 'fontWeight', 'height', 'left', 'letterSpacing', 'lineHeight',
+ 'listStyleImage', 'listStylePosition', 'listStyleType', 'marginBottom', 'marginLeft', 'marginRight',
+ 'marginTop', 'markerOffset', 'marks', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'opacity',
+ 'orphans', 'outlineColor', 'outlineOffset', 'outlineStyle', 'outlineWidth', 'overflowX', 'overflowY',
+ 'paddingBottom', 'paddingLeft', 'paddingRight', 'paddingTop', 'page', 'pageBreakAfter', 'pageBreakBefore',
+ 'pageBreakInside', 'pauseAfter', 'pauseBefore', 'pitch', 'pitchRange', 'position', 'quotes',
+ 'richness', 'right', 'size', 'speakHeader', 'speakNumeral', 'speakPunctuation', 'speechRate', 'stress',
+ 'tableLayout', 'textAlign', 'textDecoration', 'textIndent', 'textShadow', 'textTransform', 'top',
+ 'unicodeBidi', 'verticalAlign', 'visibility', 'voiceFamily', 'volume', 'whiteSpace', 'widows',
+ 'width', 'wordSpacing', 'zIndex'];
+
+Element.CSS_LENGTH = /^(([\+\-]?[0-9\.]+)(em|ex|px|in|cm|mm|pt|pc|\%))|0$/;
+
+String.prototype.parseStyle = function(){
+ var element = Element.extend(document.createElement('div'));
+ element.innerHTML = '
';
+ var style = element.down().style, styleRules = $H();
+
+ Element.CSS_PROPERTIES.each(function(property){
+ if(style[property]) styleRules[property] = style[property];
+ });
+
+ var result = $H();
+
+ styleRules.each(function(pair){
+ var property = pair[0], value = pair[1], unit = null;
+
+ if(value.parseColor('#zzzzzz') != '#zzzzzz') {
+ value = value.parseColor();
+ unit = 'color';
+ } else if(Element.CSS_LENGTH.test(value))
+ var components = value.match(/^([\+\-]?[0-9\.]+)(.*)$/),
+ value = parseFloat(components[1]), unit = (components.length == 3) ? components[2] : null;
+
+ result[property.underscore().dasherize()] = $H({ value:value, unit:unit });
+ }.bind(this));
+
+ return result;
+};
+
+Element.morph = function(element, style) {
+ new Effect.Morph(element, Object.extend({ style: style }, arguments[2] || {}));
+ return element;
+};
+
+['setOpacity','getOpacity','getInlineOpacity','forceRerendering','setContentZoom',
+ 'collectTextNodes','collectTextNodesIgnoreClass','morph'].each(
+ function(f) { Element.Methods[f] = Element[f]; }
+);
+
+Element.Methods.visualEffect = function(element, effect, options) {
+ s = effect.gsub(/_/, '-').camelize();
+ effect_class = s.charAt(0).toUpperCase() + s.substring(1);
+ new Effect[effect_class](element, options);
+ return $(element);
+};
+
+Element.addMethods();
\ No newline at end of file
Index: contrib/jruby/rune/public/javascripts/dragdrop.js
===================================================================
--- contrib/jruby/rune/public/javascripts/dragdrop.js (revision 0)
+++ contrib/jruby/rune/public/javascripts/dragdrop.js (revision 0)
@@ -0,0 +1,942 @@
+// Copyright (c) 2005, 2006 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
+// (c) 2005, 2006 Sammi Williams (http://www.oriontransfer.co.nz, sammi@oriontransfer.co.nz)
+//
+// script.aculo.us is freely distributable under the terms of an MIT-style license.
+// For details, see the script.aculo.us web site: http://script.aculo.us/
+
+if(typeof Effect == 'undefined')
+ throw("dragdrop.js requires including script.aculo.us' effects.js library");
+
+var Droppables = {
+ drops: [],
+
+ remove: function(element) {
+ this.drops = this.drops.reject(function(d) { return d.element==$(element) });
+ },
+
+ add: function(element) {
+ element = $(element);
+ var options = Object.extend({
+ greedy: true,
+ hoverclass: null,
+ tree: false
+ }, arguments[1] || {});
+
+ // cache containers
+ if(options.containment) {
+ options._containers = [];
+ var containment = options.containment;
+ if((typeof containment == 'object') &&
+ (containment.constructor == Array)) {
+ containment.each( function(c) { options._containers.push($(c)) });
+ } else {
+ options._containers.push($(containment));
+ }
+ }
+
+ if(options.accept) options.accept = [options.accept].flatten();
+
+ Element.makePositioned(element); // fix IE
+ options.element = element;
+
+ this.drops.push(options);
+ },
+
+ findDeepestChild: function(drops) {
+ deepest = drops[0];
+
+ for (i = 1; i < drops.length; ++i)
+ if (Element.isParent(drops[i].element, deepest.element))
+ deepest = drops[i];
+
+ return deepest;
+ },
+
+ isContained: function(element, drop) {
+ var containmentNode;
+ if(drop.tree) {
+ containmentNode = element.treeNode;
+ } else {
+ containmentNode = element.parentNode;
+ }
+ return drop._containers.detect(function(c) { return containmentNode == c });
+ },
+
+ isAffected: function(point, element, drop) {
+ return (
+ (drop.element!=element) &&
+ ((!drop._containers) ||
+ this.isContained(element, drop)) &&
+ ((!drop.accept) ||
+ (Element.classNames(element).detect(
+ function(v) { return drop.accept.include(v) } ) )) &&
+ Position.within(drop.element, point[0], point[1]) );
+ },
+
+ deactivate: function(drop) {
+ if(drop.hoverclass)
+ Element.removeClassName(drop.element, drop.hoverclass);
+ this.last_active = null;
+ },
+
+ activate: function(drop) {
+ if(drop.hoverclass)
+ Element.addClassName(drop.element, drop.hoverclass);
+ this.last_active = drop;
+ },
+
+ show: function(point, element) {
+ if(!this.drops.length) return;
+ var affected = [];
+
+ if(this.last_active) this.deactivate(this.last_active);
+ this.drops.each( function(drop) {
+ if(Droppables.isAffected(point, element, drop))
+ affected.push(drop);
+ });
+
+ if(affected.length>0) {
+ drop = Droppables.findDeepestChild(affected);
+ Position.within(drop.element, point[0], point[1]);
+ if(drop.onHover)
+ drop.onHover(element, drop.element, Position.overlap(drop.overlap, drop.element));
+
+ Droppables.activate(drop);
+ }
+ },
+
+ fire: function(event, element) {
+ if(!this.last_active) return;
+ Position.prepare();
+
+ if (this.isAffected([Event.pointerX(event), Event.pointerY(event)], element, this.last_active))
+ if (this.last_active.onDrop)
+ this.last_active.onDrop(element, this.last_active.element, event);
+ },
+
+ reset: function() {
+ if(this.last_active)
+ this.deactivate(this.last_active);
+ }
+}
+
+var Draggables = {
+ drags: [],
+ observers: [],
+
+ register: function(draggable) {
+ if(this.drags.length == 0) {
+ this.eventMouseUp = this.endDrag.bindAsEventListener(this);
+ this.eventMouseMove = this.updateDrag.bindAsEventListener(this);
+ this.eventKeypress = this.keyPress.bindAsEventListener(this);
+
+ Event.observe(document, "mouseup", this.eventMouseUp);
+ Event.observe(document, "mousemove", this.eventMouseMove);
+ Event.observe(document, "keypress", this.eventKeypress);
+ }
+ this.drags.push(draggable);
+ },
+
+ unregister: function(draggable) {
+ this.drags = this.drags.reject(function(d) { return d==draggable });
+ if(this.drags.length == 0) {
+ Event.stopObserving(document, "mouseup", this.eventMouseUp);
+ Event.stopObserving(document, "mousemove", this.eventMouseMove);
+ Event.stopObserving(document, "keypress", this.eventKeypress);
+ }
+ },
+
+ activate: function(draggable) {
+ if(draggable.options.delay) {
+ this._timeout = setTimeout(function() {
+ Draggables._timeout = null;
+ window.focus();
+ Draggables.activeDraggable = draggable;
+ }.bind(this), draggable.options.delay);
+ } else {
+ window.focus(); // allows keypress events if window isn't currently focused, fails for Safari
+ this.activeDraggable = draggable;
+ }
+ },
+
+ deactivate: function() {
+ this.activeDraggable = null;
+ },
+
+ updateDrag: function(event) {
+ if(!this.activeDraggable) return;
+ var pointer = [Event.pointerX(event), Event.pointerY(event)];
+ // Mozilla-based browsers fire successive mousemove events with
+ // the same coordinates, prevent needless redrawing (moz bug?)
+ if(this._lastPointer && (this._lastPointer.inspect() == pointer.inspect())) return;
+ this._lastPointer = pointer;
+
+ this.activeDraggable.updateDrag(event, pointer);
+ },
+
+ endDrag: function(event) {
+ if(this._timeout) {
+ clearTimeout(this._timeout);
+ this._timeout = null;
+ }
+ if(!this.activeDraggable) return;
+ this._lastPointer = null;
+ this.activeDraggable.endDrag(event);
+ this.activeDraggable = null;
+ },
+
+ keyPress: function(event) {
+ if(this.activeDraggable)
+ this.activeDraggable.keyPress(event);
+ },
+
+ addObserver: function(observer) {
+ this.observers.push(observer);
+ this._cacheObserverCallbacks();
+ },
+
+ removeObserver: function(element) { // element instead of observer fixes mem leaks
+ this.observers = this.observers.reject( function(o) { return o.element==element });
+ this._cacheObserverCallbacks();
+ },
+
+ notify: function(eventName, draggable, event) { // 'onStart', 'onEnd', 'onDrag'
+ if(this[eventName+'Count'] > 0)
+ this.observers.each( function(o) {
+ if(o[eventName]) o[eventName](eventName, draggable, event);
+ });
+ if(draggable.options[eventName]) draggable.options[eventName](draggable, event);
+ },
+
+ _cacheObserverCallbacks: function() {
+ ['onStart','onEnd','onDrag'].each( function(eventName) {
+ Draggables[eventName+'Count'] = Draggables.observers.select(
+ function(o) { return o[eventName]; }
+ ).length;
+ });
+ }
+}
+
+/*--------------------------------------------------------------------------*/
+
+var Draggable = Class.create();
+Draggable._dragging = {};
+
+Draggable.prototype = {
+ initialize: function(element) {
+ var defaults = {
+ handle: false,
+ reverteffect: function(element, top_offset, left_offset) {
+ var dur = Math.sqrt(Math.abs(top_offset^2)+Math.abs(left_offset^2))*0.02;
+ new Effect.Move(element, { x: -left_offset, y: -top_offset, duration: dur,
+ queue: {scope:'_draggable', position:'end'}
+ });
+ },
+ endeffect: function(element) {
+ var toOpacity = typeof element._opacity == 'number' ? element._opacity : 1.0;
+ new Effect.Opacity(element, {duration:0.2, from:0.7, to:toOpacity,
+ queue: {scope:'_draggable', position:'end'},
+ afterFinish: function(){
+ Draggable._dragging[element] = false
+ }
+ });
+ },
+ zindex: 1000,
+ revert: false,
+ scroll: false,
+ scrollSensitivity: 20,
+ scrollSpeed: 15,
+ snap: false, // false, or xy or [x,y] or function(x,y){ return [x,y] }
+ delay: 0
+ };
+
+ if(!arguments[1] || typeof arguments[1].endeffect == 'undefined')
+ Object.extend(defaults, {
+ starteffect: function(element) {
+ element._opacity = Element.getOpacity(element);
+ Draggable._dragging[element] = true;
+ new Effect.Opacity(element, {duration:0.2, from:element._opacity, to:0.7});
+ }
+ });
+
+ var options = Object.extend(defaults, arguments[1] || {});
+
+ this.element = $(element);
+
+ if(options.handle && (typeof options.handle == 'string'))
+ this.handle = this.element.down('.'+options.handle, 0);
+
+ if(!this.handle) this.handle = $(options.handle);
+ if(!this.handle) this.handle = this.element;
+
+ if(options.scroll && !options.scroll.scrollTo && !options.scroll.outerHTML) {
+ options.scroll = $(options.scroll);
+ this._isScrollChild = Element.childOf(this.element, options.scroll);
+ }
+
+ Element.makePositioned(this.element); // fix IE
+
+ this.delta = this.currentDelta();
+ this.options = options;
+ this.dragging = false;
+
+ this.eventMouseDown = this.initDrag.bindAsEventListener(this);
+ Event.observe(this.handle, "mousedown", this.eventMouseDown);
+
+ Draggables.register(this);
+ },
+
+ destroy: function() {
+ Event.stopObserving(this.handle, "mousedown", this.eventMouseDown);
+ Draggables.unregister(this);
+ },
+
+ currentDelta: function() {
+ return([
+ parseInt(Element.getStyle(this.element,'left') || '0'),
+ parseInt(Element.getStyle(this.element,'top') || '0')]);
+ },
+
+ initDrag: function(event) {
+ if(typeof Draggable._dragging[this.element] != 'undefined' &&
+ Draggable._dragging[this.element]) return;
+ if(Event.isLeftClick(event)) {
+ // abort on form elements, fixes a Firefox issue
+ var src = Event.element(event);
+ if(src.tagName && (
+ src.tagName=='INPUT' ||
+ src.tagName=='SELECT' ||
+ src.tagName=='OPTION' ||
+ src.tagName=='BUTTON' ||
+ src.tagName=='TEXTAREA')) return;
+
+ var pointer = [Event.pointerX(event), Event.pointerY(event)];
+ var pos = Position.cumulativeOffset(this.element);
+ this.offset = [0,1].map( function(i) { return (pointer[i] - pos[i]) });
+
+ Draggables.activate(this);
+ Event.stop(event);
+ }
+ },
+
+ startDrag: function(event) {
+ this.dragging = true;
+
+ if(this.options.zindex) {
+ this.originalZ = parseInt(Element.getStyle(this.element,'z-index') || 0);
+ this.element.style.zIndex = this.options.zindex;
+ }
+
+ if(this.options.ghosting) {
+ this._clone = this.element.cloneNode(true);
+ Position.absolutize(this.element);
+ this.element.parentNode.insertBefore(this._clone, this.element);
+ }
+
+ if(this.options.scroll) {
+ if (this.options.scroll == window) {
+ var where = this._getWindowScroll(this.options.scroll);
+ this.originalScrollLeft = where.left;
+ this.originalScrollTop = where.top;
+ } else {
+ this.originalScrollLeft = this.options.scroll.scrollLeft;
+ this.originalScrollTop = this.options.scroll.scrollTop;
+ }
+ }
+
+ Draggables.notify('onStart', this, event);
+
+ if(this.options.starteffect) this.options.starteffect(this.element);
+ },
+
+ updateDrag: function(event, pointer) {
+ if(!this.dragging) this.startDrag(event);
+ Position.prepare();
+ Droppables.show(pointer, this.element);
+ Draggables.notify('onDrag', this, event);
+
+ this.draw(pointer);
+ if(this.options.change) this.options.change(this);
+
+ if(this.options.scroll) {
+ this.stopScrolling();
+
+ var p;
+ if (this.options.scroll == window) {
+ with(this._getWindowScroll(this.options.scroll)) { p = [ left, top, left+width, top+height ]; }
+ } else {
+ p = Position.page(this.options.scroll);
+ p[0] += this.options.scroll.scrollLeft + Position.deltaX;
+ p[1] += this.options.scroll.scrollTop + Position.deltaY;
+ p.push(p[0]+this.options.scroll.offsetWidth);
+ p.push(p[1]+this.options.scroll.offsetHeight);
+ }
+ var speed = [0,0];
+ if(pointer[0] < (p[0]+this.options.scrollSensitivity)) speed[0] = pointer[0]-(p[0]+this.options.scrollSensitivity);
+ if(pointer[1] < (p[1]+this.options.scrollSensitivity)) speed[1] = pointer[1]-(p[1]+this.options.scrollSensitivity);
+ if(pointer[0] > (p[2]-this.options.scrollSensitivity)) speed[0] = pointer[0]-(p[2]-this.options.scrollSensitivity);
+ if(pointer[1] > (p[3]-this.options.scrollSensitivity)) speed[1] = pointer[1]-(p[3]-this.options.scrollSensitivity);
+ this.startScrolling(speed);
+ }
+
+ // fix AppleWebKit rendering
+ if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0);
+
+ Event.stop(event);
+ },
+
+ finishDrag: function(event, success) {
+ this.dragging = false;
+
+ if(this.options.ghosting) {
+ Position.relativize(this.element);
+ Element.remove(this._clone);
+ this._clone = null;
+ }
+
+ if(success) Droppables.fire(event, this.element);
+ Draggables.notify('onEnd', this, event);
+
+ var revert = this.options.revert;
+ if(revert && typeof revert == 'function') revert = revert(this.element);
+
+ var d = this.currentDelta();
+ if(revert && this.options.reverteffect) {
+ this.options.reverteffect(this.element,
+ d[1]-this.delta[1], d[0]-this.delta[0]);
+ } else {
+ this.delta = d;
+ }
+
+ if(this.options.zindex)
+ this.element.style.zIndex = this.originalZ;
+
+ if(this.options.endeffect)
+ this.options.endeffect(this.element);
+
+ Draggables.deactivate(this);
+ Droppables.reset();
+ },
+
+ keyPress: function(event) {
+ if(event.keyCode!=Event.KEY_ESC) return;
+ this.finishDrag(event, false);
+ Event.stop(event);
+ },
+
+ endDrag: function(event) {
+ if(!this.dragging) return;
+ this.stopScrolling();
+ this.finishDrag(event, true);
+ Event.stop(event);
+ },
+
+ draw: function(point) {
+ var pos = Position.cumulativeOffset(this.element);
+ if(this.options.ghosting) {
+ var r = Position.realOffset(this.element);
+ pos[0] += r[0] - Position.deltaX; pos[1] += r[1] - Position.deltaY;
+ }
+
+ var d = this.currentDelta();
+ pos[0] -= d[0]; pos[1] -= d[1];
+
+ if(this.options.scroll && (this.options.scroll != window && this._isScrollChild)) {
+ pos[0] -= this.options.scroll.scrollLeft-this.originalScrollLeft;
+ pos[1] -= this.options.scroll.scrollTop-this.originalScrollTop;
+ }
+
+ var p = [0,1].map(function(i){
+ return (point[i]-pos[i]-this.offset[i])
+ }.bind(this));
+
+ if(this.options.snap) {
+ if(typeof this.options.snap == 'function') {
+ p = this.options.snap(p[0],p[1],this);
+ } else {
+ if(this.options.snap instanceof Array) {
+ p = p.map( function(v, i) {
+ return Math.round(v/this.options.snap[i])*this.options.snap[i] }.bind(this))
+ } else {
+ p = p.map( function(v) {
+ return Math.round(v/this.options.snap)*this.options.snap }.bind(this))
+ }
+ }}
+
+ var style = this.element.style;
+ if((!this.options.constraint) || (this.options.constraint=='horizontal'))
+ style.left = p[0] + "px";
+ if((!this.options.constraint) || (this.options.constraint=='vertical'))
+ style.top = p[1] + "px";
+
+ if(style.visibility=="hidden") style.visibility = ""; // fix gecko rendering
+ },
+
+ stopScrolling: function() {
+ if(this.scrollInterval) {
+ clearInterval(this.scrollInterval);
+ this.scrollInterval = null;
+ Draggables._lastScrollPointer = null;
+ }
+ },
+
+ startScrolling: function(speed) {
+ if(!(speed[0] || speed[1])) return;
+ this.scrollSpeed = [speed[0]*this.options.scrollSpeed,speed[1]*this.options.scrollSpeed];
+ this.lastScrolled = new Date();
+ this.scrollInterval = setInterval(this.scroll.bind(this), 10);
+ },
+
+ scroll: function() {
+ var current = new Date();
+ var delta = current - this.lastScrolled;
+ this.lastScrolled = current;
+ if(this.options.scroll == window) {
+ with (this._getWindowScroll(this.options.scroll)) {
+ if (this.scrollSpeed[0] || this.scrollSpeed[1]) {
+ var d = delta / 1000;
+ this.options.scroll.scrollTo( left + d*this.scrollSpeed[0], top + d*this.scrollSpeed[1] );
+ }
+ }
+ } else {
+ this.options.scroll.scrollLeft += this.scrollSpeed[0] * delta / 1000;
+ this.options.scroll.scrollTop += this.scrollSpeed[1] * delta / 1000;
+ }
+
+ Position.prepare();
+ Droppables.show(Draggables._lastPointer, this.element);
+ Draggables.notify('onDrag', this);
+ if (this._isScrollChild) {
+ Draggables._lastScrollPointer = Draggables._lastScrollPointer || $A(Draggables._lastPointer);
+ Draggables._lastScrollPointer[0] += this.scrollSpeed[0] * delta / 1000;
+ Draggables._lastScrollPointer[1] += this.scrollSpeed[1] * delta / 1000;
+ if (Draggables._lastScrollPointer[0] < 0)
+ Draggables._lastScrollPointer[0] = 0;
+ if (Draggables._lastScrollPointer[1] < 0)
+ Draggables._lastScrollPointer[1] = 0;
+ this.draw(Draggables._lastScrollPointer);
+ }
+
+ if(this.options.change) this.options.change(this);
+ },
+
+ _getWindowScroll: function(w) {
+ var T, L, W, H;
+ with (w.document) {
+ if (w.document.documentElement && documentElement.scrollTop) {
+ T = documentElement.scrollTop;
+ L = documentElement.scrollLeft;
+ } else if (w.document.body) {
+ T = body.scrollTop;
+ L = body.scrollLeft;
+ }
+ if (w.innerWidth) {
+ W = w.innerWidth;
+ H = w.innerHeight;
+ } else if (w.document.documentElement && documentElement.clientWidth) {
+ W = documentElement.clientWidth;
+ H = documentElement.clientHeight;
+ } else {
+ W = body.offsetWidth;
+ H = body.offsetHeight
+ }
+ }
+ return { top: T, left: L, width: W, height: H };
+ }
+}
+
+/*--------------------------------------------------------------------------*/
+
+var SortableObserver = Class.create();
+SortableObserver.prototype = {
+ initialize: function(element, observer) {
+ this.element = $(element);
+ this.observer = observer;
+ this.lastValue = Sortable.serialize(this.element);
+ },
+
+ onStart: function() {
+ this.lastValue = Sortable.serialize(this.element);
+ },
+
+ onEnd: function() {
+ Sortable.unmark();
+ if(this.lastValue != Sortable.serialize(this.element))
+ this.observer(this.element)
+ }
+}
+
+var Sortable = {
+ SERIALIZE_RULE: /^[^_\-](?:[A-Za-z0-9\-\_]*)[_](.*)$/,
+
+ sortables: {},
+
+ _findRootElement: function(element) {
+ while (element.tagName != "BODY") {
+ if(element.id && Sortable.sortables[element.id]) return element;
+ element = element.parentNode;
+ }
+ },
+
+ options: function(element) {
+ element = Sortable._findRootElement($(element));
+ if(!element) return;
+ return Sortable.sortables[element.id];
+ },
+
+ destroy: function(element){
+ var s = Sortable.options(element);
+
+ if(s) {
+ Draggables.removeObserver(s.element);
+ s.droppables.each(function(d){ Droppables.remove(d) });
+ s.draggables.invoke('destroy');
+
+ delete Sortable.sortables[s.element.id];
+ }
+ },
+
+ create: function(element) {
+ element = $(element);
+ var options = Object.extend({
+ element: element,
+ tag: 'li', // assumes li children, override with tag: 'tagname'
+ dropOnEmpty: false,
+ tree: false,
+ treeTag: 'ul',
+ overlap: 'vertical', // one of 'vertical', 'horizontal'
+ constraint: 'vertical', // one of 'vertical', 'horizontal', false
+ containment: element, // also takes array of elements (or id's); or false
+ handle: false, // or a CSS class
+ only: false,
+ delay: 0,
+ hoverclass: null,
+ ghosting: false,
+ scroll: false,
+ scrollSensitivity: 20,
+ scrollSpeed: 15,
+ format: this.SERIALIZE_RULE,
+ onChange: Prototype.emptyFunction,
+ onUpdate: Prototype.emptyFunction
+ }, arguments[1] || {});
+
+ // clear any old sortable with same element
+ this.destroy(element);
+
+ // build options for the draggables
+ var options_for_draggable = {
+ revert: true,
+ scroll: options.scroll,
+ scrollSpeed: options.scrollSpeed,
+ scrollSensitivity: options.scrollSensitivity,
+ delay: options.delay,
+ ghosting: options.ghosting,
+ constraint: options.constraint,
+ handle: options.handle };
+
+ if(options.starteffect)
+ options_for_draggable.starteffect = options.starteffect;
+
+ if(options.reverteffect)
+ options_for_draggable.reverteffect = options.reverteffect;
+ else
+ if(options.ghosting) options_for_draggable.reverteffect = function(element) {
+ element.style.top = 0;
+ element.style.left = 0;
+ };
+
+ if(options.endeffect)
+ options_for_draggable.endeffect = options.endeffect;
+
+ if(options.zindex)
+ options_for_draggable.zindex = options.zindex;
+
+ // build options for the droppables
+ var options_for_droppable = {
+ overlap: options.overlap,
+ containment: options.containment,
+ tree: options.tree,
+ hoverclass: options.hoverclass,
+ onHover: Sortable.onHover
+ }
+
+ var options_for_tree = {
+ onHover: Sortable.onEmptyHover,
+ overlap: options.overlap,
+ containment: options.containment,
+ hoverclass: options.hoverclass
+ }
+
+ // fix for gecko engine
+ Element.cleanWhitespace(element);
+
+ options.draggables = [];
+ options.droppables = [];
+
+ // drop on empty handling
+ if(options.dropOnEmpty || options.tree) {
+ Droppables.add(element, options_for_tree);
+ options.droppables.push(element);
+ }
+
+ (this.findElements(element, options) || []).each( function(e) {
+ // handles are per-draggable
+ var handle = options.handle ?
+ $(e).down('.'+options.handle,0) : e;
+ options.draggables.push(
+ new Draggable(e, Object.extend(options_for_draggable, { handle: handle })));
+ Droppables.add(e, options_for_droppable);
+ if(options.tree) e.treeNode = element;
+ options.droppables.push(e);
+ });
+
+ if(options.tree) {
+ (Sortable.findTreeElements(element, options) || []).each( function(e) {
+ Droppables.add(e, options_for_tree);
+ e.treeNode = element;
+ options.droppables.push(e);
+ });
+ }
+
+ // keep reference
+ this.sortables[element.id] = options;
+
+ // for onupdate
+ Draggables.addObserver(new SortableObserver(element, options.onUpdate));
+
+ },
+
+ // return all suitable-for-sortable elements in a guaranteed order
+ findElements: function(element, options) {
+ return Element.findChildren(
+ element, options.only, options.tree ? true : false, options.tag);
+ },
+
+ findTreeElements: function(element, options) {
+ return Element.findChildren(
+ element, options.only, options.tree ? true : false, options.treeTag);
+ },
+
+ onHover: function(element, dropon, overlap) {
+ if(Element.isParent(dropon, element)) return;
+
+ if(overlap > .33 && overlap < .66 && Sortable.options(dropon).tree) {
+ return;
+ } else if(overlap>0.5) {
+ Sortable.mark(dropon, 'before');
+ if(dropon.previousSibling != element) {
+ var oldParentNode = element.parentNode;
+ element.style.visibility = "hidden"; // fix gecko rendering
+ dropon.parentNode.insertBefore(element, dropon);
+ if(dropon.parentNode!=oldParentNode)
+ Sortable.options(oldParentNode).onChange(element);
+ Sortable.options(dropon.parentNode).onChange(element);
+ }
+ } else {
+ Sortable.mark(dropon, 'after');
+ var nextElement = dropon.nextSibling || null;
+ if(nextElement != element) {
+ var oldParentNode = element.parentNode;
+ element.style.visibility = "hidden"; // fix gecko rendering
+ dropon.parentNode.insertBefore(element, nextElement);
+ if(dropon.parentNode!=oldParentNode)
+ Sortable.options(oldParentNode).onChange(element);
+ Sortable.options(dropon.parentNode).onChange(element);
+ }
+ }
+ },
+
+ onEmptyHover: function(element, dropon, overlap) {
+ var oldParentNode = element.parentNode;
+ var droponOptions = Sortable.options(dropon);
+
+ if(!Element.isParent(dropon, element)) {
+ var index;
+
+ var children = Sortable.findElements(dropon, {tag: droponOptions.tag, only: droponOptions.only});
+ var child = null;
+
+ if(children) {
+ var offset = Element.offsetSize(dropon, droponOptions.overlap) * (1.0 - overlap);
+
+ for (index = 0; index < children.length; index += 1) {
+ if (offset - Element.offsetSize (children[index], droponOptions.overlap) >= 0) {
+ offset -= Element.offsetSize (children[index], droponOptions.overlap);
+ } else if (offset - (Element.offsetSize (children[index], droponOptions.overlap) / 2) >= 0) {
+ child = index + 1 < children.length ? children[index + 1] : null;
+ break;
+ } else {
+ child = children[index];
+ break;
+ }
+ }
+ }
+
+ dropon.insertBefore(element, child);
+
+ Sortable.options(oldParentNode).onChange(element);
+ droponOptions.onChange(element);
+ }
+ },
+
+ unmark: function() {
+ if(Sortable._marker) Sortable._marker.hide();
+ },
+
+ mark: function(dropon, position) {
+ // mark on ghosting only
+ var sortable = Sortable.options(dropon.parentNode);
+ if(sortable && !sortable.ghosting) return;
+
+ if(!Sortable._marker) {
+ Sortable._marker =
+ ($('dropmarker') || Element.extend(document.createElement('DIV'))).
+ hide().addClassName('dropmarker').setStyle({position:'absolute'});
+ document.getElementsByTagName("body").item(0).appendChild(Sortable._marker);
+ }
+ var offsets = Position.cumulativeOffset(dropon);
+ Sortable._marker.setStyle({left: offsets[0]+'px', top: offsets[1] + 'px'});
+
+ if(position=='after')
+ if(sortable.overlap == 'horizontal')
+ Sortable._marker.setStyle({left: (offsets[0]+dropon.clientWidth) + 'px'});
+ else
+ Sortable._marker.setStyle({top: (offsets[1]+dropon.clientHeight) + 'px'});
+
+ Sortable._marker.show();
+ },
+
+ _tree: function(element, options, parent) {
+ var children = Sortable.findElements(element, options) || [];
+
+ for (var i = 0; i < children.length; ++i) {
+ var match = children[i].id.match(options.format);
+
+ if (!match) continue;
+
+ var child = {
+ id: encodeURIComponent(match ? match[1] : null),
+ element: element,
+ parent: parent,
+ children: [],
+ position: parent.children.length,
+ container: $(children[i]).down(options.treeTag)
+ }
+
+ /* Get the element containing the children and recurse over it */
+ if (child.container)
+ this._tree(child.container, options, child)
+
+ parent.children.push (child);
+ }
+
+ return parent;
+ },
+
+ tree: function(element) {
+ element = $(element);
+ var sortableOptions = this.options(element);
+ var options = Object.extend({
+ tag: sortableOptions.tag,
+ treeTag: sortableOptions.treeTag,
+ only: sortableOptions.only,
+ name: element.id,
+ format: sortableOptions.format
+ }, arguments[1] || {});
+
+ var root = {
+ id: null,
+ parent: null,
+ children: [],
+ container: element,
+ position: 0
+ }
+
+ return Sortable._tree(element, options, root);
+ },
+
+ /* Construct a [i] index for a particular node */
+ _constructIndex: function(node) {
+ var index = '';
+ do {
+ if (node.id) index = '[' + node.position + ']' + index;
+ } while ((node = node.parent) != null);
+ return index;
+ },
+
+ sequence: function(element) {
+ element = $(element);
+ var options = Object.extend(this.options(element), arguments[1] || {});
+
+ return $(this.findElements(element, options) || []).map( function(item) {
+ return item.id.match(options.format) ? item.id.match(options.format)[1] : '';
+ });
+ },
+
+ setSequence: function(element, new_sequence) {
+ element = $(element);
+ var options = Object.extend(this.options(element), arguments[2] || {});
+
+ var nodeMap = {};
+ this.findElements(element, options).each( function(n) {
+ if (n.id.match(options.format))
+ nodeMap[n.id.match(options.format)[1]] = [n, n.parentNode];
+ n.parentNode.removeChild(n);
+ });
+
+ new_sequence.each(function(ident) {
+ var n = nodeMap[ident];
+ if (n) {
+ n[1].appendChild(n[0]);
+ delete nodeMap[ident];
+ }
+ });
+ },
+
+ serialize: function(element) {
+ element = $(element);
+ var options = Object.extend(Sortable.options(element), arguments[1] || {});
+ var name = encodeURIComponent(
+ (arguments[1] && arguments[1].name) ? arguments[1].name : element.id);
+
+ if (options.tree) {
+ return Sortable.tree(element, arguments[1]).children.map( function (item) {
+ return [name + Sortable._constructIndex(item) + "[id]=" +
+ encodeURIComponent(item.id)].concat(item.children.map(arguments.callee));
+ }).flatten().join('&');
+ } else {
+ return Sortable.sequence(element, arguments[1]).map( function(item) {
+ return name + "[]=" + encodeURIComponent(item);
+ }).join('&');
+ }
+ }
+}
+
+// Returns true if child is contained within element
+Element.isParent = function(child, element) {
+ if (!child.parentNode || child == element) return false;
+ if (child.parentNode == element) return true;
+ return Element.isParent(child.parentNode, element);
+}
+
+Element.findChildren = function(element, only, recursive, tagName) {
+ if(!element.hasChildNodes()) return null;
+ tagName = tagName.toUpperCase();
+ if(only) only = [only].flatten();
+ var elements = [];
+ $A(element.childNodes).each( function(e) {
+ if(e.tagName && e.tagName.toUpperCase()==tagName &&
+ (!only || (Element.classNames(e).detect(function(v) { return only.include(v) }))))
+ elements.push(e);
+ if(recursive) {
+ var grandchildren = Element.findChildren(e, only, recursive, tagName);
+ if(grandchildren) elements.push(grandchildren);
+ }
+ });
+
+ return (elements.length>0 ? elements.flatten() : []);
+}
+
+Element.offsetSize = function (element, type) {
+ return element['offset' + ((type=='vertical' || type=='height') ? 'Height' : 'Width')];
+}
Index: contrib/jruby/rune/public/javascripts/controls.js
===================================================================
--- contrib/jruby/rune/public/javascripts/controls.js (revision 0)
+++ contrib/jruby/rune/public/javascripts/controls.js (revision 0)
@@ -0,0 +1,833 @@
+// Copyright (c) 2005, 2006 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
+// (c) 2005, 2006 Ivan Krstic (http://blogs.law.harvard.edu/ivan)
+// (c) 2005, 2006 Jon Tirsen (http://www.tirsen.com)
+// Contributors:
+// Richard Livsey
+// Rahul Bhargava
+// Rob Wills
+//
+// script.aculo.us is freely distributable under the terms of an MIT-style license.
+// For details, see the script.aculo.us web site: http://script.aculo.us/
+
+// Autocompleter.Base handles all the autocompletion functionality
+// that's independent of the data source for autocompletion. This
+// includes drawing the autocompletion menu, observing keyboard
+// and mouse events, and similar.
+//
+// Specific autocompleters need to provide, at the very least,
+// a getUpdatedChoices function that will be invoked every time
+// the text inside the monitored textbox changes. This method
+// should get the text for which to provide autocompletion by
+// invoking this.getToken(), NOT by directly accessing
+// this.element.value. This is to allow incremental tokenized
+// autocompletion. Specific auto-completion logic (AJAX, etc)
+// belongs in getUpdatedChoices.
+//
+// Tokenized incremental autocompletion is enabled automatically
+// when an autocompleter is instantiated with the 'tokens' option
+// in the options parameter, e.g.:
+// new Ajax.Autocompleter('id','upd', '/url/', { tokens: ',' });
+// will incrementally autocomplete with a comma as the token.
+// Additionally, ',' in the above example can be replaced with
+// a token array, e.g. { tokens: [',', '\n'] } which
+// enables autocompletion on multiple tokens. This is most
+// useful when one of the tokens is \n (a newline), as it
+// allows smart autocompletion after linebreaks.
+
+if(typeof Effect == 'undefined')
+ throw("controls.js requires including script.aculo.us' effects.js library");
+
+var Autocompleter = {}
+Autocompleter.Base = function() {};
+Autocompleter.Base.prototype = {
+ baseInitialize: function(element, update, options) {
+ this.element = $(element);
+ this.update = $(update);
+ this.hasFocus = false;
+ this.changed = false;
+ this.active = false;
+ this.index = 0;
+ this.entryCount = 0;
+
+ if(this.setOptions)
+ this.setOptions(options);
+ else
+ this.options = options || {};
+
+ this.options.paramName = this.options.paramName || this.element.name;
+ this.options.tokens = this.options.tokens || [];
+ this.options.frequency = this.options.frequency || 0.4;
+ this.options.minChars = this.options.minChars || 1;
+ this.options.onShow = this.options.onShow ||
+ function(element, update){
+ if(!update.style.position || update.style.position=='absolute') {
+ update.style.position = 'absolute';
+ Position.clone(element, update, {
+ setHeight: false,
+ offsetTop: element.offsetHeight
+ });
+ }
+ Effect.Appear(update,{duration:0.15});
+ };
+ this.options.onHide = this.options.onHide ||
+ function(element, update){ new Effect.Fade(update,{duration:0.15}) };
+
+ if(typeof(this.options.tokens) == 'string')
+ this.options.tokens = new Array(this.options.tokens);
+
+ this.observer = null;
+
+ this.element.setAttribute('autocomplete','off');
+
+ Element.hide(this.update);
+
+ Event.observe(this.element, "blur", this.onBlur.bindAsEventListener(this));
+ Event.observe(this.element, "keypress", this.onKeyPress.bindAsEventListener(this));
+ },
+
+ show: function() {
+ if(Element.getStyle(this.update, 'display')=='none') this.options.onShow(this.element, this.update);
+ if(!this.iefix &&
+ (navigator.appVersion.indexOf('MSIE')>0) &&
+ (navigator.userAgent.indexOf('Opera')<0) &&
+ (Element.getStyle(this.update, 'position')=='absolute')) {
+ new Insertion.After(this.update,
+ '');
+ this.iefix = $(this.update.id+'_iefix');
+ }
+ if(this.iefix) setTimeout(this.fixIEOverlapping.bind(this), 50);
+ },
+
+ fixIEOverlapping: function() {
+ Position.clone(this.update, this.iefix, {setTop:(!this.update.style.height)});
+ this.iefix.style.zIndex = 1;
+ this.update.style.zIndex = 2;
+ Element.show(this.iefix);
+ },
+
+ hide: function() {
+ this.stopIndicator();
+ if(Element.getStyle(this.update, 'display')!='none') this.options.onHide(this.element, this.update);
+ if(this.iefix) Element.hide(this.iefix);
+ },
+
+ startIndicator: function() {
+ if(this.options.indicator) Element.show(this.options.indicator);
+ },
+
+ stopIndicator: function() {
+ if(this.options.indicator) Element.hide(this.options.indicator);
+ },
+
+ onKeyPress: function(event) {
+ if(this.active)
+ switch(event.keyCode) {
+ case Event.KEY_TAB:
+ case Event.KEY_RETURN:
+ this.selectEntry();
+ Event.stop(event);
+ case Event.KEY_ESC:
+ this.hide();
+ this.active = false;
+ Event.stop(event);
+ return;
+ case Event.KEY_LEFT:
+ case Event.KEY_RIGHT:
+ return;
+ case Event.KEY_UP:
+ this.markPrevious();
+ this.render();
+ if(navigator.appVersion.indexOf('AppleWebKit')>0) Event.stop(event);
+ return;
+ case Event.KEY_DOWN:
+ this.markNext();
+ this.render();
+ if(navigator.appVersion.indexOf('AppleWebKit')>0) Event.stop(event);
+ return;
+ }
+ else
+ if(event.keyCode==Event.KEY_TAB || event.keyCode==Event.KEY_RETURN ||
+ (navigator.appVersion.indexOf('AppleWebKit') > 0 && event.keyCode == 0)) return;
+
+ this.changed = true;
+ this.hasFocus = true;
+
+ if(this.observer) clearTimeout(this.observer);
+ this.observer =
+ setTimeout(this.onObserverEvent.bind(this), this.options.frequency*1000);
+ },
+
+ activate: function() {
+ this.changed = false;
+ this.hasFocus = true;
+ this.getUpdatedChoices();
+ },
+
+ onHover: function(event) {
+ var element = Event.findElement(event, 'LI');
+ if(this.index != element.autocompleteIndex)
+ {
+ this.index = element.autocompleteIndex;
+ this.render();
+ }
+ Event.stop(event);
+ },
+
+ onClick: function(event) {
+ var element = Event.findElement(event, 'LI');
+ this.index = element.autocompleteIndex;
+ this.selectEntry();
+ this.hide();
+ },
+
+ onBlur: function(event) {
+ // needed to make click events working
+ setTimeout(this.hide.bind(this), 250);
+ this.hasFocus = false;
+ this.active = false;
+ },
+
+ render: function() {
+ if(this.entryCount > 0) {
+ for (var i = 0; i < this.entryCount; i++)
+ this.index==i ?
+ Element.addClassName(this.getEntry(i),"selected") :
+ Element.removeClassName(this.getEntry(i),"selected");
+
+ if(this.hasFocus) {
+ this.show();
+ this.active = true;
+ }
+ } else {
+ this.active = false;
+ this.hide();
+ }
+ },
+
+ markPrevious: function() {
+ if(this.index > 0) this.index--
+ else this.index = this.entryCount-1;
+ this.getEntry(this.index).scrollIntoView(true);
+ },
+
+ markNext: function() {
+ if(this.index < this.entryCount-1) this.index++
+ else this.index = 0;
+ this.getEntry(this.index).scrollIntoView(false);
+ },
+
+ getEntry: function(index) {
+ return this.update.firstChild.childNodes[index];
+ },
+
+ getCurrentEntry: function() {
+ return this.getEntry(this.index);
+ },
+
+ selectEntry: function() {
+ this.active = false;
+ this.updateElement(this.getCurrentEntry());
+ },
+
+ updateElement: function(selectedElement) {
+ if (this.options.updateElement) {
+ this.options.updateElement(selectedElement);
+ return;
+ }
+ var value = '';
+ if (this.options.select) {
+ var nodes = document.getElementsByClassName(this.options.select, selectedElement) || [];
+ if(nodes.length>0) value = Element.collectTextNodes(nodes[0], this.options.select);
+ } else
+ value = Element.collectTextNodesIgnoreClass(selectedElement, 'informal');
+
+ var lastTokenPos = this.findLastToken();
+ if (lastTokenPos != -1) {
+ var newValue = this.element.value.substr(0, lastTokenPos + 1);
+ var whitespace = this.element.value.substr(lastTokenPos + 1).match(/^\s+/);
+ if (whitespace)
+ newValue += whitespace[0];
+ this.element.value = newValue + value;
+ } else {
+ this.element.value = value;
+ }
+ this.element.focus();
+
+ if (this.options.afterUpdateElement)
+ this.options.afterUpdateElement(this.element, selectedElement);
+ },
+
+ updateChoices: function(choices) {
+ if(!this.changed && this.hasFocus) {
+ this.update.innerHTML = choices;
+ Element.cleanWhitespace(this.update);
+ Element.cleanWhitespace(this.update.down());
+
+ if(this.update.firstChild && this.update.down().childNodes) {
+ this.entryCount =
+ this.update.down().childNodes.length;
+ for (var i = 0; i < this.entryCount; i++) {
+ var entry = this.getEntry(i);
+ entry.autocompleteIndex = i;
+ this.addObservers(entry);
+ }
+ } else {
+ this.entryCount = 0;
+ }
+
+ this.stopIndicator();
+ this.index = 0;
+
+ if(this.entryCount==1 && this.options.autoSelect) {
+ this.selectEntry();
+ this.hide();
+ } else {
+ this.render();
+ }
+ }
+ },
+
+ addObservers: function(element) {
+ Event.observe(element, "mouseover", this.onHover.bindAsEventListener(this));
+ Event.observe(element, "click", this.onClick.bindAsEventListener(this));
+ },
+
+ onObserverEvent: function() {
+ this.changed = false;
+ if(this.getToken().length>=this.options.minChars) {
+ this.startIndicator();
+ this.getUpdatedChoices();
+ } else {
+ this.active = false;
+ this.hide();
+ }
+ },
+
+ getToken: function() {
+ var tokenPos = this.findLastToken();
+ if (tokenPos != -1)
+ var ret = this.element.value.substr(tokenPos + 1).replace(/^\s+/,'').replace(/\s+$/,'');
+ else
+ var ret = this.element.value;
+
+ return /\n/.test(ret) ? '' : ret;
+ },
+
+ findLastToken: function() {
+ var lastTokenPos = -1;
+
+ for (var i=0; i lastTokenPos)
+ lastTokenPos = thisTokenPos;
+ }
+ return lastTokenPos;
+ }
+}
+
+Ajax.Autocompleter = Class.create();
+Object.extend(Object.extend(Ajax.Autocompleter.prototype, Autocompleter.Base.prototype), {
+ initialize: function(element, update, url, options) {
+ this.baseInitialize(element, update, options);
+ this.options.asynchronous = true;
+ this.options.onComplete = this.onComplete.bind(this);
+ this.options.defaultParams = this.options.parameters || null;
+ this.url = url;
+ },
+
+ getUpdatedChoices: function() {
+ entry = encodeURIComponent(this.options.paramName) + '=' +
+ encodeURIComponent(this.getToken());
+
+ this.options.parameters = this.options.callback ?
+ this.options.callback(this.element, entry) : entry;
+
+ if(this.options.defaultParams)
+ this.options.parameters += '&' + this.options.defaultParams;
+
+ new Ajax.Request(this.url, this.options);
+ },
+
+ onComplete: function(request) {
+ this.updateChoices(request.responseText);
+ }
+
+});
+
+// The local array autocompleter. Used when you'd prefer to
+// inject an array of autocompletion options into the page, rather
+// than sending out Ajax queries, which can be quite slow sometimes.
+//
+// The constructor takes four parameters. The first two are, as usual,
+// the id of the monitored textbox, and id of the autocompletion menu.
+// The third is the array you want to autocomplete from, and the fourth
+// is the options block.
+//
+// Extra local autocompletion options:
+// - choices - How many autocompletion choices to offer
+//
+// - partialSearch - If false, the autocompleter will match entered
+// text only at the beginning of strings in the
+// autocomplete array. Defaults to true, which will
+// match text at the beginning of any *word* in the
+// strings in the autocomplete array. If you want to
+// search anywhere in the string, additionally set
+// the option fullSearch to true (default: off).
+//
+// - fullSsearch - Search anywhere in autocomplete array strings.
+//
+// - partialChars - How many characters to enter before triggering
+// a partial match (unlike minChars, which defines
+// how many characters are required to do any match
+// at all). Defaults to 2.
+//
+// - ignoreCase - Whether to ignore case when autocompleting.
+// Defaults to true.
+//
+// It's possible to pass in a custom function as the 'selector'
+// option, if you prefer to write your own autocompletion logic.
+// In that case, the other options above will not apply unless
+// you support them.
+
+Autocompleter.Local = Class.create();
+Autocompleter.Local.prototype = Object.extend(new Autocompleter.Base(), {
+ initialize: function(element, update, array, options) {
+ this.baseInitialize(element, update, options);
+ this.options.array = array;
+ },
+
+ getUpdatedChoices: function() {
+ this.updateChoices(this.options.selector(this));
+ },
+
+ setOptions: function(options) {
+ this.options = Object.extend({
+ choices: 10,
+ partialSearch: true,
+ partialChars: 2,
+ ignoreCase: true,
+ fullSearch: false,
+ selector: function(instance) {
+ var ret = []; // Beginning matches
+ var partial = []; // Inside matches
+ var entry = instance.getToken();
+ var count = 0;
+
+ for (var i = 0; i < instance.options.array.length &&
+ ret.length < instance.options.choices ; i++) {
+
+ var elem = instance.options.array[i];
+ var foundPos = instance.options.ignoreCase ?
+ elem.toLowerCase().indexOf(entry.toLowerCase()) :
+ elem.indexOf(entry);
+
+ while (foundPos != -1) {
+ if (foundPos == 0 && elem.length != entry.length) {
+ ret.push("" + elem.substr(0, entry.length) + " " +
+ elem.substr(entry.length) + " ");
+ break;
+ } else if (entry.length >= instance.options.partialChars &&
+ instance.options.partialSearch && foundPos != -1) {
+ if (instance.options.fullSearch || /\s/.test(elem.substr(foundPos-1,1))) {
+ partial.push("" + elem.substr(0, foundPos) + "" +
+ elem.substr(foundPos, entry.length) + " " + elem.substr(
+ foundPos + entry.length) + " ");
+ break;
+ }
+ }
+
+ foundPos = instance.options.ignoreCase ?
+ elem.toLowerCase().indexOf(entry.toLowerCase(), foundPos + 1) :
+ elem.indexOf(entry, foundPos + 1);
+
+ }
+ }
+ if (partial.length)
+ ret = ret.concat(partial.slice(0, instance.options.choices - ret.length))
+ return "";
+ }
+ }, options || {});
+ }
+});
+
+// AJAX in-place editor
+//
+// see documentation on http://wiki.script.aculo.us/scriptaculous/show/Ajax.InPlaceEditor
+
+// Use this if you notice weird scrolling problems on some browsers,
+// the DOM might be a bit confused when this gets called so do this
+// waits 1 ms (with setTimeout) until it does the activation
+Field.scrollFreeActivate = function(field) {
+ setTimeout(function() {
+ Field.activate(field);
+ }, 1);
+}
+
+Ajax.InPlaceEditor = Class.create();
+Ajax.InPlaceEditor.defaultHighlightColor = "#FFFF99";
+Ajax.InPlaceEditor.prototype = {
+ initialize: function(element, url, options) {
+ this.url = url;
+ this.element = $(element);
+
+ this.options = Object.extend({
+ paramName: "value",
+ okButton: true,
+ okText: "ok",
+ cancelLink: true,
+ cancelText: "cancel",
+ savingText: "Saving...",
+ clickToEditText: "Click to edit",
+ okText: "ok",
+ rows: 1,
+ onComplete: function(transport, element) {
+ new Effect.Highlight(element, {startcolor: this.options.highlightcolor});
+ },
+ onFailure: function(transport) {
+ alert("Error communicating with the server: " + transport.responseText.stripTags());
+ },
+ callback: function(form) {
+ return Form.serialize(form);
+ },
+ handleLineBreaks: true,
+ loadingText: 'Loading...',
+ savingClassName: 'inplaceeditor-saving',
+ loadingClassName: 'inplaceeditor-loading',
+ formClassName: 'inplaceeditor-form',
+ highlightcolor: Ajax.InPlaceEditor.defaultHighlightColor,
+ highlightendcolor: "#FFFFFF",
+ externalControl: null,
+ submitOnBlur: false,
+ ajaxOptions: {},
+ evalScripts: false
+ }, options || {});
+
+ if(!this.options.formId && this.element.id) {
+ this.options.formId = this.element.id + "-inplaceeditor";
+ if ($(this.options.formId)) {
+ // there's already a form with that name, don't specify an id
+ this.options.formId = null;
+ }
+ }
+
+ if (this.options.externalControl) {
+ this.options.externalControl = $(this.options.externalControl);
+ }
+
+ this.originalBackground = Element.getStyle(this.element, 'background-color');
+ if (!this.originalBackground) {
+ this.originalBackground = "transparent";
+ }
+
+ this.element.title = this.options.clickToEditText;
+
+ this.onclickListener = this.enterEditMode.bindAsEventListener(this);
+ this.mouseoverListener = this.enterHover.bindAsEventListener(this);
+ this.mouseoutListener = this.leaveHover.bindAsEventListener(this);
+ Event.observe(this.element, 'click', this.onclickListener);
+ Event.observe(this.element, 'mouseover', this.mouseoverListener);
+ Event.observe(this.element, 'mouseout', this.mouseoutListener);
+ if (this.options.externalControl) {
+ Event.observe(this.options.externalControl, 'click', this.onclickListener);
+ Event.observe(this.options.externalControl, 'mouseover', this.mouseoverListener);
+ Event.observe(this.options.externalControl, 'mouseout', this.mouseoutListener);
+ }
+ },
+ enterEditMode: function(evt) {
+ if (this.saving) return;
+ if (this.editing) return;
+ this.editing = true;
+ this.onEnterEditMode();
+ if (this.options.externalControl) {
+ Element.hide(this.options.externalControl);
+ }
+ Element.hide(this.element);
+ this.createForm();
+ this.element.parentNode.insertBefore(this.form, this.element);
+ if (!this.options.loadTextURL) Field.scrollFreeActivate(this.editField);
+ // stop the event to avoid a page refresh in Safari
+ if (evt) {
+ Event.stop(evt);
+ }
+ return false;
+ },
+ createForm: function() {
+ this.form = document.createElement("form");
+ this.form.id = this.options.formId;
+ Element.addClassName(this.form, this.options.formClassName)
+ this.form.onsubmit = this.onSubmit.bind(this);
+
+ this.createEditField();
+
+ if (this.options.textarea) {
+ var br = document.createElement("br");
+ this.form.appendChild(br);
+ }
+
+ if (this.options.okButton) {
+ okButton = document.createElement("input");
+ okButton.type = "submit";
+ okButton.value = this.options.okText;
+ okButton.className = 'editor_ok_button';
+ this.form.appendChild(okButton);
+ }
+
+ if (this.options.cancelLink) {
+ cancelLink = document.createElement("a");
+ cancelLink.href = "#";
+ cancelLink.appendChild(document.createTextNode(this.options.cancelText));
+ cancelLink.onclick = this.onclickCancel.bind(this);
+ cancelLink.className = 'editor_cancel';
+ this.form.appendChild(cancelLink);
+ }
+ },
+ hasHTMLLineBreaks: function(string) {
+ if (!this.options.handleLineBreaks) return false;
+ return string.match(/ /i);
+ },
+ convertHTMLLineBreaks: function(string) {
+ return string.replace(/ /gi, "\n").replace(/ /gi, "\n").replace(/<\/p>/gi, "\n").replace(//gi, "");
+ },
+ createEditField: function() {
+ var text;
+ if(this.options.loadTextURL) {
+ text = this.options.loadingText;
+ } else {
+ text = this.getText();
+ }
+
+ var obj = this;
+
+ if (this.options.rows == 1 && !this.hasHTMLLineBreaks(text)) {
+ this.options.textarea = false;
+ var textField = document.createElement("input");
+ textField.obj = this;
+ textField.type = "text";
+ textField.name = this.options.paramName;
+ textField.value = text;
+ textField.style.backgroundColor = this.options.highlightcolor;
+ textField.className = 'editor_field';
+ var size = this.options.size || this.options.cols || 0;
+ if (size != 0) textField.size = size;
+ if (this.options.submitOnBlur)
+ textField.onblur = this.onSubmit.bind(this);
+ this.editField = textField;
+ } else {
+ this.options.textarea = true;
+ var textArea = document.createElement("textarea");
+ textArea.obj = this;
+ textArea.name = this.options.paramName;
+ textArea.value = this.convertHTMLLineBreaks(text);
+ textArea.rows = this.options.rows;
+ textArea.cols = this.options.cols || 40;
+ textArea.className = 'editor_field';
+ if (this.options.submitOnBlur)
+ textArea.onblur = this.onSubmit.bind(this);
+ this.editField = textArea;
+ }
+
+ if(this.options.loadTextURL) {
+ this.loadExternalText();
+ }
+ this.form.appendChild(this.editField);
+ },
+ getText: function() {
+ return this.element.innerHTML;
+ },
+ loadExternalText: function() {
+ Element.addClassName(this.form, this.options.loadingClassName);
+ this.editField.disabled = true;
+ new Ajax.Request(
+ this.options.loadTextURL,
+ Object.extend({
+ asynchronous: true,
+ onComplete: this.onLoadedExternalText.bind(this)
+ }, this.options.ajaxOptions)
+ );
+ },
+ onLoadedExternalText: function(transport) {
+ Element.removeClassName(this.form, this.options.loadingClassName);
+ this.editField.disabled = false;
+ this.editField.value = transport.responseText.stripTags();
+ Field.scrollFreeActivate(this.editField);
+ },
+ onclickCancel: function() {
+ this.onComplete();
+ this.leaveEditMode();
+ return false;
+ },
+ onFailure: function(transport) {
+ this.options.onFailure(transport);
+ if (this.oldInnerHTML) {
+ this.element.innerHTML = this.oldInnerHTML;
+ this.oldInnerHTML = null;
+ }
+ return false;
+ },
+ onSubmit: function() {
+ // onLoading resets these so we need to save them away for the Ajax call
+ var form = this.form;
+ var value = this.editField.value;
+
+ // do this first, sometimes the ajax call returns before we get a chance to switch on Saving...
+ // which means this will actually switch on Saving... *after* we've left edit mode causing Saving...
+ // to be displayed indefinitely
+ this.onLoading();
+
+ if (this.options.evalScripts) {
+ new Ajax.Request(
+ this.url, Object.extend({
+ parameters: this.options.callback(form, value),
+ onComplete: this.onComplete.bind(this),
+ onFailure: this.onFailure.bind(this),
+ asynchronous:true,
+ evalScripts:true
+ }, this.options.ajaxOptions));
+ } else {
+ new Ajax.Updater(
+ { success: this.element,
+ // don't update on failure (this could be an option)
+ failure: null },
+ this.url, Object.extend({
+ parameters: this.options.callback(form, value),
+ onComplete: this.onComplete.bind(this),
+ onFailure: this.onFailure.bind(this)
+ }, this.options.ajaxOptions));
+ }
+ // stop the event to avoid a page refresh in Safari
+ if (arguments.length > 1) {
+ Event.stop(arguments[0]);
+ }
+ return false;
+ },
+ onLoading: function() {
+ this.saving = true;
+ this.removeForm();
+ this.leaveHover();
+ this.showSaving();
+ },
+ showSaving: function() {
+ this.oldInnerHTML = this.element.innerHTML;
+ this.element.innerHTML = this.options.savingText;
+ Element.addClassName(this.element, this.options.savingClassName);
+ this.element.style.backgroundColor = this.originalBackground;
+ Element.show(this.element);
+ },
+ removeForm: function() {
+ if(this.form) {
+ if (this.form.parentNode) Element.remove(this.form);
+ this.form = null;
+ }
+ },
+ enterHover: function() {
+ if (this.saving) return;
+ this.element.style.backgroundColor = this.options.highlightcolor;
+ if (this.effect) {
+ this.effect.cancel();
+ }
+ Element.addClassName(this.element, this.options.hoverClassName)
+ },
+ leaveHover: function() {
+ if (this.options.backgroundColor) {
+ this.element.style.backgroundColor = this.oldBackground;
+ }
+ Element.removeClassName(this.element, this.options.hoverClassName)
+ if (this.saving) return;
+ this.effect = new Effect.Highlight(this.element, {
+ startcolor: this.options.highlightcolor,
+ endcolor: this.options.highlightendcolor,
+ restorecolor: this.originalBackground
+ });
+ },
+ leaveEditMode: function() {
+ Element.removeClassName(this.element, this.options.savingClassName);
+ this.removeForm();
+ this.leaveHover();
+ this.element.style.backgroundColor = this.originalBackground;
+ Element.show(this.element);
+ if (this.options.externalControl) {
+ Element.show(this.options.externalControl);
+ }
+ this.editing = false;
+ this.saving = false;
+ this.oldInnerHTML = null;
+ this.onLeaveEditMode();
+ },
+ onComplete: function(transport) {
+ this.leaveEditMode();
+ this.options.onComplete.bind(this)(transport, this.element);
+ },
+ onEnterEditMode: function() {},
+ onLeaveEditMode: function() {},
+ dispose: function() {
+ if (this.oldInnerHTML) {
+ this.element.innerHTML = this.oldInnerHTML;
+ }
+ this.leaveEditMode();
+ Event.stopObserving(this.element, 'click', this.onclickListener);
+ Event.stopObserving(this.element, 'mouseover', this.mouseoverListener);
+ Event.stopObserving(this.element, 'mouseout', this.mouseoutListener);
+ if (this.options.externalControl) {
+ Event.stopObserving(this.options.externalControl, 'click', this.onclickListener);
+ Event.stopObserving(this.options.externalControl, 'mouseover', this.mouseoverListener);
+ Event.stopObserving(this.options.externalControl, 'mouseout', this.mouseoutListener);
+ }
+ }
+};
+
+Ajax.InPlaceCollectionEditor = Class.create();
+Object.extend(Ajax.InPlaceCollectionEditor.prototype, Ajax.InPlaceEditor.prototype);
+Object.extend(Ajax.InPlaceCollectionEditor.prototype, {
+ createEditField: function() {
+ if (!this.cached_selectTag) {
+ var selectTag = document.createElement("select");
+ var collection = this.options.collection || [];
+ var optionTag;
+ collection.each(function(e,i) {
+ optionTag = document.createElement("option");
+ optionTag.value = (e instanceof Array) ? e[0] : e;
+ if((typeof this.options.value == 'undefined') &&
+ ((e instanceof Array) ? this.element.innerHTML == e[1] : e == optionTag.value)) optionTag.selected = true;
+ if(this.options.value==optionTag.value) optionTag.selected = true;
+ optionTag.appendChild(document.createTextNode((e instanceof Array) ? e[1] : e));
+ selectTag.appendChild(optionTag);
+ }.bind(this));
+ this.cached_selectTag = selectTag;
+ }
+
+ this.editField = this.cached_selectTag;
+ if(this.options.loadTextURL) this.loadExternalText();
+ this.form.appendChild(this.editField);
+ this.options.callback = function(form, value) {
+ return "value=" + encodeURIComponent(value);
+ }
+ }
+});
+
+// Delayed observer, like Form.Element.Observer,
+// but waits for delay after last key input
+// Ideal for live-search fields
+
+Form.Element.DelayedObserver = Class.create();
+Form.Element.DelayedObserver.prototype = {
+ initialize: function(element, delay, callback) {
+ this.delay = delay || 0.5;
+ this.element = $(element);
+ this.callback = callback;
+ this.timer = null;
+ this.lastValue = $F(this.element);
+ Event.observe(this.element,'keyup',this.delayedListener.bindAsEventListener(this));
+ },
+ delayedListener: function(event) {
+ if(this.lastValue == $F(this.element)) return;
+ if(this.timer) clearTimeout(this.timer);
+ this.timer = setTimeout(this.onTimerEvent.bind(this), this.delay * 1000);
+ this.lastValue = $F(this.element);
+ },
+ onTimerEvent: function() {
+ this.timer = null;
+ this.callback(this.element, $F(this.element));
+ }
+};
Index: contrib/jruby/rune/public/javascripts/application.js
===================================================================
--- contrib/jruby/rune/public/javascripts/application.js (revision 0)
+++ contrib/jruby/rune/public/javascripts/application.js (revision 0)
@@ -0,0 +1,2 @@
+// Place your application-specific JavaScript functions and classes here
+// This file is automatically included by javascript_include_tag :defaults
Index: contrib/jruby/rune/public/404.html
===================================================================
--- contrib/jruby/rune/public/404.html (revision 0)
+++ contrib/jruby/rune/public/404.html (revision 0)
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+ The page you were looking for doesn't exist (404)
+
+
+
+
+
+
+
The page you were looking for doesn't exist.
+
You may have mistyped the address or the page may have moved.
+
+
+
\ No newline at end of file
Index: contrib/jruby/rune/public/.htaccess
===================================================================
--- contrib/jruby/rune/public/.htaccess (revision 0)
+++ contrib/jruby/rune/public/.htaccess (revision 0)
@@ -0,0 +1,40 @@
+# General Apache options
+AddHandler fastcgi-script .fcgi
+AddHandler cgi-script .cgi
+Options +FollowSymLinks +ExecCGI
+
+# If you don't want Rails to look in certain directories,
+# use the following rewrite rules so that Apache won't rewrite certain requests
+#
+# Example:
+# RewriteCond %{REQUEST_URI} ^/notrails.*
+# RewriteRule .* - [L]
+
+# Redirect all requests not available on the filesystem to Rails
+# By default the cgi dispatcher is used which is very slow
+#
+# For better performance replace the dispatcher with the fastcgi one
+#
+# Example:
+# RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
+RewriteEngine On
+
+# If your Rails application is accessed via an Alias directive,
+# then you MUST also set the RewriteBase in this htaccess file.
+#
+# Example:
+# Alias /myrailsapp /path/to/myrailsapp/public
+# RewriteBase /myrailsapp
+
+RewriteRule ^$ index.html [QSA]
+RewriteRule ^([^.]+)$ $1.html [QSA]
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
+
+# In case Rails experiences terminal errors
+# Instead of displaying this message you can supply a file here which will be rendered instead
+#
+# Example:
+# ErrorDocument 500 /500.html
+
+ErrorDocument 500 "Application error Rails application failed to start properly"
\ No newline at end of file
Index: contrib/jruby/rune/public/stylesheets/style.css
===================================================================
--- contrib/jruby/rune/public/stylesheets/style.css (revision 0)
+++ contrib/jruby/rune/public/stylesheets/style.css (revision 0)
@@ -0,0 +1,46 @@
+body { font-family: ariel, sans-serif }
+
+.notice { color: red }
+
+.banner { background-color: gray
+ ; padding-top: 20px
+ ; padding-left: 8px
+ ; padding-right: 8px
+ ; padding-bottom: 10px
+ ; color: white
+ ; font-size: 28px
+ ; opaque: 0.5
+ }
+
+.title { vertical-align: 40% }
+
+.logos { position: absolute
+ ; right: 20px
+ ; top: 18px }
+
+.menu { position: absolute
+ ; left: 10px
+ ; width: 180px }
+
+.body { margin: 0 0 0 170px }
+
+.index { background-color: #6b9 }
+
+.label { float: left
+ ; width: 200px
+ ; text-align: right
+ ; padding-right: 1em }
+
+.fields { float: left
+ ; width: 20%
+ }
+
+.terms { float: right
+ ; width: 80%
+ }
+
+.doc_freq { text-align: right }
+
+.table_title { padding-bottom: 8px; font-size: larger }
+
+td { padding-right: 1em }
\ No newline at end of file
Index: contrib/jruby/README.txt
===================================================================
--- contrib/jruby/README.txt (revision 0)
+++ contrib/jruby/README.txt (revision 0)
@@ -0,0 +1,83 @@
+This is some early work on using Lucene from jruby.
+
+This directory contains three pieces:
+
+lib: a ruby api for Lucene
+rails: rails activerecord-like models for Lucene
+rune: a luke-like diagnostic/utility application for Lucene
+
+Currently, rune has been tested with the builtin ruby/rails webrick http server. A standard webapp is being worked on right now.
+
+There isn't a lot of build infrastructure yet and everything is far from perfectly modularized, but it does hang together, with the right pieces.
+
+rails generally wants to put stuff (including sessions
+
+Here are some instructions for trying rune. It has been developed using the svn trunk of jruby, rails, and jruby-extras, and release 0.7.1 of rake.
+
+1) Build jruby
+2) Install rake
+3) Build and install rails
+4) Build and install jruby-extras
+5) Build rune java libraries
+6) Run rune
+
+Details
+
+1) Build jruby
+
+a) Get the jruby trunk from svn://svn.codehaus.org/jruby/trunk/jruby
+b) set JRUBY_HOME to this directory
+c) run "ant" at the top level
+d) Add add $JRUBY_HOME/bin to your path
+
+Notes:
+- The jruby install runs out of the distribution.
+- While the jruby command is different than ruby, the utility commands (gem, rake) are the same and thus path order matters if you have ruby installed.
+
+2) Install rake
+
+a) Download the rake 0.7.1 gem from http://rubyforge.org/frs/download.php/9498/rake-0.7.1.gem
+b) Install rake via "gem install -l rake-0.7.1.gem --no-ri --no-rdoc"
+
+Notes:
+- gem is the ruby packaging format
+- The gem command is in $JRUBY_HOME
+
+3) Build and install rails
+
+a) Get rails from http://dev.rubyonrails.org/svn/rails/trunk
+b) For each of the directories actionmailer, actionpack, actionwebservice, activerecord, activesupport, railties
+ cd to that directory
+ type "gem build Rakefile"
+ type "gem install -l *.gem --no-ri --no-rdoc"
+
+Notes:
+- There is an order on the install and I don't remember what it is. It will tell you when you try to install things out of order.
+
+4) Build and install jruby-extras
+
+a) get jruby-extras from svn://rubyforge.org/var/svn/jruby-extras/trunk
+b) cd to activerecord-jdbc
+ gem build *.gemspec
+ gem install -l *.gem --no-ri --no-rdoc
+
+Notes:
+- This strictly speaking shouldn't be necessary since rune doesn't actually need a database. But I haven't had time to
+ test all possible combinations. You could certainly try without it and see if it works.
+
+5) Build jruby Lucene java libraries
+
+a) Get the Lucene contrib/jruby code (either as a patch or if it's checked into svn)
+b) build Lucene
+b) build the java support library
+ cd contrib/jruby
+ ant
+
+6) Run rune
+
+a) cd contrib/jruby/rune
+ env CLASSPATH=lib/lucene-core-2.1-dev.jar:lib/lucene-jruby-2.1-dev.jar jruby script/server -p3001
+
+You can use another port (3001) if you want.
+
+I've almost certainly missed something ... let me know.
\ No newline at end of file
Index: contrib/jruby/build.xml
===================================================================
--- contrib/jruby/build.xml (revision 0)
+++ contrib/jruby/build.xml (revision 0)
@@ -0,0 +1,10 @@
+
+
+
+
+
+ JRuby java support
+
+
+
+