summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add tag v1_8_5_134v1_8_5_134shyouhei2008-06-070-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_8_5_134@16892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 13694:shyouhei2008-06-074-8/+11
| | | | | | | | * win32/mkexports.rb: deal with __fastcall name decorations. [ruby-list:44111] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@16891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 13688:shyouhei2008-06-073-6/+13
| | | | | | | * {bcc,win}32/mkexports.rb: explicit data. [ruby-list:44108] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@16887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 13687:shyouhei2008-06-073-2/+7
| | | | | | | | * lib/rexml/source.rb (REXML::SourceFactory::SourceFactory): typo fixed. [ruby-list:44099] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@16885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 13678:shyouhei2008-06-074-3/+8
| | | | | | | | * {bcc32,win32}/Makefile.sub (COMMON_MACROS): workaround for old SDK's bug. [ruby-core:12584] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@16881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 13657:shyouhei2008-06-077-15/+29
| | | | | | | | | | | * lib/net/http.rb, lib/open-uri.rb: remove Net::HTTP#enable_post_connection_check. [ruby-dev:31960] * lib/net/imap.rb: hostname should be verified against server's indentity as persented in the server's certificate. [ruby-dev:31960] * ext/openssl/lib/net/telnets.rb, ext/openssl/lib/net/ftptls.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@16876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 13602:shyouhei2008-06-053-28/+30
| | | | | | | | * win32/win32.c (make_cmdvector): adjust escaped successive double-quote handling. (merge from trunk) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@16836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 13601:shyouhei2008-06-055-23/+76
| | | | | | | | | | | * win32/win32.c (init_env): initialize HOME and USER environment variables unless set. [ruby-core:12328] (merge from trunk) * win32/win32.c (NtInitialize, getlogin): ditto. * configure.in, win32/Makefile.sub (LIBS): need to link shell32 library for SH* functions on mswin32 and mingw32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@16829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 13587:shyouhei2008-06-053-5/+12
| | | | | | | | * gc.c (id2ref): valid id should not refer T_VALUE nor T_ICLASS. [ruby-dev:31911] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@16825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 13586:shyouhei2008-06-043-3/+13
| | | | | | | | * eval.c (remove_method): should not remove undef place holder. [ruby-dev:31817] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@16814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 13515:shyouhei2008-06-043-5/+10
| | | | | | | | * Makefile.in (ext/extinit.o): use $(OUTFLAG) as well as other objects. [ruby-Bugs-14228] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@16804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 13513:shyouhei2008-06-034-21/+53
| | | | | | | | * parse.y (yyerror): limit error message length. [ruby-dev:31848] * regex.c (re_mbc_startpos): separated from re_adjust_startpos. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@16786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 13497:shyouhei2008-06-033-38/+10
| | | | | | | | * gc.c (os_obj_of, os_each_obj): hide objects to be finalized. [ruby-dev:31810] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@16781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 13479:13481:shyouhei2008-06-033-33/+82
| | | | | | | | * process.c (struct rb_exec_arg): proc should be a VALUE. * process.c (rb_f_exec): suppress a warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@16775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/filehandler.rb: should normalize pathgotoyuzo2008-05-2010-35/+191
| | | | | | | | | | | | | | | | | | name in path_info to prevent script disclosure vulnerability on DOSISH filesystems. (fix: CVE-2008-1891) Note: NTFS/FAT filesystem should not be published by the platforms other than Windows. Pathname interpretation (including short filename) is less than perfect. * lib/webrick/httpservlet/abstract.rb (WEBrick::HTTPServlet::AbstracServlet#redirect_to_directory_uri): should escape the value of Location: header. * lib/webrick/httpservlet/cgi_runner.rb: accept interpreter command line arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@16495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (isdirsep): backslash is valid path separator on cygwin too.nobu2008-05-173-11/+15
| | | | | | | backported from 1.8 HEAD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@16451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_expand_path): fix for short file name on Cygwin.nobu2008-05-173-5/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@16450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (OpenFile): prevent conflict on Windows.nobu2008-05-173-4/+12
| | | | | | | * file.c (USE_NTFS): fixed merge miss. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@16449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_expand_path): rb_str_set_len is not backported.nobu2008-05-173-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@16443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_expand_path): support for alternative data streamnobu2008-05-173-35/+198
| | | | | | | | | | | and ignored trailing garbages of NTFS. * file.c (rb_file_s_basename): ditto. * file.c (rb_file_s_extname): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@16442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 15677:shyouhei2008-03-034-8/+94
| | | | | | | | | | | | * lib/webrick/httpservlet/filehandler.rb: should normalize path separators in path_info to prevent directory traversal attacks on DOSISH platforms. reported by Digital Security Research Group [DSECRG-08-026]. * lib/webrick/httpservlet/filehandler.rb: pathnames which have not to be published should be checked case-insensitively. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@15680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: fix typo.shyouhei2007-09-245-15/+32
| | | | | | | | | | | | | | | * lib/net/http.rb: an SSL verification (the server hostname should be matched with its certificate's commonName) is added. this verification can be skipped by "Net::HTTP#enable_post_connection_check=(false)". suggested by Chris Clark <cclark at isecpartners.com> * lib/net/open-uri.rb: use Net::HTTP#enable_post_connection_check to perform SSL post connection check. * ext/openssl/lib/openssl/ssl.c (OpenSSL::SSL::SSLSocket#post_connection_check): refine error message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_init): separate from strio_initializeshyouhei2007-09-223-5/+22
| | | | | | | to share with strio_reopen properly. [ruby-Bugs-13919] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/options.rb (Options::check_diagram): dot -V outputshyouhei2007-09-223-6/+11
| | | | | | | changed. [ ruby-Bugs-11978 ], Thanks Florian Frank. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): -W should be allowed in RUBYOPTshyouhei2007-09-163-2/+7
| | | | | | | environment variable. [ruby-core:12118] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_step): fixed integer overflow. [ruby-dev:31763]shyouhei2007-09-163-5/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (rubylib_mangled_path): eliminate RSTRING_PTRshyouhei2007-09-073-6/+17
| | | | | | | | | | [ruby-dev:31679] * ruby.c (push_include_cygwin): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_subseq): need integer overflow check.shyouhei2007-09-072-3/+3
| | | | | | | | | [ruby-dev:31736] * array.c (rb_ary_splice): ditto. [ruby-dev:31737] * array.c (rb_ary_fill): ditto. [ruby-dev:31738] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_fill): need integer overflow check.shyouhei2007-09-073-1/+7
| | | | | | | [ruby-dev:31738] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_splice): integer overflow for length.shyouhei2007-09-073-2/+7
| | | | | | | [ruby-dev:31739] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (mnew): should preserve noex as safe_level.shyouhei2007-09-073-3/+9
| | | | | | | * eval.c (rb_call0): tighten security check condition.. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (group_member): check if presents.shyouhei2007-09-074-2/+15
| | | | | | | | * configure.in (XCFLAGS): add _GNU_SOURCE on linux. * file.c (group_member): use system routine if available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/defines.h (flush_register_windows): call "ta 0x03"shyouhei2007-09-073-4/+7
| | | | | | | even on Linux/Sparc. [ruby-dev:31674] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_type_progid, reg_enum_key, shyouhei2007-09-073-9/+20
| | | | | | | | reg_get_val, ole_wc2mb): fix the bug. Thanks, arton. [ruby-dev:31576] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c (Init_tcltklib): use rb_set_end_proc().shyouhei2007-09-072-6/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (detach_process_watcher): should not pass the pointershyouhei2007-09-073-8/+13
| | | | | | | | to an auto variable to the thread to be created. pointed and fix by KUBO Takehiro <kubo at jiubao.org> [ruby-dev:30618] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/test.rb, test/ruby/test_system.rb(valid_syntax?): keepshyouhei2007-09-073-3/+9
| | | | | | | comment lines first. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (big_lshift): make shift offset long type.shyouhei2007-09-073-15/+24
| | | | | | | | | | (big_rshift): ditto. (rb_big_lshift): ditto. (big_rshift): ditto. [ruby-dev:31434] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_delete_key): delete the entry without calling block.shyouhei2007-08-154-16/+620
| | | | | | | | | * hash.c (rb_hash_shift): should consider iter_lev too. * hash.c (delete_if_i): use rb_hash_delete_key() so that the block isn't called twice. [ruby-core:11556] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rinda/tuplespace.rb: fix Rinda::TupleSpace keeper thread bug.shyouhei2007-08-154-6/+30
| | | | | | | | the thread is started too early. [ruby-talk:264062] * test/rinda/test_rinda.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (establishShell): handshaking before close slaveshyouhei2007-08-153-2/+10
| | | | | | | device. [ruby-talk:263410] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ac_cv_func_isinf): set yes also on OpenSolaris.shyouhei2007-08-153-4/+9
| | | | | | | [ruby-Bugs-12859] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/encodings/{ISO-8859-15,CP-1252}.rb: fixed invalid syntax.shyouhei2007-08-154-81/+85
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13047 ↵shyouhei2007-08-153-2/+6
| | | | b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): save all CONFIG values.shyouhei2007-08-153-19/+63
| | | | | | | | | | * ext/extmk.rb (extmake): remove mkmf.log at clean, and extconf.h at distclean, respectively. * ext/extmk.rb: remove rdoc at clean, and installed list file at distclean, respectively. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_f_sprintf): should not check positional number asshyouhei2007-08-153-2/+7
| | | | | | | width. [ruby-core:11838] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (conv_to_posix_path): removed.shyouhei2007-08-154-119/+126
| | | | | | | | | | | * ruby.c (rubylib_mangled_path, rubylib_mangled_path2): return VALUE instead of a pointer to static buffer. * ruby.c (push_include_cygwin): fixed buffer overflow. [ruby-dev:31297] * ruby.c (ruby_init_loadpath): not convert built-in paths. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * defines.h: Pull the RUBY_MBCHAR_MAXSIZE definition from trunk,shyouhei2007-08-153-1/+11
| | | | | | | which is necessary for dir.c to compile on djgpp and emx. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * intern.h (is_ruby_native_thread): removed since declared as an intshyouhei2007-08-153-2/+6
| | | | | | | function in ruby.h already. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_s_rename): deleted code to get rid of a bug ofshyouhei2007-08-1511-29/+56
| | | | | | | | | | | | | | | | | | | | | old Cygwin. * file.c (rb_file_truncate): added prototype of GetLastError() on cygwin. [ruby-dev:31239] * intern.h (is_ruby_native_thread): prototype. * missing/strftime.c (strftime): fix printf format and actual arguments. * ext/Win32API/Win32API.c (Win32API_initialize): ditto. * ext/tk/tcltklib.c (ip_finalize): ditto. * ext/dl/ptr.c (rb_dlptr_inspect): ditto. [ruby-dev:31268] * ext/dl/sym.c (rb_dlsym_inspect): ditto. * ext/socket/getnameinfo.c: include stdio.h always. * ext/win32ole/win32ole.c (ole_hresult2msg, folevariable_name, folevariable_ole_type, folevariable_ole_type_detail, folevariable_value, folemethod_visible): missing return value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e