Commit Graph

74 Commits

Author SHA1 Message Date
Kevin Sawicki & Nathan Sobo
116c56c236 Serialize site across window loads
This prevents issues with the site counter resetting to 1 on each
load causing duplicate array and marker ids to be generated.

Closes #729
2013-08-20 18:29:19 -07:00
Kevin Sawicki
6e2fd18f62 Add back ability to open an arbitrary window
atom.open now takes an options has that can contain either pathsToOpen
or the complete settings of a new window.

This will be used by the collaboration package to open the window when a
session is being joined.
2013-08-20 15:30:53 -07:00
Corey Johnson & Nathan Sobo
0c9a1fdc80 Rename Keymap::toObject to Keymap::keystrokesByCommand
Also add spec for passing a selector
2013-08-20 12:23:15 -07:00
probablycorey
0c542d2317 Menu Items only show keyBindings that match the selector "body" 2013-08-20 12:23:14 -07:00
probablycorey
fb2439f193 Move ApplicationMenu to the AtomApplication
This moves it completely out of the renderer process
2013-08-20 12:23:13 -07:00
probablycorey
4d8b2672ff Rename menu-bar to application-menu
Also move it to the src root in preparation for it's use in the
browser process
2013-08-20 12:23:13 -07:00
probablycorey
e057d35048 Create a MenuBar object (instead of treating it like a singleton.) 2013-08-20 12:23:13 -07:00
probablycorey
6e3517dd4a Menu bar does not directly access the keymap anymore
This makes the keyBindingsForCommand methods obsolete
2013-08-20 12:23:12 -07:00
probablycorey
9a156c8629 Remove keymap.bindDefaultKeys
No longer needed since default keys are handled in AtomApplication
2013-08-20 12:23:12 -07:00
probablycorey
afd1a7419d Menu bar is load by the first created Atom Window 2013-08-20 12:23:12 -07:00
Corey Johnson
e68bc47dc5 💄 2013-08-20 12:23:11 -07:00
Kevin Sawicki
76332c76bd Flatten src directory
* Move src/app to src/
  * Move src/stdlib to src/
  * Remove src/app and src/stdlib from NODE_PATH
2013-08-19 20:13:57 -07:00
Chris Wanstrath
9dea4c24b2 atom and stdlib 2011-11-09 18:33:43 -08:00
Chris Wanstrath
1fd1e34271 window.atom is an instance of App 2011-11-09 14:40:14 -08:00
Chris Wanstrath
4668f43991 not ready for this yet 2011-11-09 14:21:03 -08:00
Chris Wanstrath
3c1c00cc1b Merge remote-tracking branch 'origin/demo-demo-demo' into refaxtor
Conflicts:
	src/window.coffee
2011-11-09 14:12:44 -08:00
Corey Johnson
eb5e5b8258 /static dir can be loaded by require now. 2011-11-09 14:00:14 -08:00
Chris Wanstrath
9db7eb1c0d atom.on, atom.off, atom.trigger 2011-11-09 12:32:54 -08:00
Chris Wanstrath
51f8497229 atom.storage 2011-11-09 12:28:38 -08:00
Chris Wanstrath
6f1d4a8cc8 atom.keybinder 2011-11-09 12:26:37 -08:00
Chris Wanstrath
73fd8562ab atom.event 2011-11-09 12:22:23 -08:00
Corey Johnson
fa0367aa9c this is the first commit for the demo, it does not do much 2011-11-09 10:51:23 -08:00
Corey Johnson
7a567dab69 wip 2011-11-09 10:38:25 -08:00
Corey Johnson
3df83d10d8 Save window size and position. Fixes #45 2011-11-07 15:52:52 -08:00
Corey Johnson
8243046a73 Yeah, they do. 2011-11-07 14:57:41 -08:00
Corey Johnson
4e9a73cebc atomController is now known as $atomController. 2011-11-07 14:56:22 -08:00
Corey Johnson
7ab473b0ce Browser and Editor are panes. I hate the pane HTML code now. 2011-11-07 14:51:21 -08:00
Corey Johnson
4e262caee0 Let editor decide if it wants to open a file. 2011-11-07 08:53:07 -08:00
Chris Wanstrath
bd93efb5e8 any path except a directory can open in a window?
all the path detection should probably go in the same place
2011-11-06 22:28:03 -08:00
Chris Wanstrath
5e19f70cbc window title = last path segment 2011-11-06 20:40:57 -08:00
Chris Wanstrath
915afbce71 add extensions:loaded event 2011-11-06 20:12:53 -08:00
Chris Wanstrath
6133c80a62 use coffeescript's magic 2011-11-06 20:11:40 -08:00
Chris Wanstrath
39f11f78a2 window.extensions is a map of loaded extension instances 2011-11-06 19:30:02 -08:00
Chris Wanstrath
cba6fb844a atomController.path => window.path 2011-11-06 15:59:26 -08:00
Chris Wanstrath
b1376854a7 require.resolve none of the things 2011-11-06 14:39:20 -08:00
Chris Wanstrath
b3bc415166 require.resolve all the things 2011-11-06 14:38:28 -08:00
Chris Wanstrath
c9ea14d383 ~/.atomicity/settings.coffee 2011-11-06 14:36:39 -08:00
Chris Wanstrath
03275679bf don't freak if there's no ~/.atomicity/key-bindings.coffee 2011-11-06 14:31:50 -08:00
Corey Johnson
dac3c6ebaf add/remove a file and watch the tree pane 2011-11-04 19:12:35 -07:00
Corey Johnson
750ede4f2c handle storage on the objective-c side. 2011-11-04 17:43:15 -07:00
Corey Johnson
9671e09be0 Less logging. 2011-11-04 10:02:07 -07:00
Corey Johnson
2a86e3bf61 More resolving. More extension hotness. 2011-11-03 17:42:44 -07:00
Corey Johnson
7e7bbe3f01 Multiple windows can be opened, and their buffer state is saved. 2011-11-03 15:48:19 -07:00
Corey Johnson
fe734a1b11 it remembers what buffers a window has open 2011-11-02 16:57:34 -07:00
Corey Johnson
9a596734ff editor is more editorish 2011-11-02 15:22:52 -07:00
Corey Johnson
c67917efa3 tabs 2011-11-02 10:27:25 -07:00
Corey Johnson
9e21d8da04 Dirty and window title added back. Dirty close prompts user. 2011-11-01 16:07:20 -07:00
Corey Johnson
912654cddf opening paths and multiple windows is working! 2011-10-31 16:14:43 -07:00
Corey Johnson
cebd600e62 reloading be working. 2011-10-28 18:04:35 -07:00
Corey Johnson
0066ce5a01 Get rid of the noise, get rid of the funk. 2011-10-28 17:21:15 -07:00