amaitland
3423670740
WinForms/WPF/OffScreen - Dispose of BrowserSettings only if created by CefSharp framework
...
- Add OffScreen project to internals visible to list for CefSharp.Core
- Add BrowserSettings.FrameworkCreated property which can only be set through an internal constructor
- Dispose of BrowserSettings immediately after call to CreateBrowser if created by CefSharp framework
- managedCefBrowserAdapter::CreateBrowser throw exception if browserSettings already disposed
Resolves #2643
2019-03-21 20:13:02 +10:00
Chris
21e5175fc1
Core - BrowserSettings: Fixed a memory leak ( #2669 )
...
* Core - BrowserSettings: Fixed memory leak
* Core - BrowserSettings: Only delete if we created the instance
* Core - BrowserSettings: Always set pointer to null
* Update BrowserSettings.h
2019-03-05 17:55:01 +10:00
amaitland
a340ebd922
OffScreen - BrowserSettings throw exception if attempting to use Disposed instance
2019-01-09 17:26:39 +10:00
amaitland
2b905c1d01
BrowserSettings - Add command line arg xml doc comment to Javascript property
2019-01-09 14:39:24 +10:00
Alex Maitland
02e3084af3
Add Chromium Extension Support ( #2613 )
...
* Add Chromium Extension Support
Add IRequestContext.LoadExtension
Add IExtensionHandler
Add IExtension
Add example (import from cefclient) - was added to CefSharp.WinForms.Example projct
Add RequestContextExtensions - to make loading an extension slightly easier
2018-12-31 13:12:10 +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
0544428f4c
Untabify
2018-07-16 20:24:05 +10:00
amaitland
1502a06eb6
BrowserSettings/CefSettings BackgroundColor xml doc updated
...
Also added Cef.ColorSetARGB helper function
2018-07-16 20:20:13 +10:00
amaitland
9fc2f33ea8
Xml Doc improvements
...
Fix some invalid markup
Move some unmanaged constructors and implicit conversion to internal
2018-02-09 13:41:55 +10:00
amaitland
da83065ce7
Remove BrowserSettings.OffScreenTransparentBackground
...
No longer used, transparency controller through setting BackgroundColor property.
2018-02-02 15:51:21 +10:00
GrabzIt
93b08f1c12
Upgraded CEF to version 60 ( #2159 )
...
* Fixed pointer problem.
* Upgrade to CEF version 60
* Fix for invalid cookie date time
Error and stacktrace:
Year, Month, and Day parameters describe an un-representable DateTime.
at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day)
at System.DateTime..ctor(Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second, Int32 millisecond)
at CefSharp.ResourceHandlerWrapper.GetCookie(ResourceHandlerWrapper* , CefStructBase<CefCookieTraits>* cookie)
at CefSharp.ResourceHandlerWrapper.CanGetCookie(ResourceHandlerWrapper* , CefStructBase<CefCookieTraits>* cookie)
Fixed by copying the same solution found here:
https://github.com/cefsharp/CefSharp/blob/cd934267c65f494ceb9ee75995cd2a1ca0954543/CefSharp.Core/Internals/CookieVisitor.cpp
2017-11-08 13:08:59 +02:00
amaitland
789888f4c9
Merge branch 'remove-caretbrowsing-setting' of https://github.com/mtschoen/CefSharp
2017-03-13 10:26:52 +10:00
Chris
cd934267c6
Updated copyright year and made sure it used same format everywhere ( #1966 )
2017-03-06 08:44:37 +10:00
Matt Schoen
24841e73b4
Remove CaretBrowsing from IBrowserSettings to match latest CEF master cdcdfa99913a01f3617a0d25a2e2f2ed145987bd
2017-02-26 19:28:06 -08:00
amaitland
e515cc0bfa
background_color should be BackgroundColor
2017-02-02 11:21:15 +10:00
amaitland
76687cf73e
BrowserSettings add xml doc
2016-06-03 08:58:53 +10:00
amaitland
8bbfb38195
BrowserSettings - Remove duplicate virtual statement
2016-05-11 12:08:08 +10:00
amaitland
703a7beb10
Add disable javasript to BrowserSettings comment so it's easier to search for
2016-03-11 08:56:09 +10:00
amaitland
b4aaf36389
Update BrowserSettings.Javascript comment - remove command line flag reference, no such argument exists
...
https://bitbucket.org/chromiumembedded/cef/issues/1848/fix-documentation-error-no-disable#comment-26103961
2016-03-10 08:04:56 +10:00
amaitland
dd7ea823a3
Add PopupFeatures and BrowserSettings to OnBeforePopup
...
Update WinForms popup example - comment out experimental feature
Had to add interfaces to allow for wrapping of the structures (BrowserSettings and PopupFeatures)
Resolves #1586
2016-03-07 18:58:56 +10:00
amaitland
bae3c28e92
Update copyright to 2016
2016-01-11 14:11:30 +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
b9ee476e8e
Fix up some of the vc++ include mess that we had going
...
Cleanup using namespace statements as well
2015-09-29 16:26:06 +10:00
amaitland
19afbfe167
Add BrowserSettings.WindowlessFrameRate
...
Add IBrowserHost.WindowlessFrameRate
2015-09-10 15:14:37 +10:00
amaitland
2a0b7a9ed6
Add AcceptLanguageList to BrowserSettings and CefSettings
...
Resolves #1055
2015-07-22 14:32:28 +10:00
amaitland
0c031a1a3b
Split RequestContext out from BrowserSettings
2015-07-22 13:51:16 +10:00
Tommaso Ercole
a3e869b542
Add basic CefRequestContext wrapper
2015-07-21 23:51:49 +10:00
amaitland
ab72636831
Add BackgroundColor property
...
Add xml comments
2015-07-06 12:00:07 +10:00
amaitland
af92dade32
Fix type
...
Change case of JavaScript to Javascript - matches other project references
2015-07-06 11:32:46 +10:00
amaitland
8eff8d011e
Add CefState enum
...
Change BrowserSettings to use CefState instead of bool?
Remove the Allowed/Disabled prefix so names now more closely match those of CEF
Should be easier to understand as there's no double negatives now
2015-07-06 11:30:53 +10:00
amaitland
92a325b77e
Change Nullable types from ref to value (as nullable is a struct).
...
Decompiled code showed `ValueType` before and how shows the correct type
2015-07-01 22:42:24 +10:00
amaitland
5fb726117d
Move methods into body of class
2015-07-01 12:29:57 +10:00
amaitland
598937eb19
Cleanup Finalizer/Dispose for BrowserSettings and CefSettings
2015-07-01 12:29:48 +10:00
amaitland
0413c0bc6c
Merge remote-tracking branch 'remotes/upstream/master' into cef/2272
2015-05-13 09:29:07 +10:00
amaitland
e0730250fb
Directly access BrowserSettings as they're internal (extra property and wrapper seems redundant)
2015-05-12 14:35:05 +10:00
amaitland
6805c188e7
Uppercase S in OffScreen - match caseing of CefSharp.OffScreen project name
...
Use property syntax for brevity (can use short hand in ref classes)
2015-05-12 11:05:41 +10:00
jamespearce2006
118cae0c24
Use BrowserSettings instead of separate property
2015-05-11 09:07:26 +01:00
rassilon
61ce52a2a4
Merge remote-tracking branch 'origin/cef/2272' into cleanup/resourcehandler
...
Conflicts:
CefSharp.Core/SchemeHandlerFactoryWrapper.cpp
CefSharp.Core/SchemeHandlerFactoryWrapper.h
CefSharp.Core/SchemeHandlerResponse.cpp
Merge merge merge, merges are fun.
2015-04-25 03:06:21 -04:00
rassilon
7128e40fd1
It's time for copyright updates again. Yay!
...
Throw in a couple of tab containing files for good measure.
Evil tabs, evil I say.
2015-04-25 02:45:21 -04:00
amaitland
ee50034502
Reorder/Include pragma once
...
Add license to AutoLock
This is more of a generic cleanup - no time like the present
2015-04-17 13:07:08 +10:00
Bill Tutt
36478a90bb
#785 : Tiny build fix.
2015-02-03 20:11:30 -05:00
Bill Tutt
3bb569d596
#785 : Be paranoid about "delete <member>" twice during dispose/finalization and only do it once.
...
I'm not sure if this is necessary, but it looked very odd to me.
2015-02-03 20:01:43 -05:00
BinSys
5af020afcc
change c++ file copyright symbol (©) from 0xa9(cp1252) to 0xc2 0xa9(cp65001 with bom) ,
...
now work on non-english system().
2015-01-10 02:40:23 +08:00
BinSys
3f954dfb0b
Revert "change c++ file copyright symbol (©) from 0xa9(cp1252) to 0xc2 0xa9(cp65001 without bom) ,"
...
This reverts commit defd040dcc .
2015-01-10 02:22:19 +08:00
BinSys
defd040dcc
change c++ file copyright symbol (©) from 0xa9(cp1252) to 0xc2 0xa9(cp65001 without bom) ,
...
now work on non-english system().
2015-01-06 22:23:30 +08:00
Peter Rekdal Sunde
65b74684dd
nuked
2014-10-07 21:20:55 +02:00
Peter Rekdal Sunde
7cc8013739
according to https://github.com/peters/CefSharp/commit/c734580d1ad9f181d466ad7080d2308f5c6e8141#commitcomment-7839142 these two fellas have been nuked from CEF
2014-09-18 19:53:00 +02:00
Peter Rekdal Sunde
c734580d1a
disable these until we can investigate what happened to them
2014-09-18 17:46:48 +02:00
jornh
e11b602e6e
Merge branch 'BrowserSettings' of https://github.com/fraenke75/CefSharp into fraenke75-BrowserSettings
...
Resolve Author header line conflict
2014-05-13 22:48:37 +02:00
fraenke75
e4e95bbfd6
Changed JavaScriptDisabled to JavascriptDisabled
2014-04-22 16:43:30 +02:00