Commit Graph

3807 Commits

Author SHA1 Message Date
Keita Obo c4e5a8b167 Fix self value in a block is changed with return value for Fixnum, nil, instance variable.
Fix #1504
2013-09-18 00:57:23 +09:00
Keita Obo 0bce3a36d2 Fixed self value in a block is changed with return value
fix #1504
2013-09-18 00:20:13 +09:00
Yukihiro "Matz" Matsumoto ccadbbeb84 Merge pull request #1501 from iij/pr_fix_read_debug_section
Fix checking return value of fread()
2013-09-12 01:42:56 -07:00
Akito Mochizuki b840a6a813 Fix checking return value of fread() 2013-09-10 14:50:18 +09:00
Yukihiro "Matz" Matsumoto 668a0466c5 Merge pull request #1500 from take-cheeze/debug_info_file_updating
Fix insufficient preparation to call mrb_debug_info_append_file.
2013-09-07 09:50:02 -07:00
take_cheeze af73a740cd check file debug info is appended correctly 2013-09-07 20:25:53 +09:00
take_cheeze 8c738e348f remove unnecessary scope filename update 2013-09-07 20:23:18 +09:00
take_cheeze 4308932231 update filename before appending file debug info 2013-09-07 20:22:16 +09:00
take_cheeze 10fecc2375 fix line getting handler of line_ary 2013-09-07 20:17:39 +09:00
Yukihiro "Matz" Matsumoto 385e5d6e83 resolve conflict 2013-09-04 21:50:45 +09:00
Yukihiro "Matz" Matsumoto b8d5f0f65c Merge pull request #1497 from cremno/msvc-debug-info-feature
MSVC: compilation works again (+minor style fixes)
2013-09-04 05:47:15 -07:00
Yukihiro "Matz" Matsumoto 179a0a70c7 Merge pull request #1496 from cremno/bug-debug-info-free
BUG: mrb_irep_free (access of freed memory)
2013-09-04 05:46:01 -07:00
take_cheeze cc64e6e2b2 add comment to mrb_assert in src/debug.c 2013-09-04 12:19:17 +09:00
take_cheeze 157a5529c5 check returning line entry pointer is greater or equal to the first line entry pointer 2013-09-04 12:05:49 +09:00
take_cheeze 872f76e68e fix wrong assertion fail when debug info contains more than one files 2013-09-04 11:55:51 +09:00
Cremno 12997cebc3 BUG: mrb_irep_free (access of freed memory) 2013-09-03 21:21:49 +02:00
Cremno 501df71833 MSVC: compilation works again (+minor style fixes) 2013-09-03 21:15:14 +02:00
Yukihiro "Matz" Matsumoto 2fe64f24f8 remove Exception#verbose_backtrace; #1495 2013-09-03 15:52:35 +09:00
take_cheeze d606f9d33f fix line number after first file 2013-09-03 00:29:49 +09:00
take_cheeze 968f5d2a27 improve checkings in debug.c 2013-09-03 00:00:07 +09:00
take_cheeze 3df8686259 don't use RArray in filename table generating 2013-09-02 22:46:57 +09:00
take_cheeze 8588c54452 declare variable outside for 2013-09-02 22:12:55 +09:00
take_cheeze addb57f7e5 better line type selector 2013-09-02 00:48:08 +09:00
take_cheeze 61e3598893 support c++ in mruby/debug.h 2013-09-02 00:48:08 +09:00
take_cheeze bd5afe9eef rename debug function name 2013-09-02 00:48:07 +09:00
take_cheeze 0b806ca17b reduce node size 2013-09-02 00:48:07 +09:00
take_cheeze 8082a37748 use uint16_t for line type 2013-09-02 00:48:06 +09:00
take_cheeze 3d1fffbd6b support multiple filename in irep 2013-09-02 00:48:06 +09:00
take_cheeze bc131350d4 print singleton class name in verbose backtrace 2013-09-02 00:48:06 +09:00
take_cheeze d12b6ab218 add verbose_backtrace 2013-09-02 00:48:06 +09:00
take_cheeze d19d9bb047 fix crash in 2nd call to vsnprintf 2013-09-02 00:48:05 +09:00
take_cheeze 596cd3f6e7 add Exception#backtrace test 2013-09-02 00:48:05 +09:00
Yukihiro "Matz" Matsumoto ad5c408c7b revert #1470; fix #1493 2013-08-31 14:19:15 +09:00
Yukihiro "Matz" Matsumoto fee7a55381 Merge pull request #1492 from pbosetti/master
Removed unnecessary #undef ISPRINT in include/mruby.h
2013-08-30 00:30:20 -07:00
Paolo Bosetti 51c51290d2 Removed unnecessary #undef ISPRINT in include/mruby.h 2013-08-29 18:56:11 +02:00
Yukihiro "Matz" Matsumoto b6cbaaa7f1 Merge pull request #1491 from dmajkic/master
Remove function delarations not implemented in code
2013-08-27 19:41:15 -07:00
Yukihiro "Matz" Matsumoto 9cc5797894 Merge pull request #1486 from iij/pr-typeerror-string-start-end-with
Crash if you call String#start_with/end_with with non-String arguments.
2013-08-27 19:39:05 -07:00
Dusan D. Majkic e2bdd8cd47 Remove function delarations not implemented in code 2013-08-27 14:57:36 +02:00
Tomoyuki Sahara f77dc2e6cb Merge branch 'mruby' into pr-typeerror-string-start-end-with
Conflicts:
	mrbgems/mruby-string-ext/src/string.c
	mrbgems/mruby-string-ext/test/string.rb
2013-08-26 23:20:22 +09:00
Yukihiro "Matz" Matsumoto 91b878e5df Merge pull request #1485 from fjmilens3/string_end_with
Bug in String#end_with? resulting from incorrect length determination
2013-08-26 04:17:20 -07:00
Yukihiro "Matz" Matsumoto b11ae3fddb Merge pull request #1484 from fjmilens3/string_start_with
Bug in String#start_with? resulting from incorrect length determination
2013-08-26 04:16:50 -07:00
Yukihiro "Matz" Matsumoto 975d670ab7 Merge pull request #1490 from take-cheeze/cxx_extension
support file extension .cpp/.cxx in mrbgem and tool
2013-08-26 04:16:13 -07:00
take_cheeze b6ab216f97 support file extension .cpp/.cxx in mrbgem and tool 2013-08-26 17:56:49 +09:00
Yukihiro "Matz" Matsumoto 26839b9c24 Merge pull request #1487 from h2so5/z-option-with-shared-string
Fix a problem of 'z' option and shared string
2013-08-26 00:41:14 -07:00
Yukihiro "Matz" Matsumoto f3c8cf6735 do not use mrb_alloca() that keeps memory until mrb_state freed 2013-08-26 16:33:27 +09:00
Yukihiro "Matz" Matsumoto f18837886c add cast to void* 2013-08-26 16:10:42 +09:00
Yukihiro "Matz" Matsumoto dd4b7ead7e undef print_backtrace_i() unless ENABLE_STDIO 2013-08-26 16:00:37 +09:00
Yukihiro "Matz" Matsumoto ee7f2c8cf7 Merge branch 'get-backtrace' of https://github.com/wanabe/mruby into wanabe-get-backtrace 2013-08-26 15:58:31 +09:00
wanabe 7007ce7ce0 add Exception#backtrace 2013-08-25 01:18:01 +09:00
h2so5 23df879a81 Fix a problem of 'z' option and shared string 2013-08-24 06:52:46 +09:00