summaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* * ext/openssl/extconf.rb: check for X509V3_EXT_nconf_nid.gotoyuzo2005-11-222-4/+21
| | | | | | | | | | | | | | * ext/openssl/ossl_x509ext.c (MakeX509ExtFactory): should use OPENSSL_malloc to allocate X509V3_CTX. * ext/openssl/ossl_x509ext.c (ossl_x509extfactory_create_ext): use X509V3_EXT_nconf_nid to avoid SEGV (and to build extensions which values are placed in separate section). * test/openssl/test_x509ext.rb: new file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/tile.rb: bug fix (Tk::Tile::USE_TTK_NAMESPACEnagai2005-11-213-2/+11
| | | | | | | is not defined). git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/font.rb: remove dependency on Ruby's version (1.8 or 1.9).nagai2005-11-185-52/+73
| | | | | | | | | * ext/tk/lib/tkextlib/ICONS/icons.rb: ditto. * ext/tk/sample/tkextlib/treectrl/demo.rb: ditto. * ext/tk/lib/tk.rb: update RELEASE_DATE git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: add restriction to access the entriednagai2005-11-185-24/+377
| | | | | | | | | | | | | | command table and manipulate other IPs (for reason of security). Now, a IP object can be controlled by only its master IP or the default IP. * ext/tk/lib/remote-tk.rb: add restriction to manipulate. * ext/tk/tcltklib.c (ip_is_slave_of_p): add TclTkIp#slave_of?(ip) to check manipulability. * ext/tk/lib/tk.rb: bug fix on handling of Tcl's namespaces. * ext/tk/lib/tk/namespace.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (static-ruby): overridable.nobu2005-11-161-4/+6
| | | | | | | | | | * ext/extmk.rb (parse_args): force to link extensions statically only if static is given for extstatic. * ext/extmk.rb (RUBY, RUBYW): overridable. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/24hr_clock.rb: a new example about handling of canvas items.nagai2005-11-151-0/+286
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c: Socket Documentation. [ruby-core:6580]ocean2005-11-111-0/+510
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/stubs.c (_nativethread_consistency_check): use simplernagai2005-11-073-34/+35
| | | | | | | | | | (low cost) way to check whether the Tcl interpreter was compiled with threads enabled of not. * ext/tk/tcltklib.c: reduce warnings. * ext/tk/tkutil/tkutil.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (Iconv::BrokenLibrary): exception when detected anobu2005-11-061-1/+16
| | | | | | | bug of underlying library. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/extconf.rb: use 3rd argument to have_library.nobu2005-11-061-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/stubs.c (ruby_tcl_create_ip_and_stubs_init): should touchocean2005-11-061-2/+2
| | | | | | | interpreter after initialization is done. [ruby-dev:27638] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/.cvsignore: removed.ocean2005-11-021-3/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e