エリス [Tue, 15 Jan 2019 04:43:17 +0000 (13:43 +0900)]
GH-10 Updated version and RELEASENOTES.md for release 2.0.0
Mark Atkinson [Wed, 19 Dec 2018 19:48:59 +0000 (19:48 +0000)]
Updated to use ECMAScript 2015 Object.assign. (#14)
Updated pbxproj.js to use ECMAScript 2015 Object.assign to avoid
Maximum call stack size exceeded error when running
react-native link.
Laurin Quast [Wed, 19 Dec 2018 19:36:03 +0000 (20:36 +0100)]
fix: simple-plist@1 update in dependencies (#30)
Co-authored-by: Laurin Quast <laurinquast@googlemail.com>
Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
Laurin Quast [Wed, 19 Dec 2018 19:28:24 +0000 (20:28 +0100)]
drop support for Node.js pre-6.0 (#29)
* chore: remove node versions prior to 6 from travis build
* chore: bump node engine to lowest LTS version
* chore: remove redundant console output
resolves #17
Christopher J. Brody [Wed, 19 Dec 2018 16:53:34 +0000 (11:53 -0500)]
Increment package version to 2.0.0-dev
Christopher J. Brody [Wed, 19 Dec 2018 16:40:14 +0000 (11:40 -0500)]
Update version & RELEASENOTES.md for release 1.1.0
Chris Brody [Wed, 19 Dec 2018 15:25:14 +0000 (10:25 -0500)]
uuid@3 update (#40)
Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
Co-authored-by: Laurin Quast <laurinquast@googlemail.com>
Chris Brody [Wed, 12 Dec 2018 00:30:17 +0000 (19:30 -0500)]
Remove trailing whitespace from lib/pbxWriter.js (#35)
Chris Brody [Wed, 12 Dec 2018 00:09:47 +0000 (19:09 -0500)]
Remove trailing whitespace from test/*.js (#34)
Chris Brody [Wed, 12 Dec 2018 00:05:26 +0000 (19:05 -0500)]
Remove trailing space from test pbxproj (#33)
test/parser/projects/comments.pbxproj
Chris Brody [Tue, 11 Dec 2018 21:38:35 +0000 (16:38 -0500)]
git ignore package-lock.json (#32)
Chris Brody [Tue, 11 Dec 2018 21:13:50 +0000 (16:13 -0500)]
Resolve issue with pbxFile extension (#31)
where pbxFile extension was being set to 'undefined'
and add new test case to verify the bug fix
with a quick test fix by @brodybits (Christopher J. Brody)
for the sake of consistency with the other test cases
NOTE: These changes were originally part of
apache/cordova-node-xcode#12 (cordova-node-xcode PR #12),
extracted here by @brodybits.
Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
Co-authored-by: Christopher J. Brody <brodybits@litehelpers.net>
Laurin Quast [Sun, 9 Dec 2018 20:48:47 +0000 (21:48 +0100)]
feat: omit objects with empty values (#24)
and add tests
Chris Brody [Sun, 9 Dec 2018 18:06:41 +0000 (13:06 -0500)]
Add npm badge; fix title & description (#26)
with some fixes as suggested by @janpio
Co-authored-by: Christopher Brody <chris.brody@gmail.com>
Co-authored-by: Jan P <janpio@users.noreply.github.com>
Laurin Quast [Fri, 7 Dec 2018 15:13:28 +0000 (16:13 +0100)]
docs(readme): highlight code example (#25)
Chris Brody [Thu, 6 Dec 2018 16:15:23 +0000 (11:15 -0500)]
Add Travis CI badge (#22)
Chris Brody [Thu, 6 Dec 2018 16:06:07 +0000 (11:06 -0500)]
.travis.yml remove comment (#21)
that is not 100% correct
and extra blank line
Chris Brody [Wed, 5 Dec 2018 17:41:21 +0000 (12:41 -0500)]
Introduce .travis.yml (#19)
from cordova-common, with some changes
Testing of this package on old Node.js versions is included,
since some non-Cordova users may still expect this to work.
nvm install --latest-npm is used for Node.js 0.8, as long as needed;
thanks for guidance:
* https://stackoverflow.com/questions/
9755841/how-can-i-change-the-version-of-npm-using-nvm/
47519162#
47519162
* https://github.com/browserify/browserify/blob/master/.travis.yml
Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
Co-authored-by: Darryl Pogue <darryl@dpogue.ca>
Co-authored-by: Audrey So <audreyso@apache.org>
Co-authored-by: filmaj <maj.fil@gmail.com>
Co-authored-by: Steve Gill <stevengill97@gmail.com>
Chris Brody [Wed, 5 Dec 2018 16:29:58 +0000 (11:29 -0500)]
test/knownRegions.js let -> var (quick fix) (#18)
needed to pass on older Node.js versions
Christopher J. Brody [Mon, 9 Jul 2018 16:16:17 +0000 (12:16 -0400)]
pegjs updates
package.json
- move pegjs to devDependencies in package.json
- add pegjs script to package.json
- update README.md with easier pegjs instructions & reminder notice
Christopher J. Brody [Mon, 9 Jul 2018 16:04:33 +0000 (12:04 -0400)]
CB-14145 explicit nodeunit@^0.11.3 update
Christopher J. Brody [Mon, 9 Jul 2018 15:58:19 +0000 (11:58 -0400)]
package.json remove extra blank lines
kelvinhokk [Tue, 22 May 2018 06:35:52 +0000 (14:35 +0800)]
Fixed bug where comment is not removed on removing embedded frameworks. (#5)
Shazron Abdullah [Sun, 11 Feb 2018 16:12:08 +0000 (00:12 +0800)]
Merge pull request #8 from ikhattab/patch-1
update invalid link of PEGjs on README
Ihab Khattab [Sat, 10 Feb 2018 12:40:59 +0000 (14:40 +0200)]
update invalid link of PEGjs on README
Steve Gill [Fri, 6 Oct 2017 22:28:29 +0000 (15:28 -0700)]
CB-13380 Incremented package version to -dev
Steve Gill [Fri, 6 Oct 2017 00:34:46 +0000 (17:34 -0700)]
CB-13380 added missing license headers
Steve Gill [Thu, 5 Oct 2017 19:18:30 +0000 (12:18 -0700)]
CB-13380 Updated version and RELEASENOTES.md for release 1.0.0
ZauberNerd [Thu, 1 Jun 2017 12:21:50 +0000 (14:21 +0200)]
Fix null-access errors in "addTo/removeFrom*PbxGroup" methods
The project exposes a few methods to add/remove children from PbxGroups
* `addToPluginsPbxGroup` / `removeFromPluginsPbxGroup`
* `addToResourcesPbxGroup` / `removeFromResourcesPbxGroup`
* `addToFrameworksPbxGroup` / `removeFromFrameworksPbxGroup`
* `addToProductsPbxGroup` / `removeFromProductsPbxGroup`
which are used internally in:
* `addPluginFile` / `removePluginFile`
* `addResourceFile` / `removeResourceFile`
* `addProductFile` / `removeProductFile`
* `addFramework` / `removeFramework`
But neither of these methods do a check whether the `PbxGroup` actually
exists before trying to modify it - this can result in a possible
null-access error.
I ran into this problem when trying to add a framework to a project
which didn't have a `Frameworks` `PbxGroup`.
This commit adds checks to these methods to test for existence of the
`PbxGroup`s and creates them if they don't exist or does an early exit
in the case of removal.
This closes #3
ZauberNerd [Thu, 4 May 2017 13:24:06 +0000 (15:24 +0200)]
Fix possible null-access error in "removeFromFrameworksPbxGroup"
The method `project.removeFromFrameworksPbxGroup` directly tries to
access `children` on `project.pbxGroupByName` - but this method might
return `null` if no such group exists.
To prevent a runtime error when trying to access a property on `null` we
can add a check whether the requested group "Frameworks" does exist in
the project and only then continue with the removal of the file.
This closes #1
Paul Dixon [Sun, 24 Sep 2017 11:07:54 +0000 (12:07 +0100)]
add check for isArray so that strings don't cause an error when calling .filter
This closes #4
Andrew Lunny [Tue, 11 Apr 2017 20:54:25 +0000 (13:54 -0700)]
Merge pull request #128 from purplecabbage/ContributeToApacheCordova
Updated License, Copyright, Contributors and repo url
Jesse MacFadyen [Tue, 11 Apr 2017 20:50:45 +0000 (13:50 -0700)]
Updated License, Copyright, Contributors and repo url, in prep for contributing this project to Apache Cordova
imhotep [Fri, 7 Apr 2017 13:49:27 +0000 (14:49 +0100)]
bumping to 0.9.3
imhotep [Fri, 7 Apr 2017 13:38:36 +0000 (14:38 +0100)]
Merge branch 'zhuangya-upgrade'
imhotep [Fri, 7 Apr 2017 13:33:05 +0000 (14:33 +0100)]
Merge branch 'upgrade' of https://github.com/zhuangya/node-xcode into zhuangya-upgrade
imhotep [Fri, 31 Mar 2017 23:06:47 +0000 (16:06 -0700)]
bumping version to 0.9.2
Ya Zhuang [Wed, 8 Feb 2017 14:57:36 +0000 (22:57 +0800)]
chore: upgrade PEG, simple-plist and nodeunit
Anis Kadri [Tue, 3 Jan 2017 22:40:52 +0000 (14:40 -0800)]
Merge branch 'freiserg-master'
Anis Kadri [Tue, 3 Jan 2017 22:40:12 +0000 (14:40 -0800)]
Merge branch 'master' of https://github.com/freiserg/node-xcode into freiserg-master
Anis Kadri [Tue, 3 Jan 2017 22:10:12 +0000 (14:10 -0800)]
Bumping to 0.9.1
Anis Kadri [Tue, 3 Jan 2017 22:09:11 +0000 (14:09 -0800)]
Merge branch 'AbnerZheng-master'
Anis Kadri [Tue, 3 Jan 2017 22:08:36 +0000 (14:08 -0800)]
Merge branch 'master' of https://github.com/AbnerZheng/node-xcode into AbnerZheng-master
freiserg [Thu, 22 Dec 2016 11:35:16 +0000 (15:35 +0400)]
Update a uuid module
Anis Kadri [Tue, 20 Dec 2016 17:24:24 +0000 (18:24 +0100)]
Merge branch 'innovative1-master'
John Warmann [Fri, 16 Dec 2016 23:57:51 +0000 (18:57 -0500)]
Tests for knownRegions
John Warmann [Fri, 16 Dec 2016 23:57:10 +0000 (18:57 -0500)]
Adding and removing knownRegions to/from PBXProject section
Anis Kadri [Sun, 11 Dec 2016 06:57:13 +0000 (07:57 +0100)]
Merge branch 'kelvinhokk-master'
Anis Kadri [Sun, 11 Dec 2016 06:56:58 +0000 (07:56 +0100)]
Merge branch 'master' of https://github.com/kelvinhokk/node-xcode into kelvinhokk-master
Anis Kadri [Sun, 11 Dec 2016 06:42:26 +0000 (07:42 +0100)]
Merge branch 'superserg8-master'
Sergey [Sat, 10 Dec 2016 13:48:52 +0000 (16:48 +0300)]
pbxProject removeTargetAttribute
Sergey [Fri, 9 Dec 2016 12:24:35 +0000 (15:24 +0300)]
pbxProject addTargetAttribute
zhenglu.zl [Fri, 9 Dec 2016 09:24:02 +0000 (17:24 +0800)]
change tail recursive -> iterate
kelvinho [Fri, 2 Dec 2016 19:44:49 +0000 (03:44 +0800)]
added PBXVariantGroup for localization and nodeunit test cases
Anis Kadri [Thu, 17 Nov 2016 22:09:07 +0000 (14:09 -0800)]
Merge branch 'sundbry-shell-step'
Ryan Sundberg [Thu, 27 Oct 2016 18:29:51 +0000 (11:29 -0700)]
Test case for PBXShellScriptBuildPhase
Ryan Sundberg [Wed, 26 Oct 2016 20:35:40 +0000 (13:35 -0700)]
Upgrade to 0.9.0
Ryan Sundberg [Thu, 27 Oct 2016 18:25:46 +0000 (11:25 -0700)]
RM debug logs
Ryan Sundberg [Wed, 26 Oct 2016 20:34:55 +0000 (13:34 -0700)]
Add support for PBXShellScriptBuildPhase
Anis Kadri [Thu, 18 Aug 2016 17:07:31 +0000 (10:07 -0700)]
Merge pull request #103 from shazron/license-key-fix
Added license key to package.json (Apache-2.0)
Shazron Abdullah [Thu, 18 Aug 2016 00:08:52 +0000 (17:08 -0700)]
Added license key to package.json (Apache-2.0)
Anis Kadri [Wed, 17 Aug 2016 22:00:34 +0000 (15:00 -0700)]
Issue #102 Changing license in README.md
Anis Kadri [Thu, 21 Jul 2016 21:46:51 +0000 (14:46 -0700)]
bumping version to 0.8.9
Anis Kadri [Mon, 6 Jun 2016 12:36:01 +0000 (14:36 +0200)]
Issue #97 removing unused self reference
Anis Kadri [Sun, 5 Jun 2016 12:23:48 +0000 (14:23 +0200)]
minor change to pbxFile
Anis Kadri [Wed, 1 Jun 2016 17:26:08 +0000 (19:26 +0200)]
Bumping to 0.8.8
Anis Kadri [Wed, 1 Jun 2016 17:25:31 +0000 (19:25 +0200)]
Merge branch 'appden-tbd-support'
Anis Kadri [Wed, 1 Jun 2016 17:23:50 +0000 (19:23 +0200)]
Merge branch 'tbd-support' of https://github.com/appden/node-xcode into appden-tbd-support
Scott Kyle [Tue, 31 May 2016 21:54:37 +0000 (14:54 -0700)]
Add tests for new tbd file support
Anis Kadri [Sun, 29 May 2016 15:10:20 +0000 (17:10 +0200)]
Merge branch 'master' of https://github.com/mcgrews3/node-xcode into mcgrews3-master
Anis Kadri [Sun, 29 May 2016 15:06:30 +0000 (17:06 +0200)]
Merge branch 'ratson-master'
Ratson [Thu, 26 May 2016 12:42:34 +0000 (20:42 +0800)]
Update dependencies
Anis Kadri [Wed, 18 May 2016 14:23:51 +0000 (16:23 +0200)]
Bumping version to 0.8.7
Anis Kadri [Wed, 18 May 2016 14:22:57 +0000 (16:22 +0200)]
Merge branch 'aabluedragon-patch-1'
Anis Kadri [Wed, 18 May 2016 14:22:25 +0000 (16:22 +0200)]
Merge branch 'patch-1' of https://github.com/aabluedragon/node-xcode into aabluedragon-patch-1
Alon Amir [Mon, 16 May 2016 17:35:15 +0000 (20:35 +0300)]
Update addBuildPhase.js
Deleted redundant spaces.
Alon Amir [Mon, 16 May 2016 17:27:47 +0000 (20:27 +0300)]
Update addBuildPhase.js
Testing the 'frameworks' key directly.
Alon Amir [Mon, 16 May 2016 17:02:00 +0000 (20:02 +0300)]
Update addFramework.js
Added test for the previous commit.
Anis Kadri [Thu, 12 May 2016 21:24:23 +0000 (14:24 -0700)]
Merge branch 'robertoandrade-forkChanges'
Anis Kadri [Thu, 12 May 2016 21:19:26 +0000 (14:19 -0700)]
Merge branch 'forkChanges' of https://github.com/robertoandrade/node-xcode into robertoandrade-forkChanges
Scott Kyle [Thu, 12 May 2016 10:32:22 +0000 (03:32 -0700)]
Support adding/removing tbd files just like dylibs
Xcode 7 now uses these text-based dylib definition files instead of dylibs.
Roberto Andrade [Thu, 12 May 2016 02:10:41 +0000 (22:10 -0400)]
Addressing test failures
Anis Kadri [Wed, 11 May 2016 23:59:16 +0000 (16:59 -0700)]
Merge branch 'forkChanges' of https://github.com/robertoandrade/node-xcode into robertoandrade-forkChanges
Anis Kadri [Wed, 11 May 2016 23:56:39 +0000 (16:56 -0700)]
Issue #89 updating node-uuid to 1.4.7
Roberto Andrade [Tue, 10 May 2016 05:09:33 +0000 (01:09 -0400)]
Merge branch 'master' into forkChanges
# Conflicts:
# package.json
Roberto Andrade [Tue, 10 May 2016 05:08:07 +0000 (01:08 -0400)]
Adjusting framework settings to only be applied when embedding to avoid parsing crashes on Xcode 7.3
Anis Kadri [Fri, 6 May 2016 18:34:17 +0000 (11:34 -0700)]
bumping to 0.8.5
Anis Kadri [Fri, 6 May 2016 18:33:32 +0000 (11:33 -0700)]
Merge branch 'vladimir-kotikov-node6_fix'
Anis Kadri [Fri, 6 May 2016 18:33:05 +0000 (11:33 -0700)]
Merge branch 'node6_fix' of https://github.com/vladimir-kotikov/node-xcode into vladimir-kotikov-node6_fix
Vladimir Kotikov [Thu, 5 May 2016 09:00:07 +0000 (12:00 +0300)]
Remove custom frameworks correctly
Update tests to deal with customFrameworks properly
Remove incorrect assertion in removeFrameworks tests
Alon Amir [Tue, 19 Apr 2016 15:04:01 +0000 (18:04 +0300)]
pbxProject: pbxCopyFilesBuildPhaseObj missing 'frameworks'
Previously there was no way to access SUBFOLDERSPEC_BY_DESTINATION.frameworks
jdmcgrew [Wed, 16 Mar 2016 17:40:27 +0000 (10:40 -0700)]
ResourceFile group capability
Justin McGrew [Tue, 15 Mar 2016 22:07:41 +0000 (15:07 -0700)]
Merge pull request #1 from alunny/master
merge latest updates into mcgrews3-fork
Anis Kadri [Thu, 10 Mar 2016 01:14:20 +0000 (17:14 -0800)]
Bumping version to 0.8.4
Anis Kadri [Thu, 10 Mar 2016 01:13:14 +0000 (17:13 -0800)]
Merge branch 'vladimir-kotikov-master'
Vladimir Kotikov [Sat, 5 Mar 2016 09:38:25 +0000 (12:38 +0300)]
Use correct path separator when dealing with FRAMEWORK_SEARCH_PATHS
Anis Kadri [Tue, 1 Mar 2016 23:36:56 +0000 (15:36 -0800)]
Merge branch 'robertoandrade-forkChanges'
Roberto Andrade [Thu, 25 Feb 2016 16:02:13 +0000 (11:02 -0500)]
Enabling code signing of frameworks during build
Roberto Andrade [Wed, 24 Feb 2016 16:11:59 +0000 (11:11 -0500)]
Adding options to make embedding of frameworks (i.e.: iOS 8 custom frameworks) as well as linking (i.e.: skipping it for header-only frameworks) optional.
Anis Kadri [Mon, 11 Jan 2016 23:01:41 +0000 (15:01 -0800)]
bumping version to 0.8.3