You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Filip Maj (Created) (JIRA)" <ji...@apache.org> on 2012/04/08 21:10:17 UTC

[jira] [Created] (CB-466) Refactor accelerometer native code in WP7

Refactor accelerometer native code in WP7
-----------------------------------------

                 Key: CB-466
                 URL: https://issues.apache.org/jira/browse/CB-466
             Project: Apache Callback
          Issue Type: Sub-task
          Components: WP7
    Affects Versions: 1.6.0
            Reporter: Filip Maj
            Assignee: Filip Maj
             Fix For: 1.7.0


Refactor the Accelerometer class to follow with the Geolocation rewrite sensor API pattern.

* Add an array of callback IDs (for getCurrent calls) and a Dictionary of watch IDs -> timer IDs
* Add {{addWatch}} and {{clearWatch}} actions
* Refactor class to use a single accelerometer listener that dispatches all stored callback IDs - should be more efficient

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (CB-466) Refactor accelerometer native code in WP7

Posted by "Jesse MacFadyen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse MacFadyen reassigned CB-466:
----------------------------------

    Assignee: Filip Maj  (was: Jesse MacFadyen)

Since you are already working on it.
                
> Refactor accelerometer native code in WP7
> -----------------------------------------
>
>                 Key: CB-466
>                 URL: https://issues.apache.org/jira/browse/CB-466
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: WP7
>    Affects Versions: 1.6.0
>            Reporter: Filip Maj
>            Assignee: Filip Maj
>             Fix For: 1.8.0
>
>
> Refactor the Accelerometer class to follow with the Geolocation rewrite sensor API pattern.
> * Add an array of callback IDs (for getCurrent calls) and a Dictionary of watch IDs -> timer IDs
> * Add {{addWatch}} and {{clearWatch}} actions
> * Refactor class to use a single accelerometer listener that dispatches all stored callback IDs - should be more efficient

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CB-466) Refactor accelerometer native code in WP7

Posted by "Filip Maj (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filip Maj updated CB-466:
-------------------------

    Fix Version/s:     (was: 1.7.0)
                   1.8.0

Moving to 1.8, what with 1.7 being a bug-fix-plus-docs release.
                
> Refactor accelerometer native code in WP7
> -----------------------------------------
>
>                 Key: CB-466
>                 URL: https://issues.apache.org/jira/browse/CB-466
>             Project: Apache Callback
>          Issue Type: Sub-task
>          Components: WP7
>    Affects Versions: 1.6.0
>            Reporter: Filip Maj
>            Assignee: Jesse MacFadyen
>             Fix For: 1.8.0
>
>
> Refactor the Accelerometer class to follow with the Geolocation rewrite sensor API pattern.
> * Add an array of callback IDs (for getCurrent calls) and a Dictionary of watch IDs -> timer IDs
> * Add {{addWatch}} and {{clearWatch}} actions
> * Refactor class to use a single accelerometer listener that dispatches all stored callback IDs - should be more efficient

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-466) Refactor accelerometer native code in WP7

Posted by "Filip Maj (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13273713#comment-13273713 ] 

Filip Maj commented on CB-466:
------------------------------

Just tossed it up on a branch on the Apache repo:

http://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a=tree;h=refs/heads/462;hb=462

The JS API changes + tests are done in there.
                
> Refactor accelerometer native code in WP7
> -----------------------------------------
>
>                 Key: CB-466
>                 URL: https://issues.apache.org/jira/browse/CB-466
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: WP7
>    Affects Versions: 1.6.0
>            Reporter: Filip Maj
>            Assignee: Jesse MacFadyen
>             Fix For: 1.8.0
>
>
> Refactor the Accelerometer class to follow with the Geolocation rewrite sensor API pattern.
> * Add an array of callback IDs (for getCurrent calls) and a Dictionary of watch IDs -> timer IDs
> * Add {{addWatch}} and {{clearWatch}} actions
> * Refactor class to use a single accelerometer listener that dispatches all stored callback IDs - should be more efficient

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (CB-466) Refactor accelerometer native code in WP7

