Commit Graph

350 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto dafb6ead65 Merge pull request #217 from takahashim/fix-use-mrb_malloc
use mrb_malloc instead of malloc
2012-06-02 00:24:18 -07:00
Masaki Muranaka 703e97d5b3 Use "if" instead "switch". 2012-06-02 08:43:04 +09:00
Yukihiro Matsumoto b2d0f22dee ensure str_modify is called at the beginning of modifying methods 2012-06-02 04:12:23 +09:00
takahashim 49df217957 use mrb_malloc instead of malloc 2012-06-02 01:14:45 +09:00
Yukihiro Matsumoto cd48737e11 mrb_str_concat was broken for shared strings; close #214 2012-06-02 00:07:05 +09:00
Yukihiro Matsumoto a0b30fc01f OP_RETURN operand should be stack position of the new scope, not the current scope 2012-06-01 23:56:17 +09:00
Yukihiro Matsumoto d6337e48ad rest argument offset might be -1 that means empty 2012-06-01 23:54:43 +09:00
Yukihiro Matsumoto 364f7e8f37 remove unused mrb_f_send; and rename mrb_f_send_m to mrb_f_send 2012-06-01 21:23:54 +09:00
Yukihiro Matsumoto 26ac26bd4b remove spawn (and backtick) method that cannot be implemented without platform support 2012-06-01 21:22:40 +09:00
Yukihiro Matsumoto 9ec6db5e38 reorder arguments to mrb_get_args in mrb_f_send_m 2012-06-01 21:21:11 +09:00
Yukihiro Matsumoto 364e6b5a50 symbol table key should be mrb_sym, not int32_t 2012-06-01 09:44:19 +09:00
Yukihiro Matsumoto 8180fee180 Merge branch 'master' of github.com:mruby/mruby 2012-06-01 08:17:10 +09:00
Yukihiro "Matz" Matsumoto 0d15cfd5ec Merge pull request #211 from MobiRuby/add_kernel_send
add Kernel#send
2012-05-31 16:16:49 -07:00
Yukihiro Matsumoto 48d5df9987 Merge branch 'master' of github.com:mruby/mruby 2012-06-01 08:15:07 +09:00
Yuichiro MASUI 481d2874f1 add Kernel#send 2012-06-01 04:39:48 +09:00
Yukihiro Matsumoto 9b9b345697 remove unnecessary header inclusion from hash.c 2012-06-01 02:45:23 +09:00
Yukihiro Matsumoto e36285769a new API mrb_gc_protect() to add object to arena 2012-06-01 02:40:52 +09:00
Yukihiro Matsumoto b7d5ccdb36 small refactoring; hash->ht should not be NULL 2012-06-01 02:30:54 +09:00
Yukihiro Matsumoto 1321a157c2 values need not to dup unlike keys 2012-06-01 02:28:21 +09:00
Yukihiro Matsumoto f56abcbb5a reorder mrb_ary_new_from_values() args to (argc, argv) 2012-06-01 02:18:30 +09:00
Yukihiro Matsumoto 62f4270571 remove prototype for mrb_exec_recursive_paired() 2012-06-01 01:54:11 +09:00
Yukihiro Matsumoto 7a7c1cf128 stop using mrb_exec_recursive_paired() from Array comparison 2012-06-01 01:52:57 +09:00
Yukihiro Matsumoto 2a6b5b8ff5 stop using mrb_exec_recursive_paired() from Hash#== 2012-06-01 01:40:12 +09:00
Yukihiro Matsumoto 6caeb8f8fb hash function should use #eql? internally 2012-06-01 01:30:44 +09:00
Yukihiro Matsumoto 6a2cf46ff9 hash function should use #hash internally 2012-06-01 01:25:16 +09:00
Yukihiro Matsumoto 3c80a5e2bf add inline to KHASH_INIT functions 2012-06-01 01:18:20 +09:00
Yuichiro MASUI b174e9c3ea Add Module.const_defined? && _get && _set methods 2012-05-31 23:35:45 +09:00
Yukihiro Matsumoto ae9d9a0781 correctly share string bodies 2012-05-31 22:49:38 +09:00
Yukihiro Matsumoto a61fe54563 remove unused prototypes 2012-05-31 19:58:40 +09:00
Yukihiro Matsumoto 16b0a1a0e8 remove unused str_new_frozen 2012-05-31 19:52:46 +09:00
Yukihiro Matsumoto 21c1e2fdad shared strings should not chain 2012-05-31 19:52:37 +09:00
Yukihiro Matsumoto 00c6022cd7 remove unused variable 2012-05-31 19:50:39 +09:00
Yukihiro Matsumoto 5a67f22d1c remove unused str_new_frozen 2012-05-31 19:50:01 +09:00
Yukihiro Matsumoto 326fc888e4 allow string shared body 2012-05-31 19:16:48 +09:00
Yukihiro Matsumoto 71a480fb53 remove encoding files 2012-05-31 16:40:33 +09:00
Yukihiro Matsumoto 50d18a87eb remove transcode.c and trancecode_data.h 2012-05-31 16:36:32 +09:00
Yukihiro Matsumoto 3055a3bc8c reimplement String#* 2012-05-31 16:34:57 +09:00
Yukihiro Matsumoto 5450f925da reimplement String#<=> 2012-05-31 16:33:03 +09:00
Yukihiro Matsumoto b05014f6a9 reimplement String#capitalize 2012-05-31 16:31:33 +09:00
Yukihiro Matsumoto 0009239f29 reimplement String#chomp 2012-05-31 16:29:47 +09:00
Yukihiro Matsumoto c7f540ed67 reimplement String#upcase 2012-05-31 16:14:50 +09:00
Yukihiro Matsumoto 86697ca7b4 reimplement String#downcase 2012-05-31 16:14:11 +09:00
Yukihiro Matsumoto 1df00298f9 reimplement String#replace 2012-05-31 16:10:28 +09:00
Yukihiro Matsumoto d19cdfd2b1 allow ||= and &&= 2012-05-31 15:54:09 +09:00
Yukihiro Matsumoto 1f1ab75d75 resolve conflict 2012-05-31 15:33:20 +09:00
Yukihiro Matsumoto 64fc4ac332 resolve conflict 2012-05-31 15:32:38 +09:00
Yukihiro Matsumoto 0d8adaaaa1 wrong String#index behavior on udef INCLUDE_ENCODING 2012-05-31 14:54:52 +09:00
Yukihiro Matsumoto 708c455833 wrong String#inspect behavior on udef INCLUDE_ENCODING 2012-05-31 14:50:16 +09:00
Yukihiro Matsumoto fae483ff2a the argument for Exception.new is optinal 2012-05-31 11:15:51 +09:00
Yukihiro Matsumoto e3c1b48ba2 mrb_gets_args strict argc check; now returns argc 2012-05-31 11:14:33 +09:00