Commit Graph

3711 Commits

Author SHA1 Message Date
illfang 1f601c9beb replaced tabs for spaces in test html files 2015-10-09 17:56:17 +09:00
amaitland d1ba723bd5 Add CefSharpSettings.WcfTimeout - allow user to specify custom timeout when closing the WCF channel host
Can set to TimeSpan.Zero to Abort the channel (close without timeout)
2015-10-08 22:42:37 +10:00
amaitland efb841fdca Add CefSharpSettings.ShutdownOnExit - all the user to disable the inbuilt call to Cef.Shutdown
(Also needs to set shutdownOnProcessExit:false when calling Cef.Initialize, or the ParentProcessExitHandler will be called to Shutdown Cef)
2015-10-08 22:37:14 +10:00
Alex Maitland ac4df2e7c5 Merge pull request #1310 from illfang/quickfix-build-script-redist-version-upgrade
Upgrade build.ps1 to reference cef.redist 3.2454.1326
2015-10-02 13:44:43 +10:00
illfang 35de8bc137 quickfix for the upgraded default redist version of the build script (3.2454.1317 -> 3.2454.1326)
cefsharp/CefSharp#1306
2015-10-02 12:21:37 +09:00
amaitland c2b712f06c Update to CEF 3.2454.1326
Remove IRequestHandler.OnBeforePluginLoad (was moved on the upstream API, will need to be re-added)
Fixes #1306
2015-10-01 20:21:21 +10:00
amaitland 8f2dbcbe91 Remove stray quotes 2015-09-30 08:30:03 +10:00
Alex Maitland 5c95498799 Merge pull request #1303 from amaitland/cleanup/vcpp
Fix VC++ Include mess
2015-09-29 16:40:34 +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
Alex Maitland d95083ae4e Merge pull request #1284 from amaitland/bug/popupjsb
Add support for JSB in Popups
2015-09-29 08:16:13 +10:00
Alex Maitland 2b80c2a823 Merge pull request #1300 from amaitland/feature/OnResourceResponse
Add IRequestHandler.OnResourceResponse
2015-09-29 08:07:04 +10:00
amaitland d9c3569bd7 Add IRequestHandler.OnResourceResponse 2015-09-29 08:03:54 +10:00
amaitland 73df171a22 Add example of setting Referer in OnBeforeResourceLoad 2015-09-29 06:51:38 +10:00
amaitland 9a7f427c29 Simplify WPF example opening of test Url's
(Should be very easy to add new Url's now)
2015-09-28 19:07:43 +10:00
Alex Maitland 2f82452fa2 Merge pull request #1282 from amaitland/feature/geocallback
Add GetGeolocationAsync Implementation
2015-09-28 07:21:37 +10:00
amaitland d161cefa6c Merge remote-tracking branch 'remotes/upstream/master' into feature/geocallback 2015-09-28 07:21:14 +10:00
amaitland 2153c51d15 Add PostData null checks to examples
Add basic ajax post example for custom scheme handler test page/handler
2015-09-25 11:47:10 +10:00
amaitland 5e2546067b Change CefRequestWrapper to return null when PostData is null; 2015-09-25 11:47:09 +10:00
amaitland 77796eb375 CefPdfPrintCallbackWrapper was not included in vcxproj 2015-09-25 07:45:39 +10:00
amaitland cb989648cb Keep a WeakReference to IBrowserAdapter instead of IBrowser and lookup the browser by it's Id for callbacks 2015-09-24 21:00:53 +10:00
amaitland 8bba47d383 Add TODO about callbacks being executed in the context of a popup 2015-09-24 20:24:16 +10:00
amaitland 8a8da5b35a Async JSB now working in popups
Still have the issue of callbacks not working as expect, for some reason it can't find the context
2015-09-24 20:08:15 +10:00
amaitland 10ebd0d8cd Remove unused MethodInvocation constructor 2015-09-24 19:56:01 +10:00
amaitland a93e9e51e5 Only send kJavascriptRootObjectRequest when main browser is created (OnRenderViewReady)
Remove IsPopup check from async binding
2015-09-24 19:50:48 +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
Alex Maitland a6fa598bac Update README.md
Move CefSharp1 details into their own section
Reorder a few parts
Add contributing.md reference int he hopes that people will actually read it.
2015-09-24 19:12:26 +10:00
amaitland 73c3e515e6 Remove JavascriptCallbackWrapper.cpp - move methods into header (super simple class doesn't need the extra overhead of a cpp file) 2015-09-24 19:00:26 +10:00
amaitland 80c629e58b Fix small build error - had to do a full rebuild before compiler showed a problem 2015-09-24 18:51:07 +10:00
amaitland 83f5ae94fa Add popup to open BindingTest.html 2015-09-24 18:48:53 +10:00
amaitland dcf4eb46c2 Implement temp workaround for #1203 - enable process-per-tab by default 2015-09-24 18:46:31 +10:00
amaitland b236d7711c Restructure code so JavascriptRootObject's are stored and can be used across multiple CefBrowserWrapper instances (popups in this context)
Code is now very much dependant on using --process-per-tab for this structure to work
2015-09-24 18:44:30 +10:00
amaitland 9f08683669 Pass JavascriptObject in as param rather than keeping reference when calling Bind 2015-09-24 18:37:35 +10:00
Alex Maitland aed2e29582 Merge pull request #1283 from Haraguroicha/master
Update cef.sdk.profs import to use SolutionDir
2015-09-23 17:51:11 +10:00
Haraguroicha 8a725bcd7b let cef.sdk reference from SolutionDir\packages not project relative parent 2015-09-23 12:27:51 +08:00
amaitland f766d0d15b Fix mistake in build.ps1
(change vs2012 to vs2013)
2015-09-23 09:18:35 +10:00
amaitland db7147ed3e Upgrade VS environment variable in appveyor.yml
(Not sure it's used as our custom build script takes care of version selection)
2015-09-23 09:16:38 +10:00
amaitland 78dbdcd8ee Update CI build to 45
Update another 43 reference to 43 in Home.html
2015-09-23 09:11:36 +10:00
amaitland c4f99dad7f Add rough GetGeolocationAsync implementation
Not tested yet
2015-09-22 12:47:03 +10:00
amaitland 86c3fc6edb Add Cef.EnableHighDPISupport - wrapper around CefEnableHighDPISupport 2015-09-20 19:15:53 +10:00
amaitland 1843486050 Rename CefSharpPdfPrintSettings to PdfPrintSettings (inconsistent naming)
Add xml documentation to PdfPrintSettings
Change return type from Task to Task<bool> (exceptions are expensive and unnecessary)
Fix small bug in assigning HeaderFooterTitle and HeaderFooterUrl (values were switched)
Allow PrintToPdfAsync to accept nullptr for settings (use defaults)
Update xml documentation in various instances for PrintToPdfAsync
2015-09-20 18:43:06 +10:00
David Serfozo 6ecb0fc129 PrintToPdf API changed to use Tasks instead of callbacks 2015-09-19 13:28:52 +02:00
David Serfozo 8e8edf80f3 simplified PrintToPDF in CefBrowserHostWrapper 2015-09-19 13:06:08 +02:00
David Serfozo 5b7ed651a3 removed unnecessary dependency 2015-09-19 13:02:06 +02:00
David Serfozo 021f6eb715 added printtopdf example 2015-09-19 12:33:50 +02:00
David Serfozo ebd4cb26ab added PrintToPdf extension methods 2015-09-19 12:26:26 +02:00
David Serfozo fc03b24abf added printtopdf implementation 2015-09-19 11:02:32 +02:00
David Serfozo e6338ce7e6 added printtopdf to browserhost interface 2015-09-19 10:53:46 +02:00
amaitland 1a3583aca8 Add some basic doco to ICompletionCallback 2015-09-18 17:21:30 +10:00
amaitland 9a7ca5eda0 Rename IComplectionHandler to ICompletionCallback (matches CefComplectionCallback naming)
Should be the final breaking changes before the 43.0.0 release
2015-09-18 17:21:30 +10:00
amaitland 00b782e993 A very quick attempt to improve some of the Interface documentation before the official 43.0.0 release 2015-09-18 17:21:30 +10:00