summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-12-01* 2011-12-02svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-01Revert r33921.naruse
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* thread_pthread.c (thread_timer): call prctl(PR_SET_NAME) only ifnagachika
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* io.c (linux_get_maxfd): change local variable name.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-01* proc.c (rb_proc_arity): Fix Proc#arity in case of optional argumentsmarcandre
[bug #5694] [rubyspec:b8b259] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-01* ext/socket/extconf.rb: get rid of warnings bynobu
-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* ext/socket/extconf.rb: add arguments for macro calls.nobu
[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* lib/mkmf.rb (MakeMakefile#try_func): fix broken patch at r33834.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-01* include/ruby/subst.h: reverted r33916, since some names in vm.inc conflict.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-01* include/ruby/subst.h: removed arguments lists so that functionnobu
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* ext/bigdecimal/bigdecimal.h (Real): suppress false warning fromnobu
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* configure.in (LDFLAGS): -fstack-protector is always needed tonobu
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-01properties.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-30* configure.in: add sys/prctl.h test.kosaki
* 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* 2011-12-01svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-30Fix 33906: remove JSON::Ext::Generator::GeneratorMethods::String.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-30* variable.c (rb_path2class): don't raise NameError when the middlenaruse
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-30transcode.c: Simplified rb_econv_binmode, avoided a warning on cygwin.duerst
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-30* test/ruby/test_module.rb (TestModule): removed remove_*_mixins methods.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-30Fix r33904.naruse
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* lib/mkmf.rb: Use MakeMakefile's rm_f to avoid conflict with Rake ordrbrain
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* lib/rdoc/encoding.rb (RDoc::Encoding.read_file): fixup newline charsusa
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* 2011-11-30svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-30* ext/psych/parser.c (parse): parse method can take an option filetenderlove
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-29Don't break tests.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-29* lib/mkmf.rb: Fix indentations of constants at end of module.drbrain
Document some constants. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-29* io.c (rb_write_error2): suppress unused variable warning.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-29* win32/win32.c (rb_w32_inet_ntop): constified.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-29* parse.y (nodetype, nodeline): suppress warnings.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28* lib/mkmf.rb: Wrap comments to 78 columns and clean up formatting.drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28* lib/mkmf.rb: Wrap mkmf.rb in module MakeMakefile to clean up Objectdrbrain
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* include/ruby/win32.h (GetCurrentThreadHandle): remove unused API.nagachika
follow r33881. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28* ChangeLog: fix some typos.nagachika
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28* 2011-11-29svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28* common.mk (INSTRUBY_ARGS): added --mantype to apply mdoc2man.rbyugui
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* test/rake/test_rake_directory_task.rbusa
(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* io.c (rb_write_error2): fwrite() returns ssize_t.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28* parse.y (nodetype, nodeline): static. these functions are forusa
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* gc.c (initial_params): static. it seems to be forgetten at r33501.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28* include/ruby/win32.h, win32/win32.c (GetCurrentThreadHandle): removeusa
unused old API. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28* win32/mkexports.rb (Exports#initialize): remove old symbol name.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28* win32/mkexports.rb (Exports#read_substitution): need to readnobu
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* io.c (rb_io_flush): release GVL during fsync() on Windows.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28* include/ruby/subst.h: typo of r33876.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28* include/ruby/subst.h: moved Windows specific substitions fromnobu
win32.h. * ext/socket/rubysocket.h: include ruby/subst.h. [Bug #5675] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28* win32/{Makeilfe.sub,win32.c} (FILE_COUNT, FILE_READPTR): move theusa
definitions from config.h to win32.c. I dared to have left such macros, for other future compiler support. [ruby-core:41313] [Bug #5674] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28* 2011-11-28svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28* win32/win32.c (rb_w32_uchmod): typo. [Bug#5671] [ruby-dev:44898]usa
* test/ruby/test_file.rb (TestFile#test_chmod_m17n): test of above bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-27* configure.in: added -fno-strict-overflow. it suppress annoyingkosaki
-Wstrict-overflow warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-27* io.c (rb_write_error2): get rid of warning on linux. fwritekosaki
of glibc is tagged __attribute__ ((__warn_unused_result__)) if _FORTIFY_SOURCE != 0. * vm_dump.c (rb_vm_bugreport): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e