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

29880 Коммитов

Автор SHA1 Сообщение Дата
kosaki 3887a34c90 * thread_pthread.c (USE_SLEEPY_TIMER_THREAD): use more accurate
ifdef condtions.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10 03:59:19 +00:00
kosaki 5cebbe8f9b * thread_pthread.c (set_nonblock): new helper function for set O_NONBLOCK.
* thread_pthread.c (rb_thread_create_timer_thread): set O_NONBLOCK
  to timer_thread_pipe[0] too.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10 03:59:07 +00:00
svn e2e374e45a * 2013-03-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10 00:18:59 +00:00
tadf ec9eabc6c2 * complex.c: described syntax of string form.
* rational.c: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10 00:18:52 +00:00
nobu b3265c0ed6 marshal.c: check for prepended
* marshal.c (w_extended): check for prepended object.
  [ruby-core:53206] [Bug #8043]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-09 02:58:45 +00:00
marcandre b0c40fca24 * io.c: Fix rdoc typo [Github fixes #256]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-09 01:01:25 +00:00
nobu 0230ff7020 configure.in: note to remove a hack
* configure.in (rm): note to remove this hack when AC_PREREQ(2.70) or
  later.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-09 00:17:51 +00:00
nobu 198a2eac90 fix commit miss
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-09 00:05:40 +00:00
nobu 6c4ab3f439 load.c: hide internal objects
* load.c (rb_construct_expanded_load_path, Init_load): hide internal
  objects, expanded_load_path, {load_path,loaded_features}_snapshot,
  and loaded_features_index in the VM, and ruby_dln_librefs.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-09 00:03:40 +00:00
nobu 1b7143309b load.c: move loop invariant condition
* load.c (rb_feature_p): move this_feature_index condition which is
  loop invariant.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08 23:54:41 +00:00
nobu 8237581a2e load.c: reduce indexes arrays
* load.c (features_index_add_single, rb_feature_p): store single index
  as Fixnum to reduce the number of arrays for the indexes.  based on
  the patch by tmm1 (Aman Gupta) in [ruby-core:53216] [Bug #8048].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08 23:37:02 +00:00
svn 28d7cd1098 * 2013-03-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08 15:26:09 +00:00
nobu 0316cf2e52 marshal.c: prepended objects
* marshal.c (r_object0): load prepended objects.  treat the class of
  extended object in the included modules as prepended singleton
  class. [ruby-core:53202] [Bug #8041]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08 15:26:08 +00:00
nobu e14095fff2 marshaltestlib.rb: descriptive assertions
* test/ruby/marshaltestlib.rb (MarshalTestLib#test_string_ivar)
  (MarshalTestLib#test_string_subclass_cycle): use more descriptive
  assertions.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08 15:26:05 +00:00
knu 6f59a8b4a2 * man/rake.1, man/ruby.1: Use the Pa macro to make URLs stand out.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08 11:16:00 +00:00
nobu 1a633537f8 assertions.rb: split lines
* lib/test/unit/assertions.rb (Test::Unit::Assertions#message): split
  msg and default procs by period and newline.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08 07:09:14 +00:00
nobu 3d88196632 assertions.rb: allow proc
* lib/test/unit/assertions.rb (Test::Unit::Assertions#message):
  convert msg by call if it is a proc, as well as assert.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08 07:02:37 +00:00
nobu 4a3970c211 load.c: reorder conditions
* load.c (loaded_feature_path): reorder conditions so simple
  comparision comes first.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08 05:47:52 +00:00
nobu d415f2abac configure.in: suppress error messages
* configure.in: suppress error messages, rm: cannot remove
  'conftest.dSYM', from AC_EGREP_CPP with CFLAGS=-g on Darwin.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08 05:24:26 +00:00
nobu 5ebffacf17 * tool/rbuninstall.rb: remove symlinks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08 05:24:23 +00:00
zzak 7d183dab15 * ext/pathname/pathname.c (path_f_pathname): rdoc for Pathname()
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08 04:21:43 +00:00
zzak df9d847e0b * man/rake.1: Document ENVIRONMENT variables on RAKE(1) manpage
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08 03:01:47 +00:00
zzak 9c1fbec873 * lib/webrick/httpproxy.rb: Fix typos in HTTPProxyServer [Bug #8013]
Patch by Nobuhiro IMAI [ruby-core:53127]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08 01:46:59 +00:00
marcandre 0003ac99cc Remove very obsolete test code
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08 01:21:41 +00:00
marcandre 7afb2eaddd Update ChangeLog for r39628
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-07 18:17:56 +00:00
svn 131fa91fce * 2013-03-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-07 17:54:55 +00:00
marcandre dfde34cb3c * class.c (rb_mod_ancestors): Include singleton_class in ancestors list
[Feature #8035]

* test/ruby/test_module.rb (class): test for above

* test/ruby/marshaltestlib.rb (module): adapt test

* NEWS: list change

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-07 17:54:49 +00:00
nobu 221f2a1d8a compile.c: zsuper keyword args
* compile.c (iseq_compile_each): pass keyword arguments to zsuper,
  with current values.  [ruby-core:53114] [Bug #8008]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-07 05:21:40 +00:00
nobu 8a6898394c compile.c: nd_line(node)
* compile.c (iseq_compile_each): keep nd_line(node) in a local
  variable.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-07 05:17:04 +00:00
nobu fedf4c2250 compile.c: calc in int
* compile.c (iseq_compile_each): calculate argc as int, not as Fixnum.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-07 05:17:00 +00:00
nobu 3016b65abf .gdbinit: initialize color sequences
* .gdbinit (hook-run): initialize color sequences for each runs.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-07 04:38:50 +00:00
nobu 94daa860e5 iseq.c: keyword arguments
* iseq.c (rb_iseq_disasm): fix keyword arguments index.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-07 04:38:45 +00:00
drbrain 9926b16d35 * ChangeLog:
* lib/rubygems/commands/setup_command.rb (class Gem):
	* lib/rubygems/commands/setup_command.rb (TEXT):
	* lib/rubygems/spec_fetcher.rb (class Gem):
	* lib/rubygems/test_utilities.rb (class Gem):
	* lib/rubygems.rb (module Gem):
	* test/rubygems/test_gem_commands_setup_command.rb (class TestGemCommandsSetupCommand):
	* test/rubygems/test_gem_spec_fetcher.rb (Upgraded http):


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-07 04:06:30 +00:00
drbrain 105361d9d4 * ChangeLog:
* lib/rubygems/commands/setup_command.rb (class Gem):
	* lib/rubygems/commands/setup_command.rb (TEXT):
	* lib/rubygems/spec_fetcher.rb (class Gem):
	* lib/rubygems/test_utilities.rb (class Gem):
	* lib/rubygems.rb (module Gem):
	* test/rubygems/test_gem_commands_setup_command.rb (class TestGemCommandsSetupCommand):
	* test/rubygems/test_gem_spec_fetcher.rb (Upgraded http):


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-07 04:01:28 +00:00
svn 3d4d937709 * 2013-03-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-07 01:39:15 +00:00
nobu 1a71b8718a rbinstall.rb: gem subdirectories
* tool/rbinstall.rb (gem): Gem.ensure_gem_subdirectories now has mode
  option since r39607.  refix of r38870.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-07 01:39:13 +00:00
nobu e4e82e50ab common.mk: reinstall target
* common.mk (reinstall): new target.

* defs/gmake.mk (install, uninstall): can't run parallel.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-07 01:39:10 +00:00
nobu 5f5d915512 iseq.c: keyword arguments
* iseq.c (rb_iseq_disasm): show keyword arguments info, in format
  "keyword: NUM@LIDX".

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-06 13:24:06 +00:00
nobu 5c1af05ef5 defs/gmake.mk: serialize test targets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-06 11:59:23 +00:00
nobu 0af37bf0c5 configure.in: fix unexpand_shvar
* configure.in (unexpand_shvar): remove guarding quotes at last.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-06 10:22:29 +00:00
nobu 6332415800 GNUmakefile.in: new template
* template/GNUmakefile.in: split from configure.in.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-06 06:30:08 +00:00
nobu 6f4d00e565 process.c: fix error message
* process.c (check_exec_redirect_fd): fix error message for unknown
  symbol.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-06 06:30:06 +00:00
nobu 2d1c94a18d prefix global symbols
* iseq.c (rb_insn_operand_intern): prefix global symbols.

* numeric.c (ruby_num_interval_step_size): ditto.

* vm_backtrace.c (rb_vm_backtrace_str_ary),
  (rb_vm_backtrace_location_ary, rb_vm_thread_backtrace),
  (rb_vm_thread_backtrace_locations): ditto.

* vm_trace.c (rb_vm_trace_mark_event_hooks): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-06 06:30:03 +00:00
nobu 4f59a115fd intern.h: macro rb_check_arity
* include/ruby/intern.h (rb_check_arity): same name macro for backward
  compatibility checking by ifdef.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-06 06:29:57 +00:00
drbrain d1e3c63245 * test/rubygems/test_gem_spec_fetcher.rb: Removed unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-06 04:14:38 +00:00
drbrain 48d5694f7e * test/rubygems/test_require.rb: Fix tests when 'a.rb' exists.
[ruby-trunk - Bug #7749]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-05 23:11:43 +00:00
drbrain 6e48ce9c11 * lib/rubygems.rb: Allow specification of directory permissions.
[ruby-trunk - Bug #7713]
* test/rubygems/test_gem.rb:  Test for the above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-05 23:02:00 +00:00
drbrain 7a88ad0a42 * lib/rubygems/commands/query_command.rb: Only fetch remote specs when
showing details.  [ruby-trunk - Bug #8019]  RubyGems bug #487
* lib/rubygems/remote_fetcher.rb:  ditto.
* lib/rubygems/security/policy.rb:  ditto.
* test/rubygems/test_gem_commands_query_command.rb:  Test for the
  above.

* lib/rubygems/security.rb:  Make OpenSSL optional for RubyGems.
* lib/rubygems/commands/cert_command.rb:  ditto.

* lib/rubygems/config_file.rb:  Display file with YAML error, not
  ~/.gemrc

* lib/rubygems/remote_fetcher.rb:  Only create gem subdirectories when
  installing gems.
* lib/rubygems/dependency_resolver.rb:  ditto.
* lib/rubygems/test_utilities.rb:  ditto.
* test/rubygems/test_gem_commands_fetch_command.rb:  Test for the
  above.

* lib/rubygems/spec_fetcher.rb:  Only try to upgrade
  http://rubygems.org to HTTPS
* test/rubygems/test_gem_spec_fetcher.rb:  Test for the above.

* lib/rubygems.rb:  Update win_platform? check for JRuby compatibility.

* test/rubygems/test_gem_installer.rb:  Update for Ruby 1.9.2
  compatibility


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-05 22:40:53 +00:00
svn 32fa37f53c * 2013-03-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-05 16:31:24 +00:00
kazu dbec401c11 use INT2FIX(0) instead of INT2NUM(0).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-05 16:31:19 +00:00