- 03 Mar, 2015 1 commit
-
-
Damien George authored
-
- 12 Jan, 2015 1 commit
-
-
Damien George authored
-
- 10 Jan, 2015 1 commit
-
-
Damien George authored
Compiler optimises lookup of module.CONST when enabled (an existing feature). Disabled by default; enabled for unix, windows, stmhal. Costs about 100 bytes ROM on stmhal.
-
- 09 Jan, 2015 1 commit
-
-
Damien George authored
-
- 08 Jan, 2015 1 commit
-
-
stijn authored
GC for unix/windows builds doesn't make use of the bss section anymore, so we do not need the (sometimes complicated) build features and code related to it
-
- 04 Jan, 2015 1 commit
-
-
stijn authored
-
- 20 Dec, 2014 1 commit
-
-
stijn authored
-
- 09 Dec, 2014 1 commit
-
-
Damien George authored
This patch adds a configuration option (MICROPY_CAN_OVERRIDE_BUILTINS) which, when enabled, allows to override all names within the builtins module. A builtins override dict is created the first time the user assigns to a name in the builtins model, and then that dict is searched first on subsequent lookups. Note that this implementation doesn't allow deleting of names. This patch also does some refactoring of builtins code, creating the modbuiltins.c file. Addresses issue #959.
-
- 21 Nov, 2014 1 commit
-
-
stijn authored
- update mpconfigport.h to reflect latest unix version - fix compilation error in modure due to msvc not allowing dynamic arrays
-
- 16 Nov, 2014 1 commit
-
-
Paul Sokolovsky authored
-
- 13 Oct, 2014 1 commit
-
-
Paul Sokolovsky authored
-
- 06 Oct, 2014 1 commit
-
-
Paul Sokolovsky authored
Specifically, at least Ubuntu's i586-mingw32msvc-gcc doesn't supply __LITTLE_ENDIAN__ and friends. And as it's safe enough to assume that Windows is only little-endian, then it's defined unconditionally, instead of duplicating detection logic in py/mpconfig.h (or adding windows-specific defines to it).
-
- 04 Oct, 2014 1 commit
-
-
stijn authored
-
- 22 Sep, 2014 1 commit
-
-
stijn authored
-
- 02 Sep, 2014 1 commit
-
-
stijn authored
-
- 24 Aug, 2014 1 commit
-
-
Damien George authored
Because (for Thumb) a function pointer has the LSB set, pointers to dynamic functions in RAM (eg native, viper or asm functions) were not being traced by the GC. This patch is a comprehensive fix for this. Addresses issue #820.
-
- 13 Aug, 2014 1 commit
-
-
stijn authored
This also fixes a 'unnamed type definition in parentheses' warning on the alignof implementation define in binary.c
-
- 03 Jul, 2014 1 commit
-
-
Damien George authored
See discussion in issue #50.
-
- 29 Jun, 2014 1 commit
-
-
stijn authored
- rearrange/add definitions that were not there so it's easier to compare both - use MICROPY_PY_SYS_PLATFORM in main.c since it's available anyway - define EWOULDBLOCK, it is missing from ingw32
-
- 22 Jun, 2014 1 commit
-
-
stijn authored
The pointers to the bss section are acquired in init.c() by inspecting the PE header. Works for msvc and mingw.
-
- 08 Jun, 2014 2 commits
-
-
Damien George authored
-
Damien George authored
-
- 07 Jun, 2014 1 commit
-
-
Marcus von Appen authored
- Move the includes for alloca() intp mpconfigport.h
-
- 01 Jun, 2014 1 commit
-
-
Damien George authored
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.
-
- 27 May, 2014 1 commit
-
-
stijn authored
-
- 24 May, 2014 1 commit
-
-
Damien George authored
Now of the form MICROPY_PY_*. See issue #35.
-
- 21 May, 2014 1 commit
-
-
Damien George authored
MP_ALLOC_* -> MICROPY_ALLOC_* MICROPY_PATH_MAX -> MICROPY_ALLOC_PATH_MAX MICROPY_ENABLE_REPL_HELPERS -> MICROPY_HELPER_REPL MICROPY_ENABLE_LEXER_UNIX -> MICROPY_HELPER_LEXER_UNIX MICROPY_EXTRA_* -> MICROPY_PORT_* See issue #35.
-
- 11 May, 2014 1 commit
-
-
stijn authored
-
- 09 May, 2014 1 commit
-
-
stijn authored
-
- 08 May, 2014 1 commit
-
-
stijn authored
Extend the windows port so it compiles with the toolchain from Visual Studio 2013
-
- 07 May, 2014 1 commit
-
-
stijn authored
-
- 03 May, 2014 4 commits
-
-
Damien George authored
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/.
-
stijn authored
By default mingw outputs 3 digits instead of the standard 2 so all float tests using printf fail. Using setenv at the start of the program fixes this. To accomodate calling platform specific initialization a MICROPY_MAIN_INIT_FUNC macro is used which is called in mp_init()
-
stijn authored
The mingw port used _fullpath() until now, but the behaviour is not exactly the same as realpath()'s on unix; major difference being that it doesn't return an error for non-existing files, which would bypass main's error checking and bail out without any error message. Also realpath() will return forward slashes only since main() relies on that.
-
stijn authored
This one was probable missed when creating mpconfigport.h, but the underlying code (file.c) gets compiled and works perfectly so no reason to omit it.
-
- 20 Apr, 2014 1 commit
-
-
Paul Sokolovsky authored
-
- 07 Apr, 2014 1 commit
-
-
Damien George authored
-
- 13 Mar, 2014 1 commit
-
-
Damien George authored
-
- 28 Jan, 2014 1 commit
-
-
Markus Siemens authored
-
- 19 Jan, 2014 1 commit
-
-
Damien George authored
Exceptions know source file, line and block name. Also tidy up some debug printing functions and provide a global flag to enable/disable them.
-