Commit Graph

28094 Commits

Author SHA1 Message Date
Nathan Sobo
54ce749578 Remove unused local 2015-10-13 19:38:02 -06:00
Nathan Sobo
99b06e149b Remove AtomEnvironment::requireWithGlobals 2015-10-13 19:37:26 -06:00
Nathan Sobo
65ae175e72 Pass explicit window global into AtomEnvironment on construction 2015-10-13 19:35:51 -06:00
Nathan Sobo
c8407167ee Pass specific parameters to registerDefaultCommands 2015-10-13 19:20:06 -06:00
Nathan Sobo
f9a269ed99 Prompt about checking out head revision in TextEditor, not GitRepository
This allows us not to inject confirm or ApplicationDelegate into
Project, GitRepositoryProvider, and GitRepository.
2015-10-13 19:11:55 -06:00
Nathan Sobo
306ddf5491 Use ApplicationDelegate in CommandInstaller instead of bound confirm 2015-10-13 19:10:56 -06:00
Nathan Sobo
84aa8471b4 Pass AppDelegate to Workspace, Pane instead of bound functions
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-13 18:54:48 -06:00
Wliu
e0ab4b33f5 Simplify Node versions to "0.10.x or above" 2015-10-13 20:31:22 -04:00
Nathan Sobo
20e07649d4 Move confirm into ApplicationDelegate
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-13 18:09:35 -06:00
Nathan Sobo
3876deddf3 Merge branch 'master' into ns-alternative-test-env 2015-10-13 17:59:46 -06:00
Nathan Sobo
cc0bf23f78 Add setRepresentedDirectoryPaths to ApplicationDelegate
Also, use it to provide the default path in showSaveDialog
2015-10-13 17:57:48 -06:00
Nathan Sobo
432a59b8e5 Move tests from window-event-handler-spec for moved functionality
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-13 17:53:01 -06:00
Nathan Sobo
ed1c37cdbf Bind confirm when deserializing panes
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-13 17:29:41 -06:00
Nathan Sobo
919571f328 Use ApplicationDelegate in WindowEventHandler
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-13 17:29:41 -06:00
Nathan Sobo
f989ed65e1 Move ipc handling from WindowEventHandler to ApplicationDelegate
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-13 16:57:02 -06:00
Nathan Sobo
83a0cf28cd 🎨
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-13 15:47:45 -06:00
Nathan Sobo
e92cb86335 Introduce ApplicationDelegate to AtomEnvironment
All external actions are performed via this delegate for test-isolation
purposes.
2015-10-13 15:42:57 -06:00
Max Brunsfeld
10b8de6fc4 Merge pull request #8533 from ssorallen/notification-manager-options-docs
Document all options for creating Notifications
2015-10-13 13:56:41 -07:00
Max Brunsfeld
1316a52a81 Merge pull request #9132 from mrodalgaard/workspace-docs
📝 Better workspace scan and replace docs
2015-10-13 13:53:31 -07:00
Nathan Sobo
a8ca3165a0 Remove dead code 2015-10-13 14:46:28 -06:00
Martin Rodalgaard
5b37d3e1aa 📝 Better workspace scan and replace docs 2015-10-13 20:29:24 +02:00
Max Brunsfeld
47961a8e6b Fix setting default values in config 2015-10-13 11:00:53 -07:00
Antonio Scandurra
695fad501c ⬆️ find-and-replace 2015-10-13 19:04:57 +02:00
Max Brunsfeld
22eb6d6d01 Merge pull request #8571 from jacekkopecky/socket-in-apm-test
prevent use of socket in apm test
2015-10-13 10:01:54 -07:00
Jacek Kopecky
d04769907c prevent use of socket in apm test 2015-10-13 17:36:57 +01:00
Antonio Scandurra
6459891c89 💚 Make sure to destroy AtomEnvironment in specs 2015-10-13 15:30:45 +02:00
Antonio Scandurra
1df90a220e ⬆️ Bump more dependencies 2015-10-13 13:59:51 +02:00
Dave Rael
4312f76ed7 Added command line parameter to set portable
If parameter included, home directory will be copied to the portable
location to make this a portable install
2015-10-13 05:43:01 -06:00
Antonio Scandurra
e51bad5618 🐛 Install WindowEventHandler in ctor 2015-10-13 12:38:45 +02:00
Antonio Scandurra
3ac0656a26 Reset Workspace before Project
Otherwise some paths will be leaked.
2015-10-13 11:29:51 +02:00
Antonio Scandurra
dbf65b4d97 ⬆️ Bump dependencies 2015-10-13 10:44:25 +02:00
Antonio Scandurra
cf5d94f084 Return a promise in test runners 2015-10-13 09:02:37 +02:00
Antonio Scandurra
4a59da9194 Express timeout in seconds 2015-10-13 08:35:02 +02:00
Max Brunsfeld
321996a684 ⬆️ line-ending-selector 2015-10-12 16:51:30 -07:00
Max Brunsfeld
0b6a695cc0 Merge pull request #9122 from ForNeVeR/coffee-source-maps
Fix coffeescript source maps on Windows
2015-10-12 16:00:48 -07:00
Nathan Sobo
f7a3e6c425 Don’t load base style sheets until config is loaded
We need to know what themes are active in order to load the correct LESS
variables.
2015-10-12 16:12:46 -06:00
Nathan Sobo
d4c88cc7fd Merge branch 'master' into ns-alternative-test-env 2015-10-12 15:55:28 -06:00
Nathan Sobo
88ac806e6c Merge pull request #9127 from atom/ns-fix-quit-cancellation
Restore ability to cancel the closing of a window from save dialog
2015-10-12 15:53:46 -06:00
Luke Pommersheim
367a6a57cf Merge pull request #2 from abe33/cn-move-lines-up-and-down-with-multiple-selections
Move lines up and down with multiple selections
2015-10-12 23:34:14 +02:00
Nathan Sobo
93de5ccb79 Assign window.onbeforeunload instead of addEventListener
This allows us to cancel the unloading if the user doesn’t confirm the
save dialog.
2015-10-12 15:32:36 -06:00
Nathan Sobo
69e8b0cfb1 Prevent title change during specs 2015-10-12 15:19:55 -06:00
Nathan Sobo
79d9a13ea7 Fix ENOENT exceptions in text-editor-spec 2015-10-12 15:09:28 -06:00
Kevin Sawicki
b27c1140a7 ⬆️ language-shellscript@0.19 2015-10-12 13:36:43 -07:00
Nathan Sobo
c82e331b7d Return a Disposable from mocked method to avoid exception it specs 2015-10-12 14:12:13 -06:00
abe33
d8aba0d295 🎨 Improve test descriptions and fix a typo 2015-10-12 22:10:09 +02:00
abe33
45a3dbca4e 🐛 Fix folds not preserved when moving multiple selections down
When two or more selections span the rows immediately before a fold,
the `did-change` event dispatched on the deletion will trigger a merge
of the selections, which in turn trigger an unfold at the buffer
position of the new selection, which is now the position of the fold.
Consolidating the selections at the begin of the transaction will
prevent the merge and will keep the fold untouched.
2015-10-12 22:05:25 +02:00
Nathan Sobo
29fe98581e Don’t assign atom.themes.workspace in spec-helper 2015-10-12 13:54:35 -06:00
abe33
d68a0db6d2 🎨 Fix description test
Actually it doesn’t test multiple selections moves.
2015-10-12 21:16:07 +02:00
Kevin Sawicki
21d11daf0c Merge pull request #9101 from atom/tj-fix-dragging-and-dropping-files
Fix #4300 by preventing 'will-navigate' event from firing
2015-10-12 12:01:41 -07:00
Kevin Sawicki
12143f6380 ⬆️ language-html@0.42 2015-10-12 11:29:19 -07:00