Corey Johnson & Kevin Sawicki
a6a05b6ff4
Remove directories from fuzzy-finder
2012-12-12 17:25:45 -08:00
Corey Johnson & Kevin Sawicki
404f637101
Populate fuzzy-finder asynchronously
2012-12-12 12:26:39 -08:00
Nathan Sobo
98ef054438
💄
2012-11-29 12:01:16 -07:00
Nathan Sobo
a6e928d85a
Use MessageChannel-based nextTick to schedule Editor display update
...
This is the fastest way I've found to get the nextTick behavior, which allows us to aggregate multiple requests for display update (from selection changes, cursor movement, line changes) etc into a single call at the end of processing an event.
2012-11-14 13:57:27 -07:00
Corey Johnson
837005176c
animation 💄
2012-11-01 15:56:23 -07:00
Corey Johnson
f7f64ea9f3
Only log require.resolve warning when verifyExistence is true
2012-10-29 11:54:13 -07:00
Corey Johnson
bdb0d2c709
Log a warning when require.resolve cannot find the file
2012-10-26 15:36:15 -07:00
Corey Johnson & Nathan Sobo
0aa9f8de57
Indent works with hard tabs
2012-10-26 11:15:55 -06:00
Corey Johnson
f07d15e5ac
Fix bug with fuzzy-filter searches using keys.
2012-10-25 11:11:10 -07:00
Corey Johnson
831d23d968
Fuzzy-filter scores basename matches higher.
...
Idea stolen from github/github https://github.com/github/github/blob/master/app/assets/javascripts/github/tree_finder.js
2012-10-24 15:38:18 -07:00
Corey Johnson
83a72b1d4a
:Revert "nobody uses this file"
...
This reverts commit 5e75edc9e8 .
2012-10-24 14:38:56 -07:00
Corey Johnson
5e75edc9e8
nobody uses this file
2012-10-24 14:36:42 -07:00
Kevin Sawicki
906f816fc6
💄
2012-10-23 21:43:43 -07:00
Kevin Sawicki
48bdc75359
Send remaining stdout/stderr output to callbacks
...
Previously this data was only sent to the done
handlers and so commands such as SelectAllMatchesInProject
were not displaying all the results when the result size
was large.
2012-10-23 21:27:17 -07:00
Corey Johnson & Nathan Sobo
84b2cabeb3
Calling .abortKeyBinding on an event that wasn't triggered by the keymap is ok
...
Certain events call `abortKeyBinding` to opt out of handling certain keybindings. Snippets does this with tab for example. If it's not a situation where it's appropriate to go to the next tab stop, we let the next binding be triggered, which could insert a tab, for example. But when we trigger events from the event palette, there *is* no next binding. Having a no-op function helps in this situation.
2012-10-19 12:42:27 -06:00
Corey Johnson & Nathan Sobo
191164ed4c
Add $.fn.command method which ensures event is documented
...
For now, we auto-generate the documentation string by humanizing the event name. In the future, we may provide the option to provide more documentation, such as info about any arguments to the event, extended documentation, etc.
2012-10-19 12:14:02 -06:00
Corey Johnson & Nathan Sobo
d420585b11
Display keybindings in EventPalette. Style a bit.
2012-10-19 12:02:00 -06:00
Corey Johnson & Nathan Sobo
de3bbce29f
Only show events w/ descriptions in EventPalette
...
Also, auto-generate human readable event name in editor. This is a good example of how we could do this automatically for some kind of `onCommand`, `command`, `onInteractiveEvent` method that combines the event name, documentation string, and handler in one shot.
2012-10-19 11:24:40 -06:00
Nathan Sobo
2b8c946a65
Merge branch 'master' into event-palette
...
Conflicts:
spec/extensions/fuzzy-finder-spec.coffee
src/extensions/fuzzy-finder/fuzzy-finder.coffee
2012-10-18 16:33:44 -06:00
Kevin Sawicki
a1f9e061bc
Remove native.list
...
Use native.traverseTree instead from fs.list
and fs.listTree
2012-10-09 17:41:33 -07:00
Kevin Sawicki
8b61e6a9df
Split out file and directory callbacks
2012-10-09 17:41:32 -07:00
Kevin Sawicki
51a41a9a72
Add native traverseTree
2012-10-09 17:41:32 -07:00
Kevin Sawicki
7ab088df8b
Check recurse flag before verifying path is directory
...
Avoid an unnecessary native call if recursing into the current
path has already been avoided.
2012-10-08 11:47:48 -07:00
Kevin Sawicki
f6c29a1d51
Add core:page-up and core:page-down support to tree view
2012-10-05 15:50:32 -07:00
Kevin Sawicki
4b20a26974
Add core:move-to-top and core:move-to-bottom support to tree view
2012-10-05 15:30:54 -07:00
Nathan Sobo
7b1fe94e47
Add $.fn.document, which associates event-listeners with descriptions
...
`$.fn.events` now returns an array of event-name/description pairs.
2012-10-04 10:26:05 -10:00
Nathan Sobo
96c9f0bc36
Add $.fn.events, which returns a list of all handled events
2012-10-04 10:26:05 -10:00
Corey Johnson
5d70f416fc
Remove unused regex test from require.js
2012-09-26 16:30:22 -07:00
Corey Johnson & Nathan Sobo
85c37fd652
Move atom.resourcePath to window.resourcePath
...
The resourcePath is now set using a url param. Because resourcePath is needed by require.js, it needs to be on `window` rather than `atom`.
2012-09-10 17:22:21 -07:00
Corey Johnson & Nathan Sobo
44db540528
All specs pass
2012-08-30 17:12:52 -06:00
Corey Johnson & Nathan Sobo
bd1982ede1
Nix fs.async.* methods. They aren't needed now.
2012-08-30 16:12:15 -06:00
Nathan Sobo
d5ffdb153a
Remove $native.saveDialog. It's replaced with atom.showSaveDialog
2012-08-30 11:08:55 -06:00
Nathan Sobo
63a0746cc5
Remove $native.alert
2012-08-29 20:53:04 -05:00
Corey Johnson & Nathan Sobo
5141aba658
Move all extension C and JavaScript code into native/v8_extensions
2012-08-27 14:02:05 -07:00
Nathan Sobo
cec5265f9a
Add native handler
2012-08-27 13:37:06 -05:00
Nathan Sobo
14891696a5
Update require.coffee from CEF 1 atom
2012-08-27 11:05:55 -05:00
Nathan Sobo
589b183b26
Define atom.resourcePath (replaces atom.loadPath) when context is created
2012-08-26 16:41:31 -05:00
Nathan Sobo
c3e748a17c
WIP: Use rake to start compiling resources (like require.coffee)
2012-08-26 16:29:46 -05:00
Nathan Sobo
c2c8724ad0
Initial commit
2012-08-10 13:32:19 -06:00
Kevin Sawicki
aefafdda4a
Add expected parameters to native function declarations
2012-08-22 15:36:53 -07:00
Kevin Sawicki
b3200a944f
Move native function declarations to js file
...
This allows multiple native handlers to load it
as an extension without duplicating all the expected
native function calls names internally.
2012-08-22 15:10:37 -07:00
Kevin Sawicki & Nathan Sobo
c87c0da35e
Don't explode when require.resolve doesn't find a file. Return null instead.
2012-08-22 13:43:46 -07:00
Corey Johnson & Nathan Sobo
ad4b3db439
Add OnigRegExp.test
2012-08-09 12:57:20 -06:00
Corey Johnson & Nathan Sobo
2a945838f5
Return absolute minimum capture data from OnigRegExp
2012-08-08 12:13:54 -07:00
Corey Johnson & Nathan Sobo
827b3e29d3
Implement OnigRegExp.getCaptureTree natively
2012-08-07 16:20:02 -07:00
Nathan Sobo
6878d19a6a
OnigRegExp.getCaptureTree does not include empty child captures
2012-08-06 18:27:39 -06:00
Nathan Sobo
a85345e392
Add OnigRegExp.getCaptureCount
2012-08-06 18:27:14 -06:00
Nathan Sobo
0d6d16a438
Move TextMateGrammar.buildCaptureTree to .getCaptureTree method on OnigRegExp
2012-08-06 11:43:44 -06:00
Corey Johnson & Nathan Sobo
1a243adfcf
All specs pass w/ TextMateGrammar for tokenization (auto-indent disabled)
2012-08-03 12:00:05 -06:00
Nathan Sobo
13c95aae31
Add 'themes' directory with the default TextMate themes
2012-08-01 14:07:18 -06:00