summaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
...
* * follow original utf8tbl.c,v 1.8naruse2005-02-021-2240/+4213
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * follow original config.h,v 1.7naruse2005-02-021-0/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c: follow nkf.c,v 1.57naruse2005-02-021-48/+313
| | | | | | | | support JISX0212 fixed: [Ruby-dev:25617] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_truncate): should MEMZERO an extendednobu2005-02-021-0/+4
| | | | | | | part. [ruby-dev:25618] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/ripper/lib/ripper/tokenizer.rb -> lexer.rb.aamine2005-02-014-65/+237
| | | | | | | | | * ext/ripper/lib/ripper/lexer.rb: new method Ripper.slice. [experimental] * ext/ripper/lib/ripper/sexp.rb: new file. [experimental] * ext/ripper/lib/ripper.rb: require ripper/lexer and ripper/sexp. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, configure.in: made EXTOUT configurable.nobu2005-01-311-1/+2
| | | | | | | | | * ext/extmk.rb (extmake), lib/mkmf.rb: keep topdir as relative style. * lib/mkmf.rb: make extensions in depth order. [ruby-dev:25522] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/extconf.rb: add tkutil configuration step (remove old schema)nagai2005-01-317-66/+77
| | | | | | | | | | | * ext/tk/depend: remove the information of tkutil * ext/tk/make-tkutil: sub-part of Makefile to compile tkutil * ext/tk/tkutil/tkutil.c: move tkutil.c to subdirectory * ext/tk/tkutil/subconf.rb: configuration file for tkutil.c * ext/tk/tkutil/depend: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c: add invalid namespace checknagai2005-01-314-69/+114
| | | | | | | | * ext/tk/lib/multi-tk.rb: add invalid_namespace? method * ext/tk/lib/remote-tk.rb: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/extconf.rb: support new tk scheme on bccwin32.usa2005-01-271-2/+2
| | | | | | | fixed: [ruby-dev:25546] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/Setup*: remove tcltklib.usa2005-01-266-12/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/extconf.rb: support new tk scheme on mswin32.usa2005-01-261-12/+21
| | | | | | | fixed: [ruby-dev:25535] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk: merge tcltklib for Ruby/Tk installation controlnagai2005-01-2526-297/+365
| | | | | | | * ext/tcltklib: remove git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/vu/vu_demo.rb: rename from vu.rb; avoid the bug onnagai2005-01-252-0/+5
| | | | | | | | | Windows version of Tcl/Tk. The trouble based on the bug occurs when the script name (without extension) is a same name as a Tcl/Tk's library file name (without extension) required in the script. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: fix SEGV bug; trouble on canceling remainednagai2005-01-2530-105/+602
| | | | | | | | | | | | | | | | | | | | | | | | | | after scripts [ruby-dev:25479]: NULL current namespce when deleting Tk interpreter [ruby-talk:126225] * ext/tcltklib/extconf.rb: bug fix; TCL_ENABLE_THREAD flag is inverted [ruby-talk:126360] * ext/tcltklib/extconf.rb: add yet another native-thread check * ext/tk/tkutil.c: fix SEGV bug; NULL string pointer when finalize Ruby interpreter * ext/tk/lib/multi-tk.rb: avoid warning for deleted safeTk ip frame * ext/tk/lib/tk/bindtag.rb: bug fix; new method of named bindtag doesn't return the created object [ruby-dev:25479] * ext/tk/lib/tk/menu.rb: bug on treating arguments [ruby-dev:25479] * ext/tk/lib/tk.rb: bug fix; cannot accept a callback ID string for a command argument [ruby-dev:25479] * ext/tk/lib/multi-tk.rb: ditto * ext/tk/lib/tk/*.rb: ditto * ext/tk/lib/tkextlib/*.rb: ditto * ext/tk/sample/demos-jp/anilabel.rb: new demo script * ext/tk/sample/demos-en/anilabel.rb: ditto * ext/tk/sample/tkHTML/ss.rb: local variable scope bug fix [ruby-dev:25479] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/lib/kconv.rb (guess_old): not use NKF.guess_oldnaruse2005-01-241-1/+1
| | | | | | | but NKF.guess1. fixed: [ruby-dev:25491] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ocsp.c (ossl_ocspreq_to_der): should callgotoyuzo2005-01-221-1/+1
| | | | | | | GetOCSPReq at first. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (syck_parser_bufsize_set): avoid VC++ warningocean2005-01-201-2/+2
| | | | | | | "local variable 'size' used without having been initialized". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c: suppress warnings.nobu2005-01-161-6/+10
| | | | | | | | | | | | | | | | * lib/irb/extend-command.rb (IRB::ContextExtender.def_extend_command): ditto. * lib/irb/ext/history.rb (IRB::Context::set_last_value): ditto. * lib/irb/ext/history.rb (IRB::Context::eval_history): ditto. * lib/irb/locale.rb (IRB::Locale::real_load): ditto. * lib/irb/slex.rb (SLex::Node::create_subnode): remove garbage. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (zstream_end): should return value.usa2005-01-061-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ns_spki.c (ossl_spki_set_challenge): should callgotoyuzo2004-12-311-1/+1
| | | | | | | StringValue before GetSPKI. fixed: [ruby-dev:25359]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update kilmer template to use sectionsdave2004-12-291-15/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c (reinit): should initialize all staticnobu2004-12-281-3/+7
| | | | | | | variables. fixed: [ruby-list:40445] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/lib/kconv.rb (Kconv::RegexpEucjp): second byte is up tonobu2004-12-281-4/+6
| | | | | | | | | | 0xfe. * ext/nkf/lib/kconv.rb (Kconv#kconv): should handle UTF8 and UTF16 properly. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (rb_deflate_s_deflate, rb_inflate_s_inflate): ensurenobu2004-12-281-26/+45
| | | | | | | | | freeing internal zstreams. fixed: [ruby-dev:25309] * ext/zlib/zlib.c (rb_deflate_init_copy): replace rb_deflate_clone. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: fix SEGV bug when deleting Tk interpnagai2004-12-273-27/+53
| | | | | | | * ext/tk/lib/multi-tk.rb: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_x509name.c (Init_ossl_x509name): should usegotoyuzo2004-12-271-1/+2
| | | | | | | rb_hash_new to get exactly a Hash. fix [ruby-dev:25325]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/image.rb: TkPhotoImage#cget bug fixnagai2004-12-241-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (syck_loader_transfer): check type conversion.nobu2004-12-231-211/+218
| | | | | | | | | | | | | | * ext/syck/rubyext.c (syck_parser_assign_io, rb_new_syck_node): duck typing. * ext/syck/rubyext.c (syck_parser_s_alloc, syck_parser_initialize): allocation framework. * ext/syck/rubyext.c (syck_emitter_s_alloc, syck_emitter_initialize): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/blt.rb: add BLT extension supportnagai2004-12-2336-6/+5811
| | | | | | | | * ext/tk/lib/tkextlib/blt/*.rb: ditto * ext/tk/lib/tkextlib/blt/tile/*.rb: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rubyio.h: rename FMODE_UNSEEKABLE to FMODE_DUPLEX.akr2004-12-231-1/+1
| | | | | | | | * io.c (io_check_tty): extracted function to set FMODE_LINEBUF and FMODE_DUPLEX. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: define TclTkLib::COMPILE_INFO and RELEASE_DATEnagai2004-12-234-0/+90
| | | | | | | | | * ext/tcltklib/extconf.rb: ditto * ext/tk/lib/tkutil.c: define Tk::RELEASE_DATE * ext/tk/lib/tk.rb: define Tk::RELEASE_DATE git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/sym.c (rb_dlsym_initialize): extract internal pointers afternobu2004-12-211-1/+2
| | | | | | | all argument conversion. fixed: [ruby-dev:25271] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_asn1.c (ossl_asn1_decode_all): use rb_str_new4gotoyuzo2004-12-211-9/+12
| | | | | | | | | | to avoid SEGV. * ext/openssl/ossl_asn1.c (ossl_asn1_traverse, ossl_asn1_decode, ossl_asn1_decode_all): temporary value should be marked volatile. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_asn1.c (ossl_asn1_traverse, ossl_asn1_decode):gotoyuzo2004-12-211-3/+3
| | | | | | | | | use rb_str_new4 to avoid SEGV. fix [ruby-dev:25261] * test/openssl/test_asn1.rb: add tests for OpenSSL::ASN1. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/grid.rb: rescue bug of 'grid configure' on Tcl/Tk8.3-nagai2004-12-211-1/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/https.rb: delete descriptions about key_file and cert_file.gotoyuzo2004-12-201-2/+0
| | | | | | | | | fixed: [ruby-dev:25243] * ext/openssl/lib/net/telnets.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: supports new features of Tcl/Tk8.5a2nagai2004-12-204-8/+133
| | | | | | | | | * ext/tk/lib/tk/clock.rb: ditto * ext/tk/lib/tk/text.rb: ditto * ext/tk/lib/tk/panedwindow.rb: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (rb_deflate_s_deflate, rb_inflate_s_inflate):nobu2004-12-181-4/+5
| | | | | | | disallow interrupt by type conversion. fixed: [ruby-dev:25226] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: fix bug on setting up system encodingnagai2004-12-179-39/+152
| | | | | | | | | | | | | | | | | | | | | | * ext/tk/lib/tk/event.rb: fix error on require process * ext/tk/lib/font.rb: fix abnormal termination error on Windows * ext/tk/lib/tk/virtevent.rb: TkVirtualEvent::PreDefVirtEvent.new() accepts event-sequence arguments * ext/tk/lib/text.rb: fail to dump embedded images * ext/tk/lib/text.rb: tag_nextrange and tag_prevrange returns wrong types of values * ext/tk/lib/texttag.rb: nextrange and prevrange returns wrong types of values * ext/tk/lib/text.rb: add TkText::IndexModMethods module and TkText::IndexString class to treat text index modifiers * ext/tk/lib/texttag.rb: use TkText::IndexModMethods module * ext/tk/lib/textmark.rb: ditto * ext/tk/lib/textimage.rb: ditto * ext/tk/lib/textwindow.rb: ditto * ext/tk/lib/textimage.rb: wrong gravity of text mark for embedded image * ext/tk/lib/textwindow.rb: wrong gravity of text mark for embedded window git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl.c (ossl_raise): refine message format.gotoyuzo2004-12-161-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/demos-en/widget: modify version check for supporting featuresnagai2004-12-161-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/bindtag.rb: bug fix [ruby-talk: 123667]nagai2004-12-1624-100/+187
| | | | | | | | | | | | | | | | | | | * ext/tk/lib/tk/timer.rb: accept :idle for the interval argument * ext/tk/lib/tk.rb: add TkComm._callback_entry?() * ext/tk/lib/multi-tk.rb: add MultiTkIp.cb_entry_class * ext/tk/lib/tk/canvas.rb: use TkComm._callback_entry?() * ext/tk/lib/tk/canvastag.rb: ditto * ext/tk/lib/tk/dialog.rb: ditto * ext/tk/lib/tk/optiondb.rb: ditto * ext/tk/lib/tk/text.rb: ditto * ext/tk/lib/tk/texttag.rb: ditto * ext/tk/lib/tk/textwindow.rb: ditto * ext/tk/lib/tk/timer.rb: ditto * ext/tk/lib/tk/validation.rb: ditto * ext/tk/lib/tkextlib/*: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/ripper/extconf.rb: bison is not needed if ripper.c exists. ↵aamine2004-12-151-2/+4
| | | | | | [ruby-dev:25191] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (rb_syck_io_str_read): [ruby-core:03973]matz2004-12-151-6/+9
| | | | | | | * object.c (rb_obj_id_obsolete): warn always. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb (Set#==): [ruby-dev:25206]matz2004-12-1518-118/+137
| | | | | | | | | | | * ext/openssl/ossl_digest.c (ossl_digest_initialize): [ruby-dev:25198] * utf8.c (utf8_is_mbc_ambiguous): [ruby-talk:123561] * utf8.c (utf8_mbc_to_normalize): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* devided DL::Types#encode_type into three methods.ttate2004-12-143-48/+56
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl.c (ossl_raise): avoid buffer overrun. [ruby-dev:25187]gotoyuzo2004-12-141-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c (window_subwin): call NUM2INT() beforeshugo2004-12-121-6/+10
| | | | | | | GetWINDOW(). fixed: [ruby-dev:25161] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_listen): get OpenFile just before callingnobu2004-12-091-1/+3
| | | | | | | listen(2). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sdbm/init.c (GetDBM): typo.usa2004-12-091-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e