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
Krzesimir Nowak
1e9083d3b6
Handle tilde as home dir in darwin and linux
2017-03-28 13:26:14 +02:00
Antonio Scandurra
ab9326687d
Streamline path resolution for preloaded packages
2017-03-28 11:47:45 +02:00
Krzesimir Nowak
de9f491474
Allow specifying installation directory
2017-03-28 11:40:40 +02:00
Antonio Scandurra
628c753b8d
Normalize path separators when storing main
in package metadata
2017-03-28 10:22:29 +02:00
Antonio Scandurra
974e1b7f4a
Preload settings
2017-03-28 10:22:29 +02:00
Antonio Scandurra
ab1411b1d7
Preload bundled grammar paths
2017-03-28 10:22:29 +02:00
Antonio Scandurra
de47a26c5d
WIP: Start preloading packages
2017-03-28 10:22:29 +02:00
Wliu
33cd8b87dc
👕
2017-03-24 11:38:11 -04:00
Wliu
d202c1abd3
Merge branch 'master' into wl-build-on-node-7
2017-03-24 00:27:57 -04:00
Wliu
25dcf2ed81
👕
2017-03-22 00:22:41 -04:00
Wliu
27c66300e4
Merge branch 'master' into wl-build-on-node-7
2017-03-21 23:25:31 -04:00
Antonio Scandurra
e2637aac78
🎨
2017-03-20 10:20:36 +01:00
Antonio Scandurra
95cf200a7c
Merge branch 'as-snapshot-atom-environment' into as-ns-optimize-stylesheets-loading
...
# Conflicts:
# script/tdd
2017-03-20 10:06:57 +01:00
Antonio Scandurra
31692f6e6c
Merge branch 'master' into as-snapshot-atom-environment
2017-03-20 09:58:15 +01:00
Antonio Scandurra
6722450b7e
Merge pull request #14021 from atom/as-fix-snapshot-stack-traces
...
Use the generated snapshot source map in `source-map-support`
2017-03-17 18:05:42 +01:00
Antonio Scandurra
2f9a9ed657
Merge branch 'master' into as-snapshot-atom-environment
2017-03-17 15:25:10 +01:00
Antonio Scandurra
54a813eda9
Exclude graceful-fs from snapshot
2017-03-17 13:31:21 +01:00
Antonio Scandurra
ccbb276bf5
Bake source maps into the snapshot
2017-03-17 13:25:00 +01:00
Antonio Scandurra
bade347e01
Revert "Upgrade to Babel 6 and apply fewer transformations when transpiling babel files"
2017-03-17 12:40:38 +01:00
Antonio Scandurra
cbe60bd53d
Use the generated snapshot source map in source-map-support
...
This will report the correct file and line numbers on stack traces
instead of always showing `<embedded>:absoluteLineNumber`. As a result,
it will also fix the `notifications` package, which will be able again
to identify which package threw an exception and to create an issue on
its repository.
2017-03-17 12:28:22 +01:00
Antonio Scandurra
c1dbf488d9
Delete unused build scripts
2017-03-16 21:09:51 +01:00
Antonio Scandurra
81af989f0d
Merge branch 'master' into as-snapshot-atom-environment
2017-03-16 21:08:41 +01:00
Antonio Scandurra
a8b885c4d5
Merge branch 'master' into as-ns-startup-snapshot
2017-03-16 10:52:34 +01:00
Kevin Sawicki
52fb79172c
Dowloading -> Downloading
2017-03-14 12:17:50 -07:00
Antonio Scandurra
a1da6c9196
Resolve style sheets paths during script/build
for bundled packages
2017-03-14 14:27:10 +01:00
Antonio Scandurra
684d8bd42c
Provide importedFilePathsByRelativeImportPath to LessCache
2017-03-14 13:35:28 +01:00
Antonio Scandurra
70177e5a4d
Merge branch 'as-snapshot-atom-environment' into as-ns-optimize-stylesheets-loading
...
# Conflicts:
# script/package.json
# script/tdd
# src/atom-environment.coffee
# src/context-menu-manager.coffee
# src/keymap-extensions.coffee
# src/theme-manager.coffee
# src/workspace-element.coffee
2017-03-13 08:32:12 +01:00
Damien Guard
6eca9d4709
Ensure Windows builds fail when Squirrel packaging fails
2017-03-10 09:54:46 -08:00
Antonio Scandurra
c61df72548
Snapshot config, keymaps, tooltips, commands, grammars and styles
2017-03-10 16:48:00 +01:00
Antonio Scandurra
b128b5de48
Temporarily add faster script to build Atom
2017-03-10 16:48:00 +01:00
Antonio Scandurra
b228d2de4f
⬆️ electron-link
2017-03-10 15:04:13 +01:00
Antonio Scandurra
bfac08ab3f
⬆️ electron-link to handle backslashes on Windows correctly
2017-03-10 13:15:52 +01:00
Antonio Scandurra
1d774ea20a
⬆️ electron-link for Windows support
2017-03-10 11:18:21 +01:00
Antonio Scandurra
6aacd3d76e
Copy atom.png from the appropriate location on Linux
2017-03-10 09:25:20 +01:00
Antonio Scandurra
73e8642b96
Merge branch 'master' into as-ns-startup-snapshot
2017-03-10 09:04:30 +01:00
Antonio Scandurra
4c6805bf76
Store style sheet sources as auxiliary data in the snapshot
2017-03-09 14:23:58 +01:00
Michelle Tilley
82c49001f4
⬆️ legal-eagle@0.14.0
2017-03-08 17:21:58 -08:00
Antonio Scandurra
21de78ce38
Snapshot config, keymaps, tooltips, commands, grammars and styles
2017-03-07 18:30:38 +01:00
Antonio Scandurra
b6829f08fa
Temporarily add faster script to build Atom
2017-03-07 17:56:36 +01:00
Antonio Scandurra
76ae6b29b3
⬆️ electron-link to handle cyclic requires correctly
2017-03-06 19:58:03 +01:00
Antonio Scandurra
f0e7290b8c
Delete unnecessarily excluded modules from snapshot generator
2017-03-06 14:36:33 +01:00
Antonio Scandurra
f05e882911
Copy snapshot in the appropriate location on Linux and Windows
2017-03-06 14:21:13 +01:00
Antonio Scandurra
889f480c35
Delete obsolete asar code
2017-03-06 14:20:52 +01:00
Antonio Scandurra
f2ea38afba
Add electron-mksnapshot and use the downloaded bin to generate snapshots
2017-03-06 14:12:18 +01:00
Antonio Scandurra
7fbe68e12e
Exclude less from snapshot
2017-03-06 14:11:47 +01:00
Antonio Scandurra
5a8aa54167
⬆️ electron-link
2017-03-02 09:48:12 +01:00
Antonio Scandurra
a9ada35354
Snapshot NativeCompileCache
2017-03-02 09:29:07 +01:00
Antonio Scandurra
d73547242b
Run script/bootstrap during script/build
2017-03-02 08:29:45 +01:00
Antonio Scandurra
70c82b1ffa
Snapshot pathwatcher and fs-plus
2017-03-02 08:26:21 +01:00
Antonio Scandurra
9aae33a0f1
Use a new version of clear-cut that can be snapshotted
2017-03-01 08:58:58 +01:00
Antonio Scandurra
adb0e39166
WIP
2017-02-28 15:44:02 +01:00
Antonio Scandurra
9b8c7973d7
WIP
2017-02-28 09:34:55 +01:00
Antonio Scandurra
e453b04105
Put back code that was commented out
2017-02-27 16:45:57 +01:00
Antonio Scandurra
54eb65631a
⬆️ electron-link
2017-02-27 13:53:47 +01:00
Wliu
310a812388
👕
2017-02-24 15:32:07 -05:00
Wliu
69d12d917b
Merge branch 'master' into wl-build-on-node-7
2017-02-24 13:11:05 -05:00
Antonio Scandurra
ea879340c0
WIP
2017-02-24 16:36:16 +01:00
Antonio Scandurra
367d595ab8
Update static/index to match what we do on master
2017-02-24 11:49:17 +01:00
Antonio Scandurra
f87a53bce9
Run all steps in script/build
2017-02-24 11:01:59 +01:00
Antonio Scandurra
5dbae1c317
Copy the generated snapshot into the app bundle
2017-02-24 10:39:05 +01:00
Antonio Scandurra
c2f02e16fe
Verify that snapshot can be executed via mksnapshot
2017-02-24 08:13:26 +01:00
Antonio Scandurra
e624f24b6d
WIP
2017-02-23 17:26:41 +01:00
Antonio Scandurra
264ff4a865
Merge branch 'master' into as-ns-startup-snapshot
2017-02-23 10:01:52 +01:00
Antonio Scandurra
5a0433b006
Upgrade to babel 6 and apply fewer transformations to babel files
2017-02-15 17:02:00 +01:00
Nathan Sobo
f498c1d795
Attempt to fix code signing on CircleCI
2017-02-13 14:05:11 -07:00
Damien Guard
eebc81f6ea
Version is used for release channels on windows
2017-02-08 23:24:54 -08:00
Michelle Tilley
1b6394955b
⌨️ Fix typo
2017-01-25 11:47:31 -08:00
Michelle Tilley
6f6865f9cd
Don't download cert on Windows unless we're signing
2017-01-25 11:10:36 -08:00
Michelle Tilley
b931c925d5
Allow Windows signing cert to be specified by ATOM_WIN_CODE_SIGNING_CERT_PATH
2017-01-25 10:59:34 -08:00
Michelle Tilley
a6445235f4
Allow macOS signing cert to be specified by ATOM_MAC_CODE_SIGNING_CERT_PATH
2017-01-25 10:57:31 -08:00
Wliu
20635a4f4f
:lint:
2017-01-25 11:13:42 -05:00
Wliu
c76d8cd034
Lint the script folder
2017-01-24 23:55:33 -05:00
Wliu
7bb08e39f3
👕
2017-01-24 23:41:30 -05:00
Wliu
038f03a89f
stdout shouldn't be a constant
2017-01-24 19:57:05 -05:00
Wliu
197b694cdf
Allow Atom to build on Node 7+
2017-01-24 19:55:53 -05:00
Damien Guard
71b17d95d6
Remove code that stopped create-windows-installer looking for deltas on x64
2017-01-10 15:30:17 -08:00
Damien Guard
1e2e7d0d44
⬆️ joanna
2016-12-28 11:27:44 -08:00
Lee Dohm
0d2646f9af
Fix first guard clause
2016-12-19 19:23:38 -08:00
Lee Dohm
0efd95e0ea
Prevent builds on Node 7+ until they're fixed
2016-12-19 19:06:02 -08:00
Damien Guard
a8f2d18d4c
Custom icon for jumplist projects
2016-12-13 19:15:42 -08:00
Damien Guard
ad77c319ad
Merge pull request #13431 from atom/dg-use-npm-chromedriver
...
Switch to npm provided chromedriver instead of manually downloaded
2016-12-13 13:12:03 -08:00
Damien Guard
bd6e0715c0
⬆️ electron-winstaller
2016-12-13 12:59:21 -08:00
Damien Guard
aa2b32e29c
Ensure chromedriver matches electron version during build
2016-12-13 10:13:22 -08:00
Damien Guard
f25a718c02
Switch electron-chromedriver from GitHub download to npm install
2016-12-12 16:31:38 -08:00
Damien Guard
11ec60d203
Switch master to new key, old key on old env vars for stable/beta
2016-12-12 15:52:30 -08:00
Damien Guard
a08967028b
⬆️ electron-winstaller (squirrel)
2016-12-12 14:56:07 -08:00
Damien Guard
63c201dc84
Fall back to using 7z to extract chromedriver if unzip missing
2016-12-01 14:01:04 -08:00
Damien Guard
6aa46cf0f0
Do not run core render process tests on win32/ia32. They crash Atom in TextEditor specs - possible resource limitation.
2016-11-30 12:06:46 -08:00
Damien Guard
a18adfee58
Tidy up which tests run on which OS
2016-11-29 16:55:14 -08:00
Damien Guard
643038eeaa
Add chromedriver for Windows & Linux
2016-11-29 16:55:14 -08:00