Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | py/qstr: Change type of qstr from mp_uint_t to size_t. | Damien George | 2015-12-17 |
| | | | | | | | | | | For builds where mp_uint_t is larger than size_t, it doesn't make sense to use such a wide type for qstrs. There can only be as many qstrs as there is address space on the machine, so size_t is the correct type to use. Saves about 3000 bytes of code size when building unix/ port with MICROPY_OBJ_REPR_D. | ||
* | py/qstr: Use size_t instead of mp_uint_t when counting allocated bytes. | Damien George | 2015-12-17 |
| | |||
* | py: Change qstr_* functions to use size_t as the type for str len arg. | Damien George | 2015-11-29 |
| | |||
* | py: Adjust some spaces in code style/format, purely for consistency. | Damien George | 2015-04-09 |
| | |||
* | py: Some trivial cosmetic changes, for code style consistency. | Damien George | 2015-04-04 |
| | |||
* | py: Add option to micropython.qstr_info() to dump actual qstrs. | Damien George | 2015-02-10 |
| | |||
* | py: Add qstr cfg capability; generate QSTR_NULL and QSTR_ from script. | Damien George | 2015-01-11 |
| | |||
* | py: Put all global state together in state structures. | Damien George | 2015-01-07 |
| | | | | | | This patch consolidates all global variables in py/ core into one place, in a global structure. Root pointers are all located together to make GC tracing easier and more efficient. | ||
* | py: Add include guards to mpconfig,misc,qstr,obj,runtime,parsehelper. | Damien George | 2014-12-29 |
| | |||
* | py: Change [u]int to mp_[u]int_t in qstr.[ch], and some other places. | Damien George | 2014-10-03 |
| | | | | This should pretty much resolve issue #50. | ||
* | Rename machine_(u)int_t to mp_(u)int_t. | Damien George | 2014-07-03 |
| | | | | See discussion in issue #50. | ||
* | Correct file reference (there's no qstrraw.h) | Chris Angelico | 2014-06-04 |
| | |||
* | Change const byte* to const char* where sensible. | Damien George | 2014-05-25 |
| | | | | | This removes need for some casts (at least, more than it adds need for new casts!). | ||
* | Add license header to (almost) all files. | Damien George | 2014-05-03 |
| | | | | | | | 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/. | ||
* | build: Simplify build directory layout by putting all headers in genhdr. | Damien George | 2014-04-17 |
| | | | | | Any generated headers go in $(BUILD)/genhdr/, and are #included as 'genhdr/xxx.h'. | ||
* | build directory can now be renamed | Andrew Scheller | 2014-04-16 |
| | | | | | | | | | The autogenerated header files have been moved about, and an extra include dir has been added, which means you can give a custom BUILD=newbuilddir option to make, and everything "just works" Also tidied up the way the different Makefiles build their include- directory flags | ||
* | py: Add 'static' to inline function MP_BOOL; remove category_t. | Damien George | 2014-04-12 |
| | | | | | Small fixes to get it compiling with ARMCC. I have no idea why category_t was in the enum definition for qstrs... | ||
* | Add qstr_info() function and bindings for unix port. | Damien George | 2014-01-29 |
| | |||
* | Rework makefiles. Add proper dependency checking. | Dave Hylands | 2014-01-24 |
| | |||
* | Second stage of qstr revamp: uPy str object can be qstr or not. | Damien George | 2014-01-22 |
| | |||
* | Revamp qstrs: they now include length and hash. | Damien George | 2014-01-21 |
Can now have null bytes in strings. Can define ROM qstrs per port using qstrdefsport.h |