probablycorey
0eaec66ba6
Remove all native code
2013-05-28 11:46:19 -07:00
Kevin Sawicki
7c4f373d2a
Add back coffee-script require but don't assign it
2013-05-28 11:28:03 -07:00
Kevin Sawicki
60e08de077
Remove unused require
2013-05-28 11:17:25 -07:00
Kevin Sawicki
a081c47efa
Join github and atom dirs
2013-05-28 11:05:46 -07:00
Kevin Sawicki
b015b8bd2b
💄
2013-05-28 11:00:13 -07:00
Kevin Sawicki
2bd95a2b57
Merge branch 'master' into atom-shell
...
Conflicts:
.gitmodules
2013-05-28 10:47:46 -07:00
Kevin Sawicki
ea7ff135ee
💄
2013-05-28 09:42:20 -07:00
Kevin Sawicki
e84e13fe37
Load internal modules with an atom engines field as packages
2013-05-28 09:25:28 -07:00
Kevin Sawicki
617af68aeb
Upgrade apm
2013-05-28 09:25:28 -07:00
Kevin Sawicki
6690598024
Use TextMate packages instead of vendoring bundles
2013-05-28 09:25:22 -07:00
Cheng Zhao
54de539b8b
'pathsToOpen' passed in 'open' message is an array.
2013-05-27 21:38:46 +08:00
Cheng Zhao
684778b666
Map 'meta-r' to 'window:reload' in renderer.
2013-05-25 15:37:22 +08:00
Cheng Zhao
e89ee8ff3c
💄
2013-05-25 15:36:47 +08:00
Cheng Zhao
50ba01e22d
If no 'executed-from' and 'pathsToOpen' is provided, open empty editor.
2013-05-25 14:56:17 +08:00
Cheng Zhao
462bd77ad5
Make atom.open work with parameters.
2013-05-25 14:38:04 +08:00
Cheng Zhao
0cdbfed7ab
Push new window to atomApplication.windows in AtomWindow.
2013-05-25 12:04:53 +08:00
Cheng Zhao
ddfae74ba4
Only allow one config window.
2013-05-25 11:58:18 +08:00
Cheng Zhao
45f96ab67f
Fix atom.getVersion.
2013-05-25 11:50:23 +08:00
probablycorey
5170478f19
Rely on the atom cli created inside Atom
2013-05-24 14:54:32 -07:00
probablycorey
6b08d18f4b
Move AtomWindow to it's own file
2013-05-24 14:46:25 -07:00
probablycorey
7aa6c1c08e
Change how pathsToOpen gets passed around
2013-05-24 14:45:48 -07:00
probablycorey
623a58fb47
Use the local pathsToOpen
2013-05-24 14:43:58 -07:00
probablycorey
b6c543734a
Moved AtomApplication out of main.coffee
2013-05-24 11:53:49 -07:00
probablycorey
6ae858d35c
🙈
2013-05-24 11:53:49 -07:00
Cheng Zhao
47410c54e5
Remove 'modal dialogs' spec.
...
The main purpose of this spec is to test whether the simulation of modal
dialogs works, since the dialogs of atom-shell are real blocking modal
dialogs, there is no need to check whether the dialogs are presented as
modal dialogs correctly any more.
2013-05-25 00:20:54 +08:00
Cheng Zhao
e430002951
atom.getVersion returns plain string, not string object.
2013-05-25 00:19:50 +08:00
Cheng Zhao
0fa5ca3782
Generate version after all files are copied.
...
And also note that <(PRODUCT_DIR) cannot work in postbuilds.
2013-05-24 23:58:01 +08:00
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