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
Steve Gill [Fri, 18 Aug 2017 00:18:12 +0000 (17:18 -0700)]
CB-13145: added variable replacing to framework tag
Shazron Abdullah [Wed, 23 Aug 2017 23:05:06 +0000 (16:05 -0700)]
CB-13211 - Add 'allows-arbitrary-loads-for-media' attribute parsing for getAccesses
This closes #5
Nikita Matrosov [Fri, 28 Jul 2017 12:35:41 +0000 (15:35 +0300)]
CB-11968: Added support for <config-file> in config.xml
This closes #2
filmaj [Fri, 28 Jul 2017 18:36:03 +0000 (11:36 -0700)]
Run code coverage as part of CI. Add coverage/ dir to gitignore.
Audrey So [Fri, 9 Jun 2017 18:02:48 +0000 (11:02 -0700)]
CB-12895 : set up eslint and removed jshint
Steve Gill [Wed, 14 Jun 2017 19:25:48 +0000 (12:25 -0700)]
CB-11980: fixed incorrect appveyor image
Steve Gill [Tue, 6 Jun 2017 23:13:47 +0000 (16:13 -0700)]
CB-12785: added .gitignore file
Steve Gill [Tue, 6 Jun 2017 22:58:03 +0000 (15:58 -0700)]
CB-12785: added travis and appveyor badges to readme
Steve Gill [Tue, 6 Jun 2017 22:29:47 +0000 (15:29 -0700)]
CB-12785: updated travis file
Steve Gill [Tue, 6 Jun 2017 20:57:14 +0000 (13:57 -0700)]
CB-12785: added travis and appveyor files
Nikita Matrosov [Wed, 29 Mar 2017 13:51:08 +0000 (16:51 +0300)]
CB-12250 CB-12409 iOS: Fix bug with escaping properties from plist file
This closes #533
Audrey So [Fri, 2 Jun 2017 22:00:01 +0000 (15:00 -0700)]
CB-12762 : updated common, fetch, and serve pkgJson to point pkgJson repo items to github mirrors
This closes #560
Remco Haszing [Tue, 16 May 2017 07:58:54 +0000 (09:58 +0200)]
CB-12766 Consistently write JSON with 2 spaces indentation
JSON was written with 4 spaces indentation and even a tab at some
point. Most NodeJS tools write their JSON configuration with an
indentation of 2 spaces. Most notably npm does this, which writes to
package.json, as does Cordova. This caused unnecessary changes in
package.json.
This closes #558
Steve Gill [Tue, 2 May 2017 00:05:33 +0000 (02:05 +0200)]
CB-12747 Incremented package version to -dev
Steve Gill [Mon, 1 May 2017 23:17:27 +0000 (01:17 +0200)]
CB-12747 Updated version and RELEASENOTES.md for release 2.0.3
Steve Gill [Mon, 1 May 2017 23:17:19 +0000 (01:17 +0200)]
CB-12747 Updated version and RELEASENOTES.md for release 7.0.0