summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2015-01-12fix Segmentation fault on Struct#inspect due to recursive Struct objecttakahashim
2015-01-10Merge pull request #2697 from cubicdaiya/use-sizeofYukihiro "Matz" Matsumoto
Use sizeof() instead of strlen().
2015-01-08Merge pull request #2696 from furunkel/masterYukihiro "Matz" Matsumoto
Properly implement directory tasks
2015-01-07Correctly handle relative pathsJulian Aron Prenner
2015-01-06Properly implement directory tasksJulian Aron Prenner
2015-01-04Merge pull request #2694 from cubicdaiya/use-mrb-exc-new-str-litYukihiro "Matz" Matsumoto
Use mrb_exc_new_str_lit().
2015-01-03Use mrb_exc_new_str_lit().Tatsuhiko Kubo
2015-01-03Merge pull request #2693 from cubicdaiya/remove-duplicate-declarationsYukihiro "Matz" Matsumoto
Removed duplicated declarations.
2015-01-03Removed duplicated declarations.Tatsuhiko Kubo
* `mrb_show_version()` * `mrb_show_copyright()`
2015-01-03Use sizeof() instead of strlen().Tatsuhiko Kubo
2015-01-03Merge pull request #2692 from cubicdaiya/error-handling-mrb-openYukihiro "Matz" Matsumoto
fixed error-handling for mrb_open().
2015-01-03fixed error-handling for mrb_open().Tatsuhiko Kubo
When mrb_open() is called again, it is not checked.
2015-01-03Merge pull request #2691 from deuwert/tidyup-test-timeYukihiro "Matz" Matsumoto
Round execution time
2015-01-03Round execution timeDaniel Bovensiepen
2015-01-03Add fflush() (2)sdottaka
2015-01-03Merge pull request #2690 from furunkel/masterYukihiro "Matz" Matsumoto
Set correct build dir for bins
2015-01-02Set correct build dir for binsJulian Aron Prenner
2015-01-01Merge pull request #2689 from cubicdaiya/remove-null-checksYukihiro "Matz" Matsumoto
Remove redundant NULL checks for mrb_malloc().
2015-01-01Remove redundant NULL checks for mrb_malloc().Tatsuhiko Kubo
2014-12-27Merge pull request #2687 from suzukaze/avoid_block_givenYukihiro "Matz" Matsumoto
Avoid block_given? in mrbgem:enum.rb to reduce method calls
2014-12-27Merge pull request #2686 from cubicdaiya/use-suitable-typeYukihiro "Matz" Matsumoto
Use suitable type.
2014-12-27Avoid block_given? in mrbgem:enum.rb to reduce method callsJun Hiroe
2014-12-27Use suitable type.Tatsuhiko Kubo
2014-12-26Socket::Option requires iij/mruby-pack.Tomoyuki Sahara
2014-12-26don't call undefined method. fixes #15.Tomoyuki Sahara
2014-12-26remove unused variables.Tomoyuki Sahara
2014-12-26syscalls may return sockaddr shorter than sizeof(struct sockaddr) on Linux.Tomoyuki Sahara
2014-12-26failed to add...Tomoyuki Sahara
2014-12-26debug UNIXSocket and UNIXServer.Tomoyuki Sahara
2014-12-26rewrite IO.for_fd.Tomoyuki Sahara
IO.for_fd should call IO#initialize to initialize the created object properly. It cannot be implemented in Ruby.
2014-12-26better error message.Tomoyuki Sahara
2014-12-25avoid block_given? in enum.rb to reduce method callsYukihiro "Matz" Matsumoto
2014-12-24Merge pull request #2685 from sdottaka/fix-typo-in-mruby-evalYukihiro "Matz" Matsumoto
mruby-eval: fix typo
2014-12-23khash.h: keep key/value table accessible from original hashtable during ↵Yukihiro "Matz" Matsumoto
resize; fix #2682
2014-12-23Merge pull request #2684 from kou/fix-splat-and-multiple-assignmentsYukihiro "Matz" Matsumoto
Fix splat and multiple assignments
2014-12-23mruby-eval: fix typosdottaka
2014-12-23Fix splat and multiple assignmentsKouhei Sutou
Case1: From variable Code: a = [1, 2, 3, 4, 5] b, c, *d = a p [a, b, c, d] Before: [[1, 2, 3, 4, 5], 1, 2, []] After: [[1, 2, 3, 4, 5], 1, 2, [3, 4, 5]] Ruby: [[1, 2, 3, 4, 5], 1, 2, [3, 4, 5]] Case2: From variables Code: a = [1, 2, 3] b = [4, 5, 6, 7] c, d, *e, f, g = *a, *b p [a, b, c, d, e, f, g] Before: [[1, 2, 3], [4, 5, 6, 7], 1, 2, [], 6, 7] After: [[1, 2, 3], [4, 5, 6, 7], 1, 2, [3, 4, 5], 6, 7] Ruby: [[1, 2, 3], [4, 5, 6, 7], 1, 2, [3, 4, 5], 6, 7] Case 3: "for" Code: a = [1, 2, 3, 4, 5, 6, 7] for b, c, *d, e, f in [a] do p [a, b, c, d, e, f] end Before: [[1, 2, 3, 4, 5, 6, 7], 1, 2, [], nil, nil] After: [[1, 2, 3, 4, 5, 6, 7], 1, 2, [3, 4, 5], 6, 7] Ruby: [[1, 2, 3, 4, 5, 6, 7], 1, 2, [3, 4, 5], 6, 7]
2014-12-20Merge pull request #2681 from sdottaka/mrdb-break-windowsYukihiro "Matz" Matsumoto
mrdb: fix that break command cannot handle Windows paths
2014-12-20mrdb: fix that break command cannot handle Windows pathssdottaka
Before fix: ``` $ mrdb c:\tmp\b.rb (c:\tmp\b.rb:1) break c:\tmp\b.rb:3 Class name 'c' is invalid. ``` After fix: ``` $ mrdb c:\tmp\b.rb (c:\tmp\b.rb:1) break c:\tmp\b.rb:3 Breakpoint 1: file c:\tmp\b.rb, line 3. ```
2014-12-19now retrieves number of arguments of blocks from OP_ENTER op code; close #2671Yukihiro "Matz" Matsumoto
2014-12-19block_given? should return correct value when called in blocks; close #2678Yukihiro "Matz" Matsumoto
avoid a loop to find parent's callinfo using mrb->c->cibase[env->cioff]
2014-12-19block_given? should return false on top-level; ref #2678Yukihiro "Matz" Matsumoto
2014-12-19mrdb, mirb: Add fflush() so that a external program can read output immediately.sdottaka
2014-12-18Merge pull request #35 from tmtm/fix-read-create-many-objectsTomoyuki Sahara
FIX: IO#read create a large number of objects.
2014-12-18FIX: IO#read create a large number of objects.TOMITA Masahiro
2014-12-17String#[]: float handling merged to #2677Yukihiro "Matz" Matsumoto
2014-12-17Merge branch 'h2so5-string-nil-index'Yukihiro "Matz" Matsumoto
2014-12-17try to convert not only nil but every objects to fixnums; ref #2677Yukihiro "Matz" Matsumoto
2014-12-17String#[] should reject nil indexh2so5
2014-12-17Merge pull request #33 from iij/revert-32-fix-read-create-many-objectsTomoyuki Sahara
Revert "FIX: IO#read create a large number of objects."