aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* sed -i '/r_cast.h/d'卜部昌平2020-08-2788-292/+0
|
* include/ruby/backward/2/r_cast.h: deprecate卜部昌平2020-08-2712-10/+17
| | | | | Remove all usages of RCAST() so that the header file can be excluded from ruby/ruby.h's dependency.
* improve deprecation warning卜部昌平2020-08-271-7/+4
| | | | We should not recommend RBIMPL_*.
* DEPRECATED_TYPE: is deprecated卜部昌平2020-08-274-4/+17
| | | | Nobody uses this macro any longer.
* RClassDeprecated: delete卜部昌平2020-08-272-13/+0
| | | | It has been deprecated for 5 years since 1f2255604087e9a7d7efcb2df61b5ca0e2daa200.
* Use own mutex instead of Thread.exclusiveKazuhiro NISHIYAMA2020-08-271-1/+2
| | | | ref [Feature #17125]
* git rm include/ruby/backward/rubyio.h卜部昌平2020-08-271-18/+0
|
* git rm include/ruby/backward/rubysig.h卜部昌平2020-08-271-26/+0
|
* git rm include/ruby/backward/{st,util}.h卜部昌平2020-08-272-36/+0
|
* * 2020-08-27 [ci skip]git2020-08-271-1/+1
|
* rb_deprecated_classext_struct: delete卜部昌平2020-08-271-4/+0
| | | | Used from nowhere any longer.
* git rm include/ruby/backward/classext.h卜部昌平2020-08-271-25/+0
|
* sed -i '\,2/extern.h,d'卜部昌平2020-08-2789-332/+0
|
* git rm include/ruby/backward/2/extern.h卜部昌平2020-08-271-46/+0
|
* Fixed error messages at non-ascii %string terminatorNobuyoshi Nakada2020-08-262-0/+8
|
* Removed a never-true conditionNobuyoshi Nakada2020-08-261-1/+1
|
* [webrick][DOC] Describe the stance of WEBrick about its security and ↵Kenta Murata2020-08-261-2/+7
| | | | | | utilization (#3457) WEBrick is not recommended for the production use. We need to explicitly describe this fact in the document to avoid troubles due to misunderstanding.
* Comply with guide for method doc: hash.c (#3454)Burdette Lamar2020-08-251-71/+19
| | | | | | | | | | | | | | | | | | Methods reviewed (a few not modified): key delete shift delete_if reject! reject slice except values_at fetch_values select select! keep_if
* Add documentation to "dcompact" callback and "parent" memberLars Kanis2020-08-251-2/+11
|
* Correctly account for heap_pages_final_slots so it does not underflowPeter Zhu2020-08-251-3/+7
| | | | | | `rb_objspace_call_finalizer` creates zombies, but does not do the correct accounting (it should increment `heap_pages_final_slots` whenever it creates a zombie). When we do correct accounting, `heap_pages_final_slots` should never underflow (the check for underflow was introduced in 39725a4db6b121c7779b2b34f7da9d9339415a1c). The implementation moves the accounting from the functions that call `make_zombie` into `make_zombie` itself, which reduces code duplication.
* * 2020-08-26 [ci skip]git2020-08-261-1/+1
|
* Comply with guide for method doc: hash.c (#3451)Burdette Lamar2020-08-251-135/+48
| | | | | | | | | | | | | | | | Methods: ::new ::[] ::try_convert #rehash #[] #fetch #default #default= #default_proc #default_proc=
* Promote nkf to default gemsHiroshi SHIBATA2020-08-254-3/+36
|
* Fix erb executableLars Kanis2020-08-251-3/+1
| | | | | Run ERb processing unconditionally since __FILE__ and $0 doesn't match in a gem context.
* Specify the executable of erbHiroshi SHIBATA2020-08-251-1/+1
|
* * 2020-08-25 [ci skip]git2020-08-251-1/+1
|
* Update PTY.open documentation to document it yields a single argument [ci skip]Jeremy Evans2020-08-241-2/+2
| | | | | | | | | | | | | | | | For a regular block, accepting two arguments is fine as the array will be autosplatted. However, a lambda that accepts two arguments will not work. We could change the implementation to yield two arguments instead of an array with a single argument, but that would be less backwards compatible. I'm only changing the call-seq to be precise, other examples pass a literal block that accepts two arguments, and I left those alone as that will be the most common usage. Fixes [Bug #17094]
* Added entry for changes of default gemsHiroshi SHIBATA2020-08-241-0/+20
|
* Fix links [ci skip]Kazuhiro NISHIYAMA2020-08-241-1/+4
|
* NEWS.md: add an example, add references, and move some itemsYusuke Endoh2020-08-241-13/+21
|
* * 2020-08-24 [ci skip]git2020-08-241-1/+1
|
* Remove checks for self returned in array.c and hash.c examples (#3446)Burdette Lamar2020-08-232-197/+65
| | | Further compliance with https://github.com/ruby/ruby/blob/master/doc/method_documentation.rdoc#details-and-examples-
* Fix typosKazuhiro NISHIYAMA2020-08-231-4/+4
|
* * 2020-08-23 [ci skip]git2020-08-231-1/+1
|
* .github/workflows/compilers.yml: more compilers卜部昌平2020-08-231-5/+24
| | | | | | Added some cross compilers that we can run on GitHub Workflow runner environments. Because they are cross compilers we cannot run the generated binary. The added matrix are compile-only.
* configure.ac: suppress more Sun C warnings.卜部昌平2020-08-221-2/+11
| | | | They are rather annoying than being useful to us.
* .travis.yml: prefer gcc卜部昌平2020-08-221-1/+1
| | | | | It seems `clang --save-temps` does not interface well with tool/update-deps. Prefer gcc for that purpose.
* configure.ac: more checks on STRIP卜部昌平2020-08-221-6/+13
| | | | | STRIP now depends on compilers, not on OS. Previous check against $target_os does no longer work.
* Fix type of getlogin_r's 2nd argumentKazuhiro NISHIYAMA2020-08-221-1/+7
| | | | | | | | | | | | | | | | https://rubyci.org/logs/rubyci.s3.amazonaws.com/freebsd12/ruby-master/log/20200821T223002Z.fail.html.gz ``` process.c:5593:37: error: implicit conversion loses integer precision: 'long' to 'int' [-Werror,-Wshorten-64-to-32] while ((gle = getlogin_r(login, loginsize)) != 0) { ~~~~~~~~~~ ^~~~~~~~~ ``` type of getlogin_r's 2nd argument is - int on FreeBSD - https://www.freebsd.org/cgi/man.cgi?query=getlogin_r&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html - size_t on Linux, NetBSD - https://man7.org/linux/man-pages/man3/getlogin_r.3.html - https://www.freebsd.org/cgi/man.cgi?query=getlogin_r&apropos=0&sektion=0&manpath=NetBSD+9.0&arch=default&format=html
* Avoid a use after free in VM assertionJeremy Evans2020-08-211-0/+1
| | | | | | | | If the thread for the current EC has been killed, don't check the VM ptr for the EC (which gets it via the thread), as that will have already been freed. Fixes [Bug #16907]
* Remove trivial examples from array.c (#3442)Burdette Lamar2020-08-211-72/+12
| | | "Trivial" typically means "returns a new empty Array."
* Remove nil-return examples from hash.c (#3438)Burdette Lamar2020-08-211-54/+24
| | | | * Remove nil-return examples from hash.c
* configure.ac: rule out old Sun C++卜部昌平2020-08-221-0/+14
| | | | | CI failures observed for old Sun C++. We don't want to hustle, as newer versions are okay. Just check the sanity and rule out insane compilers.
* protect CFLAGS from being smashed by AC_PROG_CC卜部昌平2020-08-221-0/+6
| | | | | | | | AC_PROG_CC_C99 calls AC_PROC_CC, which calls _AC_PROG_CC_G, which sets default CFLAGS, whose contents are not customisable. We don't welcome this behaviour. The exact same thing happens for CXXFLAGS in AC_PROG_CXX.
* * 2020-08-22 [ci skip]git2020-08-221-1/+1
|
* do not test --version卜部昌平2020-08-221-3/+9
| | | | | | | `llvm-strip-7` is a sane valid strip command that LLVM 7 ships, albeit it does not understand `--version`. It is a bad idea to check that option. Instead just see if the command actually strips something. A copy of `/bin/sh` should suffice. That file must be ubiquitous.
* Fixup 3292f4d965845d543733559fd1736b8c42fadab3Hiroshi SHIBATA2020-08-211-1/+1
|
* Fixed the executable path for erb commandHiroshi SHIBATA2020-08-211-3/+3
|
* Promote erb to default gemsHiroshi SHIBATA2020-08-216-174/+231
|
* Promote rinda to default gemsHiroshi SHIBATA2020-08-214-3/+29
|