Commit Graph

1297 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 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
Yukihiro Matsumoto 6e01057292 Merge branch 'master' of github.com:mruby/mruby 2012-08-15 09:32:53 +09:00
Yukihiro Matsumoto 7bf4142c42 mruby should read from stdin if no argument given as cruby does 2012-08-15 09:31:59 +09:00
Yukihiro Matsumoto 5f11890d04 mruby should accept "-" as stdin 2012-08-15 09:31:13 +09:00
mirichi 13b1111212 op_enter_optimize 2012-08-15 00:34:36 +09:00
suzukaze d648970bc8 fixed showing no 'Usage'. 2012-08-14 23:50:39 +09:00
Yukihiro "Matz" Matsumoto f5f6300f5b Merge pull request #423 from pbosetti/XCode
Xcode project cleanup (corrects the error in #422, not pulled)
2012-08-14 06:21:22 -07:00
Paolo Bosetti 263de094b7 Further improvement and optimization of Xcode project build settings 2012-08-14 11:29:16 +02:00
Paolo Bosetti 386f90b48b Made the Xcode building schemes shared (this adds mruby.xcodeproj/xcshareddata/* to the repo) 2012-08-14 09:06:03 +02: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
Paolo Bosetti 177e74618d Further revision of the set of Xcode build schemes
Now there are only three schemes (build commands, static library, OS X
framework) plus a scheme wrapping the standard make file.
2012-08-13 16:37:02 +02:00
Paolo Bosetti 4c56ce2744 Merge branch 'master' into XCode 2012-08-13 16:26:15 +02:00
Paolo Bosetti 05127776cf Modified and made more clear Xcode project schemes. Also, removed /build form main .gitignore 2012-08-13 16:23:46 +02:00
Yukihiro Matsumoto cda1709a35 setjmp in mrb_funcall_with_block if mrb->jmp is empty 2012-08-13 21:03:08 +09:00
Yukihiro Matsumoto 59bf47e7f8 iv table may be empty 2012-08-13 04:51:48 +09:00
Yukihiro Matsumoto 1ed39d5c05 use TRUE/FALSE instead of 1/0 2012-08-13 04:19:24 +09:00
Yukihiro "Matz" Matsumoto 0143a85a21 Merge pull request #421 from masamitsu-murase/modify_puts
`puts` should print "\n" only when the argument does not end with "\n".
2012-08-12 12:16:31 -07:00
Yukihiro "Matz" Matsumoto 26a75d854b Merge pull request #420 from masamitsu-murase/modify_exception_handling
Modify exception handling
2012-08-12 12:16:00 -07:00
Masamitsu MURASE 44b408ad10 puts should print "\n" only when the argument does not end with "\n". 2012-08-13 02:42:32 +09:00
Masamitsu MURASE 686b6eb629 Add more test for exception. 2012-08-13 01:57:00 +09:00
Masamitsu MURASE 87ba67f42d Modify exception handling.
If an exception is raised before cipush is called in mrb_run,
it should be handled in the outer mrb_run.
2012-08-13 01:49:50 +09:00
Yukihiro Matsumoto 119b9f5bd5 check value from NilClass#inspect 2012-08-12 04:20:53 +09:00
Yukihiro Matsumoto a2a4563eaf check inside of result from Kernel#instance_variable 2012-08-12 04:19:17 +09:00