FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Comparing cztomczak:master...shawcx:master · cztomczak/cefpython · GitHub

Repository navigation

Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cztomczak/cefpython
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
Could not load branches
Nothing to show
{{ refName }}
...
head repository: shawcx/cefpython
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Could not load branches
Nothing to show
{{ refName }}
Checking mergeability… Don’t worry, you can still create the pull request.
  • 13 commits
  • 242 files changed
  • 2 contributors

Commits on Oct 5, 2026

  1. Drop Python 2 and Python < 3.12 support

    - Remove PY_MAJOR_VERSION branches, basestring/unicode/long and
      iteritems from Cython sources; compile with language_level=3.
    - Fix bytes values being sent to the renderer as "b'...'" strings
      in process_message_utils.pyx.
    - Require Python 3.12+ in the public API header, installer and
      build_distrib.py; load cefpython_pyXY module dynamically.
    - Replace distutils with setuptools/sysconfig, remove raw_input
      shims and old Visual Studio (2008/2010) code paths.
    - Find Python headers with sysconfig (fixes uv/standalone Pythons).
    - build.py installs a wheel with pip instead of setup.py install.
    - Pin Cython 3.3.0 (3.1 fails to compile py_string defaults) and
      replace docopt with docopt-ng.
    - Remove deprecated py27 vcproj files, src/windows/py27,
      src/linux/deb_pkg_deprecated and src/cefpython3.wx.
    - Examples: remove pkg_resources version asserts, Python 2
      branches and invalid escape sequences.
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    shawcx and claude committed Oct 5, 2026
    Configuration menu
    Copy the full SHA
    f51920b View commit details
    Browse the repository at this point in the history
  2. Update CEF to 154.0.33 (Chromium 154.0.8037.94)

    Update headers in src/include and src/version from the CEF 154
    binary distribution, stepping through CEF 128, 133, 139 and 144.
    Windows/Mac-only headers in src/include are still from CEF 123.
    
    - Create all browsers with CEF_RUNTIME_STYLE_ALLOY (Chrome style is
      the default since CEF 128 and lacks client callbacks we use).
    - Pass "disable-popup-blocking" by default, Chromium 128+ blocks
      window.open() without user gesture also for Alloy style.
    - Handler signature changes: OnFileDialog (accept_extensions,
      accept_descriptions), OnBeforeDownload returns bool,
      OnRenderProcessTerminated (error_code, error_string),
      OnBeforePopup (popup_id).
    - Removed settings pack_loading_disabled, persist_user_preferences
      and databases_disabled are ignored with a DEPRECATED message.
    - Keep REFERRER_POLICY_LAST_VALUE and ERR_NO_SSL_VERSIONS_ENABLED
      constants with their old values.
    - Remove CefOverridePath call (removed from CEF); SetOsModalLoop is
      a no-op outside Windows.
    - DpiAware.SetProcessDpiAware calls the native implementation,
      EnableHighDpiSupport was removed with CEF 123.
    - Read API hashes from cef_api_versions.h (CEF 133+ API versioning)
      for the current platform; define CEF_X11 in cef_config.h on Linux.
    - Compile as C++20; downgrade GCC's -Wself-move in CEF's ceftests.
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    shawcx and claude committed Oct 5, 2026
    Configuration menu
    Copy the full SHA
    5149e9f View commit details
    Browse the repository at this point in the history
  3. Port Linux build to GTK 3 and fix X11 embedding

    - Build with GTK 3 using pkg-config in the Makefiles and
      cython_setup.py; track header dependencies (-MMD) so objects
      are rebuilt when CEF headers change, and clean all objects.
    - Regenerate the GTK dialog and print handlers and the Linux
      external message pump from cefclient 154; util_gtk.h replaces
      the cefclient helpers they use. Refresh the .patch files.
    - gtk_plug_new takes an X11 Window in GTK 3; undefine Xlib's
      Status macro that clashes with CEF headers.
    - Set the window title on the top-level window owned by the
      process (_NET_WM_PID) instead of CEF's inner window.
    - Embedding in GTK 3 and wxPython windows failed with an X11
      MatchError (BadWindow, blank browser, GPU process crashes)
      as they use a non-default visual. Insert a wrapper window with
      the default visual in such case, resize it in SetBounds and
      destroy it when the browser closes.
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    shawcx and claude committed Oct 5, 2026
    Configuration menu
    Copy the full SHA
    00bede9 View commit details
    Browse the repository at this point in the history
  4. Make JavaScript bindings available before page scripts run

    Bindings set with Browser.SetJavascriptBindings() after creating
    the browser are sent by process message and arrived after
    window.onload in all test runs with CEF 123+.
    
    - Add CreateBrowserSync(javascript_bindings=...). The bindings are
      passed in CEF's extra_info and stored by the renderer in
      OnBrowserCreated, before any V8 context exists.
    - Popups get bindings with bindToPopups=True the same way in
      OnBeforePopup.
    - Update tutorial.py and the javascript_bindings.py snippet.
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    shawcx and claude committed Oct 5, 2026
    Configuration menu
    Copy the full SHA
    8a2f2aa View commit details
    Browse the repository at this point in the history
  5. Update unit tests for Chromium 154 behavior

    - main_test: pass bindings to CreateBrowserSync and fail if they
      are missing in window.onload; still test SetJavascriptBindings.
    - OnContextCreated: no context is created for the initial empty
      document since Chromium 123, and it is called again when
      DevTools open since Chromium 133.
    - Fix the DevTools check racing the message loop.
    - osr_test: layoutComplete accessibility events are gone; move an
      element after loadComplete to get location changes; delay the
      text selection, as input sent right at load end is dropped.
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    shawcx and claude committed Oct 5, 2026
    Configuration menu
    Copy the full SHA
    f0c87ba View commit details
    Browse the repository at this point in the history
  6. Update GUI examples: Qt 6, remove GTK 2

    - qt.py supports PyQt5, PyQt6 and PySide6; PyQt4, PySide and
      PySide2 can't be installed on Python 3.12+.
    - Remove gtk2.py, PyGTK is Python 2 only.
    - gtk3.py: remove a version check that compared strings.
    - run_examples.py: run qt.py with all Qt 5/6 bindings, and record
      PyQt5 as installed (it never was).
    
    All examples tested on Linux with CEF 154: hello_world, tutorial,
    screenshot, tkinter_, gtk3, wxpython, pysdl2, qt (pyqt6, pyside6).
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    shawcx and claude committed Oct 5, 2026
    Configuration menu
    Copy the full SHA
    23d07e9 View commit details
    Browse the repository at this point in the history
  7. Tag Linux wheels with the manylinux glibc version they need

    The manylinux1 tag was wrong: CEF 154 binaries and modules built
    on a current distribution need a much newer glibc. setup.py now
    uses the highest GLIBC_x.y symbol version found in the packaged
    binaries, eg. manylinux_2_34_x86_64 when built on Ubuntu 24.04.
    Use setuptools' bdist_wheel (the one in "wheel" is deprecated).
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    shawcx and claude committed Oct 5, 2026
    Configuration menu
    Copy the full SHA
    706b408 View commit details
    Browse the repository at this point in the history
  8. Update docs for CEF 154 and Python 3.12+

    - Migration guide: v154 section with removed and renamed API
      (including undocumented changes from the CEF 123 update),
      removed settings and their command line switch replacements,
      and Chromium behavior changes.
    - Build instructions: verified Linux steps, Windows marked as not
      yet ported to CEF 154.
    - README install table, Tutorial bindings and install sections.
    - API reference: document javascript_bindings, CanSendCookie and
      CanSaveCookie; remove or rename items removed from the API;
      regenerate API index and TOCs.
    - apidocs.py: skip README.md when it has no API categories.
    - Add CLAUDE.md with build, test and architecture notes.
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    shawcx and claude committed Oct 5, 2026
    Configuration menu
    Copy the full SHA
    b0b87c2 View commit details
    Browse the repository at this point in the history
  9. debian package

    shawcx committed Oct 5, 2026
    Configuration menu
    Copy the full SHA
    2a2f959 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8daba8a View commit details
    Browse the repository at this point in the history
  11. Merge pull request #1 from shawcx/py3-cef154

    Py3 cef154
    shawcx authored Oct 5, 2026
    Configuration menu
    Copy the full SHA
    1bdacfd View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2026

  1. Port macOS (Apple Silicon) build to CEF 154

    - Build for arm64 ("macosarm64" CEF distribution, "macarm64"
      build dirs), macOS 12+ like upstream CEF, wheel tag
      macosx_12_0_<arch>.
    - Load the CEF framework at runtime with cef_load_library()
      in the module and CefScopedLibraryLoader in the subprocess,
      instead of linking it (required since CEF 75).
    - Create the five helper app bundles ("CEF Python Helper.app",
      "... (GPU).app", "... (Renderer).app", etc.) next to the
      framework in build.py and ad-hoc sign them.
    - Add the main_bundle_path setting and default it to the main
      bundle of the Python process, so that subprocesses get the
      same base bundle ID and can connect to the browser process.
    - Wrap CEF calls that create or close windows in autorelease
      pools. Python calls them outside the Cocoa event loop and the
      leaked references kept browsers from being destroyed.
    - Update Mac CEF headers, regenerate the Mac external message
      pump from upstream, fix SetAsChild for CefRect and the
      sendEvent swizzle selectors in util_mac.mm.
    - Remove the Cython PyMODINIT_FUNC monkey patch, Python 3.12+
      already exports it, and keep CEF's GetAuthCredentials
      overload visible for clang's -Woverloaded-virtual.
    - Document the Mac build and a known upstream issue: on
      macOS 27 CefShutdown() waits 10 s for the network service and
      Chromium's teardown watchdog terminates the process.
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    shawcx and claude committed Oct 16, 2026
    Configuration menu
    Copy the full SHA
    5c9d17e View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2026

  1. Merge branch 'macos-cef154'

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    shawcx and claude committed Oct 25, 2026
    Configuration menu
    Copy the full SHA
    62a95d3 View commit details
    Browse the repository at this point in the history
Loading

Back | FazBrowse Home | New Git URL