summaryrefslogtreecommitdiffhomepage
path: root/mrbgems
AgeCommit message (Collapse)Author
2014-07-17Merge pull request #2475 from take-cheeze/full_core_listYukihiro "Matz" Matsumoto
Check mrbgem.rake instead of directory to ignore empty directories in full-core gembox.
2014-07-16Check mrbgem.rake instead of directory to ignore empty directories in full-core.take_cheeze
2014-07-16need to call write_barrier on every fiber context switchYukihiro "Matz" Matsumoto
2014-07-16remove unused local variables; ref #2473Yukihiro "Matz" Matsumoto
2014-07-15Implement string compiling `instance_eval` method.take_cheeze
2014-07-15fiber stack allocation size should be bigger than irep->nregsYukihiro "Matz" Matsumoto
2014-07-13use C style comments instead of C++ style commentsTatsuhiko Kubo
2014-07-12Run mrbgem and core tests on minimum dependencies.take_cheeze
Solves #2355. In test drivers: * Uses `mrb_t_pass_result` to check and pass test result to main `mrb_state`. * Adds `mrb_init_test_driver` to init test `mrb_state`.
2014-07-12remove spaces after open parensYukihiro "Matz" Matsumoto
2014-07-12initialize `args` in `parse_args`cremno
2014-07-12coding style adjustmentscremno
2014-07-12update expected error message in bintestcremno
2014-07-12rewrite strippingcremno
Previous version ignored some errors, and didn't free memory and close files. Now no memory will be dynamically allocated to simplify error handling. This commit also fixes a wrong check: files[i] = fopen(argv[i], "wb"); if (!ireps[i]) { Improve error messages a bit and add missing newline to one.
2014-07-12check `mrb_open` return valuecremno
2014-07-12Add `SyntaxError` test and don't print compilation error to stderr in eval.take_cheeze
2014-07-12Use `mrb_parse_nstring` instead in eval.take_cheeze
2014-07-12call `mrb_malloc_simple` instead of `malloc`cremno
2014-07-11allocate `history_path` dynamicallycremno
`PATH_MAX` doesn't have to be defined and if it is, then its value is usually incorrect (possible buffer overflow). Use `malloc` and `snprintf` instead to prevent this. https://www.gnu.org/software/hurd/community/gsoc/project_ideas/maxpath.html
2014-07-11remove spaces after open parensYukihiro "Matz" Matsumoto
2014-07-09initialize `args` in `parse_args`cremno
2014-07-09coding style adjustmentscremno
2014-07-09update expected error message in bintestcremno
2014-07-09rewrite strippingcremno
Previous version ignored some errors, and didn't free memory and close files. Now no memory will be dynamically allocated to simplify error handling. This commit also fixes a wrong check: files[i] = fopen(argv[i], "wb"); if (!ireps[i]) { Improve error messages a bit and add missing newline to one.
2014-07-09check `mrb_open` return valuecremno
2014-07-09Add `SyntaxError` test and don't print compilation error to stderr in eval.take_cheeze
2014-07-09Use `mrb_parse_nstring` instead in eval.take_cheeze
2014-07-09Clean up value.h and mrb_value boxingDavid Turnbull
2014-07-03fiber stack should not be cleared by zero when MRB_NAN_BOXING is set; close ↵Yukihiro "Matz" Matsumoto
#2439
2014-07-02Use `MRB_ARGS_ARG(n, o)` instead of `MRB_ARGS_REQ(n) | MRB_ARGS_OPT(o)`.take_cheeze
2014-07-02time overflow check; ref #2337Yukihiro "Matz" Matsumoto
2014-06-30Use `TRUE` instead of `1` in mirb code.take_cheeze
2014-06-29Reduce warning for enumerationksss
22 enumeration values not handled in switch: 'MRB_TT_FALSE', 'MRB_TT_FREE', 'MRB_TT_TRUE'... [-Wswitch]
2014-06-28ObjectSpace.each_object should filter out internal (i.e. obj->c == NULL) ↵Yukihiro "Matz" Matsumoto
objects; ref #2429
2014-06-28Fix crash in method call in `ObjectSpace.each_object` block.take_cheeze
* Filter `MRB_TT_ENV` and `MRB_TT_ICLASS`. * Set `mrb->string_class` in `mrb_init_exception` instead.
2014-06-25Implement Proc#parametersksss
2014-06-24add a few const qualifierSanta Zhang
2014-06-24Add `Symbol#intern`.take_cheeze
2014-06-23Reduce string creation in `Symbol#casecmp` by using `case!`.take_cheeze
2014-06-23Reduce string creation of `length`, `size`, `empty?` method of `Symbol` ↵take_cheeze
extension.
2014-06-23Reduce new string creation in `capitalize`, `downcase`, `upcase` method of ↵take_cheeze
`Symbol` class extension. Add test to check unmodified result is working.
2014-06-19Raise `NameError` as defined in specification when `Struct` member isn't found.take_cheeze
2014-06-19Add tests to `Struct#[]` and `Struct#[]=`.take_cheeze
2014-06-19Replace return value result passing with `assert_*` in `Struct` test.take_cheeze
2014-06-19Modify return value of String#slice! if idx == self.sizeAkito Mochizuki
2014-06-17Merge pull request #2396 from take-cheeze/superclass_checkYukihiro "Matz" Matsumoto
Move direct superclass checking to `test/t/superclass.rb`.
2014-06-15Implement String#slice_bangJun Hiroe
2014-06-15Test all ISO defined classes direct superclass except `Object` class.take_cheeze
Move mrbgems ISO direct superclass test to `superclass.rb`. Skips test if class isn't defined. Close #2332.
2014-06-11String#clear: use String#replace to simpleksss
2014-06-11Add NOFREE macrosJun Hiroe
2014-06-09Merge pull request #2376 from kou/patch-1Yukihiro "Matz" Matsumoto
Add a missing space after ","