Commit Graph

336 Commits

Author SHA1 Message Date
amaitland 18793c68e9 Fix TypeUtils.cpp formatting - should have had braces for all if statements 2016-07-06 11:03:09 +10:00
tuxan 8a800b5bb8 formatting changes 2016-07-01 11:23:13 -04:00
tuxan 6a2ee2cd5b Overload of ConvertFromCef method removed and do some formatting corrections. 2016-07-01 11:00:57 -04:00
tuxan 2f89c530ba Added support to use object parameters with anonymous function callback inside as parameter of bound functions. 2016-06-30 18:17:39 -04:00
amaitland 84dc406c7f Upgrade to 3.2704.1432 2016-06-20 11:12:27 +10:00
amaitland 60a1e615fc Upgrade to 3.2704.1429 - Required for following changes as cef.redist targets files have changed
Update CefSharp.Common.targets so it copies the cef.redist packages
Add support for Win32 target (obviously uses x86 files)
Update CefSharp.Native.props to copy the files also for local builds
Add AnyCPU target
Add CefLoader helper class for AssemblyResolver
2016-06-17 10:35:12 +10:00
amaitland ae8e9314a4 Upgrade to 3.2704.1418
Remove $(SolutionDir) and revert to relative path (Nuget keeps changing it when we upgrade and it's annoying to manually edit those files for something that's
not required for the core project to work)o
2016-06-06 20:33:48 +10:00
amaitland 79d75315b4 Untabify 2016-05-31 08:27:58 +10:00
amaitland 4059c76bcf Add cef_logging.h include as CI server seems to be having a problem after upgrading to newer version of CEF 2016-05-30 08:59:13 +10:00
amaitland 62292e4211 NPAPI Plugin methods removed from API
cef_runnable.h has been removed
Update IJsDialogHandler.OnJSDialog - acceptLang removed from API
2016-05-30 07:57:48 +10:00
amaitland 33006a030a Update to CEF 3.2704.1415 2016-05-30 07:52:05 +10:00
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