18905 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto 0786d86bfe git push origin masterMerge branch 'suzukaze-add-gc-docs' 2014-08-05 11:29:16 +09:00
Yukihiro "Matz" Matsumoto 58cb1a2e8b write barrier doc update 2014-08-05 11:29:08 +09:00
kkkkkt 9c78fc8443 added Math.cos and Math.tan test case 2014-08-05 11:27:50 +09:00
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
cremno cc4c22c5f5 mruby-strip doesn't need mrbgems
Reduces executable size by more than 50% (409->171 KB).
2014-08-04 12:26:36 +02: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
cremno 6526bb10f0 don't always generate gem functions
If the src and mrblib directories of a mrbgem don't exist or don't
include "usable" files (for tools like mirb), then functions for gem
initialization and finalization don't have to be generated.
2014-08-04 05:50:05 +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
jbreeden 9a2cbc4122 Correcting E_NOTIMP_ERROR reference 2014-08-03 16:45:46 -04: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
yui-knk 93e1d2b992 implemente Set#divide (with 1 arity block) 2014-08-03 23:40:05 +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
yui-knk 93a8b08f59 implement #classify 2014-08-03 13:06:30 +09:00
yui-knk a442f232e9 Refactor #flatten_merge
Not to unnecessary recursive search.
2014-08-03 12:52:29 +09:00
yui-knk 0d89802877 fix typo 2014-08-03 12:50:51 +09:00
yui-knk 7861034bcf add test case to #flatten 2014-08-03 12:50:23 +09:00
yui-knk 2836acf045 implement flatten_merge, flatten, flatten! 2014-08-03 12:45:54 +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
Tomoyuki Sahara e60951a305 add IO#sync and IO#sync= 2014-07-29 10:55:02 +09:00
take_cheeze f77fb11f4e Use RString in mesg instead. 2014-07-28 20:30:02 +09:00
take_cheeze e926b532ee Store exception message to mesg field of struct RException. 2014-07-28 16:34:01 +09:00
take_cheeze 0bd391bc6f Fix return type of symbol slicing.
Thanks to @suzukake .
2014-07-28 16:30:14 +09:00
take_cheeze 2249cf7c7f Implement Symbol#slice and Symbol#[] in mruby-symbol-ext. 2014-07-28 16:30:14 +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
yui-knk dd10f722ad Delete unused code in .h .c 2014-07-24 08:39:47 +09:00
yui-knk 4f73ff51e2 Add not implemented methods to README.md 2014-07-24 08:35:42 +09:00
yui-knk b4e4d98125 Add some comment outed methods
+ classify
+ divide
2014-07-24 08:29:45 +09:00
yui-knk 5e10c11662 Comment out some method
+ freeze
+ taint
+ untaint
2014-07-24 08:27:48 +09:00
yui-knk fad2bd9617 Add example to README.md 2014-07-24 08:22:22 +09:00
yui-knk 500bd30d6c Initial commit 2014-07-24 08:15:57 +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