aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-01py: Catch all cases of integer (big and small) division by zero.Damien George
2015-10-01py/mpz: Fix bignum anding of large negative with smaller positive int.Damien George
2015-10-01tests: Add further tests for mpz code.Damien George
2015-10-01py/mpz: Force rhs of mpz_shl_inpl/mpz_shr_inpl to be unsigned.Damien George
Python semantics are that rhs of shift must be non-negative, so there's no need to handle negative values in the underlying mpz implementation.
2015-10-01py/mpz: Raise NotImplError instead of failing assertion.Damien George
2015-10-01py/parsenum: Provide detailed error for int parsing with escaped bytes.Damien George
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.
2015-10-01unix/modjni: Propagate Java exceptions on list access.Paul Sokolovsky
2015-09-30unix/modjni: Fix method argument matching.Paul Sokolovsky
2015-09-29unix/modjni: Implement len() for objects with java.util.List interface.Paul Sokolovsky
2015-09-28unix/modjni: call_method: Delete done local references in loop.Paul Sokolovsky
To avoid local ref table overflow.
2015-09-28py/objrange: Bugfix for range_subscr() when index is a slice object.Tom Soulanille
2015-09-28tests: Test slicing a range that does not start at zero.Tom Soulanille
2015-09-27unix/modjni: call_method: Better resource release.Paul Sokolovsky
2015-09-28cc3200: WiPy SW v1.0.0 release.Daniel Campora
2015-09-27tests/wipy: Skip the rtc_irq test.Daniel Campora
2015-09-27cc3200: Always reset WLAN after setting the mode.Daniel Campora
2015-09-27cc3200: Make auth param positional in wlan.connect.Daniel Campora
2015-09-27tests: Skip uheapq1 test if target is WiPy.Daniel Campora
2015-09-27cc3200: Disable uheapq and uhashlib.Daniel Campora
Those two are rarely used features and better to have the extra heap.
2015-09-27tests/wipy: Fix error in wlan test.Daniel Campora
2015-09-27tests/wipy: Add machine module tests.Daniel Campora
2015-09-27tests: Skip extmod machine tests when target is WiPy.Daniel Campora
2015-09-27cc3200: Rename pyb module to machine.Daniel Campora
2015-09-27tests/wipy: Improve robustness of rtc_irq test.Daniel Campora
2015-09-27tests/wipy: Improve robustness of time test.Daniel Campora
2015-09-27cc3200: Implement support for os.dupterm().Daniel Campora
2015-09-27cc3200/mods: Use mp_obj_get_array_fixed_n() where applicable.Daniel Campora
2015-09-27cc3200/tools: Improve update script robustness.Daniel Campora
2015-09-27cc3200: New WLAN API including test.Daniel Campora
2015-09-27cc3200: New irq API, affects all classes that provide the irq method.Daniel Campora
2015-09-26unix/modjni: call_method(): If name doesn't match, cleanup via goto next_method.Paul Sokolovsky
2015-09-26unix/modjni: Need to really use per-rettype Call*Method functions.Paul Sokolovsky
2015-09-24unix/modjni: new_jobject(): Handle null reference.Paul Sokolovsky
2015-09-24py/compile: Put compiler state on the C stack.Damien George
It's relatively small (between 44 and 56 bytes) and helps to reduce heap pressure and fragmentation during compilation.
2015-09-23docs: Bump version to 1.4.6.Damien George
2015-09-23unix/modjni: Factor out is_object_type().Paul Sokolovsky
2015-09-23windows: Make mpconfigport.h up-to-date with the unix portstijn
2015-09-23tests: Omit process output parsing in case of CalledProcessErrorstijn
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'
2015-09-23py: Slightly simplify compile and emit of star/double-star arguments.Damien George
Saves a few bytes of code space and eliminates need for rot_two bytecode (hence saving RAM and execution time, by a tiny bit).
2015-09-23py: Fix call args when a stararg is followed by keyword args.Delio Brignoli
2015-09-22unix/modffi.c: cast first to intptr_t when casting from/to pointerVicente Olivert Riera
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>
2015-09-22unix/modjni: Move type analysis logic to new_jobject(), for reuse.Paul Sokolovsky
2015-09-22windows/msvc: Exclude modjni from build.stijn
2015-09-21cc3200: New SD and RTC API plus os and time modules' extensions.Daniel Campora
2015-09-21tests/wipy: Remove unneeded dependencies to pyb.Pin.Daniel Campora
2015-09-21cc3200: Correct safe boot level 1 blinking period.Daniel Campora
2015-09-21unix/modjni: Support for subscripting of Java lists (r/o so far).Paul Sokolovsky
2015-09-20unix/modjni: jvalue2py: Handle boolean.Paul Sokolovsky
2015-09-19tests: Add escaped quotes tests for REPL.Alex March
Test possible combinations of single and double quotes with escaped quotes and parenthesis with and without function calls in REPL. Covers: #1419
2015-09-19py/repl: Treat escaped quotes correctly in REPL continuation.Alex March
Escaped quotes are now recognised correctly in REPL when used inside normal quotes. Fixes: #1419