rsence-pre 2.3.0.24 → 2.3.0.25
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/VERSION +1 -1
- data/js/foundation/eventmanager/eventmanager.coffee +4 -13
- metadata +5 -9
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a9f829d0320a69e26fffca9867960063c5d30859
|
4
|
+
data.tar.gz: 9b101aa1465a3e5f81d0814e9d1d7b0f471e37d1
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 354bc014997bce241e953a63ad89246f115c308311667db9c6575fd0bb09f8b1f37927ad0d14ee41f3962ed08c20f8abc30276e7e802c9e58a253c83a4c7392d
|
7
|
+
data.tar.gz: 07e49b798898bcdc8b0e0d3a7004425ae2a48b9610993af7006fec38301b04aec5193748291df5ce621347dbed5640f4daa8b11dd4b713cd3f11886a4871ef48
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.3.0.
|
1
|
+
2.3.0.25.pre
|
@@ -418,7 +418,7 @@ EventManagerApp = HApplication.extend
|
|
418
418
|
[ x, y ] = @status.crsr
|
419
419
|
_matchIds = @_findTopmostEnabled( HPoint.new( x, y ), 'contains', null )
|
420
420
|
if ~_matchIds.indexOf( _viewId )
|
421
|
-
@
|
421
|
+
@changeActiveControl( _ctrl )
|
422
422
|
#
|
423
423
|
# Releases bindings done by #_setEventOptions
|
424
424
|
_unsetEventOptions: (_ctrl,_warnMethodName)->
|
@@ -456,7 +456,9 @@ EventManagerApp = HApplication.extend
|
|
456
456
|
unless _wasFocused
|
457
457
|
@stopObserving( _elem, 'mouseover', '_mouseOver' )
|
458
458
|
_ctrl.setEnabled( false ) if _ctrl.enabled
|
459
|
-
@_listeners[_statusItem].
|
459
|
+
_viewIdx = @_listeners[_statusItem].indexOf(_viewId)
|
460
|
+
if ~_viewIdx
|
461
|
+
@_listeners[_statusItem].splice(_viewIdx,1)
|
460
462
|
#
|
461
463
|
# Registers the HControl -derived object _ctrl by event listener flags
|
462
464
|
# in _eventOptions.
|
@@ -733,7 +735,6 @@ EventManagerApp = HApplication.extend
|
|
733
735
|
_ctrl.active = false
|
734
736
|
_idx = _active.indexOf( _viewId )
|
735
737
|
_dragIdx = _dragged.indexOf(_viewId)
|
736
|
-
# console.log('dragIdx:',~_dragIdx)
|
737
738
|
if ~_dragIdx
|
738
739
|
_dragged.splice( _dragIdx, 1 )
|
739
740
|
for _dropViewId in _hovered
|
@@ -743,14 +744,8 @@ EventManagerApp = HApplication.extend
|
|
743
744
|
[ x, y ] = @status.crsr
|
744
745
|
_ctrl.endDrag( x, y )
|
745
746
|
_active.splice( _idx, 1 )
|
746
|
-
# console.log('lost:',_viewId)
|
747
747
|
@blur(_ctrl) if ~_focused.indexOf(_viewId)
|
748
748
|
_ctrl.lostActiveStatus(_newActive)
|
749
|
-
# _ctrl.setStyle('border','1px dotted red')
|
750
|
-
# if @prevActiveCtrl
|
751
|
-
# @prevActiveCtrl.setStyle('border','1px dotted gray')
|
752
|
-
# @prevActiveCtrl = null
|
753
|
-
# @prevActiveCtrl = _ctrl
|
754
749
|
_prevActive
|
755
750
|
#
|
756
751
|
# Adds the active control
|
@@ -760,11 +755,9 @@ EventManagerApp = HApplication.extend
|
|
760
755
|
_idx = _active.indexOf( _ctrl.viewId )
|
761
756
|
unless ~_idx
|
762
757
|
_active.unshift(_ctrl.viewId)
|
763
|
-
# console.log('gained:',_ctrl.viewId)
|
764
758
|
@focus(_ctrl) unless ~_focused.indexOf(_ctrl.viewId)
|
765
759
|
_ctrl.active = true
|
766
760
|
_ctrl.gainedActiveStatus(_prevActive)
|
767
|
-
# _ctrl.setStyle('border','1px dotted blue')
|
768
761
|
#
|
769
762
|
# Sets the active control
|
770
763
|
changeActiveControl: (_ctrl)->
|
@@ -950,14 +943,12 @@ EventManagerApp = HApplication.extend
|
|
950
943
|
_doubleClicks = []
|
951
944
|
_doubleClickable = @_listeners.byEvent.doubleClick
|
952
945
|
_stop = false
|
953
|
-
# console.log('focused:',_focused)
|
954
946
|
for _viewId in _focused
|
955
947
|
if ~_doubleClickable.indexOf(_viewId)
|
956
948
|
_doubleClicks.push( _viewId )
|
957
949
|
for _viewId in _doubleClicks
|
958
950
|
_ctrl = @_views[_viewId]
|
959
951
|
if _ctrl.doubleClick?
|
960
|
-
# console.log _ctrl.componentName
|
961
952
|
_stop = true if _ctrl.doubleClick(x,y,true)
|
962
953
|
Event.stop(e) if _stop
|
963
954
|
#
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rsence-pre
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.0.
|
5
|
-
prerelease:
|
4
|
+
version: 2.3.0.25
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Riassence Inc.
|
@@ -10,12 +9,11 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date: 2013-
|
12
|
+
date: 2013-05-03 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: rsence-deps
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
18
|
- - '='
|
21
19
|
- !ruby/object:Gem::Version
|
@@ -23,7 +21,6 @@ dependencies:
|
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
25
|
- - '='
|
29
26
|
- !ruby/object:Gem::Version
|
@@ -327,27 +324,26 @@ files:
|
|
327
324
|
homepage: http://www.rsence.org/
|
328
325
|
licenses:
|
329
326
|
- MIT
|
327
|
+
metadata: {}
|
330
328
|
post_install_message:
|
331
329
|
rdoc_options: []
|
332
330
|
require_paths:
|
333
331
|
- lib
|
334
332
|
required_ruby_version: !ruby/object:Gem::Requirement
|
335
|
-
none: false
|
336
333
|
requirements:
|
337
334
|
- - '>='
|
338
335
|
- !ruby/object:Gem::Version
|
339
336
|
version: 1.8.7
|
340
337
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
341
|
-
none: false
|
342
338
|
requirements:
|
343
339
|
- - '>'
|
344
340
|
- !ruby/object:Gem::Version
|
345
341
|
version: 1.3.1
|
346
342
|
requirements: []
|
347
343
|
rubyforge_project: rsence-
|
348
|
-
rubygems_version:
|
344
|
+
rubygems_version: 2.0.3
|
349
345
|
signing_key:
|
350
|
-
specification_version:
|
346
|
+
specification_version: 4
|
351
347
|
summary: Pre-Release 2.3 version of RSence.
|
352
348
|
test_files: []
|
353
349
|
has_rdoc:
|