cordova-js.git
8 years agoadding channel pre deviceready
Anis Kadri [Thu, 24 Apr 2014 18:13:18 +0000 (11:13 -0700)] 
adding channel pre deviceready

8 years agoadding case for org.apache.cordova.* modules
Anis Kadri [Sat, 29 Mar 2014 20:15:06 +0000 (21:15 +0100)] 
adding case for org.apache.cordova.* modules

8 years agoMerge branch 'browserify' of https://git-wip-us.apache.org/repos/asf/cordova-js into...
Anis Kadri [Thu, 27 Mar 2014 14:21:54 +0000 (15:21 +0100)] 
Merge branch 'browserify' of https://git-wip-us.apache.org/repos/asf/cordova-js into browserify

Conflicts:
package.json

8 years agoadding cordova.require fake wrapper
Anis Kadri [Thu, 27 Mar 2014 14:04:34 +0000 (15:04 +0100)] 
adding cordova.require fake wrapper

8 years agoexec was set in the wrong file
Anis Kadri [Wed, 26 Mar 2014 16:28:11 +0000 (17:28 +0100)] 
exec was set in the wrong file

8 years agoremoving onPluginsReady and setting platform exec
Anis Kadri [Wed, 26 Mar 2014 16:27:30 +0000 (17:27 +0100)] 
removing onPluginsReady and setting platform exec

8 years agoupdating version
Anis Kadri [Wed, 26 Mar 2014 16:26:39 +0000 (17:26 +0100)] 
updating version

8 years agofixing weird outputstream problem
Anis Kadri [Wed, 26 Mar 2014 16:25:58 +0000 (17:25 +0100)] 
fixing weird outputstream problem

8 years agomoving license writing to other module
Anis Kadri [Fri, 14 Mar 2014 23:41:44 +0000 (16:41 -0700)] 
moving license writing to other module

8 years agoreplacing cordova.js and init.js with their browserify-compatible equivalents
Anis Kadri [Thu, 6 Mar 2014 00:21:44 +0000 (16:21 -0800)] 
replacing cordova.js and init.js with their browserify-compatible equivalents

8 years agoreplacing init with init_b
Anis Kadri [Thu, 6 Mar 2014 00:20:22 +0000 (16:20 -0800)] 
replacing init with init_b

8 years agoupdating transform/bundler/packager
Anis Kadri [Tue, 4 Mar 2014 00:12:23 +0000 (16:12 -0800)] 
updating transform/bundler/packager

8 years agoreplacing platform/exec
Anis Kadri [Tue, 25 Feb 2014 03:46:57 +0000 (19:46 -0800)] 
replacing platform/exec

8 years agofiles were not properly generated
Anis Kadri [Thu, 20 Feb 2014 00:53:45 +0000 (16:53 -0800)] 
files were not properly generated

8 years agoadding debug flag to support sourcemaps
Anis Kadri [Thu, 6 Feb 2014 03:16:23 +0000 (19:16 -0800)] 
adding debug flag to support sourcemaps

8 years agoadding other platforms
Anis Kadri [Thu, 6 Feb 2014 02:21:38 +0000 (18:21 -0800)] 
adding other platforms

8 years agoadding android and amazon-fireos
Anis Kadri [Wed, 5 Feb 2014 00:07:00 +0000 (16:07 -0800)] 
adding android and amazon-fireos

8 years agoAdding compile-browserify grunt task
Anis Kadri [Tue, 4 Feb 2014 06:22:14 +0000 (22:22 -0800)] 
Adding compile-browserify grunt task

8 years agoadding browserify compile task
Anis Kadri [Tue, 4 Feb 2014 06:21:53 +0000 (22:21 -0800)] 
adding browserify compile task

8 years agoadding browserify bundle
Anis Kadri [Tue, 4 Feb 2014 06:21:28 +0000 (22:21 -0800)] 
adding browserify bundle

8 years agoadding browserify packager
Anis Kadri [Tue, 4 Feb 2014 06:21:01 +0000 (22:21 -0800)] 
adding browserify packager

8 years agoadding browserify require transform
Anis Kadri [Tue, 4 Feb 2014 06:15:19 +0000 (22:15 -0800)] 
adding browserify require transform

8 years agoadding required libraries to browserify
Anis Kadri [Tue, 4 Feb 2014 06:14:10 +0000 (22:14 -0800)] 
adding required libraries to browserify

