rbcurse 1.4.0 → 1.4.1.pre2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. data/NOTES +68 -0
  2. data/README.markdown +73 -330
  3. data/TODO2.txt +2 -2
  4. data/VERSION +1 -1
  5. data/examples/abasiclist.rb +8 -2
  6. data/examples/alpmenu.rb +1 -1
  7. data/examples/app.rb +1 -24
  8. data/examples/appdirtree.rb +1 -1
  9. data/examples/appemail.rb +8 -14
  10. data/examples/appemaillb.rb +2 -2
  11. data/examples/appgcompose.rb +7 -5
  12. data/examples/common/file.rb +40 -0
  13. data/examples/{rmail.rb → common/rmail.rb} +0 -0
  14. data/examples/data/README.markdown +9 -0
  15. data/examples/data/brew.txt +38 -0
  16. data/examples/data/color.2 +37 -0
  17. data/examples/data/gemlist.txt +60 -0
  18. data/examples/data/lotr.txt +12 -0
  19. data/examples/data/ports.txt +136 -0
  20. data/examples/data/tasks.txt +27 -0
  21. data/examples/{todocsv.csv → data/todocsv.csv} +0 -0
  22. data/examples/data/unix1.txt +21 -0
  23. data/examples/data/unix2.txt +11 -0
  24. data/examples/dbdemo.rb +49 -14
  25. data/examples/{appgmail.rb → deprecated/appgmail.rb} +1 -1
  26. data/examples/{splitp.rb → deprecated/splitp.rb} +0 -0
  27. data/examples/{testscrolllb.rb → deprecated/testscrolllb.rb} +0 -0
  28. data/examples/{testscrollp.rb → deprecated/testscrollp.rb} +0 -0
  29. data/examples/{testscrollta.rb → deprecated/testscrollta.rb} +0 -0
  30. data/examples/{testscrolltable.rb → deprecated/testscrolltable.rb} +0 -0
  31. data/examples/{testsplit.rb → deprecated/testsplit.rb} +0 -0
  32. data/examples/{testsplit2.rb → deprecated/testsplit2.rb} +0 -0
  33. data/examples/{testsplit3.rb → deprecated/testsplit3.rb} +0 -0
  34. data/examples/{testsplit3_1.rb → deprecated/testsplit3_1.rb} +0 -0
  35. data/examples/{testsplit3a.rb → deprecated/testsplit3a.rb} +0 -0
  36. data/examples/{testsplit3b.rb → deprecated/testsplit3b.rb} +0 -0
  37. data/examples/{testsplitta.rb → deprecated/testsplitta.rb} +0 -0
  38. data/examples/{testsplittv.rb → deprecated/testsplittv.rb} +0 -0
  39. data/examples/{testsplittvv.rb → deprecated/testsplittvv.rb} +0 -0
  40. data/examples/{testtpane.rb → deprecated/testtpane.rb} +0 -0
  41. data/examples/{testtpane2.rb → deprecated/testtpane2.rb} +0 -0
  42. data/examples/{testtpanetable.rb → deprecated/testtpanetable.rb} +0 -0
  43. data/examples/dirtree.rb +17 -7
  44. data/examples/experimental/resultsetdemo.rb +280 -0
  45. data/examples/experimental/testmform.rb +35 -0
  46. data/examples/{testscroller.rb → experimental/testscroller.rb} +1 -19
  47. data/examples/experimental/teststackflow.rb +111 -0
  48. data/examples/menu1.rb +1 -0
  49. data/examples/multispl.rb +4 -4
  50. data/examples/newmessagebox.rb +130 -0
  51. data/examples/newtabbedwindow.rb +100 -0
  52. data/examples/newtesttabp.rb +0 -3
  53. data/examples/qdfilechooser.rb +0 -3
  54. data/examples/rfe.rb +134 -18
  55. data/examples/rfe_renderer.rb +48 -2
  56. data/examples/sqlc.rb +2 -1
  57. data/examples/sqlm.rb +0 -2
  58. data/examples/table1.rb +1 -7
  59. data/examples/term2.rb +4 -1
  60. data/examples/test1.rb +0 -5
  61. data/examples/test2.rb +42 -31
  62. data/examples/testapp2.rb +8 -1
  63. data/examples/testchars.rb +0 -4
  64. data/examples/testcombo.rb +5 -9
  65. data/examples/testkeypress.rb +0 -3
  66. data/examples/testmenu.rb +0 -4
  67. data/examples/testmulticomp.rb +3 -5
  68. data/examples/testmulticontainer.rb +94 -0
  69. data/examples/testtable.rb +0 -5
  70. data/examples/testtabp.rb +16 -18
  71. data/examples/testtodo.rb +1 -5
  72. data/examples/testwsshortcuts.rb +64 -0
  73. data/examples/testwsshortcuts2.rb +126 -0
  74. data/examples/viewtodo.rb +1 -4
  75. data/lib/rbcurse.rb +1 -1
  76. data/lib/rbcurse/app.rb +92 -69
  77. data/lib/rbcurse/applicationheader.rb +46 -6
  78. data/lib/rbcurse/celleditor.rb +1 -9
  79. data/lib/rbcurse/comboboxcellrenderer.rb +0 -4
  80. data/lib/rbcurse/common/ansiparser.rb +117 -0
  81. data/{examples → lib/rbcurse/common}/appmethods.rb +25 -0
  82. data/lib/rbcurse/common/basestack.rb +407 -0
  83. data/lib/rbcurse/common/bordertitle.rb +41 -0
  84. data/lib/rbcurse/common/chunk.rb +177 -0
  85. data/lib/rbcurse/common/colorparser.rb +71 -0
  86. data/lib/rbcurse/common/keydefs.rb +30 -0
  87. data/lib/rbcurse/common/widgetshortcuts.rb +302 -0
  88. data/lib/rbcurse/deprecated/README.markdown +12 -0
  89. data/lib/rbcurse/{rscrollpane.rb → deprecated/rscrollpane.rb} +0 -0
  90. data/lib/rbcurse/{rsplitpane.rb → deprecated/rsplitpane.rb} +0 -0
  91. data/lib/rbcurse/{rsplitpane2.rb → deprecated/rsplitpane2.rb} +0 -0
  92. data/lib/rbcurse/{rviewport.rb → deprecated/rviewport.rb} +0 -0
  93. data/lib/rbcurse/experimental/README.markdown +14 -0
  94. data/lib/rbcurse/experimental/resultsettextview.rb +585 -0
  95. data/lib/rbcurse/experimental/stackflow.rb +478 -0
  96. data/lib/rbcurse/extras/bottomline.rb +85 -16
  97. data/lib/rbcurse/extras/box.rb +58 -0
  98. data/lib/rbcurse/extras/directorylist.rb +1 -1
  99. data/lib/rbcurse/extras/horizlist.rb +203 -0
  100. data/lib/rbcurse/extras/listselectable.rb +8 -0
  101. data/lib/rbcurse/extras/multiform.rb +330 -0
  102. data/lib/rbcurse/extras/multilinelabel.rb +142 -0
  103. data/lib/rbcurse/extras/newmessagebox.rb +328 -0
  104. data/lib/rbcurse/extras/newtabbedpane.rb +612 -0
  105. data/lib/rbcurse/extras/newtabbedwindow.rb +68 -0
  106. data/lib/rbcurse/extras/padreader.rb +189 -0
  107. data/lib/rbcurse/extras/rcomboedit.rb +256 -0
  108. data/lib/rbcurse/extras/resultsetbrowser.rb +281 -0
  109. data/lib/rbcurse/extras/statusline.rb +44 -6
  110. data/lib/rbcurse/extras/tabularwidget.rb +141 -104
  111. data/lib/rbcurse/extras/textpad.rb +516 -0
  112. data/lib/rbcurse/extras/viewer.rb +2 -0
  113. data/lib/rbcurse/io.rb +120 -3
  114. data/lib/rbcurse/listcellrenderer.rb +2 -1
  115. data/lib/rbcurse/listkeys.rb +1 -1
  116. data/lib/rbcurse/listscrollable.rb +72 -7
  117. data/lib/rbcurse/rbasiclistbox.rb +64 -12
  118. data/lib/rbcurse/rchangeevent.rb +0 -1
  119. data/lib/rbcurse/rcombo.rb +54 -59
  120. data/lib/rbcurse/rcommandwindow.rb +46 -10
  121. data/lib/rbcurse/rcontainer.rb +415 -0
  122. data/lib/rbcurse/rdialogs.rb +242 -165
  123. data/lib/rbcurse/rinputdataevent.rb +0 -1
  124. data/lib/rbcurse/rlistbox.rb +19 -9
  125. data/lib/rbcurse/rmessagebox.rb +1 -5
  126. data/lib/rbcurse/rmulticontainer.rb +64 -61
  127. data/lib/rbcurse/rmultitextview.rb +0 -2
  128. data/lib/rbcurse/rpopupmenu.rb +0 -2
  129. data/lib/rbcurse/rscrollform.rb +61 -12
  130. data/lib/rbcurse/rtabbedpane.rb +89 -73
  131. data/lib/rbcurse/rtabbedwindow.rb +53 -211
  132. data/lib/rbcurse/rtable.rb +0 -2
  133. data/lib/rbcurse/rtextarea.rb +14 -14
  134. data/lib/rbcurse/rtextview.rb +165 -50
  135. data/lib/rbcurse/rvimsplit.rb +15 -12
  136. data/lib/rbcurse/rwidget.rb +404 -150
  137. data/lib/rbcurse/table/tablecellrenderer.rb +1 -4
  138. data/lib/rbcurse/table/tabledatecellrenderer.rb +0 -3
  139. data/lib/ver/ncurses.rb +1 -9
  140. data/lib/ver/rpad.rb +375 -0
  141. data/lib/ver/window.rb +262 -440
  142. metadata +73 -31
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbcurse
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 1.4.0
4
+ prerelease: 6
5
+ version: 1.4.1.pre2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Rahul Kumar
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-10-11 00:00:00 Z
13
+ date: 2011-11-16 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ffi-ncurses
@@ -51,20 +51,52 @@ files:
51
51
  - examples/appemail.rb
