nobu
b67bc8d722
* test/date, test/rdoc: exclude tests dependent on unbundled libraries.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-22 09:34:59 +00:00
naruse
9e4ddb8f18
Revert "* common.mk (test-all): shut up nonsense skipping messages."
...
This reverts commit r34734.
Use -q on your environment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-22 09:06:40 +00:00
nobu
31d8a97657
* io.c (rb_io_s_foreach): argument check before making Enumerator.
...
[ruby-dev:31525]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-22 08:36:25 +00:00
nobu
873b56fd50
* io.c (rb_io_s_foreach): return enumerator including kerword
...
arguments. [ruby-dev:45267][Bug #6054 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-22 08:07:38 +00:00
nobu
e093cfae7a
* common.mk (test-all): shut up nonsense skipping messages.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-22 06:47:09 +00:00
nobu
0c8811595a
* ChangeLog: remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-22 06:39:57 +00:00
kazu
86716b9768
remove unbalanced parenthesis
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-22 03:50:02 +00:00
naruse
a23f06358e
* configure.in: allow llvm-gcc because it work fine with r34278.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-22 03:22:08 +00:00
naruse
b790678398
* regparse.c (fetch_token): don't use // comment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-22 02:03:56 +00:00
nobu
8e799c3e5b
* test/mkmf/test_framework.rb: try CoreFoundation framework, than
...
Cocoa which is dependent on QuickTime SDK which has separated
since Xcode 4.3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-22 01:32:14 +00:00
nobu
1aa4e11d16
* common.mk (test-all, test-ruby): more dependencies.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-22 01:18:09 +00:00
drbrain
9dc0d6fe63
* file.c (rb_f_test): Fix formatting of Kernel#test rdoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-21 23:02:29 +00:00
akr
8963f50f26
* ext/dbm/extconf.rb: check DBM_SUFFIX for Mac OS X.
...
Its ndbm.h doesn't include db.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-21 21:13:52 +00:00
svn
80a6b1474d
* 2012-02-22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-21 21:04:09 +00:00
akr
eac1d9cfca
* ext/dbm/dbm.c (fdbm_initialize): disable Berkeley DB error messages.
...
* ext/dbm/extconf.rb: check DBC type for above.
[ruby-dev:45269]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-21 21:04:04 +00:00
nobu
ca9b0f56fc
* hash.c (rb_any_hash): treat Qundef like as other special constants.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-21 11:23:50 +00:00
nobu
bc3b4ddddd
* hash.c (hash_foreach_iter): fix signature.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-21 11:22:49 +00:00
akr
25df75e119
* ext/curses/curses.c (Init_curses): use curses_version() for
...
Curses::VERSION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-21 10:40:20 +00:00
nari
c98fd7da8a
revert a file which is committed wrong.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-21 09:41:09 +00:00
nari
0d44bf83da
* gc.c : remove gc_clear_mark_on_sweep_slots() and use
...
rest_sweep() instead of it, because some dead objects might be
marked in next the mark phase by false pointers.
[ruby-core:42672]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-21 09:35:07 +00:00
nobu
2e733be0b2
* proc.c (rb_hash_proc): get wrapped pointer properly. [Bug #6048 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-21 07:08:21 +00:00
nobu
a5e49f9901
* template/ruby.pc.in: added rubylibprefix, {rubylib,vendor,site}dir
...
and {ruby,vendor,site}archdir. [ruby-core:42766][Feature #6052 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-21 05:41:12 +00:00
marcandre
f12c14d3ef
* proc.c (method_hash, proc_hash): Fix {Unbound}Method#hash
...
[Bug #6048 ]. Isolate hash computation for proc
* internal.h: Declaration for above
* vm_method.c (rb_method_definition_hash): Computation for
hash part of a method definition
* method.h: Declaration for above
* test/ruby/test_method.rb: Test for above
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-21 00:13:44 +00:00
matz
3052f75db4
* enumerator.c (enumerator_rewind): update the documentation.
...
fixed : #6053
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-20 17:59:43 +00:00
nobu
8e6dfeecc9
* tool/rubytest.rb: separate errors from dots.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-20 15:59:15 +00:00
svn
e5cb1bb930
* 2012-02-21
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-20 15:00:39 +00:00
akr
a1292c72ef
update comment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-20 15:00:35 +00:00
usa
07d8dffe82
* enc/depend: ignore mktable.c because it's not encoding library.
...
[ruby-core:42760] [Bug #6049 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-20 14:40:01 +00:00
akr
b17bc95400
* ext/curses/extconf.rb: fold too long lines.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-20 12:41:23 +00:00
shirosaki
5cfba33a77
* lib/fileutils.rb: revert a line modified accidentally at r34669.
...
This fixes mingw test errors in TestDir_M17N.
[ruby-core:42728] [Feature #4970 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-20 12:30:11 +00:00
akr
83f742f86f
* ext/curses/curses.c (Init_curses): define Curses::VERSION.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-20 12:10:00 +00:00
akr
9f6f0788d2
* ext/curses/extconf.rb: restore $libs and $defs for each
...
header/library choice.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-20 12:09:25 +00:00
akr
faf4c9db80
* ext/dbm/extconf.rb: weaken header/library consistency check if db is
...
"ndbm". It seems several (possibly historical) distributions
provide libndbm. However the content of libndbm vary: Berkeley DB,
GDBM or even 4.3BSD NDBM. (Mandriva, Tru64 UNIX, OpenSuSE,
SCO OpenServer, ...)
"ndbm" is not searched automatically now (dblib doesn't contain it)
but configure --with-dbm-type=ndbm choose libndbm and ndbm.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-20 11:05:31 +00:00
akr
f8015c23c4
* ext/dbm/extconf.rb: refine variable names.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-20 10:16:25 +00:00
svn
aa27e42fd3
* 2012-02-20
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-20 06:50:40 +00:00
nobu
032d0a4cf7
* configure.in: check if -fstack-protector is really available.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-20 06:50:36 +00:00
akr
05a2cd709f
add a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-19 14:44:36 +00:00
akr
d7bf156afd
* ext/dbm/extconf.rb: show header and library found.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-19 14:44:24 +00:00
kazu
0e8cd8ae57
fix typos
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-19 14:14:44 +00:00
akr
95f3f9829f
* ext/dbm/dbm.c (Init_dbm): refine DBM::VERSION definition.
...
* ext/dbm/extconf.rb: provide RUBYDBM_GDBM_HEADER macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-19 14:02:14 +00:00
nari
87a15a6981
revert r34691 and r34689
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-19 10:18:16 +00:00
akr
1efa14169a
add assertions.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-19 08:33:01 +00:00
akr
460bb8a829
* test/dbm/test_dbm.rb (test_dbmfile_suffix): check pag and dir is
...
empty for 4.3BSD ndbm.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-19 08:08:37 +00:00
nobu
310c2adf1b
* enc/mktable.c (ENC_INFO): constify to suppress warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-19 06:36:45 +00:00
nari
f0e9fa3cb1
* gc.c (gc_clear_mark_on_sweep_slots): remove a unused variable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-19 04:11:19 +00:00
nari
55e6e9e384
* gc.c (gc_clear_mark_on_sweep_slots): uses slot_sweep() for
...
unsweeped slots, because some dead objects might be marked in
next the mark phase by false pointers. [ruby-core:42672]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-19 03:07:59 +00:00
nobu
541e1aff20
* regparse.c: fix warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-19 01:51:05 +00:00
akr
c509bec71d
cosmetic change.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-18 18:05:24 +00:00
akr
62debc952d
* test/dbm/test_dbm.rb (test_dbmfile_suffix): check magic numbers.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-18 18:01:02 +00:00
akr
0187905af2
* ext/dbm/extconf.rb: detect GDBM's ndbm.h by testing dbm_clearerr is
...
an empty macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-18 16:06:52 +00:00