Commit Graph

5335 Commits

Author SHA1 Message Date
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
Kevin Sawicki
71c86381df Support includes inside of injection grammars 2013-06-06 11:30:01 -07:00
Kevin Sawicki
af14f57962 Support opening fuzzy finder to a specific line
Adding a line number after a colon such as ':8' to the end of the fuzzy
filter input field will navigate to line 8 of the opened editor.
2013-06-06 10:17:15 -07:00
Kevin Sawicki
2f8c45aec4 Break out wrap test to own function 2013-06-06 08:32:47 -07:00
Kevin Sawicki
eaf5b8bc8e Remove duplicate getLastScreenRow() method 2013-06-06 08:21:00 -07:00
Kevin Sawicki
efb2cfab9f Remove duplicate getBufferRowCount() method 2013-06-06 08:19:21 -07:00
Kevin Sawicki
320328777e Remove duplicate keys in classes 2013-06-06 08:18:08 -07:00
Kevin Sawicki
5c36064afc Remove empty param lists 2013-06-06 08:16:11 -07:00
Cheng Zhao
01b583957e Add back edit menu.
On OS X, applications rely on the menu to trigger native events for
various commands. Editor view doesn't need it before it listens to the
keyboard shortcuts itself. Since spec window and devtools view don't
listen to keyboard shortcuts, we should rely on the menu to make edit
commands work.

Fixed atom/atom-shell#18.
2013-06-06 10:24:30 +08:00
Kevin Sawicki
7ccf2390a7 Constantly sync scroll left/top value from editor to edit session
Previously these values were only saved on the edit session when
is became inactive causing the scroll position to not always
persist between refreshes.

Closes #474
2013-06-05 19:14:30 -07:00