aboutsummaryrefslogtreecommitdiffstats
path: root/tool
Commit message (Collapse)AuthorAgeFilesLines
* * tool/make-snapshot: Specify PWD macro for make.akr2014-11-221-0/+1
| | | | | | | | PWD environment variable may not exist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/update-deps: Refactored.akr2014-11-211-84/+89
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/update-deps (in_makefile): Use FILES_NEED_VPATH andakr2014-11-211-14/+34
| | | | | | | | | | FILES_CONFUSING. * ext/objspace/extconf.rb: Add VPATH for id.h git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix a variable name.akr2014-11-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/update-deps: Insert all dependencies found by compiler.akr2014-11-201-118/+168
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: ims=nil optionnobu2014-11-191-5/+7
| | | | | | | | | * common.mk (update-gems): use ims=nil option. * tool/downloader.rb (Downloader.download): show the message if no need to download in verbose mode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/downloader.rb (RubyGems.download): Don't download gem if thenaruse2014-11-191-0/+4
| | | | | | | version is already downloaded. A gem file is versioned and it must be identical if the version is the same. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* prelude.c.tmpl: strip prefixnobu2014-11-191-0/+5
| | | | | | | | * template/prelude.c.tmpl (Prelude#translate): strip VPATH prefix from prelude names, so that srcdir diffrences do not make the generated code diffrent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/update-deps: Sort dependencies.akr2014-11-181-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/update-deps: warning to disable ccachenormal2014-11-161-0/+8
| | | | | | | | I spent several minutes wondering why -save-temps=obj was not taking effect, hopefully this saves somebody else the trouble. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Modify parts only marked as autogenerated.akr2014-11-151-16/+61
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/update-deps: Extend to fix dependencies.akr2014-11-151-16/+198
| | | | | | | | | | | | * common.mk: Dependencies updated by tool/update-deps. * enc/depend: Ditto. * ext/**/depend: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/update-deps: Support GNU Make 4.0.akr2014-11-141-14/+34
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make-snapshot: no wait unless needednobu2014-11-111-1/+3
| | | | | | | | * tool/make-snapshot (package): no wait when using already exported source without modification, assuming exported 2 seconds (the lowest timestamp resolution) ago or more. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* template/prelude.c.tmplnobu2014-11-111-199/+0
| | | | | | | * template/prelude.c.tmpl: move from tool/compile_prelude.rb and expand by generic_erb.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* generic_erb.rb: explicit_trim_linenobu2014-11-061-1/+1
| | | | | | * tool/generic_erb.rb: enable explicit_trim_line mode git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make-snapshot: HAVE_BASERUBYnobu2014-11-061-0/+2
| | | | | | | * tool/make-snapshot: set HAVE_BASERUBY to download Unicode data files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/instruction.rb: remove extra blank linesnobu2014-11-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/instruction.rb: remove trailing spacesnobu2014-11-021-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: separate Unicode files directorynobu2014-10-301-3/+3
| | | | | | | | | | | | | * common.mk: download Unicode files into separate directory for the version. * tool/downloader.rb (Downloader::Unicode.download): strip version directory. * tool/downloader.rb (Downloader.download): strip directory name if download directory is given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/downloader.rb: changed Unicode data download locationduerst2014-10-301-1/+1
| | | | | | from latest Unicode version to Unicode 7.0.0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* template/unicode_norm_gen.tmpl: from tool/unicode_norm_gen.rbnobu2014-10-251-198/+0
| | | | | | | | * template/unicode_norm_gen.tmpl: use generic_erb.rb to update if changed and manage timestamp, so that source tree on read-only filesystem works. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make-snapshot: fix gems updatenobu2014-10-241-12/+18
| | | | | | | | | * tool/make-snapshot (package): call system and IO.popen with arguments array, add macros NULLCMD and RUNRUBY to update gems, and not subsitute string interpolations which are used in update-gems. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/unicode_norm_gen.rb: Fixed escaping of backslash andduerst2014-10-221-1/+1
| | | | | | | | double quote ('\\\&' -> "\\\\\\\&"; double quoted string is needed to make \& mean last match; double double backslashes are needed because of two layers of escaping). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make-snapshot: download by after-updatenobu2014-10-211-20/+4
| | | | | | | * tool/make-snapshot (package): download config files, bundled gems, and Unicode data by after-update. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: disable force download of unicode files by defaultnobu2014-10-201-0/+2
| | | | | | | * tool/downloader.rb: add -a option to always download regardless existing files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: update unicode files every timesnobu2014-10-201-1/+1
| | | | | | | | | | * common.mk (update-unicode): remove -e option to force update every builds. * tool/downloader.rb (Downloader.download): return if ims is nil and target file is existing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/downloader.rb: Make sure we update to latest versionduerst2014-10-201-2/+14
| | | | | | | | if network connection is available, but we don't fail if there is no network connection but option -e is set and we already have a version of the file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* unicode_norm_gen.rb: get rid of hard coded pathsnobu2014-10-201-2/+2
| | | | | | | | | * common.mk (lib/unicode_normalize/tables.rb): run at top srcdir. * tool/unicode_norm_gen.rb: add -input and -output options to set InputDataDir and OuputDataDir respectively. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/unicode_norm_gen.rb: for 1.8.5 BASERUBYnobu2014-10-201-9/+15
| | | | | | | * tool/unicode_norm_gen.rb: get rid of new features for 1.8.5 BASERUBY. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/unicode_norm_gen.rb: fix for 1.8 BASERUBYnobu2014-10-201-3/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/unicode_norm_gen.rb, lib/unicode_normalize.rb:duerst2014-10-191-1/+1
| | | | | | | File name change from lib/unicode_normalize/normalize_tables.rb to lib/unicode_normalize/tables.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/unicode_norm_gen.rb: Changed module name.duerst2014-10-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: fix .gemspec permissionsnobu2014-10-141-0/+2
| | | | | | | * tool/rbinstall.rb (gem): Fix permissions of bundled gems specification files. [ruby-core:65700] [Bug #10383] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* unicode_norm_gen.rb: freezenobu2014-10-061-11/+11
| | | | | | * tool/unicode_norm_gen.rb: freeze strings and tables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* unicode_norm_gen.rb: us-asciinobu2014-10-061-3/+3
| | | | | | | * tool/unicode_norm_gen.rb (Integer#to_UTF8): escape non-ascii code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* unicode_norm_gen.rb: optimize concatenationnobu2014-10-061-26/+35
| | | | | | | * tool/unicode_norm_gen.rb: optimization by string literal concatenation instead of runtime concatenation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/unicode_norm_gen.rb: Adding/tweaking comments.duerst2014-10-061-5/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/unicode_norm_gen.rb: Adjusted directory paths.duerst2014-10-061-3/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.svn2014-10-061-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/unicode_norm_gen.rb: Data generation script imported fromduerst2014-10-061-0/+178
| | | | | | https://github.com/duerst/eprun/blob/master/lib/generate.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/downloader.rb: Adjust example in documentation for Downloader.download.duerst2014-10-061-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/downloader.rb: fix for old ruby on old CentOSnobu2014-09-281-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* downloader.rb: compatibility with old BASERUBYnobu2014-09-281-1/+1
| | | | | | | * tool/downloader.rb (Downloader.download): get rid of post arguments for compatibility with old BASERUBY. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* downloader.rbnobu2014-09-282-12/+33
| | | | | | | | * configure.in: use tool/downloader.rb directly. * tool/get-config_files: no longer used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/downloader.rb: split particular sitesnobu2014-09-282-25/+30
| | | | | | | | | | * tool/downloader.rb (Downloader): split particular sites from the main class. * tool/downloader.rb (Downloader.download): show messages if verbose mode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: header targetsnobu2014-09-271-3/+3
| | | | | | | | * tool/rbinstall.rb: separate header targets, comm-hdr for architecture independent headers, arch-hdr for architecture dependent headers, and hdr for both. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/downloader.rb: Adjusting example forduerst2014-09-241-2/+1
| | | | | | | Downloader.download to implementation changes in r47693. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/downloader.rb: Removing unused methodduerst2014-09-241-4/+0
| | | | | | | Downloader.download_if_modified_since. (if ever used, just replace with Downloader.download) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/downloader.rb: Fixing raise after return.duerst2014-09-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e