sulyi
cf4c9c3db8
[jsinterp] Adding switch ast to parser test
2016-12-12 16:27:15 +01:00
sulyi
007f19ea49
[jsinterp] Adding code to parser tests
2016-12-12 15:30:32 +01:00
sulyi
cc9cb3096e
[jsinterp] Reprioritizing TODOs in test_jsinterp_parser.py
2016-12-12 14:08:29 +01:00
sulyi
3ba28c6eef
[jsinterp] Adding for parser
...
- refractors JSInterpreter._expression
2016-12-12 13:19:45 +01:00
sulyi
253e32671d
[jsinterp] Adding do and while parser
2016-12-12 12:18:31 +01:00
sulyi
a8a445f04c
[jsinterp] Fixing TokenStrem pop, label statement, function body
2016-12-11 23:30:03 +01:00
sulyi
f24cafea89
[jsinterp] Adding parser object literal
2016-12-11 23:00:34 +01:00
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
dedb6eea79
[jsinterp] Added try parser (test needed)
2016-12-11 18:49:20 +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
ad49621758
[jsinterp] Adding with and switch parser and fixes (tests needed)
...
- parsing empty block
- more specific check at else block
2016-12-11 11:54:08 +01:00
sulyi
57c8ccb7c5
[jsinterp] Re-prioritising TODOs
2016-12-11 09:42:43 +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
aa6e7525bd
[jsinterp] Fixing Reference repr
2016-12-10 17:31:29 +01:00
sulyi
9b5e55a45a
[jsinterp] Mozilla-central test first try
2016-12-10 16:25:51 +01:00
sulyi
f942bb3fa6
[jsinterp] Refactoring getvalue and putvalue
...
Previously deokenization and value lookup was handled tandem
Moved methods from JSInterpreter into Reference
2016-12-10 14:36:32 +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
88d2a4ed40
[jsinterp] Unittest2 in reqs
2016-12-10 09:41:39 +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
c5c1273ba5
Merge branch 'master' into jsinterp
...
# Conflicts:
# youtube_dl/extractor/openload.py
2016-12-09 23:54:33 +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
Sergey M․
18ece70c4d
release 2016.12.09
2016.12.09
2016-12-09 02:46:18 +07:00
Sergey M․
9ed3495eae
[ChangeLog] Actualize
2016-12-09 02:41:49 +07:00
Yen Chi Hsuan
6c20a0bb99
[openload] Fix extraction ( closes #10408 )
2016-12-09 02:15:16 +08: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
8ff8a706ed
[jsinterp] Str tokens are easier to deal with
2016-12-07 21:03:57 +01:00
sulyi
c2f280d5cc
[jsinterp] Compatibility fix
2016-12-07 19:47:10 +01:00
Sergey M․
f43795e56b
[pandoratv] PEP 8 and simplify
2016-12-07 23:50:10 +07:00
Serkora
7441915b1e
[pandoratv] Fix extraction ( closes #11023 )
2016-12-07 23:46:42 +07:00
sulyi
c426efd5b5
[jsinterp] More tokens
2016-12-07 12:33:07 +01:00
sulyi
ce4a616c4a
[jsinterp] Token class for tokens
2016-12-07 07:28:09 +01:00
Remita Amine
283d1c6a8b
[telebruxelles] extract all formats and add support for emission urls
2016-12-06 19:01:17 +01:00
sulyi
d422aefc03
[jsinterp] Very basic interpreter
...
Supports:
- variable declaration
- expression
- variable assignment
Lacks:
- call
- array access
- property access
- property declaration
2016-12-06 18:42:59 +01:00
Sergey M․
875ddd7409
[bloomberg] Add another video id regex ( closes #11371 )
2016-12-06 00:41:03 +07:00
Sergey M․
4afa4ff223
[1tv] Fix video id extraction
2016-12-05 23:28:57 +07:00
vordep
3ed81714d8
[fusion] Update ooyala id regex
2016-12-05 22:43:36 +07:00
sulyi
7864078bfa
[jsinterp] Preliminary fixes after some testing of ast
2016-12-05 11:44:32 +01:00
sulyi
f6ad8db133
[jsinterp] Refactoring and minor fixes
2016-12-04 19:15:35 +01:00
Yen Chi Hsuan
4bd7d9d4ae
[socks] Refine exception model for better error handling
...
1. ProxyError now inherits from socket.error instead of IOError
The only functions socks.py overrides are connect and connect_ex. In
Python 2.x and Python <= 3.2, socket functions raises socket.error. In
newer Python versions, those functions raises OSError instead. The name
socket.error is preserved as an alias of OSError for backward
compability. To keep socks.py compatible with Python's standard library,
it should raise the same exception as raw sockets.
See PEP 3151 (https://www.python.org/dev/peps/pep-3151/ ) for more
information about the change in Python 3.3.
2. Raise EOFError instead of IOError when the socket receives less data
than it expects
There's no common convention, but both ftplib and telnetlib raises
EOFError for similar situations. socks.py follows them.
Closes #11355
In #11355 , only Python 2 is affected. In Python 3, both socket.error and
IOError are alias of OSError, so AbstractHTTPHandler.do_open correctly
catches the error and thus InfoExtractor._is_valid_url works fine.
2016-12-05 00:43:37 +08:00
Sergey M․
9b5288c92a
[1tv] Improve extraction and add support for playlists ( closes #11335 )
2016-12-04 23:35:21 +07:00