Kevin Sawicki
52ef2db198
Separate construction vs. initialization
2013-10-02 13:40:34 -07:00
Kevin Sawicki
f56758acd2
Shim window.restoreDimensions to atom
2013-10-02 13:40:34 -07:00
Kevin Sawicki
901b128572
💄 Remove extra newline
2013-10-02 13:40:33 -07:00
Kevin Sawicki
e2d727f838
Move Syntax global to Atom class
2013-10-02 13:40:33 -07:00
Kevin Sawicki
5c4a8f55c8
Add deserializeEditorWindow to Atom class
2013-10-02 13:40:33 -07:00
Kevin Sawicki
4be4868959
Move dimension helpers from window to Atom class
2013-10-02 13:40:33 -07:00
Kevin Sawicki
4e3c5d2aba
Keep command install functions local
2013-10-02 13:40:33 -07:00
Kevin Sawicki
6a65aad274
💄 Use atom.getLoadSettings()
2013-10-02 13:40:33 -07:00
Kevin Sawicki
62278d9137
Create config, pasteboard, and keymap in Atom
2013-10-02 13:40:33 -07:00
Kevin Sawicki
862220adf2
Store less cache as an ivar on ThemeManager
2013-10-02 13:40:33 -07:00
Kevin Sawicki
c808630ba1
Move all stylesheet globals to ThemeManager
2013-10-02 13:40:32 -07:00
Kevin Sawicki
36345185b5
📝 Mention calling after setUpEnvironment
2013-09-23 16:34:49 -07:00
Kevin Sawicki
f5a034f38a
Add API for configuring default events for non-editor windows
...
Used by collaboration for when joining fails but basic keybindings
and events should still work.
2013-09-23 16:33:31 -07:00
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