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

14638 Коммитов

Автор SHA1 Сообщение Дата
yugui afea4a4995 * test/minitest/test_mini_test.rb (test_filter_backtrace):
fixed failure on Ruby built at out of $(srcdir).

* test/minitest/test_mini_test.rb (test_Filter_backtrace_unit_starts):
  ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-27 02:39:17 +00:00
kazu 83acdeedd8 fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-27 02:15:08 +00:00
usa db8e3024e7 * io.c (read_all): the 3rd argument maybe Qnil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-27 01:03:22 +00:00
mame 52061f4ecd * test/nkf/test_nkf.rb: add a test for [ruby-dev:36909].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-26 16:31:15 +00:00
svn abfddf2cd9 * 2008-10-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-26 16:08:08 +00:00
naruse f850cf2866 * ext/nkf/nkf.c (rb_nkf_convert): avoid GC.
reported in [ruby-dev:36909] and patched [ruby-dev:36941] by mame.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-26 16:08:03 +00:00
mame 5cc0569281 * set svn:ignore property to ext/mathn/complex and ext/mathn/rational
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-26 14:32:50 +00:00
nobu 824e1e4265 * ChangeLog: fixed indentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-26 13:49:10 +00:00
mame 2b3f026b8a * test/json/test_json.rb: remove dependency on permutation gem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-26 12:30:07 +00:00
nobu 945faf92e6 * gem_prelude.rb: disables debug and verbose flags to suppress failure
messages.  interpolation does not occur inside single quotes.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-26 10:18:39 +00:00
nobu b98a6b7ac0 * test/ruby/envutil.rb (assert_in_out_err): disables builtin rubygems
to get rid of the interference.

* test/ruby/test_io.rb (ruby): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-26 09:42:21 +00:00
nobu bcf61f58d5 * ext/io/wait/{extconf.rb,wait.c}: needs sys/ioctl.h for fcntl on
cygwin.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-26 09:11:40 +00:00
nobu 201eb37d92 * ext/etc/etc.c (sGroup): getgrent may not be available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-26 09:07:37 +00:00
nobu 860fad971d * thread.c (blocking_region_{begin,end}): declared as inline.
* util.c (freedtoa): used only when MULTIPLE_THREADS is not defined.

* win32/win32.c (rb_w32_pipe): serial is DWORD.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-26 09:01:23 +00:00
nobu 425dcb131e * missing/vsnprintf.c (BSD__sfvwrite): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-26 06:05:21 +00:00
nobu 0db5641dae * io.c (read_all): use the given buffer to read when needs readconv.
based on the patch by wanabe <s.wanabe AT gmail.com> at
  [ruby-dev:36931].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-26 04:30:45 +00:00
nobu c68aaa94f7 properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-26 00:42:33 +00:00
drbrain b61d8b6045 Update to RubyGems 1.3.1 r1909.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-25 22:58:43 +00:00
ryan 17358af75b Imported minitest 1.3.0 r4429. Fixes issues reported by akira and nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-25 22:38:09 +00:00
yugui fe7ce06150 * configure.in ($MANTYPE): followed ruby.1, which had moved.
* instruby.rb (:man): ditto.

* mdoc2man.rb: fixed for the case Xr with 2 arguments.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-25 17:20:05 +00:00
yugui 4dd24d6ba6 * man/irb.1: new manual page.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-25 16:44:13 +00:00
yugui 92d172e9c3 * man/ruby.1: moved into man/. added some descriptions.
* man/goruby.1: new file.

* instruby.rb (:man): followed ruby.1.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-25 15:15:24 +00:00
svn 357a0ddc9e * 2008-10-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-25 15:15:09 +00:00
yugui a40899b22c * ruby.1 (ENVIRONMENT): refered gem help.
(REPORTING BUGS): renamed the section BUGS.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-25 15:15:06 +00:00
nari ee1e8e1a9b * gc.c (gc_profile_result): bug fix. The millisecond is 1/1000.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-25 11:10:39 +00:00
nobu 520f1372e3 * test/ruby/test_proc.rb (test_proc_args_unleashed): test for
[ruby-core:19485].

