| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-12-17 | Refine output of `mrb_print_error()` | KOBAYASHI Shuji | |
| The following improvements are made according to Ruby's behavior: - Match location number to index. - Remove duplicate most recent call output. - Fix that first call is not output when array (unpacked) backtrace. ### Example ```ruby def a; raise "error!" end def b; a end begin b rescue => e e.backtrace if ARGV[0] == "unpack" # unpack backtrace raise e end ``` #### Before this patch: ``` $ bin/mruby example.rb unpack trace (most recent call last): [0] example.rb:2:in b [1] example.rb:1:in a example.rb:1: error! (RuntimeError) ``` #### After this patch: ``` $ bin/mruby example.rb unpack trace (most recent call last): [2] example.rb:4 [1] example.rb:2:in b example.rb:1:in a: error! (RuntimeError) ``` | |||
| 2015-11-27 | include changed from by quotes ("") to by brackets (<>); close #3032 | Yukihiro "Matz" Matsumoto | |
| 2015-11-17 | DISABLE_STDIO/ENABLE_DEBUG macros to rename; close #3014 | Yukihiro "Matz" Matsumoto | |
| changes: * rename DISABLE_STDIO -> MRB_DISABLE_STDIO * rename ENABLE_DEBUG -> MRB_ENABLE_DEBUG_HOOK * no more opposite macro definitions (e.g. ENABLE_STDIO, DISABLE_DEBUG). * rewrite above macro references throughout the code. * update documents | |||
| 2015-06-23 | rewrite printstr() to get rid of code duplication | cremno | |
| 2015-06-13 | refactor code to call mrb_inspect() instead | cremno | |
| mrb_inspect() also calls mrb_obj_as_string() after #inspect to ensure the mrb_value is a string. | |||
| 2014-12-12 | mrb_p() should print mrb_obj_as_string() if #inspect does not return a ↵ | Yukihiro "Matz" Matsumoto | |
| string value | |||
| 2014-08-04 | add MRB_API modifiers to mruby API functions | Yukihiro "Matz" Matsumoto | |
| 2014-04-30 | remove trailing spaces | Nobuyoshi Nakada | |
| 2014-03-06 | make embed string when create literals | ksss | |
| 2014-03-06 | embed small string | ksss | |
| use flags 4 for *this object is embed* use flags 8~64 for *embed string length* | |||
| 2014-02-07 | move version info from gems to core; ref #576 #1684 | Yukihiro "Matz" Matsumoto | |
| 2014-02-06 | use mrb_str_new_lit() more widely | Yukihiro "Matz" Matsumoto | |
| 2014-02-06 | introduce mrb_str_new_lit() to create strings from C string litrals | Yukihiro "Matz" Matsumoto | |
| 2014-02-05 | Add global constant MRUBY_COPYRIGHT | MATSUMOTO Ryosuke | |
| 2014-02-05 | replace Kernel.show_version with MRUBY_DESCRIPTION | MATSUMOTO Ryosuke | |
| 2014-02-05 | Add pluggable versioning by mruby-version | MATSUMOTO Ryosuke | |
| 2014-01-30 | Happy new year! (update copyright year) | cremno | |
| Let's not wait until May this time (f0a9b95af3d542ac1db7fcb4a3d77990a284c185)! | |||
| 2013-05-26 | mruby error messages should be directed to stderr | Yukihiro "Matz" Matsumoto | |
| 2013-03-24 | Remove __printstr__ | mattn | |
| 2013-03-05 | Modify API configuration. | Masaki Muranaka | |
| C API mrb_p() is always callable. - But it will do nothing when ENABLE_STDIO is not defined. Kernel#__printstr__ is always callable. - But it will do nothing when ENABLE_STDIO is not defined. | |||
| 2013-03-05 | Include stdio.h in mrbconf.h instead of C extension sources. | Masaki Muranaka | |
| 2013-01-14 | change 2012 to 2013 | Yukihiro Matz Matsumoto | |
| 2012-11-04 | add new predicates mrb_string_p(),mrb_array_p(),mrb_hash_p() | Yukihiro Matz Matsumoto | |
| 2012-07-17 | use fwrite() instead of loop putc | Yukihiro Matsumoto | |
| 2012-07-17 | change return type of mrb_p() to void | Yukihiro Matsumoto | |
| 2012-07-17 | mrb_p() should return the argument | Yukihiro Matsumoto | |
| 2012-07-17 | prepare empty mrb_p() to make like work | Yukihiro Matsumoto | |
| 2012-07-15 | DIABLE_STDIO to disable __printstr__ | Yukihiro Matsumoto | |
| 2012-06-05 | mruby/string.h: rename buf to ptr | Yukihiro Matsumoto | |
| 2012-06-03 | make shared string to reference-counted C structure to reduce GC pressure | Yukihiro Matsumoto | |
| 2012-05-18 | implement Kernel#p in Ruby | Yukihiro Matsumoto | |
| 2012-05-18 | revise version description | Yukihiro Matsumoto | |
| 2012-04-30 | rm whitespace | roco | |
| 2012-04-27 | Avoid to crash when "mruby -e p" | mattn | |
| 2012-04-23 | add file header | mimaki | |
| 2012-04-20 | add mruby sources | mimaki | |
