rbcurse 1.1.5 → 1.2.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +45 -0
- data/Makefile +1 -1
- data/Manifest.txt +91 -0
- data/NOTES +349 -2
- data/README.markdown +12 -0
- data/VERSION +1 -1
- data/examples/abasiclist.rb +25 -0
- data/examples/alpmenu.rb +42 -0
- data/examples/app.rb +883 -0
- data/examples/appcombo.rb +17 -0
- data/examples/appdirtree.rb +73 -0
- data/examples/appemail.rb +164 -0
- data/examples/appemaillb.rb +308 -0
- data/examples/appgcompose.rb +303 -0
- data/examples/appgmail.rb +951 -0
- data/examples/atree.rb +56 -0
- data/examples/dirtree.rb +78 -0
- data/examples/focusmanager.rb +31 -0
- data/examples/imap.rb +48 -0
- data/examples/menu1.rb +79 -0
- data/examples/multispl.rb +86 -0
- data/examples/rfe.rb +3 -4
- data/examples/rmail.rb +188 -0
- data/examples/s.rb +10 -0
- data/examples/scrollbar.rb +104 -0
- data/examples/splitp.rb +56 -0
- data/examples/table1.rb +30 -0
- data/examples/term.rb +48 -0
- data/examples/term2.rb +54 -0
- data/examples/test1.rb +4 -2
- data/examples/test2.rb +9 -9
- data/examples/testapp.rb +44 -0
- data/examples/testapp2.rb +51 -0
- data/examples/testcombo.rb +2 -2
- data/examples/testgmail.rb +46 -0
- data/examples/testlistbox.rb +0 -1
- data/examples/testmultispl.rb +199 -0
- data/examples/testree.rb +127 -0
- data/examples/testscroller.rb +0 -1
- data/examples/testscrolllb.rb +1 -1
- data/examples/testscrollp.rb +2 -1
- data/examples/testscrollta.rb +1 -1
- data/examples/testscrolltable.rb +1 -2
- data/examples/testsplit.rb +1 -1
- data/examples/testsplit2.rb +1 -1
- data/examples/testsplit3.rb +1 -1
- data/examples/testsplit3_1.rb +1 -1
- data/examples/testsplit3a.rb +1 -1
- data/examples/testsplit3b.rb +1 -1
- data/examples/testsplitta.rb +1 -1
- data/examples/testsplittv.rb +1 -1
- data/examples/testsplittvv.rb +1 -1
- data/examples/testtodo.rb +491 -488
- data/examples/testvimsplit.rb +111 -0
- data/examples/todo.db +0 -0
- data/examples/todocsv.csv +28 -0
- data/examples/viewtodo.rb +408 -403
- data/lib/rbcurse/action.rb +1 -0
- data/lib/rbcurse/app.rb +1294 -0
- data/lib/rbcurse/applicationheader.rb +7 -2
- data/lib/rbcurse/checkboxcellrenderer.rb +0 -12
- data/lib/rbcurse/colormap.rb +34 -8
- data/lib/rbcurse/comboboxcellrenderer.rb +0 -11
- data/lib/rbcurse/defaultlistselectionmodel.rb +23 -7
- data/lib/rbcurse/extras/bottomline.rb +1681 -0
- data/lib/rbcurse/extras/directorylist.rb +445 -0
- data/lib/rbcurse/extras/directorytree.rb +69 -0
- data/lib/rbcurse/extras/divider.rb +310 -0
- data/lib/rbcurse/extras/focusmanager.rb +31 -0
- data/lib/rbcurse/extras/listselectable.rb +222 -0
- data/lib/rbcurse/extras/masterdetail.rb +164 -0
- data/lib/rbcurse/extras/menutree.rb +63 -0
- data/lib/rbcurse/extras/rlink.rb +27 -0
- data/lib/rbcurse/extras/rmenulink.rb +21 -0
- data/lib/rbcurse/extras/scrollbar.rb +134 -0
- data/lib/rbcurse/extras/stdscrwindow.rb +247 -0
- data/lib/rbcurse/extras/tabular.rb +258 -0
- data/lib/rbcurse/extras/tabularwidget.rb +1070 -0
- data/lib/rbcurse/extras/viewer.rb +106 -0
- data/lib/rbcurse/io.rb +137 -80
- data/lib/rbcurse/keylabelprinter.rb +4 -0
- data/lib/rbcurse/listcellrenderer.rb +91 -59
- data/lib/rbcurse/listscrollable.rb +93 -95
- data/lib/rbcurse/listselectable.rb +60 -7
- data/lib/rbcurse/ractionevent.rb +67 -0
- data/lib/rbcurse/rbasiclistbox.rb +688 -0
- data/lib/rbcurse/rcombo.rb +5 -5
- data/lib/rbcurse/rcommandwindow.rb +555 -0
- data/lib/rbcurse/rinputdataevent.rb +12 -0
- data/lib/rbcurse/rlistbox.rb +305 -124
- data/lib/rbcurse/rmenu.rb +99 -46
- data/lib/rbcurse/rmessagebox.rb +13 -6
- data/lib/rbcurse/rmulticontainer.rb +54 -93
- data/lib/rbcurse/rmultisplit.rb +731 -0
- data/lib/rbcurse/rmultitextview.rb +3 -2
- data/lib/rbcurse/rpopupmenu.rb +0 -1
- data/lib/rbcurse/rprogress.rb +117 -0
- data/lib/rbcurse/rscrollpane.rb +2 -1
- data/lib/rbcurse/rsplitpane.rb +94 -20
- data/lib/rbcurse/rsplitpane2.rb +1009 -0
- data/lib/rbcurse/rtabbedpane.rb +3 -2
- data/lib/rbcurse/rtabbedwindow.rb +0 -1
- data/lib/rbcurse/rtable.rb +92 -64
- data/lib/rbcurse/rtextarea.rb +91 -57
- data/lib/rbcurse/rtextview.rb +223 -70
- data/lib/rbcurse/rtree.rb +723 -0
- data/lib/rbcurse/rviewport.rb +2 -1
- data/lib/rbcurse/rvimsplit.rb +768 -0
- data/lib/rbcurse/rwidget.rb +524 -325
- data/lib/rbcurse/table/tablecellrenderer.rb +1 -1
- data/lib/rbcurse/table/tabledatecellrenderer.rb +0 -1
- data/lib/rbcurse/tree/treecellrenderer.rb +137 -0
- data/lib/rbcurse/tree/treemodel.rb +428 -0
- data/lib/rbcurse/vieditable.rb +14 -13
- data/lib/ver/ncurses.rb +6 -0
- data/lib/ver/window.rb +67 -32
- metadata +99 -23
- data/bin/rbcurse +0 -0
- data/examples/rvimsplit.rb +0 -376
- data/examples/todo.rb +0 -1
- data/lib/rbcurse/rform.rb +0 -845
- data/lib/rbcurse/selectable.rb +0 -94
- data/rbcurse.gemspec +0 -188
data/lib/rbcurse/vieditable.rb
CHANGED
@@ -6,8 +6,8 @@
|
|
6
6
|
# or a menu. made originally for textview and multitextview
|
7
7
|
#
|
8
8
|
#**************************************************************
|
9
|
-
|
10
|
-
|
9
|
+
|
10
|
+
|
11
11
|
require 'rbcurse/listeditable'
|
12
12
|
module ViEditable
|
13
13
|
include ListEditable
|
@@ -38,6 +38,7 @@ module ViEditable
|
|
38
38
|
bind_key(?f, :forward_char)
|
39
39
|
bind_key(?\M-y, :yank_pop)
|
40
40
|
bind_key(?\M-w, :kill_ring_save)
|
41
|
+
@_events.push :CHANGE # thru vieditable
|
41
42
|
|
42
43
|
end
|
43
44
|
##
|
@@ -51,33 +52,33 @@ module ViEditable
|
|
51
52
|
bind_key( ?C, :edit_line)
|
52
53
|
bind_key( ?o) { insert_line(@current_index+1) }
|
53
54
|
bind_key( ?O) { insert_line(@current_index) }
|
54
|
-
#bind_key( ?D, :delete_eol)
|
55
|
-
#bind_key( [?d, ?$], :delete_eol)
|
56
55
|
bind_key( [?d, ?d] , :delete_line )
|
57
|
-
#bind_key( [?d, ?w], :delete_word )
|
58
|
-
#bind_key( [?d, ?t], :delete_till )
|
59
|
-
#bind_key( [?d, ?f], :delete_forward )
|
60
56
|
bind_key( ?\C-_ ) { @undo_handler.undo if @undo_handler }
|
61
57
|
bind_key( ?u ) { @undo_handler.undo if @undo_handler }
|
62
58
|
bind_key( ?\C-r ) { @undo_handler.redo if @undo_handler }
|
63
|
-
#bind_key( ?x, :delete_curr_char )
|
64
|
-
#bind_key( ?X, :delete_prev_char )
|
65
59
|
bind_key( [?y, ?y] , :kill_ring_save )
|
66
60
|
bind_key( ?p, :yank ) # paste after this line
|
67
61
|
bind_key( ?P ) { yank(@current_index - 1) } # should be before this line
|
68
62
|
bind_key(?\w, :forward_word)
|
69
|
-
#bind_key(?f, :forward_char)
|
70
63
|
bind_key(?\M-y, :yank_pop)
|
71
64
|
bind_key(?\C-y, :yank)
|
72
65
|
bind_key(?\M-w, :kill_ring_save)
|
66
|
+
@_events.push :CHANGE # thru vieditable
|
67
|
+
#bind_key( ?D, :delete_eol)
|
68
|
+
#bind_key( [?d, ?$], :delete_eol)
|
69
|
+
#bind_key(?f, :forward_char)
|
70
|
+
#bind_key( ?x, :delete_curr_char )
|
71
|
+
#bind_key( ?X, :delete_prev_char )
|
72
|
+
#bind_key( [?d, ?w], :delete_word )
|
73
|
+
#bind_key( [?d, ?t], :delete_till )
|
74
|
+
#bind_key( [?d, ?f], :delete_forward )
|
73
75
|
|
74
76
|
end
|
75
77
|
|
76
78
|
##
|
77
79
|
# edit current or given line
|
78
|
-
# FIXME needs to fire handler 2010-05-23 11:40
|
79
80
|
def edit_line lineno=@current_index
|
80
|
-
line =
|
81
|
+
line = self[lineno]
|
81
82
|
prompt = "Edit: "
|
82
83
|
maxlen = 80
|
83
84
|
config={};
|
@@ -86,7 +87,7 @@ module ViEditable
|
|
86
87
|
ret, str = rbgetstr(@form.window, $error_message_row, $error_message_col, prompt, maxlen, config)
|
87
88
|
$log.debug " rbgetstr returned #{ret} , #{str} "
|
88
89
|
return if ret != 0
|
89
|
-
|
90
|
+
self[lineno].replace(str)
|
90
91
|
fire_handler :CHANGE, InputDataEvent.new(0,oldline.length, self, :DELETE_LINE, lineno, oldline) # 2008-12-24 18:34
|
91
92
|
fire_handler :CHANGE, InputDataEvent.new(0,str.length, self, :INSERT_LINE, lineno, str)
|
92
93
|
@repaint_required = true
|
data/lib/ver/ncurses.rb
CHANGED
@@ -5,6 +5,8 @@ include ColorMap
|
|
5
5
|
|
6
6
|
# Setup ncurses, nicely documented by the curses manpages
|
7
7
|
def start_ncurses
|
8
|
+
return if $ncurses_started
|
9
|
+
$ncurses_started = true
|
8
10
|
# The initscr code determines the terminal type and initializes all curses
|
9
11
|
# data structures.
|
10
12
|
# initscr also causes the first call to refresh to clear the screen.
|
@@ -83,11 +85,15 @@ include ColorMap
|
|
83
85
|
# Ncurses::nodelay(Ncurses::stdscr, bf = true)
|
84
86
|
end
|
85
87
|
|
88
|
+
# this should happen only in outermost program that started ncurses
|
89
|
+
# if a called program does this, the calling program can have a display freeze
|
86
90
|
def stop_ncurses
|
87
91
|
Ncurses.echo
|
88
92
|
Ncurses.nocbreak
|
89
93
|
Ncurses.nl
|
90
94
|
Ncurses.endwin
|
95
|
+
$ncurses_started = false
|
96
|
+
puts "ncurses stopped"
|
91
97
|
ensure
|
92
98
|
return unless error = @last_error
|
93
99
|
log = Config[:logfile].value
|
data/lib/ver/window.rb
CHANGED
@@ -7,6 +7,7 @@ module VER
|
|
7
7
|
attr_reader :window_type # window or pad to distinguish 2009-11-02 23:11
|
8
8
|
attr_accessor :name # more for debugging log files. 2010-02-02 19:58
|
9
9
|
attr_accessor :modified # has it been modified and may need a refresh
|
10
|
+
attr_reader :bottomline # experimental here 2010-11-03 22:19
|
10
11
|
|
11
12
|
def initialize(layout)
|
12
13
|
@visible = true
|
@@ -14,11 +15,11 @@ module VER
|
|
14
15
|
|
15
16
|
@window = Ncurses::WINDOW.new(height, width, top, left)
|
16
17
|
@panel = Ncurses::Panel.new_panel(@window)
|
17
|
-
init_vars
|
18
18
|
## eeks XXX next line will wreak havoc when multiple windows opened like a mb or popup
|
19
19
|
#$error_message_row = $status_message_row = Ncurses.LINES-1
|
20
20
|
$error_message_row ||= Ncurses.LINES-1
|
21
21
|
$error_message_col ||= 1
|
22
|
+
init_vars
|
22
23
|
|
23
24
|
|
24
25
|
end
|
@@ -29,6 +30,7 @@ module VER
|
|
29
30
|
@name ||="#{self}"
|
30
31
|
@modified = true
|
31
32
|
$catch_alt_digits ||= false # is this where is should put globals ? 2010-03-14 14:00 XXX
|
33
|
+
init_bottomline
|
32
34
|
end
|
33
35
|
##
|
34
36
|
# this is an alternative constructor
|
@@ -154,7 +156,9 @@ module VER
|
|
154
156
|
end
|
155
157
|
|
156
158
|
def getch
|
157
|
-
@window.getch
|
159
|
+
c = @window.getch
|
160
|
+
#if c == Ncurses::KEY_RESIZE
|
161
|
+
|
158
162
|
rescue Interrupt => ex
|
159
163
|
3 # is C-c
|
160
164
|
end
|
@@ -217,7 +221,7 @@ module VER
|
|
217
221
|
elsif @stack == [27, 91]
|
218
222
|
if ch == 90
|
219
223
|
@stack.clear
|
220
|
-
return
|
224
|
+
return KEY_BTAB # backtab
|
221
225
|
end
|
222
226
|
end
|
223
227
|
# the usual Meta combos. (alt)
|
@@ -299,11 +303,12 @@ module VER
|
|
299
303
|
# @panel = @window.panel if @window
|
300
304
|
#Ncurses::Panel.del_panel(@panel) if !@panel.nil?
|
301
305
|
#@window.delwin if !@window.nil?
|
302
|
-
$log.debug "win destroy"
|
306
|
+
$log.debug "win destroy start"
|
303
307
|
|
304
308
|
#@panel = @window.panel if @window
|
305
309
|
Ncurses::Panel.del_panel(@panel) if !@panel.nil?
|
306
310
|
@window.delwin if !@window.nil?
|
311
|
+
$log.debug "win destroy end"
|
307
312
|
end
|
308
313
|
##
|
309
314
|
# added by rk 2008-11-29 19:01
|
@@ -350,6 +355,9 @@ module VER
|
|
350
355
|
# Since these methods write directly to window they are not advised
|
351
356
|
# since clearing previous message we don't know how much to clear.
|
352
357
|
# Best to map error_message to a label.
|
358
|
+
# 2010-09-13 00:22 WE should not use these any longer.
|
359
|
+
# Application should create a label and map a Variable named
|
360
|
+
# $errormessage to it. We should only update the Variable
|
353
361
|
def print_error_message text=$error_message
|
354
362
|
r = $error_message_row || Ncurses.LINES-1
|
355
363
|
c = $error_message_col || (Ncurses.COLS-text.length)/2
|
@@ -394,6 +402,8 @@ module VER
|
|
394
402
|
# prints a border around a widget, CLEARING the area.
|
395
403
|
# If calling with a pad, you would typically use 0,0, h-1, w-1.
|
396
404
|
def print_border row, col, height, width, color, att=Ncurses::A_NORMAL
|
405
|
+
raise "height needs to be supplied." if height.nil?
|
406
|
+
raise "width needs to be supplied." if width.nil?
|
397
407
|
att ||= Ncurses::A_NORMAL
|
398
408
|
|
399
409
|
$log.debug " inside window print_border r #{row} c #{col} h #{height} w #{width} "
|
@@ -418,6 +428,18 @@ module VER
|
|
418
428
|
# XXX this reduces 1 from width but not height !!! FIXME
|
419
429
|
def prv_print_border_only row, col, height, width, color, att=Ncurses::A_NORMAL
|
420
430
|
att ||= Ncurses::A_NORMAL
|
431
|
+
case att.to_s.downcase
|
432
|
+
when 'normal'
|
433
|
+
att = Ncurses::A_NORMAL
|
434
|
+
when 'underline'
|
435
|
+
att = Ncurses::A_UNDERLINE
|
436
|
+
when 'bold'
|
437
|
+
att = Ncurses::A_BOLD
|
438
|
+
when 'blink'
|
439
|
+
att = Ncurses::A_BLINK # unlikely to work
|
440
|
+
when 'reverse'
|
441
|
+
att = Ncurses::A_REVERSE
|
442
|
+
end
|
421
443
|
attron(Ncurses.COLOR_PAIR(color) | att)
|
422
444
|
mvwaddch row, col, ACS_ULCORNER
|
423
445
|
mvwhline( row, col+1, ACS_HLINE, width-2)
|
@@ -464,36 +486,49 @@ module VER
|
|
464
486
|
def rb_mvaddch row, col, char
|
465
487
|
mvaddch row, col, char
|
466
488
|
end
|
489
|
+
# experimentally
|
490
|
+
# Add a bottomline to window when creating root_window
|
491
|
+
# this way its available even when App is not used.
|
492
|
+
def init_bottomline
|
493
|
+
unless @bottomline
|
494
|
+
require 'forwardable'
|
495
|
+
require 'rbcurse/extras/bottomline'
|
496
|
+
@bottomline = Bottomline.new self, $error_message_row
|
497
|
+
@bottomline.name = "window.rb"
|
498
|
+
extend Forwardable
|
499
|
+
def_delegators :@bottomline, :ask, :say, :agree, :choose
|
500
|
+
end
|
501
|
+
end
|
467
502
|
end
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
503
|
+
##
|
504
|
+
# added RK 2009-10-08 23:57 for tabbedpanes
|
505
|
+
# THIS IS EXPERIMENTAL -
|
506
|
+
# I have not called super in the initializer so any methods you try on subwin
|
507
|
+
# that exist in the superclass which use @window will bomb
|
508
|
+
# @since 0.1.3
|
509
|
+
class SubWindow < VER::Window
|
510
|
+
attr_reader :width, :height, :top, :left
|
511
|
+
attr_accessor :layout
|
512
|
+
attr_reader :panel # XXX reader requires so he can del it in end
|
513
|
+
attr_reader :subwin #
|
514
|
+
attr_reader :parent #
|
515
|
+
|
516
|
+
def initialize(parent, layout)
|
517
|
+
@visible = true
|
518
|
+
reset_layout(layout)
|
519
|
+
|
520
|
+
@parent = parent
|
521
|
+
#@subwin = @parent.get_window().derwin(@height, @width, @top, @left)
|
522
|
+
@subwin = @parent.get_window().subwin(@height, @width, @top, @left)
|
523
|
+
$log.debug "SUBWIN init #{@height} #{@width} #{@top} #{@left} "
|
524
|
+
#$log.debug "SUBWIN init #{@subwin.getbegx} #{@subwin.getbegy} #{@top} #{@left} "
|
525
|
+
@panel = Ncurses::Panel.new_panel(@subwin)
|
526
|
+
|
527
|
+
@window = @subwin # makes more mthods available
|
528
|
+
init_vars
|
480
529
|
|
481
|
-
|
482
|
-
|
483
|
-
reset_layout(layout)
|
484
|
-
|
485
|
-
@parent = parent
|
486
|
-
#@subwin = @parent.get_window().derwin(@height, @width, @top, @left)
|
487
|
-
@subwin = @parent.get_window().subwin(@height, @width, @top, @left)
|
488
|
-
$log.debug "SUBWIN init #{@height} #{@width} #{@top} #{@left} "
|
489
|
-
#$log.debug "SUBWIN init #{@subwin.getbegx} #{@subwin.getbegy} #{@top} #{@left} "
|
490
|
-
@panel = Ncurses::Panel.new_panel(@subwin)
|
491
|
-
|
492
|
-
@window = @subwin # makes more mthods available
|
493
|
-
init_vars
|
494
|
-
|
495
|
-
end
|
496
|
-
# no need really now
|
530
|
+
end
|
531
|
+
# no need really now
|
497
532
|
def reset_layout layout
|
498
533
|
@layout = layout # 2010-02-13 22:23
|
499
534
|
@height = layout[:height]
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbcurse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
4
|
+
prerelease: true
|
5
5
|
segments:
|
6
6
|
- 1
|
7
|
-
-
|
8
|
-
-
|
9
|
-
|
7
|
+
- 2
|
8
|
+
- 0
|
9
|
+
- pre
|
10
|
+
version: 1.2.0.pre
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Rahul Kumar
|
@@ -14,21 +15,20 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-
|
18
|
-
default_executable:
|
18
|
+
date: 2010-11-20 00:00:00 +05:30
|
19
|
+
default_executable:
|
19
20
|
dependencies: []
|
20
21
|
|
21
22
|
description: Ruby curses widgets for easy application development on text terminals (ruby 1.9, 1.8)
|
22
|
-
email:
|
23
|
-
executables:
|
24
|
-
|
23
|
+
email: sentinel1879@gmail.com
|
24
|
+
executables: []
|
25
|
+
|
25
26
|
extensions: []
|
26
27
|
|
27
28
|
extra_rdoc_files:
|
28
29
|
- README.markdown
|
29
30
|
- TODO
|
30
31
|
files:
|
31
|
-
- .gitignore
|
32
32
|
- CHANGELOG
|
33
33
|
- History.txt
|
34
34
|
- Makefile
|
@@ -38,19 +38,31 @@ files:
|
|
38
38
|
- TODO
|
39
39
|
- TODO2.txt
|
40
40
|
- VERSION
|
41
|
-
- bin/rbcurse
|
42
41
|
- examples/README.txt
|
42
|
+
- examples/abasiclist.rb
|
43
|
+
- examples/alpmenu.rb
|
44
|
+
- examples/appdirtree.rb
|
45
|
+
- examples/appemail.rb
|
46
|
+
- examples/appemaillb.rb
|
47
|
+
- examples/appgmail.rb
|
48
|
+
- examples/atree.rb
|
43
49
|
- examples/data.txt
|
50
|
+
- examples/dirtree.rb
|
44
51
|
- examples/keytest.rb
|
52
|
+
- examples/menu1.rb
|
45
53
|
- examples/mpad2.rb
|
54
|
+
- examples/multispl.rb
|
46
55
|
- examples/newtesttabp.rb
|
47
56
|
- examples/qdfilechooser.rb
|
48
57
|
- examples/rfe.rb
|
49
58
|
- examples/rfe_renderer.rb
|
50
|
-
- examples/
|
59
|
+
- examples/rmail.rb
|
60
|
+
- examples/splitp.rb
|
51
61
|
- examples/sqlc.rb
|
52
62
|
- examples/sqlm.rb
|
53
63
|
- examples/status.txt
|
64
|
+
- examples/table1.rb
|
65
|
+
- examples/term2.rb
|
54
66
|
- examples/test1.rb
|
55
67
|
- examples/test2.rb
|
56
68
|
- examples/testchars.rb
|
@@ -59,6 +71,8 @@ files:
|
|
59
71
|
- examples/testlistbox.rb
|
60
72
|
- examples/testmenu.rb
|
61
73
|
- examples/testmulticomp.rb
|
74
|
+
- examples/testmultispl.rb
|
75
|
+
- examples/testree.rb
|
62
76
|
- examples/testscroller.rb
|
63
77
|
- examples/testscrolllb.rb
|
64
78
|
- examples/testscrollp.rb
|
@@ -79,19 +93,36 @@ files:
|
|
79
93
|
- examples/testtpane.rb
|
80
94
|
- examples/testtpane2.rb
|
81
95
|
- examples/testtpanetable.rb
|
96
|
+
- examples/testvimsplit.rb
|
82
97
|
- examples/todo.db
|
83
98
|
- examples/todo.yml
|
84
99
|
- examples/todocsv.csv
|
85
100
|
- examples/viewtodo.rb
|
86
101
|
- lib/rbcurse.rb
|
87
102
|
- lib/rbcurse/action.rb
|
103
|
+
- lib/rbcurse/app.rb
|
88
104
|
- lib/rbcurse/applicationheader.rb
|
89
105
|
- lib/rbcurse/celleditor.rb
|
90
106
|
- lib/rbcurse/checkboxcellrenderer.rb
|
91
107
|
- lib/rbcurse/colormap.rb
|
92
108
|
- lib/rbcurse/comboboxcellrenderer.rb
|
93
109
|
- lib/rbcurse/defaultlistselectionmodel.rb
|
110
|
+
- lib/rbcurse/extras/bottomline.rb
|
111
|
+
- lib/rbcurse/extras/directorylist.rb
|
112
|
+
- lib/rbcurse/extras/directorytree.rb
|
113
|
+
- lib/rbcurse/extras/divider.rb
|
114
|
+
- lib/rbcurse/extras/focusmanager.rb
|
115
|
+
- lib/rbcurse/extras/listselectable.rb
|
116
|
+
- lib/rbcurse/extras/masterdetail.rb
|
117
|
+
- lib/rbcurse/extras/menutree.rb
|
118
|
+
- lib/rbcurse/extras/rlink.rb
|
119
|
+
- lib/rbcurse/extras/rmenulink.rb
|
120
|
+
- lib/rbcurse/extras/scrollbar.rb
|
121
|
+
- lib/rbcurse/extras/stdscrwindow.rb
|
94
122
|
- lib/rbcurse/extras/tableextended.rb
|
123
|
+
- lib/rbcurse/extras/tabular.rb
|
124
|
+
- lib/rbcurse/extras/tabularwidget.rb
|
125
|
+
- lib/rbcurse/extras/viewer.rb
|
95
126
|
- lib/rbcurse/io.rb
|
96
127
|
- lib/rbcurse/keylabelprinter.rb
|
97
128
|
- lib/rbcurse/listcellrenderer.rb
|
@@ -101,41 +132,58 @@ files:
|
|
101
132
|
- lib/rbcurse/listselectable.rb
|
102
133
|
- lib/rbcurse/mapper.rb
|
103
134
|
- lib/rbcurse/orderedhash.rb
|
135
|
+
- lib/rbcurse/ractionevent.rb
|
136
|
+
- lib/rbcurse/rbasiclistbox.rb
|
104
137
|
- lib/rbcurse/rchangeevent.rb
|
105
138
|
- lib/rbcurse/rcombo.rb
|
139
|
+
- lib/rbcurse/rcommandwindow.rb
|
106
140
|
- lib/rbcurse/rdialogs.rb
|
107
|
-
- lib/rbcurse/rform.rb
|
108
141
|
- lib/rbcurse/rinputdataevent.rb
|
109
142
|
- lib/rbcurse/rlistbox.rb
|
110
143
|
- lib/rbcurse/rmenu.rb
|
111
144
|
- lib/rbcurse/rmessagebox.rb
|
112
145
|
- lib/rbcurse/rmulticontainer.rb
|
146
|
+
- lib/rbcurse/rmultisplit.rb
|
113
147
|
- lib/rbcurse/rmultitextview.rb
|
114
148
|
- lib/rbcurse/rpopupmenu.rb
|
149
|
+
- lib/rbcurse/rprogress.rb
|
115
150
|
- lib/rbcurse/rscrollform.rb
|
116
151
|
- lib/rbcurse/rscrollpane.rb
|
117
152
|
- lib/rbcurse/rsplitpane.rb
|
153
|
+
- lib/rbcurse/rsplitpane2.rb
|
118
154
|
- lib/rbcurse/rtabbedpane.rb
|
119
155
|
- lib/rbcurse/rtabbedwindow.rb
|
120
156
|
- lib/rbcurse/rtable.rb
|
121
157
|
- lib/rbcurse/rtextarea.rb
|
122
158
|
- lib/rbcurse/rtextview.rb
|
159
|
+
- lib/rbcurse/rtree.rb
|
123
160
|
- lib/rbcurse/rviewport.rb
|
161
|
+
- lib/rbcurse/rvimsplit.rb
|
124
162
|
- lib/rbcurse/rwidget.rb
|
125
163
|
- lib/rbcurse/scrollable.rb
|
126
|
-
- lib/rbcurse/selectable.rb
|
127
164
|
- lib/rbcurse/table/tablecellrenderer.rb
|
128
165
|
- lib/rbcurse/table/tabledatecellrenderer.rb
|
166
|
+
- lib/rbcurse/tree/treecellrenderer.rb
|
167
|
+
- lib/rbcurse/tree/treemodel.rb
|
129
168
|
- lib/rbcurse/undomanager.rb
|
130
169
|
- lib/rbcurse/vieditable.rb
|
131
170
|
- lib/ver/keyboard.rb
|
132
171
|
- lib/ver/keyboard2.rb
|
133
172
|
- lib/ver/ncurses.rb
|
134
173
|
- lib/ver/window.rb
|
135
|
-
- rbcurse.gemspec
|
136
174
|
- test/test_rbcurse.rb
|
175
|
+
- examples/app.rb
|
176
|
+
- examples/appcombo.rb
|
177
|
+
- examples/appgcompose.rb
|
137
178
|
- examples/cdir/testmultispl.rb
|
138
|
-
- examples/
|
179
|
+
- examples/focusmanager.rb
|
180
|
+
- examples/imap.rb
|
181
|
+
- examples/s.rb
|
182
|
+
- examples/scrollbar.rb
|
183
|
+
- examples/term.rb
|
184
|
+
- examples/testapp.rb
|
185
|
+
- examples/testapp2.rb
|
186
|
+
- examples/testgmail.rb
|
139
187
|
has_rdoc: true
|
140
188
|
homepage: http://rbcurse.rubyforge.org/
|
141
189
|
licenses: []
|
@@ -156,38 +204,66 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
156
204
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
205
|
none: false
|
158
206
|
requirements:
|
159
|
-
- - "
|
207
|
+
- - ">"
|
160
208
|
- !ruby/object:Gem::Version
|
161
209
|
segments:
|
162
|
-
-
|
163
|
-
|
210
|
+
- 1
|
211
|
+
- 3
|
212
|
+
- 1
|
213
|
+
version: 1.3.1
|
164
214
|
requirements: []
|
165
215
|
|
166
|
-
rubyforge_project:
|
216
|
+
rubyforge_project: rbcurse
|
167
217
|
rubygems_version: 1.3.7
|
168
218
|
signing_key:
|
169
219
|
specification_version: 3
|
170
|
-
summary: Ruby
|
220
|
+
summary: Ruby ncurses Toolkit
|
171
221
|
test_files:
|
172
222
|
- test/test_rbcurse.rb
|
223
|
+
- examples/abasiclist.rb
|
224
|
+
- examples/alpmenu.rb
|
225
|
+
- examples/app.rb
|
226
|
+
- examples/appcombo.rb
|
227
|
+
- examples/appdirtree.rb
|
228
|
+
- examples/appemail.rb
|
229
|
+
- examples/appemaillb.rb
|
230
|
+
- examples/appgcompose.rb
|
231
|
+
- examples/appgmail.rb
|
232
|
+
- examples/atree.rb
|
173
233
|
- examples/cdir/testmultispl.rb
|
234
|
+
- examples/dirtree.rb
|
235
|
+
- examples/focusmanager.rb
|
236
|
+
- examples/imap.rb
|
174
237
|
- examples/keytest.rb
|
238
|
+
- examples/menu1.rb
|
175
239
|
- examples/mpad2.rb
|
240
|
+
- examples/multispl.rb
|
176
241
|
- examples/newtesttabp.rb
|
177
242
|
- examples/qdfilechooser.rb
|
178
243
|
- examples/rfe.rb
|
179
244
|
- examples/rfe_renderer.rb
|
180
|
-
- examples/
|
245
|
+
- examples/rmail.rb
|
246
|
+
- examples/s.rb
|
247
|
+
- examples/scrollbar.rb
|
248
|
+
- examples/splitp.rb
|
181
249
|
- examples/sqlc.rb
|
182
250
|
- examples/sqlm.rb
|
251
|
+
- examples/table1.rb
|
252
|
+
- examples/term.rb
|
253
|
+
- examples/term2.rb
|
183
254
|
- examples/test1.rb
|
184
255
|
- examples/test2.rb
|
256
|
+
- examples/testapp.rb
|
257
|
+
- examples/testapp2.rb
|
185
258
|
- examples/testchars.rb
|
186
259
|
- examples/testcombo.rb
|
260
|
+
- examples/testgmail.rb
|
187
261
|
- examples/testkeypress.rb
|
188
262
|
- examples/testlistbox.rb
|
189
263
|
- examples/testmenu.rb
|
190
264
|
- examples/testmulticomp.rb
|
265
|
+
- examples/testmultispl.rb
|
266
|
+
- examples/testree.rb
|
191
267
|
- examples/testscroller.rb
|
192
268
|
- examples/testscrolllb.rb
|
193
269
|
- examples/testscrollp.rb
|
@@ -208,5 +284,5 @@ test_files:
|
|
208
284
|
- examples/testtpane.rb
|
209
285
|
- examples/testtpane2.rb
|
210
286
|
- examples/testtpanetable.rb
|
211
|
-
- examples/
|
287
|
+
- examples/testvimsplit.rb
|
212
288
|
- examples/viewtodo.rb
|