Commit Graph

24013 Commits

Author SHA1 Message Date
Corey Johnson & Kevin Sawicki
2edb5b5496 Setup node path in Atom Window.
This lets windows run code from different resource paths.
2013-06-14 10:01:23 -07:00
probablycorey
3ba7d68d4a Add global.homeDir
Ick, this should be handled by an npm or hopefully a patch to Node.
2013-06-14 09:56:01 -07:00
probablycorey
da58bd5609 Always use ~/github/atom as the resource path when running specs 2013-06-14 09:27:54 -07:00
Kevin Sawicki
e8c0f46afb Relativize exact path matches to the empty string 2013-06-14 09:20:28 -07:00
Kevin Sawicki
772a99012d Focus window when atom.focus() is called
Previously listeners bound to $(window).focus() would not get
events when Atom initially started or on reloads.
2013-06-14 08:39:32 -07:00
Kevin Sawicki
f408406ef0 Support symlinks in .relativize() and .contains() 2013-06-14 08:29:21 -07:00
Kevin Sawicki
1fa319a8f3 Hide status and branch info for non-project files 2013-06-13 23:11:07 -07:00
Kevin Sawicki
a0aefe21c8 Bind mousewheel event to list instead of parent 2013-06-13 22:11:46 -07:00
Kevin Sawicki
d6be29dbdc Prevent propagation of mousewheel events from list
Without this, the autocomplete list is not scrollable using
the mouse wheel since it is consumed by the parent editor.
2013-06-13 18:50:36 -07:00
Kevin Sawicki
52ffa2d8c0 Use fat arrow for write callback 2013-06-13 18:38:23 -07:00
Kevin Sawicki
5ca4e8006e Format command and run count integers 2013-06-13 18:09:37 -07:00
Kevin Sawicki
75cfddebcd Implement getEmptyMessage() in CorrectionsView 2013-06-13 11:47:00 -07:00
Kevin Sawicki
1bc4b4ef32 Use mini-icon helper for loading-message 2013-06-13 11:40:32 -07:00
Kevin Sawicki
ff7c639b64 Don't use error class in select list
Use a subtler error message that displays in the same place as the
loading message but does not change the entire background of the
view.

Also, extending classes can now customize the message displayed
when there are no items and also no filtered items to allow for
different messages for these two cases.
2013-06-13 11:31:09 -07:00
Kevin Sawicki
77172800a8 Remove link to deleted method 2013-06-13 10:10:59 -07:00
Kevin Sawicki
6615e0f2db Use triple # internal comment 2013-06-13 10:03:54 -07:00
Kevin Sawicki
0f562330cf Remove unused functions and specs 2013-06-13 10:02:13 -07:00
Kevin Sawicki
42a8a1ff61 Use skinny arrow for onPath callback 2013-06-13 08:51:13 -07:00
Kevin Sawicki
29c0f0c115 Clean up function comments 2013-06-13 08:49:48 -07:00
Kevin Sawicki
dc33168ecc 💄 2013-06-13 08:44:12 -07:00
Kevin Sawicki
1e26bb533a Remove unneeded relativePath parameter 2013-06-13 08:41:04 -07:00
Kevin Sawicki
021fbc533f Specify utf8 encoding to fs.readFileSync() 2013-06-13 08:34:26 -07:00
Kevin Sawicki
bc6daaeac2 Make function comment accurate 2013-06-13 08:32:58 -07:00
Kevin Sawicki
d60c255703 Rename nodePath to path 2013-06-13 08:31:04 -07:00
Kevin Sawicki
2d9ba937fb Only ignore tags file at root
This allows the tags file inside spec/fixtures to be modified.
2013-06-12 20:57:38 -07:00
Kevin Sawicki
9cdc6122b3 Add mdown to readme extensions array 2013-06-12 20:56:52 -07:00
Kevin Sawicki
3374074940 Use path instead of Path 2013-06-12 20:55:27 -07:00
Kevin Sawicki
4f65cb099a Remove unused fsUtils.split() 2013-06-12 20:44:15 -07:00
Kevin Sawicki
0e52a3bcee Remove fsUtils.makeDirectory()
fsUtils.makeTree() was sufficient for all current uses.
2013-06-12 20:39:40 -07:00
Kevin Sawicki
ed3a4a33e2 Rename .write() to writeSync() 2013-06-12 20:38:26 -07:00
Kevin Sawicki
3e0658fe30 Use mkdirp from fsUtils.makeTree() 2013-06-12 20:31:38 -07:00
Kevin Sawicki
f35724daa9 Revert incorrect rename to isDirectorySync() 2013-06-12 20:29:14 -07:00
Kevin Sawicki
58fd786fda Rename readPlist() to readPlistSync() 2013-06-12 18:32:36 -07:00
Kevin Sawicki
bf41c77d80 Use fsUtils.readObject to load snippets file 2013-06-12 18:30:43 -07:00
Kevin Sawicki
d8de321074 Rename readObject() to readObjectSync() 2013-06-12 18:28:25 -07:00
Kevin Sawicki
d77705a039 Rename listTree() to listTreeSync() 2013-06-12 18:26:44 -07:00
Kevin Sawicki
27d9da15dc Rename list() to listSync() 2013-06-12 18:25:42 -07:00
Kevin Sawicki
a192842dc0 Rename isExecutable() to isExecutableSync() 2013-06-12 18:22:43 -07:00
Kevin Sawicki
400aa93bf3 Rename isFile() to isFileSync() 2013-06-12 18:21:57 -07:00
Kevin Sawicki
86952ff85e Rename isDirectory() to isDirectorySync() 2013-06-12 18:16:31 -07:00
Kevin Sawicki
bab9bd7550 Rename path variables to prevent collisions 2013-06-12 17:59:37 -07:00
Kevin Sawicki
87e60bd0eb Update element path key to filePath instead of path 2013-06-12 17:51:07 -07:00
Kevin Sawicki
711d20ea14 Rename path variables to prevent collisions 2013-06-12 17:35:12 -07:00
Kevin Sawicki
a0a0036727 Add missing path require 2013-06-12 17:35:03 -07:00
Kevin Sawicki
15f6a33c4b Rename path variables to prevent collisions 2013-06-12 17:27:23 -07:00
Kevin Sawicki
10f92836e6 Rename path variables to prevent collisions 2013-06-12 17:19:16 -07:00
Kevin Sawicki
54558c863d Remove unused path 2013-06-12 17:10:19 -07:00
Kevin Sawicki
e25aece700 Use filePath instead of path as variable name 2013-06-12 17:04:37 -07:00
Kevin Sawicki
bfdad19911 Use repoPath as parameter name to loadStatuses() 2013-06-12 17:02:02 -07:00
Kevin Sawicki
d112089152 Use filePath variable instead of path 2013-06-12 16:57:47 -07:00