Commit Graph

625 Commits

Author SHA1 Message Date
Yukihiro Matsumoto b2d0f22dee ensure str_modify is called at the beginning of modifying methods 2012-06-02 04:12:23 +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 30556ad921 remove print and puts from kernel.rb 2012-06-02 00:00:12 +09:00
Yukihiro Matsumoto 2d1f303ec2 remove Ruby define send from kernel.rb 2012-06-01 23:58:09 +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
Yukihiro "Matz" Matsumoto 024f211f10 Merge pull request #210 from MobiRuby/module_const
Add Module.const_defined? && _get && _set methods
2012-05-31 16:14:46 -07:00
Yukihiro Matsumoto bf20cc800e remove unused prototypes from mruby.h 2012-06-01 06:47:09 +09:00
Yuichiro MASUI 481d2874f1 add Kernel#send 2012-06-01 04:39:48 +09:00
Yukihiro Matsumoto aafd787e58 remove mrb_rs from mruby.h 2012-06-01 02:53:50 +09:00
Yukihiro Matsumoto 617ea34d97 remove CONST_ID from mruby.h 2012-06-01 02:53:15 +09:00
Yukihiro Matsumoto 9e826933b5 remove IO related prototypes from mruby.h 2012-06-01 02:51:48 +09:00
Yukihiro Matsumoto 2efc7dba42 remove ruby_setjmp from mruby.h 2012-06-01 02:50:59 +09:00
Yukihiro Matsumoto 034ef8696f remove KASH from mruby.h 2012-06-01 02:50:07 +09:00
Yukihiro Matsumoto f3fce2ff03 remove REALLOC_N 2012-06-01 02:49:04 +09:00
Yukihiro Matsumoto 1f704552cc move respond_to and instance_of prototypes to mruby.h 2012-06-01 02:48:19 +09:00
Yukihiro Matsumoto 9b9b345697 remove unnecessary header inclusion from hash.c 2012-06-01 02:45:23 +09:00
Yukihiro Matsumoto 69ed2d2c3c add prototype for mrb_garbage_collect() 2012-06-01 02:43:39 +09:00
Yukihiro Matsumoto 1add4558a6 add prototype for mrb_garbage_collect() 2012-06-01 02:43:29 +09:00
Yukihiro Matsumoto 29f4bf0109 remove unused event related declarations 2012-06-01 02:43:06 +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