Commit Graph

13 Commits

Author SHA1 Message Date
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
Chris cd934267c6 Updated copyright year and made sure it used same format everywhere (#1966) 2017-03-06 08:44:37 +10:00
amaitland f106ab8b81 Change the remaining classes in the CefSharp.Internals namespace to private (where possible)
In general tighten up the access modifiers
2016-03-31 19:36:57 +10:00
amaitland bae3c28e92 Update copyright to 2016 2016-01-11 14:11:30 +10:00
amaitland d4dd2bfeaf Revert "Do not self-dispose CefCallbackWrapper" Reverts commit 86c72ea1eb.
No longer keep reference to the callback wrapper in ResourceHandlerWrapper, will be disposed like all the other callbacks

Changes are still related to GitHub issue #1143
2015-09-09 09:09:51 +10:00
jankurianski 86c72ea1eb Do not self-dispose CefCallbackWrapper
Because ResourceHandlerWrapper already takes care of this.  Fixes
AccessViolationException noted in #1143
2015-09-04 14:17:10 +10:00
amaitland 72b1bcab49 Add CefWrapper object to abstract some of the boiler plate stuff like ThrowIfDisposed and IsDisposed
Fix up incorrect namespaces (move to Internals)
2015-09-01 12:10:42 +10:00
amaitland 330e6b38b0 Add IsDisposed property to interface objects
Fixes #1223
2015-08-31 13:32:48 +10:00
jankurianski 338133a98d Change 'if' style for null _callback check 2015-07-23 15:52:08 +10:00
jankurianski 2fcf5b345b Use MCefRefPtr::get() to check for null reference 2015-07-23 15:48:43 +10:00
jankurianski de1a46766f Ignore callback usage after dispose rather than crashing with NullReferenceException
Users have no way to determine whether a callback has been disposed.
Resulting in the following crash if the callback is fired.  This change
silently ignores the methods.  Another approach would have been to add
an IsDisposed flag that users must check but this seems error-prone.

Exception: System.NullReferenceException
Message: 'Object reference not set to an instance of an object.'
Source: CefSharp.Core
Stacktrace:
at CefSharp.CefCallbackWrapper.Continue()
at ...
2015-07-23 13:50:12 +10:00
amaitland a31064a7f5 Change IResponse to public 2015-06-15 22:07:38 +10:00
amaitland afbed86524 First draft of what is hopefully the final rewrite of ResourceHandler/SchemeHandler
This will built but won't run as CefResponseWrapper has not yet been implemented.
2015-06-15 21:03:25 +10:00