summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-06[ruby/irb] Make save-history extension safe for concurrent useJeremy Evans
This makes the save-history extension check for modifications to the history file before saving it. If the history file was modified after the history was loaded and before it was saved, append only the new history lines to the history file. This can result in more lines in the history file than SAVE_HISTORY allows. However, that will be fixed the next time irb is run and the history is saved. Fixes [Bug #13654] https://github.com/ruby/irb/commit/041ef53845
2021-03-05[ruby/irb] Add a test for not continuing when endless range at eolaycabta
https://github.com/ruby/irb/commit/1020ac9c65
2021-03-05[ruby/irb] Do not continue line if last expression is an endless rangeJeremy Evans
Fixes [Bug #14824] https://github.com/ruby/irb/commit/63414f8465
2021-03-05rb_sym_interned_p: doesn't exist卜部昌平
Deleted decades ago in commit 6e0fed271c1d2e6f2b13b99d89d43e7d00e81472 Note also that we eventually ended up reinventing this exact same functionality. It is called rb_check_id() now.
2021-03-05rb_enc_symname_type: indent卜部昌平
2021-03-05rb_enc_symname_type: refactor reduce goto卜部昌平
A bit readable to me.
2021-03-05Generating note.GNU-stack section for FreeBSD on x86.David Carlier
Not enabling for ELF in general as not all platform support it (e.g. NetBSD, implictly stack never executable). Notes: Merged: https://github.com/ruby/ruby/pull/4239
2021-03-05* 2021-03-05 [ci skip]git
2021-03-05coroutine arm64 generating note.GNU-stack section for linux.David Carlier
Notes: Merged: https://github.com/ruby/ruby/pull/4238
2021-03-04Strip trailing spaces [ci skip]Nobuyoshi Nakada
2021-03-04Check for trailing spacesNobuyoshi Nakada
2021-03-04* 2021-03-04 [ci skip]git
2021-03-04Fixed syntax error with gcc on macOSNobuyoshi Nakada
Security/Authorization.h defines AuthorizationExternalForm by using clang extension which allows variably modified types in a file scope. As we just need high-level accessors only, include Security/SecRandom.h instead.
2021-03-03* 2021-03-03 [ci skip]git
2021-03-02Don't use mmap on platforms that have large OS page sizesPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/4235
2021-03-02Fix typoPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/4235
2021-03-02RBASIC_SET_CLASS_RAW: follow strict aliasing rule卜部昌平
Instead of rather euphemistic struct cast, just reomve the const qualifier and assign directly. According to ISO/IEC 9899:2018 section 6.5 paragraph 7, `VALUE` and `const VALUE` are allowed to alias (but two distinct structs are not, even when their structures are the same). [Bug #17540] Notes: Merged: https://github.com/ruby/ruby/pull/4232
2021-03-02* 2021-03-02 [ci skip]git
2021-03-01[lib/benchmark] Use $stdout instead of STDOUT [Bug #17600]Marc-Andre Lafortune
2021-02-28Skip spec which does not work on mingwBenoit Daloze
* https://github.com/ruby/ruby/runs/1994688198 ruby 3.1.0dev (2021-02-27T16:42:17Z master 8305a48413) [x64-mingw32] C-API Thread function rb_thread_call_without_gvl runs a C function with the global lock unlocked and unlocks IO with the generic RUBY_UBF_IO Example took longer than the configured timeout of 60.0s
2021-02-28* 2021-02-28 [ci skip]git
2021-02-27Add --timeout to try to find hanging specBenoit Daloze
2021-02-27Update to ruby/spec@37e52e5Benoit Daloze
2021-02-27[ruby/irb] Update help message for next context-mode of 4Jeremy Evans
While here, fixing tab/space issues in help message, and sync rdoc for IRB class to match the help message. https://github.com/ruby/irb/commit/ef8e3901cc
2021-02-26Oops! Add another test and fix to_proc implementationAaron Patterson
2021-02-27* 2021-02-27 [ci skip]git
2021-02-26Fiddle::Function responds to to_procAaron Patterson
This lets us cast a Fiddle::Function to a block, allowing is to write things like: ```ruby f = Fiddle::Function.new(@libc['strcpy'], [TYPE_VOIDP, TYPE_VOIDP], TYPE_VOIDP) define_method :strcpy, &f ```
2021-02-25Revert "Add tests for bug 17652"Aaron Patterson
This reverts commit a9920e7782f225b97e173a88640fe9e116b9964f.
2021-02-26[ruby/reline] Version 0.2.4aycabta
https://github.com/ruby/reline/commit/462f971bd3
2021-02-26* 2021-02-26 [ci skip]git
2021-02-25Add tests for bug 17652Peter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/4227
2021-02-25Disable auto compaction on platforms that do not support itPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/4227
2021-02-25Use mmap for allocating heap pagesPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/4227
2021-02-25[ruby/irb] Version 1.3.4aycabta
https://github.com/ruby/irb/commit/ab9852ccc5
2021-02-25rb_random_int: ended before it begins卜部昌平
It existed since f3d022543ef2afde3d53e7f6b3028eafe39d0ef4 until 96760236079b15674a6322a2ca41b1528b51afbd. No official releases included the actual function. The declaration shall be deleted.
2021-02-24Reverting PR #4221Aaron Patterson
It seems this breaks tests on Solaris, so I'm reverting it until we figure out the right fix. http://rubyci.s3.amazonaws.com/solaris11-sunc/ruby-master/log/20210224T210007Z.fail.html.gz
2021-02-25* 2021-02-25 [ci skip]git
2021-02-24Add tests for bug 17652Peter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/4221
2021-02-24Disable auto compaction on platforms that do not support itPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/4221
2021-02-24Use mmap for allocating heap pagesPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/4221
2021-02-24Update bundled_gemsKazuhiro NISHIYAMA
2021-02-24rb_fiber_terminate never returnsNobuyoshi Nakada
2021-02-24* 2021-02-24 [ci skip]git
2021-02-24Revert "Enclose crtitical sections in `thread_exclusive` block"Nobuyoshi Nakada
19cc24b34b0490b7c2779eec521fe0089e05f183 and fixups.
2021-02-23Use the system getenv in setup_debug_logNobuyoshi Nakada
As ruby_set_debug_option() is called before ruby_sysinit(), CRITICAL_SECTIONs are not initialized yet.
2021-02-23Fixed commit miss at 41eb4fbf86e7ae9c9ff993e07a19fa44eb74be9bNobuyoshi Nakada
2021-02-23Make uenvarea thread exclusiveNobuyoshi Nakada
2021-02-23Fixed commit miss at 19cc24b34b0490b7c2779eec521fe0089e05f183Nobuyoshi Nakada
2021-02-23Constified possible dataNobuyoshi Nakada
2021-02-23Enclose crtitical sections in `thread_exclusive` blockNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4214