aboutsummaryrefslogtreecommitdiffstats
path: root/tool
Commit message (Collapse)AuthorAgeFilesLines
* * common.mk (rdoc-bench): add a benchmark ruleko12013-05-211-0/+21
| | | | | | | | | | | | using RDoc. Generate all rdoc related files (same as `make rdoc') in temporary directory and remove them. Excecution time, GC::Profiler and results of GC.stat are printed. * tool/rdocbench.rb: added for `rdoc-bench'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* verconf.h.in: template for verconf.hnobu2013-05-161-25/+0
| | | | | | | * template/verconf.h.in: generate verconf.h from the template and rbconfig.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* generic_erb.rb: --source optionnobu2013-05-161-1/+3
| | | | | | * tool/generic_erb.rb: -x, --source option for debug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: shvar_to_cpp in rubynobu2013-05-151-0/+25
| | | | | | | | | | * configure.in: save configured load path values into verconf.in. * common.mk (verconf.h): create from verconf.in with shvar_to_cpp.rb. * tool/shvar_to_cpp.rb: turn shell variables into C macros. [Bug #7959] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ifchange: --keep optionnobu2013-05-151-0/+8
| | | | | | | * tool/ifchange (--keep=suffix): new option for debug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: Add dependencies for include/ruby.hakr2013-04-111-1/+1
| | | | | | | | | * tool/update-deps: Use "make -p all miniruby ruby golf" to extract deendencies in makefiles. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/update-deps: Use "make -p all golf" to extract deendencies inakr2013-04-111-1/+1
| | | | | | | | makefiles. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: Dependency updated.akr2013-04-111-120/+138
| | | | | | | | * tool/update-deps: Rewritten. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/configure.bat: option argumentsnobu2013-03-311-6/+0
| | | | | | | | * win32/configure.bat: try to fix option arguments split by commas and equals here. this batch file no longer run with old command.com. * tool/mkconfig.rb: no hacks for cmd.exe. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove unused variablenaruse2013-03-231-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbuninstall.rb: fix for symlink to directorynobu2013-03-131-1/+1
| | | | | | | * tool/rbuninstall.rb: fix for symlink to directory by removing trailing slash which let File.symlink? return false. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gen_dummy_probes.rbnobu2013-03-111-8/+6
| | | | | | | | * tool/gen_dummy_probes.rb: remove empty lines and compact. * tool/gen_dummy_probes.rb: allow arbitrary number of arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Merge Onigmo d4bad41e16e3eccd97ccce6f1f96712e557c4518.naruse2013-03-111-1/+1
| | | | | | | fix lookbehind assertion fails with /m mode enabled. [Bug #8023] fix \Z matches where it shouldn't. [Bug #8001] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/change_maker.rb (#diff2index): check Encoding::BINARY.kosaki2013-03-101-1/+3
| | | | | | BASERUBY may still be 1.8.x. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/gen_ruby_tapset.rb: add tapset generator.kosaki2013-03-101-0/+105
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbuninstall.rb: remove symlinks.nobu2013-03-081-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: gem subdirectoriesnobu2013-03-071-2/+1
| | | | | | | * tool/rbinstall.rb (gem): Gem.ensure_gem_subdirectories now has mode option since r39607. refix of r38870. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Merge Onigmo 0fe387da2fee089254f6b04990541c731a26757fnaruse2013-03-011-1/+8
| | | | | | v5.13.3 [Bug#7972] [Bug#7974] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkconfig.rb: reconstruct comma separated list valuesnobu2013-02-261-1/+6
| | | | | | | | | * tool/mkconfig.rb: reconstruct comma separated list values. a command line to Windows batch file is splitted not only by spaces and equals sign but also by commas and semicolons. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: default libdirnamenobu2013-02-251-1/+1
| | | | | | | * lib/mkmf.rb (MakeMakefile#init_mkmf): default libdirname to libdir. * tool/rbinstall.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merger.rb: runnablenobu2013-02-231-1/+4
| | | | | | * tool/merger.rb: make runnable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merger.rb: suppress warningsnobu2013-02-231-9/+9
| | | | | | | * tool/merger.rb (version_up, tag, default_merge_branch): suppress syntax warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/mkrunnable.rb: refactor and multiarch support.nobu2013-02-221-36/+55
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/merger.rb: add interaction when only ChangeLog is modified.naruse2013-02-211-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: uninstallnobu2013-02-201-0/+51
| | | | | | | | | * common.mk (uninstall): uninstall installed file listed in $(INSTALLED_LIST) file. * tool/rbuninstall.rb: simple uninstallation tool. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (libdir): fix typo. [Bug #7874]nobu2013-02-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: adjust libdirnamenobu2013-02-201-1/+1
| | | | | | | | | * configure.in (libdirname): adjust library path name which libruby files will be installed. [Bug #7874] * tool/rbinstall.rb (libdir): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/mkconfig.rb: exclude variables to just build libruby.nobu2013-02-191-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/mkrunnable.rb: needs rbconfig.rb.nobu2013-02-191-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkconfig.rb: clear exec_prefixnobu2013-02-181-1/+2
| | | | | | | * tool/mkconfig.rb: clear exec_prefix which may differ from prefix, before expanding rubyarchdir to remove prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/mkconfig.rb: remove prefix from rubyarchdir.naruse2013-02-161-1/+1
| | | | | | | | r39267 expands variables, it changes expansion timing, breaks RbConfig::CONFIG["includedir"] and building extension libraries with installed ruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make-snapshot: fix typonobu2013-02-081-2/+2
| | | | | | | * tool/make-snapshot (package): fix typo, liburyb, in fake config.status. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make-snapshot: File.joinnobu2013-02-081-1/+1
| | | | | | | * tool/make-snapshot (package): use File.join to get rid of continuous slashes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make-snapshot: rubyarchdirnobu2013-02-081-0/+1
| | | | | | * tool/make-snapshot (package): fake rubyarchdir too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vpath.rb: no rbconfig.rbnobu2013-02-071-1/+2
| | | | | | | * tool/vpath.rb (VPath#list): no rbconfig.rb, to get rid of cyclic dependency. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: CONFIG['arch'] not $archnobu2013-02-071-1/+1
| | | | | | | * tool/rbinstall.rb: use CONFIG['arch'] instead of $arch which was not added finally. fix r39108. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkconfig.rb: fix concatenated linesnobu2013-02-071-1/+2
| | | | | | | * tool/mkconfig.rb: see if a variable is set before setting it to fix concatenated lines. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: arch dependent header directory optionsnobu2013-02-061-2/+2
| | | | | | | | * configure.in (rubyarchhdrdir, sitearchhdrdir, vendorarchhdrdir): add options to customize architecture dependent header directories. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: arch dependent library directory optionsnobu2013-02-062-17/+23
| | | | | | | | | | | * configure.in (rubyarchprefix, sitearchdir, vendorarchdir): add options to customize architecture dependent library directories. * template/ruby.pc.in, tool/mkconfig.rb, tool/rbinstall.rb: use configured values. * tool/mkconfig.rb: expand rubyarchdir to extract prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkconfig.rb: fix anchornobu2013-02-061-1/+1
| | | | | | * tool/mkconfig.rb: should match whole word. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkconfig.rb: no BASERUBYnobu2013-01-211-2/+2
| | | | | | * tool/mkconfig.rb: BASERUBY is transient at core build. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vpath.rb: hack for msys makenobu2013-01-201-2/+3
| | | | | | | | * tool/vpath.rb (VPath#def_options): hack for msys make, which converts a command line argument to non-msys command seems like a path list automagically. [Bug #7710] [ruby-core:51489] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: gem subdirectoriesnobu2013-01-181-1/+0
| | | | | | * tool/rbinstall.rb (gem): prepare implies makedirs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: gem subdirectoriesnobu2013-01-181-1/+3
| | | | | | | * tool/rbinstall.rb (gem): Gem.ensure_gem_subdirectories makes subdirectories group-writable, so make them with $dir_mode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vpath.rb: separator for makenobu2013-01-151-1/+2
| | | | | | | * tool/vpath.rb (VPath#list): default separator to PATH_SEPARATOR from configure.in for make, not same name constant of File for use in ruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/mkrunnable.rb: support mswin build on remote file systemnobu2013-01-111-3/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkconfig.rb: use configured libdir valuenobu2013-01-111-1/+4
| | | | | | | | * tool/mkconfig.rb: use configured libdir value to fix --enable-load-relative on systems where libdir is not default value, overridden in config.site files. [ruby-core:47267] [Bug #6903] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/gen_dummy_probes.rb: remove comments in probes.d to fix theshugo2013-01-101-0/+3
| | | | | | compilation error introduced by r38755. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h, eval_intern.h (CHECK_STACK_OVERFLOW): moveko12012-12-251-2/+2
| | | | | | | | | | | | | | CHECK_STACK_OVERFLOW() to vm_core.h and rename to CHECK_VM_STACK_OVERFLOW(). This change is only move and rename. * tool/instruction.rb: catch up above changes. * vm.c, vm_insnhelper.c: ditto. * vm_insnhelper.c (vm_stackoverflow): add a function to unify raising vm stackoverflow exception. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test.rb: show messages in one linenobu2012-12-111-1/+1
| | | | | | | | * sample/test.rb (Progress#initialize): add --verbose option and show messages in one line unless --verbose is given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e