Commit Graph

940 Commits

Author SHA1 Message Date
Damien Guard
61df0bd6d9
No longer used on appveyor 2018-01-12 15:24:21 -08:00
David Wilson
2cb66ae9e1
Merge pull request #15498 from MoritzKn/refactor-install-script
Refactor install script for linux (install dev channel parallel, use icon themes)
2018-01-10 10:50:23 -08:00
Michelle Tilley
233e519007
Add winreg to snapshot ignore list 2018-01-09 11:52:18 -08:00
Lee Dohm
d265bef8f2
Merge pull request #16493 from atom/clean-package-lock
Remove unused package-lock.json files before building
2018-01-07 19:26:39 -08:00
lee-dohm
1aeff19eab
Forgot to check in the require 2018-01-04 13:02:21 -08:00
lee-dohm
fa96a90e12
Remove unused package-lock.json files before building 2018-01-04 12:54:42 -08:00
Max Brunsfeld
7aac32e915 Merge branch 'master' into mb-tree-sitter-parsers 2018-01-04 12:13:30 -08:00
Max Brunsfeld
75b4a7a984 ⬆️ joanna, put back AtomEnvironment public property docs 2018-01-04 12:12:43 -08:00
Max Brunsfeld
2fa3b65364 Merge branch 'master' into mb-tree-sitter-parsers 2018-01-03 15:20:10 -08:00
Nathan Sobo
aeb8db2e14 Don't snapshot lodash.isequal because it builds an ArrayBuffer on eval
This won't work until v8 6.2.
2017-12-21 10:10:12 -07:00
Nathan Sobo
b11b0b9f9f Disable inline caches during snapshot generation to work around crash 2017-12-21 09:59:59 -07:00
Max Brunsfeld
28edfb5b0a Exclude tree-sitter's main JS file from the startup snapshot 2017-11-30 09:31:08 -08:00
Ian Olsen
b54655e41d ⬆️ electron@1.7.9 2017-11-27 20:18:45 -07:00
Steven Hobson-Campbell
bbb331e1f7 Merge remote-tracking branch 'upstream/master' into tests 2017-10-25 14:14:12 -07:00
Wliu
9fcc6a9bce Use endsWith to match modules to exclude from the snapshot 2017-10-20 01:27:15 +02:00
Antonio Scandurra
3f0f72ad0b ⬆️ electron-link
This fixes the DevTools slowness we were observing in Atom. For more
information, see 7f5555c33e.
2017-10-10 12:41:02 +02:00
Damien Guard
c698576c8f
Remove test*.html from packaged app output 2017-10-06 10:43:01 -07:00
Antonio Scandurra
1ca49d8f17 Move random-seed into script/package.json
...so that it doesn't get included in the final application bundle.
2017-10-05 13:51:26 +02:00
Max Brunsfeld
07614b3b38 Update git-utils main path in startup snapshot blacklist 2017-09-27 12:36:51 -07:00
Damien Guard
3aa27a6256
⬆️ electron-winstaller 2017-09-14 23:45:37 -07:00
Max Brunsfeld
07c3c6ea2d Use the Atom Beta executable to verify startup snapshots when building Beta 2017-09-11 09:47:02 -07:00
Wliu
1a4e6c4c85 Merge pull request #15603 from jsoref/spelling
Spelling
2017-09-10 18:29:38 +02:00
Josh Soref
a5e3dfc802 spelling: version 2017-09-10 15:46:41 +00:00
Josh Soref
0e7739a026 spelling: package 2017-09-10 15:46:40 +00:00
Steven
80c81b9e03 PR feedback 2017-09-08 15:56:48 -07:00
Antonio Scandurra
8c8d6f7ce4 🔥 Delete unused require 2017-09-06 11:28:19 +02:00
Antonio Scandurra
2050f58a0e Don't override process.env variables 2017-09-06 11:08:58 +02:00
Antonio Scandurra
15d988d441 Use the Node version bundled in Electron to verify snapshot script
Previously, we used to verify the snapshot script by running it in a
new, empty context (similar to the one that `mksnapshot` creates when
generating the startup blob).

However, this context was being created using the Node version that
`script/build` was executed with. Such version may not match the Node
version shipped with Electron, and could thus cause the build script to
report "false negatives" when verifying the snapshot script. For
instance, running `script/build` with Node 4 would cause it to throw an
error when encountering keywords like `async`/`await`, even if they're
100% supported in Electron 1.6.9.