Posted by "Jesse MacFadyen (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse MacFadyen reassigned CB-466:
----------------------------------

    Assignee: Jesse MacFadyen  (was: Filip Maj)
    
> Refactor accelerometer native code in WP7
> -----------------------------------------
>
>                 Key: CB-466
>                 URL: https://issues.apache.org/jira/browse/CB-466
>             Project: Apache Callback
>          Issue Type: Sub-task
>          Components: WP7
>    Affects Versions: 1.6.0
>            Reporter: Filip Maj
>            Assignee: Jesse MacFadyen
>             Fix For: 1.7.0
>
>
> Refactor the Accelerometer class to follow with the Geolocation rewrite sensor API pattern.
> * Add an array of callback IDs (for getCurrent calls) and a Dictionary of watch IDs -> timer IDs
> * Add {{addWatch}} and {{clearWatch}} actions
> * Refactor class to use a single accelerometer listener that dispatches all stored callback IDs - should be more efficient

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-466) Refactor accelerometer native code in WP7

Posted by "Jesse MacFadyen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13273629#comment-13273629 ] 

Jesse MacFadyen commented on CB-466:
------------------------------------

has this approach been implemented in cordova-js already?
                
> Refactor accelerometer native code in WP7
> -----------------------------------------
>
>                 Key: CB-466
>                 URL: https://issues.apache.org/jira/browse/CB-466
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: WP7
>    Affects Versions: 1.6.0
>            Reporter: Filip Maj
>            Assignee: Jesse MacFadyen
>             Fix For: 1.8.0
>
>
> Refactor the Accelerometer class to follow with the Geolocation rewrite sensor API pattern.
> * Add an array of callback IDs (for getCurrent calls) and a Dictionary of watch IDs -> timer IDs
> * Add {{addWatch}} and {{clearWatch}} actions
> * Refactor class to use a single accelerometer listener that dispatches all stored callback IDs - should be more efficient

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CB-466) Refactor accelerometer native code in WP7

Posted by "Filip Maj (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filip Maj resolved CB-466.
--------------------------

    Resolution: Fixed

Merged in at [327e47|http://git-wip-us.apache.org/repos/asf?p=incubator-cordova-wp7.git;a=commit;h=327e47feaf9f4a4a1b7905623b0c6316dbe16ede].
                
> Refactor accelerometer native code in WP7
> -----------------------------------------
>
>                 Key: CB-466
>                 URL: https://issues.apache.org/jira/browse/CB-466
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: WP7
>    Affects Versions: 1.6.0
>            Reporter: Filip Maj
>            Assignee: Filip Maj
>             Fix For: 1.8.0
>
>
> Refactor the Accelerometer class to follow with the Geolocation rewrite sensor API pattern.
> * Add an array of callback IDs (for getCurrent calls) and a Dictionary of watch IDs -> timer IDs
> * Add {{addWatch}} and {{clearWatch}} actions
> * Refactor class to use a single accelerometer listener that dispatches all stored callback IDs - should be more efficient

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-466) Refactor accelerometer native code in WP7

Posted by "Filip Maj (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13279213#comment-13279213 ] 

Filip Maj commented on CB-466:
------------------------------

Pushed this up to Apache branch 466.
                
> Refactor accelerometer native code in WP7
> -----------------------------------------
>
>                 Key: CB-466
>                 URL: https://issues.apache.org/jira/browse/CB-466
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: WP7
>    Affects Versions: 1.6.0
>            Reporter: Filip Maj
>            Assignee: Filip Maj
>             Fix For: 1.8.0
>
>
> Refactor the Accelerometer class to follow with the Geolocation rewrite sensor API pattern.
> * Add an array of callback IDs (for getCurrent calls) and a Dictionary of watch IDs -> timer IDs
> * Add {{addWatch}} and {{clearWatch}} actions
> * Refactor class to use a single accelerometer listener that dispatches all stored callback IDs - should be more efficient

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira