Nathan Sobo
558ffd9cbe
Spy on atom.confirm instead of $native.alert in specs
2012-08-29 20:50:47 -05:00
Nathan Sobo
d8ea46ee5b
Use atom.confirm when for confirmation when deleting a file in the TreeView
2012-08-29 20:46:08 -05:00
Nathan Sobo
95b1ebdd8c
Use atom.confirm to display buffer conflict dialog
2012-08-29 20:43:29 -05:00
Nathan Sobo
e47c59c35f
Use atom.confirm when closing an unsaved buffer
2012-08-29 20:24:48 -05:00
Nathan Sobo
8cf22da082
Use atom.confirm to display the confirmation dialog when reloading
2012-08-29 20:21:00 -05:00
Nathan Sobo
725a6548fc
Add atom.confirm, which displays a confirmation w/ buttons that fire callbacks
...
This communicates back to the browser process to display the confirmation, then the browser replies to the message with the index of the clicked button.
2012-08-29 18:31:49 -05:00
Nathan Sobo
dfdcce9785
Merge branch 'master' of github.com:github/atom-cef3
...
Conflicts:
native/atom_cef_client.cpp
2012-08-29 15:34:17 -05:00
Nathan Sobo
ff309c3c18
Skipping the first element of the message argument list because its a message id
2012-08-29 15:33:36 -05:00
Corey Johnson
0937681d57
Merge branch 'master' of github.com:github/atom-cef3
2012-08-29 13:33:30 -07:00
Nathan Sobo
9d203b9425
Merge branch 'master' of github.com:github/atom-cef3
...
Conflicts:
src/app/atom.coffee
2012-08-29 15:19:06 -05:00
Nathan Sobo
fcc012eb11
Messages from the browser process call atom.messageReceivedFromBrowserProcess
...
This is how we will handle replies from dialogs presented in the browser process.
2012-08-29 15:07:10 -05:00
Corey Johnson
f107474059
Remove all default context menu items
2012-08-29 12:27:24 -07:00
Corey Johnson
10e5c85a75
Store localStorage in ~/Library/Application\ Support/Atom
2012-08-29 11:42:43 -07:00
Corey Johnson
7c04a183de
💄
2012-08-29 11:42:18 -07:00
Corey Johnson
6f99b61dd3
Now storing a window's state based on its rootDirectory (instead of on windowNumber)
2012-08-29 10:59:45 -07:00
Corey Johnson
073164c584
Remove newWindow from native extension
2012-08-29 08:56:57 -07:00
Corey Johnson
fa4650343b
Make meta-n (new window) work
2012-08-28 17:04:56 -07:00
Corey Johnson
fad214d6d9
💄
2012-08-28 17:01:02 -07:00
Nathan Sobo
9029e2f591
Nuke native open code in v8_extensions/atom.mm
2012-08-28 16:54:25 -07:00
Corey Johnson & Nathan Sobo
2515a45480
Load user configuration files
2012-08-28 16:51:29 -07:00
Corey Johnson & Nathan Sobo
63b52e761d
TreeView works when the Project's rootDirectory is null
2012-08-28 16:51:14 -07:00
Corey Johnson & Nathan Sobo
f6a55ee468
Throw exception if fs.list's path argument is null or empty
2012-08-28 16:47:36 -07:00
Corey Johnson & Nathan Sobo
2b2b857804
Only add pathToOpen to url params if it exists.
2012-08-28 16:46:44 -07:00
Corey Johnson & Nathan Sobo
726bd805e2
open nil, not an empty path
2012-08-28 16:45:59 -07:00
Corey Johnson & Nathan Sobo
ee841d14e7
Better error reporting for failed extensions
2012-08-28 16:11:38 -07:00
Corey Johnson & Nathan Sobo
ff290d68d2
💄
2012-08-28 15:42:55 -07:00
Nathan Sobo
74bf4db5fc
WIP: pushing message id to front of message data so browser process can reply
2012-08-28 17:20:49 -05:00
Nathan Sobo
7bfc97c4c4
Nuke native open code in v8_extensions/atom.mm
2012-08-28 17:04:54 -05:00
Nathan Sobo
502e52f37d
Implement atom.open using atom.sendMessageToBrowserProcess
2012-08-28 16:47:19 -05:00
Nathan Sobo
87a0f93149
Add atom.sendMessageToBrowserProcess to atom v8 extension
2012-08-28 16:42:11 -05:00
Nathan Sobo
a19b81f69b
Avoid Rakefile's spurious creation of 'Helper.app' in a better way
...
A way that doesn't break the copying of v8 extension javascript
2012-08-28 16:41:45 -05:00
Nathan Sobo
76b10aa85b
💄
2012-08-28 16:05:00 -05:00
Nathan Sobo
ce147837e3
Focus windows when they are opened
2012-08-28 16:04:44 -05:00
Nathan Sobo
7f0eaeeeb5
Escape space in 'Atom Helper.app' so coffee doesn't create stray Helper.app dir
2012-08-28 15:51:02 -05:00
Nathan Sobo
12a6aca77c
Display prompt (still un-retina-fied) when reloading w/ unsaved buffers
2012-08-28 15:32:26 -05:00
Nathan Sobo
16c7c523cf
Native open code now presents the open panel from the browser process
...
This avoids retina resolution issues and ink framework errors that occur when opening dialogs from the chromium renderer process.
2012-08-28 13:54:44 -05:00
Corey Johnson & Nathan Sobo
48a31ecdb8
💩
2012-08-28 10:51:36 -07:00
Corey Johnson & Nathan Sobo
4781d477cd
Remove tabs and handle key events when there are no windows open.
2012-08-28 10:37:25 -07:00
Nathan Sobo
71f453a3e0
More cleanup in AtomApplication
2012-08-28 12:30:19 -05:00
Nathan Sobo
e739ac8ad3
Remove path_watcher sources from browser process app
2012-08-28 12:00:57 -05:00
Nathan Sobo
7882f70c0c
Whitespace 💄
2012-08-28 11:58:24 -05:00
Nathan Sobo
f0dbe5db94
Break out AtomCefRenderProcessHandler so it's only included in the helper app
...
This means that none of the extension code has to be compiled into the browser app, which just seems cleaner.
2012-08-28 11:55:17 -05:00
Nathan Sobo
a4a87917ba
Put the other v8 extensions in the v8_extensions namespace
2012-08-28 11:16:27 -05:00
Nathan Sobo
76b8f42bb7
Add atom extension, which implements atom.open
...
We send a message from the render process to the browser process indicating which path to open. Also start introducing a `v8_extensions::` namespace to contain the extensions.
2012-08-28 11:08:50 -05:00
Nathan Sobo
8cd4042fe9
Don't load atom_cef_client source files in render process helper
2012-08-28 11:06:11 -05:00
Nathan Sobo
b08db363f0
Use UnderlayOpenGLHostingWindow as the NSWindow subclass in AtomWindow.xib
...
Apparently this is required for full acceleration. Taking it on faith.
2012-08-28 10:13:23 -05:00
Nathan Sobo
4da7d4d08b
Make AtomCefClient a JSDialogHandler and suppress dialog on reloads
2012-08-28 10:01:00 -05:00
Corey Johnson & Nathan Sobo
8fcf2af5a6
WIP: Handling reload, but need to put js dialog handler in proper place
2012-08-27 17:27:15 -07:00
Corey Johnson & Nathan Sobo
d20ba7171a
Assign $windowNumber in index.html
2012-08-27 17:09:53 -07:00
Corey Johnson & Nathan Sobo
64a0fd84a7
WIP: sending reload message to render process on meta-r
2012-08-27 18:39:12 -05:00