Commit Graph

186 Commits

Author SHA1 Message Date
Yukihiro Matsumoto b8fc484d2e allocf should take ud; https://twitter.com/junjis0203/status/236949976461221889 2012-08-19 07:48:40 +09:00
Yukihiro Matsumoto dec6751d7a remove BEGIN/END from syntax 2012-08-18 20:51:58 +09:00
Yukihiro Matsumoto 97b7eb6096 rename MRUBY_OBJECT_HEADER to MRB_OBJECT_HEADER 2012-08-18 19:05:18 +09:00
Yukihiro Matsumoto 41e7d0b475 use bit field mrb_vtype in MRUBY_OBJECT_HEADER 2012-08-18 19:02:50 +09:00
Constellation fe9939f74e canonicalize NaN value in NaN boxing environment 2012-08-15 21:02:46 +09:00
Yukihiro Matsumoto 7d02df3016 NaN boxing 2012-08-14 13:16:34 +09:00
Yukihiro Matsumoto e74600c919 move mrb_value def to mruby/value.h 2012-08-14 03:09:04 +09:00
Yukihiro Matsumoto c9fe903fe1 now segmented list can be used as instance variable tables by -DMRB_USE_IV_SEGLIST; we still need to measure the performance and memory consumption 2012-08-12 01:59:18 +09:00
Yukihiro Matsumoto 8d017ebdb7 add GC.disable and GC.enable 2012-08-09 03:58:52 +09:00
Yukihiro Matsumoto 8af5a999bf store :initialize in mrb structure 2012-08-08 00:25:35 +09:00
Yukihiro Matsumoto 730f53045e define_method to copy block body 2012-08-03 20:17:04 +09:00
Yukihiro Matsumoto d271bf0aa6 make mrb_funcall_argv and mrb_funcall_with_block to take mrb_sym as a method name 2012-08-01 13:15:02 +09:00
Masaki Muranaka 0cee3bb531 POOL_ALIGNMENT POOL_PAGE_SIZE : Configurable parameters. 2012-07-31 16:50:09 +09:00
Yukihiro Matsumoto d749ccfd3e add description of MRB_IV_INITIAL_SIZE 2012-07-30 23:56:34 +09:00
Yukihiro Matsumoto 515862cc01 khash refactoring; no more MRB_KHASH_INITIAL_SIZE 2012-07-30 23:55:35 +09:00
Yukihiro Matsumoto 0c55f7ecc3 add description of MRB_HEAP_PAGE_SIZE 2012-07-30 17:18:32 +09:00
Yukihiro Matsumoto d91f475e55 better mrbconf decsription 2012-07-30 17:16:13 +09:00
Yukihiro Matsumoto e75c76ecee iv khash initial size to 8 2012-07-30 17:16:05 +09:00
Yukihiro Matsumoto c808f647aa allow specifying khash initial size 2012-07-30 16:41:05 +09:00
Masaki Muranaka b1cc715b36 MRB_INITIAL_HASH_SIZE : Make the initial hash size configurable. 2012-07-30 15:31:49 +09:00
Yukihiro Matsumoto 446005620b remove __STDC_LIMIT_MACROS for INT32_MAX 2012-07-30 10:51:24 +09:00
Yukihiro Matsumoto eb34ad365b fixed the comment English 2012-07-30 09:45:37 +09:00
Max Anselm ee899778c4 Define __STDC_LIMIT_MACROS for INT32_MAX in C++ 2012-07-29 19:44:49 -04:00
Yukihiro "Matz" Matsumoto e56cd70cdb Merge pull request #405 from monaka/pr-remove-unimplemented-declaration
Remove unimplemented declarations.
2012-07-29 04:48:12 -07:00
Masaki Muranaka 7ac4b56141 Remove unimplemented declarations. 2012-07-29 20:35:23 +09:00
Masaki Muranaka 22b032fcdf mrb_hash_delete_key(), mrb_hash_keys() : Declare as static.
mrb_check_hash_type(): Remove as no implementation.
2012-07-29 20:11:43 +09:00
Max Anselm ea25912999 Undefine new for class rather than instance.
Applies to NilClass, TrueClass, FalseClass, Fixnum, and Float. Add
mrb_undef_class_method for DRYness.
2012-07-25 18:22:26 -04:00
Yukihiro Matsumoto 88b638cf82 instance_eval should set target_class in the block 2012-07-24 23:16:41 +09:00
Yukihiro Matsumoto 4b9ef5dabe use no malloc in mrb_funcall; close #386 2012-07-19 17:45:13 +09:00
Yukihiro Matsumoto 8ae67d10b3 make MRB_ARENA_SIZE to be configurable 2012-07-19 11:28:06 +09:00
Masaki Muranaka f146fd0397 MRB_FUNCALL_ARGC_MAX support. (refs comments in #324). 2012-07-18 15:47:57 +09:00
Yukihiro Matsumoto 36664174cb change return type of mrb_p() to void 2012-07-17 23:48:55 +09:00
Yukihiro Matsumoto 234b8e853c make class_from_sym static 2012-07-15 16:37:23 +09:00
Yukihiro "Matz" Matsumoto afb983e26f Merge pull request #367 from junjis0203/rename_load_string_argument_name
Rename confusable argument name
2012-07-13 21:54:44 -07:00
Junji Sawada 7bbac9cfdf Rename confusable argument name 2012-07-14 12:15:15 +09:00
Junji Sawada 96366117ea Remove unnecessary header inclusion 2012-07-14 11:39:25 +09:00
Yukihiro Matsumoto e380692224 mrb_load_xxx to return undef + mrb_undef_p 2012-07-14 07:38:43 +09:00
Yukihiro Matsumoto 8e1c842b7e simpify mruby/mrbc using context 2012-07-13 15:36:43 +09:00
Yukihiro Matsumoto 737eaea038 allow DISABLE/ENABLE_SATDIO 2012-07-13 15:00:45 +09:00
Yukihiro Matsumoto 9e64e753a2 remove double stdio.h inclusion 2012-07-12 23:59:13 +09:00
Yukihiro Matsumoto 0e2a81740a we don't need xmalloc; close #356 2012-07-09 11:42:15 +09:00
Yukihiro Matsumoto 8268ba2755 remove MRB_TT_THREAD,MRB_TT_THREADGRP 2012-07-06 19:52:50 +09:00
Yukihiro Matsumoto ff42f8f485 move RDoc comments 2012-07-05 22:56:51 +09:00
Yukihiro Matsumoto fc27f71289 add new function mrb_parser_free() 2012-07-03 21:52:11 +09:00
Yukihiro Matsumoto 137570acf0 capture_errors can be specified by mrbc_context 2012-07-03 21:32:37 +09:00
Yukihiro Matsumoto 39689441e7 add context arg to mrb_parser_parse() 2012-07-03 21:13:10 +09:00
Yukihiro Matsumoto 65096c4c1b add context to parser, that would hold local variable info, filename, and line number. mrbc_context argument has been added to mrb_parse_xxx() functions. Normally, you just to need to add NULL (or 0) to the last argument of the above functions. 2012-07-03 20:59:07 +09:00
Yukihiro Matsumoto ce49d90dc8 modify compiler API; replace mrb_compie_xxx with mrb_load_xxx() that combines compilatoin and execution 2012-07-03 15:26:11 +09:00
Yukihiro Matsumoto 97b1c57600 constify parser input strings 2012-07-03 14:28:19 +09:00
Yukihiro Matsumoto 3be4e91376 remove size_t from parser 2012-07-03 14:27:34 +09:00