Yukihiro "Matz" Matsumoto
|
44a834f30b
|
Merge pull request #2402 from katmutua/master
[minor-fix]Update value pointer comments
|
2014-06-17 11:28:14 +09:00 |
|
katmutua
|
17e3203cfc
|
[minor-fix]Minor cleanups on variable.c comments
|
2014-06-16 14:13:24 -03:00 |
|
Yukihiro "Matz" Matsumoto
|
0042e586db
|
Merge pull request #2344 from yui-knk/fix-locals
Change to always use locals->car->car.
|
2014-06-14 01:03:39 +09:00 |
|
Jose Narvaez
|
61032c5ab0
|
Rolling back change induced because of 'clang-analizer' report.
|
2014-06-13 16:50:02 +01:00 |
|
Jose Narvaez
|
45b8562d8d
|
Using 'mrb_assert' instead of an returning 0 while checking s->irep in codegen.c.
|
2014-06-13 16:44:22 +01:00 |
|
Jose Narvaez
|
6b642637b3
|
Fixed dead assignment in 'parser.y' reported by 'clang-analyzer'
|
2014-06-13 12:11:28 +01:00 |
|
Jose Narvaez
|
1a8e0ba4e8
|
Fixed dead assignment in 'parser.y' reported by 'clang-analyzer'
|
2014-06-13 12:11:23 +01:00 |
|
Jose Narvaez
|
a250050077
|
Fixed dead assignment in 'parser.y' reported by 'clang-analyzer'
|
2014-06-13 12:06:56 +01:00 |
|
Jose Narvaez
|
13abc9c4a1
|
Revert "Fixed dereference to null pointer in 'codegen.c' reported by 'clang-analyzer'"
This reverts commit 29f14e728d.
|
2014-06-13 10:54:18 +01:00 |
|
Jose Narvaez
|
e344d662f1
|
Fixed dereference to null pointer in 'codegen.c' reported by 'clang-analyzer'
|
2014-06-13 10:50:26 +01:00 |
|
Jose Narvaez
|
29f14e728d
|
Fixed dereference to null pointer in 'codegen.c' reported by 'clang-analyzer'
|
2014-06-13 10:50:15 +01:00 |
|
Jose Narvaez
|
a5cadf4bec
|
Fixed dead increment in 'dump.c' reported by 'clang-analyzer'
|
2014-06-13 10:13:18 +01:00 |
|
Jose Narvaez
|
44a5809224
|
Fixed possible division by zero in 'codegen.c' reported by 'clang-analyzer'
|
2014-06-13 10:09:28 +01:00 |
|
Jose Narvaez
|
da55b50409
|
Fixed dead assignment in 'vm.c' reported by 'clang-analyzer'
|
2014-06-13 09:44:41 +01:00 |
|
Jose Narvaez
|
4027035cf4
|
Fixed dead assignment in 'parse.y' reported by 'clang-analyzer'
|
2014-06-13 09:37:07 +01:00 |
|
Jose Narvaez
|
24c105a251
|
Fixed dead assignment in 'backtrace.c' reported by 'clang-analyzer'
|
2014-06-13 09:36:44 +01:00 |
|
Yukihiro "Matz" Matsumoto
|
2067f1f9ff
|
Merge branch 'master' of github.com:mruby/mruby
|
2014-06-13 00:42:03 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
2ed7089546
|
need to call write barrier on hash keys; ref #2375
|
2014-06-13 00:41:49 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
be3e36cb05
|
Merge pull request #2389 from ksss/str-mem-leaks
Fix memory leaks in String
|
2014-06-12 07:36:36 +09:00 |
|
ksss
|
bd53818999
|
str_replace: self should not be shared and nofree
|
2014-06-11 14:42:18 +00:00 |
|
Jun Hiroe
|
75d1412410
|
Refactor how to use RSTR_NOFREE_P macro
|
2014-06-11 23:10:41 +09:00 |
|
Jun Hiroe
|
9c259c501a
|
Add NOFREE macros
|
2014-06-11 01:00:35 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
fe95f44013
|
rename mrb_atexit to mrb_state_atexit to clarify a func will be called at the end of state, not process; ref #2211
|
2014-06-10 17:59:56 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c2f6c33fef
|
reserve a register for a block parameter in a for statement body; ref #2375
|
2014-06-10 13:15:19 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
58e87996b9
|
should not add extra stack space to callinfo->nregs; maybe related to #2375
|
2014-06-10 00:32:45 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
6c524af646
|
NODE_FOR does not introduce new local variables
|
2014-06-10 00:03:54 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
4c69a9d09e
|
codedump should display proper L(n) for OP_STRING op
|
2014-06-09 23:37:20 +09:00 |
|
take_cheeze
|
64994a1764
|
Check RSTRING_EMBED_LEN_MAX with static assert.
|
2014-06-08 23:16:55 +09:00 |
|
take_cheeze
|
4a27dd0e8a
|
Use _Static_assert when C11 is available and use it in pointer size check.
|
2014-06-08 23:16:51 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d75b84016c
|
do not ignore negative characters (e.g. EOF and partial EOF); fix #2361 fix #2369
|
2014-06-08 01:38:44 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
a13e8f5ee1
|
revert #2368 due to #2369
|
2014-06-08 00:48:59 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
6459a98448
|
move String#clear to mruby-string-ext; ref #2370
|
2014-06-07 22:28:42 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
32e450166f
|
move STR_* macros to mruby/string.h with renaming
|
2014-06-07 22:16:16 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
b0c90141d9
|
clear shared and nofree flags; ref #2370
|
2014-06-07 17:24:18 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
20dc629b11
|
inline str_discard(); ref #2370
|
2014-06-07 16:51:40 +09:00 |
|
Jun Hiroe
|
9709fe79a3
|
Implement String#clear
|
2014-06-07 16:15:32 +09:00 |
|
take_cheeze
|
7f870f601f
|
Treat partial hook success '\n' to fix #2361 .
Now it will parse the #2361 code as:
```
module A
end
module B
end
```
instead of
```
module A
end module B
end
```
|
2014-06-06 21:29:42 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d3fda42eb6
|
Merge pull request #2359 from take-cheeze/src_gen_dep
Add generator script to dependency so that it will regenerate C codes when it's modified.
|
2014-06-06 16:38:11 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
232b8b07e4
|
Merge branch 'ascii' of https://github.com/cremno/mruby into cremno-ascii
|
2014-06-06 12:48:48 +09:00 |
|
cremno
|
1a5841b4b1
|
use uppercase US-ASCII ctype macros
|
2014-06-05 21:00:47 +02:00 |
|
cremno
|
f9f864d4dd
|
don't (re-)define ascii_isspace and isascii
`ISSPACE` and `ISASCII` can be used instead.
|
2014-06-05 20:27:17 +02:00 |
|
cremno
|
69da21bcb4
|
ISSPACE evaluates its argument multiple times
|
2014-06-05 20:22:20 +02:00 |
|
take_cheeze
|
4c1fb65d85
|
Release mrb->atexit_stack on mrb_close.
|
2014-06-06 01:04:12 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
b1dd57efa1
|
move IS_EVSTR macro that should be private to src/string.c
|
2014-06-06 00:19:46 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
a763d11490
|
Merge branch 'atexit' of https://github.com/take-cheeze/mruby into take-cheeze-atexit
|
2014-06-05 13:22:28 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
e52533a703
|
update Kernel#raise/fail argument description
|
2014-06-05 13:17:29 +09:00 |
|
take_cheeze
|
fb3c2f6b08
|
Add generator script to dependency so that it will regenerate C codes when it's modified.
|
2014-06-04 22:53:36 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
8a9e2066c3
|
mark pre-allocated exception
|
2014-06-04 11:36:19 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
bccd43da71
|
indent ISO section comments
|
2014-06-04 11:33:56 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d62ce565c6
|
use pre-allocated RuntimeError for out-of-memory
|
2014-06-04 11:33:15 +09:00 |
|