52
52
  - examples/appemaillb.rb
53
53
  - examples/appgcompose.rb
54
- - examples/appgmail.rb
55
- - examples/appmethods.rb
56
54
  - examples/atree.rb
55
+ - examples/common/file.rb
56
+ - examples/common/rmail.rb
57
57
  - examples/data.txt
58
+ - examples/data/README.markdown
59
+ - examples/data/brew.txt
60
+ - examples/data/color.2
61
+ - examples/data/gemlist.txt
62
+ - examples/data/lotr.txt
63
+ - examples/data/ports.txt
64
+ - examples/data/tasks.txt
65
+ - examples/data/todocsv.csv
66
+ - examples/data/unix1.txt
67
+ - examples/data/unix2.txt
58
68
  - examples/dbdemo.rb
69
+ - examples/deprecated/appgmail.rb
70
+ - examples/deprecated/splitp.rb
71
+ - examples/deprecated/testscrolllb.rb
72
+ - examples/deprecated/testscrollp.rb
73
+ - examples/deprecated/testscrollta.rb
74
+ - examples/deprecated/testscrolltable.rb
75
+ - examples/deprecated/testsplit.rb
76
+ - examples/deprecated/testsplit2.rb
77
+ - examples/deprecated/testsplit3.rb
78
+ - examples/deprecated/testsplit3_1.rb
79
+ - examples/deprecated/testsplit3a.rb
80
+ - examples/deprecated/testsplit3b.rb
81
+ - examples/deprecated/testsplitta.rb
82
+ - examples/deprecated/testsplittv.rb
83
+ - examples/deprecated/testsplittvv.rb
84
+ - examples/deprecated/testtpane.rb
85
+ - examples/deprecated/testtpane2.rb
86
+ - examples/deprecated/testtpanetable.rb
59
87
  - examples/dirtree.rb
