| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-09-12 | constify pointer from RARRAY_PTR to detect potential write barrier bugs. | Yukihiro "Matz" Matsumoto | |
| if you see compiler errors due to this commit, you'd better to use array-modifying functions, e.g. mrb_ary_set() or mrb_ary_push(), otherwise you might see nasty GC bugs in the future. if you are sure what you are doing, replace `RARRAY_PTR(ary)` by `mrb_ary_ptr(ary)->ptr`. but be warned. | |||
| 2014-08-20 | Add API `mrb_data_init` to initialize `MRB_TT_DATA` tagged instance. | take_cheeze | |
| 2014-07-12 | remove spaces after open parens | Yukihiro "Matz" Matsumoto | |
| 2014-06-25 | add a few const qualifier | Santa Zhang | |
| 2014-05-10 | Pacify MSVC warnings for random.c | kyab | |
| 2014-04-30 | remove trailing spaces | Nobuyoshi Nakada | |
| 2014-03-17 | move summary of mrbgems in default gembox to its spec | take_cheeze | |
| 2014-03-11 | don't use of anonymous unions | take_cheeze | |
| 2014-03-10 | set bit field for mrb_bool | ksss | |
| 2014-03-10 | reduce mrb_open calls in mrbgem test | take_cheeze | |
| 2014-03-09 | add data_type check to mruby-random | Yukihiro "Matz" Matsumoto | |
| 2014-03-09 | refactoring mruby-random | Yukihiro "Matz" Matsumoto | |
| 2014-03-09 | implement Array#sample in mruby-random gem | Yukihiro "Matz" Matsumoto | |
| 2014-03-05 | remove unused variable | cubicdaiya | |
| GLOBAL_RAND_SEED_KEY is no longer used. | |||
| 2014-03-04 | Fix #1793 | mattn | |
| 2014-03-02 | fix a memory leak in mruby-random. | Tatsuya Matsumoto | |
| 2014-03-01 | use C style comments instead of C++ style comments | cubicdaiya | |
| According to CONTRIBUTING.md, Don't use C++ style comments /* This is the prefered comment style */ Use C++ style comments only for temporary comment e.g. commenting out some code lines. | |||
| 2014-02-25 | Implement default Random instance. | chasonr | |
| Previously, the default random number generator was implemented using static storage. This storage is common to all instances of mruby in a process, and use of the default random number generator in one instance will perturb the default random number generator in other instances. It is also not thread safe. With this change, the default random number generator is defined as Random::DEFAULT, as it is in CRuby. | |||
| 2014-02-21 | use 'd' format spec to get Random object | take_cheeze | |
| 2014-02-21 | use mrb_intern_lit in mruby-random | take_cheeze | |
| 2014-02-14 | Give the type 'void' to functions have no argument. | cubicdaiya | |
| According to the C standard, it is desirable to give the type 'void' to functions have no argument. | |||
| 2014-01-07 | remove superfluous includes | cremno | |
| - reduce compile time by a little bit (full-core: ~0.7s for me) - thanks to 'include-what-you-use' for some help - include Standard C header files before any other (coding style) | |||
| 2013-11-29 | rename mrb_intern2() to mrb_intern(); huge API incompatibility; close #1513 | Yukihiro "Matz" Matsumoto | |
| 2013-11-13 | Changed a variable declaration to top of block | bggd | |
| 2013-11-03 | small style fix | Yukihiro "Matz" Matsumoto | |
| 2013-11-02 | Added support for Random as an argument to shuffle and shuffle!. Refactored ↵ | Emiliano Lesende | |
| random gem to use DATA instance type and hold mt_state inside the DATA_PTR instead of in an instance variable. | |||
| 2013-11-01 | Added shuffle and shuffle! to the Array class in the Random gem. | Emiliano Lesende | |
| 2013-08-15 | redesign mruby/data.h API; use DATA_PTR() for raw data pointer, ↵ | Yukihiro "Matz" Matsumoto | |
| DATA_GET_PTR() to type safe retrieval (TypeError will be raised), DATA_CHECK_GET_PTR() to get nil if type mismatched | |||
| 2013-07-23 | "spec.author" is better for single-author gems. | Tomoyuki Sahara | |
| "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-14 | Replace mrb_intern() with mrb_intern2() in random.c | Jun Hiroe | |
| 2013-05-26 | Add MRB_WORD_BOXING mode (represent mrb_value as a word) | kimu_shu | |
| 2013-04-29 | use mrb_free to free random state | Yukihiro "Matz" Matsumoto | |
| 2013-04-29 | fix memory leaks in mruby-random | Yukihiro "Matz" Matsumoto | |
| 2013-04-25 | rename every ARGS_XXX to MRB_ARGS_XXX; ref #1206 | Yukihiro "Matz" Matsumoto | |
| 2013-04-08 | Change mruby-random License to MIT | MATSUMOTO Ryosuke | |
| refs: http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/license.html | |||
| 2013-04-04 | rename DATA API: mrb_get_datatype -> mrb_data_get_ptr; mrb_check_datatype -> ↵ | Yukihiro "Matz" Matsumoto | |
| mrb_data_check_and_get | |||
| 2013-03-27 | Use mrb_check_datatype directly to avoid warning. | Carson McDonald | |
| 2013-03-27 | Fix build error on VS2012 toolchain. | kurodash | |
| A local variables define beginning of a scope block. VS2012 unacceptable ";;" in struct definition. | |||
| 2013-03-27 | Add test for Random::srand | MATSUMOTO Ryosuke | |
| 2013-03-27 | Fix test for mruby-random | mattn | |
| 2013-03-27 | Add test for mruby-random | mattn | |
| 2013-03-27 | Support mt instance valiables | MATSUMOTO Ryosuke | |
| 2013-03-26 | Refactoring mruby-rand | mattn | |
| 2013-03-26 | Add Random#rand and Random#srand | MATSUMOTO Ryosuke | |
| 2013-03-26 | Add Kernel#rand and Kernel#srand | MATSUMOTO Ryosuke | |
| 2013-03-26 | Changed to static functions | MATSUMOTO Ryosuke | |
| 2013-03-26 | Change Random module to class | MATSUMOTO Ryosuke | |
| 2013-03-23 | Modified license information for mruby-random | MATSUMOTO Ryosuke | |
| 2013-03-23 | Add mruby-random mrbgem (no activation though) | MATSUMOTO Ryosuke | |
