Commit Graph

847 Commits

Author SHA1 Message Date
Damien Guard
dcbb72bbec
Do not dump symbols when using existing binaries. Change command switch name 2017-07-17 14:41:12 -07:00
Damien Guard
fe147ccf2e
Only dumpSymbols if rebuilding binaries during build 2017-07-17 13:00:40 -07:00
Damien Guard
4354b8b7b3
Add --existing-artifacts switch to script\build 2017-07-12 11:32:44 -07:00
Damien Guard
032dcd8bf4
⬆️ electron-winstaller 2017-06-12 18:04:21 -07:00
Michelle Tilley
1f56e068cd
Update docs and checks for Node 6 2017-05-30 17:08:12 -07:00
Wliu
7a93e9d8c4 👕 2017-05-30 15:42:16 -04:00
Wliu
16be073c91 Merge branch 'master' into wl-build-on-node-7 2017-05-30 15:40:02 -04:00
Antonio Scandurra
cdb399295b Don't snapshot the iconv-lite module
When deciding which methods to export, `iconv-lite` verifies the
availability of some Node features, which is clearly an unsupported
behavior when executing it via `mksnapshot`.

In this case we were not getting any exception at compile-time, but we
noticed some methods were missing from iconv-lite's API. With this
commit we are excluding this module from the snapshot, thus making all
of its methods available again.
2017-05-22 09:16:56 +02:00
Antonio Scandurra
7923b55374 ⬆️ electron-link 2017-05-19 14:01:10 +02:00
Antonio Scandurra
d158e44374 Merge branch 'master' into tj-upgrade-electron 2017-05-19 11:05:15 +02:00
Michelle Tilley
8528021f74
Remove atomTransilers from package.json after transpiling in-place 2017-05-18 10:15:02 +02:00
Michelle Tilley
ddfd30bc22
Unregister custom package transpilation config after transpilation 2017-05-17 20:23:59 +02:00
Michelle Tilley
6e61fe9a32
Install devDeps in the root package path where they're not cached 2017-05-17 19:01:36 +02:00
Michelle Tilley
8303e179ae
Extract backup-node-modules.js 2017-05-17 17:53:36 +02:00
Katrina Uychaco
8df4a747d6
WIP install dev dependencies when transpiling 2017-05-17 17:53:35 +02:00
Antonio Scandurra
d44876f3bc Merge branch 'master' into tj-upgrade-electron 2017-05-16 14:39:47 +02:00
Katrina Uychaco
5e4a75b720 Merge pull request #14416 from atom/mkt-ku-show-all-output-in-script-test
Show stdout in addition to stderr in script/test
2017-05-15 20:11:18 +02:00
Michelle Tilley
fb99a9907f
Show stdout in addition to stderr in script/test 2017-05-15 19:25:55 +02:00
Damien Guard
3114df611a
Drop MSI packages as they are more confusing than helpful 2017-05-15 09:06:46 -07:00
Damien Guard
21de88db1f
⬆️ electron-winstaller 2017-05-15 09:06:45 -07:00
Wliu
adc2bd0a35 👕 2017-05-11 12:09:38 -04:00
Wliu
7c2510eb9c Merge branch 'master' into wl-build-on-node-7 2017-05-11 12:06:26 -04:00
Antonio Scandurra
729ae0ea51 Merge branch 'master' into tj-upgrade-electron
# Conflicts:
#	script/package.json
#	src/task.coffee
2017-05-11 18:05:12 +02:00
Antonio Scandurra
9346ff9e63 Speed up parsing the snapshot source map
When calling remote functions or emitting deprecation warnings
respectively Electron and Grim create a fake `Error` object to retrieve
the stack trace of the current call site.

When doing this for the first time, if the call site was located inside
a snapshotted file, previously we would parse the source map for the
snapshot and translate the position of each call in the stack trace.
However, since the snapshot source map is quite big, we were observing
major slowdowns when parsing it for the first time.

With this commit we will parse the snapshot source map while generating
the snapshot, which will allow to not pay for it during runtime.

