970 Commits

Author SHA1 Message Date
Per Lundberg b0195374a9 Adjustments to make it possible to build CefSharp v37 using VS2013:
This fixes #849, by providing a "reasonably official" CefSharp build that works correctly on Windows Server 2003 R2. Windows XP is untested, please report if it works or not.

Note: This changes the prerequisite from Visual C++ 2012 Redistributable to Visual C++ **2013** redistributable.
2015-12-15 11:10:35 +02:00
Per Lundberg e7442c29d0 37.0.1 coming up. 2015-03-17 11:14:57 +02:00
amaitland f805f50544 Save the internal byte array of MemoryStream from being expanded unnecessarily as per https://github.com/cefsharp/CefSharp/pull/691#issuecomment-67116871 2014-12-16 16:19:51 +10:00
amaitland e235cf1598 Spelling mistakes 2014-12-16 12:35:03 +10:00
amaitland c6a387e592 Add LoadHtml overrides with Encoding param (default is UTF-8) 2014-12-16 10:48:16 +10:00
amaitland 85024f2fb0 Add ability to specify FromText Encoding and Preamble (without a preamble then Cef will use DefaultEncoding to render the html) 2014-12-16 10:43:44 +10:00
amaitland 44eff69334 Simplify add/update of ResourceHandler 2014-12-09 16:07:35 +10:00
amaitland 534e8a87a1 Update LoadHtml xml comment 2014-12-09 15:26:48 +10:00
amaitland b104cd7b12 Fix bug where calling RegisterHandler with the same url twice would throw and exception
All user to specify Comparer for dictionary
2014-12-09 15:16:45 +10:00
amaitland e9a7708d05 Untabify 2014-12-09 12:59:52 +10:00
amaitland 695e797f92 Add license disclaimer 2014-12-09 12:41:29 +10:00
amaitland 3e2511bb81 Add DefaultResourceHandler implementation 2014-12-09 12:37:21 +10:00
amaitland 5c50f5ea8b Split GetResourceHandler out of IRequestHandler into it's own IResourceHandler interface 2014-12-09 12:27:32 +10:00
amaitland 9d0f62f589 Code Cleanup - Add license disclaimer, fix file encoding and remove extra whitespace 2014-12-09 08:17:41 +10:00
amaitland 2f85dbb460 Add CefDragData GetFileContents stub method (need to implement CefStreamWriter wrapper before this method can be implemented) 2014-12-08 22:20:10 +10:00
amaitland aff2a76dbe Implement CefDragData ResetFileContents 2014-12-08 22:15:16 +10:00
amaitland bca7086167 Implement CefDragData AddFile 2014-12-08 22:13:39 +10:00
amaitland 44fa848682 First attempt at implementing CefDragDataWrapper which provides a clr wrapper around CefDragData 2014-12-08 22:08:38 +10:00
amaitland 6d91ca5fcf Use uint instead of Uint32 for consistency (even though they're exactly the same) 2014-12-08 20:55:23 +10:00
amaitland fc1dee29a0 Change DragOperationsMask to uint and make Every = UInt32.MaxValue 2014-12-08 20:55:23 +10:00
amaitland df4bff8343 Rename DragData properties 2014-12-08 20:55:22 +10:00
amaitland de5c3db54d Rename DragOperationsMask enum values
Apply flags attribute and implement `Every` option
2014-12-08 20:55:22 +10:00
amaitland a3972986d8 Re-add params to IDragHandler
Re-add DragOperationsMask
2014-12-08 20:55:22 +10:00
daveaton 6b3a6ddef1 Added Drag Data Class Back
Need to figure out why DataClass is not accepted
2014-12-08 20:55:22 +10:00
daveaton 9b99097f56 Removed Extra Values I could not get working. 2014-12-08 20:55:21 +10:00
daveaton 83602ace7d One small issue how to handle
Maybe I am over thinking it ... It probably should be handled like this.

http://www.eatoncode.com/shareit/2014-11-28_2031.png

but I still got an issue.
2014-12-08 20:55:21 +10:00
daveaton b0832243ad Testing Use ability
Completed DragData.cs and DragOperationsMask.cs

When you return true from OnDragEnter I was expecting to cancel all
requests  But if you Drag an image from one url to another it still does
not prevent this from happening.. more research is needed.
2014-12-08 20:55:21 +10:00
daveaton 6a7b146d5e Spacing Corrections
Spacing corrections
2014-12-08 20:55:21 +10:00
daveaton 175ed7c972 Added Missing Include and included missing get sets
The project will build now..  got to figure out what's needed for
DragData.cs and DragOperationsMask.cs
2014-12-08 20:55:21 +10:00
daveaton dd6044a497 Implement Drag Handler
Trying to learn how to Implement a feature for Dragging  Objects into
CefSharp
2014-12-08 20:55:20 +10:00
jankurianski 04e12908d8 Remove KeyTypeToManaged as implicit cast is OK. 2014-12-04 17:55:50 +11:00
jankurianski 81a2048853 Use the typed enum CefEventFlags for modifiers in keyboard events. 2014-12-04 17:16:51 +11: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
amaitland 27e3f87f7b Untabify 2014-11-26 13:35:34 +10:00
amaitland eab35e7306 Merge branch 'feature/focus-handler-ext' of https://github.com/numbersint/CefSharp 2014-11-26 13:32:40 +10:00
Alex Maitland ad4cc17f75 Merge pull request #638 from amaitland/feature/wpf-navstatechanged
Add NavStateChanged EventHandler to WPF control
2014-11-26 13:05:24 +10:00
Sylvain Hamel 492d22c8a3 Feature: Expose OnCertificateError to allow host application to decide whether or not it should continue 2014-11-25 15:51:55 -05:00
jankurianski 3bbb01c6ef Added IFocusHandler and WinForms example. 2014-11-25 22:29:35 +11:00
amaitland 8ba6b6bde5 Add NavStateChanged EventHandler to WPF control
Add NavStateChanged to IWebBrowser
Update xml comment
Add stub to Offscreen ChromiumWebBrowser
2014-11-25 21:26:40 +10:00
jankurianski 87667f2635 Pulling in amaitland:CefSharp feature/focus-handler changes 2014-11-25 21:50:42 +11:00
amaitland 907cca8b53 ResourceHandler formatting change (indentation) 2014-11-25 17:29:39 +10:00
Alex Maitland 34a1d32099 Merge pull request #629 from Jayman1305/patch-2
Update ResourceHandler.cs
2014-11-25 17:27:29 +10:00
jornh 12c064f4e0 Merge pull request #630 from amaitland/master
Slightly modified fix for #622 based on PR #626
2014-11-21 15:05:20 +01:00
Sylvain Hamel dd29410f22 Implement Focused property 2014-11-21 09:00:20 -05:00
James b57fafe38d Update ResourceHandler.cs
Added override for passing in the file ext to correctly set the correct mime type
2014-11-21 12:43:29 +08:00
Alex Maitland e28a31e04a Merge pull request #612 from bjarteskogoy/fix/bindingDictionarySize
Set reader quotas to max value. Any reason not to?
2014-11-21 11:46:19 +10:00
amaitland 06e2a1a86d Slightly modified fix for #622 based on https://github.com/cefsharp/CefSharp/pull/626 2014-11-21 11:23:33 +10:00
amaitland 37c8c861bd Close the client channel before closing the ServiceHost 2014-11-20 14:05:25 +10:00
Bjarte Skogøy f7612f59cf Set all quotas to int.MaxValue 2014-11-18 20:13:49 +01:00