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>
Josh Soref [Mon, 21 Oct 2013 18:14:50 +0000 (14:14 -0400)]
CB-5135 Mark scripts as requiring Bash instead of using a random system shell
use /usr/bin/env bash to select bash
standardize on COMMENT for license block
Reviewed by Jeffrey Heifetz <jheifetz@blackberry.com>
Tested by Jenny Gee <jgee@blackberry.com>
Jeffrey Heifetz [Wed, 23 Oct 2013 00:20:47 +0000 (20:20 -0400)]
CB-5182 Adding generic error case to run script
Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Josh Soref [Tue, 22 Oct 2013 08:09:07 +0000 (04:09 -0400)]
Auto-detect started simulator on Linux
Adding utils.isOSX() api to match utils.isWindows()
Bryan Higgins [Mon, 28 Oct 2013 15:29:13 +0000 (11:29 -0400)]
CB-4767 Remove license from platform config.xml
Jeffrey Heifetz [Wed, 23 Oct 2013 02:17:28 +0000 (22:17 -0400)]
CB-4340 Auto-detect target pin when its not there
Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Bryan Higgins [Mon, 28 Oct 2013 15:00:21 +0000 (11:00 -0400)]
CB-4768 Remove access_shared from default config.xml
Jeffrey Heifetz [Thu, 26 Sep 2013 20:27:21 +0000 (16:27 -0400)]
[CB-4931] Updated signing process to allow passthrough of args
- Allowed users to specify tool parameters through blackberry10.json
- Fixed signer logic to default to user parameters
Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Tested by Jenny Gee <jgee@blackberry.com>
lorinbeer [Wed, 23 Oct 2013 21:55:47 +0000 (14:55 -0700)]
CB-4531 changed error codes in line with spec for helper scripts
lorinbeer [Wed, 23 Oct 2013 21:35:16 +0000 (14:35 -0700)]
CB-4780 update script with windows support
lorinbeer [Wed, 23 Oct 2013 17:56:51 +0000 (10:56 -0700)]
CB-4780 update script for cli platform update command
Tim Kim [Tue, 22 Oct 2013 21:13:55 +0000 (14:13 -0700)]
CB-5139 - fix to able call bb10 version script from anywhere
Tim Kim [Wed, 16 Oct 2013 23:31:07 +0000 (16:31 -0700)]
CB-4872 - added bb10 ndk version scripts
Jeffrey Heifetz [Fri, 18 Oct 2013 18:04:58 +0000 (14:04 -0400)]
Adding a missing null check
-Rewriting boolean equation for readability
jkeshavarzi [Wed, 16 Oct 2013 15:53:49 +0000 (11:53 -0400)]
CB-3015 Moving dependencies to .cordova folder to speed up create time
SomaticIT [Mon, 14 Oct 2013 20:55:02 +0000 (22:55 +0200)]
CB-3015 Fix syntax issue in definition check in init.bat
Jeffrey Heifetz [Mon, 16 Sep 2013 18:35:11 +0000 (14:35 -0400)]
[CB-4774] Adding defaults.xml for new prepare flow
Revewied by Bryan Higgins <bhiggins@blackberry.com>
Tested by Daniel Audino <daudino@blackberry.com>
Kristoffer Flores [Tue, 8 Oct 2013 20:22:48 +0000 (16:22 -0400)]
[CB-4887] Added support for true/false for hidekeyboardformaccessorybar
DanielAudino [Fri, 13 Sep 2013 22:07:43 +0000 (18:07 -0400)]
[CB-2980] Added the install-emulator script
Reviewed by Jeffrey Heifetz <jheifetz@blackberry.com>
Tested by Tracy Li <tli@blackberry.com>
DanielAudino [Mon, 9 Sep 2013 17:11:43 +0000 (13:11 -0400)]
[CB-2988] Added the install-device script
Reviewed by Jeffrey Heifetz <jheifetz@blackberry.com>
Tested by Tracy Li <tli@blackberry.com>
Jeffrey Heifetz [Wed, 25 Sep 2013 18:49:34 +0000 (14:49 -0400)]
[CB-4913] Updates warnings to check for BBID token
Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Tested by Jenny Gee <jgee@blackberry.com>
Jeffrey Heifetz [Tue, 1 Oct 2013 16:49:35 +0000 (12:49 -0400)]
Update JS snapshot to version 3.2.0-dev (via coho)
Jeffrey Heifetz [Tue, 1 Oct 2013 16:49:33 +0000 (12:49 -0400)]
Set VERSION to 3.2.0-dev (via coho)
jkeshavarzi [Mon, 23 Sep 2013 02:16:29 +0000 (22:16 -0400)]
[CB-4901] Removed custom modified wrench + wrench bump to 1.4.4
Reviewed by Jeffrey Heifitz <jheifitz@blackberry.com>
Tested by Tracy Li <tli@blackberry.com>
Kristoffer Flores [Fri, 6 Sep 2013 19:03:06 +0000 (15:03 -0400)]
[CB-4345] Added warning message for when signing keys are not installed
- Added check for bbidtoken.csk
- Added information to link old signing keys to the blackberry id token
- changed check_reqs-utils into signing-utils
- Migrated and added unit tests for signing-utils.js
- switched warning message for when author.p12 DNE to when barsigner.db DNE
Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Tested by Daniel Audino <daudino@blackberry.com>
lorinbeer [Thu, 19 Sep 2013 21:16:04 +0000 (14:16 -0700)]
[CB-4880] release notes for 3.1.0
lorinbeer [Thu, 19 Sep 2013 21:01:21 +0000 (14:01 -0700)]
switching version to 3.1.0-dev on master
lorinbeer [Thu, 19 Sep 2013 20:25:45 +0000 (13:25 -0700)]
CB-4876 removal of playbook implementation
lorinbeer [Thu, 19 Sep 2013 17:50:33 +0000 (10:50 -0700)]
CB-4875 updated readme with info on accessing last supported versions of BBOS and Playbook
Jeffrey Heifetz [Thu, 19 Sep 2013 15:49:30 +0000 (11:49 -0400)]
Adding missing license headers detected by apache rat
Jeffrey Heifetz [Thu, 19 Sep 2013 15:46:03 +0000 (11:46 -0400)]
Syncing hello-world-app for 3.1 release
Kristoffer Flores [Fri, 13 Sep 2013 18:34:30 +0000 (14:34 -0400)]
[CB-4812] Support for "default" value in the orientation preference
Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Jeffrey Heifetz [Mon, 9 Sep 2013 15:16:37 +0000 (11:16 -0400)]
[CB-4762] Added a fix to the run script to error out when the IP is not found
Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Tested by Daniel Audino <daudino@blackberry.com>
Jeffrey Heifetz [Thu, 12 Sep 2013 19:27:53 +0000 (15:27 -0400)]
[CB-4800] Workaround a Short File Name error on WinXP while maintaining fix for long paths
Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Tested by Tracy Li <tli@blackberry.com>
Jeffrey Heifetz [Mon, 9 Sep 2013 20:20:12 +0000 (16:20 -0400)]
[CB-4732] Removing buildId validation as it is no longer necessary
Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Tested by Tracy Li <tli@blackberry.com>
Jeffrey Heifetz [Mon, 9 Sep 2013 20:11:03 +0000 (16:11 -0400)]
[CB-4732] Re-writing build script to use async
Added --query flag to request keystorepass
Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Tested by Tracy Li <tli@blackberry.com>
Jeffrey Heifetz [Tue, 20 Aug 2013 14:09:56 +0000 (10:09 -0400)]
Changing our HOME algorithm to match cordova-cli
Jeffrey Heifetz [Tue, 10 Sep 2013 21:03:54 +0000 (17:03 -0400)]
[CB-4785] Fixing --no-build flag for run command
Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Tested by Tracy Li <tli@blackberry.com>
Rowell Cruz [Thu, 5 Sep 2013 15:53:48 +0000 (11:53 -0400)]
[CB-4734] Added list of files to keep in chrome/lib
Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Tested by Tracy Li <tli@blackberry.com>
DanielAudino [Tue, 3 Sep 2013 18:31:53 +0000 (14:31 -0400)]
[CB-4734] Fixed issue where plugins are not added to frameworkModules
Reviewed By: Jeffrey Heifetz <jheifetz@blackberry.com>
Tested By: Rowell Cruz <rcruz@blackberry.com>
Jeffrey Heifetz [Fri, 30 Aug 2013 20:30:13 +0000 (16:30 -0400)]
[CB-4730] [BlackBerry10] Updating init calls to work on Win 7 64
with long paths.
Reviewed By: James Keshavarzi <jkeshavarzi@blackberry.com>
Tested By: Daniel Audino <daudino@blackberry.com>
Jeffrey Heifetz [Fri, 30 Aug 2013 20:06:46 +0000 (16:06 -0400)]
[BlackBerry10] Updated init to work on Windows 7 with long paths
with spaces
Jeffrey Heifetz [Thu, 29 Aug 2013 02:30:55 +0000 (22:30 -0400)]
Updating scripts to make init calls surrounded in quotes
Reviewed By: James Keshavarzi <jkeshavarzi@blackberry.com>
Tested By: Daniel Audino <daudino@blackberry.com>
Jeffrey Heifetz [Fri, 30 Aug 2013 15:06:38 +0000 (11:06 -0400)]
[BlackBerry10] Fixing a bug with debugtoken generation without prompt
Reviewed By: James Keshavarzi <jkeshavarzi@blackberry.com>
Jeffrey Heifetz [Thu, 15 Aug 2013 14:24:05 +0000 (10:24 -0400)]
[CB-4544] Adds a --query flag to query the user for their password when we need it
- Rewrite the run script for maintenance
Reviewed By: Bryan Higgins <bhiggins@blackberry.com>
Tested By: Tracy Li <tli@blackberry.com>
DanielAudino [Tue, 13 Aug 2013 12:44:54 +0000 (08:44 -0400)]
[CB-4065] Remove lib files after frameworkModules.js is generated
Reviewed By: Jeffrey Heifetz <jheifetz@blackberry.com>
Tested By: Tracy Li <tli@blackberry.com>