8 years agoadding cordova.require fake wrapper
Anis Kadri [Thu, 27 Mar 2014 14:04:34 +0000 (15:04 +0100)] 
adding cordova.require fake wrapper

8 years agoexec was set in the wrong file
Anis Kadri [Wed, 26 Mar 2014 16:28:11 +0000 (17:28 +0100)] 
exec was set in the wrong file

8 years agoremoving onPluginsReady and setting platform exec
Anis Kadri [Wed, 26 Mar 2014 16:27:30 +0000 (17:27 +0100)] 
removing onPluginsReady and setting platform exec

8 years agoupdating version
Anis Kadri [Wed, 26 Mar 2014 16:26:39 +0000 (17:26 +0100)] 
updating version

8 years agofixing weird outputstream problem
Anis Kadri [Wed, 26 Mar 2014 16:25:58 +0000 (17:25 +0100)] 
fixing weird outputstream problem

8 years agoCB-6321 Added cordova integration info to README
Staci Cooper [Thu, 20 Mar 2014 17:53:45 +0000 (13:53 -0400)] 
CB-6321 Added cordova integration info to README

8 years agomoving license writing to other module
Anis Kadri [Fri, 14 Mar 2014 23:41:44 +0000 (16:41 -0700)] 
moving license writing to other module

8 years agoCB-6184 android: Delete incorrect log message about falling back on PROMPT
Andrew Grieve [Fri, 7 Mar 2014 01:42:58 +0000 (20:42 -0500)] 
CB-6184 android: Delete incorrect log message about falling back on PROMPT

8 years agoCB-6181 android: Always execute exec() callbacks async.
Andrew Grieve [Thu, 6 Mar 2014 17:14:43 +0000 (12:14 -0500)] 
CB-6181 android: Always execute exec() callbacks async.

8 years agoreplacing cordova.js and init.js with their browserify-compatible equivalents
Anis Kadri [Thu, 6 Mar 2014 00:21:44 +0000 (16:21 -0800)] 
replacing cordova.js and init.js with their browserify-compatible equivalents

8 years agoreplacing init with init_b
Anis Kadri [Thu, 6 Mar 2014 00:20:22 +0000 (16:20 -0800)] 
replacing init with init_b

8 years agoupdating transform/bundler/packager
Anis Kadri [Tue, 4 Mar 2014 00:12:23 +0000 (16:12 -0800)] 
updating transform/bundler/packager

8 years agoAdd NOTICE file
Andrew Grieve [Thu, 27 Feb 2014 20:36:31 +0000 (15:36 -0500)] 
Add NOTICE file

8 years agoreplacing platform/exec
Anis Kadri [Tue, 25 Feb 2014 03:46:57 +0000 (19:46 -0800)] 
replacing platform/exec

8 years agoCB-5671 setTimeout to allow concat'ed JS to load before pluginLoader.load()
Andrew Grieve [Tue, 25 Feb 2014 02:04:02 +0000 (21:04 -0500)] 
CB-5671 setTimeout to allow concat'ed JS to load before pluginLoader.load()

8 years agoCB-5671 Don't fail plugin loading if plugin modules are already loaded.
Andrew Grieve [Mon, 24 Feb 2014 20:59:26 +0000 (15:59 -0500)] 
CB-5671 Don't fail plugin loading if plugin modules are already loaded.

This can happen when a build step concats all your JS.

8 years agofiles were not properly generated
Anis Kadri [Thu, 20 Feb 2014 00:53:45 +0000 (16:53 -0800)] 
files were not properly generated

8 years agoCB-5438 Use jsdom-nogyp to avoid dependency on python & visual studio
Andrew Grieve [Wed, 12 Feb 2014 02:22:19 +0000 (21:22 -0500)] 
CB-5438 Use jsdom-nogyp to avoid dependency on python & visual studio

8 years agoAdd back "grunt btest" command
Andrew Grieve [Tue, 11 Feb 2014 16:57:59 +0000 (11:57 -0500)] 
Add back "grunt btest" command

8 years agoMove all deps into devDependencies.
Andrew Grieve [Tue, 11 Feb 2014 16:54:17 +0000 (11:54 -0500)] 
Move all deps into devDependencies.

8 years agoCB-5438 Remove test symlinks & fix some build errors on windows.
Andrew Grieve [Tue, 11 Feb 2014 16:51:46 +0000 (11:51 -0500)] 
CB-5438 Remove test symlinks & fix some build errors on windows.

