aboutsummaryrefslogtreecommitdiffstats
path: root/tool
Commit message (Collapse)AuthorAgeFilesLines
* * tool/file2lastrev.rb: don't depend on pathname.rb if File.realpathakr2010-07-171-16/+23
| | | | | | | is available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (ext-arch): prune directories start with '-'.nobu2010-07-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in ({,dist-,real-}clean-ext): should also omitnobu2010-07-111-1/+1
| | | | | | | | | semicolon when omitting "in WORDS" of FOR-statement. * tool/rmdirs: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in ({,dist-,real-}clean-ext): omission of "in WORDS" ofnobu2010-07-111-1/+1
| | | | | | | | | | FOR-statement is not allowed in /bin/sh on Solaris. fore-ported r28609 from 1.9.2. * tool/rmdirs: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow bin/* install from dot-dirs. Fixes rvm and multiruby installations.ryan2010-06-021-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/change_maker.rb: narrow diffs to see function names.nobu2010-05-281-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/change_maker.rb: change-log-mode needs tabs, and omit onlynobu2010-05-281-3/+4
| | | | | | empty line. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/change_maker.rb: line number may not present.nobu2010-05-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/change_maker.rb: use external diff for -p option.nobu2010-05-241-13/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (change), tool/change_maker.rb: make a brief templatenobu2010-05-241-0/+26
| | | | | | | for ChangeLog. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (install-man): install mdocs directly withoutnobu2010-05-071-7/+4
| | | | | | temporary files. [ruby-dev:41204] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/compile_prelude.rb: enable optimization.nobu2010-04-281-3/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb: expand target file name.nobu2010-04-241-6/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/compile_prelude.rb: typo.nobu2010-04-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/file2lastrev.rb (VCS::SVN::get_revisions.): remind aboutnobu2010-04-161-2/+2
| | | | | | DOSISH, sometimes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/file2lastrev.rb: use backtick for ruby 1.8.akr2010-04-151-1/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/file2lastrev.rb: this should run with ruby 1.8.naruse2010-04-151-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/file2lastrev.rb: make -q effective for files not versionakr2010-04-151-2/+7
| | | | | | | controlled. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/file2lastrev.rb (VCS#relative_to): path and @srcdir may haveakr2010-04-021-1/+16
| | | | | | | different relative-ness. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/file2lastrev.rb (VCS::GIT_SVN): removed because git-log cannobu2010-03-301-10/+0
| | | | | | deal with git-svn repository faster than git-svn-info. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/file2lastrev.rb (VCS#get_revisions): particular commands donobu2010-03-301-19/+15
| | | | | | not depend on instance. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot (package): take a breath for HP-UX makenobu2010-03-241-0/+1
| | | | | | | [ruby-core:28938]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot (Dir.mktmpdir): for 1.8.6 backward compatibility.nobu2010-03-241-0/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot (package): $: no longer contains ".", in trunk.nobu2010-03-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb: reuse hash object.akr2010-03-211-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb (transcode_compile_tree): makeakr2010-03-211-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | valid_encoding mandatory unless from_encoding is registered in ValidEncoding. (transcode_tbl_only): ditto. (transcode_tblgen): ditto. (ValidEncoding): new function. * enc/trans/escape.trans: specify valid_encoding. * enc/trans/emoji_sjis_docomo.trans: ditto. * enc/trans/emoji.trans: ditto. * enc/trans/emoji_iso2022_kddi.trans: ditto. * enc/trans/big5.trans: ditto. * enc/trans/emoji_sjis_softbank.trans: ditto. * enc/trans/emoji_sjis_kddi.trans: ditto. * enc/trans/chinese.trans: use ValidEncoding() instead of ValidEncoding[]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb (ActionMap.unambiguous_action): useakr2010-03-201-8/+42
| | | | | | | | | | Array#delete. (ActionMap.merge2): defined. (ActionMap::PostMemo): removed. (transcode_compile_tree): use ActionMap.merge2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb (each_firstbyte_range): tuned for lessakr2010-03-201-28/+34
| | | | | | | method calls. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb: scan singleton mappings sequentially.akr2010-03-181-35/+72
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb: specialize for singletom mappings.akr2010-03-161-26/+62
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb: redundant loop removed.akr2010-03-151-12/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb: refactored to use tree as memo key.akr2010-03-151-55/+58
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb: more info in generating macro names.akr2010-03-151-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb: ActionMap#each_firstbyte inlined.akr2010-03-151-14/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb (transcode_tblgen): add valid_encodingakr2010-03-151-13/+17
| | | | | | | | | | | | | optional argument. * enc/trans/single_byte.trans use valid_encoding argument for transcode_tblgen. * enc/trans/chinese.trans: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/file2lastrev.rb (VCS::{SVN,GIT}#get_revisions):nobu2010-03-141-5/+5
| | | | | | use block argument 'path' to get the path given by super. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb (Action#hash): defined.akr2010-03-141-0/+10
| | | | | | | | (Action#eql?): ditto. (Action#==): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb: refactored.akr2010-03-141-225/+245
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/file2lastrev.rb (VCS::GIT_SVN#get_revisions) :naruse2010-03-141-2/+2
| | | | | | | | | | use block argument 'path' to get the path given by super. * tool/file2lastrev.rb (VCS::GIT#get_revisions): use double quotes for Windows. patched by Vladimir Sizikov [ruby-core:28651] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb: consider valid_encoding for max_input.akr2010-03-141-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb: reject ambiguous mapping.akr2010-03-131-0/+19
| | | | | | | | * enc/trans/single_byte.trans: remove ambiguous maping such as \xD6 -> U+05F2 and \xD6\xC7 -> U+FB1F in Windows-1255 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/file2lastrev.rb: refactord. fixed changed revision of git.nobu2010-03-131-40/+76
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb: show cosumed time at last.akr2010-03-121-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (ruby_init_loadpath_safe): mark initial load paths.nobu2010-03-121-1/+1
| | | | | | | | | | * gem_prelude.rb (push_all_highest_version_gems_on_load_path): search insertion position by initial load path mark. * lib/rubygems.rb (Gem.load_path_insert_index): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/compile_prelude.rb: TMP_RUBY_PREFIX should replace rubylibprefix but ↵muraken2010-03-121-1/+1
| | | | | | not prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (ruby_init_loadpath_safe, ruby_init_gems): set and removenobu2010-03-111-77/+145
| | | | | | | | | | | TMP_RUBY_PREFIX. * variable.c (rb_mod_remove_const): new function. * tool/compile_prelude.rb: split each preludes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/EMOJI/*.src, enc/trans/emoji*, enc/x-emoji.c, ↵muraken2010-03-095-84/+480
| | | | | | | | test/ruby/enc/test_emoji.rb, tool/enc-emoji-citrus-gen.rb, tool/enc-emoji4unicode.rb, tool/jisx0208.rb, tool/test/test_jisx0208.rb: new encodings to support emoji charsets, which are used by Japanese mobile phones [ruby-dev:40528]. Thanks Yoji Shidara for a lot of contribution. * tool/transcode-tblgen.rb: modified for enc-emoji4unicode.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb (ActionMap#generate_node):naruse2010-03-091-2/+1
| | | | | | | | | remove useless dup. * tool/transcode-tblgen.rb (transcode_tbl_only): remove duplicated method call for encode_utf8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb (StrSet#parse, ActionMap#generate_node):mame2010-03-091-2/+4
| | | | | | | optimization (reusing object and improving memoize). [ruby-dev:40582] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb (HEX2): extracted from regexps.akr2010-03-031-11/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e