Commit bc3b9aa
committed
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).1 parent c4b5ef5 commit bc3b9aaCopy full SHA for bc3b9aa
File tree
Expand file treeCollapse file tree
233 files changed
+20160
-3752
lines changedOpen diff view settings
Filter options
- docs/api
- src
- client_handler
- cython_includes
- include
- base
- internal
- internal
- test
- wrapper
- linux
- binaries_32bit
- binaries_64bit
- setup
- mac
- binaries_32bit
- binaries_64bit
- setup
- subprocess
- version
- windows
- binaries_32bit
- binaries_64bit
- setup
- wx
- examples
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
233 files changed
+20160
-3752
lines changedOpen diff view settings
Collapse file
+257-252Lines changed: 257 additions & 252 deletions
- Display the source diff
- Display the rich diff
Large diffs are not rendered by default.
Collapse file
docs/api/ApplicationSettings.md
Copy file name to clipboardExpand all lines: docs/api/ApplicationSettings.md+164-88Lines changed: 164 additions & 88 deletions
- Display the source diff
- Display the rich diff
Large diffs are not rendered by default.
Collapse file
+26-7Lines changed: 26 additions & 7 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
10 | 10 | |
11 | 11 | |
12 | 12 | |
| 13 | + |
13 | 14 | |
14 | 15 | |
15 | 16 | |
| ||
44 | 45 | |
45 | 46 | |
46 | 47 | |
| 48 | + |
47 | 49 | |
48 | 50 | |
49 | 51 | |
| ||
118 | 120 | |
119 | 121 | |
120 | 122 | |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | + |
| 130 | + |
| 131 | + |
| 132 | + |
121 | 133 | |
122 | 134 | |
123 | 135 | |
| ||
160 | 172 | |
161 | 173 | |
162 | 174 | |
163 | | - |
| 175 | + |
164 | 176 | |
165 | 177 | |
166 | 178 | |
| ||
467 | 479 | |
468 | 480 | |
469 | 481 | |
| 482 | + |
| 483 | + |
| 484 | + |
| 485 | + |
| 486 | + |
| 487 | + |
| 488 | + |
| 489 | + |
| 490 | + |
| 491 | + |
470 | 492 | |
471 | 493 | |
472 | 494 | |
| ||
487 | 509 | |
488 | 510 | |
489 | 511 | |
490 | | - |
491 | | - |
492 | | - |
493 | | - |
| 512 | + |
494 | 513 | |
495 | 514 | |
496 | 515 | |
| ||
634 | 653 | |
635 | 654 | |
636 | 655 | |
637 | | - |
| 656 | + |
638 | 657 | |
639 | 658 | |
640 | | - |
| 659 | + |
641 | 660 | |
642 | 661 | |
643 | 662 | |
|
Collapse file
docs/api/BrowserSettings.md
Copy file name to clipboardExpand all lines: docs/api/BrowserSettings.md+33-16Lines changed: 33 additions & 16 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8 | 8 | |
9 | 9 | |
10 | 10 | |
11 | | - |
| 11 | + |
12 | 12 | |
13 | | - |
| 13 | + |
14 | 14 | |
15 | 15 | |
16 | 16 | |
| ||
21 | 21 | |
22 | 22 | |
23 | 23 | |
24 | | - |
25 | 24 | |
26 | 25 | |
27 | 26 | |
| ||
32 | 31 | |
33 | 32 | |
34 | 33 | |
| 34 | + |
35 | 35 | |
36 | 36 | |
37 | 37 | |
38 | 38 | |
39 | | - |
| 39 | + |
| 40 | + |
40 | 41 | |
41 | 42 | |
42 | 43 | |
| ||
60 | 61 | |
61 | 62 | |
62 | 63 | |
63 | | - |
| 64 | + |
64 | 65 | |
65 | | - |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
66 | 71 | |
67 | 72 | |
68 | 73 | |
69 | 74 | |
70 | 75 | |
71 | 76 | |
72 | 77 | |
73 | | - |
| 78 | + |
74 | 79 | |
75 | | - |
76 | | - |
77 | | - |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
78 | 86 | |
79 | 87 | |
80 | 88 | |
| ||
119 | 127 | |
120 | 128 | |
121 | 129 | |
122 | | - |
| 130 | + |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
123 | 135 | |
124 | 136 | |
125 | 137 | |
126 | 138 | |
127 | 139 | |
128 | 140 | |
129 | 141 | |
130 | | - |
131 | | - |
132 | | - |
133 | | - |
134 | | - |
135 | 142 | |
136 | 143 | |
137 | 144 | |
| ||
182 | 189 | |
183 | 190 | |
184 | 191 | |
| 192 | + |
| 193 | + |
| 194 | + |
| 195 | + |
| 196 | + |
| 197 | + |
| 198 | + |
| 199 | + |
| 200 | + |
| 201 | + |
Collapse file
+45-39Lines changed: 45 additions & 39 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8 | 8 | |
9 | 9 | |
10 | 10 | |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
11 | 16 | |
12 | 17 | |
13 | 18 | |
| ||
61 | 66 | |
62 | 67 | |
63 | 68 | |
64 | | - |
65 | | - |
66 | | - |
| 69 | + |
| 70 | + |
| 71 | + |
67 | 72 | |
68 | 73 | |
69 | 74 | |
| ||
73 | 78 | |
74 | 79 | |
75 | 80 | |
76 | | - |
77 | | - |
78 | | - |
| 81 | + |
| 82 | + |
| 83 | + |
79 | 84 | |
80 | | - |
81 | | - |
82 | | - |
83 | | - |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
84 | 89 | |
85 | 90 | |
86 | 91 | |
| ||
92 | 97 | |
93 | 98 | |
94 | 99 | |
95 | | - |
96 | | - |
97 | | - |
98 | | - |
99 | | - |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
100 | 105 | |
101 | | - |
102 | | - |
103 | | - |
104 | | - |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
105 | 110 | |
106 | 111 | |
107 | 112 | |
| ||
114 | 119 | |
115 | 120 | |
116 | 121 | |
117 | | - |
118 | | - |
| 122 | + |
| 123 | + |
| 124 | + |
119 | 125 | |
120 | | - |
121 | | - |
| 126 | + |
| 127 | + |
| 128 | + |
122 | 129 | |
123 | | - |
124 | | - |
125 | | - |
| 130 | + |
| 131 | + |
126 | 132 | |
127 | 133 | |
128 | 134 | |
| ||
134 | 140 | |
135 | 141 | |
136 | 142 | |
137 | | - |
| 143 | + |
138 | 144 | |
139 | 145 | |
140 | | - |
141 | | - |
| 146 | + |
| 147 | + |
142 | 148 | |
143 | | - |
144 | | - |
| 149 | + |
| 150 | + |
| 151 | + |
145 | 152 | |
146 | | - |
147 | | - |
148 | | - |
| 153 | + |
| 154 | + |
149 | 155 | |
150 | 156 | |
151 | 157 | |
| ||
160 | 166 | |
161 | 167 | |
162 | 168 | |
163 | | - |
164 | | - |
| 169 | + |
| 170 | + |
165 | 171 | |
166 | 172 | |
167 | 173 | |
| ||
173 | 179 | |
174 | 180 | |
175 | 181 | |
176 | | - |
177 | | - |
178 | | - |
| 182 | + |
| 183 | + |
| 184 | + |
Collapse file
+2Lines changed: 2 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
114 | 114 | |
115 | 115 | |
116 | 116 | |
| 117 | + |
| 118 | + |
117 | 119 | |
118 | 120 | |
119 | 121 | |
|
Collapse file
docs/api/JavascriptDialogHandler.md
Copy file name to clipboardExpand all lines: docs/api/JavascriptDialogHandler.md+15-12Lines changed: 15 additions & 12 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
51 | 51 | |
52 | 52 | |
53 | 53 | |
54 | | - |
55 | | - |
56 | | - |
57 | | - |
58 | | - |
59 | | - |
60 | | - |
61 | | - |
62 | | - |
63 | | - |
64 | | - |
65 | | - |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
66 | 69 | |
67 | 70 | |
68 | 71 | |
|
0 commit comments