| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
| |
--
* .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
|
| |
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
| |
--
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
|
| |
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
| |
--
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
|
| |
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
| |
--
* 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
--
* 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
|