Kevin Sawicki
932a792289
Remove Private: prefix
2014-02-06 10:02:53 -08:00
Nathan Sobo
bd3cfda2bb
Merge branch 'master' into ns-telepathic-atom-global
...
Conflicts:
src/atom.coffee
2013-12-16 18:18:06 -07:00
Kevin Sawicki
9cdc15b161
Guard against no other focusable elements
...
This previously occurred in areas we all the elements had a -1 tabindex
or were disabled.
2013-12-16 13:54:59 -08:00
Kevin Sawicki
010931391e
Use event.target
2013-12-16 12:14:41 -08:00
Kevin Sawicki
eaf6aba943
Return true from event handler
2013-12-16 12:12:14 -08:00
Kevin Sawicki
d60d710325
Inline sendActionToFirstResponder
2013-12-16 12:11:19 -08:00
Kevin Sawicki
bb1bcc233a
Handle native commands in render process
...
This fixes copy, paste, undo, redo for elements with a native-key-bindings
class by forwarding to the menu's first responder from the render process.
2013-12-16 12:06:43 -08:00
Nathan Sobo
23957d7f66
WIP: Make atom global a telepath model
...
Specs seem to be green but hang on what I'm assuming to be a long GC
pause near the end. I need to investigate what's going on memory wise.
2013-12-12 14:33:50 -08:00
Kevin Sawicki
3ce6176313
Rename rootView to workspaceView
2013-11-26 11:02:53 -08:00
probablycorey
084bbb1578
Use skinny arrow
2013-11-15 14:35:02 -08:00
probablycorey
9914085ead
Simplify keymap selector matching
2013-11-11 11:42:10 -08:00
Kevin Sawicki
ef97dadea1
Update fs-utils references to fs-plus
2013-11-01 08:46:02 -07:00
Kevin Sawicki
53547b5a8d
Trigger commands on rootView when body is active element
2013-10-25 09:20:47 -07:00
Kevin Sawicki
820b870f82
Use triggerHandler for window focus/blur in specs
2013-10-16 14:41:38 -07:00
Kevin Sawicki
607ed972c1
Listen to window focusin/focusout instead of focus/blur
...
This appears to be needed by jquery 2.0+ so the specs
can correctly simulate these events using trigger.
2013-10-16 13:35:11 -07:00
Kevin Sawicki
9d51d1a143
Use jquery provided by space-pen
2013-10-16 13:34:41 -07:00
probablycorey
9a839045e5
Merge remote-tracking branch 'origin/master' into cj-make-packages-async
2013-10-16 10:51:34 -07:00
Kevin Sawicki
216a5e61fd
Update underscore-extensions requires
2013-10-15 13:50:16 -07:00
Kevin Sawicki
320b4a49b4
Use Subscriber.includeInto
2013-10-14 17:28:26 -07:00
Kevin Sawicki
f9a0e038a5
Use emissary for EventEmitter and Subscriber
2013-10-14 17:28:26 -07:00
probablycorey
b0e9b4b81f
Rename RootView.open to RootView.openSync
2013-10-11 10:55:10 -07:00
probablycorey
23620e158b
The initialLine parameter is sent as an option
2013-10-10 09:49:06 -07:00
probablycorey
a1c39c9f38
Add RootView::openAsync
2013-10-03 10:28:11 -07:00
Kevin Sawicki
dde7ccadd4
Move onDrop global to WindowEventHandler
2013-10-02 13:40:35 -07:00
Kevin Sawicki
c7bc92f6e7
Access rootView through atom global
2013-10-02 13:40:35 -07:00
Kevin Sawicki
4be4868959
Move dimension helpers from window to Atom class
2013-10-02 13:40:33 -07:00
probablycorey
1e88caac50
Make cut/copy/paste menu items work
...
Previously menu item commands were being triggered on `window` they now are triggered on
`document.activeElement`.
2013-09-25 13:57:45 -07:00
Kevin Sawicki
3c080a0d66
Only hide on close when focused
2013-09-20 17:59:19 -07:00
Matt Colyer
25e49550cb
Merge branch 'master' into context-menu
...
Conflicts:
src/atom.coffee
2013-09-20 13:31:45 -07:00
Kevin Sawicki
41fc4f7fe6
Use relative require paths in src/ files
2013-09-20 10:02:20 -07:00
Matt Colyer
0aa0d7529a
Merge branch 'master' into context-menu
2013-09-19 12:01:36 -07:00
Matt Colyer
037d39e943
Rewrite based on feedback
2013-09-18 09:53:57 -07:00
Matt Colyer
2f419a639c
s/ContextMenuMap/ContextMenu/g
2013-09-17 14:34:05 -07:00
Kevin Sawicki
f5c5ca0a55
Hide window immediately when closing
...
Previously the body element would be hidden causing a white flash
before the window was closed.
Now the window is hidden during beforeunload unless it is in the middle
of a restart.
2013-09-17 11:00:58 -07:00
Matt Colyer
9e11f5a737
Add ContextMenuMap and use it to create the context menu
2013-09-16 17:38:41 -07:00
Matt Colyer
2e5e841cd5
Pull logic for context menus into render process
2013-09-16 17:28:20 -07:00
Matt Colyer
9a64b2775d
💄
2013-09-13 11:42:31 -07:00
Matt Colyer
e8838e3bd0
Handle file paths that contain line numbers
2013-09-13 11:42:31 -07:00
Kevin Sawicki
29f1f5cbe5
Call close on native window instead of JS window
...
Added atom.close() which forwards to remote.getCurrentWindow().close()
since calling window.close() does not call the unload handler registered
on the window global.
Closes #764
2013-08-28 09:10:54 -07:00
Matt Colyer
8e2777ccc0
Get class visibility correct
2013-08-27 10:16:59 -07:00
Kevin Sawicki
decaa3dfcf
💄 Move extend calls to top of class
2013-08-26 19:09:42 -07:00
probablycorey
dba0998687
Revert "trigger commands from the browser process on the active.element"
...
This reverts commit f023ce89096b1c7a6faf337cf48d29cfbb296091.
2013-08-20 12:23:14 -07:00
probablycorey
afd1a7419d
Menu bar is load by the first created Atom Window
2013-08-20 12:23:12 -07:00
probablycorey
8803bab816
trigger commands from the browser process on the active.element
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