Commit Graph

33 Commits (master)

Author SHA1 Message Date
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
8 years ago
Yen Chi Hsuan edaa23f822
[compat] Rename struct_(un)pack to compat_struct_(un)pack 8 years ago
Yen Chi Hsuan dab0daeeb0
[utils,compat] Move struct_pack and struct_unpack to compat.py 8 years ago
Jakub Wilk dfb1b1468c Fix typos
Closes #8200.
8 years ago
Philipp Hagemeister 1cc79574fc Fix imports and general cleanup
· Import from compat what comes from compat. Yes, some names are available in utils too, but that's an implementation detail.
· Use _match_id consistently whenever possible
· Fix some outdated tests
· Use consistent valid URL (always match the whole protocol, no ^ at start required)
· Use modern test definitions
9 years ago
Jouke Waleson 5f6a1245ff PEP8 applied 10 years ago
Philipp Hagemeister f48d3e9bbc [swfinterp] Improve undefined representation 10 years ago
Philipp Hagemeister fbf94a7815 [swfinterp] Add more builtins and improve static variables 10 years ago
Philipp Hagemeister 1921b24551 [swfinterp] Add support for more complicated constants 10 years ago
Philipp Hagemeister cd9ad1d7e8 [swfinterp] Basic support for constants (only ints for now) 10 years ago
Philipp Hagemeister 162f54eca6 [swfinterp] Implement bitand and pushshort operators 10 years ago
Philipp Hagemeister 33a266f4ba [swfinterp] Implement charCodeAt 10 years ago
Philipp Hagemeister 6b592d93a2 [swfinterp] Formalize built-in classes 10 years ago
Philipp Hagemeister 4686ae4b64 [swfinterp] Implement various opcodes 10 years ago
Philipp Hagemeister 8d05f2c16a [swfinterp] Add support for void methods 10 years ago
Philipp Hagemeister a4bb83956c [swfinterp] Implement pushtrue and pushfalse opcodes 10 years ago
Philipp Hagemeister eb5376044c [swfinterp] Implement equals opcode 10 years ago
Philipp Hagemeister 3cbcff8a2d [swfinterp] Implement String basics 10 years ago
Philipp Hagemeister e983cf5277 [swfinterp] Interpret yet more opcodes 10 years ago
Philipp Hagemeister 0ab1ca5501 [swfinterp] Better error message 10 years ago
Philipp Hagemeister 4baafa229d [swfinterp] Intepret more multinames 10 years ago
Philipp Hagemeister b7558d9881 [swfinterp] Allow function patching 10 years ago
Philipp Hagemeister 7fbf54dc62 [swfinterp] Remove (at the moment) dead code 10 years ago
Philipp Hagemeister 351f373865 [swfinterp] Fix _u32 name 10 years ago
Philipp Hagemeister c13bf7c836 [swfinterp] Use helper function struct_unpack for old Python 2.x releases (#3270) 10 years ago
Philipp Hagemeister 1b38b5be86 [swfinterp] Remove debugging code 10 years ago
Philipp Hagemeister decf2ae400 [swfinterp] Correct array access 10 years ago
Philipp Hagemeister 0d989011ff [swfinterp] Add support for calling methods on objects 10 years ago
Philipp Hagemeister 01b4b74574 [swfinterp] Add support for calls to instance methods 10 years ago
Philipp Hagemeister 70f767dc65 [swfinterp] Add support for multiple classes 10 years ago
Philipp Hagemeister e75c24e889 [swfinterp] Extend tests and fix parsing 10 years ago
Philipp Hagemeister 0cb2056304 [swfinterp] Start working on basic tests 10 years ago
Philipp Hagemeister 5425626790 [youtube] Move swfinterp into its own file 10 years ago