Commit Graph

200 Commits

Author SHA1 Message Date
Yukihiro Matsumoto 540066c9e2 mrb_sym can be short integer; reduced 10KB 2012-09-12 16:20:32 +09:00
Yukihiro "Matz" Matsumoto 0475196d26 Merge pull request #467 from iij/pr-fix-include-path-proc
Fix include path in proc.h.
2012-09-12 00:05:45 -07:00
Kouki Ooyatsu b3a7699c2b Fix include path in proc.h. 2012-09-12 14:35:38 +09:00
Tomoyuki Sahara 32b88c72af two more wrapper macros for ctype.h
we need them on the platform where 'char' is signed.
2012-09-12 14:02:58 +09:00
Yukihiro Matsumoto e49224284d OP_EQ should try direct compararison first 2012-09-10 22:09:24 +09:00
Yukihiro Matsumoto 7f30385d4a MRB_TT_MAIN is an immediate type; need make clean; close #452 2012-09-06 19:41:02 +09:00
Yukihiro Matsumoto bf7f9f83c7 rename config macro name IV_INITIAL_SIZE -> IVHASH_INIT_SIZE 2012-09-04 17:38:27 +09:00
Yukihiro Matsumoto 4f7a1a167d remove memleaks using linked allocator 2012-09-03 08:34:31 +09:00
Yukihiro Matsumoto fd3af6aec8 introduce toplevel object main; close #327 2012-09-03 00:41:09 +09:00
Yukihiro Matsumoto f114916610 source position added to exception representation 2012-08-31 15:58:33 +09:00
Yukihiro Matsumoto 3e924e887f save debugging lineno info in irep 2012-08-31 11:12:33 +09:00
Yukihiro Matsumoto 950204bc4d remove flags from irep 2012-08-29 11:45:36 +09:00
Masamitsu MURASE 42fa994e9b Publish mrb_hash_delete_key. 2012-08-26 04:17:56 +09:00
Yukihiro Matsumoto 15725eb4f6 file/line info passed to codegen; argument type of mrb_generate_code() has changed 2012-08-22 22:36:44 +09:00
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