Commit Graph

744 Commits

Author SHA1 Message Date
Corey Johnson
c931f1fa8a Pane has an el variable and requires the html to be passed into the constructor. 2011-12-01 12:22:41 -05:00
Corey Johnson
170aae6ff9 Resources have a pane 2011-12-01 11:13:20 -05:00
Corey Johnson
20ebd53b5c Remember what urls we had open. 2011-11-29 16:57:18 -05:00
Corey Johnson
0e0796aadc Sample extension 2011-11-29 16:57:05 -05:00
Corey Johnson
f31cb275ca Closing the controller removes it from NSApp 2011-11-29 16:56:58 -05:00
Corey Johnson
40472537cc 💄 2011-11-29 16:56:34 -05:00
Corey Johnson
2349cf0ad0 called after @resource is set 2011-11-29 16:56:15 -05:00
Corey Johnson
221bfa7f92 Remove windowController calls the window:close event. 2011-11-29 16:56:01 -05:00
Corey Johnson
15edabefe3 Only shutdown running apps. 2011-11-29 16:55:36 -05:00
Corey Johnson
6ea1766945 Nearly pure JS storage. 2011-11-29 15:22:59 -05:00
Corey Johnson
1c985bd899 Give JS access to the project dir so we can automate that shit. 2011-11-29 15:22:14 -05:00
Corey Johnson
98c10e9736 Not using these yet. 2011-11-29 13:50:45 -05:00
Corey Johnson
55e0f72aa2 Window reloading is handled completely by objective-c now.
This should be a never-do-this-again thing. It's just so we can reload when the app crashes instead of having to use Xcode.
2011-11-29 13:50:24 -05:00
Corey Johnson
2de76e35f1 Moving the logic of window reloading to objective-c. 2011-11-29 13:50:24 -05:00
Chris Wanstrath
b9fc94ef6c update ace to cd271f1a8bd33712f90dc91d0105bc6674e8c6a4 2011-11-29 09:16:56 -08:00
Chris Wanstrath
7fff476a62 Merge remote-tracking branch 'origin/router'
Conflicts:
	src/atom/project.coffee
2011-11-28 20:09:41 -08:00
Chris Wanstrath
95ed3d6f79 fix for reusing an editor (open outside of project context) 2011-11-28 20:00:31 -08:00
Chris Wanstrath
b898a4dab5 strip trailing slash 2011-11-26 13:54:31 -08:00
Chris Wanstrath
ac0d2a9afd 💄 2011-11-26 04:27:00 -08:00
Chris Wanstrath
19eb3a017d don't call show() in EditorPane constructor 2011-11-26 04:27:00 -08:00
Chris Wanstrath
fc29e0cee6 cmd-shift-s: search the web - http://cl.ly/C6uk 2011-11-26 04:26:57 -08:00
Chris Wanstrath
5d9b98e7c6 update tabs extension to listen to project:resource:close. like a boss. 2011-11-26 03:30:37 -08:00
Chris Wanstrath
ed2a923ee3 fully functional project.close() 2011-11-26 03:30:21 -08:00
Chris Wanstrath
25041a49da window.close() calls resource.close()
this is similar to resource.open(). the return value
of resource.close() determines whether window should
stop or bubble it up to app.close()
2011-11-26 03:24:51 -08:00
Chris Wanstrath
9e92877da3 resources remove their panes in close() 2011-11-26 03:23:59 -08:00
Chris Wanstrath
c30a5ebaa5 activeResource() is a method. so is setActiveMethod() 2011-11-26 03:10:35 -08:00
Chris Wanstrath
db7f6cf4d3 browser:close, editor:closer, resource:close events 2011-11-26 02:35:01 -08:00
Chris Wanstrath
08f3a0b5c7 cmd-shift-t + cmd-ctrl-n = http://cl.ly/C75L 2011-11-26 02:13:39 -08:00
Chris Wanstrath
94a0d3475d use handlebars in find-in-project 2011-11-26 01:44:42 -08:00
Chris Wanstrath
7a60868d4c fix browser show() 2011-11-26 01:18:43 -08:00
Chris Wanstrath
074a887f5c vendor handlebars.js 2011-11-26 01:14:24 -08:00
Chris Wanstrath
abc5ecffd7 speed up the modal display. 2011-11-26 01:09:46 -08:00
Chris Wanstrath
aa10aa298c copy pasta fail 2011-11-26 01:06:29 -08:00
Chris Wanstrath
09a5ba0e0c browser adds itself to DOM in add, not show 2011-11-26 00:54:17 -08:00
Chris Wanstrath
ba8702fc75 vendor bootstrap css 2011-11-26 00:54:17 -08:00
Chris Wanstrath
c0cf81f319 make cmd-shift-f way more awesome
https://img.skitch.com/20111126-b3n8w5kmjnn7bgec1rag8ca2ec.png

=>

https://img.skitch.com/20111126-etrbs62ii92iafcbp3th38wq9k.png
2011-11-26 00:54:13 -08:00
Chris Wanstrath
bbc4779f4d fuuuu our require() sux 2011-11-25 23:57:17 -08:00
Chris Wanstrath
90d069b3f1 update underscore to 1.2.2 2011-11-25 23:52:15 -08:00
Chris Wanstrath
8da3bf3790 💄 2011-11-25 23:35:13 -08:00
Chris Wanstrath
025406627d cmd-alt-t clears the filefinder cache (just like textmate.el) 2011-11-25 23:34:47 -08:00
Chris Wanstrath
095353e168 filefinder "cached" setting
(i have this set to `true` in ~/.atom/settings.coffee)
2011-11-25 23:29:48 -08:00
Chris Wanstrath
eaa496df34 it's a miracle. it works. 2011-11-25 23:27:27 -08:00
Chris Wanstrath
4adf3b31d4 whitespace 💄 2011-11-25 23:25:56 -08:00
Chris Wanstrath
1b8a5d9ea3 autoload extension settings ;) 2011-11-25 23:25:05 -08:00
Chris Wanstrath
608d1dce36 argh!
https://github.com/ajaxorg/ace/issues/534
2011-11-25 23:06:59 -08:00
Chris Wanstrath
0d5d3d865f update ace
Loading is now visibly more janky, but I think
d3ba5b8111
fixes a lot of our problems.

I tested this on split-panes-2.0 and a major bug (no input
after resizing) is now gone. Poof.
2011-11-25 22:58:50 -08:00
Chris Wanstrath
76ea5d9ead cmd-shift-r opens compiled coffee in a new buffer
https://img.skitch.com/20111126-tu71h2aaqpdk59n1muhqk8k3qs.png
2011-11-25 22:50:50 -08:00
Chris Wanstrath
6ef3f61ec9 separate editor's open() and show() fns further
open() should mostly be "can i open this url?" logic

show() should mostly be "i'm displaying this" logic
2011-11-25 22:49:24 -08:00
Chris Wanstrath
8455c780c4 ~/.atomicity => ~/.atom f'real 2011-11-25 22:21:36 -08:00
Chris Wanstrath
3e2f867e87 super basic "ack in project" (cmd-shift-f)
the UI could use some improvements
2011-11-25 22:17:57 -08:00