Tosixinch

Latest version: v0.9.0

Safety actively analyzes 681844 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.3.0

-------------------

Add very detailed source code highlighter (_pcode).
Use it in pre-extraction hook ('pre_percmd2').

**Change:**

* **!!** Cut add_extractors and move man hook to pre_percmd2

Change you config (If you are using) from:

add_extractors= _man

To:

pre_percmd2= _man

**Add:**

* Add GNU global to site.sample.ini

* Add add_noscript_img (process/gen)

* Add script _pcode.py (Pygments code extraction)

**Fix:**

* Fix auto_css (when toc, stylesheets were lost)

* Fix clipped large tall images (using actual length and percent)

* Fix use monospace font for figcaption

* Fix github sample ini (plain text README case)

0.2.0

-------------------

**Change:**

* Change one of sample rsrcs. Local templite.py to remote textwrap.py.

* Stop adding suffix to query url.

Previously url 'bb?cc' was changed to dfile 'bb?cc/index--tosixinch' or 'bb?cc_index--tosixinch'.
Now just to 'bb?cc'.

* Stop adding './' prefix unconditionally for relative references.
Now only when necessary to comply to url spec (colon-in-first-path case).

* **!!** Change 'userprocess' to just 'process'.
So Users have to rename this 'userprocess' directory if used.

* **!!** Change (rather Fix) default encodings, to only utf-8 and cp1252.

* **!!** Change 'preprocess' option name to 'defaultprocess'.
Again, users have to rename this option if used.

* pdfname (when the program creates) is made more descriptive.

* Add maximum argument to delete_duplicate_br (process/gen.py)

**Add:**

* Add auto_css feature (see doc: overview.htmldword-auto_css_directory).

* Add trimdirs option.

Remove flaky automatic path shortening (minsep), add this manual but reliable option.

* Add printout option.

Print out filenames the program's actions would create.

* Add encoding_errors option (for codec Error Handler).

* Add urlreplace feature (see doc: topics.htmlreplace).

* Add multi commands feature for hookcmds.

* Add add_extractors option (now only for man).

* Add per-cmd hooks (pre_percmds and post_percmds).

* Add file url support for input.

* Add font_scale option.

* Add quiet option.

* Add version option.

* Expose full-image option to commandline.

* Add --null option to script/open_viewer.py.

* Add browsercmd option.

* Add toc_depth option to wkhtmltopdf converter.

* Add ftype option

**Remove:**

* Remove 'support' for ebook-convert. Now converters are only one of the three
(prince, weasyprint or wkhtmltopdf).

**Fix:**

* Fix relative reference when base url is local. (_Component.__init__)

* Fix blank API documents in readthedocs site (The previous fix was wrong).

* Fix ftfy calling procedure (it should be *after* successful decoding).

* Fix (user) script directory resolution in runcmd.

* Fix image downloading error when input is a file url
(The file url handling has changed: immediately change it to filepath
in url phase).

**Dev:**

* Develop abstract path functions to try to absorb windows path specifics,
only to revert them back in the end.
The period is especially unsuitable for forking or otherwise using the code::

From:
2019-05-21 401e27e408ba19627a9b1d452e009521cbdb09a8
Until:
2019-05-30 f1055f97dc6d8088906e43c6f150739c8d560174

0.1.0

-------------------

**Fix:**

* sample.t.css exclusion in installation

**Dev:**

* Change version scheme.

I've been using only the third digit for version, since I thought v0.1.0 was too pretentious.
But I should express the difference between some improvements and stupid bug fixes.

0.0.11

--------------------

**Change:**

* tocfile (previously toc-ufile) is now always created in current directory.
Previously it was created in the same directory as the ufile.

**Fix:**

* Many import errors (no lxml, no readability cases etc.).
* Many import errors (installation related, importing (nonexistent) tests package etc.).
* readthedocs.org build error

0.0.10

--------------------

**Change:**

* Rename '--sample-pdf' to '--sample-urls',
and now it also requires action options additionally ('-123').

**Fix:**

* blank API documents (lack of a readthedocs config)
* Accept very long html start tag (now support hatenablog.com).
* Broken '--sample-pdf' and '--appcheck' (no rsrcs case etc.).

**Dev:**

* Continuing the big refactoring (now util.py is gone).
* x options of _test_actualrun2.py are again '-x', '-xx', and '-xxx'.

0.0.9

-------------------

**Change:**

* Rename 'tsi-big' class attribute for large images, to 'tsi-wide'.
* Remove file listing feature when rsrcs consist of directories.

**Add:**

* Update site.sample.ini.

* Fix broken www.reddit.com (now use 'old.reddit.com').
* Add github '/pull' subdirectory.
* Improve wikipedia a bit.

* Add option '--pdfname'
* Add option '--sample-pdf'
* Add option '--cnvpath'

**Fix:**

* Fix detection whether an image is wide or tall.
* Fix current directory check in making directories
* Fix multiple extensions case in filtering binary-like extension rsrcs.
* Fix url escaping for '%' itself (never escape it).

**Dev:**

* Refactor half of util.py (Moved to 'location.py')

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.