Skip to content

Enhancements tracking issue #379

@mara004

Description

@mara004

Users / non-maintainers, please do not comment on this issue! Open your own issue or discussions ticket instead.


This is a meta-issue to track miscellaneous tasks / possible enhancements that may not merit an own issue, but should be kept in mind (regard it as the maintainer's notes to self).

Runtime

Setup / CI

  • If possible, avoid our setup code running twice on pip install. cibuildwheel FAQ recommends running codegen in build_py class, but not sure what impact that may have on control flow and metadata consistency in our case. (Prio: High)

  • Properly determine the Linux glibc tags instead of guessing and hardcoding them. Consider doing it as a post-processing step with auditwheel in craft.py. See Confusion around minimum required glibc version (linux) #203. (Prio: High)

  • On Windows / in refbindings, expose windows-only members, such as FPDF_RenderPage (to windows device context). (Activity in forks shows this may be desired by some embedders.)

  • In the packaging workflow, switch from a temporary branch to patchfile transfer? (Prio: Low)

  • cibuildwheel: figure out why we are getting an awkward 2_27/2_28 dual-tag which makes no sense. Might need to file an issue upstream. See build_native testing on the linux/s390x #368 (reply in thread).

  • Create a workflow that aggregates and publishes the intersection of the cibuildwheel / sourcebuild workflows? See Sourcebuild workflow refactoring #377 (comment) ff.

  • Rename potentially misleading stable branch to docs. See Rename misleading stable branch to docs #342 (Prio: Low)

  • Test platforms not provided by GH actions via emulation. See Test platforms not provided by GH actions via emulation #339 (Prio: Low)

  • Add testing workflow for PDFIUM_PLATFORM=system installation, if feasible. (Prio: Low)

  • autorelease: add comment field for the pin, instead of having it in base.py which needs manual taking care of. (Prio: Low)

  • setupsrc/ chores:

    • Use proper enums instead of string classes.
    • Add ability to access abstracted OS/CPU separately through sub-attributes for PlatNames.
    • Add a proper mapping from uname to Google CPU names.
    • Align our own platform names with either uname or Google?
    • Try to unbloat and defragment setup code. Avoid introducing new bloat.
    • Give pdfium-binaries targets a prefix, instead of just the platform name?

Runtime sources

  • New Features

    • Matrix render helper
    • CLI
      • input mode selection
      • ability to render multiple files at once
  • Enhancements

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions