Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
255 commits
Select commit Hold shift + click to select a range
3163719
Updated to versions of the files compiled with VS2012, based on the h…
perlun May 1, 2013
dd6e2c5
Updated ignore list.
perlun May 1, 2013
8e9ca7e
Converted from VS2008 to VS2012 format.
perlun May 1, 2013
93ff043
Converted the project files also from VS2008/vcproj format to VS2012/…
perlun May 1, 2013
4b7917b
Regenerated with VS2012.
perlun May 1, 2013
a73ecab
Added missing reference, needed for VS2012/.NET 4.
perlun May 1, 2013
6993190
Updated all C# projects to target framework version 4.0. We could act…
perlun May 1, 2013
7e27244
System.Xaml reference needed here also.
perlun May 1, 2013
09830bc
This one needs System.Drawing to be happy.
perlun May 1, 2013
e18556e
Apparently, I had forgotten to update this project also. Now everythi…
perlun May 1, 2013
76959b5
Make the output be put in the right Debug/Release folder (right under…
perlun May 1, 2013
07551cb
Might as well compile this with x86 only, to get rid of a compiler wa…
perlun May 1, 2013
6566b9e
Updated ignore list; precompiled headers aren't so useful to keep in …
perlun May 1, 2013
0405f7c
Use the proper visibility for the OnVisualParentChanged for WPF 4.0.
perlun May 1, 2013
7e3f93d
Compile for x86.
perlun May 1, 2013
a7e698f
Reindented the file, since it was a bit messy.
perlun May 1, 2013
bf5894a
WIP code, trying to figure out why we get a weird TypeLoadException...
perlun May 1, 2013
8452df8
Changed some of the parameter types which are unusable in VS2012/.NET…
perlun May 1, 2013
38afc69
This one is bothering me a bit more, since I'm mixing references and …
perlun May 1, 2013
a90b103
Uncomment the usage of the WebView now that it works again.
perlun May 1, 2013
25f538b
Updated ignore list. This file is copied to the output folder now tha…
perlun May 3, 2013
4e76887
Merge branch 'master' of https://github.com/perlun/CefSharp into vs2012
perlun May 6, 2013
9c146bd
Updated the ignore list, to avoid false positives.
perlun May 15, 2013
ec81984
Rearranged the .lib files a bit, to make room for VS2010 versions of …
perlun May 15, 2013
2ef1cad
Renamed .sln file, since we will shortly have two .sln files (for VS2…
perlun May 15, 2013
13c3bb4
Renamed the .vcxproj files, to avoid colliding with the VS2010 files …
perlun May 15, 2013
4e060bd
Added vs2010 solution also (which does not build at the moment).
perlun May 15, 2013
daff3fe
Updated to be compiled with /MT (which requires disabling C++ compile…
perlun May 16, 2013
5ff6409
Updated to be able to successfully compile with VS2010.
perlun May 16, 2013
4c07497
Removed junk files which should never have been committed in the firs…
perlun May 17, 2013
84cc850
Unfortunate it is, but… We have to make separate .csproj files also, …
perlun May 17, 2013
09d228c
Shouldn't have been version-controlled in the first place.
perlun May 17, 2013
75e488f
Added script for cleaning the working directory to make it easier to …
perlun May 17, 2013
5df6deb
Rebuilt to work with VS2012. (Oddly enough, the versions I had which …
perlun May 17, 2013
89fdc7d
Use separate .csproj files for VS2012 also.
perlun May 17, 2013
f1eb60f
Undo VS2010/VS2012 project split.
May 28, 2013
67a024e
Use conditional elements to support VS2010.
May 28, 2013
199641d
Merge pull request #2 from mwisnicki/patch/vs2012-merged
perlun May 28, 2013
af92614
Merge remote-tracking branch 'upstream/master'
joaompneves Jun 4, 2013
9abb8d2
Fixed null pointer exception when loading WebView
joaompneves Jun 4, 2013
b95fdee
Fixed crash on windows deactivate
joaompneves Jun 4, 2013
b8eaa57
Enable debugging
joaompneves Jun 4, 2013
10a9509
Whitespace? I suspect this is a CRLF vs LF style commit... Couldn't m…
perlun May 1, 2013
aa8cb9d
Updated ignore list.
perlun May 1, 2013
7fe7d10
Converted from VS2008 to VS2012 format.
perlun May 1, 2013
6e02126
Converted the project files also from VS2008/vcproj format to VS2012/…
perlun May 1, 2013
6072ebb
Updated all C# projects to target framework version 4.0. We could act…
perlun May 1, 2013
2265da1
Compile for x86.
perlun May 1, 2013
0c31152
WIP code, trying to figure out why we get a weird TypeLoadException...
perlun May 1, 2013
a9c35f8
Uncomment the usage of the WebView now that it works again.
perlun May 1, 2013
244a051
Updated ignore list. This file is copied to the output folder now tha…
perlun May 3, 2013
943c0aa
Updated ignore list again, since we may get a .vshost.exe.config if w…
perlun May 6, 2013
e9e02c1
Rearranged where the output binaries are kept, in an attempt to avoid…
perlun May 7, 2013
3e4119d
Added a couple of properties, and made them (= special methods) be ex…
perlun May 7, 2013
7dee449
Refactored out the BindingData into a separate header file (according…
perlun May 7, 2013
b3f69a3
Refer to the Stdafx.h file using the right casing (the file is actual…
May 9, 2013
fcaa679
Changed to use our own local copy of vcclr.h, because the VS2012/Micr…
May 9, 2013
2093771
Updated includes and usings.
May 9, 2013
dc34308
Generate XML documentation, since it's quite useful. We don't have an…
May 9, 2013
9a66f29
Added our first XML method comments, to improve the IntelliSense expe…
May 9, 2013
9f33333
Fixed some silly mistakes.
May 9, 2013
23195eb
Whitespace change.
May 9, 2013
fe3c9b5
WIP: Some cleanups and started working on my attempt to expose C# pro…
May 9, 2013
b74f3f2
Moved the BindingData and BindingHandler into a separate CefSharp::In…
perlun May 10, 2013
c91c24e
WIP: Added placeholder PropertyAccessor (doesn't really do anything u…
May 10, 2013
49f4011
Revert "Rearranged where the output binaries are kept, in an attempt …
May 10, 2013
4377e9b
Whitespace changes.
May 11, 2013
bfe0450
Let's make it a bit simpler for the caller, shall we.
May 11, 2013
42d66e2
Be more consistent with the whitespace + don't use explicit System:: …
May 11, 2013
d1dbb9d
BindingData is now called UnmanagedWrapper, which better describes it…
May 11, 2013
0cea4a1
Implemented support for properties in the Javascript. Fully functiona…
May 11, 2013
6291794
Fixed the exception message to make more sense.
May 11, 2013
11092e3
Added unconvertible property, just to be able to test it.
May 11, 2013
f5b2ce9
Implemented exception handling if the property cannot be read. Not 10…
May 11, 2013
35dfceb
Let's make this internal instead.
May 11, 2013
36bf863
Added support for property setting.
May 11, 2013
73b8679
Added listing of the properties bound.
May 11, 2013
a107897
Whitespace fixes. (My bad; C++ settings for VS2012 was incorrectly se…
perlun May 13, 2013
a9d5dd7
Removed comment which isn't relevant any more (we do handle r/o prope…
perlun May 13, 2013
71eb9d9
Apparently, I managed to mess up the rebase a bit. Luckily VS2012 fix…
perlun Jun 5, 2013
f79ee06
Renamed the wrappedObject to javascriptWrapper, since this is actuall…
perlun Jun 5, 2013
2ca9746
WIP commit since we are about to switch branches back and forth.
perlun Jun 5, 2013
33c82d6
One more thing that seems to have gone MIA during the rebase. These s…
perlun Jun 5, 2013
3bb0139
Merge branch 'vs2012-with_properties' into vs2012-javascript-method-c…
perlun Jun 5, 2013
80d07df
The PropertyAccessor should also be in the subdir.
perlun Jun 5, 2013
43ab9c1
Need to add the ProjectDir to the list of includes since we are now u…
perlun Jun 5, 2013
6e7914d
Need to refer to this using a more fully qualified path.
perlun Jun 5, 2013
56e074f
Merge branch 'vs2012-with_properties' into vs2012-javascript-method-c…
perlun Jun 5, 2013
f3b6c5e
Implemented method-name mapping so that MyMethod() in CLR/.NET become…
perlun Jun 5, 2013
608af90
Added test case for the method casing & updated existing tests (since…
perlun Jun 5, 2013
cbb44b9
Fixed an obvious misspelling.
perlun Jun 5, 2013
733f81b
Added case mangling for properties also, so we are internally consist…
perlun Jun 5, 2013
249dcab
Fixed crash on windows deactivate
joaompneves Jun 6, 2013
6247aff
Added some details about our fork.
perlun Jun 7, 2013
fef8d98
Why not update the ChangeLog also while we're at it...
perlun Jun 7, 2013
96e8ece
Updated with working VS2010 lib for Release mode. Thanks to Kevin Sor…
perlun Jun 7, 2013
93a3308
Merge branch 'vs2012'
perlun Jun 7, 2013
e387413
Updated with VS2010 release-mode .lib, working this time...
perlun Jun 17, 2013
701e9b3
Merge branch 'vs2012'
perlun Jun 17, 2013
96d3704
Updated links to indicate the forked nature of this, err, fork. :)
perlun Jun 17, 2013
a6db06d
1.25.2 coming up.
perlun Jun 17, 2013
b1a2289
Added solution files.
perlun Jun 17, 2013
6a12ba8
1.25.2-perlun.0 coming up.
perlun Jun 17, 2013
80f27fc
Ignore the generated .xml files.
perlun Jun 17, 2013
d2694cc
Added a rough first version of a NuGet package, since we need it for …
perlun Jun 17, 2013
9384a2c
Better description.
perlun Jun 17, 2013
6629cee
Updated to use proper copyright sign (i.e. UTF-8, not some other enco…
perlun Jun 24, 2013
f59a303
Added simple README file.
perlun Jun 24, 2013
dd95182
Added the NuSpec as a solution file, to make it more easily editable.
perlun Jun 28, 2013
05a94ca
Whitespace fixups (spaces instead of tabs).
perlun Jun 28, 2013
36f5a58
Add support for parameters of type 'Object' accepting any type of value.
Jul 1, 2013
4234384
Merged in changes from https://github.com/EMonk72/CefSharp into featu…
perlun Jul 1, 2013
8fbdef4
Whitespace fixes (was some incorrect tabs). Also removed a comment wh…
perlun Jul 1, 2013
18e5f45
Updated comment.
perlun Jul 1, 2013
9ab5c03
Merge pull request #5 from perlun/feature/multiple_methods_with_same_…
perlun Jul 1, 2013
d138220
Updated ChangeLog.
perlun Jul 1, 2013
62dc537
Updated ignore list, since we are now providing (prerelease) NuGet pa…
perlun Jul 1, 2013
361c868
Merge branch 'master' of https://github.com/perlun/CefSharp
perlun Jul 1, 2013
02faffd
Merge https://github.com/kpko/CefSharp into feature/body_of_request_i…
perlun Jul 1, 2013
9806974
Fixed up indentation and bracing (to use a more consistent coding sty…
perlun Jul 1, 2013
de22dc0
Let's do some refactorings while we're at it. One file per type is us…
perlun Jul 1, 2013
4dae3f7
Merge pull request #6 from perlun/feature/body_of_request_in_custom_s…
perlun Jul 1, 2013
f0f27f9
Updated changelog.
perlun Jul 1, 2013
fa9a6e6
One XAML attribute per line is generally much better, especially when…
perlun Jul 1, 2013
c25c908
Just for fun… :-) Let's add an opacity slider also, with a subtle mes…
perlun Jul 1, 2013
88b8dcd
Binding Updates: More flexible argument matching
Jul 2, 2013
28580ba
Missed code change in prior commit.
Jul 2, 2013
ca17ff1
Missed code change in prior commit + update
Jul 2, 2013
75e5de8
Merge branch 'master' of https://github.com/EMonk72/CefSharp
Jul 3, 2013
eac7dbe
Merged branch 'JsDialogHandler' of https://github.com/Icenium/CefShar…
perlun Jul 5, 2013
eeba53b
Merge pull request #9 from perlun/feature/JsDialogHandler
perlun Jul 5, 2013
001fd34
Updated change log.
perlun Jul 5, 2013
18c8d19
Merged https://github.com/joaompneves/CefSharp into feature/stability…
perlun Jul 5, 2013
e65746b
Updated changelog with the stuff that has been fixed on this branch.
perlun Jul 5, 2013
66039e1
Tabs are evil (we use spaces in this project). Thanks to Github for m…
perlun Jul 5, 2013
5597860
Merge pull request #10 from perlun/feature/stability_fixes
perlun Jul 5, 2013
24be921
Let's go with the "indented namespace" style, even though it makes th…
perlun Jul 5, 2013
685685b
Reverting to Dictionary for method names due to problems with VS2012 …
Jul 8, 2013
5e95763
Fix HashSet support on VS2012
Jul 10, 2013
ce3e391
Updated changelog.
perlun Jul 12, 2013
8615551
Minor cleanups. I like the Uncle Bob style; try to make the code so c…
perlun Jul 12, 2013
3ccc544
Rearranged the class so that Bind() and Execute() is placed earlier i…
perlun Jul 12, 2013
ea60979
Started doing some light refactorings here to make the code a bit mor…
perlun Jul 12, 2013
81f659e
Merge pull request #11 from perlun/emonk72-master
perlun Jul 12, 2013
34ccca0
Added AppDomain Support
lythq Jul 23, 2013
49c6daf
Added AppDomain Support
lythq Jul 23, 2013
75b2a70
Signed CefSharp and CefSharp.Wpf dlls.
lythq Jul 25, 2013
e342284
Updated README page.
perlun Aug 1, 2013
8c37f8b
Updated to not scare people...
perlun Aug 1, 2013
80850d3
Fixed horrible speling error.
perlun Aug 1, 2013
0b1cfb8
Moved the ChangeLog contents here instead: https://github.com/cefshar…
perlun Aug 5, 2013
559e654
Added signing to CefSharp.WinForms and CefSharp.Wpf
dabide Aug 9, 2013
4fec4ed
Merge pull request #152 from dabide/master
perlun Aug 9, 2013
7d7557f
The ChangeLog is now available at https://github.com/cefsharp/CefShar…
perlun Aug 14, 2013
a6b1265
Worked on the README file a bit.
perlun Aug 14, 2013
1e63a7b
1.25.3 coming up.
perlun Aug 14, 2013
acfcb0c
Minor tweaks to make it look slightly better.
perlun Aug 14, 2013
eaa8bb9
Use new URL.
perlun Aug 14, 2013
137fa29
Whitespace to keep the line break.
perlun Aug 14, 2013
c3ffb33
Apparently, not enough whitespace. :)
perlun Aug 14, 2013
0ff5251
Final touches...
perlun Aug 14, 2013
4eafd0c
Ignore .zip files also.
perlun Aug 14, 2013
3810042
Added script for making a release .zip file.
perlun Aug 14, 2013
0c4e43d
Whohoo, a new binary release!
perlun Aug 14, 2013
24003dd
Added simple .bat file to simplify generation of the NuGet package.
perlun Aug 14, 2013
48cd028
Cleaned it up a bit so we don't place a lot of CEF files in the bin\D…
perlun Aug 14, 2013
8bd5db7
Closes #150. Thanks to @alexwarren for pointing this out.
perlun Aug 20, 2013
deab9c9
Fixed null pointer exception after disposing webview
joaompneves Aug 26, 2013
6baf408
Sign dlls in release
joaompneves Aug 28, 2013
b12a05f
Fixed memory leak after unloading control
joaompneves Aug 28, 2013
294c49b
Add support for transparent HTML backgrounds
dcartwright Aug 29, 2013
b33eb55
Added test case of the fix by @dcartwright, to more clearly illustrat…
perlun Aug 29, 2013
0e037c5
Refactored the custom scheme handling to support asynchronous handler…
perlun Sep 4, 2013
10bc4b2
Added null check so we don't throw exceptions if no headers are provi…
perlun Sep 4, 2013
ac7f3dd
Extracted ISchemeHandler into a file of its own, according to the "on…
perlun Sep 4, 2013
76f671f
Renamed an argument and added more XML documentation about all of them.
perlun Sep 4, 2013
d8b68dd
Got rid of commented out code which shouldn't have been committed in …
perlun Sep 4, 2013
517c11f
We must use a CefRefPtr<> here also, otherwise the SchemeHandlerWrapp…
perlun Sep 4, 2013
c81513f
Updated to match the new ISchemeHandler definition.
perlun Sep 4, 2013
85121b2
1.25.4 coming up.
perlun Sep 4, 2013
3c49ebe
Forgot this one...
perlun Sep 4, 2013
9787a43
Made it more obvious that this is a binary zip.
perlun Sep 4, 2013
0554d60
Updated README file.
perlun Sep 11, 2013
3f2ec1c
Trying to make it look better on the GitHub web.
perlun Sep 11, 2013
4cd3a82
Too much whitespace.
perlun Sep 11, 2013
cd28220
More tiny changes.
perlun Sep 11, 2013
ceb5c5b
Let's make some more minor changes while we're at it.
perlun Sep 11, 2013
f3af964
.NET is spelled like that, not as .Net.
perlun Sep 11, 2013
3dad4cc
Closes #166, or so I hope. This one turned out to be far from trivial…
perlun Sep 12, 2013
18bb494
#165: Add bindings for SetZoomLevel in WinForms
peters Sep 13, 2013
83859ec
Fixed the tick frequency, based on what cefclient has + fixed Camel C…
perlun Sep 14, 2013
b5bb04e
Moved to a more suitable location in the class.
perlun Sep 14, 2013
fe53146
Fixed up the whitespace. @peters - try to more closely follow the exi…
perlun Sep 14, 2013
3f280ef
fixes #162
ChadyG Sep 16, 2013
0658876
Merge pull request #169 from ChadyG/master
perlun Sep 16, 2013
40130a2
Update popup_url variable
oknoorap Sep 21, 2013
d647c14
Merge pull request #176 from oknoorap/patch-1
perlun Sep 22, 2013
c1e2dc3
Added standard file header.
perlun Oct 2, 2013
8f78977
Minor cleanup of #162.
perlun Oct 2, 2013
ec69a32
1.25.5 coming up.
perlun Oct 2, 2013
6996e14
Fixed copyright year.
perlun Oct 2, 2013
fb30fe2
This one is not so clever...
perlun Oct 2, 2013
8bb1aa2
Fixed FrameworkElement.Loaded event handling.
lythq Oct 2, 2013
483e99b
1.25.5 coming up.
perlun Oct 8, 2013
39373ff
Added SchemeHandlerResponse.StatusCode.
provegard Oct 13, 2013
285a52f
Added SchemeHandlerResponse.RedirectUrl.
provegard Oct 13, 2013
791806c
Added SchemeHandlerResponse.ContentLength.
provegard Oct 13, 2013
66f6bd8
SchemeHandlerWrapper bug fix: Must return false from ReadResponse whe…
provegard Oct 13, 2013
82d46b8
Added SchemeHandlerResponse.CloseStream, to have SchemeHandlerWrapper…
provegard Oct 13, 2013
b107d72
Fixed process not exiting in Windows XP
rastating Oct 23, 2013
fb49fab
Merge pull request #190 from rastating/CefSharp1
perlun Oct 23, 2013
f59f02f
Merge pull request #184 from provegard/response-options
perlun Oct 29, 2013
d73dd94
fix IME input problem
shen6041 Oct 30, 2013
2473b70
Replaced TryGetCefBrowser with GetCefBrowser in some methods
joaompneves Nov 8, 2013
39d091b
handle chinese ime input text
shen6041 Nov 11, 2013
3121236
handle chinese ime input
shen6041 Nov 11, 2013
c3e35ee
Update WebView.cpp
shen6041 Nov 11, 2013
a808bf8
Update WebView.cpp
shen6041 Nov 11, 2013
dee5526
Update WebView.cpp
shen6041 Nov 11, 2013
b20b0d2
Update WebView.cpp
shen6041 Nov 11, 2013
b121f93
Update WebView.cpp
shen6041 Nov 11, 2013
7ed33af
Fixed crash when trying to access browser after unloaded
joaompneves Nov 13, 2013
f396dfe
Fixes for issue #213: CefSharp.Wpf/WebView - apply appropriate layout…
ta-stott-oe Nov 14, 2013
c6d1a02
Trying to fix funny-looking indentation
ta-stott-oe Nov 14, 2013
9d018ec
Fixed indentation
ta-stott-oe Nov 14, 2013
ec95956
Fixed indentation
ta-stott-oe Nov 14, 2013
6907a42
Yet another attempt to fix this indentation!
ta-stott-oe Nov 14, 2013
4bd14d3
Yet another attempt to fix the indentation!
ta-stott-oe Nov 14, 2013
865feb1
Merge pull request #216 from ta-stott-oe/CefSharp1
perlun Nov 19, 2013
8c1e135
Merge pull request #202 from shen6041/patch-1
perlun Dec 12, 2013
c002270
More whitespace to da peoplez.
perlun Dec 12, 2013
aeed5f5
Converted some tabs to spaces.
perlun Dec 12, 2013
7341cf5
Added a fix for #219, or so we hope. :) The thing is that we need to …
perlun Dec 13, 2013
1acfea2
Create CONTRIBUTING.md
perlun Dec 25, 2013
3b076d1
Update README.md
perlun Jan 21, 2014
c25d8ba
Merge branch 'CefSharp1' of github.com:shen6041/CefSharp into shen604…
perlun Jan 21, 2014
28133f3
Cleaned up whitespace, so we can finally merge #211. (not all of the …
perlun Jan 21, 2014
55dcf94
Be more clear in the logic, by adding a few simple parentheses.
perlun Jan 21, 2014
0cd876e
Bug fix: We need to check whether we have *keyboard* focus, not just …
perlun Feb 4, 2014
4afa620
Update CONTRIBUTING.md
perlun Feb 4, 2014
55f76a8
Whitespace fixup.
perlun Feb 5, 2014
55ecf77
Fixes #243. Logical focus !== keyboard focus, and since we changed th…
perlun Feb 5, 2014
9f07ad0
1.25.6 coming up in a few moments.
perlun Feb 5, 2014
532437f
[Cherry-pick me] Don't include *.diff files in the .zip release.
perlun Feb 5, 2014
845cb25
I managed to mess things up, so here comes 1.25.7...
perlun Feb 5, 2014
f80a0bc
protect against hard crash when calling aliased functions
mmv Feb 6, 2014
b810ce1
return objects instead of arrays of undefined values
mmv Feb 6, 2014
83c8b18
Merge pull request #1 from mmv/neves-retjsreturnvals
Jul 3, 2014
0c587ff
Merge commit '845cb258b98c5ad2df17a9d4b989e654e90723de' (TAG 1.25.7)
joaompneves Sep 29, 2014
84dbc30
Added javascript context created event
joaompneves Oct 15, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,20 @@
*.swp
*.dll
*.exe
*.exe.config
*.manifest

*.opensdf
*.sdf
*.ipch
*.exe.config
*.xml
*.zip
*.ReSharper
_ReSharper*

obj/
bin/
Debug/
/Debug/
CefSharp/app.aps
TestResult.xml
debug.log
*.nupkg
7 changes: 7 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Thanks for your interest in contributing to the project! Please follow these simple guidelines:

- **Please read the full contents of [the FAQ](https://github.com/cefsharp/CefSharp/wiki/Frequently-asked-questions) before submitting an issue, or posting to the Google Group. It's quite likely your question has already been answered before.** If something is unclear in the FAQ, of course feel free to ask; the idea is just to reduce the level of "noise" we have to go through, reading the same questions over and over again.
- If you are unsure if something is a "bug" or a "feature", discuss it with the Google Group first. Don't cross-post: if you create an issue, and all the information is contained there, that's perfectly enough. There's no reason to also post it to the group; it just creates "line noise". The project maintainers are very busy people like you and me, and things will sometimes take a few weeks (or in worst case, more) to answer. If you are in a rush - do your very best to investigate the problem thoroughly; if possible, fix the bug yourself and submit a pull request.
- Before creating a GitHub issue or pull request, try looking through the list & issue archives to make sure the issue at hand hasn't been raised before. [Google](http://www.google.com) can also be helpful: just typing "cefsharp appdomain" for example (when trying to see whether AppDomain support has been discussed before) will often give you helpful results.
- *Please* follow existing coding style when submitting pull requests. Most importantly, *use spaces* - do not use tabs (which is the default setting for C++ projects in Visual Studio). The "preview" function when creating a Pull Request on GitHub is very useful - please use it.
- Do your best to follow these guidelines but don't be afraid to make mistakes when trying to apply them. We are all novices in the beginning.
22 changes: 22 additions & 0 deletions CefSharp.Example/BoundObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ namespace CefSharp.Example
{
class BoundObject
{
public int MyProperty { get; set; }
public string MyReadOnlyProperty { get; internal set; }
public Type MyUnconvertibleProperty { get; set; }

public BoundObject()
{
MyProperty = 42;
MyReadOnlyProperty = "I'm immutable!";
MyUnconvertibleProperty = GetType();
}

public string Repeat(string str, int n)
{
string result = String.Empty;
Expand Down Expand Up @@ -162,5 +173,16 @@ public String EchoString(String arg0)
{
return arg0;
}

// This will currently not work, as it causes a collision w/ the EchoString() method.
//public String echoString(String arg)
//{
// return "Lowercase echo: " + arg;
//}

public String lowercaseMethod()
{
return "lowercase";
}
}
}
25 changes: 17 additions & 8 deletions CefSharp.Example/CefSharp.Example.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
Expand All @@ -10,8 +10,14 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>CefSharp.Example</RootNamespace>
<AssemblyName>CefSharp.Example</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>3.5</OldToolsVersion>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand All @@ -21,6 +27,8 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -29,6 +37,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand All @@ -53,12 +62,6 @@
</Compile>
<Compile Include="SchemeHandler.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\CefSharp\CefSharp.vcproj">
<Project>{7B495581-2271-4F41-9476-ACB86E8C864F}</Project>
<Name>CefSharp</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
Expand All @@ -71,6 +74,12 @@
<Content Include="Resources\SchemeTest.html" />
<Content Include="Resources\TooltipTest.html" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\CefSharp\CefSharp.vcxproj">
<Project>{7b495581-2271-4f41-9476-acb86e8c864f}</Project>
<Name>CefSharp</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
4 changes: 2 additions & 2 deletions CefSharp.Example/ExamplePresenter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ public static void Init()
}
}

private const string home_url = "http://github.com/ataranto/CefSharp";
private const string home_url = "http://github.com/cefsharp/CefSharp";
private const string resource_url = "http://test/resource/load";
private const string scheme_url = "test://test/SchemeTest.html";
private const string bind_url = "test://test/BindingTest.html";
private const string tooltip_url = "test://test/TooltipTest.html";
private const string popup_url = "test:/test/PopupTest.html";
private const string popup_url = "test://test/PopupTest.html";

private int color_index = 0;
private readonly string[] colors =
Expand Down
7 changes: 3 additions & 4 deletions CefSharp.Example/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

[assembly: AssemblyTitle("CefSharp.Example")]
[assembly: AssemblyCompany("Anthony Taranto")]
[assembly: AssemblyCompany("The CefSharp Project")]
[assembly: AssemblyProduct("CefSharp.Example")]
[assembly: AssemblyCopyright("Copyright © 2013")]
[assembly: AssemblyCopyright("Copyright © The CefSharp Project 2013")]

[assembly: AssemblyVersion("1.25.0.*")]
[assembly: AssemblyVersion("1.25.7.0")]
[assembly: ComVisible(false)]
27 changes: 16 additions & 11 deletions CefSharp.Example/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 16 additions & 3 deletions CefSharp.Example/Resources/BindingTest.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
</head>
<body>
<p>
Result of calling bound.Repeat("hi ", 5) =
Result of calling bound.repeat("hi ", 5) =
<script type="text/javascript">
var result = bound.Repeat("hi ", 5);
var result = bound.repeat("hi ", 5);
document.write('"' + result + '"');
if(result == "hi hi hi hi hi ")
{
Expand All @@ -23,7 +23,20 @@
Methods on bound object 'bound':<br />
<ul>
<script type="text/javascript">
for(var name in bound) {
for (var name in bound)
{
if (bound[name].constructor.name != 'Function') continue;
document.write("<li>" + name + "</li>");
}
</script>
</ul>

Properties in bound object 'bound':<br />
<ul>
<script type="text/javascript">
for (var name in bound)
{
if (bound[name].constructor.name == 'Function') continue;
document.write("<li>" + name + "</li>");
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions CefSharp.Example/Resources/PopupTest.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<title>Popup Test</title>
</head>
<body>
<a href="https://github.com/ataranto/CefSharp" target="_blank">target=_blank</a>
<a href="https://github.com/perlun/CefSharp" target="_blank">target=_blank</a>
<br />
<a href="#" onclick="window.open('https://github.com/ataranto/CefSharp')">window.open()</a>
<a href="#" onclick="window.open('https://github.com/perlun/CefSharp')">window.open()</a>
</body>
</html>
7 changes: 4 additions & 3 deletions CefSharp.Example/SchemeHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public SchemeHandler()
};
}

public bool ProcessRequest(IRequest request, ref string mimeType, ref Stream stream)
public bool ProcessRequestAsync(IRequest request, SchemeHandlerResponse response, OnRequestCompletedHandler requestCompletedCallback)
{
var uri = new Uri(request.Url);
var segments = uri.Segments;
Expand All @@ -40,8 +40,9 @@ public bool ProcessRequest(IRequest request, ref string mimeType, ref Stream str
!String.IsNullOrEmpty(resource))
{
var bytes = Encoding.UTF8.GetBytes(resource);
stream = new MemoryStream(bytes);
mimeType = "text/html";
response.ResponseStream = new MemoryStream(bytes);
response.MimeType = "text/html";
requestCompletedCallback();

return true;
}
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
37 changes: 0 additions & 37 deletions CefSharp.Test/$(SolutionDir)$(ConfigurationName)/CefSharp.xml

This file was deleted.

Binary file not shown.
21 changes: 17 additions & 4 deletions CefSharp.Test/CefSharp.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
Expand All @@ -10,8 +10,14 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>CefSharp.Test</RootNamespace>
<AssemblyName>CefSharp.Test</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>3.5</OldToolsVersion>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand All @@ -21,6 +27,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -29,6 +36,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="nunit.framework, Version=2.6.0.12035, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
Expand All @@ -45,11 +53,16 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\CefSharp.WinForms\CefSharp.WinForms.vcproj">
<ProjectReference Include="..\CefSharp.WinForms\CefSharp.WinForms.vcxproj">
<Project>{978c9b2b-04b6-4359-a341-ca3fcbe98d32}</Project>
<Name>CefSharp.WinForms</Name>
</ProjectReference>
<ProjectReference Include="..\CefSharp\CefSharp.vcxproj">
<Project>{7b495581-2271-4f41-9476-acb86e8c864f}</Project>
<Project>{978C9B2B-04B6-4359-A341-CA3FCBE98D32}</Project>
<Name>CefSharp.WinForms</Name>
</ProjectReference>
<ProjectReference Include="..\CefSharp\CefSharp.vcproj">
<ProjectReference Include="..\CefSharp\CefSharp.vcxproj">
<Project>{7B495581-2271-4F41-9476-ACB86E8C864F}</Project>
<Name>CefSharp</Name>
</ProjectReference>
Expand Down
Loading