Commit Graph

521 Commits

Author SHA1 Message Date
Masamitsu MURASE 2f4ef95ae6 Add 'ifndef/endif' to avoid conflict of 'TRUE' definition. 2012-05-27 23:05:43 +09:00
Yukihiro "Matz" Matsumoto 2a3e74b4fd Merge pull request #196 from bovi/add-tests
Add Enumerable tests and identify data corruption with merge in Hash
2012-05-26 16:52:47 -07:00
Yukihiro "Matz" Matsumoto abb4e583bd Merge pull request #198 from bovi/add-compar-doc
Add documentation to Comparable
2012-05-26 16:51:40 -07:00
Daniel Bovensiepen c1faad90ec Add documentation to Comparable 2012-05-27 04:34:47 +08:00
Daniel Bovensiepen 74fb270298 add Enumerable tests and identify data corruption with merge in Hash 2012-05-27 00:50:39 +08:00
Yukihiro Matsumoto f6d539eabd clear arena_idx after exiting scope; close #195 2012-05-26 11:18:16 +09:00
Yukihiro "Matz" Matsumoto f4f6948961 Merge pull request #194 from bovi/add-more-tests
Add Tests for all Exception classes, for false, true, Proc, Module, nil ...
2012-05-25 00:45:25 -07:00
Daniel Bovensiepen 150b235fb6 Add Tests for all Exception classes, for false, true, Proc, Module, nil and Object 2012-05-25 14:01:14 +08:00
Yukihiro Matsumoto ea9bb1e38f adjust stack position before exiting mrb_run(); close #193 2012-05-25 13:48:54 +09:00
Yukihiro Matsumoto d9227aa41d remove ZeroDivisionError since mruby gives float for integer division 2012-05-24 21:10:23 +09:00
Yukihiro Matsumoto 34d9043c81 parser->colum number was wrong 2012-05-24 09:35:42 +09:00
Yukihiro Matsumoto c2a084dff9 wrong number of arguments for self-assignments 2012-05-24 09:24:11 +09:00
Yukihiro "Matz" Matsumoto f1f4f030dd Merge pull request #189 from bovi/add-kernel-tests
Add ISO Test Cases for Kernel
2012-05-23 17:09:10 -07:00
Yukihiro "Matz" Matsumoto e3ae5bb9d2 Merge pull request #188 from thecodeshop/makefile-mods
Makefile mods
2012-05-23 16:59:22 -07:00
Daniel Bovensiepen 2664eb5ca6 Add ISO Test Cases for Kernel 2012-05-24 05:33:29 +08:00
Jon 105c11b7f6 Clean and DRY up the basic Makefiles 2012-05-23 13:19:40 -04:00
Jon 6f00683e87 Add help and showconfig targets to Makefile 2012-05-23 13:19:16 -04:00
Yukihiro "Matz" Matsumoto 265ff670c8 Merge pull request #187 from thecodeshop/mirb-exit
Teach mirb another way to quit
2012-05-23 09:59:58 -07:00
Yukihiro Matsumoto 14e28a8a4d raise error on too many arguments 2012-05-24 01:24:45 +09:00
Yukihiro Matsumoto cd713836aa simplify Array#join 2012-05-24 01:20:33 +09:00
Jon 44f2c59a61 Teach mirb another way to quit 2012-05-23 12:17:42 -04:00
Yukihiro Matsumoto ad9e841c53 made mrb_get_args() better (optinal args, type checks); close #173 #176 2012-05-24 01:09:36 +09:00
Yukihiro Matsumoto 4f012f578f remove warning for open paren after space 2012-05-23 12:59:46 +09:00
Yukihiro Matsumoto d26100d529 allow empty paren as a valid expr 2012-05-23 12:05:30 +09:00
Yukihiro Matsumoto 52b2d092d3 test t/*.rb spacing fix 2012-05-23 12:00:49 +09:00
Yukihiro Matsumoto 7ee8018d60 add dependency from keywords to lex.def 2012-05-23 11:47:19 +09:00
Yukihiro "Matz" Matsumoto 91b4929697 Merge pull request #183 from thecodeshop/cmake-miss
Add CMake support authorship miss
2012-05-22 18:31:02 -07:00
Jon 66a8890691 Add CMake support authorship miss 2012-05-22 15:16:54 -04:00
Yukihiro Matsumoto 4523bee953 cast style consistency 2012-05-23 03:31:55 +09:00
Yukihiro Matsumoto 714b358bb2 add CMakeFiles and CMakeCache.txt to .gitignore 2012-05-23 03:11:31 +09:00
Yukihiro "Matz" Matsumoto 9a64598121 Merge pull request #180 from mitchblank/master
call mrb_close() in tools and test programs
2012-05-22 11:01:29 -07:00
Yukihiro Matsumoto 55920a7846 update the desciption regarding comforming to ISO, and provided tools 2012-05-23 02:46:30 +09:00
Yukihiro Matsumoto df25301d80 Merge branch 'master' of github.com:mruby/mruby 2012-05-23 02:20:13 +09:00
Yukihiro "Matz" Matsumoto 0dc183b8f4 Merge pull request #178 from monaka/pr-avoid-redundant-redeclaration-20110522
Avoid warning: redundant redeclaration of ‘OnigEncDefaultCharEncoding’
2012-05-22 10:19:31 -07:00
Yukihiro Matsumoto f44acf7bf8 explicit normalization -0.0 to 0.0 2012-05-23 02:18:40 +09:00
Yukihiro "Matz" Matsumoto 618697cbb6 Merge pull request #182 from thecodeshop/cmake
Add CMake build infrastructure
2012-05-22 10:13:08 -07:00
Jon 9f89da6eef Add native and cross compiling CMake build support 2012-05-22 10:50:28 -04:00
Beoran b5dcb7128d First cmake build system. Works on Linux. 2012-05-22 09:11:13 -04:00
Yukihiro Matsumoto 1eb02552ea remove unused prototype from hash.h 2012-05-22 18:51:22 +09:00
Yukihiro Matsumoto c9930d1c32 remove unused MT code from hash.h 2012-05-22 18:49:30 +09:00
Yukihiro Matsumoto 6e67d83c95 should mark iv from MRB_TT_DATA 2012-05-22 18:36:52 +09:00
Mitchell Blank Jr d1cd10421f change example code to do mrb_close()
I was hoping this would cause valgrind to complain less, but there is still
a lot of memory leaked (does mrb_close() actually free all of the managed
blocks?)  Anyway this helps somewhat and is good practice
2012-05-22 01:03:54 -07:00
Mitchell Blank Jr 8c084b9645 Merge remote-tracking branch 'upstream/master'
Conflicts:
	src/time.c
2012-05-22 01:02:49 -07:00
Masaki Muranaka a3f9ee0b65 Avoid warning: redundant redeclaration of ‘OnigEncDefaultCharEncoding’ 2012-05-22 13:42:13 +09:00
Yukihiro Matsumoto abacbf6672 always use value.i for MRB_TT_FALSE 2012-05-22 10:24:37 +09:00
Yukihiro Matsumoto 826386a13a use mrb_int for struct tm fractions 2012-05-21 17:16:33 +09:00
Yukihiro Matsumoto 1dbfc39997 use mrb's allocator; thanks to @mitchblank 2012-05-21 17:11:38 +09:00
Mitchell Blank Jr dd5dd821aa Use integer constants to initialize mrb_int
As per monaka's comment here...
  https://github.com/mruby/mruby/pull/175
...changing these initializations of mrb_int values to use integer
constants
2012-05-20 20:38:04 -07:00
Mitchell Blank Jr 2120e5cbd6 make mrb_time_local() arguments consistent
* mrb_time_gm() uses mrb_int
* Same for mrb_time_initialize()
* The parameters to time_mktime() are mrb_int, and that's what these values are passed to

So I don't see why mrb_time_local() works on mrb_float instead.  Lets make
it consistent with the other methods defined in time.c
2012-05-20 20:13:31 -07:00
Yukihiro Matsumoto 21bd5d7924 print description on exceptions 2012-05-21 10:39:29 +09:00