summaryrefslogtreecommitdiffhomepage
path: root/mrbgems
AgeCommit message (Collapse)Author
2015-10-08print unicode on windows consoleYasuhiro Matsumoto
2015-10-04Add regression test for #2933INOUE Yasuyuki
2015-10-01Array#index to take block; fix #2968 close #2970Yukihiro "Matz" Matsumoto
2015-10-01Merge pull request #2960 from suzukaze/refactor-hash-ext-testYukihiro "Matz" Matsumoto
Refator Hash#fetch test
2015-10-01optimize if statement with constant conditionYukihiro "Matz" Matsumoto
2015-10-01Merge pull request #2961 from takahashim/regex_encYukihiro "Matz" Matsumoto
support Regexp literal option: //n and //u
2015-09-30fix tests on windows.Yasuhiro Matsumoto
'bin/mruby' not work on windows. so correct command name and quoted arguments.
2015-09-27Enumerable#each_{cons,slice} to return enumeratorsYukihiro "Matz" Matsumoto
2015-09-26Refator Hash.fetch testJun Hiroe
2015-09-26support Regexp literal option: //n and //utakahashim
2015-09-24UTF-8 string support in coreYukihiro "Matz" Matsumoto
define MRB_UTF8_STRING (in mrbconf.h) to enable UTF-8 support.
2015-09-23don't print anonymous struct class nameYukihiro "Matz" Matsumoto
2015-09-23mruby-struct gem refactoringYukihiro "Matz" Matsumoto
2015-09-17Problem: Hash#fetch doesn't raise KeyError when a key cannot be foundAsmod4n
Solution: change the Exception class raised to KeyError when a key cannot be found.
2015-09-16fix block variable in Hash#fetchtakahashim
2015-09-14instance_eval should set target_class; close #2936Yukihiro "Matz" Matsumoto
target_class should be singleton class of the receiver
2015-09-11Support windows localeYasuhiro Matsumoto
Add mrb_utf8_from_locale, mrb_utf8_free, mrb_locale_from_utf8, mrb_locale_free. Just works for windows.
2015-09-03Add build_mrbtest after config block is evaluatedZachary Scott
This allows us to add `enable_test` anywhere in a build target, without having to worry about the order in which they are included. Previously, there was a bug that occured when adding 'mruby-test' gem to dependencies before additional gems. Instead of adding the 'mruby-test' gem dependency manually to a test build, we now only need to call `enable_test` in the target. This also allows us to call `test_enabled?` downstream when running mruby tests ourselves. /cc #2924
2015-09-03clear DUMP_ENDIAN flags before settingYukihiro "Matz" Matsumoto
2015-09-03Merge pull request #2924 from zzak/mruby-testYukihiro "Matz" Matsumoto
Extract mrbtest to binary gem
2015-09-03unsigned long may be smaller than mrb_int; use uint64_t instead; fix #2935Yukihiro "Matz" Matsumoto
2015-09-02Merge pull request #2934 from zzak/masterYukihiro "Matz" Matsumoto
Typo in mruby-bin-debugger/mrbgem.rake
2015-09-01Typo in mruby-bin-debugger/mrbgem.rakeZachary Scott
2015-09-01mruby-test should be opt-inZachary Scott
2015-08-22Refactor test/mrbtest.rake and tasks/mrbgems_test.rake into mrbgem.rakeZachary Scott
2015-08-22Move test source code and rake task to mrbgemZachary Scott
2015-08-22Use #nil? instead of == nil.INOUE Yasuyuki
2015-08-11compiler: allow "class A end" by tweaking the superclass rule like CRuby2.3Yukihiro "Matz" Matsumoto
2015-08-10codegen: don't need to genop(); just update s->iseq directlyYukihiro "Matz" Matsumoto
2015-08-10codegen: add peep hole optimization to skip overridden OP_MOVEYukihiro "Matz" Matsumoto
2015-08-10codegen: reserve stack region for OP_APOST; fix #2824Yukihiro "Matz" Matsumoto
2015-08-05add String#setbyte and String#byteslice to mruby-string-extYukihiro "Matz" Matsumoto
2015-08-01link libncurses when there's /usr/include/curses.h; fix #2905Yukihiro "Matz" Matsumoto
2015-07-29pop cmdarg in lambda body; fix [ruby-bug#11380]cremno
regression introduced by 2fe556d9c039839c20965a2c90dff703f04e40ec
2015-07-16delete mrb_free()-related non-NULL checkscremno
No need to optimize since a program only exits once and errors are rare. Also the mruby source code doesn't have these kind of checks elsewhere. The ones in {Time,Random}#initialize are kept because there it actually matters since initialization always happens and re-initialization is unlikely.
2015-07-15mrb_protect() to return the exception raised (with the state of true)Yukihiro "Matz" Matsumoto
2015-07-15remove unused variable declarationYukihiro "Matz" Matsumoto
2015-07-15Use class array instead of variadic.take_cheeze
2015-07-15Implement `mrb_protect`, `mrb_ensure`, `mrb_rescue`, `mrb_rescue_exceptions`.take_cheeze
(`mrb_rescue_exceptions` is mruby implementation of `rb_rescue2`.) Closes #2844, closes #2837.
2015-07-09use round for llround. some platform (ex: mingw32) doesn't have llround.Yasuhiro Matsumoto
2015-07-03Merge pull request #2871 from archSeer/patch-2Yukihiro "Matz" Matsumoto
Fix incorrect memory allocation of mrdb_state_new.
2015-07-03Merge pull request #2874 from cremno/fix-parser-oob-writeYukihiro "Matz" Matsumoto
Coverity: fix oob write by actually truncating buffer
2015-07-03fix oob write by actually truncating buffercremno
Found by Coverity scan of polyfox-moon: CID 121927 (#1 of 1): Out-of-bounds write (OVERRUN)
2015-07-02add missing fall through commentscremno
2015-07-02Fix incorrect memory allocation of mrdb_state_new.Blaž Hrastnik
As detected in a Coverity scan. https://scan8.coverity.com/reports.htm#v26153/p11375/fileInstanceId=6844472&defectInstanceId=2516000&mergedDefectId=75866
2015-06-29Merge pull request #2866 from jurriaan/fix-crashYukihiro "Matz" Matsumoto
Fix segfault found using afl-fuzz
2015-06-28Fix segfault found using afl-fuzzJurriaan Pruis
2015-06-28Rename extended xxxx class or module to xxxx class or module extensionJun Hiroe
2015-06-28Fix typo; Replace extensional with extendedJun Hiroe
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