8 years agoCB-6007 Fix findCordovaPath() not working when path contains a query param
Andrew Grieve [Tue, 11 Feb 2014 16:05:27 +0000 (11:05 -0500)] 
CB-6007 Fix findCordovaPath() not working when path contains a query param

8 years agoUpdate exec.js
vote539 [Sat, 4 Jan 2014 10:26:46 +0000 (03:26 -0700)] 
Update exec.js

The spec implies that the last argument of cordova.exec() should be optional.  However, if it is omitted, iOS emits a cryptic NSInvalidArgumentException.  This can be avoided if actionArgs defaults to an empty array.

8 years agoCB-5973 blackberry: use sync by default
Bryan Higgins [Mon, 10 Feb 2014 16:16:22 +0000 (11:16 -0500)] 
CB-5973 blackberry: use sync by default

8 years agoMerge branch 'master' into browserify
Anis Kadri [Thu, 6 Feb 2014 03:24:55 +0000 (19:24 -0800)] 
Merge branch 'master' into browserify

8 years agoadding debug flag to support sourcemaps
Anis Kadri [Thu, 6 Feb 2014 03:16:23 +0000 (19:16 -0800)] 
adding debug flag to support sourcemaps

8 years agoCB-5973 blackberry: add support for sync exec
Josh Soref [Tue, 4 Feb 2014 22:59:47 +0000 (17:59 -0500)] 
CB-5973 blackberry: add support for sync exec

8 years agoadding other platforms
Anis Kadri [Thu, 6 Feb 2014 02:21:38 +0000 (18:21 -0800)] 
adding other platforms

8 years agoadding android and amazon-fireos
Anis Kadri [Wed, 5 Feb 2014 00:07:00 +0000 (16:07 -0800)] 
adding android and amazon-fireos

8 years agoMerge branch 'CB-5438' of https://github.com/BBosman/cordova-js
Jesse MacFadyen [Tue, 4 Feb 2014 23:01:53 +0000 (15:01 -0800)] 
Merge branch 'CB-5438' of https://github.com/BBosman/cordova-js

8 years agoAdding compile-browserify grunt task
Anis Kadri [Tue, 4 Feb 2014 06:22:14 +0000 (22:22 -0800)] 
Adding compile-browserify grunt task

8 years agoadding browserify compile task
Anis Kadri [Tue, 4 Feb 2014 06:21:53 +0000 (22:21 -0800)] 
adding browserify compile task

8 years agoadding browserify bundle
Anis Kadri [Tue, 4 Feb 2014 06:21:28 +0000 (22:21 -0800)] 
adding browserify bundle

8 years agoadding browserify packager
Anis Kadri [Tue, 4 Feb 2014 06:21:01 +0000 (22:21 -0800)] 
adding browserify packager

8 years agoadding browserify require transform
Anis Kadri [Tue, 4 Feb 2014 06:15:19 +0000 (22:15 -0800)] 
adding browserify require transform

8 years agoadding required libraries to browserify
Anis Kadri [Tue, 4 Feb 2014 06:14:10 +0000 (22:14 -0800)] 
adding required libraries to browserify

8 years agoMerge branch 'CB-5806' of https://github.com/sgrebnov/cordova-js
Jesse MacFadyen [Tue, 28 Jan 2014 01:31:08 +0000 (17:31 -0800)] 
Merge branch 'CB-5806' of https://github.com/sgrebnov/cordova-js

8 years agoCB-5438 Exclude local symlinks from jshint 64/head
Bas Bosman [Sun, 26 Jan 2014 14:43:31 +0000 (15:43 +0100)] 
CB-5438 Exclude local symlinks from jshint

Both /src/test/androidexec.js and /src/test/iosexec.js are symlinks to
/src/android/exec.js and /src/ios/exec.js

Symlinks don't work on the Windows platform and are represented there as
a text file with the contents being a text description of where it
should be pointing at.

The problem is that the jshint task of the build tries to parse those
'text' files as js files, which fails for obvious reasons.

My solution is to explicitly exclude those 2 symlink files from the
jshint task. The files they point at are included in the src/**/*.js
jshint src setting, so they will get checked anyway.

Now we can succesfully run grunt build on Windows.

