Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cefpython123 #669

Merged
merged 33 commits into from
Feb 17, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
523362f
py3 update for automate-git.py and automate.py
Jan 28, 2024
5a5df95
--disable-syntax-validation option at gclient has been removed from u…
Jan 28, 2024
41e0b97
Add support for Python 3.8 and Upgrade Cython (#594)
gmjosack Feb 14, 2021
92a6c69
update spotify prebuilt cef url
Jan 28, 2024
e8a5dc7
fix
Jan 29, 2024
f49ab60
add support for cef 123 version
May 11, 2024
24abdc3
Fix CefListValue "int index" params (#461).
cztomczak Jan 14, 2020
5309afe
getting partical fix from https://github.com/cztomczak/cefpython/comm…
May 12, 2024
0a6a22d
getting partical fix (part 2) from https://github.com/cztomczak/cefpy…
May 12, 2024
daacb75
undo previous unittest change (partly)
May 12, 2024
748f104
Fix V8ContextHandler.OnContextCreated and OnContextReleased (#484).
cztomczak Jan 17, 2020
cd70070
add python311 support
May 12, 2024
e67aa83
undo previous accidental change to common.py
May 12, 2024
2c8819c
update misc place for py311 support
May 12, 2024
af864f0
better handle MainMessageLoopExternalPump, remove some previouis test…
May 19, 2024
cffcf93
add mainframe validation at javascript_bindings.pyx
May 25, 2024
b7aa32c
undo unexpected change to src/compile_time_constatns.pxi
linesight Feb 10, 2025
ffbfdad
not use obsolete base/cef_ptr_util.h
linesight Feb 10, 2025
b3d38bc
add back cef_mac.h and cef_linux.h
linesight Feb 11, 2025
615af96
address pull request feedback
linesight Feb 11, 2025
52edcd8
restore previous language_level line at cython_setup.py
linesight Feb 11, 2025
720782b
remove obsolete stuff
linesight Feb 11, 2025
44fda11
Merge branch 'master' into cefpython123
linesight Feb 13, 2025
3550c40
delete previously commented code
linesight Feb 15, 2025
c68cb2e
address pull request feedback
linesight Feb 15, 2025
cf1778b
delete previously commented code
linesight Feb 15, 2025
541f136
update osr_test.py to respect current event data type
linesight Feb 15, 2025
c4c0806
delete OnPluginCrashed; add initial implementation of CanSendCookie a…
linesight Feb 16, 2025
8286fb1
add back upstream cef 6312 branch's cef_types_linux.h and cef_types_m…
linesight Feb 17, 2025
099f5a1
remove commented SendProcessMessage from cef_browser.pxd
linesight Feb 17, 2025
eddbce1
one more place to use str type for uniqueFrameId
linesight Feb 17, 2025
db1d3ac
bring back SendFocusEvent in browser.pyx for backward compatibility
linesight Feb 17, 2025
1585ccf
replace ondomread.py example using example.com, as google.com website…
linesight Feb 17, 2025
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,9 @@ support old operating systems then choose the v31 release.

OS | Py2 | Py3 | 32bit | 64bit | Requirements
--- | --- | --- | --- | --- | ---
Windows | 2.7 | 3.4 / 3.5 / 3.6 / 3.7 | Yes | Yes | Windows 7+
Linux | 2.7 | 3.4 / 3.5 / 3.6 / 3.7 | Yes | Yes | Debian 8+, Ubuntu 14.04+,<br> Fedora 24+, openSUSE 13.3+
Mac | 2.7 | 3.4 / 3.5 / 3.6 / 3.7 | No | Yes | MacOS 10.9+
Windows | 2.7 | 3.4 / 3.5 / 3.6 / 3.7 / 3.8 | Yes | Yes | Windows 7+
Linux | 2.7 | 3.4 / 3.5 / 3.6 / 3.7 3.8 | Yes | Yes | Debian 8+, Ubuntu 14.04+,<br> Fedora 24+, openSUSE 13.3+
Mac | 2.7 | 3.4 / 3.5 / 3.6 / 3.7 / 3.8 | No | Yes | MacOS 10.9+

These platforms are not supported yet:
- ARM - see [Issue #267](../../issues/267)
Expand Down
2 changes: 2 additions & 0 deletions src/common/cefpython_public_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
#include "../../build/build_cefpython/cefpython_py36_fixed.h"
#elif PY_MINOR_VERSION == 7
#include "../../build/build_cefpython/cefpython_py37_fixed.h"
#elif PY_MINOR_VERSION == 8
#include "../../build/build_cefpython/cefpython_py38_fixed.h"
#endif // PY_MINOR_VERSION
#endif // PY_MAJOR_VERSION

Expand Down
2 changes: 1 addition & 1 deletion tools/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def setup_environ():
print("[build.py] PYTHON_INCLUDE: {python_include}"
.format(python_include=os.environ["PYTHON_INCLUDE"]))

os.environ["CEF_CCFLAGS"] = "-std=gnu++11 -DNDEBUG -Wall -Werror"
os.environ["CEF_CCFLAGS"] = "-std=gnu++11 -DNDEBUG -Wall -Werror -Wno-deprecated-declarations"
if FAST_FLAG:
os.environ["CEF_CCFLAGS"] += " -O0"
else:
Expand Down
2 changes: 1 addition & 1 deletion tools/build_distrib.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
ALLOW_PARTIAL = False

# Python versions
SUPPORTED_PYTHON_VERSIONS = [(2, 7), (3, 4), (3, 5), (3, 6), (3, 7)]
SUPPORTED_PYTHON_VERSIONS = [(2, 7), (3, 4), (3, 5), (3, 6), (3, 7), (3, 8)]

# Python search paths. It will use first Python found for specific version.
# Supports replacement of one environment variable in path eg.: %ENV_KEY%.
Expand Down
2 changes: 2 additions & 0 deletions tools/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,8 @@ def get_msvs_for_python(vs_prefix=False):
return "VS2015" if vs_prefix else "2015"
elif sys.version_info[:2] == (3, 7):
return "VS2015" if vs_prefix else "2015"
elif sys.version_info[:2] == (3, 8):
return "VS2015" if vs_prefix else "2015"
else:
print("ERROR: This version of Python is not supported")
sys.exit(1)
Expand Down
3 changes: 3 additions & 0 deletions tools/installer/cefpython3.__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@
elif sys.version_info[:2] == (3, 7):
# noinspection PyUnresolvedReferences
from . import cefpython_py37 as cefpython
elif sys.version_info[:2] == (3, 8):
# noinspection PyUnresolvedReferences
from . import cefpython_py38 as cefpython
else:
raise Exception("Python version not supported: " + sys.version)
1 change: 1 addition & 0 deletions tools/installer/cefpython3.setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ def main():
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Desktop Environment",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP",
Expand Down
2 changes: 1 addition & 1 deletion tools/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Cython == 0.28.4
Cython == 0.29.21
docopt >= 0.6.2
setuptools
wheel
Expand Down