Commit Graph

6294 Commits

Author SHA1 Message Date
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 105b800dd9 Whitespace fix. 2013-11-07 23:40:52 +01:00
Per Lundberg 1fed5d62a6 #159: Added DelegateCommand<T>, since we need it for the Run buttons that will let us run our Javascript code. 2013-11-07 23:40:04 +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 d6284f4d88 Moved the OutputDebugString P/Invoke signature to a separate “Kernel32” class. 2013-11-06 22:20:12 +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 b6b43fd797 A futile attempt to try and get debugging of the subprocess working. It doesn't seem so easy to get Visual Studio to accept this one, unfortunately. 2013-10-28 00:10:49 +02:00
Per Lundberg 9af82ca3a7 More work on #159. Quite far from getting it working. We cannot really use the CefBrowser object on the "wrong" thread, even though we are in the render process. Time to roll up our sleeves and start doing some CefPostTask() work I think... 2013-10-28 00:10:13 +02:00
Per Lundberg 44d92316ab Added logging of the startup command line, which can be seen with e.g. DebugView. 2013-10-27 17:35:45 +02:00
Per Lundberg 87d561616c Set up a horrible hack, inspired by http://stackoverflow.com/questions/12640878/force-visual-studio-to-rebuild-dependent-projects, to be able to "just press F5" and run the WPF Example. 2013-10-27 17:32:59 +02:00
Per Lundberg 241d93d129 Let's try and get #159 working. I had to comment out this part (which was also highly non-functional...) earlier because it caused stability problems, since CEF starts up more than 1 child process sometimes (which caused problems). I think we might have to distinguish between different process types here, which is why we start fiddling around with the arguments. Perhaps there are other, better ways to detect the current process type though. 2013-10-27 13:22:09 +02:00
Per Lundberg 0db35592fe Added a nice little Home button, which does what you would expect it to. 2013-10-27 12:34:57 +02:00
Per Lundberg 1e06907f2d Start up in maximized mode by default. 2013-10-27 10:58:16 +02:00
Per Lundberg 154a2d7308 Reformatted comment. 2013-10-27 10:55:00 +02:00
Per Lundberg 526ce2c275 Don't need to set the IsStandard flag any more, since it's on by default. (I felt this is a better default than the other way around.) 2013-10-27 10:54:50 +02:00
Per Lundberg f299441e00 Whitespace fix. 2013-10-27 10:54:20 +02:00
Per Lundberg 352467dbdc Changed the name of the custom scheme to "custom" again, in an attempt to put something useful in the "host" portion of the URI. 2013-10-27 10:53:59 +02:00
Per Lundberg b07deda22e Started some of the fun work on the "home" page, based heavily on Twitter Bootstrap's "general usage" page (which is liberally licenses, to our benefit). Still a lot of work to be done, and the unfinished parts are obviously hard to document, but it's a good start. I think we could also publish this up using GitHub Pages eventually. 2013-10-27 10:53:17 +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 32f07202e3 #160. No longer relevant; we now have post-build actions set up which do most everything magically. 2013-10-26 00:01:10 +03: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 ced81b33d8 #160. Gha, should of course never have committed this one. 2013-10-25 23:56:39 +03:00
Per Lundberg e4120c44ee Further refinements to our wonderful ignore file. 2013-10-25 23:53:27 +03:00
Per Lundberg 68546ba2f4 #138 and #160. Apparently, not all target/platform combinations were set up correctly. The SubProcess now compiles on Release/x64 also. 2013-10-25 23:52:54 +03:00
Per Lundberg 886b811bdc #138. Sad but true, the subprocess couldn't compile with VS2010, so we had to resort to some really, really ugly code. :( I think we should drop VS2010 support some day. It forces us to write more ugly code than otherwise. 2013-10-25 23:49:07 +03:00
Per Lundberg f4d9534c10 Updated ignore list to better match our current needs. 2013-10-25 23:39:16 +03:00
Per Lundberg c1ac30accd Added more files needed for the completion of #160. 2013-10-25 23:38:19 +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 dc525b6e88 #160. I thought I already did this? When in x64/Release mode, compile everything for x64, and include everything in the build. 2013-10-25 23:30:54 +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 7b95fdc9b1 #160. Added a couple of .lib files which have been compiled up with VS2010. Will add the x64 ones also, but I want to get sure they work first. Seems to be some .vcxproj files which need tweaking also... 2013-10-25 23:28:42 +03:00
Per Lundberg 052ee539f6 #160. I had missed these files, which are needed to be able to run CefSharp 3 on Win32. 2013-10-25 23:24:24 +03:00
Per Lundberg ce41617ae4 #138. Removed explicit PlatformToolset setups, since CefSharp.props does it for us. I think the project was previously uncompilable with VS2010. 2013-10-25 23:22:35 +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 86dcca64ee Must use /SUBSYSTEM:Windows rather than Console for Release mode, since that's how the main() function has been written to operate. 2013-10-24 08:38:52 +03:00
Per Lundberg 83643a628c Must place the subprocess .exe in the right place, so it can get picked up by the Wpf.Example post-build stuff. 2013-10-24 08:38:24 +03:00
Per Lundberg d8c6254459 Must strong-name sign this for Release/Win32 also. 2013-10-24 08:35:57 +03:00