Commit Graph

179 Commits

Author SHA1 Message Date
Yukihiro Matsumoto bd839684e5 numeric division to return float value 2012-05-15 18:24:58 +09:00
Yukihiro Matsumoto 3b53b3be68 add Numeric#** 2012-05-15 16:40:57 +09:00
Yukihiro Matsumoto 1bc0c12096 Makefile: remove echo action from all target 2012-05-15 16:40:45 +09:00
Yukihiro Matsumoto 5a8496df4a remove non VC math functions; close #135 2012-05-15 15:03:28 +09:00
Yukihiro Matsumoto 201a013bf6 remove old MANDEL code; close #134 2012-05-15 08:01:45 +09:00
Yukihiro Matsumoto 1c6621d5f0 OP_STOP to return exception object on error 2012-05-14 23:22:08 +09:00
Yukihiro Matsumoto 628e60d6f3 removed lines the seem not to conform C99 2012-05-14 11:36:42 +09:00
Yukihiro "Matz" Matsumoto 6b67801d4e Merge pull request #116 from pbosetti/master
Wrote a (working) stub for the Math module
2012-05-13 16:39:09 -07:00
Yukihiro Matsumoto 50a1d30291 emulate gmtime_r/localtime_r by gmtime_s/localtime_s on Windows 2012-05-13 19:46:57 +09:00
Paolo Bosetti e274382aca Replaced C++ style comments 2012-05-12 12:36:19 -07:00
Paolo Bosetti 7cdf0ca1c1 Added src/math.c. Also, edited src/init.c in order to load the Math module. 2012-05-12 12:04:58 -07:00
Yukihiro "Matz" Matsumoto 96819cf881 Merge pull request #117 from k-tsj/toplevel-return
Raise LocalJumpError when returning from top-level
2012-05-12 02:58:00 -07:00
Yukihiro "Matz" Matsumoto 04f8ec7570 Merge pull request #118 from k-tsj/move-stack-values
Move stack values to heap whenever ci is popped
2012-05-12 02:57:29 -07:00
Yukihiro "Matz" Matsumoto e7b4ea94e8 Merge pull request #120 from monaka/pr-printf-format-20110511
Use %d instead of %ld in case the type of parameter is int.
2012-05-12 02:41:30 -07:00
Masaki Muranaka 40d122dede Simplify while loop in peek_n(). 2012-05-12 14:21:06 +09:00
Masaki Muranaka c785382dee Use %d instead of %ld in case the type of parameter is int. 2012-05-12 11:25:56 +09:00
Kazuki Tsujimoto 66df0ad0a8 Raise LocalJumpError when returning from top-level 2012-05-12 10:59:36 +09:00
Kazuki Tsujimoto 632556bc6f Move stack values to heap whenever ci is popped 2012-05-12 10:47:15 +09:00
Yukihiro Matsumoto 95d1d002d9 begin/end block should be isolated from outside; ported from CRuby r35620 2012-05-11 23:29:24 +09:00
Yukihiro Matsumoto 3483e360ed remove unused #include 2012-05-11 10:26:50 +09:00
Yukihiro Matsumoto affb5cb7c2 remove encode_class and converter_class from mrb_state 2012-05-10 23:16:28 +09:00
Yukihiro Matsumoto 4e40121f71 remove regex_class and match_class from mrb_state 2012-05-10 23:11:20 +09:00
Yukihiro Matsumoto 4d3ed8c4f9 remove mrb->range_class 2012-05-10 23:07:54 +09:00
Yukihiro Matsumoto 878593430a mrb_run to return last evaluated value 2012-05-10 18:20:49 +09:00
Yukihiro Matsumoto 8268f95e0e remove code moved to mrblib/array.rb 2012-05-10 16:37:38 +09:00
Yukihiro Matsumoto 73e92e2579 remove INCLUDE_REGEXP dependency from array.c 2012-05-10 16:33:58 +09:00
sasaki takeru 7f12cb9e7a fix typo 2012-05-10 04:04:59 +09:00
Yukihiro Matsumoto bcd24af19c temporal VC patch from nkshigeru 2012-05-09 22:23:39 +09:00
Yukihiro Matsumoto 6faab394d7 remove duplicated document comment 2012-05-09 22:11:53 +09:00
Yukihiro Matsumoto bd8d910666 clean enum.c 2012-05-09 22:09:27 +09:00
Yukihiro Matsumoto 6a0c30d038 move body of Comparison from compar.c to compar.rb 2012-05-09 22:06:16 +09:00
Yukihiro Matsumoto db96db6a80 move declaration in the middle 2012-05-09 20:15:57 +09:00
Yukihiro Matsumoto da9e8cebe0 remove __APPLE__ 2012-05-09 12:07:29 +09:00
Yukihiro Matsumoto 96168852c3 move declaration in the middle 2012-05-09 11:04:36 +09:00
Yukihiro Matsumoto 164c0463b2 use DIRECT_THREADED only on GCC 2012-05-09 10:58:32 +09:00
Yukihiro Matsumoto f4cf8ea423 partial VC support 2012-05-09 08:49:38 +09:00
Yukihiro Matsumoto 2e4e7f7cd1 should not call round(3); close #109 2012-05-09 08:18:39 +09:00
Yukihiro Matsumoto 8a6d4a8b82 add Class#inherited hook 2012-05-08 23:25:13 +09:00
Yukihiro Matsumoto aac2c1c1a6 move declaration in the middle 2012-05-08 22:52:34 +09:00
mattn 46d8941db6 fix #ifdef to pass on windows. 2012-05-08 11:17:02 +09:00
Yukihiro Matsumoto 8b1a10ce4b allow compilation without INCLUDE_ENCODING; close #105; encoding support should be removed altogether in the future 2012-05-08 01:23:31 +09:00
Yukihiro Matsumoto 5684a38382 rename current_time -> current_mrb_time 2012-05-08 01:19:13 +09:00
Yukihiro Matsumoto cad39f2581 add 1usec to differentiate two times 2012-05-08 01:18:30 +09:00
Yukihiro Matsumoto aae293a002 rename macros NO_USE_ -> NO_ 2012-05-08 01:11:22 +09:00
Yukihiro Matsumoto de262d5ba8 update time configuration; now config macros can be supplied by -D compiler option 2012-05-07 23:54:45 +09:00
Yukihiro Matsumoto 395cb9c1e5 use portable gmtime 2012-05-07 23:37:12 +09:00
Yukihiro "Matz" Matsumoto e12a38779b Merge pull request #99 from MobiRuby/const_missing
add Object.const_missing
2012-05-07 07:24:25 -07:00
Yukihiro Matsumoto c95279c6bf rename ALIGN macros 2012-05-07 23:23:36 +09:00
Yukihiro "Matz" Matsumoto b45c8b8d03 Merge pull request #87 from MobiRuby/pool_alloc_align
fixed #86 memory alignment error on ARM
2012-05-07 07:20:50 -07:00
Yukihiro Matsumoto e93a17ed78 gc should handle regexp and match objects 2012-05-07 19:19:55 +09:00