88
+ - examples/experimental/resultsetdemo.rb
89
+ - examples/experimental/testmform.rb
90
+ - examples/experimental/testscroller.rb
91
+ - examples/experimental/teststackflow.rb
60
92
  - examples/menu1.rb
61
93
  - examples/multispl.rb
94
+ - examples/newmessagebox.rb
95
+ - examples/newtabbedwindow.rb
62
96
  - examples/newtesttabp.rb
63
97
  - examples/qdfilechooser.rb
64
98
  - examples/rfe.rb
65
99
  - examples/rfe_renderer.rb
66
- - examples/rmail.rb
67
- - examples/splitp.rb
68
100
  - examples/sqlc.rb
69
101
  - examples/sqlm.rb
70
102
  - examples/sqlt.rb
@@ -81,32 +113,17 @@ files:
81
113
  - examples/testlistbox.rb
82
114
  - examples/testmenu.rb
83
115
  - examples/testmulticomp.rb
116
+ - examples/testmulticontainer.rb
84
117
  - examples/testmultispl.rb
85
118
  - examples/testree.rb
86
- - examples/testscroller.rb
87
- - examples/testscrolllb.rb
88
- - examples/testscrollp.rb
89
- - examples/testscrollta.rb
90
- - examples/testscrolltable.rb
91
- - examples/testsplit.rb
92
- - examples/testsplit2.rb
93
- - examples/testsplit3.rb
94
- - examples/testsplit3_1.rb
95
- - examples/testsplit3a.rb
96
- - examples/testsplit3b.rb
97
- - examples/testsplitta.rb
98
- - examples/testsplittv.rb
99
- - examples/testsplittvv.rb
100
119
  - examples/testtable.rb
