Commit Graph

1628 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto 8c24e9e239 Merge pull request #580 from shtirlic/fix_warns
Fix compile warnings in mirb
2012-11-30 19:13:34 -08:00
Yukihiro "Matz" Matsumoto 5947113f78 Merge pull request #578 from tricknotes/stop-warning
Stop warning: extra ';' outside of a function
2012-11-30 19:12:49 -08:00
Yukihiro "Matz" Matsumoto 620fd92f09 Merge pull request #579 from skandhas/pr-remove-incorrect-pop-in-codegen
remove incorrect pop() call  in codegen
2012-11-30 19:12:09 -08:00
Yukihiro Matz Matsumoto 1d3f4b3ff7 Fix typos: invalide -> invalid; patch from @darashi; close #577 2012-12-01 12:10:29 +09:00
skandhas a100352595 add test for 'Abbreviated variable assignment as returns' 2012-11-30 22:31:35 +08:00
skandhas 9704ceefce remove incorrect pop() in codegen 2012-11-30 22:11:41 +08:00
Ryunosuke SATO ee0563823d Stop warning: extra ';' outside of a function 2012-11-30 22:43:53 +09:00
shtirlic 83ecb2f078 Fix compile warnings in mirb
Change last_char type to int
Warnings
mirb.c:174:7: warning: comparison is always false due to limited range of data type [-Wtype-limits]
warning: comparison is always false due to limited range of data type [-Wtype-limits]
2012-11-29 19:03:00 +04:00
Yukihiro "Matz" Matsumoto 2ea245db3d Merge pull request #572 from skandhas/pr-add-Module-instance_methods
add "Module#instance_methods" for mruby
2012-11-26 20:22:12 -08:00
skandhas 1f3c512564 add comments for Module#instance_methods 2012-11-26 12:10:15 +08:00
skandhas 5e8dc8cd44 add Module#instance_methods test 2012-11-26 12:06:13 +08:00
skandhas 6fb74ac167 add Module#instance_methods 2012-11-26 11:48:03 +08:00
skandhas f6c44d0dff make 'class_instance_method_list' into a non-static funcion 2012-11-26 11:20:48 +08:00
Yukihiro "Matz" Matsumoto d03bd87dc0 Merge pull request #571 from skandhas/pr-add-Module-include-p
add "Module#include?" for mruby
2012-11-25 06:31:42 -08:00
skandhas 25a02a5b8b add comment for Module#include? 2012-11-24 16:26:36 +08:00
skandhas cd8e9c1463 add Module#include? test 2012-11-24 16:21:37 +08:00
skandhas 59035eb33d add Module#include? 2012-11-24 16:04:11 +08:00
Yukihiro "Matz" Matsumoto 32bacb21a2 Merge pull request #570 from skandhas/pr-remove-redundant-LOOP_NORMAL-checkups
remove redundant LOOP_NORMAL checkups in function:codegen. and fix #561
2012-11-23 02:50:34 -08:00
skandhas 6c8d2ca399 add assert 'BS Block 35' 2012-11-23 16:25:42 +08:00
skandhas 385f129aca add assert 'BS Block 34' 2012-11-23 16:22:24 +08:00
skandhas a316e92da3 modify the order of BS BLOCK assert. Because 'BS BLOCK 32' is already defined at line:349 2012-11-23 16:20:04 +08:00
skandhas 7bae52fc56 remove redundant LOOP_NORMAL checkups in function:codegen. and fix #561 2012-11-23 16:10:14 +08:00
Yukihiro "Matz" Matsumoto 276b77021f Merge pull request #564 from xxuejie/master
Use check_float to test equality of float values in Math#round test
2012-11-21 00:04:57 -08:00
Yukihiro Matz Matsumoto ae6a7e5aae Merge branch 'master' of github.com:mruby/mruby 2012-11-21 17:01:09 +09:00
Yukihiro Matz Matsumoto 76f0e755e9 handle return from blocks, especially from lambda blocks; close #561 2012-11-21 17:00:06 +09:00
Xuejie Xiao a9c8ae49eb Use check_float when testing equality for float values 2012-11-20 23:02:16 -05:00
Yukihiro "Matz" Matsumoto 8894cbe00f Merge pull request #563 from xxuejie/master
Fix manual implementations of erf and erfc functions
2012-11-19 23:50:49 -08:00
Yukihiro "Matz" Matsumoto 4eee5ff50a Merge pull request #562 from skandhas/pr-fix-lost-const-variable-in-BasicObject
fix lost const variable in class BasicObject
2012-11-19 23:49:54 -08:00
Xuejie Xiao 358f0cb5d8 Restore accidentally deleted erfc(1) test 2012-11-19 15:19:52 -05:00
Xuejie Xiao f7dd27a928 Fix provided implementation of erf and erfc functions. 2012-11-19 15:13:18 -05:00
skandhas 44f240f433 fix lost const variable in class BasicObject 2012-11-19 17:45:29 +08:00
Yukihiro "Matz" Matsumoto 1b2257c8ff Merge pull request #560 from skandhas/pr-delete-redundant-__send__-definition
delete redundant '__send__' definition
2012-11-18 07:47:46 -08:00
Yukihiro "Matz" Matsumoto d39a3023cc Merge pull request #558 from masuidrive/lrshift_width_as_int
l/rshift width as int. It was unsigned long
2012-11-18 07:46:32 -08:00
skandhas c6574ddc4c delete redundant '__send__' definition 2012-11-18 13:41:15 +08:00
Yuichiro MASUI 9375138573 l/rshift width as int. It was unsigned long 2012-11-17 15:57:01 +09:00
Yukihiro Matz Matsumoto 7cea9d7b94 int and mrb_int should not be mixed under -DMRB_INT64; may fix #557 2012-11-17 02:16:35 +09:00
Yukihiro "Matz" Matsumoto f3191b943f Merge pull request #555 from masuidrive/define_mrb_int_as_64bit
define MRB_INT64 flag for mrb_int as 64bit
2012-11-16 09:04:49 -08:00
Yukihiro Matz Matsumoto ac0233bcd0 add test for issue#547; close #554 2012-11-17 02:02:08 +09:00
Yuichiro MASUI 7a20ab0f95 define MRB_INT64 flag for mrb_int as 64bit 2012-11-16 19:12:57 +09:00
Yukihiro Matz Matsumoto 470bb14dc8 should look for outermost scope to return; close #547 2012-11-16 11:51:51 +09:00
Yukihiro Matz Matsumoto a5d7ebbad0 prepare metaclass of metaclass when retrieving by singleton_class(); close #540 2012-11-16 11:34:16 +09:00
Yukihiro Matz Matsumoto 8856c89246 should print SCLASS as modules and classes 2012-11-14 23:56:29 +09:00
Yukihiro Matz Matsumoto 0f6c1a034b zero initialize singleton_class iv 2012-11-14 23:55:06 +09:00
Yukihiro Matz Matsumoto 78be24c87b init_copy should copy IV of SCLASS, HASH, DATA as well 2012-11-14 17:19:01 +09:00
Yukihiro Matz Matsumoto 1993f934f2 out of bound access in iv seglist 2012-11-14 17:17:37 +09:00
Yukihiro Matz Matsumoto 73dda8cb41 Merge branch 'master' of github.com:mruby/mruby 2012-11-14 14:42:36 +09:00
Yukihiro Matz Matsumoto 3eeef30618 make mrb_hash_keys() non static function 2012-11-14 14:42:21 +09:00
Yukihiro "Matz" Matsumoto 9849501686 Merge pull request #548 from monaka/pr-remove-redundant-char
Remove a redundant "%".
2012-11-13 01:26:40 -08:00
Yukihiro "Matz" Matsumoto 7ff70bd75f Merge pull request #549 from skandhas/pr-modify-class-variables-test
modify Module#class_variables test
2012-11-13 01:25:28 -08:00
Yukihiro "Matz" Matsumoto f322f7a09b Merge pull request #550 from iij/pr-string-slice-boundary-error
fix the issue String#slice with Range may return broken String.
2012-11-13 01:24:58 -08:00