Yukihiro "Matz" Matsumoto
920ce88b50
Merge branch 'add-gc-docs' of https://github.com/suzukaze/mruby into suzukaze-add-gc-docs
2014-08-05 11:21:45 +09:00
Jun Hiroe
b20121f9e6
Add write_barrier docs
2014-08-05 02:10:02 +09:00
Yukihiro "Matz" Matsumoto
53687a849b
Merge branch 'master' of github.com:mruby/mruby
2014-08-04 22:36:09 +09:00
Yukihiro "Matz" Matsumoto
a18c575614
Merge pull request #2502 from cremno/fix-range_beg_len-linkage
...
fix linkage of range_beg_len and mrb_range_beg_len
2014-08-04 22:35:41 +09:00
Yukihiro "Matz" Matsumoto
ea80e82852
Merge branch 'master' of github.com:mruby/mruby
2014-08-04 16:28:02 +09:00
cremno
3bf244e67c
fix linkage of range_beg_len and mrb_range_beg_len
2014-08-04 05:52:09 +02:00
Yukihiro "Matz" Matsumoto
0fa3668e91
Merge pull request #2498 from cremno/msvc-snprintf
...
MSVC: add simple (v)snprintf implementation
2014-08-04 10:51:32 +09:00
Yukihiro "Matz" Matsumoto
29bfbac86d
Merge pull request #2501 from cremno/static-mrb_str_size
...
change linkage of mrb_str_size to internal
2014-08-04 10:48:11 +09:00
Yukihiro "Matz" Matsumoto
50a6b48d53
Merge pull request #2497 from cremno/fix-conversion-warnings
...
fix conversion warnings (in gc.c)
2014-08-04 10:44:44 +09:00
Yukihiro "Matz" Matsumoto
37a75b096e
Merge pull request #2496 from cremno/remove-unnecessary-char_bit-check
...
remove unnecessary CHAR_BIT != 8 check
2014-08-04 10:44:05 +09:00
cremno
7dabb33cf0
change linkage of mrb_str_size to internal
...
Use RSTRING_LEN to get the length.
2014-08-04 01:14:23 +02:00
cremno
b6e27218ad
MSVC: add simple (v)snprintf implementation
...
_snprintf is not C99's snprintf!
This simple implementation, unlike _snprintf,
always null-terminates and returns the expected
return value (in most cases).
Other C99 behaviors (like format specifiers) require
adding a complete snprintf implementation.
Do we want or need that?
The same applies to vsnprintf (aka _vsnprintf).
2014-08-03 21:15:48 +02:00
cremno
a70413c4ea
fix conversion warnings
...
Those warnings are not enabled by default,
but getting rid of them doesn't hurt.
2014-08-03 19:54:31 +02:00
Yukihiro "Matz" Matsumoto
db7b01c0b3
turn string obsolete functions into macros
2014-08-04 00:53:58 +09:00
Yukihiro "Matz" Matsumoto
6aa6e75f75
rename obsolete mrb_special_const_p to mrb_immediate_p
2014-08-04 00:50:03 +09:00
Yukihiro "Matz" Matsumoto
206f89e209
add MRB_API modifiers to mruby API functions
2014-08-04 00:47:08 +09:00
Yukihiro "Matz" Matsumoto
0878900fda
Time#to_i and Time#usec should care about mrb_int overflow on MRB_INT16; ref #2495
2014-08-03 20:36:20 +09:00
Yukihiro "Matz" Matsumoto
5e5fad2f25
fix typo with MRB_INT16; fix #2495
2014-08-03 20:30:29 +09:00
Yukihiro "Matz" Matsumoto
0ad6a521ec
Merge pull request #2494 from suzukaze/refactor-variable.c
...
Use Boolean macro in variable.c
2014-08-02 21:35:35 +09:00
Jun Hiroe
41fddeded0
Use Boolean macro in variable.c
2014-08-02 13:56:22 +09:00
cremno
df21609a20
remove unnecessary CHAR_BIT != 8 check
...
mruby uses uint8_t which implies CHAR_BIT == 8.
2014-08-02 02:06:42 +02:00
Yukihiro "Matz" Matsumoto
16ddb16608
Merge pull request #2462 from cremno/mirb-malloc-history_path
...
mirb: allocate `history_path` dynamically
2014-07-30 08:41:26 +09:00
Yukihiro "Matz" Matsumoto
23b6e22cf0
Merge pull request #2490 from suzukaze/refactor_symbol
...
Refactor sym_equal() in symbol.c
2014-07-27 19:54:42 +09:00
Jun Hiroe
18d8f9d124
Refactor sym_equal() in symbol.c
2014-07-27 15:56:21 +09:00
Yukihiro "Matz" Matsumoto
e2f7e485e7
Merge pull request #2478 from dreamedge/add_module_function
...
add Module#module_function
2014-07-26 09:35:58 +09:00
Yukihiro "Matz" Matsumoto
875c07a742
Merge pull request #2477 from take-cheeze/allocf_ud
...
Add field `allocf_ud` to replace current `ud`.
2014-07-24 23:22:58 +09:00
Yukihiro "Matz" Matsumoto
6055ebaf78
Merge pull request #2489 from Ancurio/silence_cpp_warn
...
Silence "unused parameter" warnings in C++
2014-07-24 06:40:51 +09:00
Jonas Kulla
ec606e3aa7
Silence "unused parameter" warnings in C++
...
This has been done already, but the fixes were accidentally
removed in 249f05e7d7 .
2014-07-23 21:40:15 +02:00
Yukihiro "Matz" Matsumoto
40e46944a2
Merge pull request #2488 from ksss/leak-test
...
Fix memory leak for test driver
2014-07-24 00:05:37 +09:00
ksss
67fbcf8b2a
Fix memory leak for test driver
2014-07-23 14:14:09 +00:00
Yukihiro "Matz" Matsumoto
1b5584b3c8
check if block is given in eval_under(); fix #2486
2014-07-23 02:08:37 +09:00
Yukihiro "Matz" Matsumoto
6d742ef93a
Merge pull request #2482 from take-cheeze/exc_tt
...
Use MRB_TT_EXCEPTION in exception object.
2014-07-22 15:35:16 +09:00
Yukihiro "Matz" Matsumoto
4b69121284
restore mrb_get_args() in f_instance_eval to check arguments type
2014-07-22 08:38:38 +09:00
Yukihiro "Matz" Matsumoto
7457da6aa1
exception in instance_eval should not exit mrb_run; fix #2483
2014-07-22 07:29:26 +09:00
take_cheeze
3c96602574
Use MRB_TT_EXCEPTION in exception object.
2014-07-21 23:09:13 +09:00
Yukihiro "Matz" Matsumoto
4cc9e5d8b1
since #1441 , NaN boxing with 64bit pointer works; close #2476
2014-07-21 21:55:52 +09:00
Yukihiro "Matz" Matsumoto
beafed1104
Merge pull request #2481 from take-cheeze/move_word_box_struct
...
Move word boxing structs to "mruby/boxing_word.h".
2014-07-21 07:10:14 +09:00
take_cheeze
fc8b48faf8
Move word boxing structs to "mruby/boxing_word.h".
2014-07-20 23:02:04 +09:00
Yukihiro "Matz" Matsumoto
a3ac3623f0
Merge pull request #2480 from take-cheeze/test_backtrace
...
Print backtrace of crashed test in verbose mode.
2014-07-20 18:04:06 +09:00
take_cheeze
a24729044a
Print backtrace of crashed test in verbose mode.
2014-07-19 22:33:13 +09:00
dreamedge
0b8a0f4bb4
add Module#module_function
2014-07-18 09:50:54 +09:00
take_cheeze
fc9a91c4a6
Add field allocf_ud to replace current ud.
...
Since some use it as `mrb_state` associated user data.
2014-07-17 21:48:17 +09:00
Yukihiro "Matz" Matsumoto
d17506c176
Merge branch 'master' of github.com:mruby/mruby
2014-07-17 01:42:22 +09:00
Yukihiro "Matz" Matsumoto
1dc6a8c872
avoid infinite recursion when error was happened in #inspect; fix #2474
2014-07-17 01:42:03 +09:00
Yukihiro "Matz" Matsumoto
ce7dfe97ad
Merge pull request #2475 from take-cheeze/full_core_list
...
Check mrbgem.rake instead of directory to ignore empty directories in full-core gembox.
2014-07-17 01:28:36 +09:00
take_cheeze
568b2c79b1
Check mrbgem.rake instead of directory to ignore empty directories in full-core.
2014-07-16 22:49:06 +09:00
Yukihiro "Matz" Matsumoto
2dcc2444fa
need to call write_barrier on every fiber context switch
2014-07-16 12:58:37 +09:00
Yukihiro "Matz" Matsumoto
f8aac56df0
git push origin masterMerge branch 'take-cheeze-instance_eval'
2014-07-16 05:22:04 +09:00
Yukihiro "Matz" Matsumoto
abf52c7773
remove unused local variables; ref #2473
2014-07-16 05:21:55 +09:00
take_cheeze
dd34decdfc
Implement string compiling instance_eval method.
2014-07-15 22:33:14 +09:00