Commit Graph

1320 Commits

Author SHA1 Message Date
Yukihiro Matsumoto 950204bc4d remove flags from irep 2012-08-29 11:45:36 +09:00
Yukihiro "Matz" Matsumoto 4848c1f0c7 Merge pull request #442 from kimhmadsen/master
fixed typos
2012-08-28 19:27:50 -07:00
Kim H Madsen 7f03669639 fixed typos 2012-08-28 22:50:53 +02:00
Yukihiro Matsumoto d04a7ec632 free heap pages from mrb_close() 2012-08-28 02:11:00 +09:00
Yukihiro Matsumoto 376266959f close pool in toplevel scope 2012-08-28 02:05:42 +09:00
Yukihiro Matsumoto ac789ae61c free symbol table from mrb_close() 2012-08-28 02:03:19 +09:00
Yukihiro "Matz" Matsumoto fb8247ae46 Merge pull request #441 from masamitsu-murase/set_filename_in_mrbc
Set filename in mrbc.c.
2012-08-26 15:30:22 -07:00
Masamitsu MURASE 8720816c0f Set filename in mrbc.c. 2012-08-26 19:21:44 +09:00
Yukihiro "Matz" Matsumoto 489b975877 Merge pull request #439 from masamitsu-murase/modify_ci_nregs_in_yield
ci->nregs for ruby proc.
2012-08-25 19:52:53 -07:00
Yukihiro "Matz" Matsumoto a2b62a649d Merge pull request #440 from masamitsu-murase/request_publish_mrb_hash_delete_key
Publish mrb_hash_delete_key.
2012-08-25 19:52:21 -07:00
Masamitsu MURASE 42fa994e9b Publish mrb_hash_delete_key. 2012-08-26 04:17:56 +09:00
Masamitsu MURASE 138acc774a ci->nregs should be set to irep->nregs + 2 if proc is not a C function. 2012-08-26 04:15:47 +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 655518f38a Merge branch 'master' of github.com:mruby/mruby 2012-08-22 11:17:49 +09:00
Yukihiro Matsumoto d1f2841660 abort() if mrb->jmp is empty 2012-08-22 11:17:37 +09:00
Yukihiro "Matz" Matsumoto 836a5ea303 Merge pull request #437 from masamitsu-murase/modify_irep_initialization_and_gc_mark
Modify irep initialization and GC.
2012-08-20 13:57:18 -07:00
Yukihiro "Matz" Matsumoto ed9f18520d Merge pull request #436 from masamitsu-murase/modify_reference_to_ci
Modify reference to ci.
2012-08-20 13:55:51 -07:00
Masamitsu MURASE a851bcd631 Refer to irep_capa as well as irep_len when irep is marked by GC.
Initialize mrb->irep array with 0 when realloc is called.
2012-08-21 02:01:26 +09:00
Masamitsu MURASE 345ba3a66f Refer to mrb->ci instead of local variable ci after m->body.func is called,
because mrb->ci may be changed in m->body.func.
2012-08-21 01:16:56 +09:00
Yukihiro "Matz" Matsumoto 72bc9c8e46 Merge pull request #435 from masamitsu-murase/modify_mruby_filename
Modify argument of mrbc_filename.
2012-08-19 05:45:52 -07:00
Yukihiro Matsumoto 147aa04050 mrb_open_allocf() should keep ud in mrb_state 2012-08-19 21:43:39 +09:00
Yukihiro Matsumoto e27cc402da replace RiteVM in comments by mruby 2012-08-19 08:35:23 +09:00
Yukihiro Matsumoto b8fc484d2e allocf should take ud; https://twitter.com/junjis0203/status/236949976461221889 2012-08-19 07:48:40 +09:00
Masamitsu MURASE 213477df2d Modify argument of mrbc_filename. 2012-08-18 22:14:47 +09:00
Yukihiro Matsumoto 9206dcb00d remove assignment to unused dst; close #424 2012-08-18 21:00:51 +09:00
Yukihiro Matsumoto f55df8f47a remove assignment to unused retval 2012-08-18 20:53:40 +09:00
Yukihiro Matsumoto dec6751d7a remove BEGIN/END from syntax 2012-08-18 20:51:58 +09:00
Yukihiro Matsumoto e5dde46c7c reduce mrb_funcall invocations 2012-08-18 19:29:07 +09:00
Yukihiro Matsumoto fd086a7d08 replace mrb_iv_set by mrb_obj_iv_set 2012-08-18 19:21:27 +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
Yukihiro "Matz" Matsumoto af5b3279ac Merge pull request #434 from joequery/exit_in_string
Improve handling of "exit" and "quit" in mirb.
2012-08-17 21:40:24 -07:00
Joseph McCullough e7b61c65bb Don't exit if 'exit' or 'quit' are in quote blocks 2012-08-17 19:51:38 -05:00
Joseph McCullough 618f25bfe2 'exit' and 'quit' cause exit regardless of open block 2012-08-17 18:19:06 -05:00
Yukihiro "Matz" Matsumoto bd3d5268db Merge pull request #433 from selman/init_prototypes
function prototypes sorted by call & removed unused (file, io, thread)
2012-08-17 07:07:55 -07:00
Selman ULUG a190ec8298 function prototypes sorted by call & removed unused (file, io, thread) 2012-08-17 16:48:07 +03:00
Yukihiro "Matz" Matsumoto 9387fb1cb6 Merge pull request #431 from selman/khash
khash.h including at line:255
2012-08-16 18:48:00 -07:00
Yukihiro "Matz" Matsumoto a2b4e78379 Merge pull request #432 from masamitsu-murase/modify_filename
Modify buffer size for filename.
2012-08-16 18:45:57 -07:00
Masamitsu MURASE 26e0319e66 Modify buffer size for filename. 2012-08-17 02:34:27 +09:00
Selman ULUG 894137b920 MRB_IV_INITIAL_SIZE duplicate definition 2012-08-16 20:03:17 +03:00
Selman ULUG 0f74d72d7e khash.h including at line:255 2012-08-16 19:26:08 +03:00
Yukihiro Matsumoto 64762fb1d4 Merge branch 'master' of github.com:mruby/mruby 2012-08-16 22:24:20 +09:00
Yukihiro Matsumoto 38c4a3170b outer might be NULL; close #428 2012-08-16 22:24:13 +09:00
Yukihiro "Matz" Matsumoto 28961c0745 Merge pull request #429 from pbosetti/XCode
Code formatting in sprintf.c
2012-08-16 06:12:29 -07:00
Paolo Bosetti 58573c1a24 Corrected some missing link in Xcode project 2012-08-16 10:32:12 +02:00
Paolo Bosetti efa46146a5 Merge branch 'master' into XCode
Also, fixed issue in Xcode project build settings
2012-08-16 10:18:41 +02:00
Paolo Bosetti 441079557d Code formatting in sprintf.c
switch/case constructs in mrb_str_format() had mismatched indentation
styles: clean up to 2-spaces-per-level.
2012-08-16 10:11:15 +02:00
Yukihiro "Matz" Matsumoto 23e88dba6e Merge pull request #427 from Constellation/canonicalize-nan-value
Canonicalize NaN value in NaN boxing environment
2012-08-15 05:08:20 -07:00
Constellation fe9939f74e canonicalize NaN value in NaN boxing environment 2012-08-15 21:02:46 +09:00
Yukihiro "Matz" Matsumoto 2900b01a3d Merge pull request #426 from mirichi/op_enter_optimize
op_enter_optimize
2012-08-14 17:35:13 -07:00