akr
e5988f7404
update Proc#lambda? doc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 06:56:06 +00:00
nobu
1c3c98821b
* configure.in, cygwin/GNUmakefile.in, */Makefile.sub,
...
djgpp/config.hin.: version dependent directory names now contain
teeny.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 06:42:06 +00:00
akr
29cbf75cd0
* tool/serb.rb: removed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 06:29:43 +00:00
nobu
1ce28af999
* enc/trans: added
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 05:31:09 +00:00
nobu
4542f21a42
* proc.c (rb_proc_new), vm.c (invoke_block): removed u3.state magic.
...
[ruby-core:14310]
* test/ruby/test_symbol.rb (test_to_proc): a test from Frederick
Cheung <frederick.cheung AT gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 04:55:37 +00:00
nobu
7521299325
* thread.c (rb_thread_atfork): should not leave living_threads
...
referring freed table while allocating new table.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 04:43:38 +00:00
nobu
8d292a08df
* Makefile.in, configure.in, lib/mkmf.rb, */Makefile.sub: specify
...
compiled output file name explicitly.
* enc/Makefile.in, enc/depend: now makes compiler to put generated
files under directories corresnponding to the each source.
enc/trans supported.
* enc/make_encmake.rb: evaluates depend file before Makefile.in so
that the former can influence to CONFIG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 03:49:56 +00:00
nobu
7c45c61581
* win{32,ce}/Makefile.sub (MFLAGS): defaulted to -l.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 03:35:06 +00:00
drbrain
82a73f0aa0
Add svn:ignore for OS X Xcode 3's conftest.dSYM directories.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 03:11:30 +00:00
nobu
67d3013c5a
* common.mk: should not pass MAKEFLAGS to recursive make.
...
+ normal make: MFLAGS are set and command line options and macros
are all passed silently.
+ GNU make: ditto, and all options and macros in MAKEFLAGS are in
effect.
+ nmake: MFLAGS is not set and MAKEFLAGS has only options without
hyphen, no macros exist in any variables.
+ Borland make: ditto, and command line macros cannot override
macros in makefile, so passing them is vain.
* {bcc32,win{32,ce}}/Makefile.sub (SET_MAKE): set MFLAGS which is not
set by default, to get rid of chaotic situation of MFLAGS/MAKEFLAGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 02:56:33 +00:00
drbrain
836a01c510
Fix formatting of multiple paths
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 02:44:13 +00:00
matz
37855698ff
* string.c (rb_str_comparable): fixed to keep transitivity.
...
[ruby-dev:32693]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 02:40:55 +00:00
drbrain
7c92ab16a9
Fix display of GEMDIRS, make command command examples match ri's name.
...
Only allow latest ri dirs in ri output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 02:25:39 +00:00
nobu
42a523fc9b
* rb test/ruby/test_io_m17n.rb: set properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 02:11:25 +00:00
drbrain
a350a39c97
Fix Regexp warnings in lib/uri. Patch #16524 by Kornelius Kalnbach.
...
[ruby-core:14302]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 01:51:49 +00:00
drbrain
d0c819cf94
Remove methods from Gem, not QuickLoader, to fix warnings
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 01:38:43 +00:00
akr
e2630984e9
add a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 01:09:37 +00:00
akr
c806d3f53f
add a test for String#hash.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 00:55:36 +00:00
duerst
9c7718ac6b
Mon Dec 24 09:45:45 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
...
* transcode.c, transcode_data_one_byte.c, transcode_data_japanese.c:
added rb_ prefix to external data symbols.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 00:47:21 +00:00
akr
888a89153a
add some tests on conversion for pipe.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 23:57:14 +00:00
matz
0fbe6b5da1
* array.c (rb_ary_at): updated documentation. a patch from Tadashi
...
Saito <shiba AT mail2.accsnet.ne.jp> in [ruby-core:14330].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 21:37:28 +00:00
matz
161ed7c0dc
ChangeLog: wrong name checked in. sorry. [ruby-core:14331]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 21:33:45 +00:00
matz
983f40b9d2
* README.EXT: updated. a patch from Keita Yamaguchi
...
<keita.yamaguchi AT gmail.com> in [ruby-core:14328].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 21:01:25 +00:00
matz
9bfdc4e736
* enum.c (enum_inject): updated documentation. a patch from Keita
...
Yamaguchi <keita.yamaguchi@gmail.com> in [ruby-dev:32686].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 20:35:12 +00:00
matz
19cf57f21c
* string.c (tr_trans): should associate new encoding if modified.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 20:13:55 +00:00
matz
c749064f9f
* io.c (appendline): should do multibyte aware RS search.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 19:55:18 +00:00
matz
b4f2e2ba07
* io.c (io_enc_str): should preserve default_external encoding.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 19:29:01 +00:00
akr
b487d9459d
add test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 19:15:48 +00:00
gotoyuzo
e963ff1e98
* test/net/http/test_https.rb: should rescue LoadError.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 19:05:39 +00:00
ko1
9f34b73009
* cont.c, vm.h: fix to support sparc machine.
...
a patch from Yusuke ENDOH <mame AT tsg.ne.jp>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 19:03:23 +00:00
akr
3f623cfba1
add ML ref.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 19:00:03 +00:00
matz
65a0050268
* string.c (str_new_shared): was setting embedding flag of wrong
...
string object. [ruby-dev:32685]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 18:58:09 +00:00
akr
924f5f0f10
test reflexive, symmetric and transitive relation of String#==.
...
String#chop test refined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 18:54:22 +00:00
ko1
f03abbce93
* common.mk: remove additional "-".
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 18:41:17 +00:00
akr
6604434cd6
add tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 18:22:59 +00:00
matz
459ca7f3f0
* io.c (prepare_getline_args): convert RS to external encoding.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 18:12:44 +00:00
matz
7ea8ec5483
* io.c (rb_io_check_readable): should not fill fptr->enc always.
...
read-write IO (e.g. socket) does not work. [ruby-dev:32685]
* io.c (io_read_encoding): retrieve reading encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 18:01:16 +00:00
matz
5f9748deb7
* io.c (rb_io_external_encoding): should return the encoding of
...
the file reading.
* io.c (rb_io_internal_encoding): should return the encoding of
read string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 17:38:32 +00:00
akr
7e237b9813
add assertions.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 17:31:32 +00:00
matz
648cd42f77
* io.c (rb_f_open): documentation update.
...
* io.c (rb_io_s_pipe): ditto.
* io.c (io_fwrite): wrong encoding destination.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 17:13:07 +00:00
akr
df1312e2db
update tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 17:12:57 +00:00
akr
751bb53a4b
add test for IO.pipe.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 17:05:40 +00:00
matz
93444eea15
* io.c (rb_io_s_pipe): allow specifying read-side encoding.
...
* io.c (io_enc_str): wrong encoding destination.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 16:48:28 +00:00
akr
f5512ba7a3
add tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 16:35:43 +00:00
akr
4b45ef7ba3
add assertion messages.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 16:25:49 +00:00
akr
8fb23913ad
more IO m17n tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 16:10:36 +00:00
matz
fa1e530063
* string.c (rb_str_comparable): comparison including broken
...
coderange strings do not consider encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 16:07:09 +00:00
matz
61ea3fd50d
* io.c (open_key_args): IO direct methods (foreach, readlines,
...
read) now takes keyword argument: encoding, mode, open_args.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 16:02:46 +00:00
matz
2e791ace7f
* io.c (rb_io_s_read): encoding argument reverted.
...
* io.c (mode_enc): independent function to share code.
* io.c (rb_io_internal_encoding): new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 15:56:41 +00:00
matz
53e0672c4e
* test/ruby/test_beginendblock.rb (TestBeginEndBlock::test_endblockwarn):
...
rename endblockwarn.rb to endblockwarn_rb to avoid unnecessary
warning in make test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 15:48:39 +00:00