Commit Graph

64 Commits

Author SHA1 Message Date
Corey Johnson & Nathan Sobo
20dd59194b Handle title change. But there's a bug in CEF that makes this only work once. 2012-08-30 17:42:53 -06:00
Corey Johnson & Nathan Sobo
bd1982ede1 Nix fs.async.* methods. They aren't needed now. 2012-08-30 16:12:15 -06:00
Corey Johnson & Nathan Sobo
08b9d69f59 Focus specs window before each test to ensure focus assertions pass 2012-08-30 16:11:42 -06:00
Corey Johnson
b31589d6df If there is a RESOURCE_PATH defined, open that by default 2012-08-30 10:39:54 -07:00
Corey Johnson
6cb10a0855 Commented code deserves to die 2012-08-30 10:39:54 -07:00
Corey Johnson
35f603793d Make default window size big enough to show the dev tools console icon 2012-08-30 10:39:54 -07:00
Corey Johnson
b0096ee0e6 Only non-mac versions of the app need to run CefExecuteProcess in their main function. 2012-08-30 10:39:54 -07:00
Nathan Sobo
3cc2faf7c2 Add atom.showDevTools and replace calls to $native.showDevTools 2012-08-30 11:24:01 -06:00
Nathan Sobo
d5ffdb153a Remove $native.saveDialog. It's replaced with atom.showSaveDialog 2012-08-30 11:08:55 -06:00
Nathan Sobo
eaafa9eade Merge branch 'master' of github.com:github/atom-cef3
Conflicts:
	native/atom_cef_client.cpp
2012-08-30 11:05:50 -06:00
Nathan Sobo
8b5b7de6e0 Add atom.showSaveDialog
Reply messages now always begin with an array of the reply id and the callback index.
2012-08-30 10:52:35 -06:00
Corey Johnson
9c7c95f413 Update C++ headers 2012-08-30 09:11:01 -07:00
Corey Johnson
b4f617c657 Remove util.h 2012-08-30 09:07:39 -07:00
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