Yukihiro "Matz" Matsumoto
|
138a3569a2
|
Merge pull request #1025 from FUKUZAWA-Tadashi/master
implement %W %w %s
|
2013-03-18 06:56:26 -07:00 |
|
crimsonwoods
|
52eba9fee7
|
fix the type of argument named 'aspec'.
'aspec' should be large at least 24 bit.
|
2013-03-18 16:04:10 +09:00 |
|
crimsonwoods
|
3678d2545c
|
fix the type of bit field variable.
if 'int' type is 16bit integer, 'unsigned int flags: 21' is too large.
|
2013-03-18 00:16:13 +09:00 |
|
FUKUZAWA-Tadashi
|
aec3e1c4ff
|
refactor heredoc identifier
|
2013-03-17 21:27:38 +09:00 |
|
FUKUZAWA-Tadashi
|
44fbfc5184
|
implement literal %W %w %s
refactor string parsing
|
2013-03-17 21:27:37 +09:00 |
|
Yukihiro Matz Matsumoto
|
8ae0c58bb0
|
resolve conflict from #1017
|
2013-03-17 00:28:49 +09:00 |
|
Masaki Muranaka
|
4ad08caca0
|
Remove stdio.h as it is included in mrbconf.h.
|
2013-03-16 21:39:52 +09:00 |
|
Masaki Muranaka
|
6ba298ed54
|
Remove unnecessory stdint.h.
|
2013-03-16 21:06:32 +09:00 |
|
Masaki Muranaka
|
715270bec5
|
Include mruby.h. As KHASH_DEFAULT_SIZE might be defined in mrbconf.h.
|
2013-03-16 21:06:03 +09:00 |
|
Masaki Muranaka
|
7de2deab1e
|
Remove string.h in khash.h
|
2013-03-16 17:48:30 +09:00 |
|
Masaki Muranaka
|
1bb447a7d3
|
Avoid to call memset(). Use the new function kh_fill_flags() instead. This is for compatibility.
|
2013-03-16 17:00:44 +09:00 |
|
Masaki Muranaka
|
591dbbf13f
|
Change the place of the close parenthesis. Even though it probably cause no bugs for current code.
|
2013-03-16 16:58:14 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
618d7339f1
|
Merge pull request #1010 from monaka/pr-remove-meaningless-bitfields-in-irep
Remove bit-fields. They doesn't reduce memory on major environments.
|
2013-03-15 07:25:09 -07:00 |
|
Yukihiro Matz Matsumoto
|
8d98b84543
|
removed compatibility macros mrb_ary_new_elts() and mrb_ary_new4()
|
2013-03-15 23:23:45 +09:00 |
|
Yukihiro Matz Matsumoto
|
88483fad00
|
rename mrb_basic to mrb_basic_ptr; close #1011
|
2013-03-15 23:21:13 +09:00 |
|
Yukihiro Matz Matsumoto
|
243669308d
|
obsolete mrb_object; opposite of bc870ce
|
2013-03-15 23:16:20 +09:00 |
|
Masaki Muranaka
|
5f992f8712
|
Remove bit-fields. They doesn't reduce memory on major environments.
|
2013-03-15 15:56:23 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
ce1756b3b6
|
Merge pull request #997 from monaka/pr-add-type-mrb_bool_t
Define mrb_bool_t.
|
2013-03-14 04:51:14 -07:00 |
|
Yukihiro Matz Matsumoto
|
9d0bbdb7f8
|
use size_t for string length C API
|
2013-03-14 19:33:38 +09:00 |
|
Masaki Muranaka
|
1ffc9ba325
|
Define type mrb_bool. It is typedef-ed to _Bool on C99, unsigned int on MSVC.
It is safer than applying 1bit bit-fields to signed int.
For forward compatibility, you should substiture only 1 or 0 for the variable typed mrb_bool.
|
2013-03-14 15:13:12 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
3f4c2d451d
|
Merge pull request #985 from monaka/pr-remove-unused-code-20130312
Remove mrb_str_sublen() as it is not used.
|
2013-03-12 17:26:04 -07:00 |
|
Yukihiro "Matz" Matsumoto
|
7ba309600a
|
Merge pull request #982 from monaka/pr-make-MRB_STR_BUF_MIN_SIZE-configurable
Rename STR_BUF_MIN_SIZE to MRB_STR_BUF_MIN_SIZE. Make it configurable.
|
2013-03-12 17:24:02 -07:00 |
|
Masaki Muranaka
|
e7fe4ed499
|
Use suitable types for variables.
|
2013-03-12 20:50:02 +09:00 |
|
Masaki Muranaka
|
3af128c742
|
Remove mrb_str_sublen() as it is not used.
|
2013-03-12 18:08:40 +09:00 |
|
Masaki Muranaka
|
e2d31ba3f3
|
Rename STR_BUF_MIN_SIZE to MRB_STR_BUF_MIN_SIZE. Make it configurable.
|
2013-03-12 17:10:18 +09:00 |
|
Masaki Muranaka
|
5bed51e584
|
Don't use int. It decreases portability. Use size_t as array index and length. It avoids overflow in the extreme situations.
|
2013-03-09 00:35:58 +09:00 |
|
Yuichiro MASUI
|
d1a4958bfc
|
Fixed to uint8_t
|
2013-03-08 21:46:48 +09:00 |
|
Yuichiro MASUI
|
814094230c
|
Change unsigned char to uint8_t
|
2013-03-08 18:55:15 +09:00 |
|
Yukihiro Matz Matsumoto
|
cdd41a33de
|
unify mrb_ary_new{,_elts,_from_values}; mrb_ary_from_values() is a winner
|
2013-03-08 05:18:33 +09:00 |
|
Yuichiro MASUI
|
2842583678
|
New mrb format. The detail is in https://github.com/mruby/mruby/issues/944
|
2013-03-08 03:14:21 +09:00 |
|
Masaki Muranaka
|
95c34a90ca
|
Remove RB_GC_GUARD(x) macro. See also mruby/mruby#948.
|
2013-03-05 13:00:17 +09:00 |
|
Yukihiro Matz Matsumoto
|
02dba48367
|
Merge branch 'heredoc' of https://github.com/FUKUZAWA-Tadashi/mruby into FUKUZAWA-Tadashi-heredoc
|
2013-03-04 09:49:16 +09:00 |
|
Yukihiro Matz Matsumoto
|
7e910bd4c2
|
use mrb_int for RString len
|
2013-03-04 09:39:04 +09:00 |
|
Masaki Muranaka
|
4ac352df21
|
Remove bit-field.
|
2013-03-03 20:27:57 +09:00 |
|
FUKUZAWA-Tadashi
|
1af4110f7d
|
implement heredoc
|
2013-03-03 20:08:13 +09:00 |
|
Masaki Muranaka
|
f998691da8
|
Define ARY_MAX_SIZE strictly. Use mrb_int instead of int.
|
2013-03-03 11:43:56 +09:00 |
|
Yukihiro Matz Matsumoto
|
8d2880bbfe
|
Merge branch 'pluggable_struct' of https://github.com/mattn/mruby into mattn-pluggable_struct
|
2013-03-01 21:38:02 +09:00 |
|
Masaki Muranaka
|
e4231a0a33
|
Add typedef to structures that have mrb_ prefix. Use typedef-ed type instead of struct directly.
|
2013-03-01 14:28:22 +09:00 |
|
mattn
|
138ecf4723
|
Pluggable Struct
|
2013-03-01 13:37:46 +09:00 |
|
Masaki Muranaka
|
cb7cf4e795
|
Simplify mrb_range_beg_len(). Don't use OTHER macro.
|
2013-02-26 15:43:19 +09:00 |
|
Masaki Muranaka
|
2bfb88825d
|
Fix errors caused by stdio.h dependent code.
|
2013-02-23 17:05:18 +09:00 |
|
Yukihiro Matz Matsumoto
|
59a6d1b514
|
remove TT_REGEX and TT_MATCH
|
2013-02-18 16:18:19 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
9b06a4506e
|
Merge pull request #850 from mattn/pluggable_regexp
Pluggable regexp
|
2013-02-17 23:08:58 -08:00 |
|
Yukihiro Matz Matsumoto
|
37fe3d666f
|
add Module#remove_const
|
2013-02-15 10:20:55 +09:00 |
|
mattn
|
b1a5146ea8
|
Pluggable Regexp
|
2013-02-15 04:38:27 +09:00 |
|
Akira Yumiyama
|
397d1e7aa9
|
add mrb_str_to_cstr
|
2013-02-11 21:02:35 +09:00 |
|
Yukihiro Matz Matsumoto
|
d98ad06ef5
|
changing Make_Data_Struct API; you need to modify your code that uses Make_Data_Struct; close #821
|
2013-02-06 15:12:31 +09:00 |
|
Masaki Muranaka
|
c23057e577
|
Add semi-colon after the statement.
|
2013-02-06 13:53:18 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d3626f6b7d
|
Merge pull request #820 from cremno/unused-stuff
Remove declarations of undefined functions
|
2013-02-03 16:06:31 -08:00 |
|
Cremno
|
feaff10c58
|
removed declarations of undefined functions
|
2013-02-03 19:48:41 +01:00 |
|