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
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