33 Commits (58d9a4815d9b09651c658d15adc771638272ba44)

Author SHA1 Message Date
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George 97eca38c4f py: Add mp_raise_type helper macro and use it where appropriate. 5 years ago
Damien George bbeaafd9aa extmod: Add dynamic-runtime guards to btree/framebuf/uheapq/ure/uzlib. 5 years ago
Damien George e5acd06ad5 extmod/modbtree: Use mp_printf instead of printf. 5 years ago
Damien George 2ee9e1a4ed extmod/modbtree: Make FILEVTABLE const to put it in ROM. 5 years ago
Damien George b8b2525576 extmod/modbtree: Update to work with new mp_stream_posix_XXX signatures. 6 years ago
Damien George 5e34a113ea py/runtime: Add MP_BINARY_OP_CONTAINS as reverse of MP_BINARY_OP_IN. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Damien George 58321dd985 all: Convert mp_uint_t to mp_unary_op_t/mp_binary_op_t where appropriate 7 years ago
Damien George aa7be82a4d all: Don't include system errno.h when it's not needed. 7 years ago
Damien George 204ded848e extmod: Update for changes to mp_obj_str_get_data. 8 years ago
Damien George ae8d867586 py: Add iter_buf to getiter type method. 9 years ago
Paul Sokolovsky 4463d8a910 extmod/modbtree: Rename "sync" method to "flush" for consistency. 8 years ago
w4kpm ec22d1739d extmod/modbtree: Add method to sync the database. 8 years ago
Damien George 75af908c0e extmod: Use mp_raise_OSError helper function. 8 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 years ago
Krzysztof Blazewicz 5a5449d4eb extmod/modbtree: do CHECK_ERROR after __bt_seq() 8 years ago
Paul Sokolovsky d79342d33e extmod/modbtree: open(): Add option kwargs. 8 years ago
Paul Sokolovsky 3eb532e974 extmod/modbtree: Implement __contains__ operation. 8 years ago
Paul Sokolovsky 99061d1dcb extmod/modbtree: Switch to accepting stream object instead of filename. 8 years ago
Paul Sokolovsky 25df419c67 extmod/modbtree: Check __bt_open() return value for error. 8 years ago
Paul Sokolovsky 417dc0c05d extmod/modbtree: Fixes for nanbox build. 8 years ago
Paul Sokolovsky b09cd0e1ec extmod/modbtree: Fix unused argument warning. 8 years ago
Paul Sokolovsky 2f7ebf16de extmod/modbtree: Cleverly implement "for key in btree:" syntax. 8 years ago
Paul Sokolovsky 6b088a671a extmod/modbtree: Implement keys(), values(), items() iterators. 9 years ago
Paul Sokolovsky 080137961d extmod/modbtree: open(): Support "in-memory" database with filename=None. 9 years ago
Paul Sokolovsky e9739e3315 extmod/modbtree: __getitem__() should raise KeyError for non-existing key. 9 years ago
Paul Sokolovsky e6e7e0e9c5 extmod/modbtree: items(): Implement DESC flag. 9 years ago
Paul Sokolovsky 332545baa3 extmod/modbtree: items(): Implement "end key inclusive" flag. 9 years ago
Paul Sokolovsky d0416ff915 extmod/modbtree: Actually implement end key support for .items(). 9 years ago
Paul Sokolovsky 1babeb47a4 extmod/modbtree: Implement .items() iterator. 9 years ago
Paul Sokolovsky 422396cece extmod/modbtree: Handle default value and error check. 9 years ago
Paul Sokolovsky 8072162170 extmod/modbtree: Initial implementation of "btree" module based on BerkeleyDB. 9 years ago