Commit Graph

6294 Commits

Author SHA1 Message Date
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
amaitland 6c60da63c8 Merge remote-tracking branch 'remotes/upstream/master' into cef/2272 2015-03-23 08:49:45 +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
amaitland 1d496fa692 No need to set IsActivating - bools always default to false 2015-03-18 17:49:16 +10:00
amaitland 0572ef6a25 Add isMainFrame to OnBeforeResourceLoad 2015-03-18 17:44:19 +10:00
Alex Maitland 35e8d8ed82 Merge pull request #889 from Bodekaer/IframeIssue
Passing IsMainFrame as parameter to the OnBeforeBrowse
2015-03-18 18:29:39 +11:00
dimas bc56e2f91f Adding comment for the IsMainFrame parameter 2015-03-18 15:02:10 +08:00
dimas 16bc1215ee Passing IsMainFrame as parameter to the OnBeforeBrowse 2015-03-18 13:15:25 +08:00
jankurianski 6fd0abc0d1 Use auto for longer type declarations. 2015-03-18 16:14:41 +11:00
jankurianski fc8e546aa8 Add using for System::Text 2015-03-18 16:07:41 +11:00
jankurianski b25f39c1bf Use correct string encoding in CefRequest.Body
This fixes a bug where unicode characters were not being decoded
correctly in the POST request body (e.g. U with umlaut - Ü - was being
sent as utf-8 but then incorrectly decoded using the default ASCII
codepage as Ã).
2015-03-18 14:35:19 +11:00
Alex Maitland 09e66422bb Merge pull request #885 from cefsharp/feature/added-on-title-changed-event-handler
Added a TitleChanged event handler
2015-03-18 12:56:20 +11:00
amaitland 9bb3210694 Rerun migrateToAutomaticPackageRestore.ps1 (https://github.com/owen2/AutomaticPackageRestoreMigrationScript/blob/master/migrateToAutomaticPackageRestore.ps1)
Every time I update packages it appears that `VS` adds in the targets again
2015-03-18 11:24:58 +10:00
amaitland ef21c492b6 Update CefFileDialogMode to reflect new values 2015-03-18 11:19:26 +10:00
amaitland 2df2a05be7 Update to 2272 nuget packages
Updated OnCertificateError and OnFileDialog as API changed - build now compiles
2015-03-18 11:13:49 +10:00
amaitland 4c54b12014 Remove staging.nuget.org - no longer needed as we use MyGet now 2015-03-18 10:37:50 +10:00
amaitland 14cbf5fba8 Add cef_web_plugin.h reference to Cef.h so intellisense works 2015-03-18 10:34:52 +10:00
rassilon 4cb60e6c34 Merge pull request #791 from rassilon/focus_take5
Focus improvements, take 5...
2015-03-17 09:57:46 -04:00
rassilon 8bd76e1db9 Further cleanups based on comments. 2015-03-17 09:39:40 -04:00
Per Lundberg 109bb6159a Added TitleChanged event handler. 2015-03-17 09:36:02 +02:00
Per Lundberg 702e867916 Whitespace adjustments. 2015-03-17 08:55:42 +02:00
Per Lundberg 56f050b1bf Removed superfluous braces. 2015-03-17 08:55:17 +02:00
Per Lundberg 9a1c526456 Sorted usings. 2015-03-17 08:53:11 +02:00
Alex Maitland 08e1dc421e Merge pull request #883 from Bodekaer/WpfListBoxIssue
Wpf list box issue
2015-03-16 22:30:04 +11:00