Commit Graph

4166 Commits

Author SHA1 Message Date
MATSUMOTO Ryosuke dadf06f72b Add global constant MRUBY_COPYRIGHT 2014-02-05 23:54:15 +09:00
MATSUMOTO Ryosuke 456a765e53 replace Kernel.show_version with MRUBY_DESCRIPTION 2014-02-05 22:17:44 +09:00
MATSUMOTO Ryosuke 6c91ba001f Fix release date 2014-02-05 21:17:00 +09:00
MATSUMOTO Ryosuke e0c10d03da Add pluggable versioning by mruby-version 2014-02-05 18:45:09 +09:00
Yukihiro "Matz" Matsumoto 6bcc780261 Merge pull request #1683 from take-cheeze/gem_flags_after_libraries
Pass forgotten variable gem_flags_after_libraries to tool's linker.run.
2014-02-04 23:07:39 -08:00
take_cheeze 2e20232daf pass gem_flags_after_libraries 2014-02-05 14:22:19 +09:00
Yukihiro "Matz" Matsumoto 5172f4797f add RUBY_VERSION to notify syntax compatible version 2014-02-05 13:27:30 +09:00
Yukihiro "Matz" Matsumoto 565e1f6ef2 disable LocalJumpError test since the code causes SyntaxError (not LocalJumpError) on CRuby 2014-02-05 12:58:01 +09:00
Yukihiro "Matz" Matsumoto 04eb577b69 Fiber.new{break} caused SEGV 2014-02-05 12:51:17 +09:00
Yukihiro "Matz" Matsumoto be0cc4f90e better codedump format 2014-02-04 23:04:34 +09:00
Yukihiro "Matz" Matsumoto 89e7402526 Merge pull request #1682 from mattn/remove_warning
Remove warning
2014-02-04 05:33:53 -08:00
mattn c850372029 Remove warning 2014-02-04 18:12:35 +09:00
Yukihiro "Matz" Matsumoto 857e384187 fibers cannot cross C function boundary; close #1680 2014-02-04 14:01:22 +09:00
Yukihiro "Matz" Matsumoto 33bb4578a2 Merge pull request #1678 from iij/float-nan-p
add Float#nan?
2014-02-02 23:39:00 -08:00
Tomoyuki Sahara 7bf63c2876 add Float#nan? 2014-02-03 15:18:52 +09:00
Yukihiro "Matz" Matsumoto 857e3cfa7c Merge pull request #1675 from h2so5/node-splat-codegen
fix NODE_SPLAT codegen
2014-01-31 20:30:18 -08:00
h2so5 b53d91e6e2 fix NODE_SPLAT codegen 2014-02-01 12:22:28 +09:00
Yukihiro "Matz" Matsumoto e12250032f Merge pull request #1673 from cremno/rework-objspace-gc
rework mruby-objectspace and gc.[ch]
2014-01-31 09:08:45 -08:00
cremno a2cfc9a9af rework mruby-objectspace and gc.[ch]
- functions should have C linkage (for C++ code)
- add prefix to each_object_callback
- use more appropriate variable types / initialization
- ObjectSpace::count_objects has 1 opt. arg.
- prefer mrb_intern_lit to mrb_intern_cstr for str. lit.
- mruby/value.h is included by mruby.h
- adjust coding style
2014-01-31 17:42:05 +01:00
Yukihiro "Matz" Matsumoto 7c9a1accff remove conflict 2014-01-31 17:09:04 +09:00
Yukihiro "Matz" Matsumoto 6cf42a8200 Merge pull request #1671 from cremno/extern-cleanup
clean up external symbols
2014-01-31 00:03:28 -08:00
Yukihiro "Matz" Matsumoto 4e2a9509dc Merge pull request #1669 from cremno/copyright-2014
update copyright year
2014-01-31 00:01:09 -08:00
Yukihiro "Matz" Matsumoto 210e7b668e Merge pull request #1668 from cremno/etc-c-cleanup
etc.c: small cleanup
2014-01-31 00:00:41 -08:00
Yukihiro "Matz" Matsumoto 4c9c466ba3 Merge pull request #1670 from cremno/remove-mrb_str_format-declaration
remove mrb_str_format declaration
2014-01-30 23:59:37 -08:00
h2so5 650ffb9d84 reindent parse.y 2014-01-31 11:30:58 +09:00
cremno bb25d42d0d add missing declaration of mrb_str_format 2014-01-31 01:34:20 +01:00
cremno f2a62a74ed clean up external symbols
remove unused and unneeded:
- sysexit_status
- type (a global variable)

