Commit Graph

  • 2f297321ef Added copyright headers. Per Lundberg 2013-07-18 00:43:31 +03:00
  • f9b6c5a431 Breaking changes: We need to update our method signatures since not everything needed to support this is any longer (apparently) available in CEF3. Per Lundberg 2013-07-18 00:43:03 +03:00
  • a07fe1454b Updated to match the current naming etc in CEF3. Per Lundberg 2013-07-18 00:42:04 +03:00
  • 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. Per Lundberg 2013-07-18 00:40:39 +03:00
  • 0bf27208f0 Added copyright header to a bunch of files. Per Lundberg 2013-07-17 23:57:31 +03:00
  • c8fb2c1da1 Wrong version. :) Per Lundberg 2013-07-17 22:48:45 +03:00
  • 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 :) Per Lundberg 2013-07-17 22:15:43 +03:00
  • 0c2895520b "StringUtils" makes more sense than "StringUtil", since the class is actually a collection of utilit*ies* rather than a single utility, arguably. Per Lundberg 2013-07-17 22:05:27 +03:00
  • 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. Per Lundberg 2013-07-17 21:19:16 +03:00
  • 981eb37c20 Updated to be compilable with the modifications to the toClr() etc methods. Per Lundberg 2013-07-17 21:17:13 +03:00
  • b90322b609 StringUtil.h now lives in the Internals folder. Per Lundberg 2013-07-17 21:16:44 +03:00
  • 8280a21790 Let's rename this after all. "AssignFromString" isn't really a descriptive enough name. Per Lundberg 2013-07-17 21:15:38 +03:00
  • 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 Per Lundberg 2013-07-17 21:11:48 +03:00
  • 8221e97d8c Converted from tabs to spaces. Per Lundberg 2013-07-17 20:06:17 +03:00
  • c65ce543b4 Removed AddPluginPath() and AutoDetectProxySettings, since they're not available in CEF3. Per Lundberg 2013-07-17 20:01:11 +03:00
  • 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. Per Lundberg 2013-07-17 18:14:31 +03:00
  • 425f708eff Fixed version number and copyright (shouldn't refer to a single person, but rather the CefSharp project as a legal "virtual entity" :) Per Lundberg 2013-07-17 13:10:48 +03:00
  • 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. Per Lundberg 2013-07-17 13:10:00 +03:00
  • 9dfb1897cd Fixed typo... Per Lundberg 2013-07-17 12:56:03 +03:00
  • 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). Per Lundberg 2013-07-16 22:39:17 +03:00
  • 81f659eb1c Merge pull request #11 from perlun/emonk72-master Per Lundberg 2013-07-12 14:19:39 -07:00
  • ea609795c8 Started doing some light refactorings here to make the code a bit more maintainable: Smaller, more concise methods. The FindBestMethod() is up next. Per Lundberg 2013-07-13 00:16:47 +03:00
  • 3ccc5444d7 Rearranged the class so that Bind() and Execute() is placed earlier in the file, since this is the most public part of the class. Per Lundberg 2013-07-12 23:31:46 +03:00
  • 86155517a9 Minor cleanups. I like the Uncle Bob style; try to make the code so clear that hardly any comments are really needful… More drastic changes coming up in a little while. Per Lundberg 2013-07-12 22:44:47 +03:00
  • ce3e391857 Updated changelog. Per Lundberg 2013-07-12 22:31:47 +03:00
  • 5e9576343f Fix HashSet support on VS2012 Corey 2013-07-10 10:25:01 +10:00
  • 685685bc35 Reverting to Dictionary for method names due to problems with VS2012 configuration. Corey 2013-07-08 11:01:14 +10:00
  • 24be921abf Let's go with the "indented namespace" style, even though it makes the code be a bit more indented… The "all namespaces in the left-most column" approach doesn't really look that aesthetically pleasing. Per Lundberg 2013-07-05 23:23:46 +03:00
  • 5597860b92 Merge pull request #10 from perlun/feature/stability_fixes Per Lundberg 2013-07-05 13:13:04 -07:00
  • 66039e1117 Tabs are evil (we use spaces in this project). Thanks to Github for making me discover this… Per Lundberg 2013-07-05 23:10:12 +03:00
  • e65746b692 Updated changelog with the stuff that has been fixed on this branch. Per Lundberg 2013-07-05 23:07:22 +03:00
  • 18c8d1939c Merged https://github.com/joaompneves/CefSharp into feature/stability_fixes Per Lundberg 2013-07-05 23:04:51 +03:00
  • 001fd34b28 Updated change log. Per Lundberg 2013-07-05 22:50:29 +03:00
  • eeba53b9f5 Merge pull request #9 from perlun/feature/JsDialogHandler Per Lundberg 2013-07-05 12:45:05 -07:00
  • eac7dbebf4 Merged branch 'JsDialogHandler' of https://github.com/Icenium/CefSharp into feature/JsDialogHandler, with minor changes to work on top of the current HEAD (vs2012, .vcxproj file instead of .vcproj etc). Per Lundberg 2013-07-05 22:42:06 +03:00
  • 75e5de8b73 Merge branch 'master' of https://github.com/EMonk72/CefSharp Corey 2013-07-03 10:14:37 +10:00
  • ca17ff1d97 Missed code change in prior commit + update Corey 2013-07-02 16:22:06 +10:00
  • 28580ba257 Missed code change in prior commit. Corey 2013-07-02 16:22:06 +10:00
  • 88b8dcd066 Binding Updates: More flexible argument matching Corey 2013-07-02 13:24:03 +10:00
  • c25c908a15 Just for fun… :-) Let's add an opacity slider also, with a subtle message in it. Per Lundberg 2013-07-01 23:19:07 +03:00
  • fa9a6e6d62 One XAML attribute per line is generally much better, especially when doing diff/merge operations. Per Lundberg 2013-07-01 23:05:30 +03:00
  • f0f27f9198 Updated changelog. Per Lundberg 2013-07-01 23:00:36 +03:00
  • 4dae3f753d Merge pull request #6 from perlun/feature/body_of_request_in_custom_scheme_handler Per Lundberg 2013-07-01 12:56:21 -07:00
  • de22dc002a Let's do some refactorings while we're at it. One file per type is usually a pretty good pattern IMHO. Per Lundberg 2013-07-01 22:54:14 +03:00
  • 980697406d Fixed up indentation and bracing (to use a more consistent coding style). Per Lundberg 2013-07-01 22:50:38 +03:00
  • 02faffd042 Merge https://github.com/kpko/CefSharp into feature/body_of_request_in_custom_scheme_handler Per Lundberg 2013-07-01 22:44:50 +03:00
  • 361c868303 Merge branch 'master' of https://github.com/perlun/CefSharp Per Lundberg 2013-07-01 22:39:08 +03:00
  • 62dc5372f0 Updated ignore list, since we are now providing (prerelease) NuGet packages. Per Lundberg 2013-07-01 22:35:32 +03:00
  • d138220f37 Updated ChangeLog. Per Lundberg 2013-07-01 22:32:43 +03:00
  • 9ab5c03dde Merge pull request #5 from perlun/feature/multiple_methods_with_same_name Per Lundberg 2013-07-01 12:28:51 -07:00
  • 18e5f45716 Updated comment. Per Lundberg 2013-07-01 22:26:33 +03:00
  • 8fbdef4936 Whitespace fixes (was some incorrect tabs). Also removed a comment which isn't really needed; the code is clear enough in itself. Per Lundberg 2013-07-01 22:18:17 +03:00
  • 42343847b0 Merged in changes from https://github.com/EMonk72/CefSharp into feature/multiple_methods_with_same_name Per Lundberg 2013-07-01 22:11:39 +03:00
  • 36f5a58c8f Add support for parameters of type 'Object' accepting any type of value. Corey 2013-07-01 16:57:55 +10:00
  • 05a94cad6e Whitespace fixups (spaces instead of tabs). Per Lundberg 2013-06-28 14:02:58 +03:00
  • dd95182c66 Added the NuSpec as a solution file, to make it more easily editable. Per Lundberg 2013-06-28 14:02:46 +03:00
  • f59a303e26 Added simple README file. Per Lundberg 2013-06-24 10:50:10 +03:00
  • 6629cee858 Updated to use proper copyright sign (i.e. UTF-8, not some other encoding) Per Lundberg 2013-06-24 10:49:46 +03:00
  • 9384a2c467 Better description. Per Lundberg 2013-06-17 11:17:08 +02:00
  • d2694cc47c Added a rough first version of a NuGet package, since we need it for personal in-house use. Per Lundberg 2013-06-17 11:13:47 +02:00
  • 80f27fcd9b Ignore the generated .xml files. v1.25.2-perlun.0 Per Lundberg 2013-06-17 07:15:51 +02:00
  • 6a12ba85c0 1.25.2-perlun.0 coming up. Per Lundberg 2013-06-17 07:14:51 +02:00
  • b1a22890c0 Added solution files. Per Lundberg 2013-06-17 07:12:06 +02:00
  • a6db06d0ef 1.25.2 coming up. Per Lundberg 2013-06-17 07:11:22 +02:00
  • 96d3704917 Updated links to indicate the forked nature of this, err, fork. :) Per Lundberg 2013-06-17 07:08:19 +02:00
  • 701e9b3188 Merge branch 'vs2012' Per Lundberg 2013-06-17 07:03:27 +02:00
  • e3874136e9 Updated with VS2010 release-mode .lib, working this time... Per Lundberg 2013-06-17 07:03:05 +02:00
  • 93a3308338 Merge branch 'vs2012' v1.25.1-perlun.0 Per Lundberg 2013-06-07 20:55:45 +03:00
  • 96e8ecea6d Updated with working VS2010 lib for Release mode. Thanks to Kevin Sorber for pointing out that this was broken! Per Lundberg 2013-06-07 20:55:28 +03:00
  • fef8d98786 Why not update the ChangeLog also while we're at it... Per Lundberg 2013-06-07 08:30:22 +03:00
  • 6247affa9e Added some details about our fork. Per Lundberg 2013-06-07 08:21:33 +03:00
  • 249dcab605 Fixed crash on windows deactivate jmn 2013-06-06 16:26:22 +01:00
  • 733f81bb39 Added case mangling for properties also, so we are internally consistent. Per Lundberg 2013-06-05 14:28:19 +03:00
  • cbb44b99b4 Fixed an obvious misspelling. Per Lundberg 2013-06-05 14:28:01 +03:00
  • 608af903c6 Added test case for the method casing & updated existing tests (since the method names are now camelCased). Per Lundberg 2013-06-05 14:15:37 +03:00
  • f3b6c5ed26 Implemented method-name mapping so that MyMethod() in CLR/.NET becomes myMethod() in Javascript, which is how you would expect it to work. Per Lundberg 2013-06-05 14:15:18 +03:00
  • 56e074fa2d Merge branch 'vs2012-with_properties' into vs2012-javascript-method-casing Per Lundberg 2013-06-05 12:24:25 +03:00
  • 6e7914db4d Need to refer to this using a more fully qualified path. Per Lundberg 2013-06-05 12:24:03 +03:00
  • 43ab9c102c Need to add the ProjectDir to the list of includes since we are now using subdirectories. Per Lundberg 2013-06-05 12:21:18 +03:00
  • 80d07df062 The PropertyAccessor should also be in the subdir. Per Lundberg 2013-06-05 12:20:51 +03:00
  • 3bb0139d88 Merge branch 'vs2012-with_properties' into vs2012-javascript-method-casing Per Lundberg 2013-06-05 12:14:36 +03:00
  • 33c82d6640 One more thing that seems to have gone MIA during the rebase. These should be in a separate subfolder to try and structure things more clearly. Per Lundberg 2013-06-05 12:14:09 +03:00
  • 2ca97463ba WIP commit since we are about to switch branches back and forth. Per Lundberg 2013-06-05 12:10:25 +03:00
  • f79ee06bd9 Renamed the wrappedObject to javascriptWrapper, since this is actually NOT the wrapped object but rather a wrapper around it. :) Per Lundberg 2013-06-05 12:06:07 +03:00
  • 71eb9d90d4 Apparently, I managed to mess up the rebase a bit. Luckily VS2012 fixed it all for me. :) Per Lundberg 2013-06-05 11:33:12 +03:00
  • a9d5dd770b Removed comment which isn't relevant any more (we do handle r/o properties correctly). Per Lundberg 2013-05-13 22:32:04 +03:00
  • a10789749d Whitespace fixes. (My bad; C++ settings for VS2012 was incorrectly set to use tabs instead of spaces, leading to some noise in the diff.) Per Lundberg 2013-05-13 22:16:40 +03:00
  • 73b86797c5 Added listing of the properties bound. Per Lundberg 2013-05-11 09:51:13 +03:00
  • 36bf863329 Added support for property setting. Per Lundberg 2013-05-11 09:46:47 +03:00
  • 35dfcebe1a Let's make this internal instead. Per Lundberg 2013-05-11 09:44:19 +03:00
  • f5b2ce92d3 Implemented exception handling if the property cannot be read. Not 100% sure about this one, but in some way it feels best to propagate a CLR exception into the exception output variable. Per Lundberg 2013-05-11 09:30:44 +03:00
  • 11092e383c Added unconvertible property, just to be able to test it. Per Lundberg 2013-05-11 09:29:41 +03:00
  • 62917949c4 Fixed the exception message to make more sense. Per Lundberg 2013-05-11 09:29:11 +03:00
  • 0cea4a1bbb Implemented support for properties in the Javascript. Fully functional when it comes to getting values; setting values will follow. Per Lundberg 2013-05-11 09:15:14 +03:00
  • d1dbb9dbf6 BindingData is now called UnmanagedWrapper, which better describes its "raison d'être". Per Lundberg 2013-05-11 09:14:32 +03:00
  • 42d66e2bb3 Be more consistent with the whitespace + don't use explicit System:: when we don't really have to. Per Lundberg 2013-05-11 09:04:41 +03:00
  • bfe0450894 Let's make it a bit simpler for the caller, shall we. Per Lundberg 2013-05-11 09:00:27 +03:00
  • 4377e9bcf0 Whitespace changes. Per Lundberg 2013-05-11 08:58:28 +03:00
  • 49f4011c44 Revert "Rearranged where the output binaries are kept, in an attempt to avoid having to rebuild because of assembly version mismatches." Per Lundberg 2013-05-10 10:31:47 +03:00
  • c91c24ebb8 WIP: Added placeholder PropertyAccessor (doesn't really do anything useful at the moment). Next step is to actually get or set the property values from the object we're marshaling. Per Lundberg 2013-05-10 10:24:04 +03:00