Commit Graph

21924 Commits

Author SHA1 Message Date
Corey Johnson & Nathan Sobo
1d46b63977 Use explicit shas (not HEAD) for textmate bundles 2012-10-17 14:28:19 -07:00
Corey Johnson & Nathan Sobo
4987ea3e49 If a TextMate syntax/preference fails to parse, catch error and log warning 2012-10-17 13:53:55 -07:00
Corey Johnson & Nathan Sobo
798cec3ebe If bundle in ~/.atom exists, fetch new code and reset to specified sha. 2012-10-16 17:23:29 -07:00
Corey Johnson & Nathan Sobo
9f71b3057c Simplify ScreenLine.translateColumn 2012-10-16 17:08:10 -07:00
Corey Johnson & Nathan Sobo
7d77d95bf8 update javascript bundle sha 2012-10-16 16:09:37 -07:00
Corey Johnson & Nathan Sobo
253a07e2c4 Add comment explaining the need for appending \n when scanning lines with a TextMate grammar 2012-10-16 16:07:54 -07:00
Corey Johnson
6171ea33e1 Add support for TextMate grammars with newlines in their regexes 2012-10-16 15:58:11 -07:00
Corey Johnson
0dfc57a98f add new build-bot private key 2012-10-16 09:44:31 -07:00
Corey Johnson
8a65017ce1 rake install creates atom-stable binary
This allows us to use Atom to edit Atom, even when changes will break Atom on reload. It does this by ensuring the editor only uses code included with the bundle, but it allows benchmarks and specs to use code located in the path specified by --resource-path.
2012-10-16 09:05:38 -07:00
Corey Johnson
e5a732c6ff rake creatfile is dependant on bootstrap task 2012-10-16 08:56:33 -07:00
Corey Johnson
a736063e7e Force CEF to reload if window.reload doesn't exist 2012-10-15 12:06:36 -07:00
Corey Johnson
6ea19bc765 When building, only compile coffeescript if needed.
Also doesn't copy coffeescript files to bundle.
2012-10-15 11:49:19 -07:00
Corey Johnson
fbe9a8b671 Fail Xcode build if any coffeescript file fails to compile 2012-10-15 09:01:26 -07:00
Corey Johnson
de03cc82ed fs.traversePath(path) works if path is a symlink 2012-10-12 15:44:01 -07:00
Corey Johnson
c43c82fbcb 💄 2012-10-12 15:44:00 -07:00
Corey Johnson
5b92de76fc 💄 2012-10-12 15:44:00 -07:00
Corey Johnson
734fa5f03e Remove unneeded method 2012-10-12 15:44:00 -07:00
Kevin Sawicki
6551be0c85 Update the buffer being used when the editor path changes
Previously the status indicator would only work for the first
buffer open since only the buffer used when the extension was
initialized was subscribed to for change events.
2012-10-12 15:39:52 -07:00
Kevin Sawicki
0da869589e Use change event instead of buffer-change event
This will update the modified indicator after operations
are undone
2012-10-12 15:08:01 -07:00
Kevin Sawicki
19aa192c47 Return paths instead of deferred from project.getFilePaths
It was already being performed synchronously
2012-10-12 14:45:18 -07:00
Kevin Sawicki
38802ba287 Use javscript.tmbundle commit 2f95d9ae92
The commit after this one breaks syntax highlighting
for the lines after a single line comment
2012-10-12 11:34:44 -07:00
Corey Johnson
59a98bdaf8 Merge branch 'gyp-via-brew' 2012-10-12 10:09:17 -07:00
Kevin Sawicki
b0a4578e5e Remove duplicate atom-build line 2012-10-12 09:48:18 -07:00
Corey Johnson
5f2f732a6e .gitignore file no longer needed 2012-10-12 09:36:37 -07:00
Corey Johnson
49d270d4ec Taking the the gyp formula out of the formula directory
I'm a shallow directory fan, when we have more than one formula I'd be done with adding it back.
2012-10-12 09:25:51 -07:00
Kevin Sawicki
5bf951d96f Create ScrollView super class
Binds support for page up, page down, move to top,
and move to bottom in the initialize method.
2012-10-12 09:21:35 -07:00
Kevin Sawicki
220044c8bd Add eachBuffer helper to RootView
This allows extensions to bind a callback to all current
and future buffers.
2012-10-12 09:16:53 -07:00
Kevin Sawicki
9f6366f6c6 Store window size and position to user defaults system
Closes #66
2012-10-11 21:25:25 -07:00
Justin Palmer
4b5a130167 Add Hide Atom/Others menu item
fixes #54
2012-10-11 17:55:27 -07:00
Kevin Sawicki
cee38a5f42 💄 2012-10-11 17:39:06 -07:00
Kevin Sawicki
033a037ea5 💄 2012-10-11 15:05:02 -07:00
Corey Johnson
ed75e259a8 copy bundles directory from .atom to ~/.atom 2012-10-11 14:23:41 -07:00
Kevin Sawicki
ae7c5b0fda Support core up/down events in markdown preview view 2012-10-11 14:13:58 -07:00
Kevin Sawicki
8c0f443c75 Call window.shutdown when native window is closed
The root view will now be serialized and saved to local
storage when the window is closed or the application is
terminated.
2012-10-11 13:07:13 -07:00
Kevin Sawicki
24777da703 Remove unneeded onEditor method 2012-10-10 19:16:57 -07:00
Kevin Sawicki
50b1814308 Change => to -> 2012-10-10 18:45:36 -07:00
Kevin Sawicki
e2c7bca3cc De-f describe 2012-10-10 18:43:56 -07:00
Kevin Sawicki
d4aeb1bb95 Move EditorCommand helpers elsewhere
RootView and Editor now have helpers that support
binding events to callbacks, binding a callback to
all current and future editors, and replacing the
selected text via a transforming callback.
2012-10-10 18:41:20 -07:00
Kevin Sawicki
1fa32c48e7 Invoke onEditor on each extension sub-class 2012-10-10 18:02:49 -07:00
Kevin Sawicki
e87cb34d1d Support selecting inserted text 2012-10-10 18:02:48 -07:00
Kevin Sawicki
ceb496e202 Use closure wrapper with current event name 2012-10-10 18:02:48 -07:00
Kevin Sawicki
863f9f36fb Rename editSelectedText to replaceSelectedText 2012-10-10 18:02:48 -07:00
Kevin Sawicki
d93a142263 Rename alterSelection to editSelectedText 2012-10-10 18:02:48 -07:00
Kevin Sawicki
2d8be51e71 Add initial editor command super class
This can be extended by extensions targetted
towards acting on text inside the editor and
not contributing any UI
2012-10-10 18:02:48 -07:00
Kevin Sawicki
b3ce062be9 Add up/down event support for keybindings view 2012-10-10 17:41:14 -07:00
Kevin Sawicki
1610b45bcb Clone c bundle during rake install 2012-10-10 17:29:31 -07:00
Corey Johnson
75d7950ef5 Fix linemap translation when an atomic token is at the end of a line.
Previously, if you entered an atomic token (like a tab) on an empty line it would not position the cursor after the token. This commit fixes that.

If the last screen line token is atomic, and screenLine.translateColumn's sourceColumn parameter is greater than the start position of the atomic token, then the translated column should be the end position of the atomic token.
2012-10-10 14:45:47 -07:00
Corey Johnson
8eb9d6629c Remove unused methods from token.
The refactoring of Editor.buildLineHtml removed the need for these methods
2012-10-10 14:45:46 -07:00
Kevin Sawicki
34ded7d4e9 Update ruby bundle commit to daad8ef03d 2012-10-10 14:09:31 -07:00
Kevin Sawicki
f694d1d2c8 Update ruby bundle to commit 77dc5d13cc 2012-10-10 13:48:46 -07:00