- Oct 04, 2017
-
-
Damien George authored
Header files that are considered internal to the py core and should not normally be included directly are: py/nlr.h - internal nlr configuration and declarations py/bc0.h - contains bytecode macro definitions py/runtime0.h - contains basic runtime enums Instead, the top-level header files to include are one of: py/obj.h - includes runtime0.h and defines everything to use the mp_obj_t type py/runtime.h - includes mpstate.h and hence nlr.h, obj.h, runtime0.h, and defines everything to use the general runtime support functions Additional, specific headers (eg py/objlist.h) can be included if needed.
-
- Jul 31, 2017
-
-
Alexander Steffen authored
There were several different spellings of MicroPython present in comments, when there should be only one.
-
- May 18, 2017
-
-
Damien George authored
-
- Mar 28, 2017
-
-
Damien George authored
Saves 168 bytes on bare-arm.
-
- Mar 23, 2017
-
-
Damien George authored
-
Damien George authored
These values are used to compute memory addresses and so size_t is the more appropriate type to use.
-
- Oct 30, 2016
-
-
Fabio Utzig authored
-
- Oct 17, 2016
-
-
Damien George authored
Saves the following number of bytes of code space: 176 for bare-arm, 352 for minimal, 272 for unix x86-64, 140 for stmhal, 120 for esp8266.
-
- Aug 15, 2016
-
-
Damien George authored
See issue #2264.
-
- Nov 29, 2015
-
-
Damien George authored
This allows the mp_obj_t type to be configured to something other than a pointer-sized primitive type. This patch also includes additional changes to allow the code to compile when sizeof(mp_uint_t) != sizeof(void*), such as using size_t instead of mp_uint_t, and various casts.
-
- Jan 20, 2015
-
-
Damien George authored
See issue #699.
-
- Jan 16, 2015
-
-
Damien George authored
See issue #699.
-
- Jan 01, 2015
-
-
Damien George authored
Addresses issue #1022.
-
- Oct 03, 2014
-
-
Damien George authored
Addressing issue #50.
-
- Aug 30, 2014
-
-
Damien George authored
Part of code cleanup, working towards resolving issue #50.
-
Damien George authored
Part of code cleanup, working towards resolving issue #50.
-
- Jul 03, 2014
-
-
Damien George authored
See discussion in issue #50.
-
- Jun 09, 2014
-
-
Chris Angelico authored
At this point, start will be >= 0, so checking if stop < 0 is redundant with checking if start > stop a few lines later.
-
- Jun 01, 2014
-
-
Damien George authored
-
- May 25, 2014
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- May 24, 2014
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Older int-only encoding is not expressive enough to support arbitrary slice assignment operations.
-
- May 15, 2014
-
-
Paul Sokolovsky authored
This time, in mp_seq_cmp_bytes(). How many more cases are still lurking?
-
- May 13, 2014
-
-
Paul Sokolovsky authored
-
- May 10, 2014
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Should support everything supported by strings.
-
- May 03, 2014
-
-
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/.
-
- May 02, 2014
-
-
Paul Sokolovsky authored
Specifically, nlr.h does.
-
- Apr 18, 2014
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- Apr 05, 2014
-
-
Damien George authored
This does not affect code size or performance when debugging turned off. To address issue #420.
-
- Mar 30, 2014
-
-
Damien George authored
Pretty much everyone needs to include map.h, since it's such an integral part of the Micro Python object implementation. Thus, the definitions are now in obj.h instead. map.h is removed.
-
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.
-
- Mar 17, 2014
-
-
xbe authored
Remove unnecessary includes. Add includes that improve portability.
-
- Mar 13, 2014
-
-
xbe authored
Also modify mp_get_index to accept: 1. Indices that are or evaluate to a boolean. 2. Slice indices. Add tests for these two cases.
-
- Feb 15, 2014
-
-
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.
-
- Feb 10, 2014
-
-
Damien George authored
-
Paul Sokolovsky authored
-