142 Commits (039887a0ac9bd02cfd84e4792d3d21a78bc06a7f)

Author SHA1 Message Date
Paul Sokolovsky 429e3f077e unix: Make -v dump memory info at exit. 10 years ago
Paul Sokolovsky e503512f83 unix: Implement -m option (execute module from stdlib). 10 years ago
Damien George c76af32575 unix/windows: Disable sigaction on windows port. 10 years ago
Damien George 124df6f8d0 py: Add mp_pending_exception global variable, for VM soft interrupt. 10 years ago
Paul Sokolovsky fcff4663dd unix: Allow -X heapsize= option take numbers with K & M suffixes. 10 years ago
Damien George 0b13f3e026 py: Improve memory usage debugging; better GC AT dumping. 10 years ago
Damien George c92672d7f8 unix: Make -c option parse input script as a file, as per CPython. 10 years ago
Paul Sokolovsky 23b3b04072 unix: Rename "microsocket" module to "usocket". 10 years ago
Damien George 854c8c0153 unix: Detect and print compile error. 10 years ago
Damien George 39dc145478 py: Change [u]int to mp_[u]int_t in qstr.[ch], and some other places. 10 years ago
Damien George 762d57519d unix: Do a proper clean-up on sys.exit/SystemExit. 10 years ago
Damien George b0261341d3 py: For malloc and vstr functions, use size_t exclusively for int type. 10 years ago
Damien George b92cbe6129 py: Move definition of mp_sys_exit to core. 10 years ago
Damien George 4abff7500f py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h. 10 years ago
Damien George 9c4cbe2ac0 py: Make tuple and list use mp_int_t/mp_uint_t. 10 years ago
Damien George 3c658a4e75 py: Fix bug where GC collected native/viper/asm function data. 10 years ago
Damien George 8f81b5cb4b py: Put SystemExit in builtin namespace. 10 years ago
Damien George 8dbbbbc793 Put call to qstr_init and mp_init_emergency_exc_buf in mp_init. 10 years ago
Paul Sokolovsky d0f5e61ab5 py: Implement __file__ attribute for modules. 10 years ago
Dave Hylands 5b7fd20fea Add support for storing args during an exception raised by an irq. 11 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Paul Sokolovsky caa7334141 stackctrl: Add "mp_" prefix. 11 years ago
stijn ec6fa8732b windows: Sync mpconfigport.h with the unix' version 11 years ago
Paul Sokolovsky 8a96ebea75 py: Move stack_ctrl_init() to mp_init(). 11 years ago
Paul Sokolovsky 23668698cb py: Add portable framework to query/check C stack usage. 11 years ago
Paul Sokolovsky 141df2d350 unix: Dump default heap size in usage message. 11 years ago
Paul Sokolovsky 69d0a1c540 unix: uClibc doesn't like NULL as a buffer arg to realpath(). 11 years ago
stijn df3ab07994 unix: Fix path seperator used depending on OS 11 years ago
Paul Sokolovsky d3439d0c60 py: Instead of having "debug on" var, have "optimization level" var. 11 years ago
Paul Sokolovsky dd0dee3afc unix: Properly print script filename in case of error. 11 years ago
Paul Sokolovsky 3dfa76cb85 unix: 64-bit cleanness. 11 years ago
Paul Sokolovsky 914bcf16d8 unix: Add poorman's stack usage info to mem_info() dump. 11 years ago
Damien George 7a4ddd2428 Add SystemExit exception and use it in unix/ and stmhal/ ports. 11 years ago
Damien George cc97446ca5 unix: Implement -O option to turn off __debug__ flag. 11 years ago
Damien George 96f137b24a py: Rename BYTE_CODE to BYTECODE (this was missed in previous rename). 11 years ago
stijn 9e040b7cd8 unix: Use standard return codes for main 11 years ago
Paul Sokolovsky d99e9083cb modsys, unix: Add sys.exit(), should be implemented by a port. 11 years ago
Dave Hylands 117c46d9eb Add input command for unix 11 years ago
Paul Sokolovsky f9e54e0ea5 modgc: Add new module for GC-related functionality. 11 years ago
Paul Sokolovsky 6b344d7816 py, unix: Add -v option, print bytecode dump if used. 11 years ago
Damien George c327c0de5d unix: Remove test class and code. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 6ec835dfef Don't print git hash as well as git tag in banner. 11 years ago
Damien George 977a0ce287 py: Print tag/version/git describe in uPy banner. 11 years ago
stijn 4cd21deebc mingw: Add implementation of realpath() 11 years ago
Paul Sokolovsky f54bcbf099 py, unix: Make "mpconfig.h" be first included, as other headers depend on it. 11 years ago
Paul Sokolovsky a196d08dfc unix windows: mingw32 doesn't have realpath(), use _fullpath() instead. 11 years ago
Paul Sokolovsky b76fd842f0 unix mem_info(): Dump GC info only if it's enabled. 11 years ago
Paul Sokolovsky 4abaa1b12b unix modffi: Convert to static module structures. 11 years ago
Paul Sokolovsky e1e4249a67 unix modsocket: Convert to static module structures. 11 years ago