htmlgrid 1.0.7 → 1.0.8
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 +7 -0
- data/History.txt +8 -1
- data/Manifest.txt +1 -1
- data/lib/htmlgrid/component.rb +3 -11
- data/lib/htmlgrid/composite.rb +5 -5
- data/lib/htmlgrid/divcomposite.rb +1 -1
- data/lib/htmlgrid/dojotoolkit.rb +2 -6
- data/lib/htmlgrid/form.rb +1 -5
- data/lib/htmlgrid/grid.rb +9 -8
- data/lib/htmlgrid/link.rb +1 -1
- data/lib/htmlgrid/richtext.rb +1 -1
- data/lib/htmlgrid/spancomposite.rb +1 -1
- data/lib/htmlgrid/template.rb +1 -0
- data/lib/htmlgrid/ulcomposite.rb +1 -1
- data/lib/htmlgrid/version.rb +5 -0
- data/test/rebuild.rb +0 -0
- data/{ext/htmlgrid/extconf.rb → test/suite.rb} +10 -11
- data/test/test_add_row.rb +75 -0
- data/test/test_component.rb +7 -17
- data/test/test_composite.rb +33 -20
- data/test/test_datevalue.rb +2 -2
- data/test/test_form.rb +16 -15
- data/test/test_formlist.rb +11 -10
- data/test/test_grid.rb +10 -22
- data/test/test_input.rb +8 -7
- data/test/test_interaction_list.rb +257 -0
- data/test/test_label.rb +5 -14
- data/test/test_list.rb +3 -5
- data/test/test_select.rb +15 -8
- data/test/test_template.rb +15 -15
- data/test/test_text.rb +2 -2
- metadata +117 -74
- data/.gemtest +0 -0
- data/.gitignore +0 -3
- data/.travis.yml +0 -28
- data/COPYING +0 -515
- data/Gemfile +0 -20
- data/Gemfile.lock +0 -50
- data/README.txt +0 -31
- data/Rakefile +0 -52
- data/ext/htmlgrid/MANIFEST +0 -3
- data/ext/htmlgrid/grid.c +0 -899
- data/ext/htmlgrid/htmlgrid.c +0 -30
- data/ext/htmlgrid/include/grid.h +0 -79
- data/ext/htmlgrid/include/htmlgrid.h +0 -33
- data/htmlgrid.gemspec +0 -16
- data/install.rb +0 -1098
- data/usage-en.txt +0 -112
- data/widget/Tooltip.js +0 -85
data/usage-en.txt
DELETED
@@ -1,112 +0,0 @@
|
|
1
|
-
Installing Programs with install.rb / setup.rb
|
2
|
-
==============================================
|
3
|
-
|
4
|
-
Overview
|
5
|
-
--------
|
6
|
-
|
7
|
-
Type these lines on command line:
|
8
|
-
("#" line may require root privilege)
|
9
|
-
|
10
|
-
$ ruby install.rb config
|
11
|
-
$ ruby install.rb setup
|
12
|
-
# ruby install.rb install
|
13
|
-
|
14
|
-
|
15
|
-
There's no difference in a usage between install.rb
|
16
|
-
and setup.rb.
|
17
|
-
|
18
|
-
$ ruby setup.rb config
|
19
|
-
$ ruby setup.rb setup
|
20
|
-
# ruby setup.rb install
|
21
|
-
|
22
|
-
|
23
|
-
Details
|
24
|
-
-------
|
25
|
-
|
26
|
-
Usage of install.rb/setup.rb is:
|
27
|
-
|
28
|
-
ruby install.rb <global options>
|
29
|
-
ruby install.rb [<global options>] <task> [<task options>]
|
30
|
-
|
31
|
-
|
32
|
-
-q,--quiet
|
33
|
-
suppress message outputs
|
34
|
-
--verbose
|
35
|
-
output messages verbosely (default)
|
36
|
-
-h,--help
|
37
|
-
prints help and quit
|
38
|
-
-v,--version
|
39
|
-
prints version and quit
|
40
|
-
--copyright
|
41
|
-
prints copyright and quit
|
42
|
-
|
43
|
-
These are acceptable tasks:
|
44
|
-
config
|
45
|
-
saves configurations
|
46
|
-
show
|
47
|
-
prints current configurations
|
48
|
-
setup
|
49
|
-
compiles extentions
|
50
|
-
install
|
51
|
-
installs files
|
52
|
-
clean
|
53
|
-
cleans created files
|
54
|
-
|
55
|
-
Task Options for Config
|
56
|
-
-----------------------
|
57
|
-
|
58
|
-
--prefix=PATH
|
59
|
-
a prefix of the installing directory path
|
60
|
-
--std-ruby=PATH
|
61
|
-
the directory for standard ruby libraries
|
62
|
-
--site-ruby-common=PATH
|
63
|
-
the directory for version-independent non-standard
|
64
|
-
ruby libraries
|
65
|
-
--site-ruby=PATH
|
66
|
-
the directory for non-standard ruby libraries
|
67
|
-
--bin-dir=PATH
|
68
|
-
the directory for commands
|
69
|
-
--rb-dir=PATH
|
70
|
-
the directory for ruby scripts
|
71
|
-
--so-dir=PATH
|
72
|
-
the directory for ruby extentions
|
73
|
-
--data-dir=PATH
|
74
|
-
the directory for shared data
|
75
|
-
--ruby-path=PATH
|
76
|
-
path to set to #! line
|
77
|
-
--ruby-prog=PATH
|
78
|
-
the ruby program using for installation
|
79
|
-
--make-prog=NAME
|
80
|
-
the make program to compile ruby extentions
|
81
|
-
--without-ext
|
82
|
-
forces to install.rb never to compile/install
|
83
|
-
ruby extentions.
|
84
|
-
--rbconfig=PATH
|
85
|
-
your rbconfig.rb to load
|
86
|
-
|
87
|
-
You can view default values of these options by typing
|
88
|
-
|
89
|
-
$ ruby install.rb --help
|
90
|
-
|
91
|
-
|
92
|
-
In addition, setup.rb accepts these options:
|
93
|
-
--with=NAME,NAME,NAME...
|
94
|
-
package names which you want to install
|
95
|
-
--without=NAME,NAME,NAME...
|
96
|
-
package names which you do not want to install
|
97
|
-
|
98
|
-
[NOTE] You can pass options for extconf.rb like this:
|
99
|
-
|
100
|
-
ruby install.rb config -- --with-tklib=/usr/lib/libtk-ja.so.8.0
|
101
|
-
|
102
|
-
|
103
|
-
Task Options for Install
|
104
|
-
------------------------
|
105
|
-
|
106
|
-
--no-harm
|
107
|
-
prints what to do and done nothing really.
|
108
|
-
--prefix=PATH
|
109
|
-
a prefix of the installing directory path.
|
110
|
-
This option may help binary package maintainers.
|
111
|
-
A default value is an empty string.
|
112
|
-
|
data/widget/Tooltip.js
DELETED
@@ -1,85 +0,0 @@
|
|
1
|
-
dojo.provide("ywesee.widget.Tooltip");
|
2
|
-
|
3
|
-
dojo.require("dijit.Tooltip");
|
4
|
-
dojo.require("dijit.layout.ContentPane");
|
5
|
-
|
6
|
-
dojo.declare(
|
7
|
-
"ywesee.widget.Tooltip",
|
8
|
-
[dijit.Tooltip],
|
9
|
-
{
|
10
|
-
href: null,
|
11
|
-
contentPane: null,
|
12
|
-
_contentNode: null,
|
13
|
-
_hoverContent: false,
|
14
|
-
_handle1: null,
|
15
|
-
_handle2: null,
|
16
|
-
_handle3: null,
|
17
|
-
_handle4: null,
|
18
|
-
_hideTimer: null,
|
19
|
-
|
20
|
-
open: function(){
|
21
|
-
//if(this.isShowingNow) { return; }
|
22
|
-
|
23
|
-
if(!dijit._masterTT){
|
24
|
-
dijit._masterTT=new dijit._MasterTooltip();
|
25
|
-
}
|
26
|
-
|
27
|
-
this._contentNode = dijit._masterTT.domNode;
|
28
|
-
if(this.href && (!this.contentPane)) {
|
29
|
-
this.domNode = document.createElement("div");
|
30
|
-
this.contentPane = new dijit.layout.ContentPane({href:this.href}, this.domNode);
|
31
|
-
this.connect(this.contentPane, 'onLoad', 'onLoad');
|
32
|
-
this.contentPane.startup();
|
33
|
-
}
|
34
|
-
this._handle1 = dojo.connect(this._contentNode, 'onmouseover', this, 'onHoverContent');
|
35
|
-
this._handle2 = dojo.connect(this._contentNode, 'onhover', this, 'onHoverContent');
|
36
|
-
this._handle3 = dojo.connect(this._contentNode, 'onmouseout', this, 'onUnHoverContent');
|
37
|
-
this._handle4 = dojo.connect(this._contentNode, 'onunhover', this, 'onUnHoverContent');
|
38
|
-
this.inherited("open", arguments);
|
39
|
-
},
|
40
|
-
|
41
|
-
close: function(){
|
42
|
-
dojo.disconnect(this._handle1);
|
43
|
-
dojo.disconnect(this._handle2);
|
44
|
-
dojo.disconnect(this._handle3);
|
45
|
-
dojo.disconnect(this._handle4);
|
46
|
-
this.inherited("close", arguments);
|
47
|
-
},
|
48
|
-
|
49
|
-
onLoad: function(){
|
50
|
-
//if(this.isShowingNow){
|
51
|
-
this.close();
|
52
|
-
this.open();
|
53
|
-
//}
|
54
|
-
},
|
55
|
-
|
56
|
-
onHoverContent: function(/*Event*/ e){
|
57
|
-
this._hoverContent = true;
|
58
|
-
},
|
59
|
-
|
60
|
-
onUnHoverContent: function(/*Event*/ e){
|
61
|
-
if(dojo.isDescendant(e.relatedTarget, this._contentNode)){
|
62
|
-
// false event; just moved from target to target child; ignore.
|
63
|
-
return;
|
64
|
-
}
|
65
|
-
this._hoverContent = false;
|
66
|
-
this._onUnHover(e);
|
67
|
-
},
|
68
|
-
|
69
|
-
_onUnHover: function(/*Event*/ e){
|
70
|
-
if(this._hoverContent) { return; }
|
71
|
-
this._hideTimer = setTimeout(dojo.hitch(this, "_deferredOnUnHover", arguments), 100);
|
72
|
-
},
|
73
|
-
|
74
|
-
_deferredOnUnHover: function(/*Event*/ e){
|
75
|
-
if(this._hoverContent) { return; }
|
76
|
-
|
77
|
-
if(this._showTimer){
|
78
|
-
clearTimeout(this._showTimer);
|
79
|
-
delete this._showTimer;
|
80
|
-
}else{
|
81
|
-
this.close();
|
82
|
-
}
|
83
|
-
}
|
84
|
-
}
|
85
|
-
);
|