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

14296 Коммитов

Автор SHA1 Сообщение Дата
ryan 7ab330203a Not a typo. The name is better plural. Better English and more consistent with the other assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-25 07:34:49 +00:00
jim ea94d40f4a updated to rake code to rake-0.8.3 source code base
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-25 07:01:07 +00:00
ryan c5746c45b2 I finally clued into the fact that test/unit's -x was for file level filtering... so that is not going into miniunit and instead goes into test/runner.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-25 06:57:05 +00:00
matz 2c59d0ee70 ChangeLog: should have mungle mail address.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-25 06:47:33 +00:00
nobu afcd528285 properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-25 03:56:43 +00:00
drbrain 858362e761 Import RDoc 2.2.1 r185
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-25 02:43:03 +00:00
nobu 00b4a3f9c4 * test: assert_raises has been deprecated since a long time ago.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 17:44:39 +00:00
akr 48fdf59dcf * io.c (rb_io_mode_enc): make it static.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 17:10:03 +00:00
nobu 607b1f2787 * lib/mini/test.rb (Mini::Assertions#assert_raise): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 16:22:42 +00:00
svn 4958c965b7 * 2008-09-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 16:02:40 +00:00
akr a7dd79c1b4 update rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 16:02:37 +00:00
xibbar 0f6375be69 * test/cgi/test_cgi_multipart.rb : revert last change.
( deprecated is assert_raises. )
* test/cgi/test_cgi_core.rb      : ditto.
* test/cgi/test_cgi_header.rb    : ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 14:43:05 +00:00
xibbar 3c419de10b * lib/cgi/core.rb (CGI::new, CGI::{accept_charset,accept_charset=}) :
accept parameters either in a hash,
  string as a block. add the encoding validation process. 
* test/cgi/test_cgi_core.rb : test for query encoding check.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 14:27:53 +00:00
usa 00e9e27b69 * string.c (rb_str_rstrip_bang): raise exception when the encoding of
the string is dummy.

	* string.c (rb_str_rstrip_bang): remove nul characters even if the
	  encoding of the string is not single byte optimizable.
	  fixed [ruby-core:18844], reported by Michael Selig.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 14:01:41 +00:00
akr ad50e0edb9 add a test. cf. [ruby-dev:36484].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 12:29:01 +00:00
akr 2fb01bc0d1 comment changed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 12:23:52 +00:00
usa a69021a699 * string.c (rb_str_strip_bang): workaround for VC++8 x64.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 10:04:20 +00:00
ryan 5b91aa9746 Allow for -v and other flags to be passed through properly
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 08:50:16 +00:00
ryan d34a75b061 removed basedir and runner args to test/runner.rb. not valid args anymore
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 08:44:54 +00:00
nobu cb723edfc8 * complex.c (Init_Complex), rational.c (Init_Rational): undefines
default #allocate methods which call the allocater.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 08:44:47 +00:00
ryan 1db825a047 Added ARGV filtering for tests. Allows for multiple values
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 08:19:12 +00:00
nobu 9aac312f77 * complex.c (Init_Complex), rational.c (Init_Rational): ID_ALLOCATOR
differs from :allocate, and invisible in ruby level.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 08:02:17 +00:00
matz 922048adee * string.c (rb_str_rstrip_bang): removing mixed spaces and nuls at
the end of strings.  [ruby-dev:36497]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 07:00:43 +00:00
nobu 022ddc7078 properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 06:38:10 +00:00
xibbar 2798319088 * test/cgi/test_cgi_multipart.rb : test for miniunit.
* test/cgi/test_cgi_core.rb      : ditto.
* test/cgi/test_cgi_header.rb    : ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 06:25:44 +00:00
usa cdc5ebd3f2 * lib/tmpdir.rb: setup buffer with nul characters instead of spaces.
fixed [ruby-dev:36493]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 05:39:39 +00:00
ryan ba73253e2b updated miniunit to defer error message creation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 03:51:19 +00:00
matz 9bf27f6b17 * io.c (rb_io_s_binread): offset argument was wrongly passed to
internal IO#read call.  [ruby-core:18810]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 02:31:12 +00:00
shyouhei 705b8b41eb * vm_core.h: ruby/ruby.h should be included at the very first
place in an entire compilation unit, as it includes
 	  ruby/config.h


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 22:43:53 +00:00
ryan 187812978a Updated changelog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 21:44:59 +00:00
ryan 8e05c69aa1 Added changes needed for miniunit. usually from using internal calls that aren't needed anymore.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 21:39:21 +00:00
ryan abef077ec7 Added miniunit 1.3.0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 21:36:05 +00:00
ryan 7c083f8c1f committed one dir too deep. THIS removes the rest of test/unit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 21:34:11 +00:00
ryan 62c17944c7 Removed test/unit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 21:32:19 +00:00
ko1 2e311f6bd5 * include/ruby/node.h, node.h: move node.h from include path.
This change stop to install node.h beacuase of saving ABI
  (node.h will be changed. Extensions should not depends on
  this file).
* blockinlining.c, class.c, compile.c, debug.h, enum.c,
  gc.c, iseq.c, parse.y, ruby.c, signal.c, variable.c,
  vm.c, vm_core.h, vm_dump.c: ditto.
* ext/ripper/depend: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 19:52:31 +00:00
ko1 57c4acf94a * vm_core.h: remove unused frame values.
(fix previous commit miss)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 19:11:06 +00:00
ko1 379bd56353 * vm_core.h: remove unused frame values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 19:09:58 +00:00
ko1 29f5911cf5 * signal.c (signal_exec): execute rb_eval_cmd() directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 19:09:11 +00:00
svn ce80820c0c * 2008-09-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 18:16:14 +00:00
drbrain 563b654437 Fix ruby -w warnings for mismatched indentation discovered by rdoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 18:16:08 +00:00
jeg2 f3ba845deb * lib/csv/csv.rb: Improved the idea of whitespace and word characters used
in substitutions during header conversion as suggested by Michael Selig.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 14:40:24 +00:00
akr c1759a9f18 * io.c (io_binwrite): allocate wbuf if nosync.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 12:51:39 +00:00
akr 0f1a1073f7 * io.c (copy_stream_body): use io_binwrite instead of io_fwrite.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 12:46:17 +00:00
tadf 74cb0507ab * test/ruby/test_rational2.rb: updated.
* test/ruby/test_complex2.rb: added.

	* test/ruby/test_complexrational.rb: added.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 12:34:35 +00:00
akr e7e5b731c2 * string.c (rb_str_casecmp): make the ordering consistent with
String#<=>.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 12:27:35 +00:00
akr 55783c696d * io.c (io_binwrite): add nosync argument.
(do_writeconv): extracted from io_fwrite.
  (io_fwrite): add nosync argument.  use do_writeconv.
  (io_write): add nosync argument.
  (io_write_m): new function for IO#write.
  (rb_p): don't append record separator.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 11:55:48 +00:00
ko1 445e26fb00 * signal.c (signal_exec): fix to use rb_proc_call().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 11:37:23 +00:00
matz 83abcf5a2c * lib/rexml/formatters/pretty.rb (REXML::Formatters::Pretty#wrap):
abandon wrapping if the line contains no space.  [ruby-dev:36045]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 11:09:39 +00:00
matz 6b90013d1e * io.c (rb_io_s_binread): a new method to read binary chunk from a
file.  [ruby-core:18674]

* io.c (open_key_args): wrong permission specified for read-open.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 10:48:17 +00:00
usa 743765cd3b * win32/win32.c (subtruct): check tv_sec. reported by ko1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 10:39:21 +00:00