Yukihiro "Matz" Matsumoto
|
9c6398a444
|
rename mrb_intern2() to mrb_intern(); huge API incompatibility; close #1513
|
2013-11-29 08:47:28 +09:00 |
|
bggd
|
86c80139ab
|
Changed a variable declaration to top of block
|
2013-11-13 22:35:25 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
1910798f47
|
small style fix
|
2013-11-03 08:34:36 +09:00 |
|
Emiliano Lesende
|
80d8b5e2e7
|
Added support for Random as an argument to shuffle and shuffle!. Refactored random gem to use DATA instance type and hold mt_state inside the DATA_PTR instead of in an instance variable.
|
2013-11-02 12:07:34 -03:00 |
|
Emiliano Lesende
|
d8cc37cdf9
|
Added shuffle and shuffle! to the Array class in the Random gem.
|
2013-11-01 11:44:40 -03:00 |
|
Yukihiro "Matz" Matsumoto
|
b225e4cc82
|
redesign mruby/data.h API; use DATA_PTR() for raw data pointer, DATA_GET_PTR() to type safe retrieval (TypeError will be raised), DATA_CHECK_GET_PTR() to get nil if type mismatched
|
2013-08-15 01:33:36 +09:00 |
|
Tomoyuki Sahara
|
116f75a8ce
|
"spec.author" is better for single-author gems.
"spec.author=" expects a String represents a single author.
"spec.authors=" expects an Array which is a list of multiple authors.
http://guides.rubygems.org/specification-reference/
|
2013-07-23 10:09:24 +09:00 |
|
Jun Hiroe
|
e8b31f286b
|
Replace mrb_intern() with mrb_intern2() in random.c
|
2013-07-14 01:09:38 +09:00 |
|
kimu_shu
|
e720782f81
|
Add MRB_WORD_BOXING mode (represent mrb_value as a word)
|
2013-05-26 10:09:17 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
22469f3be1
|
use mrb_free to free random state
|
2013-04-29 09:13:30 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
975d52d804
|
fix memory leaks in mruby-random
|
2013-04-29 09:11:38 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
30d580ecbc
|
rename every ARGS_XXX to MRB_ARGS_XXX; ref #1206
|
2013-04-25 09:47:36 +09:00 |
|
MATSUMOTO Ryosuke
|
d2c88fe850
|
Change mruby-random License to MIT
refs: http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/license.html
|
2013-04-08 16:55:05 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
75f5535c4f
|
rename DATA API: mrb_get_datatype -> mrb_data_get_ptr; mrb_check_datatype -> mrb_data_check_and_get
|
2013-04-04 04:30:39 +09:00 |
|
Carson McDonald
|
61a8a61828
|
Use mrb_check_datatype directly to avoid warning.
|
2013-03-27 09:44:16 -04:00 |
|
kurodash
|
1c4820642d
|
Fix build error on VS2012 toolchain.
A local variables define beginning of a scope block.
VS2012 unacceptable ";;" in struct definition.
|
2013-03-27 18:24:40 +09:00 |
|
MATSUMOTO Ryosuke
|
6e110cb43d
|
Add test for Random::srand
|
2013-03-27 12:02:59 +09:00 |
|
mattn
|
46c13080f9
|
Fix test for mruby-random
|
2013-03-27 11:50:52 +09:00 |
|
mattn
|
00326ba7f1
|
Add test for mruby-random
|
2013-03-27 11:47:33 +09:00 |
|
MATSUMOTO Ryosuke
|
07dc11cae3
|
Support mt instance valiables
|
2013-03-27 10:39:11 +09:00 |
|
mattn
|
46a4673308
|
Refactoring mruby-rand
|
2013-03-26 23:03:19 +09:00 |
|
MATSUMOTO Ryosuke
|
ffa79b1aec
|
Add Random#rand and Random#srand
|
2013-03-26 21:58:12 +09:00 |
|
MATSUMOTO Ryosuke
|
d2c946f68d
|
Add Kernel#rand and Kernel#srand
|
2013-03-26 21:55:33 +09:00 |
|
MATSUMOTO Ryosuke
|
e870270773
|
Changed to static functions
|
2013-03-26 21:49:15 +09:00 |
|
MATSUMOTO Ryosuke
|
bdd27cbdca
|
Change Random module to class
|
2013-03-26 21:48:10 +09:00 |
|
MATSUMOTO Ryosuke
|
17d3055ad8
|
Modified license information for mruby-random
|
2013-03-23 22:07:08 +09:00 |
|
MATSUMOTO Ryosuke
|
ab82a86da4
|
Add mruby-random mrbgem (no activation though)
|
2013-03-23 18:54:56 +09:00 |
|