summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2017-03-05Merge pull request #3483 from ksss/string-indexYukihiro "Matz" Matsumoto
String#index shouldn't return nil when "".index ""
2017-03-05String#index shouldn't return nil when "".index ""ksss
2017-03-04Unshare popped TT_ENV objects.Yukihiro "Matz" Matsumoto
2017-03-04Limit ecall() recursion levels; fix #3466Yukihiro "Matz" Matsumoto
2017-03-04Avoid tracing shared TT_ENV object.Yukihiro "Matz" Matsumoto
2017-03-04Save/restore arena index in the loop.Yukihiro "Matz" Matsumoto
2017-03-02Define jmpbuf_id outside of `extern "C"`; ref #3470Yukihiro "Matz" Matsumoto
2017-03-02Use C++ ABI only when MRB_ENABLE_CXX_ABI is set; ref #3470Yukihiro "Matz" Matsumoto
2017-03-02Fixed a bug in register size calculation; fix #3479Yukihiro "Matz" Matsumoto
2017-03-02The method_missing removal condition in a76dc04a was wrong.Yukihiro "Matz" Matsumoto
2017-03-02Fix possible stack overflow for `method_missing`; fix #3478Yukihiro "Matz" Matsumoto
Instead of shifting mruby VM stack, we always use CALL_MAXARGS.
2017-03-02Reorganize C++ exceptions; ref #3470Yukihiro "Matz" Matsumoto
There are 3 levels of C++ exception handling: * default - no C++ exception (use setjmp/longjmp) * enable_cxx_exception (use C++ exceptions with C ABI) * enable_cxx_abi (use C++ ABI including exceptions)
2017-03-02Create NoMethodError instance using `mrb_obj_new()`.Yukihiro "Matz" Matsumoto
2017-03-02Avoid using <mruby/throw.h> in mruby.cYukihiro "Matz" Matsumoto
2017-03-01`ci` may be moved during `mrb_convert_type()`; ref #3474Yukihiro "Matz" Matsumoto
2017-03-01Keep space for safe navigation operator; fix #3475Yukihiro "Matz" Matsumoto
2017-03-01Newlines in strings should be counted; fix #3477Yukihiro "Matz" Matsumoto
2017-02-28Compile C files by C compiler when C++ files mixed.Yukihiro "Matz" Matsumoto
ref #3267 #3470 By this commit, mruby do not use C++ ABI mode unless you specify explicitly. It compiles C files by C compilers, with C++ exception enabled when it sees C++ files in your configured mrbgems. I haven't tried visualcpp, so please submit an issue if you see any problem with C++ gems on Windows.
2017-02-28Ignore empty ensure clause.Yukihiro "Matz" Matsumoto
2017-02-28`return` (and `break`) should handle splat correctly; fix #3472Yukihiro "Matz" Matsumoto
2017-02-28Fix NODE_DREGX dump; ref #3471Yukihiro "Matz" Matsumoto
2017-02-28Fixed a bug in dregex option generation; fix #3471Yukihiro "Matz" Matsumoto
2017-02-28Update codegen.c commentsYukihiro "Matz" Matsumoto
2017-02-28Fix integer overflow; fix #3473Yukihiro "Matz" Matsumoto
The fix is suggested by https://hackerone.com/lucnguyen
2017-02-28Add type check by mrb_get_args(); ref #3476Yukihiro "Matz" Matsumoto
2017-02-28Add check before calling str_substr(); ref #3476Yukihiro "Matz" Matsumoto
2017-02-28Check if the value is fixnum before mrb_funcall(); fix #3476Yukihiro "Matz" Matsumoto
The issue is reported by https://hackerone.com/aerodudrizzt
2017-02-27Remove default Kernel#method_missing.Yukihiro "Matz" Matsumoto
Internal method_missing works without problems.
2017-02-27Check if OP_RETURN cross C function boundary; fix #3462Yukihiro "Matz" Matsumoto
2017-02-27Fixed ecall() invoked too early; fix #3464Yukihiro "Matz" Matsumoto
2017-02-27Update local variable only after the value is checked.Yukihiro "Matz" Matsumoto
2017-02-27Clear block arg when method_missing takes *args.Yukihiro "Matz" Matsumoto
2017-02-27Stack may be reallocated in mrb_run(); fix #3465Yukihiro "Matz" Matsumoto
2017-02-27Always keep block argument space in stack; fix #3469Yukihiro "Matz" Matsumoto
2017-02-27Merge pull request #3458 from dabroz/gitlab-ciYukihiro "Matz" Matsumoto
GitLab.com tests for multiple configurations
2017-02-24Merge pull request #3461 from iij/build-with-byaccYukihiro "Matz" Matsumoto
Build with byacc
2017-02-24replace "yylval" with "pylval" to make it compile with byacc.Tomoyuki Sahara
2017-02-17Merge pull request #3460 from AltimitSystems/android.rake-ndk-clangYukihiro "Matz" Matsumoto
Additional options for Android build script.
2017-02-16Added example build script for Android armeabi-v7a NEON hardware FPUFelix Jones
2017-02-16Android toolchain separated target architecture compile flags (ctarget) from ↵Felix Jones
shared compile flags (cflags). Added support for custom mfpu and float-abi switches for the armeabi-v7a target.
2017-02-16Configure callinfo target_class as CRuby; ref #3429Yukihiro "Matz" Matsumoto
2017-02-16Merge pull request #3457 from dabroz/fix-clang-32-64Yukihiro "Matz" Matsumoto
Build fix for 32-bit clang 3.8/3.9 with MRB_INT64
2017-02-16Avoid executing OP_STOP in eval(); fix #3429Yukihiro "Matz" Matsumoto
2017-02-16Adjust callinfo env and target_class; ref #3429Yukihiro "Matz" Matsumoto
2017-02-16Merge branch 'master' into android.rake-ndk-clangFelix Jones
2017-02-16Gitlab tests for multiple configurationsTomasz Dabrowski
Gitlab testing is introduced, using GitLab CI, to test many different configurations: - 32/64 bit architecture - float/double - 16/32/64 bit int size - none/NaN/word boxing - ASCII/UTF8 using various compilers: - gcc-4.7 - gcc-4.8 - gcc-4.9 - gcc-5 - gcc-6 - clang-3.5 - clang-3.6 - clang-3.7 - clang-3.8 - clang-3.9
2017-02-16Build fix for 32-bit clang 3.8/3.9 with MRB_INT64Tomasz Dabrowski
2017-02-15Move #instance_exec to Kernel moduleYukihiro "Matz" Matsumoto
CRuby defines #instance_exec in BasicObject, but we don't. It's a small incompatibility that isn't worth accomplish at the price of implementation complexity.
2017-02-15Move #__id__ to BasicObject; ref #3417Yukihiro "Matz" Matsumoto
2017-02-15Move #instance_eval to BasicObject; ref #3417Yukihiro "Matz" Matsumoto