Nathan Sobo
0024cf89de
Auto-complete matches can be fuzzy-filtered. Typing non-word characters confirms the match automatically.
...
Extract fuzzyFilter function into a file that is shared between file finder and autocompleter. Fix jQuery.fn.preempt to pass its arguments to the event handler.
2012-04-19 18:17:08 -06:00
Corey Johnson & Nathan Sobo
6037d83f2b
$.fn.preempt takes namespaced event names
2012-04-18 15:53:42 -07:00
Corey Johnson & Nathan Sobo
6a260a8359
Add $.fn.preempt, which runs the given event handler before any others.
2012-04-18 12:13:05 -07:00
Corey Johnson
1efb712fd3
Rename App.coffee to Atom.coffee. This also required moving src/atom,spec/atom to src/app,spec/app
2012-04-03 10:33:24 -07:00
Nathan Sobo
285c04ea62
WIP: Split panes can be closed with meta-w
...
Still some issues… view gets screwed up after closing panes in certain layout arrangements.
2012-03-20 12:29:47 -06:00
Nathan Sobo
81e5a10ddd
Perform vim-style editor pane splitting
...
Using percentage dimensions to absolutely position the panes on screen where they need to be located. Flexbox would have been nice, but unfortunately I could not work around what seem to be bugs (or at least major inconveniences) in its current implementation.
2012-03-19 16:48:13 -06:00
Nathan Sobo
60056e57fb
Use an editor in the file finder instead of an input element.
2012-03-15 13:41:37 -06:00
Nathan Sobo
4c79b43c52
Add _.remove, which removes an element from an array in place
2012-03-13 18:17:27 -06:00
Corey Johnson & Nathan Sobo
18c8c7e14f
Add benchmark suite, which runs with ctrl-alt-meta-b
2012-03-07 18:21:17 -07:00
Nathan Sobo
fc7a13ce05
Rename Buffer.getLine to lineForRow
2012-03-05 16:06:27 -07:00
Corey Johnson & Nathan Sobo
78161f3341
Added jquery extension file
2012-03-02 15:41:37 -08:00
Corey Johnson & Nathan Sobo
d334a26ddc
All of the methods from Native are now implemented in native_handler
2012-03-01 16:10:47 -08:00
Corey Johnson
8f5ffe2e65
jscocoa is no longer a thing
2012-03-01 16:09:37 -08:00
Corey Johnson
e874512284
Move atom.native to $native
2012-03-01 15:44:36 -08:00
Corey Johnson
15acd071ca
Add keycap (and bound meta-o) to App
2012-03-01 12:11:45 -08:00
Corey Johnson & Nathan Sobo
7e6132f5b7
Redo Xcode project FROM SCRATCH
2012-02-29 15:23:17 -08:00
Corey Johnson & Nathan Sobo
ffeaf7ed17
Remove menu code and tests
2012-02-29 13:47:48 -08:00
Corey Johnson & Nathan Sobo
b37b45b4b1
atom variable holds all global state and is shared across contexts.
2012-02-28 13:14:35 -08:00
Corey Johnson
0845fc15c8
Ignore menu items for now.
2012-02-27 13:57:52 -08:00
Corey Johnson
71cab248cf
rename listFiles to list
2012-02-27 13:42:54 -08:00
Corey Johnson
25133fc8d9
Handle copy/paste using $native
2012-02-27 13:08:40 -08:00
Corey Johnson
8cbf4331e4
Remove references to OSX from fs.coffee and make fs specs pass.
2012-02-27 11:38:25 -08:00
Corey Johnson
3ea7f4d4d3
Remove all menu item code for now.
2012-02-22 16:08:42 -08:00
Corey Johnson
a540bbc6a9
Make more native methods
2012-02-22 16:08:30 -08:00
Corey Johnson
b99c4deb49
Fix path to specs. Now spec-suite runs.
2012-02-22 15:08:19 -08:00
Corey Johnson
0ec5c9a4fa
Add fs.listDirectoryTree
2012-02-22 12:00:41 -08:00
Corey Johnson
d666e73cfa
Add list to $native
2012-02-21 15:39:35 -08:00
Corey Johnson
82dac0e554
Building Atom with Chrome
2012-02-21 14:36:59 -08:00
Nathan Sobo
bb640dd342
Use $$ -> to render ad-hoc document fragments
...
Also eliminate stdlib/template directory which held code related to
SpacePen's precursor framework.
2012-02-06 16:19:43 -07:00
Nathan Sobo
64a97b9427
Use SpacePen for all views
...
SpacePen is better because its objects inherit directly from the jQuery
prototype, meaning you can create them with `new`.
2012-02-06 12:12:45 -07:00
Corey Johnson
7dba7dc3de
meta-c copies text in selection
2012-01-30 17:46:03 -08:00
Corey Johnson
99cbb5e0a2
Cache compiled CoffeeScript on the Objective-C side.
...
This is a temporary fix, it just stores compiled scripts in memory. It
doesn't speed up the app start since the scripts need to be compiled
once. Here are some numbers.
#file load
pre: 1.5 seconds
post: 0.25 seconds
#spec load
pre: 5.4 seconds
post: 0.36 seconds
2012-01-30 16:19:28 -08:00
Danny Greg & Nathan Sobo
62d8aa72e2
Merge branch 'master' into editor
2012-01-19 18:54:34 -08:00
Danny Greg & Nathan Sobo
0e9bfe4d1a
Builder has class methods for every tag
...
Shorthand: If you know the top-level tag you want to render, you can
call `Builder.div class: "foo", -> ...` instead of calling render.
2012-01-19 18:54:09 -08:00
Danny Greg & Nathan Sobo
aec88e3404
Add Builder.render and instance methods for tags
...
Builder.render takes a function that calls tag methods and returns a
view fragment.
2012-01-19 18:30:32 -08:00
Danny Greg & Nathan Sobo
81c2faf529
Merge branch 'master' into editor
2012-01-19 16:49:48 -08:00
Danny Greg & Nathan Sobo
fe582d7cd7
Proxy raw from template to builder.
2012-01-19 16:49:42 -08:00
Danny Greg & Nathan Sobo
7d0c5ff2f0
Merge branch 'master' into editor
2012-01-19 16:47:12 -08:00
Danny Greg & Nathan Sobo
5e41f82985
Add a raw call to builder.
2012-01-19 16:46:32 -08:00
Danny Greg & Nathan Sobo
597e4c54b2
Merge branch 'master' into editor
2012-01-19 16:37:58 -08:00
Danny Greg & Nathan Sobo
660beb9f65
Text inside of tags is HTML escaped.
2012-01-19 16:36:32 -08:00
Nathan Sobo
4274ff4a81
Merge branch 'master' into editor
2012-01-16 21:28:31 -08:00
Nathan Sobo
ba2ed50e87
Also trigger 'attach' on subviews when parent view is attached.
2012-01-16 21:28:18 -08:00
Nathan Sobo
a051e452ea
Merge branch 'master' into editor
2012-01-16 21:17:51 -08:00
Nathan Sobo
5dbdd92e6c
When views are attached to dom, trigger 'attach' events
...
Added this mechanism by augmenting jQuery dom mutation methods. It will
only trigger an event if the element has a truthy value for the
'triggerAttach' data entry. This will allow us to execute actions that
require the view to be physically on the dom at the appropriate time.
2012-01-16 21:15:57 -08:00
Nathan Sobo
07a51fb310
Displaying lines and a basic cursor
2012-01-16 17:17:36 -08:00
Corey Johnson & Nathan Sobo
278ac6a9f2
Remove bindKey from views. Make FileFinder use atom.bindKeys
2012-01-11 13:16:11 -08:00
Corey Johnson & Nathan Sobo
e58f699681
Remove KeyBinder and CommandMap.
2012-01-11 13:16:11 -08:00
Corey Johnson & Nathan Sobo
11866b90fe
Rename KeyEventHandler to GlobalKeymap
2012-01-11 13:16:10 -08:00
Corey Johnson & Nathan Sobo
5293ba7469
Add fs.join
2012-01-05 12:01:55 -08:00