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

338 Коммитов

Автор SHA1 Сообщение Дата
nobu 3f6e8aef37 [Bug #6598]
* tool/runruby.rb (File.realpath): return real path of expanded path.
  [Bug #6598]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-15 22:12:58 +00:00
nobu 7931bbf1b3 tool/make-snapshot MKDIR_P
* tool/make-snapshot (package): MKDIR_P is needed as direct macro to
  build enc/unicode/name2ctype.h.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-14 15:14:05 +00:00
nobu a73d6eb0e4 tool/make-snapshot MKDIR_P
* tool/make-snapshot (package): MKDIR_P is needed to build
  enc/unicode/name2ctype.h.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-14 15:07:13 +00:00
naruse 06d483006c * Makefile.in: don't remove macros. now name2ctype uses macros.
* tool/enc-unicode.rb: add comment why it uses Hash#index.

* enc/unicode/{name2ctype.kwd,name2ctype.src,name2ctype.h.blt}:
  update to follow the current name2ctype.h.
  FYI current Unicode version is 6.1.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-13 17:54:14 +00:00
nobu 2696fb9503 test: realpath
* test/runner.rb (src_testdir): expand real path so that
  TestGem#test_self_find_files does not fail by aliased load path when
  srcdir contains a symbolic link.
* tool/runruby.rb (srcdir): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-08 07:19:38 +00:00
nobu a8f87d6d8d common test options
* common.mk (btest, test-sample, test-knownbugs, test-all, test-ruby):
  pass common options by TESTOPTS.

* tool/rubytest.rb: pass ARGV from make to sample/test.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-30 01:24:05 +00:00
nobu 3f6349a1bf * tool/rbinstall.rb (capi): install to capi directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-03 14:56:39 +00:00
usa 756ffef448 * enc/euc_jp.c: added EUC-JP-2004 and its alias EUC-JISX0213.
[ruby-dev:45571] [Feature #6349]
  Requested by Kyouhei Yanagita <yanagi@shakenbu.org>.

* enc/trans/japanese_euc.trans: ditto.

* enc/trans/JIS/JISX0213-[12]%UCS@{BMP,SIP}.src: JIS X 0213:2004 ->
  Unicode mapping table from NetBSD.

* enc/trans/JIS/UCS@{BMP,SIP}%JISX0213-[12].src: Unicode -> JIX X
  0213:2004 mapping table from NetBSD.

* tool/transcode-tblgen.rb: added SIP support.

* test/ruby/test_transcode.rb: tests of above changes.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-24 11:14:18 +00:00
nobu 8354d2f700 * enc/unicode/name2ctype.h, tool/transcode-tblgen.rb: revert
unlogged changes which committed by accident probably.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-06 18:17:01 +00:00
duerst 6111599230 struct.c (documentation for rb_struct_members_m):
fix 'array of strings' to 'array of symbols'
  [ruby-core:44152][Bug #6264]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-06 07:23:40 +00:00
nobu 9052a8cd94 * tool/make-snapshot (package): EXEEXT is now used in mkmf.rb.
[ruby-core:43685]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-27 03:11:51 +00:00
nobu be42c35424 * tool/make-snapshot (package): suppress constant overwritting warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-27 03:11:48 +00:00
nobu 06fba52338 * tool/merger.rb (interactive): allow editing commit message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-26 03:57:07 +00:00
nobu 1b2a60759b * tool/merger.rb (default_merge_branch): use IO.popen to invoke pager.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-26 03:57:03 +00:00
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