Commit Graph

28 Commits

Author SHA256 Message Date
ab7fe1676e Fix SPEC
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=43
2022-05-10 00:15:21 +00:00
3298cc36fc Fix SPEC
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=42
2022-05-10 00:14:03 +00:00
6d39b59bb7 - Update to v1.19.6
* Fixed #1620. The TextPage created by Page.get_textpage() will
    now be freed correctly (removed memory leak).
  * Fixed #1601. Document open errors should now be more concise
    and easier to interpret. In the course of this, two
    PyMuPDF-specific Python exceptions have been added:
    EmptyFileError – raised when trying to create a Document
    (fitz.open()) from an empty file or zero-length memory.
    FileDataError – raised when MuPDF encounters irrecoverable
    document structure issues.
  * Added Page.load_widget() given a PDF field’s xref.
  * Added Dictionary pdfcolor which provide the about 500 colors
    defined as PDF color values with the lower case color name as
    key.
  * Added algebra functionality to the Quad class. These objects
    can now also be added and subtracted among themselves, and be
    multiplied by numbers and matrices.
  * Added new constants defining the default text extraction flags
    for more comfortable handling. Their naming convention is like
    TEXTFLAGS_WORDS for page.get_text("words"). See Text Extraction
    Flags Defaults.
  * Changed Page.annots() and Page.widgets() to detect and prevent
    reloading the page (illegally) inside the iterator loops via
    Document.reload_page(). Doing this brings down the interpretor.
    Documented clean ways to do annotation and widget mass updates
    within properly designed loops.
  * Changed several internal utility functions to become
    standalone (“SWIG inline”) as opposed to be part of the Tools
    class. This, among other things, increases the performance of
    geometry object creation.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=41
2022-05-10 00:11:10 +00:00
53fe4d5039 Clean up conflicting files.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=40
2022-05-10 00:07:54 +00:00
6e4c234233 Accepting request 960494 from home:cges30901
Update to v1.19.6

OBS-URL: https://build.opensuse.org/request/show/960494
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=38
2022-03-10 10:39:51 +00:00
c2f526ccb3 Accepting request 952834 from home:cges30901
Update to v1.19.5

OBS-URL: https://build.opensuse.org/request/show/952834
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=37
2022-02-09 00:31:08 +00:00
7226fc146c Accepting request 946723 from home:cges30901
Update to v1.19.4

OBS-URL: https://build.opensuse.org/request/show/946723
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=36
2022-01-16 13:27:36 +00:00
b953851246 Accepting request 941349 from home:cges30901
Update to v1.19.3

OBS-URL: https://build.opensuse.org/request/show/941349
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=35
2021-12-18 11:03:44 +00:00
b450939ef5 Accepting request 933458 from home:cges30901
Update to v1.19.2

OBS-URL: https://build.opensuse.org/request/show/933458
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=34
2021-11-25 00:42:48 +00:00
5f853b7f08 Accepting request 884308 from home:jayvdb:branches:devel:languages:python
- Update to v1.18.11

OBS-URL: https://build.opensuse.org/request/show/884308
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=32
2021-04-11 21:47:29 +00:00
eb4ab4d25f Accepting request 875556 from home:jayvdb:branches:devel:languages:python
- Revised License to be AGPL-3.0-only
- Add %doc
- Remove COPYING now provided in tarball
- Update to v1.18.9

OBS-URL: https://build.opensuse.org/request/show/875556
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=30
2021-02-27 17:37:25 +00:00
5fb7f7f450 Accepting request 870215 from home:jayvdb:branches:devel:languages:python
- Remove doc sub-package, fixing builds
- Switch to using PyPI, adding COPYING from upstream
- Update URL
- Add build dependency openSUSE-release, needed by setup.py
- Remove fix-library-linking.patch no longer needed
- Fix %check for single-spec
- Update to v1.18.8

OBS-URL: https://build.opensuse.org/request/show/870215
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=28
2021-02-08 15:23:16 +00:00
1cf7925e00 - update to 1.17.4:
* 4th bugfix release over 1.17, which provided these highlights:
  **Added** extended language support for annotations and widgets: a mixture of
  Latin, Greece, Russian, Chinese, Japanese and Korean characters can now be
  used in 'FreeText' annotations and text widgets. No special arrangement is
  required to use it.
  * Faster page access is implemented for documents supporting a "chapter"
  structure. This applies to EPUB documents currently. This comes with several
  new :ref:`Document` methods and changes for :meth:`Document.loadPage` and the
  "indexed" page access *doc[n]*: In addition to specifying a page number as
  before, a tuple *(chaper, pno)* can be specified to identify the desired
  page.
  * **Changed:** Improved support of redaction annotations: images overlapped by
  redactions are **permanantly modified** by erasing the overlap areas. Also
  links are removed if overlapped by redactions. This is now fully in sync with
  PDF specifications.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=26
