| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-04-05 | py: Change nlr_jump to nlr_raise, to aid in debugging. | Damien George | |
| This does not affect code size or performance when debugging turned off. To address issue #420. | |||
| 2014-04-04 | py: Make False and True act like 0 and 1 for integer arithmetic. | Damien George | |
| 2014-04-02 | py: Allow multiple of str/list/tuple on left by an integer. | Damien George | |
| 2014-03-30 | py: Add explicit conversion from float to int via int(). | Damien George | |
| 2014-03-29 | py: Rename old const type objects to mp_type_* for consistency. | Damien George | |
| 2014-03-22 | py: Add function to convert long int to float. | Damien George | |
| 2014-03-17 | py: Clean up includes. | xbe | |
| Remove unnecessary includes. Add includes that improve portability. | |||
| 2014-03-12 | py: Implement integer overflow checking for * and << ops. | Damien George | |
| If operation will overflow, a multi-precision integer is created. | |||
| 2014-02-22 | Add arbitrary precision integer support. | Damien George | |
| Some functionality is still missing (eg and, or, bit shift), and some things are buggy (eg subtract). | |||
| 2014-02-22 | py: Put number parsing code together in parsenum.c. | Damien George | |
| 2014-02-22 | py: Rename strtonum to mp_strtonum. | Damien George | |
| strtonum clashes with BSD function of same name, and our version is different so warrants a unique name. Addresses Issue #305. | |||
| 2014-02-22 | py: Fix casting and printing of small int. | Damien George | |
| 2014-02-15 | Implement proper exception type hierarchy. | Damien George | |
| 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. | |||
| 2014-02-15 | Change mp_obj_type_t.name from const char * to qstr. | Damien George | |
| 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. | |||
| 2014-02-12 | Remove mp_obj_new_exception_msg_1_arg and _2_arg. | Damien George | |
| 2014-02-12 | Replace global "static" -> "STATIC", to allow "analysis builds". Part 1. | Paul Sokolovsky | |
| Some tools do not support local/static symbols (one example is GNU ld map file). Exposing all functions will allow to do detailed size comparisons, etc. Also, added bunch of statics where they were missing, and replaced few identity functions with global mp_identity(). | |||
| 2014-02-08 | Make mp_obj_str_get_data return char* instead of byte*. | Damien George | |
| Can't decide which is better for string type, char or byte pointer. Changing to char removes a few casts. Really need to do proper unicode. | |||
| 2014-01-27 | long int: Implement more operations. | Paul Sokolovsky | |
| 2014-01-22 | Second stage of qstr revamp: uPy str object can be qstr or not. | Damien George | |
| 2014-01-21 | Revamp qstrs: they now include length and hash. | Damien George | |
| Can now have null bytes in strings. Can define ROM qstrs per port using qstrdefsport.h | |||
| 2014-01-18 | Merge branch 'master' of github.com:dpgeorge/micropython | Damien George | |
| 2014-01-18 | int: Add value accessors: mp_obj_int_get() & mp_obj_int_get_checked(). | Paul Sokolovsky | |
| mp_obj_int_get() can be used when just full resolution of C machine_int_t is required (returns truncated value of long int). mp_obj_int_get_checked() will throw exception if Python int value not representable in machine_int_t. | |||
| 2014-01-18 | Make VM stack grow upwards, and so no reversed args arrays. | Damien George | |
| Change state layout in VM so the stack starts at state[0] and grows upwards. Locals are at the top end of the state and number downwards. This cleans up a lot of the interface connecting the VM to C: now all functions that take an array of Micro Python objects are in order (ie no longer in reverse). Also clean up C API with keyword arguments (call_n and call_n_kw replaced with single call method that takes keyword arguments). And now make_new takes keyword arguments. emitnative.c has not yet been changed to comply with the new order of stack layout. | |||
| 2014-01-18 | Add OverflowError and use it for small int overflow instead of assert. | Paul Sokolovsky | |
| 2014-01-15 | Merge branch 'str2int' of github.com:xyb/micropython into xyb-str2int | Damien George | |
| Conflicts: py/objint.c unix-cpy/Makefile unix/Makefile | |||
| 2014-01-15 | add more tests and remove debug code | xyb | |
| 2014-01-15 | type->print(): Distinguish str() and repr() variety by passing extra param. | Paul Sokolovsky | |
| 2014-01-14 | support int(str, basbase) | xyb | |
| 2014-01-14 | Implemented int(str) in UNIX | xyb | |
| 2014-01-13 | Move mp_obj_int_t definition to objint.h, to reuse in long int impls. | Paul Sokolovsky | |
| 2014-01-13 | Cleanup built-ins, and fix some compiler warnings/errors. | Damien George | |
| 2014-01-12 | Add framework to support alternative implementations of long int Python type. | Paul Sokolovsky | |
| 2014-01-07 | Merge branch 'cplusplus' of https://github.com/ian-v/micropython into ↵ | Damien George | |
| ian-v-cplusplus Conflicts: py/objcomplex.c | |||
| 2014-01-06 | Co-exist with C++ (issue #85) | ian-v | |
| 2014-01-05 | Convert many object types structs to use C99 tagged initializer syntax. | Paul Sokolovsky | |
| 2014-01-05 | Oops: add objint.c | Damien George | |
