Commit Graph

401 Commits

Author SHA1 Message Date
Yukihiro Matsumoto a4d3579e31 add extern "C" guards; close #126 2012-05-18 02:02:49 +09:00
Yukihiro Matsumoto e67c03529d Merge branch 'master' of github.com:mruby/mruby 2012-05-17 23:49:12 +09:00
Yukihiro Matsumoto 0a00c28ca1 libmruby.a should depend on libmruby_core.a 2012-05-17 23:48:02 +09:00
Yukihiro Matsumoto 434ed1ed7c compile error should contain line number 2012-05-17 23:46:55 +09:00
Yukihiro "Matz" Matsumoto 069768b77c Merge pull request #156 from iwadon/update-gitignore
Updated .gitignore for test/
2012-05-17 07:27:52 -07:00
Hiroyuki Iwatsuki b6935257a0 Updated .gitignore for test/ 2012-05-17 19:54:29 +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 "Matz" Matsumoto fd14730f95 Merge pull request #155 from nkshigeru/msvc
avoid passing NULL to fopen
2012-05-17 00:47:38 -07:00
Yukihiro Matsumoto 490fa45298 add cast to remove warning; close #154 2012-05-17 16:38:37 +09:00
nkshigeru bd485b5940 avoid passing NULL to fopen 2012-05-17 15:54:34 +09:00
Yukihiro "Matz" Matsumoto d65542cca8 Merge pull request #153 from carsonmcdonald/irepfix
idx should be less than the cap, if it is equal irep needs to grow.
2012-05-16 22:07:18 -07: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 cc4b2c5c6a add rule to clean libmruby.a from mrblib/Makefile 2012-05-17 12:25:34 +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 "Matz" Matsumoto d878fb73b2 Merge pull request #150 from pbosetti/math_tests
Changed test target for Math module in order to support fuzzy checking
2012-05-16 16:52:00 -07:00
Yukihiro Matsumoto cbeee91ddb use gperf -L ANSI-C to generate lex.def 2012-05-17 08:39:27 +09:00
Paolo Bosetti 0567ee03a5 Merge branch 'master' into math_tests 2012-05-16 14:37:22 -07:00
Yukihiro Matsumoto 3bbd82c240 remove duplicated rule 2012-05-17 05:59:31 +09:00
Yukihiro "Matz" Matsumoto 4bd140e44a Merge pull request #148 from bovi/master
Add Tests for Math, Integer, Numeric and Array
2012-05-16 13:56:41 -07:00
Paolo Bosetti 576fdcdf6d Added some tests for trig functions in Math module. Also, tests are made against a tolerance on Floats 2012-05-16 12:44:03 -07:00
Daniel Bovensiepen 0cc8dcc0ee Merge remote-tracking branch 'upstream/master' 2012-05-16 11:34:00 -07:00
Daniel Bovensiepen 3bec8b330c Add Tests for Numeric 2012-05-16 11:18:55 -07:00
Daniel Bovensiepen 241d3f7eb3 Add Tests for Integer 2012-05-16 11:18:42 -07:00
Daniel Bovensiepen 5c6f04120a Add Math Test for new implementation 2012-05-16 10:58:00 -07: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
Daniel Bovensiepen dacecdb93c Better indention of assert report 2012-05-16 10:18:27 -07:00
Daniel Bovensiepen 582795a3bf Complete all Array ISO Codes 2012-05-16 10:15:30 -07: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
Yukihiro "Matz" Matsumoto 9d67c3c408 Merge pull request #140 from monaka/pr-remove-unused-static-functions
Remove unused static functions
2012-05-16 08:21:16 -07:00
Yukihiro "Matz" Matsumoto bc2314e625 Merge pull request #143 from bovi/master
Test Improvement
2012-05-16 08:08:42 -07:00
Daniel Bovensiepen 26c6031a53 Move assert lib for tests one directory up and add it always in the beginning 2012-05-16 16:07:55 +08:00
Daniel Bovensiepen dd6af6d2ec Add newline in the end of test case files so that the concat of all files works in all cases proper 2012-05-16 16:00:05 +08:00
Daniel Bovensiepen b4a80d7485 Add first part of the bootstrap code 2012-05-16 15:50:54 +08:00
Daniel Bovensiepen 254023f1e7 Remove array for now due to the reason that they are lost after exception was raised 2012-05-16 15:49:40 +08:00
Daniel Bovensiepen 769a7e0ed3 handle exceptions in tests and reduce syntax features in assert code 2012-05-16 15:47:22 +08: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