| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-06-15 | Remove unused `MRB_TT_FILE`. | Yukihiro "Matz" Matsumoto | |
| 2020-04-13 | Fix `MRB_TT_CPTR` object with `MRB_NAN_BOXING` | dearblue | |
| Previously, if `MRB_NAN_BOXING` is defined, for example, `mrb_cptr_value()` could not keep an odd address. If it is `MRB_32BIT`, it can be embedded in `NaN` as it is. If it is `MRB_64BIT`, some operations are shared with `MRB_WORD_BOXING`. In this case, the MRB_API function `mrb_nan_boxing_cptr_value()` is defined. | |||
| 2019-09-26 | Use type predicate macros instead of `mrb_type` if possible | KOBAYASHI Shuji | |
| For efficiency with `MRB_WORD_BOXING` (implement type predicate macros for all `enum mrb_vtype`). | |||
| 2019-08-05 | Use new specifiers/modifiers of `mrb_vfromat()` | KOBAYASHI Shuji | |
| The binary sizes (gems are only `mruby-bin-mruby`) are reduced slightly in my environment than before the introduction of new specifiers/modifiers (5116789a) with this change. ------------+-------------------+-------------------+-------- BINARY | BEFORE (5116789a) | AFTER (This PR) | RATIO ------------+-------------------+-------------------+-------- mruby | 593416 bytes | 593208 bytes | -0.04% libmruby.a | 769048 bytes | 767264 bytes | -0.23% ------------+-------------------+-------------------+-------- BTW, I accidentally changed `tasks/toolchains/visualcpp.rake` at #4613, so I put it back. | |||
| 2019-07-02 | Fix and refine error message in `mrb_obj_to_sym()` | KOBAYASHI Shuji | |
| Before this patch: $ bin/mruby -e '1.respond_to?(2)' #=> nil is not a symbol After this patch (same as Ruby): $ bin/mruby -e '1.respond_to?(2)' #=> 2 is not a symbol nor a string | |||
| 2019-07-01 | Remove unused C header file from `src/etc.c` | KOBAYASHI Shuji | |
| 2019-04-24 | Remove unnecessary `mrb_regexp_check()` and related functions. | Yukihiro "Matz" Matsumoto | |
| 2019-04-11 | Remove incorrect flags updating in `mrb_regexp_p()` | KOBAYASHI Shuji | |
| 2019-04-10 | Use `mrb_immediate_p()` in `mrb_obj_freeze()` and `mrb_obj_frozen()` | KOBAYASHI Shuji | |
| 2018-08-30 | Separate meta-programming features to `mruby-metaprog` gem. | Yukihiro "Matz" Matsumoto | |
| We assume meta-programming is less used in embedded environments. We have moved following methods: * Kernel module global_variables, local_variables, singleton_class, instance_variables, instance_variables_defined?, instance_variable_get, instance_variable_set, methods, private_methods, public_methods, protected_methods, singleton_methods, define_singleton_methods * Module class class_variables, class_variables_defined?, class_variable_get, class_variable_set, remove_class_variable, included_modules, instance_methods, remove_method, method_removed, constants * Module class methods constants, nesting Note: Following meta-programming methods are kept in the core: * Module class alias_method, undef_method, ancestors, const_defined?, const_get, const_set, remove_const, method_defined?, define_method * Toplevel object define_method `mruby-metaprog` gem is linked by default (specified in default.gembox). When it is removed, it will save 40KB (stripped:8KB) on x86-64 environment last time I measured. | |||
| 2017-10-11 | Add MRB_WITHOUT_FLOAT | YAMAMOTO Masaya | |
| 2017-10-01 | Use `uint32_t` to avoid signed integer overflow warning; #3816 | Yukihiro "Matz" Matsumoto | |
| 2017-08-10 | Normalize float numbers before calculating a hash value. | Yukihiro "Matz" Matsumoto | |
| 2016-11-17 | renamed "inline" to "istruct" to represent inline struct; ref #3251 | Yukihiro "Matz" Matsumoto | |
| 2016-11-17 | inline structures data type for mruby (MRB_TT_INLINE) (fix #3237) | Tomasz Dąbrowski | |
| Inline structures have no instance variables, no finalizer, and offer as much space as possible in RBASIC object. This means 24 bytes on 64-bit platforms and 12 bytes on 32-bit platforms. mruby-inline-struct gem is only provided for testing. | |||
| 2016-02-04 | cache mrb_regexp_p(); ref #980 | Yukihiro "Matz" Matsumoto | |
| 2015-11-27 | include changed from by quotes ("") to by brackets (<>); close #3032 | Yukihiro "Matz" Matsumoto | |
| 2015-08-11 | Remove non-need tmp value | go.kikuta | |
| 2015-06-02 | remove unnecessary mrb_immediate_p() | cremno | |
| `!mrb_array_p(ary2)` and `mrb_type(obj) != MRB_TT_DATA` are sufficient. | |||
| 2014-08-21 | changed to call check_cv_name_str in check_cv_name_sym and adjust indent | kkkkkt | |
| 2014-08-06 | Fix a typo in etc.c | bggd | |
| 2014-08-04 | Merge branch 'master' of github.com:mruby/mruby | Yukihiro "Matz" Matsumoto | |
| 2014-08-03 | MSVC: add simple (v)snprintf implementation | cremno | |
| _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-04 | rename obsolete mrb_special_const_p to mrb_immediate_p | Yukihiro "Matz" Matsumoto | |
| 2014-08-04 | add MRB_API modifiers to mruby API functions | Yukihiro "Matz" Matsumoto | |
| 2014-07-09 | rename word boxing functions | Yukihiro "Matz" Matsumoto | |
| 2014-07-09 | Clean up value.h and mrb_value boxing | David Turnbull | |
| 2014-05-15 | move mrb_irep_remove_lv from etc.c to mruby-bin-strip gem | Yukihiro "Matz" Matsumoto | |
| 2014-05-15 | Support `LVAR` section removing. | take_cheeze | |
| 2014-04-29 | cast intptr_t to mrb_int to pacify compiler warning; close #2148 | Yukihiro "Matz" Matsumoto | |
| 2014-04-17 | Add mrb_regexp_p to check whether mrb_value is Regexp. | take_cheeze | |
| 2014-03-15 | calc hash value directly for strings, symbols and numbers | Yukihiro "Matz" Matsumoto | |
| 2014-01-30 | etc.c: small cleanup (delete unused functions) | cremno | |
| mrb_data_object_alloc: unnecessary cast mrb_lastline_get: mruby doesn't support $_, weird and unused code mrb_exec_recursive: see 4e46abb86914b36e70b5f3ad0826d0b648e9b4ef mrb_block_proc: unused, doesn't really do anything (or needs to be rewritten) mrb_obj_to_sym: actually use id (and MSVC detected unreachable code) | |||
| 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-27 | float objects in pool are objects when MRB_WORD_BOXING is set | Yukihiro "Matz" Matsumoto | |
| 2013-09-21 | rename voidp to cptr | Yukihiro "Matz" Matsumoto | |
| 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-08-07 | rename mrb_value_p() to mrb_ptr() since _p means predicate in mruby source | Yukihiro "Matz" Matsumoto | |
| 2013-08-03 | add read barrier to value.p | Yuichi Nishiwaki | |
| API changes: - value.p must be accessed via mrb_value_p macro - value.p must be mutated via MRB_SET_VALUE_P macro | |||
| 2013-05-26 | Add MRB_WORD_BOXING mode (represent mrb_value as a word) | kimu_shu | |
| 2013-04-29 | rename mrb_to_id to mrb_obj_to_sym since symbol is nothing to do with ↵ | Yukihiro "Matz" Matsumoto | |
| identifier in mruby | |||
| 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 new mrb_format API from mrb_raisef; its only format specifier is "%S" ↵ | Yukihiro Matz Matsumoto | |
| (stringify) and takes mrb_value; close #1062 | |||
| 2013-03-01 | Merge branch 'pluggable_struct' of https://github.com/mattn/mruby into ↵ | Yukihiro Matz Matsumoto | |
| mattn-pluggable_struct | |||
| 2013-03-01 | Add typedef to structures that have mrb_ prefix. Use typedef-ed type instead ↵ | Masaki Muranaka | |
| of struct directly. | |||
| 2013-03-01 | Pluggable Struct | mattn | |
| 2013-02-24 | Remove commented out code. Remove redundant function calls. | Masaki Muranaka | |
| 2013-02-18 | remove TT_REGEX and TT_MATCH | Yukihiro Matz Matsumoto | |
| 2013-02-15 | Pluggable Regexp | mattn | |
| 2012-11-04 | remove FL_XXX macros | Yukihiro Matz Matsumoto | |
