summaryrefslogtreecommitdiffhomepage
path: root/src/variable.c
AgeCommit message (Collapse)Author
2017-03-18Small cosmetic change ("* " -> "*").Yukihiro "Matz" Matsumoto
2016-12-12freeze instance variables; ref #3340Yukihiro "Matz" Matsumoto
2016-11-24Add pointer casting from mrb_malloc(); ref #3267Yukihiro "Matz" Matsumoto
2016-11-08class variables in higher order have a priority; fix #3235Yukihiro "Matz" Matsumoto
2016-01-11Fix class variable reference in moduleKouhei Sutou
Fix #3079
2015-11-27include changed from by quotes ("") to by brackets (<>); close #3032Yukihiro "Matz" Matsumoto
2015-11-07PR #2521 did not work for singleton classes for non-class objects; fix #3003Yukihiro "Matz" Matsumoto
2015-07-16use mrb_str_cat_str() instead of mrb_str_append()cremno
If the argument is always a string, then mrb_str_cat_str() can be directly called instead of indirectly by mrb_str_append(). mrb_any_to_s(), mrb_obj_as_string(), mrb_inspect() always return a string.
2015-06-24Remove unnecessary backticks.Franck Verrot
Dr Markus Kuhn published in 1999 an article [1] explaining in details why we shouldn't use the ASCII grave accent (0x60) as a left quotation. Backticks have been used most notably to produce nice-looking LaTeX documents but it doesn't seem to be an issue on modern platforms and for the oldest ones, there are workarounds as mentioned by Dr Kuhn. [1]: https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
2015-05-28remove unnecessary including of <ctype.h>cremno
Not needed anymore since 85075bef7583edd0a48cfbdfaa632cbdacf78f2c
2014-09-19change class argument of mrb_const_defined_at from `struct RClass*` to ↵Yukihiro "Matz" Matsumoto
`mrb_value` to make it consistent with mrb_const_defined; ref #2593
2014-09-19const_defined? to check superclasses; ref #2593Yukihiro "Matz" Matsumoto
2014-09-04instance variable name validation based on <ctype.h>; fix #2584Yukihiro "Matz" Matsumoto
2014-09-02refactor valid instance variable name checkYukihiro "Matz" Matsumoto
2014-08-29Fix mismatches for MRB_API declarations.Tatsuhiko Kubo
2014-08-13add write barrier when iv is copiedYukihiro "Matz" Matsumoto
2014-08-04add MRB_API modifiers to mruby API functionsYukihiro "Matz" Matsumoto
2014-08-02Use Boolean macro in variable.cJun Hiroe
2014-07-21Use MRB_TT_EXCEPTION in exception object.take_cheeze
2014-07-14Use `mrb_bool` as return type of `mrb_const_defined_at`.take_cheeze
2014-06-16[minor-fix]Minor cleanups on variable.c commentskatmutua
2014-05-18Add a space aftre bracket.yui-knk
2014-05-04Fix typo.yui-knk
2014-04-26Class.constants to take optional argument; close #2133Yukihiro "Matz" Matsumoto
2014-04-14reduce RSTRING_PTR usagecremno
2014-04-10revert b45e99 since a bug in khash.h was fixedYukihiro "Matz" Matsumoto
2014-04-09Fix invalid hash typemattn
2014-04-09call kh_get before kh_put to avoid potential key lost; reported by @mirichiYukihiro "Matz" Matsumoto
2014-04-02Use bool macro KHASH_DEFINE and KHASH_DECLAREksss
2014-03-26Remove redundant NULL checks.Masaki Muranaka
mrb_malloc causes an exception when memory was empty.
2014-03-15symbol length type to be mrb_intYukihiro "Matz" Matsumoto
2014-03-08use mrb_str_cat_lit for literalscremno
2014-02-27use mrb_str_cat_lit() intead of mrb_str_catcubicdaiya
2014-02-17iv_size (non-seglist): return 0 if t is NULLcremno
2014-02-13mrb_str_cat2: deprecated since 0cedf8fcremno
2014-02-09Fix Kernel#global_variables for $1-$9Pavel
2014-01-07remove superfluous includescremno
- 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)
2014-01-06small refactoring (dedup mrb_vm_cv_set)Yukihiro "Matz" Matsumoto
2013-12-23Remove 'mrb_state' field from 'kh_xxx_t' structure.crimsonwoods
'kh_xxx_t' requires 'mrb_state' to allocate, free, and compute hash value. But 'mrb_state' should not be held by 'kh_xxx_t' and 'mrb_state' should be supplied from outside.
2013-12-10Avoid recursive instance variable inspectionsh2so5
2013-12-08Fix mod.constants cannot return the single character constantbggd
2013-12-01add mrb_intern_lit for creating symbol from string literaltake_cheeze
2013-11-29rename mrb_intern2() to mrb_intern(); huge API incompatibility; close #1513Yukihiro "Matz" Matsumoto
2013-10-15define Module#const_missingYukihiro "Matz" Matsumoto
2013-10-10remove unused value for mrb_gv_removeMATSUMOTO Ryosuke
2013-10-10add mrb_gv_remove(); untestedYukihiro "Matz" Matsumoto
2013-08-18remove unnecessary returnYukang
2013-07-24I fix typos in variable.c.Jun Hiroe
2013-07-14Add comments in variable.cJun Hiroe
2013-07-12Replace mrb_intern() func with mrb_intern2() func or mrb_intern_cstr() func.Jun Hiroe