32 Commits (4ef26c14b1182da7075b65b995e7da7b0a94961d)

Author SHA1 Message Date
Damien George bb4c6f35c6 py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself. 10 years ago
Damien George adf0f2ae1a py: Change stream protocol API: fns return uint; is_text for text. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Paul Sokolovsky 3c9b24bebe modsocket: Fix uClibc detection. 11 years ago
Paul Sokolovsky ff5932a8d8 modsocket: Workaround uClibc issue with numeric port for getaddrinfo(). 11 years ago
Paul Sokolovsky 949a49c9da modsocket: Add call to freeaddrinfo(). 11 years ago
Emmanuel Blot f6932d6506 Prefix ARRAY_SIZE with micropython prefix MP_ 11 years ago
Marcus von Appen 0c90eb1658 - FreeBSD provides alloca() via stdlib.h, in contrast to Linux and Windows 11 years ago
Paul Sokolovsky 347b3a3d1f modsocket: Add some comments on intended usage/API design of module. 11 years ago
Paul Sokolovsky 50b08c920a modsocket: Remove stale ifdef. 11 years ago
Damien George 2617eebf2f Change const byte* to const char* where sensible. 11 years ago
Paul Sokolovsky d0ceb04b90 modsocket: 64-bit cleanness. 11 years ago
Paul Sokolovsky 561789d718 unix modsocket: Make .makefile() method more compliant. 11 years ago
Paul Sokolovsky da9f0924ef py, unix: Add copyright for modules I worked closely on. 11 years ago
Antonin ENFRUN da1fffaa09 Fix some unused variables, and silence a clang warning about initialization override in vmentrytable.h 11 years ago
Paul Sokolovsky 6c62e7257f unix modsocket: Add comments re: recv() vs read(), etc. semantics. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Paul Sokolovsky 9b71b16a94 unix,stmhal: Make "mpconfig.h" be first included, as other headers depend on it. 11 years ago
Damien George 6d3c5e4301 Add ARRAY_SIZE macro, and use it where possible. 11 years ago
Paul Sokolovsky 12a9cfed76 modsocket: Make .send() support arbitrary objects with buffer interface. 11 years ago
Paul Sokolovsky fa6f0506c1 unix: Workaround MP_OBJ_NEW_SMALL_INT() 64-bit issues. 11 years ago
Paul Sokolovsky 5d3a830171 modsocket: Clean up OSError-like exception a bit. 11 years ago
Paul Sokolovsky acb13886fc unix: OSError's args[0] should be errno numeric value. 11 years ago
Paul Sokolovsky 9fd02e186d modsocket: Add setblocking() method. 11 years ago
Damien George b11b85adaa py: Allow to pass buffer protocol flags to get_buffer helper funcs. 11 years ago
Damien George 738bdeb73a unix: Update to use new buffer protocol interface with typecode. 11 years ago
Paul Sokolovsky e1e4249a67 unix modsocket: Convert to static module structures. 11 years ago
Paul Sokolovsky 3aa8ee7c9e py: Add mp_get_buffer(), mp_get_buffer_raise() convenience functions to API. 11 years ago
Damien George 27e735fd18 py: Replace stream_p with *stream_p in mp_obj_type_t. 11 years ago
Damien George ea13f407a3 py: Change nlr_jump to nlr_raise, to aid in debugging. 11 years ago
Paul Sokolovsky c39368427c unix: Rename module sources per latest naming conventions (mod*.c). 11 years ago
Paul Sokolovsky cd31d826bf unix: Use STATIC modifier to enable code size analysis via map file. 11 years ago
Damien George 15d18069c5 py: Remove old "run time" functions that were 1 liners. 11 years ago
Damien George df6567e634 Merge map.h into obj.h. 11 years ago
Damien George d17926db71 Rename rt_* to mp_*. 11 years ago
Damien George 3e1a5c10c5 py: Rename old const type objects to mp_type_* for consistency. 11 years ago
Damien George 9b196cddab Remove mp_obj_type_t.methods entry and use .locals_dict instead. 11 years ago
Damien George c12b2213c1 Change mp_method_t.name from const char * to qstr. 11 years ago
xbe c93a22197b unix: Clean up includes. 11 years ago
Damien George c5966128c7 Implement proper exception type hierarchy. 11 years ago
Damien George a71c83a1d1 Change mp_obj_type_t.name from const char * to qstr. 11 years ago
Damien George d46ca25757 Fix some int casting that failed on 64 bit architecture. 11 years ago
Paul Sokolovsky 2e24ee8d80 socket: Tighten up int-to-str conversion. 11 years ago
Paul Sokolovsky 8c25201d9d socket: Make sure that symbol definitions are const. 11 years ago
Paul Sokolovsky 557c9d5264 unix microsocket: Add dummy makefile() method. 11 years ago
Paul Sokolovsky 1e19b24ea0 io.File, socket types: Add fileno() method. 11 years ago
Paul Sokolovsky 9945f33886 Rename "rawsocket" module to "microsocket". 11 years ago
Damien George 698ec21e46 Make mp_obj_str_get_data return char* instead of byte*. 11 years ago
Damien George 56bb636014 Change -Og to -O0 in unix-cpy/Makefile; cast to small int in socket.c. 11 years ago
Paul Sokolovsky a88c30c64a unix socket: Add setsockopt() method. 11 years ago