Commit Graph

3116 Commits

Author SHA1 Message Date
arton 513bce35f6 add extern funcs declaration and casts for cimpiling C++ compiler 2013-04-28 15:31:50 +09:00
Yukihiro "Matz" Matsumoto 5c68195c88 mrb_str_new_static(): zero copy string creation 2013-04-28 02:47:22 +09:00
Yukihiro "Matz" Matsumoto 160eb71338 fix gembox rake tasks to support Ruby 1.8 2013-04-27 23:28:17 +09:00
Yukihiro "Matz" Matsumoto fad94ba500 Merge pull request #1218 from bovi/gembox
GemBox
2013-04-27 07:23:55 -07:00
Yukihiro "Matz" Matsumoto 495f66b9f1 Merge pull request #1217 from skandhas/pr-detect-cyclic-include-in-Moudle#include
detect cyclic-include in Module#include
2013-04-27 07:20:06 -07:00
Daniel Bovensiepen 3875140afe IMPROVE: Move GemBox to more logical source location 2013-04-27 16:59:02 +08:00
Daniel Bovensiepen 0ad9e5a37d FIX: Default build should use default GEMs and not all Core GEMs 2013-04-27 16:53:25 +08:00
Daniel Bovensiepen a6b8514fec Use gembox for travis build 2013-04-27 16:50:19 +08:00
Daniel Bovensiepen 498821cfdb Use gembox for default build 2013-04-27 16:50:08 +08:00
Daniel Bovensiepen 7fbf615d37 Add gembox which contains all default GEMs 2013-04-27 16:49:45 +08:00
Daniel Bovensiepen c8efde34da Add gembox which contains all core GEMs 2013-04-27 16:49:26 +08:00
Daniel Bovensiepen 607811c0dc Add gembox feature 2013-04-27 16:48:52 +08:00
skandhas 96e247a4ad detect cyclic-include in Module#include 2013-04-27 16:39:58 +08:00
Yukihiro "Matz" Matsumoto ecd87aa545 quote error message in mrbconf.h to stop warning 2013-04-26 18:49:12 +09:00
Yukihiro "Matz" Matsumoto ae6114c593 Merge pull request #1216 from monaka/pr-code-cleanup-20130426
Code clean-up
2013-04-26 02:30:05 -07:00
Yukihiro "Matz" Matsumoto 478f5c6b70 Merge pull request #1215 from monaka/pr-avoid-define-MRB_INT16-and-MRB_INT64-at-the-same-time
Avoid to define MRB_INT16 and MRB_INT64 at the same time
2013-04-26 02:29:53 -07:00
Masaki Muranaka d4476109c4 Add a descrption of MRB_INT16. 2013-04-26 11:44:53 +09:00
Masaki Muranaka cbcd39bae4 Avoid defining MRB_INT16 adn MRB_INT64 at the same time. This is a poka-yoke. 2013-04-26 11:41:34 +09:00
Masaki Muranaka 16be58bafd Remove macro ANYARGS. It is not used in the core and bundled mrbgems. And it is possible to conflict an application's macro. 2013-04-26 11:34:45 +09:00
Masaki Muranaka 2109a99e5b Add void to function parameters. This is for compatibility with C++ 2013-04-26 11:33:06 +09:00
Yukihiro "Matz" Matsumoto 5c5101809b Merge branch 'master' of github.com:mruby/mruby 2013-04-26 11:00:48 +09:00
Yukihiro "Matz" Matsumoto bcf1204940 small cosmetic refactoring 2013-04-26 10:59:37 +09:00
Yukihiro "Matz" Matsumoto e63b086f1e rename mrb_interned API functions 2013-04-26 10:57:08 +09:00
Yukihiro "Matz" Matsumoto c99b72b20d Merge branch 'suppress_intern' of https://github.com/crimsonwoods/mruby into crimsonwoods-suppress_intern 2013-04-26 09:18:39 +09:00
Yukihiro "Matz" Matsumoto 0c55eac011 Merge pull request #1214 from monaka/pr-cleanup-load.c
Clean up load.c
2013-04-25 17:17:35 -07:00
Yukihiro "Matz" Matsumoto fa0e41a84d remove unnecessary local variable 2013-04-25 18:25:06 +09:00
Yukihiro "Matz" Matsumoto 0aecb8a2bb Merge pull request #1212 from monaka/pr-fixup-string
Fix-up string
2013-04-25 02:19:51 -07:00
Masaki Muranaka 4a6da05808 Remove redundant whitespaces. Just cosmetic. 2013-04-25 16:57:52 +09:00
Masaki Muranaka e3a9e9b7d6 Add comments why there is no need to put the SIZE_ERROR check. It is for reviews in the future. 2013-04-25 16:57:19 +09:00
Masaki Muranaka 682d52b786 Add error checks for small environments which pointer is less than 32bit. These code will be removed by optimizer if the target runs on 32bit or above. 2013-04-25 16:56:12 +09:00
Masaki Muranaka 1e5f151c46 More strict NULL checks. 2013-04-25 16:41:15 +09:00
Masaki Muranaka 9479e4e287 Fix underlying memory leaks. When realloc is failed, memories are leaked. 2013-04-25 16:38:31 +09:00
crimsonwoods 09dad05a72 suppress intern inside of 'respond_to?'. 2013-04-25 15:56:53 +09:00
Masaki Muranaka 6684b7d1cf Remove sprintf(). 2013-04-25 15:36:19 +09:00
Masaki Muranaka 433cb13e6d Add tests to make sure. As we do not use standard library for formatting. 2013-04-25 15:35:16 +09:00
Masaki Muranaka da4b3d1c2c Move regression test as String#dump is not in ther core but the mrbgems. 2013-04-25 15:28:25 +09:00
Yukihiro "Matz" Matsumoto 8464cac63c remove calling sprintf(); ref #1210 2013-04-25 15:00:09 +09:00
Yukihiro "Matz" Matsumoto f0bea86437 Merge pull request #1211 from skandhas/pr-fix-Module-ancestors
fix the behavior of Module#ancestors
2013-04-24 21:56:03 -07:00
Yukihiro "Matz" Matsumoto e70b2721a6 Merge pull request #1210 from iij/pr-inspect-many-non-printables
String#inspec & String#dump may raise an "arena overflow" error
2013-04-24 21:55:11 -07:00
skandhas 8d778d9860 fix Module#ancestors and update test 2013-04-25 11:17:34 +08:00
Tomoyuki Sahara b1114489ef a string may have a lot of non-printable chars. 2013-04-25 12:14:18 +09:00
Yukihiro "Matz" Matsumoto 62ca4c1738 aspec bits should be packed in Ax; ref #1209 2013-04-25 12:04:29 +09:00
Yukihiro "Matz" Matsumoto ec8fad0fed remove too many paren; ref #1209 2013-04-25 11:57:51 +09:00
Yukihiro "Matz" Matsumoto 1b31cbfbc8 add new macro MRB_ARGS_ARG(n1,n2) to specify required and optional arugments at once 2013-04-25 11:53:36 +09:00
crimsonwoods a517a7f314 modify functions to suppress symbol registration into intern pool. 2013-04-25 10:36:32 +09:00
crimsonwoods bd1b925931 modify the type of return value (mrb_bool => mrb_value). 2013-04-25 09:51:20 +09:00
Yukihiro "Matz" Matsumoto 30d580ecbc rename every ARGS_XXX to MRB_ARGS_XXX; ref #1206 2013-04-25 09:47:36 +09:00
crimsonwoods 8682b06953 add new functions to check if symbols are interned without registration. 2013-04-25 09:27:00 +09:00
Yukihiro "Matz" Matsumoto 5c88c65a11 put MRB_ prefix before ARGS_XXX macros; ref #1206 2013-04-25 08:05:54 +09:00
Yukihiro "Matz" Matsumoto 953eec60db rename MRB_ARGS_XXX to MRB_ASPEC_XXX; ref #1206 2013-04-25 08:00:48 +09:00