summaryrefslogtreecommitdiffhomepage
path: root/mrblib
AgeCommit message (Collapse)Author
2015-10-20Remove obvious warnings from docsSeba Gamboa
2015-09-23remove a comment that no longer be true; 2cb6c27Yukihiro "Matz" Matsumoto
2015-09-22String#index should no longer take integer argumentYukihiro "Matz" Matsumoto
2015-09-16support String#[]= with 3 argstakahashim
2015-09-10add Hash#rehash to handle key modification; ref #2945Yukihiro "Matz" Matsumoto
2015-09-02Float << and >> should be more compatible to FixnumYukihiro "Matz" Matsumoto
2015-08-21enum.rb: refactor code (remove redundant code)go.kikuta
2015-08-21array.rb: refactor (use onliner code if possible)go.kikuta
2015-08-21string.rb: refactor code (remove redundant code)go.kikuta
2015-08-21numeric.rb: refactor code (Avoid using {...} for multi-line blocks, ↵go.kikuta
Surrounding space missing in default value assignment)
2015-08-21range.rb: refactor code (use ! instead of not, use favor modifier if and ↵go.kikuta
unless usage when having a single-line body)
2015-08-19array.rb: refactor some codego.kikuta
2015-08-17delete duplicate definition of Exception.exceptioncremno
It overwrote the original definition in src/error.c, line 446.
2015-08-03better hash value from enumerables; fix #2906Yukihiro "Matz" Matsumoto
2015-07-16Don't crash if pattern not found for subJared Breeden
2015-06-24Remove unnecessary backticks.Franck Verrot
Dr Markus Kuhn published in 1999 an article [1] explaining in details why we shouldn't use the ASCII grave accent (0x60) as a left quotation. Backticks have been used most notably to produce nice-looking LaTeX documents but it doesn't seem to be an issue on modern platforms and for the oldest ones, there are workarounds as mentioned by Dr Kuhn. [1]: https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
2015-06-08gsub/sub supports back references in substitutes. fixes #2816.Tomoyuki Sahara
This implementation is compatible with CRuby's String#gsub/sub except \1 ... \9 and \+. They are useless without Regexp library.
2015-05-29update mrblib/*.rb files to conform (some of) Rubocop checksYukihiro "Matz" Matsumoto
2015-01-31avoid block_given? in loop method for simplicityYukihiro "Matz" Matsumoto
2015-01-19String#[]= should support negative position; close #2707Yukihiro "Matz" Matsumoto
2015-01-14fix infinite loop in String#match(arg) when arg is Stringtakahashim
2014-12-25avoid block_given? in enum.rb to reduce method callsYukihiro "Matz" Matsumoto
2014-11-26Fix: Numeric#step infinite loop.TOMITA Masahiro
2014-10-02Change mrblib's source path to absolute pathHiroshi Mimaki
2014-09-02implement attr_reader and attr_writer in C; use cfunc closure to speed-upYukihiro "Matz" Matsumoto
2014-09-01attr_reader and attr_writer should return nilYukihiro "Matz" Matsumoto
2014-08-08move StopIteration to core; close #2518Yukihiro "Matz" Matsumoto
2014-07-12rescue SystemStackError that comes from inspecting self-referencing Hashes ↵Yukihiro "Matz" Matsumoto
and Arrays; fix #2461
2014-06-06Merge pull request #2359 from take-cheeze/src_gen_depYukihiro "Matz" Matsumoto
Add generator script to dependency so that it will regenerate C codes when it's modified.
2014-06-05remove mrblib/print.rb that only raise NotImplementedError; ref #2354Yukihiro "Matz" Matsumoto
2014-06-05remove eval (that only raises NotImplementedError) from the core; ref #2354Yukihiro "Matz" Matsumoto
2014-06-04Add generator script to dependency so that it will regenerate C codes when ↵take_cheeze
it's modified.
2014-06-02Implement `NoMethodError#args`.take_cheeze
2014-05-10Add comments to Hash methodsJun Hiroe
2014-05-10Merge pull request #2223 from yui-knk/fix-nameerrorYukihiro "Matz" Matsumoto
Delete unused NameError#new. And add test.
2014-05-10Change to raise TypeError (Hash#merge, #merge!)yui-knk
2014-05-10Delete unused NameError#new. And add test.yui-knk
2014-04-30use Kernel#__send__ insteard of Kernel#sendksss
2014-04-30remove trailing spacesNobuyoshi Nakada
2014-04-27re-apply 3644f1b since we have fixed GC bugYukihiro "Matz" Matsumoto
2014-04-26revert 3644f1b temporary since it caused SEGV only on Travis-CIYukihiro "Matz" Matsumoto
2014-04-26Refactoring Comparablemirichi
2014-04-25Refactoring Array#__svaluemirichi
2014-04-24Range#each fixnums are specialksss
2014-04-12retrieve values in Hash#each to handle modified keysYukihiro "Matz" Matsumoto
2014-04-07Hash#replace should copy default from original even when the default value ↵Yukihiro "Matz" Matsumoto
of the original is not set
2014-04-04Hash#replace should copy default as well; close #2004Yukihiro "Matz" Matsumoto
2014-04-04implement Hash#initialize in CYukihiro "Matz" Matsumoto
2014-04-04call to_hash before replacing hashYukihiro "Matz" Matsumoto
2014-04-04protect NoMethodError from calling to_hash in ==/eql?; close #2002Yukihiro "Matz" Matsumoto