aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * proc.c (rb_proc_arity): Fix Proc#arity in case of optional argumentsmarcandre2011-12-012-9/+14
| | | | | | [bug #5694] [rubyspec:b8b259] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: get rid of warnings bynobu2011-12-011-4/+5
| | | | | | -Wmissing-declarations or -Wold-style-definition options. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: add arguments for macro calls.nobu2011-12-012-6/+11
| | | | | | [ruby-core:41370] [Bug#5681] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (MakeMakefile#try_func): fix broken patch at r33834.nobu2011-12-012-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/subst.h: reverted r33916, since some names in vm.inc conflict.nobu2011-12-012-38/+31
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/subst.h: removed arguments lists so that functionnobu2011-12-012-30/+37
| | | | | | | | 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
* * ext/bigdecimal/bigdecimal.h (Real): suppress false warning fromnobu2011-12-012-1/+12
| | | | | | clang. [ruby-core:41418] [Bug#5693] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (LDFLAGS): -fstack-protector is always needed tonobu2011-12-012-0/+7
| | | | | | | 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
* properties.nobu2011-12-010-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add sys/prctl.h test.kosaki2011-11-303-1/+14
| | | | | | | * 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-12-01svn2011-11-301-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix 33906: remove JSON::Ext::Generator::GeneratorMethods::String.naruse2011-11-301-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_path2class): don't raise NameError when the middlenaruse2011-11-305-1/+34
| | | | | | | 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
* transcode.c: Simplified rb_econv_binmode, avoided a warning on cygwin.duerst2011-11-302-27/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_module.rb (TestModule): removed remove_*_mixins methods.nobu2011-11-301-31/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix r33904.naruse2011-11-301-0/+2
| | | | | | | | | 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
* * lib/mkmf.rb: Use MakeMakefile's rm_f to avoid conflict with Rake ordrbrain2011-11-305-1826/+1874
| | | | | | | | 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
* * lib/rdoc/encoding.rb (RDoc::Encoding.read_file): fixup newline charsusa2011-11-303-10/+12
| | | | | | | | | | | | | 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-30svn2011-11-301-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/parser.c (parse): parse method can take an option filetenderlove2011-11-303-8/+24
| | | | | | | 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
* Don't break tests.naruse2011-11-293-1923/+1860
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: Fix indentations of constants at end of module.drbrain2011-11-292-39/+71
| | | | | | | Document some constants. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_write_error2): suppress unused variable warning.nobu2011-11-292-4/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_inet_ntop): constified.nobu2011-11-292-8/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (nodetype, nodeline): suppress warnings.nobu2011-11-291-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: Wrap comments to 78 columns and clean up formatting.drbrain2011-11-282-183/+210
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: Wrap mkmf.rb in module MakeMakefile to clean up Objectdrbrain2011-11-284-1808/+1828
| | | | | | | | | 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
* * include/ruby/win32.h (GetCurrentThreadHandle): remove unused API.nagachika2011-11-281-1/+0
| | | | | | follow r33881. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix some typos.nagachika2011-11-281-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-11-29svn2011-11-281-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (INSTRUBY_ARGS): added --mantype to apply mdoc2man.rbyugui2011-11-282-7/+19
| | | | | | | | | | | | 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
* * test/rake/test_rake_directory_task.rbusa2011-11-282-11/+24
| | | | | | | | | (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
* * io.c (rb_write_error2): fwrite() returns ssize_t.nobu2011-11-282-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (nodetype, nodeline): static. these functions are forusa2011-11-282-2/+7
| | | | | | | debugging, and not intend to be public. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (initial_params): static. it seems to be forgetten at r33501.usa2011-11-282-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/win32.h, win32/win32.c (GetCurrentThreadHandle): removeusa2011-11-282-17/+5
| | | | | | | unused old API. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/mkexports.rb (Exports#initialize): remove old symbol name.usa2011-11-282-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/mkexports.rb (Exports#read_substitution): need to readnobu2011-11-282-6/+16
| | | | | | from subst.h too. [Bug #5675] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_flush): release GVL during fsync() on Windows.usa2011-11-282-9/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/subst.h: typo of r33876.usa2011-11-282-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/subst.h: moved Windows specific substitions fromnobu2011-11-284-93/+101
| | | | | | | 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
* * win32/{Makeilfe.sub,win32.c} (FILE_COUNT, FILE_READPTR): move theusa2011-11-283-2/+11
| | | | | | | | | 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-28svn2011-11-281-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_uchmod): typo. [Bug#5671] [ruby-dev:44898]usa2011-11-283-1/+16
| | | | | | | * 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
* * configure.in: added -fno-strict-overflow. it suppress annoyingkosaki2011-11-272-0/+11
| | | | | | -Wstrict-overflow warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_write_error2): get rid of warning on linux. fwritekosaki2011-11-273-2/+11
| | | | | | | | 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
* * configure.in (stack_protector): disable on mingw. [Bug#5676]nobu2011-11-272-2/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (DLDFLAGS): also needs -fstack-protector.nobu2011-11-273-4/+3
| | | | | | [Bug#5676] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (-fstack-protector): also needed in DLDFLAGS.nobu2011-11-272-2/+11
| | | | | | [Bug#5676] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: whitespace-cleanup.nobu2011-11-271-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e