Commit Graph

571 Commits

Author SHA1 Message Date
Per Lundberg 8a6c83fa2f Got rid of stuff which isn’t implemented. We can add it later if/when needed. 2013-11-13 23:32:44 +02:00
Per Lundberg 70dd2ea3cc #210 Apparently, I had only renamed the project; the assembly name and the namespace was still wrong. 2013-11-13 17:49:40 +02:00
Per Lundberg c1cd5712f6 Fixed output folder to be something slightly more sensible (so that Win32 and x64 are more in line with each other). 2013-11-11 10:25:17 +02:00
Per Lundberg 15b351cda6 Harmonized a bunch of AssemblyInfos, and also made the copyrights a bit clearer. 2013-11-10 23:54:08 +02:00
Per Lundberg 6b9aeba39f Merge branch 'CefSharp3' of https://github.com/uowzd01/CefSharp into uowzd01-CefSharp3 2013-11-10 23:23:07 +02:00
Per Lundberg 85a014a7c2 #209. You don’t need these droids. Move along. 2013-11-08 08:11:09 +01:00
uowzd01 9fdb3fd1f2 Added a WinForm project to support WinForm for CefSharp3 2013-11-08 16:13:13 +11:00
Per Lundberg 22fac75268 #209. Let’s make it a bit more apparent that we are doing stuff asynchronously. 2013-11-08 00:13:38 +01:00
Per Lundberg 93637f5a9e #209. Can there be anything more fun than deleting old, no longer used code? I don’t think so. :) 2013-11-07 23:59:50 +01:00
Per Lundberg c8436aa639 Merge pull request #208 from cefsharp/CefSharp3-managed-subprocess
Merged in the CefSharp3-managed-subprocess branch
2013-11-06 22:08:52 -08:00
Per Lundberg 468c51fdeb Bug fix related to #159. We cannot bind to an endpoint address already in use, so we must send in a request to terminate the endpoint if it’s already there… 2013-11-06 23:21:59 +01:00
Per Lundberg 07c3c0c3e3 Lots of work towards #159. 2013-11-06 22:52:18 +01:00
Per Lundberg 2e0a73e0d6 More heavily-WIP-style work towards #159. I wonder if we'll ever gonna get that one solved actually... Well, of course we are, but how well with it work? Anyway, time to go to bed now and so forth. 2013-10-31 00:06:36 +02:00
Per Lundberg 161a449acc CefBrowserWrapper is a bad name, since it will shortly be used by something entirely different. :) So let's rename that one to ManagedCefBrowserAdapter, which also more accurately describes its purpose. 2013-10-30 23:11:15 +02:00
Per Lundberg 64d375d556 Taking a slightly different turn here; wrapping the C API (which I had as an idea to avoid having to do a bunch of needless wrappers) seemed too awkward because of the refcounting et al... We have to go with the C++ route after all, but we will still keep the subprocess in C# since it's clearly nicer. 2013-10-30 22:28:14 +02:00
Per Lundberg d2beffaa94 The ToNative() method has been slightly renamed, so must update the usage here. 2013-10-29 22:50:32 +02:00
Per Rovegard 1e53952b9f Added SchemeHandlerResponse.CloseStream, to have SchemeHandlerWrapper close the response stream once it has read all data. 2013-10-29 22:46:45 +02:00
Per Rovegard 68be774bf2 SchemeHandlerWrapper bug fix: Must return false from ReadResponse when response is complete. 2013-10-29 22:46:40 +02:00
Per Rovegard 85f8e797f0 Added SchemeHandlerResponse.ContentLength. 2013-10-29 22:46:34 +02:00
Per Rovegard 2cb5b447a0 Added SchemeHandlerResponse.RedirectUrl. 2013-10-29 22:46:29 +02:00
Per Rovegard 602a326ef3 [Forward-port of 39373ffa72] Added SchemeHandlerResponse.StatusCode property. 2013-10-29 22:45:56 +02:00
Per Lundberg 394287cf08 WIP on #159, trying to drastically refactor the subprocess (in C#, which is debuggable and hence a HUGE plus in what we are trying to achieve...). Will also consider using the C API for CEF, since I think it actually will suit us better. 2013-10-29 22:29:52 +02:00
Per Lundberg 0f25926a84 WIP on #159. Will try to convert this now to C#, C++/CLI is such a PITA... and also, I cannot for some odd reason attach to the process with the debugger, which I hope I will be able to with C#. 2013-10-29 20:21:33 +02:00
Per Lundberg 85d39166cd Set the IsStandard flag by default, since I believe this is what you want much of the time. It's better to make it "opt-out" rather than "opt-in". 2013-10-27 10:44:18 +02:00
Per Lundberg 51b778aacd Further fixes for #160. Release/Win32 and Release/x64 should now compile better with VS2010. 2013-10-25 23:58:25 +03:00
Per Lundberg bcf19fc372 More work on #160, kind of (getting all targets & configurations compilable). 2013-10-25 23:35:38 +03:00
Per Lundberg 950685ff5b Tweaks to try and avoid #196. (Yes, the CefSharp3 branch was also affected by this.) If someone wants to backport this to CefSharp1, feel free - just give me a PR. 2013-10-25 23:29:50 +03:00
Per Lundberg d704c99a14 Merge pull request #192 from rastating/CefSharp3
Fixed process not exiting in Windows XP
2013-10-24 10:08:41 -07:00
Per Lundberg d8c6254459 Must strong-name sign this for Release/Win32 also. 2013-10-24 08:35:57 +03:00
Per Lundberg 5ecb4f2c5d Updates to make the project (more) compilable on Release/Win32. 2013-10-24 08:35:40 +03:00
Per Lundberg 0e983b02f8 Fixed the Include directories, to make the project compile (but not link yet) on Win32, Release configuration (Debug works). We're getting there, slowly but steadily... 2013-10-23 22:46:36 +03:00
Per Lundberg 19f86dfca8 Removed the Debug x64 target, since it shouldn't have been added in the first place... 2013-10-23 22:43:47 +03:00
rastating 07561bcfb0 Fixed process not exiting in Windows XP
Added a handler assignment on the first call to CefSharp::Initialize
which will ensure CEF is shutdown properly should the calling program
not manually call the shutdown method before the process exits.

