summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* merges r23155 and r23158 from trunk into ruby_1_9_1.yugui2009-05-043-1/+10
| | | | | | | | | -- * string.c (rb_str_chop_bang): reset coderange. [ruby-core:23155] -- * test/ruby/test_string.rb (test_chop, test_chop!): tests for [ruby-core:23155]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23149 from trunk into ruby_1_9_1.yugui2009-05-042-1/+6
| | | | | | | | -- * configure.in (LIBRUBY_DLDFLAGS): compatibility version is ruby_version. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-05-04svn2009-05-041-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23134 from trunk into ruby_1_9_1.yugui2009-05-042-0/+6
| | | | | | | | -- * include/ruby/intern.h (RB_NUM_COERCE_FUNCS_NEED_OPID): macro to check compatibility. [ruby-dev:38162] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23129 from trunk into ruby_1_9_1.yugui2009-04-194-13/+22
| | | | | | | | | | | | | | | | | -- * lib/irb/completion.rb (IRB::InputCompletor::Operators): Add overloadable negative operators. * lib/irb/ruby-lex.rb (RubyLex#lex_init): Support overloadable negative operators. * lib/irb/ruby-lex.rb (RubyLex#identify_identifier): Minus signs need to be escaped in regexp character class. * misc/ruby-mode.el (ruby-font-lock-keywords, ruby-parse-partial): Support overloadable negative operators. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23115 from trunk into ruby_1_9_1.yugui2009-04-192-0/+7
| | | | | | | | -- * configure.in (rb_cv_fork_with_pthread): fail if the child process fail. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23098 from trunk into ruby_1_9_1.yugui2009-04-192-1/+5
| | | | | | | -- * .gdbinit (rp): show negative fixnum correctly. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23097 from trunk into ruby_1_9_1.yugui2009-04-192-3/+16
| | | | | | | | -- * vm_eval.c (eval_string_with_cref): replaces the message if frozen. [ruby-dev:38208] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23093 from trunk into ruby_1_9_1.yugui2009-04-192-2/+15
| | | | | | | | | -- * lib/pathname.rb (Pathname#relative_path_from): compares path components according to system default case-sensitiveness. [ruby-core:22829] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23091 from trunk into ruby_1_9_1.yugui2009-04-192-2/+9
| | | | | | | | | | -- * common.mk (ruby.imp): all symbols in static library need to be exported, so that encoding-extensions can be loaded. based on a patch from Yutaka Kanemoto <kinpoco AT gmail.com> at [ruby-talk:332282]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23075 from trunk into ruby_1_9_1.yugui2009-04-193-1/+15
| | | | | | | -- * time.c (time_cmp): negate the result of reverse comparison. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23073 from trunk into ruby_1_9_1.yugui2009-04-192-1/+10
| | | | | | | -- * bignum.c (rb_cmpint): FIX2INT may fail on LP64 platforms. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23072 from trunk into ruby_1_9_1.yugui2009-04-192-0/+7
| | | | | | | | | -- * ext/sdbm/_sdbm.c: should include "ruby/defines.h" as well for prototypes of compatibility functions on Win32 platform. [ruby-core:22870] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23070 from trunk into ruby_1_9_1.yugui2009-04-192-2/+14
| | | | | | | | -- * lib/rdoc/ri/paths.rb (RDoc::RI::Paths): considers --program-prefix and --program-suffix. reapplied r19923. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23057 from trunk into ruby_1_9_1.yugui2009-04-193-2/+12
| | | | | | | | | | | -- * ext/dbm/dbm.c (fdbm_initialize): Make the file variable volatile, because FilePathValue() currently does not protect the given variable from GC. (Probably it should) * ext/sdbm/init.c (fsdbm_initialize): Ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23035 from trunk into ruby_1_9_1.yugui2009-04-192-2/+14
| | | | | | | | -- * enc/depend (link_so): replaces $(TARGET) with basename of the target. [ruby-talk:330286] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22998 from trunk into ruby_1_9_1.yugui2009-04-192-9/+9
| | | | | | | | -- * lib/drb/drb.rb (open_server_inaddr_any): fixed multiple network families problem. a patch from Charl Matthee at [ruby-core:21033]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22995 from trunk into ruby_1_9_1.yugui2009-04-192-1/+7
| | | | | | | | -- * tool/make-snapshot (package): creates .revision.time and passes CHDIR to create prerequisite files. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22992 from trunk into ruby_1_9_1.yugui2009-04-192-5/+20
| | | | | | | | | -- * enumerator.c (Enumerator#{each_,}{with_index,with_object}): Fix a bug where any parameter but the first one is dropped even if multiple values are yielded with. [Bug #1198] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22990 from trunk into ruby_1_9_1.yugui2009-04-191-2/+9
| | | | | | | -- make ./goruby -e 'p "abc".gs(/a/) { $& }' prints "abc". git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22987 from trunk into ruby_1_9_1.yugui2009-04-193-1/+29
| | | | | | | | -- * lib/pathname.rb (Pathname#sub): set $~ in block.binding. [ruby-dev:38173] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22954,r22955,r22956 and r22958 from trunk into ruby_1_9_1.yugui2009-04-192-7/+41
| | | | | | | | | | | | | | | -- * proc.c (rb_proc_call): checks overflow. -- * proc.c (rb_proc_call, rb_node_arity, bmcall, curry): checks overflow. -- * proc.c (rb_proc_call, bmcall): commit miss. -- * proc.c (bmcall): should not uninitialized variable. a patch from pegacorn at [ruby-dev:38169]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22940 from trunk into ruby_1_9_1.yugui2009-04-192-0/+6
| | | | | | | | -- * lib/fileutils.rb (FileUtils#fu_get_gid): stringify group argument before making regexp match. [ruby-dev:38155] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22924 from trunk into ruby_1_9_1.yugui2009-04-192-3/+9
| | | | | | | | | -- * ext/openssl/ossl_x509ext.c (ossl_x509ext_set_value): should use OPENSSL_free instead of free. a patch from Charlie Savage at [ruby-core:22858]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22919 from trunk into ruby_1_9_1.yugui2009-04-192-8/+15
| | | | | | | | -- * util.c (rv_strdup): macro to duplicate nul-terminated string. [ruby-core:22852] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-04-19svn2009-04-191-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22916 from trunk into ruby_1_9_1.yugui2009-04-192-1/+6
| | | | | | | | -- * ext/openssl/ossl_ssl.c (ossl_ssl_def_const): use INT2NUM because OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG doesn't fit into Fixnum. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22902 from trunk into ruby_1_9_1.yugui2009-04-122-3/+5
| | | | | | | -- * io.c (copy_stream_fallback_body): off_t may be larger than long. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22901 from trunk into ruby_1_9_1.yugui2009-04-122-3/+6
| | | | | | | -- * iseq.c (rb_iseq_disasm): RSTRING_LEN() returns long. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22900 from trunk into ruby_1_9_1.yugui2009-04-122-1/+5
| | | | | | | -- * process.c (rb_f_sleep): time() needs time_t. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22898 from trunk into ruby_1_9_1.yugui2009-04-122-2/+10
| | | | | | | | -- * thread_pthread.c (ruby_init_stack): range of rlim_cur may be larger than int. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22891 from trunk into ruby_1_9_1.yugui2009-04-122-11/+6
| | | | | | | | -- * ext/dl/handle.c (rb_dlhandle_sym): RTLD_NEXT is not for symbol name. [ruby-dev:38150] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22883 from trunk into ruby_1_9_1.yugui2009-04-122-9/+14
| | | | | | | | -- * ext/dl/handle.c (rb_dlhandle_sym): fixed heap corruption. [ruby-core:22822] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22870 from trunk into ruby_1_9_1.yugui2009-04-122-6/+10
| | | | | | | | | -- * win32/Makefile.sub (LDFLAGS): moved -link to TRY_LINK, LINK_SO and so on. based on a patch by Charlie Savage at [ruby-core:22794] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22869 from trunk into ruby_1_9_1.yugui2009-04-122-1/+6
| | | | | | | | -- * win32/Makefile.sub (config.h): passes LDFLAGS to rbconfig.rb so that extconf.rb could refer it. [ruby-core:22725] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22744 from trunk into ruby_1_9_1.yugui2009-04-122-2/+6
| | | | | | | -- * lib/csv.rb: Some minor documentation fixes from Gregory Brown. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22741 from trunk into ruby_1_9_1.yugui2009-04-123-0/+24
| | | | | | | | | | | -- * lib/prime.rb (Prime::prime?): used to return a wrong answer. [ruby-core:22646]. * test/test_prime.rb (test_prime?): test case for [ruby-core:22646]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22777 from trunk into ruby_1_9_1.yugui2009-04-122-2/+10
| | | | | | | | -- * win32/Makefile.sub (miniruby.exe): workaround for a failure of mt.exe on Windows 7 beta. [ruby-talk:330284] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22769 from trunk into ruby_1_9_1.yugui2009-04-121-1/+1
| | | | | | | | -- * win32/README.win32 (Requirement): VC++ 5.0 is not supported already. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-04-12svn2009-04-121-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22765 from trunk into ruby_1_9_1.yugui2009-04-122-1/+6
| | | | | | | | -- * lib/thread.rb (SizedQueue#push): fix limit condition. [ruby-dev:38135] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22743 from trunk into ruby_1_9_1.yugui2009-03-042-3/+6
| | | | | | | | -- * lib/csv.rb: A patch from Madoka Yakamamoto to prevent an infinite loop while reading some encodings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22707 from trunk into ruby_1_9_1.yugui2009-03-042-0/+8
| | | | | | | -- * file.c: include fcntl.h for O_RDONLY on Solaris. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22706 from trunk into ruby_1_9_1.yugui2009-03-042-2/+10
| | | | | | | | | | | -- * lib/uri/common.rb (URI::Parser#escape): escaped string is ascii only. * lib/uri/common.rb (URI::Parser#unescape): converts bytewise. [ruby-dev:38005], [ruby-dev:38110] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22702 from trunk into ruby_1_9_1.yugui2009-03-042-30/+30
| | | | | | | | -- * ext/dl/handle.c (rb_dlhandle_sym): get rid of buffer overrun, and try ASCII WINAPI versions too. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22699 from trunk into ruby_1_9_1.yugui2009-03-042-10/+16
| | | | | | | -- merged a patch from Alessandro Di Maria in [ruby-core:22560]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22695 from trunk into ruby_1_9_1.yugui2009-03-042-2/+7
| | | | | | | | -- * ext/dl/win32/lib/Win32API.rb (initialize): passes rest arguments to DL. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22692 from trunk into ruby_1_9_1.yugui2009-03-042-1/+6
| | | | | | | | -- * util.c (ruby_dtoa): allocates one more byte to get rid of buffer overrun. a patch from Charlie Savage at [ruby-core:22604]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22691 from trunk into ruby_1_9_1.yugui2009-03-042-1/+5
| | | | | | | -- * common.mk (.y.c): removed extra backslash. [ruby-core:22602] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22690 from trunk into ruby_1_9_1.yugui2009-03-045-27/+51
| | | | | | | | | | | | | | | -- * ext/dl/cfunc.c (rb_dlcfunc_call): fix for stdcall and missing argument numbers. [ruby-core:22601] * ext/dl/dl.h (DLSTACK_PROTO0_): added. * ext/dl/mkcallback.rb (gencallback, gen_callback_file), (rb_dl_init_callbacks): omit stdcall functions unless supported. * lib/rubygems/config_file.rb (SHGetFolderPath): stdcall. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e