Commit Graph

31553 Commits

Author SHA1 Message Date
Nathan Sobo
4d4a2530ff Move test for opening w/ a line number from Chromedriver to main process 2016-08-11 14:33:54 -06:00
Nathan Sobo
f1295d39a8 Close all windows in AtomApplication.destroy 2016-08-11 14:31:36 -06:00
Nathan Sobo
6994060e72 Use fat arrow where it is needed 2016-08-11 14:31:23 -06:00
Nathan Sobo
b5b3577d7c Fix null guard in StateStore 2016-08-11 14:31:08 -06:00
Nathan Sobo
2fe5027b57 Set the userData dir to a temp directory for main process tests
This ensures that the indexedDB is accessible even if another Atom is
running.
2016-08-11 14:30:52 -06:00
Nathan Sobo
324e8d6c7a Move env assignment into parseCommandLine
A bit of a misnomer but makes things more testable so I’ll accept it
until we can do more overhaul.
2016-08-11 14:30:22 -06:00
Max Brunsfeld
fb6b463818 Remove duplicate scrollPastEnd setter and getter 2016-08-11 12:14:11 -07:00
Nathan Sobo
52ea92803d Use parseCommandLine in atom-application-test.js 2016-08-11 12:45:54 -06:00
Joe Fitzgerald
b7a48967fa Fix Regression In #12317 For zsh
In Atom 1.7 and 1.8, the environment would be patched for users of the zsh shell on OS X. A whitelist of shells was established in #12317, which is extended here.
2016-08-11 12:45:02 -06:00
Nathan Sobo
847911f0fe Extract parseCommandLine from main.js to its own file for testing
Signed-off-by: Antonio Scandurra <as-cii@github.com>
2016-08-11 12:44:20 -06:00
Max Brunsfeld
0c7750f560 🔥 ignoreInvisibles parameter to TextEditor
Now that the TextEditor doesn't depend on atom.config, showInvisibles
can always be configured independently of the config
2016-08-11 11:41:11 -07:00
Max Brunsfeld
11463ef00b Merge remote-tracking branch 'origin/as-introduce-editor-update' into ns-mb-detangle-editor 2016-08-11 11:36:48 -07:00
Nathan Sobo
4f1c729953 Cache the Atom compile cache on circle
Signed-off-by: Antonio Scandurra <as-cii@github.com>
2016-08-11 11:42:39 -06:00
Nathan Sobo
502339b830 Replace chromedriver test of window offset with main process mocha test
Signed-off-by: Antonio Scandurra <as-cii@github.com>
2016-08-11 10:33:12 -06:00
Nathan Sobo
5a8ab1a2b2 🎨
Signed-off-by: Antonio Scandurra <as-cii@github.com>
2016-08-11 08:16:18 -06:00
Nathan Sobo
d8b2a1f4b6 Break out constructor side effects into AtomApplication.initialize
Signed-off-by: Antonio Scandurra <as-cii@github.com>
2016-08-11 08:15:00 -06:00
Antonio Scandurra
d735f59b75 Try running tests serially 2016-08-11 13:50:02 +02:00
Antonio Scandurra
6bd9d1e4be Install webdriver io in script/package.json
So that we can control chromedriver without including that dependency in the final bundle.
2016-08-11 13:09:24 +02:00
Antonio Scandurra
ff9fb6edce Download Chromedriver during script/build
...so that we can cache it.
2016-08-11 12:56:15 +02:00
Antonio Scandurra
6a99bb38ba Cache electron instead of cache on build providers 2016-08-11 12:44:40 +02:00
Antonio Scandurra
6f9a8208db Download chromedriver and run integration tests 2016-08-11 12:40:40 +02:00
Antonio Scandurra
3e42e65b01 Rename downloadGithubRawFile to downloadFileFromGithub 2016-08-11 12:19:25 +02:00
Antonio Scandurra
65b0f7d70f Rename cachePath to electronDownloadPath 2016-08-11 12:18:33 +02:00
Antonio Scandurra
3b1d98e4f1 Use a fixed version of electron-winstaller and sync-request 2016-08-11 10:52:31 +02:00
Antonio Scandurra
61a909b06e Remove config option editor.backUpBeforeSaving
After shipping #11828 Atom always creates a backup file in the
`~/.atom/recovery` directory, trying to restore it automatically via the
main process in case there is a hard crash on the renderer process. This
approach should be resilient enough to allow us to delete this config
option altogether.

