26 Commits (ea9a904b7250ece017144c0d25a1569714a792b6)

Author SHA1 Message Date
Jim Mussared d8d3e6ae78 py: Make builtin modules use MP_REGISTER_MODULE. 3 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George 0102ee092b py: Change obsolete "///" comment formatting to normal comments. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 years ago
Paul Sokolovsky 93e353e384 py/gc: Implement GC running by allocation threshold. 8 years ago
Damien George 02fa8dff85 py/modgc: Remove obsolete extern declaration. 9 years ago
Damien George cbf7674025 py: Add MP_ROM_* macros and mp_rom_* types and use them. 9 years ago
Paul Sokolovsky 1b586f3a73 py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 9 years ago
Damien George e1e359ff59 py: Put mp_sys_path, mp_sys_argv and gc_collected in mp_state_ctx_t. 10 years ago
Damien George b4b10fd350 py: Put all global state together in state structures. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George 3b603f29ec Use MP_DEFINE_CONST_DICT macro to define module dicts. 10 years ago
Damien George 109c1de015 py: Make gc.enable/disable just control auto-GC; alloc is still allowed. 10 years ago
Damien George 30dd23aa7f doc: Document gc, sys, math, cmath. 10 years ago
Damien George bb4c6f35c6 py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Paul Sokolovsky 5aa740c3e2 modgc: Add mem_free()/mem_alloc() methods. 11 years ago
Paul Sokolovsky 59c675a64c py: Include mpconfig.h before all other includes. 11 years ago
Emmanuel Blot f6932d6506 Prefix ARRAY_SIZE with micropython prefix MP_ 11 years ago
Paul Sokolovsky 380f147d2e modgc: Real 64-bit cleanness. 11 years ago
Paul Sokolovsky a3ef8087e8 modgc: 64-bit cleanness. 11 years ago
Paul Sokolovsky 755a55f507 modgc: Implement return value for gc.collect(), enable on Unix. 11 years ago
Damien George ee3fd46f13 Rename configuration variables controling Python features. 11 years ago
Damien George 8c1c7488b2 Add gc.enable, gc.disable; remove pyb.gc. 11 years ago
Paul Sokolovsky f9e54e0ea5 modgc: Add new module for GC-related functionality. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Paul Sokolovsky cb9dc086a3 modio: Implement io.StringIO class. 11 years ago
Damien George 6d3c5e4301 Add ARRAY_SIZE macro, and use it where possible. 11 years ago
Damien George 8b0535e23f py: Change module globals from mp_map_t* to mp_obj_dict_t*. 11 years ago
Paul Sokolovsky 98a627dc03 py: Add "io" module. 11 years ago