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 |
|
Yukihiro Matsumoto
|
85a0cad905
|
use new function mrb_parser_free()
|
2012-07-03 21:54:08 +09:00 |
|
Yukihiro Matsumoto
|
fc27f71289
|
add new function mrb_parser_free()
|
2012-07-03 21:52:11 +09:00 |
|
Yukihiro Matsumoto
|
a1af20baa9
|
use mrbc_context; free parser for each iteration; close #312
|
2012-07-03 21:49:06 +09:00 |
|
Yukihiro Matsumoto
|
be8181a99a
|
raise SyntaxError only when capture_errors is set
|
2012-07-03 21:39:21 +09:00 |
|
Yukihiro Matsumoto
|
cd1e1a0089
|
remove unused variables
|
2012-07-03 21:33:20 +09:00 |
|
Yukihiro Matsumoto
|
137570acf0
|
capture_errors can be specified by mrbc_context
|
2012-07-03 21:32:37 +09:00 |
|
Yukihiro Matsumoto
|
a7b8a94e48
|
refactor mirb code
|
2012-07-03 21:29:46 +09:00 |
|
Yukihiro Matsumoto
|
daee2e5ad3
|
preserve toplevel local variable info in mrbc_context
|
2012-07-03 21:26:05 +09:00 |
|
Yukihiro Matsumoto
|
39689441e7
|
add context arg to mrb_parser_parse()
|
2012-07-03 21:13:10 +09:00 |
|
Yukihiro Matsumoto
|
e814495576
|
test/driver to use EXIT_SUCCESS
|
2012-07-03 21:04:25 +09:00 |
|
Yukihiro Matsumoto
|
65096c4c1b
|
add context to parser, that would hold local variable info, filename, and line number. mrbc_context argument has been added to mrb_parse_xxx() functions. Normally, you just to need to add NULL (or 0) to the last argument of the above functions.
|
2012-07-03 20:59:07 +09:00 |
|
Yukihiro Matsumoto
|
ce49d90dc8
|
modify compiler API; replace mrb_compie_xxx with mrb_load_xxx() that combines compilatoin and execution
|
2012-07-03 15:26:11 +09:00 |
|
Yukihiro Matsumoto
|
97b1c57600
|
constify parser input strings
|
2012-07-03 14:28:19 +09:00 |
|
Yukihiro Matsumoto
|
3be4e91376
|
remove size_t from parser
|
2012-07-03 14:27:34 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
ac5838ac67
|
Merge pull request #339 from masamitsu-murase/initialize_module_mt_with_khash
Initialize mt of module with khash.
|
2012-07-01 05:21:09 -07:00 |
|
Masamitsu MURASE
|
8746cb2ac1
|
Initialize mt of module with khash.
|
2012-07-01 18:34:22 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
660f64b1d0
|
Merge pull request #337 from masamitsu-murase/fix_str_replace
Fix str_replace in string.c
|
2012-06-30 13:50:54 -07:00 |
|
Yukihiro "Matz" Matsumoto
|
cb791565c3
|
Merge pull request #338 from masamitsu-murase/modify_data_gc
Free iv of MRB_TT_DATA instance.
|
2012-06-30 13:48:34 -07:00 |
|
Masamitsu MURASE
|
780f54e1eb
|
Free iv of MRB_TT_DATA instance.
|
2012-07-01 01:52:37 +09:00 |
|
Masamitsu MURASE
|
866f797125
|
Fix str_replace in string.c
- Increment refcnt of shared string.
- Free buffer before replacing.
- Clear MRB_STR_SHARED after decref is called.
- Fix target of aux.capa.
|
2012-06-30 21:42:10 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
4bfd992284
|
Merge pull request #336 from bovi/struct-enable-gc
Make strucdata optional if ENABLE_STRUCT is activated
|
2012-06-29 20:35:18 -07:00 |
|