Signed-off-by: Michelle Tilley <binarymuse@github.com>
2017-05-11 14:21:45 +02:00
Michelle Tilley
eba6d07ff3
Re-add 'use strict' 2017-05-11 00:21:54 +02:00
Michelle Tilley
30ee14bd13
Revert "Don't run GitHub operations inline during script/test"
This reverts commit 7ccf465370.
2017-05-10 17:17:06 +02:00
Michelle Tilley
7ccf465370
Don't run GitHub operations inline during script/test 2017-05-10 15:36:24 +02:00
Michelle Tilley
f6945792cd
Install devDeps inside root package folder during tests
Clean them up when we're done
2017-05-10 12:55:55 +02:00
Michelle Tilley
8d4376757a
Allow ATOM_PACKAGES_TO_TEST env var to set which packages to run tests for 2017-05-10 12:55:10 +02:00
Michelle Tilley
1b165804c3
Run tests in the root node_modules package folder 2017-05-10 07:46:31 +02:00
Michelle Tilley
ae6101c2d5
Only install apm deps for packages with atomTestRunner defined 2017-05-10 07:09:04 +02:00
Michelle Tilley
1ec72d0362
Handle more htmlparser2 snapshot exceptions 2017-05-10 06:33:33 +02:00
Michelle Tilley
4cbff30446
Fix missing import in script/bootstrap 2017-05-09 15:25:53 +02:00
Michelle Tilley
b74cb80f19
Ensure script/tests runs package tests with devDeps installed 2017-05-09 15:21:26 +02:00
Michelle Tilley
d5ceae806b
Run main process tests with ATOM_GITHUB_INLINE_GIT_EXEC set 2017-05-08 15:25:20 +02:00
Michelle Tilley
655cbf2d7e
Run package tests from spec/ or test/ subfolders 2017-05-08 13:55:27 +02:00
Michelle Tilley
ebc824abd1
Update snapshot path exclusions 2017-05-08 07:55:56 +02:00
Ash Wilson
e53d07738a Ensure that win_delay_load_hook.cc is included 2017-05-06 10:23:52 -04:00
Nathan Sobo
cb982d6513 Upgrade to Electron 1.6.2 2017-05-03 14:21:24 +02:00
Nathan Sobo
1c796ed773 ⬆️ donna in script dependencies 2017-05-03 14:21:24 +02:00
Thomas Johansen
e63b17a9fe ⬆️ electron-chromedriver 2017-05-03 14:21:24 +02:00
Antonio Scandurra
1f31b95549 Merge pull request #14217 from edjubuh/master
Don't attempt to transpile directories
2017-04-20 11:46:44 +02:00
Max Brunsfeld
1fc23c3a4f Fix another regexp error for excluding C++ files from the app 2017-04-19 17:52:21 -07:00
Max Brunsfeld
0f3e65a9d6 ⬆️ first-mate and oniguruma again
This time with proper startup snapshotting.
2017-04-19 17:39:06 -07:00
Max Brunsfeld
e022d4fa72 Fix regexps for excluding C++ sources from the binary
Previously, a spurious '*' in these regexps would cause them to match anything in
the containing modules' src folder. This caused problems for modules like
oniguruma that have JavaScript files in the src folder.

Also, we were shipping superstring's C++ code because we forgot to add it to
the blacklist. I think it's safe to say we don't want to ship any C++ code
at all.
2017-04-19 17:36:54 -07:00
Damien Guard
cfa072017d
Sign without Squirrel if --code-sign without --create-windows-installer 2017-04-17 18:11:57 -07:00
Elliot Berman
3bd5c2d37d 🐛 Don't attempt to transpile directories
Enable option in glob to disable directories from being returned when
finding paths to transpile during compilation
2017-04-15 09:27:57 -04:00
Michelle Tilley
981de9238a ⬆️ electron-link@0.0.23 2017-04-06 00:41:38 -07:00
Michelle Tilley
6425b5e069 Merge pull request #14131 from atom/mkt-prepare-build-for-per-package-transpilation
Update build to pre-compile packages with per-package transpilation configs
2017-04-06 00:39:50 -07:00
Bryant Ung
2f6880a32f Merge pull request #13965 from kinvolk/krnowak/custom-install-dir
Allow specifying installation directory
2017-04-05 15:29:33 -07:00