Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed 'mruby/' changes from 5e3077c..964a02f
964a02f Merge pull request #3645 from nobu/sprintf-refactor ef6e14e Better error message e05c307 Use `FILL` and `PUSH` 3c10783 Merge pull request #3639 from Asmod4n/patch-1 9057a3f Add macOS support to mrb_ro_data_p cef523c Avoid duplicated `envadjust()` of env stacks; fix #3637 a3d80e8 Merge pull request #3637 from dabroz/fix-32-bit 3e07a2d Silence warnings caused by implicit type casting. 92dcfba Add explicit cast from double to long. b08dced Stop invoking GC before `each_object` to avoid test failure; #3616 aa8e490 Prevent GC during `each_object`; fix #3616 88cd807 Avoid use of `snprintf()` when DISABLE_STDIO is set; fix #3632 03cdb8e Should terminate nested iterations in each_object; ref #3359 058da1f Revert "Disable GC during `gc_each_objects()`; fix #3616" 01f7825 Use fiber marking instead of `mark_context`. b112046 Revert "Simplify pointer calculation in `envadjust`." 6088276 Merge pull request #3630 from nobu/bug/sprintf-sp3inf 72bdb6a Merge pull request #3631 from nobu/bug/embeddoc-terminator-word d54f9f8 Fix embedded document with unterminated terminator cd4e9a0 Refactor "%f" % Inf/NaN 7314423 Fix space flag when Inf/NaN and width==3 809b7ca Merge pull request #3628 from yyamano/libmruby-path a4dfaaf Small cosmetic changes. e26e118 Use env preserved in Proc structure in ecall(); fix #3612 5513fce Keep reference to mrb_context from env; fix #3619 52a0380 Add --libmruby-path support to mruby-bin-mruby-config. 3b0a36d Alias should `push()` extra stack space for blocks. a1d32af Simplify pointer calculation in `envadjust`. ad3b61f Revert e8dca6b03; fix #3550 5d67d9b Fixed a possible memory leak. 15fba69 Revert ae4217e81; fix #3619 95229ee Assign to local variable first; cosmetic change. c900fff Merge pull request #3623 from take-cheeze/struct_freeze c73da29 Merge pull request #3624 from yyamano/fix-typo 00770e2 Merge pull request #3625 from take-cheeze/pool_64bit 02df253 Merge pull request #3626 from take-cheeze/string_get_args_bug 3ce42a0 Add missing `arg_i++` to fix bug of `s!` in mrb_get_args. b2dc043 Align pool allocator with 8 byte in 64-bit environment. 33d09e4 Fix typo in usage message. da5b7fa Support freeze in `Struct`. 94bcdca VM stack may be reallocated in `mrb_convert_type()`; fix #3622 262fbaf `mrb_int` may overflow in bit-shifting; fix #3620 3567b26 Bit-shifting zero should be zero; ref #3620 d2cad9a Disable GC during `gc_each_objects()`; fix #3616 62dae09 Allow `mrb_objspace_each_objects()` to break iteration; ref #3359 edd9fc6 Do not raise an exception for living closure; ref #3359 6a0b68f Use trampoline technique for `instance_exec`; ref #3359 77c2aa7 Need to raise "break from proc-closure" error; fix #3359 fix #3495 283d145 Fixed a bug caused by last minute change; fix #3610 fe3fe8f Merge pull request #3615 from clayton-shopify/fix-copy-class-null-pointer-deref de96994 Check if sc->mt is initialized before copying it. 79e0314 Call envadjust() before updating VM stack. ae4217e Fixed a wrong condition; fix #3550 e8dca6b Revert 6dd1a57; fix #3612; ref #3550 a0143e1 Make `mrb_codedump_all()` to print type of Proc. f4119f5 Changed evaluation order of `yield`; ref #3613 f6c70bc `super` may call context switching method like `send`; fix #3611 05fceb5 Call exc_debug_info() in mrb_exc_set(); ref #3610 82ab461 Add "no super" check to OP_ARGARY; fix #3610 c396184 Hash#dup didn't check if internal khash is initialized; fix #3609 7614939 Mark whole root objects in final_marking_phase(); fix #3603 3231219 Merge pull request #3608 from clayton-shopify/fix-mirb-off-by-one 8e2279d Fix an off-by-one causing a buffer overflow in mirb. 045e78c Proc#call needs to reserve at least 2 registers; fix #3606 17377af Struct may not be initialized in #to_h; fix #3607 aec121f Update NODE_XSTR, NODE_DSXTR tests; ref #3605 c0a4b1a Merge pull request #3604 from keizo042/fix_issue3598 3123549 Fixed a bug in NODE_XSTR code generation; fix #3605 d4205c9 Use while statement instead of for statement 4fca570 Find Class/Module in nested singleton class; fix #3598 4e84bdb Let 'mrb_vm_run()` to restore the calling fiber; ref #3537 0fb05eb Should not unshare env stack repeatedly; fix #3601 2a4db1a `method_missing` might have updated stack beyond boundary; fix #3599 326e043 Exceptions may be raised in yyparse(); fix #3600 918e7bb Refactor check before `mrb_class_ptr()`; ref #3602 a25404c The attached object may not be a class; fix #3602 6dd1a57 Shared TT_ENV may need to be marked; fix #3550 fff4a4e OP_LAMBDA generation should honor VAL/NOVAL; fix #3580 db47ae5 Fixed a bug in `mrb_convert_to_integer()`; fix #3581 03c8493 Fiber#yield should check C function boundary; fix #3582 9094415 An object attached to a singleton class may not be a class; fix #3587 0048dd1 Protect arguments from GC; fix #3597 a55b237 Callinfo may be changed in `ecall()`; fix #3589 ab25eae Avoid clearing VM stack every time to gain performance. 5c114c9 Clear unused stack region that may refer freed objects; fix #3596 491d68b Skip stack marking at all if c->stack is NULL. 0cb5015 Fill omitted arguments by nil for non-strict Proc. c063641 Clear local (but non-argument) variables in OP_ENTER. 47f1815 Avoid updating regs[] from function calls; ref #3588 1fd3cc9 Merge pull request #3595 from keizo042/name_stack_size 15b55c3 Attach a name to embbeded value of rescue/ensure stack size 7e28510 Merge pull request #3594 from keizo042/fix_isssue_3575 fd0f79c Get constant of parent class even if child class is defined in signleton class; fix #3575 e5b61d3 Fixed possible SEGV in `Kernel#block_given?`; ref #3593 5e79bc9 Make String#replace to check equality before modifying flags. a7b0ab3 Save block argument position in e->cioff; fix #3593 d9fb8b6 Fixed a bug in OP_SUPER block conversion; fix #3590 bd7bf26 Should specify instance type of Structs; fix #3591 2daebfb Fixed a bug when method_missing take 126 args; fix #3592 60d20e1 Should restore to the root fiber for each interaction; fix #3537 7f37c2f Use stderr for debug prints in DEBUG(); fix #3584 74712c7 Need to insert write barriers in struct updates; fix #3547 bdeb803 Merge pull request #3579 from clayton-shopify/fix-time-alloc-usec dc4fba2 Correctly handle large negative usec value. e2e2eda Merge pull request #3578 from bggd/appveyor_clone_depth de114eb Change AppVeyor's clone_depth 12f6496 Revert "Adjust VM stack window size; fix #3547" 6dabb33 Adjust VM stack window size; fix #3547 ab63ee6 Fixed out-of-bounds access of `ensure[]`; ref #3491 b8461c8 Protect ensure clause lambdas from GC; fix #3491 6a992a2 Merge pull request #3577 from okkez/fix-return-value-of-each-slice fea8d00 Merge pull request #3576 from okkez/fix-return-value-of-each-cons 0a1f15e Insert ` mrb_field_write_barrier()` for GC; fix #3534 246db71 Add `struct REnv` to union `RVALUE`; ref #3534 77331d1 Unify `else` clause style fbf4089 Remove spaces around parens cff54ab Change return value of Enumerable#each_slice 4975aa4 Change return value of Enumberable#each_cons 666787b Adjust exit point in `loop_pop()`; fix #3541 d35fcf1 NODE_SPLAT to pass VAL/NOVAL; fix #3532 f5632f2 Restrict recursion levels in method_missing(); fix #3556 d27a3d4 String#initialize to make a string empty; ref #3574 a14a930 Remove unnecessary indirection; ref #3557 8193c0b Check before generating special operators (e.g. OP_ADD); fix #3557 a49c9f8 Update callinfo->target_class in mrb_exec_irep(); fix #3543 081535b Merge pull request #3573 from ksss/parameters 7f98392 Reduce object allocation be5c304 Fix parameters when noname rest 5d00e85 Fixed out of bounds access; fix #3572, ref #3553 5a445f0 Add alias "append" to Array#push, and "prepend" to Array#unshift. 93d8029 Extend VM stack just in case; ref #3551 071164b Should not shrink VM stack; fix #3551 56322cd Pacify signed warning; ref #3565 dcbfe71 NODE_ASGN arguments may be 127 (CALL_MAXARGS) accidentally; fix #3559 e22f37a Argument order of __case_eqq was wrong; fix #3567 1e87dfd The stack may be reallocated in the func call; fix #3560 8d9d7c9 Improve Time.new() performance using division; fix #3561 195af52 Expand stack for method_missing; fix #3528 9eb2ed0 Merge pull request #3571 from keizo042/fix_get_constant_of_module_from_sigleton 507e00e Modify to get constant of parent module in singleton class; fix #3568 39ca4ef Avoid crash if hv.n is greater than kh_size(h); fix #3565 952207d small cosmetic change; ref #3570 669b183 Merge pull request #3570 from keizo042/fix_cv_definition_in_singleton 5efe77f Modify class variable definition in singleton class; fix #3539 898077a Merge pull request #3566 from okkez/fix-enumerator-each-with-index d93a5c1 Fix Enumerator#each_with_index with block 905f46a Merge pull request #3558 from ksss/domain db3573e Should raise FloatDomainError 1f6bf0e Merge pull request #3563 from clayton-shopify/dup-renumber-keys 506c05f Merge pull request #3564 from okkez/set-proper-class-to-subclass-of-array 6dbe227 Set proper class to subclass of Array a6e25f7 Renumber hash keys during dup since there may be duplicates. 5ec051f Avoid inline local variable declarations; fix #3554 1bdaf9c Merge pull request #3553 from okkez/add-array-slice-bang 33f77fe Implement Array#slice! 0f52893 Merge pull request #3552 from ksss/time 397f1fc Fix infinity loop 6698049 Merge pull request #3544 from ksss/lineno f688de5 Merge pull request #3545 from keizo042/ignore_tags d0e42ef Ignore file generated by ctags b1c5c3b Fix lost lineno 051e40c Use MRB_PRId for NODE_NTH_REF; ref #3530 9eb0c11 Cast to mrb_int to silence a warning; fix #3530 41f5c5b Merge pull request #3529 from kou/hash-ext-sub-class 8ca9823 Merge pull request #3536 from ksss/string-sub 63c0044 Fix result if pattern is empty e72e50b Hash sub class creates new sub class objects instead of Hash 3703aed Use `snprintf()` to stringify fixnum numbers; ref #3492 339c6ae Add explicit cast from float to mrb_int. 631de65 Merge pull request #3527 from ksss/string-gsub dcf6a41 Use `snprintf()` to stringify fixnum numbers; fix #3492 cea6a16 Fixed some compiler errors regarding PRId. 7a74a61 Callback should yield with pattern every time 67a6982 Support to return Enumerator for String#gsub,gsub! 0957492 Should not check/call `to_str` for immediate objects; ref #3515 527dcd5 `super class error` formats the superclass by `inspect`; rerf #3515 ef105b5 Use MRB_PRId instead of "%d"; fix #3515 4cf38eb Fixed OP_RESCUE code generation bug; fix #3519 d01118d OP_RESCUE refactored; ref #3519 8d1468e Remove cname duplication from exc_inspect(). e6b5c75 Avoid possible infinite recursion in mrb_print_error(); ref #3517 2cbbeba Check call depth when mrb_yield_class() is called; ref #3521 75c374c Update stack only when callinfo is popped; fix #3521 6db38c3 Need not to call mrb_obj_as_string() is sep is nil. ce86975 Merge pull request #3526 from ksss/sprintf 2005bf9 Should use mrb_int for any object fa502b4 Need to setup singleton_class chain; fix #3509 38a3b89 Small cosmetic change ("* " -> "*"). 6ea26aa Save/restore GC arena index to avoid arena overflow error. 00427d4 Fixed access of uninitialized C local variable; fix #3525 b2916f1 Avoid mrb_check_string_type() in raising exception; fix #3506 27fc76f Merge pull request #3524 from ksss/timestamp fca17b4 Avoid trampoline when #eval is called from mrb_funcall(); fix #3522 f99e100 MiniRake::Task#timestamp should use Time.now only 9ecebeb Merge pull request #3510 from ksss/string-each_line 47cc5d6 Singleton classes do not have outer class set; fix #3505 b64f087 Protect stack region before calling mrb_convert_type(); fix #3504 4ee79a8 Support to return enumerator when no block given 673ce23 Suuport custom separator 6eb02a8 Use duplicated object for block args f8b31a0 `instance_eval` method does not introduce C function boundary; fix #3508 4b1e5d4 Merge pull request #3503 from nobu/bug/sprintf-oob d8c4fe7 Fix out-of-bound access 191ee25 Need to copy argv since it may be reallocated; fix #3500 877f43b OP_BLKPUSH is invalid outside of methods; fix #3501 916b8ed Generate new OP_RESCUE; fix #3487 92f5bec Update VM to support new OP_RESCUE behavior; ref #3487 26169f9 Enhance OP_RESCUE to take B operand fas matching exception; ref #3487 000c68d OP_RETRUN to take B as matching exception; ref #3487 4ab7029 Revert 642ab8e; ref #3422 94395e8 The width printf specifier may be negative; fix #3498 f30ec2d fixup! Check return value from snprintf(); ref #3498 e392231 Check return value from snprintf(); ref #3498 f9ed15d Merge pull request #3496 from ksss/string-gsub 7590482 Merge branch 'master' into string-gsub 431f474 Merge pull request #3497 from ksss/subreplace b56ad8d \1 sequences as empty strings 4b3e6cf Avoid infinity loop when empty string pattern ff262f2 Update ci->mid according to surrounding scope; fix #3490 2f299cf Simplify expression; ref #3490 e8f09f9 Raise special Exception when exception class is redefined; fix #3493 c6e5659 Use string#upto() if available; fix #3489 4763312 Terminate loop if generated string longer than the last; ref #3489 63dbed0 `__FILE__` should not update `p->filename`; fix #3485 513f4fb Merge pull request #3484 from ksss/string-frozen 8a15abd Avoid trampoline code if mrb_f_send is called from funcall; fix #3383 eba4b1f Check modifiable for String `bang' methods d050694 Merge pull request #3483 from ksss/string-index 76e1035 String#index shouldn't return nil when "".index "" 4f43db8 Unshare popped TT_ENV objects. 3b40a2f Limit ecall() recursion levels; fix #3466 ecee8c5 Avoid tracing shared TT_ENV object. c789acb Save/restore arena index in the loop. ffdf7be Define jmpbuf_id outside of `extern "C"`; ref #3470 2d858ca Use C++ ABI only when MRB_ENABLE_CXX_ABI is set; ref #3470 1ab7e7e Fixed a bug in register size calculation; fix #3479 3390020 The method_missing removal condition in a76dc04a was wrong. 27ec243 Fix possible stack overflow for `method_missing`; fix #3478 0bcf9e2 Reorganize C++ exceptions; ref #3470 fdd9275 Create NoMethodError instance using `mrb_obj_new()`. 9b176a1 Avoid using <mruby/throw.h> in mruby.c eca35df `ci` may be moved during `mrb_convert_type()`; ref #3474 8b089c0 Keep space for safe navigation operator; fix #3475 cd0ac59 Newlines in strings should be counted; fix #3477 1a1f834 Compile C files by C compiler when C++ files mixed. dc56bbe Ignore empty ensure clause. fb3243e `return` (and `break`) should handle splat correctly; fix #3472 22eb41a Fix NODE_DREGX dump; ref #3471 c52bbe1 Fixed a bug in dregex option generation; fix #3471 89eac4f Update codegen.c comments 7db0786 Fix integer overflow; fix #3473 405f5a2 Add type check by mrb_get_args(); ref #3476 74dbee8 Add check before calling str_substr(); ref #3476 bdac7df Check if the value is fixnum before mrb_funcall(); fix #3476 a76dc04 Remove default Kernel#method_missing. b563bcb Check if OP_RETURN cross C function boundary; fix #3462 50bbdbb Fixed ecall() invoked too early; fix #3464 3fc9bf3 Update local variable only after the value is checked. d219e63 Clear block arg when method_missing takes *args. 9e93d5d Stack may be reallocated in mrb_run(); fix #3465 736be0e Always keep block argument space in stack; fix #3469 83a6c0e Merge pull request #3458 from dabroz/gitlab-ci fecbde3 Merge pull request #3461 from iij/build-with-byacc da4f8e1 replace "yylval" with "pylval" to make it compile with byacc. a9f7b41 Merge pull request #3460 from AltimitSystems/android.rake-ndk-clang fd08e0e Added example build script for Android armeabi-v7a NEON hardware FPU 324231a Android toolchain separated target architecture compile flags (ctarget) from shared compile flags (cflags). Added support for custom mfpu and float-abi switches for the armeabi-v7a target. 73e5a19 Configure callinfo target_class as CRuby; ref #3429 4dae285 Merge pull request #3457 from dabroz/fix-clang-32-64 097da23 Avoid executing OP_STOP in eval(); fix #3429 5e3c329 Adjust callinfo env and target_class; ref #3429 d83aad8 Merge branch 'master' into android.rake-ndk-clang bc721ec Gitlab tests for multiple configurations bd2b76e Build fix for 32-bit clang 3.8/3.9 with MRB_INT64 b165708 Move #instance_exec to Kernel module 517e931 Move #__id__ to BasicObject; ref #3417 612d636 Move #instance_eval to BasicObject; ref #3417 3dbda91 Move #__send__ to BasicObject; ref #3417 8b4bd31 Move #== and #!= to BasicObject; ref #3417 3f9450e Move BasicObject#method_missing to Kernel#method_missing; ref #3417 1e5b5b1 Prohibit too deep `mrb_funcall()` recursion; ref #3421 1e57fef Do not funcall() Exception#set_backtrace from runtime. 8efa7b0 Preallocate SystemStackError; ref #3421 0376d4d Merge pull request #3455 from crimsonwoods/fix-android-build-script dd24f9f Avoid calling hook methods if they are not overridden. 0429692 Use mrb_funcall_argv() instead of mrb_funcall() 5395dbf Add new two build config files. a6b1e96 Modify default cflags. 838fa69 Add '-Wl,--fix-cortex-a8' linker option for 'armeabi-v7a' architecture. 83a3da4 Set default linker 'flags' and 'flags_before_libraries'. ba812d2 Merge pull request #3453 from palkan/fix/test-gems-setup 1315667 Separate compilers setup from config setup 30aa521 Do not use mrb_funcall() if Hash#default is not overridden; ref #3421 719f700 Extend mruby stack when keep is bigger than room; fix #3421 ecb6ac8 Fixed codegen error of redo in rescue; fix #3422 c2ddcd4 Should handle `break` from funcall(); fix #3434 f198530 Fixed too much value_copy() when block is not given; fix #3440 b238747 Merge pull request #3452 from dabroz/fix-kernel-caller-aspec e4fa59f Fixed aspec for Kernel#caller 6066482 Merge pull request #3451 from dabroz/revert-string-mul 1f2d786 Avoid direct return from ecall(); fix #3441 90f262f Revert "Optimization for String#* for 1-byte strings" ff03a9a Avoid integer overflow in sprintf(); fix #3439 642ab8e `ecall()` should preserve stack address referenced from ci[1]. 0b14389 Remove historical comment; ref #3450 #3448 0ef51d8 Merge pull request #3450 from r-obert/patch-1 b130f43 remove skip that shouldn't be necessary anymore. 8f4a929 String#replace should update s->flags for MRB_STR_NO_UTF. 6cb7aef Add type cast to pacify warning b36495b Merge pull request #3449 from dabroz/fix-ljust-ruby d1bc7ca Optimization for String#* for 1-byte strings ac9d04f String#ljust and String#rjust reimplemented with optimized Ruby 24048cd Tests for UTF-8 String#ljust and String#rjust c802cd0 Merge pull request #3446 from ksss/minirake 0dc26f5 Merge pull request #3447 from dabroz/fix-ljust 981105b String#ljust and String#rjust reimplementation (fix #3445) cd8284f Fix build error when trace mode d0ecf86 Fixed mixture of signed/unsigned integers 4b32e65 Check if irep is NULL before print_backtrace() af4d74f Add MRB_TT_PROC check to OP_SUPER as well; fix #3432 76135e7 Check if m->env is NULL before dereferencing it; fix #3436 b277c58 Mark classes referenced from saved backtrace. f3d4ff1 Fixed a bug in ci address shifting; fix #3423 be550f0 codedump.c: OP_POPERR does not have register access. 7eebbce Merge pull request #3437 from eboda/master 46e4e34 Fix interpolation escaping in String.inspect 794de33 Merge pull request #3430 from ksss/local_variables bd72dba Kernel#local_variables: Make result array unique f2b18a6 Check maximum number of formal arguments. 48e0bbb Make `eval` to use trampoline technique; fix #3415 bf4e79c `argv` may be modified when `mrb_funcall()` is called; fix #3419 8f52b88 No need to make env unshared in the finalization; fix #3425 8e0f231 Mark `mrb->backtrace.exc` as GC root; fix #3388 6e0ba00 Jump address should fit in 16 bits range; fix #3426 a746ebe Merge pull request #3420 from udzura/patch-1 e0323df Merge pull request #3427 from clayton-shopify/fix-mrb-random-init a8ccda5 Fetch arguments earlier to avoid a crash. ab5812d Use standard Module(Class)#to_s 6420951 Update example lines of mrbgems in build_config.rb; ref #3414 ac88f85 Copy mrb_float values from pool when MRB_WORD_BOXING; ref #3396 51d7a69 Clear (o).w first for MRB_WORD_BOXING; ref #3396 b3ce364 Outer class may be same as the class; fix #3382 72bff29 Use size_t to avoid integer overflow in mrb_ary_splice(); fix #3413 28cf7a5 Change return type of mrb_range_beg_len() from `int` to `mrb_int`. f0f095b Fix a double free problem in codegen.c; fix #3378 3ce8260 Fix memory leak; ref #3378 ffb5e5a The ensure clause should keep its ci after its execution; fix #3406 324887d Backtrace list must be an array of strings; fix #3408 28b7b9e Skip non string values in backtraces; ref #3408 40ec03c Merge pull request #3412 from ksss/mrb_ary_splice 78a395d Refactoring: Use array_copy instead of for loop 4d38cad Add MRB_API to mrb_range_beg_len(); ref #3411 5e1d923 Changed the behavior of mrb_range_beg_len(); close #3411 708088c Should not make empty strings shared; fix #3407 49fd759 Use mrb_write_barrier() instead of mrb_field_write_barrier_value() fdec607 Remove unnecessary inline declaration; ref #3409 9d0f07e Merge pull request #3409 from ksss/mrb_ary_splice 39ce9fe Merge pull request #3410 from ksss/mrb_ary_aset b49bd70 Should raise RuntimeError when object frozen 65c9baa Rewrite mrb_ary_splice bd50273 Merge pull request #3404 from clayton-shopify/fix-block-params 797ff62 Fix incorrect parsing of block parameters. c48aef0 Stack position may be bigger than stack bottom; fix #3401 873b96b Merge pull request #3402 from clayton-shopify/fix-masgn-optimization 2c0f8f1 Remove problematic optimization. b23fb45 Integral#step without arg should loop forever as CRuby does. fe0e455 Initialize callinfo->acc; ref #3243 c8536d9 Merge pull request #3362 from ksss/proc c830698 Dots is not needed for base 10 negative numbers; fix #3400 c59ef59 Merge pull request #3399 from ksss/caller 59d9f31 Skip when backtrace doesn't get 6f9cb74 Implement Kernel.#caller 8d61f21 Add proper given argument number in the wrong-number-argument error. a357124 Add proper stack size calculation; fix #3398 38acb9e Kernel#initialize should not break existing mt; fix #3397 41eff63 Merge pull request #3393 from clayton-shopify/fix-exc-initialize fb1dad8 Merge pull request #3394 from clayton-shopify/really-fix-nme a69d92e Merge pull request #3395 from hhc0null/fix-typo af4f6e8 Fix a typo. 6be5160 Fix 36fc1f14 not checking in the right location bc4c90d Use mrb_int for argc. db1bd07 Use temporary variable to avoid potential crash; fix #3387 e1ff710 String#replace should check replacing string; fix #3374 06b2e6a Check if ci->target_class is NULL before dereferencing 44edc51 Raises Exception if raising exception class is redefined 7523cdf Exception#initialize to take arbitrary number of args; ref #3384 c4491e4 Validate tm values before timegm(); close #3368 d3a8ebf Merge pull request #3381 from sorah/asn ee7fc56 Put package's libs flag after %{objs} 147c5c5 Merge pull request #3380 from syucream/fix-assert f085baa Pass when assert returns a false value 392d7fb Add ary_modify() checks; close #3379 8c11b04 Merge pull request #3377 from ksss/respond_to 3c2f101 Merge pull request #3376 from bovi/2017-copyright ddcb30d Check intern object returned by mrb_check_string_type 2c77dfa Update Copyright to 2017 885d929 Improve capacity enhancing conditions c6a1172 Add pointer cast to pacify warnings. 9a76a0b Move mrb_assert() position. 5d0b945 Merge pull request #3371 from takjn/removed_unnecessary_escape_charcter f53f73f Should not deallocate shared string referring static; fix #3373 fe0884f Removed ununnecessary escape character '\' for MRUBY_XXX in libmruby.flags.mak 36f5b44 Add new method Kernel#frozen?; ref #3370 a10f85f Merge pull request #3369 from ksss/fix-str-prepend 2e0c2b5 Add mrb_hash_modify() to Hash#{delete,clear}; ref #3370 eeca6ec Rewrite String#prepend with Ruby bc1259d add explicit casts f388b6d use size_t instead of int 158a6ab Merge pull request #3367 from ksss/str-modify 8a9a241 Fix memory error on str_buf_cat 30b6648 Small refactoring: should use RSTR_CAPA 07167b8 Initialize potentially uninitialized variable tsec. 8b77979 Initialize potentially uninitialized variable z 1ed4de5 str_buf_cat(): better size check added; ref #3342 342b1de str_buf_cat(): should allocate at least RSTRING_EMBED_LEN_MAX+1. cfdd1e3 ary_expand_capa(): refine conditions to avoid infinite loop; ref #3353 9d84f0d ary_expand_capa(): size calculation by size_t; fix #3353 270ea41 method_missing() may have CALL_MAXARGS-1 arguments; fix #3351 803bf01 save/restore arena index around yield; ref #3359 6af8cc3 Merge pull request #3366 from ksss/splice caba1a1 Check array max size 30d5424 Merge pull request #3365 from ksss/freeze 5c1c002 Fix segv when primitive value 000a311 Merge pull request #3364 from ksss/string2 ede04d6 Merge pull request #3363 from ksss/string c626b82 Check overflow string length 0de65a8 Do nothing when empty string a68b568 Should call initialize method if defined 3cba13c Proc shouldn't have `initialize` method 70aa6dc Merge branch 'master' into android.rake-ndk-clang git-subtree-dir: mruby git-subtree-split: 964a02f1fa1eee2a977cada9f95315e4f8ce5e7a
- Loading branch information