23 Commits (899592ac341ed9f10ee554424f964f6880fc8c48)

Author SHA1 Message Date
Angus Gratton decf8e6a8b all: Remove the "STATIC" macro and just use "static" instead. 8 months ago
Jim Mussared 45ac651d1a all: Rename *umodule*.c to remove the "u" prefix. 2 years ago
Jim Mussared f5f9edf645 all: Rename UMODULE to MODULE in preprocessor/Makefile vars. 2 years ago
Jim Mussared 1bf2dcb15e all: Rename mp_umodule*, mp_module_umodule* to remove the "u" prefix. 2 years ago
Damien George 127fd170c8 unix/modutime: Use extmod version of time module. 2 years ago
Damien George 9955553001 extmod/modutime: Provide a generic time module. 2 years ago
Damien George efe23aca71 all: Remove third argument to MP_REGISTER_MODULE. 2 years ago
Jim Mussared 63431a5536 unix: Make port-specific modules use MP_REGISTER_MODULE. 3 years ago
Damien George 5b700b0af9 all: Reformat remaining C code that doesn't have a space after a comma. 3 years ago
Oliver Joos 290dc1d5ee unix/modtime: Fix time() precision on unix ports with non-double floats. 4 years ago
Damien George d4b61b0017 extmod/utime_mphal: Add generic utime.time_ns() function. 4 years ago
Damien George bd7af6151d ports: Add utime.gmtime() function. 4 years ago
stijn 84fa3312cf all: Format code to add space after C++-style comment start. 5 years ago
stijn 70affd9ba2 all: Fix implicit floating point to integer conversions. 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
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
David Lechner 9418611c8a unix: Implement PEP 475 to retry syscalls failing with EINTR. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George 98a3911c43 py/scheduler: Add "raise_exc" argument to mp_handle_pending. 5 years ago
Andrew Leech 1b844e908c unix/modtime: Add utime.mktime function, to complement utime.localtime. 5 years ago
Damien George 653e1756c0 various: Update early copyright years to match actual edit history. 6 years ago
Paul Sokolovsky 016d9a40fe various: Add and update my copyright line based on git history. 6 years ago
Damien George 01dd7804b8 ports: Make new ports/ sub-directory and move all ports there. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Paul Sokolovsky d42b80fd64 unix/modtime: Replace strftime() with localtime(). 8 years ago
Damien George c138b21ceb unix: Use mp_handle_pending() in time.sleep(). 8 years ago
stijn 3272afe57f windows: Implement mp_hal_ticks_cpu in terms of QueryPerformanceCounter 8 years ago
Paul Sokolovsky d86cac4b82 extmod/utime_mphal: Implement ticks_add(), add to all maintained ports. 8 years ago
Paul Sokolovsky 3cc87b1e2a unix/modtime: Switch ticks/sleep_ms/us() to utime_mphal. 8 years ago
Paul Sokolovsky e381efed4a unix/modtime: Use ticks_diff() implementation from extmod/utime_mphal.c. 8 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 years ago
Damien George 94d2919b77 unix/modtime: Release the GIL when sleeping. 9 years ago
Paul Sokolovsky 6f8880d0ab unix: Move "utime" module config to C level instead of make level. 9 years ago
Damien George 4b72b3a133 py: Change type signature of builtin funs that take variable or kw args. 9 years ago
Paul Sokolovsky 8175877ad6 unix/modtime: strftime(): Support 2nd argument, but as time_t value. 9 years ago
Paul Sokolovsky 8fb255dc34 unix/modtime: Add strftime() function (only single argument is supported). 9 years ago
Paul Sokolovsky 3376875bc8 unix/modtime: sleep(): Return early if KeyboardInterrupt is pending 9 years ago
Damien George cbf7674025 py: Add MP_ROM_* macros and mp_rom_* types and use them. 9 years ago
Paul Sokolovsky fad7d9317b unix/modtime: Unbreak Windows build after changes to check select() result. 9 years ago
Paul Sokolovsky 0bb57bf5bf unix/modtime: sleep(): Automatically restart after receiving EINTR. 9 years ago
Paul Sokolovsky 8ee153f234 unix/modtime: Implement ticks_ms(), ticks_us() and ticks_diff(). 9 years ago
Paul Sokolovsky fd379db286 unix/modtime: Implement sleep_ms(), sleep_us(). 9 years ago
Damien George abc1959e2c py, unix, lib: Allow to compile with -Wold-style-definition. 10 years ago
Damien George 0178aa9a11 py, unix: Allow to compile with -Wdouble-promotion. 10 years ago
Damien George 6d7e47087f unix: Prefix includes with py/; remove need for -I../py. 10 years ago
Paul Sokolovsky 9d944c7fb2 unix: Rename "time" module to "utime" to allow extensibility. 10 years ago
Damien George 3b603f29ec Use MP_DEFINE_CONST_DICT macro to define module dicts. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago