summaryrefslogtreecommitdiff
path: root/py/qstr.c
AgeCommit message (Expand)Author
2017-08-15py: Add verbose debug compile-time flag MICROPY_DEBUG_VERBOSE.Stefan Naumann
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2016-11-02py: Fix wrong assumption that m_renew will not move if shrinkingColin Hogben
2016-09-19py/qstr: Remove a comment.Damien George
2016-06-28py: Don't use gc or qstr mutex when the GIL is enabled.Damien George
2016-06-28py: Make interning of qstrs thread safe.Damien George
2016-06-16py: Rename __QSTR_EXTRACT flag to NO_QSTR.Paul Sokolovsky
2016-04-19py: Rework QSTR extraction to work in simple and obvious way.Paul Sokolovsky
2016-04-13py: Add ability to have frozen persistent bytecode from .mpy files.Damien George
2015-12-17py/qstr: Use size_t instead of mp_uint_t when counting allocated bytes.Damien George
2015-11-29py: Change qstr_* functions to use size_t as the type for str len arg.Damien George
2015-10-13py/qstr: Fix calc of qstr memory usage, due to new qstr chunk allocation.Damien George
2015-07-20py: Make qstr hash size configurable, defaults to 2 bytes.Damien George
2015-07-14py: Improve allocation policy of qstr data.Damien George
2015-04-16py: Convert occurrences of non-debug printf to mp_printf.Damien George
2015-02-10py: Add option to micropython.qstr_info() to dump actual qstrs.Damien George
2015-01-16py, unix: Allow to compile with -Wsign-compare.Damien George
2015-01-13py: Never intern data of large string/bytes object; add relevant tests.Damien George
2015-01-11py: Add MICROPY_QSTR_BYTES_IN_LEN config option, defaulting to 1.Damien George
2015-01-11py: Add qstr cfg capability; generate QSTR_NULL and QSTR_ from script.Damien George
2015-01-11py: Fix hard-coded hash for empty qstr (was 0x0000 now 0x1505).Damien George
2015-01-07py: Put all global state together in state structures.Damien George
2015-01-01py: Move to guarded includes, everywhere in py/ core.Damien George
2014-10-31py: Make gc.enable/disable just control auto-GC; alloc is still allowed.Damien George
2014-10-24py: Improve memory usage debugging; better GC AT dumping.Damien George
2014-10-03py: Change [u]int to mp_[u]int_t in qstr.[ch], and some other places.Damien George
2014-07-03Rename machine_(u)int_t to mp_(u)int_t.Damien George
2014-06-21py: Include mpconfig.h before all other includes.Paul Sokolovsky
2014-06-11py: Fix static defn in qstr; include mpconfigport.h with "" (not <>).Damien George
2014-05-25Change const byte* to const char* where sensible.Damien George
2014-05-03Add license header to (almost) all files.Damien George
2014-04-17build: Simplify build directory layout by putting all headers in genhdr.Damien George
2014-04-16build directory can now be renamedAndrew Scheller
2014-04-14qstr, objstr: Make sure that valid hash != 0, treat 0 as "not computed".Paul Sokolovsky
2014-03-25py: Replace naive and teribble hash function with djb2.Damien George
2014-02-26py: Remove name of var arg from macros with var args.Damien George
2014-02-16Make DEBUG_printf() a proper function, implementation is port-dependent.Paul Sokolovsky
2014-02-12Replace global "static" -> "STATIC", to allow "analysis builds". Part 2.Paul Sokolovsky
2014-01-29Add qstr_info() function and bindings for unix port.Damien George
2014-01-24Rework makefiles. Add proper dependency checking.Dave Hylands
2014-01-23py: Implement bool unary op; tidy up unary op dispatch.Damien George
2014-01-22Second stage of qstr revamp: uPy str object can be qstr or not.Damien George
2014-01-21Revamp qstrs: they now include length and hash.Damien George
2014-01-05Make qstr_init reinitialize last_pool.Dave Hylands
2014-01-04Split qstr into pools, and put initial pool in ROM.Damien George
2013-12-29Change memory allocation API to require size for free and realloc.Damien
2013-10-23Fix func decls with no arguments: () -> (void).Damien
2013-10-04Initial commit.Damien