CefGlue - .NET binding for CEF

Made a cool mod to CEF that you'd like to share with others? Discuss CEF modifications here, and view modifications that others have made.

CefGlue - .NET binding for CEF

Postby fddima » Thu Aug 18, 2011 2:33 pm

I just release first public preview version of CefGlue - my .net binding for the Chromium Embedded Framework.

Check it out and give me your thoughts: https://bitbucket.org/fddima/cefglue

It is pure C# P/Invoke impl. and it is uses CEF C API.

Binary release placed (in downloads section): https://bitbucket.org/fddima/cefglue/do ... f-r275.zip
This is can be used with CEF R275 binary release (http://code.google.com/p/chromiumembedd ... VS2008.zip).

Now it have full implemented CefTask, CefClient, CefLifeSpanHandler, CefLoadHandler, partially implemented CefDisplayHandler. Also partially implemented CefBrowser and CefFrame proxies. And have CefGlue.Client - simple sample application.

CefGlue assembly - exposes CEF API and independ from UI technology. CefGlue.Windows.Forms assembly exposes CefWebBrowser control.
fddima
Master
 
Posts: 774
Joined: Tue Dec 07, 2010 6:10 am

Re: CefGlue - .NET binding for CEF

Postby magreenblatt » Fri Aug 19, 2011 8:09 am

Thanks for sharing this. Would you like me to link it from the main project page?

Regards,
Marshall
magreenblatt
Site Admin
 
Posts: 9974
Joined: Fri May 29, 2009 6:57 pm

Re: CefGlue - .NET binding for CEF

Postby fddima » Sat Aug 20, 2011 11:32 am

Thanks, it will be great!
fddima
Master
 
Posts: 774
Joined: Tue Dec 07, 2010 6:10 am

Re: CefGlue - .NET binding for CEF

Postby magreenblatt » Sat Aug 20, 2011 12:29 pm

fddima wrote:Thanks, it will be great!

Done :-).
magreenblatt
Site Admin
 
Posts: 9974
Joined: Fri May 29, 2009 6:57 pm

Re: CefGlue - .NET binding for CEF

Postby fddima » Thu Aug 25, 2011 3:58 pm

CefGlue is updated to version 0.4.1-cef-r275. It contains full set of CEF API, and many fixes.
Sample client application contains very simple scheme handler which returns requested url string.
Practically it written without tests, - it one of next targets.
fddima
Master
 
Posts: 774
Joined: Tue Dec 07, 2010 6:10 am

Re: CefGlue - .NET binding for CEF

Postby timking » Mon Sep 05, 2011 2:58 am

First of all, thanks for sharing your code - I'm really liking what you've done.

I'm hitting an issue, I don't know if you already know about. When launching a popup from a page using javascript the popup displays the page correctly but the page it was launched from disappears. I would expect the original page to still be visible as per a normal browser.

I've also raised this as an issue on Bitbucket.

- on closer inspection I was being an idiot - there is no bug
Last edited by timking on Mon Sep 05, 2011 4:37 am, edited 1 time in total.
timking
Techie
 
Posts: 12
Joined: Mon Mar 21, 2011 7:23 pm

Re: CefGlue - .NET binding for CEF

Postby fddima » Mon Sep 05, 2011 3:28 am

timking wrote:First of all, thanks for sharing your code - I'm really liking what you've done.

I'm hitting an issue, I don't know if you already know about. When launching a popup from a page using javascript the popup displays the page correctly but the page it was launched from disappears. I would expect the original page to still be visible as per a normal browser.

I've also raised this as an issue on Bitbucket.

Thanks for feedback! I think it can be simple fixed.
(Discussion will be continued at issue tracker).

PS: Posting bug only to issue tracker is enough.
fddima
Master
 
Posts: 774
Joined: Tue Dec 07, 2010 6:10 am

CefGlue-0.4.3-cef-r275

Postby fddima » Sat Sep 10, 2011 7:40 am

CefGlue-0.4.3-cef-r275 available:

- Initial version of ScriptableObject feature: this is allow to expose CLR objects to browser via V8 Extension or JS Binding.
- Interop code allow work with CEF objects without managed proxies (invoke_XXX methods).
- Some fixes.
fddima
Master
 
Posts: 774
Joined: Tue Dec 07, 2010 6:10 am

CefGlue Version 0.4.4-cef-r275

Postby fddima » Thu Sep 15, 2011 4:00 pm

CefGlue Version 0.4.4-cef-r275

Download CefGlue: https://bitbucket.org/fddima/cefglue/do ... f-r275.zip
Download CEF: http://chromiumembedded.googlecode.com/ ... VS2008.zip

Contains:
- Fixes for crashes on application exit (issue #42).
- Client now support command line (to run it in different modes like multithreaded/singlethreaded message loop, and different message loop workers, note, that only multithreaded message loop is official way).
- More simple types support for ScriptableObject.
- Fixes for debug builds.

PS: Now i'm switching to trunk revisions of CEF for CefGlue development, so - next version will be 0.5. Primary target of 0.5 - it is close issues with associated milestone. Also they must no have memory leaks on ScriptableObject, allow safe throwing exceptions from property getters/setters in V8Extesion/JSBinding.
fddima
Master
 
Posts: 774
Joined: Tue Dec 07, 2010 6:10 am

CefGlue 0.5 is under development

Postby fddima » Sat Sep 17, 2011 11:27 am

CefGlue 0.5 is under development.
CefGlue dev branch contains latest updates to be compatible with CEF R286.
While CEF R286 at this moment is not stable release - this is used only in dev builds of cefglue.

Current development builds (this links are temporary):
http://cefglue.dmitriid.com/download/Ce ... 286-dev.7z
http://cefglue.dmitriid.com/download/li ... svs2010.7z

Note that i plan introduce some CEF changes, so until they are not passed to CEF trunk - i will maintain private CEF builds.

Primary CEF issues treated as blockers: http://code.google.com/p/chromiumembedd ... ail?id=323
http://code.google.com/p/chromiumembedd ... ail?id=327
http://code.google.com/p/chromiumembedd ... ail?id=329
http://code.google.com/p/chromiumembedd ... ail?id=331
This issues are mainly targets on to introduce good two-directions interop with browser and other-side (CLR objects). As i know this is mostly required feature.
fddima
Master
 
Posts: 774
Joined: Tue Dec 07, 2010 6:10 am

Next

Return to Modifications Forum

Who is online

Users browsing this forum: No registered users and 2 guests