summaryrefslogtreecommitdiff
path: root/textproc
AgeCommit message (Collapse)AuthorFilesLines
2022-11-17py-colored: updated to 1.4.4adam2-7/+8
Version 1.4.4 Updated - Code style - Switch to f string - Removed python2 support - Use windows types instead of raw ctypes.
2022-11-17Update to 0.16. From the changelog:schmonz4-153/+188
- 3f9e817 clean up MANIFEST and dist clean target files - eac211d update manifest files
2022-11-16py-jaraco.text: add missing tool dependencieswiz1-1/+3
2022-11-16gsed: update to 4.9.wiz3-8/+8
* Noteworthy changes in release 4.9 (2022-11-06) [stable] ** Bug fixes 'sed --follow-symlinks -i' no longer loops forever when its operand is a symbolic link cycle. [bug introduced in sed 4.2] a program with an execution line longer than 2GB can no longer trigger an out-of-bounds memory write. using the R command to read an input line of length longer than 2GB can no longer trigger an out-of-bounds memory read. In locales using UTF-8 encoding, the regular expression '.' no longer sometimes fails to match Unicode characters U+D400 through U+D7FF (some Hangul Syllables, and Hangul Jamo Extended-B) and Unicode characters U+108000 through U+10FFFF (half of Supplemental Private Use Area plane B). [bug introduced in sed 4.8] I/O errors involving temp files no longer confuse sed into using a FILE * pointer after fclosing it, which has undefined behavior in C. ** New Features The 'r' command now accepts address 0, allowing inserting a file before the first line. ** Changes in behavior Sed now prints the less-surprising variant in a corner case of POSIX-unspecified behavior. Before, this would print "n". Now, it prints "X": printf n | sed 'sn\nnXn'; echo
2022-11-15Update to 4.4. From the changelog:schmonz3-7/+8
- added support for Zig - added `Legacy` option in lsp.conf to add support for LSP servers without capabilities report - removed apidocs target in makefile - CLI: added `--ls-legacy` option - GUI: added legacy checkbox in the LSP section
2022-11-15Update to 0.14. From the changelog:schmonz3-48/+46
- e191fde Add missing URL in POD @anirvan
2022-11-15Update to 2.2.7b. From the changelog:schmonz3-18/+9
- Declare missing dependencies for pandoc_headers to fix parallel make
2022-11-15po4a: updated to 0.68adam3-19/+18
v0.68 Project organization: Add a deprecation warning to po4a-translate and po4a-updatepo stating that po4a is the prefered interface. Rewrite the po4a-gettextize documentation [Mt]. Rewrite the intro of po4a doc, and add a Quick start tutorial [Mt]. gettextization: Rework completely the deduplication of msgids introduced in v0.67. Markdown: Allow lists to start the line with no leading spaces before the '-' sign. This uncovers a bug in our test suite that was enforcing the buggy behavior :( [Mt] Properly deal with fenced div blocks Man: Bold text should never be wrapped as groff seems to reset the font on new line [Mt]. Properly deal with comments around macro definitions [Mt] v0.67 Asciidoc: Support Hugo shortcode on macros [Danilo G. Baio] Support automatically numbered callouts [J.N. Avila] Support line breaks [J.N. Avila] gettextization: Deduplicate the msgids, to prevent the structure desynchronizations when the same string is used at several locations, with mismatching types. Add some tests for the gettextization feature. [mquinson] po4a-translate: Do not check whether the po file is uptodate, as it's impossible to do that correctly when several master files are merged in the same POT. Man: Improve the error message when using '.de', '.if', '.ie' to hint about the option 'groff_code=verbatim|translate' [mquinson] Implement '.el' (else branch) as translate_joined [mquinson] Implement '.de1' (define with no check) as '.de' [mquinson] Implement '.dei', '.dei1' (define with subst) [MQ] Implement '.it' (input trap) as untranslated [mquinson] Make a sensible warning when user-defined macros are not explained to po4a with the 'untranslated' option and friends. [mquinson] Markdown: New option 'yfm_lenient' to proceed even if the YAML Front Matter parser fails. Useful when your file starts with an horizontal ruler that is not a YFM. This introduces a NEW DEPENDENCY: Syntax::Keyword::Try Do not quote the YFM lists to not break them [mquinson]. Thanks @dbaio for the analysis and @ynojima for an initial patch in doc-l10n-kit. xHTML: Add a test for tables and stop claiming that they may be broken Other bug fixes: Hide an ugly warning about uninitialized string
2022-11-14py-creole: update to 1.4.10.wiz4-45/+36
Changes not found, but fixes build with python 3.11.
2022-11-14py-acora: fix build with python 3.11wiz1-1/+8
2022-11-14py-xmlschema: updated to 2.1.1adam3-10/+7
`v2.1.1`_ (2022-10-01) ====================== * Fix *schema_path* usage in `XMLSchemaBase.iter_errors()` * Add *allow_empty* option to `XMLSchemaBase` validation API `v2.1.0`_ (2022-09-25) ====================== * Add *to_etree()* to document API * Improve generic encoding with wildcards * Clean document API and schema decoding `v2.0.4`_ (2022-09-08) ====================== * Add *use_location_hints* argument to document API for giving the option of ignoring XSI schema locations hints * Fix import from locations hints with namespace mismatch `v2.0.3`_ (2022-08-25) ====================== * Add *keep_empty* and *element_hook* options to main `iter_decode()` method * Fix default namespace mapping in `BadgerFishConverter` * Fix type restriction check if restricted particle has `maxOccurs==0` `v2.0.2`_ (2022-08-12) ====================== * Fix XSD 1.1 assertions effective scope * Add support for Python 3.11 `v2.0.1`_ (2022-07-21) ====================== * Remove warnings during the build of the package using package_data specs in setup.py * Fix decoding with `process_namespaces=False` and xsi:type in XML instance * Refactor `DataElement.get()`, restore `DataElement.set()` * Add *map_attribute_names* argument to `DataElementConverter` `v2.0.0`_ (2022-07-18) ====================== * Refactor XPath interface for the full XPath node implementation of elementpath v3.0 * Fix BadgerFishConverter with mixed content * Improve `get()` and `set()` of DataElement
2022-11-14py-elementpath: updated to 3.0.2adam3-7/+18
`v3.0.2`_ (2022-08-12) ====================== * Extend root concept to subtrees used as root (e.g. XSD 1.1 assertions) * Begin XPath 3.1 implementation adding XPathMap and XPathArray `v3.0.1`_ (2022-07-23) ====================== * Fix of descendant path operator * Add support for Python 3.11 `v3.0.0`_ (2022-07-16) ====================== * Transition to full XPath node implementation (more memory usage but better control and overall faster) * Add etree.py module with a safe XML parser (ported from xmlschema)
2022-11-12archivers/fastjar, archivers/lzip, audio/tcd, cross/avrdude, devel/guile-lib,nikita1-2/+2
devel/libjit, devel/m17n-lib, devel/quilt, devel/treecc, emulators/simulavr, fonts/jomolhari-ttf, graphics/dvipng, graphics/freetype2, graphics/libotf, ham/xlog, misc/color-theme, misc/m17n-db, multimedia/flvstreamer, net/mimms, print/chktex, security/oath-toolkit, sysutils/attr, sysutils/pidof, sysutils/renameutils, textproc/lout: change MASTER_SITES from http://download.savannah.gnu.org to https://download.savannah.gnu.org
2022-11-12textproc/guile-json: update to 4.7.2nikita2-7/+7
Changelog: record: also fix nested record for vectors bump version to 4.7.2 record: don't call scm->record if value is *unspecified* in (define-json-type) Given the following example: (define-json-type <account> (id) (username) (omitted "omitted" <omitted>) (boolean)) (define-json-type <omitted> (name)) If `omitted` is *unspecified* there's no need to keep going through that field. This also rolls back part of commit 029212e. Fixes #78
2022-11-09Reset MAINTAINERjoerg8-16/+16
2022-11-08pugixml: updated to 1.13adam3-8/+8
v1.13 2022-11-01 Maintenance release. Changes: Improvements: xml_attribute::set_value, xml_node::set_value and xml_text::set now have overloads that accept pointer to non-null-terminated string and size Improve performance of tree traversal when using compact mode (PUGIXML_COMPACT) Bug fixes: Fix error handling in xml_document::save_file that could result in the function succeeding while running out of disk space Fix memory leak during error handling of some out-of-memory conditions during xml_document::load Compatibility improvements: Fix exported symbols in CMake DLL builds when using CMake Fix exported symbols in CMake shared object builds when using -fvisibility=hidden
2022-11-08py-black: no need to depend on py-typed-ast anymoreadam1-5/+1
2022-11-07utf8-cpp: updated to 3.2.2adam3-10/+10
v3.2.2 Minor changes that eliminate some conversion warnings in some cases.
2022-11-06py-jaraco.text: added version 3.10.0adam5-1/+59
This package provides handy routines for dealing with text, such as wrapping, substitution, trimming, stripping, prefix and suffix removal, line continuation, indentation, comment processing, identifier processing, values parsing, case insensitive comparison, and more.
2022-11-06Update to 0.023wen2-7/+6
Upstream changes: 0.023 2022-09-16 T. R. Wyant Update discouragement notice for variables(), and add a TODO in t/variables.t for why. Correct normalization of ${^FOO} for PPI. If the caret is present the braces are not removed.
2022-11-05Update to 2.22scole2-6/+6
- fix memory leaks in st-icu.cc - for st-swath, don't spawn new process for every stdin readline pthai.el: - clean up pthai-unknown* funcs and add toggle to highlight unknown words - add option to use external processes for swath and icu which is faster and gives more split choices - add pause and pthai-no-audio-pause-length custom setting for pausing on words with no audio when attempting audio play - clean-ups for pthai-currency* functions - consolidate text highlighting into pthai-highlight-on/off functions - when reloading pthai.el library, don't clear 'pthai-dictionary
2022-11-03py-regex: updated to 2022.10.31adam2-6/+6
2022.10.31 Bug fixes
2022-11-03py-dominate: updated to 2.7.0adam2-7/+6
2.7.0: Bug fixed
2022-11-03Fix packaging after recent py-sphinx update.schmonz1-2/+4
2022-11-02Revbump all Go packages after go119 security updatebsiegert6-12/+12
2022-11-01py-expat: switch to c11 for compilationwiz1-3/+4
Needed by python 3.11 version due to using static_assert() Bump PKGREVISION.
2022-10-31py-prettytable: updated to 3.4.1adam2-8/+8
3.4.1 Fixed Revert "Add header alignment attribute" 3.4.0 Added Add option to specify line break character used in pagination Add header alignment attribute Fixed None annotation for __init__ constructors/functions
2022-10-31py-pyaml: not for Python 2.7adam1-1/+3
2022-10-31py-Unidecode: updated to 1.3.6adam3-9/+9
unidecode 1.3.6 * No changes. Re-upload to PyPi. unidecode 1.3.5 * Remove trailing space in replacements for vulgar fractions. * This release was yanked from PyPi, because the Wheel package contained the wrong version of the code and was incompatible with Python 3.5. .tar.gz package was not affected. unidecode 1.3.4 * Add some missing replacements for symbols in the U+21xx and U+1F1xx pages (thanks to @cheznewa on GitHub) unidecode 1.3.3 * Command-line utility now reads input line-by-line, making it usable with large files (thanks to Jan-Thorsten Peter) unidecode 1.3.2 * Re-upload because PyPI was missing Requires-Python metadata for the .tar.gz package. unidecode 1.3.1 * Fix issue with wheel package falsely claiming support for Python 2. unidecode 1.3.0 * Drop support for Python <3.5. * Improvements to Hebrew and Yiddish transliterations (thanks to Alon Bar-Lev and @eyaler on GitHub)
2022-10-31py-pyaml: updated to 21.10.1adam3-11/+12
21.10.1 Unknown changes
2022-10-30jo: update to 1.7.fcambus2-6/+6
2022-10-29 1.7 - FIX: fix warnings on Windows build and reimplement err{x,} functions - FIX: fix reading of long lines from stdin and refactor slurp_file() in the process - NEW: Add option -o outfile for when not run from a shell and redirect '>' is not an option - FIX: fix tables in jo.md
2022-10-30ruby-nokogiri: update to 1.13.9.tsutsui3-12/+9
Upstream changes: https://github.com/sparklemotion/nokogiri/releases/tag/v1.13.9 1.13.9 / 2022-10-18 Security * [CRuby] Vendored libxml2 is updated to address CVE-2022-2309, CVE-2022-40304, and CVE-2022-40303. See GHSA-2qc6-mcvw-92cw for more information. * [CRuby] Vendored zlib is updated to address CVE-2022-37434. Nokogiri was not affected by this vulnerability, but this version of zlib was being flagged up by some vulnerability scanners, see #2626 for more information. Dependencies * [CRuby] Vendored libxml2 is updated to v2.10.3 from v2.9.14. * [CRuby] Vendored libxslt is updated to v1.1.37 from v1.1.35. * [CRuby] Vendored zlib is updated from 1.2.12 to 1.2.13. (See LICENSE-DEPENDENCIES.md for details on which packages redistribute this library.) Fixed * [CRuby] Nokogiri::XML::Namespace objects, when compacted, update their internal struct's reference to the Ruby object wrapper. Previously, with GC compaction enabled, a segmentation fault was possible after compaction was triggered. [#2658] (Thanks, @eightbitraptor and @peterzhu2118!) * [CRuby] Document#remove_namespaces! now defers freeing the underlying xmlNs struct until the Document is GCed. Previously, maintaining a reference to a Namespace object that was removed in this way could lead to a segfault. [#2658]
2022-10-28py-tomlkit: updated to 0.11.6adam2-6/+6
0.11.6 Fixed - Allow broader type for toml file path value - Auto-determine if a table is a super table if not specified explicitly.
2022-10-28py-openapi-core: updated to 0.16.1adam3-59/+98
0.16.1 lists as additional properties fix x-model extension optional 0.16.0 Switch to jsonschema-spec Use auto-detect validator proxy OpenAPI 3.1 support + Auto-detect proxies and request / response validator protocols Add py.typed to mark package as supporting typing Refuse to cast str or bytes to array x-model extension import model class Add deepObject support Add anyOf support Separate werkzeug support Starlette support 0.15.0 Parameter deserialize complex scenario support Response headers support Response headers support for contrib Drop python 2.7 support Drop python 3.5 support Drop python 3.6 support Add python 3.10 support Falcon2 support drop Django2 support drop Support basic re_path for Django integration unused NoValue type removed attrs remove and use dataclasses backport for python 3.6 Request validation parameters dataclass Handle missing MIME type in MediaTypeFinder Limit openapi dependencies upper bounds switch to pathable Get rid of create_spec shortcut Request and Response protocols validator factories removed from validation shortcuts Predefined openapi validators Customization refactor Static types with mypy
2022-10-28py-openapi3: updated to 1.6.6adam2-14/+7
1.6.6 Various minor bug fixes
2022-10-27textproc: remove markdown2social.nikita1-2/+1
2022-10-27markdown2social: remove, no updates since 2016 and only the defunct Google+ ↵nikita4-66/+0
is supported.
2022-10-26py-demjson: removed; successor py-demjson3adam7-108/+2
2022-10-26py-demjson3: added version 3.0.6adam5-0/+50
demjson3 is a Python language module for encoding, decoding, and syntax-checking JSON data. It works under Python 3. It comes with a jsonlint script which can be used to validate your JSON documents for strict conformance to the JSON specification, and to detect potential data portability issues. It can also reformat or pretty-print JSON documents; either by re-indenting or removing unnecessary whitespace.
2022-10-26py-openapi-spec-validator: updated to 0.5.1adam3-51/+38
0.5.1 Responses schema validation 0.5.0 detect spec schema version static types and Mypy static type check tests mark network schemas and validators lazy loading proxy CLI detect spec version Shortcuts refactor and validators explicit usage Backward incompatibilities redundant shortcuts validate_v*_spec and validate_v*_spec_url removed. Use validate_spec and validate_spec_url with validator parameter instead. default_handlers (and whole handlers package) removed. Use handlers from jsonschema_spec.handlers instead.
2022-10-26py-jsonschema-spec: updated to 0.1.2adam5-1/+78
JSONSchema Spec with object-oriented paths Key features * Traverse elements like paths * Access spec on demand with separate dereferencing accessor layer
2022-10-26py-openapi-schema-validator: updated to 0.3.4adam3-7/+9
0.3.4 OASValidator 3.0 read write pass with evolve 0.3.3 Static types and Mypy static type check 0.3.2 type validator error msg formatting fix 0.3.1 OpenAPI 3.1 validator's JSONSchema subclassing deprecation fix OpenAPI 3.0 validator's JSONSchema subclassing deprecation workaround 0.3.0 OpenAPI 3.1 validator drop python 3.6 support make jsonschema4 compatible (DeprecationWarning fix) reintroduced 0.2.1 changes - Revert "make jsonschema4 compatible (DeprecationWarning fix)" - drop python 3.6 support part 2 - Limit jsonschema dependency Validate oneOf, anyOf and allOf with discriminator OAS30 and OAS31
2022-10-26expat: pkglint cleanupwiz1-7/+7
2022-10-26expat: update to 2.5.0.wiz2-6/+6
Release 2.5.0 Tue October 25 2022 Security fixes: #616 #649 #650 CVE-2022-43680 -- Fix heap use-after-free after overeager destruction of a shared DTD in function XML_ExternalEntityParserCreate in out-of-memory situations. Expected impact is denial of service or potentially arbitrary code execution. Bug fixes: #612 #645 Fix curruption from undefined entities #613 #654 Fix case when parsing was suspended while processing nested entities #616 #652 #653 Stop leaking opening tag bindings after a closing tag mismatch error where a parser is reset through XML_ParserReset and then reused to parse #656 CMake: Fix generation of pkg-config file #658 MinGW|CMake: Fix static library name Other changes: #663 Protect header expat_config.h from multiple inclusion #666 examples: Make use of XML_GetBuffer and be more consistent across examples #648 Address compiler warnings #667 #668 Version info bumped from 9:9:8 to 9:10:8; see https://verbump.de/ for what these numbers do Special thanks to: Jann Horn Mark Brand Osyotr Rhodri James and Google Project Zero
2022-10-26*: bump PKGREVISION for libunistring shlib major bumpwiz6-11/+12
2022-10-26*: bump PKGREVISION for libunistring shlib major bumpwiz19-38/+38
2022-10-25py-tabulate: updated to 0.9.0adam3-18/+24
0.9.0: Drop support for Python 2.7, 3.5, 3.6. Migrate to pyproject.toml project layout (PEP 621). New output formats: `asciidoc`, various `*grid` and `*outline` formats. New output features: vertical row alignment, separating lines. New input format: list of dataclasses (Python 3.7 or later). Support infinite iterables as row indices. Improve column width options. Improve support for ANSI escape sequences and document the behavior. Various bug fixes.
2022-10-25py-dill: updated to 0.3.6adam3-7/+30
dill-0.3.6 With dill, you can serialize almost anything in python, even an entire interpreter session. If you encounter any pickling failures, dill also has some good tools to help you discover why your object fails to pickle. dill installs with pip: $ pip install dill dill requires: - python or pypy, >=3.7
2022-10-25py-sphinx: updated to 5.3.0adam3-213/+36
Release 5.3.0 (released Oct 16, 2022) ===================================== Features added -------------- * LaTeX: add :confval:`latex_table_style` and support the ``'booktabs'``, ``'borderless'``, and ``'colorrows'`` styles. * One can cross-reference including an option value like ``:option:`--module=foobar```, ``:option:`--module[=foobar]``` or ``:option:`--module foobar```. Patch by Martin Liska. * autosectionlabel: Record the generated section label to the debug log. * Correctly URI-escape image filenames. * domains: Allow sections in all the content of all object description directives (e.g. :rst:dir:`py:function`). Patch by Adam Turner Release 5.2.3 (released Sep 30, 2022) ===================================== * Fix base64 image embedding in ``sphinx.ext.imgmath`` * Add ``:nocontentsentry:`` flag and global domain table of contents entry control option. Patch by Adam Turner Release 5.2.2 (released Sep 27, 2022) ===================================== * Restore link targets for autodoc modules to the top of content. Patch by Dominic Davis-Foster. Release 5.2.1 (released Sep 25, 2022) ===================================== Bugs fixed ---------- * Always normalise the ``pycon3`` lexer to ``pycon``. * Fix using ``sphinx.ext.autosummary`` with modules containing titles in the module-level docstring. Release 5.2.0.post0 (released Sep 24, 2022) =========================================== * Recreated source tarballs for Debian maintainers. Release 5.2.0 (released Sep 24, 2022) ===================================== Dependencies ------------ * Sphinx now uses declarative metadata with ``pyproject.toml`` to create packages, using PyPA's ``flit`` project as a build backend. Patch by Adam Turner. Deprecated ---------- * Support for HTML 4 output. Patch by Adam Turner. Features added -------------- * napoleon: Add support for docstring types using 'of', like ``type of type``. Example: ``tuple of int``. * C++, support requires clauses not just between the template parameter lists and the declaration. * linkcheck: Check the source URL of raw directives that use the ``url`` option. * Allow :rst:role:`ref` role to be used with definitions and fields. * HTML Search: Increase priority for full title and subtitle matches in search results * HTML Search: Save search result score to the HTML element for debugging * Make toctree accept 'genindex', 'modindex' and 'search' docnames * Add domain objects to the table of contents. Patch by Adam Turner * HTML Search: Include explicit :rst:dir:`index` directive index entries in the search index and search results. Patch by Adam Turner * imgmath: Allow embedding images in HTML as base64 * HTML Search: Use browser localstorage for highlight control, stop storing highlight parameters in URL query strings. Patch by Adam Turner. Bugs fixed ---------- * LaTeX: 5.1.0 has made the 'sphinxsetup' ``verbatimwithframe=false`` become without effect. * C++, ensure consistent non-specialization template argument representation. * C++, fix parsing of certain non-type template parameter packs. * Revert 10520: "Fix" use of sidebar classes in ``agogo.css_t`` Release 5.1.1 (released Jul 26, 2022) ===================================== Bugs fixed ---------- * Fix ValueError in the new ``deque`` based ``sphinx.ext.napolean`` iterator implementation. * Restore compatability with third-party builders. Release 5.1.0 (released Jul 24, 2022) ===================================== Dependencies ------------ * Support `Docutils 0.19`_. Patch by Adam Turner. Deprecated ---------- * Deprecated ``sphinx.util.stemmer`` in favour of ``snowballstemmer``. Patch by Adam Turner. * Deprecated ``sphinx.ext.napoleon.iterators``. Features added -------------- * html theme: Allow specifying multiple CSS files through the ``stylesheet`` setting in ``theme.conf`` or by setting ``html_style`` to an iterable of strings. * std domain: Add support for emphasising placeholders in :rst:dir:`option` directives through a new :confval:`option_emphasise_placeholders` configuration option. * std domain: Use the repr of some variables when displaying warnings, making whitespace issues easier to identify. * quickstart: Reduce content in the generated ``conf.py`` file. Patch by Pradyun Gedam. * LaTeX: CSS-named-alike additional :ref:`'sphinxsetup' <latexsphinxsetup>` keys allow to configure four separate border-widths, four paddings, four corner radii, a shadow (possibly inset), colours for border, background, shadow for each of the code-block, topic, attention, caution, danger, error and warning directives. * LaTeX: Explain non-standard encoding in LatinRules.xdy * HTML Theme: Wrap consecutive footnotes in an ``<aside>`` element when using Docutils 0.18 or later, to allow for easier styling. This matches the behaviour introduced in Docutils 0.19. Patch by Adam Turner. * config: Add ``include_patterns`` as the opposite of ``exclude_patterns``. Patch by Adam Turner. Bugs fixed ---------- * HTML Theme: field term colons are doubled if using Docutils 0.18+ * Build failure if Docutils version is 0.18 (not 0.18.1) due to missing ``Node.findall()`` * LaTeX: build error if highlighting inline code role in figure caption * Make -P (pdb) option work better with exceptions triggered from events * py domain: Fix spurious whitespace in unparsing various operators (``+``, ``-``, ``~``, and ``**``). Patch by Adam Turner. * logging: Always show node source locations as absolute paths. * HTML Search: HTML tags are displayed as a part of object name * HTML Search: search snipets should not be folded * HTML Search: Minor errors are emitted on fetching search snipets * HTML Search: The markers for header links are shown in the search result * HTML Theme: Fix use of sidebar classes in ``agogo.css_t``. * HTML Theme: Fix inclusion of hidden toctrees in the agogo theme. * HTML Theme: Fix enable_search_shortcuts does not work * LaTeX: Text can fall out of code-block at end of page and leave artifact on next page * LaTeX: user injected ``\color`` commands in topic or admonition boxes may cause color leaks in PDF due to upstream `framed.sty <https://ctan.org/pkg/framed>`_ bug * LaTeX: framed coloured boxes in highlighted code (e.g. highlighted diffs using Pygments style ``'manni'``) inherit thickness of code-block frame * LaTeX: Only one ``\label`` is generated for ``desc_signature`` node even if it has multiple node IDs * i18n: UnboundLocalError is raised on translating raw directive * py domain: Fix warning for duplicate Python references when using ``:any:`` and autodoc. * HTML Search: fix minor summary issues.
2022-10-25py-markdown: updated to 3.4.1adam3-13/+17
Python-Markdown 3.4 Release Notes Python-Markdown version 3.4 supports Python versions 3.7, 3.8, 3.9, 3.10 and PyPy3. Backwards-incompatible changes The `tables` extension now uses a `style` attribute instead of an `align` attribute for alignment. The [HTML4 spec][spec4] specifically deprecates the use of the `align` attribute and it does not appear at all in the [HTML5 spec][spec5]. Therefore, by default, the [tables] extension will now use the `style` attribute (setting just the `text-align` property) in `td` and `th` blocks. [spec4]: https://www.w3.org/TR/html4/present/graphics.html#h-15.1.2 [spec5]: https://www.w3.org/TR/html53/tabular-data.html#attributes-common-to-td-and-th-elements [tables]: ../extensions/tables.md The former behavior is available by setting the `use_align_attribute` configuration option to `True` when enabling the extension. For example, to configure the old `align` behavior: ```python from markdown.extensions.tables import TableExtension markdown.markdown(src, extensions=[TableExtension(use_align_attribute=True)]) ``` Backslash unescaping moved to Treeprocessor. Unescaping backslash escapes has been moved to a Treeprocessor, which enables proper HTML escaping during serialization. However, it is recognized that various third-party extensions may be calling the old class at `postprocessors.UnescapePostprocessor`. Therefore, the old class remains in the code base, but has been deprecated and will be removed in a future release. The new class `treeprocessors.UnescapeTreeprocessor` should be used instead. Previously deprecated objects have been removed Various objects were deprecated in version 3.0 and began raising deprecation warnings (see the [version 3.0 release notes] for details). Any of those objects which remained in version 3.3 have been removed from the code base in version 3.4 and will now raise errors. The relevant objects are listed below. [version 3.0 release notes]: release-3.0.md | Deprecated Object | Replacement Object | |----------------------------------------|-------------------------------------| | `markdown.version` | `markdown.__version__` | | `markdown.version_info` | `markdown.__version_info__` | | `markdown.util.etree` | `xml.etree.ElementTree` | | `markdown.util.string_type` | `str` | | `markdown.util.text_type` | `str` | | `markdown.util.int2str` | `chr` | | `markdown.util.iterrange` | `range` | | `markdown.util.isBlockLevel` | `markdown.Markdown().is_block_level`| | `markdown.util.Processor().markdown` | `markdown.util.Processor().md` | | `markdown.util.Registry().__setitem__` | `markdown.util.Registry().register` | | `markdown.util.Registry().__delitem__` |`markdown.util.Registry().deregister`| | `markdown.util.Registry().add` | `markdown.util.Registry().register` | In addition, the `md_globals` parameter of `Markdown.extensions.Extension.extendMarkdown()` is no longer recognized as a valid parameter and will raise an error if provided. New features The following new features have been included in the 3.4 release: * Some new configuration options have been added to the [footnotes](../extensions/footnotes.md) extension: * Small refactor of the `BACKLINK_TITLE` option; The use of `format()` instead of "old" `%d` formatter allows one to specify text without the need to have the number of the footnote in it (like footnotes on Wikipedia for example). The modification is backward compatible so no configuration change is required. * Addition of a new option `SUPERSCRIPT_TEXT` that allows one to specify a custom placeholder for the footnote itself in the text. Ex: `[{}]` will give `<sup>[1]</sup>`, `({})` will give `<sup>(1)</sup>`, or by default, the current behavior: `<sup>1</sup>`. * The [Table of Contents](../extensions/toc.md) extension now accepts a `toc_class` parameter which can be used to set the CSS class(es) on the `<div>` that contains the Table of Contents. * The CodeHilite extension now supports a `pygments_formatter` option that can be set to a custom formatter class. - If `pygments_formatter` is set to a string (ex: `'html'`), Pygments' default formatter by that name is used. - If `pygments_formatter` is set to a formatter class (or any callable which returns a formatter instance), then an instance of that class is used. The formatter class is now passed an additional option, `lang_str`, to denote the language of the code block. While Pygments' built-in formatters will ignore the option, a custom formatter assigned to the `pygments_formatter` option can make use of the `lang_str` to include the code block's language in the output. Bug fixes The following bug fixes are included in the 3.4 release: * Extension entry-points are only loaded if needed. * Added additional checks to the `<pre><code>` handling of `PrettifyTreeprocessor`.