We can still keep it for a while in text-buffer, in case we need to use
it again at some point, but it's probably fine to remove it from there
too at some point in the future.
2016-08-11 09:23:43 +02:00
Antonio Scandurra
727d3d76d5 ⬆️ text-buffer
This fixes an error thrown when `File.prototype.safeRemoveSync` in
pathwatcher fails. See atom/node-pathwatcher#111 for more details.
2016-08-11 09:04:04 +02:00
Nathan Sobo
67410f3f18 ⬆️ tree-view 2016-08-10 15:43:37 -06:00
Max Brunsfeld
b8b3862e99 ⬆️ grammar-selector 2016-08-10 14:30:54 -07:00
Max Brunsfeld
ea50d4fe8c 🚱 Fix leak in Workspace::buildTextEditor 2016-08-10 13:57:04 -07:00
Max Brunsfeld
6d4e0f9b0a 🚱 Stop maintaining destroyed editors' grammar and config 2016-08-10 13:54:37 -07:00
Max Brunsfeld
09b1d402d5 📝 Fix typo in setAutoIndent{,OnPaste} docs 2016-08-10 13:28:06 -07:00
Max Brunsfeld
38849474d0 Merge branch 'master' into ns-mb-detangle-editor 2016-08-10 13:23:32 -07:00
Damien Guard
54d2f000b3 ⬆️ electron-winstaller to 2.3.4 2016-08-10 13:15:03 -07:00
Nathan Sobo
fe76ba9c64 ⬆️ settings-view 2016-08-10 12:59:35 -06:00
Nathan Sobo
478c445990 ⬆️ tabs 2016-08-10 12:57:29 -06:00
Nathan Sobo
e2ae2f32ba ⬆️ tabs 2016-08-10 12:04:32 -06:00
Nathan Sobo
af09bb6211 Merge pull request #12382 from atom/as-tokenized-buffer-explicit-did-change-updates
Register text decoration layer when initializing TokenizedBuffer
2016-08-10 12:01:58 -06:00
Nathan Sobo
19933ab601 ⬆️ text-buffer 2016-08-10 10:03:47 -06:00
Antonio Scandurra
23f421154e Delete TokenizedBuffer.prototype.onDidChange
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-08-10 17:52:49 +02:00
Antonio Scandurra
6ae263aed4 Register text decoration layer when initializing TokenizedBuffer 2016-08-10 11:47:07 +02:00
Max Brunsfeld
5d24bcf19e Merge pull request #12237 from zertosh/cleanup-activation-hook-subscrtiptions
Cleanup activationHookSubscriptions when deactivating package
2016-08-09 17:08:49 -07:00
Max Brunsfeld
762466d57c Merge pull request #12378 from atom/mb-fix-process-env-issues
Fix issues with getting environment variables from the shell
2016-08-09 15:24:44 -07:00
Max Brunsfeld
b97f317cd1 Remove fallbacks for scoped properties in TextEditor
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-08-09 15:20:00 -07:00
Nathan Sobo
c0857b611e Log windows installer creation errors 2016-08-09 16:13:32 -06:00
Max Brunsfeld
29096bde31 Don't update ATOM_HOME env var after launch
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-08-09 14:38:19 -07:00
Max Brunsfeld
d21c6f1482 Rename environment-helpers-spec -> update-process-env-spec 2016-08-09 14:26:51 -07:00
Max Brunsfeld
3103682efd Bypass aliases when running env shell command 2016-08-09 14:25:25 -07:00
Nathan Sobo
e6514bf3d8 Merge pull request #12377 from atom/ns-stringify-temp-window-state
Stringify/parse temporary window state to avoid nulling out references
2016-08-09 15:20:30 -06:00
Nathan Sobo
dfc0910023 Stringify/parse temporary window state to avoid nulling out references
If the object passed via IPC contains any keys of the same reference,
all but one of these keys will be nulled out. Converting to/from a
string avoids this problem.
2016-08-09 14:43:38 -06:00
Max Brunsfeld
16a22b9f28 Merge branch 'master' into ns-mb-detangle-editor 2016-08-09 13:36:46 -07:00