Age | Commit message (Collapse) | Author |
|
|
|
implementation. (#5340)
Notes:
Merged-By: ioquatix <samuel@codeotaku.com>
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5249
Merged-By: ioquatix <samuel@codeotaku.com>
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5314
Merged-By: ioquatix <samuel@codeotaku.com>
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5303
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5303
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5303
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5303
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5301
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5300
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5287
Merged-By: ioquatix <samuel@codeotaku.com>
|
|
This unused parameter seems to be accidently introduced by https://github.com/ruby/ruby/commit/9e6e39c
Notes:
Merged: https://github.com/ruby/ruby/pull/5241
|
|
Something weird results in int-in-bool-context and
stringop-overflow warnings.
|
|
https://hackerone.com/reports/1306859
Notes:
Merged: https://github.com/ruby/ruby/pull/5239
|
|
Implements [Feature #18273]
Returns an array containing the receiver's direct subclasses without
singleton classes.
Notes:
Merged: https://github.com/ruby/ruby/pull/5045
|
|
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]
Notes:
Merged: https://github.com/ruby/ruby/pull/5068
|
|
Must not be a bad idea to improve documents. [ci skip]
|
|
Wrong parameter name. [ci skip]
|
|
Wrong parameter name. [ci skip]
|
|
|
|
Because `make install` installs this header to target systems, it must
be ready to be `#include`d form a C++ program.
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4621
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4621
|
|
invalidate_mark_stack_chunk
This commit deprecates rb_gc_force_recycle and coverts it to a no-op
function. Also removes invalidate_mark_stack_chunk since only
rb_gc_force_recycle uses it.
Notes:
Merged: https://github.com/ruby/ruby/pull/4363
|
|
Notes:
Merged-By: mrkn <mrkn@ruby-lang.org>
|
|
|
|
Doesn't include receiver or singleton classes.
Implements [Feature #14394]
Co-authored-by: fatkodima <fatkodima123@gmail.com>
Co-authored-by: Benoit Daloze <eregontp@gmail.com>
Notes:
Merged: https://github.com/ruby/ruby/pull/4974
Merged-By: jeremyevans <code@jeremyevans.net>
|
|
Just split the comment for struct's one and array's one.
|
|
(gdb) ptype/o struct RString
/* offset | size */ type = struct RString {
/* 0 | 16 */ struct RBasic {
/* 0 | 8 */ VALUE flags;
/* 8 | 8 */ const VALUE klass;
/* total size (bytes): 16 */
} basic;
/* 16 | 24 */ union {
/* 24 */ struct {
/* 16 | 8 */ long len;
/* 24 | 8 */ char *ptr;
/* 32 | 8 */ union {
/* 8 */ long capa;
/* 8 */ VALUE shared;
/* total size (bytes): 8 */
} aux;
/* total size (bytes): 24 */
} heap;
/* 24 */ struct {
/* 16 | 24 */ char ary[24];
/* total size (bytes): 24 */
} embed;
/* XXX 8-byte padding */
/* total size (bytes): 24 */
} as;
/* total size (bytes): 40 */
}
(gdb)
|
|
This commit adds support for embedded strings with variable capacity and
uses Variable Width Allocation to allocate strings.
Notes:
Merged: https://github.com/ruby/ruby/pull/4933
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4933
|
|
instead
Refinement#import_methods imports methods from modules.
Unlike Module#include, it copies methods and adds them into the refinement,
so the refinement is activated in the imported methods.
[Bug #17429] [ruby-core:101639]
|
|
`rb_encoding` is defined as `const OnigEncodingType`.
Fix lots of C4114 warnings for each files by MSVC.
|
|
I dislike unnatural casts.
|
|
Nobu doesn't like (char*) cast.
Notes:
Merged: https://github.com/ruby/ruby/pull/4909
|
|
Less macros == huge win.
Notes:
Merged: https://github.com/ruby/ruby/pull/4909
|
|
2,291 lines are too much! include/ruby/encoding.h became the biggest
header file once it had doxygen comments. Let us split it into smaller
parts, so that we can better organise their contents.
Notes:
Merged: https://github.com/ruby/ruby/pull/4909
|
|
My bad. The document is clearly broken. Maybe I pressed my delete key
too much. [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4909
|
|
Must not be a bad idea to improve documents.
Notes:
Merged: https://github.com/ruby/ruby/pull/4912
|
|
Runtime assertion for the argument declared as non-null.
This macro does nothing if `RBIMPL_ATTR_NONNULL` is effective,
otherwise asserts that the argument is non-null.
Notes:
Merged: https://github.com/ruby/ruby/pull/4898
Merged-By: nobu <nobu@ruby-lang.org>
|
|
On MinGW, where both of Win32 API and GCC built-ins are available,
the mismatch of implementations to the definition caused lots of
warnings.
|
|
I observed CI failures.
https://github.com/ruby/ruby/actions/runs/1240165911
It turns out that RBIMPL_ATTR_NOALIAS was not mature before. Skip
using it for old clang, and everything work as expected.
Notes:
Merged: https://github.com/ruby/ruby/pull/4848
|
|
Reduce macros to do the same things in inline functions instead. This
way assertions can be made granular.
Notes:
Merged: https://github.com/ruby/ruby/pull/4848
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4649
|
|
Must not be a bad idea to improve documents. [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4835
|
|
Apply commit:733ffa74cd32a5c11ff744a5490782daa00ff1ae again.
|
|
Linking printf family functions makes mjit objects to link
unnecessary code.
Notes:
Merged: https://github.com/ruby/ruby/pull/4820
|
|
I was not aware of this because I use clang these days.
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
Explicit check done at runtime.
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|