Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-06 | [compat] Fix wrong lines/columns order | Sergey M․ | |
stty size is rows x columns | |||
2015-10-06 | [compat] Do not compare None <= 0 | Philipp Hagemeister | |
The result is meaningless (and it emits a warning in cpython2 when called with -3), so handle None before making integer comparisons. | |||
2015-10-03 | [compat] Allow overriding by only COLUMNS or LINES in compat_get_terminal_size | Yen Chi Hsuan | |
Now the semantic of this function is identical to shutil.get_terminal_size() in Python 3.3+. The new behavior also corresponds to the old get_term_width(), which is removed in 003c69a84b68cadb46aeb8e03115848a722fd675 | |||
2015-09-14 | [compat] Do not use unicode | Philipp Hagemeister | |
If the code ever runs on 3.x, it would fail. Even if it never does, the unicode name confuses Python 3 code analysis tools. | |||
2015-09-05 | [compat] Fix python version check for compat_shlex_split | Sergey M․ | |
2015-09-05 | [compat] Add compat shlex.split | Sergey M․ | |
2015-08-03 | Merge remote-tracking branch 'jaimemf/format_spec_groups' (closes #6124) | Jaime Marquínez Ferrándiz | |
2015-07-30 | [viewster] extract the api auth token | remitamine | |
Closes #6406. | |||
2015-07-18 | [compat] Fix _asciire | Sergey M․ | |
2015-07-18 | [compat] Fix missing _asciire on python 2.6 | Sergey M․ | |
2015-07-17 | [compat] Mention unquote_plus | Sergey M․ | |
2015-07-17 | [compat] Add compat_urllib_parse_unquote_plus | Sergey M․ | |
2015-07-17 | [compat] Simplify and use latest cpython 3 code | Sergey M․ | |
2015-07-17 | Don't forget trailing '%' | fnord | |
2015-07-17 | fix TestCompat test_all_present | fnord | |
2015-07-17 | remove kebab | fnord | |
2015-07-17 | remove debugprint | fnord | |
2015-07-17 | replace old compat_urllib_parse_unquote with backport from python3's function | fnord | |
* required unquote_to_bytes function ported as well (uses .decode('hex') instead of dynamically populated _hextobyte global) * required implicit conversion to bytes and/or unicode in places due to differing type assumptions in p3 | |||
2015-07-15 | compat_urllib_parse_unquote: crash fix: only decode valid hex | fnord | |
on python 2 the following has a { "crash_rate": "100%" } of the time as it tries to parse '" ' as hex. | |||
2015-07-10 | [compat] Add compat_itertools_count | Yen Chi Hsuan | |
'step' parameter is added in Python 2.7 | |||
2015-06-28 | [YoutubeDL] rework how the format spec is processed | Jaime Marquínez Ferrándiz | |
The spec string is processed using 'tokenize.tokenize' to split it in words and operators, the filters are still processed using regular expressions. This should make easier to allow grouping operators with parens. | |||
2015-05-02 | Remove code that was only used by the Grooveshark extractor | Jaime Marquínez Ferrándiz | |
2015-03-27 | Don't use bare 'except:' | Jaime Marquínez Ferrándiz | |
They catch any exception, including KeyboardInterrupt, we don't want to catch it. | |||
2015-02-28 | Use shutil.get_terminal_size for getting the terminal width if it's ↵ | Jaime Marquínez Ferrándiz | |
available (python >= 3.3) | |||
2015-02-01 | [compat] Correct compat_basestring definition | Philipp Hagemeister | |
2015-02-01 | Appease pyflakes8-3 | Philipp Hagemeister | |
2015-01-30 | Add a test for --no-check-certificate | Philipp Hagemeister | |
2015-01-11 | [compat] Correct socket error class reference | Philipp Hagemeister | |
2015-01-11 | [test_compat] Fix alphabetic order to make test_all_present pass | Sergey M․ | |
2015-01-10 | Add new option --source-address | Philipp Hagemeister | |
Closes #3618, fixes #721, fixes #2481, fixes #4551, closes #1020. | |||
2014-12-12 | [compat] Simplify kwarg detection code | Philipp Hagemeister | |
This enables nuitka to compile youtube-dl. | |||
2014-12-12 | Revert "[utils] Work around PyPy stupidity with Windows DLLs (Fixes #4392)" | Philipp Hagemeister | |
This reverts commit 16040f46d64bad8dcc5f948288ef469dd787d3d3. | |||
2014-12-12 | [utils] Work around PyPy stupidity with Windows DLLs (Fixes #4392) | Philipp Hagemeister | |
2014-12-09 | Fix PEP8 issue E713 | Jaime Marquínez Ferrándiz | |
2014-11-26 | [compat] Beautify assertion | Philipp Hagemeister | |
2014-11-23 | PEP8: applied even more rules | Jouke Waleson | |
2014-11-23 | PEP8 applied | Jouke Waleson | |
2014-11-23 | Provide guidance when called with a YouTube ID starting with a dash. | Philipp Hagemeister | |
Reported at https://news.ycombinator.com/item?id=8648121 | |||
2014-11-20 | remove unused imports | Philipp Hagemeister | |
2014-11-20 | [compat] correct OptionGroup invocation for Python 3 (fixes #4243) | Philipp Hagemeister | |
2014-11-19 | Work around 2.7.0 deficencies (Fixes #4223) | Philipp Hagemeister | |
2014-11-15 | [compat] Work around kwargs bugs in old 2.6 Python releases (Fixes #3813) | Philipp Hagemeister | |
2014-11-02 | [compat] Modernize | Philipp Hagemeister | |
2014-11-02 | [compat] Fix imports | Philipp Hagemeister | |
2014-11-02 | [util] Move compatibility functions out of util | Philipp Hagemeister | |
utils is large enough without these compatibility functions. Everything that is present in newer versions of Python (i.e. with dev Python it's just an import) goes into compat.py . Everything else (i.e. youtube-dl-specific helpers) goes into utils.py . |