weft-qda 0.9.6 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/weft.rb +16 -1
- data/lib/weft/WEFT-VERSION-STRING.rb +1 -1
- data/lib/weft/application.rb +17 -74
- data/lib/weft/backend.rb +6 -32
- data/lib/weft/backend/sqlite.rb +222 -164
- data/lib/weft/backend/sqlite/category_tree.rb +52 -48
- data/lib/weft/backend/sqlite/database.rb +57 -0
- data/lib/weft/backend/sqlite/upgradeable.rb +7 -0
- data/lib/weft/broadcaster.rb +90 -0
- data/lib/weft/category.rb +139 -47
- data/lib/weft/codereview.rb +160 -0
- data/lib/weft/coding.rb +74 -23
- data/lib/weft/document.rb +23 -10
- data/lib/weft/exceptions.rb +10 -0
- data/lib/weft/filters.rb +47 -224
- data/lib/weft/filters/indexers.rb +137 -0
- data/lib/weft/filters/input.rb +118 -0
- data/lib/weft/filters/output.rb +101 -0
- data/lib/weft/filters/templates.rb +80 -0
- data/lib/weft/filters/win32backtick.rb +246 -0
- data/lib/weft/query.rb +169 -0
- data/lib/weft/wxgui.rb +349 -294
- data/lib/weft/wxgui/constants.rb +43 -0
- data/lib/weft/wxgui/controls.rb +6 -0
- data/lib/weft/wxgui/controls/category_dropdown.rb +192 -0
- data/lib/weft/wxgui/controls/category_tree.rb +314 -0
- data/lib/weft/wxgui/controls/document_list.rb +97 -0
- data/lib/weft/wxgui/controls/multitype_control.rb +37 -0
- data/lib/weft/wxgui/{inspectors → controls}/textcontrols.rb +235 -64
- data/lib/weft/wxgui/dialogs.rb +144 -41
- data/lib/weft/wxgui/error_handler.rb +116 -36
- data/lib/weft/wxgui/exceptions.rb +7 -0
- data/lib/weft/wxgui/inspectors.rb +61 -208
- data/lib/weft/wxgui/inspectors/category.rb +19 -16
- data/lib/weft/wxgui/inspectors/codereview.rb +90 -132
- data/lib/weft/wxgui/inspectors/document.rb +12 -8
- data/lib/weft/wxgui/inspectors/imagedocument.rb +56 -56
- data/lib/weft/wxgui/inspectors/query.rb +284 -0
- data/lib/weft/wxgui/inspectors/script.rb +147 -23
- data/lib/weft/wxgui/lang/en.rb +69 -0
- data/lib/weft/wxgui/sidebar.rb +90 -432
- data/lib/weft/wxgui/utilities.rb +70 -91
- data/lib/weft/wxgui/workarea.rb +150 -43
- data/share/icons/category.ico +0 -0
- data/share/icons/category.xpm +109 -0
- data/share/icons/codereview.ico +0 -0
- data/share/icons/codereview.xpm +54 -0
- data/share/icons/d_and_c.xpm +126 -0
- data/share/icons/document.ico +0 -0
- data/share/icons/document.xpm +70 -0
- data/share/icons/project.ico +0 -0
- data/share/icons/query.ico +0 -0
- data/share/icons/query.xpm +56 -0
- data/{lib/weft/wxgui → share/icons}/search.xpm +0 -0
- data/share/icons/weft.ico +0 -0
- data/share/icons/weft.xpm +62 -0
- data/share/icons/weft16.ico +0 -0
- data/share/icons/weft32.ico +0 -0
- data/share/templates/category_plain.html +18 -0
- data/share/templates/codereview_plain.html +18 -0
- data/share/templates/document_plain.html +13 -0
- data/share/templates/document_plain.txt +7 -0
- data/test/001-document.rb +55 -36
- data/test/002-category.rb +81 -6
- data/test/003-code.rb +8 -4
- data/test/004-application.rb +13 -34
- data/test/005-query_review.rb +139 -0
- data/test/006-filters.rb +54 -42
- data/test/007-output_filters.rb +113 -0
- data/test/009a-backend_sqlite_basic.rb +95 -24
- data/test/009b-backend_sqlite_complex.rb +43 -62
- data/test/009c_backend_sqlite_bench.rb +5 -10
- data/test/053-doc_inspector.rb +46 -0
- data/test/055-query_window.rb +50 -0
- data/test/all-tests.rb +1 -0
- data/test/test-common.rb +19 -0
- data/test/testdata/empty.qdp +0 -0
- data/test/testdata/simple with space.pdf +0 -0
- data/test/testdata/simple.pdf +0 -0
- data/weft-qda.rb +40 -7
- metadata +74 -14
- data/lib/weft/wxgui/category.xpm +0 -26
- data/lib/weft/wxgui/document.xpm +0 -25
- data/lib/weft/wxgui/inspectors/search.rb +0 -265
- data/lib/weft/wxgui/mondrian.xpm +0 -44
- data/lib/weft/wxgui/weft16.xpm +0 -31
@@ -1,35 +1,22 @@
|
|
1
|
-
require '
|
2
|
-
$:.push('../lib/')
|
1
|
+
require 'test-common'
|
3
2
|
|
4
3
|
require 'weft'
|
4
|
+
|
5
5
|
require 'test/unit'
|
6
6
|
|
7
7
|
class TestSQLiteComplex < Test::Unit::TestCase
|
8
|
-
|
9
|
-
File.join( File.dirname( __FILE__), 'testdata', filename)
|
10
|
-
end
|
8
|
+
include QDA
|
11
9
|
|
12
10
|
def setup
|
13
11
|
@dbfile = nil
|
14
12
|
@app = QDA::Application.new()
|
15
13
|
@app.extend(QDA::Backend::SQLite)
|
16
|
-
|
17
|
-
|
18
|
-
# delete any files hanging around
|
19
|
-
def teardown()
|
20
|
-
if @app.started?
|
21
|
-
# p @app
|
22
|
-
# @app.end()
|
23
|
-
if @app.dbfile and File.exist?(@app.dbfile)
|
24
|
-
File.delete(@app.dbfile)
|
25
|
-
end
|
26
|
-
end
|
14
|
+
@app.start(:memory => true)
|
15
|
+
@app.install_clean()
|
27
16
|
end
|
28
17
|
|
29
18
|
# this tests an old search
|
30
19
|
def test_search_document_scan()
|
31
|
-
@app.start(:dbfile => @dbfile)
|
32
|
-
@app.install_clean()
|
33
20
|
doc = QDA::Document.new('About Something')
|
34
21
|
doc.append("This is various text that'll be used for testing")
|
35
22
|
doc.append("Some more text with different letters?")
|
@@ -71,8 +58,6 @@ class TestSQLiteComplex < Test::Unit::TestCase
|
|
71
58
|
end
|
72
59
|
|
73
60
|
def test_preferences
|
74
|
-
@app.start(:dbfile => @dbfile)
|
75
|
-
@app.install_clean()
|
76
61
|
@app.save_preference('Foo', 5)
|
77
62
|
pref = @app.get_preference('Foo')
|
78
63
|
assert_equal(5, pref, "Integer preference restored")
|
@@ -90,15 +75,12 @@ class TestSQLiteComplex < Test::Unit::TestCase
|
|
90
75
|
|
91
76
|
# this test assumes search filters are working correctly
|
92
77
|
def test_search_fragments_pdf()
|
93
|
-
|
94
|
-
@app.install_clean()
|
95
|
-
|
96
|
-
filter = QDA::PDFFilter.new()
|
78
|
+
doc = Filters::import_file( Document, sample_file('simple.pdf') )
|
97
79
|
windxr = QDA::WordIndexer.new()
|
98
|
-
|
99
|
-
doc = filter.read('testdata/emacs-refcard-a4.pdf', 'i')
|
100
|
-
doc.title = 'jumble'
|
80
|
+
windxr.feed(doc)
|
101
81
|
|
82
|
+
doc.title = 'xxx'
|
83
|
+
|
102
84
|
@app.save_document(doc)
|
103
85
|
@app.save_reverse_index(doc.dbid, windxr.words)
|
104
86
|
windxr.words.each_key do | word |
|
@@ -115,42 +97,40 @@ class TestSQLiteComplex < Test::Unit::TestCase
|
|
115
97
|
end
|
116
98
|
end
|
117
99
|
|
118
|
-
|
119
|
-
|
120
|
-
@app.
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
100
|
+
def test_get_all_categories()
|
101
|
+
cat1 = QDA::Category.new("Parent", nil, 'the "memo"')
|
102
|
+
@app.save_category(cat1)
|
103
|
+
cat2 = QDA::Category.new("Ego", cat1)
|
104
|
+
@app.save_category(cat2)
|
105
|
+
|
106
|
+
# this is to test for a bug when saving a category
|
107
|
+
cat3 = QDA::Category.new("Child", cat2)
|
108
|
+
cat3.code(0, 10, 20)
|
109
|
+
assert_equal(1, cat3.codes.num_of_codes)
|
110
|
+
@app.save_category(cat3)
|
111
|
+
|
112
|
+
all = @app.get_all_categories()
|
113
|
+
assert_equal(cat1, all[0])
|
114
|
+
assert_equal(cat2, all[0][0])
|
115
|
+
assert_equal(cat2, all[0]['Ego'])
|
116
|
+
child = all[0]['Ego']['Child']
|
117
|
+
child.parent = all[0]
|
118
|
+
# saving a category loaded from all..() deleted its coding
|
119
|
+
@app.save_category(child)
|
120
|
+
|
121
|
+
restored = @app.get_category(cat3.dbid)
|
122
|
+
assert_equal('Child', restored.name)
|
123
|
+
assert_equal(cat1, restored.parent)
|
124
|
+
# test bug fix
|
125
|
+
assert_equal(1, restored.codes.num_of_codes)
|
126
|
+
|
142
127
|
end
|
143
|
-
|
128
|
+
|
144
129
|
def test_search_fragments_txt()
|
145
|
-
|
146
|
-
@app.install_clean()
|
147
|
-
|
148
|
-
# try a
|
149
|
-
filter = QDA::TextFilter.new()
|
130
|
+
doc = Filters::import_file(Document, sample_file('autocoding-test.txt'))
|
150
131
|
windxr = QDA::WordIndexer.new()
|
151
|
-
|
152
|
-
doc =
|
153
|
-
|
132
|
+
windxr.feed(doc)
|
133
|
+
doc.title = 'xxx'
|
154
134
|
@app.save_document(doc)
|
155
135
|
@app.save_reverse_index(doc.dbid, windxr.words)
|
156
136
|
|
@@ -171,5 +151,6 @@ class TestSQLiteComplex < Test::Unit::TestCase
|
|
171
151
|
assert_equal(doc[f.offset, f.length].to_s, f.to_s)
|
172
152
|
end
|
173
153
|
end
|
174
|
-
|
175
|
-
|
154
|
+
end
|
155
|
+
|
156
|
+
end
|
@@ -1,5 +1,4 @@
|
|
1
|
-
require '
|
2
|
-
$:.push('../lib/')
|
1
|
+
require 'test-common'
|
3
2
|
|
4
3
|
require 'weft'
|
5
4
|
require 'test/unit'
|
@@ -31,13 +30,9 @@ class TestSQLiteBenchmark < Test::Unit::TestCase
|
|
31
30
|
|
32
31
|
# delete any files hanging around
|
33
32
|
def teardown()
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
if @app.dbfile and File.exist?(@app.dbfile)
|
38
|
-
File.delete(@app.dbfile)
|
39
|
-
end
|
40
|
-
end
|
33
|
+
if @app.dbfile and File.exist?(@app.dbfile)
|
34
|
+
File.delete(@app.dbfile)
|
35
|
+
end
|
41
36
|
end
|
42
37
|
|
43
38
|
# this tests an old search
|
@@ -50,7 +45,7 @@ class TestSQLiteBenchmark < Test::Unit::TestCase
|
|
50
45
|
|
51
46
|
measure('Save Document', 25) do
|
52
47
|
doc.dbid = nil
|
53
|
-
@app.save_document(doc)
|
48
|
+
@app.save_document(doc, true)
|
54
49
|
end
|
55
50
|
end
|
56
51
|
|
@@ -0,0 +1,46 @@
|
|
1
|
+
WEFT_MULTIFRAME_MODE = true
|
2
|
+
|
3
|
+
require 'test-common'
|
4
|
+
require 'weft'
|
5
|
+
require 'weft/wxgui'
|
6
|
+
|
7
|
+
class FakeWorkArea
|
8
|
+
attr_accessor :active_child
|
9
|
+
def proportional_size(*args)
|
10
|
+
Wx::Size.new(300, 500)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
class FakeClient < Wx::App
|
15
|
+
include QDA::Subscriber
|
16
|
+
include QDA::Broadcaster
|
17
|
+
SUBSCRIBABLE_EVENTS = QDA::GUI::WeftClient::SUBSCRIBABLE_EVENTS
|
18
|
+
attr_reader :app
|
19
|
+
|
20
|
+
def on_init()
|
21
|
+
app = QDA::Application.new( QDA::Backend::SQLite )
|
22
|
+
app.start(:dbfile => sample_file('empty.qdp') )
|
23
|
+
end
|
24
|
+
|
25
|
+
def display_font
|
26
|
+
QDA::GUI::DEFAULT_FONT
|
27
|
+
end
|
28
|
+
|
29
|
+
def fetch_icon(icon)
|
30
|
+
Wx::Icon.new( File.join(WEFT_SHAREDIR, 'icons', "#{icon}.xpm") )
|
31
|
+
end
|
32
|
+
def current_category
|
33
|
+
nil
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
doc = QDA::Document.new('foo')
|
38
|
+
doc.dbid = 1
|
39
|
+
doc.append('This is nice')
|
40
|
+
doc.append("Let's add a whole bunch of text to give a bit more to search")
|
41
|
+
|
42
|
+
doc.memo = 'licky'
|
43
|
+
client = FakeClient.new()
|
44
|
+
win = QDA::GUI::DocumentWindow.new(doc, client, FakeWorkArea.new(), nil)
|
45
|
+
win.show()
|
46
|
+
client.main_loop()
|
@@ -0,0 +1,50 @@
|
|
1
|
+
WEFT_MULTIFRAME_MODE = true
|
2
|
+
|
3
|
+
require 'test-common'
|
4
|
+
require 'weft'
|
5
|
+
require 'weft/wxgui'
|
6
|
+
|
7
|
+
class FakeWorkArea
|
8
|
+
attr_accessor :active_child
|
9
|
+
def proportional_size(*args)
|
10
|
+
Wx::Size.new(300, 500)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
class FakeClient < Wx::App
|
15
|
+
include QDA::Subscriber
|
16
|
+
include QDA::Broadcaster
|
17
|
+
SUBSCRIBABLE_EVENTS = QDA::GUI::WeftClient::SUBSCRIBABLE_EVENTS
|
18
|
+
attr_reader :app
|
19
|
+
|
20
|
+
def initialize(*args)
|
21
|
+
super
|
22
|
+
@app = QDA::Application.new( QDA::Backend::SQLite )
|
23
|
+
@app.start(:dbfile => sample_file('empty.qdp') )
|
24
|
+
def @app.get_category(arg, maybe = nil)
|
25
|
+
return QDA::Category.new(arg, nil)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
def display_font
|
30
|
+
QDA::GUI::DEFAULT_FONT
|
31
|
+
end
|
32
|
+
|
33
|
+
def fetch_icon(icon)
|
34
|
+
Wx::Icon.new( File.join(WEFT_SHAREDIR, 'icons', "#{icon}.xpm") )
|
35
|
+
end
|
36
|
+
def current_category
|
37
|
+
nil
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
client = FakeClient.new()
|
42
|
+
|
43
|
+
query = QDA::Query.new( QDA::Query::CodedByFunction.new(client.app, 'category') )
|
44
|
+
query.add_expression( 'AND NOT',
|
45
|
+
QDA::Query::WordSearchFunction.new(client.app, 'foo'))
|
46
|
+
query.dbid = 1
|
47
|
+
|
48
|
+
win = QDA::GUI::QueryWindow.new(query, client, FakeWorkArea.new(), nil)
|
49
|
+
win.show()
|
50
|
+
client.main_loop()
|
data/test/all-tests.rb
CHANGED
data/test/test-common.rb
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'English'
|
2
|
+
require 'test/unit'
|
3
|
+
if not defined? WEFT_SHAREDIR
|
4
|
+
WEFT_SHAREDIR = File.join( File.dirname( __FILE__), '..', 'share')
|
5
|
+
end
|
6
|
+
|
7
|
+
if not defined? WEFT_LIBDIR
|
8
|
+
WEFT_LIBDIR = File.join( File.dirname( __FILE__ ), '..', 'lib' )
|
9
|
+
end
|
10
|
+
|
11
|
+
def sample_file(filename)
|
12
|
+
File.join( File.dirname( __FILE__), 'testdata', filename)
|
13
|
+
end
|
14
|
+
|
15
|
+
def lib_path()
|
16
|
+
WEFT_LIBDIR
|
17
|
+
end
|
18
|
+
|
19
|
+
$LOAD_PATH.push(WEFT_LIBDIR)
|
Binary file
|
Binary file
|
Binary file
|
data/weft-qda.rb
CHANGED
@@ -1,28 +1,61 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
+
# force alternative layouts
|
4
|
+
# WEFT_MULTIFRAME_MODE = true
|
5
|
+
# or ...
|
6
|
+
# WEFT_MDI_MODE = true
|
7
|
+
|
8
|
+
# if there is a command line argument, assume it's a project file and should
|
9
|
+
# be opened
|
3
10
|
if dbfile = ARGV.shift
|
4
11
|
dbfile = File.expand_path(dbfile)
|
5
12
|
end
|
6
13
|
|
7
|
-
|
14
|
+
# find install directory if running as a rs2exe, use that as a source for icons
|
15
|
+
if defined? RUBYSCRIPT2EXE_APPEXE
|
16
|
+
WEFT_SHAREDIR = File.join( File.dirname(RUBYSCRIPT2EXE_APPEXE),
|
17
|
+
'share' )
|
18
|
+
# WEFT_LIBDIR = File.join( File.dirname(RUBYSCRIPT2EXE_APPEXE),
|
19
|
+
# 'lib' )
|
20
|
+
# switched on for compiled builds only
|
21
|
+
WEFT_CRASH_REPORTING = true
|
22
|
+
# otherwise assume we're running from a tarball / CVS-ish directory layout
|
23
|
+
else
|
24
|
+
maybe_lib = File.join( File.dirname( __FILE__ ), 'lib', 'weft.rb' )
|
25
|
+
if File.exist?(maybe_lib)
|
26
|
+
Dir.chdir( File.dirname( __FILE__ ) )
|
27
|
+
WEFT_LIBDIR = File.join( Dir.pwd, 'lib' )
|
28
|
+
WEFT_SHAREDIR = File.join( Dir.pwd, 'share' )
|
29
|
+
$:.unshift(WEFT_LIBDIR)
|
30
|
+
else
|
31
|
+
require 'rubygems'
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# load up the weft libraries, from various possible locations
|
36
|
+
# 1) By rubyscript2exe
|
37
|
+
# 2) From the lib dir relative to the location of this script
|
38
|
+
# 3) From rubygems
|
39
|
+
# 4) From ruby's standard lib install directories (not tested)
|
40
|
+
$:.unshift(WEFT_LIBDIR) if defined?(WEFT_LIBDIR)
|
8
41
|
|
9
|
-
$:.push('lib')
|
10
42
|
require 'weft'
|
11
43
|
require 'weft/wxgui'
|
12
44
|
|
13
45
|
# Create a new application
|
14
|
-
|
15
|
-
gui = QDA::GUI::Instance.new()
|
46
|
+
gui = QDA::GUI::WeftClient.new()
|
16
47
|
|
17
48
|
# quick-start : open project from c.l. arg
|
18
49
|
if dbfile
|
19
|
-
app = QDA::Application.new(
|
20
|
-
app.extend( QDA::Backend::SQLite )
|
21
|
-
app.start(:dbfile => dbfile)
|
50
|
+
app = QDA::Application.new( QDA::Backend::SQLite )
|
22
51
|
gui.app = app
|
52
|
+
app.start(:dbfile => dbfile)
|
23
53
|
gui.populate()
|
24
54
|
end
|
25
55
|
|
26
56
|
# don't start the application if generating executable with rs2exe
|
27
57
|
exit if defined?(REQUIRE2LIB)
|
58
|
+
|
59
|
+
# and off we go ...
|
28
60
|
gui.main_loop()
|
61
|
+
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.8.
|
2
|
+
rubygems_version: 0.8.10
|
3
3
|
specification_version: 1
|
4
4
|
name: weft-qda
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.9.
|
7
|
-
date:
|
6
|
+
version: 0.9.8
|
7
|
+
date: 2006-01-04
|
8
8
|
summary: GUI Qualitative Data Analysis Tool.
|
9
9
|
require_paths:
|
10
10
|
- lib
|
11
|
-
author: Alex Fenton
|
12
11
|
email: alex@pressure.to
|
13
12
|
homepage: http://www.pressure.to/qda/
|
14
13
|
rubyforge_project: weft-qda
|
@@ -26,15 +25,21 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
|
|
26
25
|
version: 1.8.1
|
27
26
|
version:
|
28
27
|
platform: ruby
|
28
|
+
authors:
|
29
|
+
- Alex Fenton
|
29
30
|
files:
|
30
31
|
- weft-qda.rb
|
31
32
|
- lib/weft.rb
|
32
33
|
- lib/weft/application.rb
|
33
34
|
- lib/weft/backend.rb
|
35
|
+
- lib/weft/broadcaster.rb
|
34
36
|
- lib/weft/category.rb
|
37
|
+
- lib/weft/codereview.rb
|
35
38
|
- lib/weft/coding.rb
|
36
39
|
- lib/weft/document.rb
|
40
|
+
- lib/weft/exceptions.rb
|
37
41
|
- lib/weft/filters.rb
|
42
|
+
- lib/weft/query.rb
|
38
43
|
- lib/weft/WEFT-VERSION-STRING.rb
|
39
44
|
- lib/weft/wxgui.rb
|
40
45
|
- lib/weft/backend/marshal.rb
|
@@ -42,46 +47,81 @@ files:
|
|
42
47
|
- lib/weft/backend/n6.rb
|
43
48
|
- lib/weft/backend/sqlite.rb
|
44
49
|
- lib/weft/backend/sqlite/category_tree.rb
|
50
|
+
- lib/weft/backend/sqlite/database.rb
|
45
51
|
- lib/weft/backend/sqlite/schema.rb
|
46
52
|
- lib/weft/backend/sqlite/upgradeable.rb
|
53
|
+
- lib/weft/filters/indexers.rb
|
54
|
+
- lib/weft/filters/input.rb
|
55
|
+
- lib/weft/filters/output.rb
|
56
|
+
- lib/weft/filters/templates.rb
|
57
|
+
- lib/weft/filters/win32backtick.rb
|
58
|
+
- lib/weft/wxgui/constants.rb
|
59
|
+
- lib/weft/wxgui/controls.rb
|
47
60
|
- lib/weft/wxgui/dialogs.rb
|
48
61
|
- lib/weft/wxgui/error_handler.rb
|
62
|
+
- lib/weft/wxgui/exceptions.rb
|
49
63
|
- lib/weft/wxgui/inspectors.rb
|
50
64
|
- lib/weft/wxgui/lang.rb
|
51
65
|
- lib/weft/wxgui/sidebar.rb
|
52
66
|
- lib/weft/wxgui/utilities.rb
|
53
67
|
- lib/weft/wxgui/workarea.rb
|
68
|
+
- lib/weft/wxgui/controls/category_dropdown.rb
|
69
|
+
- lib/weft/wxgui/controls/category_tree.rb
|
70
|
+
- lib/weft/wxgui/controls/document_list.rb
|
71
|
+
- lib/weft/wxgui/controls/multitype_control.rb
|
72
|
+
- lib/weft/wxgui/controls/textcontrols.rb
|
54
73
|
- lib/weft/wxgui/inspectors/category.rb
|
55
74
|
- lib/weft/wxgui/inspectors/codereview.rb
|
56
75
|
- lib/weft/wxgui/inspectors/document.rb
|
57
76
|
- lib/weft/wxgui/inspectors/imagedocument.rb
|
77
|
+
- lib/weft/wxgui/inspectors/query.rb
|
58
78
|
- lib/weft/wxgui/inspectors/script.rb
|
59
|
-
- lib/weft/wxgui/inspectors/search.rb
|
60
|
-
- lib/weft/wxgui/inspectors/textcontrols.rb
|
61
79
|
- lib/weft/wxgui/lang/en.rb
|
62
|
-
- lib/weft/wxgui/category.xpm
|
63
|
-
- lib/weft/wxgui/document.xpm
|
64
|
-
- lib/weft/wxgui/mondrian.xpm
|
65
|
-
- lib/weft/wxgui/search.xpm
|
66
|
-
- lib/weft/wxgui/weft16.xpm
|
67
80
|
- test/001-document.rb
|
68
81
|
- test/002-category.rb
|
69
82
|
- test/003-code.rb
|
70
83
|
- test/004-application.rb
|
84
|
+
- test/005-query_review.rb
|
71
85
|
- test/006-filters.rb
|
86
|
+
- test/007-output_filters.rb
|
72
87
|
- test/009a-backend_sqlite_basic.rb
|
73
88
|
- test/009b-backend_sqlite_complex.rb
|
74
89
|
- test/009c_backend_sqlite_bench.rb
|
75
90
|
- test/010-backend_nudist.rb
|
91
|
+
- test/053-doc_inspector.rb
|
92
|
+
- test/055-query_window.rb
|
76
93
|
- test/all-tests.rb
|
77
94
|
- test/manual-gui-script.txt
|
95
|
+
- test/test-common.rb
|
78
96
|
- test/testdata
|
79
97
|
- test/testdata/autocoding-test.txt
|
98
|
+
- test/testdata/empty.qdp
|
80
99
|
- test/testdata/iso-8859-1.txt
|
81
100
|
- test/testdata/sample_doc.txt
|
82
101
|
- test/testdata/search_results.txt
|
102
|
+
- test/testdata/simple with space.pdf
|
103
|
+
- test/testdata/simple.pdf
|
83
104
|
- test/testdata/text1-dos-ascii.txt
|
84
105
|
- test/testdata/text1-unix-utf8.txt
|
106
|
+
- share/templates/category_plain.html
|
107
|
+
- share/templates/codereview_plain.html
|
108
|
+
- share/templates/document_plain.html
|
109
|
+
- share/templates/document_plain.txt
|
110
|
+
- share/icons/category.xpm
|
111
|
+
- share/icons/codereview.xpm
|
112
|
+
- share/icons/document.xpm
|
113
|
+
- share/icons/d_and_c.xpm
|
114
|
+
- share/icons/query.xpm
|
115
|
+
- share/icons/search.xpm
|
116
|
+
- share/icons/weft.xpm
|
117
|
+
- share/icons/category.ico
|
118
|
+
- share/icons/codereview.ico
|
119
|
+
- share/icons/document.ico
|
120
|
+
- share/icons/project.ico
|
121
|
+
- share/icons/query.ico
|
122
|
+
- share/icons/weft.ico
|
123
|
+
- share/icons/weft16.ico
|
124
|
+
- share/icons/weft32.ico
|
85
125
|
test_files:
|
86
126
|
- test/001-document.rb
|
87
127
|
rdoc_options: []
|
@@ -90,7 +130,27 @@ executables:
|
|
90
130
|
- weft-qda.rb
|
91
131
|
extensions: []
|
92
132
|
requirements:
|
93
|
-
-
|
94
|
-
-
|
133
|
+
- WxRuby 0.6.0
|
134
|
+
- WxWidgets 2.4.2 (not needed if using wxruby binary)
|
95
135
|
- pdftotext (if importing PDFs)
|
96
|
-
dependencies:
|
136
|
+
dependencies:
|
137
|
+
- !ruby/object:Gem::Dependency
|
138
|
+
name: sqlite-ruby
|
139
|
+
version_requirement:
|
140
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
141
|
+
requirements:
|
142
|
+
-
|
143
|
+
- ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 2.2.0
|
146
|
+
version:
|
147
|
+
- !ruby/object:Gem::Dependency
|
148
|
+
name: PageTemplate
|
149
|
+
version_requirement:
|
150
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
151
|
+
requirements:
|
152
|
+
-
|
153
|
+
- ">="
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
version: 2.0.0
|
156
|
+
version:
|