Commit Graph

98 Commits

Author SHA1 Message Date
Masaki Muranaka 6cd7017ec1 Remove trailing whitespaces. This is just a cosmetic change. 2013-03-03 10:54:00 +09:00
mattn 3f1814ce3a Move mrblib for Struct 2013-03-01 15:33:52 +09:00
Yuichiro MASUI 0970ca9572 Support to build on pwd != mruby source root 2013-02-23 19:03:59 +09:00
Yukihiro Matz Matsumoto b7da7cfee0 adopt String#gsub to fixed split behavior 2013-02-18 18:47:58 +09:00
Daniel Bovensiepen e8c0b61c0d String#gsub fix with last character 2013-02-17 12:13:46 +00:00
Yuichiro MASUI 0ee2c71b03 Added String#sub/sub! and String#gsub/gsub! 2013-02-12 16:10:35 +09:00
Yukihiro Matz Matsumoto 84a7c9ed1c "for i in (1..12/5); p i ; end" should not print "3" 2013-02-09 17:53:12 +09:00
Jon d5b263f7a9 Refine pretty printing 2013-01-22 10:37:54 -05:00
Daniel Bovensiepen 300f0d548b Beautify the output of rake 2013-01-21 15:58:47 +08:00
Yuichiro MASUI ced80d2b4b Improved build scripts and config files 2013-01-20 22:48:42 +09:00
Yukihiro Matz Matsumoto c9c758d6ed fixed wrong loop termination introduced by 79d38c4 2013-01-18 15:43:35 +09:00
Yukihiro Matz Matsumoto 5166aa726d check if array expands in each block 2013-01-16 18:35:25 +09:00
Yukihiro Matz Matsumoto 79d38c4962 check if array shrinks in each block 2013-01-16 18:32:04 +09:00
Yuichiro MASUI 7c469c0b9d Rebuild CRuby based building script without Makefile
Tested CRuby 1.8.6 and 1.9.3

You can see building configuration in build_config.rb
2013-01-03 02:24:15 +09:00
Yukihiro Matz Matsumoto 55870e4b82 small refactoring for Array#each 2012-12-19 20:41:41 +09:00
Ryan Scott Lewis 6a450a6bda Update Array#each to be slightly faster. 2012-12-19 06:02:15 -05:00
Yoji SHIDARA aff4865f45 Fix a typo in comment
elment ->
element
2012-12-16 11:10:15 +09:00
Yuichiro MASUI dcdd893bed Added LDFLAGS to Makefiles 2012-12-09 19:18:40 +09:00
Yukihiro Matz Matsumoto f1ed143624 mange arena_idx smarter for smaller ARENA_SIZE; now default to 100 from 1024 2012-12-07 16:58:50 +09:00
skandhas 8a43ec75a0 delete needless output in String#[]= 2012-11-02 14:58:21 +08:00
Yukihiro Matsumoto 57910ca535 String#each_byte to use String#bytes; close #508 2012-11-01 06:13:02 +09:00
Tomoyuki Sahara 83a31f7185 IO.printf returns nil on CRuby 2012-10-29 11:14:42 +09:00
Yukihiro Matsumoto 3efbea3fab wrong check of argument numbers 2012-10-19 21:44:58 +09:00
Yukihiro Matsumoto 17278e8ca6 add symbol style to Enumerable#inject 2012-10-19 21:16:18 +09:00
Yukihiro Matsumoto fd949663d2 Enumerable#inject should handle empty enumerable; http://www.tbn.co.jp/blog/?p=813 2012-10-19 21:09:34 +09:00
Masaki Muranaka cd58b12d84 Remove extern mrb_top_self. It is declared in mruby.h. 2012-09-29 17:02:36 +09:00
Yukihiro Matsumoto ef17231bd7 Integer#step added 2012-09-15 15:04:51 +09:00
Yukihiro Matsumoto 4de0a2afbf Numeric#{upto,downto}: limit may not be an integer 2012-09-15 14:48:31 +09:00
Daniel Bovensiepen f6a9846d0e Fix writing errors in Makefiles 2012-09-10 23:25:50 +08:00
Yukihiro Matsumoto 9e7ca5d944 mrb might be intialized incompletely from mrbc; close #457 2012-09-09 13:14:32 +09:00
Masamitsu MURASE 44b408ad10 puts should print "\n" only when the argument does not end with "\n". 2012-08-13 02:42:32 +09:00
Yukihiro Matsumoto a18699a80c print.rb: raise NotImplementedError for disabled methods 2012-07-17 23:56:57 +09:00
Yukihiro Matsumoto a9247f723a condition updated to preven printf from sprintf redefinition 2012-07-15 17:31:51 +09:00
Daniel Bovensiepen 7f9b91517b raise NoImplementedError also for sprintf in case it isn't available 2012-06-27 14:20:19 +08:00
Daniel Bovensiepen e841135cc1 raise NotImplementedError in case of sprintf is missing 2012-06-27 14:13:11 +08:00
Yukihiro Matsumoto 8f5017e768 raise NotImplementedError from regexp related string methods; close #319 2012-06-26 14:01:26 +09:00
Yukihiro Matsumoto 6d3b35e064 avoid generating iv name each time in accessors 2012-06-24 01:22:53 +09:00
Yuichiro MASUI 529fb1b992 fixed attr_*: forgot '@' 2012-06-22 17:47:23 +09:00
Daniel Bovensiepen 2436ee817a Make printf optional based on sprintf 2012-06-21 15:44:27 +08:00
Daniel Bovensiepen 162b3625d0 Only open struct class if there is actually already a class 2012-06-21 15:01:13 +08:00
Yukihiro Matsumoto e61bdbe396 add printf method 2012-06-20 20:45:04 +09:00
Yukihiro Matsumoto 6f22a61135 __send__ added 2012-06-20 15:42:51 +09:00
Yukihiro Matsumoto b11d4647e9 ISO conforming lambda 2012-06-20 15:41:22 +09:00
Yukihiro Matsumoto 97e5ab22f6 add Module#{attr,attr_reader,attr_writer,attr_accessor}; close #257 2012-06-20 13:44:32 +09:00
Yukihiro "Matz" Matsumoto 95bed11755 Merge pull request #297 from bovi/improve-cflag-choice
Make CFLAG choices in Makefiles more flexible
2012-06-17 22:23:55 -07:00
Daniel Bovensiepen 83e5999d7e Make CFLAG choices in Makefiles more flexible 2012-06-18 11:22:05 +08:00
Yukihiro Matsumoto 955a48d964 move exception definiton to mrblib 2012-06-18 10:30:17 +09:00
Yukihiro Matsumoto 39f47c1915 remove LoadError 2012-06-15 13:55:27 +09:00
Masaki Muranaka cfd5f5157d Move Subclasses of ScriptError to mrblib. 2012-06-15 13:06:43 +09:00
Yukihiro Matsumoto a74ab0c2da Kernel.eval to raise NotImplementedError 2012-06-12 23:39:54 +09:00