Commits on Jun 5, 2012
  1. Fixes CB-866 - Position.timestamp as Date

    Becky Gibson
    Becky Gibson committed Jun 5, 2012
    Update code to set Posistion.timestamp as a Date object.
  2. [CB-773] wrapper JSON.stringify calls in loggers

    pmuellr committed Jun 5, 2012
    Added try/catch wrappers around iOS's console's and
    the logger's usage of JSON.stringify().
    Added tests for logger; tested console in a Cordova app.
    Drive by enhancement, added a grunt file which watches
    the source files and runs grunt.  Replacement for "wr"
Commits on Jun 4, 2012
  1. Update to CB-56 CameraPopoverOptions

    Becky Gibson
    Becky Gibson committed Jun 4, 2012
    Moved CameraPopoverOptions from iOS only to common.
    This allows Cordova users to write common JavaScript code for
    Camera usage across platforms with out checking for existence
    of platform specific options.
Commits on Jun 1, 2012
  1. At least on Android ICS WebView, when loading cordova.js asynchronous…

    jareware authored and filmaj committed May 9, 2012
    …ly, it's possible to end up in a situation where the DOMContentLoaded has already fired, but the document.readyState is not "complete" (but still "interactive"). This patches this race condition.
    Technically document.readyState === "interactive" is not exactly the same as when "DOMContentLoaded" triggers, but since the document is already done parsing (ref: it should be perfectly fine for Cordova's intents and purposes.  If you think this is too early, one could always defer to the subsequent "load" event if we find document.readyState == "interactive".
    This may be a bit of an edge case, since the same version of Cordova (1.7.0) worked fine on Gingerbread, and most people don't load Cordova async, but this issue has been noted on other projects/browsers too (ref:
    Sorry for not including a test case; if you have a facility for reliably testing issues like this, let me know and I'll try to put it in.
Commits on May 31, 2012
  1. adding more tests for channel

    filmaj committed May 31, 2012
Commits on May 30, 2012
Commits on May 25, 2012
  1. Fixes CB-56 iOS Popover placement

    Becky Gibson
    Becky Gibson committed May 25, 2012
    Added another option to Camera.getPicture() to pass
    a CameraPopoverOptions object to iOS inorder to specify
    the location of the image picker popover on iPad. Needed
    because apps were getting rejected from app store due to
    poor arrow placement.  Added CameraPopoverOptions just for iOS.
  2. adding the camera back

    imhotep committed May 25, 2012
Commits on May 24, 2012
  1. added sanity check for invalid urls, this should be extended to inclu…

    purplecabbage committed May 24, 2012
    …de every case identifiable without calling native.
Commits on May 22, 2012
  1. [CB-348] console object improvements

    pmuellr committed May 22, 2012
    added the following files as a new implementation of
    console on top of the logger API.  Currently, no one
    is using them; will switch iOS to use this as soon
    as cordova-js and cordova-ios are synchronized.
       - lib/common/plugin/console-via-logger.js
       - test/test.console-via-logger.js
    fixes to the following:
       - Jakefile
         add additional warnings to skip (new one for console redefinition)
       - lib/common/plugin/logger.js
         changed the protocol for logger/console "using" checks
       - test/runner.js
         modified test matcher to accept hyphens in test file names
Commits on May 19, 2012
Commits on May 18, 2012
  1. [CB-462] tweak watch accel to fire success calblack on the appropriat…

    filmaj committed May 18, 2012
    …e interval, not based on how quickly framework returns info
  2. removing a console.log :)

    filmaj committed May 14, 2012
Commits on May 17, 2012
  1. [CB-623] added logger module / tests to common-js

    pmuellr committed May 17, 2012
    - added a new plugin module "logger" (common/plugin/logger.js)
    - install the logger into cordova.logger (via common/common.js)
    - added configuration of logger in ios/platform.js (don't use console)
    - test cases for logger
    - refactored utils.format() into utils.format() and utils.vformat()
    - added tests cases for utils.vformat()
Commits on May 16, 2012
  1. updating comment

    imhotep committed May 16, 2012