Commit Graph

46 Commits

Author SHA1 Message Date
Corey Johnson
ad14e65ef9 Add atom.getVersion(callback) 2013-02-25 14:58:11 -08:00
Corey Johnson
ab5f9afb1f Remove atom.update and atom.updateStatus
We will probably use these in the future, but we don't need them now.
2013-02-25 14:58:11 -08:00
Kevin Sawicki
9ca7214d39 Add --dev flag and remove --stable flag
Atom now runs in stable mode by default and only
runs in dev mode when the --dev flag is specified.

Closes #198
2013-02-22 11:54:54 -08:00
Corey Johnson
e7a8e4e3c4 Add atom.update and atom.getUpdateStatus 2013-02-14 16:40:24 -08:00
Kevin Sawicki
c69e217192 Ignore title changes from dev tools client
Previously the generic developer tools message
would be set as the window title when opened
and only removed once the active edit session was
changed.
2013-02-06 15:58:39 -08:00
Kevin Sawicki
1b2c7faed9 Bind ctrl-meta-f to toggle full screen
Refs #134
2013-02-05 09:36:38 -08:00
Kevin Sawicki
983f1ab18b Bind meta-~ to focus previous window
Closes #212
2013-01-30 18:42:04 -08:00
Kevin Sawicki & Nathan Sobo
d09610cbcd Upgrade CEF 3 to branch 1364, r1050
This adds support for accessing native extensions in web workers, though it may
not work quite how we need it to just yet. Figured we'd bank an upgrade anyway.
2013-01-21 18:05:39 -07:00
Kevin Sawicki
7f8a64b69c Show window only after root view is attached
This prevents a white flicker when the page
starts to load.
2013-01-17 16:50:25 -08:00
Corey Johnson & Nathan Sobo
fa5acd600a Hack to open unstable windows from atom-stable 2012-11-09 10:25:42 -07:00
Corey Johnson
e96d1b07d3 When a window is closed, the AtomCefClient is destroyed. 2012-11-07 15:45:44 -08:00
Corey Johnson
3860fe1de7 Add atom.log (passes message directly to NSLog) 2012-11-07 15:45:44 -08:00
Nathan Sobo
980c5d6b11 Add support for native tracing w/ atom.begin/endTracing in console.
* Open the dev tools console
* Call `atom.beginTracing()`
* Do stuff
* Call `atom.endTracing()`
* Save the file somewhere
* Open `about:tracing` in chrome and load the file
* Inspect away!
2012-10-31 11:39:58 -06:00
Nathan Sobo
e649b2e6c6 Handle standard pasteboard keybindings in the dev tools
This commit adds a boolean constructor parameter to the AtomCefClient indicating whether it should handle the standard pasteboard commands for its associated browser. We pass `true` when constructing the client for the dev tools, so these commands work there.
2012-10-29 11:45:16 -06:00
Nathan Sobo
df0c19482c Hack in a workaround to cycle windows with meta-`
There's something wrong with CEF 3 right now where meta-` events aren't being forwarded to cocoa correctly. I just added some code to intercept meta-` and manually cycle the windows. I ignore any windows for which `excludeFromWindowsMenu` is true. That means we don't ever cycle to the hidden menu.
2012-09-24 16:32:05 -06:00
Corey Johnson
5b9a305bba Log console messages to NSLog (so we can see them in Console.app) 2012-09-20 15:26:26 -07:00
Corey Johnson & Nathan Sobo
c9c138491e Add atom.exit, which exits from the browser process instead of the renderer 2012-08-31 10:15:12 -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
Nathan Sobo
3cc2faf7c2 Add atom.showDevTools and replace calls to $native.showDevTools 2012-08-30 11:24:01 -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
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
d9dc526425 DevTools are working 2012-08-29 15:31:06 -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
Corey Johnson
f107474059 Remove all default context menu items 2012-08-29 12:27:24 -07:00
Corey Johnson
7c04a183de 💄 2012-08-29 11:42:18 -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
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
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
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
Nathan Sobo
7882f70c0c Whitespace 💄 2012-08-28 11:58:24 -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
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
e8aa1524c7 Rename atom folder to native 2012-08-27 13:21:59 -07:00