summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * ext/iconv/charset_alias.rb: preserve original order.nobu2003-12-133-3/+24
| | | | | | | * ext/iconv/extconf.rb: remove wrapper file at clean. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (thread_timer): use timer by sub-thread and nanosleep.matz2003-12-133-20/+76
| | | | | | | | | [ruby-talk:87519] * gc.c (Init_stack): no stack adjustment for THREAD_SAFE. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (proc_alloc): cache the created object at first time.nobu2003-12-132-0/+6
| | | | | | | [ruby-talk:61288], [ruby-dev:22240] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-12-13nobu2003-12-131-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/yaml/test_yaml.rb (test_ruby_struct): struct name din not match.nobu2003-12-131-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check ucontext.h.nobu2003-12-133-23/+44
| | | | | | | | * eval.c: use getcontext/setcontext() instead of setjmp/longjmp() on ia64 or with native thread enabled. [ruby-core:01932] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* REXML changes:ser2003-12-128-48/+44
| | | | | | | | | * Took out the duplicate Shift-JIS entries, for OSes that don't understand case sensitive file names. * Fixed some bugs in the encodings git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb: anonymous struct fix. [ruby-core:01946]why2003-12-123-2/+19
| | | | | | | * test/yaml/test_yaml.rb: add test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: add Cell#to_str and Cell#to_s for /.../ =~ aCell,nahi2003-12-123-1/+46
| | | | | | | | | "#{aCell}" and so on. * test/csv/test_csv.rb: add tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (mkdir): remove trailing `/' from pathes.aamine2003-12-123-30/+53
| | | | | | | | | * lib/fileutils.rb (rmdir): ditto. [ruby-dev:22238] * lib/fileutils.rb (rmdir_r): ditto. * lib/fileutils.rb (fu_copy_dir): check if it is a directory after mkdir(2). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-12-12eban2003-12-121-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (proc_invoke): fix class name in warning message fornobu2003-12-112-1/+8
| | | | | | | define_method. [ruby-dev:22235] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* untypogotoyuzo2003-12-111-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_pkcs12.[ch]: new files. add OpenSSL::PKCS12.gotoyuzo2003-12-116-0/+182
| | | | | | | | | * ext/openssl/ossl_ossl.[ch]: ditto. * ext/openssl/MANIFEST: add ossl_pkcs12.[ch]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fileutils/test_fileutils.rb (test_mkdir_p): test expand_path'ed path.aamine2003-12-111-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (mkdir_p): remove trailing `/' befere mkdir(2). ↵aamine2003-12-112-2/+9
| | | | | | | | | mkdir("nonexistdir/") does not work on NetBSD/Alpha 1.6.1. * lib/fileutils.rb (fu_list): call to_str for all arguments. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ftools.rb (makedirs): sync with fileutils.eban2003-12-112-1/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* catch all SystemCallErrors.aamine2003-12-112-2/+7
| | | | | | | * lib/fileutils.rb (mkdir_p): catch all SystemCallErrors (mkdir("C:\") causes EACCESS on Windows 2000/NTFS). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (mkdir_p): check if it is a directory after mkdir(2) ↵aamine2003-12-112-6/+17
| | | | | | instead of before mkdir(2), to avoid race condition. [ruby-talk:87730] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb: def m( arg ) -> def m(arg).aamine2003-12-112-65/+69
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-12-11eban2003-12-111-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ieeefp.h), numeric.c: needed for finite() onnobu2003-12-1112-49/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Solaris. [ruby-core:01921] * file.c (rb_stat_inspect): adjust format specifier. * parse.c (arg_prepend): nodetype() is for debug use. * ruby.h (ISASCII, etc): cast to int to get rid of warning. * ruby.h (alloca.h): include even in GCC. [ruby-core:01925] * ext/bigdecimal/bigdecimal.c (GetVpValue): adjust format specifier. * ext/bigdecimal/bigdecimal.c (BigDecimal_prec, BigDecimal_coerce, BigDecimal_divmod): use rb_assoc_new() to suppress memory usage. * ext/bigdecimal/bigdecimal.c (BigDecimal_split): ditto. * ext/dl/sym.c (rb_dlsym_guardcall): guard itself should be volatile. * ext/iconv/iconv.c (iconv_convert): ensure actual parameter with format specifier. * ext/pty/pty.c (MasterDevice, SlaveDevice, deviceNo): do not define unless used. * ext/pty/pty.c (getDevice): get rid of warning. * ext/socket/socket.c (port_str, sock_s_getaddrinfo, sock_s_getnameinfo): FIX2INT() now returns long. * ext/socket/socket.c (init_inetsock_internal): uninitialized variable. * ext/syck/rubyext.c (syck_parser_assign_io): add prototype. * ext/syck/rubyext.c (rb_syck_mktime, yaml_org_handler): use ISDIGIT() instead of isdigit() to avoid warnings and for platforms which don't support non-ascii charater. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_read): set EOF flag at short read.nobu2003-12-103-25/+43
| | | | | | | [ruby-dev:22223], [ruby-dev:22224] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb: new method ERB#filename(=). [ruby-dev:22208]aamine2003-12-102-2/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_read): do not set EOF flag whennobu2003-12-103-5/+14
| | | | | | | requested length is zero. [ruby-dev:22214] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (read_all): should return given string even if data read ismatz2003-12-107-26/+23
| | | | | | | empty. [ruby-dev:22207] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_read): adjust behavior at readingnobu2003-12-105-6/+49
| | | | | | | | | | | | | beyond EOF to IO. [ruby-dev:22205] * test/ruby/ut_eof.rb (TestEOF::Seek): test behaviors at reading beyond EOF. * test/ruby/test_file.rb, * test/stringio/test_stringio.rb: include TestEOF::Seek test case. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix comments.eban2003-12-101-15/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/monitor/test_monitor.rb (test_cond): use Queue#deqshugo2003-12-102-1/+8
| | | | | | | insteadof sleep. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (HAVE_SYS_IOCTL_H): already defined at config.h, sousa2003-12-102-1/+11
| | | | | | | | | | use it. * ext/pty/pty.c (establishShell): should close descriptors if fork failed. (ruby-bugs:PR#1211) based on gotoyuzo's patch. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-12-10eban2003-12-101-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.h: define execv() using do_aspawn().eban2003-12-103-4/+8
| | | | | | | * process.c (proc_exec_v): remove #ifdef's which stopped needing. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * overrided instance methods, which are private methods on the supernagai2003-12-0916-17/+154
| | | | | | | class, are changed to 'private' git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make case insensitive for host-part.akira2003-12-093-1/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ditto.akr2003-12-091-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for previous change to io.c.akr2003-12-092-0/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io.c (rb_io_check_writable): don't call io_seek if EOF flag is set,akr2003-12-092-3/+5
| | | | | | | to avoid clearing EOF flag. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_check_readable): Don't clear EOF flag by io_seek.akr2003-12-092-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-12-09eban2003-12-091-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added downcased shift-jis declarations. The old, all upper case declarationsser2003-12-093-0/+40
| | | | | | | | are deprecated, but I need some Shift-JIS encoded documents to test against before I remove them. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Added the lower-case Shift-JIS files to the manifest. The upper-case onesser2003-12-0921-722/+817
| | | | | | | | | | | | | | | | | should be deprecated, but I need a Shift-JIS encoded XML file to test against, first. * Added support for maintaining external entity occurances in DTDs * Deprecated the use of Document::DECLARATION. The new default declaration can be gotten with XMLDecl::default() * Refactored the encoding support code. It should be more robust now, and fixes a few bugs. * The XPath string() function now deals with Element nodes properly. * Serialization with Output objects now works as would be expected. * Various code cleanups, some reducing the number of warnings that Ruby 1.8.x produces with REXML. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * typonagai2003-12-091-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * new sample scriptnagai2003-12-082-0/+174
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb: renamed #assert_raises to #assert_raisentalbott2003-12-083-17/+30
| | | | | | | | | and made the former call the latter. [ruby-core:01890] * test/testunit/test_assertions.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/soap/rpc/standaloneServer.rb: add 'shutdown' and 'status'nahi2003-12-088-11/+34
| | | | | | | | | | | | methods as delegates to WEBrick. * test/soap/calc/{test_calc.rb,test_calc2.rb}, test/soap/helloworld/test_helloworld.rb, test/wsdl/datetime/test_datetime.rb, test/wsdl/raa/test_raa.rb: follow the change. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/autorunner.rb: remove dependency to a particularnobu2003-12-088-22/+35
| | | | | | | | | | | | | | | runner. [ruby-core:01901], [ruby-list:38869] * lib/test/unit/ui/testrunnerutilities.rb: moved output level constants from Console. * lib/test/unit/ui/console/testrunner.rb: ditto. * lib/test/unit/ui/{fox,gtk,gtk2,tk}/testrunner.rb (initialize): accept output_level. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/syck.c (syck_io_str_read): get rid of buffer overflow.nobu2003-12-082-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb: new method URI.regexp. [ruby-dev:22121]aamine2003-12-081-0/+14
| | | | | | | * test/uri/test_common.rb: add test for URI.regexp. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb: new method URI.regexp. [ruby-dev:22121]aamine2003-12-082-17/+41
| | | | | | | * test/uri/test_common.rb: add test for URI.regexp. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-12-08eban2003-12-081-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e