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
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
d767a94d06
Added special quirk to make it compilable on x86 also (not on x64 only. :-)
2013-10-23 22:44:33 +03:00
Per Lundberg
6c526e384c
Put the compiled .exe file in the proper place, where it can be picked up from elsewhere.
2013-10-23 22:44:08 +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
Per Lundberg
362c6fd3e3
Harmonized the targets so that all projects compile for either x64 or x86. No "AnyCPU" projects for the time being.
2013-10-23 22:38:03 +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
b7b08b12e5
Added some of the missing (unmanaged) .lib files. "Only" four of them remaining, VS2010 in Release/x86, Debug/x86, Release/x64 and Debug/x64...
2013-10-23 22:13:33 +03: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
ac57adfdda
This one is a bit stupid… I can't understand why we were not already doing this? :) It left dead processes dangling...
2013-09-24 22:00:35 +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
41853fed41
Disable the JS proxy for now (needed for #159 ), since it causes strange behavior with CefSharp 1547.
2013-09-24 21:47:20 +02:00