svn
5569d35044
* 2011-12-03
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-02 22:14:36 +00:00
nobu
2748f58dce
* configure.in (UNIVERSAL_INTS): include short int. fix for
...
test/mkmf.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-02 22:14:30 +00:00
nobu
d0b2816d02
* ext/bigdecimal/bigdecimal.c (VpAllocReal): reduce extra frac.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-02 06:48:10 +00:00
nobu
5fce7630c7
* configure.in (RUBY_TRY_CFLAGS, RUBY_TRY_LDFLAGS): more verbose messages.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-02 06:43:57 +00:00
nobu
0755d415bb
* configure.in: check whether -pie or -Wl,-pie is valid as
...
LDFLAGS. [ruby-core:41438] [Bug#5697]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-02 06:41:27 +00:00
nobu
55cae88340
* configure.in: use $linker_flag for LDFLAGS option which is not
...
limited to particular platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-02 06:18:21 +00:00
naruse
9b69817ac0
Revert r33926 "* configure.in: use $linker_flag for LDFLAGS option which is not"
...
This breaks build process of Linux and FreeBSD.
It may depend the version of gcc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-02 04:02:20 +00:00
nobu
6ec1902a2d
* configure.in: use $linker_flag for LDFLAGS option which is not
...
limited to particular platforms. [ruby-core:41438] [Bug#5697]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-02 02:30:38 +00:00
svn
12697d5078
* 2011-12-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-01 22:15:00 +00:00
naruse
0b1651753c
Revert r33921.
...
Revert "* proc.c (rb_proc_arity): Fix Proc#arity in case of optional arguments"
Because following two reason:
* Proc#arity's return value with optional arguments is not clear.
The optional argument for proc/lambda is Ruby 1.9 feature.
In 1.9, proc(a, b=1){} can receive 1 or more arguments.
But lambda(a, b=1){} can receive only 1 or two arguments.
r33921 breaks lambda's arity.
The spec arround optional arguments of proc/lambda needs more
discussion.
* No tests.
Add tests to test-all.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-01 22:14:45 +00:00
nagachika
72af26207b
* thread_pthread.c (thread_timer): call prctl(PR_SET_NAME) only if
...
PR_SET_NAME is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-01 14:28:42 +00:00
akr
eecacaa024
* io.c (linux_get_maxfd): change local variable name.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-01 13:31:58 +00:00
marcandre
c6dec37649
* proc.c (rb_proc_arity): Fix Proc#arity in case of optional arguments
...
[bug #5694 ] [rubyspec:b8b259]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-01 11:46:31 +00:00
nobu
b0f588fe0e
* ext/socket/extconf.rb: get rid of warnings by
...
-Wmissing-declarations or -Wold-style-definition options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-01 08:45:22 +00:00
nobu
05e2da638f
* ext/socket/extconf.rb: add arguments for macro calls.
...
[ruby-core:41370] [Bug#5681]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-01 07:59:21 +00:00
nobu
b5be930979
* lib/mkmf.rb (MakeMakefile#try_func): fix broken patch at r33834.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-01 07:20:20 +00:00
nobu
abb40f8eb3
* include/ruby/subst.h: reverted r33916, since some names in vm.inc conflict.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-01 06:19:57 +00:00
nobu
f274088eec
* include/ruby/subst.h: removed arguments lists so that function
...
calls with zero arguments can be substituted. aliasing in .def
file has no effect for static library. [ruby-core:41370]
[Bug#5681]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-01 05:48:05 +00:00
nobu
a394c59be3
* ext/bigdecimal/bigdecimal.h (Real): suppress false warning from
...
clang. [ruby-core:41418] [Bug#5693]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-01 05:43:22 +00:00
nobu
b2e137c81e
* configure.in (LDFLAGS): -fstack-protector is always needed to
...
link static library created with it. [ruby-core:41387]
[Bug#5686]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-01 01:32:02 +00:00
nobu
05f423abc6
properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-01 01:31:41 +00:00
kosaki
0d0bd1642a
* configure.in: add sys/prctl.h test.
...
* thread_pthread.c (thread_timer): call prctl(PR_SET_NAME) to change
thread name. It may help to debug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-30 22:17:48 +00:00
svn
5ee348fd0e
* 2011-12-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-30 15:19:11 +00:00
naruse
4c5c26cec1
Fix 33906: remove JSON::Ext::Generator::GeneratorMethods::String.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-30 15:19:02 +00:00
naruse
f6f4534382
* variable.c (rb_path2class): don't raise NameError when the middle
...
constant of the path is not defined but defined on toplevel.
[ruby-core:41410] [Bug #5691 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-30 14:44:06 +00:00
duerst
ed73a902b8
transcode.c: Simplified rb_econv_binmode, avoided a warning on cygwin.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-30 11:03:22 +00:00
nobu
1d234a1614
* test/ruby/test_module.rb (TestModule): removed remove_*_mixins methods.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-30 03:32:05 +00:00
naruse
6a894686d6
Fix r33904.
...
It breaks following tests if RUBYOPT=-w
* test_class_build(TestGemExtExtConfBuilder)
* test_class_build_rbconfig_make_prog(TestGemExtExtConfBuilder)
* test_class_build_env_make(TestGemExtExtConfBuilder)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-30 03:20:04 +00:00
drbrain
8b7ecdc11e
* lib/mkmf.rb: Use MakeMakefile's rm_f to avoid conflict with Rake or
...
FileUtils.
* test/ruby/test_module.rb: Hide MakeMakefile's inclusion in Object
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-30 00:57:24 +00:00
usa
434a5f93ad
* lib/rdoc/encoding.rb (RDoc::Encoding.read_file): fixup newline chars
...
on Windows.
see https://github.com/rdoc/rdoc/issues/87
* test/rdoc/test_rdoc_markup_pre_process.rb
(TestRDocMarkupPreProcess#test_include_file,
TestRDocMarkupPreProcess#test_include_file_encoding_incompatible):
follow above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-30 00:13:02 +00:00
svn
b62aadf0dd
* 2011-11-30
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-30 00:10:36 +00:00
tenderlove
0df90074c7
* ext/psych/parser.c (parse): parse method can take an option file
...
name for use in exception messages.
* test/psych/test_parser.rb: corresponding tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-30 00:10:31 +00:00
naruse
302b6f6e02
Don't break tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-29 08:42:13 +00:00
drbrain
2ba247275a
* lib/mkmf.rb: Fix indentations of constants at end of module.
...
Document some constants.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-29 01:08:16 +00:00
nobu
82d138f749
* io.c (rb_write_error2): suppress unused variable warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-29 00:58:28 +00:00
nobu
9fe88af9ef
* win32/win32.c (rb_w32_inet_ntop): constified.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-29 00:51:40 +00:00
nobu
4659b00b9a
* parse.y (nodetype, nodeline): suppress warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-29 00:51:37 +00:00
drbrain
b1f1e46ce2
* lib/mkmf.rb: Wrap comments to 78 columns and clean up formatting.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28 23:45:42 +00:00
drbrain
194882cc40
* lib/mkmf.rb: Wrap mkmf.rb in module MakeMakefile to clean up Object
...
documentation. [Ruby 1.9 - Feature #5658 ]
* ext/extmk.rb: Use MakeMakefile::CONFIG instead of Object::CONFIG
* test/mkmf/base.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28 21:54:33 +00:00
nagachika
22702f9278
* include/ruby/win32.h (GetCurrentThreadHandle): remove unused API.
...
follow r33881.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28 17:44:25 +00:00
nagachika
97c3d78cef
* ChangeLog: fix some typos.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28 17:36:46 +00:00
svn
2ffeb686df
* 2011-11-29
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28 15:14:17 +00:00
yugui
0f7e05a0a2
* common.mk (INSTRUBY_ARGS): added --mantype to apply mdoc2man.rb
...
to man pages. Fixes #5598 .
(do-install-nodoc, do-install-local, do-install-man,
dont-install-nodoc, dont-install-local, dont-install-man):
No longer needs --mantype.
Reported by Rainer Orth <ro AT cebitec.uni-bielefeld.de>,
patch by George Koehler <xkernigh AT netscape.net>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28 15:14:14 +00:00
usa
81ef9c66b7
* test/rake/test_rake_directory_task.rb
...
(TestRakeDirectoryTask#test_directory_win32): shouldn't create any
file/directory on root directory. create on @tempdir (= Dir.pwd).
see https://github.com/jimweirich/rake/issues/91
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28 13:28:26 +00:00
nobu
fb8ff8de93
* io.c (rb_write_error2): fwrite() returns ssize_t.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28 03:57:31 +00:00
usa
4d6de2f7c4
* parse.y (nodetype, nodeline): static. these functions are for
...
debugging, and not intend to be public.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28 03:49:00 +00:00
usa
2d0c17d4fb
* gc.c (initial_params): static. it seems to be forgetten at r33501.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28 03:38:52 +00:00
usa
2d6a401ecf
* include/ruby/win32.h, win32/win32.c (GetCurrentThreadHandle): remove
...
unused old API.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28 03:33:10 +00:00
usa
70edc47dca
* win32/mkexports.rb (Exports#initialize): remove old symbol name.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28 03:29:56 +00:00
nobu
b038172348
* win32/mkexports.rb (Exports#read_substitution): need to read
...
from subst.h too. [Bug #5675 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28 03:15:31 +00:00