This bug only seems to affect Windows XP, however I have tested on both
Windows XP and Windows 7 and with this change neither have any ghost
processes left over after the program calling CefSharp exits.

This commit fixes #80
2013-10-23 20:14:41 +01:00
Per Lundberg 7b74e21262 Important change - we need to clear the _callback if we receive a Cancel() call. I think there must be some better way to get this done, let's see if I can figure it out... 2013-10-09 22:18:20 +03:00
Per Lundberg c92d3e394f Added support for "custom schemes", albeit a bit broken at the moment because of assertions failing... 2013-10-01 21:25:07 +03:00
Per Lundberg e692f1dbec SchemeHandler.cpp is no more. 2013-09-25 09:02:58 +02:00
Per Lundberg 5663ea8fd2 Forward-ported the changes to make scheme handling async instead of synchronous, from the CefSharp1 branch. 2013-09-25 07:47:53 +02:00
Per Lundberg 8d49c6b5e4 Made Cef.Shutdown() a bit smarter (only shut down once…) and added missing XML documentation for the method at the same time. 2013-09-24 21:59:36 +02:00
Per Lundberg 240e2fdaec Added some [DebuggerStepThrough] for methods which you normally don't debug. 2013-09-24 09:59:54 +02:00
Per Lundberg d8ff9501b5 Added a Reload command and an accompanying button in the Wpf.Example. 2013-09-24 09:58:34 +02:00
Per Lundberg 346c8d53b4 This is now CefSharp 3.29.0.0, coming up eventually (probably not as a "stable" release until some more month(s) realistically speaking…). 2013-09-23 21:17:48 +02:00
Per Lundberg 805e20e4c1 Modified to be compilable for x64 (also, in addition to x86 which was already supported). 2013-09-23 21:14:55 +02:00
Per Lundberg 0df64691e5 Forward-ported the fixes for #161 to CefSharp 3. 2013-09-18 21:57:51 +03:00
Per Lundberg 632f0161f1 #159: Changed the IJavascriptProxy.EvaluateScript() method signature a bit, to try and get it working with the cross-process scenario which is a reality w/ CEF3. 2013-09-02 22:56:06 +03:00
Per Lundberg d5d3c1eccc Started working on #159. We now have a dummy (WCF) service in the subprocess, which we are able to call from the main process. The next step is to try and make it execute Javascript in the proper CefFrame. Might not be so incredibly simple, but we'll have to give it a try and see. 2013-08-28 23:01:46 +03:00
Per Lundberg 450e3df499 #138: Added a new BrowserSubprocessPath property, to be able to support the "minimal subprocess" approach suggested by the CEF FAQ. 2013-08-22 22:55:33 +03:00
Per Lundberg 51034021a2 Added (quite significant) TODO. 2013-08-05 23:19:10 +03:00
Per Lundberg c69821a1bf Added EvaluateScript() also, which fails because of the architectural changes in CEF. I have some ideas about how to approach this, but I believe we should fix #138 first. 2013-08-05 23:19:00 +03:00
Per Lundberg bddd72b0ad WaitForSingleObject() takes a DWORD as a parameter, so we might as well. 2013-08-05 23:02:08 +03:00
Per Lundberg 16750c3481 Fixed a simple ExecuteScript method in the IWebBrowser interface. 2013-08-05 22:56:04 +03:00