Commit Graph

799 Commits

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