8 years agoSet VERSION to 3.5.0-dev (via coho)
Steven Gill [Wed, 22 Jan 2014 21:23:32 +0000 (13:23 -0800)] 
Set VERSION to 3.5.0-dev (via coho)

8 years agofixes CB-5806 [Windows8] Add keepCallback support to proxy 63/head
sgrebnov [Wed, 22 Jan 2014 16:16:20 +0000 (20:16 +0400)] 
fixes CB-5806 [Windows8] Add keepCallback support to proxy

8 years agoMerge branch 'CB-5606' of https://github.com/sgrebnov/cordova-js
Jesse MacFadyen [Wed, 8 Jan 2014 00:46:23 +0000 (16:46 -0800)] 
Merge branch 'CB-5606' of https://github.com/sgrebnov/cordova-js

8 years agoCB-4970 CB-5457 Switch default bridge mode to IFRAME_NAV for iOS != 5
Andrew Grieve [Sat, 21 Dec 2013 03:36:29 +0000 (22:36 -0500)] 
CB-4970 CB-5457 Switch default bridge mode to IFRAME_NAV for iOS != 5

Suspect XHR bridge is sometimes shakey, so hopefully switching will
solidify things.

8 years agoCB-5134 Add IFRAME_HASH based exec() bridge (all previous commits reverted).
Andrew Grieve [Fri, 20 Dec 2013 04:06:02 +0000 (23:06 -0500)] 
CB-5134 Add IFRAME_HASH based exec() bridge (all previous commits reverted).

8 years agoRevert "CB-5134 iOS - Add location.hash-based exec bridge."
Andrew Grieve [Fri, 20 Dec 2013 03:56:06 +0000 (22:56 -0500)] 
Revert "CB-5134 iOS - Add location.hash-based exec bridge."

This reverts commit 2c93179f5d7c72883bda37f559cb6ee701b5763f.

8 years agoRevert "Fix broken tests take 2"
Andrew Grieve [Fri, 20 Dec 2013 03:55:38 +0000 (22:55 -0500)] 
Revert "Fix broken tests take 2"

This reverts commit 2baecb5581af56d54188675043a87fc7331afe0d.

8 years agoFix broken tests take 2
Andrew Grieve [Thu, 19 Dec 2013 18:47:50 +0000 (13:47 -0500)] 
Fix broken tests take 2

8 years agoRevert "Fix failing exec tests introduced by previous commit."
Andrew Grieve [Thu, 19 Dec 2013 18:46:58 +0000 (13:46 -0500)] 
Revert "Fix failing exec tests introduced by previous commit."

This reverts commit 130db892e069d2430647ff111140a9398c416735.

Accidentally included other changes.

8 years agoFix failing exec tests introduced by previous commit.
Andrew Grieve [Thu, 19 Dec 2013 18:44:46 +0000 (13:44 -0500)] 
Fix failing exec tests introduced by previous commit.

8 years agoCB-5134 iOS - Add location.hash-based exec bridge.
Andrew Grieve [Tue, 17 Dec 2013 17:09:53 +0000 (12:09 -0500)] 
CB-5134 iOS - Add location.hash-based exec bridge.

Off by default for now until I can benchmark it.

8 years agoCB-5604 [BlackBerry10] Switch to async XHR for exec bridge 58/head
Genevieve Mak [Mon, 9 Dec 2013 15:01:09 +0000 (10:01 -0500)] 
CB-5604 [BlackBerry10] Switch to async XHR for exec bridge

8 years agorenaming reporter to test-reporter
brianleroux [Sun, 15 Dec 2013 01:59:19 +0000 (12:59 +1100)] 
renaming reporter to test-reporter

8 years agotweaking the testing infra
brianleroux [Sun, 15 Dec 2013 01:59:03 +0000 (12:59 +1100)] 
tweaking the testing infra

8 years agoMerge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-js
brianleroux [Sat, 14 Dec 2013 04:15:29 +0000 (15:15 +1100)] 
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-js

8 years agofixing pats require analyzer thing
brianleroux [Sat, 14 Dec 2013 04:13:53 +0000 (15:13 +1100)] 
fixing pats require analyzer thing

8 years agotemporarily removed btests, not working for me
Steven Gill [Thu, 12 Dec 2013 22:48:15 +0000 (14:48 -0800)] 
temporarily removed btests, not working for me

