summaryrefslogtreecommitdiff
path: root/ext
AgeCommit message (Collapse)Author
2004-09-01* ext/tk/lib/tk/spinbox.rb: fix typoocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-31* ext/tk/tkutil.c (cbsubst_init): fix memory leakocean
* ext/tk/tkutil.c (cbsubst_get_all_subst_keys): fix SEGV git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-31* ext/tcltklib/tcltklib.c (ip_delete): when a tcltkip is deleted, destroy ↵nagai
its root widget git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-31* ext/tcltklib/tcltklib.c (del_root): fix SEGVnagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-30* ext/tk/lib/multi-tk.rb: 'restart' method accepts argumentsnagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-29* ext/tcltklib/tcltklib.c: compile error on bcc32 [ruby-dev:24081]nagai
* ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string does not work git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-24* ext/openssl/ossl_x509attr.c (ossl_x509attr_initialize): d2igotoyuzo
functions may replace the pointer indicated by the first argument. * ext/openssl/ossl_x509ext.c (ossl_x509ext_initialize): ditto. * ext/openssl/ossl_x509name.c (ossl_x509name_initialize): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-23* ext/openssl/ossl_ssl.c (ossl_ssl_read):gotoyuzo
- should return an empty string if specified length to read is 0. - should check for pending data and wait for fd before reading. - call underlying IO's sysread if SSL session is not started. [ruby-dev:24072], [ruby-dev:24075] * ext/openssl/ossl_ssl.c (ossl_ssl_write): - call underlying IO's syswrite if SSL session is not started. * ext/openssl/ossl_ssl.c (ossl_ssl_pending): new method OpenSSL::SSL#pending. * ext/openssl/lib/openssl/buffering.rb: should not use select. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-20* ext/tcltklib/extconf.rb (find_tcl, find_tk): find stub library.nobu
* lib/mkmf.rb (arg_config, with_config): deal with '-' and '_' uniformly. [ruby-dev:24118] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-19* ext/tk/lib/tk.rb: Fail to treat a hash value of 'font' option.nagai
* ext/tk/lib/tk.rb: bindinfo cannot return '%' substiturion infomation. * ext/tk/lib/menu.rb: typo bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-18* ext/syck/token.c: re2c no longer compiled with bit vectors. causedwhy
problems for non-ascii characters. [ruby-core:03280] * ext/syck/implicit.c: ditto. * ext/syck/bytecode.c: ditto. * lib/yaml/baseemitter.rb: folding now handles double-quoted strings, fixed problem with extra line feeds at end of folding, whitespace opening scalar blocks. * lib/yaml/rubytypes.rb: subtelties in handling strings with non-printable characters and odd whitespace patterns. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-18* ext/tcltklib/stubs.c (ruby_tcltk_stubs): need to calleban
Tcl_FindExecutable() for Tcl/Tk 8.4. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-07* lib/implicit.c: added sexagecimal float#base60.why
* ext/syck/rubyext.c (yaml_org_handler): ditto. * lib/token.c: indentation absolutely ignored when processing flow collections. plain scalars are trimmed if indentation follows in an ambiguous flow collection. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-06* ext/zlib/zlib.c: Zlib::GzipReader#read(0) returns "" instead of nil.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-03* ext/tk/lib/tk/namespace.rb: bug fixnagai
* ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: add Tk::TreeCtrl.loupe git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-02* ext/tk/lib/msgcat.rb (set_translation): bug fix (fail to setnagai
trans_str to the same as src_str when trans_str is not given.) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-30* lib/yaml.rb (YAML::load_file, YAML::parse_file): added.why
* lib/yaml/rubytypes.rb: exceptions were using an older YAML.object_maker. [ruby-core:03080] * ext/syck/token.c (sycklex_yaml_utf8): using newline_len to handline CR-LFs. "\000" was showing up on folded blocks which stopped at EOF. * ext/syck/token.c: re2c compiled with bit vectors now. * ext/syck/implicit.c: ditto. * ext/syck/bytecode.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-30* ext/tcltklib/tcltklib.c(lib_fromUTF8_core): raise ArgumentError whennagai
the unknown encoding name is given. * ext/tcltklib/tcltklib.c(lib_toUTF8_core): ditto. * ext/tk/lib/tk.rb(Tk::Encoding.encoding_convertfrom): bug fix. * ext/tk/lib/tk.rb(Tk::Encoding.encoding_convertto): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-29* ext/tk/lib/tkextlib/pkg_checker.rb: improve the check processnagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-28* ext/tk/lib/validate.rb: accept a Method object for the validatecommand optionnagai
* ext/tk/lib/tkextlib/winico.rb: add winico extension support git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-28* for backward compatibility (see [ruby-talk:107510], [ruby-talk:107647])nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-24* ext/tk/MANIFEST: addedeban
lib/tkextlib/tclx.rb lib/tkextlib/tclx/setup.rb lib/tkextlib/tclx/tclx.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-23* add TclX extension support (partially)nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-18* TkMsgCatalog.callback: bug fix (wrong number of argument)nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-17* ext/tk/lib/tk/variable.rb: TkVariable#ref returns a TkVariable objectnagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-16* rename files to avoid application (cvs and so on) troublesnagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-16* ext/tk/lib/tk.rb(module TkObjecct): extend TkCore modulenagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-15* ext/readline/extconf.rb: added dir_config for curses, ncurses,shugo
termcap. (backported from HEAD) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-15* ext/tk/sample/tkextlib/tktable/spreadsheet.rb: add a new samplenagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-15ext/socket/socket.c (s_recvfrom): remove C++ style comment.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-15* ext/tk/, ext/tcltklib/: bug fixnagai
* ext/tk/lib/tk.rb: better operation for SIGINT when processing callbacks. * ext/tk/lib/tk/msgcat.rb: ditto. * ext/tk/lib/tk/variable.rb: ditto. * ext/tk/lib/tk/timer.rb: ditto. * ext/tk/lib/tk/validation.rb: add Tk::ValidateConfigure.__def_validcmd() to define validatecommand methods easier * ext/tk/lib/tk.rb (_genobj_for_tkwidget): support autoload Tk ext classes * ext/tk/lib/tk/canvas.rb and so on: remove the parent widget type check for items (e.g. canvas items; depends on the class) to avoid some troubles on Tk extension widget class definition. * ext/tk/lib/tkextlib/: add Iwidget and TkTable extension support * ext/tk/sample/tkextlib/: add samples of Iwidget and TkTable git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-14* ext/openssl/ossl_asn1.c (ossl_asn1cons_to_der): fix type ofgotoyuzo
argument. [ruby-dev:23891] * test/openssl/test_x509store.rb: prune tests for CRL checking unless X509::V_FLAG_CRL_CHECK is defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-09* ext/tk/lib/tk.rb: better operation for SIGINT when processing callbacks.nagai
* ext/tk/lib/tk/msgcat.rb: ditto. * ext/tk/lib/tk/variable.rb: ditto. * ext/tk/lib/tk/timer.rb: ditto. * ext/tk/lib/tk/validation.rb: add Tk::ValidateConfigure.__def_validcmd() to define validatecommand methods easier git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-08* add entriesnagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-08* ext/tk/lib : bug fixnagai
* ext/tk/lib/tkextlib/itcl : add [incr Tcl] support * ext/tk/lib/tkextlib/itk : add [incr Tk] support * ext/tk/lib/tkextlib/iwidgets : midway point of [incr Widgets] support * ext/tk/sample/tkextlib/iwidgets : very simple examples of [incr Widgets] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-06* ext/tk/lib/tkextlib/tktrans.rb,eban
ext/tk/lib/tkextlib/treectrl.rb: fix syntax errors. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-06* ext/tk/lib : improve framework of developping Tcl/Tk extension wrappersnagai
* BWidget extension support on Ruby/Tk git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-03* ext/tk/lib/tkextlib/tkDND.rb: fix syntax error.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-01This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-01* ext/tk/lib/tcltklib : bug fixnagai
* ext/tk/lib/tk : bug fix and add Tcl/Tk extension support libraries git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-01* ext/openssl/ossl_cipher.c (ossl_cipher_set_padding): last modify isgotoyuzo
rolled back for future compatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-01* ext/openssl/extconf.rb: check for EVP_CIPHER_CTX_copy, ENGINE_add,gotoyuzo
EVP_CIPHER_CTX_set_padding, EVP_CipherFinal_ex, EVP_CipherInit_ex, EVP_DigestFinal_ex and EVP_DigestInit_ex. * ext/openssl/openssl_missing.c (EVP_CIPHER_CTX_copy): new function. * ext/openssl/openssl_missing.h (EVP_DigestInit_ex, EVP_DigestFinal_ex, EVP_CipherInit_ex, EVP_CipherFinal_ex, HMAC_Init_ex): new macro for OpenSSL 0.9.6. * ext/openssl/ossl_cipher.c (ossl_cipher_encrypt, ossl_cipher_decrypt): re-implemnt (the arguments for this method is ). * ext/openssl/ossl_cipher.c (ossl_cipher_pkcs5_keyivgen): new method OpenSSL::Cipher::Cipher#pkcs5_keyivgen. it calls EVP_BytesToKey(). * ext/openssl/ossl_cipher.c (ossl_cipher_alloc, ossl_cipher_initialize, ossl_cipher_copy, ossl_cipher_reset ossl_cipher_final, ossl_cipher_set_key, ossl_cipher_set_iv): replace all EVP_CipherInit and EVP_CipherFinal into EVP_CipherInit_ex and EVP_CipherFinal_ex. and EVP_CIPHER_CTX_init should only be called once. * ext/openssl/ossl_cipher.c (ossl_cipher_set_key_length): new method OpenSSL::Cipher::Cipher#key_len=. * ext/openssl/ossl_cipher.c (ossl_cipher_set_padding): the type of argument is changed from integer to boolean. * ext/openssl/ossl_cipher.c (ossl_cipher_init_deprecated): new finction; print warning for Cipher#<<. * ext/openssl/ossl_digest.c: replace all EVP_DigestInit and EVP_DigestFinal into EVP_DigestInit_ex and EVP_DigestFinal_ex. and EVP_MD_CTX_init should only be called once. * ext/openssl/ossl_digest.c (digest_final): should call EVP_MD_CTX_cleanup to avoid memory leak. * ext/openssl/ossl_hmac.c (ossl_hmac_initialize): repalce HMAC_init into HMAC_init_ex. and HMAC_CTX_init is moved to ossl_hmac_alloc. * ext/openssl/ossl_hmac.c (hmac_final): should call HMAC_CTX_cleanup to avoid memory leak. * test/openssl/test_cipher.rb, test/openssl/test_digest.rb, test/openssl/test_hmac.rb: new file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-30* ext/openssl/ossl_asn1.c (ossl_i2d_ASN1_TYPE, ossl_ASN1_TYPE_free):gotoyuzo
workaround for the versions earlier than OpenSSL-0.9.7. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-30* ext/openssl/ossl_pkey_dh.c (ossl_dh_initialize): should creategotoyuzo
empty pkey object if no argument is passed. [ruby-talk:103328] * ext/openssl/ossl_pkey_dsa.c (ossl_dsa_initialize): ditto. * ext/openssl/ossl_pkey_rsa.c (ossl_rsa_initialize): ditto. * ext/openssl/ossl_pkey_dh.c: add new methods: OpenSSL::PKey::DH#p, OpenSSL::PKey::DH#p=, OpenSSL::PKey::DH#g, OpenSSL::PKey::DH#g=, OpenSSL::PKey::DH#pub_key, OpenSSL::PKey::DH#pub_key=, OpenSSL::PKey::DH#priv_key and OpenSSL::PKey::DH#priv_key=. * ext/openssl/ossl_pkey_dsa.c: add new methods: OpenSSL::PKey::DSA#p, OpenSSL::PKey::DSA#p=, OpenSSL::PKey::DSA#q, OpenSSL::PKey::DSA#q=, OpenSSL::PKey::DSA#g, OpenSSL::PKey::DSA#g=, OpenSSL::PKey::DSA#pub_key, OpenSSL::PKey::DSA#pub_key=, OpenSSL::PKey::DSA#priv_key and OpenSSL::PKey::DSA#priv_key=. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-30* ext/openssl/ossl_ssl.c (ossl_ssl_read): take optional second argumentgotoyuzo
to specify a string to be written. * ext/openssl/lib/openssl/buffering.rb (OpenSSL::Buffering#read): take optional second argument to specify a string to be written. * ext/openssl/lib/openssl/buffering.rb (OpenSSL::Buffering#gets): refine regexp for end-of-line. * ext/opnessl/lib/openssl/ssl.rb (OpenSSL::SSL::SocketForwarder#listen): fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-29* ext/syck/rubyext.c (syck_emitter_new): set buffer afterwhy
Data_Wrap_Struct to avoid possible GC. [ruby-talk:104835] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-25* ext/iconv/extconf.rb: check stricter. [ruby-talk:104501]nobu
* ext/iconv/extconf.rb: include iconv.h for libiconv. [ruby-dev:22715] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-24* eval.c (rb_thread_atfork): remove "fork terminates thread"matz
warning. [ruby-dev: * object.c (rb_obj_clone): backport FL_FINALIZE patch from 1.9. [ruby-core:02786][ruby-core:03067] * ext/socket/socket.c (sock_sockaddr): Socket#gethostbyname() should give us packed address, not struct sockaddr. [ruby-core:03053] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-23Work around OSX strangneness with recvfrom on connection-oriented socketsdave
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-23* ext/zlib/zlib.c: 0xff should not be shifted by 24 bits onmatz
64 bit platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e