Commit Graph

940 Commits

Author SHA1 Message Date
Damien Guard
3e0d790050 Remove language-typescript deprecation.
New package soon.
2017-08-11 17:01:34 -07:00
Ian Olsen
099df7eacc Merge branch 'master' into pb-remove-unneeded-files-win 2017-08-08 14:10:51 -07:00
Ash Wilson
276fcb9e96
⬆️ electron-link 2017-08-08 16:52:38 -04:00
Ash Wilson
fb0e29cf07 Merge pull request #14853 from atom/aw-filewatcher
Filesystem watcher API
2017-08-08 14:04:39 -04:00
Damien Guard
4c4e5fa3a1
Reliability of Windows Installer process on appveyor.yml 2017-08-08 10:37:55 -07:00
Ash Wilson
d920d20c2f
:burn: diagnostic code 2017-08-08 12:42:01 -04:00
Ash Wilson
1d73f40d20
⬆️ joanna 2017-08-04 16:23:16 -04:00
Ash Wilson
ffb3b0b462
Missed the logfile reporting 2017-08-04 10:37:01 -04:00
Ash Wilson
3b57d2a259
Let's see if we're still green without diagnostics! 2017-08-03 20:29:01 -04:00
Ash Wilson
08a7fab4f9
Grrr 2017-08-03 19:49:50 -04:00
Ash Wilson
dc9cb76fa4
tfw your diagnostic tests don't even run because of a linter error 2017-08-03 19:07:52 -04:00
Ash Wilson
095f6da379
Default to the appveyor home dir 2017-08-03 18:15:39 -04:00
Ash Wilson
94c91c57b1
Explicitly put the logfile in ${HOME} 2017-08-03 15:32:18 -04:00
Ash Wilson
bb91bb58e5
Okay fine let's do this the dumb way 2017-08-03 14:30:40 -04:00
Ash Wilson
654cb26819
Only run render process tests on Windows for the moment 2017-08-03 14:20:24 -04:00
Ash Wilson
4cf519f2d7
Merge branch 'master' into aw-filewatcher 2017-08-03 08:37:40 -04:00
Ash Wilson
e5139874d0
🔥 dumping the test environment 2017-08-02 20:08:20 -04:00
Ash Wilson
1f56713702
Un-exclude nsfw 2017-08-02 11:50:07 -04:00
Ash Wilson
318708bb42
wip 2017-08-02 09:50:57 -04:00
Ash Wilson
05a4f1f6fb
👕 standard.js in script/test 2017-08-02 08:29:10 -04:00
Ash Wilson
7244fb9670
Format script/test with standard 2017-08-02 08:18:25 -04:00
Ash Wilson
adec6fe981
Dump the environment before running core main process tests 2017-08-01 11:27:16 -04:00
Ash Wilson
fa89d53c8c
Default to passing process.env to all suites in script/test 2017-08-01 11:27:15 -04:00
Ash Wilson
830038f1ac
Use TEST_JUNIT_XML_ROOT instead of the CircleCI-specific root 2017-08-01 11:27:15 -04:00
Ash Wilson
37842fd2d4
Populate TEST_JUNIT_XML_PATH on CircleCI 2017-08-01 11:27:14 -04:00
Damien Guard
8130850e2a
Bring in latest code signing changes from 1.19-releases by hand. 2017-07-20 09:33:44 -07:00
Damien Guard
db2800dac9
Sign manually without using Squirrel 2017-07-19 11:48:31 -07:00
Damien Guard
d15e65a2c0
Output apm version info during build 2017-07-19 08:50:20 -07:00
Damien Guard
e1a6854743 Merge pull request #15003 from atom/dg-create-windows-installer-after-tests
Create Windows installer after tests
2017-07-17 15:54:06 -07:00
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
Jason Rudolph
5fb82836c3
Use npm 5.3.0 for building Atom 2017-07-16 08:56:50 -04:00
Damien Guard
e88e0fc55c
Use npm 5.1.0 for building Atom 2017-07-13 09:22:23 -07:00
Damien Guard
4354b8b7b3
Add --existing-artifacts switch to script\build 2017-07-12 11:32:44 -07:00
Paul Betts
7df6b14d0b More excludes 2017-06-15 17:10:10 -07:00
Paul Betts
2ede9aaf85 Exclude 3MB of Markdown files 2017-06-15 17:10:10 -07:00
Paul Betts
8b20dda24b omg are you srs 2017-06-15 17:10:10 -07:00
Paul Betts
2acf1467fc Exclude docs and samples too 2017-06-15 17:10:10 -07:00
Paul Betts
205d32cab8 Don't ship libgit2 in-box 2017-06-15 17:10:10 -07:00
Paul Betts
1895121784 Exclude lots of native node module cruft 2017-06-15 17:10:09 -07:00
Paul Betts
22d48ea117 What was I thinking 2017-06-15 11:14:50 -07:00
Paul Betts
440bd7e7d8 Also exclude Dugite's copy of git 2017-06-15 11:14:50 -07:00
Paul Betts
33f5cdd7b3 Put Shell scripts outside of ASAR 2017-06-15 11:14:50 -07:00
Paul Betts
4b3e298e3c Revert "Copy atom.png from the appropriate location on Linux"
This reverts commit 6aacd3d76e.
2017-06-15 11:14:50 -07:00
Paul Betts
75b91cf8c0 Bring back the asar package command 2017-06-15 11:14:50 -07:00
Paul Betts
e9208cc580 Revert "Delete obsolete asar code"
This reverts commit 889f480c35.
2017-06-15 11:14:50 -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
Michelle Tilley
bd31a2d166 Better wording around transpiling packages with custom transpilers 2017-04-04 12:13:04 -07:00
Michelle Tilley
155c3a14bf Perform per-package transpilation on bundled packages during build 2017-04-04 07:54:14 -07:00
Antonio Scandurra
0e1bc58310 ⬆️ electron-link 2017-04-04 11:36:49 +02:00
Antonio Scandurra
cef72fd66f Merge pull request #14080 from atom/as-preload-packages
Packages preloading
2017-04-03 09:59:34 +02:00
Kieran Simpson
31cbdb44d8 Fixes #14102 to use ATOM_HOME if present. 2017-03-31 11:25:04 +11:00
Wliu
61fe77e918 Merge branch 'master' into wl-build-on-node-7 2017-03-30 18:46:22 -04:00
Antonio Scandurra
500cefb8d5 Don't snapshot minimatch and fix package transpilation registry on win32
This module uses Node's `path` for determinining which path separator to
use on the current platform. On browsers (and every other environment
that does not support `require`, such as v8 snapshots) it falls back to
always using a forward slash.

As a result, `PackageTranspilationRegistry` (and potentially other
bundled packages that depend on `minimatch`) couldn't match glob
expressions against any given path on Windows, thus causing the custom
transpiler code to not work properly.
2017-03-30 10:32:44 +02:00