Commit Graph

21 Commits

Author SHA1 Message Date
Kevin Sawicki
3b263eb961 Tweak crashed dialog messaging 2013-06-11 16:07:57 -07:00
Corey Johnson & Kevin Sawicki
a4ee1eb785 Rename pathToOpen load setting to initialPath
Use the initialPath as the window state serialization key.

Also use the parent directory as the intitial path when the
path to open is a file.
2013-06-11 15:38:31 -07:00
Corey Johnson & Kevin Sawicki
fc52ee518e Wait for window:loaded before emitting window:open-path 2013-06-11 14:48:51 -07:00
Corey Johnson & Kevin Sawicki
b3e0ea6d33 Add AtomWindow.openPath() 2013-06-11 14:39:52 -07:00
Corey Johnson & Kevin Sawicki
11dfe7b649 Tweak unresponsive dialog text 2013-06-11 14:28:27 -07:00
Corey Johnson & Kevin Sawicki
e82a7f57fe Move already opened path logic to Atom Window 2013-06-11 11:28:53 -07:00
Corey Johnson & Kevin Sawicki
bcc16fbefe Remove hash params from url
Load settings are now stored on the browser window.
2013-06-11 11:17:16 -07:00
Cheng Zhao
a57c5c7c93 Show prompt to close or reload window when renderer is crashed. 2013-06-11 14:49:04 +08:00
Cheng Zhao
f7db59ea7c Close window immediately if renderer is crashed. Fixed #580. 2013-06-11 14:49:04 +08:00
Kevin Sawicki
b89eb07c6e URI encode parameter values
Previously the path to open would not open properly if it contained
a '&' character since the character was not encoded and would cause
the parameter parsing to stop at the first '&'.
2013-06-07 11:11:31 -07:00
Kevin Sawicki
dea0e08d93 Use hash instead of query string for parameters
This allows the pathToOpen to be changed when the project
path changes.

Previously if the untitled window file was saved, the project
path would be forever associated with the undefined window.

Now when the project path changes, the pathToOpen changes so
that the state is persisted to the project area and the untitled
window never has a project.
2013-06-07 10:50:06 -07:00
Cheng Zhao
6f519b0456 Show unresponsive message dialog as sheet. 2013-06-07 16:26:58 +08:00
Cheng Zhao
cb2bf796fa Show prompt to force closing window when window is frozen.
Fixed atom/atom-shell#17.
2013-06-07 16:26:18 +08:00
Kevin Sawicki
855549d677 Remove unused method 2013-06-03 13:39:50 -07:00
Cheng Zhao
3cad4ae118 Adopt to filename changes of atom-shell. 2013-05-30 21:36:49 +08:00
Corey Johnson & Kevin Sawicki
8ad695e89f Make atomApplication a global 2013-05-29 14:49:43 -07:00
Corey Johnson & Kevin Sawicki
608fcbd0a1 Use relative requires 2013-05-29 14:38:48 -07:00
Corey Johnson & Kevin Sawicki
7bc905d352 Reuse existing windows when opening paths from command line 2013-05-28 14:45:54 -07:00
Kevin Sawicki
13d57f56f6 Focus existing window for path 2013-05-28 12:26:54 -07:00
Cheng Zhao
0cdbfed7ab Push new window to atomApplication.windows in AtomWindow. 2013-05-25 12:04:53 +08:00
probablycorey
6b08d18f4b Move AtomWindow to it's own file 2013-05-24 14:46:25 -07:00