With this commit we are changing the snapshot verification code to use
the Node version bundled in Electron in order to avoid the
aforementioned mismatches.
2017-09-06 11:02:54 +02:00
Steven Hobson-Campbell
18087ff48c Merge branch 'master' of https://github.com/atom/atom into tests 2017-09-05 17:58:56 -07:00
Steven Hobson-Campbell
f00bc1e1ad Switching from minimist -> yargs 2017-09-05 17:58:36 -07:00
MoritzKn
a36ec5d530 Add force icon update to install script
This prevents possible issues with icons not loading immediately
2017-08-30 06:30:12 +02:00
MoritzKn
6d2a90604a Install icons to enable alternative icon themes (linux)
The xdg desktop file specification allows for icons to be either a
absolute path just a name. If the name is not an absolute path,
a icon from a icon theme will be used. This commit changes the
desktop file to use a icon name and adds the icons to the default
theme (hicolor). This allows the user to choose an alternative icons
theme that will override the default icon.

The relevant specs:

https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s05.html
> Icon to display in file manager, menus, etc. If the name is an
> absolute path, the given file will be used. If the name is not
> an absolute path, the algorithm described in the Icon Theme
> Specification will be used to locate the icon.

https://specifications.freedesktop.org/icon-theme-spec/latest/ar01s07.html
> Installing Application Icons: [...] Minimally you should install a
> 48x48 icon in the hicolor theme. This means installing a PNG file
> in $prefix/share/icons/hicolor/48x48/apps.

https://specifications.freedesktop.org/icon-theme-spec/latest/ar01s03.html
> Icons and themes are looked for in a set of directories. By
> default, apps should look in $HOME/.icons (for backwards
> compatibility), in $XDG_DATA_DIRS/icons and in
> /usr/share/pixmaps (in that order).

https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables
> $XDG_DATA_DIRS defines the preference-ordered set of base
> directories to search for data files in addition to the $XDG_DATA_HOME
> base directory. The directories in $XDG_DATA_DIRS should be
> seperated with a colon ':'.
> If $XDG_DATA_DIRS is either not set or empty, a value equal to
> /usr/local/share/:/usr/share/ should be used.
2017-08-30 05:14:45 +02:00
MoritzKn
e99b57a492 Change install script to install dev channel separately 2017-08-30 05:14:20 +02:00
MoritzKn
685255e688 Divide install script in blocks 2017-08-30 05:14:20 +02:00
MoritzKn
74f9249eae Use icon from installationDir in xdg desktop file 2017-08-30 05:14:20 +02:00
MoritzKn
2062c01ca4 Remove duplicate code in install script 2017-08-30 05:14:14 +02:00
Ian Olsen
b18ca74e49 put everything else back 2017-08-29 16:29:45 -07:00
Ian Olsen
09e98fe944 just libs and debugger files 2017-08-29 15:52:11 -07:00
Ian Olsen
9eca8ff4aa even more conservative 2017-08-29 15:30:51 -07:00
Ian Olsen
c7dcbeb0da put libgit2 back 2017-08-29 15:04:58 -07:00
Ian Olsen
c4d4ef0209 next guess 2017-08-29 14:48:51 -07:00
Ian Olsen
a0ebc21893 indentation fix for linter 2017-08-29 14:11:31 -07:00
Ian Olsen
d42326ea09 first guess 2017-08-29 14:00:26 -07:00
Ian Olsen
433bc6d874 baseline from Paul's changes 2017-08-29 13:33:09 -07:00
Max Brunsfeld
514952614e Replace runas with fs-admin in install-application script 2017-08-25 14:18:26 -07:00
Steven Hobson-Campbell
59f6065e9b Adding option to skip main process tests. Cleaning up resources in tests. 2017-08-22 19:09:52 -07:00
Ian Olsen
e8251bdb97 Revert "Remove unneeded files from build result" 2017-08-17 13:49:25 -07:00
Ian Olsen
7daae84bc9 Merge pull request #14701 from atom/pb-remove-unneeded-files-win
Remove unneeded files from build result
2017-08-17 11:36:28 -07:00
Ian Olsen
edcac6897f Merge branch 'master' into pb-remove-unneeded-files-win 2017-08-15 16:12:15 -07:00
Antonio Scandurra
84673775af Merge branch 'master' into bring-back-asar 2017-08-15 10:03:27 +02:00