aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/tools/create_manpage_completions.py
Commit message (Collapse)AuthorAge
* Fix utf-8 decoding error in file_is_overwritable of ↵Gravatar Andreas Wagner2016-05-29
| | | | create_manpage_completions.py
* docs: fix location of generated_completions (#3010)Gravatar Vladimír Čunát2016-05-08
|
* Use unused cleanup_autogenerated_fileGravatar Alexander Hedges2015-11-08
|
* Remove autogenerated files before generating the new onesGravatar Alexander Hedges2015-11-08
| | | | | | | Currently if there is a conflict with two manpages having the same name, one completion will override the other. But if one can be parsed and the other can't the one with parsed results will always have a higher priority.
* Guard against files that don't end in .[1...9]Gravatar Alexander Hedges2015-11-08
| | | | | | | It seems smart to only let files be parsed that are clearly manpage files. Other files wouldn't be openend by man so I think it is safe to guess that only these files are man pages.
* Ignore references to builtin on the macGravatar Alexander Hedges2015-11-08
| | | | | On my system (OS-X 10.11) references to builtin are denoted by: ".so man1/builtin.1". So you also need to check against that.
* Correct the comment on the default pathGravatar Wonicon2015-09-26
| | | | | According to the newer code below: xdg_data_home = os.getenv('XDG_DATA_HOME', '~/.local/share') the actual default path is ~/.local/share/fish/generated_completions/
* Manpage completions: store in $XDG_DATA_HOMEGravatar David Adam2014-09-29
| | | | Closes #1343, works towards #1257.
* Prefer standard library lzma module if availableGravatar Marc Joliet2013-11-09
| | | | | | Prefer the standard library lzma module if available. This change prevents using the backports-lzma when it is installed for a version of Python that already has the lzma module in its standard library.
* Merge pull request #1015 from marcecj/add_bz2_lzma_xz_supportGravatar Konrad Borowski2013-10-18
|\ | | | | Support bzip2 and lzma/xz compressed man pages
| * Change the way xz/lzma man pages are detectedGravatar Marc Joliet2013-10-17
| | | | | | | | | | This avoids the use of the global and puts the diagnostic message in a self-contained location.
| * Only print an error when an lzma/xz manpage occursGravatar Marc Joliet2013-09-25
| | | | | | | | | | Only print an error when an lzma/xz compressed man page occurs. Also, use add_diagnostic instead of print.
* | Fix one element tuple to be actually tuple.Gravatar Konrad Borowski2013-09-25
| | | | | | | | | | While in this case it doesn't mean much (neither `z` or `-` would be passed to options parser), it makes things possibly less buggy.
| * Skip lzma/xz manpages if lzma module not availableGravatar Marc Joliet2013-09-25
| | | | | | | | | | Skip man pages compressed with lzma/xz if the lzma module is not available; also print a corresponding diagnostic message.
| * Only try "lzma" module on ImportErrorGravatar Marc Joliet2013-09-25
| |
| * Change an "if" to more appropriate "elif"Gravatar Marc Joliet2013-09-25
| | | | | | | | I overlooked an "if" that should have been an "elif". Oops.
| * Support bzip2 and lzma/xz compressed man pagesGravatar Marc Joliet2013-09-24
|/ | | | | | | Add support for bzip2 and lzma/xz compressed man pages. Support for bzip2 is part of the Python standard library (at least for 2.7 and >=3.2), while lzma/xz is only in Python >=3.3; however, there is a backports module for Python 2.7 and 3.2.
* Small fix for fish_update_completions (amended)Gravatar bathtub2013-09-19
| | | | | Amended from https://github.com/fish-shell/fish-shell/pull/1003. Fix a Unicode parsing error; search man6.
* Remove useless debugging codeGravatar Konrad Borowski2013-07-27
|
* Cleaned up commented lines and updated method names in ↵Gravatar Siteshwar Vashisht2013-07-06
| | | | create_manpage_completions script
* Parse man8 pages with fish_update_completionsGravatar Dag Odenhall2013-05-25
| | | | Closes #727
* Attempt again to fix UnicodeDecodeError (issue #658)Gravatar ridiculousfish2013-05-12
|
* Try to fix UnicodeDecodeError in create_manpage_completions.pyGravatar ridiculousfish2013-04-15
| | | | https://github.com/fish-shell/fish-shell/issues/658
* Fix to make create_manpage_completions work with Python 3Gravatar ridiculousfish2013-04-14
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/658 ?
* Move autogenerated completions to ~/.config/fish/generated_completions/Gravatar ridiculousfish2013-02-17
| | | | https://github.com/fish-shell/fish-shell/issues/576
* Clean up man page parser output a bitGravatar ridiculousfish2013-01-27
|
* Make create_manpage_completions not generate empty filesGravatar ridiculousfish2013-01-08
| | | | https://github.com/fish-shell/fish-shell/issues/506
* Try to fix create_manpage_completions script for system where ↵Gravatar Jean-Daniel Dupas2012-12-02
| | | | sysgetdefaultencoding() returns ASCII.
* Improvements to man page parser, and to description truncationGravatar ridiculousfish2012-11-22
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/98
* Remove trailing whitespaces and change tabs to spacesGravatar Łukasz Niemier2012-11-18
|
* Handle some more escapes in de-groffing man pagesGravatar ridiculousfish2012-10-17
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/10
* Fix for https://github.com/fish-shell/fish-shell/issues/105Gravatar ridiculousfish2012-07-08
| | | | Not sure why the escape character was being printed in the manpage completions script
* Don't generate completions if we already have bespoke completions in the ↵Gravatar ridiculousfish2012-06-18
| | | | | | | data directory Fixes https://github.com/fish-shell/fish-shell/issues/148 Also fix some Python3 issues
* Fix to create_manpage_completions.py to flush after every line (so you see ↵Gravatar ridiculousfish2012-06-17
| | | | more progress) and to put the cursor at the beginning (so it doesn't jump around)
* Fixed a bug in manpage generator.Gravatar Siteshwar Vashisht2012-06-07
|
* Use manpath instead of man --path to find man page paths.Gravatar Siteshwar Vashisht2012-06-07
|
* Unicode error fix in manpage completion with python3Gravatar Adam2012-06-05
|
* Manpage generation now works with python3Gravatar Adam2012-06-05
|
* Fix to try to remove Python 2.7 dependencyGravatar ridiculousfish2012-04-15
|
* Some more deroff optimizationsGravatar ridiculousfish2012-04-15
|
* Added a fish_update_completions function to run the manpage completion fileGravatar ridiculousfish2012-04-11
| | | | | Added some pretty progress reporting to that script Added some comments to deroff.py
* Make create_manpage_completions output to ~/.config/fish/completions by ↵Gravatar ridiculousfish2012-04-11
| | | | default, and also discover man pages from reading the manpath
* Deroffing completion workGravatar ridiculousfish2012-04-09
|
* Deroffer workGravatar ridiculousfish2012-04-09
|
* Various improvements on completion toolGravatar ridiculousfish2012-04-04
|
* Work on improving the output of the manpage completion scriptGravatar ridiculousfish2012-04-03
|
* Some work towards improving manpage completionsGravatar ridiculousfish2012-03-30
|
* Moved some Python scripts into new share/tools/ directory.Gravatar ridiculousfish2012-03-25
Added fish_config function to launch web config