Commit Graph

  • 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. Per Lundberg 2013-11-13 23:33:50 +02:00
  • 60bd676def Removed unused usings. Per Lundberg 2013-11-13 23:32:55 +02:00
  • 8a6c83fa2f Got rid of stuff which isn’t implemented. We can add it later if/when needed. Per Lundberg 2013-11-13 23:32:44 +02:00
  • da81a98443 Moved the PropertyChangedExtensionMethods class, since it will be used from the WinForms example also. Per Lundberg 2013-11-13 22:56:07 +02:00
  • bb18af844c Minor cleanup. Per Lundberg 2013-11-13 22:52:50 +02:00
  • c522329b9b #210 Let’s kill of a bit of stuff which doesn’t really work anyway. Per Lundberg 2013-11-13 18:06:22 +02:00
  • 53d7e1c5bc #210 Need to add a null check here. Per Lundberg 2013-11-13 18:04:03 +02:00
  • fd89e8aa39 No need to instantiate an ExamplePresenter at all, actually. Per Lundberg 2013-11-13 18:03:48 +02:00
  • de21e5df40 #210. Let’s kill (well, comment out in this case) some more code. I think this will go away entirely in the long run. Per Lundberg 2013-11-13 18:03:18 +02:00
  • e140f3b6a2 #210 The IExampleView concept is b0rken and can be dismissed entirely. There’s no real point in trying to write classes which work in both WPF and WinForms, since it degrades the platforms too much (especially WPF). We’re better of implementing these in ways which are native for WPF and Windows Forms respectively. Per Lundberg 2013-11-13 18:02:13 +02:00
  • bb7c9f5605 #210 Renamed the Browser class BrowserForm instead, since it is a Form. Per Lundberg 2013-11-13 18:01:10 +02:00
  • f06ab5bd82 Ah. There’s nothing more awesome than being able to delete a bunch of old code. :) Per Lundberg 2013-11-13 17:51:53 +02:00
  • 70dd2ea3cc #210 Apparently, I had only renamed the project; the assembly name and the namespace was still wrong. Per Lundberg 2013-11-13 17:49:40 +02:00
  • 9413212828 Trivial cleanups. Per Lundberg 2013-11-13 17:41:28 +02:00
  • d93ff6230b Work towards #137. v3.29.0-pre.0 Per Lundberg 2013-11-12 12:02:20 +02:00
  • b121f932bd Update WebView.cpp Z.Shen 2013-11-11 21:32:52 +08:00
  • b20b0d20b4 Update WebView.cpp Z.Shen 2013-11-11 21:31:34 +08:00
  • dee5526b0e Update WebView.cpp Z.Shen 2013-11-11 21:30:35 +08:00
  • a808bf89ae Update WebView.cpp Z.Shen 2013-11-11 21:29:40 +08:00
  • c3e35ee9c6 Update WebView.cpp Z.Shen 2013-11-11 21:28:16 +08:00
  • c6f001cdc1 Updated to a newer version of NuGet. Per Lundberg 2013-11-11 10:25:46 +02:00
  • c1cd5712f6 Fixed output folder to be something slightly more sensible (so that Win32 and x64 are more in line with each other). Per Lundberg 2013-11-11 10:25:17 +02:00
  • 216a9c8e8e Fixed incorrect output path for the BrowserSubprocess for x86/Release, which made it non-functional. Per Lundberg 2013-11-11 10:14:04 +02:00
  • 312123623e handle chinese ime input Z.Shen 2013-11-11 14:06:49 +08:00
  • 39d091b593 handle chinese ime input text Z.Shen 2013-11-11 14:05:46 +08:00
  • d0198065c6 #210. Let’s make this one maximized also by default. Per Lundberg 2013-11-11 00:04:30 +02:00
  • abecd21fc9 #210. Trivial ReSharpenings. Per Lundberg 2013-11-11 00:02:37 +02:00
  • a1a139d2ad #210. Added a quite important TODO. Per Lundberg 2013-11-11 00:01:53 +02:00
  • 5d675a4492 …so we can rename this project to its proper name. (#210) Per Lundberg 2013-11-10 23:59:51 +02:00
  • 667a9a5491 #210. DEAD CODE IS EVIL - it must die, die, die. :) Per Lundberg 2013-11-10 23:57:37 +02:00
  • f879b8b27d #210. Cleanups in the spirit of ReSharper. The AboutBox class could need even more TLC actually… Per Lundberg 2013-11-10 23:54:40 +02:00
  • 15b351cda6 Harmonized a bunch of AssemblyInfos, and also made the copyrights a bit clearer. Per Lundberg 2013-11-10 23:54:08 +02:00
  • 604ea187b1 As requested in #210, added the “automagic copying” that has been requested, to improve the “F5 experience”. Per Lundberg 2013-11-10 23:39:00 +02:00
  • 68a975400b Fixes to get #210 compiling, on my latest renamings and refactorings. Per Lundberg 2013-11-10 23:36:11 +02:00
  • c75a956377 Well, let’s accept the fact that VS2013 wants to have this here. :) It will probably safeguard from people trying to use VS2010 without SP1, which they shouldn’t be doing anyway… Per Lundberg 2013-11-10 23:34:12 +02:00
  • 9bf08959dd Fixes to get #210 compiling better in terms of x64 (ie. #160). Per Lundberg 2013-11-10 23:33:41 +02:00
  • 6b9aeba39f Merge branch 'CefSharp3' of https://github.com/uowzd01/CefSharp into uowzd01-CefSharp3 Per Lundberg 2013-11-10 23:23:07 +02:00
  • 4c958cdfcb Fixed a much better example for the eval/exec JS stuff. Closes #209. Per Lundberg 2013-11-10 23:16:29 +02:00
  • 30564e54b1 #209. Let’s add some nice HTML documentation about this also, shall we not? Per Lundberg 2013-11-09 00:18:16 +02:00
  • 726bcd3814 #209. Let’s try to avoid the “everything-is-glued-together” style of UI… Per Lundberg 2013-11-08 22:51:14 +01:00
  • cedbbc4394 #209. Fixed the JS execution UI to be a bit more reasonable, at least. Per Lundberg 2013-11-08 22:49:47 +01:00
  • 4df9ef32c6 Let’s move the backing fields closer to the actual properties which exposes them. Per Lundberg 2013-11-08 22:10:53 +01:00
  • 1c4dcc1a31 #209. Added exception handling for the evaluate/execute JS stuff. Per Lundberg 2013-11-08 08:11:53 +01:00
  • 85a014a7c2 #209. You don’t need these droids. Move along. Per Lundberg 2013-11-08 08:11:09 +01:00
  • 2f489fd246 Added trick to make debugging the subprocess a tad simpler. Per Lundberg 2013-11-08 07:12:25 +01:00
  • 9fdb3fd1f2 Added a WinForm project to support WinForm for CefSharp3 uowzd01 2013-11-08 16:13:13 +11:00
  • 577c78108f #209. Added a UI for these parts (simple JavaScript execution, optionally synchronous). Per Lundberg 2013-11-08 00:39:41 +01:00
  • 22fac75268 #209. Let’s make it a bit more apparent that we are doing stuff asynchronously. Per Lundberg 2013-11-08 00:13:38 +01:00
  • 93637f5a9e #209. Can there be anything more fun than deleting old, no longer used code? I don’t think so. :) Per Lundberg 2013-11-07 23:59:50 +01:00
  • 105b800dd9 Whitespace fix. Per Lundberg 2013-11-07 23:40:52 +01:00
  • 1fed5d62a6 #159: Added DelegateCommand<T>, since we need it for the Run buttons that will let us run our Javascript code. Per Lundberg 2013-11-07 23:40:04 +01:00
  • c8436aa639 Merge pull request #208 from cefsharp/CefSharp3-managed-subprocess Per Lundberg 2013-11-06 22:08:52 -08:00
  • 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… Per Lundberg 2013-11-06 23:21:59 +01:00
  • 07c3c0c3e3 Lots of work towards #159. Per Lundberg 2013-11-06 22:52:18 +01:00
  • d6284f4d88 Moved the OutputDebugString P/Invoke signature to a separate “Kernel32” class. Per Lundberg 2013-11-06 22:20:12 +01:00
  • 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. Per Lundberg 2013-10-31 00:06:36 +02:00
  • 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. Per Lundberg 2013-10-30 23:11:15 +02:00
  • 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. Per Lundberg 2013-10-30 22:28:14 +02:00
  • d73dd94228 fix IME input problem shen6041 2013-10-30 23:04:14 +08:00
  • d2beffaa94 The ToNative() method has been slightly renamed, so must update the usage here. Per Lundberg 2013-10-29 22:50:32 +02:00
  • 1e53952b9f Added SchemeHandlerResponse.CloseStream, to have SchemeHandlerWrapper close the response stream once it has read all data. Per Rovegard 2013-10-13 12:33:26 +02:00
  • 68be774bf2 SchemeHandlerWrapper bug fix: Must return false from ReadResponse when response is complete. Per Rovegard 2013-10-13 12:24:04 +02:00
  • 85f8e797f0 Added SchemeHandlerResponse.ContentLength. Per Rovegard 2013-10-13 09:57:54 +02:00
  • 2cb5b447a0 Added SchemeHandlerResponse.RedirectUrl. Per Rovegard 2013-10-13 09:57:35 +02:00
  • 602a326ef3 [Forward-port of 39373ffa72] Added SchemeHandlerResponse.StatusCode property. Per Rovegard 2013-10-13 09:34:31 +02:00
  • f59f02f558 Merge pull request #184 from provegard/response-options Per Lundberg 2013-10-29 13:40:01 -07:00
  • 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. Per Lundberg 2013-10-29 22:29:52 +02:00
  • 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#. Per Lundberg 2013-10-29 20:21:33 +02:00
  • 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. Per Lundberg 2013-10-28 00:10:49 +02:00
  • 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... Per Lundberg 2013-10-28 00:10:13 +02:00
  • 44d92316ab Added logging of the startup command line, which can be seen with e.g. DebugView. Per Lundberg 2013-10-27 17:35:45 +02:00
  • 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. Per Lundberg 2013-10-27 17:32:59 +02:00
  • 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. Per Lundberg 2013-10-27 13:22:09 +02:00
  • 0db35592fe Added a nice little Home button, which does what you would expect it to. Per Lundberg 2013-10-27 12:34:57 +02:00
  • 1e06907f2d Start up in maximized mode by default. Per Lundberg 2013-10-27 10:58:16 +02:00
  • 154a2d7308 Reformatted comment. Per Lundberg 2013-10-27 10:55:00 +02:00
  • 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.) Per Lundberg 2013-10-27 10:54:50 +02:00
  • f299441e00 Whitespace fix. Per Lundberg 2013-10-27 10:54:20 +02:00
  • 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. Per Lundberg 2013-10-27 10:53:59 +02:00
  • 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. Per Lundberg 2013-10-27 10:53:17 +02:00
  • 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". Per Lundberg 2013-10-27 10:44:18 +02:00
  • 32f07202e3 #160. No longer relevant; we now have post-build actions set up which do most everything magically. Per Lundberg 2013-10-26 00:01:10 +03:00
  • 51b778aacd Further fixes for #160. Release/Win32 and Release/x64 should now compile better with VS2010. Per Lundberg 2013-10-25 23:57:05 +03:00
  • ced81b33d8 #160. Gha, should of course never have committed this one. Per Lundberg 2013-10-25 23:56:39 +03:00
  • e4120c44ee Further refinements to our wonderful ignore file. Per Lundberg 2013-10-25 23:53:27 +03:00
  • 68546ba2f4 #138 and #160. Apparently, not all target/platform combinations were set up correctly. The SubProcess now compiles on Release/x64 also. Per Lundberg 2013-10-25 23:52:54 +03:00
  • 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. Per Lundberg 2013-10-25 23:49:07 +03:00
  • f4d9534c10 Updated ignore list to better match our current needs. Per Lundberg 2013-10-25 23:39:16 +03:00
  • c1ac30accd Added more files needed for the completion of #160. Per Lundberg 2013-10-25 23:38:19 +03:00
  • bcf19fc372 More work on #160, kind of (getting all targets & configurations compilable). Per Lundberg 2013-10-25 23:34:10 +03:00
  • dc525b6e88 #160. I thought I already did this? When in x64/Release mode, compile everything for x64, and include everything in the build. Per Lundberg 2013-10-25 23:30:54 +03:00
  • 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. Per Lundberg 2013-10-25 23:29:50 +03:00
  • 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... Per Lundberg 2013-10-25 23:28:42 +03:00
  • 052ee539f6 #160. I had missed these files, which are needed to be able to run CefSharp 3 on Win32. Per Lundberg 2013-10-25 23:24:24 +03:00
  • ce41617ae4 #138. Removed explicit PlatformToolset setups, since CefSharp.props does it for us. I think the project was previously uncompilable with VS2010. Per Lundberg 2013-10-25 23:22:35 +03:00
  • d704c99a14 Merge pull request #192 from rastating/CefSharp3 Per Lundberg 2013-10-24 10:08:41 -07:00
  • 86dcca64ee Must use /SUBSYSTEM:Windows rather than Console for Release mode, since that's how the main() function has been written to operate. Per Lundberg 2013-10-24 08:38:52 +03:00
  • 83643a628c Must place the subprocess .exe in the right place, so it can get picked up by the Wpf.Example post-build stuff. Per Lundberg 2013-10-24 08:38:24 +03:00
  • d8c6254459 Must strong-name sign this for Release/Win32 also. Per Lundberg 2013-10-24 08:35:57 +03:00
  • 5ecb4f2c5d Updates to make the project (more) compilable on Release/Win32. Per Lundberg 2013-10-24 08:35:40 +03:00