Commit Graph

770 Commits

Author SHA1 Message Date
Corey Johnson
2a01ef757b The method call was still bugging because it is only called once and is one line long. How about we make it a local var? 2011-12-15 09:19:02 -08:00
Corey Johnson
95425a2eb3 This commit should print stuff in campfire.
This reverts commit d8fd5bd712.
2011-12-14 18:38:37 -08:00
Corey Johnson
edbcafc7dd Testing campfire hooks #hbo :octocat: 2011-12-14 18:37:33 -08:00
Corey Johnson
d8fd5bd712 This file is no longer needed. 2011-12-14 18:35:16 -08:00
Corey Johnson
9e55a00a56 Closes all non-spec windows opened by the app. 2011-12-14 18:30:17 -08:00
Corey Johnson
4a2081e88d Capture window.close calls (from JS) in AtomController 2011-12-14 18:28:06 -08:00
Corey Johnson
fbb3efacf4 wii - gettings specs on App.open. Window closing not working quite right. 2011-12-14 16:24:30 -08:00
Corey Johnson
507341e714 Use correct method names. 2011-12-14 11:47:09 -08:00
Corey Johnson
85fd1bd624 Move scripts to head tag. 2011-12-14 11:34:23 -08:00
Corey Johnson
725ca308c3 Rename Startup to Bootstrap. 2011-12-14 11:29:11 -08:00
Corey Johnson
6ce5d32d83 Render the initial window layout programmatically with a template.
Remove layout html from the bootstrap page. Now the same page can be used for specs and the editor windows.
2011-12-14 11:26:14 -08:00
Corey Johnson
89c00ec8a6 Teardown and recreate WebView (not the entire controller) on reload. 2011-12-14 10:46:57 -08:00
Corey Johnson
fc81baa372 We only need to compile require. Everything else can be compiled on the fly. 2011-12-14 10:26:50 -08:00
Corey Johnson
3d22a691f6 Doesn't crash on empty key bindings. 2011-12-14 09:46:27 -08:00
Corey Johnson & Nathan Sobo
607149a07d Half-baked template experiment 2011-12-12 16:24:55 -08:00
Corey Johnson & Nathan Sobo
0dd6df1ab6 Empty test suite runs when you hit ctr-alt-cmd-s 2011-12-12 15:05:59 -08:00
Corey Johnson & Nathan Sobo
ee681562d0 Make controllers array a property. 2011-12-12 15:05:29 -08:00
Corey Johnson & Nathan Sobo
dcf474b9d2 Put window.onerror method in the window file. 2011-12-12 15:05:07 -08:00
Corey Johnson & Nathan Sobo
212c10cd79 Add DS_Store to .gitignore 2011-12-12 13:05:37 -08:00
Corey Johnson & Nathan Sobo
5daabb3241 Add facility for running specs… still don't have any yet.
Use property accessors instead of raw ivars.
2011-12-12 13:04:46 -08:00
Corey Johnson
0d61a0f14f Resizes panes. All panes resize for now, whatevs! 2011-12-05 14:28:29 -05:00
Corey Johnson
432f078f81 New jQuery style 2011-12-05 14:27:36 -05:00
Corey Johnson
1bd966d956 :lipstick" 2011-12-05 14:27:19 -05:00
Corey Johnson
60f062acd3 Remember to close the window, Corey. 2011-12-01 12:55:39 -05:00
Corey Johnson
d78814ef1d Panes can be removed! 2011-12-01 12:55:23 -05:00
Corey Johnson
e1d4f5c985 New jQuery. 2011-12-01 12:49:27 -05:00
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