Masaki Muranaka
|
6cd7017ec1
|
Remove trailing whitespaces. This is just a cosmetic change.
|
2013-03-03 10:54:00 +09:00 |
|
Masaki Muranaka
|
2bfb88825d
|
Fix errors caused by stdio.h dependent code.
|
2013-02-23 17:05:18 +09:00 |
|
mattn
|
b1a5146ea8
|
Pluggable Regexp
|
2013-02-15 04:38:27 +09:00 |
|
Yukihiro Matz Matsumoto
|
323d8501d6
|
zero initialize hex buffers; close 768
|
2013-01-22 00:40:04 +09:00 |
|
Masaki Muranaka
|
86b3200746
|
Fix error handlings.
|
2013-01-09 13:33:00 +09:00 |
|
Masaki Muranaka
|
81b6895885
|
Merge branch 'master' of github.com:mruby/mruby into pr-strict-error-checking
|
2013-01-09 13:29:59 +09:00 |
|
Masaki Muranaka
|
0b337accad
|
Extract each expresion in "if" statements. It is for maintainability.
|
2013-01-09 12:19:39 +09:00 |
|
Masaki Muranaka
|
94fb04a51e
|
Remove redundant null checks.
|
2013-01-09 11:22:39 +09:00 |
|
Yukihiro Matz Matsumoto
|
f1ed143624
|
mange arena_idx smarter for smaller ARENA_SIZE; now default to 100 from 1024
|
2012-12-07 16:58:50 +09:00 |
|
Yukihiro Matz Matsumoto
|
f486774352
|
refactor and move irep malloc away to mrb_add_irep()
|
2012-12-07 15:57:40 +09:00 |
|
Yukihiro Matz Matsumoto
|
b8e5a57047
|
rename mrb_load_irep etc. for naming consistency
|
2012-12-05 02:48:29 +09:00 |
|
skandhas
|
922d50a694
|
compatible with MSVC
|
2012-11-07 10:28:20 +08:00 |
|
Yukihiro "Matz" Matsumoto
|
b720156c99
|
Merge pull request #515 from iij/pr-fix-mrb-format
fixes *.mrb dump/load format with escaped character.
|
2012-10-29 23:30:59 -07:00 |
|
Masaki Muranaka
|
30f7a93d41
|
Use NULL instead of 0. (It is not a bug fix but a cosmetic change.)
|
2012-10-30 14:25:00 +09:00 |
|
Akira Yumiyama
|
94d16805a5
|
fixes *.mrb dump/load format with escaped character.
- hex-style string support
- mrb format changes like:
- "\n" (before: \n -> after: \n)
- '\n' (before: \n -> after: \\n)
|
2012-10-30 08:30:18 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c6c4da8c48
|
Merge pull request #510 from masuidrive/master
define convert method mrb_int/mrb_float with C string
|
2012-10-28 10:45:43 -07:00 |
|
Yuichiro MASUI
|
15f46a1feb
|
define convert method mrb_int/mrb_float with C string
|
2012-10-27 14:26:50 +09:00 |
|
Masaki Muranaka
|
1933e2660c
|
Use substitution instead of memset in structure initialization.
|
2012-10-25 15:47:45 +09:00 |
|
Masaki Muranaka
|
e84dfd4337
|
Fix degrades by #490. (Some changes are reverted.)
|
2012-10-17 21:32:50 +09:00 |
|
Masaki Muranaka
|
170d5e7181
|
Avoid memcpy() on copying structure.
|
2012-10-15 13:15:29 +09:00 |
|
Yukihiro Matsumoto
|
9206dcb00d
|
remove assignment to unused dst; close #424
|
2012-08-18 21:00:51 +09:00 |
|
Max Anselm
|
5a4beeed2d
|
Make all(?) void casts explicit for C++
|
2012-07-29 19:48:48 -04:00 |
|
Yukihiro Matsumoto
|
7496625fc3
|
initialize stuctures on stack without memset(); close #350
|
2012-07-09 11:50:48 +09:00 |
|
Masaki Muranaka
|
568af55187
|
Refactor hex_to_str().
|
2012-06-26 20:41:42 +09:00 |
|
Yukihiro Matsumoto
|
76f7aecff3
|
use ENABLE/DISABLE instead of INCLUDE for configuration macro names
|
2012-06-15 15:34:49 +09:00 |
|
Masaki Muranaka
|
f564ec7e82
|
Remove some redundant code.
|
2012-06-15 00:56:00 +09:00 |
|
Yukihiro Matsumoto
|
6919ca61ed
|
stop using strtol (via readint) except in load.c; use custom readint_float
|
2012-06-13 23:16:53 +09:00 |
|
Yukihiro Matsumoto
|
b7cc7fffe7
|
symbol can contain non printable characters
|
2012-06-05 08:34:09 +09:00 |
|
Yukihiro Matsumoto
|
00c6022cd7
|
remove unused variable
|
2012-05-31 19:50:39 +09:00 |
|
Yukihiro Matsumoto
|
e6c6dcc176
|
update mrb->irep_len for each irep addition
|
2012-05-30 16:02:19 +09:00 |
|
Yukihiro Matsumoto
|
b20388c004
|
make arena_idx restoration per irep, not per load
|
2012-05-29 22:05:06 +09:00 |
|
Yukihiro Matsumoto
|
c87ec7c33b
|
compact arena before raising exception; also reserve a few slots to allocate exception objects
|
2012-05-29 10:29:01 +09:00 |
|
Yukihiro Matsumoto
|
2d887c57ff
|
use API to restore arena_idx
|
2012-05-29 09:56:48 +09:00 |
|
Yukihiro Matsumoto
|
0dd5e0eba6
|
restore arena_idx after reading irep
|
2012-05-29 09:31:12 +09:00 |
|
Yukihiro Matsumoto
|
4523bee953
|
cast style consistency
|
2012-05-23 03:31:55 +09:00 |
|
Yukihiro Matsumoto
|
b68e69aa32
|
remove unused assignments
|
2012-05-17 12:57:08 +09:00 |
|
Masaki Muranaka
|
6250d06b94
|
Avoid "may be used uninitialized in this function" warning.
|
2012-05-16 16:28:07 +09:00 |
|
roco
|
4ec6d41f16
|
rm whitespace
|
2012-04-30 14:29:19 -07:00 |
|
Yukihiro Matsumoto
|
a893a48b68
|
use readint/readfloat instead of sscanf
|
2012-04-28 23:39:54 +09:00 |
|
Patrick Hogan
|
4b8515184d
|
mrb_read_irep should take const char *
Signed-off-by: Patrick Hogan <pbhogan@gmail.com>
|
2012-04-26 08:36:32 -05:00 |
|
Yukihiro Matsumoto
|
8b367098ac
|
move header files {irep,dump,cdump,ritehash}.h to /include/mruby
|
2012-04-24 17:41:28 +09:00 |
|
mimaki
|
835443614d
|
add file header
|
2012-04-23 11:46:16 +09:00 |
|
Frank Celler
|
5d9945ba62
|
fixed wrong malloc size
|
2012-04-20 06:35:24 +02:00 |
|
mimaki
|
e0d6430f63
|
add mruby sources
|
2012-04-20 09:39:03 +09:00 |
|