Commit Graph

212 Commits

Author SHA1 Message Date
Ash Wilson
318708bb42 wip 2017-08-02 09:50:57 -04:00
Damien Guard
8130850e2a Bring in latest code signing changes from 1.19-releases by hand. 2017-07-20 09:33:44 -07:00
Damien Guard
db2800dac9 Sign manually without using Squirrel 2017-07-19 11:48:31 -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
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
Damien Guard
3114df611a Drop MSI packages as they are more confusing than helpful 2017-05-15 09:06:46 -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
Michelle Tilley
eba6d07ff3 Re-add 'use strict' 2017-05-11 00:21:54 +02:00
Michelle Tilley
1ec72d0362 Handle more htmlparser2 snapshot exceptions 2017-05-10 06:33:33 +02:00
Michelle Tilley
b74cb80f19 Ensure script/tests runs package tests with devDeps installed 2017-05-09 15:21:26 +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
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
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