summaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* * ext/syck/yaml2byte.c (syck_yaml2byte_handler): need to freematz2006-05-031-0/+1
| | | | | | | | type_tag. a patch from Pat Eyler <rubypate at gmail.com>. [ruby-core:07808] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/emitter.c (syck_scan_scalar): avoid accessingmatz2006-05-031-1/+1
| | | | | | | | | | | uninitialized array element. a patch from Pat Eyler <rubypate at gmail.com>. [ruby-core:07809] * array.c (rb_ary_fill): initialize local variables first. a patch from Pat Eyler <rubypate at gmail.com>. [ruby-core:07810] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (make_hostent_internal): accept ai_familymatz2006-05-021-5/+4
| | | | | | | | check from Sam Roberts <sroberts at uniserve.com>. [ruby-core:07691] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_asn1.c (ossl_asn1_decode0): should initializegotoyuzo2006-04-291-1/+1
| | | | | | | flag. [ruby-core:07785] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c (delete_slaves): maybe increment the referencenagai2006-04-251-2/+3
| | | | | | | count of a NULL Tcl_Obj [ruby-core:07759]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regex.c (re_compile_pattern): should check if c is not amatz2006-04-241-1/+2
| | | | | | | | multibyte chracter. a patch from KIMURA Koichi <kimura.koichi at canon.co.jp>. [ruby-dev:28598] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c (lib_eventloop_ensure): refer freed pointernagai2006-04-211-3/+5
| | | | | | | [ruby-core:07744] and memory leak. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c: document update patch from Sam Robertsmatz2006-04-211-2/+232
| | | | | | | <sroberts at uniserve.com>. [ruby-core:07701] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: add a binding to a container for a slave IP.nagai2006-04-184-12/+32
| | | | | | | | | * ext/tk/lib/tk.rb: update RELEASE_DATE. * ext/tk/tcltklib.c: forget to reset a Tcl interpreter. * ext/tk/stubs.c: fix potential bugs about handling rb_argv0. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/panedwindow.rb: lack of arguments. [ruby-core:7681]nagai2006-04-061-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c: fix SEGV when embedding to an application.nagai2006-04-055-39/+68
| | | | | | | | | | | | | | | [ruby-core:7600] * ext/tk/tcltklib.c: fix SEGV at exit. [ruby-talk:186489] * ext/tk/tkutil/tkutil.c: follow to changing specification of instance_eval on ruby-1.9.x. * ext/tk/lib/tk.rb: ditto. * ext/tk/lib/multi-tk.rb: ditto. * ext/tk/lib/tk.rb: remove warning about redefinition of methods. * ext/tk/lib/tk/variable.rb: remove warning about unseting Tcl variables. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* WIN32OLE#[] should accept multi argments.suke2006-03-292-5/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c (nkf_each_char_to_hex, encode_fallback_subchar,usa2006-03-291-3/+3
| | | | | | | e2w_conv): support C90 compiler. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/{nkf.c, utf8tbl.c, config.h}: imported nkf 2.0.6.naruse2006-03-275-3515/+7615
| | | | | | | | | | | | | | | * Add --ic / --oc option and mapping tables. * Add fallback option. * Add --no-best-fit-chars option. * Fix some bugs. * ext/nkf/nkf.c (nkf_split_options): added for parse option string. * ext/nkf/lib/kconv.rb (Kconv.to*): add -m0. Note that Kconv.to* still imply -X. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c, ext/openssl/ossl_nsspki.c: fix typo.gotoyuzo2006-03-172-2/+2
| | | | | | | [ruby-core:07571] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c, ext/openssl/ossl_nsspki.c: should usegotoyuzo2006-03-152-2/+2
| | | | | | | "rb_str_new(0, 0)" to make empty string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enabled documents in nkf and kconv.naruse2006-02-231-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf.c ext/nkf/lib/kconv.rb: Add rdoc.naruse2006-02-232-121/+564
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Removed (Obsolete by test/nkf)naruse2006-02-231-864/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl.h (OSSL_Debug): should not use __func__.gotoyuzo2006-02-191-1/+1
| | | | | | | [ruby-dev:28339] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c: fixed typo.ocean2006-02-141-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c: supress warning on test/zlib. [ruby-dev:28323]ocean2006-02-141-9/+30
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c: should not access ruby objects in finalizer.ocean2006-02-071-55/+45
| | | | | | | [ruby-dev:28286] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/syck.c (syck_move_tokens): should reset p->cursor or etcocean2006-02-031-3/+0
| | | | | | | | even if skip == 0. This causes buffer overrun. (ex: YAML.load('--- "..' + '\x82\xA0' * 511 + '"')) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/emitter.c (syck_emitter_write): should not set '\0' onocean2006-02-021-1/+0
| | | | | | | | emitter's marker. if marker points to the end of buffer, this causes buffer overrun. (ex: YAML.dump("." * 12288)) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: add MultiTkIp#eval and bg_eval.nagai2006-01-312-4/+107
| | | | | | | | * ext/tk/lib/tk/namespace.rb: TkNamespace#eval was enbugged at the last commit. Now it will return a proper object. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (syck_resolver_transfer): workaround for SEGV.ocean2006-01-301-0/+4
| | | | | | | ex: YAML.load("!map:B {}"). [ruby-core:7217] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add win32olesuke2006-01-271-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add .documentsuke2006-01-271-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/emitter.c (syck_emit_seq, syck_emit_map, syck_emit_item):ocean2006-01-161-21/+15
| | | | | | | | should output complex key mark even if map's key is empty seq/map. [ruby-core:7129] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkballoonhelp.rb: [bug fix] couldn't add to a widgetnagai2006-01-121-2/+97
| | | | | | | | | which is constructed with TkComposite module. [new feature] support 'command' option which is called just before popping up the balloon help. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Sorry, commit miss.ocean2006-01-101-4/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (syck_resolver_transfer): should be able to loadocean2006-01-101-1/+9
| | | | | | | | !ruby/object:Bignum syntax 1.8.3 dumped. [ruby-core:6159] (written by akira yamada) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/extconf.rb: zlib compiled DLL version 1.2.3 distributed byocean2006-01-091-1/+1
| | | | | | | http://www.zlib.net/ has zdll.lib. [ruby-dev:28209] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/openssl/ssl.rb ↵gotoyuzo2005-12-261-2/+3
| | | | | | | | | (OpenSSL::SSL::SSLSocket#post_connection_chech): treat wildcard character in commonName. [ruby-dev:28121] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * stable version 1.8.4 released.matz2005-12-241-1/+1
| | | | | | | | * ext/digest/sha2/sha2.c (ULL): support AIX C. a patch from Kailden <kailden at gmail.com>. [ruby-core:06984] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c: fixed GC problem (backported HEAD 1.55 - 1.62)ocean2005-12-202-101/+76
| | | | | | | | | | | | | | | | [ruby-dev:27839] * ext/syck/syck.h (S_FREE): small hack. no need to check if pointer is NULL or not before S_FREE. * st.c: uses malloc instead of xmalloc to avoid GC. syck uses st_insert in gram.c to insert node from rb_syck_bad_anchor_handler into SyckParser's hash table. if GC occurs in st_insert, it's not under SyckParser's mark system yet. so RString can be released wrongly. [ruby-dev:28057] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (syck_emitter_reset): to ensure compatibilitywhy2005-12-201-1/+1
| | | | | | | with previous Ruby versions, documents are no longer headless. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* corrected the allocation size.ttate2005-12-161-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (zstream_run): fix a GC problem by tail call onakr2005-12-141-0/+1
| | | | | | | x86_64 with gcc 4.0.3 20051111 (prerelease) (Debian 4.0.2-4) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/digest.c (rb_digest_base_s_digest): add volatile tomatz2005-12-124-7/+7
| | | | | | | | | | | protect temporary context object. [ruby-dev:27979] * ext/iconv/iconv.c (Init_iconv): rb_gc_register_address() should be called before actual variable initialization. [ruby-dev:27986] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2005-12-111-0/+237
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/SUPPORT_STATUS: update to support libraries innagai2005-12-114-6/+29
| | | | | | | | | | ActiveTcl8.4.12.0. * ext/tk/lib/tkextlib/tile/tnotebook.rb: add Tk::Tile::TNotebook#insert. * ext/tk/sample/tkextlib/tile/demo.rb: improve the look of a part of the demo. * ext/tk/sample/scrollframe.rb: add a new sample. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c: forgot to update RELEASE_DATE.nagai2005-12-063-4/+12
| | | | | | | | * ext/tk/lib/tk.rb: ditto. * ext/tk/sample/demos-en/menu.rb: commit miss. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/README.macosx-aqua: [new document] tips to avoid the knownnagai2005-12-069-39/+182
| | | | | | | | | | | | | | | | | | bug on platform specific dialogs of Tcl/Tk Aqua on MacOS X. * ext/tk/tcltklib.c: fix bug on switching threads and waiting on the deleted interpreter on vwait and tkwait command. * ext/tk/lib/multi-tk.rb: kill the meaningless loop for the deleted Tk interpreter. * ext/tk/sample/demos-jp/image3.rb: [bug fix] wrong argument. * ext/tk/sample/demos-en/image3.rb: ditto. * ext/tk/sample/demos-jp/menu.rb: fix message for MacOS X. * ext/tk/sample/demos-jp/menu8x.rb: ditto. * ext/tk/sample/demos-en/menu.rb: ditto. * ext/tk/sample/demos-jp/widget; update version-info. * ext/tk/sample/demos-en/widget; ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (init_inetsock_internal): remove settingusa2005-11-281-0/+5
| | | | | | | | SO_REUSEADDR option on server socket on Cygwin. fixed: [ruby-core:6765] ([ ruby-Bugs-2872 ]) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (init_inetsock_internal): remove settingusa2005-11-281-5/+0
| | | | | | | | SO_REUSEADDR option on server socket. fixed: [ruby-core:6765] ([ ruby-Bugs-2872 ]) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit miss.nagai2005-11-2513-178/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/tkextlib/tile/demo.rb: bug fixnagai2005-11-25112-36/+745
| | | | | | | | * sample/tkextlib/tile/themes/*: add some themes (blue, keramik, and plastik; require Tile-0.5 or later). git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add lacks for Tk8.5 support.nagai2005-11-235-1/+166
| | | | | | | | | | | | * ext/tk/lib/tk.rb: add Tk.pkgconfig_list and Tk.pkgconfig_get [Tk8.5 feature]. * ext/tk/lib/tk/text.rb: supports new indices modifires on a Text widget [Tk8.5 feature]. * ext/tk/lib/tk/virtevent.rb: add TkNamedVirtualEvent. * ext/tk/lib/tk/autoload.rb: ditto. * ext/tk/lib/tk/event.rb: add :data key for virtual events [Tk8.5 feature]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e