Commit Graph

29 Commits

Author SHA1 Message Date
Max Brunsfeld
0f3e65a9d6 ⬆️ first-mate and oniguruma again
This time with proper startup snapshotting.
2017-04-19 17:39:06 -07: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
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
c61df72548 Snapshot config, keymaps, tooltips, commands, grammars and styles 2017-03-10 16:48:00 +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
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
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
54eb65631a ⬆️ electron-link 2017-02-27 13:53:47 +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
72b017b01a WIP: Start on requiring packages 2016-11-16 17:16:36 +01:00
Antonio Scandurra
77b8089e3a Use the snapshot result to require core modules 2016-11-15 18:03:36 +01:00
Antonio Scandurra
6ccdc421cb Use a different entry script to generate the startup snapshot 2016-11-15 11:01:51 +01:00
Antonio Scandurra
1d16d687bb Start on generating a startup snapshot script via electron-link 2016-11-15 11:01:51 +01:00