Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Mark `rb_clear_constant_cache` as internal use only | Nobuyoshi Nakada | 2022-01-20 | 2 | -11/+3 |
| | | | | | | In the past, many internal functions are declared in intern.h under include/ruby directory, because there were no headers for internal use. | ||||
* | include/ruby/win32.h: explicitly define HAVE_SHUTDOWN | Yuta Saito | 2022-01-19 | 1 | -0/+2 |
| | | | | | | | | | | | | Configuration for mingw32 can't detect 'shutdown' due to wrong -l option even though it's available (this has been going on for a while, and it needs to be fixed). In this situation, include/ruby/missing.h declares a stub shutdown function since 7ee786388a, and another shutdown decl is came from system header. They are incompatible at stdcall attribute, so it causes compilation failure. This change defines a HAVE_SHUTDOWN to guard a newly introduced stub decl in include/ruby/missing.h | ||||
* | include/ruby/io.h: use 0 as POLLPRI when no support for it | Yuta Saito | 2022-01-19 | 1 | -4/+3 |
| | | | | | 0x003 is not suitable as a bit mask, and it's ok just to be 0 to avoid setting unsupported bit. | ||||
* | [wasm] include/ruby/io.h: define RB_WAITFD_PRI by ourselves for wasi | Yuta Saito | 2022-01-19 | 1 | -1/+6 |
| | | | | | RB_WAITFD_PRI uses POLLPRI for other platforms, but wasi-libc doesn't have POLLPRI for now. | ||||
* | [wasm] add no thread variant for freestanding environment | Yuta Saito | 2022-01-19 | 1 | -0/+6 |
| | | | | | This implementation does nothing around preemptive context switching because there is no native thread. | ||||
* | [wasm] wasm/missing.{c,h}: add missing libc stubs for wasi-libc | Yuta Saito | 2022-01-19 | 1 | -0/+113 |
| | |||||
* | Don't assume __builtin_bswap32 and __builtin_bswap64 are defined on OpenBSD | Jeremy Evans | 2022-01-18 | 1 | -0/+2 |
| | | | | | | At least OpenBSD/sparc64 doesn't appear to define them, and possibly some other OpenBSD GCC platforms don't (most OpenBSD platforms have already switched to clang). | ||||
* | [Feature #18491] Drop support for HP-UX | Peter Zhu | 2022-01-18 | 1 | -3/+0 |
| | | | | | IA64 support was dropped in ticket #15894, so we can drop support for HP-UX. | ||||
* | include/ruby/win32.h: define HAVE_X for the missing prototypes (#5456) | Yuta Saito | 2022-01-18 | 1 | -1/+7 |
| | |||||
* | Suppress possible loss of data warnings | Nobuyoshi Nakada | 2022-01-14 | 1 | -2/+3 |
| | |||||
* | [DOC] Fix a typo in a doc | Nobuyoshi Nakada | 2022-01-13 | 1 | -1/+1 |
| | |||||
* | Enable Variable Width Allocation by default | Peter Zhu | 2022-01-12 | 1 | -1/+1 |
| | |||||
* | Make embedded string length a long for VWA | Peter Zhu | 2022-01-12 | 1 | -1/+1 |
| | | | | | A short (2 bytes) will cause unaligned struct accesses when strings are used as a buffer to directly store binary data. | ||||
* | Revert "Enable Variable Width Allocation by default" | Peter Zhu | 2022-01-08 | 1 | -1/+1 |
| | | | | This reverts commit c365c5921ea26e31c03a85b01ff4c04629abfc10. | ||||
* | Use unsigned short for length of embedded strings | Peter Zhu | 2022-01-07 | 1 | -1/+1 |
| | |||||
* | Enable Variable Width Allocation by default | Peter Zhu | 2022-01-07 | 1 | -1/+1 |
| | |||||
* | Revert "Enable Variable Width Allocation by default" | Peter Zhu | 2022-01-06 | 1 | -1/+1 |
| | | | | This reverts commit d4a95428bb244ca8c4a97ad50f3837f191f1f0c3. | ||||
* | Enable Variable Width Allocation by default | Peter Zhu | 2022-01-06 | 1 | -1/+1 |
| | |||||
* | Flush deprecation declarations for versions older than 3.0 | Nobuyoshi Nakada | 2021-12-30 | 1 | -50/+1 |
| | |||||
* | Remove declarations of deprecated functions | Nobuyoshi Nakada | 2021-12-30 | 1 | -12/+0 |
| | |||||
* | Fix some bornheads | U.Nakamura | 2021-12-27 | 1 | -12/+1 |
| | |||||
* | Call FlushInstrucitonCache() when PROT_EXEC is specified to mprotect | U.Nakamura | 2021-12-27 | 1 | -2/+13 |
| | |||||
* | Tiny mmap emulation for Windows | U.Nakamura | 2021-12-27 | 1 | -0/+19 |
| | | | | | | | - prerequisite of supporting YJIT with VC++. - note that now can specfily `--yjit` on mswin64, but not enabled YJIT'ed code because of YJIT requires `OPT_DIRECT_THREADED_CODE` or `OPT_CALL_THREADED_CODE` in `rb_yjit_compile_iseq`. | ||||
* | Remove deprecate rb_cData [Bug #18433] | Nobuyoshi Nakada | 2021-12-26 | 1 | -24/+0 |
| | | | | Also enable the warning for T_DATA allocator. | ||||
* | Remove tainted and trusted features | Nobuyoshi Nakada | 2021-12-26 | 5 | -149/+0 |
| | | | | Already these had been announced to be removed in 3.2. | ||||
* | Development of 3.1.0 started. | Yukihiro "Matz" Matsumoto | 2021-12-26 | 1 | -1/+1 |
| | |||||
* | Fix typos [ci skip] | Kazuhiro NISHIYAMA | 2021-12-25 | 1 | -1/+1 |
| | |||||
* | Improvements to `rb_io_wait` return value handling and internal ↵ | Samuel Williams | 2021-12-24 | 1 | -1/+1 |
| | | | | implementation. (#5340) | ||||
* | Add fiber scheduler hooks for `pread`/`pwrite`, and add support to `IO::Buffer`. | Samuel Williams | 2021-12-23 | 2 | -0/+32 |
| | |||||
* | Extended interface for IO::Buffer & documentation. | Samuel Williams | 2021-12-22 | 1 | -4/+4 |
| | |||||
* | Rename IMMUTABLE to READONLY. | Samuel Williams | 2021-12-21 | 1 | -3/+5 |
| | |||||
* | Improve interface for get/set/copy. | Samuel Williams | 2021-12-21 | 1 | -1/+0 |
| | |||||
* | Mark non-private mapped files as external. | Samuel Williams | 2021-12-21 | 1 | -6/+10 |
| | |||||
* | Improved exception usage/classes. | Samuel Williams | 2021-12-21 | 1 | -0/+2 |
| | |||||
* | Improve IO::Buffer resize and introduce ownership transfer. | Samuel Williams | 2021-12-20 | 1 | -1/+2 |
| | |||||
* | Default size for IO::Buffer. | Samuel Williams | 2021-12-19 | 1 | -0/+1 |
| | |||||
* | Introduce io_result wrapper for passing `[-errno, size]` in VALUE. | Samuel Williams | 2021-12-18 | 1 | -2/+52 |
| | |||||
* | intern/select/posix.h: remove unused parameter from rb_fd_dup | Yuta Saito | 2021-12-11 | 1 | -2/+1 |
| | | | | This unused parameter seems to be accidently introduced by https://github.com/ruby/ruby/commit/9e6e39c | ||||
* | Revert zero-check for alloca | Nobuyoshi Nakada | 2021-12-10 | 1 | -3/+3 |
| | | | | | Something weird results in int-in-bool-context and stringop-overflow warnings. | ||||
* | Fix stack buffer overflow | Nobuyoshi Nakada | 2021-12-10 | 1 | -3/+3 |
| | | | | https://hackerone.com/reports/1306859 | ||||
* | Add Class#subclasses | Jean Boussier | 2021-11-23 | 1 | -1/+14 |
| | | | | | | | Implements [Feature #18273] Returns an array containing the receiver's direct subclasses without singleton classes. | ||||
* | revival of must_not_null() | 卜部昌平 | 2021-11-11 | 1 | -8/+6 |
| | | | | | | | | Presence of RBIMPL_ATTR_NONNULL let C compilers to eliminate must_not_null(). Because null pointers are not allowed to exist there are no reason to call the function. In reality null pointers are still passed to those functions in a number of ways. Runtime check for them are definitely nice to have. fix [Feature#18280] | ||||
* | rb_file_size: add doxygen | 卜部昌平 | 2021-11-11 | 1 | -0/+17 |
| | | | | Must not be a bad idea to improve documents. [ci skip] | ||||
* | rb_enc_code_to_mbclen: fix doxygen | 卜部昌平 | 2021-11-11 | 1 | -4/+4 |
| | | | | Wrong parameter name. [ci skip] | ||||
* | RB_ENCODING_SET_INLINED: fix doxygen | 卜部昌平 | 2021-11-11 | 1 | -3/+3 |
| | | | | Wrong parameter name. [ci skip] | ||||
* | ENCODING_MASK: fix doxygen link [ci skip] | 卜部昌平 | 2021-11-11 | 1 | -1/+1 |
| | |||||
* | io/buffer.h: C linkage | 卜部昌平 | 2021-11-11 | 1 | -2/+2 |
| | | | | | Because `make install` installs this header to target systems, it must be ready to be `#include`d form a C++ program. | ||||
* | size_t is not for file size | Nobuyoshi Nakada | 2021-11-10 | 2 | -2/+6 |
| | |||||
* | Mark IO::Buffer as experimental. | Samuel Williams | 2021-11-10 | 1 | -0/+3 |
| | |||||
* | IO::Buffer for scheduler interface. | Samuel Williams | 2021-11-10 | 4 | -4/+118 |
| |