Commit Graph

320 Commits

Author SHA1 Message Date
Corey Johnson
2ea875e700 require cleanup 2011-09-21 17:38:52 -07:00
Corey Johnson
620538a6b5 Plugin does a lot of things we thought Pane would. 2011-09-21 17:38:14 -07:00
Corey Johnson
012fc4826d Editor is starting to act more like a plugin.
Eventually it will be a plugin.
2011-09-21 17:37:39 -07:00
Corey Johnson
24073baa44 catch and report plugin errors 2011-09-21 17:37:03 -07:00
Corey Johnson
47b8d0dc02 making plugins unique to windows and 'classy'.
This checkin breaks everything BTW.
2011-09-21 14:26:44 -07:00
Corey Johnson
5270f97dcd Plugins love this guy 2011-09-21 14:24:52 -07:00
Corey Johnson
4cb47ab96f window loads plugins. prepping for plugin refactor 2011-09-20 16:54:50 -07:00
Corey Johnson
5abe161f7d Window is no longer a Pane 2011-09-20 15:26:17 -07:00
Corey Johnson
664fa5b06f bindkey takes a scope, keycap is a method 2011-09-20 15:25:36 -07:00
Corey Johnson
9eee6ad9ad Some app errors 2011-09-20 13:44:42 -07:00
Corey Johnson
1d562dce58 dumb error 2011-09-20 13:44:13 -07:00
Corey Johnson
e60fa30daa Made App a fake singleton. It only has class methods and variables. 2011-09-20 11:06:34 -07:00
Corey Johnson
c22587ab66 Moving UI stuff to Chrome.
I don't like the name Chrome, looking to rename it.
2011-09-20 11:05:19 -07:00
Corey Johnson
35ce4b3bf8 Added some warnings to require. 2011-09-20 11:02:11 -07:00
Corey Johnson
2b8a8a14c5 Updated class layout. 2011-09-19 11:26:46 -07:00
Corey Johnson
45b1f0ef64 pane storage is super simple now. 2011-09-19 11:12:18 -07:00
Corey Johnson
64dafdfad9 A simple storage scheme. 2011-09-16 16:01:13 -07:00
Corey Johnson
39080d0132 not ready yet 2011-09-16 15:35:59 -07:00
Corey Johnson
6cb88dc7e4 i want to reload vendor too 2011-09-16 14:58:18 -07:00
Corey Johnson
a1c2e80d12 findAll fix.
#ace
2011-09-16 14:58:05 -07:00
Corey Johnson
cc3abee58a mergin 2011-09-16 09:31:46 -07:00
Corey Johnson
7347f4c8a4 persistence, but it's too magic 2011-09-15 16:53:18 -07:00
Corey Johnson
8011e2fc7c open project first
HACK: need to make this flow cleaner
2011-09-15 16:52:23 -07:00
Corey Johnson
5a6e12234f keep these on one line? What should the rule be? 2011-09-15 16:47:55 -07:00
Corey Johnson
ac9d92de53 don't remove dirs corey 2011-09-15 16:47:55 -07:00
Corey Johnson
26901718dd keep these on one line? What should the rule be? 2011-09-15 08:57:57 -07:00
Chris Wanstrath
b55cd6e559 Command-T: File Finder™ 2011-09-15 00:42:02 -07:00
Chris Wanstrath
a001be87e4 activeWindow.project and project.paths array 2011-09-15 00:35:46 -07:00
Chris Wanstrath
34b85b1654 kill unused menu items 2011-09-15 00:15:45 -07:00
Chris Wanstrath
d50b9722a0 commas, lolz 2011-09-15 00:14:58 -07:00
Corey Johnson
d299a64db2 don't remove dirs corey 2011-09-14 13:14:38 -07:00
Corey Johnson
486716f48c cleaning shit up 2011-09-14 12:13:45 -07:00
Corey Johnson
34cdcdce4a on launch, reopen files. 2011-09-14 11:45:34 -07:00
Corey Johnson
0dfd813e21 get takes a default value 2011-09-14 11:42:07 -07:00
Corey Johnson
7765fd06a8 Added exists 2011-09-14 11:41:04 -07:00
Corey Johnson
5f44dad5c2 When everything is done, send a loaded message.
Or maybe plugins should have a `appDidLoad` method
or something.
2011-09-14 11:40:49 -07:00
Corey Johnson
ef3fc1d278 Tab tells editor to close file. Tab is then
notified about closer.

This is in prep for reopening files on app 
relaunch.
2011-09-13 16:44:30 -07:00
Corey Johnson
f599058a56 store project drawer state. this code makes me
shudder and will need a massage.
2011-09-13 15:54:46 -07:00
Corey Johnson
3843285eba opening file/dir works again.
but I don't like it. I feel like opening a file or
directory should create a new window, unless the 
file or directory you are opening is contained in
the current projects dir.
2011-09-13 11:11:07 -07:00
Corey Johnson
4f55f4d4a0 Added toggle to Pane. Makes more sense there.
Also made pane be more jquery'y
2011-09-12 17:50:17 -07:00
Corey Johnson
5ae4975e98 don't think we need this code anymore
A window's cad should be constant.
2011-09-12 13:39:50 -07:00
Corey Johnson
e5efaffdb4 On boot, open up the most recently opened file/dir 2011-09-12 12:25:25 -07:00
Corey Johnson
a65d081855 Store the last opened path.
Just throwing stuff into localStorage seems 
sloppy. Maybe we just need some guidelines to
follow.
2011-09-12 12:24:50 -07:00
Corey Johnson
33048bc971 Move the index file to the root of the resources
dir.

This will stop the DOM errors for localStorage!
2011-09-12 12:18:23 -07:00
Chris Wanstrath
0b66c5483b open and save files as utf-8. fixes #23 2011-09-11 02:41:19 -07:00
Chris Wanstrath
9cbc801eeb weird, why isn't for a keyword? 2011-09-10 22:18:47 -07:00
Chris Wanstrath
37c6e4f64e since we're being opionated 2011-09-10 00:09:50 -07:00
Chris Wanstrath
2f2ab2697f rely even less on cwd 2011-09-09 23:49:56 -07:00
Chris Wanstrath
25219b8516 fix for different projects being open in different windows 2011-09-09 23:46:41 -07:00
Chris Wanstrath
918fbe5db9 de-parens 2011-09-09 23:42:09 -07:00