Commit Graph

251 Commits

Author SHA1 Message Date
Corey Johnson
d2e517f5a3 💄 2012-08-30 08:54:18 -07:00
Nathan Sobo
3cc8297460 Fix merge screw-up 2012-08-29 23:27:30 -06:00
Nathan Sobo
c24c9e2003 Merge branch 'master' of github.com:github/atom-cef3
Conflicts:
	native/atom_cef_client.h
	native/atom_cef_client_mac.mm
	src/app/atom.coffee
2012-08-29 23:08:31 -06:00
Nathan Sobo
63a0746cc5 Remove $native.alert 2012-08-29 20:53:04 -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
Corey Johnson
e741c42aae meta-alt-i toggles hides DevTools while DevTools is active. 2012-08-29 16:03:13 -07:00
Corey Johnson
5ff8a5524e Set dev tools view to the correct size 2012-08-29 15:38:10 -07:00
Corey Johnson
2dbd095cdc rename process_helper_mac.cpp to main_helper_mac.mm 2012-08-29 15:36:01 -07:00
Corey Johnson
d9dc526425 DevTools are working 2012-08-29 15:31:06 -07:00
Corey Johnson
9660cf0074 Merge branch 'master' of github.com:github/atom-cef3 2012-08-29 14:37:21 -07:00
Corey Johnson
9277a4371d Added method for creating browser to AtomWindowController 2012-08-29 14:37:17 -07: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
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
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
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
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
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
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
64a0fd84a7 WIP: sending reload message to render process on meta-r 2012-08-27 18:39:12 -05:00
Corey Johnson & Nathan Sobo
12b06ddf0c Get spec suite running (lots of failures) 2012-08-27 17:36:36 -05:00
Corey Johnson & Nathan Sobo
da35ca4c44 Add OnigRegExp 2012-08-27 15:00:38 -07:00
Corey Johnson & Nathan Sobo
5141aba658 Move all extension C and JavaScript code into native/v8_extensions 2012-08-27 14:02:05 -07:00
Corey Johnson & Nathan Sobo
c4639b894e path 💄 2012-08-27 13:30:04 -07:00
Corey Johnson & Nathan Sobo
e8aa1524c7 Rename atom folder to native 2012-08-27 13:21:59 -07:00