Commit Graph

161 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
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
6aacd3d76e Copy atom.png from the appropriate location on Linux 2017-03-10 09:25:20 +01:00
Antonio Scandurra
4c6805bf76 Store style sheet sources as auxiliary data in the snapshot 2017-03-09 14:23:58 +01: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
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
a9ada35354 Snapshot NativeCompileCache 2017-03-02 09:29:07 +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
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
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
Damien Guard
71b17d95d6
Remove code that stopped create-windows-installer looking for deltas on x64 2017-01-10 15:30:17 -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