summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2011-12-08* ext/extmk.rb (extract_makefile): should sort after map, not beforeusa
it. in this case there is no difference, but we should write better code. this bad smell was caught by nagachika. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-08* ext/extmk.rb (extract_makefile): need to sort the array of currentusa
srcs before comparing to the sorted old srcs. fixed the problem that the configuring stage of exts were always run, introduced at r33801. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-08* ChangeLog: fix typos.nagachika
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-08* test/rexml/test_order.rb (OrderTester#test_more_ordering): useusa
GZip::GzReader.open instead of GZip::GzReader.new with File.new. fixed a test error on Windows introduced at r33946. * ChangeLog: mention the causes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-08* test/ruby/test_process.rb (TestProcess#test_sete[gu]id): silentlyusa
skip if not implemented such functions (such as, on Windows). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-08* ext/socket/extconf.rb: forgotten to define HAVE_SOCKETPAIR forusa
windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-08* configure.in (RUBY_WERROR_FLAG): append all warning flags whichnobu
are enabled to compile, so that printf format modifiers properly fail. [ruby-core:41351] [Bug #5679] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-07* doc/re.rdoc: Document difference between match and =~, options withdrbrain
Regexp.new and global variables. Patch by Sylvain Daubert. [Ruby 1.9 - Bug #5709] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-07* doc/re.rdoc: Fix example code to match documentation. Patch bydrbrain
Jarno Lamberg. [Ruby 1.9 - Bug #5624] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-07* configure.in (rpath): fix typo in the help string. a patch fromnobu
Yuji Yamano <yyamano AT kt.rim.or.jp> in [ruby-list:48568]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-07* vm.c (vm_set_top_stack, vm_set_eval_stack): check for stacknobu
overflow with stack_max before push new frame. [ruby-core:41520] [Bug #5720] * vm.c (vm_set_main_stack): no stack overflow chances after vm_set_eval_stack(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-07* ext/bigdecimal/bigdecimal.c: Document +@, -@, hash, INFINITY, Nan.drbrain
Patch by Sylvain Daubert. [Ruby 1.9 - Feature #5622] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-07* io.c (Init_IO): Mention io/console methods. [Ruby 1.9 - Bug #5602]drbrain
* ext/io/console/console.c: Mention that io/console must be required similar to lib/time.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-06* ext/psych/lib/psych.rb (module Psych): parse and load methods taketenderlove
an optional file name that is used when raising Psych::SyntaxError exceptions * ext/psych/lib/psych/syntax_error.rb (module Psych): allow nil file names and handle nil file names in the exception message * test/psych/test_exception.rb (module Psych): Tests for changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-06* ext/dbm/dbm.c: use db_version() instead of DB_VERSION_STRING forakr
detect runtime Berkeley DB version. use dpversion instead of _QDBM_VERSION for detect runtime QDBM [ruby-dev:44948] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-06* ext/dbm/extconf.rb: detect gdbm_version in libgdbm.akr
* ext/dbm/dbm.c: make DBM::VERSION more informative for gdbm, qdbm and Berkeley DB 1.x. [ruby-dev:44944] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-05* range.c: Improve documentation for Range. Patch by Chris Zetter.drbrain
[Ruby 1.9 - Bug #5656] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-05* regparse.c (PFETCH_READY): separate gcc specific trick.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-05* process.c (proc_seteuid_m): fix argument.nobu
* test/ruby/test_process.rb (test_geteuid): fix typo. * test/ruby/test_process.rb (test_getegid, test_set[eg]uid): add. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-05* ChangeLog: remove dup entry.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-05* bignum.c (big_rshift), compile.c (validate_label,nobu
iseq_build_from_ary_exception), cont.c (cont_capture), dir.c (dir_open_dir), gc.c (objspace_each_objects), io.c (pipe_open) (rb_io_advise), parse.y (parser_compile_string) (rb_parser_compile_file), proc.c (binding_free), process.c (rb_proc_exec_n, rb_seteuid_core, proc_setegid, rb_setegid_core) (p_uid_exchange, p_gid_exchange), regparse.c (strdup_with_null), signal.c (sig_dfl), vm.c (rb_iseq_eval, rb_iseq_eval_main), vm_insnhelper.c (vm_expandarray): suppress unused-but-set-variable warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-05* class.c (rb_obj_methods), compile.c (iseq_compile_each),nobu
iseq.c(iseq_load, rb_iseq_parameters), pack.c (pack_pack), regcomp.c (is_not_included, update_string_node_case_fold), transcode.c (rb_econv_open0, make_replacement), vm_eval.c (raise_method_missing): remove unused variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-05* signal.c (reserved_signal_p): static.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-05* include/ruby/{subst.h,win32.h}, ext/socket/rubysocket.h: revertusa
r33876. [ruby-core:41475] [Bug #5706] * ext/socket/extconf.rb: the alternative hack for [Bug #5675]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-05* ext/zlib/zlib.c (rb_gzreader_initialize): revert a part of r33937.usa
1st, to change the mode of an IO is very sensitive problem, so the maintainer of this library should judge it. 2nd, usually Zlib::GzReader.new is not called directly. #initialize is called via .open, and in the method the I/O is opened in binary mode, so there is no problem without changing the mode in #initialize. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-04* lib/tempfile.rb: don't use lock directory. [ruby-dev:39197]akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-04* lib/tempfile.rb (Tempfile::MAX_TRY): remove unused constant.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-04* lib/pp.rb: fix rdoc.ktsj
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-04* lib/delegate.rb (Delegator#methods): Kernel#methods receivesnaruse
zero or one argument. [ruby-core:37118] [Bug #4882] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-04Introduce NEED_READCONV and NEED_WRITECONV to replace universal newline ↵luislavena
decorator Use CRLF only when required to improve file reading and writing under Windows. Patch by Hiroshi Shirosaki. [ruby-core:40706] [Feature #5562] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-03* variable.c (set_const_visibility): print a warning when no argumentmame
is passwd to Module#private_constant. [ruby-list:48558] * vm_method.c (set_method_visibility): ditto for Module#private_class_method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-03* variable.c (set_const_visibility): Module#private_constant hasmame
changed the visibility of only the first argument. Now it changes all of them. [ruby-list:48558] * test/ruby/test_module.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-02* Makefile.in (CFLAGS): append ARCH_FLAG.nobu
* configure.in (ARCH_FLAG): exclude from CFLAGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-02* configure.in (UNIVERSAL_INTS): include short int. fix fornobu
test/mkmf. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-02* ext/bigdecimal/bigdecimal.c (VpAllocReal): reduce extra frac.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-02* configure.in: check whether -pie or -Wl,-pie is valid asnobu
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* configure.in: use $linker_flag for LDFLAGS option which is notnobu
limited to particular platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-02Revert r33926 "* configure.in: use $linker_flag for LDFLAGS option which is not"naruse
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* configure.in: use $linker_flag for LDFLAGS option which is notnobu
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-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: 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-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