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

37230 Коммитов

Автор SHA1 Сообщение Дата
nobu 6cf85c1bd2 common.mk: update source tree
* common.mk (after-update): update files under source tree.
  [ruby-core:65840] [Bug #10414]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-22 17:25:35 +00:00
nagachika 7b0635d157 * ext/openssl/lib/openssl/ssl.rb (DEFAULT_PARAMS): override
options even if OpenSSL::SSL::OP_NO_SSLv3 is not defined.
  this is pointed out by Stephen Touset. [ruby-core:65711] [Bug #9424]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-22 13:55:24 +00:00
usa 35215a8503 * common.mk (prelude.c): add dependency to LIB_SRCS because
enc/prelude.rb requires lib/unicode_normalize.rb, and it's also
  requires lib/unicode_normalize/tables.rb (=LIB_SRCS).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-22 12:33:36 +00:00
yugui f65e5121e2 Fix PNaCl configure/link errors.
* configure.in (nacl_cv_cpu_nick): fix typo in PNaCl.
  (XCFLAGS) Add -isystem flag to pnacl and nacl-newlib
  (CXX): added

* nacl/GNUmakefile.in (CXX): Added
  (PPROGRAM): Use clang++ instead of clang because libnacl_io
  depends on c++ std lib.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-22 12:19:21 +00:00
yugui a49be8a8e3 * common.mk (build-ext): avoid trying to build dynamic libraries
if configured --with-static-linked-ext.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-22 12:19:16 +00:00
duerst 0263002e2f common.mk: Fixed grammar in comment [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-22 11:33:36 +00:00
usa 86f5f02677 * test/test_unicode_normalize.rb: set encoding when reading.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-22 11:03:23 +00:00
usa 63f4fc73d9 * lib/unicode_normalize: svn:ignore.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-22 11:00:14 +00:00
nobu 8491998165 test/test_unicode_normalize.rb: don't set default encodings globally
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-22 10:55:13 +00:00
duerst 71c534c962 tool/unicode_norm_gen.rb: Fixed escaping of backslash and
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
2014-10-22 10:18:20 +00:00
nobu 2767d9a8cf common.mk: comment on ALWAYS_UPDATE_UNICODE [ci skip]
* common.mk (ALWAYS_UPDATE_UNICODE): comment to how to force
  always update Unicode data files.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-22 09:55:41 +00:00
usa 6dd2a4810e * test/test-unicode_normalize.rb: as often said, ruby is sometimes built
at non-srcdir.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-22 09:14:24 +00:00
duerst 84f9fa8773 test/test-unicode_normalize.rb: Adjusted path for test data file (now ../enc/unicode/data/NormalizationTest.txt).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-22 09:12:14 +00:00
duerst 30b837b47c test/test-unicode_normalize.rb: Removed explicit require, changed method names, adjusted copyright.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-22 09:06:49 +00:00
duerst 15bfe2793a test/test-unicode_normalize.rb: Importing from
https://github.com/duerst/eprun/blob/master/test/test_normalize.rb.
(removing trailing whitespace, fixing EOLs and adding EOL property)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-22 09:00:04 +00:00
yugui 04e356b002 * nacl/pepper_main.c (Instance_DidCreate): mount devfs and rebind fd 0
.. 2 so that stderr goes to the console of the browser.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-22 00:32:03 +00:00
kosaki 2f438d6010 * ext/etc/etc.c (etc_nprocessors_affin): maximum "n" should be 16384.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-21 18:48:03 +00:00
kosaki dfe56d3662 * ext/etc/etc.c (etc_nprocessors_affin): minor spell fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-21 18:46:46 +00:00
kosaki 0fa75e813e * ext/etc/etc.c (etc_nprocessors_affin): optimize memory usege a
bit. Typical rubyist never use 8k cpus machine.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-21 18:46:33 +00:00
svn a4f0db49ab * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-21 15:23:35 +00:00
yugui 165221441c Enable nacl_io in pepper-ruby.
* configure.in (XCFLAGS): Add include path for NaCl libraries.
  (XLDFLAGS): ditto.
  (NACL_LIB_PATH): new stubstitution

* nacl/nacl-config.rb: support NACL_LIB_PATH

* nacl/package.rb: ditto.

* nacl/pepper_main.c: replace old implementations with nacl_io.

* nacl/GNUmakefile.in: link nacl_io to pepper_ruby

* ruby.c (rb_load_file): remove __attribute__((weak)) because the old
  override hack was replaced with nacl_io.

* file.c (rb_file_load_ok): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-21 15:23:21 +00:00
svn c2638a81cf * 2014-10-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-21 15:02:17 +00:00
kazu a7ebd9df16 fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-21 15:02:05 +00:00
nobu 42ca978656 common.mk: UNICODE_FILES
* common.mk (UNICODE_FILES): revert the rule that Unicode data
  files depend on downloader target, and add missing dependency of
  lib/unicode_normalize/tables.rb

* common.mk (after-configure): removed as srcdir should be
  read-only after update.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-21 13:48:16 +00:00
nobu 696141dab4 lib/unicode_normalize/tables.rb: remove auto generated file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-21 13:48:05 +00:00
duerst 69488371e4 common.mk: Adding explicit creation of directory
enc/unicode/data because git doesn't handle empty
directories.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-21 08:32:34 +00:00
duerst 5c27164d59 lib/unicode_normalize/tables.rb: Committing to make version
update easier and more predictable, and reducing compilation
time.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-21 08:12:20 +00:00
duerst 7415796ca3 lib/unicode_normalize/normalize.rb: Added comment to point to
relevant portion of Unicode standard for Hangul (de)composition
identifiers and algorithm.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-21 06:56:58 +00:00
usa f15279b23b * common.mk: *.txt are also in $(srcdir). see r48059.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-21 06:16:39 +00:00
nobu 4ae67d876a common.mk: after-configure
* common.mk (after-configure): update Unicode files after
  configure run.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-21 05:17:32 +00:00
nobu cde7ae1c15 common.mk: split after-update
* common.mk (after-update): move platform independent targets from
  Makefile.in.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-21 03:55:08 +00:00
nobu 5643b42881 make-snapshot: download by after-update
* 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
2014-10-21 03:33:18 +00:00
nobu f54774e351 Makefile.in: update gems after update
* Makefile.in (after-update): update bundled gems source tree too.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-21 03:06:32 +00:00
naruse c0766464e9 * gc.c (mark_current_machine_context) [__mc68000__]: Update stack
marking.
  (rb_gc_mark_machine_stack) [__mc68000__]: Also handle it here.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-21 02:50:23 +00:00
nobu b394356579 * configure.in: download unicode files beofre build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-21 01:04:37 +00:00
nobu 622f31be31 Makefile.in: update unicode files only after update source tree
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-20 15:14:56 +00:00
usa 37ec35860c ignore files generated in build process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-20 15:04:37 +00:00
svn 3b849880a3 * 2014-10-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-20 15:01:18 +00:00
usa ee4782f774 * enc/prelude.rb: we sometimes run ruby without library path (especially
for test), so should permit to run ruby if unicode_normalize.rb is
  missing.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-20 15:01:13 +00:00
usa 345c1408a9 * common.mk (lib/unicode_normlize/table.rb): enable running (n)make
in non-srcdir.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-20 14:59:33 +00:00
nobu a1cd284033 common.mk: disable force download of unicode files by default
* 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
2014-10-20 14:58:06 +00:00
usa 89ac936266 * lib/mkmf.rb: no need to convert path separator for COPY because it's
ruby -run cp and it can treat '/' on any platform.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-20 14:21:18 +00:00
nobu c7e1545cea common.mk: update unicode files every times
* 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
2014-10-20 13:43:45 +00:00
nobu e64a3869bc unicode_normalize/normalize.rb: rename variable
* lib/unicode_normalize/normalize.rb (hangul_decomp_one): use more
  descriptive name.  leave [SLVT]BASE and [LVTNS]COUNT as they are
  vague names.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-20 11:50:00 +00:00
duerst 27cbf1f50d config.mk: Added missing data files as targets for prerequisite update_unicode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-20 10:54:55 +00:00
duerst 10cb4ca0c4 tool/downloader.rb: Make sure we update to latest version
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
2014-10-20 10:48:52 +00:00
duerst acaafe2101 lib/unicode_normalize.rb: revert r48046. The s in sIndex
is not hungarian notation. The variable name sIndex is
directly taken from the relevant part of the Unicode
Standard, where it is written SIndex and stands for
'syllable index'. See pp. 144/145 of
http://www.unicode.org/versions/Unicode7.0.0/ch03.pdf.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-20 10:06:11 +00:00
nobu 3136025cd1 test_module.rb: test with UTF-8
* test/ruby/test_module.rb (test_uninitialized_instance_variable):
  test with UTF-8 default external encoding for non-locale
  environments.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-20 07:38:53 +00:00
nobu c1397c573e io.c: enclose statements by ifdef
* io.c (maygvl_copy_stream_read): enclose following statements by
  ifdef, not only a case label.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-20 07:02:20 +00:00
nobu 8d9e1f9dad error.c: check if EWOULDBLOCK is defined
* error.c (set_syserr): EWOULDBLOCK may not be defined, check if
  defined first.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-20 06:58:16 +00:00