* test/ruby/test_yield.rb (test_block_args_unleashed): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-25 09:47:54 +00:00
yugui 5106742893 * ruby.c (usage): updated the description of -E option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-25 02:18:53 +00:00
jeg2 dfda5877ca * lib/csv.rb: Fixed a bug in read_to_char() that would slurp
whole files if the encoding was invalid.  It will now read
  up to 10 bytes ahead to find a valid character boundary or
  give up.  [ruby-core:19465]
* test/csv/test_features.rb, test/csv/test_table.rb, test/csv/test_row.rb:
  Loosened some tests to check for a compatible? Encoding instea
  of an exact Encoding.  [ruby-core:19470]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-25 00:54:38 +00:00
drbrain 7222e82a8b Import RDoc 2.2.2 r192
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 23:05:28 +00:00
nobu da6300e8f8 * enc/us_ascii.c (us_ascii_mbc_enc_len): made static. a patch by
Tadashi Saito <shiba AT mail2.accsnet.ne.jp> at [ruby-dev:36916]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 19:00:35 +00:00
nobu 5c3fe0e339 * signal.c (signal_buff): made static. a patch by Tadashi Saito
<shiba AT mail2.accsnet.ne.jp> at [ruby-dev:36915]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 18:58:52 +00:00
nobu d8267b72b5 * util.c (freedtoa): made static to get rid of name clash. a patch by
Tadashi Saito <shiba AT mail2.accsnet.ne.jp> at [ruby-dev:36913]

* util.c (ruby_dtoa): added prefix, ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 18:56:31 +00:00
nobu a26b7a0c82 * parse.y (lambda): need to adjust lpar_beg for both of the parser and
ripper.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 18:43:27 +00:00
matz 0ad553ce58 * ext/mathn/rational/rational.c: undef duplicated macro definition
first to shut up the warning.

* ext/mathn/rational/rational.c (rb_rational_new_mathn): specify
  omitted return value.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 16:30:09 +00:00
nobu 4f577310ce * array.c (rb_ary_sample): fixed sizes and randomness.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 15:14:44 +00:00
yugui 5660e09f08 * configure.in (sitedir): considers --program-prefix and
--program-suffix.
  (vendordir): ditto.
  (rubyhdrdir): ditto.

* mkconfig.rb (CONFIG["rubylibdir"]): ditto.

* win32/Makefile.sub: ditto.

* instruby.rb (:rdoc): ditto.

* lib/rdoc/ri/paths.rb (RDoc::RI::Paths): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 14:05:49 +00:00
mame f7d4df50c0 * test/ruby/test_array.rb (test_sample): add tests for size of
returned array and randomness.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 14:01:21 +00:00
nobu 3093546f1f * id.h, template/id.h.tmpl (enum ruby_method_ids): reordered.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 12:50:35 +00:00
keiju f953305ff5 * ext/mathn/rational.c: change several global functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 12:20:58 +00:00
xibbar b1c14f8fbb * lib/cgi/html.rb: allow symbolized key.
* test/cgi/test_cgi_tag_helper.rb: add a test.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 12:10:27 +00:00
nobu 1e2b744ed2 * common.mk (exts): renamed to get rid of the existent directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 11:55:07 +00:00
nobu 18bf43f6e7 properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 11:52:30 +00:00
keiju 7e8ab850b0 * ext/mathn/rational.c: change several global functions to static
function.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 11:47:59 +00:00
xibbar 23ed2fcc31 fix test for 1.8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 11:05:39 +00:00
matz 3896936492 * string.c (rb_str_dump): should have removed commented out
unnecessary code.  [ruby-cvs:27131]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 10:58:33 +00:00
shyouhei 78d2b00893 * string.c (rb_str_dump): do not use C++ comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 10:30:09 +00:00
shyouhei 5ff7af42b0 * id.h (enum ruby_method_ids): ISO C forbids comma at end of
enumerator list



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 10:24:01 +00:00
keiju 4f817e2a9d * lib/mathn.rb: moved into ext/mathn/rational/rational.c and
ext/mathn/complex/complex.c.
 * ext/mathn: new mathn ext-libralies.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 09:39:53 +00:00
matz 9afe0278b3 * test/ruby/test_array.rb (TestArray#test_join): should restore
global variable after the test.  [ruby-dev:36896]

* test/ruby/test_hash.rb (TestHash#test_to_s): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 09:25:05 +00:00
matz 5f7be192df ChangeLog: adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 09:09:34 +00:00