Commit Graph

28 Commits

Author SHA1 Message Date
Gilberto Stankiewicz b0b5103100 Fix code analysis C4018 warnings (#3223)
* Replace `auto`s with `size_t`s to reduce:

```
Severity	Code	Description	Project	File	Line	Suppression State
Warning	C4018	'<': signed/unsigned mismatch	CefSharp.BrowserSubprocess.Core	c:\repos\cefsharp\cefsharp.browsersubprocess.core\serialization\jsobjectsserialization.cpp	71
```

* Fix templates
2020-08-26 19:13:13 +10:00
amaitland 0542c5138b SendProcessMessage - Remove frame/browserid from messages
Not complete or tested yet
2019-06-25 19:24:57 +10:00
amaitland 73a156fdc5 Initial version 75 upgrade and NetworkService changes
Compiles, that's about it at this point, there are major CEF breaking changes, and lots to be addressed.

Browser Process (main process)
- Removed IResourceHandlerFactory as it no longer fits with the structure that CEF provides
- New IResourceRequestHandler interface added, not plumbed in yet
- CefSettings - Add RootCachePath and ApplicationClientIdForFileScanning

BrowserSubprocess (render process)
- SendProcessMessage was moved from CefBrowser to CefFrame
- OnBrowserCreated added extraInfo param

The BrowserSubprocess changes for this upgrade should be complete
2019-06-25 19:24:57 +10:00
amaitland 8d70f83686 IMPLEMENT_REFCOUNTING template changed - Add missing semi colon
https://github.com/chromiumembedded/cef/commit/725ed88529d7542e64b9735cf0da137d8a80a8b9#diff-221201fe823e7238023e4e7f7083e26fL142
2019-04-26 06:44:18 +10:00
Chris bef5dd37c4 Maintenance - Fixed formatting, file encoding, and copyright year (#2504)
* Applied formatting

* Fixed file encoding + Updated copyright year

* Updated License

* Fixed more file encoding

* Copyright notice now shows the year the file was created
2018-09-10 10:41:13 +10:00
amaitland 7450d0d51b JSB - Remove use of CefRegisterExtension and change Promise creator to an anon function
Use CefV8Context::Eval to create the promise using an anonymous function

Attempt to resolve #2432 (though it actually seems upgrading to a newer version resolves the underlying problem)
2018-08-27 13:12:55 +10:00
amaitland 49d353bc9e JavascriptAsyncMethodHandler::Execute - Add extra logging
- Add extra logging
- Fix formatting
- Add reference to relevant github issue

Follow up to https://github.com/cefsharp/CefSharp/pull/2446
2018-07-09 20:31:15 +10:00
mtajmajer 8fb47b4761 Add nullcheck to promiseData. This is null at times; I see it when refreshing the browser in the development tools. 2018-07-09 20:16:18 +10:00
amaitland 5f3dca4d96 JavascriptAsyncMethodHandler - Obtain Promise from context on Execute
Previously the promise reference was passed into the handler, now we obtain the reference on demand
2018-05-15 16:12:46 +10:00
Chris cd934267c6 Updated copyright year and made sure it used same format everywhere (#1966) 2017-03-06 08:44:37 +10:00
amaitland 80d6a023df Upgrade to 3.2883.1539 2016-12-01 22:56:06 +10:00
amaitland bae3c28e92 Update copyright to 2016 2016-01-11 14:11:30 +10: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
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 32a9f7fe81 Only keep reference to the property/method objects long enough to bind the object
No need to store a reference to them long term
2015-09-24 19:36:47 +10:00
amaitland 9f08683669 Pass JavascriptObject in as param rather than keeping reference when calling Bind 2015-09-24 18:37:35 +10:00
amaitland e274340438 Make params const and pass by ref 2015-08-03 10:43:35 +10:00
amaitland 52f5ac5302 Formatting, make class private 2015-08-03 10:37:09 +10:00
cefsharp-ms 0333437917 fixed tabs again 2015-07-31 17:30:07 +02:00
cefsharp-ms 0a66e90f24 added destructor for JavascriptAsyncMethodHandler 2015-07-31 17:27:10 +02:00
cefsharp-ms c395f03ba2 jscallbackregistry lifecycle is managed by javascriptrootobjectwrapper, async methods too bound by javascriptrootobjectwrapper 2015-07-31 17:26:59 +02:00
cefsharp-ms c9451f160e async binding handler cleanup 2015-07-31 17:17:42 +02:00
cefsharp-ms d6c72c6433 CefBrowserWrapper forward declarations removed 2015-07-31 17:17:29 +02:00
cefsharp-ms 4523ddfaab method call message names include Async now 2015-07-31 17:17:16 +02:00
cefsharp-ms fc85d90877 added callback capability for async bound method with promises 2015-07-23 15:12:50 +02:00
cefsharp-ms a8db666642 added async bound method result callback on browser process side 2015-07-23 15:12:28 +02:00
cefsharp-ms 4ec6d1ca6e async method bindings added 2015-07-23 15:11:27 +02:00