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

20147 Коммитов

Автор SHA1 Сообщение Дата
knu ce863c6143 * LGPL: Removed. We no longer have LGPL'd source files in our
tree.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-27 03:47:26 +00:00
nobu a43852a3a4 * random.c (random_rand): add the result of random to the
beginning of range, not the opposite.  [ruby-dev:41415]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-26 11:19:30 +00:00
usa fd8a1c725b * file.c (file_expand_path): revert a part of r22392. it's commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-26 11:04:43 +00:00
tarui cb2161b3db * ChangeLog: fix wrong format.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-26 10:06:02 +00:00
tarui ea75767010 * test/rinda/test_rinda.rb (class TupleSpaceTest): kill a used thread
at teardown. [ruby-dev:41397]
* test/rinda/test_rinda.rb (class TupleSpaceProxyTest): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-26 09:45:49 +00:00
usa dd32962cba * test/open-uri/test_open-uri.rb (test_find_proxy_case_sensitive_env):
environment variable name is not case sensitive on Windows


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-26 08:25:15 +00:00
usa 97596f36bc * test/test_tempfile.rb: skip some tests on Windows because unlinking is always
delayed till closed.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-26 06:37:08 +00:00
nobu 93bbd7869c * random.c (random_rand): subtraction method of non-numeric can
return Float, and add the result of random to the beginning of
  range, not the opposite.  [ruby-dev:41410]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-26 03:08:07 +00:00
drbrain dd8d4f0075 document marshal_dump and marshal_load
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-26 02:50:58 +00:00
nobu 259c3a1c4c * configure.in (rb_cv_large_fd_select): needed on mingw, even
though fd_mask is not available.  [ruby-core:30401]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-26 01:35:38 +00:00
svn 56734a1901 * 2010-05-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-25 15:12:22 +00:00
naruse 81c5ede3ca * regparse.c (add_code_range_to_buf0): fix false negative
warning when given range is just before previous range.
  [ruby-dev:41406]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-25 15:12:19 +00:00
akr 415be47593 update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-25 14:26:04 +00:00
akr c3f2d17abe refine an assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-25 14:25:55 +00:00
nobu 42c16a3b07 * misc/ruby-style.el (ruby-style-version): take revision if
keyword is expanded. [ruby-dev:41408]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-25 07:37:41 +00:00
usa 2081114600 * test/test_find.rb: skip some tests on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-25 07:03:31 +00:00
nobu 847a785169 * include/ruby/vm.h, include/ruby/encoding.h: add external
linkage.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-25 04:26:50 +00:00
naruse 7235ced64b Ignore Makefile etc of json, fiddle and io/console.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-25 03:07:40 +00:00
svn 75497d8a3d * 2010-05-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-24 16:48:03 +00:00
mame 948185248c * vm_eval.c (rb_f_caller): update rdoc. a patch from Nobuhiro IMAI
<nov at yo.rim.or.jp> in [ruby-dev:41387].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-24 16:48:00 +00:00
akr 0344bece9f * error.c: fix wrong exception class name in rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-24 14:05:33 +00:00
akr c3ebf85a81 fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-24 14:02:07 +00:00
akr 3cea675fbe add an assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-24 13:50:05 +00:00
nobu bf36feb76d * parse.y (warn_balanced, parser_yylex): no warnings after closing
parens.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-24 10:00:36 +00:00
nobu e9ff453d86 * common.mk (change, prelude): phony targets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-24 09:31:46 +00:00
nobu bb512fddae * tool/change_maker.rb: line number may not present.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-24 06:32:53 +00:00
nobu c5652b9008 * tool/change_maker.rb: use external diff for -p option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-24 06:10:09 +00:00
nobu e16c316b52 * common.mk (change), tool/change_maker.rb: make a brief template
for ChangeLog.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-24 03:52:46 +00:00
usa ccba83feff * gc.c (gc_sweep): suppres a warning on VC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-24 00:21:33 +00:00
nobu d837ce5eda * process.c (rb_f_spawn): use correct command name for the error
message.  [ruby-dev:41395]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-23 23:16:09 +00:00
nobu b4f1eaa493 * ext/openssl/lib/openssl/x509-internal.rb, lib/forwardable.rb,
lib/irb/cmd/fork.rb, lib/mutex_m.rb,
  lib/shell/process-controller.rb, lib/sync.rb, object.c: 
  suppress warnings patched by Benoit Daloze at [ruby-core:30366].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-23 08:48:44 +00:00
nobu 39f09ca13f * parse.y (warn_balanced): no warning for singleton class.
[ruby-core:30366]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-23 08:40:36 +00:00
nobu 14f7df242f * include/ruby/ruby.h (CONST_ID_CACHE, rb_intern_const): suppress
warnings with -Wconversion.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-23 07:56:15 +00:00
svn de26aaa57a * 2010-05-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-22 22:12:43 +00:00
tenderlove 044d6010fd * ext/psych/lib/psych/json/stream.rb: adding a JSON streaming API
* ext/psych/lib/psych/stream.rb: ditto
* ext/psych/lib/psych.rb: using autoload
* ext/psych/lib/psych/json.rb: ditto
* ext/psych/lib/psych/json/tree_builder.rb: refactor
* ext/psych/lib/psych/visitors/json_tree.rb: refactor

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-22 22:12:39 +00:00
nobu eb5f96d70c * numeric.c (rb_num2ulong): explicit cast to suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-22 08:14:02 +00:00
svn 3885841dce * 2010-05-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 18:55:54 +00:00
kosaki 51ba9a6b14 * cont.c (fiber_setcontext): Use swapcontext() instead longjmp().
[ruby-dev:41316] [Bug #3295]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 18:55:50 +00:00
nobu 6d1940fed9 * ext/nkf/nkf.c (rb_nkf_convert, rb_nkf_guess): check too huge
string.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 10:11:44 +00:00
nobu ca3f208b3b * ext/syck/implicit.c (YYFILL): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 09:21:58 +00:00
nobu d6fe62e943 * configure.in (warnflags): removed -pedantic after all.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 09:12:14 +00:00
nobu 87af442f94 * suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 09:10:23 +00:00
nobu c6b6293bc1 * configure.in: fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 08:39:07 +00:00
nobu c09c6ee579 * configure.in (warnflags): add -pedantic if gcc.
* include/ruby/ruby.h (rb_intern): C90 needs nonempty macro
  arguments.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 08:35:18 +00:00
kazu 5b6bc69fd7 fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 08:24:50 +00:00
nobu 2b8fb39dcb * configure.in (LIBRUBYARG_SHARED): shared library will not be
created unless enable-shared.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 04:55:48 +00:00
nobu 73997d38f4 * ruby.c (ruby_init_loadpath_safe): use real path for non-shared
build.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 04:35:58 +00:00
nobu b32e8a5911 * vm.c (vm_backtrace_each), vm_eval.c (rb_catch_obj): suppress
warnings.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 03:57:11 +00:00
nobu e207a3912c * marshal.c (w_float): use dtoa directly instead of stripping
needless trailing .0.

* numeric.c (flo_to_s): reverted.  [ruby-dev:41341]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 03:26:00 +00:00
svn 0303a1ca43 * 2010-05-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-20 16:13:38 +00:00