-
Notifications
You must be signed in to change notification settings - Fork 38
Description
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
- Add a
pypdfium2_configsubmodule or similar to let the caller to customize the init phase, e.g. custom font paths. See also feat: Add custom font initialization for PDFium #380 (comment)
Setup / CI
-
If possible, avoid our setup code running twice on
pip install. cibuildwheel FAQ recommends running codegen inbuild_pyclass, 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_28dual-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
stablebranch todocs. See Rename misleadingstablebranch todocs#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=systeminstallation, if feasible. (Prio: Low) -
autorelease: add comment field for the pin, instead of having it in
base.pywhich 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
- Use
Py_IncRef()/Py_DecRef()instead of wonky reference holder objects. (Also affects Readme Raw API examples.) (Prio: Medium) - Think about mutex sharing, and plugging in a mutex into the autoclose machinery. See also Crashed in a multi-threaded environment datalab-to/marker#225 (comment) ff. (Prio: Medium)
- Use