Cheng Zhao
2ce1d3a784
Fix building on cygwin.
2014-02-25 19:06:15 +08:00
Cheng Zhao
30b3657c0e
Update libchromiumcontent to 1df8e7cdac8aa74c91c19ae0691ce512d560ab3e.
2014-02-25 08:53:17 +08:00
Cheng Zhao
06a4f83bb7
linux: Fix upload script.
2014-02-24 05:41:16 +00:00
Cheng Zhao
7a8e43c65e
linux: Fix create-dist.
2014-02-24 13:44:23 +08:00
Cheng Zhao
fbe963c7f3
💄 Fix cpplint warnings.
2014-02-21 12:57:45 +08:00
Cheng Zhao
c56480fd89
Update libchromiumcontent to use the thin version.
2014-02-20 18:20:29 +08:00
Cheng Zhao
ea8d349b1b
💄 Fix cpplinting.
2014-02-19 21:25:18 +08:00
Cheng Zhao
d89fb15daf
Merge branch 'master' into linux
2014-02-19 11:04:15 +00:00
Cheng Zhao
d698ecf017
linux: Make test.py work.
2014-02-14 15:17:24 +00:00
Cheng Zhao
4051d2ebdb
Merge branch 'master' into linux
...
Conflicts:
atom.gyp
vendor/apm
vendor/brightray
2014-02-14 13:17:00 +00:00
Cheng Zhao
a76183c188
Do not print download progress in CI.
2014-02-17 17:50:25 +08:00
Cheng Zhao
74a83e3d7c
The translate-crash-log-addresses script is abandonded.
2014-02-06 18:35:54 +08:00
Cheng Zhao
c13724b342
Fix ci.
2014-02-02 19:58:25 +08:00
Cheng Zhao
a8f172752a
💄 Fix cpplint warning.
2014-01-31 20:28:33 +08:00
Cheng Zhao
b7e120b68c
Merge branch 'master' into cj-replace-sparkle-with-squirrel
2014-01-31 19:36:26 +08:00
Cheng Zhao
a85075103f
Move resources file under resources/
2014-01-31 19:34:31 +08:00
Cheng Zhao
6478244fbf
Put common constants into one file.
2014-01-31 12:18:30 +08:00
Cheng Zhao
e0f660301c
Specify the commit of libchromiumcontent to download.
2014-01-31 12:09:43 +08:00
probablycorey
795c31918a
Merge remote-tracking branch 'origin/master' into cj-replace-sparkle-with-squirrel
2014-01-29 14:55:20 -08:00
Cheng Zhao
f05daa8bdc
Make bump-version accept major/minor/patch/build.
2014-01-27 18:37:39 +08:00
Cheng Zhao
ef8e5505c8
Merge branch 'master' into cj-replace-sparkle-with-squirrel
2014-01-21 20:40:19 +08:00
Cheng Zhao
c271d89677
Fix cpplint warnings.
2014-01-21 20:25:01 +08:00
probablycorey
400e963b8b
Download Squirrel frameworks instead of Sparkle
2014-01-20 16:25:33 -08:00
Cheng Zhao
2f798c5116
Merge branch 'master' into linux
...
Conflicts:
vendor/apm
2014-01-15 11:18:40 +00:00
Cheng Zhao
bde4a732c4
Bump node version to v0.11.10.
2014-01-10 18:37:05 +08:00
Cheng Zhao
c64a793364
Build with clang under Linux.
2013-12-31 11:27:31 +00:00
Cheng Zhao
a2522efb25
Build for x64 architecture on OS X, fixes #132 .
2013-12-27 14:17:35 +08:00
Cheng Zhao
cfca12d4a5
Use the gyp vendored by brightray.
2013-12-25 18:47:19 +08:00
Cheng Zhao
6e079d8bc4
Also search C:/Program Files (x86) for node binary.
2013-12-17 13:14:54 +08:00
Cheng Zhao
eda4249bf8
Add deps/npm and deps/mdb_v8 in node headers.
2013-12-16 22:37:17 +08:00
Cheng Zhao
2ca2d37e93
Clean out node_modules in cibuild.
2013-12-16 15:15:33 +08:00
Cheng Zhao
d3416e2873
Bump node version to v0.11.9.
2013-12-16 14:52:15 +08:00
Cheng Zhao
e9e90b481a
💄 Fix cpplint warnings.
2013-12-05 23:54:57 +08:00
Cheng Zhao
0d77ba5222
No need to ship atom.exe.pdb any more.
2013-11-28 20:14:45 +08:00
Cheng Zhao
deef68bcf9
Also search libchromiumcontent download dir for dSYMs.
2013-11-23 01:07:38 -08:00
Cheng Zhao
ffaf535d00
Add script to generate symbols from pdbs on Windows.
2013-11-26 21:23:50 +08:00
Cheng Zhao
edf7496443
Also clean up libchromiumcontent in cibuild.
2013-11-26 11:04:37 +08:00
Cheng Zhao
1fc9ef33db
Remove the build directory beforing rebuilding in cibuild.
2013-11-26 09:39:24 +08:00
Cheng Zhao
3a4835ff1c
Also download libchromiumcontent symbols on Mac.
2013-11-25 23:13:58 +08:00
Cheng Zhao
47d37cc1e3
Download libchromiumcontent symbols when creating symbols.
2013-11-25 16:02:35 +08:00
Cheng Zhao
9981fd51da
win: Fix error when bootstraping.
2013-11-19 20:43:30 +08:00
Cheng Zhao
aef6d44a01
Also upload symbols to GitHub Release.
2013-11-18 18:02:38 +08:00
Cheng Zhao
e4b4087fdb
Create symbols zip file when creating distribution.
2013-11-18 11:41:44 +08:00
Cheng Zhao
801a19504a
No more downloading QuincyKit.
2013-11-13 19:19:57 +08:00
Cheng Zhao
7324f0468b
💄 fix typo.
2013-11-07 16:59:33 +08:00
Cheng Zhao
64e3a6b437
Add x permission for bump-version.py.
2013-11-07 16:58:09 +08:00
Cheng Zhao
690ab7d4ae
Add tag and commit after version is bumped.
2013-11-07 15:41:14 +08:00
Cheng Zhao
48a0ac9a96
Update Info.plist when bumping version.
2013-11-07 15:37:21 +08:00
Cheng Zhao
7212fa1056
Also update atom_version.h and atom.rc in bump-version.py.
2013-11-07 15:19:37 +08:00
Cheng Zhao
e075a8b49e
Add tool to help bump version.
2013-11-07 12:52:26 +08:00
Cheng Zhao
198b52bf40
win: Ship the pdb file, fixes #112 .
2013-10-26 17:44:51 +08:00
Cheng Zhao
cb31140d3a
Do "compress" the archive when creating zip.
...
By default the zipfile module doesn't do the compression unless we
explictly specify the method.
2013-10-26 17:42:12 +08:00
Cheng Zhao
3ddba90d94
Fix creating zip distribution on Windows.
2013-10-26 17:23:16 +08:00
Cheng Zhao
acda56210b
Specify the version instead of using "*" for dependencies in package.json.
2013-10-17 09:58:55 +08:00
Cheng Zhao
61b2377cf2
Use stream-uploading to upload the asset to GitHub.
2013-10-15 09:04:05 +08:00
Cheng Zhao
0ad1fc842d
Do not multipart-encode the uploaded file.
2013-10-10 18:05:01 +08:00
Cheng Zhao
7f0e7f3835
Check the build version of Release build in upload script.
2013-10-10 14:39:54 +08:00
Cheng Zhao
06ae5c06b8
Make sure binary version is dumped before uploading.
2013-10-03 11:48:13 +08:00
Cheng Zhao
43a5453de5
💄 Fix target version of atom-shell's uploading.
2013-09-29 20:18:55 +08:00
Cheng Zhao
87d94ff1ae
Do not require uploading a tag before publish release.
2013-09-29 15:31:20 +08:00
Cheng Zhao
6e43074586
Still upload distribution file to S3 since Atom hasn't used Releases API yet.
2013-09-29 15:15:16 +08:00
Cheng Zhao
95e79124eb
Do not publish release when body of release note is empty.
2013-09-27 15:55:46 +08:00
Cheng Zhao
f3eef6cc2e
Do not warn about 80 columns in coffeelint, it's not required.
2013-09-27 11:01:40 +08:00
Cheng Zhao
11f387743f
Add wrapper script for coffeelint.
2013-09-27 10:49:55 +08:00
Cheng Zhao
3b3585f575
Skip the check for lib.github.
2013-09-27 10:43:10 +08:00
Cheng Zhao
6be716c6e8
Run pylint in cibuild.
2013-09-27 10:22:13 +08:00
Cheng Zhao
2b923b988c
Add wrapper script for pylint.
2013-09-27 10:21:49 +08:00
Cheng Zhao
ef8a05be38
💄 Fix violations against pylint.
2013-09-27 10:21:27 +08:00
Cheng Zhao
e376850552
💄 Fix cpplint warnings.
2013-09-27 09:26:36 +08:00
Cheng Zhao
1ce61c7845
Get the body of release with current $EDITOR.
2013-09-27 09:10:22 +08:00
Cheng Zhao
68a3fd6f05
Publish the release after the uploading is end.
2013-09-26 22:02:09 +08:00
Cheng Zhao
ce012043fa
Upload both atom-shell and node's headers.
2013-09-26 21:20:38 +08:00
Cheng Zhao
ae70d5cb64
Silence the output of upload script.
2013-09-26 20:58:51 +08:00
Cheng Zhao
db359ae75c
Upload the asset after release note is created.
2013-09-26 20:32:11 +08:00
Cheng Zhao
3586565bba
Handle the assets uploading in the GitHub API library.
2013-09-26 20:31:17 +08:00
Cheng Zhao
fe67ecd7fd
💄 Find the release even when commit isn't tagged.
2013-09-26 19:54:28 +08:00
Cheng Zhao
33c509b867
Create new release note or get the existing one when uploading.
2013-09-26 19:49:09 +08:00
Cheng Zhao
3edfb7d5c3
Correctly deal with API errors.
2013-09-26 19:48:48 +08:00
Cheng Zhao
eed2b0fd81
Accept still-preview apis.
2013-09-26 16:38:08 +08:00
Cheng Zhao
4c4b8a8486
Add a simple wrapper of GitHub API.
2013-09-26 16:32:39 +08:00
Cheng Zhao
6c098deb57
💄 Fix cpplint warnings.
2013-09-12 13:03:57 +08:00
Cheng Zhao
aad0c8e996
Update node to v0.10.18.
2013-09-05 15:15:13 +08:00
Cheng Zhao
9ba08d5e67
💄 fix reversed flag for updating latest version.
2013-09-02 18:17:06 +08:00
Cheng Zhao
3b149945bf
Upload a fake empty x64 node.lib.
...
We only allow building ia32 build of atom-shell, so the x64 node.lib is
not in use, but it's required by node-gyp.
2013-09-02 13:27:26 +08:00
Cheng Zhao
5fe9f281ac
Only generate node.lib when we need to upload node headers.
2013-08-31 17:00:13 +08:00
Cheng Zhao
e7d4b44d05
💄 for node version and upload node.lib.
2013-08-31 15:20:59 +08:00
Cheng Zhao
5787b4cd6f
Also ship ffmpegsumo.dll in the distribution.
2013-08-31 11:13:11 +08:00
Cheng Zhao
a26308d902
Use node's version for the node headers tarball.
2013-08-31 10:51:53 +08:00
Cheng Zhao
c2093946c8
Add flag for upload script to skip updating version.
...
When uploading multiple distributions in future, we need to make sure
all distributions have to ben uploaded before triggering the
update-atom-shell script of Atom.
2013-08-31 10:48:47 +08:00
Cheng Zhao
0286379706
Don't require multipart for uploading to S3.
...
The file we are uploading is not large, and multipart works really bad
on bad networking.
2013-08-31 10:36:13 +08:00
Cheng Zhao
6765ec30f1
The distribution name should contain version and platform.
2013-08-31 10:35:01 +08:00
Cheng Zhao
beba27ed1e
Create zip distribution for binaries on Windows.
2013-08-31 09:37:23 +08:00
Cheng Zhao
24f510ca03
Ship correct binaries on Windows.
2013-08-31 09:06:27 +08:00
Cheng Zhao
2cbe823773
Use Chromium V8's headers in the node headers tarball.
2013-08-31 08:22:16 +08:00
Cheng Zhao
c87956ef4f
Make sure cibuild calls all necessary scripts.
2013-08-21 21:41:34 +08:00
Cheng Zhao
7cc1589097
Abort when there is a error in cpplint.
2013-08-21 21:35:41 +08:00
Cheng Zhao
e8ecbec3a7
💄
2013-08-21 21:24:18 +08:00
Cheng Zhao
4914dd67b6
Also upload node's headers to S3.
2013-08-21 12:16:40 +08:00
Cheng Zhao
1e895bdf76
Create the tarball containing node's headers.
2013-08-21 12:09:26 +08:00
Cheng Zhao
5b74dff8f1
Generate the distribution file under 'dist' directory.
2013-08-21 11:57:35 +08:00
Cheng Zhao
5b862fdf60
Also copy gyp files when copying headers.
2013-08-21 11:52:13 +08:00
Cheng Zhao
d160da7752
Add script to run specs in CI, fixes #61 .
2013-08-21 11:41:08 +08:00
Paul Betts
22c8b55cb9
Fix invocation of npm on non-Cygwin
2013-08-20 16:37:02 +02:00
Cheng Zhao
cdbb16d8fe
💄 for cpplint.
2013-08-17 16:28:06 +08:00
Cheng Zhao
979ec05ed3
[Win] Fix running node from python.
...
There is a mysterious "WindowsError [error 5] Access is denied" error is
the "executable" is not specified under Windows.
2013-08-16 16:28:45 +08:00
Cheng Zhao
452c350798
💄 for cpplint.
2013-08-13 17:07:36 +08:00
Cheng Zhao
a27009f0a9
Upload to S3 with readable version.
2013-08-12 15:01:05 +08:00
Cheng Zhao
3da4736a2b
Collect header files from vendor/node.
2013-08-12 15:00:50 +08:00
Cheng Zhao
963b73a8aa
Use result of git describe
as version.
2013-08-08 17:49:35 +08:00
Cheng Zhao
47be87fe5f
Only zip specified files.
2013-08-08 17:13:45 +08:00
Cheng Zhao
317bd0debf
Discard the extra node binary.
...
We now use atom-shell's binary to execute scripts.
2013-08-08 16:57:07 +08:00
Cheng Zhao
296feb1a50
💄 on string comparison.
2013-08-06 20:44:18 +08:00
Cheng Zhao
c5e0ae6495
Fix calling apm under cygwin.
2013-08-06 20:14:28 +08:00
Cheng Zhao
6e90430df5
Use apm to install third party node modules.
2013-08-03 16:39:54 +08:00
Cheng Zhao
192216ea64
Update node before running npm.
2013-08-03 16:38:02 +08:00
Cheng Zhao
247f7a51eb
Fix the update-node script.
2013-07-31 12:14:58 +08:00
Cheng Zhao
e1ac21aa7a
Add script translate addresses in crash report into symbols.
2013-07-28 10:04:56 +08:00
Cheng Zhao
f8090dc010
Fix the update-node script for our new style of URLs.
2013-07-26 19:52:47 +08:00
Cheng Zhao
d7351f102f
Update node to v0.10.5.
2013-07-26 19:31:58 +08:00
Cheng Zhao
b91f29429e
Fix updating the win32 python repo.
2013-07-24 18:33:49 +08:00
Cheng Zhao
99c37fc902
[Win] Pass relative path in the test script.
...
Parameter starting with '/' could be thought as switches under Windows.
2013-07-19 10:41:24 +08:00
Cheng Zhao
2af41ae56d
Add script to run test.
2013-07-17 16:42:06 +08:00
Cheng Zhao
45285c8c9c
Should install node modules for default_app and spec when bootstrap.
2013-07-17 16:29:40 +08:00
Cheng Zhao
a3d362127e
Make sure atom-shell is build before creating distribution.
2013-07-17 10:57:25 +08:00
Cheng Zhao
598f3cdcd9
Update gyp and depot_tools.
2013-07-10 08:36:26 +08:00
Cheng Zhao
950c09f2e7
Use depot_tools to provide ninja binary and cpplint.
2013-07-07 16:25:50 +08:00
Cheng Zhao
003c5a1227
Fix uploading the version file to wrong place.
2013-07-03 17:46:14 +08:00
Cheng Zhao
7c2a4882a6
Make sure the fake config.gypi can be parsed by node.js.
2013-07-02 22:32:14 +08:00
Cheng Zhao
9c9d62c3a9
Should write a meaningful config.gypi for node.
...
Node is parsing it for 'process.config', empty file would cause
exception.
2013-07-02 22:23:13 +08:00
Cheng Zhao
e87a7c286c
Don't throw exception when gyp fails.
...
This makes output cleaner when we got a gyp error.
2013-07-02 09:33:11 +08:00
Cheng Zhao
dc1655979e
Only create config.gypi if it doesn't exist.
...
Otherwise every call of bootstrap would trigger recompilation of some
files.
2013-07-02 09:31:43 +08:00
Cheng Zhao
a749a6dc2d
Include node's config.gypi in atom-shell.
...
Removed 3 commits of our node fork.
2013-07-02 09:16:56 +08:00
Cheng Zhao
90ab2dcc7e
Fix update-frameworks.
2013-07-01 22:27:14 +08:00
Cheng Zhao
ec5fc10bd9
Fix calling compile-coffee under cygwin.
2013-07-01 18:04:15 +08:00
Cheng Zhao
5ccff31f52
Add switch to skip operations require networking.
...
I'm on a slow network :-(
2013-07-01 16:12:31 +08:00
Cheng Zhao
74fe79ce62
We don't need to force updating to latest npm.
2013-07-01 16:06:37 +08:00
Cheng Zhao
f510f77b98
Use win32 python to call gyp when running under cygwin.
2013-07-01 15:49:52 +08:00
Cheng Zhao
1edf3bd12f
Pull in precompiled python under cygwin.
2013-07-01 15:21:57 +08:00
Cheng Zhao
bafd6a5c49
Ship gyp.
2013-07-01 15:21:56 +08:00
Cheng Zhao
97a38fe55d
Only download frameworks on OS X.
2013-07-01 15:21:55 +08:00
Cheng Zhao
8034afdcdf
Update npm after node is downloaded.
...
So we can execute npm even without system node.
2013-07-01 15:21:55 +08:00
Cheng Zhao
1dff44340a
Also ship version and LICENSE file with dist.
2013-06-29 11:52:58 +08:00
Cheng Zhao
0af724205c
Make sure dist is created for the HEAD before uploading.
2013-06-29 11:36:02 +08:00
Cheng Zhao
c651e96708
Clean unused bash script.
2013-06-25 09:20:55 +08:00
Cheng Zhao
40ed17d8fd
Modify upload script to obey chromium's style.
2013-06-24 17:56:51 +08:00
Cheng Zhao
b17a6c9887
Remove the download script.
2013-06-24 17:54:56 +08:00
Cheng Zhao
5845740844
Update create-dist script for changes of building system.
2013-06-24 17:51:48 +08:00
Cheng Zhao
cce712549b
Rewrite cpplint script in python.
2013-06-24 17:03:48 +08:00
Cheng Zhao
5c48f03dfe
Rewrite compile-coffee script in python.
2013-06-24 16:24:19 +08:00
Cheng Zhao
85d7e7b034
Don't throw exception when ninja quit unnormally.
2013-06-24 16:05:22 +08:00
Cheng Zhao
5c4c86c6ef
Rewrite build script in python.
2013-06-24 15:36:38 +08:00
Cheng Zhao
3cc304cbe5
Rewrite update script in python.
2013-06-24 15:24:30 +08:00
Cheng Zhao
6bb3f1bba8
Merge branch 'master' into python
...
Conflicts:
script/update
2013-06-22 07:55:51 +08:00
Cheng Zhao
354a1c555b
Update node to v0.10.12.
2013-06-21 12:28:23 +08:00
Cheng Zhao
1eb521d32a
Use unzip command on Mac to keep symbol links in zip file work.
2013-06-21 10:32:57 +08:00
Cheng Zhao
2f50102b50
Rewrite update-frameworks script in python.
2013-06-20 23:23:22 +08:00
Cheng Zhao
9bcb677012
Simplify download function.
2013-06-20 23:10:00 +08:00
Cheng Zhao
993c7ad650
Use .py suffix for python scripts, we're following chromium.
2013-06-20 22:55:54 +08:00
Cheng Zhao
9983e7c0ba
Move helper functions into a common module.
2013-06-20 22:51:58 +08:00
Cheng Zhao
07260731ca
Rewrite update-node script in python.
2013-06-20 22:49:11 +08:00
Cheng Zhao
6d187cbb7d
Build atom-shell with ninja.
2013-06-19 21:34:43 +08:00
Cheng Zhao
467b2b154f
Add script to find existing Mac SDK (taken from chromium).
2013-06-19 21:34:24 +08:00
Cheng Zhao
9b66f357e3
Rewrite bootstrap script in python.
2013-06-19 14:32:41 +08:00
Cheng Zhao
c9e9080a35
Fix cpplint errors.
2013-06-19 13:24:13 +08:00
Cheng Zhao
09f8488893
Set base url in bootstrap script by default.
2013-06-19 10:54:05 +08:00
Cheng Zhao
6a5842d03a
Don't download frameworks if they exist.
2013-06-03 18:08:18 +08:00
Cheng Zhao
600f38c94d
Don't ship frameworks in repository, instead we download them.
2013-06-03 17:58:20 +08:00
Cheng Zhao
c6ce3b789b
Update node binary to v0.10.9.
2013-06-02 12:25:16 +08:00
Cheng Zhao
e6b4d52ee5
Rollback node to v0.10.5, there is ABI changes in V8.
2013-06-01 01:47:58 +08:00
Cheng Zhao
bdf12ddf3e
Update node to v0.10.9.
2013-06-01 01:10:39 +08:00
Cheng Zhao
de8d713630
It seems that shutil.make_archive doesn't support symbol links, invoke the zip command instead.
2013-05-13 16:22:21 +08:00
Cheng Zhao
836f29add6
When copying bundle the symbol links should be kept.
2013-05-13 15:27:49 +08:00
Cheng Zhao
fc4dd0aecb
Save the latest version when uploading distribution.
2013-05-12 17:44:03 +08:00
Cheng Zhao
e065067d6d
Add script to download atom-shell.
...
The scripts are stolen from aroben/libchromiumcontent.
2013-05-12 16:16:52 +08:00
Cheng Zhao
3290c05e75
Add script to make distribution and upload.
...
The scripts are stolen from aroben/libchromiumcontent.
2013-05-12 16:16:02 +08:00
Cheng Zhao
ebac5f9ed5
Ship the custom node binary build with atom-shell.
...
This is required by the child_process.fork, which is indeed executing
the node binary to start a script.
The node fork can be found at:
https://github.com/atom/cefode-node/tree/chromium-v8
2013-05-11 21:07:03 +08:00
Cheng Zhao
9b75019898
Add 'quit' and 'window-all-closed' events for app module.
2013-05-03 10:53:54 +08:00
Cheng Zhao
b0b72c36e4
Ignore api_messages.{cc,h} for cpplint.
2013-04-21 15:36:48 +08:00
Cheng Zhao
ee420b1590
Write js codes in coffee script.
2013-04-14 22:48:35 +08:00
Cheng Zhao
ad708fdfbd
Add script to check coding styles.
2013-04-14 17:34:51 +08:00
Cheng Zhao
939b695675
Build with node.
2013-04-12 22:52:32 +08:00
Cheng Zhao
87dbf82d83
Pass brightray.gypi via parameters.
...
We need to make sure node.gyp can get variables in brightray.gypi, this
needs minimum modifications.
2013-04-12 21:17:54 +08:00
Cheng Zhao
a915cf2e81
Initial empty browser.
2013-04-12 10:14:23 +08:00