Age | Commit message (Collapse) | Author |
|
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
|
|
Note: the uncrustify configuration is explicitly set to 'add' instead of
'force' in order not to alter the comments which use extra spaces after //
as a means of indenting text for clarity.
|
|
Initially some of these were found building the unix coverage variant on
MacOS because that build uses clang and has -Wdouble-promotion enabled, and
clang performs more vigorous promotion checks than gcc. Additionally the
codebase has been compiled with clang and msvc (the latter with warning
level 3), and with MICROPY_FLOAT_IMPL_FLOAT to find the rest of the
conversions.
Fixes are implemented either as explicit casts, or by using the correct
type, or by using one of the utility functions to handle floating point
casting; these have been moved from nativeglue.c to the public API.
|
|
This is run with uncrustify 0.70.1, and black 19.10b0.
|
|
This comment style is no longer used because the docs are written by hand,
not generated.
|
|
There were several different spellings of MicroPython present in comments,
when there should be only one.
|
|
One can instead lookup __name__ in the modules dict to get the value.
|
|
Automagically skip related modules.
|
|
|
|
Will be included only when MICROPY_PY_MATH_SPECIAL_FUNCTIONS is enabled.
Also covers cmath module (but only log10 is there at the moment).
|
|
|
|
|
|
Addresses issue #1022.
|
|
|
|
This is just a clean-up of the code. Generated code is exactly the
same.
|
|
|
|
|
|
It defines types used by all other headers.
Fixes #691.
|
|
|
|
This renames:
MICROPY_PY_FROZENSET -> MICROPY_PY_BUILTINS_FROZENSET
MICROPY_PY_PROPERTY -> MICROPY_PY_BUILTINS_PROPERTY
MICROPY_PY_SLICE -> MICROPY_PY_BUILTINS_SLICE
MICROPY_ENABLE_FLOAT -> MICROPY_PY_BUILTINS_FLOAT
See issue #35 for discussion.
|
|
Now of the form MICROPY_PY_*. See issue #35.
|
|
Blanket wide to all .c and .h files. Some files originating from ST are
difficult to deal with (license wise) so it was left out of those.
Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
|
|
|
|
|
|
Not all functions implemented. Not enabled on pyboard.
|