Cheng Zhao
6bbea1bbf2
Clean atom-shell caches in 'rake clean'.
2013-05-24 23:35:31 +08:00
Cheng Zhao
a00fe91fca
Show Atom's version.
2013-05-24 23:24:46 +08:00
Cheng Zhao
22d77af409
Also restore dimensions for spec window.
2013-05-24 22:09:44 +08:00
Cheng Zhao
e2a18e3487
Hide window when window is going to close, not when unloading.
...
Otherwise reloading window would also hide and then show window, which
makes things weird.
2013-05-24 21:58:14 +08:00
Cheng Zhao
7bb6a7c1e8
Restore window dimensions after atom.windowMode is set.
...
It's required to set atom.windowMode before getting window state.
2013-05-24 21:52:03 +08:00
Cheng Zhao
2937404227
Make cibuild work.
2013-05-24 21:29:35 +08:00
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
6edcb553e8
If no pathsToOpen is specified and executedFrom is provided, then open executedFrom.
...
This is the expected behavior of 'atom' cli command.
2013-05-24 20:41:52 +08:00
Cheng Zhao
ce1c1e1f88
Hide window before doing unload work.
...
In this way we can give user the feeling of quick close even though the
unloading could take some time.
2013-05-24 20:12:42 +08:00
Cheng Zhao
fa0a35741a
Make configuration window work.
2013-05-24 19:45:20 +08:00
Cheng Zhao
cf4c2b5768
Return separate windowStatePath for config window.
2013-05-24 19:33:25 +08:00
Cheng Zhao
0dd823aa38
Merge branch 'master' into atom-shell
2013-05-24 19:12:47 +08:00
Cheng Zhao
b9b8101676
Window without pathToOpen should also has meaningful windowStatePath.
2013-05-24 19:02:53 +08:00
Cheng Zhao
d1917fb986
Calling AtomApplication.open() without parameters should work.
2013-05-24 18:40:33 +08:00
Cheng Zhao
e1442efef3
Make sure web view in spec window never loses focus.
2013-05-24 18:21:48 +08:00
Cheng Zhao
20b53313af
dimensions could be undefined.
2013-05-24 16:34:26 +08:00
probablycorey
15baa08ca2
Only allow one atom process to run at a time
...
If another atom process is opened, it will send its pathsToOpen to the
existing atom process via a socket
2013-05-23 16:34:49 -07:00
Kevin Sawicki
7daeb6c633
Allow json grammars in TextMate bundles
2013-05-23 12:11:17 -07:00
Kevin Sawicki
a267b67337
Remove unused require
2013-05-23 11:58:34 -07:00
probablycorey
70ac47b8a8
🙈
2013-05-23 11:18:31 -07:00
probablycorey
61d9f957ea
Change indexOf string matching calls to use regex
2013-05-23 10:31:07 -07:00
probablycorey
c0149100bb
💄
2013-05-23 10:26:31 -07:00
Cheng Zhao
1b896d8b30
Fix link package spec.
2013-05-23 15:04: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
Cheng Zhao
8849eb1186
Remove a few abandonded atom.* functions relying on sendMessageToBrowserProcess.
2013-05-23 14:13:39 +08:00
Cheng Zhao
95d5bff6ba
Make atom work when there is no enough command line parameters.
2013-05-23 10:53:35 +08:00
Cheng Zhao
1d9449838f
Make detect order of resourcePath more robust.
...
1. Use the resource-path of process.argv if specified;
2. Otherwise if --dev is specified then use ~/github/atom;
3. If no valid resourcePath is provide use the ones in bundle.
2013-05-23 10:36:27 +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
Kevin Sawicki
603868a8c9
Mention installing packages
2013-05-22 16:02:48 -07:00
probablycorey
7716441bbd
Update clipboard calls in edit session spec
2013-05-22 16:01:57 -07:00
Kevin Sawicki
b5c805f0e9
Listen for package events and update view on state changes
2013-05-22 15:44:44 -07:00
Kevin Sawicki
6f54250ee5
Include error in trigger arguments
2013-05-22 15:41:03 -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
26bfd95289
Expect relative main path
2013-05-22 15:29:38 -07:00
Kevin Sawicki
51cd8cc977
Add string case to unsubscribeFromActivationEvents()
2013-05-22 15:29:38 -07:00
Kevin Sawicki
571c953e51
Mark emitter class as internal
2013-05-22 15:29:38 -07:00
Kevin Sawicki
d65b3608ba
Add keybinding to description
2013-05-22 15:29:38 -07:00
Kevin Sawicki
14db63df3c
Support single string activationEvents
2013-05-22 15:29:38 -07:00
Kevin Sawicki
ed95c0d555
Add a description for each package
2013-05-22 15:29:38 -07:00
Kevin Sawicki
8deaeed6b7
Use a relative require path
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
9a5fc6ebe8
Add retry button for when fetching fails
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
9ecfe91729
💄
2013-05-22 15:29:37 -07:00
Kevin Sawicki
fa571717d4
Only unload package if it is loaded
2013-05-22 15:29:37 -07:00