Kevin Sawicki
f386d5cc4b
Call fs.list() without prior call to fs.exists()
...
fs.list() returns an empty array if calle for a
non-existent or non-directory path.
2013-01-18 11:19:54 -08:00
Kevin Sawicki
43d0c8a2a1
Perform extension test once
...
This does not need to be computed on each path since
file isn't changing between paths visited
2013-01-18 09:14:17 -08:00
Kevin Sawicki
a7f03f4aeb
Use __moduleExists from require
2013-01-18 09:08:34 -08:00
Kevin Sawicki
f29c3a0836
Check if module path is already loaded before doing fs operations
...
resolve now checks the existence of a module already loaded at the
given path before checking if the file exists on disk.
This removes the need for many redundant fs.exists and fs.isFile
calls for already loaded modules.
This speeds up package loading since most packages have a common
set of requires that were doing needless fs operations for each
searched path when the module was already in the cache at that
path.
2013-01-18 08:54:59 -08:00
Kevin Sawicki
9067f1fbb9
Return what function returns from measure
2013-01-17 23:01:53 -08:00
Jon Rohan
20e5b303a7
refactoring all the stylesheets into /Atom - Dark/
...
Conflicts:
.atom/themes/Atom - Dark/vim-mode.css
2013-01-17 22:11:45 -08:00
Derek Greentree
b594244007
remove 'returns'; ensure value passed to setText is a string
2013-01-17 17:26:07 -08:00
Kevin Sawicki
62f1155706
Don't prompt to save on close if buffer is opened elsewhere
...
Only prompt to save when the buffer is dirty and the last
open session on it is being destroyed.
2013-01-17 17:25:52 -08:00
Kevin Sawicki
7c9ac5a4ac
Defer building parser until eval'ing
2013-01-17 16:50:25 -08:00
Kevin Sawicki
f21e264189
Inline require of d3
...
It is almost 8,000 lines and does not need to
be loaded until the heatmap displays.
2013-01-17 16:50:25 -08:00
Corey Johnson & Kevin Sawicki
9ff0776fbf
Store built parser as class variable
2013-01-17 16:50:25 -08:00
Kevin Sawicki
7f8a64b69c
Show window only after root view is attached
...
This prevents a white flicker when the page
starts to load.
2013-01-17 16:50:25 -08:00
Brian Lopez & Nathan Sobo
23e917147d
Make view deserialization work with arbitrary view classes
2013-01-17 16:32:28 -08:00
Brian Lopez & Nathan Sobo
b82e9df5f5
Fix crash when deserializing a pane without a wrapped view
2013-01-17 16:30:09 -08:00
Derek Greentree
acaf3d9fd3
remove debugging
2013-01-17 15:46:58 -08:00
Derek Greentree
7efe5888db
whitespace
2013-01-17 15:41:48 -08:00
Derek Greentree
b229dd21f4
fuzzy find files using content under cursor
2013-01-17 15:36:22 -08:00
Pat Nakajima
fef9aae2f3
No need for the min-width on tree-view anymore
2013-01-17 15:02:56 -08:00
Pat Nakajima
fbd65ecbb1
Remove unnecessary CSS rules
2013-01-17 14:59:40 -08:00
Pat Nakajima
2e94c130ed
Remove use of CSS selectors (use outlets instead)
2013-01-17 14:57:43 -08:00
Pat Nakajima
b241cf9fd4
Prevent selection highlight styles on tabs
2013-01-17 13:24:46 -08:00
Pat Nakajima
b36228c3ac
No need for left padding, since the sidebar is resizable
2013-01-17 13:09:18 -08:00
Pat Nakajima
cb8d18d83c
Increase size of resize handle to 10px
2013-01-17 12:56:34 -08:00
Pat Nakajima
c7d12cb6b5
Allow tree view sidebar to be resized.
2013-01-17 12:48:29 -08:00
Derek Greentree
3fc722b885
save -> Save
2013-01-17 12:01:10 -08:00
Kevin Sawicki
78d855e05e
Add .tiff to image extensions
2013-01-16 09:11:40 -08:00
Kevin Sawicki
60481c58d3
Update selected entry when moving to top/bottom
2013-01-16 09:09:46 -08:00
Kevin Sawicki
f9db8c5263
Remove unused require
2013-01-15 08:48:57 -08:00
Kevin Sawicki
f04ccdaf0e
💄
2013-01-15 08:48:10 -08:00
Kevin Sawicki
6b0f7bca44
Rename variable to pattern to shadow config key path
2013-01-15 08:38:58 -08:00
Kevin Sawicki
8c6a157ce3
Remove unused variable
2013-01-15 08:36:39 -08:00
Kevin Sawicki
e7af5be916
Remove unused require
2013-01-15 08:30:08 -08:00
Kevin Sawicki
28d4c3749f
Use octicon for command panel prompt
2013-01-14 09:32:04 -08:00
Kevin Sawicki
0c42ab71d7
Load all keymaps found in ~/.atom/keymaps
2013-01-13 14:56:25 -08:00
Kevin Sawicki
fc8fb73176
Use RootView.eachEditor from Autocomplete package
2013-01-12 18:03:16 -08:00
Kevin Sawicki
01233e2990
Use RootView.eachEditor in Tabs package
2013-01-12 15:54:10 -08:00
Kevin Sawicki
026bacabdb
Use RootView.eachEditor from StatusBar package
2013-01-11 16:56:51 -08:00
Kevin Sawicki
d47e59bc11
💄
2013-01-11 16:49:04 -08:00
Kevin Sawicki
b5a0b76707
Use RootView.eachEditor from WrapGuide package
2013-01-11 16:46:57 -08:00
Kevin Sawicki
8a9f7200d2
Tweak period location in error messages
2013-01-11 15:53:35 -08:00
Kevin Sawicki
65df35c351
Don't show the move dialog when the project is selected
2013-01-11 14:07:49 -08:00
Kevin Sawicki
c442416c9f
Use view class of entry instead of native call
2013-01-11 13:41:21 -08:00
Kevin Sawicki
2cc09988fb
Tweak border for TreeView dialogs
2013-01-11 13:40:15 -08:00
Kevin Sawicki
0e982d35b6
Tweak message when prompting for a directory
2013-01-11 13:40:15 -08:00
Kevin Sawicki
497bc258a8
Select the base name when it is equal to the extension
2013-01-11 13:40:15 -08:00
Kevin Sawicki
cd365bc6c5
Add octicons to TreeView add/move dialog
2013-01-11 13:40:15 -08:00
Kevin Sawicki
d3ef4fae00
Add to root if no entry is selected
2013-01-11 11:49:47 -08:00
Kevin Sawicki
0123bc7b91
Remove unneeded package name
2013-01-11 11:31:26 -08:00
Kevin Sawicki
93fc1b6c4d
Remove unneeded attachToDom() call in spec
2013-01-11 10:51:01 -08:00
Kevin Sawicki
eaa164e109
Use subscribe for window focus event handler
2013-01-11 10:37:33 -08:00