rsence-pre 2.2.0.17 → 2.2.0.18

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.2.0.17.pre
1
+ 2.2.0.18.pre
@@ -73,7 +73,7 @@
73
73
  :port: 8001
74
74
  #
75
75
  # Bind this ip address ('0.0.0.0' means all)
76
- :bind_address: '0.0.0.0'
76
+ :bind_address: '127.0.0.1'
77
77
  #
78
78
  # Rack handler to use, defaults to thin
79
79
  :rack_require: mongrel
@@ -314,6 +314,9 @@
314
314
  - popupmenu # HPopupMenu
315
315
  - menuitem # HMenuItem
316
316
 
317
+ tables:
318
+ - table # HTable
319
+
317
320
  # Graphics related control widgets (components)
318
321
  # These are not complete and there will probably never be any
319
322
  # serious efforts to support legacy browsers, like old IE versions,
@@ -329,6 +332,7 @@
329
332
  - controls
330
333
  - lists
331
334
  - datetime
335
+ - tables
332
336
  - graphics
333
337
  - servermessage
334
338
  std_widgets:
@@ -336,6 +340,7 @@
336
340
  - controls
337
341
  - lists
338
342
  - datetime
343
+ - tables
339
344
  - graphics
340
345
  - servermessage
341
346
 
@@ -40,7 +40,7 @@
40
40
 
41
41
  .timesheet_items {
42
42
  left: 29px; top: 19px; right: 1px; bottom: 11px;
43
- border: 1px outset #ccc;
43
+ border: 1px solid #ccc;
44
44
  border-radius: 3px;
45
45
  }
46
46
 
@@ -26,9 +26,14 @@ HMiniMenuItem = HRadioButton.extend({
26
26
  EVENT.changeActiveControl(_parentParent);
27
27
  },
28
28
 
29
+ _parentLastActivation: 0,
29
30
  click: function(){
30
- this.base();
31
- this._activateParentParent();
31
+ var _now = new Date().getTime();
32
+ if( _now - this._parentLastActivation > 200 ){
33
+ this.base();
34
+ this._parentLastActivation = _now;
35
+ this._activateParentParent();
36
+ }
32
37
  return true;
33
38
  },
34
39
 
@@ -113,7 +113,11 @@ module RSence
113
113
  elsif data_class == String and gui_data.strip.start_with?('function(')
114
114
  return @parent.plugins[:client_pkg].squeeze( "a="+json_fun( gui_data.to_json ) )[2..-1]
115
115
  elsif data_class == String and gui_data.strip.start_with?('coffee:')
116
- return @parent.plugins[:client_pkg].coffee( gui_data.strip[7..-1], true )
116
+ coffee = @parent.plugins[:client_pkg].coffee( gui_data.strip[7..-1].strip )
117
+ return coffee
118
+ elsif data_class == String and (gui_data.strip =~ /^((\(.*?)\))?(\s*)?->/) == 0
119
+ coffee = @parent.plugins[:client_pkg].coffee( gui_data.strip )
120
+ return coffee
117
121
  end
118
122
  return gui_data
119
123
  end
@@ -261,7 +261,9 @@ class ClientPkgBuild
261
261
  warn "Invalid CoffeeScript supplied:\n----\n#{src}----\n"
262
262
  js = "function(){console.log('ERROR; invalid CoffeeScript supplied: #{src.to_json}');}"
263
263
  end
264
- return squeeze( js )
264
+ js = squeeze( js )
265
+ return js[1..-3] if js.start_with?('(') and js.end_with?(');')
266
+ return js
265
267
  end
266
268
 
267
269
  def process_js( src_in )
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rsence-pre
3
3
  version: !ruby/object:Gem::Version
4
- hash: 93
4
+ hash: 91
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 2
9
9
  - 0
10
- - 17
11
- version: 2.2.0.17
10
+ - 18
11
+ version: 2.2.0.18
12
12
  platform: ruby
13
13
  authors:
14
14
  - Riassence Inc.
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-07-31 00:00:00 Z
20
+ date: 2011-08-02 00:00:00 Z
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
23
  name: rsence-deps