nobu
7e82db2e1e
* tool/rbinstall.rb (prepare): skip if basedir is not defined.
...
[ruby-core:39135][Bug #5238 ]
* tool/rbinstall.rb (CONFIG.[]): check for mandatory
configurations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-13 01:59:54 +00:00
nobu
8e6dfeecc9
* tool/rubytest.rb: separate errors from dots.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-20 15:59:15 +00:00
naruse
6227690604
* tool/enc-unicode.rb: don't use 1.9 feature on tools.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-18 02:47:41 +00:00
naruse
0424e152c6
* Merge Onigmo-5.13.1. [ruby-dev:45057] [Feature #5820 ]
...
https://github.com/k-takata/Onigmo
cp reg{comp,enc,error,exec,parse,syntax}.c reg{enc,int,parse}.h
cp oniguruma.h
cp tool/enc-unicode.rb
cp -r enc/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-17 07:42:23 +00:00
naruse
3b243514ff
* tool/merger.rb: remove borders from the commit message which is used
...
when the commit doesn't change ChangeLog.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-17 03:37:44 +00:00
naruse
375fd3152f
* tool/transcode-tblgen.rb (import_ucm): don't use \h because the
...
script should work with ruby 1.8.
* tool/enc-unicode.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-17 00:53:13 +00:00
knu
24dbd19791
* tool/merger.rb (#default_merge_branch): Add support for
...
Subversion 1.7 which adopted a whole new working directory
structure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-12 07:33:09 +00:00
naruse
1a991ffebc
* tool/merger.rb: don't abort, update first.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-08 01:04:07 +00:00
naruse
b33dc193c8
* tool/merger.rb: abort if the working directory is dirty.
...
* tool/merger.rb: update the working directory after commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-06 12:55:56 +00:00
kanemoto
b80154157a
Updated these files to detect AIX 7.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-29 13:50:18 +00:00
kosaki
c38dec6d3b
* tool/merger.rb: allow r0123 style revision number.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03 04:45:08 +00:00
kosaki
b60a01db6a
* tool/merger.rb (#version_up): version.h date should be Japanese
...
locale date.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03 02:39:15 +00:00
knu
c093401b0e
* tool/file2lastrev.rb (VCS::detect): Add support for Subversion
...
1.7 which adopted a whole new working directory structure.
* tool/file2lastrev.rb (VCS::detect): Simply use .each instead of
.sort.reverse_each which looks too arbitrary. If you want SVN
to be tried first, then you just have to register it first as it
is right now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-02 13:14:24 +00:00
drbrain
8010126721
* README.ja: Update redmine.ruby-lang.org to bugs.ruby-lang.org
...
* README: ditto
* common.mk: ditto
* ext/bigdecimal/README: ditto
* man/erb.1: ditto
* man/irb.1: ditto
* man/ri.1: ditto
* man/ruby.1: ditto
* man/ruby.1: ditto
* sparc.c: ditto
* tool/install-sh: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-19 21:07:09 +00:00
nobu
d67ac15c86
* tool/rbinstall.rb (install_recursive, bin-comm): split mere
...
string not path name. [ruby-core:40462] [Bug #5492 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-30 01:50:38 +00:00
nobu
31e1fce2a3
* tool/mkconfig.rb: do not make the entries related to sitedir and
...
verdordir if disabled by --without options. [ruby-core:38922]
[Bug #5187 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-13 13:17:30 +00:00
nobu
5f3a8912f7
* tool/rbinstall.rb (gem): install all gemspecs under lib and ext.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-04 07:08:48 +00:00
nobu
f555a533d0
* tool/rbinstall.rb (Gem::Specification): may not be defined when
...
cross-compiling and BASERUBY is 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-04 06:44:13 +00:00
tenderlove
e9ddb1a1f9
* tool/rbinstall.rb: use rubygems to load gemspecs, copy actual
...
gemspecs on install rather than generate fake ones for all gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-03 18:08:57 +00:00
nobu
6466df87a6
* defs/default_gems: separate from tool/rbinstall.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-30 14:19:11 +00:00
mrkn
5edd7f07d8
* ext/bigdecimal/bigdecimal.c (BigDecimal_version): version 1.1.0.
...
* ext/bigdecimal/bigdecimal.gemspec: turn into a default gem.
* tool/rbinstall.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-30 05:31:45 +00:00
nobu
fba1063c5f
* tool/rbinstall.rb (strip_file): accept an array of path names.
...
* tool/rbinstall.rb (install): allow multiple path names.
[ruby-core:38379]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-22 07:12:22 +00:00
drbrain
afd3a18fc3
* tool/rbinstall.rb (default gems): Install executables into the fake
...
gem dir for Gem.bin_path. [#4485 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-22 03:16:48 +00:00
nobu
3b8f9dc0b0
* ext/io/console/io-console.gemspec: spin-off gem for 1.9.2.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-30 11:54:27 +00:00
drbrain
ea9c30bec1
* lib/rake/version.rb: Fixed VERSION to work with tool/rbinstall.rb
...
* bin/rake: Import bin/rake from 0.9.2
* tool/rbinstall.rb (install): Rake::VERSION is now in
lib/rake/version.rb. Fixes `make install`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-23 22:24:44 +00:00
akr
c6575865aa
* common.mk: dependencies updated.
...
* tool/update-deps: new file to assist update dependencies in
common.mk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-17 23:15:47 +00:00
akr
e7996eb3cc
* internal.h: declare internal functions here.
...
* node.h: declare NODE dependent internal functions here.
* iseq.h: declare rb_iseq_t dependent internal functions here.
* vm_core.h: declare rb_thread_t dependent internal functions here.
* bignum.c, class.c, compile.c, complex.c, cont.c, dir.c, encoding.c,
enumerator.c, error.c, eval.c, file.c, gc.c, hash.c, inits.c, io.c,
iseq.c, load.c, marshal.c, math.c, numeric.c, object.c, parse.y,
proc.c, process.c, range.c, rational.c, re.c, ruby.c, string.c,
thread.c, time.c, transcode.c, variable.c, vm.c,
tool/compile_prelude.rb: don't declare internal functions declared
in above headers. include above headers if required.
Note that rb_thread_mark() was declared as
void rb_thread_mark(rb_thread_t *th) in cont.c but defined as
void rb_thread_mark(void *ptr) in vm.c. Now it is declared as
the later in internal.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-17 22:43:38 +00:00
nobu
19a8b5cbdc
* tool/rbinstall.rb (gem): fix for rubygems change.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-01 06:40:55 +00:00
nobu
c5719d9a75
* tool/rbinstall.rb (gem): install gemspec of json. fixed #4784
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-27 13:46:25 +00:00
nobu
3a47cf3395
* remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-15 11:55:52 +00:00
nobu
2ec4b694cb
* tool/compile_prelude.rb (Prelude#initialize): ignore empty
...
preludes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-15 01:00:09 +00:00
nobu
96064d1889
* tool/mkconfig.rb (RbConfig): get rid of unused variable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-17 09:35:42 +00:00
nobu
e46e5d2438
* tool/rbinstall.rb (bin-comm): use transformed name.
...
[ruby-dev:42777]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-16 14:29:25 +00:00
nobu
f18d040061
* tool/mkconfig.rb (RbConfig): honor ARCHFLAGS and RC_ARCHS to
...
override embedded ARCH_FLAG value on universal-darwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-16 12:46:44 +00:00
nobu
31a974dfdb
* tool/rbinstall.rb (install_recursive): always skip default ignored
...
files. if block is given, call it instead of calling install.
* tool/rbinstall.rb (bin-comm): use install_recursive.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-10 09:27:53 +00:00
naruse
60dfa6b655
* enc/big5.c: split CP950 from Big5.
...
* enc/big5.c: split CP951 from Big5-HKSCS.
* enc/trans/big5.trans: import conversion table of Big5, Big5-HKSCS,
CP950, and CP951 from ICU. they need fallback conversions.
ref [ruby-core:33256]
http://source.icu-project.org/repos/icu/data/trunk/charset/data/ucm/
* tool/transcode-tblgen.rb (import_ucm): add to import ucm files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-22 09:35:08 +00:00
nobu
536e266e58
* cygwin/GNUmakefile.in (scriptbin): make executable file from
...
scripts with stub.
* ruby.c (load_file_internal): assume xflag for exe file as well
as no-shebang file.
* tool/rbinstall.rb: install script programs.
* win32/mkexports.rb (Exports#initialize): alias ruby_sysinit for
stub.
* win32/stub.c: stub for scripts. [EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-09 22:20:12 +00:00
naruse
a0265b0662
* tool/enc-unicode.rb,
...
enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt,
enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src:
Add Age property to regexp. [ruby-core:33019]
patched by Ammar Ali, tested by Run Paint Run Run
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-08 05:32:45 +00:00
nobu
ec50e32dbd
* tool/rbinstall.rb (bin-comm): prepend prolog shell script if
...
necessary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-05 22:30:13 +00:00
naruse
f85b841a01
* tool/enc-unicode.rb,
...
enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt,
enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src:
Add 'Unknown' Script.
patched by Run Paint Run Run. [ruby-core:32937] #3998
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-29 01:03:21 +00:00
naruse
fc9176ac0e
* tool/enc-unicode.rb,
...
enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt,
enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src:
Update Oniguruma for Unicode 6.
patched by Run Paint Run Run. [ruby-core:32923] #3989
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-28 11:14:05 +00:00
nobu
749ad16aa7
* common.mk (pkgconfig-data): moved from Makefile.in.
...
* tool/rbinstall.rb: install pc file only if non-empty.
[ruby-core:32901] #3983
* win32/Makefile.sub (ruby_pc): create pc file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-26 03:47:15 +00:00
nobu
4d9a6ab181
* Makefile.in (pkgconfig-data): create pkg-config metadata file.
...
* tool/rbinstall.rb: install pkg-config metadata file.
* template/ruby.pc.in: template of pkg-config metadata file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-25 15:29:32 +00:00
nobu
b238a3f3fd
* tool/enc-unicode.rb: get rid of lots of warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-13 14:16:49 +00:00
wanabe
a21409ff5f
* tool/config.sub: revert r29320, r29324, r29347, r29354, r29365
...
to automake-1.11.1. [ruby-core:32634]
* win32/mkexports.rb: no longer use 'mingw64'. a patch from Luis Lavena
at [ruby-core:32678].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-03 15:06:23 +00:00
nobu
7d61b7e13f
* tool/config.sub (x64): regularize only for pc vendor, and strip
...
useless 64 suffix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 09:38:31 +00:00
nobu
d2cd8f4471
* tool/config.sub (x64): regularize same as mswin.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-28 11:50:29 +00:00
nobu
ae9264678c
* tool/config.sub (x86_64-pc-mingw64): regularize.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-26 13:59:48 +00:00
nobu
f3bd5ee5bd
* tool/config.{guess,sub}: updated to automake-1.11.1.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-26 01:25:34 +00:00
nobu
67d1d75fcb
* tool/config.sub: mingw64 should use x86_64. [ruby-core:32514]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-23 14:08:55 +00:00
wanabe
d06f38c6b9
* tool/config.sub: add mingw64.
...
* win32/mkexports.rb (Exports::Mingw64): added.
* win32/mkexports.rb (Exports::Mingw32): renamed from Exports::Mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-23 09:59:38 +00:00
usa
e7381db962
* tool/mkconfig.rb: fixed build problem on mswin64 introduced in r29278.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-21 13:20:07 +00:00
knu
a88191b1ca
* tool/mkconfig.rb: Fix build with m4 1.4.15 generating duplicate
...
lines in config.status. According to nobu, the mswin32 port may
depend on the piece of code in question, so the behavior is left
unchanged on mswin32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-16 17:28:42 +00:00
naruse
4d2787c67b
* tool/rbinstall.rb (install?): gemspec filename should include
...
its version. patched by Luis Lavena [ruby-core:32165]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-09 00:17:11 +00:00
naruse
8ffeda041b
* common.mk (node_name.inc): remove command option -n and give
...
file as stdin, because IronRuby 1.1 still doesn't support it.
So now we can use ir.exe as BASERUBY.
* tool/node_name.rb: read stdin with while gets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-29 07:09:40 +00:00
nobu
89339af9c1
* include/ruby/version.h (RUBY_API_VERSION_*): renamed and moved
...
from version.h. [ruby-dev:42103]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-23 21:08:19 +00:00
nobu
1fa5a50cd0
* tool/make-snapshot (usage): mention versions.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-19 13:50:43 +00:00
nobu
b7bc826b9e
* tool/make-snapshot (usage): add usage.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-19 13:45:02 +00:00
nobu
c40c2839d6
* tool/make-snapshot (package): accept revision as BRANCH@REV.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-19 13:34:40 +00:00
naruse
3c9efc1d2d
Forgot content of r29049.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-19 10:16:35 +00:00
nobu
df96e41845
* mkconfig.rb, lib/rbconfig/obsolete.rb: warn obsolete and
...
deprecated Config.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-07 08:40:32 +00:00
shyouhei
46a93a65df
* tool/runruby.rb: no purelib.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-03 03:05:39 +00:00
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
ko1
d3f73f45d8
* insns.def: Change the operand type of setinlinecache
...
(OFFSET to IC). This IC must be same as corresponding
getinlinecache instruction's IC operand.
This change is for a little performance improvement
(getting IC directly) and is for the AOT compilation development.
* compile.c, iseq.c, insns.def: Change the approach to handling inline
cahce (IC) type operand to enable the above change.
This change also affects ISeq#to_a method. The inline cache operand
will be dumped by fixnum, the index of inline cache, in other words,
inline cache identity.
* template/insns_info.inc.tmpl, tool/instruction.rb: No need to count
inline cache size (insn_iclen()).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-24 17:06:15 +00:00
muraken
a8fcae0858
* confiure.in: new --with-ext and --with-out-ext options for extmk.
...
* tool/mkconfig.rb: normalizing --with-out-ext to --without-ext.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-18 13:33:25 +00:00
nobu
ecc775772a
* common.mk (COMPILE_PRELUDE): rbconfig is loaded on demand.
...
* tool/eval.rb, win32/{mkexports,resource}.rb: miniruby no longer
contains "." in $:.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-08 07:23:13 +00:00
mame
cd2a49f3c7
* tool/compile_prelude.rb: fix require path.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06 10:36:32 +00:00
yugui
295bc2fe25
removes the dtrace support. reverts r26239, r26238 and r26235.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-05 05:59:23 +00:00
yugui
72b199940d
* trace.h: new file. wraps tracing mechanisms.
...
* defs/dtrace.d: new file. defined a dtrace provider "ruby".
* include/ruby/ruby.h (LIKELY): moved from vm.c.
(UNLIKELY): ditto.
(OBJSETUP): probe "object-create".
(RUBY_EVENT_RESCUE): new event.
* vm_exec.c (DEBUG_ENTER_INSN): embeded a probe insn-entry into it.
(DEBUG_END_INSN): insn-return.
* vm.c (LIKELY): moved into ruby.h.
(UNLIKELY): ditto.
(Init_BareVM): embeded a probe "raise" into it.
* variable.c (rb_class2name_without_alloc): new utility function.
* tool/rbinstall.rb (install?(:ext, :arch, :'ext-arch')): installs
dtrace.d if necessary.
* thread_pthread.c (add_signal_thread_list): probe "raise".
(rb_thread_create_timer_thread): ditto.
* thread.c (rb_thread_schedule_rec): probes "thread-enter" and
"thread-leave",
(thread_start_func_2): ditto.
(thread_cleanup_func): probe "thread-term"
* lib/mkmf.rb: supports dtrace postprocessor on making an extension.
* iseq.c (rb_vm_insn_name): new utility function.
(rb_vm_insn_len): ditto.
* insns.def (hook): probes "method-etnry", "method-return", "line",
and "rescue".
* compile.c (iseq_compile_each): adds a trace op for "rescue" probe.
* gc.c (garbage_collect): probes "gc-begin" and "gc-end".
(obj_free): probe "object-free"
(garbage_collect_with_gvl): probe "raise"
(negative_size_allocation_error): ditto.
(rb_memerror): ditto.
* eval.c (rb_rescue2): probe "rescue"
(rb_longjmp): probe "raise"
* ext/probe/probe.c: new extension for application defined probes.
* ext/probe/extconf.rb: ditto.
* configure.in (--with-tracing-model): new option to choose a tracing
mechanism.
(DTRACE): new substitution. name of dtrace(1).
(RUBY_TRACING_MODEL): new substitution.
(DTRACE_OBJ): ditto.
(MINIDTRACE_OBJ): ditto.
(GOLFDTRACE_OBJ): ditto.
(LIBRUBY_DTRACE_OBJ): ditto.
(RUBY_DTRACE_POSTPROCESS): new macro. checks whether the dtrace on
the system needs postprocessing.
(RUBY_DTRACE_BSD_BROKEN): new macro. checks whether the dtrace
supports USDT.
* Makefile.in:
(DTRACE): new variable. name of dtrace(1).
(TRACING_MODEL): new variable. name of the chosen tracing mechanism.
(DTRACE_OBJ): same as the one in configure.in.
(MINIDTRACE_OBJ): ditto.
(GOLFDTRACE_OBJ): ditto.
(LIBRUBY_DTRACE_OBJ): ditto.
(CPPOUTFILE): new substitution. necessary for generating dtrace.d
(trace_none.h): new target for TRACING_MODEL=none
(RUBY_H_INCLUDES): appended a header for tracing.
(distclean-local): also removes preprocessed version of dtrace.d
($(LIBRUBY_A)): needs $(LIBRUBY_DTRACE_OBJ) if dtrace needs
postprocessing.
($(PROGRAM)): ditto.
(golf): ditto.
(miniruby): ditto.
($(arch_hdrdir)/ruby/dtrace.d): new target. preprocessed verson
of defs/dtrace.d. generated if necessary.
($(arch_hdrdir)/ruby/trace_dtrace.h): new target.
definition of probes.
($(LIBRUBY_DTRACE_OBJ)): new target. generated if dtrace needs
postprocessing.
($(DTRACE_OBJ)): ditto.
($(MINIDTRACE_OBJ)): ditto.
($(GOLFDTRACE_OBJ)): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-03 15:36:17 +00:00
akr
c0b4e90f08
* tool/mkconfig.rb: generate RbConfig.ruby in rbconfig.rb.
...
* lib/webrick/httpservlet/cgihandler.rb: use RbConfig.ruby.
* test/ruby/envutil.rb: ditto.
* benchmark/report.rb: ditto.
* benchmark/runc.rb: ditto.
* tool/eval.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-31 15:00:04 +00:00
yugui
55a70a94b4
* tool/install-sh: correction by Hiro Asari.
...
https://gist.github.com/264558/58ad1cae45cde49600bbb39286af2aae23e639d5
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-28 08:21:30 +00:00
yugui
d4c2172e02
* tool/install-sh: wrote the intention. [ruby-dev:39928]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-28 04:20:19 +00:00
yugui
568595b30f
* tool/rbinstall.rb (install?(:local, :comm, :bin, :'bin-comm')):
...
Makes it vim friendly. __END__ in a heredoc is confusing with
the script end for vim.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-27 00:44:11 +00:00
duerst
b32ee85f97
* transcode_data.h, transcode.c, tool/transcode-tblgen.rb: Added
...
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@26065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-10 11:59:12 +00:00
nobu
609030816b
* mkconfig.rb: reverted r25443 because build_os is used in mkmf.rb
...
on some platforms. [ruby-core:26332]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-26 23:56:13 +00:00
nobu
32df7768b8
* configure.in (target, target_alias): replace with real cpu.
...
* mkconfig.rb: build* are not needed in rbconfig.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-23 05:25:56 +00:00
naruse
d5537936ab
* tool/enc-unicode.rb,
...
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@25338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-14 16:51:52 +00:00
naruse
181eb7d5c1
Add derived core and binary property and aliases.
...
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@25324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-13 12:27:00 +00:00
naruse
5a4ce608e2
* tool/enc-unicode.rb: optimized.
...
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@25271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-08 18:07:08 +00:00
naruse
866c79e2de
* tool/enc-unicode.rb: parse range notation of UnicodeData.txt.
...
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@25260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-08 02:49:11 +00:00
nobu
a97e80ba74
* tool/instruction.rb (make_header_prepare_stack): check stack
...
overflow. [ruby-core:25714]
* tool/instruction.rb (make_footer_stack_val): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-23 02:28:08 +00:00
nobu
bf3edb979f
* tool/transcode-tblgen.rb (transcode_generated_code): fixed type.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-22 07:11:45 +00:00
nobu
fe1ce93f52
* compile.c, cont.c, gc.c, insns.def, iseq.c, iseq.h, process.c,
...
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@25030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-21 20:58:26 +00:00
nobu
c3cd2816ae
* tool/instruction.rb (make_insn_operand_optimized): fixed typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-21 19:42:26 +00:00
nobu
3c4380ad25
* tool/rbinstall.rb (parse_args): show help message and exit if
...
rbconfig could not load.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-14 21:43:00 +00:00
nobu
68d8a2a474
* common.mk (install-all): target to install all.
...
* tool/rbinstall.rb (parse_args): accept all install targets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-14 21:24:39 +00:00
nobu
8b04569c6e
* tool/config.{guess,sub}: updated to automake-1.11.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-11 02:33:32 +00:00
naruse
ee4b59a419
* unicode.c (onigenc_unicode_property_name_to_ctype):
...
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@24836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-10 22:54:01 +00:00
nobu
488024dfcf
* tool/compile_prelude.rb: reverted.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-08 12:41:05 +00:00
nobu
c6b3a96fbb
* tool/compile_prelude.rb: evaluates in the main context.
...
[ruby-core:25474]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-08 09:10:49 +00:00
ko1
b82db5251c
* insns.def (opt_*): add IC operands.
...
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@24778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-06 20:42:50 +00:00
nobu
cb3c0b4a10
* tool/instruction.rb: executable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-02 00:30:29 +00:00
nobu
61d983df58
* tool/instruction.rb (RubyVM::InstructionsLoader#make_stackcaching_insns):
...
simplified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-01 22:48:51 +00:00
nobu
9055042fa4
* tool/file2lastrev.rb: executable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-01 01:09:31 +00:00
naruse
232978b031
* tool/mkconfig.rb (program_transform_name): fix for multiple trans
...
rules for autoconf 2.61 or earlier.
* tool/rbinstall.rb (program_transform_name): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-26 10:56:55 +00:00
nobu
c6defbf310
* tool/mkconfig.rb (program_transform_name): fix for autoconf 2.61
...
or earlier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-26 08:00:37 +00:00
naruse
f1eff95745
Update Oniguruma's UnicodeData to 5.1.
...
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@24651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-25 16:15:38 +00:00
yugui
b1c4052fdf
* tool/compile_prelude.rb: fixes a regexp pattern for require.
...
It had matched 'require("foo"('.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-08 17:11:39 +00:00
nobu
5a5355e84f
* tool/rbinstall.rb (gem): suppressed warnings.
...
cf: [ruby-dev:38975]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-01 09:35:00 +00:00
usa
bc70ea70cd
* tool/compile_prelude.rb: too long string literal causes compile error
...
on some platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-31 06:09:13 +00:00
yugui
e60463034a
* tool/compile_prelude.rb: replaces "require" with in-place evaluation
...
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@24327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-30 14:12:25 +00:00