Commit Graph

8120 Commits

Author SHA1 Message Date
Kevin Sawicki
7390d908bd Add -v flag to print the version 2013-06-11 16:23:47 -07:00
Kevin Sawicki
a98308a7a4 Add -n option to always open a new window 2013-06-11 16:15:04 -07:00
Kevin Sawicki
3b263eb961 Tweak crashed dialog messaging 2013-06-11 16:07:57 -07:00
Kevin Sawicki
c6d5c143cf Mention LESS/CSS indent fix 2013-06-11 15:54:56 -07:00
Kevin Sawicki
6d0f303cd5 Set initialPath on load settings 2013-06-11 15:48:22 -07:00
Kevin Sawicki
327f16fa03 Add semicolon 2013-06-11 15:44:25 -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
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
Kevin Sawicki
c63536c682 Include source TextMate bundle 2013-06-11 13:02:00 -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
a3d896f456 Mention archive viewer 2013-06-10 14:22:30 -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
8dbac6a34f Add light theme support for archive viewer 2013-06-10 14:11:18 -07:00
Kevin Sawicki
6bd8213093 Remove duplicate property 2013-06-10 14:11:18 -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
af2b775a4a Upgrade to ls-archive 0.9 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
3709a0b7e1 Release instead of build 2013-06-10 09:01:00 -07:00
Kevin Sawicki
c651cdc356 Update image to match current icon 2013-06-10 09:00:26 -07:00
Kevin Sawicki
db9d92041f Add speakeasy link 2013-06-10 09:00:08 -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