summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * numeric.c (num_sadded): prohibit singleton method definition formatz2003-12-014-43/+62
| | | | | | | Numerics. fill yet another gap between Fixnum and Bignum. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (htov16): converts endian using swap16. htov32(), hton16,matz2003-12-014-66/+117
| | | | | | | | | | | | | | | | | hton32 as well. [ruby-talk:85377] * pack.c (swap16): swap 2 bytes no matter how big short is on the platform. swap32() is also prepared. * numeric.c (rb_num2int): returns long to preserve information. rb_fix2int(), rb_num2uint(), rb_fix2uint() as well. [ruby-talk:85377] * numeric.c (rb_num2uint): should not check for value range if the source value is negative. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/optparse/opttest.rb: added.nobu2003-12-019-34/+130
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add RDocdave2003-12-0136-0/+12367
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add RDoc to listdave2003-12-011-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (fu_each_src_dest0): call #to_str to allow Pathname for ↵aamine2003-12-013-18/+51
| | | | | | | | | arguments. [ruby-core:01795] * test/fileutils/test_fileutils.rb: does much strict test on "same" files detecting. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.subusa2003-12-014-3/+14
| | | | | | | | | | (XCFLAGS): re-export $(XCFLAGS). * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub (ARCH_FLAG): export $(ARCH_FLAG) (perhaps empty value). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-12-01eban2003-11-301-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (TRY_LINK, link_command): added support for DLDFLAGSeban2003-11-302-3/+9
| | | | | | | and ARCH_FLAG. [ruby-dev:22085] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: should put getcwd in AC_CHECK_FUNCS, noteban2003-11-302-2/+5
| | | | | | | AC_REPLACE_FUNCS. [ruby-core:01826] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in: add ARCH_FLAG to DLDFLAGS.eban2003-11-302-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkfm.rb (configuration): add ARCH_FLAG to DLDFLAGS.eban2003-11-302-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in: add ARCH_FLAG to CFLAGS.eban2003-11-301-2/+2
| | | | | | | * Makefile.in: add @CPPFLAGS@ to CPPFLAGS. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: keep ARCH_FLAG separate. export ARCH_FLAG.eban2003-11-303-11/+21
| | | | | | | | | | | | | [ruby-core:01819] * Makefile.in: add ARCH_FLAG to CFLAGS. * Makefile.in: add @CPPFLAGS@ to CPPFLAGS. * lib/mkmf.rb (link_command, cc_command): use ARCH_FLAG. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: do not override CCDLDFLAGS, LDFLAGS, XLDFLAGS,eban2003-11-303-86/+91
| | | | | | | | | | | | DLDFLAGS and LDSHARED. * configure.in: XCFLAGS for compiling ruby itself. ARCH_FLAG is reflected in CFLAGS. * lib/mkmf.rb: ditto. do not import XCFLAGS from config.status. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: bug fix [ruby-talk:86746]nagai2003-11-302-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/soap/encodingstyle/soapHandler.rb: refactoring - Simplifyingnahi2003-11-3015-63/+498
| | | | | | | | | | | | | | | Conditional Expressions. * lib/wsdl/soap/definitions.rb: refactoring - Move Method. * test/xsd/{test_noencoding.rb,noencoding.xml}: new files. test for encoding unspecified XML file parsing. * test/wsdl/{test_fault.rb,map,datetime}: new files. test of SOAPFault, dateTime and Apache's Map. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-11-30nobu2003-11-301-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_update): get rid of SEGV at just allocated String.nobu2003-11-302-1/+8
| | | | | | | [ruby-core:01812] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_mark): explicitly check mark recursion levels, insteadmatz2003-11-285-41/+92
| | | | | | | | | | of unreliable stack length. * file.c (path_check_1): honor sticky bits always. [ruby-talk:86273] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix TupleSpaceProxy#read, read_allseki2003-11-282-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: FreeBSD.eban2003-11-281-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fileutils/test_fileutils.rb (test_ln_s): should be a file, noteban2003-11-282-3/+8
| | | | | | | a directory. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_env.rb (test_has_value, test_index): condition fornobu2003-11-282-1/+6
| | | | | | | aboves. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (env_has_value, env_index): must match exactly.nobu2003-11-282-2/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_env.rb: add tests for ENV.usa2003-11-283-0/+89
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/drb/drb.rb (DRbMessage#load): rescue Errno::* and raise DRbConnError.seki2003-11-281-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* re-raise DRbConnErrorseki2003-11-281-9/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rescue SystemCallErrorseki2003-11-281-3/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* previous change refined.akr2003-11-281-3/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#realpath): obsolete the force_absoluteakr2003-11-282-3/+10
| | | | | | | argument. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/soap/streamHandler.rb: drop unused http parameters.nahi2003-11-2818-95/+256
| | | | | | | | | | | | | | | | * lib/soap/encodingstyle/soapHandler.rb, lib/soap/mapping/factory.rb, lib/soap/mapping/mapping.rb, lib/soap/mapping/registry.rb, lib/wsdl/soap/complexType.rb: ApacheSOAP's map support was broken under WSDL dynanic client environment. fixed. * test/wsdl/raa/*: add tests. * lib/xsd/datatypes.rb: dateTime precision bug fix (at least, I hope.) bug of soap4r. XSDDateTimeImple.to_time passed a Float to Time.local/Time.gm as an usec, and NUM2LONG(rb_num2long for Float) causes rounding error. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_proc.rb (test_arity): added.nobu2003-11-271-13/+39
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (method_arity): used wrong Proc object. [ruby-talk:86504]nobu2003-11-272-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-11-28eban2003-11-271-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_f_exit), process.c (rb_f_exit_bang): use VALUEs not butnobu2003-11-273-5/+8
| | | | | | | TYPEs. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_f_exit), process.c (rb_f_exit_bang): treat true asnobu2003-11-276-23/+46
| | | | | | | | | | success, false as failure. [ruby-dev:22067] * eval.c (rb_f_abort, rb_thread_switch), process.c (rb_f_system): use ANSI macro instead of hard coded value. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c, gc.c: FreeBSD/ia64 currently does not have a way for aknu2003-11-273-0/+23
| | | | | | | | | process to get the base address for the RSE backing store, so hardcode it for the moment. [submitted by: Marcel Moolenaar <marcel@FreeBSD.org>] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/win32.c (rb_win32_stat): add "." to buf1 only if it has a drive letter.eban2003-11-271-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkafter.rb: bug fix on TkTimer#cancel_on_exception=(mode).nagai2003-11-272-20/+28
| | | | | | | | TkTimer#wait recieves the exception of the callback. The exception is kept on @return_value. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-11-27eban2003-11-271-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_stat): remove _fullpath() for NUL: device.eban2003-11-272-14/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fileutils/test_fileutils.rb: should take the existing symboliceban2003-11-262-1/+6
| | | | | | | link for OpenBSD. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-11-26eban2003-11-261-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/token.c: removed YYTOKTMP references whichwhy2003-11-256-91/+144
| | | | | | | | | | | | were causing buffer overflows on large block scalars, comments, quoted scalars and plain scalars. * ext/syck/rubyext.c: dynamic changing of buffer size. * ext/syck/syck.h: default buffer size of 4k. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpresponse.rb: add HTTPResponse#keep_alive=.gotoyuzo2003-11-253-1/+10
| | | | | | | | * lib/webrick/httpserver.rb (HTTPServer#run): should pass the request's keep_alive flag to the response. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add reference to ruby-dev.usa2003-11-251-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * defines.h (ENV_IGNORECASE): should define when DOSISH withoutusa2003-11-253-9/+8
| | | | | | | | | human68k. * hash.c (env_has_value, env_index): don't ignore case of value. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fileutils/test_fileutils.rb: do test in more deep directory.aamine2003-11-253-9/+20
| | | | | | | * test/fileutils/test_nowrite.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix previous change.akr2003-11-252-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e