JanEggers
|
363734e0aa
|
next step: metadata can be transported via wcf and is automatically converted to wrapper objects so we have fields to store native stuff
|
2014-05-10 17:26:57 +02:00 |
|
JanEggers
|
d7f8c8961b
|
wired method calls to reach the BrowserProcess
|
2014-05-08 22:21:06 +02:00 |
|
JanEggers
|
a040cba420
|
implement callbackfunctions
|
2014-05-08 20:16:18 +02:00 |
|
Per Lundberg
|
81e28fcdd8
|
More changes to the Subprocess after all my "interesting" refactorings. It now compiles and runs - only tested on VS2012 though, will do a minor change to ensure it works w/ other VS versions in a minute.
|
2014-04-08 20:42:08 +01:00 |
|
Per Lundberg
|
7c65a05e5c
|
...and here as well.
|
2014-04-08 18:17:47 +01:00 |
|
Per Lundberg
|
a9a016eecf
|
SubprocessProxyFactory is a better name of this one, since that more accurately describes its purpose.
|
2014-04-08 18:49:58 +02:00 |
|
Per Lundberg
|
b4891281d4
|
No need for a public constructor here; it just sends out the wrong signals.
|
2014-04-08 18:48:50 +02:00 |
|
Per Lundberg
|
1974dda75d
|
Refactored so that the whole creation of the ServiceHost is taken care of by one single method.
|
2014-04-08 17:07:44 +02:00 |
|
Per Lundberg
|
b744e88a26
|
Deleted some comments.
|
2014-04-08 17:07:22 +02:00 |
|
Per Lundberg
|
8b9fd28978
|
We don't need this debugging any more; in fact the type name being referred to doesn't even exist any longer! :)
|
2014-04-08 17:06:16 +02:00 |
|
Per Lundberg
|
12a932c713
|
Moved the KillExistingService to a more logical place in the class.
|
2014-04-08 17:04:48 +02:00 |
|
Per Lundberg
|
5b80069ba6
|
No need to throw exceptions here.
|
2014-04-05 00:10:48 +03:00 |
|
Per Lundberg
|
238d210ccd
|
Let's continue with the housekeeping, shall we. Rearranged the properties so that they are at the beginning of the class, where they logically belong.
|
2014-04-05 00:09:50 +03:00 |
|
Per Lundberg
|
bd29710111
|
Not a normal "singleton" pattern, so let's not pretend it is.
|
2014-04-05 00:07:19 +03:00 |
|
Per Lundberg
|
07943e55eb
|
Fixed the helper method to create the actual ISubprocessProxy instance and not just the channel factory (which is kind of uninteresting anyway...).
|
2014-04-05 00:05:39 +03:00 |
|
Per Lundberg
|
3d2f1e86a9
|
Sorted usings.
|
2014-04-05 00:03:33 +03:00 |
|
Per Lundberg
|
68bfbc92ea
|
And with this...
|
2014-04-04 22:51:02 +02:00 |
|
Per Lundberg
|
ecbc5ca547
|
Likewise with this one: prefer ISubprocessProxy rather than ISubProcessProxy.
|
2014-04-04 22:49:04 +02:00 |
|
Per Lundberg
|
ea5d5e2295
|
Fixed naming of the SubprocessProxySupport class. Let's go with "Subprocess" for now generally.
|
2014-04-04 22:46:54 +02:00 |
|
Per Lundberg
|
6d0e7bcb28
|
Use the CreateChannelFactory-based approach here also.
|
2014-04-04 21:22:03 +02:00 |
|
Per Lundberg
|
ee69eda415
|
Jan - I think it actually is better after all to keep everything related to the Subprocess in its own repo (i.e. the subprocess repo). That way, we can separate the concerns more elegantly (IMHO).
|
2014-04-04 21:04:37 +02:00 |
|
Per Lundberg
|
d5a34290c7
|
Killed of some of the Base suffixes. We're quite close now.
|
2014-03-21 23:17:14 +02:00 |
|
Per Lundberg
|
7569b2c494
|
Gha, more unused usings! Away with them!
|
2014-03-21 23:08:59 +02:00 |
|
JanEggers
|
56c8a50474
|
Merge remote-tracking branch 'upstream/master' into CefSharp.Core
|
2014-03-17 23:04:18 +01:00 |
|
Per Lundberg
|
8c6d63b434
|
Sorted usings is always nicer of course.
|
2014-03-15 22:10:57 +02:00 |
|
Per Lundberg
|
f597643016
|
Refactored Jan's comment about why this seemingly more complex is needed (and yes, it is really. :)
|
2014-03-15 22:07:54 +02:00 |
|
JanEggers
|
cb5a93d66e
|
reuse assembly info
|
2014-03-14 22:47:32 +01:00 |
|
JanEggers
|
52bfa60c23
|
remaining stuff that i desired to put in on changeset
|
2014-03-09 14:11:37 +01:00 |
|
JanEggers
|
08c626be7b
|
fixed javascript host address conflict
|
2014-02-24 07:49:06 +01:00 |
|
Per Lundberg
|
216a9c8e8e
|
Fixed incorrect output path for the BrowserSubprocess for x86/Release, which made it non-functional.
|
2013-11-11 10:14:04 +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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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 |
|