2804 Commits

Author SHA1 Message Date
amaitland 03e35009c4 Upgrade build.ps1 to use 3.2171.2069 (will have to rebuild 39.0.0 packages) v39.0.0 2015-04-08 10:13:34 +10:00
amaitland d42267636e Add app.manifest to WPF Example - enable dpi aware setting 2015-04-08 10:12:10 +10:00
Alex Maitland a434d3ca6a Merge pull request #900 from amaitland/feature/dependencychecker
Implement DependencyChecker
2015-04-02 10:08:49 +10:00
Alex Maitland da63ffe95e Remove stackoverflow reference
Remove stackoverflow reference - nobody is actively monitoring questions. Better to have one single place of reference for now.
2015-04-01 20:38:57 +10:00
Bill 403ef7f531 Merge pull request #920 from rassilon/issue918
Fix #918 by adding extension method to cast from IntPtr to Int32
2015-03-31 18:57:53 -04:00
rassilon 48c2550011 Fix #918 by adding extension method to cast from IntPtr to Int32 2015-03-31 10:26:09 -04:00
Alex Maitland d516b6784f Merge pull request #911 from amaitland/cleanup/onbeforeresourceload
Cleanup OnBeforeResourceLoad
2015-03-30 14:25:57 +10:00
amaitland fe59df92ac Cleanup OnBeforeResourceLoad - Remove IResponse and Response classes, to perform Redirect simply set the IRequest.Url 2015-03-28 19:56:26 +10:00
Alex Maitland 201053bcdf Merge pull request #908 from amaitland/cef/2171.2069
Upgrade to 3.2171.2069
2015-03-27 15:23:27 +10:00
amaitland 171abe8ee7 Upgrade to 3.2171.2069 2015-03-27 11:54:44 +10:00
rassilon 40057ee0c0 Merge pull request #904 from rassilon/AddSourceUrlToOnBeforePopup
Fix #884 by adding sourceUrl parameter to OnBeforePopup .Net callback.
2015-03-25 22:49:18 -04:00
rassilon 37547667de Paste in some more CEF docs. 2015-03-25 22:46:15 -04:00
rassilon fafc0ad2d5 Fix #884 by adding sourceUrl parameter to OnBeforePopup .Net callback. 2015-03-25 22:30:24 -04:00
amaitland 189c6c07fd Add ForceWebPluginShutdown 2015-03-26 07:31:31 +10:00
amaitland ccbaebd7c2 Update AssertAllDependenciesPresent reference 2015-03-25 14:51:17 +10:00
amaitland ea2ad1036a Assert not Asset - fix typo 2015-03-25 14:27:32 +10:00
amaitland 4ad11e7261 Move dependency check call into Cef.Initialize() - currently not enabled by default 2015-03-25 13:59:35 +10:00
amaitland 3a47bbbedd Added IsWindowsXp special case (It's not the best code in the world, don't think it's worth spending too much time on though)
Use Path.Combine instead of manual string concat
2015-03-25 13:53:47 +10:00
amaitland 475067bdfa Reorder method params (move packLoadingDisabled to second param) 2015-03-25 12:11:15 +10:00
amaitland b12f131e9f Re-add LocalesPackFile default param value (moved to end of function) 2015-03-25 12:09:57 +10:00
amaitland 76ea44930a Add packLoadingDisabled check 2015-03-25 12:06:50 +10:00
amaitland be41287497 Refactor to pass params directly in from CefSettings - make life easier then implementing checks in Cef.Initialize() 2015-03-25 12:05:11 +10:00
amaitland fea3d8f6af Allow setting cefSettings->resources_dir_path
'The fully qualified path for the resources directory. If this value is empty the cef.pak and/or devtools_resources.pak files must be located in the module directory'
2015-03-25 11:56:39 +10:00
amaitland a9762bbb5f Add optional bool for checking dependencies 2015-03-25 11:48:12 +10:00
amaitland 36ea815fe2 First attempt at splitting out into required/optional dependencies
Based on https://github.com/cefsharp/cef-binary/blob/master/README.txt
2015-03-25 11:46:09 +10:00
amaitland a188b862c4 Refactor code so now AssetAllDependenciesPresent throws an exception if dependencies missing
Error message needs some work
2015-03-25 11:34:35 +10:00
amaitland ce3274032b Fix typo in CefExample 2015-03-25 11:20:00 +10:00
amaitland a17b145968 Expand Locale support to check CefSettings for user specified values
For now code is in `CefExample` will eventually be moved into `Cef.Initialize()`
2015-03-25 11:19:44 +10:00
amaitland 2b8923813c Allow for full locales path 2015-03-25 11:12:58 +10:00
amaitland 591b47775b Move localePackFile param with default value to first overload of CheckDependencies
Plan is to use `CefSettings.Locale` and `CefSettings.LocalesDirPath` to infer the users local preferences
2015-03-25 11:08:02 +10:00
amaitland 8a7b9e2adb Untabify 2015-03-24 11:05:38 +10:00
amaitland 0eda96841c Add rough draft of DependencyChecker - loops through list of all Cef/CefSharp dependencies 2015-03-24 10:58:43 +10:00
amaitland 144dc46ff6 Add WindowlessRenderingEnabled to CefSettings
http://magpcss.org/ceforum/apidocs3/projects/%28default%29/_cef_settings_t.html#windowless_rendering_enabled

Interestingly enough the documentation says this should be set to true when using OSR.
`In order to create windowless browsers the CefSettings.windowless_rendering_enabled value must be set to true`
http://magpcss.org/ceforum/apidocs3/projects/%28default%29/CefWindowInfo.html#SetAsWindowless%28cef_window_handle_t,bool%29

Further investigation required.
2015-03-23 10:08:36 +10:00
amaitland 61dd781731 Cleanup enum mapping - directly cast between cef_log_severity_t <-> CefSharp::LogSeverity 2015-03-23 09:45:03 +10:00
amaitland 59ea971dc9 Prefix private variables with _ (c++) 2015-03-23 09:37:29 +10:00
amaitland 2493f8c0c4 Information added about change made for #862 and #804
Added comment as suggested in https://github.com/cefsharp/CefSharp/commit/387101ee79b730d593d701b88e5fc521381fd964#commitcomment-10315749
2015-03-23 09:29:05 +10:00
rassilon ff7314339e Merge pull request #892 from rassilon/DontChangeAddressForDevTools
Don't change the .Address property when (among other things) you display...
2015-03-21 10:21:57 -04:00
rassilon 460cca4e5c Use IsPopup instead. 2015-03-21 10:02:30 -04:00
rassilon 40f45b4183 Don't change the .Address property when (among other things) you display DevTools. 2015-03-20 14:02:17 -04:00
amaitland 387101ee79 Check BrowserProcessServiceHost is in a Created State before opening 2015-03-19 15:46:11 +10:00
Alex Maitland be3432efce Merge pull request #887 from amaitland/feature/jsb-callback
Javascript Callbacks - Take 2
2015-03-19 12:55:18 +11:00
amaitland ddb725ef53 Add very rough description of JavascriptCallbackProxy - should be enough to give at least the basic idea of how it fits together 2015-03-19 11:25:46 +10:00
amaitland f4b3a462b9 Merge remote-tracking branch 'remotes/upstream/master' into feature/jsb-callback 2015-03-19 11:20:48 +10:00
amaitland a7b8e1eb76 Remove MouseButtonType as it's not required - enum values match those of Cef, so just pass in as int and cast when required
(Should be much more efficient than switch statement)
2015-03-19 10:58:18 +10:00
Alex Maitland 06a797ac87 Merge pull request #890 from rassilon/MakeDefaultFocusHandlerPublic
Make DefaultFocusHandler public class
2015-03-19 08:40:57 +11:00
rassilon 1dd0fd3c35 Given focus fixes take 5, DefaultFocusHandler probably needs to be public instead of internal so that you can subclass and reuse the tricky default OnGotFocus implementation.
Add doc comment warnings about the danagers of overriding IFocusHandler.OnGotFocus for WinForm ChromiumWebBrowsers.
2015-03-18 11:54:20 -04:00
amaitland d316486426 Expose Dispatcher via IWpfWebBrowser interface - could be useful for Handler implementations 2015-03-18 21:34:20 +10:00
Jan Kurianski 2b88af6c10 Merge pull request #888 from numbersint/fixes/cefrequest-support-charset
Use correct string encoding in CefRequest.Body
2015-03-18 22:17:05 +11:00
amaitland 1cca925eba Resharper inspired cleanup of TabulationDemoForm class 2015-03-18 17:53:41 +10:00
amaitland a503365073 Indent case statement
Remove unused using statements
2015-03-18 17:50:40 +10:00