Commit Graph

21924 Commits

Author SHA1 Message Date
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
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
38ff542b9f Move build-project.sh into rakefile 2012-08-27 14:06:25 -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
Corey Johnson & Nathan Sobo
f84f9c5dd2 Add bundles and themes 2012-08-27 13:20:22 -07:00
Corey Johnson & Nathan Sobo
7adc7a8c7e Pass pathToOpen as a query param when opening window 2012-08-27 13:19:12 -07:00
Corey Johnson & Nathan Sobo
fe3461cd70 Add native handler 2012-08-27 11:40:28 -07:00
Nathan Sobo
cec5265f9a Add native handler 2012-08-27 13:37:06 -05:00
Nathan Sobo
65e245d6f5 Specify the project directory as RESOURCE_PATH in Debug configuration 2012-08-27 12:22:43 -05:00
Nathan Sobo
138de0cb5c Update window.coffee from CEF 1 atom 2012-08-27 11:06:18 -05:00
Nathan Sobo
14891696a5 Update require.coffee from CEF 1 atom 2012-08-27 11:05:55 -05:00
Nathan Sobo
589b183b26 Define atom.resourcePath (replaces atom.loadPath) when context is created 2012-08-26 16:41:31 -05:00
Nathan Sobo
c3e748a17c WIP: Use rake to start compiling resources (like require.coffee) 2012-08-26 16:29:46 -05:00
Nathan Sobo
72468b7028 Pass the bootstrap script as a query parameter of the initial url string 2012-08-26 16:10:11 -05:00
Nathan Sobo
0eebdec453 Rename AtomController -> AtomWindowController 2012-08-25 15:06:00 -06:00
Nathan Sobo
8c0e51477c AtomApplication 💄 2012-08-25 15:04:22 -06:00
Nathan Sobo
fb592648e7 Rename ClientHandler to AtomCefClient
This clarifies its role relative to the Cef API… that it is Atom's version of the CefClient.
2012-08-25 11:17:47 -06:00
Corey Johnson & Nathan Sobo
955531f54e Don't null out client handler in AtomController
The closing of the window causes the browser view to dispose of it (I think)
2012-08-24 17:49:34 -06:00
Corey Johnson & Nathan Sobo
dba2304e6e Null out the browser reference in ClientHandler-OnBeforeClose 2012-08-24 17:48:27 -06:00
Corey Johnson & Nathan Sobo
c71896b8c7 💄 2012-08-24 17:47:33 -06:00
Corey Johnson & Nathan Sobo
bc8a465c18 Use the window from the xib file for rendering CEF browser 2012-08-24 17:20:07 -06:00
Corey Johnson & Nathan Sobo
247e6b2fe7 Add pairs file 2012-08-24 17:05:46 -06:00
Corey Johnson & Nathan Sobo
3f3247d443 Autorelease the AtomController when window closes. This will release window. 2012-08-24 17:05:41 -06:00
Corey Johnson & Nathan Sobo
3a397a4ed4 Wire AtomController's window outlet in the window XIB 2012-08-24 17:04:56 -06:00
Corey Johnson & Nathan Sobo
5fe41118ef 💄 2012-08-24 17:04:23 -06:00
Corey Johnson & Nathan Sobo
0b15e89f25 Open the window from the appropriate NSApplication hook (so autorelease works) 2012-08-24 17:04:02 -06:00
Nathan Sobo
1a276177ce Ensure AtomCefApp is used in the renderer process so our hooks get called 2012-08-24 10:03:49 -06:00
Corey Johnson
3d15f8a42e wip: atom_cef_app 2012-08-23 13:47:06 -07:00
Corey Johnson
f754be83da Rename atom_mac to atom_application 2012-08-23 12:51:43 -07:00
Corey Johnson
ccfc15d132 Dev tools working 2012-08-23 12:38:52 -07:00
Corey Johnson
e15897afec trying to get devtools to work 2012-08-22 15:29:39 -07:00
Corey Johnson
1f2453e98c Atom is getting closer... 2012-08-21 17:22:43 -07:00
Corey Johnson
48c290e659 Add AtomController 2012-08-21 15:14:50 -07:00
Corey Johnson
c7a4a22fb5 Rename CefClient to Atom 2012-08-21 13:48:27 -07:00
Corey Johnson
cc7b8e443d 💩 2012-08-21 13:19:33 -07:00
Corey Johnson
3245dd46f8 Removed cefclient.rc because I have no idea what it does. 2012-08-21 13:14:00 -07:00
Corey Johnson
07f62706d0 Make the Xcode layout not look horrible 2012-08-21 13:06:40 -07:00
Corey Johnson
f698e1f126 plist cleaning 2012-08-21 11:18:02 -07:00
Corey Johnson
6a7e564b1b Use atom "icon" 2012-08-21 11:02:49 -07:00
Corey Johnson
3c1538126f Clean up includes 2012-08-21 10:58:36 -07:00
Corey Johnson
077c44329d Move files out of tests to atom 2012-08-21 10:47:56 -07:00