Commit Graph

1047 Commits

Author SHA1 Message Date
Yukihiro Matsumoto 48c73ac630 less <stdio.h> 2012-07-13 10:13:47 +09:00
Yukihiro Matsumoto fbd5305c1b remove comma from OP_ERR 2012-07-13 10:11:11 +09:00
Yukihiro Matsumoto ae2cd24afb remove st.h inclusion 2012-07-13 00:24:44 +09:00
Yukihiro Matsumoto 9e64e753a2 remove double stdio.h inclusion 2012-07-12 23:59:13 +09:00
Yukihiro Matsumoto 25aea66a33 Merge branch 'master' of github.com:mruby/mruby 2012-07-11 18:40:59 +09:00
Yukihiro Matsumoto 0ebf5c0a6f local variable order was screwed up in parser_init_cxt(); close #360 2012-07-11 18:40:37 +09:00
Yukihiro "Matz" Matsumoto 76851fc38a Merge pull request #361 from bovi/test-ary-corruption
Add a Test Case for #359 Array Corruption
2012-07-10 06:11:04 -07:00
Daniel Bovensiepen e8b5309080 Add a Test Case for #359 Array Corruption 2012-07-10 15:11:31 +08:00
Yukihiro "Matz" Matsumoto 1855c7ae1d Merge pull request #359 from masamitsu-murase/modify_array_clear
Add ary_modify to prevent corrupting shared array.
2012-07-09 17:00:56 -07:00
Yukihiro "Matz" Matsumoto 15f7b64b66 Merge pull request #358 from masamitsu-murase/authors
Could you add me to AUTHORS?
2012-07-09 17:00:25 -07:00
Yukihiro "Matz" Matsumoto eddb273fa9 Merge pull request #357 from suzukaze/replace-tab-with-spaces
Replace Tab with spaces in src/parse.y
2012-07-09 16:59:54 -07:00
Masamitsu MURASE 6b165d1b40 Could you add me to AUTHORS? 2012-07-10 01:25:56 +09:00
Masamitsu MURASE b9215a01f9 Add ary_modify to prevent corrupting shared array. 2012-07-10 01:23:26 +09:00
suzukaze beda4d928a replace Tab with spaces in src/parse.y 2012-07-10 00:31:45 +09:00
Yukihiro Matsumoto 158e1e6fce should remove memset initialization; update 7496625 2012-07-09 13:28:13 +09:00
Yukihiro Matsumoto 7496625fc3 initialize stuctures on stack without memset(); close #350 2012-07-09 11:50:48 +09:00
Yukihiro Matsumoto c320137055 Merge branch 'master' of github.com:mruby/mruby 2012-07-09 11:42:24 +09:00
Yukihiro Matsumoto 0e2a81740a we don't need xmalloc; close #356 2012-07-09 11:42:15 +09:00
Yukihiro "Matz" Matsumoto 8cef93d228 Merge pull request #355 from monaka/pr-use-mrb_calloc
Use mrb_calloc if you want zero cleard buffers.
2012-07-08 19:40:17 -07:00
Yukihiro "Matz" Matsumoto 78614b2391 Merge pull request #354 from bovi/test-modules
Add tests for Modules
2012-07-08 19:36:03 -07:00
Masaki Muranaka 611cf71a10 Use mrb_calloc if you want zero cleard buffers. 2012-07-08 11:33:49 +09:00
Daniel Bovensiepen 0c10becf91 Add tests for Modules #append_features, #include, #included and #included_modules 2012-07-08 04:44:55 +08:00
Yukihiro "Matz" Matsumoto 15ac09f884 Merge pull request #353 from masamitsu-murase/modify_module_inclusion
Improvement of Module#include.
2012-07-07 08:30:26 -07:00
Yukihiro "Matz" Matsumoto 5b418a37ac Merge pull request #352 from monaka/pr-range-check-optimization-array.c
Optimize range check.
2012-07-07 08:27:58 -07:00
Yukihiro "Matz" Matsumoto 7eb86a4aaf Merge pull request #351 from monaka/pr-brush-up-mrb_calloc
Brush up mrb_calloc().
2012-07-07 08:27:07 -07:00
Yukihiro Matsumoto 3b8ad4c30c small cosmetic change 2012-07-08 00:24:07 +09:00
Yukihiro Matsumoto 0d99856b57 proper type check when creating a range; #345 2012-07-08 00:20:56 +09:00
Yukihiro Matsumoto becb7e9877 .. is weaker than == 2012-07-08 00:19:40 +09:00
Masamitsu MURASE 9f814a4e6e Improvement of Module#include.
- Add some methods: append_features, included_methods and included.
- Modify Module#include to call append_features and included.
2012-07-07 23:04:09 +09:00
Masaki Muranaka 312b2c7b16 Optimize range check. 2012-07-07 16:30:52 +09:00
Masaki Muranaka a064038d85 Add a check for unsigned integer wrapping. 2012-07-07 12:38:07 +09:00
Masaki Muranaka 47407768fd Fix underlying bugs. mrb_calloc will be crashed in case "nelem == 0" or "p == NULL" 2012-07-07 12:09:59 +09:00
Masaki Muranaka e896c1cee3 Range optimization. similar to #348 2012-07-07 09:23:00 +09:00
Yukihiro Matsumoto 8268ba2755 remove MRB_TT_THREAD,MRB_TT_THREADGRP 2012-07-06 19:52:50 +09:00
Yukihiro Matsumoto 84ec555ecd range optimization from @monaka; close #348 2012-07-06 19:50:44 +09:00
Yukihiro Matsumoto dfaa5c9506 Merge branch 'master' of github.com:mruby/mruby 2012-07-06 19:47:48 +09:00
Yukihiro Matsumoto 4406a08d58 remove debug printf; close #345 2012-07-06 19:46:27 +09:00
Yukihiro "Matz" Matsumoto c92ae38415 Merge pull request #346 from monaka/pr-cleanup-dump.c-20120706
Clean up dump.c
2012-07-06 03:34:09 -07:00
Masaki Muranaka cc431827e9 write_pool_block(): reduce calling strlen(). refs #301.
dump_irep_record(): Set error code in case dump failed.
2012-07-06 14:02:55 +09:00
Yukihiro Matsumoto 5b3cc4a068 better object_id calculation 2012-07-05 23:19:09 +09:00
Yukihiro Matsumoto ff42f8f485 move RDoc comments 2012-07-05 22:56:51 +09:00
Yukihiro Matsumoto fbfef55152 Module#include should also include included modules; close #340 2012-07-05 17:57:23 +09:00
Yukihiro Matsumoto ca930538ea prepare for OP_TAILCALL 2012-07-05 01:40:23 +09:00
Yukihiro Matsumoto c4208a413d restore arena_idx after initializing irep 2012-07-05 01:36:54 +09:00
Yukihiro Matsumoto 07bcd6bed8 cdump.c: pool may contain fixnum value 2012-07-05 01:34:35 +09:00
Yukihiro Matsumoto 0e9e0693b4 big init function in cdump may overflow arena 2012-07-05 01:13:09 +09:00
Yukihiro Matsumoto ee32521f90 add input check to readint_float() 2012-07-04 17:14:59 +09:00
Yukihiro Matsumoto 472847adc2 input cast to unsigned char for unqualified tolower(); close #342 2012-07-04 17:12:47 +09:00
Yukihiro Matsumoto f141ae42c0 stop strtod() warning; add more checks; close #247 2012-07-04 10:19:10 +09:00
Yukihiro Matsumoto cad95d3d18 Merge branch 'master' of github.com:mruby/mruby 2012-07-03 21:54:59 +09:00