8 years agoCB-5606 WP8. Add ArrayBuffer support to exec bridge 59/head
sgrebnov [Mon, 9 Dec 2013 17:16:26 +0000 (21:16 +0400)] 
CB-5606 WP8. Add ArrayBuffer support to exec bridge

8 years agoremoved old runner logic into tasks
brianleroux [Thu, 12 Dec 2013 03:29:31 +0000 (14:29 +1100)] 
removed old runner logic into tasks

8 years agotests passing in browser yay
brianleroux [Thu, 12 Dec 2013 03:28:16 +0000 (14:28 +1100)] 
tests passing in browser yay

8 years agomoved templates to tasks/templates and logic to tasks/lib
brianleroux [Thu, 12 Dec 2013 03:19:37 +0000 (14:19 +1100)] 
moved templates to tasks/templates and logic to tasks/lib

8 years agobegin distilling tests out
brianleroux [Wed, 11 Dec 2013 23:15:14 +0000 (10:15 +1100)] 
begin distilling tests out

8 years agothis is long unused
brianleroux [Wed, 11 Dec 2013 22:08:12 +0000 (09:08 +1100)] 
this is long unused

8 years agoremoving unused files
brianleroux [Wed, 11 Dec 2013 21:44:34 +0000 (08:44 +1100)] 
removing unused files

8 years agogrunt _btest failing and not sure why 61/head
brianleroux [Wed, 11 Dec 2013 03:58:48 +0000 (13:58 +1000)] 
grunt _btest failing and not sure why

8 years agorevised readme to reflect changes to structure and gruntfile
brianleroux [Wed, 11 Dec 2013 03:05:42 +0000 (13:05 +1000)] 
revised readme to reflect changes to structure and gruntfile

8 years agoreverted out urlutil.exists check / save that battle for another PR
brianleroux [Wed, 11 Dec 2013 02:47:48 +0000 (12:47 +1000)] 
reverted out urlutil.exists check / save that battle for another PR

8 years agobuild runs but tests borked
brianleroux [Wed, 11 Dec 2013 02:43:18 +0000 (12:43 +1000)] 
build runs but tests borked

8 years agofixing deps
brianleroux [Wed, 11 Dec 2013 02:12:25 +0000 (12:12 +1000)] 
fixing deps

8 years agoeverything seperated into discreet modules but deps not resolved
brianleroux [Tue, 10 Dec 2013 23:01:41 +0000 (09:01 +1000)] 
everything seperated into discreet modules but deps not resolved

8 years agorefactoring to small modules
brianleroux [Tue, 10 Dec 2013 22:51:18 +0000 (08:51 +1000)] 
refactoring to small modules

8 years agoadding exists fn to urlutil and check before injecting cordova_plugins.js (failing... 60/head
brianleroux [Tue, 10 Dec 2013 02:10:51 +0000 (12:10 +1000)] 
adding exists fn to urlutil and check before injecting cordova_plugins.js (failing tests)

8 years agofirst pass at adding browser as a platform 57/head
brianleroux [Mon, 9 Dec 2013 05:18:35 +0000 (15:18 +1000)] 
first pass at adding browser as a platform

8 years agofixed licensed headers for ubuntu
Steven Gill [Fri, 6 Dec 2013 20:57:46 +0000 (12:57 -0800)] 
fixed licensed headers for ubuntu

8 years agoadd ubuntu platform
Maxim Ermilov [Fri, 22 Nov 2013 15:48:44 +0000 (19:48 +0400)] 
add ubuntu platform

8 years agoSpelling: SEPERATOR -> SEPARATOR
Andrew Grieve [Thu, 5 Dec 2013 15:49:57 +0000 (10:49 -0500)] 
Spelling: SEPERATOR -> SEPARATOR

8 years agoAdded amazon-fireos port to lib files + grunt file.
Archana Naik [Mon, 4 Nov 2013 18:51:07 +0000 (10:51 -0800)] 
Added amazon-fireos port to lib files + grunt file.

8 years agoMerge branch 'cb_5316' of github.com:jsoref/cordova-js
Steven Gill [Tue, 3 Dec 2013 23:37:21 +0000 (15:37 -0800)] 
Merge branch 'cb_5316' of github.com:jsoref/cordova-js

8 years agoSet VERSION to 3.4.0-dev (via coho)
Steven Gill [Tue, 3 Dec 2013 23:22:18 +0000 (15:22 -0800)] 
Set VERSION to 3.4.0-dev (via coho)