Cheng Zhao
7c8e1634b8
Remove native path watcher code.
2013-04-07 19:33:27 +08:00
Kevin Sawicki
6e4d9508aa
Close browser instead of sending shutdown message
...
CEF now supports calling the beforeunload handler when closed
so we no longer need to send a shutdown message on the native
side.
2013-04-05 08:34:04 -07:00
Kevin Sawicki
062d07ada0
💄
2013-04-04 15:52:53 -07:00
Kevin Sawicki
a3483d0ffe
Remove native injection from web worker contexts
...
Tasks are now processed based and so web workers no
longer need access to the native extension.
2013-03-27 20:51:01 -04:00
Kevin Sawicki
f3049681bd
Use git-utils module
...
Removes the need to include libgit2 as this is now handled by the
git-utils module which provides functions that were previously in
git.mm and git.coffee
2013-03-09 14:34:06 -08:00
Kevin Sawicki
d34796a78b
Use oniguruma node module
...
This removes all internal native oniguruma
sources and starts using the node module
directly to create onig scanners and regexes.
2013-03-07 10:45:22 -08:00
Kevin Sawicki
ce2d0389e1
Use ctags node module
...
Remove internal ctags code and defer to
new node module for finding tags and listing
tags.
2013-03-07 09:41:04 -08:00
probablycorey
467e30aeb1
Remove worker log message
2013-03-01 14:55:44 -08:00
Corey Johnson
16d8c52624
💄
2013-02-14 16:40:24 -08:00
Corey Johnson & Nathan Sobo
cab281c6db
Inject all native extensions into web worker contexts
2013-01-24 17:22:50 -08:00
Nathan Sobo
f22fedebcf
Inject new instances of native objects into every JS context
...
This prevents concurrent access to the same state from different
worker threads. We needed to treat windowState specially because we
explicitly want it to last beyond the life-span of a single context.
So we store it as a static variable in `native.mm` and synchronize
access with a static `NSLock`. Good enough for now.
2013-01-24 17:22:50 -08:00
Corey Johnson & Nathan Sobo
1b228c75bc
Convert Tags to context binding
2013-01-24 17:22:50 -08:00
Corey Johnson & Nathan Sobo
e5c96c7077
Convert OnigScanner to a context binding
2013-01-24 17:22:49 -08:00
Nathan Sobo
2946ba7b9a
Convert OnigRegExp from a v8 extension to a window binding
2013-01-24 17:22:49 -08:00
Corey Johnson & Nathan Sobo
1e6e6c4411
Convert git v8 extension to a context binding
2013-01-24 17:22:49 -08:00
Corey Johnson & Nathan Sobo
47420c2e01
Inject $native into WebWorker contexts
...
This is just to make sure it works. Will inject the remaining extensions
when they are converted to from v8 extensions to context bindings.
2013-01-24 17:22:49 -08:00
Corey Johnson & Nathan Sobo
faaaaec846
Convert atom global to a window binding
2013-01-24 17:22:49 -08:00
Nathan Sobo
87829043d4
Use window binding instead of v8 extension for $native object
...
This paves the way to inject `$native` into the context of a web worker
2013-01-24 17:22:49 -08:00
Nathan Sobo
d9cfc491e0
💄
2013-01-24 17:22:48 -08:00
Kevin Sawicki
1686c97244
Add initial support for jump to declaration
2012-12-13 15:22:23 -08:00
Corey Johnson
18f4134e81
Remove existing PathWatcher when window is reloaded or closed
2012-11-15 13:16:13 -08:00
Kevin Sawicki
17c3621853
Add native Git v8 extension
2012-11-02 15:30:06 -07:00
Corey Johnson
a736063e7e
Force CEF to reload if window.reload doesn't exist
2012-10-15 12:06:36 -07:00
Kevin Sawicki
8c0f443c75
Call window.shutdown when native window is closed
...
The root view will now be serialized and saved to local
storage when the window is closed or the application is
terminated.
2012-10-11 13:07:13 -07:00
Nathan Sobo
32e36700ae
Add native OnigScanner, which handles matching multiple regexes on a line
...
This cuts the tokenization time from 250ms to 70ms by avoiding js <-> native overhead
2012-09-27 13:04:14 -06:00
Corey Johnson & Nathan Sobo
85c37fd652
Move atom.resourcePath to window.resourcePath
...
The resourcePath is now set using a url param. Because resourcePath is needed by require.js, it needs to be on `window` rather than `atom`.
2012-09-10 17:22:21 -07: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
Nathan Sobo
12a6aca77c
Display prompt (still un-retina-fied) when reloading w/ unsaved buffers
2012-08-28 15:32:26 -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