Commit Graph

211 Commits

Author SHA1 Message Date
Yukihiro Matsumoto 5d5d189dee remove src/method.h 2012-05-18 02:06:09 +09:00
Yukihiro Matsumoto 74d29edf5c remove unused method.h from kernel.c 2012-05-18 02:05:52 +09:00
Yukihiro Matsumoto 6c9ae9489f remove unused method.h from object.c 2012-05-18 02:04:29 +09:00
Yukihiro Matsumoto 434ed1ed7c compile error should contain line number 2012-05-17 23:46:55 +09:00
Yukihiro Matsumoto 0bae9c505c print line number in compile error messages 2012-05-17 19:09:50 +09:00
Yukihiro Matsumoto 89e31b5838 too many line count in nextc() 2012-05-17 19:09:29 +09:00
Yukihiro Matsumoto 490fa45298 add cast to remove warning; close #154 2012-05-17 16:38:37 +09:00
Carson McDonald 1685d241c4 idx should be less than the cap, if it is equal irep needs to grow. 2012-05-17 00:33:49 -04:00
Yukihiro Matsumoto 103ef78e59 no SEGV for nth_ref & back_ref; close #152 2012-05-17 13:21:01 +09:00
Yukihiro Matsumoto b68e69aa32 remove unused assignments 2012-05-17 12:57:08 +09:00
Yukihiro Matsumoto 3e3a8c18b9 avoid updating existing libmruby.a to avoid problems on low time resolution file systems; close #136 2012-05-17 12:13:24 +09:00
Yukihiro Matsumoto 74e531ecab avoid isfinite() in num_pow 2012-05-17 10:34:28 +09:00
Yukihiro Matsumoto 470da1eda0 redefine POST/NEG FIXABLE using INT_MIN/MAX 2012-05-17 09:32:23 +09:00
Yukihiro Matsumoto db20b4e063 ignore return value from strtod() 2012-05-17 09:23:18 +09:00
Yukihiro Matsumoto cbeee91ddb use gperf -L ANSI-C to generate lex.def 2012-05-17 08:39:27 +09:00
Yukihiro Matsumoto 2541530239 add mrb_define_singleton_method/mrb_define_module_function 2012-05-17 02:44:41 +09:00
Yukihiro Matsumoto b706b4cba4 gmtime_r emulated by gmtime_s should return struct tm*; close #146 2012-05-17 02:39:28 +09:00
Yukihiro "Matz" Matsumoto 357aac680e Merge pull request #139 from pbosetti/master
Re-added Math functions missing under MSVC, with custom implementations
2012-05-16 08:24:22 -07:00
Yukihiro "Matz" Matsumoto 7b4c28cef8 Merge pull request #142 from monaka/pr-initialize-variables-20110516
Avoid "may be used uninitialized in this function" warning.
2012-05-16 08:23:25 -07:00
Masaki Muranaka 6250d06b94 Avoid "may be used uninitialized in this function" warning. 2012-05-16 16:28:07 +09:00
Masaki Muranaka 3407376936 Remove unused static functions. 2012-05-16 16:06:12 +09:00
Paolo Bosetti 7bcfb67f3d Merged MSVC branch 2012-05-16 00:00:42 -07:00
Paolo Bosetti aee20de26b Code formatting; Added credits for erf/erfc implementation 2012-05-15 23:57:38 -07:00
Paolo Bosetti 2948a96c3b Added also support for erfc under MSVC 2012-05-15 23:57:38 -07:00
Paolo Bosetti 7da51a9d49 Re-added Math finctions not supported under MSVC, and added preprocessor directives to support these functions under MSVC too 2012-05-15 23:57:38 -07:00
Paolo Bosetti b9b20c8be8 Tested under MSVC by nkshigeru. Minor code formatting 2012-05-15 23:55:44 -07:00
nkshigeru 36aaaafae4 fix for MSVC
move declaration in the middle
no signbit
2012-05-16 15:14:23 +09:00
Masaki Muranaka c6f0e296bd Remove some redundant function declarations. 2012-05-16 14:31:48 +09:00
Paolo Bosetti 6971b0e9ab Code formatting; Added credits for erf/erfc implementation 2012-05-15 18:04:40 -07:00
Paolo Bosetti 8d0738e7b4 Added also support for erfc under MSVC 2012-05-15 17:58:40 -07:00
Paolo Bosetti 04815be9cd Re-added Math finctions not supported under MSVC, and added preprocessor directives to support these functions under MSVC too 2012-05-15 17:41:07 -07:00
mattn 25d787286b fix #127 on mingw. 2012-05-16 09:32:30 +09:00
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