Raphael von der Grün [Thu, 24 Oct 2019 11:33:53 +0000 (13:33 +0200)]
Re-apply fix for failing CordovaError test (#93)
This fix was first introduced in #65 and reverted by #89
Fixes #49
Raphael von der Grün [Thu, 24 Oct 2019 09:51:12 +0000 (11:51 +0200)]
Remove obsolete JSHint comments (#92)
Raphael von der Grün [Thu, 10 Oct 2019 14:57:43 +0000 (16:57 +0200)]
Convert CordovaError to ES6 class (#87)
holyhoehle [Mon, 9 Sep 2019 02:53:59 +0000 (04:53 +0200)]
(windows) Add .jsproj as file extension for XML files (#62) (#78)
Fixes #62
エリス [Wed, 21 Aug 2019 03:23:12 +0000 (12:23 +0900)]
revert: #24 CB-14108: fix incorrect count in config_munge (#89)
* Revert "CB-14108: fix incorrect count in config_munge in ios.json and android.json"
This reverts commit
ce3801a184d34cc4c3ea08aeecd159227c6ae9e9.
* chore: eslint object-curly-spacing fix
* add CordovaError spec
* chore: fix eslint warnings for CordovaError spec
* fix CordovaError spec test
* chore: added additional AS project path check
Chris Brody [Fri, 19 Jul 2019 12:26:35 +0000 (08:26 -0400)]
Merge pull request #82 from brodybits/general-cleanup-with-eslint-update
General cleanup with eslint updates
Christopher J. Brody [Thu, 18 Jul 2019 23:23:58 +0000 (19:23 -0400)]
eslint cleanup fixes for: padded-blocks
and remove padded-blocks exception from .eslintrc.yml
with src & spec fixed by the following command:
npm run eslint -- --fix
Christopher J. Brody [Thu, 18 Jul 2019 23:15:23 +0000 (19:15 -0400)]
(semi)standard eslint updates
- eslint-config-semistandard@14
- eslint-config-standard@13
with src & spec fixed by the following command:
npm run eslint -- --fix
Christopher J. Brody [Thu, 18 Jul 2019 23:07:14 +0000 (19:07 -0400)]
eslint cleanup fix for: no-prototype-builtins
as needed for the upcoming (semi)standard eslint package updates
Co-authored-by: Raphael von der Grün <raphinesse@gmail.com>
Co-authored-by: Christopher J. Brody <chris@brody.consulting>
Chris Brody [Thu, 18 Jul 2019 22:47:30 +0000 (18:47 -0400)]
eslint cleanup fixes: operator-linebreak (#86)
- remove operator-linebreak exception from .eslintrc.yml
- reformat ternary expresssions according to (semi)standard
- reformat error message expressions according to (semi)standard
as done by the following command, with no operator-linebreak
exception enabled:
npm run eslint -- --fix
Chris Brody [Thu, 18 Jul 2019 21:17:10 +0000 (17:17 -0400)]
remove no-throw-literal lint exception not needed (#81)
Raphael von der Grün [Thu, 18 Jul 2019 10:22:34 +0000 (12:22 +0200)]
Fix ESLint violations where applicable (#83)
Fixes most ESLint violations that were masked by ESLint comments. Two instances still remain. One is an acceptable usage of `eval` and is in `CordovaError` that should be fixed by its own commit.
Raphael von der Grün [Tue, 18 Jun 2019 09:04:37 +0000 (11:04 +0200)]
Update to jasmine 3.4 & fix resulting spec failures (#80)
Raphael von der Grün [Tue, 18 Jun 2019 02:50:05 +0000 (04:50 +0200)]
Promise handling cleanup in specs (#79)
* Proper expected rejection check in ActionStack spec
* Clean up Promise handling in PluginManager spec
* Remove usage of jasmine's done in sync specs
* Clean up Promise handling in superspawn spec
Chris Brody [Fri, 14 Jun 2019 15:06:17 +0000 (11:06 -0400)]
Do not ignore AppVeyor failures on Node.js 12 (#77)
Christopher J. Brody [Wed, 12 Jun 2019 08:52:40 +0000 (04:52 -0400)]
Increment package version to 3.2.1-dev
Christopher J. Brody [Wed, 12 Jun 2019 07:23:45 +0000 (03:23 -0400)]
Update version & RELEASENOTES.md for 3.2.0
Darryl Pogue [Tue, 11 Jun 2019 21:20:24 +0000 (14:20 -0700)]
Add Node.js 12 to CI Services (#68)
* Add Node.js 12 to CI Services
* TMP: Allow Node.js 12 Failure on AppVeyor
Oliver Salzburg [Wed, 8 May 2019 23:26:12 +0000 (01:26 +0200)]
(ios) Plist document not indented with tabs
Xcode indents .plist documents with tabs, not spaces. Other parts of
Cordova already use tabs for indenting .plist documents and using spaces
directly conflicts with both cases.
Darryl Pogue [Tue, 11 Jun 2019 15:23:28 +0000 (08:23 -0700)]
Update fs-extra to v8 (#70)
Piotr [Wed, 3 Apr 2019 09:07:02 +0000 (11:07 +0200)]
Add example usage of podspec declarations
When trying to find more information about new `<podspec>` tag deprecating `<framework type="podspec" />` I found this example usage.
However it doesn't specify how to use declarations so I've copied example from [specs fixture](https://github.com/apache/cordova-common/blob/rel/3.1.0/spec/fixtures/plugins/org.test.plugins.withcocoapods/plugin.xml#L37-L47)
Luo Gang [Tue, 22 Jan 2019 09:12:43 +0000 (17:12 +0800)]
implement setPreference and setPlatformPreference
Raphael von der Grün [Mon, 1 Apr 2019 14:47:27 +0000 (16:47 +0200)]
Catch leaked exceptions in superspawn and convert them to rejections
At least until Node.js 8, child_process.spawn will throw exceptions
instead of emitting error events in certain cases (like EACCES), Thus we
have to wrap the execution in try/catch to convert them into rejections.
Raphael von der Grün [Mon, 1 Apr 2019 14:24:12 +0000 (16:24 +0200)]
Merge pull request #65 from raphinesse/test-fixes
Test fixes
Raphael von der Grün [Mon, 1 Apr 2019 10:02:50 +0000 (12:02 +0200)]
Fix failing CordovaError test
Fixes #49
Raphael von der Grün [Mon, 1 Apr 2019 09:44:00 +0000 (11:44 +0200)]
Properly handle promise in superspawn test
Jan Piotrowski [Mon, 11 Feb 2019 17:36:42 +0000 (18:36 +0100)]
Add or update GitHub pull request and issue template
Christopher J. Brody [Mon, 24 Dec 2018 18:36:08 +0000 (13:36 -0500)]
Set version to 3.1.1-dev
Christopher J. Brody [Mon, 24 Dec 2018 18:33:11 +0000 (13:33 -0500)]
Update version & RELEASENOTES.md for release 3.1.0
Chris Brody [Thu, 20 Dec 2018 05:22:46 +0000 (00:22 -0500)]
Merge pull request #60 from brodybits/events-singleton
Cordova events singleton object
Christopher J. Brody [Wed, 19 Dec 2018 03:21:58 +0000 (22:21 -0500)]
Update Cordova events to use a real singleton
Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
Co-authored-by: Darryl Pogue <darryl@dpogue.ca>
Christopher J. Brody [Wed, 19 Dec 2018 03:14:34 +0000 (22:14 -0500)]
Refactor Cordova events into ES6 class
and replace var with const & let
Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
Co-authored-by: Darryl Pogue <darryl@dpogue.ca>
Chris Brody [Wed, 19 Dec 2018 03:08:33 +0000 (22:08 -0500)]
Merge pull request #59 from brodybits/events-spec-updates
Cordova events test updates in spec
Christopher J. Brody [Tue, 18 Dec 2018 18:03:17 +0000 (13:03 -0500)]
Add Cordova events emit method tests to spec
based on existing test code
with other minor Cordova events test updates
Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
Co-authored-by: daserge <v-seshak@microsoft.com>
Christopher J. Brody [Tue, 18 Dec 2018 13:54:46 +0000 (08:54 -0500)]
Explicit Cordova events section in spec
with forwardEventsTo method section indented
Darryl Pogue [Tue, 18 Dec 2018 13:05:01 +0000 (05:05 -0800)]
Refactor CordovaLogger to singleton class (#53)
Chris Brody [Tue, 4 Dec 2018 17:40:13 +0000 (12:40 -0500)]
Verbose test reporter (#55)
Co-authored-by: Raphael von der Grün <raphinesse@gmail.com>
Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
Chris Brody [Tue, 4 Dec 2018 15:14:35 +0000 (10:14 -0500)]
Cleanup indentation spacing in jasmine.json (#54)
Darryl Pogue [Sat, 3 Nov 2018 21:16:21 +0000 (14:16 -0700)]
Incremented package version to 3.0.1-dev
Darryl Pogue [Sat, 3 Nov 2018 21:12:42 +0000 (14:12 -0700)]
Updated version and RELEASENOTES.md for v3.0.0
Darryl Pogue [Sat, 3 Nov 2018 20:51:39 +0000 (13:51 -0700)]
Fix eslint object-curly-spacing complaints
Darryl Pogue [Sat, 3 Nov 2018 20:50:26 +0000 (13:50 -0700)]
Update fs-extra and eslint dependencies
Raphael von der Grün [Sun, 9 Sep 2018 11:44:26 +0000 (13:44 +0200)]
Use `cross-spawn` for platform-independent spawning
Closes #50.
knaito [Wed, 29 Aug 2018 06:51:25 +0000 (15:51 +0900)]
add method getPodSpecs and add related tests
Darryl Pogue [Thu, 6 Sep 2018 06:41:32 +0000 (23:41 -0700)]
CB-13496: Fix greedy regex in plist-helpers
Ken Naito [Tue, 11 Sep 2018 17:07:32 +0000 (02:07 +0900)]
CB-14108: fix incorrect count in config_munge in ios.json and android.json
* Fix to cordova prepare increment count at config_munge in platformJson
* Fix to cordova prepare when remove config-file case
Raphael von der Grün [Sun, 9 Sep 2018 13:36:17 +0000 (15:36 +0200)]
Normalize whitespace (#46)
knaito [Fri, 31 Aug 2018 04:03:07 +0000 (13:03 +0900)]
Fix xml-helpers issue by adding close tag
エリス [Tue, 5 Jun 2018 07:40:13 +0000 (16:40 +0900)]
CB-13685 android: Update ConfigParser for Adaptive Icons
Raphael von der Grün [Thu, 24 May 2018 12:56:45 +0000 (14:56 +0200)]
Make PlatformJson.generateMetadata more readable
knaito [Wed, 15 Aug 2018 04:06:37 +0000 (13:06 +0900)]
type attributes for header-file is added
Raphael von der Grün [Thu, 16 Aug 2018 14:24:30 +0000 (16:24 +0200)]
Simplify some helpers in util/xml-helpers (#40)
No functional changes. Just cleanup.
エリス [Thu, 16 Aug 2018 02:51:59 +0000 (11:51 +0900)]
Pin Jasmine@~3.1.0 (#37)
エリス [Fri, 13 Jul 2018 02:48:30 +0000 (11:48 +0900)]
CB-12016: (all) Removed cordova-registry-mapper dependency
エリス [Tue, 26 Jun 2018 09:57:41 +0000 (18:57 +0900)]
CB-14099 osx: Fixed Resolve Config Path for OSX
This closes #32
Christopher J. Brody [Tue, 19 Jun 2018 01:17:29 +0000 (21:17 -0400)]
.travis.yml add spacing
Christopher J. Brody [Fri, 15 Jun 2018 07:06:10 +0000 (03:06 -0400)]
Increment package version to 3.0.0-dev
Darryl Pogue [Tue, 5 Jun 2018 06:08:50 +0000 (23:08 -0700)]
Replace shelljs calls with fs-extra & which (#21)
Steve Gill [Thu, 31 May 2018 19:28:37 +0000 (12:28 -0700)]
added package-lock.json to .rateignore
Darryl Pogue [Thu, 31 May 2018 04:05:59 +0000 (21:05 -0700)]
CB-14112: Incremented package version to 2.3.0-dev
Darryl Pogue [Thu, 31 May 2018 03:59:43 +0000 (20:59 -0700)]
CB-14112: Updated version and RELEASENOTES.md for release 2.2.2
Raphael von der Grün [Mon, 21 May 2018 17:21:31 +0000 (19:21 +0200)]
Use strip-bom to strip BOM
Raphael von der Grün [Mon, 21 May 2018 17:45:35 +0000 (19:45 +0200)]
Simplify element removal in ConfigParser
Raphael von der Grün [Sat, 5 May 2018 22:26:04 +0000 (00:26 +0200)]
Use .includes and .startsWith instead of .indexOf
Raphael von der Grün [Mon, 21 May 2018 16:35:48 +0000 (18:35 +0200)]
Remove obsolete JSCS config
Darryl Pogue [Sun, 6 May 2018 00:31:49 +0000 (17:31 -0700)]
CB-13979: More consistency for config.xml lookups
Darryl Pogue [Fri, 4 May 2018 06:16:06 +0000 (23:16 -0700)]
Add GitHub pull request template
Darryl Pogue [Fri, 4 May 2018 06:11:51 +0000 (23:11 -0700)]
CB-14064: Remove Node 4 from CI matrix
Darryl Pogue [Fri, 4 May 2018 06:11:32 +0000 (23:11 -0700)]
Update dependencies
Darryl Pogue [Sat, 12 May 2018 07:22:21 +0000 (00:22 -0700)]
CB-11691: Fix for modifying binary plists
The bplist-parser module returns the plist dictionary object wrapped in
an array. When making modifications with `<edit-config>` or
`<config-file>`, it would add the changes as properties to the array but
then ignore them when writing out to the filesystem.
Jacques Caron [Tue, 9 Jan 2018 17:30:00 +0000 (18:30 +0100)]
CB-13770: Warn when <edit-config> or <config-file> not found
When a file is referenced in <edit-config> or <config-file> is not
found, no warning or error is generated.
This change logs a warning, and includes where the file is actually
expected to be based on the filename provided.
Raphael von der Grün [Fri, 4 May 2018 08:34:15 +0000 (10:34 +0200)]
Remove unused arguments and configure linter to report them
Raphael von der Grün [Fri, 4 May 2018 08:26:18 +0000 (10:26 +0200)]
Lint sources and specs in one go
Before this change, linting errors in the specs would only be reported
after fixing any linting errors in the sources and running the linter
for a second time.
Raphael von der Grün [Sat, 5 May 2018 06:11:40 +0000 (23:11 -0700)]
CB-13471: Fix tests and path issues for Windows
Audrey So [Thu, 26 Oct 2017 20:34:20 +0000 (13:34 -0700)]
CB-13471 : added unit test for config file provider
Raphael von der Grün [Fri, 4 May 2018 15:08:06 +0000 (17:08 +0200)]
Remove outdated README for ConfigParser
The README had completely broken Markdown in some parts.
Furthermore, it was missing a lot of the actually provided methods.
Lastly it was the only one of its kind (sub-README) anyway.
Raphael von der Grün [Fri, 4 May 2018 08:37:13 +0000 (10:37 +0200)]
Various fixes in README
Jacques Caron [Sat, 5 May 2018 06:02:06 +0000 (08:02 +0200)]
CB-13744: Recognize storyboards as XML files
This is to allow customization of the CDVLaunchScreen.storyboard to adjust contentmode and background color in config.xml.
Raphael von der Grün [Fri, 4 May 2018 05:35:16 +0000 (07:35 +0200)]
Fix repository URL in package.json
Steve Gill [Thu, 14 Dec 2017 21:43:45 +0000 (13:43 -0800)]
CB-13674 Incremented package version to -dev
Steve Gill [Thu, 14 Dec 2017 19:43:55 +0000 (11:43 -0800)]
CB-13674 Updated version and RELEASENOTES.md for release 2.2.1
Jesse MacFadyen [Thu, 7 Dec 2017 07:25:45 +0000 (23:25 -0800)]
removed rogue console.log that was making lib tests look fugly, changed CordovaLogger calls to events.emit to match most code. Is CordovaLogger used anywhere?
Steve Gill [Thu, 23 Nov 2017 00:55:03 +0000 (16:55 -0800)]
CB-13599 Incremented package version to -dev
Steve Gill [Thu, 23 Nov 2017 00:47:52 +0000 (16:47 -0800)]
CB-13599 Updated version and RELEASENOTES.md for release 2.2.0
Audrey [Mon, 30 Oct 2017 22:48:38 +0000 (15:48 -0700)]
Merge pull request #11 from audreyso/CB-13501
CB-13501 : added node 8 support
Audrey So [Fri, 27 Oct 2017 16:10:57 +0000 (09:10 -0700)]
CB-13501 : added node 8 support
Joe Bowser [Thu, 19 Oct 2017 21:20:43 +0000 (14:20 -0700)]
eslint fix
This closes #9
Joe Bowser [Thu, 19 Oct 2017 21:11:15 +0000 (14:11 -0700)]
CB-13471: File Provider fix belongs in cordova-common until we move this code out
Audrey So [Mon, 16 Oct 2017 13:29:31 +0000 (06:29 -0700)]
CB-11244 : added unit tests for ConfigFile
This closes #8
Joe Bowser [Tue, 3 Oct 2017 20:55:42 +0000 (13:55 -0700)]
CB-11244: eslint errors for spaces
This closes #7
Joe Bowser [Mon, 2 Oct 2017 21:00:46 +0000 (14:00 -0700)]
CB-11244: Spot fix for cordova-android PR #389
Steve Gill [Fri, 6 Oct 2017 22:28:29 +0000 (15:28 -0700)]
CB-13380 Incremented package version to -dev
Steve Gill [Thu, 5 Oct 2017 19:18:29 +0000 (12:18 -0700)]
CB-13380 Updated version and RELEASENOTES.md for release 2.1.1
Steve Gill [Fri, 18 Aug 2017 00:18:12 +0000 (17:18 -0700)]
CB-13145 : added getFrameworks to unit tests
Steve Gill [Fri, 18 Aug 2017 00:18:12 +0000 (17:18 -0700)]
CB-13145: added variable replacing to framework tag
Audrey So [Wed, 30 Aug 2017 22:07:22 +0000 (15:07 -0700)]
CB-13231 Incremented package version to -dev
Audrey So [Wed, 30 Aug 2017 21:48:23 +0000 (14:48 -0700)]
CB-13231 Updated version and RELEASENOTES.md for release 2.1.0
Steve Gill [Wed, 30 Aug 2017 05:36:53 +0000 (22:36 -0700)]
CB-13145: removed uncessary check in getFramework
Audrey So [Fri, 25 Aug 2017 20:26:40 +0000 (13:26 -0700)]
CB-13145 : added getFrameworks to unit test
Steve Gill [Fri, 18 Aug 2017 00:18:12 +0000 (17:18 -0700)]
CB-13145: added variable replacing to framework tag