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

36504 Коммитов

Автор SHA1 Сообщение Дата
nobu f024d46f11 tool/vcs.rb: no time.rb
* common.mk (Doxyfile): revert r43888, not to require preinstalled
  ruby.  [ruby-core:64488] [Bug #10161]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22 06:36:46 +00:00
nobu 3229456d40 rbinstall.rb: remove unused variable
* tool/rbinstall.rb: $vcs is no longer used since r46513.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22 06:36:09 +00:00
hsbt 4c91cbb9a8 * lib/shell.rb: removed commented-out code.
* lib/shell/builtin-command.rb: ditto.
* lib/shell/command-processor.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22 03:32:36 +00:00
hsbt 6f74ab1d97 * lib/complex.rb: removed deprecated library.
* lib/rational.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22 03:21:55 +00:00
svn faa92cde0d * 2014-08-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22 02:39:13 +00:00
hsbt a84821f8dd * lib/prettyprint.rb: removed PrettyPrint#first?
because it is obsoleted method since Ruby 1.8.2

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22 02:38:59 +00:00
nobu 34ec7c5b49 win32/test_console_attr.rb: reset attributes
* ext/-test-/win32/console/attribute.c (console_set_attribute):
  set console attribute.

* test/-ext-/win32/test_console_attr.rb (reset): reset attributes.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 13:10:34 +00:00
nobu 43b00d8a11 win32.c: manage reverse video
* win32/win32.c (constat_attr): manage reverse video internally
  since Windows console window does not manage it.  based on the
  patch by white leaf in [ruby-dev:48483].  [Bug #10158]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 08:10:34 +00:00
hsbt 4d9de3db0a * lib/e2mmap.rb: removed commented-out code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 05:45:47 +00:00
nobu 3118c4c46e compar.c: use Module#to_s
* compar.c (rb_cmperr): use Module#to_s so that names in a message
  can be overridden by to_s.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 04:39:32 +00:00
nobu dafeb23e99 struct.c: no rb_class_real twice
* struct.c (inspect_struct): as rb_obj_class() returns real class
  name, so rb_class_name is not needed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 04:39:28 +00:00
svn 36ee0a83fe * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 04:24:04 +00:00
hsbt 59ca946543 * lib/rinda/ring.rb: split executable code into sample directory.
* sample/rinda-ring.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 04:23:56 +00:00
hsbt bff692b94d * lib/drb/acl.rb: split executable code into sample directory.
* sample/drb/acl.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 04:23:43 +00:00
hsbt 9cb4054cde * .gitignore: ignored temporary file for Changelog.
http://mkosaki.blog46.fc2.com/blog-entry-1284.html

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 03:55:52 +00:00
svn 8759a73111 * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 03:40:52 +00:00
hsbt ef4c25720a * lib/net/imap.rb: split executable code into sample directory.
* sample/net-imap.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 03:40:42 +00:00
svn 2fbca47789 * 2014-08-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 03:24:17 +00:00
hsbt c6efc649f8 * lib/net/imap.rb: removed commented-out code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 03:24:06 +00:00
nobu 9b569069b2 .travis.yml: remove generated directories
* .travis.yml (before_script): remove directories generated
  previously.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-20 08:37:54 +00:00
nobu 86c72d1a9c configure.in: quote defun names
* configure.in (RUBY_TRY_CFLAGS, RUBY_TRY_LDFLAGS),
  (RUBY_CHECK_BUILTIN_SETJMP, RUBY_SETJMP_TYPE),
  (RUBY_STACK_GROW_DIRECTION): quote defun names, for some
  versions of autoconf possibly.  [ruby-core:64473] [Bug #10156]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-20 08:27:05 +00:00
svn 8e274670ec * 2014-08-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-20 01:33:50 +00:00
nobu 776e96d183 test_thread.rb: let main thread exit from Thread.new
* test/ruby/test_thread.rb (test_main_thread_status_at_exit): let
  the main thread run to ensure exiting from Thread.new.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-20 01:33:40 +00:00
nobu 28dd61607e sprintf.c: fix condition
* sprintf.c (rb_str_format): fix condition to round.
  [ruby-core:64454] [Bug #10151]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-19 13:28:32 +00:00
nobu f587347c28 euckr-tbl.rb: euro and registered signs
* enc/trans/euckr-tbl.rb (EUCKR_TO_UCS_TBL): add missing euro and
  registered signs.  [ruby-core:64452] [Bug #10149]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-19 13:22:46 +00:00
nobu 40db3d97ac compar.c: preserve encodings
* compar.c (rb_cmperr): preserve encodings of arguments in the
  message.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-19 04:59:44 +00:00
nobu f9b7a2a33f win32ole.c: check overflow
* ext/win32ole/win32ole.c (ole_invoke): check integer overflow on
  win64 platforms.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-19 01:29:45 +00:00
svn b38142e972 * 2014-08-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-19 01:13:36 +00:00
nobu a198bb3929 thread.c: check initialized
* ext/thread/thread.c (get_array): check instance variables are
  initialized properly.  [ruby-core:63826][Bug #10062]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-19 01:13:24 +00:00
nobu 1d196e0d2b sprintf.c: rational 'f' format
* sprintf.c (rb_str_format): support rational 'f' format.
  [ruby-core:64382] [Bug #10136]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-18 08:06:48 +00:00
nobu 22892ca6c2 sprintf.c: remove magic numbers
* sprintf.c (rb_str_format): name default float precision and
  remove unused initial value.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-18 08:06:37 +00:00
nobu 1767764791 test_time_tz.rb: has_lisbon_tz
* test/ruby/test_time_tz.rb (has_lisbon_tz): separate from
  has_right_tz.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-18 00:04:32 +00:00
svn 52e0f11b35 * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-17 23:04:23 +00:00
svn 0a7a01378c * 2014-08-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-17 23:04:20 +00:00
hsbt 70ea6d28c1 * spec/default.mspec: use 2.2 definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-17 23:04:10 +00:00
ktsj 6bce41b3b7 * gc.c (obj_memsize_of): don't calculate memsize of T_NODE
when called from check_gen_consistency. It fixes segmentation
  fault on RGENGC_CHECK_MODE >= 1 introduced by r47188.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-17 10:51:33 +00:00
suke b62ce0e964 * ext/win32ole/win32ole.c (ole_invoke): use RHASH_SIZE instead of
calling Hash#length method.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-17 08:10:38 +00:00
svn 5a2c3ae883 * 2014-08-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-17 00:50:45 +00:00
nobu 8ac65c462d win32/configure.bat: fix eol-style
* win32/configure.bat: reset svn:eol-style to CRLF, and revert
  r47015.  r47017 just reverted the contents but did not reset it.
  `svn export` converts CRLF to LF due to this property.
  [ruby-core:64414] [Bug #10145]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-17 00:50:36 +00:00
kazu f4c837858e fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-16 14:29:43 +00:00
suke bd6e27dc47 * ext/win32ole/win32ole_event.c (evs_length): use RARRAY_LEN instead
of calling Array#length method.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-16 10:34:24 +00:00
nobu 2fd7e29255 test_ruby_mode.rb: trivial refinement
* test/misc/test_ruby_mode.rb (run_emacs): ensure to remove a
  temporary file.

* test/misc/test_ruby_mode.rb (assert_indent): show diff between
  expected and actual results.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-16 06:22:48 +00:00
nobu 4c7038c177 test_gem_ext_builder.rb: fix wrong skip condition
* test/rubygems/test_gem_ext_builder.rb (test_build_extensions_extconf_bad):
  fix wrong skip condition by removing wrong expace, String#include?
  does not turn a string argument into a regexp.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-16 04:49:47 +00:00
nobu d0f71e5072 rake/backtrace.rb: exclude mere prefix
* lib/rake/backtrace.rb (Rake::Backtrace): exclude mere prefix and
  exec_prefix, which match too much.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-16 03:56:17 +00:00
nobu 04408eae54 rake/backtrace.rb: remove wrong value
* lib/rake/backtrace.rb (Rake::Backtrace::SYS_KEYS): only names
  end with prefix or libdir, not just include them.  libdirname is
  not a key of path name.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-16 03:48:21 +00:00
nobu 3636e08858 string.c: rb_setup_fake_str
* string.c (rb_setup_fake_str): setup fake string from C pointer,
  length, and encoding.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-16 03:36:47 +00:00
nobu a669514e63 node.h: extract NODE functions from gc.c
* node.h (rb_gc_free_node, rb_node_memsize, rb_gc_mark_node):
  extract functions for NODE from obj_free(), obj_memsize_of(),
  gc_mark_children() in gc.c.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-16 01:53:10 +00:00
normal ed2e8b2e70 time.c (time_timespec): fix tv_nsec overflow
test/ruby/test_float.rb (test_sleep_with_Float) causes tv_nsec
to hit 1000000000 exactly.  This bug is currently hidden from
our test by the platform-dependent native_cond_timeout
functions, but a future native_cond_timedwait implementation may
prefer relative timeouts to match ConditionVariable#wait
semantics more closely.
[Bug #10144]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-16 01:27:19 +00:00
svn e51a55903e * 2014-08-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-16 00:55:47 +00:00
nobu 8f98ee19b5 ChangeLog: fix name
* ChangeLog: fix newly added function name.  [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-16 00:55:36 +00:00