2020-09-23 12:37:02 +00:00
Tomáš Chvátal
b3a2e351df Accepting request 788939 from home:mcalabkova:branches:devel:languages:python
- Update to 1.16.14
  * Added JavaScript support to PDF form fields
  * Added a new form field method, which resets the field value to its default.
  * Added :meth:`Page.setMediaBox` for changing the physical PDF page size.
  * Added method which returns a list of Form XObjects of the page.
  * Added advanced graphics features to control the anti-aliasing values
  * Added :meth:`Document.scrub` which removes potentially sensitive data from a PDF.
  * Changed text marker annotations to accept parameters beyond just 
    quadrilaterals such that now text lines between two given points can be marked.
  * Added :meth:`Annot.setBlendMode` to set the annotation's blend mode.

OBS-URL: https://build.opensuse.org/request/show/788939
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=24
2020-03-27 10:21:05 +00:00
Tomáš Chvátal
142edaa571 Accepting request 779055 from home:guoyunhe:branches:devel:languages:python
- Version update to 1.16.11
  * Add redact/replace support
  * Fix PolygonAnnotation

OBS-URL: https://build.opensuse.org/request/show/779055
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=22
2020-02-25 12:41:23 +00:00
Tomáš Chvátal
258dcdba8b Accepting request 764643 from home:mcalabkova:branches:devel:languages:python
- update to 1.16.10
  * PyMuPDF can also be used as a module in the commandline using 
    "python -m fitz"
  * Support for Python 3.4 has been dropped.

OBS-URL: https://build.opensuse.org/request/show/764643
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=20
2020-01-15 12:25:40 +00:00
Tomáš Chvátal
8d1c1a9037 Accepting request 734557 from home:guoyunhe:branches:devel:languages:python
- Version update to 1.16.3
  * significant performance improvements for dict / rawdict text
    extraction
  * Page.getText() now support text extraction for "blocks" and
    "words"

OBS-URL: https://build.opensuse.org/request/show/734557
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=18
2019-10-02 11:55:21 +00:00
Tomáš Chvátal
c84181855c Accepting request 731595 from home:guoyunhe:branches:devel:languages:python
- Version update to 1.16.2
  * Fix memory leak with getText(“rawDICT”)
- Add %check step
- Change category to Development/Libraries/Python
- python-PyMuPDF-doc should be noarch

OBS-URL: https://build.opensuse.org/request/show/731595
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=16
2019-09-18 05:35:00 +00:00
Tomáš Chvátal
54737486f5 Accepting request 728973 from home:guoyunhe:branches:devel:languages:python
version 1.16.1

OBS-URL: https://build.opensuse.org/request/show/728973
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=14
2019-09-07 11:04:21 +00:00
Tomáš Chvátal
e21dba613b Accepting request 719817 from home:pgajdos
- version update to 1.14.19
  * minor fixes
  * added method to check PDF signature status (#326)

OBS-URL: https://build.opensuse.org/request/show/719817
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=12
2019-07-30 14:14:27 +00:00
Tomáš Chvátal
7288f6a523 Accepting request 716213 from home:guoyunhe:branches:devel:languages:python
Version 1.14.18. Drop Python 2 package.

OBS-URL: https://build.opensuse.org/request/show/716213
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=11
2019-07-18 08:07:22 +00:00
Tomáš Chvátal
622e4da267 Accepting request 706899 from home:jengelh:branches:devel:languages:python
- Trim bias and conjecture from descriptions.

OBS-URL: https://build.opensuse.org/request/show/706899
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=9
2019-06-03 08:05:03 +00:00
Tomáš Chvátal
ffe83cbbda Accepting request 706269 from home:guoyunhe:branches:devel:languages:python
- Version 1.14.16
  * Recode PDF delete page

OBS-URL: https://build.opensuse.org/request/show/706269
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=7
2019-05-29 12:49:43 +00:00
Tomáš Chvátal
055ec68ec1 Accepting request 704928 from home:guoyunhe:branches:devel:languages:python
- Version 1.14.15
  * Fix utils.updateRect exception
  * Draw a shape without outlines
  * Fix Line cap and Line join

OBS-URL: https://build.opensuse.org/request/show/704928
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=5
2019-05-23 09:14:19 +00:00
cb6b838d61 Accepting request 693128 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/693128
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyMuPDF?expand=0&rev=1
2019-05-22 08:57:49 +00:00
Tomáš Chvátal
13d3952e6a - Use freetype2 not old freetype1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=3
2019-04-11 08:01:50 +00:00
Tomáš Chvátal
c5c23e5f13 - Run spec-cleaner
- Run tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=2
2019-04-11 07:52:57 +00:00
Tomáš Chvátal
8db820c2fa Accepting request 692955 from home:guoyunhe
- Version 1.14.14
  * Fix bug in Link target point calculation
- Version 1.14.13
  * For binary, memory-based input to most methods, now alsoio.BytesIO objects
    are accepted.
  * Fixed a bug not correctly showing inserted images with maintained aspect
    ratio.
- For earlier changelog, see https://github.com/pymupdf/PyMuPDF/releases

OBS-URL: https://build.opensuse.org/request/show/692955
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=1
2019-04-11 07:52:10 +00:00