Commit Graph

6179 Commits

Author SHA1 Message Date
Per Lundberg b392976d6f CEF is now Cef, in line with the MS.NET naming conventions. 2013-07-19 15:28:37 +03:00
Per Lundberg e620dadeb7 MCefRefPtr is now in Internals. 2013-07-19 15:28:18 +03:00
Per Lundberg 0e3bc92758 Added extra overload, so we can call Initialize() without parameters if we don't care about the settings. 2013-07-19 15:28:04 +03:00
Per Lundberg 99d440b948 Updated to work w/ changes in StringUtils. 2013-07-19 15:27:19 +03:00
Per Lundberg c8f07dd9a3 URIs have their own .NET type, so let's go with that instead of String. 2013-07-19 15:26:53 +03:00
Per Lundberg 33a8d4fc8a Moved to the Internals folder & namespace. 2013-07-19 15:19:06 +03:00
Per Lundberg 429d338271 Added copyright header. 2013-07-19 15:17:52 +03:00
Per Lundberg 020f75aa1a Updated usage, since CookieVisitor.h is now in the Internals subdirectory. 2013-07-19 14:43:30 +03:00
Per Lundberg 486c3786dc Let's make the class private (i.e. internal) while we're at it. 2013-07-19 14:42:45 +03:00
Per Lundberg 93503b2cfe Moved to the Internals folder, since this class isn't usable from the outside. 2013-07-19 14:42:03 +03:00
Per Lundberg 9af257c046 Updated with new file header. 2013-07-19 14:37:26 +03:00
Per Lundberg 2d8c0ec5d0 Added dummy CefApp-based class. It's quite likely that we will have to implement more stuff here eventually… :) 2013-07-19 14:33:02 +03:00
Per Lundberg dfa4075db4 Fixed to compile now that StringUtils has been refactored. 2013-07-19 14:31:55 +03:00
Per Lundberg a6244903a7 Moved to the CefSharp.Internals namespace, where it now should be. 2013-07-18 22:58:56 +03:00
Per Lundberg 1a4bca24ca Updated includes. 2013-07-18 22:58:13 +03:00
Per Lundberg 1d9d5e008f One file per type (class/interface) makes everything feel much better. 2013-07-18 22:57:27 +03:00
Per Lundberg c72ca7dba5 StringUtils are needed here. 2013-07-18 22:56:41 +03:00
Per Lundberg 7656faf68f Moved here. Let's try to be really careful now to place ALL internal classes in the Internals subfolder, to make it easier to distinguish between the internal and public parts of the assembly. 2013-07-18 22:51:00 +03:00
Per Lundberg ff71a53abd More copyright headers. 2013-07-18 22:49:08 +03:00
Per Lundberg 3e19254c8f All of ClientAdapter now compiles, but not links successfully, because of commented out methods. Next step is now to try and get all of these functional with CEF3. 2013-07-18 22:43:43 +03:00
Per Lundberg 03f40efc4b Well, this might be an even better way to do it. 2013-07-18 22:38:44 +03:00
Per Lundberg db6ad304ab Added (half-stupid) handling of nullptr cases. It would of course be more reasonable to return a nullptr if the result is null, but the problem is that this is a major change (would have to return a pointer to a string instead, which the caller would have to make sure to delete and so forth…), so it's not worth it at the moment. 2013-07-18 22:32:47 +03:00
Per Lundberg f612d0e468 Updated to CEF3/Chromium 27. I think we have most of it covered now, as far as the header file goes, except for OnBeforeBrowse and OnResourceResponse. I have no idea what these correspond to with CEF3 so we will have to check if up with Marshall et al. 2013-07-18 22:14:39 +03:00
Per Lundberg 8ebf1091e2 Added copyright header. 2013-07-18 21:14:11 +03:00
Per Lundberg a14ab9e253 Cosmetic fix: The #pragma once should be first of all... 2013-07-18 21:12:44 +03:00
Per Lundberg d8413f0d76 Updated Cef.h with all the contents of the previous CefSharp.h, but updated to work with CEF3/Chromium 27. Also made the Cef.h be automatically included from Stdafx.h. 2013-07-18 21:12:16 +03:00
Per Lundberg fa6007f763 We don't need this one any more; all of the implementation is in the .h(eader) file anyway. 2013-07-18 21:11:14 +03:00
Per Lundberg 569d2630cb Let's make CefSharp::Internals globally available. This is generally considered bad practice in the C++ camp, but I think it's perfectly acceptable in this use case. 2013-07-18 15:50:23 +03:00
Per Lundberg 33d85cfcfa Updates to work with CEF3. 2013-07-18 15:49:42 +03:00
Per Lundberg 4a106bb739 Made it more clear that we will hardly ever support a single-threaded message loop. :-) 2013-07-18 00:44:20 +03:00
Per Lundberg 2f297321ef Added copyright headers. 2013-07-18 00:44:00 +03:00
Per Lundberg f9b6c5a431 Breaking changes: We need to update our method signatures since not everything needed to support this is any longer (apparently) available in CEF3. 2013-07-18 00:43:03 +03:00
Per Lundberg a07fe1454b Updated to match the current naming etc in CEF3. 2013-07-18 00:42:04 +03:00
Per Lundberg c8d9695813 Breaking changes FTW… It doesn't feel so logical to let the CEF stuff live in the CefSharp.h header, so let's use a better name. Also, more importantly: we should truly abandon the static class approach for this, especially now that we're moving over to CEF3. Separate processes likely means one process *per WebView instance* (which is how Google Chrome does it), so having one single CEF.Initialize() method to rule them all simply won't cut it. So… let's go with an instantiable class approach for now. I realize that there's quite a lot of stuff left out for the time being (like cookie visitation etc); we'll have to add it as we go along. 2013-07-18 00:40:39 +03:00
Per Lundberg 0bf27208f0 Added copyright header to a bunch of files. 2013-07-17 23:57:31 +03:00
Per Lundberg c8fb2c1da1 Wrong version. :) 2013-07-17 22:48:45 +03:00
Per Lundberg 4209d8eb7d I think we can start adding a banner to all our source code files; this should be reasonable enough (shamelessly plagiarized from the CEF cefclient project :) 2013-07-17 22:15:43 +03:00
Per Lundberg 0c2895520b "StringUtils" makes more sense than "StringUtil", since the class is actually a collection of utilit*ies* rather than a single utility, arguably. 2013-07-17 22:05:27 +03:00
Per Lundberg bdedfa7bbb We can actually drop the "String" suffix here, since none of the other methods have it and it can reasonably easily be deduced now by the class name prefix, which will be used every time the method is being called anyway. 2013-07-17 21:19:16 +03:00
Per Lundberg 981eb37c20 Updated to be compilable with the modifications to the toClr() etc methods. 2013-07-17 21:17:13 +03:00
Per Lundberg b90322b609 StringUtil.h now lives in the Internals folder. 2013-07-17 21:16:44 +03:00
Per Lundberg 8280a21790 Let's rename this after all. "AssignFromString" isn't really a descriptive enough name. 2013-07-17 21:15:38 +03:00
Per Lundberg 13c876327c Moved the StringUtil methods into the Internals folder & namespace (since that's where they really belong), and moved them into a class proper + fixed their naming to be true CamelCase, not camelCase. This is C++, not Java. :P 2013-07-17 21:13:52 +03:00
Per Lundberg 8221e97d8c Converted from tabs to spaces. 2013-07-17 20:06:17 +03:00
Per Lundberg c65ce543b4 Removed AddPluginPath() and AutoDetectProxySettings, since they're not available in CEF3. 2013-07-17 20:01:11 +03:00
Per Lundberg 1a915d6e08 Will use this to test the new CEF3 stuff. CEF is x86 at the moment so let's modify this project also so that it can run on an x64 Windows. 2013-07-17 18:14:31 +03:00
Per Lundberg 425f708eff Fixed version number and copyright (shouldn't refer to a single person, but rather the CefSharp project as a legal "virtual entity" :) 2013-07-17 13:10:48 +03:00
Per Lundberg eb8ccfa575 "In the beginning God created the heaven and the earth. And the earth was without form, and void" (Gen 1:1-2). Let's try to do something similar. It's probably easiest if we just exclude all of the existing CefSharp files for the time being (since the CEF3 API is completely incompatible w/ CEF1 which our code presumes it to be), and then add the missing parts one by one. 2013-07-17 13:10:00 +03:00
Per Lundberg 9dfb1897cd Fixed typo... 2013-07-17 12:56:03 +03:00
Per Lundberg b7dcffc513 Here we go… Let's try to see just how difficult it would be to get the current codebase compiled towards CEF3 instead of CEF1 (which we currently use, but which will be abandoned upstream shortly). 2013-07-16 22:42:22 +03:00