Граф коммитов

16515 Коммитов

Автор SHA1 Сообщение Дата
nobu 34f01201f9 * configure.in (LIBRUBY_SO): removed redundant additional version
numbers.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-08 00:46:00 +00:00
nobu d9921b1de6 * common.mk (info): shows configured names.
* configure.in (Makefile): works even if RUBY_INSTALL_NAME
  contains macro.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-07 04:35:24 +00:00
nobu 99b38e10f7 * configure.in (LIBRUBY_DLDFLAGS): compatibility version is
ruby_version.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-07 04:14:34 +00:00
nobu 4b4dc16feb * configure.in (RUBY_REPLACE_TYPE): defines type modifier prefix
for printf.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-07 04:10:21 +00:00
nobu 04d1fc84b4 * configure.in (RUBY_DEFINT): use AC_INCLUDES_DEFAULT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-06 17:47:33 +00:00
nobu c30f5e82a7 * configure.in (RUBY_DEFINT): should pass includes to
AC_CHECK_SIZEOF and RUBY_CHECK_SIZEOF.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-06 17:27:50 +00:00
nobu 254446f555 * configure.in (CFLAGS, CXXFLAGS): need ARCH_FLAG for universal
binary.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-06 17:25:28 +00:00
nobu 8ebd0d4320 * numeric.c (flo_to_s): reduce fragments if no precision lost.
c.f. [ruby-core:23075]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-06 16:08:23 +00:00
nobu aa75b002de * configure.in (CFLAGS, CXXFLAGS): override with $cflags and
$cxxflags if not given.  [ruby-core:23130]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-06 14:16:10 +00:00
nobu d456f0aabe * configure.in (CFLAGS, CXXFLAGS): use orignal values if given.
[ruby-core:23130]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-06 11:16:15 +00:00
nobu 228d3e46a3 * file.c (utime_failed): refined the error message for EINVAL on
DOSISH platforms, where it may fail depending on filesystems.
  see [ruby-dev:38277].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-06 10:26:20 +00:00
nobu a3a88c6bcd * file.c (sys_fail2, rb_file_s_readlink, BUFCHECK, rmext),
(rb_file_s_basename): get rid of overflow.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-06 07:38:52 +00:00
nobu 1b71f8a53b * numeric.c (int_chr): checsk overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-06 06:11:57 +00:00
nobu 090dc8fd54 * test/stringio/test_stringio.rb (test_path): StringIO#path is no
longer defined.  [ruby-dev:38254]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-06 01:49:48 +00:00
nobu aaec30f96a * ext/stringio/stringio.c (strio_path): removed. [ruby-dev:38254]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-06 01:47:15 +00:00
nobu 03dbd024ee * include/ruby/intern.h (rb_fd_resize): does nothing on Win32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-05 09:02:57 +00:00
nobu a3e7e369bc * include/ruby/intern.h (Init_stack): moved.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-05 08:59:02 +00:00
nobu 08e5b6de32 * include/ruby/intern.h (RB_NUM_COERCE_FUNCS_NEED_OPID): macro to
check compatibility.  [ruby-dev:38162]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-04 08:05:17 +00:00
nobu c2b381c5c0 * mkconfig.rb (sitearch): default to arch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-03 22:38:54 +00:00
knu ae846f9fb8 * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@23129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-03 05:04:02 +00:00
nobu 2b7279ba5f * ext/extmk.rb: quotes arguments with spaces always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-03 03:45:58 +00:00
matz 12bbcbb363 * lib/getoptlong.rb: remove unused udoc/usage from example.
[ruby-core:23098]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-02 05:52:06 +00:00
nobu b6e82baca5 * win32/Makefile.sub (config.h): updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-01 22:42:29 +00:00
akr 3158c0f651 * configure.in (rb_cv_fork_with_pthread): fail if the child process
fail.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-01 11:40:38 +00:00
nobu 72c161bb55 * lib/mkmf.rb (create_makefile): support for parallel make. a
patch from Takuto Matsuu at [ruby-dev:38220].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-01 10:46:48 +00:00
nobu 48d18d3783 * configure.in (LIBRUBY_LDSHARED): use $(CC) instead of cc.
a patch from Wataru Kimura at [ruby-dev:38225].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-01 10:39:27 +00:00
nobu 6941189b94 * vm_dump.c (rb_vm_bugreport): should not #include inside a
function, since headers may have declarations.
  c.f. [ruby-core:23095]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-01 09:53:52 +00:00
nobu af9459a469 * mkconfig.rb: ignores version numbers in config.status. replaces
all $$s in program_transform_name.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-01 09:44:56 +00:00
nobu 3e845f19e0 * Makefile.in (.c.i): use CPP instead of CC, since gcc -E can't
work with multiple -arch options.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-01 06:12:23 +00:00
matz d98da36b8c * thread.c (rb_thread_fd_select): new function to call select
using rb_fdset_t.

* io.c (select_internal): use rb_thread_fd_select instead of
  rb_thread_select.  based on the patch from Kengo Matsuyama.
  [ruby-dev:38221]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-01 04:56:51 +00:00
matz 9be62b3b1a * process.c (rb_f_sleep): RDoc disambiguation. [ruby-talk:332632]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-01 04:20:05 +00:00
svn 2fa90ebea0 * 2009-04-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-31 18:49:51 +00:00
akr e2dab32d0b update rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-31 18:49:25 +00:00
nobu 0d3bf82f80 * configure.in: fixed the help strings for the header and library
dir switches, and updated to use AS_HELP_STRING.  patches from
  Richard Brown, c.f. [ruby-core:23067].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-31 06:17:38 +00:00
svn 7fd6fb63d1 * 2009-03-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-30 23:20:50 +00:00
jeg2 8e2eedf46b * test/csv/test_interface.rb, test/csv/test_serialization.rb:
Trying more fixes some failing tests on Windows.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-30 23:20:44 +00:00
akr 2a58eebd8f * .gdbinit (rp): show negative fixnum correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-30 10:04:51 +00:00
nobu c11f63669a * vm_eval.c (eval_string_with_cref): replaces the message if
frozen.  [ruby-dev:38208]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-30 03:12:48 +00:00
svn c3faa28bb7 * 2009-03-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-29 16:00:52 +00:00
jeg2 a9b53f6397 * test/csv/test_interface.rb: Trying a fix for some failing tests
on Windows.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-29 16:00:47 +00:00
nobu 896db7d625 * lib/pathname.rb (Pathname#relative_path_from): compares path
components according to system default case-sensitiveness.
  [ruby-core:22829]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-28 23:59:28 +00:00
akr c79e8ba065 rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-28 14:49:49 +00:00
nobu f4cecb53bd * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@23091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-28 02:10:34 +00:00
nobu 48379c7309 * sprintf.c (rb_str_format): checks if named argument given twice.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-27 23:49:52 +00:00
nobu 456f68f2fd * sprintf.c (GETNAMEARG): remembers named arg is used, to get rid
of too many arguments warning.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-27 21:18:29 +00:00
nobu 72122dd947 * lib/mkmf.rb (link_command, cc_command, cpp_command): should not
override extout defined in extmk.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-27 18:17:07 +00:00
nobu a8eaf31630 * lib/mkmf.rb (what_type?): checks more restrictively, and
supports universal binary.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-27 03:56:46 +00:00
akr 29983664fc * time.c (time_cmp): negate the result of reverse comparison.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-26 16:35:18 +00:00
svn f0c0f504f4 * 2009-03-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-26 16:21:04 +00:00
akr 5f64ea6c60 * bignum.c (rb_cmpint): FIX2INT may fail on LP64 platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-26 16:20:58 +00:00