Commit Graph

1215 Commits

Author SHA1 Message Date
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
Damien Guard
3e0d790050 Remove language-typescript deprecation.
New package soon.
2017-08-11 17:01:34 -07:00
Ian Olsen
099df7eacc Merge branch 'master' into pb-remove-unneeded-files-win 2017-08-08 14:10:51 -07:00
Ash Wilson
276fcb9e96 ⬆️ electron-link 2017-08-08 16:52:38 -04:00
Ash Wilson
fb0e29cf07 Merge pull request #14853 from atom/aw-filewatcher
Filesystem watcher API
2017-08-08 14:04:39 -04:00
Damien Guard
4c4e5fa3a1 Reliability of Windows Installer process on appveyor.yml 2017-08-08 10:37:55 -07:00
Ash Wilson
d920d20c2f :burn: diagnostic code 2017-08-08 12:42:01 -04:00
Ash Wilson
1d73f40d20 ⬆️ joanna 2017-08-04 16:23:16 -04:00
Ash Wilson
ffb3b0b462 Missed the logfile reporting 2017-08-04 10:37:01 -04:00
Ash Wilson
3b57d2a259 Let's see if we're still green without diagnostics! 2017-08-03 20:29:01 -04:00
Ash Wilson
08a7fab4f9 Grrr 2017-08-03 19:49:50 -04:00
Ash Wilson
dc9cb76fa4 tfw your diagnostic tests don't even run because of a linter error 2017-08-03 19:07:52 -04:00
Ash Wilson
095f6da379 Default to the appveyor home dir 2017-08-03 18:15:39 -04:00
Ash Wilson
94c91c57b1 Explicitly put the logfile in ${HOME} 2017-08-03 15:32:18 -04:00
Ash Wilson
bb91bb58e5 Okay fine let's do this the dumb way 2017-08-03 14:30:40 -04:00
Ash Wilson
654cb26819 Only run render process tests on Windows for the moment 2017-08-03 14:20:24 -04:00
Ash Wilson
4cf519f2d7 Merge branch 'master' into aw-filewatcher 2017-08-03 08:37:40 -04:00
Ash Wilson
e5139874d0 🔥 dumping the test environment 2017-08-02 20:08:20 -04:00
Ash Wilson
1f56713702 Un-exclude nsfw 2017-08-02 11:50:07 -04:00
Ash Wilson
318708bb42 wip 2017-08-02 09:50:57 -04:00
Ash Wilson
05a4f1f6fb 👕 standard.js in script/test 2017-08-02 08:29:10 -04:00
Ash Wilson
7244fb9670 Format script/test with standard 2017-08-02 08:18:25 -04:00
Ash Wilson
adec6fe981 Dump the environment before running core main process tests 2017-08-01 11:27:16 -04:00
Ash Wilson
fa89d53c8c Default to passing process.env to all suites in script/test 2017-08-01 11:27:15 -04:00
Ash Wilson
830038f1ac Use TEST_JUNIT_XML_ROOT instead of the CircleCI-specific root 2017-08-01 11:27:15 -04:00
Ash Wilson
37842fd2d4 Populate TEST_JUNIT_XML_PATH on CircleCI 2017-08-01 11:27:14 -04:00