summaryrefslogtreecommitdiffstatshomepage
path: root/unix/modtime.c
Commit message (Collapse)AuthorAge
* py, unix, lib: Allow to compile with -Wold-style-definition.Damien George2015-01-12
|
* py, unix: Allow to compile with -Wdouble-promotion.Damien George2015-01-12
| | | | Ref issue #699.
* unix: Prefix includes with py/; remove need for -I../py.Damien George2015-01-01
|
* unix: Rename "time" module to "utime" to allow extensibility.Paul Sokolovsky2014-12-17
| | | | Name choosen per latest conventions and for compatibiity with stmhal port.
* Use MP_DEFINE_CONST_DICT macro to define module dicts.Damien George2014-11-29
| | | | | This is just a clean-up of the code. Generated code is exactly the same.
* Rename machine_(u)int_t to mp_(u)int_t.Damien George2014-07-03
| | | | See discussion in issue #50.
* unix: Fix mpconfig.h not being included before misc.hstijn2014-06-28
| | | | This fixes count_lead_ones in misc.h not compiling due to unknown types
* Prefix ARRAY_SIZE with micropython prefix MP_Emmanuel Blot2014-06-19
|
* - Cast the struct stat sb.st_ino field to machine_int_t explicitly to avoid aMarcus von Appen2014-06-07
| | | | | | | | cast error in MP_OBJ_NEW_SMALL_INT(). This is necessary for FreeBSD, where st_ino is of different size - If MP_CLOCKS_PER_SEC is defined on the target host, simply define CLOCK_DIV as a fraction, regardless of the value of MP_CLOCKS_PER_SEC. FreeBSD uses a non-POSIX compliant value of 128 for CLOCKS_PER_SEC
* Rename bultins config variables to MICROPY_PY_BUILTINS_*.Damien George2014-06-01
| | | | | | | | | | This renames: MICROPY_PY_FROZENSET -> MICROPY_PY_BUILTINS_FROZENSET MICROPY_PY_PROPERTY -> MICROPY_PY_BUILTINS_PROPERTY MICROPY_PY_SLICE -> MICROPY_PY_BUILTINS_SLICE MICROPY_ENABLE_FLOAT -> MICROPY_PY_BUILTINS_FLOAT See issue #35 for discussion.
* mingw: Fix compilation issuesstijn2014-05-10
| | | | | - use lowercase windows.h - fix for mingw32 using preprocessor-unfriendly definition of CLOCKS_PER_SEC
* windows: Add modtime implementationstijn2014-05-09
|
* Add license header to (almost) all files.Damien George2014-05-03
| | | | | | | Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
* Add ARRAY_SIZE macro, and use it where possible.Damien George2014-04-26
|
* unix modtime: Convert to static module structures.Paul Sokolovsky2014-04-17
|
* unix modtime: Adhere to MICROPY_ENABLE_FLOAT better.Paul Sokolovsky2014-04-17
|
* unix: Rename module sources per latest naming conventions (mod*.c).Paul Sokolovsky2014-04-04