Commit Graph

2231 Commits

Author SHA1 Message Date
Per Lundberg 0a2a2f19a0 Added some work towards #200. Almost working now, but for whatever reason the popup is misplaced the first time it gets opened (?). Very weird indeed. 2014-01-31 23:06:21 +02:00
Per Lundberg 4f2157691c Lots of refactorings and cleanups to make room for #200. We’re very close now; it’s just a matter of actually displaying the popup now, which should be fairly trivial, but has to be done some other day. 2014-01-31 23:06:21 +02:00
Per Lundberg 337b83309b Likewise; tabs are still evil… :) 2014-01-31 23:05:14 +02:00
Per Lundberg 042b76cc5e Started working on #200. 2014-01-31 23:05:14 +02:00
Per Lundberg 81b3071e6e #107: Cleaned out old cruft which isn’t really needed any more. 2014-01-13 09:23:07 +02:00
Per Lundberg 39968f3ead #107: If the browser control implements IWinFormsWebBrowser, let’s use it for the menu handling. 2014-01-13 09:19:44 +02:00
Per Lundberg 3c163c82b0 Slightly OCD. ;) Let’s make the #include directives sorted, shall we not. 2014-01-13 09:18:51 +02:00
Per Lundberg 48f8f78cd4 #107: Split out the IWinFormsWebBrowser into a separate header file. Can unfortunately not keep this in the proper project (i.e. CefSharp.WinForms). 2014-01-13 09:17:28 +02:00
Per Lundberg 1fd7b2a603 Space, not tab. 2014-01-13 09:05:03 +02:00
Per Lundberg 4ca000fb89 #210. The WinForms WebView isn’t an IRenderWebBrowser; that interface is solely for OSR-based controls. So let’s make it work to use IWebBrowserInternal instead. 2013-11-13 23:33:50 +02:00
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