Commit Graph

33 Commits (9842d29d660b1ffe7873823542085879ba9d86a8)

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 ; thanks @stepshal for first mentioning this issue and
initial patches
Yen Chi Hsuan edaa23f822
[compat] Rename struct_(un)pack to compat_struct_(un)pack
Yen Chi Hsuan dab0daeeb0
[utils,compat] Move struct_pack and struct_unpack to compat.py
Jakub Wilk dfb1b1468c Fix typos
Closes .
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
Jouke Waleson 5f6a1245ff PEP8 applied
Philipp Hagemeister f48d3e9bbc [swfinterp] Improve undefined representation
Philipp Hagemeister fbf94a7815 [swfinterp] Add more builtins and improve static variables
Philipp Hagemeister 1921b24551 [swfinterp] Add support for more complicated constants
Philipp Hagemeister cd9ad1d7e8 [swfinterp] Basic support for constants (only ints for now)
Philipp Hagemeister 162f54eca6 [swfinterp] Implement bitand and pushshort operators
Philipp Hagemeister 33a266f4ba [swfinterp] Implement charCodeAt
Philipp Hagemeister 6b592d93a2 [swfinterp] Formalize built-in classes
Philipp Hagemeister 4686ae4b64 [swfinterp] Implement various opcodes
Philipp Hagemeister 8d05f2c16a [swfinterp] Add support for void methods
Philipp Hagemeister a4bb83956c [swfinterp] Implement pushtrue and pushfalse opcodes
Philipp Hagemeister eb5376044c [swfinterp] Implement equals opcode
Philipp Hagemeister 3cbcff8a2d [swfinterp] Implement String basics
Philipp Hagemeister e983cf5277 [swfinterp] Interpret yet more opcodes
Philipp Hagemeister 0ab1ca5501 [swfinterp] Better error message
Philipp Hagemeister 4baafa229d [swfinterp] Intepret more multinames
Philipp Hagemeister b7558d9881 [swfinterp] Allow function patching
Philipp Hagemeister 7fbf54dc62 [swfinterp] Remove (at the moment) dead code
Philipp Hagemeister 351f373865 [swfinterp] Fix _u32 name
Philipp Hagemeister c13bf7c836 [swfinterp] Use helper function struct_unpack for old Python 2.x releases ()
Philipp Hagemeister 1b38b5be86 [swfinterp] Remove debugging code
Philipp Hagemeister decf2ae400 [swfinterp] Correct array access
Philipp Hagemeister 0d989011ff [swfinterp] Add support for calling methods on objects
Philipp Hagemeister 01b4b74574 [swfinterp] Add support for calls to instance methods
Philipp Hagemeister 70f767dc65 [swfinterp] Add support for multiple classes
Philipp Hagemeister e75c24e889 [swfinterp] Extend tests and fix parsing
Philipp Hagemeister 0cb2056304 [swfinterp] Start working on basic tests
Philipp Hagemeister 5425626790 [youtube] Move swfinterp into its own file