Commit Graph

3135 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto 99df6eeeb3 Merge pull request #1224 from h2so5/remove-mrb_class_obj_get
Remove mrb_class_obj_get
2013-05-01 18:08:44 -07:00
h2so5 1e5b00e772 Remove mrb_class_obj_get 2013-05-01 21:10:17 +09:00
Yukihiro "Matz" Matsumoto 96637a7723 remove unnecessary intern; access to non-member cause IndexError 2013-04-29 15:48:16 +09:00
Yukihiro "Matz" Matsumoto 02f843d8dc rename mrb_to_id to mrb_obj_to_sym since symbol is nothing to do with identifier in mruby 2013-04-29 15:35:30 +09:00
Yukihiro "Matz" Matsumoto bdb11e3101 remove our own prototype for sprintf(); ref #1223 2013-04-29 15:26:33 +09:00
Yukihiro "Matz" Matsumoto 83933ea5e0 Merge branch 'master' of github.com:mruby/mruby 2013-04-29 11:46:34 +09:00
Yukihiro "Matz" Matsumoto ee14d37da4 use uint8_t for mrb_bool instead of unsigned int; close #1222 2013-04-29 11:46:16 +09:00
Yukihiro "Matz" Matsumoto fa2fb6de36 Merge pull request #1221 from monaka/pr-revert-file-access-mode
Revert file access mode to 0644.
2013-04-28 19:14:16 -07:00
Masaki Muranaka f139320635 Revert file access mode to 0644. 2013-04-29 09:25:54 +09:00
Yukihiro "Matz" Matsumoto 8890a992a6 always use unsigned int as mrb_bool even in C++ 2013-04-29 09:23:43 +09:00
Yukihiro "Matz" Matsumoto 22469f3be1 use mrb_free to free random state 2013-04-29 09:13:30 +09:00
Yukihiro "Matz" Matsumoto b6fc3f831d change return value of mrb_free from void* to void 2013-04-29 09:12:44 +09:00
Yukihiro "Matz" Matsumoto 975d52d804 fix memory leaks in mruby-random 2013-04-29 09:11:38 +09:00
Yukihiro "Matz" Matsumoto 499619454b Merge pull request #1219 from cadwallion/gembox_docs
Documentation for MRuby::GemBox usage
2013-04-28 16:06:43 -07:00
Yukihiro "Matz" Matsumoto 7a6f9c9f69 Merge pull request #1220 from arton/master
add extern funcs declaration and casts for cimpiling C++ compiler
2013-04-28 16:06:14 -07:00
Yukihiro "Matz" Matsumoto 443b2c2a2b rename hash related gc functions 2013-04-29 07:48:33 +09:00
Yukihiro "Matz" Matsumoto a1df3fdb0c fix mrb_string_shared memory leaks 2013-04-29 07:47:12 +09:00
Yukihiro "Matz" Matsumoto 5077f9ec8b move mrb_shared_string definition to src/string.c 2013-04-29 07:24:55 +09:00
arton 513bce35f6 add extern funcs declaration and casts for cimpiling C++ compiler 2013-04-28 15:31:50 +09:00
Andrew Nordman 9b1d202c95 Adds documentation for MRuby::GemBox usage 2013-04-27 23:13:46 -05: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