Commit Graph

773 Commits

Author SHA1 Message Date
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
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
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