add mrb_ prefix to:
- codedump_all
- class_instance_method_list
- parser_dump

make various functions static, incl.:
- yyparse
- make_exception
2014-01-31 01:30:18 +01:00
cremno eaf445ea5c mruby.h: remove mrb_str_format declaration
The function mrb_str_format is only defined when the mrbgem mruby-sprintf was
activated. That might not always be the case (by default it currently is).
mrb_str_format still has external linkage, so from now on mrbgem authors
have to declare it in their source code if they want or need to call it.
2014-01-30 23:50:18 +01:00
cremno 3ee946dab4 Happy new year! (update copyright year)
Let's not wait until May this time
(f0a9b95af3)!
2014-01-30 23:17:24 +01:00
cremno d90f52f552 etc.c: small cleanup (delete unused functions)
mrb_data_object_alloc: unnecessary cast
mrb_lastline_get: mruby doesn't support $_, weird and unused code
mrb_exec_recursive: see 4e46abb869
mrb_block_proc: unused, doesn't really do anything (or needs to be
rewritten)
mrb_obj_to_sym: actually use id (and MSVC detected unreachable code)
2014-01-30 23:16:46 +01:00
Yukihiro "Matz" Matsumoto a68a517028 refactor parser lineno adjustment; ref #1667 2014-01-31 00:49:46 +09:00
Yukihiro "Matz" Matsumoto dd70ae0b6e add semicolon after the statements 2014-01-30 22:08:31 +09:00
Yukihiro "Matz" Matsumoto 5815ac4fed Merge pull request #1667 from h2so5/backtrace-lineno
more accurate backtrace lineno
2014-01-30 03:53:03 -08:00
Yukihiro "Matz" Matsumoto aa08158f67 Array#[]= is now range aware 2014-01-30 10:50:56 +09:00
Yukihiro "Matz" Matsumoto 0006278088 move Array#[] tests from mrbgems to test/t/array.rb 2014-01-30 10:33:47 +09:00
h2so5 36e0925053 more accurate backtrace lineno 2014-01-30 10:08:04 +09:00
Yukihiro "Matz" Matsumoto 5346bdd76b move range aware aget to array.c from mruby-array-ext gem 2014-01-29 14:53:38 +09:00
Yukihiro "Matz" Matsumoto b69bb896fc Merge pull request #1664 from h2so5/clone-class-module
clone Class/Module rightly
2014-01-25 04:55:07 -08:00
h2so5 25045345c9 clone Class/Module rightly 2014-01-25 07:47:15 +09:00
Yukihiro "Matz" Matsumoto e0e5aebc66 add callback invocation from OP_DEBUG 2014-01-23 15:08:38 +09:00
Yukihiro "Matz" Matsumoto 92570a96b0 add enable_debug to build_config.rb 2014-01-23 14:25:54 +09:00
Yukihiro "Matz" Matsumoto 68f33d220b Merge pull request #1663 from h2so5/fix-utf8-codepage
fix utf8 codepage
2014-01-22 19:22:36 -08:00
h2so5 1717666662 fix utf-8 codepage 2014-01-23 03:38:54 +09:00
Yukihiro "Matz" Matsumoto 33dc9615d4 Merge pull request #1662 from h2so5/fix-string-inspect
escape non-ascii characters correctly in String#inspect
2014-01-22 05:53:19 -08:00
h2so5 a030cab7d1 escape non-ascii characters correctly in String#inspect 2014-01-21 21:36:59 +09:00
Yukihiro "Matz" Matsumoto b3f8f8a5b0 describe call stack overwritten problem of mrb_get_backtrace; close #1661 2014-01-21 17:12:14 +09:00
Yukihiro "Matz" Matsumoto 4a12d351bb Merge pull request #1659 from carsonmcdonald/threestructtests
Increase test coverage of mruby-struct
2014-01-16 16:46:55 -08:00
Carson McDonald d3a057caed Increase test coverage of mruby-struct 2014-01-16 17:54:56 -05:00
Yukihiro "Matz" Matsumoto 38973f1566 Merge branch 'master' of github.com:mruby/mruby 2014-01-16 21:34:04 +09:00
Yukihiro "Matz" Matsumoto c7cff199dc hash value of enumerable should be obtained from its elements; close #1658 2014-01-16 21:33:48 +09:00