Commit Graph

1628 Commits

Author SHA1 Message Date
amaitland aa2006f352 Remove note about crashing as bug is now fixed 2015-04-17 13:07:04 +10:00
amaitland 3551faa364 Move ToHeaderMap method into TypeConversion as it's generic and used in two places 2015-04-17 13:07:04 +10:00
amaitland 5cc55b50ad Switch SchemeHandlerResponse to using a more traditional destructor and calling delete on the object (I think it explains the behaviour better when reading the code) 2015-04-17 13:07:04 +10:00
amaitland bbbd2393f6 Explicitly release ISchemeHandlerFactory in SchemeHandlerFactoryWrapper 2015-04-17 13:07:04 +10:00
amaitland 16e785a723 Remove OnRequestCompletedHandler action wrapper and expose the method directly on SchemeHandlerResponse 2015-04-17 13:07:03 +10:00
amaitland 94fa0f0e48 Inline SchemeHandlerFactoryWrapper::Create (for such a small .cpp file it didn't make a lot of sense) 2015-04-17 13:07:03 +10:00
amaitland 6480706ced Rename SchemeHandlerWrapper to ResourceHandlerWrapper 2015-04-17 13:07:03 +10:00
amaitland 9044359bb4 Explicitly specify class access modifiers 2015-04-17 13:06:24 +10:00
rassilon 06e26f132d GetZoomLevel is required to be called from the UI thread, but it has a failure mode of just returning 0. Here's a cheesy temporary solution to adding a full on GetZoomLevelAsync method that returns a .Net task. 2015-04-16 15:15:01 -04:00
pushplay ca443502dd Add BrowserSubProcess dependency checking. 2015-04-16 10:57:16 -07:00
amaitland bdabd3a91c Remove usage of TaskFactory - will look at implementing later 2015-04-10 16:33:12 +10:00
Alex Maitland 5c40ff0af3 Merge pull request #933 from amaitland/experiment/taskscheduler
Add Experiment TaskScheduler
2015-04-10 16:30:46 +10:00
amaitland 4b3ee2a9a0 Merge remote-tracking branch 'remotes/upstream/master' into cef/2272 2015-04-10 16:22:57 +10:00
Alex Maitland d7525280d8 Merge pull request #923 from exinferis/master
Added parameter for lowercasing JS functions (or not)
2015-04-10 15:44:21 +10:00
Alex Maitland 69ebc20c03 Merge pull request #929 from amaitland/feature/OnContextInitialized
Add OnContextInitialized Delegate
2015-04-10 15:41:19 +10:00
Alex Maitland 6030977ed8 Merge pull request #931 from amaitland/cleanup/isloading
Rename NavStateChanged to LoadingStateChanged
2015-04-10 08:11:31 +10:00
amaitland 76e28b1b16 Switch lparam to CastToInt32() extension method 2015-04-09 19:23:28 +10:00
amaitland 9d7b65ccfc Add TaskFactory that corresponds to the UI Thread
Execute SetZoomLevel on UI Thread
2015-04-09 11:30:02 +10:00
amaitland 484a2de0a2 Move CefTaskScheduler from CefSharp.BrowserSubprocess.Core to CefSharp.Core
Add ITaskScheduler interface to simplify the code
2015-04-09 11:25:37 +10:00
amaitland 805daee1da Modify SetZoomLevel to execute on CEF UI Thread
Ideally would replace the with `CefTaskScheduler` which currently lives in the subprocess
2015-04-09 11:22:55 +10:00
amaitland 40025e008a Fix GetPlugins xml comment 2015-04-09 10:52:32 +10:00
amaitland 8b4f1dfeff PluginVisitor Cleanup list on destructor 2015-04-09 07:46:23 +10:00
amaitland 11cd688847 Get plugins using a task wrapper around CefWebPluginInfoVisitor 2015-04-08 17:21:44 +10:00
amaitland b5ad359aea Now that OnLoadStart and OnLoadEnd simply fire event handlers remove the locking 2015-04-08 11:07:10 +10:00
amaitland 7621cbb745 Remove IsLoadingChangedEventArgs 2015-04-08 11:05:12 +10:00
amaitland d46291aa41 Merge remote-tracking branch 'remotes/upstream/master' into cef/2272 2015-04-08 08:30:25 +10:00
amaitland 295c10024e Cleanup OnContextInitialized on Cef::Shutdown 2015-04-07 21:50:34 +10:00
amaitland a3a0f15517 Add OnContextInitialized delegate (Simple .Net Action that is called after the context has been initialized) 2015-04-07 21:48:24 +10:00
amaitland 525193c102 Untabify 2015-04-07 20:30:40 +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
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
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
amaitland 171abe8ee7 Upgrade to 3.2171.2069 2015-03-27 11:54:44 +10: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 4ad11e7261 Move dependency check call into Cef.Initialize() - currently not enabled by default 2015-03-25 13:59:35 +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 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