Commit Graph

3693 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto 3b2b760ed3 Merge pull request #1445 from cremno/no_strcpy_and_strcat
don't use str{cpy,cat} in mruby and mrbc
2013-08-07 16:23:31 -07:00
Yukihiro "Matz" Matsumoto d2be15423a Merge pull request #1446 from cremno/casts
MSVC: fix warnings
2013-08-07 16:22:20 -07:00
Cremno 123c88759c class.c and numeric.c: fixed MSVC warnings 2013-08-07 20:48:23 +02:00
Cremno 29381bc819 parse.y: don't use strcat 2013-08-07 20:35:38 +02:00
Cremno ba027d7806 don't use str{cpy,cat} in mruby and mrbc
The length of each string is known. It should be used.
2013-08-07 19:58:06 +02:00
Yukihiro "Matz" Matsumoto 1f5c91d68d use intptr_t instead of int64_t for 32bit platforms 2013-08-07 23:02:08 +09:00
Yukihiro "Matz" Matsumoto 62303a80cf Merge pull request #1444 from Fleurer/issue1442
fix #1442
2013-08-07 05:33:32 -07:00
Yukihiro "Matz" Matsumoto 298c24cc6a Merge pull request #1443 from wasabiz/add-me-to-authors
add "Yuichi Nishiwaki" to AUTHORS
2013-08-07 05:30:45 -07:00
fleuria 22ac62a4f1 fix #1442
in the marking root phase, we only marked the root context, but leaving
the current context unmarked. when we execute a fiber, the current
context would be changed and trigger this issue.
2013-08-07 19:42:56 +08:00
Yukihiro "Matz" Matsumoto a61def802e return statement should terminate execution of a method defined by define_method 2013-08-07 17:45:24 +09:00
Yukihiro "Matz" Matsumoto 40e6cdcb5c rename mrb_value_p() to mrb_ptr() since _p means predicate in mruby source 2013-08-07 17:39:28 +09:00
Yukihiro "Matz" Matsumoto 81f1476a04 Merge branch 'full-nan-boxing' of https://github.com/wasabiz/mruby into wasabiz-full-nan-boxing 2013-08-07 17:32:09 +09:00
Yukihiro "Matz" Matsumoto 7d82b935db Merge pull request #1439 from carsonmcdonald/addtravisbadge
Add travisci badge
2013-08-06 09:06:50 -07:00
Carson McDonald ac56eacdb0 Add travisci badge 2013-08-06 11:45:57 -04:00
Yukihiro "Matz" Matsumoto 9b4d071833 Merge pull request #1436 from archSeer/patch-1
muby-time: use mrb_free directly
2013-08-05 20:23:40 -07:00
Blaž Hrastnik ac4a6d35b9 muby-time: use mrb_free directly 2013-08-05 18:55:55 +02:00
Yukihiro "Matz" Matsumoto ac125ad1a3 Merge pull request #1432 from Archytaus/gem_clone_dir
Custom build path pulls git gems for every build target
2013-08-05 01:27:21 -07:00
Yukihiro "Matz" Matsumoto e8c3dd26d5 Merge pull request #1435 from Bovi-Li/test-fix-order
[mrbtest] assert_equal(expect, actual) order fix
2013-08-04 17:40:18 -07:00
Yuichi Nishiwaki 906c019918 add "Yuichi Nishiwaki" to AUTHORS 2013-08-04 08:05:31 -07:00
Daniel Bovensiepen aa3ff53f04 Improve test of mruby-objectspace-ext GEM 2013-08-04 22:42:57 +08:00
Daniel Bovensiepen 1d58f29e9b Improve test of mruby-toplevel-ext GEM 2013-08-04 22:42:39 +08:00
Daniel Bovensiepen a28c7c081a Improve test of mruby-symbol-ext GEM 2013-08-04 22:42:27 +08:00
Daniel Bovensiepen 181733bcfe Improve test of mruby-string-ext GEM 2013-08-04 22:42:15 +08:00
Daniel Bovensiepen d10763190e Improve test of mruby-range-ext GEM 2013-08-04 22:42:06 +08:00
Daniel Bovensiepen 8936965945 Improve test of mruby-proc-ext GEM 2013-08-04 22:41:56 +08:00
Daniel Bovensiepen b99aa126a6 Improve test of mruby-object-ext GEM 2013-08-04 22:41:45 +08:00
Daniel Bovensiepen 9a7efd69ee Improve test of mruby-numeric-ext GEM 2013-08-04 22:41:26 +08:00
Daniel Bovensiepen b4e07a8051 Improve test of mruby-hash-ext GEM 2013-08-04 22:41:15 +08:00
Daniel Bovensiepen f96c023279 Improve test of mruby-enum-ext GEM 2013-08-04 22:41:04 +08:00
Yukihiro "Matz" Matsumoto e7be58efda Merge branch 'master' of github.com:mruby/mruby 2013-08-04 22:53:36 +09:00
Yukihiro "Matz" Matsumoto 6dc8c2948b should protect resume fiber by write barrier; close #1434 2013-08-04 22:53:17 +09:00
Yukihiro "Matz" Matsumoto 8d2e79fd05 Merge pull request #1433 from carsonmcdonald/mirbfilename
Set filename like irb
2013-08-04 06:25:21 -07:00
Yuichi Nishiwaki 7389ae4b7d fix bugs in comment 2013-08-04 04:28:51 -07:00
Yuichi Nishiwaki dd2ea59d61 add commentary to value representation 2013-08-04 01:08:11 -07:00
Yuichi Nishiwaki 94a6d8380f bugfix: the bit mask was smaller than the size it should be 2013-08-04 01:07:30 -07:00
Yuichi Nishiwaki 8854ecb629 revert one of the API changes: MRB_SET_VALUE_P no longer used 2013-08-04 00:40:41 -07:00
Yuichi Nishiwaki 07fefb585e cosmetic changes 2013-08-04 00:18:03 -07:00
Yuichi Nishiwaki 831e16cdf5 implement 64bit nan-boxing 2013-08-04 00:12:22 -07:00
Yuichi Nishiwaki 8dc2fa3bc8 add read barrier to value.p
API changes:
- value.p must be accessed via mrb_value_p macro
- value.p must be mutated via MRB_SET_VALUE_P macro
2013-08-03 14:03:44 -07:00
Carson McDonald d2e38eab0a Set filename like irb 2013-08-03 14:42:22 -04:00
Ryan Scott 981b408e01 Added support for custom gem clone directories when using git 2013-08-04 00:33:49 +10:00
Yukihiro "Matz" Matsumoto ea814600c2 Merge pull request #1430 from carsonmcdonald/regexparsefix
End loop if nextc is -1
2013-08-02 20:42:51 -07:00
Yukihiro "Matz" Matsumoto f2b31afb39 Merge pull request #1429 from suzukaze/fix-order-of-expected-and-actual
I fix order of expected and actual from basicobject.rb to true.rb in folder '/test/t'.
2013-08-02 20:41:55 -07:00
Carson McDonald 5bd60f4662 End loop if nextc is -1 2013-08-02 17:08:55 -04:00
Jun Hiroe ba9fe99e74 I fix order of actual and expect test value in typeerror.rb. 2013-08-02 23:17:46 +09:00
Jun Hiroe 614577d281 I fix order of actual and expect test value in true.rb. 2013-08-02 23:16:36 +09:00
Jun Hiroe bd48b383df I fix order of actual and expect test value in syntax.rb. 2013-08-02 23:15:04 +09:00
Jun Hiroe b775a887de I fix order of actual and expect test value in symbol.rb. 2013-08-02 23:12:23 +09:00
Jun Hiroe fdb27fd6bd I fix order of actual and expect test value in string.rb. 2013-08-02 23:05:34 +09:00
Jun Hiroe 8f01c0732a I fix order of actual and expect test value in standarderror.rb. 2013-08-02 22:40:12 +09:00