uki 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (163) hide show
  1. data/VERSION +1 -1
  2. data/frameworks/uki/README.rdoc +6 -15
  3. data/frameworks/uki/examples/core-examples/aristo/aristo.js +59 -0
  4. data/frameworks/uki/examples/core-examples/attachment/attachment.js +18 -0
  5. data/frameworks/uki/examples/core-examples/controls/controls.js +59 -0
  6. data/frameworks/uki/examples/core-examples/dnd/dnd.js +70 -0
  7. data/frameworks/uki/examples/core-examples/flow/flow.js +41 -0
  8. data/frameworks/uki/examples/core-examples/list/list.js +78 -0
  9. data/frameworks/uki/examples/core-examples/popup/popup.js +41 -0
  10. data/frameworks/uki/examples/core-examples/resizeToContents/resizeToContents.js +34 -0
  11. data/frameworks/uki/examples/core-examples/scrollPane/scrollPane.js +28 -0
  12. data/frameworks/uki/examples/core-examples/slider/slider.js +23 -0
  13. data/frameworks/uki/examples/core-examples/splitPane/splitPane.js +35 -0
  14. data/frameworks/uki/examples/core-examples/splitPaneExtended/splitPaneExtended.js +39 -0
  15. data/frameworks/uki/examples/core-examples/stress/stress.js +33 -0
  16. data/frameworks/uki/examples/core-examples/table/library.js +1 -0
  17. data/frameworks/uki/examples/core-examples/table/searchable.js +71 -0
  18. data/frameworks/uki/examples/core-examples/table/table.js +92 -0
  19. data/frameworks/uki/examples/core-examples/toolbar/icon.png +0 -0
  20. data/frameworks/uki/examples/core-examples/toolbar/toolbar.js +44 -0
  21. data/frameworks/uki/examples/core-examples/twitter/bubble.png +0 -0
  22. data/frameworks/uki/examples/core-examples/twitter/i/bubble-c.png +0 -0
  23. data/frameworks/uki/examples/core-examples/twitter/i/bubble-h.png +0 -0
  24. data/frameworks/uki/examples/core-examples/twitter/i/bubble-m.png +0 -0
  25. data/frameworks/uki/examples/core-examples/twitter/i/bubble-v.png +0 -0
  26. data/frameworks/uki/examples/core-examples/twitter/i/loading.gif +0 -0
  27. data/frameworks/uki/examples/core-examples/twitter/tweets.json +1 -0
  28. data/frameworks/uki/examples/core-examples/twitter/twitter.js +175 -0
  29. data/frameworks/uki/examples/core-examples/wave/contacts.json +1 -0
  30. data/frameworks/uki/examples/core-examples/wave/i/body/normal-m.png +0 -0
  31. data/frameworks/uki/examples/core-examples/wave/i/body/normal.png +0 -0
  32. data/frameworks/uki/examples/core-examples/wave/i/button/a-down-m.png +0 -0
  33. data/frameworks/uki/examples/core-examples/wave/i/button/a-down-v.gif +0 -0
  34. data/frameworks/uki/examples/core-examples/wave/i/button/a-down-v.png +0 -0
  35. data/frameworks/uki/examples/core-examples/wave/i/button/a-down.png +0 -0
  36. data/frameworks/uki/examples/core-examples/wave/i/button/a-normal-m.png +0 -0
  37. data/frameworks/uki/examples/core-examples/wave/i/button/a-normal-v.gif +0 -0
  38. data/frameworks/uki/examples/core-examples/wave/i/button/a-normal-v.png +0 -0
  39. data/frameworks/uki/examples/core-examples/wave/i/button/a-normal.png +0 -0
  40. data/frameworks/uki/examples/core-examples/wave/i/button/down-m.png +0 -0
  41. data/frameworks/uki/examples/core-examples/wave/i/button/down-v.gif +0 -0
  42. data/frameworks/uki/examples/core-examples/wave/i/button/down-v.png +0 -0
  43. data/frameworks/uki/examples/core-examples/wave/i/button/down.png +0 -0
  44. data/frameworks/uki/examples/core-examples/wave/i/button/normal-m.png +0 -0
  45. data/frameworks/uki/examples/core-examples/wave/i/button/normal-v.gif +0 -0
  46. data/frameworks/uki/examples/core-examples/wave/i/button/normal-v.png +0 -0
  47. data/frameworks/uki/examples/core-examples/wave/i/button/normal.png +0 -0
  48. data/frameworks/uki/examples/core-examples/wave/i/button/plus-big-down-m.gif +0 -0
  49. data/frameworks/uki/examples/core-examples/wave/i/button/plus-big-down-m.png +0 -0
  50. data/frameworks/uki/examples/core-examples/wave/i/button/plus-big-down.png +0 -0
  51. data/frameworks/uki/examples/core-examples/wave/i/button/plus-big-normal-m.gif +0 -0
  52. data/frameworks/uki/examples/core-examples/wave/i/button/plus-big-normal-m.png +0 -0
  53. data/frameworks/uki/examples/core-examples/wave/i/button/plus-big-normal.png +0 -0
  54. data/frameworks/uki/examples/core-examples/wave/i/button/plus-down-m.gif +0 -0
  55. data/frameworks/uki/examples/core-examples/wave/i/button/plus-down-m.png +0 -0
  56. data/frameworks/uki/examples/core-examples/wave/i/button/plus-down.png +0 -0
  57. data/frameworks/uki/examples/core-examples/wave/i/button/plus-normal-m.gif +0 -0
  58. data/frameworks/uki/examples/core-examples/wave/i/button/plus-normal-m.png +0 -0
  59. data/frameworks/uki/examples/core-examples/wave/i/button/plus-normal.png +0 -0
  60. data/frameworks/uki/examples/core-examples/wave/i/button/search-button-normal-m.png +0 -0
  61. data/frameworks/uki/examples/core-examples/wave/i/button/search-button-normal.png +0 -0
  62. data/frameworks/uki/examples/core-examples/wave/i/button/toolbar-button-down-m.png +0 -0
  63. data/frameworks/uki/examples/core-examples/wave/i/button/toolbar-button-down.png +0 -0
  64. data/frameworks/uki/examples/core-examples/wave/i/button/toolbar-button-normal-v.gif +0 -0
  65. data/frameworks/uki/examples/core-examples/wave/i/button/toolbar-button-normal-v.png +0 -0
  66. data/frameworks/uki/examples/core-examples/wave/i/button/toolbar-button-normal.png +0 -0
  67. data/frameworks/uki/examples/core-examples/wave/i/icons-c/drawer.png +0 -0
  68. data/frameworks/uki/examples/core-examples/wave/i/icons-c/inbox.png +0 -0
  69. data/frameworks/uki/examples/core-examples/wave/i/icons-c/pencil.png +0 -0
  70. data/frameworks/uki/examples/core-examples/wave/i/icons-c/skeleton.png +0 -0
  71. data/frameworks/uki/examples/core-examples/wave/i/icons-c/trash.png +0 -0
  72. data/frameworks/uki/examples/core-examples/wave/i/icons-c/who.png +0 -0
  73. data/frameworks/uki/examples/core-examples/wave/i/icons/blue.png +0 -0
  74. data/frameworks/uki/examples/core-examples/wave/i/icons/dots.png +0 -0
  75. data/frameworks/uki/examples/core-examples/wave/i/icons/download.png +0 -0
  76. data/frameworks/uki/examples/core-examples/wave/i/icons/drawer.png +0 -0
  77. data/frameworks/uki/examples/core-examples/wave/i/icons/eye-closed.png +0 -0
  78. data/frameworks/uki/examples/core-examples/wave/i/icons/eye.png +0 -0
  79. data/frameworks/uki/examples/core-examples/wave/i/icons/folder.png +0 -0
  80. data/frameworks/uki/examples/core-examples/wave/i/icons/nosound.png +0 -0
  81. data/frameworks/uki/examples/core-examples/wave/i/icons/play.png +0 -0
  82. data/frameworks/uki/examples/core-examples/wave/i/icons/reply.png +0 -0
  83. data/frameworks/uki/examples/core-examples/wave/i/icons/skeleton.png +0 -0
  84. data/frameworks/uki/examples/core-examples/wave/i/icons/sprite-m.gif +0 -0
  85. data/frameworks/uki/examples/core-examples/wave/i/icons/sprite-m.png +0 -0
  86. data/frameworks/uki/examples/core-examples/wave/i/icons/sprite.png +0 -0
  87. data/frameworks/uki/examples/core-examples/wave/i/icons/trash.png +0 -0
  88. data/frameworks/uki/examples/core-examples/wave/i/icons/unknown.png +0 -0
  89. data/frameworks/uki/examples/core-examples/wave/i/panel/blue-c.gif +0 -0
  90. data/frameworks/uki/examples/core-examples/wave/i/panel/blue-c.png +0 -0
  91. data/frameworks/uki/examples/core-examples/wave/i/panel/blue-h.gif +0 -0
  92. data/frameworks/uki/examples/core-examples/wave/i/panel/blue-h.png +0 -0
  93. data/frameworks/uki/examples/core-examples/wave/i/panel/blue-m.png +0 -0
  94. data/frameworks/uki/examples/core-examples/wave/i/panel/blue-v.gif +0 -0
  95. data/frameworks/uki/examples/core-examples/wave/i/panel/blue-v.png +0 -0
  96. data/frameworks/uki/examples/core-examples/wave/i/panel/blue.png +0 -0
  97. data/frameworks/uki/examples/core-examples/wave/i/panel/white-c.gif +0 -0
  98. data/frameworks/uki/examples/core-examples/wave/i/panel/white-c.png +0 -0
  99. data/frameworks/uki/examples/core-examples/wave/i/panel/white-h.gif +0 -0
  100. data/frameworks/uki/examples/core-examples/wave/i/panel/white-h.png +0 -0
  101. data/frameworks/uki/examples/core-examples/wave/i/panel/white-m.png +0 -0
  102. data/frameworks/uki/examples/core-examples/wave/i/panel/white-v.gif +0 -0
  103. data/frameworks/uki/examples/core-examples/wave/i/panel/white-v.png +0 -0
  104. data/frameworks/uki/examples/core-examples/wave/i/panel/white.png +0 -0
  105. data/frameworks/uki/examples/core-examples/wave/i/popup/normal-c.gif +0 -0
  106. data/frameworks/uki/examples/core-examples/wave/i/popup/normal-c.png +0 -0
  107. data/frameworks/uki/examples/core-examples/wave/i/popup/normal-h.gif +0 -0
  108. data/frameworks/uki/examples/core-examples/wave/i/popup/normal-h.png +0 -0
  109. data/frameworks/uki/examples/core-examples/wave/i/popup/normal-m.png +0 -0
  110. data/frameworks/uki/examples/core-examples/wave/i/popup/normal-v.gif +0 -0
  111. data/frameworks/uki/examples/core-examples/wave/i/popup/normal-v.png +0 -0
  112. data/frameworks/uki/examples/core-examples/wave/i/popup/normal.png +0 -0
  113. data/frameworks/uki/examples/core-examples/wave/i/searchField/focus-m.png +0 -0
  114. data/frameworks/uki/examples/core-examples/wave/i/searchField/focus-v.gif +0 -0
  115. data/frameworks/uki/examples/core-examples/wave/i/searchField/focus-v.png +0 -0
  116. data/frameworks/uki/examples/core-examples/wave/i/searchField/focus.png +0 -0
  117. data/frameworks/uki/examples/core-examples/wave/i/searchField/normal-m.png +0 -0
  118. data/frameworks/uki/examples/core-examples/wave/i/searchField/normal-v.gif +0 -0
  119. data/frameworks/uki/examples/core-examples/wave/i/searchField/normal-v.png +0 -0
  120. data/frameworks/uki/examples/core-examples/wave/i/searchField/normal.png +0 -0
  121. data/frameworks/uki/examples/core-examples/wave/i/toolbar/normal-m.png +0 -0
  122. data/frameworks/uki/examples/core-examples/wave/i/toolbar/normal.png +0 -0
  123. data/frameworks/uki/examples/core-examples/wave/voloko.jpg +0 -0
  124. data/frameworks/uki/examples/core-examples/wave/wave-theme.js +269 -0
  125. data/frameworks/uki/examples/core-examples/wave/wave.html +29 -0
  126. data/frameworks/uki/examples/core-examples/wave/wave.js +102 -0
  127. data/frameworks/uki/examples/core-examples/wave/waves.json +1 -0
  128. data/frameworks/uki/examples/css/examples.css +23 -0
  129. data/frameworks/uki/examples/css/index.css +0 -0
  130. data/frameworks/uki/examples/css/reset.css +43 -0
  131. data/frameworks/uki/examples/more-examples/radioButton/radioButton.js +17 -0
  132. data/frameworks/uki/examples/more-examples/splitTable/library.js +1 -0
  133. data/frameworks/uki/examples/more-examples/splitTable/searchable.js +71 -0
  134. data/frameworks/uki/examples/more-examples/splitTable/splitTable.js +98 -0
  135. data/frameworks/uki/examples/more-examples/toggleButton/toggleButton.js +14 -0
  136. data/frameworks/uki/examples/more-examples/treeList/i/arrows.png +0 -0
  137. data/frameworks/uki/examples/more-examples/treeList/treeList.js +35 -0
  138. data/frameworks/uki/examples/views/example.haml +8 -0
  139. data/frameworks/uki/examples/views/exampleList.haml +24 -0
  140. data/frameworks/uki/server.rb +84 -0
  141. data/frameworks/uki/spec/support/spec.helper.js +37 -1
  142. data/frameworks/uki/src/uki-core/background/cssBox.js +1 -1
  143. data/frameworks/uki/src/uki-core/builder.js +15 -10
  144. data/frameworks/uki/src/uki-core/dom/dnd.js +2 -1
  145. data/frameworks/uki/src/uki-core/uki.js +1 -1
  146. data/frameworks/uki/src/uki-core/utils.js +10 -3
  147. data/frameworks/uki/src/uki-core/view/base.js +2 -2
  148. data/frameworks/uki/src/uki-theme/airport.js +14 -0
  149. data/frameworks/uki/src/uki-view/view/button.js +4 -6
  150. data/frameworks/uki/src/uki-view/view/label.js +3 -3
  151. data/frameworks/uki/src/uki-view/view/list.js +26 -16
  152. data/frameworks/uki/src/uki-view/view/slider.js +3 -3
  153. data/frameworks/uki/src/uki-view/view/splitPane.js +1 -1
  154. data/frameworks/uki/src/uki-view/view/table.js +3 -3
  155. data/frameworks/uki/src/uki-view/view/table/column.js +1 -1
  156. data/frameworks/uki/src/uki-view/view/textField.js +18 -7
  157. data/uki.gemspec +139 -6
  158. metadata +140 -7
  159. data/frameworks/uki/compiler.jar +0 -0
  160. data/frameworks/uki/run.rb +0 -2
  161. data/frameworks/uki/thin.yaml +0 -11
  162. data/frameworks/uki/uki.rb +0 -38
  163. data/frameworks/uki/uki.ru +0 -2
