rbhex-core 1.1.0.alpha3 → 1.1.0.alpha4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG +1 -1
- data/examples/atree.rb +1 -1
- data/examples/common/file.rb +2 -2
- data/examples/dbdemo.rb +1 -1
- data/examples/newtabbedwindow.rb +1 -1
- data/examples/newtesttabp.rb +4 -4
- data/examples/testbuttons.rb +3 -3
- data/examples/testcombo.rb +2 -2
- data/examples/testfields.rb +3 -3
- data/examples/testkeypress.rb +4 -4
- data/examples/testlistbox.rb +5 -5
- data/examples/testmessagebox.rb +4 -4
- data/examples/testprogress.rb +1 -1
- data/examples/testree.rb +3 -3
- data/examples/testwsshortcuts.rb +2 -2
- data/examples/testwsshortcuts2.rb +3 -3
- data/lib/rbhex/core/include/action.rb +2 -2
- data/lib/rbhex/core/include/actionmanager.rb +1 -1
- data/lib/rbhex/core/include/appmethods.rb +4 -4
- data/lib/rbhex/core/include/bordertitle.rb +6 -6
- data/lib/rbhex/core/include/chunk.rb +1 -1
- data/lib/rbhex/core/include/io.rb +2 -2
- data/lib/rbhex/core/include/listbindings.rb +2 -2
- data/lib/rbhex/core/include/listcellrenderer.rb +3 -3
- data/lib/rbhex/core/include/listscrollable.rb +1 -1
- data/lib/rbhex/core/include/listselectable.rb +13 -13
- data/lib/rbhex/core/include/multibuffer.rb +5 -5
- data/lib/rbhex/core/include/ractionevent.rb +4 -4
- data/lib/rbhex/core/include/rchangeevent.rb +3 -3
- data/lib/rbhex/core/include/rhistory.rb +1 -1
- data/lib/rbhex/core/include/rinputdataevent.rb +6 -6
- data/lib/rbhex/core/include/vieditable.rb +1 -1
- data/lib/rbhex/core/include/widgetmenu.rb +1 -1
- data/lib/rbhex/core/system/colormap.rb +1 -1
- data/lib/rbhex/core/system/ncurses.rb +1 -1
- data/lib/rbhex/core/system/window.rb +1 -1
- data/lib/rbhex/core/util/ansiparser.rb +1 -1
- data/lib/rbhex/core/util/app.rb +7 -7
- data/lib/rbhex/core/util/basestack.rb +20 -20
- data/lib/rbhex/core/util/bottomline.rb +2 -2
- data/lib/rbhex/core/util/colorparser.rb +1 -1
- data/lib/rbhex/core/util/focusmanager.rb +1 -1
- data/lib/rbhex/core/util/padreader.rb +2 -2
- data/lib/rbhex/core/util/rcommandwindow.rb +2 -2
- data/lib/rbhex/core/util/rdialogs.rb +7 -7
- data/lib/rbhex/core/util/viewer.rb +5 -5
- data/lib/rbhex/core/util/widgetshortcuts.rb +3 -3
- data/lib/rbhex/core/version.rb +1 -1
- data/lib/rbhex/core/widgets/applicationheader.rb +2 -2
- data/lib/rbhex/core/widgets/box.rb +3 -3
- data/lib/rbhex/core/widgets/divider.rb +2 -2
- data/lib/rbhex/core/widgets/keylabelprinter.rb +2 -2
- data/lib/rbhex/core/widgets/rcombo.rb +5 -5
- data/lib/rbhex/core/widgets/rcontainer.rb +2 -2
- data/lib/rbhex/core/widgets/rlink.rb +1 -1
- data/lib/rbhex/core/widgets/rlist.rb +1 -1
- data/lib/rbhex/core/widgets/rmenu.rb +15 -15
- data/lib/rbhex/core/widgets/rmenulink.rb +1 -1
- data/lib/rbhex/core/widgets/rmessagebox.rb +6 -6
- data/lib/rbhex/core/widgets/rprogress.rb +2 -2
- data/lib/rbhex/core/widgets/rtabbedpane.rb +3 -3
- data/lib/rbhex/core/widgets/rtabbedwindow.rb +2 -2
- data/lib/rbhex/core/widgets/rtextarea.rb +2 -2
- data/lib/rbhex/core/widgets/rtextview.rb +3 -3
- data/lib/rbhex/core/widgets/rtree.rb +6 -6
- data/lib/rbhex/core/widgets/rwidget.rb +12 -12
- data/lib/rbhex/core/widgets/scrollbar.rb +2 -2
- data/lib/rbhex/core/widgets/statusline.rb +1 -1
- data/lib/rbhex/core/widgets/tabular.rb +32 -32
- data/lib/rbhex/core/widgets/tabularwidget.rb +3 -3
- data/lib/rbhex/core/widgets/textpad.rb +3 -3
- data/lib/rbhex/core/widgets/tree/treecellrenderer.rb +3 -3
- data/lib/rbhex/core/widgets/tree/treemodel.rb +3 -3
- metadata +11 -11
@@ -35,8 +35,8 @@ require 'rbhex/core/widgets/tabular'
|
|
35
35
|
require 'rbhex/core/include/listselectable'
|
36
36
|
require 'rbhex/core/include/bordertitle'
|
37
37
|
|
38
|
-
#include
|
39
|
-
module
|
38
|
+
#include Rbhex
|
39
|
+
module Rbhex
|
40
40
|
extend self
|
41
41
|
# used when firing a column resize, so calling application can perhaps
|
42
42
|
# resize other columns.
|
@@ -174,7 +174,7 @@ module RubyCurses
|
|
174
174
|
# NOTE: why doesn't set_content take in columns
|
175
175
|
# @param [Array / Tabular] data to be displayed
|
176
176
|
def set_content list, columns=nil
|
177
|
-
if list.is_a?
|
177
|
+
if list.is_a? Rbhex::Tabular
|
178
178
|
@list = list
|
179
179
|
elsif list.is_a? Array
|
180
180
|
@list = list
|
@@ -26,8 +26,8 @@
|
|
26
26
|
require 'rbhex/core'
|
27
27
|
require 'rbhex/core/include/bordertitle'
|
28
28
|
|
29
|
-
include
|
30
|
-
module
|
29
|
+
include Rbhex
|
30
|
+
module Rbhex
|
31
31
|
extend self
|
32
32
|
class TextPad < Widget
|
33
33
|
include BorderTitle
|
@@ -408,7 +408,7 @@ module RubyCurses
|
|
408
408
|
def _convert_formatted
|
409
409
|
if @formatted_text
|
410
410
|
|
411
|
-
l =
|
411
|
+
l = Rbhex::Utils.parse_formatted_text(@color_parser,
|
412
412
|
@formatted_text)
|
413
413
|
|
414
414
|
text(l)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# 2010-09-18 15:35
|
2
2
|
require 'rbhex/core'
|
3
3
|
require 'rbhex/core/widgets/rwidget'
|
4
|
-
module
|
4
|
+
module Rbhex
|
5
5
|
|
6
6
|
##
|
7
7
|
# This is a basic list cell renderer that will render the to_s value of anything.
|
@@ -11,8 +11,8 @@ module RubyCurses
|
|
11
11
|
PLUS_PLUS = "++"
|
12
12
|
PLUS_MINUS = "+-"
|
13
13
|
PLUS_Q = "+?"
|
14
|
-
include
|
15
|
-
include
|
14
|
+
include Rbhex::ConfigSetup
|
15
|
+
include Rbhex::Utils
|
16
16
|
dsl_accessor :justify # :right, :left, :center # added 2008-12-22 19:02
|
17
17
|
dsl_accessor :display_length # please give this to ensure the we only print this much
|
18
18
|
dsl_accessor :height # if you want a multiline label.
|
@@ -3,12 +3,12 @@
|
|
3
3
|
# Created on: Fri Sep 17 20:03:10 IST 2010
|
4
4
|
require 'rbhex/core'
|
5
5
|
|
6
|
-
module
|
6
|
+
module Rbhex
|
7
7
|
class IllegalStateException < Exception
|
8
8
|
end
|
9
9
|
|
10
10
|
class DefaultTreeModel #< TreeModel
|
11
|
-
include
|
11
|
+
include Rbhex::EventHandler
|
12
12
|
attr_reader :asks_allow_children
|
13
13
|
attr_accessor :root_visible
|
14
14
|
def initialize node=nil, asks_allow_children=false, &block
|
@@ -395,7 +395,7 @@ if $0 == __FILE__
|
|
395
395
|
$log = Logger.new("rbc13.log")
|
396
396
|
$log.level = Logger::DEBUG
|
397
397
|
|
398
|
-
include
|
398
|
+
include Rbhex
|
399
399
|
root = TreeNode.new "ROOT"
|
400
400
|
subroot = TreeNode.new "subroot"
|
401
401
|
leaf1 = TreeNode.new "leaf 1"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbhex-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.0.
|
4
|
+
version: 1.1.0.alpha4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Arcand
|
@@ -9,26 +9,26 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-10-
|
12
|
+
date: 2014-10-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ffi-ncurses
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - ~>
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '0.4'
|
21
|
-
- -
|
21
|
+
- - '>='
|
22
22
|
- !ruby/object:Gem::Version
|
23
23
|
version: 0.4.0
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
|
-
- -
|
28
|
+
- - ~>
|
29
29
|
- !ruby/object:Gem::Version
|
30
30
|
version: '0.4'
|
31
|
-
- -
|
31
|
+
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 0.4.0
|
34
34
|
description: Ruby curses/ncurses widgets for easy application development on text
|
@@ -39,9 +39,9 @@ executables: []
|
|
39
39
|
extensions: []
|
40
40
|
extra_rdoc_files: []
|
41
41
|
files:
|
42
|
-
-
|
43
|
-
-
|
44
|
-
-
|
42
|
+
- .gitignore
|
43
|
+
- .ruby-gemset
|
44
|
+
- .ruby-version
|
45
45
|
- CHANGELOG
|
46
46
|
- LICENSE
|
47
47
|
- README.md
|
@@ -157,12 +157,12 @@ require_paths:
|
|
157
157
|
- lib
|
158
158
|
required_ruby_version: !ruby/object:Gem::Requirement
|
159
159
|
requirements:
|
160
|
-
- -
|
160
|
+
- - '>='
|
161
161
|
- !ruby/object:Gem::Version
|
162
162
|
version: '0'
|
163
163
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
164
164
|
requirements:
|
165
|
-
- -
|
165
|
+
- - '>'
|
166
166
|
- !ruby/object:Gem::Version
|
167
167
|
version: 1.3.1
|
168
168
|
requirements: []
|