Damien George
|
75af908c0e
|
extmod: Use mp_raise_OSError helper function.
|
8 years ago |
Paul Sokolovsky
|
7b901d6fb7
|
extmod/moduzlib: DecompIO: Add support for gzip-formatted streams.
This uses extension introduced in CPython 3.5: if wbits (dictionary size
code) has value 16 + 8..15, it means that gzip-formatted stream expected.
|
8 years ago |
Damien George
|
93c4a6a3f7
|
all: Remove 'name' member from mp_obj_module_t struct.
One can instead lookup __name__ in the modules dict to get the value.
|
8 years ago |
Paul Sokolovsky
|
1bc5cb4312
|
extmod/moduzlib: Support wbits arg to DecompIO.
|
8 years ago |
Paul Sokolovsky
|
f7c4611523
|
extmod/moduzlib: Use mperrno.h for error constants.
|
8 years ago |
Paul Sokolovsky
|
a6864a13c7
|
extmod/moduzlib: Implement zlib stream decompressor class, DecompIO.
|
8 years ago |
Paul Sokolovsky
|
ed4ce196ed
|
extmod/moduzlib: Refactor to new stream-compatible uzlib 2.0 API.
|
8 years ago |
Damien George
|
4b72b3a133
|
py: Change type signature of builtin funs that take variable or kw args.
With this patch the n_args parameter is changed type from mp_uint_t to
size_t.
|
9 years ago |
Damien George
|
cbf7674025
|
py: Add MP_ROM_* macros and mp_rom_* types and use them.
|
9 years ago |
Damien George
|
1ef26b35c1
|
py, extmod: Remove include of unnecessary system headers.
|
10 years ago |
Paul Sokolovsky
|
e9995bdea2
|
moduzlib: Align out buffer to block size; shrink when decompression done.
|
10 years ago |
Paul Sokolovsky
|
2324f3ef29
|
moduzlib: Implement raw DEFLATE decoding support.
|
10 years ago |
Damien George
|
ff8dd3f486
|
py, unix: Allow to compile with -Wunused-parameter.
See issue #699.
|
10 years ago |
Damien George
|
3765ea419a
|
extmod: Prefix py/ for includes from py core directory.
|
10 years ago |
Damien George
|
3b603f29ec
|
Use MP_DEFINE_CONST_DICT macro to define module dicts.
This is just a clean-up of the code. Generated code is exactly the
same.
|
10 years ago |
Damien George
|
4b71c056ef
|
moduzlib: Fix fn prototype and some code style; use it in stmhal port.
|
10 years ago |
Paul Sokolovsky
|
426bb58b23
|
moduzlib: New zlib-like module, based on uzlib.
|
10 years ago |