Commit Graph

4985 Commits

Author SHA1 Message Date
amaitland 0f48c637db Execute jsb callback in a Task 2015-03-12 11:48:42 +10:00
amaitland 886e303893 As we don't have control over the lifecycle of the Surrogate or EndPointBehaviour I think it's easier just to pass around a WeakReference 2015-03-12 11:32:35 +10:00
amaitland 1e7e2210ad Rename JavascriptCallbackDto to JavascriptCallback 2015-03-12 11:29:14 +10:00
amaitland c8d9272508 Rename JavascriptCallback to JavascriptCallbackProxy 2015-03-12 11:26:46 +10:00
amaitland a5688b4510 Revert "Remove WCF Surrogate and inject browser host"
This reverts commit 746e51432a.
2015-03-12 11:08:01 +10:00
amaitland 9c77f20c39 Add example LoadError handler to WinForms example 2015-03-12 10:53:39 +10:00
amaitland 746e51432a Remove WCF Surrogate and inject browser host 2015-03-11 14:46:36 +10:00
amaitland c2b1f48c7c Start to make method naming contestant - methods are now Register and Deregister for javascript callback 2015-03-11 13:52:32 +10:00
amaitland 6f5875a7b0 Convert to using ConcurrentDictionary 2015-03-11 13:23:00 +10:00
amaitland 15f0a20b6d Add ConvertFromCef to else statement so it's only called when not using a function 2015-03-11 12:09:52 +10:00
amaitland a09767b72c More descriptive naming of WeakReference
Also check if channel state is Opened before trying to release callback
2015-03-11 11:57:26 +10:00
amaitland e614bcac54 Expose DisposableResource to WCF (makr with [DataContract]) 2015-03-11 11:49:46 +10:00
amaitland c9d65caa49 Reformat BindingTest.html 2015-03-11 11:47:06 +10:00
amaitland 4ce268e320 Merge branch 'jscallback' of https://github.com/arsher/CefSharp into feature/jsb-callback 2015-03-11 11:41:20 +10:00
amaitland fa31882137 Untabify xml comments of newly added methods 2015-03-10 22:54:40 +10:00
amaitland 545c63aacc Expose CefAddWebPluginDirectory, CefAddWebPluginPath, CefRefreshWebPlugins methods 2015-03-10 22:52:45 +10:00
David Serfozo 9775b438bd dispose fix in CefBrowserWrapper, JavascriptCallback modified to inherit from DisposableResource 2015-03-09 23:57:25 +01:00
David Serfozo 011e94fe6b removed auto keyword for managed type deduction 2015-03-09 23:35:17 +01:00
David Serfozo d9541ab463 added explicit access modifiers where missing,fixed vs2012 build issue,changed field names according to conventions 2015-03-09 20:23:13 +01:00
David Serfozo 4468961b5e reverted formatting issues, removed entry from DotSettings and fixed copyright notice 2015-03-09 20:19:01 +01:00
David Serfozo 462c4c0f98 weakreference for browserprocessservicehost in javascriptcallback 2015-03-08 22:33:44 +01:00
David Serfozo 609b13a758 few tests for js callback 2015-03-08 16:23:49 +01:00
David Serfozo 8eb889e2a3 added conversion code for CefV8Value::IsFunction 2015-03-08 16:23:14 +01:00
David Serfozo c950e7a0c8 set callbackregistry on jsobjectwrapper 2015-03-08 16:22:31 +01:00
David Serfozo 0644cf1c18 added actual callback code on browserprocess side and IJavascriptCallback 2015-03-08 16:15:41 +01:00
David Serfozo 98ba30bf5d added wcf operations to do javascript callbacks 2015-03-08 13:22:56 +01:00
David Serfozo 754bf3f913 added browserprocess side of javascriptcallback and wcf classes for conversion 2015-03-08 13:18:20 +01:00
David Serfozo bb4fe467b8 added JavascriptCallbackRegistry and wired up 2015-03-08 13:11:09 +01:00
David Serfozo 75d8a206e6 moved JavascriptRootObjectWrapper impl to separate cpp 2015-03-08 12:57:51 +01:00
David Serfozo 0bdbd304ae moved JavascriptMethodHandler impl to a separate cpp file 2015-03-08 12:56:36 +01:00
David Serfozo ece611f0df moved CefBrowserWrapper impl into a separate cpp file 2015-03-08 12:42:05 +01:00
amaitland 649c497387 Remove nuget msbuild target from vc++ projects 2015-03-06 18:00:00 +10:00
amaitland f39fd0c2b3 Fix compiler warnings - minor typo's in xml comments 2015-03-06 17:55:02 +10:00
rassilon cc8e51dced Don't .Activate ChromiumWebBrowser during activation if the ChromiumWebBrowser was the .ActiveControl before the app was deactivated.
This will allow WinForm's .ActiveControl logic to occur properly.
Update address bar logic to deal with BackColor being in yellow whenever the control has focus.
2015-03-06 02:31:05 -05:00
amaitland 1e78265aeb Remove redundant namespace qualifier 2015-03-06 06:23:18 +10:00
amaitland 602ba52ad5 Change Load behaviour to only call LoadUrl if the browser has been initialized, otherwise set Address which in an ideal world will be passed into the constructor.
Ignoring threading issues for now (if required user should wait for IsBrowserInitializedChanged event to fire and then call Load if experiencing timing issues, must invoke Load on the UI thread in IsBrowserInitializedChanged).
2015-03-06 06:21:27 +10:00
amaitland a7946d53d0 Change to latest nuget restore method using https://github.com/owen2/AutomaticPackageRestoreMigrationScript/blob/master/migrateToAutomaticPackageRestore.ps1 2015-03-05 22:11:54 +10:00
Alex Maitland a7f4c41c21 Update Readme.md to include Changelog reference.
Add changelog reference.
2015-03-05 18:34:29 +10:00
Alex Maitland 6fca20b632 Merge pull request #857 from rassilon/CleanupResourceHandler
Rename IResourceHandler to IResourceHandlerFactory.
2015-03-05 18:26:58 +10:00
Jan Kurianski 87651fece8 Merge pull request #863 from Jayman1305/patch-3
Update ResourceHandler.cs
2015-03-05 18:24:53 +11:00
James 44fa52cc96 Update ResourceHandler.cs
Missing mime type for svg added
2015-03-05 14:57:27 +08:00
Alex Maitland ea5f935fa9 Update Nuget Readme.txt
Add link to changelog.
2015-03-05 09:24:08 +10:00
rassilon 340d671b1f Move WM_ACTIVATE logging from MovingListener to Interceptor. 2015-03-03 02:07:28 -05:00
rassilon 1ef60f366e Update to master/HEAD
Merge remote-tracking branch 'origin/master' into focus_take5

Conflicts:
	CefSharp.WinForms/ChromiumWebBrowser.cs
2015-03-03 02:00:04 -05:00
rassilon 9ebe4fcdc2 Hopefully the last of the IDE overzealous comment renaming. 2015-03-03 01:44:19 -05:00
rassilon 6d8f8866b0 Rename files to new name. 2015-03-03 00:19:52 -05:00
rassilon be06762512 Correct over zealous renames in comments. 2015-03-03 00:15:44 -05:00
Alex Maitland bba05fc41f Merge pull request #856 from rassilon/AllocateResourceHandlerHeaders
Enhance StreamAdapter to more effeciently deal with MemoryStream
2015-03-03 15:12:04 +10:00
rassilon a04d3c6eb8 Rename IResourceHandler to IResourceHandlerFactory. 2015-03-02 23:08:04 -05:00
rassilon 74544d7f73 Use the full constructor in order to allow headers to be useful. 2015-03-02 22:51:21 -05:00