amaitland
87dcecd749
Upgrade to 3.2623.1401
2016-05-16 21:12:52 +10:00
amaitland
c8934a3964
Rename RenderSubProcess to WcfEnabledSubProcess - a much more descriptive name
2016-05-16 20:22:08 +10:00
amaitland
533911a507
Remove the cef prefix from class names - going for a more consistent naming overall - should these classes be used by someone else, better to rename now
2016-05-16 19:56:15 +10:00
amaitland
7bbcf162f9
Remove CefSubProcess.cpp - having such trivial cpp files seems silly
...
Convert CefRenderProcess into a cpp class - this should theoretically allow users to add CefSharp.BrowserSubprocess.Core as a reference then use their own process to spawn it
Move CefRenderProcess and CefSubProcess into CefSharp.BrowserSubprocess namespace - otherclasses should really be moved as well
Only use our custom subProcess when type is render, for gpu and plugin processes the standard implementation is just fine
Remove CefSubProcess
Rename CefAppWrapper to CefSubProcess
2016-05-16 19:46:30 +10:00
amaitland
54f7fccdaa
Upgrade to .Net 4.5.2
...
Resolve #1572
2016-05-10 20:28:21 +10:00
amaitland
e5a6c6c32c
Upgrade to 3.2623.1396
2016-04-04 07:57:25 +10:00
amaitland
57a6ac84d6
Upgrade to 2623.1395
2016-03-18 08:47:23 +10:00
amaitland
6e66d172a7
Cleanup bin/obj folder output for the VC++ projects - more c# style now than vc++ (overall consistency)
...
Update nuspec file to reference new locations
2016-03-16 11:36:23 +10:00
amaitland
bb4746c612
Minor code cleanup after static analysis from PVS Studio - mostly uninitialized variables (which I don't think was an actual problem as they were all in .Net classes)
...
Remove a static cast that wasn't required.
2016-02-19 16:24:14 +10:00
amaitland
bae3c28e92
Update copyright to 2016
2016-01-11 14:11:30 +10:00
amaitland
36b0b95d55
Remove dpiAware tag from app.manifest for both WinForms example and BrowserSubProcess
...
Use new CefEnableHighDPISupport method for on all processes
2016-01-06 11:50:18 +10:00
Alex Maitland
c57d69b6be
Merge pull request #1531 from rlmcneary2/rename-enable-focus
...
Rename EnableFocusedNodeChanged to FocusedNodeChangedEnabled
2016-01-06 11:17:53 +10:00
Rich McNeary
a27a097df6
Change from EnableFocusedNodeChanged to FocusedNodeChangedEnabled to match the existing WindowlessRenderingEnabled setting property.
2016-01-05 07:30:23 -05:00
amaitland
b18e74be1e
Upgrade to 3.2526.1362 (Chromium 47.0.2526.80)
2015-12-17 11:47:35 +10:00
amaitland
c18f951a97
Move OnContextCreated from IRequestHandler to IRenderProcessMessageHandler
...
Manually resolve some merge conflicts
2015-12-09 11:32:24 +10:00
amaitland
af02212217
Merge branch 'feature/oncontextcreated' of https://github.com/amaitland/CefSharp
2015-12-09 11:26:07 +10:00
amaitland
d33c41ec5d
Remove unused include
...
No need to wrap bool in gcroot
Move command line parsing into c# land - can be reused in a few places.
Reduce code duplication in OnProcessMessageReceived - kOnFocusedNodeChanged handler
Minor changes for code consistency/formatting
2015-12-09 11:23:06 +10:00
Rich McNeary
5784444f43
Merge remote-tracking branch 'refs/remotes/cefsharp/master' into focus-changed-1256
...
# Conflicts:
# CefSharp/IRequestHandler.cs
2015-12-08 09:36:44 -05:00
Rich McNeary
443804084e
Changed to specifically request FocusNodeChanged messages.
2015-12-08 09:04:22 -05:00
amaitland
4684cfcbb9
Upgrade to CEF 3.2526.1359 (Chromium 47.0.2526.73)
2015-12-08 10:27:08 +10:00
Rich McNeary
1fb54241f7
Add the OptionalMessages property to CefSettings.
2015-12-07 16:27:17 -05:00
Rich McNeary
5323818d7b
Fix comment.
2015-12-07 10:54:20 -05:00
Rich McNeary
ae49a5385b
Fix: tabs to spaces, if and for braces, use frame ID.
2015-12-07 09:48:57 -05:00
Rich McNeary
1ecf2d57b0
Initial implementation complete.
...
Add support for when an element node in the DOM gets focus. Also invoked
when focus passes from an element node to an non-element node or
nothing.
2015-12-04 16:01:26 -05:00
Rich McNeary
ce79f71275
When OnFocusedNodeChanged data is passed from render to browser process.
2015-12-03 15:59:27 -05:00
amaitland
8cd491562d
Reorder params for SetInt64, SetJsCallback and SetCefTime - they're not in a logical order
2015-12-02 19:20:54 +10:00
amaitland
6f272833fb
Add IRequestHandler.OnContextCreated handler
...
Send an IPC message when OnContextCreated is called in the render process
Currently only called for the main frame
Should be possible to hook the DOMContentLoaded event
2015-12-02 19:04:19 +10:00
amaitland
07820e9c8b
For v8serialization Instead of creating a null and then not using refactor slightly
2015-11-18 18:45:28 +10:00
amaitland
3f15b53ab7
Resolves #1407
...
More the DeserializeV8Object call to within the context->Enter so a V8Object can be created
Change callback to use a struct as it's return type to demo the solution to this bug
Add missing list->SetDictionary call in V8Serialization.cpp
2015-11-18 09:17:16 +10:00
amaitland
0ecd64dfd2
Upgrade to 3.2526.1347
...
Upgrade 45.0.0 references to 47.0.0
Remove BrowserSettings.Java as it's an NPAPI plugin and support was removed in version 45
2015-10-30 09:10:12 +10:00
amaitland
bfe9fe63d9
Upgrade to CEF 3.2454.1344
2015-10-30 07:47:43 +10:00
illfang
ccedf79114
bind root objects created during the OnProcessMessageReceived upon the context creation triggered by the evaluation of JS.
...
00c926a4cc
#1354
2015-10-28 20:32:58 +09:00
illfang
0ddfd1cb21
added a flag indicating if the root object has already been bound
2015-10-28 20:32:12 +09:00
amaitland
00c926a4cc
Proposed solution to #1354
...
The problem seems to be that OnContextCreated is never called as the page has no javascript code on it.
Keep the same callbackRegistry logic for kJavascriptCallbackRequest as without a context there cannot be a callback
For kEvaluateJavascriptRequest we now manually create a callback registry for the frame if required. Once the script is executed OnContextCreated is called, the wrapper creation is ignored and the context should be released as per normal in OnContextReleased
2015-10-26 18:23:10 +10:00
Alex Maitland
99ef5399e8
Merge pull request #1356 from illfang/feature-sanitized-and-verbose-js-exception-strings
...
Feature sanitized and verbose js exception strings
2015-10-26 11:47:19 +10:00
illfang
cd93572a1e
create JS exceptions for callbacks and eval js using string utils, removed check for exception as contained in string utils
2015-10-23 16:40:42 +09:00
illfang
4fb963fc71
do not create two objects in the promis creaton function
2015-10-22 14:17:07 +09:00
amaitland
a3dff183dc
Upgrade to 3.2454.1342
2015-10-21 20:07:13 +10:00
amaitland
03f73b5960
Conditionally create response for kEvaluateJavascriptRequest and kJavascriptCallbackRequest (was only going to create the kEvaluateJavascriptResponse before
2015-10-19 13:40:36 +10:00
amaitland
17b7f0ced1
BindingTest - Braces on new lines
...
Fix CefAppUnmanagedWrapper code formatting
Slightly more descriptive error message when frame not found
2015-10-19 13:24:24 +10:00
Greg Martin
a64f25193f
This should fix #1336 (IJavascriptCallback.ExecuteAsync never returns when callback no longer exists) and likely fixes as-of-yet undiscovered related callback problems.
...
The code previously in CefAppUnmanagedWrapper.cpp's OnProcessMessageReceived method did not check for a nullptr callbackWrapper resulting in an exception.
Also note that previously the success and reponse variables were not initialized by default which I believe to have been a mistake after following all of the if..else code paths (most importantly some error conditions would never be returned back).
I added a new test to BindingTest.html entitled "Test Disposed Callback" which makes the same 1.5 second delayed callback that "Test Callback" does, but then immediately navigate the page to www.google.com. Without the fix in CefAppUnmanagedWrapper.cpp the browser's renderer process will die in about 10 seconds.
2015-10-19 13:24:24 +10:00
amaitland
9aacd3cc61
VS2012 has problem with the auto keyboard in for each loops
2015-10-18 08:18:33 +10:00
amaitland
8f61fc618b
Update to 3.2454.1333
...
https://bitbucket.org/chromiumembedded/cef/commits/a594fe2ca4bcb1a7b7bccd814fbd6a382a4dc825
Resolves #1337
2015-10-15 21:12:16 +10:00
amaitland
4dbc90333d
CefAppWrapper no longer inherits from DisposableResource
...
No need for CefRenderProcess to keep a list of browsers any more, one less thing to cleanup
2015-10-15 21:00:27 +10:00
illfang
91976cddba
create a root object even if no objects have been registered but only bind the root object if objects are available
2015-10-15 11:35:41 +09:00
amaitland
4ba7e95012
Formatting - else if on new line
...
Minor change to message of callback registry is not available
2015-10-13 18:55:04 +10:00
illfang
e9675a2c3e
ensure destroyed root objects are not accessed in cef app unmanaged warpper message handling
2015-10-13 13:00:39 +09:00
illfang
c5215bbbca
do not delete shared callback registry in js method handler destructor, added comment to clarify the missing destructor call
2015-10-13 12:59:51 +09:00
amaitland
2f3d9f868f
Make js callbacks and async methods Frame aware - add FrameId so they can be executed on a specific frame
...
Resolves a problem where multiple contexts are created and only the first one is dealt with properly (each frame has it's own V8 context)
2015-10-11 20:41:17 +10:00
amaitland
5869b20068
Change CefBrowserWrapper Dictionary to ConcurrentDictionary
2015-10-11 19:50:55 +10:00