Permalink
Commits on Sep 2, 2011
  1. Updated PGWhitelist tests.

    shazron committed Sep 2, 2011
Commits on Sep 1, 2011
  1. Merge pull request #266 from buddydvd/simplify_PluginResult_toJSONString

    Fix, simplify, and extend PluginResult's toJSONString function.
    shazron committed Sep 1, 2011
  2. Merge pull request #268 from buddydvd/add-unit-test-target-product

    Add unit-test target/product to PhoneGapLib.
    shazron committed Sep 1, 2011
  3. Add unit-test target/product to PhoneGapLib.

    For issue #267.
    buddydvd committed Sep 1, 2011
Commits on Aug 31, 2011
  1. Fix, simplify, and extend PluginResult's toJSONString function.

    When a string containing quotes is set as the message of the result, the function generates a malformed JSON string.
    
    Instead of creating the JSON object using stringWithFormat, use the JSON serializer to create the JSON object.
    
    Additional benefits includes supporting BOOL type as the message.
    buddydvd committed Aug 31, 2011
Commits on Aug 30, 2011
  1. Merge pull request #262 from buddydvd/device_capture_dependency_fix

    Rearrange Makefile's concatenation order for `device.js` and `capture.js` to resolve dependency issue.
    shazron committed Aug 30, 2011
  2. Move `device.js` before `capture.js` because `Capture`'s install func…

    …tion depends on `Device`'s constructor.
    
    Capture's install function:
    
        PhoneGap.addConstructor(function() {
            if (typeof navigator.device === "undefined") {
                navigator.device = window.device = new Device(); // Dependency on Device's constructor.
            }
            if (typeof navigator.device.capture === "undefined") {
                navigator.device.capture = window.device.capture = new Capture();
            }
        });
    buddydvd committed Aug 19, 2011
  3. Added ability so that unhanded URLs (i.e. custom schemes in a web-pag…

    …e) will notify PhoneGap plugins of this custom url so that the plugins can handle it themselves.
    
    This would give the ability to handle callbacks for OAuth logins (Twitter/Facebook) in the main PhoneGap UIWebview, and not require the ChildBrowser plugin.
    shazron committed Aug 30, 2011
Commits on Aug 29, 2011
Commits on Aug 27, 2011
  1. Merge pull request #252 from mschulkind/fastexec

    Replaced exec() with a faster and more flexible implementation.
    shazron committed Aug 27, 2011
  2. Add a PhoneGap.fastExec() function that executes PhoneGap commands using

    a simpler and faster code path.
    
    Initial rough benchmarks show fastExec() is approximately 50% faster
    than exec().
    mschulkind committed Aug 16, 2011
  3. Merge pull request #253 from mschulkind/warning_fix

    Put the PhoneGap.exec() before deviceready warning in the right place.
    shazron committed Aug 27, 2011
Commits on Aug 26, 2011
  1. Merge pull request #251 from mschulkind/gitignore

    Add a .gitignore entry.
    shazron committed Aug 26, 2011
  2. Add a .gitignore entry.

    mschulkind committed Aug 26, 2011
  3. Merge pull request #250 from mschulkind/exec_tweak

    Fix a PhoneGap.exec() race condition and make it faster.
    shazron committed Aug 26, 2011
  4. Fix a race condition in PhoneGap.exec().

    Queue up a fully formed URL instead of just the arguments to
    PhoneGap.exec(). This effectively clones the command arguments and
    avoids unexpected behavior when the command's arguments are mutated soon
    after calling PhoneGap.exec().
    mschulkind committed Aug 8, 2011
  5. Merge pull request #247 from mschulkind/whitespace_fixup

    Whitespace fixup
    shazron committed Aug 26, 2011
  6. Merge pull request #249 from mschulkind/iuc_autorelease

    ObjectiveC style fixups for InvokedUrlCommand.
    shazron committed Aug 26, 2011
  7. Merge pull request #248 from mschulkind/custom_webview

    Allow for using a custom UIWebView object.
    shazron committed Aug 26, 2011