Cheng Zhao
a3b7df7b25
Fix window spec.
...
The windowStatePath now requires atom.windowMode, without setting it the
deserializeEditorWindow would create the wrong window.project.
2013-05-24 21:10:40 +08:00
Cheng Zhao
0dd823aa38
Merge branch 'master' into atom-shell
2013-05-24 19:12:47 +08:00
Cheng Zhao
20c0b76329
Add prefix for loading packages in spec/fixtures.
2013-05-23 14:50:56 +08:00
Cheng Zhao
f715a6fca2
Fix opening links in external browsers.
2013-05-23 14:50:21 +08:00
probablycorey
b5bd7160d2
Update window spec
2013-05-22 16:44:09 -07:00
probablycorey
ce4cb0db80
Test window.closeWithoutConfirm instead of window.close
2013-05-22 16:28:13 -07:00
probablycorey
7716441bbd
Update clipboard calls in edit session spec
2013-05-22 16:01:57 -07:00
probablycorey
2746d72731
Ignoring 'modal native dialogs' spec
...
/cc @zcbenz since we don't use sendMessageToBrowserProcess anymore
these specs aren't mocked correctly. Is there a method that we can
mock when calling remote objects?
2013-05-22 15:34:48 -07:00
probablycorey
7f083acdc4
Update atom specs
2013-05-22 15:31:59 -07:00
Kevin Sawicki
681bc18248
Add spec for installing a package
2013-05-22 15:29:38 -07:00
Kevin Sawicki
23ce97a358
Add spec for uninstalling a package
2013-05-22 15:29:38 -07:00
Kevin Sawicki
05df25b8f4
Update spec for new DOM layout
2013-05-22 15:29:38 -07:00
Kevin Sawicki
d671345ab3
Update views when packages are installed/uninstalled
2013-05-22 15:29:37 -07:00
Kevin Sawicki
262a7d549e
Add asserts for version text
2013-05-22 15:29:37 -07:00
Kevin Sawicki
860dd76d0d
Wait for packages loaded event before starting specs
2013-05-22 15:29:37 -07:00
Kevin Sawicki
07e8ee35d9
Add Atom.getAvailablePackageMetadata()
...
This includes the metadata for all available packages
whether or not they are currently loaded.
2013-05-22 15:29:36 -07:00
Kevin Sawicki
82597aa636
Use same view for installed and available packages
2013-05-22 15:29:36 -07:00
Kevin Sawicki
1fe576752b
Unload package when uninstalled
2013-05-22 15:29:35 -07:00
Kevin Sawicki
6622e7369d
Decrease coverage to 75%
2013-05-22 15:29:35 -07:00
Kevin Sawicki
0c85b40789
Add initial support for installing and uninstalling
2013-05-22 15:29:35 -07:00
Kevin Sawicki
b4104c0136
Use third package view instead of first
2013-05-22 15:29:35 -07:00
Kevin Sawicki
fb712cf9c1
Add asserts for homepage and issue links
2013-05-22 15:29:35 -07:00
Kevin Sawicki
9f94d1b6b4
Add initial spec for available packages
2013-05-22 15:29:35 -07:00
Kevin Sawicki
5b2b699618
💄
2013-05-22 15:29:35 -07:00
Kevin Sawicki
a223439eb8
Combine package configs into single panel
2013-05-22 15:29:34 -07:00
Kevin Sawicki
d3cbd937fb
Clip buffer position in screenPositionForBufferPosition()
...
Closes #562
2013-05-22 15:25:27 -07:00
probablycorey
102068f9e5
Remove calls to $native
...
And now some specs pass!
2013-05-22 11:57:31 -07:00
Cheng Zhao
b68978ecb3
💄
2013-05-22 22:30:04 +08:00
Cheng Zhao
61f8878e05
Merge branch 'master' into atom-shell
...
Conflicts:
package.json
script/bootstrap
spec/app/window-spec.coffee
src/app/window.coffee
2013-05-22 20:52:42 +08:00
Kevin Sawicki
e7c08d1202
Exclude core.ignoredNames when scanning project
2013-05-21 18:46:03 -07:00
probablycorey
f23cb1aa79
Window state works now
...
The state is now stored in ~/.atom/.storage/SHA-OF-PATH. It is written
to every time it is set.
2013-05-21 14:12:15 -07:00
Cheng Zhao
8be54136ed
Use "shell.openExternal(url)" to open links in external browsers.
2013-05-20 10:12:40 +08:00
Kevin Sawicki & Nathan Sobo
001183245e
Add core:focus-next/focus-previous
...
Focus now cycles between elements with a positive tabindex on
tab and shift-tab.
2013-05-16 15:00:55 -07:00
probablycorey
09ab319328
Atom.show no longer used
...
The window is shown automatically when it is created.
2013-05-16 14:19:53 -07:00
Kevin Sawicki & Nathan Sobo
76e7161608
Extract window event handling into separate class
2013-05-16 14:18:57 -07:00
Kevin Sawicki & Nathan Sobo
d76d0a030f
Forward all subscribe arguments from Subscriber to EventEmitter
2013-05-16 13:36:51 -07:00
Kevin Sawicki & Nathan Sobo
3b0748fe44
Add config.pushAtKeyPath/removeAtKeyPath
2013-05-16 10:51:23 -07:00
Kevin Sawicki & Nathan Sobo
2b49a04227
Return a cloned object from config.get()
...
This prevents mutations to the values of the default settings.
2013-05-16 10:29:08 -07:00
Kevin Sawicki
61675c2e77
Install apm command when Atom starts
...
This changes the command installation to use symlinks instead
of copying over the contents of the file.
2013-05-15 10:29:27 -07:00
Nathan Sobo
aefb84cdeb
Don't modify uri's with a scheme prefix in Project.resolve
2013-05-14 20:55:14 -06:00
Nathan Sobo
aa86362a0a
Add Project@registerOpener(fn) to register custom openers on project
...
Now packages can register custom handlers for different kinds of file
paths. If the function you register returns a resource for the given
path, it will be returned from Project.open instead of an EditSession.
2013-05-14 20:23:25 -06:00
Nathan Sobo
6104927cb6
Rename Project.buildEditSession -> Project.open
2013-05-14 20:03:53 -06:00
Kevin Sawicki
2f54cb4c22
Use season module internally
2013-05-14 11:58:34 -07:00
Kevin Sawicki
b8ee3187ec
doc: task instead of web worker
2013-05-13 17:35:51 -07:00
probablycorey
f74842cd4c
Use new ruby scopes in TextMateGrammar spec
2013-05-13 16:51:30 -07:00
probablycorey
423b133e75
Comments can't increase the indent level of the next line
2013-05-13 14:28:16 -07:00
probablycorey
eb25d2e6a8
TokenizedBuffer.tokenForPosition(position) now works correctly
...
It was previously returning the wrong token at token boundaries.
2013-05-13 14:28:16 -07:00
probablycorey
eae06b62bc
Spec 💄
2013-05-13 14:28:16 -07:00
probablycorey
49aeef99b6
Add config option editor.normalizeIndentOnPaste
2013-05-13 14:28:16 -07:00
probablycorey
8e37d2ada6
Turn auto-indent on for all 'newline' specs
2013-05-13 14:28:16 -07:00