summaryrefslogtreecommitdiffstats
path: root/tool
Commit message (Collapse)AuthorAgeFilesLines
* * tool/install-sh: correction by Hiro Asari.yugui2009-12-281-5/+5
| | | | | | https://gist.github.com/264558/58ad1cae45cde49600bbb39286af2aae23e639d5 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/install-sh: wrote the intention. [ruby-dev:39928]yugui2009-12-281-0/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (install?(:local, :comm, :bin, :'bin-comm')):yugui2009-12-271-12/+12
| | | | | | | Makes it vim friendly. __END__ in a heredoc is confusing with the script end for vim. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode_data.h, transcode.c, tool/transcode-tblgen.rb: Addedduerst2009-12-101-0/+2
| | | | | | | | | | | | support for new transcoding instruction FUNsio (with Tatsuya Mizuno) * enc/trans/gb18030.trans: Significantly reduced GB18030 conversion table footprint using FUNsio and differences (with Tatsuya Mizuno) * test/ruby/test_transcode.rb: Minor name fix (from Tatsuya Mizuno) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: reverted r25443 because build_os is used in mkmf.rbnobu2009-10-261-1/+0
| | | | | | | on some platforms. [ruby-core:26332] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (target, target_alias): replace with real cpu.nobu2009-10-231-0/+1
| | | | | | | * mkconfig.rb: build* are not needed in rbconfig.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/enc-unicode.rb,naruse2009-10-141-83/+58
| | | | | | | | | enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt, enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src: use UTS#18 for POSIX character class. http://rubyspec.org/issues/show/161 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add derived core and binary property and aliases.naruse2009-10-131-28/+76
| | | | | | | | | | | | * tool/enc-unicode.rb, enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt, enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src: Add DerivedCoreProperties, PropList (Binary Property), PropertyAlias and PropertyValueAlias. Now users of tool/enc-unicode.rb should specify the directory of UCD files. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/enc-unicode.rb: optimized.naruse2009-10-081-11/+18
| | | | | | | | * enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt, enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src: U+100000-U+10FFFD is assigned, not Cn. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/enc-unicode.rb: parse range notation of UnicodeData.txt.naruse2009-10-081-5/+15
| | | | | | | | * enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt, enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src: follow above change. [ruby-dev:39444] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/instruction.rb (make_header_prepare_stack): check stacknobu2009-09-231-4/+16
| | | | | | | | | | overflow. [ruby-core:25714] * tool/instruction.rb (make_footer_stack_val): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb (transcode_generated_code): fixed type.nobu2009-09-221-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c, cont.c, gc.c, insns.def, iseq.c, iseq.h, process.c,nobu2009-09-211-2/+2
| | | | | | | | | thread.c, vm.c, vm_core.h, vm_dump.c, vm_eval.c, vm_insnhelper.c, vm_method.c, template/insns_info.inc.tmpl, tool/instruction.rb: fixed types. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/instruction.rb (make_insn_operand_optimized): fixed typo.nobu2009-09-211-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (parse_args): show help message and exit ifnobu2009-09-141-4/+14
| | | | | | | rbconfig could not load. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (install-all): target to install all.nobu2009-09-141-35/+30
| | | | | | | * tool/rbinstall.rb (parse_args): accept all install targets. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/config.{guess,sub}: updated to automake-1.11.nobu2009-09-112-27/+84
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * unicode.c (onigenc_unicode_property_name_to_ctype):naruse2009-09-101-3/+9
| | | | | | | | | | | | ignore case of properties. * tool/enc-unicode.rb: downcase properties list. * enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt, enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src: follow above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/compile_prelude.rb: reverted.nobu2009-09-081-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/compile_prelude.rb: evaluates in the main context.nobu2009-09-081-1/+1
| | | | | | | [ruby-core:25474] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (opt_*): add IC operands.ko12009-09-061-1/+1
| | | | | | | | | | | | | * vm_insnhelper.h (CALL_SIMPLE_METHOD): add a version which use an inline cache. USE_IC_FOR_SPECIALIZED_METHOD macro switchs the behaviour. This change also removes CALL_SIMPLE_METHOD_IC() macro. * tool/instruction.rb: fix elimination process to ignore variable "ic". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/instruction.rb: executable.nobu2009-09-021-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/instruction.rb (RubyVM::InstructionsLoader#make_stackcaching_insns):nobu2009-09-011-8/+3
| | | | | | | simplified. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/file2lastrev.rb: executable.nobu2009-09-011-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/mkconfig.rb (program_transform_name): fix for multiple transnaruse2009-08-262-2/+2
| | | | | | | | rules for autoconf 2.61 or earlier. * tool/rbinstall.rb (program_transform_name): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/mkconfig.rb (program_transform_name): fix for autoconf 2.61nobu2009-08-261-2/+2
| | | | | | | or earlier. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update Oniguruma's UnicodeData to 5.1.naruse2009-08-251-0/+230
| | | | | | | | | | | | | | | | | | | | * tool/enc-unicode.rb: added for generate name2ctype.kwd. contributed by Run Paint Run Run [ruby-core:24775] use like following: ruby19 tool/enc-unicode.rb enc/unicode/UnicodeData.txt \ enc/unicode/Scripts.txt > enc/unicode/name2ctype.kwd * enc/unicode.c (CodeRanges): move definitions to name2ctype.h. * enc/unicode/name2ctype.h.blt, enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src: updated to v5.1. * enc/unicode/UnicodeData.txt, enc/unicode/Scripts.txt: added v5.1. * Makefile.in: add rule to generate name2ctype.kwd from UnicodeData.txt and Scripts.txt. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/compile_prelude.rb: fixes a regexp pattern for require.yugui2009-08-081-2/+2
| | | | | | It had matched 'require("foo"('. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (gem): suppressed warnings.nobu2009-08-011-6/+7
| | | | | | | cf: [ruby-dev:38975] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/compile_prelude.rb: too long string literal causes compile errorusa2009-07-311-5/+10
| | | | | | | | on some platforms. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/compile_prelude.rb: replaces "require" with in-place evaluationyugui2009-07-301-1/+20
| | | | | | | | | | | so that copy & paste for lib/rubygems/default.rb is not necessary. * gem_prelude.rb: removes copied codes from lib/rubygems/defaults.rb. uses require instead. * common.mk (prelude.c): adds dependency for lib/rubygems/defaults.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/big5.trans, big5-hkscs-tbl.rb:duerst2009-07-241-1/+2
| | | | | | | | | | | | | | | | new Chinese BIG5-HKSCS transcoding (with Tatsuya Mizuno) * test/ruby/test_transcode.rb: added tests for the above (with Tatsuya Mizuno) * enc/big5.c: Added BIG5-HKSCS as a replicate encoding of BIG5 (short term solution, needs more work; with Tatsuya Mizuno) * tool/transcode-tblgen.rb: made 'pat' directly accessible in class StrSet git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h, compile.c: declare struct iseq_inline_cache_entry.ko12009-07-131-0/+8
| | | | | | | | | | | | | | Inline cache (IC) entries are no longer GC managed object. IC entries are freed when ISeq is freed. * iseq.c: fix mark, free, memsize functions for above change. * insns.def: remove rb_gc_write_barrier(). * vm_insnhelper.c (vm_method_search): ditto. * tool/instruction.rb, template/insns_info.inc.tmpl (insn_iclen): added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/*: executable.nobu2009-06-301-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb: renamed to get rid of collision againstnobu2009-06-301-1/+1
| | | | | | | instruction.rb on command line completion of shell. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/mkconfig.rb (RbConfig.expand): get rid of exceptions onnobu2009-06-301-4/+4
| | | | | | | frozen strings unless really changed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/file2lastrev.rb: get rid of global variables.nobu2009-06-301-12/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/compile_prelude.rb: use US-ASCII name.nobu2009-06-301-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def, tool/instruction.rb: fixed types.nobu2009-06-301-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/*: executable.nobu2009-06-3010-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove suprious #dump on versiondrbrain2009-06-291-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* summary is required in a valid gemspec, fixes gem list -ddrbrain2009-06-291-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/strip-rdocs.rb: supports QT style doxy-comments.yugui2009-06-291-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/instruby.rb (:gem): registers the bundled versionyugui2009-06-281-5/+9
| | | | | | | of minitest as a gem as rdoc or rake. c.f. [ruby-dev:38692]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: '&' in sed s command's replacement is '\&' in ruby.usa2009-06-251-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/mkconfig.rb, tool/instruby.rb: removed redundant code.nobu2009-05-252-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in ($ridir): new configuration. [ruby-core:23520].yugui2009-05-231-1/+1
| | | | | | | | | | | | | | | | | | | | c.f. [ruby-core:23519]. (--with-ridir): new configure option. * tool/instruby.rb (:doc, :rdoc): uses $ridir instead of a fixed path. * lib/rdoc/ri/paths.rb: follows $ridir. * Makefile.in: removes RIDATADIR which is no longer used. * bcc32/Makefile.sub: generates the 'ridir' entry for RbConfig. removes RIDATADIR which is no longer used. * win32/Makefile.sub: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * config.guess: moved into tool/.yugui2009-05-223-0/+3190
| | | | | | | | | | | | * config.sub: ditto. * install-sh: ditto * configure.in: follows the moves. * LEGAL: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: moved into tool/.yugui2009-05-224-0/+889
| | | | | | | | | | | | | | | | * mkconfig.rb: ditto. * rubytest.rb: ditto. * runruby.rb: ditto. * common.mk: follows the moves. * configure.in: ditto. * win32/Makefile.sub: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix: raised error on tool/ifchange.naruse2009-05-051-1/+1
| | | | | | | | * tool/ifchange: Fix: arguments which begin with minus sign may parsed as options. Because of older systems, don't use -- but use parentheses. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e