summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2016-12-13Add assertion to make sure new capacity does not overflow.Yukihiro "Matz" Matsumoto
2016-12-13Make sure str->capa is under MRB_INT_MAX; fix #3342Yukihiro "Matz" Matsumoto
2016-12-13Fixed wrong condition in new_sym() that breaks symbol data.Yukihiro "Matz" Matsumoto
2016-12-13Failed to realloc irep->syms in certain condition.Yukihiro "Matz" Matsumoto
Also msym size changed to 512 from 256.
2016-12-12should not try to set classpath for frozen classes; ref #3340Yukihiro "Matz" Matsumoto
2016-12-12Merge pull request #3341 from kou/support-pkg-config-in-mrbgem-rakeYukihiro "Matz" Matsumoto
Support pkg-config in mrbgem.rake
2016-12-12freeze classes/modules; ref #3340Yukihiro "Matz" Matsumoto
2016-12-12freeze instance variables; ref #3340Yukihiro "Matz" Matsumoto
2016-12-12rename prefix RBASIC_ to MRB_; ref #3340Yukihiro "Matz" Matsumoto
2016-12-12Merge pull request #3340 from k0kubun/object-freezeYukihiro "Matz" Matsumoto
Implement Object#freeze
2016-12-11Support pkg-config in mrbgem.rakeKouhei Sutou
Example usage: MRuby::Gem::Specification.new('mruby-onig-regexp') do |spec| # ... if spec.search_package('onigmo') # Use onigmo.h when onigmo.pc exist. spec.cc.defines += ["HAVE_ONIGMO_H"] elsif spec.search_package('oniguruma') # Use oniguruma.h when oniguruma.pc exist. spec.cc.defines += ["HAVE_ONIGURUMA_H"] else # Use bundled Onigmo otherwise. # ... end end
2016-12-11Implement Object#freezeTakashi Kokubun
2016-12-10Merge pull request #3329 from bouk/reuseYukihiro "Matz" Matsumoto
Mark all the built-in classes during GC sweep
2016-12-10Merge branch 'bouk-negate'Yukihiro "Matz" Matsumoto
2016-12-10Merge pull request #3324 from bouk/mruby/bouk-negateYukihiro "Matz" Matsumoto
Don't generate code for NODE_NEGATE if the result isn't used Reported by https://hackerone.com/haquaman
2016-12-10gc.c: dead_slot is boolean; ref #3339Yukihiro "Matz" Matsumoto
2016-12-10Merge pull request #3339 from kazuho/kazuho/retain-page-with-tt-envYukihiro "Matz" Matsumoto
do not destroy a page with an active TT_ENV
2016-12-10do not destroy a page with an active TT_ENV (e.g. an env referred from TT_FIBER)Kazuho Oku
2016-12-10Clear parsing_heredoc at the end of fileYukihiro "Matz" Matsumoto
2016-12-10Merge pull request #3338 from bouk/break-127Yukihiro "Matz" Matsumoto
Fix segfault in gen_values with NOVAL and more than 127 args
2016-12-09Fix segfault in gen_values with NOVAL and more than 127 argsBouke van der Bijl
2016-12-09Merge pull request #3337 from bouk/undef-127Yukihiro "Matz" Matsumoto
Fix segfault when undef is called with more than 126 arguments
2016-12-08Fix segfault when undef is called with exactly 127 argumentsBouke van der Bijl
The issue is that when there are more than 126 arguments an array needs to be created to pass the arguments on with. Reported by https://hackerone.com/revskills
2016-12-09Merge pull request #3336 from AltimitSystems/string.const.macroYukihiro "Matz" Matsumoto
Removed unnecessary const macro - const keyword is already a dependency
2016-12-08Removed unnecessary const macro - const keyword is already a dependencyFelix Jones
2016-12-08Merge pull request #3335 from mattn/fix-vs2013Yukihiro "Matz" Matsumoto
fix build on vs2013-vs2015
2016-12-08disable define const on VSYasuhiro Matsumoto
2016-12-08fix build on vs2013-vs2015Yasuhiro Matsumoto
2016-12-08Merge pull request #3331 from dabroz/feature-load-execYukihiro "Matz" Matsumoto
Promote load_exec to mruby API as mrb_load_exec (fixes #3248)
2016-12-08Merge pull request #3333 from kazuho/kazuho/mrb_gc_unregisterYukihiro "Matz" Matsumoto
fix issues of mrb_gc_unregister introduced in 09b1185
2016-12-08fix issues of mrb_gc_unregister introduced in 09b1185Kazuho Oku
* fixes partial copy of objects in GC root array (due to missing `* sizeof(mrb_value)`) * restores the behavior that permitted an unregistered object to be used as an argument
2016-12-07Promote load_exec to mruby API as mrb_load_exec (fixes #3248)Tomasz Dąbrowski
2016-12-07Don't generate code for NODE_NEGATE if the result isn't usedBouke van der Bijl
Reported by https://hackerone.com/haquaman
2016-12-07Mark all the built-in classes during GC sweepBouke van der Bijl
Reported by https://hackerone.com/haquaman
2016-12-08Merge pull request #3328 from shugo/hash-dup-default_procYukihiro "Matz" Matsumoto
Copy default_proc by Hash#dup.
2016-12-08Merge pull request #3327 from AltimitSystems/errno.macroYukihiro "Matz" Matsumoto
Removed the errno declaration from string.c
2016-12-07Removed the errno declaration from string.cFelix Jones
2016-12-07Copy default_proc by Hash#dup.Shugo Maeda
2016-12-07Wrapped string.c errno with ifndef macro for platforms that use inbuilt ↵Felix Jones
errno macro
2016-12-07Merge pull request #3325 from kazuho/kazuho/detect-64bitYukihiro "Matz" Matsumoto
set `MRB_64BIT` if the sizeof(size_t) is 8
2016-12-07set `MRB_64BIT` if the sizeof(size_t) is 8Kazuho Oku
2016-12-06Add type check for cls before allocationYukihiro "Matz" Matsumoto
2016-12-06Protect exceptions within main() functionYukihiro "Matz" Matsumoto
2016-12-06Raise an exception in time_update_datetime().Yukihiro "Matz" Matsumoto
The function used to return NULL on error, but not checked in the caller site.
2016-12-05Merge pull request #3318 from bouk/splat-stackYukihiro "Matz" Matsumoto
Fix stack move segfaulting in OP_ARYCAT
2016-12-05Reorganize heredoc rules; fix #3273Yukihiro "Matz" Matsumoto
The following codes used to be SyntaxError: (1) a = <<-EOD; hello EOD (2) <<-EOD.bla begin k EOD end
2016-12-04Add symbol type check for Module#undef_methodYukihiro "Matz" Matsumoto
2016-12-03add MRB_API to mrb_float_read(); ref #3270Yukihiro "Matz" Matsumoto
2016-12-03Import locale insensitive strtod() from Ruby1.8; fix #3270Yukihiro "Matz" Matsumoto
The function was renamed to `mrb_float_read(const char*, char**)`.
2016-12-03Merge branch 'bouk-method-missing-segfault'Yukihiro "Matz" Matsumoto