nobu
61f530500e
* properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-09 11:36:47 +00:00
kosaki
2248a8ce64
* lib/sync.rb (Sync_m#sync_lock): Fixed wakeup/raise unsafe code.
...
Patched by Masaki Matsushita. [Bug #5355 ] [ruby-dev:44521]
* test/thread/test_sync.rb (test_sync_lock_and_wakeup,
test_sync_upgrade_and_wakeup, test_sync_lock_and_raise):
new test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-09 11:34:47 +00:00
kosaki
5dbbee86b6
* include/ruby/intern.h (rb_thread_blocking_region): Added
...
a comment of recommended alternative way.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-09 11:32:11 +00:00
kosaki
149176225a
* lib/sync.rb (Sync_m): Removed RCS_ID.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-09 11:29:40 +00:00
kosaki
fde6de9fc7
* test/ruby/test_io.rb (test_advise_pipe): new test to check
...
io.advise() against anonymous io object don't make crash.
made by Eric Wong. [Bug #6081 ] [ruby-core:42880]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-09 09:24:35 +00:00
kosaki
4b58f39ded
* io.c (nogvl_close, maygvl_close, nogvl_fclose, maygvl_fclose):
...
new functions.
* io.c (fptr_finalize): release GVL if possible.
Patched by Eric Wong. [Feature #4570 ] [ruby-core:35711]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-09 09:10:46 +00:00
kosaki
3df2fc2da8
* io.c (io_bufread): removed unnecessary rb_thread_wait_fd().
...
Patch by Eric Wong. [Bug #6629 ] [ruby-core:45789]
* io.c (rb_io_sysread): ditto.
* io.c (copy_stream_fallback_body): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-09 07:20:00 +00:00
svn
44f9d99e3d
* 2012-09-09
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-09 06:27:07 +00:00
kosaki
10c14095de
* thread.c (rb_mutex_lock): stop multiple threads use
...
pthread_cond_timedwait() concurrently. [Bug #6278 ] [ruby-core:44275]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-09 06:27:02 +00:00
nobu
5fbfc21b67
internal.h: allocator function in rb_classext_t
...
* internal.h (struct rb_classext_struct): move allocator function into
rb_classext_t from ordinary method table. [ruby-dev:46121]
[Feature #6993 ]
* object.c (rb_obj_alloc): call allocator function directly.
* vm_method.c (rb_define_alloc_func, rb_undef_alloc_func)
(rb_get_alloc_func): use allocator function in rb_classext_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-08 09:52:26 +00:00
nobu
ea005c47fa
.travis.yml: revert.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-08 09:31:18 +00:00
nobu
583ae60897
debugging
...
* .travis.yml (script): verbose to investigate hang-ups on gcc 4.6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-08 09:18:50 +00:00
svn
dffb71060e
* 2012-09-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-08 07:54:31 +00:00
nobu
68e47b6122
test_gem_specification.rb: skip meaningless tests
...
* test/rubygems/test_gem_specification.rb (have_syck): skip tests
which are meaningless if syck is never possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-08 07:54:27 +00:00
nagachika
9dd9041fcf
* ext/extmk.rb: revert r36468. replacing NUL character is not necessary after
...
r36918,
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-07 14:34:40 +00:00
svn
aa9789bdec
* 2012-09-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-06 16:22:03 +00:00
nobu
d0d68df7d0
mkmf.rb: fix splitting options with an argument
...
* ext/extmk.rb (extmake), lib/mkmf.rb (have_framework): fix splitting
options with an argument, not using NUL as special character.
[ruby-core:47447] [Bug #6987 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-06 16:21:57 +00:00
nobu
977bec1236
.gdbinit: FLONUM support
...
* .gdbinit (rp): FLONUM support.
* include/ruby/ruby.h (ruby_special_consts): define FLONUM constants
always, so that they are available from gdb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-06 05:49:51 +00:00
nobu
38d0cbce65
ruby.h: merge FLONUM and non-FLONUM
...
* include/ruby/ruby.h (RB_FLOAT_TYPE_P): merge FLONUM and non-FLONUM
versions. inline TYPE() comparison and FLONUM_P() should be
optimized away on non-FLONUM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-06 05:48:34 +00:00
svn
d80f56cba3
* 2012-09-06
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-05 23:25:03 +00:00
ryan
a3980eb2b6
Imported minitest 3.4.0 (r7762)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-05 23:24:58 +00:00
usa
8ee2226068
* parse.y (rb_warn4S): renamed from rb_warn4(), because the case in
...
r36911 takes a string.
* parse.y (rb_warn4S): use ripper_warnS() for ripper.
* parse.y (ripper_warnS): now it is used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-05 10:22:49 +00:00
shyouhei
b3c60b27e7
* .travis.yml (notifications): [experimental] update notification template.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-05 07:00:36 +00:00
naruse
406f6a23d5
* parse.y (rb_warn4): added as a rb_warn variant to warn with explicit
...
source file name and line in parse.y.
* parse.y (warn_unused_var): use rb_warn4 to suppress warning on ripper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-05 06:23:20 +00:00
naruse
d4e2cb1564
Suppress warnings
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-05 06:23:13 +00:00
nobu
5809d668bc
common.mk: partial revert r36867
...
* common.mk: revert r36867 partially, to use files in the source
directory when out-of-place build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-05 05:29:46 +00:00
nobu
ad2e34c670
win32/file.c: simplify
...
* win32/file.c (rb_file_expand_path_internal): simplify a condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-05 05:29:44 +00:00
nobu
f961b80a78
win32/file.c: prototype and cosmetic changes
...
* win32/file.c (home_dir, system_code_page): use prototype, adjust
indent, and fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-05 05:29:41 +00:00
nobu
a1fa2695e1
file.c: no longer used functions
...
* file.c (getcwdofdrv, append_fspath): no longer used except for
cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-05 05:29:37 +00:00
nobu
83185f9181
dir.c: fix recursion
...
* dir.c (glob_make_pattern): names under recursive need to be single
basenames to match for each name. [ruby-core:47418] [Bug #6977 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-05 04:30:10 +00:00
nobu
f1df537a83
test_dir_m17n.rb: test_glob_incompatible
...
* test/ruby/test_dir_m17n.rb (TestDir_M17N#test_glob_incompatible):
move from test_dir.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-05 03:03:24 +00:00
nobu
f65e683ccc
dir.c: not recurse dot files
...
* dir.c (glob_helper): skip dot files early on recursive match.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-05 01:44:36 +00:00
svn
9e9dff3342
* 2012-09-05
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-05 01:44:24 +00:00
nobu
65a61792a9
dir.c: enumm answer
...
* dir.c (enumm answer): remap NO and YES to false and true,
respectively.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-05 01:44:20 +00:00
shirosaki
0dc94b8b3e
test_pstore.rb: fix for timeout
...
* test/ruby/envutil.rb (EnvUtil#invoke_ruby): show Timeout::Error
instead of IOError if the timeout has expired.
* test/test_pstore.rb
(PStoreTest#test_pstore_files_are_accessed_as_binary_files):
increase timeout because this test is slow on Windows.
[ruby-core:47402] [Bug #6965 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-04 12:45:31 +00:00
nobu
4ef43fc02f
adjust style
...
* thread_pthread.c, vm_eval.c: adjust style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-04 02:52:44 +00:00
shyouhei
99e63fba29
* vm_eval.c (ruby_eval_string_from_file_protect): initializer element is not computable at load time.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-04 02:35:47 +00:00
nobu
7d79f355fc
rbinstall.rb: skip symlinks
...
* tool/rbinstall.rb (install_recursive): skip symlinks, which are made
by `make runnable'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-04 01:40:11 +00:00
nobu
1ff165c92b
property.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-04 00:57:58 +00:00
nobu
af6c038b23
remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-04 00:57:31 +00:00
emboss
4bb125f91a
* test/openssl/test_asn1_rb:
...
test/openssl/test_ssl_session.rb:
test/openssl/test_x509name.rb:
test/openssl/test_buffering.rb:
test/openssl/test_x509cert.rb:
test/openssl/test_ssl.rb: Refactor code that leads to warnings on
Ruby CI.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-03 22:54:12 +00:00
emboss
b6c38f6753
* Reference feature #6946 in Changelog entry.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-03 22:13:15 +00:00
svn
a6a52c9c9d
* 2012-09-04
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-03 22:09:43 +00:00
emboss
78755b8d52
* test/openssl/utils.rb: Use DSS1 as DSA signature digest for all
...
OpenSSL versions < 1.0.0.
[ruby-core:47405]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-03 22:09:33 +00:00
nobu
2000173101
ruby.h: suppress warnings
...
* include/ruby/ruby.h (rb_float_value): suppress warnings.
[ruby-core:47406][Bug #6971 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-03 12:22:44 +00:00
nobu
1f29acae28
* .travis.yml (before_script): remove debug flag.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-03 12:08:55 +00:00
nobu
98fded61f8
ruby-additional.el
...
* misc/ruby-additional.el: missing functions in Emacs 24.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-03 09:31:37 +00:00
nobu
7c2230bd8c
matrix.rb: complex vector
...
* lib/matrix.rb (Vector#magnitude): accumulate squares of absolute
values to fix for complex vector. [ruby-dev:46100] [Bug #6966 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-03 05:49:06 +00:00
nobu
a4ce3ab4fd
remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-03 03:22:22 +00:00
emboss
c5ad321439
* Correct header format of my ChangeLog entries.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-03 01:17:00 +00:00