Josh Soref [Mon, 7 Jul 2014 20:07:11 +0000 (16:07 -0400)]
CB-7087 Retire blackberry10/ directory
Josh Soref [Thu, 26 Jun 2014 22:21:45 +0000 (18:21 -0400)]
CB-6492 AppData hint is wrong for wXP
Check for LOCALAPPDATA environment variable (which is what Windows Vista introduced)
Otherwise, use the hard coded value for XP/older
Josh Soref [Thu, 26 Jun 2014 19:13:09 +0000 (15:13 -0400)]
CB-7036 make npm test work again (using grunt instead of jake)
Apparently there used to be support for `npm test`,
it's been broken for a while because `cordova-blackberry` switched from `jake` to `grunt`.
Josh Soref [Tue, 24 Jun 2014 21:45:43 +0000 (17:45 -0400)]
CB-7025 report platform update
Josh Soref [Tue, 17 Jun 2014 21:19:06 +0000 (17:19 -0400)]
CB-6968 fix bashism (source) in update script and bb10-ndk-version
Josh Soref [Thu, 12 Jun 2014 22:33:28 +0000 (18:33 -0400)]
CB-6934 run should complain about target w/o ip before password
Josh Soref [Wed, 11 Jun 2014 20:25:24 +0000 (16:25 -0400)]
CB-6925 simulator detection: fail gracefully w/ no DHCP leases
Josh Soref [Mon, 28 Apr 2014 18:15:33 +0000 (14:15 -0400)]
CB-6904 Improve Markdown in README.md
Josh Soref [Mon, 9 Jun 2014 22:03:41 +0000 (18:03 -0400)]
CB-5436 Update defaults.xml and config.xml configuration reference
Josh Soref [Mon, 2 Jun 2014 21:53:51 +0000 (17:53 -0400)]
CB-6850 use path.join() for blackberry10debugtoken.bar warning
Josh Soref [Fri, 16 May 2014 21:39:46 +0000 (17:39 -0400)]
CB-6757 Provide useful hint when simulator does not seem to know its IP
Bryan Higgins [Fri, 30 May 2014 14:25:37 +0000 (10:25 -0400)]
CB-5654 Log 'native' Cordova version during framework bootstrap
Marcel Kinard [Fri, 30 May 2014 15:44:15 +0000 (11:44 -0400)]
CB-6786 Add license to CONTRIBUTING.md
Rowell Cruz [Wed, 21 May 2014 14:28:58 +0000 (10:28 -0400)]
CB-6730: Tweak whitelist URI parsing to fix
whitelist issues with @2x resource naming
Bryan Higgins [Mon, 12 May 2014 14:21:17 +0000 (10:21 -0400)]
CB-6554 fix malformed json file
Steven Gill [Thu, 8 May 2014 23:17:32 +0000 (16:17 -0700)]
updated package.json version
Steven Gill [Thu, 8 May 2014 23:13:45 +0000 (16:13 -0700)]
Update JS snapshot to version 3.6.0-dev (via coho)
Steven Gill [Thu, 8 May 2014 23:13:40 +0000 (16:13 -0700)]
Set VERSION to 3.6.0-dev (via coho)
Steven Gill [Wed, 30 Apr 2014 21:22:09 +0000 (14:22 -0700)]
CB-6554: updated package.json
Marcel Kinard [Wed, 30 Apr 2014 12:57:57 +0000 (08:57 -0400)]
CB-6491 add CONTRIBUTING.md
Bryan Higgins [Fri, 25 Apr 2014 16:12:36 +0000 (12:12 -0400)]
CB-6522 Disallow space in target name
- Update target add command
- Update auto-detected target
Bryan Higgins [Tue, 22 Apr 2014 14:02:36 +0000 (10:02 -0400)]
CB-6440 Move config logic to its own module
Josh Soref [Thu, 3 Apr 2014 21:47:13 +0000 (17:47 -0400)]
CB-6398 Support additional commands in blackberry10.json
blackberry-nativepackager
blackberry-debugtokenrequest
blackberry-deploy
blackberry-signer
Josh Soref [Thu, 3 Apr 2014 21:28:56 +0000 (17:28 -0400)]
Refactor getParams() out of session
Bryan Higgins [Sun, 13 Apr 2014 13:32:09 +0000 (09:32 -0400)]
CB-6440 Switch to grunt as task runner
Bryan Higgins [Sun, 13 Apr 2014 01:40:52 +0000 (21:40 -0400)]
CB-6440 chmod -x *.bat
Bryan Higgins [Sun, 13 Apr 2014 01:29:20 +0000 (21:29 -0400)]
CB-6440 Remove scripts/lib dir
Bryan Higgins [Sun, 13 Apr 2014 00:53:45 +0000 (20:53 -0400)]
CB-6440 Move utils.js from bin to template
Bryan Higgins [Sun, 13 Apr 2014 00:31:02 +0000 (20:31 -0400)]
CB-6440 Remove +x from .bat files
Bryan Higgins [Sat, 12 Apr 2014 14:00:49 +0000 (10:00 -0400)]
CB-6440 create - use shelljs rather than custom copy function
Bryan Higgins [Sat, 12 Apr 2014 13:47:44 +0000 (09:47 -0400)]
CB-6440 Move create.js to lib
Bryan Higgins [Sat, 12 Apr 2014 13:15:35 +0000 (09:15 -0400)]
CB-6440 Remove check_reqs.js
Node dependency is covered by package.json engines
Bryan Higgins [Sat, 12 Apr 2014 13:05:38 +0000 (09:05 -0400)]
CB-6440 Move signing-utils out of bin
- No longer used by check_reqs script
- Unit tests no longer need to copy signing-utils.js
Bryan Higgins [Tue, 8 Apr 2014 19:18:43 +0000 (15:18 -0400)]
CB-6416 Ensure target dictionary exists in properties object
Bryan Higgins [Mon, 7 Apr 2014 15:07:58 +0000 (11:07 -0400)]
CB-6410 Allow deployment when debug token cannot be generated
Bryan Higgins [Mon, 7 Apr 2014 14:13:13 +0000 (10:13 -0400)]
CB-6409 Allow detection of devices which have not yet set password
- remove requirement for 'devicepass' arg in run
- update validation check to accept 'null' as valid response for device
Bryan Higgins [Fri, 4 Apr 2014 20:47:15 +0000 (16:47 -0400)]
CB-6346 Remove NPM warning from README
Bryan Higgins [Fri, 28 Mar 2014 17:44:28 +0000 (13:44 -0400)]
CB-6376 backgroundColor in user.js is missing quotes
Bryan Higgins [Wed, 26 Mar 2014 13:30:58 +0000 (09:30 -0400)]
CB-6346 - Add node_modules to source control
Bryan Higgins [Sun, 23 Mar 2014 16:21:57 +0000 (12:21 -0400)]
CB-6326 Fix inconsistency between manually added vs auto-detected emulators
Manually added targets had type of 'simulator' in blackberry10.json where
those automatically added by the run script use 'emulator'. This change makes
'emulator' the default everywhere including updating older files.
Martin Gonzalez [Fri, 21 Mar 2014 17:46:49 +0000 (11:46 -0600)]
CB-6326 (cordova-blackberry) target-utils.js
https://issues.apache.org/jira/browse/CB-6326
target-utils.js file has been updated,
simulator replaced by emulator.
Josh Soref [Tue, 18 Mar 2014 15:43:28 +0000 (11:43 -0400)]
CB-6303 Simplify error when user uses ^C at password prompt
Bryan Higgins [Wed, 19 Mar 2014 17:51:10 +0000 (13:51 -0400)]
CB-6303 Remove titles from non-content web views
Bryan Higgins [Wed, 19 Mar 2014 15:59:40 +0000 (11:59 -0400)]
CB-6303 Add aria-hidden="true" to controller webview body
Bryan Higgins [Wed, 19 Mar 2014 13:20:51 +0000 (09:20 -0400)]
CB-6303 Remove text to prevent it being read by screen reader
Josh Soref [Mon, 10 Mar 2014 20:14:24 +0000 (16:14 -0400)]
CB-6241 Default to prompting for passwords (replace --query with --no-query)
As a consequence, if you don't specify --no-query, and a password is needed,
you will be prompted.
If you have a build script which includes --query, the build will fail.
Josh Soref [Mon, 10 Feb 2014 17:32:18 +0000 (12:32 -0500)]
CB-6222 Various updates for the BlackBerry 10 documentation
Markdown README
Document build --web-inspector and --no-signing
Document release <target>
Document --query
Reference BlackBerry 10 instead of BlackBerry
Update bin/create documentation
Add Conventions section referencing Windows \\ v. /
Remove --shortforms
Remove keystorepass flag
Remove target default documentation
Remove --keystore pass from documentation `build debug`
Fix jake hint warnings
Fix debug mode copy-paste error
jkeshavarzi [Tue, 18 Feb 2014 21:16:35 +0000 (16:16 -0500)]
CB-6058 - Options file removed from output bar. Now in build directory
Bryan Higgins [Wed, 12 Feb 2014 17:32:06 +0000 (12:32 -0500)]
CB-6021 Add --release to run command
Josh Soref [Mon, 10 Feb 2014 17:31:20 +0000 (12:31 -0500)]
CB-5723 Build script should accept -l param as it does --loglevel
Bryan Higgins [Wed, 12 Feb 2014 14:34:57 +0000 (09:34 -0500)]
[CB-6019] Supply default value of --device to the run script
Bryan Higgins [Tue, 11 Feb 2014 20:43:47 +0000 (15:43 -0500)]
Update cordova-js
Josh Soref [Mon, 16 Dec 2013 21:50:08 +0000 (16:50 -0500)]
CB-5660 use enabledelayedexpansion to handle )s in path
Refactoring file finding to a separate script which is mostly only used on WinXP
- it also needs to be copied by create.js
Avoid using %~...s in favor of relying on quotes
jkeshavarzi [Mon, 27 Jan 2014 23:27:07 +0000 (18:27 -0500)]
CB-5909 Fixed issue where check-reqs skipped checking logic on second pass-through
- Removed dependency on npm in init scripts when modules exist
- Skip logic if _BOTH_ variables are set
Bryan Higgins [Fri, 24 Jan 2014 15:26:20 +0000 (10:26 -0500)]
Update VERSION to 3.5.0-dev
Josh Soref [Fri, 17 Jan 2014 18:12:31 +0000 (13:12 -0500)]
CB-5815 cordova not defined when pausing w/o cordova.js included
Don't call cordova.fireDocumentEvent for pause/resume events
unless cordova object is available
BB10 inactive/active events are mapped to Cordova events,
but they shouldn't trigger an exception if cordova.js isn't included
Josh Soref [Tue, 14 Jan 2014 23:09:46 +0000 (18:09 -0500)]
CB-3380 init - Fix use of [] w/ &&
Josh Soref [Tue, 7 Jan 2014 23:07:37 +0000 (18:07 -0500)]
CB-4531 Fix error case where variable wasn't available
Josh Soref [Mon, 6 Jan 2014 19:09:54 +0000 (14:09 -0500)]
CB-5730 Cordova update does not work
* shell.cp(-rf, path/to/folder, directory) creates a folder named folder in directory
* the public update script is bin/update, not bin/lib/update (which doesn't exist...)
* the platform is blackberry10
* record updated version in VERSION
Josh Soref [Wed, 8 Jan 2014 21:02:29 +0000 (16:02 -0500)]
CB-4653 Remove project.json
Josh Soref [Tue, 7 Jan 2014 23:15:36 +0000 (18:15 -0500)]
CB-4653 Default native project template should be overridable at project creation time
* Support app name (Default: WebWorks Application)
Bryan Higgins [Fri, 10 Jan 2014 20:24:17 +0000 (15:24 -0500)]
CB-3380 Skip NPM check when dependencies are bundled
Kristoffer Flores [Tue, 7 Jan 2014 19:00:13 +0000 (14:00 -0500)]
CB-5741 Send single command for uninstall / install
- Fixes issues with app name / icon persisting in navigator during re-deploy
Bryan Higgins [Tue, 7 Jan 2014 18:45:27 +0000 (13:45 -0500)]
CB-5736 - target host is a required field
Bryan Higgins [Tue, 7 Jan 2014 18:24:00 +0000 (13:24 -0500)]
CB-5736 Support host names for target command
Bryan Higgins [Mon, 6 Jan 2014 21:18:16 +0000 (16:18 -0500)]
CB-5212 - Add preference "DiskCache" (enable/disable)
This triggers the native webview caching which may improve app performance
when resources are not expected to change.
Bryan Higgins [Fri, 3 Jan 2014 20:15:11 +0000 (15:15 -0500)]
CB-5726 - Fix run script PIN detection
Bryan Higgins [Fri, 3 Jan 2014 17:32:18 +0000 (12:32 -0500)]
CB-5723 Update logger unit tests
Bryan Higgins [Fri, 3 Jan 2014 16:52:23 +0000 (11:52 -0500)]
CB-5723 Change build script -ll param to -l
Bryan Higgins [Thu, 19 Dec 2013 14:26:57 +0000 (09:26 -0500)]
CB-5680 Improve console logging when scripts invoked in child process
Bryan Higgins [Tue, 17 Dec 2013 20:07:36 +0000 (15:07 -0500)]
CB-5668 Do not set Application-Development-Mode when building --release --web-inspector
Bryan Higgins [Tue, 17 Dec 2013 20:57:53 +0000 (15:57 -0500)]
CB-5669 Add --no-signing flag to build
Bryan Higgins [Tue, 10 Dec 2013 21:22:27 +0000 (16:22 -0500)]
Fix jshint errors
Bryan Higgins [Thu, 5 Dec 2013 20:51:29 +0000 (15:51 -0500)]
Set VERSION to 3.4.0-dev
Bryan Higgins [Thu, 5 Dec 2013 20:12:57 +0000 (15:12 -0500)]
CB-5434 Fix debug token warning test
Josh Soref [Mon, 18 Nov 2013 23:04:10 +0000 (18:04 -0500)]
CB-5434 add homedir() function and use USERPROFILE on Windows
EXCEPTION_DEBUG_TOKEN_NOT_FOUND and EXCEPTION_DEBUG_TOKEN_NOT_FOUND should reference
the current expected path for files and not something that might only coincidentally
be the right location.
signing-utils should use USERPROFILE on Windows
Josh Soref [Tue, 19 Nov 2013 21:56:10 +0000 (16:56 -0500)]
CB-5443 Windows: Handle installed 64 bit Java
Josh Soref [Mon, 25 Nov 2013 21:40:13 +0000 (16:40 -0500)]
CB-5468 improve config.xml encoding handling
Assume files without a BOM are UTF-8 anyway
Bryan Higgins [Fri, 29 Nov 2013 16:18:09 +0000 (11:18 -0500)]
CB-5509 Remove ability to set default target
Bryan Higgins [Fri, 29 Nov 2013 18:33:53 +0000 (13:33 -0500)]
CB-5510 update response codes for plugin success/fail callbacks
Bryan Higgins [Tue, 19 Nov 2013 15:03:22 +0000 (10:03 -0500)]
Update cordova-js
Josh Soref [Mon, 18 Nov 2013 21:13:30 +0000 (16:13 -0500)]
CB-5433 init.bat use %USERPROFILE% on Windows
Bryan Higgins [Fri, 15 Nov 2013 19:30:11 +0000 (14:30 -0500)]
CB-5413 Device detection - iterate through all 169.254.x.x networks
Bryan Higgins [Mon, 11 Nov 2013 18:19:04 +0000 (13:19 -0500)]
Fix unit tests
Bryan Higgins [Sat, 9 Nov 2013 16:09:54 +0000 (11:09 -0500)]
CB-5317 Move signing warn logic to build/run scripts
- Moved to warn function in signing-utils
- Removed duplicate copy of that module
lorinbeer [Fri, 8 Nov 2013 22:40:01 +0000 (14:40 -0800)]
CB-5329 re-adds rim-permissions element to config.xml, which plugman installation scripts require
Josh Soref [Thu, 7 Nov 2013 00:02:42 +0000 (19:02 -0500)]
CB-5258 use exit library for process.exit
Reviewed by Bryan Higgins <bhiggins@blackberry.com>
On Windows, if you have pending bits in pipes and you exit, they
generally do not get delivered.
To avoid this, you need to change process.exit() to something
which actually ensures that buffers are flushed before it exits,
this is handled by the 'exit' module/function.
Bryan Higgins [Wed, 6 Nov 2013 14:16:26 +0000 (09:16 -0500)]
Update JS snapshot to version 3.3.0-dev (via coho)
Bryan Higgins [Wed, 6 Nov 2013 14:16:24 +0000 (09:16 -0500)]
Set VERSION to 3.3.0-dev (via coho)
Bryan Higgins [Wed, 6 Nov 2013 14:09:30 +0000 (09:09 -0500)]
CB-5159 Add headers to files caught by Apache RAT
Josh Soref [Tue, 22 Oct 2013 01:07:39 +0000 (21:07 -0400)]
CB-4531 bin/check_reqs scripts exit with code 2 on error
- Return ERROR_VALUE/NOTIMPLEMENTED_VALUE
- Restore number path for symmetry with install-emulator, install-device, build
- Refactor exit_handler into utils
Reviewed by James Keshavarzi <jkeshavarzi@blackberry.com>
Tested by Jenny Gee <jgee@blackberry.com>
Bryan Higgins [Mon, 4 Nov 2013 13:57:41 +0000 (08:57 -0500)]
Update cordova-js
Josh Soref [Fri, 1 Nov 2013 18:17:30 +0000 (14:17 -0400)]
CB-5246 cordova/run disambiguate no target exists message
Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Josh Soref [Mon, 4 Nov 2013 17:54:29 +0000 (12:54 -0500)]
CB-5250 bb init script calls dirname with unquoted variables
* dirname breaks when the variables point to directories/files with spaces
- the location of `node` is a path containing spaces
- the location of the `BlackBerry` tools is a path containing spaces
Reviewed by James Keshavarzi <kjkeshavarzi@blackberry.com>
Josh Soref [Mon, 4 Nov 2013 17:45:57 +0000 (12:45 -0500)]
CB-5266 update create.js to copy all shell scripts regardless of host platform
Josh Soref [Thu, 31 Oct 2013 03:59:47 +0000 (23:59 -0400)]
Fix spelling
Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Bryan Higgins [Sun, 3 Nov 2013 16:30:39 +0000 (11:30 -0500)]
CB-5254 log useful error info to std err
jkeshavarzi [Thu, 24 Oct 2013 00:01:17 +0000 (20:01 -0400)]
CB-5237 Implemented config-file support in config.xml to inject custom xml into the bar-descriptor.xml
Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Tested by Jenny Gee <jgee@blackberry.com>
jkeshavarzi [Thu, 31 Oct 2013 13:49:44 +0000 (09:49 -0400)]
CB-4403 Combined check_reqs and init to allow prerequisite check before each script and a more simplified code flow
-Fixed error when check_reqs tried to run signing-utils from incorrect directory
-Updated all child calls in batch files [Windows] to exit on error.
Reviewed by Jeffrey Heifetz <jheifetz@blackberry.com>
Tested by Tracy Li <tli@blackberry.com>
Jeffrey Heifetz [Fri, 9 Aug 2013 17:01:06 +0000 (13:01 -0400)]
CB-4570 Removing unnecessary <content> check for config since index.html is in the default
Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Tested by Tracy Li <tli@blackberry.com>