@@ -3,18 +3,18 @@ include('list.js');
3
3
  uki.view.table = {};
4
4
 
5
5
  uki.view.declare('uki.view.Table', uki.view.Container, function(Base) {
6
- var propertiesToDelegate = 'rowHeight data packSize visibleRectExt render selectedIndex selectedIndexes selectedRows focus blur hasFocus lastClickIndex focusable textSelectable multiselect'.split(' ');
6
+ var propertiesToDelegate = 'rowHeight data packSize visibleRectExt render selectedIndex selectedIndexes selectedRows selectedRow focus blur hasFocus lastClickIndex focusable textSelectable multiselect'.split(' ');
7
7
 
8
8
  this._rowHeight = 17;
9
9
  this._headerHeight = 17;
10
- this.defaultCss = Base.defaultCss + 'overflow:hidden;';
11
10
  this._listImpl = 'uki.view.List';
12
11
 
13
12
  uki.each(propertiesToDelegate, function(i, name) { uki.delegateProp(this, name, '_list'); }, this);
14
13
 
15
14
  this._setup = function() {
16
- this._columns = [];
17
15
  Base._setup.call(this);
16
+ this._columns = [];
17
+ this.defaultCss += 'overflow:hidden;';
18
18
  };
19
19
 
20
20
  this._style = function(name, value) {
@@ -57,7 +57,7 @@ uki.view.table.Column = uki.newClass(uki.view.Observable, new function() {
57
57
  this.render = function(row, rect, i) {
58
58
  this._prerenderedTemplate || this._prerenderTemplate(rect);
59
59
  var value = this._key ? uki.attr(row, this._key) : row[this._position];
60
- this._prerenderedTemplate[1] = this._formatter ? this._formatter(value, row) : value;
60
+ this._prerenderedTemplate[1] = this._formatter ? this._formatter(value, row, i) : value;
61
61
  return this._prerenderedTemplate.join('');
62
62
  };
63
63
 
@@ -18,7 +18,6 @@ uki.view.declare('uki.view.TextField', uki.view.Base, uki.view.Focusable, functi
18
18
  return typeof node.placeholder == 'string';
19
19
  }
20
20
 
21
-
22
21
  this._setup = function() {
23
22
  Base._setup.apply(this, arguments);
24
23
  uki.extend(this, {
@@ -26,8 +25,10 @@ uki.view.declare('uki.view.TextField', uki.view.Base, uki.view.Focusable, functi
26
25
  _multiline: false,
27
26
  _placeholder: '',
28
27
  _backgroundPrefix: '',
29
- defaultCss: Base.defaultCss + "margin:0;border:none;outline:none;padding:0;font-size:11px;left:2px;top:0;z-index:100;resize:none;background: url(" + uki.theme.imageSrc('x') + ")"
28
+ _tagName: 'input',
29
+ _type: 'text'
30
30
  });
31
+ this.defaultCss += "margin:0;border:none;outline:none;padding:0;left:2px;top:0;z-index:100;resize:none;background: url(" + uki.theme.imageSrc('x') + ");" + uki.theme.style('input');
31
32
  };
32
33
 
33
34
  this._updateBg = function() {
@@ -49,6 +50,7 @@ uki.view.declare('uki.view.TextField', uki.view.Base, uki.view.Focusable, functi
49
50
  } else {
50
51
  if (!this._placeholderDom) {
51
52
  this._placeholderDom = uki.createElement('div', this.defaultCss + 'z-input:103;color:#999;cursor:text;-moz-user-select:none;', v);
53
+ if (!this._multiline) this._placeholderDom.style.whiteSpace = 'nowrap';
52
54
  this._dom.appendChild(this._placeholderDom);
53
55
  this._updatePlaceholderVis();
54
56
  uki.each(['fontSize', 'fontFamily', 'fontWeight'], function(i, name) {
@@ -64,7 +66,6 @@ uki.view.declare('uki.view.TextField', uki.view.Base, uki.view.Focusable, functi
64
66
  }
65
67
  }
66
68
  });
67
-
68
69
 
69
70
  this._style = function(name, value) {
70
71
  if (value === undefined) return this._input.style[name];
@@ -80,11 +81,11 @@ uki.view.declare('uki.view.TextField', uki.view.Base, uki.view.Focusable, functi
80
81
  };
81
82
 
82
83
  this._createDom = function() {
83
- var tagName = this._multiline ? 'textarea' : 'input';
84
84
  this._dom = uki.createElement('div', Base.defaultCss + ';cursor:text;overflow:visible');
85
- this._input = uki.createElement(tagName, this.defaultCss + (this._multiline ? '' : ';overflow:hidden;'));
85
+ this._input = uki.createElement(this._tagName, this.defaultCss + (this._multiline ? '' : ';overflow:hidden;'));
86
86
 
87
87
  this._input.value = this._value;
88
+ if (this._type) this._input.type = this._type;
88
89
  this._dom.appendChild(this._input);
89
90
 
90
91
  this._input.value = this.value();
@@ -93,7 +94,7 @@ uki.view.declare('uki.view.TextField', uki.view.Base, uki.view.Focusable, functi
93
94
  this.bind('mousedown', function(e) {
94
95
  if (e.target == this._input) return;
95
96
  this.focus();
96
- })
97
+ });
97
98
  };
98
99
 
99
100
  this._layoutDom = function(rect) {
@@ -139,6 +140,16 @@ uki.view.declare('uki.view.TextField', uki.view.Base, uki.view.Focusable, functi
139
140
  uki.view.declare('uki.view.MultilineTextField', uki.view.TextField, function(Base) {
140
141
  this._setup = function() {
141
142
  Base._setup.call(this);
143
+ this._tagName = 'textarea';
144
+ this._type = '';
142
145
  this._multiline = true;
143
146
  };
144
- });
147
+ });
148
+
149
+ uki.view.declare('uki.view.PasswordTextField', uki.view.TextField, function(Base) {
150
+ this._setup = function() {
151
+ Base._setup.call(this);
152
+ this._type = 'password';
153
+ };
154
+ });
155
+
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{uki}
8
- s.version = "1.1.0"
8
+ s.version = "1.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Vladimir Kolesnikov"]
@@ -39,8 +39,144 @@ Gem::Specification.new do |s|
39
39
  "frameworks/jspec/lib/jspec.timers.js",
40
40
  "frameworks/jspec/lib/jspec.xhr.js",
41
41
  "frameworks/uki/README.rdoc",
42
- "frameworks/uki/compiler.jar",
43
- "frameworks/uki/run.rb",
42
+ "frameworks/uki/examples/core-examples/aristo/aristo.js",
43
+ "frameworks/uki/examples/core-examples/attachment/attachment.js",
44
+ "frameworks/uki/examples/core-examples/controls/controls.js",
45
+ "frameworks/uki/examples/core-examples/dnd/dnd.js",
46
+ "frameworks/uki/examples/core-examples/flow/flow.js",
47
+ "frameworks/uki/examples/core-examples/list/list.js",
48
+ "frameworks/uki/examples/core-examples/popup/popup.js",
49
+ "frameworks/uki/examples/core-examples/resizeToContents/resizeToContents.js",
50
+ "frameworks/uki/examples/core-examples/scrollPane/scrollPane.js",
51
+ "frameworks/uki/examples/core-examples/slider/slider.js",
52
+ "frameworks/uki/examples/core-examples/splitPane/splitPane.js",
53
+ "frameworks/uki/examples/core-examples/splitPaneExtended/splitPaneExtended.js",
54
+ "frameworks/uki/examples/core-examples/stress/stress.js",
55
+ "frameworks/uki/examples/core-examples/table/library.js",
56
+ "frameworks/uki/examples/core-examples/table/searchable.js",
57
+ "frameworks/uki/examples/core-examples/table/table.js",
58
+ "frameworks/uki/examples/core-examples/toolbar/icon.png",
59
+ "frameworks/uki/examples/core-examples/toolbar/toolbar.js",
60
+ "frameworks/uki/examples/core-examples/twitter/bubble.png",
61
+ "frameworks/uki/examples/core-examples/twitter/i/bubble-c.png",
62
+ "frameworks/uki/examples/core-examples/twitter/i/bubble-h.png",
63
+ "frameworks/uki/examples/core-examples/twitter/i/bubble-m.png",
64
+ "frameworks/uki/examples/core-examples/twitter/i/bubble-v.png",
65
+ "frameworks/uki/examples/core-examples/twitter/i/loading.gif",
66
+ "frameworks/uki/examples/core-examples/twitter/tweets.json",
67
+ "frameworks/uki/examples/core-examples/twitter/twitter.js",
68
+ "frameworks/uki/examples/core-examples/wave/contacts.json",
69
+ "frameworks/uki/examples/core-examples/wave/i/body/normal-m.png",
70
+ "frameworks/uki/examples/core-examples/wave/i/body/normal.png",
71
+ "frameworks/uki/examples/core-examples/wave/i/button/a-down-m.png",
72
+ "frameworks/uki/examples/core-examples/wave/i/button/a-down-v.gif",
73
+ "frameworks/uki/examples/core-examples/wave/i/button/a-down-v.png",
74
+ "frameworks/uki/examples/core-examples/wave/i/button/a-down.png",
75
+ "frameworks/uki/examples/core-examples/wave/i/button/a-normal-m.png",
76
+ "frameworks/uki/examples/core-examples/wave/i/button/a-normal-v.gif",
77
+ "frameworks/uki/examples/core-examples/wave/i/button/a-normal-v.png",
78
+ "frameworks/uki/examples/core-examples/wave/i/button/a-normal.png",
79
+ "frameworks/uki/examples/core-examples/wave/i/button/down-m.png",
80
+ "frameworks/uki/examples/core-examples/wave/i/button/down-v.gif",
81
+ "frameworks/uki/examples/core-examples/wave/i/button/down-v.png",
82
+ "frameworks/uki/examples/core-examples/wave/i/button/down.png",
83
+ "frameworks/uki/examples/core-examples/wave/i/button/normal-m.png",
84
+ "frameworks/uki/examples/core-examples/wave/i/button/normal-v.gif",
85
+ "frameworks/uki/examples/core-examples/wave/i/button/normal-v.png",
86
+ "frameworks/uki/examples/core-examples/wave/i/button/normal.png",
87
+ "frameworks/uki/examples/core-examples/wave/i/button/plus-big-down-m.gif",
88
+ "frameworks/uki/examples/core-examples/wave/i/button/plus-big-down-m.png",
89
+ "frameworks/uki/examples/core-examples/wave/i/button/plus-big-down.png",
90
+ "frameworks/uki/examples/core-examples/wave/i/button/plus-big-normal-m.gif",
91
+ "frameworks/uki/examples/core-examples/wave/i/button/plus-big-normal-m.png",
92
+ "frameworks/uki/examples/core-examples/wave/i/button/plus-big-normal.png",
93
+ "frameworks/uki/examples/core-examples/wave/i/button/plus-down-m.gif",
94
+ "frameworks/uki/examples/core-examples/wave/i/button/plus-down-m.png",
95
+ "frameworks/uki/examples/core-examples/wave/i/button/plus-down.png",
96
+ "frameworks/uki/examples/core-examples/wave/i/button/plus-normal-m.gif",
97
+ "frameworks/uki/examples/core-examples/wave/i/button/plus-normal-m.png",
98
+ "frameworks/uki/examples/core-examples/wave/i/button/plus-normal.png",
99
+ "frameworks/uki/examples/core-examples/wave/i/button/search-button-normal-m.png",
100
+ "frameworks/uki/examples/core-examples/wave/i/button/search-button-normal.png",
101
+ "frameworks/uki/examples/core-examples/wave/i/button/toolbar-button-down-m.png",
102
+ "frameworks/uki/examples/core-examples/wave/i/button/toolbar-button-down.png",
103
+ "frameworks/uki/examples/core-examples/wave/i/button/toolbar-button-normal-v.gif",
104
+ "frameworks/uki/examples/core-examples/wave/i/button/toolbar-button-normal-v.png",
105
+ "frameworks/uki/examples/core-examples/wave/i/button/toolbar-button-normal.png",
106
+ "frameworks/uki/examples/core-examples/wave/i/icons-c/drawer.png",
107
+ "frameworks/uki/examples/core-examples/wave/i/icons-c/inbox.png",
108
+ "frameworks/uki/examples/core-examples/wave/i/icons-c/pencil.png",
109
+ "frameworks/uki/examples/core-examples/wave/i/icons-c/skeleton.png",
110
+ "frameworks/uki/examples/core-examples/wave/i/icons-c/trash.png",
111
+ "frameworks/uki/examples/core-examples/wave/i/icons-c/who.png",
112
+ "frameworks/uki/examples/core-examples/wave/i/icons/blue.png",
113
+ "frameworks/uki/examples/core-examples/wave/i/icons/dots.png",
114
+ "frameworks/uki/examples/core-examples/wave/i/icons/download.png",
115
+ "frameworks/uki/examples/core-examples/wave/i/icons/drawer.png",
116
+ "frameworks/uki/examples/core-examples/wave/i/icons/eye-closed.png",
117
+ "frameworks/uki/examples/core-examples/wave/i/icons/eye.png",
118
+ "frameworks/uki/examples/core-examples/wave/i/icons/folder.png",
119
+ "frameworks/uki/examples/core-examples/wave/i/icons/nosound.png",
120
+ "frameworks/uki/examples/core-examples/wave/i/icons/play.png",
121
+ "frameworks/uki/examples/core-examples/wave/i/icons/reply.png",
122
+ "frameworks/uki/examples/core-examples/wave/i/icons/skeleton.png",
123
+ "frameworks/uki/examples/core-examples/wave/i/icons/sprite-m.gif",
124
+ "frameworks/uki/examples/core-examples/wave/i/icons/sprite-m.png",
125
+ "frameworks/uki/examples/core-examples/wave/i/icons/sprite.png",
126
+ "frameworks/uki/examples/core-examples/wave/i/icons/trash.png",
127
+ "frameworks/uki/examples/core-examples/wave/i/icons/unknown.png",
128
+ "frameworks/uki/examples/core-examples/wave/i/panel/blue-c.gif",
129
+ "frameworks/uki/examples/core-examples/wave/i/panel/blue-c.png",
130
+ "frameworks/uki/examples/core-examples/wave/i/panel/blue-h.gif",
131
+ "frameworks/uki/examples/core-examples/wave/i/panel/blue-h.png",
132
+ "frameworks/uki/examples/core-examples/wave/i/panel/blue-m.png",
133
+ "frameworks/uki/examples/core-examples/wave/i/panel/blue-v.gif",
134
+ "frameworks/uki/examples/core-examples/wave/i/panel/blue-v.png",
135
+ "frameworks/uki/examples/core-examples/wave/i/panel/blue.png",
136
+ "frameworks/uki/examples/core-examples/wave/i/panel/white-c.gif",
137
+ "frameworks/uki/examples/core-examples/wave/i/panel/white-c.png",
138
+ "frameworks/uki/examples/core-examples/wave/i/panel/white-h.gif",
139
+ "frameworks/uki/examples/core-examples/wave/i/panel/white-h.png",
140
+ "frameworks/uki/examples/core-examples/wave/i/panel/white-m.png",
141
+ "frameworks/uki/examples/core-examples/wave/i/panel/white-v.gif",
142
+ "frameworks/uki/examples/core-examples/wave/i/panel/white-v.png",
143
+ "frameworks/uki/examples/core-examples/wave/i/panel/white.png",
144
+ "frameworks/uki/examples/core-examples/wave/i/popup/normal-c.gif",
145
+ "frameworks/uki/examples/core-examples/wave/i/popup/normal-c.png",
146
+ "frameworks/uki/examples/core-examples/wave/i/popup/normal-h.gif",
147
+ "frameworks/uki/examples/core-examples/wave/i/popup/normal-h.png",
148
+ "frameworks/uki/examples/core-examples/wave/i/popup/normal-m.png",
149
+ "frameworks/uki/examples/core-examples/wave/i/popup/normal-v.gif",
150
+ "frameworks/uki/examples/core-examples/wave/i/popup/normal-v.png",
151
+ "frameworks/uki/examples/core-examples/wave/i/popup/normal.png",
152
+ "frameworks/uki/examples/core-examples/wave/i/searchField/focus-m.png",
153
+ "frameworks/uki/examples/core-examples/wave/i/searchField/focus-v.gif",
154
+ "frameworks/uki/examples/core-examples/wave/i/searchField/focus-v.png",
155
+ "frameworks/uki/examples/core-examples/wave/i/searchField/focus.png",
156
+ "frameworks/uki/examples/core-examples/wave/i/searchField/normal-m.png",
157
+ "frameworks/uki/examples/core-examples/wave/i/searchField/normal-v.gif",
158
+ "frameworks/uki/examples/core-examples/wave/i/searchField/normal-v.png",
159
+ "frameworks/uki/examples/core-examples/wave/i/searchField/normal.png",
160
+ "frameworks/uki/examples/core-examples/wave/i/toolbar/normal-m.png",
161
+ "frameworks/uki/examples/core-examples/wave/i/toolbar/normal.png",
162
+ "frameworks/uki/examples/core-examples/wave/voloko.jpg",
163
+ "frameworks/uki/examples/core-examples/wave/wave-theme.js",
164
+ "frameworks/uki/examples/core-examples/wave/wave.html",
165
+ "frameworks/uki/examples/core-examples/wave/wave.js",
166
+ "frameworks/uki/examples/core-examples/wave/waves.json",
167
+ "frameworks/uki/examples/css/examples.css",
168
+ "frameworks/uki/examples/css/index.css",
169
+ "frameworks/uki/examples/css/reset.css",
170
+ "frameworks/uki/examples/more-examples/radioButton/radioButton.js",
171
+ "frameworks/uki/examples/more-examples/splitTable/library.js",
172
+ "frameworks/uki/examples/more-examples/splitTable/searchable.js",
173
+ "frameworks/uki/examples/more-examples/splitTable/splitTable.js",
174
+ "frameworks/uki/examples/more-examples/toggleButton/toggleButton.js",
175
+ "frameworks/uki/examples/more-examples/treeList/i/arrows.png",
176
+ "frameworks/uki/examples/more-examples/treeList/treeList.js",
177
+ "frameworks/uki/examples/views/example.haml",
178
+ "frameworks/uki/examples/views/exampleList.haml",
179
+ "frameworks/uki/server.rb",
44
180
  "frameworks/uki/spec/commands/example_command.rb",
45
181
  "frameworks/uki/spec/dom.html",
46
182
  "frameworks/uki/spec/support/images/bg.png",
@@ -237,9 +373,6 @@ Gem::Specification.new do |s|
237
373
  "frameworks/uki/src/uki-view/view/textField.js",
238
374
  "frameworks/uki/src/uki-view/view/toolbar.js",
239
375
  "frameworks/uki/src/uki.js",
240
- "frameworks/uki/thin.yaml",
241
- "frameworks/uki/uki.rb",
242
- "frameworks/uki/uki.ru",
243
376
  "java/compiler.jar",
244
377
  "java/yuicompressor.jar",
245
378
  "lib/uki.rb",
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 0
9
- version: 1.1.0
8
+ - 1
9
+ version: 1.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Vladimir Kolesnikov
@@ -87,8 +87,144 @@ files:
87
87
  - frameworks/jspec/lib/jspec.timers.js
88
88
  - frameworks/jspec/lib/jspec.xhr.js
89
89
  - frameworks/uki/README.rdoc
90
- - frameworks/uki/compiler.jar
91
- - frameworks/uki/run.rb
90
+ - frameworks/uki/examples/core-examples/aristo/aristo.js
91
+ - frameworks/uki/examples/core-examples/attachment/attachment.js
92
+ - frameworks/uki/examples/core-examples/controls/controls.js
93
+ - frameworks/uki/examples/core-examples/dnd/dnd.js
94
+ - frameworks/uki/examples/core-examples/flow/flow.js
95
+ - frameworks/uki/examples/core-examples/list/list.js
96
+ - frameworks/uki/examples/core-examples/popup/popup.js
97
+ - frameworks/uki/examples/core-examples/resizeToContents/resizeToContents.js
98
+ - frameworks/uki/examples/core-examples/scrollPane/scrollPane.js
99
+ - frameworks/uki/examples/core-examples/slider/slider.js
100
+ - frameworks/uki/examples/core-examples/splitPane/splitPane.js
101
+ - frameworks/uki/examples/core-examples/splitPaneExtended/splitPaneExtended.js
102
+ - frameworks/uki/examples/core-examples/stress/stress.js
103
+ - frameworks/uki/examples/core-examples/table/library.js
104
+ - frameworks/uki/examples/core-examples/table/searchable.js
105
+ - frameworks/uki/examples/core-examples/table/table.js
106
+ - frameworks/uki/examples/core-examples/toolbar/icon.png
107
+ - frameworks/uki/examples/core-examples/toolbar/toolbar.js
108
+ - frameworks/uki/examples/core-examples/twitter/bubble.png
109
+ - frameworks/uki/examples/core-examples/twitter/i/bubble-c.png
110
+ - frameworks/uki/examples/core-examples/twitter/i/bubble-h.png
111
+ - frameworks/uki/examples/core-examples/twitter/i/bubble-m.png
112
+ - frameworks/uki/examples/core-examples/twitter/i/bubble-v.png
113
+ - frameworks/uki/examples/core-examples/twitter/i/loading.gif
114
+ - frameworks/uki/examples/core-examples/twitter/tweets.json
115
+ - frameworks/uki/examples/core-examples/twitter/twitter.js
116
+ - frameworks/uki/examples/core-examples/wave/contacts.json
117
+ - frameworks/uki/examples/core-examples/wave/i/body/normal-m.png
118
+ - frameworks/uki/examples/core-examples/wave/i/body/normal.png
119
+ - frameworks/uki/examples/core-examples/wave/i/button/a-down-m.png
120
+ - frameworks/uki/examples/core-examples/wave/i/button/a-down-v.gif
121
+ - frameworks/uki/examples/core-examples/wave/i/button/a-down-v.png
122
+ - frameworks/uki/examples/core-examples/wave/i/button/a-down.png
123
+ - frameworks/uki/examples/core-examples/wave/i/button/a-normal-m.png
124
+ - frameworks/uki/examples/core-examples/wave/i/button/a-normal-v.gif
125
+ - frameworks/uki/examples/core-examples/wave/i/button/a-normal-v.png
126
+ - frameworks/uki/examples/core-examples/wave/i/button/a-normal.png
127
+ - frameworks/uki/examples/core-examples/wave/i/button/down-m.png
128
+ - frameworks/uki/examples/core-examples/wave/i/button/down-v.gif
129
+ - frameworks/uki/examples/core-examples/wave/i/button/down-v.png
130
+ - frameworks/uki/examples/core-examples/wave/i/button/down.png
131
+ - frameworks/uki/examples/core-examples/wave/i/button/normal-m.png
132
+ - frameworks/uki/examples/core-examples/wave/i/button/normal-v.gif
133
+ - frameworks/uki/examples/core-examples/wave/i/button/normal-v.png
134
+ - frameworks/uki/examples/core-examples/wave/i/button/normal.png
135
+ - frameworks/uki/examples/core-examples/wave/i/button/plus-big-down-m.gif
136
+ - frameworks/uki/examples/core-examples/wave/i/button/plus-big-down-m.png
137
+ - frameworks/uki/examples/core-examples/wave/i/button/plus-big-down.png
138
+ - frameworks/uki/examples/core-examples/wave/i/button/plus-big-normal-m.gif
139
+ - frameworks/uki/examples/core-examples/wave/i/button/plus-big-normal-m.png
140
+ - frameworks/uki/examples/core-examples/wave/i/button/plus-big-normal.png
141
+ - frameworks/uki/examples/core-examples/wave/i/button/plus-down-m.gif
142
+ - frameworks/uki/examples/core-examples/wave/i/button/plus-down-m.png
143
+ - frameworks/uki/examples/core-examples/wave/i/button/plus-down.png
144
+ - frameworks/uki/examples/core-examples/wave/i/button/plus-normal-m.gif
145
+ - frameworks/uki/examples/core-examples/wave/i/button/plus-normal-m.png
146
+ - frameworks/uki/examples/core-examples/wave/i/button/plus-normal.png
147
+ - frameworks/uki/examples/core-examples/wave/i/button/search-button-normal-m.png
148
+ - frameworks/uki/examples/core-examples/wave/i/button/search-button-normal.png
149
+ - frameworks/uki/examples/core-examples/wave/i/button/toolbar-button-down-m.png
150
+ - frameworks/uki/examples/core-examples/wave/i/button/toolbar-button-down.png
151
+ - frameworks/uki/examples/core-examples/wave/i/button/toolbar-button-normal-v.gif
152
+ - frameworks/uki/examples/core-examples/wave/i/button/toolbar-button-normal-v.png
153
+ - frameworks/uki/examples/core-examples/wave/i/button/toolbar-button-normal.png
154
+ - frameworks/uki/examples/core-examples/wave/i/icons-c/drawer.png
155
+ - frameworks/uki/examples/core-examples/wave/i/icons-c/inbox.png
156
+ - frameworks/uki/examples/core-examples/wave/i/icons-c/pencil.png
157
+ - frameworks/uki/examples/core-examples/wave/i/icons-c/skeleton.png
158
+ - frameworks/uki/examples/core-examples/wave/i/icons-c/trash.png
159
+ - frameworks/uki/examples/core-examples/wave/i/icons-c/who.png
160
+ - frameworks/uki/examples/core-examples/wave/i/icons/blue.png
161
+ - frameworks/uki/examples/core-examples/wave/i/icons/dots.png
162
+ - frameworks/uki/examples/core-examples/wave/i/icons/download.png
163
+ - frameworks/uki/examples/core-examples/wave/i/icons/drawer.png
164
+ - frameworks/uki/examples/core-examples/wave/i/icons/eye-closed.png
165
+ - frameworks/uki/examples/core-examples/wave/i/icons/eye.png
166
+ - frameworks/uki/examples/core-examples/wave/i/icons/folder.png
167
+ - frameworks/uki/examples/core-examples/wave/i/icons/nosound.png
168
+ - frameworks/uki/examples/core-examples/wave/i/icons/play.png
169
+ - frameworks/uki/examples/core-examples/wave/i/icons/reply.png
170
+ - frameworks/uki/examples/core-examples/wave/i/icons/skeleton.png
171
+ - frameworks/uki/examples/core-examples/wave/i/icons/sprite-m.gif
172
+ - frameworks/uki/examples/core-examples/wave/i/icons/sprite-m.png
173
+ - frameworks/uki/examples/core-examples/wave/i/icons/sprite.png
174
+ - frameworks/uki/examples/core-examples/wave/i/icons/trash.png
175
+ - frameworks/uki/examples/core-examples/wave/i/icons/unknown.png
176
+ - frameworks/uki/examples/core-examples/wave/i/panel/blue-c.gif
177
+ - frameworks/uki/examples/core-examples/wave/i/panel/blue-c.png
178
+ - frameworks/uki/examples/core-examples/wave/i/panel/blue-h.gif
179
+ - frameworks/uki/examples/core-examples/wave/i/panel/blue-h.png
180
+ - frameworks/uki/examples/core-examples/wave/i/panel/blue-m.png
181
+ - frameworks/uki/examples/core-examples/wave/i/panel/blue-v.gif
182
+ - frameworks/uki/examples/core-examples/wave/i/panel/blue-v.png
183
+ - frameworks/uki/examples/core-examples/wave/i/panel/blue.png
184
+ - frameworks/uki/examples/core-examples/wave/i/panel/white-c.gif
185
+ - frameworks/uki/examples/core-examples/wave/i/panel/white-c.png
186
+ - frameworks/uki/examples/core-examples/wave/i/panel/white-h.gif
187
+ - frameworks/uki/examples/core-examples/wave/i/panel/white-h.png
188
+ - frameworks/uki/examples/core-examples/wave/i/panel/white-m.png
189
+ - frameworks/uki/examples/core-examples/wave/i/panel/white-v.gif
190
+ - frameworks/uki/examples/core-examples/wave/i/panel/white-v.png
191
+ - frameworks/uki/examples/core-examples/wave/i/panel/white.png
192
+ - frameworks/uki/examples/core-examples/wave/i/popup/normal-c.gif
193
+ - frameworks/uki/examples/core-examples/wave/i/popup/normal-c.png
194
+ - frameworks/uki/examples/core-examples/wave/i/popup/normal-h.gif
195
+ - frameworks/uki/examples/core-examples/wave/i/popup/normal-h.png
196
+ - frameworks/uki/examples/core-examples/wave/i/popup/normal-m.png
197
+ - frameworks/uki/examples/core-examples/wave/i/popup/normal-v.gif
198
+ - frameworks/uki/examples/core-examples/wave/i/popup/normal-v.png
199
+ - frameworks/uki/examples/core-examples/wave/i/popup/normal.png
200
+ - frameworks/uki/examples/core-examples/wave/i/searchField/focus-m.png
201
+ - frameworks/uki/examples/core-examples/wave/i/searchField/focus-v.gif
202
+ - frameworks/uki/examples/core-examples/wave/i/searchField/focus-v.png
203
+ - frameworks/uki/examples/core-examples/wave/i/searchField/focus.png
204
+ - frameworks/uki/examples/core-examples/wave/i/searchField/normal-m.png
205
+ - frameworks/uki/examples/core-examples/wave/i/searchField/normal-v.gif
206
+ - frameworks/uki/examples/core-examples/wave/i/searchField/normal-v.png
207
+ - frameworks/uki/examples/core-examples/wave/i/searchField/normal.png
208
+ - frameworks/uki/examples/core-examples/wave/i/toolbar/normal-m.png
209
+ - frameworks/uki/examples/core-examples/wave/i/toolbar/normal.png
210
+ - frameworks/uki/examples/core-examples/wave/voloko.jpg
211
+ - frameworks/uki/examples/core-examples/wave/wave-theme.js
212
+ - frameworks/uki/examples/core-examples/wave/wave.html
213
+ - frameworks/uki/examples/core-examples/wave/wave.js
214
+ - frameworks/uki/examples/core-examples/wave/waves.json
215
+ - frameworks/uki/examples/css/examples.css
216
+ - frameworks/uki/examples/css/index.css
217
+ - frameworks/uki/examples/css/reset.css
218
+ - frameworks/uki/examples/more-examples/radioButton/radioButton.js
219
+ - frameworks/uki/examples/more-examples/splitTable/library.js
220
+ - frameworks/uki/examples/more-examples/splitTable/searchable.js
221
+ - frameworks/uki/examples/more-examples/splitTable/splitTable.js
222
+ - frameworks/uki/examples/more-examples/toggleButton/toggleButton.js
223
+ - frameworks/uki/examples/more-examples/treeList/i/arrows.png
224
+ - frameworks/uki/examples/more-examples/treeList/treeList.js
225
+ - frameworks/uki/examples/views/example.haml
226
+ - frameworks/uki/examples/views/exampleList.haml
227
+ - frameworks/uki/server.rb
92
228
  - frameworks/uki/spec/commands/example_command.rb
93
229
  - frameworks/uki/spec/dom.html
94
230
  - frameworks/uki/spec/support/images/bg.png
@@ -285,9 +421,6 @@ files:
285
421
  - frameworks/uki/src/uki-view/view/textField.js
286
422
  - frameworks/uki/src/uki-view/view/toolbar.js
287
423
  - frameworks/uki/src/uki.js
288
- - frameworks/uki/thin.yaml
289
- - frameworks/uki/uki.rb
290
- - frameworks/uki/uki.ru
291
424
  - java/compiler.jar
292
425
  - java/yuicompressor.jar
293
426
  - lib/uki.rb
Binary file
@@ -1,2 +0,0 @@
1
- require 'uki'
2
- Uki.run! :port => 21119 # 21 u 11 k 9 i
@@ -1,11 +0,0 @@
1
- ---
2
- environment: development
3
- # address: 127.0.0.1
4
- port: 21119 # 21 u 11 k 9 i
5
- pid: thin.pid
6
- rackup: uki.ru
7
- log: thin.log
8
- max_conns: 1024
9
- timeout: 30
10
- max_persistent_conns: 1024
11
- daemonize: true