Commit Graph

5370 Commits

Author SHA1 Message Date
Kevin Sawicki
5a8444579c Use more description variable names instead of path 2013-06-12 16:32:12 -07:00
Kevin Sawicki
dc4012ea7c Add missing path require 2013-06-12 16:25:41 -07:00
Kevin Sawicki
17007e6154 Add missing path prefix to method invocation 2013-06-12 16:23:48 -07:00
Kevin Sawicki
82013b1970 Use path.join() instead of fsUtils.join() 2013-06-12 16:20:40 -07:00
Kevin Sawicki
7cf4063d9e Use path.dirname() instead of fsUtils.directory() 2013-06-12 15:54:34 -07:00
Kevin Sawicki
d1cf839e53 Use correct less stylesheet path variable name 2013-06-12 15:53:47 -07:00
Kevin Sawicki
f47164a2e6 Use more descriptive variable name instead of path 2013-06-12 15:46:15 -07:00
Kevin Sawicki
bdb641ec94 Use path.extname() instead of fsUtils.extension() 2013-06-12 15:43:58 -07:00
Kevin Sawicki
341a327ea0 Rename path variable to entryPath 2013-06-12 15:36:18 -07:00
Kevin Sawicki
3d53a6ecf8 Remove internal references to .base() 2013-06-12 15:32:25 -07:00
Kevin Sawicki
eede4a386f Use path.basename() instead of fsUtils.base() 2013-06-12 15:26:09 -07:00
Kevin Sawicki
437137783c Use rimraf for removing files/folders 2013-06-12 15:09:54 -07:00
Kevin Sawicki
b96597b089 💄 2013-06-12 14:44:06 -07:00
Kevin Sawicki
eeb2782700 Use lookbehind for whitespace before bold/italic text 2013-06-12 14:43:14 -07:00
Kevin Sawicki
0f4ad0bbf5 Guard against a null initial path
This will be the case when the .atom fold is opened from the config window.

path.join() cannot be called with null values.
2013-06-12 14:31:49 -07:00
Kevin Sawicki
e5b8aa57d7 Guard against null rootView
This will be the case for the config window.
2013-06-12 13:13:24 -07:00
Kevin Sawicki
28f47e8248 hideGitIgnoredFiles is under core key, not editor 2013-06-12 12:48:25 -07:00
Kevin Sawicki
f870dc7b72 Allow autocomplete package to be deactivated 2013-06-12 11:41:41 -07:00
Kevin Sawicki
04c5e9fa42 Return subscription from RootView.eachEditor() 2013-06-12 11:38:05 -07:00
Kevin Sawicki
5281507483 Remove invalid include rule 2013-06-12 10:18:23 -07:00
Kevin Sawicki
5538b2910d 💄 2013-06-12 10:18:23 -07:00
Kevin Sawicki
c7c7988ae6 Drop units when using zero 2013-06-12 10:18:23 -07:00
Kevin Sawicki
2b29212d0f Sort flags alphabetically 2013-06-11 16:30:46 -07:00
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
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