- Sep 28, 2015
-
-
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
-
Daniel Campora authored
-
Paul Sokolovsky authored
-
- Sep 19, 2015
-
-
Paul Sokolovsky authored
-
Alex March authored
Test possible combinations of single and double quotes with escaped quotes and parenthesis with and without function calls in REPL. Covers: #1419
-
Alex March authored
Escaped quotes are now recognised correctly in REPL when used inside normal quotes. Fixes: #1419
-
Alex March authored
Follow the same format as other ports using the macro to include the HAL header.
-
- Sep 18, 2015
-
-
Paul Sokolovsky authored
So far, no signature check is done (TODO).
-