- 08 May, 2014 1 commit
-
-
stijn authored
Extend the windows port so it compiles with the toolchain from Visual Studio 2013
-
- 07 May, 2014 2 commits
- 03 May, 2014 7 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/.
-
Damien George authored
-
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.
-
Paul Sokolovsky authored
-
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.
-
stijn authored
alloca() is declared in alloca.h which als happens to be included by stdlib.h. On mingw however it resides in malloc.h only. So if we include alloca.h directly, and add an alloca.h for mingw in it's port directory we can get rid of the mingw-specific define to include malloc.h and the other ports are happy as well.
-
- 23 Apr, 2014 1 commit
-
-
Paul Sokolovsky authored
Suggested by @lurch.
-
- 20 Apr, 2014 2 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 17 Apr, 2014 1 commit
-
-
Damien George authored
Any generated headers go in $(BUILD)/genhdr/, and are #included as 'genhdr/xxx.h'.
-
- 16 Apr, 2014 1 commit
-
-
Andrew Scheller authored
The autogenerated header files have been moved about, and an extra include dir has been added, which means you can give a custom BUILD=newbuilddir option to make, and everything "just works" Also tidied up the way the different Makefiles build their include- directory flags
-
- 08 Apr, 2014 3 commits
-
-
Damien George authored
To keep it maintainable, windows port now uses as much as possible from unix port. Maybe could even use mpconfigport.h.
-
Damien George authored
Full CPython compatibility with this requires actually parsing the input so far collected, and if it fails parsing due to lack of tokens, then continue collecting input. It's not worth doing it this way. Not having compatibility at this level does not hurt the goals of Micro Python.
-
Paul Sokolovsky authored
-
- 07 Apr, 2014 2 commits
-
-
Damien George authored
Partly addresses issue #154.
-
Damien George authored
-
- 31 Mar, 2014 1 commit
-
-
Damien George authored
-
- 30 Mar, 2014 1 commit
-
-
Damien George authored
Mostly just a global search and replace. Except rt_is_true which becomes mp_obj_is_true. Still would like to tidy up some of the names, but this will do for now.
-
- 26 Mar, 2014 1 commit
-
-
Damien George authored
Addresses issue #377.
-
- 13 Mar, 2014 1 commit
-
-
Damien George authored
-
- 15 Feb, 2014 2 commits
-
-
Damien George authored
Each built-in exception is now a type, with base type BaseException. C exceptions are created by passing a pointer to the exception type to make an instance of. When raising an exception from the VM, an instance is created automatically if an exception type is raised (as opposed to an exception instance). Exception matching (RT_BINARY_OP_EXCEPTION_MATCH) is now proper. Handling of parse error changed to match new exceptions. mp_const_type renamed to mp_type_type for consistency.
-
Damien George authored
Ultimately all static strings should be qstr. This entry in the type structure is only used for printing error messages (to tell the type of the bad argument), and printing objects that don't supply a .print method.
-
- 04 Feb, 2014 1 commit
-
-
Paul Sokolovsky authored
-
- 30 Jan, 2014 1 commit
-
-
Markus Siemens authored
Up to know changes unix/main.c were able to break the windows build because windows/main.c simply included unix/main.c. Now windows/main.c stands on it's own and won't break if unix/main.c changes.
-
- 28 Jan, 2014 1 commit
-
-
Markus Siemens authored
-