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
dc53f387a6
Remove project serialization
2013-06-11 14:39:32 -07:00
Corey Johnson & Kevin Sawicki
11dfe7b649
Tweak unresponsive dialog text
2013-06-11 14:28:27 -07:00
Corey Johnson & Kevin Sawicki
1ce861c000
Don't save pathToOpen to window state
2013-06-11 14:17:20 -07:00
Corey Johnson & Kevin Sawicki
0c8f200d45
Always load bundle preferences
...
Previously the scoped properties would not load if there weren't
any grammars in the bundle or if listing the grammars directory
failed.
Closes #570
2013-06-11 13:52:40 -07:00
Corey Johnson & Kevin Sawicki
7516cebb40
Comment .less code correctly
2013-06-11 12:25:57 -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
4f348dcd19
Watch archive file and react to events
...
The view now refreshes on 'contents-changed' events and
closes on 'removed' events
2013-06-10 18:32:11 -07:00
Kevin Sawicki
9ad65e6e46
Add top padding to directories
2013-06-10 14:11:19 -07:00
Kevin Sawicki
790c9714c7
Forward focus to selected file on focus events
2013-06-10 14:11:19 -07:00
Kevin Sawicki
68074be9d6
Add initial archive viewer spec
2013-06-10 14:11:19 -07:00
Kevin Sawicki
4c2a40808b
💄
2013-06-10 14:11:19 -07:00
Kevin Sawicki
0b0af2296f
Add summary header with size and file/folder counts
2013-06-10 14:11:18 -07:00
Kevin Sawicki
2c7d49f7a8
Ignore callbacks if path has changed
2013-06-10 14:11:18 -07:00
Kevin Sawicki
dc89b0569a
Add margin to loading message
2013-06-10 14:11:18 -07:00
Kevin Sawicki
ff5ea00b00
Use toggle class for removing selected class
2013-06-10 14:11:18 -07:00
Kevin Sawicki
1894901930
Add up/down/confirm event handling
2013-06-10 14:11:18 -07:00
Kevin Sawicki
135a285596
Remove unused require
2013-06-10 14:11:18 -07:00
Kevin Sawicki
32e229b162
Log error stack
2013-06-10 14:11:18 -07:00
Kevin Sawicki
3102ac403b
Tweak file and folder styles
2013-06-10 14:11:18 -07:00
Kevin Sawicki
0f16b54d8e
Only update view when path changes
2013-06-10 14:11:18 -07:00
Kevin Sawicki
8fc1e34a74
Remove debug logging
2013-06-10 14:11:18 -07:00
Kevin Sawicki
e9bf2fe161
Add initial archive viewer
2013-06-10 14:11:17 -07:00
Kevin Sawicki
b474a818aa
Always return false from link click callback
2013-06-10 08:56:19 -07:00
Kevin Sawicki
cea521a737
Save window parameters on reload
2013-06-08 17:22:21 -07: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
7f6e5e2e52
Un-f image view spec
2013-06-07 11:02:41 -07:00
Kevin Sawicki
4fdaf6dead
Always open untitled editor when no path to open
...
Refs #577
2013-06-07 10:54:51 -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
Kevin Sawicki
fca1c13d03
Move image-view to a package
...
This removes the ugliness of having project.coffee require
image-edit-session at the end since the image-edit-session can
now register itself in an @activate callback and as a deferred
deserializer in the package.cson file.
2013-06-07 10:15:32 -07:00
Kevin Sawicki
3029137cb8
Correct typo in return comment
2013-06-07 09:31:04 -07:00
Kevin Sawicki
c7c9a2496a
Sort autocomplete words case insensitively
2013-06-07 09:18:16 -07:00
Kevin Sawicki
f40a7105bc
Call .openPath() when 'new-window' is triggered
...
Closes #577
2013-06-07 08:51:10 -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
Cheng Zhao
bbde993e81
Fullscreen => FullScreen.
2013-06-07 14:33:55 +08:00
Kevin Sawicki
9088ecca16
Default first argument to empty hash
2013-06-06 17:31:54 -07:00
Kevin Sawicki
9a99af2281
Store/restore full screen state on root view
...
Closes #245
2013-06-06 17:21:33 -07:00
Kevin Sawicki
70bb40ce2f
Show all words when prefix and suffix are empty
...
This seems more applicable than just showing the "No matches found"
error when the current position has neither a prefix or a suffix.
2013-06-06 16:42:37 -07:00
Kevin Sawicki
9fea9ea756
Catch and log errors thrown by process.kill()
...
These can occur if killing the process fails because it no longer exists.
2013-06-06 16:23:53 -07:00
Kevin Sawicki
dc46960e6c
Update scroll position after layer dimensions
...
Calling updateLayerDimensions() may change the scroll position
so restore the edit session's stored scroll positions after
updateLayerDimensions() is called but store the scroll left and
scroll top positions beforehand.
2013-06-06 16:15:51 -07:00
Kevin Sawicki
7a04b22375
💄
2013-06-06 16:00:44 -07:00
Kevin Sawicki
d5526515f1
Only save scroll position when attached
2013-06-06 15:58:44 -07:00
Kevin Sawicki
7313407d04
Resolve ${group:/command} style pattern names
...
These are used by the todo package to include the lower cased
version of the matched capture index in the pattern scope name.
2013-06-06 12:39:51 -07:00
Kevin Sawicki
881efc8e8f
Add mdown for GFM fileTypes
2013-06-06 12:12:26 -07:00