Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Optimized branches in pattern matching | Nobuyoshi Nakada | 2020-01-30 | 1 | -61/+46 |
| | |||||
* | Unnamed groups are not captured when named groups are used | Nobuyoshi Nakada | 2020-01-30 | 1 | -4/+4 |
| | |||||
* | * 2020-01-30 [ci skip] | git | 2020-01-30 | 1 | -1/+1 |
| | |||||
* | Unnamed groups are not captured when named groups are used | Nobuyoshi Nakada | 2020-01-30 | 1 | -1/+1 |
| | |||||
* | [ruby/reline] Support GNOME style Home/End key sequences [Bug #16510] | aycabta | 2020-01-29 | 1 | -0/+2 |
| | | | | https://github.com/ruby/reline/commit/788f0df845 | ||||
* | Add more debug print | Kazuhiro NISHIYAMA | 2020-01-29 | 1 | -2/+11 |
| | | | | https://rubyci.org/logs/rubyci.s3.amazonaws.com/solaris11s-sunc/ruby-master/log/20200129T022510Z.fail.html.gz | ||||
* | skip SEGV (BUG) tests if ENV['RUBY_ON_BUG'] is given. | Koichi Sasada | 2020-01-29 | 1 | -0/+2 |
| | | | | This environment variable can show additional message on BUG. | ||||
* | support multi-run for test/ruby/enc/test_regex_casefold.rb | Koichi Sasada | 2020-01-29 | 1 | -1/+1 |
| | | | | should not mutate test data. | ||||
* | Isolate the PRNG for tmpdir/tempfile | Nobuyoshi Nakada | 2020-01-29 | 1 | -1/+9 |
| | | | | To get rid of conflicts affected by `srand`. | ||||
* | Fix a typo [ci skip] | Kazuhiro NISHIYAMA | 2020-01-29 | 1 | -1/+1 |
| | |||||
* | Fix file dependency in make | Alan Wu | 2020-01-28 | 1 | -0/+2 |
| | |||||
* | Update to ruby/spec@f8a2d54 | Benoit Daloze | 2020-01-28 | 76 | -224/+2451 |
| | |||||
* | Update to ruby/mspec@9bce874 | Benoit Daloze | 2020-01-28 | 3 | -1/+11 |
| | |||||
* | Run specs on Ruby 2.7 too to make sure they keep passing | Benoit Daloze | 2020-01-28 | 1 | -2/+15 |
| | | | | | | * With keyword argument changes, it's more likely to break only 2.7 and not other versions. * A few specs were broken on 2.7.0 recently, this should catch them earlier. | ||||
* | Fix some spec breakage on 2.7 related to keyword arguments | Jeremy Evans | 2020-01-28 | 1 | -11/+21 |
| | | | | | | | These specs were probably added in the commit to fully separate keyword arguments after the release of 2.7.0, but apparently not tested on 2.7 before hand. The enclosing ruby_version guard for these specs limits them to 2.7. | ||||
* | Run specs against the latest release of 2.4 | Benoit Daloze | 2020-01-28 | 2 | -2/+2 |
| | |||||
* | Fix version guard in __dir__ spec | Benoit Daloze | 2020-01-28 | 1 | -2/+2 |
| | |||||
* | fix test cleanup. | Koichi Sasada | 2020-01-29 | 1 | -2/+4 |
| | | | | should remove pathname. | ||||
* | Revert "srand() should not run in tests." | Koichi Sasada | 2020-01-29 | 1 | -46/+24 |
| | | | | | | | This reverts commit 4d132fa130e16eeb4af4177cfaccc00e05e2f864. There are discussions about using srand() in tests. I'll write a ticket about it and continue to discuss. | ||||
* | Revert "remove debug code." | Koichi Sasada | 2020-01-29 | 1 | -0/+3 |
| | | | | This reverts commit 65768c80beb64a14c3e918f8ed5e41e9349025d0. | ||||
* | restore $LOADED_FEATURES. | Koichi Sasada | 2020-01-29 | 1 | -0/+5 |
| | | | | | Dir.tmpdir can return same directory because of rand() value, so we shouldn't rely on different name. | ||||
* | refactoring: use Proc and Constant. | Koichi Sasada | 2020-01-29 | 2 | -12/+5 |
| | |||||
* | * 2020-01-29 [ci skip] | git | 2020-01-29 | 1 | -1/+1 |
| | |||||
* | ruby_reset_timezone resets leap_second_info. | Tanaka Akira | 2020-01-29 | 2 | -7/+5 |
| | | | | [Bug #15177] | ||||
* | Extract a function, ruby_reset_timezone(). | Tanaka Akira | 2020-01-28 | 3 | -3/+10 |
| | | | | | Initial implementation of ruby_reset_timezone() assigns ruby_tz_uptodate_p to false. | ||||
* | Stop parsing copyright notices as document [ci skip] | Nobuyoshi Nakada | 2020-01-28 | 12 | -0/+29 |
| | |||||
* | Revert "Added RDoc files to parse [Bug #16596]" | Nobuyoshi Nakada | 2020-01-28 | 1 | -1/+0 |
| | | | | | | This reverts commit 10842daeb571126a090cb10dedf0cda8c2b7f9a8, because it has no effect and the rdoc file has been installed to lib/racc/rdoc directory. | ||||
* | remove debug code. | Koichi Sasada | 2020-01-28 | 1 | -3/+0 |
| | |||||
* | srand() should not run in tests. | Koichi Sasada | 2020-01-28 | 1 | -24/+46 |
| | | | | | | test_rand.rb calls srand() several times, however it change global rand-sequence (and --seeds doesn't have meaning). This patch makes such tests run in other processes. | ||||
* | use Minitest::Unit.current_repeat_count to skip multi-run. | Koichi Sasada | 2020-01-28 | 1 | -6/+2 |
| | |||||
* | support multi-run for test/ruby/test_time.rb | Koichi Sasada | 2020-01-28 | 1 | -0/+7 |
| | | | | | | | | | | | | | ruby/test_time_tz.rb (not sure only this file affects) changes TZ and it seems to change internal state. This internal state change fails test_2038 and test_timegm on 2nd time execution. At this time I have no idea how to fix this issue, so I skips these tests on 2nd trial. You can try this failure with the following command without this patch. $ make test-all TESTS='--repeat-count=2 ruby/require ruby/time ruby/time_tz' | ||||
* | Minitest::Unit.current_repeat_count | Koichi Sasada | 2020-01-28 | 1 | -4/+8 |
| | | | | This method returns loop counter for multi-run (0 start). | ||||
* | support multi-run for test/ruby/test_autoload.rb | Koichi Sasada | 2020-01-28 | 1 | -0/+2 |
| | | | | Another test defines Object::A, but it will fail 2nd test. | ||||
* | fix rb_define_global_function to take const VALUE* | 卜部昌平 | 2020-01-28 | 2 | -1/+71 |
| | | | | | It was unable for rb_define_global_function to take VALUE(*)(int argc, const VLAUE *argv, VALUE self) -style function. Test added. | ||||
* | add test for rb_define_global_function | 卜部昌平 | 2020-01-28 | 1 | -0/+58 |
| | | | | was missing. | ||||
* | add test for rb_define_method_id | 卜部昌平 | 2020-01-28 | 1 | -0/+56 |
| | | | | was missing. | ||||
* | improved support for rb_f_notimplement | 卜部昌平 | 2020-01-28 | 2 | -2/+48 |
| | | | | | | rb_f_notimplement should be accepted for all possible arities. Test provided for that. | ||||
* | delete duplicated function overload | 卜部昌平 | 2020-01-28 | 1 | -2/+0 |
| | | | | | The `using engine<...snip...>::define;` line already defines this function. We don't have to repeat. | ||||
* | fix typo | 卜部昌平 | 2020-01-28 | 1 | -4/+4 |
| | | | | Add missing `*`. | ||||
* | delete RB_METHOD_DEFINITION_DECL_1 | 卜部昌平 | 2020-01-28 | 1 | -50/+33 |
| | | | | This macro is no longer useful. Just expand it. | ||||
* | delete unreachable branch | 卜部昌平 | 2020-01-28 | 1 | -70/+2 |
| | | | | | Case of __cplusplus is handled in cxxanyargs.hpp now. These deleted codes no longer reachable. | ||||
* | template metaprogramming instead of macros | 卜部昌平 | 2020-01-28 | 2 | -9/+189 |
| | | | | | | C++ (and myself) hates macros. If we could do the same thing in both preprocessor and template, we shall choose template. This particular part of the ruby header is one of such situations. | ||||
* | move macros around | 卜部昌平 | 2020-01-28 | 2 | -202/+194 |
| | | | | Would like to edit them in forthcoming commit. | ||||
* | support multi-run for test/ruby/test_struct.rb | Koichi Sasada | 2020-01-28 | 1 | -2/+14 |
| | | | | Remove Structs to avoid redefinition warnings. | ||||
* | support multi-run for test/ruby/test_settracefunc.rb | Koichi Sasada | 2020-01-28 | 1 | -0/+9 |
| | | | | need to remove Constants. | ||||
* | support multi-run for test/ruby/test_primitive.rb | Koichi Sasada | 2020-01-28 | 1 | -25/+53 |
| | | | | need to redefine some classes. | ||||
* | support multi-run for test/ruby/test_refinement.rb | Koichi Sasada | 2020-01-28 | 1 | -0/+8 |
| | | | | | | | | Give up to support multi-run: * test_method_should_use_refinements * test_instance_method_should_use_refinements I hope someone can revisit it. | ||||
* | support multi-run for test/ruby/test_proc.rb | Koichi Sasada | 2020-01-28 | 1 | -3/+3 |
| | | | | | | | Mysterious error: `remove_method(:foo) if method_defined?(:foo)` raise an exception `method `foo' not defined in #<Class:#<TestProc:0x000055d12ff154e0>>` This patch rename the method name foo to foo_arity to solve it. | ||||
* | support multi-run for test/ruby/test_module.rb | Koichi Sasada | 2020-01-28 | 1 | -2/+35 |
| | | | | add cleanup code in some tests. | ||||
* | support multi-run for test/ruby/test_method.rb | Koichi Sasada | 2020-01-28 | 1 | -6/+21 |
| | | | | need to restore a method. |