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
2515a45480
Load user configuration files
2012-08-28 16:51:29 -07:00
Corey Johnson & Nathan Sobo
63b52e761d
TreeView works when the Project's rootDirectory is null
2012-08-28 16:51:14 -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
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
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