18 Commits (5bda84aed59be8ce75308abcb9562b6d015c69ef)

Author SHA1 Message Date
Amir Gonnen cb332ddae8 unix/modffi: Add option to lock GC in callback, and cfun access. 3 years ago
Abilio Marques 525a920ca5 unix/modffi: Fix conversion between Python integers and ffi types. 4 years ago
Damien George 9e29217c73 unix/modffi: Use a union for passing/returning FFI values. 4 years ago
stijn 84fa3312cf all: Format code to add space after C++-style comment start. 5 years ago
stijn bcf01d1686 all: Fix implicit conversion from double to float. 5 years ago
stijn 0ba68f8a1d all: Fix implicit floating point promotion. 5 years ago
stijn b909e8b2dd Revert "all: Fix implicit casts of float/double, and signed comparison." 5 years ago
Damien George 8e048d2548 all: Clean up error strings to use lowercase and change cannot to can't. 5 years ago
Jim Mussared def76fe4d9 all: Use MP_ERROR_TEXT for all error messages. 5 years ago
David Lechner a2110bd3fc all: Fix implicit casts of float/double, and signed comparison. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Paul Sokolovsky 016d9a40fe various: Add and update my copyright line based on git history. 6 years ago
Damien George 55ff562c70 unix/modffi: Eliminate unused-argument warning when debugging disabled. 6 years ago
Damien George 6e30f96b0b ports: Convert legacy uppercase macro names to lowercase. 6 years ago
Paul Sokolovsky 6c5b2bded2 unix/modffi: Add support for "q"/"Q" specs (int64_t/uint64_t). 6 years ago
Damien George 4601759bf5 py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Damien George 01dd7804b8 ports: Make new ports/ sub-directory and move all ports there. 7 years ago
Javier Candeira 35a1fea90b all: Raise exceptions via mp_raise_XXX 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 48d867b4a6 all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers. 8 years ago
Damien George 29424304d9 unix: Use mp_obj_str_get_str instead of mp_obj_str_get_data. 8 years ago
Damien George ae8d867586 py: Add iter_buf to getiter type method. 9 years ago
Damien George 503089ea9d unix: 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
Damien George 31dd312f83 unix/modffi: Allow to compile modffi in OBJ_REPR_D mode. 9 years ago
Damien George 5b3f0b7f39 py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 9 years ago
Damien George 4b72b3a133 py: Change type signature of builtin funs that take variable or kw args. 9 years ago
Damien George a0c97814df py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 9 years ago
Damien George 999cedb90f py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 9 years ago
Damien George cbf7674025 py: Add MP_ROM_* macros and mp_rom_* types and use them. 9 years ago
Paul Sokolovsky acb743da64 unix/modffi: Mark 'O' type specifier as implemented. 9 years ago
Vicente Olivert Riera 587914169c unix/modffi.c: cast first to intptr_t when casting from/to pointer 9 years ago
Paul Sokolovsky 696eee9475 modffi: dlsym() doesn't set errno, so use ENOENT for OSError. 9 years ago
Damien George a9afcb159a unix/modffi.c: get_buffer is allowed to return NULL if len=0. 10 years ago
Damien George 6bbbb1ab41 unix/modffi: Support passing float/double args. 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Paul Sokolovsky bbaf68f2cb modffi: Implement 'O' type handling for func arguments. 10 years ago
Paul Sokolovsky 99bcaa2fb6 modffi: Add toplevel func() function to create a function by pointer. 10 years ago
Paul Sokolovsky 8775caf9f1 modffi: Add .addr() method to just get symbol address. 10 years ago
Paul Sokolovsky 31c1f1300e modffi: 's' (string) return type: handle NULL properly (return None). 10 years ago
Paul Sokolovsky 2e526ff1a1 modffi: Support return values of mp_obj_t type. 10 years ago
Paul Sokolovsky 0ab3fc3805 modffi: Support open own executable using open(None). 10 years ago
Damien George ff8dd3f486 py, unix: Allow to compile with -Wunused-parameter. 10 years ago
Damien George 963a5a3e82 py, unix: Allow to compile with -Wsign-compare. 10 years ago
Damien George 115187f7ce unix: Allow to compile with float support disabled. 10 years ago
Damien George 6d7e47087f unix: Prefix includes with py/; remove need for -I../py. 10 years ago
Paul Sokolovsky 0078561303 modffi: Support void (None) return value for Python callback functions. 10 years ago
Paul Sokolovsky b62371e8fb modffi: 64-bit cleanness (fixes actual bug in callback arg handling). 10 years ago
Damien George 969a6b37bf py: Make functions static where appropriate. 10 years ago