Erguotou
7c074394d6
Pass down camelCaseJavascriptNames to subobjects
...
For consistency, pass down camelCaseJavascriptNames flag to
sub-objects so that naming remain the same.
2015-04-25 11:48:58 +10:00
Erguotou
9eb61f5945
Added a few KnownTypes to support value type arrays
2015-04-25 11:48:58 +10:00
amaitland
c66b28a645
Merge remote-tracking branch 'remotes/upstream/master' into cef/2272
2015-04-21 11:54:56 +10:00
amaitland
1d2b5fa55c
Up the WCF MaxRecieveMessageSize as per discussion in https://github.com/cefsharp/CefSharp/issues/958#issuecomment-94410222
...
It's now 128MB in line with the Chromium IPC
2015-04-20 21:37:24 +10:00
amaitland
39c8194b49
rename lowerCaseJavascriptNames to camelCaseJavascriptNames - more accurate description of what's going on
2015-04-16 16:31:54 +10:00
amaitland
4b3ee2a9a0
Merge remote-tracking branch 'remotes/upstream/master' into cef/2272
2015-04-10 16:22:57 +10:00
amaitland
7621cbb745
Remove IsLoadingChangedEventArgs
2015-04-08 11:05:12 +10:00
amaitland
e470bcf50c
Rename LowercaseFirst tp GetJavascriptName - more descriptive naming
2015-04-07 20:42:26 +10:00
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
Exinferis
8581c3f03b
Added parameter for lowercasing JS functions (or not)
2015-04-02 15:37:12 +02:00
rassilon
48c2550011
Fix #918 by adding extension method to cast from IntPtr to Int32
2015-03-31 10:26:09 -04: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
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
746e51432a
Remove WCF Surrogate and inject browser host
2015-03-11 14:46:36 +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
David Serfozo
9775b438bd
dispose fix in CefBrowserWrapper, JavascriptCallback modified to inherit from DisposableResource
2015-03-09 23:57:25 +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
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
amaitland
aada02c356
Add ScreenInfo class to represent Width/Height/ScaleFactor
2015-03-02 10:40:01 +10:00
Bjarte Skogøy
f8c242e88d
Use device scale factor to support higher DPI on WPF
2015-02-25 09:31:58 +01:00
amaitland
bfec2c95b1
Add IBitmapFactory so that different Rendering methods can be plugged in (potentially a .Net 4.5 InteropBitmapInfo can be created)
...
Move into Rendering namespace
2015-01-29 15:25:08 +10:00
amaitland
524f5cb213
Merge branch 'enhancement/writeablebitmap' into improvements/more-wpf-rendering-tweaks
2015-01-29 11:54:12 +10:00
amaitland
0c45119f17
Remove SetBufferHelper method and move code inline so some minor tweaks can be performed like only setting variables when required (Small things I know though important in such a performance critical section)
2015-01-29 11:50:13 +10:00
amaitland
953d917226
Add JSB support for Methods with optional params
2015-01-22 12:54:38 +10:00
amaitland
bf4983b52d
Resolve null pointer exception - Functions/Methods that return null or have no return value were through an exception
2015-01-19 11:45:24 +10:00
amaitland
899e991a0a
First attempt at WritableBitmapInfo implementation - uses dirty rects to determine which part of the screen to update
2015-01-16 14:02:08 +10:00
amaitland
c2242e5158
Create another layer of abstraction around BitmapInfo - Allow for future possibility of implementing WritableBitmap in WPF
2015-01-16 12:22:40 +10:00
amaitland
ff678b5ae2
Remove duplicate JavascriptObject analysis code - add additional params
2015-01-09 13:33:24 +10:00
amaitland
6f5730e5c8
Rename Analyse method to AnalyseObjectForBinding
...
Add additional comment about it's functionality
2015-01-09 12:26:27 +10:00
amaitland
94eff90411
Revert JavascriptKnownTypesRegistra changes - go back to using just knowntype attribute as it's no longer required.
2015-01-09 12:22:10 +10:00
amaitland
224cbcda9f
First step towards getting JSB functions to return complex types - uses JavascriptOjbect/JavascriptProperty classes to represent the metadata transferred over WCF
...
(Sending the complex type it's self is difficult as the type is not known by both client and server)
2015-01-09 12:18:56 +10:00
amaitland
901a70ac00
Automatically register function return types with WCF (only solves have the equation as the subprocess has no idea during deserialization)
2015-01-08 15:43:56 +10:00
amaitland
0a3ef1d0e2
Add service ServiceKnownTypes for object[] and Dictionary<string, object> so that basic arrays can be passed two and from functions
2015-01-06 20:42:52 +10:00
amaitland
abbb3145c8
Merge remote-tracking branch 'remotes/upstream/cef/2171' into improvements/2171
2014-12-22 23:06:23 +10:00
amaitland
9ce2c07888
Reanme SetNavState to SetLoadingStateChange (Internal method rename, to keep inline with Cef API, no external naming changes so shouldn't affect user, just makes it a little easier when looking at the Cef documentation)
2014-12-22 16:48:54 +10:00
amaitland
c7fe363126
Renamed CanReload param on SetNavState to isLoading as that's the value passed through from Cef
...
Add IsLoading property to NavStateChangedEventArgs (inverse of CanReload)
Whilst `CanReload` is the inverse of `IsLoading` I think from a support point of view it's easier to have both as users are looking for some sort of loading flag
2014-12-22 16:44:05 +10:00
amaitland
85c44f7754
Move BytesPerPixel to BitmapInfo - simplifies code
2014-12-16 23:41:11 +10:00
amaitland
520349d643
Make BitmapInfo abstract and implement a strongly typed version in WPF and OffScreen
2014-12-16 23:19:21 +10:00
amaitland
da6e95e898
Remove redundant SetBitmap method from IRenderWebBrowser
2014-12-16 19:44:31 +10:00
amaitland
4dd0328712
Remove redundant ClearBitmap method from IRenderWebBrowser
2014-12-16 19:42:49 +10:00
amaitland
fc96909e0c
Move User32 from CefSharp to CefSharp.WinForms
2014-11-27 20:28:44 +10:00
amaitland
1eeb9d2b7f
Merge branch 'focused' of https://github.com/Octopus-ITSM/CefSharp
2014-11-27 20:24:51 +10:00