dylanede / cefpython

Automatically exported from code.google.com/p/cefpython
0 stars 0 forks source link

Update to CEF branch 1750 (Chrome 33) #138

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This branch is almost stable, except the CefInitialize failures on Linux 
reported in Issue 133. But there is a fix provided in comment #2 in that issue. 
These failures occur in current branch 1650 as well.

Branch 1750 switched to Aura UI stack. There are some issues with Aura, such as 
no progress mouse cursor indicator when loading webpage. All newer branches up 
to the latest 2078 suffer from this issue. It probably won't be fixed in the 
near future, see the issue in Chromium tracker:

https://code.google.com/p/chromium/issues/detail?id=133039

We might fix it ourselves, at least on Windows, by using Windows API functions 
to change mouse cursor indicator during loading of a page. Mouse cursor changes 
should happen in `CefLoadHandler::OnLoadingStateChange`.

Original issue reported on code.google.com by czarek.t...@gmail.com on 29 Aug 2014 at 7:29

GoogleCodeExporter commented 9 years ago

Original comment by czarek.t...@gmail.com on 29 Aug 2014 at 7:29

GoogleCodeExporter commented 9 years ago
Czarek, thanks for taking on this update.

Is there an ETA for this release? I'm currently on 29.4 (31.0 has shown 
animation issues in my application), and I really just need a release which 
enables caching for pages with certificate errors (e.g. when using self-signed 
certs).

Original comment by n.klaric@gmail.com on 29 Aug 2014 at 1:35

GoogleCodeExporter commented 9 years ago
There is no known schedule as of the moment. You could build 29.4 from sources 
with added support for https caching with certificate errors. If that's a 
viable option please ask for instructions on Forum.

Original comment by czarek.t...@gmail.com on 29 Aug 2014 at 3:51

GoogleCodeExporter commented 9 years ago
Unfortunately, that's not an option.

Original comment by n.klaric@gmail.com on 29 Aug 2014 at 7:29

GoogleCodeExporter commented 9 years ago
Bump.  Chromium 33 adds Promises, which our codebase currently uses.  We can 
work around it, but it'd be nice not to have to.  If this is coming, it would 
be good to know.

Original comment by patrick....@fivestars.com on 2 Oct 2014 at 6:45

GoogleCodeExporter commented 9 years ago
I wanted Chrome 33 support with CEFPython on Linux, so I have ported what was 
necessary for me to achieve that.

I've attached a patch showing the sections that I needed to change, in that 
hope that it is of some help to others if you decide to move CEFPython to 
Chrome 33. The patch assumes that you have already copied the CEF 33 include/ 
directory.

This works for me on Linux but I do not have a Windows build enviroment to test 
it on. Chrome 33 added a new sandbox option - which only applies to Windows. So 
I could safely pass NULL on Linux. On Windows passing NULL is also acceptable - 
as I understand it - if sandbox is disabled but I do not know if that is the 
case with CEFPython on Windows.

GetDevToolsURL has been removed in the change from 31 to 33 and as I do not use 
this feature I have simply commented out the calls to it. It has been replaced 
with a simpler looking method in 33 that directly triggers the dev tools 
instead of the more complicated current approach of getting the URL then 
triggering that URL but I did not add support for that as I do not need it.

Also user style sheets are removed so I have simply removed the cefpython code 
for dealing with them.

Some of the above assumptions may not be suitable for other users so I am just 
providing the patch in the hope that it can be of some assistance to others.

Original comment by gregfarr...@gmail.com on 29 Oct 2014 at 2:12

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks Greg,

Here's a patch to add a couple of missed typedefs.

This fixes javascript callbacks for me.

Original comment by finn.hug...@gmail.com on 31 Oct 2014 at 3:56

Attachments: