Age | Commit message (Collapse) | Author |
|
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
|
|
I was not aware of this because I use clang these days.
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
Silly bug, they write back consumed bytes through passed pointers. Must
never be pure functions.
ruby_scan_oct does not refer any static variables so it can still be
__declspec(noalias), while ruby_scan_hex is not because it reads from
ruby_digit36_to_number_table.
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
See https://ci.appveyor.com/project/ruby/ruby/builds/40686153/job/1wihxw5m5kybtohj
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
Everything defined in this header file are for backwards compatibility
only. No one practically need them any longer. [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
There is nothing interesting here. [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
Must not be a bad idea to improve documents. [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
The only thing that remains in this file which is still worth
documenting is the RUBY macro. Everything else were split into many
files in
https://github.com/ruby/ruby/pull/2991/commits/1ff4cee2b172bf7653c29a8522c132907172b975
[ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
Must not be a bad idea to improve documents. [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
Must not be a bad idea to improve documents. [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
Must not be a bad idea to improve documents. [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
I'm just applying doc/memory_view.md as a doxygen comment. [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
We don't want to document e.g. M_PI, which is an ISO C thing.
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
Must not be a bad idea to improve documents. [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
Must not be a bad idea to improve documents. [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
Must not be a bad idea to improve documents. [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
It seems this is a part of Onigmo's API, not Ruby's.
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
Must not be a bad idea to improve documents. [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
Nothing worth documenting in this file. [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
Must not be a bad idea to improve documents. [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
Must not be a bad idea to improve documents. [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
Must not be a bad idea to improve documents. [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
Must not be a bad idea to improve documents. [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
Must not be a bad idea to improve documents. [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
Must not be a bad idea to improve documents. [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
These macros are for backwards compatibility. No longer used in our
public header files. People can safely forget about them.
[ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
It's 21st century, right? Just forget about them. [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
It seems no public APIs depend on this macro any longer. [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
These macros need not be documented methinks. [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
For instane CHAR_BIT is an ANSI C macro which should be documented in
other places than Ruby (and the definition in this file must work
exactly identical to that of standard one). [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
Might want to delete LONG_LONG macro but for the time being let us
describe what on earth it is. [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|
|
Nobody practically uses this file. Please just don't remember.
[ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
|