Commit Graph

6294 Commits

Author SHA1 Message Date
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 4562b984ab Merge remote-tracking branch 'remotes/upstream/master' into cef/2171 2015-01-16 11:53:25 +10:00
ralphmayr 813d45d6f6 Fixed #743: Forward state of Ctrl, Alt and Shift keys to the managedCefBrowserAdapter 2015-01-15 12:38:47 +01:00
jornh b17807eed9 Merge pull request #742 from amaitland/update/contributingmd
Update Contributing.md
2015-01-15 07:00:54 +01:00
Alex Maitland d95c0064e3 Merge pull request #731 from binsys/cpp_files_encoding
change c++ file copyright symbol (©) encoding to work on non-english system
2015-01-15 14:53:38 +10:00
amaitland 5fccaa1062 Update template example to include testapp reference 2015-01-15 13:50:34 +10:00
amaitland 7777feadb6 Remove verification step and add additional bug report step 2015-01-15 13:47:39 +10:00
amaitland 50f0a218e7 Fix typo 2015-01-15 12:46:45 +10:00
amaitland 9022ec423c Update template generation 2015-01-15 12:25:55 +10:00
amaitland 600150aba1 Remove duplicate reference item 2015-01-15 12:12:41 +10:00
amaitland 250cea3b01 Add CefSharp vs Cef section 2015-01-15 12:11:51 +10:00
amaitland 6dba7d5469 Continue rewrite of CONTRIBUTING.md
Used other github projects as reference
https://github.com/meteor/meteor/wiki/Contributing-to-Meteor#reporting-a-bug-in-meteor
https://github.com/foosel/OctoPrint/wiki/How-to-file-a-bug-report
https://github.com/TryGhost/Ghost/blob/master/CONTRIBUTING.md
2015-01-15 11:20:15 +10:00
amaitland eded174711 Add example disable gpu command line args to example 2015-01-14 08:02:35 +10:00
Alex Maitland e5341cc14e Be more specific about what details are required when creating an issue, also some basic DO's and DONT's 2015-01-11 18:08:48 +10:00
amaitland fce5f06362 Remove unused resultString param, CefJSDialogCallback->Continue is used for multiple callbacks, in this case only the success param is required.
Change isReload to a normal param (was an out param), so the user can be notified correctly
Add some rough documentation to IJsDialogHandlerAdd some additional comments to JsDialogHandler for demonstrating code to users

Add JsDialogHandler that implements the default behavior
Assign in the WinForms example

Fix typo in IRequestHandler
2015-01-11 14:05:10 +10:00
amaitland a4cdd5b04a Merge branch 'master' of https://github.com/daveaton/UpStream_CefSharp 2015-01-11 13:17:22 +10:00
BinSys 5af020afcc change c++ file copyright symbol (©) from 0xa9(cp1252) to 0xc2 0xa9(cp65001 with bom) ,
now work on non-english system().
2015-01-10 02:40:23 +08:00
BinSys 3f954dfb0b Revert "change c++ file copyright symbol (©) from 0xa9(cp1252) to 0xc2 0xa9(cp65001 without bom) ,"
This reverts commit defd040dcc.
2015-01-10 02:22:19 +08:00
amaitland c0cdae9ee3 Improve LoadHtml comment, include a valid example of the url param 2015-01-09 20:59:31 +10:00
amaitland ff678b5ae2 Remove duplicate JavascriptObject analysis code - add additional params 2015-01-09 13:33:24 +10:00
amaitland 8d3ae5e663 Move JavascriptObject to V8Value mapping from TypeUtils into JavascriptMethodHandler - may be possible to add support for function calls 2015-01-09 13:28:55 +10:00
amaitland e68b11a5db Add simple test case of bound.getSubObject().simpleProperty to BindingTest.html 2015-01-09 12:35:03 +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 44d00d79a0 Cleanup some of the Cookie code in Cef.h - remove redundant casts, simplify if statements 2015-01-08 13:34:32 +10:00
amaitland ff634e299b Replace IWebPluginInfo with WebPluginInfo
Instead of wrapping the Cef object, just read it's properties through a helper method
2015-01-08 13:00:49 +10:00
amaitland 57dad250f7 Add TypeConversion class as a common place for simple static methods used to convert to/from cef objects 2015-01-08 11:22:54 +10:00
amaitland 6ef03d4cc5 Simplify CefWebPluginInfoWrapper - no need to keep reference, simply read values into properties (Reduces risk of memory leaks if user keeps reference to IWebPluginInfo for some reason) 2015-01-08 10:44:11 +10:00
amaitland c3aff2f803 Resharper inspired cleanup - remove redundant using 2015-01-08 10:39:40 +10:00
Bodekaer 03ed74c021 Added build.bat script for slightly more convenient NuGet compiling 2015-01-07 16:13:49 +01:00
Bodekaer 3407a91d1d Added drag-drop support, to allow dragging files, text and links into the browser (WPF-only currently) 2015-01-07 16:10:56 +01:00
BinSys defd040dcc change c++ file copyright symbol (©) from 0xa9(cp1252) to 0xc2 0xa9(cp65001 without bom) ,
now work on non-english system().
2015-01-06 22:23:30 +08:00
daveaton 82affbebb6 Changed Small case and spaces changes 2015-01-06 05:12:19 -06:00
daveaton 3202167a61 Revert "Small case and space changes"
This reverts commit 74a2f1a13a.
2015-01-06 05:08:19 -06:00
amaitland be5d3db546 Add ComplexParamObject method to BoundObject - test for passing a complex object from javascript (which is converted into a dictionary)
Example usage
bound.complexParamObject({ 'color': 'purple' });
2015-01-06 20:47:30 +10:00
amaitland fc4cde6e78 Improve JavascriptMethodHandler error handling - return clr exception to Cef 2015-01-06 20:44:19 +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
daveaton 74a2f1a13a Small case and space changes 2015-01-06 04:39:58 -06:00
Alex Maitland 8a0ca202d9 Merge pull request #707 from amaitland/improvements/2171
2171 Cleanup/Improvements
2015-01-06 17:04:39 +10:00
amaitland 7aa1c262b1 Update two methods in the WPF and WinForms examples to use async/await 2015-01-06 16:50:32 +10:00
amaitland fc65192e42 Upgrade example projects to .Net 4.5 (as discussed in #381) 2015-01-06 16:46:09 +10:00
amaitland 742ef8ee32 Add Alt->F shortcut key to WinForms example 2015-01-06 16:21:26 +10:00
amaitland ba7dcdc1a6 Merge remote-tracking branch 'remotes/upstream/master' into improvements/2171 2015-01-06 16:14:21 +10:00
amaitland 5ee13cc54f Make MainBitmapInfo and PopupBitmapInfo private
Make DisposeBitmapInfo private
2015-01-06 16:10:38 +10:00
amaitland 82d202e831 Merge SetBuffer method into OnPaint 2015-01-06 16:07:16 +10:00
amaitland 18837ae5e8 Move variable to inner scope
Remove TODO comment
2015-01-06 12:06:23 +10:00
amaitland 1ba06eddad Remove redundant stdToString and replace with StringUtils call
Minor code cleanup to TypeUtils
2015-01-06 12:04:49 +10:00
amaitland 251ae9a8ec IntPtr is a struct so pass by value rather than reference 2014-12-30 16:29:07 +10:00