Commit Graph

86 Commits

Author SHA1 Message Date
Kevin Sawicki
6f6daf6db0 Use relative paths for requires 2013-09-20 10:02:21 -07:00
Kevin Sawicki
41fc4f7fe6 Use relative require paths in src/ files 2013-09-20 10:02:20 -07:00
Kevin Sawicki
ad381087dd Cache compiled LESS files 2013-09-16 14:40:39 -07:00
Matt Colyer
b1675714e6 Load themes after packages, since we depend on them 2013-09-13 12:13:32 -07:00
Ben Ogle
c1af8a86d3 Remove log line 2013-09-12 14:02:53 -07:00
Ben Ogle
b48a35fc14 Reload the stylesheet when it is applied >1x 2013-09-12 14:02:53 -07:00
Kevin Sawicki
2a70c6a217 Initially show and focus the window on the next tick
This prevents a white flicker when the window eventually loads
2013-09-09 15:59:56 +01:00
Ben Ogle
26e1df4127 Add loadThemes() to atom global 2013-09-04 12:25:29 -07:00
Ben Ogle
9d94afc8c5 Move base stylesheet loading in startEditorWindow 2013-09-04 12:25:29 -07:00
Ben Ogle
127a2af397 Remove log line 2013-09-04 12:25:27 -07:00
Ben Ogle
5c12a7ceef Move base stylesheet loading into atom.
Load the config during setup, but don't observe until the editor window
starts up.
2013-09-04 12:25:27 -07:00
Kevin Sawicki
e03544bab6 Hide body when unloading
This prevents a weird UI flicker when refreshing with the settings
view open.
2013-08-29 15:23:26 -07:00
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