Граф коммитов

262 Коммитов

Автор SHA1 Сообщение Дата
akr c68de8ee08 * tool/file2lastrev.rb: don't depend on pathname.rb if File.realpath
is available.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-17 09:30:54 +00:00
nobu adf37e2fde * tool/rbinstall.rb (ext-arch): prune directories start with '-'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-16 03:06:10 +00:00
nobu a3de9759e0 * Makefile.in ({,dist-,real-}clean-ext): should also omit
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
2010-07-11 08:01:59 +00:00
nobu 9d3d606907 * Makefile.in ({,dist-,real-}clean-ext): omission of "in WORDS" of
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
2010-07-11 06:36:21 +00:00
ryan 18b4480e31 Allow bin/* install from dot-dirs. Fixes rvm and multiruby installations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-02 20:42:29 +00:00
nobu 2dce743725 * tool/change_maker.rb: narrow diffs to see function names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-28 23:59:55 +00:00
nobu a51acf3689 * tool/change_maker.rb: change-log-mode needs tabs, and omit only
empty line.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-28 11:53:21 +00:00
nobu bb512fddae * tool/change_maker.rb: line number may not present.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-24 06:32:53 +00:00
nobu c5652b9008 * tool/change_maker.rb: use external diff for -p option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-24 06:10:09 +00:00
nobu e16c316b52 * common.mk (change), tool/change_maker.rb: make a brief template
for ChangeLog.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-24 03:52:46 +00:00
nobu f1307d2705 * tool/rbinstall.rb (install-man): install mdocs directly without
temporary files.  [ruby-dev:41204]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-07 02:30:57 +00:00
nobu 614bc7f9f8 * tool/compile_prelude.rb: enable optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-28 00:49:25 +00:00
nobu 5a4f004d74 * tool/rbinstall.rb: expand target file name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-24 07:27:18 +00:00
nobu dd3bbc6005 * tool/compile_prelude.rb: typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-20 00:29:26 +00:00
nobu 565d22756b * tool/file2lastrev.rb (VCS::SVN::get_revisions.): remind about
DOSISH, sometimes.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-16 07:51:18 +00:00
akr 77204d5391 * tool/file2lastrev.rb: use backtick for ruby 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-15 12:55:11 +00:00
naruse 83724a77dd * tool/file2lastrev.rb: this should run with ruby 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-15 12:14:45 +00:00
akr d9aab57252 * tool/file2lastrev.rb: make -q effective for files not version
controlled.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-15 11:43:09 +00:00
akr 8d8ff193b6 * tool/file2lastrev.rb (VCS#relative_to): path and @srcdir may have
different relative-ness.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 19:48:04 +00:00
nobu 4a6acc26d5 * tool/file2lastrev.rb (VCS::GIT_SVN): removed because git-log can
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
2010-03-30 04:11:24 +00:00
nobu 0c6fb8ccaa * tool/file2lastrev.rb (VCS#get_revisions): particular commands do
not depend on instance.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-30 04:01:17 +00:00
nobu 2ca764948c * tool/make-snapshot (package): take a breath for HP-UX make
[ruby-core:28938].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-24 19:42:24 +00:00
nobu d0cd67ef68 * tool/make-snapshot (Dir.mktmpdir): for 1.8.6 backward compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-24 19:38:22 +00:00
nobu 058b9db421 * tool/make-snapshot (package): $: no longer contains ".", in trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-24 19:36:57 +00:00
akr 8e63c340b9 * tool/transcode-tblgen.rb: reuse hash object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-21 08:15:16 +00:00
akr 49d993729f * tool/transcode-tblgen.rb (transcode_compile_tree): make
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
2010-03-21 03:38:58 +00:00
akr 750c9916e2 * tool/transcode-tblgen.rb (ActionMap.unambiguous_action): use
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
2010-03-20 10:18:55 +00:00
akr 772cc7a4f2 * tool/transcode-tblgen.rb (each_firstbyte_range): tuned for less
method calls.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-20 02:32:40 +00:00
akr f9d64323c8 * tool/transcode-tblgen.rb: scan singleton mappings sequentially.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-18 10:53:38 +00:00
akr 0b6a0045aa * tool/transcode-tblgen.rb: specialize for singletom mappings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-16 13:52:16 +00:00
akr 34533445c8 * tool/transcode-tblgen.rb: redundant loop removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-15 22:21:24 +00:00
akr 32ea96f682 * tool/transcode-tblgen.rb: refactored to use tree as memo key.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-15 22:02:42 +00:00
akr e3a231d3d0 * tool/transcode-tblgen.rb: more info in generating macro names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-15 19:10:29 +00:00
akr 2ce0d5db96 * tool/transcode-tblgen.rb: ActionMap#each_firstbyte inlined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-15 12:59:54 +00:00
akr a73374bb57 * tool/transcode-tblgen.rb (transcode_tblgen): add valid_encoding
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
2010-03-15 12:25:20 +00:00
nobu ad130d3670 * tool/file2lastrev.rb (VCS::{SVN,GIT}#get_revisions):
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
2010-03-14 19:18:49 +00:00
akr 8aa897fc05 * tool/transcode-tblgen.rb (Action#hash): defined.
(Action#eql?): ditto.
  (Action#==): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-14 17:45:21 +00:00
akr 1db141ed13 * tool/transcode-tblgen.rb: refactored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-14 17:01:06 +00:00
naruse 4bbc67e4cf * tool/file2lastrev.rb (VCS::GIT_SVN#get_revisions) :
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
2010-03-14 15:17:05 +00:00
akr 760db25b55 * tool/transcode-tblgen.rb: consider valid_encoding for max_input.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-14 13:38:59 +00:00
akr fa37ab769f * tool/transcode-tblgen.rb: reject ambiguous mapping.
* 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
2010-03-13 17:54:43 +00:00
nobu 0e9620fd38 * tool/file2lastrev.rb: refactord. fixed changed revision of git.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-13 08:48:49 +00:00
akr 7553fd299e * tool/transcode-tblgen.rb: show cosumed time at last.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-12 18:25:13 +00:00
nobu 04e68d0107 * ruby.c (ruby_init_loadpath_safe): mark initial load paths.
* 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
2010-03-12 15:11:10 +00:00
muraken da72b1bb6e * tool/compile_prelude.rb: TMP_RUBY_PREFIX should replace rubylibprefix but not prefix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-12 04:56:34 +00:00
nobu 1dcf1174ea * ruby.c (ruby_init_loadpath_safe, ruby_init_gems): set and remove
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
2010-03-11 22:15:11 +00:00
muraken 62f8df2d3c * enc/trans/EMOJI/*.src, enc/trans/emoji*, enc/x-emoji.c, 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
2010-03-09 09:15:42 +00:00
naruse c4636043cc * tool/transcode-tblgen.rb (ActionMap#generate_node):
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
2010-03-09 06:00:58 +00:00
mame 4400822b45 * tool/transcode-tblgen.rb (StrSet#parse, ActionMap#generate_node):
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
2010-03-09 03:21:07 +00:00
akr 5521b78fc3 * tool/transcode-tblgen.rb (HEX2): extracted from regexps.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-03 15:11:56 +00:00