Commit Graph

6294 Commits

Author SHA1 Message Date
Per Lundberg dc34308fdc Generate XML documentation, since it's quite useful. We don't have any XML comments yet, so it's time to start adding it. 2013-06-05 11:28:10 +03:00
Per Lundberg 2093771d48 Updated includes and usings. 2013-06-05 11:28:10 +03:00
Per Lundberg fcaa679168 Changed to use our own local copy of vcclr.h, because the VS2012/Microsoft-provided one breaks IntelliSense… which is obviously quite bad. 2013-06-05 11:28:09 +03:00
Per Lundberg b3f69a3f99 Refer to the Stdafx.h file using the right casing (the file is actually called Stdafx.h, not stdafx.h). 2013-06-05 11:28:09 +03:00
Per Lundberg 7dee449f5f Refactored out the BindingData into a separate header file (according to the "one class per file" paradigm), and moved the setting up of the Javascript methods into a separate helper method. This frees us from one (quite superfluous) comment, which is always a good thing. 2013-06-05 11:28:09 +03:00
Per Lundberg 3e4119d742 Added a couple of properties, and made them (= special methods) be exempt from the methods bound to Javascript. Next set is to to try and bind them as Javascript properties. 2013-06-05 11:28:09 +03:00
Per Lundberg e9e02c1cd3 Rearranged where the output binaries are kept, in an attempt to avoid having to rebuild because of assembly version mismatches. 2013-06-05 11:28:09 +03:00
Per Lundberg 943c0aa375 Updated ignore list again, since we may get a .vshost.exe.config if we are compiling in Debug mode. 2013-06-05 11:28:09 +03:00
Per Lundberg 244a05197f Updated ignore list. This file is copied to the output folder now that we are on .NET 4.0. 2013-06-05 11:28:09 +03:00
Per Lundberg a9c35f843b Uncomment the usage of the WebView now that it works again. 2013-06-05 11:28:09 +03:00
Per Lundberg 0c3115288f WIP code, trying to figure out why we get a weird TypeLoadException... 2013-06-05 11:28:08 +03:00
Per Lundberg 2265da1bc8 Compile for x86. 2013-06-05 11:24:46 +03:00
Per Lundberg 6072ebb997 Updated all C# projects to target framework version 4.0. We could actually target 3.5 even though we're using VS2012, but that makes the build process require VS2008 SP1 (according to http://stackoverflow.com/questions/2921702/change-c-cli-project-to-another-framework-than-4-0-with-vs2010) so it might not make so much sense anyway. 2013-06-05 11:23:06 +03:00
Per Lundberg 6e02126274 Converted the project files also from VS2008/vcproj format to VS2012/vcxproj format. 2013-06-05 11:23:05 +03:00
Per Lundberg 7fe7d10e9d Converted from VS2008 to VS2012 format. 2013-06-05 11:13:41 +03:00
Per Lundberg aa8cb9d776 Updated ignore list. 2013-06-05 11:13:41 +03:00
Per Lundberg 10a9509228 Whitespace? I suspect this is a CRLF vs LF style commit... Couldn't make git accept that the files are unmodified whatsoever. 2013-06-05 11:12:19 +03:00
jmn b8eaa573b3 Enable debugging 2013-06-04 14:09:38 +01:00
jmn b95fdee076 Fixed crash on windows deactivate 2013-06-04 14:09:07 +01:00
jmn 9abb8d2306 Fixed null pointer exception when loading WebView 2013-06-04 10:29:25 +01:00
jmn af926143b8 Merge remote-tracking branch 'upstream/master' 2013-06-04 10:06:33 +01:00
perlun 199641d323 Merge pull request #2 from mwisnicki/patch/vs2012-merged
Undo VS2010/VS2012 project split and use conditional elements when neede...
2013-05-28 11:57:33 -07:00
Marcin Wisnicki 67a024e0a3 Use conditional elements to support VS2010. 2013-05-28 13:41:23 +02:00
Marcin Wisnicki f1eb60fd44 Undo VS2010/VS2012 project split.
Remove redundant VS2010 solution. VS2012 sln works fine in VS2010sp1.
2013-05-28 12:11:05 +02:00
Per Lundberg 89fdc7df7f Use separate .csproj files for VS2012 also. 2013-05-17 21:23:34 +03:00
Per Lundberg 5df6deb460 Rebuilt to work with VS2012. (Oddly enough, the versions I had which I *knew* I've used with VS2012 didn't work now?!? Crazy. Oh well…) 2013-05-17 21:23:15 +03:00
Per Lundberg 75e488f5b1 Added script for cleaning the working directory to make it easier to switch between VS2010 and VS2012 (sorry, Mac/Unix only for the moment. :) 2013-05-17 21:06:11 +03:00
Per Lundberg 09d228c9ba Shouldn't have been version-controlled in the first place. 2013-05-17 21:04:34 +03:00
Per Lundberg 84cc85018a Unfortunate it is, but… We have to make separate .csproj files also, since they refer to the .vcxproj files in a way that makes it hard to use the same .csproj files from both the VS2010 and the VS2012 solutions. 2013-05-17 21:04:06 +03:00
Per Lundberg 4c07497133 Removed junk files which should never have been committed in the first place. 2013-05-17 18:20:23 +02:00
Per Lundberg 5ff64096e4 Updated to be able to successfully compile with VS2010. 2013-05-16 08:49:58 +02:00
Per Lundberg daff3feeb3 Updated to be compiled with /MT (which requires disabling C++ compiler warning 4275 to be able to successfully compile). 2013-05-16 08:48:49 +02:00
Per Lundberg 4e060bdcc3 Added vs2010 solution also (which does not build at the moment). 2013-05-15 23:39:03 +03:00
Per Lundberg 13c3bb48ee Renamed the .vcxproj files, to avoid colliding with the VS2010 files which are soon to be added. 2013-05-15 23:17:31 +03:00
Per Lundberg 2ef1cadce4 Renamed .sln file, since we will shortly have two .sln files (for VS2012 and 2010 respectively). 2013-05-15 23:01:35 +03:00
Per Lundberg ec819845c8 Rearranged the .lib files a bit, to make room for VS2010 versions of the files. 2013-05-15 22:57:03 +03:00
Per Lundberg 9c146bdddf Updated the ignore list, to avoid false positives. 2013-05-15 22:43:41 +03:00
Per Lundberg 4e76887ac4 Merge branch 'master' of https://github.com/perlun/CefSharp into vs2012 2013-05-06 12:22:16 +03:00
Per Lundberg 25f538b74b Updated ignore list. This file is copied to the output folder now that we are on .NET 4.0. 2013-05-03 23:01:01 +03:00
Per Lundberg a90b103a07 Uncomment the usage of the WebView now that it works again. 2013-05-01 23:28:03 +03:00
Per Lundberg 38afc692f6 This one is bothering me a bit more, since I'm mixing references and void* in a slightly funky way… Hard to test/verify since I couldn't manage to trigger the SetPopupSizeAndPosition to be called. :) 2013-05-01 23:27:47 +03:00
Per Lundberg 8452df8b39 Changed some of the parameter types which are unusable in VS2012/.NET 4.0 mode (the C++ compiler creates references to internal structs which are unusable from CLR code, making the type loader throw a TypeLoadException when trying to use the WebView). 2013-05-01 23:24:39 +03:00
Per Lundberg bf5894af52 WIP code, trying to figure out why we get a weird TypeLoadException... 2013-05-01 20:36:54 +03:00
Per Lundberg a7e698f3c6 Reindented the file, since it was a bit messy. 2013-05-01 20:36:08 +03:00
Per Lundberg 7e3f93d662 Compile for x86. 2013-05-01 20:04:19 +03:00
Per Lundberg 0405f7c645 Use the proper visibility for the OnVisualParentChanged for WPF 4.0. 2013-05-01 20:02:35 +03:00
Per Lundberg 6566b9e244 Updated ignore list; precompiled headers aren't so useful to keep in the repo. 2013-05-01 19:57:47 +03:00
Per Lundberg 07551cb774 Might as well compile this with x86 only, to get rid of a compiler warning. 2013-05-01 19:53:51 +03:00
Per Lundberg 76959b55d3 Make the output be put in the right Debug/Release folder (right under the SolutionDir). 2013-05-01 18:37:55 +03:00
Per Lundberg e18556e6ad Apparently, I had forgotten to update this project also. Now everything builds except for the WPF example. 2013-05-01 18:28:24 +03:00