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

Jules - various build improvements, drop support for python-3.8, fix for latest mupdf. #3926

Merged
merged 10 commits into from
Oct 8, 2024

Commits on Oct 7, 2024

  1. Configuration menu
    Copy the full SHA
    5aaa77a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8ddb4a9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c69dcf6 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. scripts/: moved pyodide wheel-building code from scripts/gh_release.p…

    …y to scripts/test.py.
    
    This allows us to build Pyodide wheels using scripts/test.py without involving
    Github.
    
    Also in scripts/test.py, added `-s` flag to control use of Py_LIMITED_API.
    julian-smith-artifex-com committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    1d978af View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    32f95b9 View commit details
    Browse the repository at this point in the history
  3. src/extra.i: avoid occasional Windows build problem with Py_LIMITED_API.

    On some windows machines, the generated C++ code's calls to malloc() and free()
    can cause a compilation failure.
    julian-smith-artifex-com committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    0d0d7cf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f491411 View commit details
    Browse the repository at this point in the history
  5. src/__init__.py: added TEXT_STEXT_SEGMENT copy of latest MuPDF's FZ_S…

    …TEXT_SEGMENT.
    
    Also improved definitions of TEXT_* constants for mupdf-1.24.x vs later mupdf
    versions.
    julian-smith-artifex-com committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    8d9938b View commit details
    Browse the repository at this point in the history
  6. docs/samples/code-printer.py: fixed to work with latest MuPDF.

    Specifying complement of a bitmask goes wrong if a new enum value is added to
    MuPDF, so we now simply use `pymupdf.TEXTFLAGS_SEARCH`.
    julian-smith-artifex-com committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    c5ab1f4 View commit details
    Browse the repository at this point in the history
  7. .github/workflows scripts/gh_release.py: treat pyodide more like othe…

    …r wheels.
    
    .github/workflows/test_mupdf-master-branch.yml
    .github/workflows/test_mupdf-release-branch.yml
        Also build pyodide wheel.
    scripts/gh_release.py
        Don't special-case pyodide - we used to build with mupdf master branch if
        run as a scheduled Github action.
    julian-smith-artifex-com committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    a85442b View commit details
    Browse the repository at this point in the history