Commit Graph

6179 Commits

Author SHA1 Message Date
amaitland 64906605ce Pass lowerCaseJavascriptNames as param to LowercaseFirst method - reduces code duplication 2015-04-07 20:41:35 +10:00
amaitland ce12ff0a04 Remove unnecessary method overloads, the lowerCaseJavascriptNames param wasn't being propagated recursively.
Default TryCallMethod to using LowercaseFirst
2015-04-07 20:36:19 +10:00
amaitland 525193c102 Untabify 2015-04-07 20:30:40 +10:00
amaitland 89b02583e8 Remove method overloads and use optional param instead 2015-04-07 20:30:15 +10:00
Exinferis 8581c3f03b Added parameter for lowercasing JS functions (or not) 2015-04-02 15:37:12 +02:00
Alex Maitland a434d3ca6a Merge pull request #900 from amaitland/feature/dependencychecker
Implement DependencyChecker
2015-04-02 10:08:49 +10:00
Steve van Treeck fc6c2af770 Added scaling to the width and height of the Wpf Popup 2015-04-01 08:31:06 -05: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
amaitland 07cf5b2985 Update appveyor.yml to include new 2272 feed and change version to 41 2015-03-31 13:04:12 +10:00
amaitland 222cb49ae8 Update version numbers from 39 to 41 for assemblies and manifests 2015-03-31 12:55:00 +10:00
amaitland 152c767d58 CEF_REVISION is now CEF_VERSION (upstream changed when Cef migrated from svn to git) 2015-03-31 12:54:41 +10:00
amaitland 9f67f6c525 Update to 3.2272.25 (new git based naming) 2015-03-31 12:37:57 +10:00
amaitland 2dd49f8a2c Merge remote-tracking branch 'remotes/upstream/master' into cef/2272 2015-03-31 12:08:49 +10:00
Steve van Treeck d294ec6ed4 updated 2015-03-30 15:51:57 -05:00
Steve van Treeck c9f9fb303f Updated the Popup settings
This avoids win 8/8.1 menu alignment settings
2015-03-30 09:47:34 -05:00
amaitland c73866eb79 SetIsLoading is unreliable according to CEF documentation http://magpcss.org/ceforum/apidocs3/projects/%28default%29/CefLoadHandler.html#OnLoadStart%28CefRefPtr%3CCefBrowser%3E,CefRefPtr%3CCefFrame%3E%29
`For notification of overall browser load status use OnLoadingStateChange instead.`

So migrating `WPF` property to `OnLoadingStateChange`
2015-03-30 15:34:07 +10: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 569fa88978 Merge remote-tracking branch 'remotes/upstream/master' into cef/2272 2015-03-26 10:51:27 +10: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
amaitland 6c60da63c8 Merge remote-tracking branch 'remotes/upstream/master' into cef/2272 2015-03-23 08:49:45 +10:00