aboutsummaryrefslogtreecommitdiffstats
path: root/defs
Commit message (Collapse)AuthorAgeFilesLines
* * compile.c (NODE_CALL): add optimization shortcut for Array#max/min.mame2016-03-171-0/+2
| | | | | | | | | Now `[x, y].max` is optimized so that a temporal array object is not created in some condition. * insns.def (opt_newarray_max, opt_newarray_min): added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: symbol literals for alias/undefnobu2016-03-162-4/+4
| | | | | | | | * defs/keywords (alias, undef): symbol literals are allowed. * parse.y (parse_percent): should parse symbol literals for alias and undef. [ruby-dev:47681] [Bug #8851] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* id.def: $~ and $_nobu2016-02-171-1/+4
| | | | | | | | * defs/id.def (predefined): add idLASTLINE and idBACKREF for $~ and $_ respectively. * parse.y: use idLASTLINE and idBACKREF instead of rb_intern. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: test-sample was changed to test-basic.hsbt2016-01-161-4/+5
| | | | | | | | | | [Feature #11982][ruby-core:72823] * basictest/runner.rb: ditto. rename from tool/rubytest.rb. * basictest/test.rb: ditto. rename from sample/test.rb. * defs/gmake.mk: picked from r53540 * sample/test.rb: backword compatibility for chkbuild. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r53539 and r53540nobu2016-01-151-5/+4
| | | | | | | | * basictest/test.rb: revert r53539 because it depends on r53537. * gmake.mk: ditto, revert r53540. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gmake.mk: update ordernobu2016-01-151-4/+5
| | | | | | | * defs/gmake.mk (yes-test-basic): update the target name and the order of tests. [Feature #11982] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): add debug information to NODE_STRko12015-11-201-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | strings as default. [Feature #11725] * insns.def (freezestring): add new instruction to support adding debug information for dynamically constracted strings. * compile.c (iseq_compile_each): support adding debug information for NODE_DSTR with freezestring instruction. * error.c (rb_error_frozen): change the debug information ID name id_debug_created_info and this field should have a 2 element array containing path and line information. * defs/id.def: ditto. * test/ruby/test_rubyoptions.rb: catch up this fix. * test/ruby/test_iseq.rb: now frozen strings are not same. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Rename DOTQ to ANDDOTnobu2015-11-101-1/+1
| | | | | | | * defs/id.def, parse.y: Switch internal token name to reflect current form of safe-call operator. [Fix GH-1090] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* change DOTQnobu2015-11-061-1/+1
| | | | | | | * defs/id.def (token_ops), parse.y (parser_yylex): change DOTQ from ".?" to "&.". [ruby-core:71363] [Feature #11537] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* id.def: token_opsnobu2015-11-051-0/+46
| | | | | | | * defs/id.def (token_ops): gather associations between IDs, operators, and parser tokens. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* keywords: make name singednobu2015-11-022-2/+2
| | | | | | | * defs/keywords (kwtable::name): turn into singed int, as gperf fills invalid slots with -1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* id.def: anonymous IDsnobu2015-10-271-2/+6
| | | | | | | * defs/id.def: enable anonymous IDs not to expose internal IDs for frozen-string-literal-debug by Marshal.dump. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* id.def: internal IDsnobu2015-10-271-0/+3
| | | | | | * defs/id.def: move internal IDs for frozen-string-literal-debug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: showflags only oncenobu2015-10-221-1/+1
| | | | | | * common.mk (showflags): do not show flags from recursive make. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: separate test-testframeworknobu2015-10-091-5/+3
| | | | | | | * common.mk (check): separate test-testframework from test-all only when building check. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gmake.mk: test ordernobu2015-10-041-2/+5
| | | | | | | | | * common.mk (test-almost): rename target to test other than test-frameworks. * defs/gmake.mk (test-almost): run after test-testframework. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gmake.mk: no docs if test onlynobu2015-09-021-1/+1
| | | | | | | * defs/gmake.mk (TEST_DEPENDS): make docs only when checking, but not only btest and test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.in: PIC lex.cnobu2015-07-222-2/+2
| | | | | | * Makefile.in (lex.c): make position independent table. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/json.gemspec, lib/rdoc/rdoc.gemspec: added gemspec directly.hsbt2015-04-121-3/+0
| | | | | | | * defs/default_gems, tool/rbinstall.rb: removed default_gems definition. it make simple installation for default gems. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/*, test/json/*: Reverted r50231. Because it's not works withhsbt2015-04-121-0/+1
| | | | | | cross-compile environment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/*, test/json/*, defs/default_gems: Gemify JSON library.hsbt2015-04-111-1/+0
| | | | | | | | | | | [fix GH-867][Feature #11057] * test/ruby/test_extlibs.rb: removed json gem from existence extentions. * gems/bundled_gems: added json gem into bundled gem. * lib/rdoc/rubygems_hook.rb: ignored no json environment. * lib/rubygems/test_case.rb, test/rubygems/*: ditto. * lib/rdoc/test_case.rb, test/rdoc/*: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rake/*: Gemify rake [fix GH-862][Feature #11025]hsbt2015-04-041-1/+0
| | | | | | | * test/rake/*: ditto. * tool/rbinstall.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gmake.mk: check targets depend on mainnobu2015-04-031-2/+2
| | | | | | | * defs/gmake.mk (TEST_DEPENDS): all check targets need the main, programs and extensions have been built. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: examnobu2015-04-021-2/+2
| | | | | | * common.mk (exam): renamed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: foolnobu2015-04-011-1/+6
| | | | | | * common.mk (fool): target to check and test rubyspec. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gmake.mk: CHECK_TARGETSnobu2015-04-011-4/+5
| | | | | | | * defs/gmake.mk (CHECK_TARGETS): goals depending on test and test-all. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gmake.mk: showflagsnobu2015-03-181-1/+3
| | | | | | * defs/gmake.mk (showflags): more targets to show flags. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gmake.mk: fix typonobu2015-03-131-1/+1
| | | | | | * defs/gmake.mk: fix typo, remove an extra comma. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gmake.mk: wait showflagsnobu2015-03-121-0/+6
| | | | | | * defs/gmake.mk (showflags): finish before object files start. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* id.def: move IDs for exceptionnobu2014-11-161-0/+2
| | | | | | | * defs/id.def: add :mesg and :exception and move from other sources. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* id.def: attrsetnobu2014-11-141-2/+3
| | | | | | | * defs/id.def: add attrset IDs, which no longer shares serial numbers with local name IDs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * defs/known_errors.def: More errors for FreeBSD.akr2014-11-091-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * defs/known_errors.def (EHWPOISON): New errno symbol.akr2014-11-091-0/+1
| | | | | | | It is defined by glibc-2.16. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: optimize IDs in rippernobu2014-10-271-0/+1
| | | | | | | | | * parse.y: optimize ripper_intern calls, ::, **, -@, +@, <=>, >=, <=, ==, ===, !=, =~, !~, <<, >>, and call. * parse.y: use initialized IDs, warn and warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * defs/default_gems: change version definition file of rake.hsbt2014-07-151-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* extmk.rb: GNU make -C optionnobu2014-07-031-0/+2
| | | | | | * ext/extmk.rb: use -C option for GNU make instead of shell. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval.c: no method calls at stack overflownobu2014-06-281-0/+2
| | | | | | | | * eval.c (setup_exception): get rid of method calls before raising stack overflow, not to cause stack overflow again. * defs/id.def: add IDs for backtraces. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gmake.mk: for lovenobu2014-06-201-3/+11
| | | | | | * defs/gmake.mk: add dependencies for love. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: fix dependenciesnobu2014-06-191-1/+2
| | | | | | | * common.mk, defs/gmake.mk: fix install and uninstall dependencies with parallel make. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gmake.mk: fix argumentnobu2014-06-011-1/+1
| | | | | | * defs/gmake.mk: fix missing loop variable of `foreach`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gmake.mk: universal assembler rulesnobu2014-06-011-0/+6
| | | | | | | | | * Makefile.in (CFLAGS_NO_ARCH): split from ARCH_FLAG. * defs/gmake.mk: define assembler rules per architectures for universal binaries. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gmake.mk: universal cpp rulesnobu2014-06-011-0/+13
| | | | | | | * defs/gmake.mk: define preprocessing rules per architectures for universal binaries. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * defs/default_gems: remvoed mintiest entry.hsbt2014-05-241-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* id.def: predefine to_inobu2014-05-201-0/+1
| | | | | | | | | | * defs/id.def: predefine `to_i` as well as `to_int`. * numeric.c (id_to_i): use predefined `idTo_i`. * object.c (conv_method_names): add `to_i` ID. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* id.def: predefine conversion method IDsnobu2014-05-201-0/+10
| | | | | | | | * defs/id.def: predefine conversion method name IDs. * object.c (conv_method_names): consitify with predefined IDs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* defs/gmake.mk: no _FORTIFY_SOURCE unless optimizationnobu2014-03-251-0/+4
| | | | | | | * defs/gmake.mk (XCFLAGS): remove _FORTIFY_SOURCE if optimization is disabled as it requires compiling with optimization. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * defs/opt_operand.def: Fix typoa_matsuda2013-12-221-1/+1
| | | | | | s/configration/configuration/ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): emit opt_str_freeze if the #freezecharliesome2013-11-091-0/+1
| | | | | | | | | | | | | | | | | | | method is called on a static string literal with no arguments. * defs/id.def (firstline): add freeze so idFreeze is available * insns.def (opt_str_freeze): add opt_str_freeze instruction which pushes a frozen string literal without allocating a new object if String#freeze is not overriden * string.c (Init_String): define String#freeze * vm.c (vm_init_redefined_flag): define BOP_FREEZE on String class as a basic operation * vm_insnhelper.h: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Set mode for GNU Makefile.knu2013-06-201-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* id.def: predefined IDsnobu2013-05-021-0/+11
| | | | | | | * defs/id.def: add more predefined IDs used in core. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e