Simon Génier
df382dea73
Fix possible segfault when accessing backtrace with MRB_WORD_BOXING.
2015-02-05 15:12:21 -05:00
Yukihiro "Matz" Matsumoto
4957c85269
Merge pull request #2715 from suzukaze/fix-dump.c
...
Replace int with mrb_bool in dump_bigendian_p func
2015-02-03 07:23:09 +09:00
Jun Hiroe
b88c8b40d6
Replace int with mrb_bool in dump_bigendian_p func
2015-02-02 14:18:10 +09:00
Yukihiro "Matz" Matsumoto
bc9c47d518
allow endian specification of mrb files by mrbc -e/-E
...
`mruby -b` now accepts both big/little endian mrb (compiled binary) files.
`mrbc` generates mrb files in big endian for .mrb files and in native endian
for C files (with -B option specified) by default. If you are cross compiling,
you need to specify target endian by -e/-E options if it is different from
host endian.
2015-02-02 09:34:24 +09:00
Yukihiro "Matz" Matsumoto
089f1f6c75
block_given? should work with nested block; fix #2695 close #2712
2015-01-31 13:51:25 +09:00
Yukihiro "Matz" Matsumoto
02b54e5379
avoid block_given? in loop method for simplicity
2015-01-31 10:44:58 +09:00
Yukihiro "Matz" Matsumoto
f01882a8e0
Merge pull request #2714 from xxuejie/use-setter-macro-when-necessary
...
Use setter macro instead of directly setting values
2015-01-26 16:11:58 +09:00
Xuejie "Rafael" Xiao
d63e45a014
Use setter macro instead of directly setting values
2015-01-26 10:52:06 +08:00
Yukihiro "Matz" Matsumoto
23e69edd2d
Merge pull request #2713 from BenMorganIO/grammar-in-doc-updates
...
update grammar and preposition for debugger readme
2015-01-25 19:48:02 +09:00
Ben A Morgan
cc11ee15b4
update grammar and preposition for debugger readme
2015-01-25 02:01:46 -08:00
Yukihiro "Matz" Matsumoto
8af688e2c9
Merge pull request #2710 from sdottaka/fix-window-build
...
tasks/ruby_ext.rake: Fix build error when file path includes \1 or \2. ...
2015-01-23 01:15:44 +09:00
sdottaka
a99fb39dc1
tasks/ruby_ext.rake: Fix build error when file path includes \1 or \2. #2709
2015-01-22 20:27:29 +09:00
Yukihiro "Matz" Matsumoto
8aba34301b
String#[]= should support negative position; close #2707
2015-01-19 22:13:34 +09:00
Yukihiro "Matz" Matsumoto
d764632f86
Merge pull request #2680 from sdottaka/add-fflush
...
mrdb, mirb: Add fflush() so that a external program can read output imme...
2015-01-19 08:30:52 +09:00
Yukihiro "Matz" Matsumoto
1c48be7822
Merge pull request #2706 from furunkel/master
...
Don't use Build.current if possible
2015-01-19 00:13:14 +09:00
Julian Aron Prenner
959a5cff60
Don't use Build.current if possible
2015-01-18 15:45:48 +01:00
Yukihiro "Matz" Matsumoto
7137ee88b5
Merge pull request #2705 from sdottaka/mrdb-step-into-proc-call
...
mrdb: fix crash when stepping into Proc.call
2015-01-18 20:24:46 +09:00
Yukihiro "Matz" Matsumoto
f9e43724bf
Merge pull request #2704 from takahashim/update-version-readme
...
update stable version number in README
2015-01-18 12:11:26 +09:00
sdottaka
af51a4ac9d
mrdb: fix crash when stepping into Proc.call
...
How to reproduce:
```
cat a.rb
Proc.new { 1 }.call
echo step | mrdb a.rb
```
2015-01-18 10:00:56 +09:00
takahashim
c0f5be7858
update stable version number in README
2015-01-18 00:45:41 +09:00
Yukihiro "Matz" Matsumoto
16884b87af
Merge pull request #2702 from takahashim/fix-string-match
...
fix infinite loop in String#match(arg) when arg is String
2015-01-14 09:33:41 +09:00
takahashim
bcceeba09b
fix infinite loop in String#match(arg) when arg is String
2015-01-14 02:18:56 +09:00
Yukihiro "Matz" Matsumoto
d405eb5541
Merge pull request #2701 from suzukaze/string.upto
...
Add String#upto
2015-01-13 20:27:19 +09:00
Jun Hiroe
e998094297
Add String#upto
2015-01-13 16:32:30 +09:00
Yukihiro "Matz" Matsumoto
4aef1ad209
Merge pull request #2700 from takahashim/string-ljust
...
add String#ljust into mruby-string-ext
2015-01-13 16:19:46 +09:00
Yukihiro "Matz" Matsumoto
1ab79ac414
Merge pull request #2699 from takahashim/fix-recursive-struct
...
fix Segmentation fault on Struct#inspect due to recursive Struct object
2015-01-13 16:18:50 +09:00
takahashim
1b606025ed
add String#ljust into mruby-string-ext
2015-01-12 22:16:29 +09:00
takahashim
9dff0aedb1
fix Segmentation fault on Struct#inspect due to recursive Struct object
2015-01-12 20:08:53 +09:00
Yukihiro "Matz" Matsumoto
53da1fb5a1
Merge pull request #2697 from cubicdaiya/use-sizeof
...
Use sizeof() instead of strlen().
2015-01-10 10:50:21 +09:00
Yukihiro "Matz" Matsumoto
70851aaf57
Merge pull request #2696 from furunkel/master
...
Properly implement directory tasks
2015-01-08 08:58:07 +09:00
Julian Aron Prenner
edf7729d89
Correctly handle relative paths
2015-01-07 09:31:30 +01:00
Julian Aron Prenner
432afa2c42
Properly implement directory tasks
2015-01-06 21:23:19 +01:00
Yukihiro "Matz" Matsumoto
dc39d2290a
Merge pull request #2694 from cubicdaiya/use-mrb-exc-new-str-lit
...
Use mrb_exc_new_str_lit().
2015-01-04 17:11:37 +09:00
Tatsuhiko Kubo
5fac7a73cb
Use mrb_exc_new_str_lit().
2015-01-03 23:34:13 +09:00
Yukihiro "Matz" Matsumoto
3c41ad4018
Merge pull request #2693 from cubicdaiya/remove-duplicate-declarations
...
Removed duplicated declarations.
2015-01-03 23:02:43 +09:00
Tatsuhiko Kubo
dae42ffe54
Removed duplicated declarations.
...
* `mrb_show_version()`
* `mrb_show_copyright()`
2015-01-03 22:56:36 +09:00
Tatsuhiko Kubo
2b753167ca
Use sizeof() instead of strlen().
2015-01-03 22:37:11 +09:00
Yukihiro "Matz" Matsumoto
465ce1e528
Merge pull request #2692 from cubicdaiya/error-handling-mrb-open
...
fixed error-handling for mrb_open().
2015-01-03 21:10:19 +09:00
Tatsuhiko Kubo
df5f83cb84
fixed error-handling for mrb_open().
...
When mrb_open() is called again, it is not checked.
2015-01-03 20:56:49 +09:00
Yukihiro "Matz" Matsumoto
2c4b0eeff8
Merge pull request #2691 from deuwert/tidyup-test-time
...
Round execution time
2015-01-03 20:20:36 +09:00
Daniel Bovensiepen
a3111f144c
Round execution time
2015-01-03 17:53:32 +08:00
sdottaka
71548aabb7
Add fflush() (2)
2015-01-03 14:52:11 +09:00
Yukihiro "Matz" Matsumoto
3dea108857
Merge pull request #2690 from furunkel/master
...
Set correct build dir for bins
2015-01-03 13:04:20 +09:00
Julian Aron Prenner
1aef549971
Set correct build dir for bins
2015-01-02 14:47:57 +01:00
Yukihiro "Matz" Matsumoto
7d4b516ca3
Merge pull request #2689 from cubicdaiya/remove-null-checks
...
Remove redundant NULL checks for mrb_malloc().
2015-01-01 13:13:50 +09:00
Tatsuhiko Kubo
606095f2fe
Remove redundant NULL checks for mrb_malloc().
2015-01-01 05:12:41 +09:00
Yukihiro "Matz" Matsumoto
4046368ef3
Merge pull request #2687 from suzukaze/avoid_block_given
...
Avoid block_given? in mrbgem:enum.rb to reduce method calls
2014-12-27 20:12:55 +09:00
Yukihiro "Matz" Matsumoto
baa0ee4133
Merge pull request #2686 from cubicdaiya/use-suitable-type
...
Use suitable type.
2014-12-27 20:12:09 +09:00
Jun Hiroe
3a21c9b6d7
Avoid block_given? in mrbgem:enum.rb to reduce method calls
2014-12-27 18:17:29 +09:00
Tatsuhiko Kubo
093560e7d1
Use suitable type.
2014-12-27 10:18:18 +09:00