rbhex-core 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +20 -0
- data/CHANGELOG +2000 -0
- data/LICENSE +56 -0
- data/README.md +44 -0
- data/examples/abasiclist.rb +179 -0
- data/examples/alpmenu.rb +50 -0
- data/examples/app.sample +19 -0
- data/examples/atree.rb +100 -0
- data/examples/bline.rb +136 -0
- data/examples/common/file.rb +45 -0
- data/examples/data/README.markdown +9 -0
- data/examples/data/brew.txt +38 -0
- data/examples/data/color.2 +37 -0
- data/examples/data/gemlist.txt +60 -0
- data/examples/data/lotr.txt +12 -0
- data/examples/data/ports.txt +136 -0
- data/examples/data/table.txt +37 -0
- data/examples/data/tasks.csv +88 -0
- data/examples/data/tasks.txt +27 -0
- data/examples/data/todo.txt +10 -0
- data/examples/data/todo.txt.bak +10 -0
- data/examples/data/todocsv.csv +28 -0
- data/examples/data/unix1.txt +21 -0
- data/examples/data/unix2.txt +11 -0
- data/examples/dbdemo.rb +502 -0
- data/examples/dirtree.rb +94 -0
- data/examples/newtabbedwindow.rb +100 -0
- data/examples/newtesttabp.rb +92 -0
- data/examples/tabular.rb +146 -0
- data/examples/tasks.rb +178 -0
- data/examples/term2.rb +84 -0
- data/examples/testbuttons.rb +296 -0
- data/examples/testcombo.rb +102 -0
- data/examples/testfields.rb +195 -0
- data/examples/testkeypress.rb +72 -0
- data/examples/testlistbox.rb +170 -0
- data/examples/testmessagebox.rb +140 -0
- data/examples/testprogress.rb +116 -0
- data/examples/testree.rb +106 -0
- data/examples/testwsshortcuts.rb +66 -0
- data/examples/testwsshortcuts2.rb +128 -0
- data/lib/rbhex.rb +6 -0
- data/lib/rbhex/core/docs/index.txt +73 -0
- data/lib/rbhex/core/include/action.rb +80 -0
- data/lib/rbhex/core/include/actionmanager.rb +49 -0
- data/lib/rbhex/core/include/appmethods.rb +214 -0
- data/lib/rbhex/core/include/bordertitle.rb +48 -0
- data/lib/rbhex/core/include/chunk.rb +203 -0
- data/lib/rbhex/core/include/io.rb +553 -0
- data/lib/rbhex/core/include/listbindings.rb +74 -0
- data/lib/rbhex/core/include/listcellrenderer.rb +140 -0
- data/lib/rbhex/core/include/listeditable.rb +317 -0
- data/lib/rbhex/core/include/listscrollable.rb +663 -0
- data/lib/rbhex/core/include/listselectable.rb +271 -0
- data/lib/rbhex/core/include/multibuffer.rb +83 -0
- data/lib/rbhex/core/include/orderedhash.rb +77 -0
- data/lib/rbhex/core/include/ractionevent.rb +73 -0
- data/lib/rbhex/core/include/rchangeevent.rb +27 -0
- data/lib/rbhex/core/include/rhistory.rb +95 -0
- data/lib/rbhex/core/include/rinputdataevent.rb +47 -0
- data/lib/rbhex/core/include/vieditable.rb +172 -0
- data/lib/rbhex/core/include/widgetmenu.rb +66 -0
- data/lib/rbhex/core/system/colormap.rb +165 -0
- data/lib/rbhex/core/system/keyboard.rb +150 -0
- data/lib/rbhex/core/system/keydefs.rb +30 -0
- data/lib/rbhex/core/system/ncurses.rb +236 -0
- data/lib/rbhex/core/system/panel.rb +162 -0
- data/lib/rbhex/core/system/window.rb +913 -0
- data/lib/rbhex/core/util/ansiparser.rb +119 -0
- data/lib/rbhex/core/util/app.rb +1228 -0
- data/lib/rbhex/core/util/basestack.rb +410 -0
- data/lib/rbhex/core/util/bottomline.rb +1859 -0
- data/lib/rbhex/core/util/colorparser.rb +77 -0
- data/lib/rbhex/core/util/focusmanager.rb +31 -0
- data/lib/rbhex/core/util/padreader.rb +192 -0
- data/lib/rbhex/core/util/rcommandwindow.rb +604 -0
- data/lib/rbhex/core/util/rdialogs.rb +574 -0
- data/lib/rbhex/core/util/viewer.rb +149 -0
- data/lib/rbhex/core/util/widgetshortcuts.rb +506 -0
- data/lib/rbhex/core/version.rb +5 -0
- data/lib/rbhex/core/widgets/applicationheader.rb +103 -0
- data/lib/rbhex/core/widgets/box.rb +58 -0
- data/lib/rbhex/core/widgets/divider.rb +310 -0
- data/lib/rbhex/core/widgets/keylabelprinter.rb +194 -0
- data/lib/rbhex/core/widgets/rcombo.rb +253 -0
- data/lib/rbhex/core/widgets/rcontainer.rb +415 -0
- data/lib/rbhex/core/widgets/rlink.rb +30 -0
- data/lib/rbhex/core/widgets/rlist.rb +696 -0
- data/lib/rbhex/core/widgets/rmenu.rb +958 -0
- data/lib/rbhex/core/widgets/rmenulink.rb +22 -0
- data/lib/rbhex/core/widgets/rmessagebox.rb +387 -0
- data/lib/rbhex/core/widgets/rprogress.rb +118 -0
- data/lib/rbhex/core/widgets/rtabbedpane.rb +634 -0
- data/lib/rbhex/core/widgets/rtabbedwindow.rb +70 -0
- data/lib/rbhex/core/widgets/rtextarea.rb +960 -0
- data/lib/rbhex/core/widgets/rtextview.rb +739 -0
- data/lib/rbhex/core/widgets/rtree.rb +768 -0
- data/lib/rbhex/core/widgets/rwidget.rb +3277 -0
- data/lib/rbhex/core/widgets/scrollbar.rb +143 -0
- data/lib/rbhex/core/widgets/statusline.rb +113 -0
- data/lib/rbhex/core/widgets/tabular.rb +264 -0
- data/lib/rbhex/core/widgets/tabularwidget.rb +1142 -0
- data/lib/rbhex/core/widgets/textpad.rb +995 -0
- data/lib/rbhex/core/widgets/tree/treecellrenderer.rb +150 -0
- data/lib/rbhex/core/widgets/tree/treemodel.rb +428 -0
- data/rbhex-core.gemspec +32 -0
- metadata +172 -0
data/rbhex-core.gemspec
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'rbhex/core/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "rbhex-core"
|
8
|
+
spec.version = Rbhex::Core::VERSION
|
9
|
+
spec.authors = ["Chris Arcand", "Rahul Kumar"]
|
10
|
+
spec.email = ["chris@chrisarcand.com"]
|
11
|
+
spec.description = "Ruby curses/ncurses widgets for easy application development on text terminals"
|
12
|
+
spec.summary = "Ruby Ncurses Toolkit core infrastructure and widgets"
|
13
|
+
spec.homepage = "https://github.com/ChrisArcand/rbhex-core"
|
14
|
+
spec.license = "The Ruby License"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
if spec.respond_to? :specification_version
|
22
|
+
spec.specification_version = 3
|
23
|
+
|
24
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0')
|
25
|
+
spec.add_runtime_dependency 'ffi-ncurses', '~> 0.4', '>= 0.4.0'
|
26
|
+
else
|
27
|
+
spec.add_dependency 'ffi-ncurses', '~> 0.4', '>= 0.4.0'
|
28
|
+
end
|
29
|
+
else
|
30
|
+
spec.add_dependency 'ffi-ncurses', '~> 0.4', '>= 0.4.0'
|
31
|
+
end
|
32
|
+
end
|
metadata
ADDED
@@ -0,0 +1,172 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rbhex-core
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Chris Arcand
|
8
|
+
- Rahul Kumar
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2014-09-29 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: ffi-ncurses
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '0.4'
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.4.0
|
24
|
+
type: :runtime
|
25
|
+
prerelease: false
|
26
|
+
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
requirements:
|
28
|
+
- - "~>"
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '0.4'
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.4.0
|
34
|
+
description: Ruby curses/ncurses widgets for easy application development on text
|
35
|
+
terminals
|
36
|
+
email:
|
37
|
+
- chris@chrisarcand.com
|
38
|
+
executables: []
|
39
|
+
extensions: []
|
40
|
+
extra_rdoc_files: []
|
41
|
+
files:
|
42
|
+
- ".gitignore"
|
43
|
+
- CHANGELOG
|
44
|
+
- LICENSE
|
45
|
+
- README.md
|
46
|
+
- examples/abasiclist.rb
|
47
|
+
- examples/alpmenu.rb
|
48
|
+
- examples/app.sample
|
49
|
+
- examples/atree.rb
|
50
|
+
- examples/bline.rb
|
51
|
+
- examples/common/file.rb
|
52
|
+
- examples/data/README.markdown
|
53
|
+
- examples/data/brew.txt
|
54
|
+
- examples/data/color.2
|
55
|
+
- examples/data/gemlist.txt
|
56
|
+
- examples/data/lotr.txt
|
57
|
+
- examples/data/ports.txt
|
58
|
+
- examples/data/table.txt
|
59
|
+
- examples/data/tasks.csv
|
60
|
+
- examples/data/tasks.txt
|
61
|
+
- examples/data/todo.txt
|
62
|
+
- examples/data/todo.txt.bak
|
63
|
+
- examples/data/todocsv.csv
|
64
|
+
- examples/data/unix1.txt
|
65
|
+
- examples/data/unix2.txt
|
66
|
+
- examples/dbdemo.rb
|
67
|
+
- examples/dirtree.rb
|
68
|
+
- examples/newtabbedwindow.rb
|
69
|
+
- examples/newtesttabp.rb
|
70
|
+
- examples/tabular.rb
|
71
|
+
- examples/tasks.rb
|
72
|
+
- examples/term2.rb
|
73
|
+
- examples/testbuttons.rb
|
74
|
+
- examples/testcombo.rb
|
75
|
+
- examples/testfields.rb
|
76
|
+
- examples/testkeypress.rb
|
77
|
+
- examples/testlistbox.rb
|
78
|
+
- examples/testmessagebox.rb
|
79
|
+
- examples/testprogress.rb
|
80
|
+
- examples/testree.rb
|
81
|
+
- examples/testwsshortcuts.rb
|
82
|
+
- examples/testwsshortcuts2.rb
|
83
|
+
- lib/rbhex.rb
|
84
|
+
- lib/rbhex/core/docs/index.txt
|
85
|
+
- lib/rbhex/core/include/action.rb
|
86
|
+
- lib/rbhex/core/include/actionmanager.rb
|
87
|
+
- lib/rbhex/core/include/appmethods.rb
|
88
|
+
- lib/rbhex/core/include/bordertitle.rb
|
89
|
+
- lib/rbhex/core/include/chunk.rb
|
90
|
+
- lib/rbhex/core/include/io.rb
|
91
|
+
- lib/rbhex/core/include/listbindings.rb
|
92
|
+
- lib/rbhex/core/include/listcellrenderer.rb
|
93
|
+
- lib/rbhex/core/include/listeditable.rb
|
94
|
+
- lib/rbhex/core/include/listscrollable.rb
|
95
|
+
- lib/rbhex/core/include/listselectable.rb
|
96
|
+
- lib/rbhex/core/include/multibuffer.rb
|
97
|
+
- lib/rbhex/core/include/orderedhash.rb
|
98
|
+
- lib/rbhex/core/include/ractionevent.rb
|
99
|
+
- lib/rbhex/core/include/rchangeevent.rb
|
100
|
+
- lib/rbhex/core/include/rhistory.rb
|
101
|
+
- lib/rbhex/core/include/rinputdataevent.rb
|
102
|
+
- lib/rbhex/core/include/vieditable.rb
|
103
|
+
- lib/rbhex/core/include/widgetmenu.rb
|
104
|
+
- lib/rbhex/core/system/colormap.rb
|
105
|
+
- lib/rbhex/core/system/keyboard.rb
|
106
|
+
- lib/rbhex/core/system/keydefs.rb
|
107
|
+
- lib/rbhex/core/system/ncurses.rb
|
108
|
+
- lib/rbhex/core/system/panel.rb
|
109
|
+
- lib/rbhex/core/system/window.rb
|
110
|
+
- lib/rbhex/core/util/ansiparser.rb
|
111
|
+
- lib/rbhex/core/util/app.rb
|
112
|
+
- lib/rbhex/core/util/basestack.rb
|
113
|
+
- lib/rbhex/core/util/bottomline.rb
|
114
|
+
- lib/rbhex/core/util/colorparser.rb
|
115
|
+
- lib/rbhex/core/util/focusmanager.rb
|
116
|
+
- lib/rbhex/core/util/padreader.rb
|
117
|
+
- lib/rbhex/core/util/rcommandwindow.rb
|
118
|
+
- lib/rbhex/core/util/rdialogs.rb
|
119
|
+
- lib/rbhex/core/util/viewer.rb
|
120
|
+
- lib/rbhex/core/util/widgetshortcuts.rb
|
121
|
+
- lib/rbhex/core/version.rb
|
122
|
+
- lib/rbhex/core/widgets/applicationheader.rb
|
123
|
+
- lib/rbhex/core/widgets/box.rb
|
124
|
+
- lib/rbhex/core/widgets/divider.rb
|
125
|
+
- lib/rbhex/core/widgets/keylabelprinter.rb
|
126
|
+
- lib/rbhex/core/widgets/rcombo.rb
|
127
|
+
- lib/rbhex/core/widgets/rcontainer.rb
|
128
|
+
- lib/rbhex/core/widgets/rlink.rb
|
129
|
+
- lib/rbhex/core/widgets/rlist.rb
|
130
|
+
- lib/rbhex/core/widgets/rmenu.rb
|
131
|
+
- lib/rbhex/core/widgets/rmenulink.rb
|
132
|
+
- lib/rbhex/core/widgets/rmessagebox.rb
|
133
|
+
- lib/rbhex/core/widgets/rprogress.rb
|
134
|
+
- lib/rbhex/core/widgets/rtabbedpane.rb
|
135
|
+
- lib/rbhex/core/widgets/rtabbedwindow.rb
|
136
|
+
- lib/rbhex/core/widgets/rtextarea.rb
|
137
|
+
- lib/rbhex/core/widgets/rtextview.rb
|
138
|
+
- lib/rbhex/core/widgets/rtree.rb
|
139
|
+
- lib/rbhex/core/widgets/rwidget.rb
|
140
|
+
- lib/rbhex/core/widgets/scrollbar.rb
|
141
|
+
- lib/rbhex/core/widgets/statusline.rb
|
142
|
+
- lib/rbhex/core/widgets/tabular.rb
|
143
|
+
- lib/rbhex/core/widgets/tabularwidget.rb
|
144
|
+
- lib/rbhex/core/widgets/textpad.rb
|
145
|
+
- lib/rbhex/core/widgets/tree/treecellrenderer.rb
|
146
|
+
- lib/rbhex/core/widgets/tree/treemodel.rb
|
147
|
+
- rbhex-core.gemspec
|
148
|
+
homepage: https://github.com/ChrisArcand/rbhex-core
|
149
|
+
licenses:
|
150
|
+
- The Ruby License
|
151
|
+
metadata: {}
|
152
|
+
post_install_message:
|
153
|
+
rdoc_options: []
|
154
|
+
require_paths:
|
155
|
+
- lib
|
156
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - ">="
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '0'
|
161
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - ">="
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
166
|
+
requirements: []
|
167
|
+
rubyforge_project:
|
168
|
+
rubygems_version: 2.2.2
|
169
|
+
signing_key:
|
170
|
+
specification_version: 3
|
171
|
+
summary: Ruby Ncurses Toolkit core infrastructure and widgets
|
172
|
+
test_files: []
|