101
120
  - examples/testtabp.rb
102
121
  - examples/testtodo.rb
103
- - examples/testtpane.rb
104
- - examples/testtpane2.rb
105
- - examples/testtpanetable.rb
106
122
  - examples/testvimsplit.rb
123
+ - examples/testwsshortcuts.rb
124
+ - examples/testwsshortcuts2.rb
107
125
  - examples/todo.db
108
126
  - examples/todo.yml
109
- - examples/todocsv.csv
110
127
  - examples/viewtodo.rb
111
128
  - lib/rbcurse.rb
112
129
  - lib/rbcurse/action.rb
@@ -116,15 +133,41 @@ files:
116
133
  - lib/rbcurse/checkboxcellrenderer.rb
117
134
  - lib/rbcurse/colormap.rb
118
135
  - lib/rbcurse/comboboxcellrenderer.rb
136
+ - lib/rbcurse/common/ansiparser.rb
137
+ - lib/rbcurse/common/appmethods.rb
138
+ - lib/rbcurse/common/basestack.rb
139
+ - lib/rbcurse/common/bordertitle.rb
140
+ - lib/rbcurse/common/chunk.rb
141
+ - lib/rbcurse/common/colorparser.rb
142
+ - lib/rbcurse/common/keydefs.rb
143
+ - lib/rbcurse/common/widgetshortcuts.rb
119
144
  - lib/rbcurse/defaultlistselectionmodel.rb
145
+ - lib/rbcurse/deprecated/README.markdown
146
+ - lib/rbcurse/deprecated/rscrollpane.rb
147
+ - lib/rbcurse/deprecated/rsplitpane.rb
148
+ - lib/rbcurse/deprecated/rsplitpane2.rb
149
+ - lib/rbcurse/deprecated/rviewport.rb
150
+ - lib/rbcurse/experimental/README.markdown
151
+ - lib/rbcurse/experimental/resultsettextview.rb
152
+ - lib/rbcurse/experimental/stackflow.rb
120
153
  - lib/rbcurse/extras/bottomline.rb
154
+ - lib/rbcurse/extras/box.rb
121
155
  - lib/rbcurse/extras/directorylist.rb
