Commit Graph

6294 Commits

Author SHA1 Message Date
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
Per Lundberg 240e2fdaec Added some [DebuggerStepThrough] for methods which you normally don't debug. 2013-09-24 09:59:54 +02:00
Per Lundberg d8ff9501b5 Added a Reload command and an accompanying button in the Wpf.Example. 2013-09-24 09:58:34 +02:00
Per Lundberg 778a904686 Must copy the subprocess .exe also to the output folder, to be runnable. 2013-09-23 21:45:20 +02:00
Per Lundberg e5f951ae4a Changed to support x64. (and for the time being, unfortunately *only* x64…) A proper Win32 target should also be added asap. 2013-09-23 21:40:46 +02:00
Per Lundberg 346c8d53b4 This is now CefSharp 3.29.0.0, coming up eventually (probably not as a "stable" release until some more month(s) realistically speaking…). 2013-09-23 21:17:48 +02:00
Per Lundberg 805e20e4c1 Modified to be compilable for x64 (also, in addition to x86 which was already supported). 2013-09-23 21:14:55 +02:00
Per Lundberg 6478825bdc Rebuilt using the proper MDd/MD vs MTd/MT settings. 2013-09-23 21:13:23 +02:00
Per Lundberg 268679b84b These are also moved now + updated to CEF 3.1453. Apparently not so many changes in the actual header files, or at least so it seems… :) 2013-09-23 18:52:14 +02:00
Per Lundberg 0789b1047f …and instead, these files get added. 2013-09-23 18:47:26 +02:00
Per Lundberg 91a1742570 So, in other words, these files must go away. 2013-09-23 18:44:09 +02:00
Per Lundberg 33fa26d4c9 Let's rearrange things a bit. The "magic files exist in the Release folder" has been a bit a bit of a nuisance for some time. Let's try to make that copying happen either by using a post-build action or (preferably) a magic MSBuild action instead. It will provide much more of the "F5 experience" that we all want it to be. 2013-09-23 18:41:56 +02:00
Per Lundberg c75d93c65c Started working on a nice little "home page", which we will include, using Twitter Bootstrap. The idea is to add links to the various tests we provide + to the CefSharp web page of course, in line with the "build UIs with HTML" paradigm. Relies on a bug fix for #150 which isn't really implemented yet though. :) 2013-09-18 22:46:27 +03:00
Per Lundberg 1575522472 LightGray was too dark, so let's make it slightly lighter. 2013-09-18 22:10:13 +03:00
Per Lundberg 7d2854d9c3 Renamed the scheme handler classes to be a slightly better example of class naming... 2013-09-18 22:05:30 +03:00
Per Lundberg d0e009bb26 Added test case for #161. 2013-09-18 21:58:11 +03:00
Per Lundberg 0df64691e5 Forward-ported the fixes for #161 to CefSharp 3. 2013-09-18 21:57:51 +03:00
Per Lundberg b967a1457b Updated because of changed whitespace settings in the IDE. 2013-09-18 21:46:09 +03:00
Per Lundberg 23ee580c89 Renamed the solution file, to make it easier to keep CefSharp1 and CefSharp3 separate. 2013-09-17 08:14:24 +03:00
Per Lundberg 556e4d7ca8 Added explanation about this folder. 2013-09-17 07:01:25 +03:00
Per Lundberg 5193bce8e5 Very much work-in-progress towards #159. The idea is to marshal the Javascript execution over to the CefFrame in the render process, but it doesn't seem to work yet… Have to check with Marshall & friends. 2013-09-02 23:02:08 +03:00
Per Lundberg 632f0161f1 #159: Changed the IJavascriptProxy.EvaluateScript() method signature a bit, to try and get it working with the cross-process scenario which is a reality w/ CEF3. 2013-09-02 22:56:06 +03:00
Per Lundberg 0645da4efc Rearranged to be more structured. 2013-09-02 21:27:24 +03:00
Per Lundberg 8d09375bf9 Tried to come up with a better name for the browser subprocess entry point… Program.cpp is adhering to the spirit of Program.cs, which is default entry point for a C# app. 2013-09-02 21:16:29 +03:00
Per Lundberg d5d3c1eccc Started working on #159. We now have a dummy (WCF) service in the subprocess, which we are able to call from the main process. The next step is to try and make it execute Javascript in the proper CefFrame. Might not be so incredibly simple, but we'll have to give it a try and see. 2013-08-28 23:01:46 +03:00
Per Lundberg 9eafcb469d The CefSharp.BrowserSubprocess should always be rebuilt before the CefSharp.Wpf.Example gets run. 2013-08-28 22:56:40 +03:00
Per Lundberg e63306fb8c Changed to enable the /clr flag + a number of settings which it was dependent on. #159 2013-08-28 22:22:12 +03:00
Per Lundberg cfaba364cb #157: Made it possible to override BrowserSettings, and added an example of how it can be done. 2013-08-26 22:37:41 +03:00
Per Lundberg 04654e70e5 Dropped an xmlns usage that wasn't used. 2013-08-26 22:34:34 +03:00
Per Lundberg 574e34a335 #138: Use this new CefSharp.BrowserSubprocess.exe now that we can. 2013-08-22 23:01:14 +03:00
Per Lundberg 96f9750716 Closed #138: Added a minimal subprocess, which seems to be fully functional. This will be utilized to attempt to provide e.g. a synchronous Javascript experience, albeit CEF3:s asynchronous nature. 2013-08-22 23:00:51 +03:00
Per Lundberg 450e3df499 #138: Added a new BrowserSubprocessPath property, to be able to support the "minimal subprocess" approach suggested by the CEF FAQ. 2013-08-22 22:55:33 +03:00
Per Lundberg 199317efc0 Updated ignore list so that Debug folders are more completely excluded. 2013-08-22 22:54:40 +03:00
Per Lundberg d04d294cde Added some disabled debug code. 2013-08-05 23:20:08 +03:00
Per Lundberg 51034021a2 Added (quite significant) TODO. 2013-08-05 23:19:10 +03:00
Per Lundberg c69821a1bf Added EvaluateScript() also, which fails because of the architectural changes in CEF. I have some ideas about how to approach this, but I believe we should fix #138 first. 2013-08-05 23:19:00 +03:00