Skip to content

Commit

Permalink
Update tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
mara004 committed Sep 8, 2022
1 parent 6bbcc90 commit 6e46a22
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions docs/devel/tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,23 @@
# Tasks

These are various tasks for the maintainer to keep in mind, in no specific order.
Also see the inline `TODO` marks in source code.
Also see the issues panel and inline `TODO` marks in source code.

### Main Code
* Make the bindings file `_pypdfium.py` public.
* Make members of `_utils.py` public (move into `misc.py`).
* Consider writing bytes to a tempfile before multipage rendering, to avoid duplicating document resources in memory.
* Move init/destroy into a separate file. Provide public init/destroy functions, given that embedders who deal with long-running applications might not want to have PDFium in memory all the time.
* Make members of `_utils.py` public (move into `misc.py`) ?
* Make the bindings file `_pypdfium.py` public ?
* Investigate other PDFium rendering functions. Ideally, we would want to add margins, flip and color schemes.
* Read up what `FPDFPage_Flatten()` does and if we could use it somehow.
* Consolidate and extend the support model.

### Setup Infrastructure
* packaging_base: use a class for `VerNamespace` so it can be flushed more easily.
* autorelease: If a beta version is set, remove it instead of incrementing v_patch, possibly also for v_minor.
* update_pdfium: accept `auto` for `--platform` argument.
* update_pdfium: add option to download a custom pdfium-binaries release (i. e. not the latest).
* update_pdfium: only generate the bindings file once for all platforms.
* update_pdfium: don't skip missing artefacts by default, abort instead.
* packaging_base: use a class for `VerNamespace` so it can be flushed more easily (?)
* craft_packages: add means to skip platforms for which artefacts are missing.
* setup: improve error messages if binaries/bindings are not present in the platform directory - consider downloading missing binaries implicitly on installation.
* setup: improve binary updating procedure by tracking version of currently present binaries - also consider updating outdated binaries implicitly, or at least do something against the possible mismatch with the version file.
Expand All @@ -41,4 +43,4 @@ Also see the inline `TODO` marks in source code.

### Miscellaneous
* Ask Linux distributors to package PDFium.
* Add means to plug in PDFium headers/binaries from an arbitrary location, probably using a custom environment variables.
* Add means to plug in PDFium headers/binaries from an arbitrary location, probably using custom environment variables.

0 comments on commit 6e46a22

Please sign in to comment.