122
156
  - lib/rbcurse/extras/directorytree.rb
123
157
  - lib/rbcurse/extras/divider.rb
124
158
  - lib/rbcurse/extras/focusmanager.rb
159
+ - lib/rbcurse/extras/horizlist.rb
125
160
  - lib/rbcurse/extras/listselectable.rb
126
161
  - lib/rbcurse/extras/masterdetail.rb
127
162
  - lib/rbcurse/extras/menutree.rb
163
+ - lib/rbcurse/extras/multiform.rb
164
+ - lib/rbcurse/extras/multilinelabel.rb
165
+ - lib/rbcurse/extras/newmessagebox.rb
166
+ - lib/rbcurse/extras/newtabbedpane.rb
167
+ - lib/rbcurse/extras/newtabbedwindow.rb
168
+ - lib/rbcurse/extras/padreader.rb
169
+ - lib/rbcurse/extras/rcomboedit.rb
170
+ - lib/rbcurse/extras/resultsetbrowser.rb
128
171
  - lib/rbcurse/extras/rlink.rb
129
172
  - lib/rbcurse/extras/rmenulink.rb
130
173
  - lib/rbcurse/extras/scrollbar.rb
@@ -133,6 +176,7 @@ files:
133
176
  - lib/rbcurse/extras/tableextended.rb
134
177
  - lib/rbcurse/extras/tabular.rb
135
178
  - lib/rbcurse/extras/tabularwidget.rb
179
+ - lib/rbcurse/extras/textpad.rb
136
180
  - lib/rbcurse/extras/viewer.rb
137
181
  - lib/rbcurse/io.rb
138
182
  - lib/rbcurse/keylabelprinter.rb
@@ -148,6 +192,7 @@ files:
148
192
  - lib/rbcurse/rchangeevent.rb
149
193
  - lib/rbcurse/rcombo.rb
150
194
  - lib/rbcurse/rcommandwindow.rb
195
+ - lib/rbcurse/rcontainer.rb
151
196
  - lib/rbcurse/rdialogs.rb
152
197
  - lib/rbcurse/rinputdataevent.rb
153
198
  - lib/rbcurse/rlistbox.rb
@@ -159,16 +204,12 @@ files:
159
204
  - lib/rbcurse/rpopupmenu.rb
160
205
  - lib/rbcurse/rprogress.rb
161
206
  - lib/rbcurse/rscrollform.rb
162
- - lib/rbcurse/rscrollpane.rb
163
- - lib/rbcurse/rsplitpane.rb
164
- - lib/rbcurse/rsplitpane2.rb
165
207
  - lib/rbcurse/rtabbedpane.rb
166
208
  - lib/rbcurse/rtabbedwindow.rb
167
209
  - lib/rbcurse/rtable.rb
168
210
  - lib/rbcurse/rtextarea.rb
169
211
  - lib/rbcurse/rtextview.rb
170
212
  - lib/rbcurse/rtree.rb
171
- - lib/rbcurse/rviewport.rb
172
213
  - lib/rbcurse/rvimsplit.rb
173
214
  - lib/rbcurse/rwidget.rb
174
215
  - lib/rbcurse/scrollable.rb
@@ -182,6 +223,7 @@ files:
182
223
  - lib/ver/keyboard2.rb
183
224
  - lib/ver/ncurses.rb
184
225
  - lib/ver/panel.rb
226
+ - lib/ver/rpad.rb
185
227
  - lib/ver/window.rb
186
228
  - test/test_rbcurse.rb
187
229
  homepage: http://rbcurse.rubyforge.org/
@@ -201,9 +243,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
201
243
  required_rubygems_version: !ruby/object:Gem::Requirement
202
244
  none: false
203
245
  requirements:
204
- - - ">="
246
+ - - ">"
205
247
  - !ruby/object:Gem::Version
206
- version: "0"
248
+ version: 1.3.1
207
249
  requirements: []
208
250
 
209
251
  rubyforge_project: rbcurse