- Oct 01, 2015
-
-
Damien George authored
This patch adds more fine grained error message control for errors when parsing integers (now has terse, normal and detailed). When detailed is enabled, the error now escapes bytes when printing them so they can be more easily seen.
-
Paul Sokolovsky authored
-
- Sep 30, 2015
-
-
Paul Sokolovsky authored
-
- Sep 29, 2015
-
-
Paul Sokolovsky authored
-
- Sep 28, 2015
-
-
Paul Sokolovsky authored
To avoid local ref table overflow.
-
Tom Soulanille authored
-
Tom Soulanille authored
-
Paul Sokolovsky authored
-
- Sep 27, 2015
-
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
Those two are rarely used features and better to have the extra heap.
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
- Sep 26, 2015
-
-
Daniel Campora authored
-
Daniel Campora authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- Sep 24, 2015
-
-
Paul Sokolovsky authored
-
Damien George authored
It's relatively small (between 44 and 56 bytes) and helps to reduce heap pressure and fragmentation during compilation.
-
- Sep 23, 2015
-
-
Damien George authored
-
Paul Sokolovsky authored
-
stijn authored
-
stijn authored
Adding a line-end makes the determination of skip_native fail as it compares the output against b'CRASH' while it is in fact b'CRASH\n'
-
Damien George authored
Saves a few bytes of code space and eliminates need for rot_two bytecode (hence saving RAM and execution time, by a tiny bit).
-
Delio Brignoli authored
-
Vicente Olivert Riera authored
This fixes errors like these ones: modffi.c: In function 'return_ffi_value': modffi.c:143:29: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] const char *s = (const char *)val; ^ modffi.c:162:20: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] return (mp_obj_t)val; ^ modffi.c: In function 'ffifunc_call': modffi.c:358:25: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] values[i] = (ffi_arg)a; ^ modffi.c:373:25: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] values[i] = (ffi_arg)s; ^ modffi.c:381:25: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] values[i] = (ffi_arg)bufinfo.buf; ^ modffi.c:384:25: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] values[i] = (ffi_arg)p->func; ^ These errors can be highlighted when building micropython from MIPS64 n32 because ffi_arg is 64-bit wide and the pointers on MIPS64 n32 are 32-bit wide, so it's trying to case an integer to a pointer (or vice-versa) of a different size. We should cast first the pointer (or the integer) to a pointer sized integer (intptr_t) to fix that problem. Signed-off-by:
Vicente Olivert Riera <Vincent.Riera@imgtec.com>
-
Paul Sokolovsky authored
-
- Sep 22, 2015
-
-
stijn authored
-
- Sep 21, 2015
-
-
Daniel Campora authored
-
Daniel Campora authored
-