aboutsummaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* * ext/socket/socket.c (s_recv, s_recvfrom): some systems (such asusa2007-04-031-2/+2
| | | | | | | | | windows) doesn't set fromlen if the socket is connection-oriented. reported by Bram Whillock in [ruby-core:10512] [ruby-Bugs#9061] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ruby_missing.h: need to include version.h to checkusa2007-04-031-2/+4
| | | | | | | | RUBY_VERSION_CODE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_{ssl.[ch],ssl_session.c}},technorama2007-04-024-7/+716
| | | | | | | | | | ext/openssl/lib/openssl/lib/openssl/ssl.rb: New SSL::Session class. Add session cb's, getter/setters, config, and statistics methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/{ossl.[ch],ossl_pkey.c} Add documentation.technorama2007-04-029-21/+127
| | | | | | | | | | | | * ext/openssl/ossl_hmac.c Add reset method. * ext/openssl/ossl_cipher.c (Cipher#update) Take additional buffer argument. * ext/openssl/{ossl_bio.c,ossl_ssl.c,ruby_missing.h} compatibility with 1.8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_{bn,cipher,digest,hmac,rand,pkey_{dh,dsa,rsa}}.c: Add ↵technorama2007-03-299-19/+570
| | | | | | | | | | | | | | Documentation for various methods. * ext/openssl/lib/openssl/cipher.rb: Ditto * ext/openssl/ossl_bn.c: add lshift! and rshift! methods. * ext/openssl/ossl_digest.c: GetDigestPtr() also accept a string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/Win32API/lib/win32/sspi.rb: set properties.nobu2007-03-211-319/+319
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c, etc.: K&R to ANSI code cleanup patch from Stefanmatz2007-03-197-20/+20
| | | | | | Huehner <stefan at huehner.org>. [ruby-core:10543] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: add WIN32OLE#ole_activex_initialize,suke2007-03-161-1/+50
| | | | | | | a little bit supporting ActiveX control. [ruby-talk:241188] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: merge Ruby-SSPI patch contributed by Justin Bailey.aamine2007-03-161-0/+331
| | | | | | | * ext/Win32API/lib/win32/sspi.rb: new file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c: BigDecimal("-.31") is nowmatz2007-03-141-1/+1
| | | | | | treated as ("-0.31") not as ("0.31"). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_asn1.c (Init_ossl_asn1): Let rdoc know aboutknu2007-03-1211-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | externally defined modules; submitted by Technorama Ltd. <oss-ruby AT technorama.net> in [ruby-bugs:PR#4704]. * ext/openssl/ossl_bn.c (Init_ossl_bn): Ditto. * ext/openssl/ossl_cipher.c (Init_ossl_cipher): Ditto. * ext/openssl/ossl_digest.c (Init_ossl_digest): Ditto. * ext/openssl/ossl_hmac.c (Init_ossl_hmac): Ditto. * ext/openssl/ossl_pkey.c (Init_ossl_pkey): Ditto. * ext/openssl/ossl_pkey_dh.c (Init_ossl_dh): Ditto. * ext/openssl/ossl_pkey_dsa.c (Init_ossl_dsa): Ditto. * ext/openssl/ossl_pkey_rsa.c (Init_ossl_rsa): Ditto. * ext/openssl/ossl_rand.c (Init_ossl_rand): Ditto. * ext/openssl/ossl_ssl.c (Init_ossl_ssl): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: add WIN32OLE_TYPELIB#library_name,suke2007-03-091-19/+97
| | | | | | | | | WIN32OLE_TYPELIB#visible?. * test/win32ole/test_win32ole_typelib.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/irbtkw.rbw: fails to exit process.nagai2007-03-061-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (get_ptr_of_variant, ole_set_safe_array,suke2007-03-021-39/+232
| | | | | | | | | | | | | | | | | ole_val2ptr_variant, ole_val2olevariantdata, ole_variant2val, ): fix some bugs of WIN32OLE_VARIANT.new when variant type is VT_ARRAY|VT_BSTR or VT_BYREF. * ext/win32ole/win32ole.c (folevariant_s_array, folevariant_initialize): WIN32OLE_VARIANT#[], WIN32OLE_VARIANT#[]=, WIN32OLE_VARIANT#value= is defined as instance method of WIN32OLE_VARIANT. * test/win32ole/test_win32ole_variant.rb: add some test for VT_ARRAY, VT_BYREF variant type. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* better error messageknu2007-02-281-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/digest.c (get_digest_base_metadata): Allow inheritingknu2007-02-281-4/+8
| | | | | | | | Digest::Base subclasses, which was unintentionally made impossible while restructuring Digest classes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/extconf.rb: no need to check unistd.h and sys/time.h.usa2007-02-281-2/+0
| | | | | | | | they are already checked at configure. reported by KOBAYASHI Yasuhiro [ruby-list:43225] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf.c (rb_str_resize, rb_nkf_kconv, rb_nkf_guess1,knu2007-02-271-5/+5
| | | | | | | | | rb_nkf_guess2): Silence warnings regarding char * vs. unsigned char * mismatch; submitted by Lyle Johnson <lyle.johnson@gmail.com> in [ruby-core:10416]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_load): Silence warningsknu2007-02-274-6/+6
| | | | | | | | | | | | | | | regarding char * vs. unsigned char * mismatch; submitted by Lyle Johnson <lyle.johnson@gmail.com> in [ruby-core:10416]. * ext/digest/sha1/sha1ossl.c (SHA1_Finish): Ditto. * ext/digest/rmd160/rmd160ossl.c (RMD160_Finish): Ditto. * ext/digest/digest.c (rb_digest_base_finish, rb_digest_base_update): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c, gc.c, io.c, ruby.h, rubyio.h, win32/win32.h (rb_io_t):nobu2007-02-248-56/+52
| | | | | | | | | | | renamed from OpenFile. * ext/dl/cptr.c, ext/io/wait/wait.c, ext/openssl/ossl.h, ext/openssl/ossl_bio.c, ext/openssl/ossl_ssl.c, ext/pty/pty.c, ext/readline/readline.c, ext/socket/socket.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/racc/cparse/cparse.c (cparse_params_mark): remove useless rb_gc_mark. ↵aamine2007-02-241-4/+0
| | | | | | Thanks Tomoyuki Chikanaga. [ruby-dev:30405] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: add WIN32OLE_VARIANT.array, suke2007-02-231-84/+341
| | | | | | | | | | WIN32OLE_VARIANT#value=, refactoring. * test/win32ole/test_win32ole_variant.rb: add some test for WIN32OLE_VARIANT.array, WIN32OLE_VARIANT#value=. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (lambda): add ripper event. This fixes bus error on "make test-all".aamine2007-02-231-3/+0
| | | | | | | * ext/ripper/extconf.rb: do not stop build. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (installed_code_page_proc, suke2007-02-201-5/+6
| | | | | | | ole_variant2val): small refactoring. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (unix_peeraddr): wrong syscall name in errormatz2007-02-191-1/+1
| | | | | | | message for #peeraddr. a patch from Sam Roberts <sroberts at uniserve.com>. [ruby-core:10366] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/etc/etc.c (etc_getgrgid): missed to replace a macro.nobu2007-02-181-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (pid_t, uid_t, gid_t): check if defined.nobu2007-02-183-24/+11
| | | | | | | | | | | * intern.h, process.c, rubyio.h, ext/etc/etc.c, ext/pty/pty.c: use rb_{pid,uid,gid}_t instead of plain int. [ruby-dev:30376] * ext/etc/extconf.rb (PIDT2NUM, NUM2PIDT, UIDT2NUM, NUM2UIDT, GIDT2NUM, NUM2GIDT): moved to configure.in. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_variant2val): VC++6 does not suke2007-02-141-14/+4
| | | | | | | | support VT_I8, VT_UI8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/lib/digest.rb (Digest::self.const_missing): Dropknu2007-02-141-8/+10
| | | | | | | | autoloads for sha2 classes in favor of handling in const_missing(), to work around a problem exposed on OS X. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (init_unixsock): path may contain NUL formatz2007-02-131-2/+2
| | | | | | abstract unix sockets. [ruby-core:10288] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_variant2val): support VT_I8, VT_UI8.suke2007-02-121-2/+29
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_ptrtype2val): ole_type, ole_type_detailsuke2007-02-111-8/+4
| | | | | | | should not return "VARIANT,VARIANT". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_val2olevariantdata): suke2007-02-111-97/+85
| | | | | | | | | | | WIN32OLE_VARIANT#new accepts nil when variant type is VT_ARRAY. * test/win32ole/test_win32ole_variant.rb: ditto. * ext/win32ole/win32ole.c: small refactoring. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: add WIN32OLE#ole_query_interface.suke2007-02-101-1/+47
| | | | | | | | | thanks to Mikael Pahmp. * test/win32ole/test_win32ole.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: fix typo (TkConfigMethod::__confinfo_cmd, nagai2007-02-091-2/+2
| | | | | | | __conv_keyonly_opts). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_set_safe_array, ole_variant2val,suke2007-02-081-22/+59
| | | | | | | | | | | | ole_val_ary2variant_ary): fix WIN32OLE_VARIANT.new bug when 1st argument is empty array, and when 2nd argument is VT_ARRAY|VT_BYREF. * test/win32ole/test_win32ole_variant.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/{nkf.c,utf8tbl.c}:naruse2007-02-062-91/+224
| | | | | | | | | | | | | | imported nkf 2007-01-28. * Fixed: can't decode MIME encode JIS string. * Fixed: Fullwitdh-halfwidth conversion. * Support DoCoMo's and Softbank's EMOJI * Support CP932, CP5022x, eucJP-ms UDC * Support UTF-32 encoding * Support beyond BMP [ruby-dev:29700] [ruby-dev:29922] [ruby-dev:30144] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * intern.h: prepare rb_last_status_get() and rb_last_status_set().ko12007-02-051-2/+1
| | | | | | | | | | | | Use these functions instead of rb_last_status ([ruby-dev:30264]). * process.c: define above functions. * ext/pty/pty.c: use above functins. * io.c (pipe_finalize): ditto. * process.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_val2olevariantdata, ole_val2variant):suke2007-02-032-189/+186
| | | | | | | | | | | | | | fix the bug of WIN32OLE_VARIANT.new when variant type is VT_ARRAY. * ext/win32ole/sample/excel1.rb: rewrite using WIN32OLE_VARIANT. * test/win32ole/test_win32ole.rb: add some test. * test/win32ole/test_win32ole_variant.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/images/teapot.ppm: fix the broken file. [ruby-dev:30226]nagai2007-01-311-37/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tktextio.rb: 'hist_size' option causes error.nagai2007-01-291-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: add WIN32OLE.locale=, WIN32OLE.locale,suke2007-01-291-19/+114
| | | | | | | | | | | | | | WIN32OLE_VARIANT#vartype. * test/win32ole/test_win32ole.rb: add test for WIN32OLE.locale=, WIN32OLE.locale. * test/win32ole/test_win32ole_variant.rb: add test for WIN32OLE_VARIANT#vartype. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: refactoring.suke2007-01-271-66/+299
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_val2olevariantdata): bug fix. suke2007-01-271-67/+64
| | | | | | | | | | WIN32OLE_VARIANT.new check that 1st argument should T_ARRAY when variant type is VT_ARRAY. * test/win32ole/test_win32ole_variant.rb: add some test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bug fix of WIN32OLE_VARIANT when variant type is VT_BYREF|VT_VARIANT.suke2007-01-261-9/+25
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb (TkConfigMethod#__confinfo_cmd,__conv_keyonly_optkeys): nagai2007-01-2610-17/+32
| | | | | | | | | | | | | | | | | | | make them private [ruby-dev:30074]. * ext/tk/lib/tk/txtwin_abst.rb: fix typo [ruby-dev:30073]. * ext/tk/lib/tk/canvas.rb (TkCanvas#scan_dragto): lack of an argument. * ext/tk/lib/tk/canvas.rb: clarify the including module name [ruby-dev:30080]. * ext/tk/lib/tk/scrollable.rb: change primary name of modules [ruby-dev:30080]. * ext/tk/lib/tkextlib/iwidgets/checkbox.rb: wrong number of arguments [ruby-Bugs-7776]. * ext/tk/lib/tkextlib/iwidgets/radiobox.rb: ditto. * ext/tk/lib/tkextlib/blt/tile/checkbutton.rb: change primary name of class [ruby-dev:30080]. * ext/tk/lib/tkextlib/blt/tile/radiobutton.rb: ditto. * ext/tk/ChangeLog.tkextlib: update. * ext/tk/lib/tkextlib/version.rb: update. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c: fix errors in socket sample code.matz2007-01-221-2/+2
| | | | | | [ruby-core:09992] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* WIN32OLE.codepage= accepts installed codepage.suke2007-01-201-19/+44
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* version 0.8.6.suke2007-01-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* modify WIN32OLERuntimeError message.suke2007-01-201-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e