forked from cztomczak/cefpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to CEF 3.2526.1373.gb660893 (Chrome 47)...
It builds fine on Linux, however there is an error when running during import of the cefpython .so module (Issue cztomczak#230). Upstream CEF binaries and libraries are available for download from the GH releases tagged 'v47-upstream'. Changes in upstream CEF that break backward compatibility: * Add Browser.NotifyMoveOrResizeStarted() - requires changes in examples, needs to be called in MOVE/SIZE window operations * On Linux the windowRect argument in WindowInfo.SetAsChild() is now required * When using offscreen rendering you must set the ApplicationSettings > "windowless_rendering_enabled" option to True * New args in LifespanHandler.OnBeforePopup() - targetDisposition and userGesture - wxpython.py example updated * New arg in RequestHandler.OnResourceRedirect() - request object, updated the wxpython.py example Other changes in API: * Change ApplicationSettings. Add new: user_data_path, windowless_rendering_enabled, persist_user_preferences, accept_language_list. Modify: background_color is now cross-platform (previously it was Mac only). Remove: release_dcheck_enabled - all examples updated * Change BrowserSettings. Add new: windowless_frame_rate, background_color, accept_language_list. Remove: user_style_sheet_location, java_disabled, accelerated_compositing, author_and_user_styles_disabled. * Add Browser.CloseDevTools() * Remove Browser.ParentWindowWillClose() in upstream (keep dummy for BC) * Request.GetHeaderMap() will not include the Referer value if any and SetHeaderMap() will ignore Referer value * Remove the cefpython.Request.Flags values: AllowCookies, ReportLoadTiming, ReportRawHeaders. * Update descriptions of many functions and settings in API docs * There were many more API changes in upstream, but are not yet implemented in cefpython. A list of changes since v31..v47 is available in the top comment in src/cefpython.pyx Improve integration with PyCharm: - add include "cefpython.pyx" in all .pyx files - many other fixes Set these settings in Pycharm: - in Tool Windows > Project right click on src/cython_includes dir and select Mark Directory As > Mark as Sources Root - PEP8 naming convention violation: ignored errors: N802, N803, N806 - in Inspections > unresolved references add to ignore: UNAME_SYSNAME and PY_MAJOR_VERSION and others that cause issues in PyCharm - templates usage like CefRefPtr[CefApp] always shows "unresolved reference" error - to fix it add CefApp and others to ignore list (easy with alt+enter and fix single or fix all in file) Remove duplicated comments in all C++ classes/methods that implement CEF API, eg. client_handler.cpp and client_handler.h. Comments describing method can be found in src/include/. Duplicating it might mislead when the comment is not updated when updating to newer CEF. Remove LOG macros in LOG_DEBUG.h - name conflicts with cef_logging.h (issue cef/#1830).
- Loading branch information
Showing
233 changed files
with
20,160 additions
and
3,752 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.