sulyi
96e50681e8
[jsinterp] Adding parser for label statement and function expression
...
- refractors function declaration
- updated TODOs (ASAP = required for next milestone)
2016-12-11 21:05:09 +01:00
sulyi
bae3166eb7
[jsinterp] Added debugger and throw parser (test needed)
2016-12-11 19:04:17 +01:00
sulyi
48aaa4178e
[jsinterp] Finished parser if test
2016-12-11 17:36:19 +01:00
sulyi
ad288aaabd
[jsinterp] Parser test code fixes
2016-12-11 14:17:31 +01:00
sulyi
c2e6ca5432
[jsinterp] Adding code to if and switch test
2016-12-11 13:54:47 +01:00
sulyi
4f55fe7da2
[jsinterp] Adding if parser (test needed)
2016-12-11 09:40:43 +01:00
sulyi
86de1e89db
[jsinterp] Adding function declaration and fixing block statement parser
2016-12-10 22:57:02 +01:00
sulyi
9b5e55a45a
[jsinterp] Mozilla-central test first try
2016-12-10 16:25:51 +01:00
sulyi
9d1f75667c
[jsinterp] Fixing deep copy zip in test_jsinterp_parse
2016-12-10 13:58:26 +01:00
sulyi
200903cee8
[jsinterp] Fixing py3 zip generator issues in parser tests
2016-12-10 11:41:59 +01:00
sulyi
e392f7897d
[jsinterp] Formatting code
2016-12-10 02:59:32 +01:00
sulyi
a9c7310950
[jsinterp] Adding context handling
2016-12-10 02:01:19 +01:00
sulyi
6fa4eb6208
[jsinterp] Fixing compatibility
...
- compat_str
- unittest2
2016-12-10 00:52:04 +01:00
sulyi
dd6a2b5b49
[jsinterp] Clean up
...
- Fixing test_jsinterp_parse test_empty_return
- Fixing test_call and test_complex_call not testing statements (ast still needed)
- Adding class Reference and Context to jsinterp
- Fixing JSInterpreter interpret_statement and interpret_expression
2016-12-09 23:38:48 +01:00
sulyi
651a1e7aa8
[jsinterp] Coding convention fixes
2016-12-08 13:22:28 +01:00
sulyi
4999fcc646
[jsinterp] More test and str fix
2016-12-08 09:20:14 +01:00
sulyi
70a5e31014
[jsinterp] Parentheses fix (test and parser)
2016-12-08 08:29:12 +01:00
sulyi
599b9db878
[jsinterp] First parser tests
2016-12-08 04:00:00 +01:00
sulyi
b089388f26
[jsinterp] Lexer overhaul
2016-11-28 06:53:28 +01:00
sulyi
71a485fdb6
[jsinterp] Complex call test (thx to yan12125)
2016-11-25 22:41:33 +01:00
sulyi
da73cd90ec
[jsinterp] Quick regex fixes (thx to yan12125)
2016-11-25 22:31:58 +01:00
sulyi
8c87a18029
[jsinterp] Calling field and test
2016-11-24 22:33:30 +01:00
sulyi
2c85715b93
[jsinterp] Handling comments
2016-11-23 06:19:57 +01:00
Yen Chi Hsuan
582be35847
Update coding style after pycodestyle 2.1.0
...
In pycodestyle 2.1.0, E305 was introduced, which requires two blank
lines after top level declarations, too.
See https://github.com/PyCQA/pycodestyle/issues/400
See also #10689 ; thanks @stepshal for first mentioning this issue and
initial patches
2016-11-17 19:45:42 +08:00
Kacper Michajłow
189935f159
[jsinterp] Fix function calls without arguments.
2016-11-11 15:36:57 +01:00
Sergey M․
02dc0a36b7
[utils] Introduce base_url
2016-11-02 02:30:18 +07:00
Sergey M․
e5a088dc4b
[utils] Fix --match-filter for int-like strings ( closes #11082 )
2016-10-31 23:32:08 +07:00
Yen Chi Hsuan
6f20b65e72
[test/test_http] Update tests
...
After switching to HTML5 extraction helpers in generic.py, the result
info_dict is always a playlist.
2016-10-12 01:41:41 +08:00
Sergey M․
c6eed6b8c0
[utils] Lower priority for rare date formats and add tests
2016-09-29 23:52:29 +07:00
Sergey M․
3e4185c396
[utils] Use native french month names
2016-09-14 23:59:38 +07:00
Sergey M․
f6717dec8a
[utils] Improve month_by_name and add tests
2016-09-14 23:59:38 +07:00
Sergey M․
6562d34a8c
[utils] Improve mimetype2ext
2016-09-02 22:57:48 +07:00
Yen Chi Hsuan
70852b47ca
[utils] Recognize units with full names in parse_filename
...
Reference: https://en.wikipedia.org/wiki/Template:Quantities_of_bytes
2016-08-20 00:17:26 +08:00
Yen Chi Hsuan
e4659b4547
[utils] Correct octal/hexadecimal number detection in js_to_json
2016-08-19 20:37:17 +08:00
Sergey M․
13585d7682
[utils] Recognize lowercase units in parse_filesize
2016-08-18 23:32:00 +07:00
Yen Chi Hsuan
52aa7e7476
[test_verbose_output] Fix tests under Python 3
2016-08-13 17:36:14 +08:00
Remita Amine
5f2c2b7936
[test_utils] add test for option with not str value
2016-08-13 09:54:12 +01:00
Sergey M․
a8795327ca
[utils] Add support TV Parental Guidelines ratings in parse_age_limit
2016-08-07 20:45:18 +07:00
Yen Chi Hsuan
7dc2a74e0a
[utils] Fix unified_timestamp for formats parsed by parsedate_tz()
2016-08-05 11:41:55 +08:00
Sergey M․
b070564efb
[extractor/common] Support multiple properties in _og_search_property
2016-08-02 22:55:14 +07:00
Philipp Hagemeister
ce28252c48
[options] Add test that checks that --password=secret is hidden in verbose output
2016-08-02 17:03:46 +02:00
Yen Chi Hsuan
14a28e705b
[test/test_all_urls] Remove *.cc.com tests
2016-07-26 11:08:09 +08:00
Sergey M․
317f7ab634
[YoutubeDL] Fix format selection with filters ( Closes #10083 )
2016-07-16 00:55:43 +07:00
Yen Chi Hsuan
0b68de3cc1
Merge pull request #8876 from remitamine/html5_media
...
[extractor/common] add helper method to extract html5 media entries
2016-07-10 23:40:45 +08:00
Yen Chi Hsuan
dfe5fa49ae
[compat] Fix compat_shlex_split for non-ASCII input
...
Closes #9871
2016-07-07 17:37:29 +08:00
Yen Chi Hsuan
84c237fb8a
[utils] Add get_element_by_class
...
For #9950
2016-07-06 20:02:52 +08:00
Remita Amine
dfaa86b75e
[test_utils] add test for smuggling a smuggled url
2016-07-04 21:36:32 +01:00
Yen Chi Hsuan
40f3666f6b
[test/test_http] Update tests for 38cce791c71e9da33854e56114233d60345e18c0
2016-07-03 23:50:55 +08:00
Jaime Marquínez Ferrándiz
a9eede3913
[test/compat] compat_shlex_split: test with newlines
2016-07-01 03:30:35 +07:00
Sergey M․
fd7a7498a4
[test_all_urls] PEP 8 and change wording
2016-06-27 22:11:45 +07:00