Commit Graph

435 Commits

Author SHA1 Message Date
Corey Johnson & Nathan Sobo
a07daf26ca Add Buffer.save 2011-12-15 15:59:32 -08:00
Corey Johnson & Nathan Sobo
5fbb320957 Buffer is empty when created with no url. 2011-12-15 15:16:44 -08:00
Corey Johnson & Nathan Sobo
0438ecad0b 💄 2011-12-15 15:15:30 -08:00
Corey Johnson & Nathan Sobo
73477c29c5 Get rid of useless code. 2011-12-15 15:07:47 -08:00
Corey Johnson & Nathan Sobo
c16c25b69b ace Editor uses Document held by Buffer. 2011-12-15 15:06:34 -08:00
Corey Johnson & Nathan Sobo
c2c17f846e Remove unused event methods. 2011-12-15 15:04:07 -08:00
Corey Johnson & Nathan Sobo
27dd97069a Attach and populate the ace editor with buffer text when an editor is created. 2011-12-15 14:13:34 -08:00
Corey Johnson & Nathan Sobo
ef774cb529 Coffeescript compile errors show file name. 2011-12-15 14:10:06 -08:00
Corey Johnson & Nathan Sobo
cf02d1183a App.open opens a new window with an editor pointing at the given url. 2011-12-15 10:45:15 -08:00
Corey Johnson & Nathan Sobo
3aa46dbb6c Ensures line numbers match up with required javascript. 2011-12-15 10:38:27 -08:00
Corey Johnson & Nathan Sobo
3309549dc5 💄 2011-12-15 10:01:11 -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
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
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
dcf474b9d2 Put window.onerror method in the window file. 2011-12-12 15:05:07 -08:00
Corey Johnson
0d61a0f14f Resizes panes. All panes resize for now, whatevs! 2011-12-05 14:28:29 -05:00
Corey Johnson
d78814ef1d Panes can be removed! 2011-12-01 12:55:23 -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
2349cf0ad0 called after @resource is set 2011-11-29 16:56:15 -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
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
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
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
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
7a60868d4c fix browser show() 2011-11-26 01:18:43 -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
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
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
d50a29ffa9 ChildProcess.exec (with passing tests) 2011-11-25 21:49:31 -08:00
Chris Wanstrath
0c88c38101 💄 2011-11-25 21:09:09 -08:00
Chris Wanstrath
61adbc3632 typo in setting name 2011-11-25 21:01:05 -08:00
Chris Wanstrath
15005657bf 💄 2011-11-25 19:20:10 -08:00