drbrain
7d3fc8ff2b
Rescue Exception in Test::Unit::TestCase#run. [ruby-core:08783]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-09 05:14:40 +00:00
nobu
d70fc5798e
* bcc32/Makefile.sub (MINIRUBY): append MINIRUBYOPT.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-08 20:02:54 +00:00
nobu
fbe8d44d5c
* lib/pstore.rb: open all in binary mode, and get rid of the quirk of
...
msvcrt. fixed: [ruby-dev:29518]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-08 19:56:37 +00:00
nobu
b000ee600f
2006-09-09
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-08 19:48:54 +00:00
nobu
f594f850a4
* Makefile.in, win32/Makefile.sub (MINIRUBY): append MINIRUBYOPT.
...
* mkconfig.rb, ext/extmk.rb, lib/mkmf.rb, win32/mkexports.rb: suppress
warnings with $VERBOSE.
* win32/resource.rb: only file which has more than one icon is DLL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-08 19:48:22 +00:00
matz
82f7f29c59
* string.c (str_alloc): should allocate a String object, even when
...
asked to allocate a Symbol object. [ruby-dev:29529]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-08 07:55:51 +00:00
usa
3d1b573946
* ext/extmk.rb (extmake): follow Array#to_s.
...
* lib/mkmf.rb (create_makefile): ditto.
* win32/resource.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-08 07:38:53 +00:00
ser
ec847fad4e
Merged changes into HEAD from REXML 3.1.5.
...
The list of bug fixes/enhancements is at:
http://www.germane-software.com/projects/rexml/query?status=closed&milestone=3.1.5
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-08 02:03:44 +00:00
gotoyuzo
b2a8ca6dd6
* lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookies): new
...
method to parse multiple cookies per Set-Cookie header.
Thanks to Aaron Patterson <aaron_patterson at speakeasy.net>.
[ruby-core:08802]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-08 01:04:52 +00:00
nobu
eba74dc219
* win32/Makefile.sub, win32/configure.bat win32/setup.mak: program
...
name transform.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-08 00:00:12 +00:00
nobu
58b0275a4c
* lib/optparse.rb: suppress `assigning void value' warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-07 23:25:56 +00:00
matz
d1cb9e75d0
* array.c (Init_Array): #to_s to be an alias to #inspect.
...
[EXPERIMENTAL] [ruby-dev:29520]
* hash.c (Init_Hash): ditto.
* lib/mkmf.rb (create_makefile): replace "print array" by
"print *array".
* mkconfig.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-07 16:33:08 +00:00
matz
b06a278942
* object.c (nil_to_s): returns the empty string again.
...
[ruby-dev:29520]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-07 16:11:28 +00:00
matz
aa4f653fb9
2006-09-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-07 16:10:36 +00:00
matz
ddfc925c8d
* time.c (time_to_s): adopt new date format using digits
...
e.g. "2006-09-07 02:03:45 +9000".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-07 16:10:33 +00:00
nobu
585c61691e
* file.c (path_check_0, fpath_check): disable path check on cygwin.
...
[ruby-talk:213074]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-07 14:28:36 +00:00
matz
c390e61a86
2006-09-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-06 16:59:13 +00:00
matz
d314a7dd85
* string.c (sym_equal): override. check equivalence.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-06 16:59:10 +00:00
matz
301c9f1265
* parse.y (symbols_i): need to initialize early-created symbols.
...
[ruby-dev:29496]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-06 04:25:53 +00:00
naruse
103f6728df
* ext/nkf/lib/kconv.rb (Kconv::toeuc): remove -m0 [ruby-dev:29505]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-06 03:20:10 +00:00
naruse
847c10fa3e
2006-09-06
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-06 03:20:05 +00:00
nobu
ca9d8f0930
* ext/tk/tcltklib.c: use rb_ary_new3() since RARRAY_LEN() is not l-value.
...
* ext/tk/tkutil/tkutil.c: use RARRAY_PTR() and RARRAY_LEN() and etc.
fixed: [ruby-dev:29473]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-05 13:07:06 +00:00
nobu
6a0636b2d4
* time.c (time_to_s): variable declaration after an execution
...
statement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-04 21:48:47 +00:00
nobu
b9a508bb96
* file.c (path_check_0): check if sticky bit is set on parent
...
directories for executable path. fixed: [ruby-dev:29415]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-04 20:50:13 +00:00
matz
5f61a22950
* numeric.c (fix_plus): addition in Fixnum will never overflow
...
long. a patch from Ondrej Bilka <neleai at seznam.cz>.
[ruby-core:08794]
* numeric.c (fix_minus): ditto.
* bignum.c (rb_big_pow): eagerly truncate resulting bignum.
[ruby-core:08794]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-04 20:10:45 +00:00
matz
bedda2d27f
2006-09-05
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-04 17:21:55 +00:00
matz
cbe89cef1a
* time.c (time_to_s): make it conform to RFC2822 date format.
...
[ruby-dev:29467]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-04 17:21:53 +00:00
nobu
eff9686ded
* ext/dbm/extconf.rb: create makefile according to the result of check
...
for dbm header. fixed: [ruby-dev:29445]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-04 12:44:33 +00:00
tadf
7f0f585f32
updated based on date2 3.9.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-04 12:43:20 +00:00
nobu
448154a7da
* time.c (time_strftime): include nul character. fixed: [ruby-dev:29422]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-04 12:14:47 +00:00
matz
5b93abf50e
enum.c: revert last changes
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-04 07:42:10 +00:00
matz
52817c3654
* lib/cgi.rb (CGI::out): specify -x option for nkf.
...
* lib/cgi.rb (CGI::out): should not convert utf-8 implicitly using
NKF. it is too Japanese centric.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-04 07:40:46 +00:00
matz
9e0a2170fd
* parse.y (rb_id2sym): intern if id is attrset_id.
...
[ruby-dev:29420] [ruby-dev:29447]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-04 05:57:35 +00:00
matz
65e965a12f
2006-09-04
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-04 05:46:51 +00:00
matz
b4afac07bc
* eval.c (rb_f_local_variables): list symbols.
...
* struct.c (rb_struct_s_members_m): ditto.
* variable.c (ivar_i): ditto.
* variable.c (gvar_i): ditto.
* variable.c (cv_i): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-04 05:46:47 +00:00
nobu
85073d276a
* ruby.h (SYMBOL_P): Qnil and Qfalse are not Symbol.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-03 11:47:34 +00:00
nobu
0dbe495044
* lib/mkmf.rb: get rid of nil.to_s.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-03 06:34:13 +00:00
akr
94bfd049fd
revert the definition of _XOPEN_SOURCE_EXTENDED on HP-UX.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-02 22:23:14 +00:00
akr
f80cbcf912
* ext/socket/socket.c (ruby_connect): sockerrlen should be socklen_t.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-02 21:27:16 +00:00
akr
c76ff0753e
* ext/socket/extconf.rb: check arpa/inet.h for ntohs.
...
* ext/socket/socket.c: include arpa/inet.h if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-02 19:44:42 +00:00
akr
b23b5ed620
* ext/curses/curses.c: define _XOPEN_SOURCE_EXTENDED on HP-UX.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-02 19:09:56 +00:00
matz
10a0dea1f5
* string.c (Init_String): undef Symbol#new.
...
* struct.c (rb_struct_s_def): wrong symbol detection.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-02 15:20:24 +00:00
matz
d064c0bf13
* string.c (str_to_id): a bug caused by premature optimization.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-02 15:13:26 +00:00
matz
777aed2b15
2006-09-03
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-02 15:05:30 +00:00
matz
ccf5372b25
* object.c (Init_Object): move symbol related code to string.c
...
* string.c (Init_String): Symbol as subclass of String.
* parse.y (rb_intern2): handle symbol as strings.
* string.c (str_new): substring of symbols are mere strings, not
symbols.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-02 15:05:27 +00:00
matz
2156870525
* ruby.h (struct RArray): embed small arrays.
...
(RARRAY_LEN): defined for accessing array members.
(RARRAY_PTR): ditto.
* array.c: use RARRAY_LEN and RARRAY_PTR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-02 14:42:08 +00:00
matz
8581164ea6
* eval.c (rb_eval): should handle when in else clause. a patch
...
from Eric Hodel <drbrain at segment7.net>. [ruby-core:08662]
* parse.y (primary): wrap with NODE_CASE. [ruby-core:08663]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-02 14:36:22 +00:00
akr
965b0d3807
* common.mk (ia64.o): use the compiler driver to assemble ia64.s
...
to use appropriate ABI.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-02 04:26:40 +00:00
nahi
40cefc9844
* lib/soap/generator.rb (SOAP::SOAPGenerator#encode_tag): do not dump
...
XML attribute which value is nil. value "" and nil both were dumped
as 'attr="value"'. [ruby-dev:29395]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-02 03:11:02 +00:00
nahi
97c6bc5ffd
* lib/csv.rb (CSV::IOReader#initialize): use String#[](pos, len)
...
instead of String#[](idx) to check utf BOM. follows String#[](idx)
behavior change of 1.9.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-02 03:06:33 +00:00