Commit Graph

6179 Commits

Author SHA1 Message Date
Per Lundberg aac82c3ff5 Let's skip the Error() callback for now; we can add it later if we turn out to need it. Instead, added callback methods which will be used for property getting/setting as well as method invocation. 2014-04-08 18:17:10 +01:00
Per Lundberg ecde9ef93c Added missing trailing semicolons. 2014-04-08 18:16:15 +01:00
Per Lundberg 07b25fc5d7 Jan - this one we could try and get rid of, so we have one less source code file to keep track of. 2014-04-08 19:04:09 +02:00
Per Lundberg c4e56764e5 Slightly unrelated change, but here goes: Converted the CefEventFlags class to C#. 2014-04-08 19:00:42 +02: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 caae3d87ea Added quite significant TODO comment. Jan - feel free to elaborate on this (but as always, make a PR which is very small and only fixes one specific problem in that case). 2014-04-08 17:06:54 +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 4f911c8b60 Added missing includes. Sorry @janeggers, the other code attempt was "aborted" because the flight was landing. :) So that's why the code was a bit "in the middle", not compiling and all... 2014-04-08 17:47:53 +03:00
Per Lundberg 78015cb049 Fixed wrong class name. 2014-04-08 17:47:22 +03:00
amaitland 4655401632 Fix Indentation
Fix indentation from previous commit (change from tabs to spaces)
2014-04-08 10:53:41 +10:00
jornh 82e4049429 Update WebView.cs
Duh
2014-04-08 00:40:46 +02:00
jornh bcfcbc108a Cefsharp.Common.targets: cleanup and don't hijack AfterBuild 2014-04-07 21:43:22 +02:00
jornh a35f526f31 Let's add a <licenseUrl> to packages 2014-04-06 18:40:31 +02:00
jornh 902da2210e Set the stage to pack and push 31.0.0-pre1 CefSharp NuGet for #137
- Bump version series from 3.<something> to the new 31.0.0-pre1. Note with this we don't even have a clash with unofficial version id's pushed to staging.nuget.org :-)
- Change `cef.redist` dependency version indicator to allow auto-update or install of latest & greatest in the 3.1650.1562 series
2014-04-06 14:26:52 +02:00
Per Lundberg 76872c14ca Added a silly BindingTest. None of this is really used for now. 2014-04-05 19:49:32 +03:00
Per Lundberg dcdae541ae Whoo-hoo! Moved the OnContextCreated into the CefAppWrapper (arguably the wrong place, but hey...) and started adding some silly hardwired code into it for creating a bound JS object. 2014-04-05 19:49:10 +03:00
Per Lundberg 754eb54e03 Added classes for acting as Method and Property handlers for V8. 2014-04-05 19:47:42 +03:00
jornh 2d939e6138 Update README.md
Nits and a broken link, gaah...
2014-04-05 08:56:05 +02:00
jornh 00386764be README.md now mentions MinimalExample 2014-04-05 08:42:47 +02:00
jornh d5fb665de8 README.md linkified to celebrate we have C++ < C#
According to the GitHub language stats bar (the colored banner above the code at https://GitHub.com/cefsharp/CefSharp) we recently tipped the scales into being a C# project.
2014-04-05 08:30:44 +02:00
jornh e951c2f4d7 Quick fix for WinForms WebView being broken
At the least navigate to a page on startup. Still all navigation buttons are broken like already recorded in #241 and what it points to.
2014-04-05 07:12:04 +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 86b4e605a2 Apparently, not all the renames had taken effect on the unmanaged side of the world. 2014-04-05 00:02:52 +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 126aee84d3 Added an important TODO comment. 2014-04-04 21:23:52 +02:00
Per Lundberg 6d0e7bcb28 Use the CreateChannelFactory-based approach here also. 2014-04-04 21:22:03 +02:00
Per Lundberg cc82a790d1 Let's make this more strict, so that it actually works and isn't too "relaxed", in the strictly-typed world of C#/.NET... 2014-04-04 21:20:58 +02:00
Per Lundberg c3f8d3dd7b Let's extract this out since I realized we are violating the important DRY principle. 2014-04-04 21:17:31 +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 933d047665 ObjectBase is now DisposableResource, which better explains what it pertains to. 2014-04-04 20:41:29 +02:00
Per Lundberg ee42af15e8 Trivial whitespace fixup. 2014-04-04 20:32:33 +02:00
Per Lundberg 1ac8059a66 Fixed the creation of the Javascript proxy client to happen at the right time, i.e. when a new browser is created. That should be massively more efficient in terms of speed than connecting to the service on every JS call. :) 2014-04-04 20:32:15 +02:00
Per Lundberg 6006d2eb80 Trivial whitespace fix. 2014-04-04 19:55:37 +02:00
JanEggers e505b1aa85 fixed initialization timing issue 2014-04-03 19:08:16 +02:00
Per Lundberg f698790dc0 Again, one class per file is better. 2014-04-02 18:48:37 +01:00
Per Lundberg ab157e97e1 Don't want to have this here. @JanEggers, I presume that the idea from your end was to support more complex object graphs? (i.e. My.Fancy.Property being exposed to Javascript...)
I'll leave that out for now, but feel free to fix/experiment with that at some point.
2014-04-02 18:46:10 +01:00
Per Lundberg 8dd3baff3a Whitespace fix. 2014-04-02 18:27:16 +01:00
Per Lundberg f3af673ee1 Split out the member descriptions into two child classes: JavascriptMethodDescription and JavascriptPropertyDescription. (We don't have to support direct fields at this point, I think; properties should be very much enough for most needs.) 2014-04-02 18:22:36 +01:00
Per Lundberg a03e5878b0 Let's go with the name "Javascript" everywhere, instead of JavaScript. The latter is arguably more "correct", but the former is also quite widespread and you could very well claim that "Javascript" is a such a common name that it can be normalized to follow normal "name rules", i.e. capitalize first letter only... 2014-04-02 18:18:13 +01:00
Per Lundberg e562ceadb4 Minor tweaks, and removed @JanEggers assumption that we might have stuff here which is not present on the managed side of the world. I'll leave that out for now, you can implement it later if you like Jan. 2014-04-02 18:08:16 +01:00