summaryrefslogtreecommitdiff
path: root/ext
AgeCommit message (Collapse)Author
2004-12-18* ext/zlib/zlib.c (rb_deflate_s_deflate, rb_inflate_s_inflate):nobu
disallow interrupt by type conversion. fixed: [ruby-dev:25226] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-17* ext/tk/lib/tk.rb: fix bug on setting up system encodingnagai
* 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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-16* ext/openssl/ossl.c (ossl_raise): refine message format.gotoyuzo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-16* ext/tk/sample/demos-en/widget: modify version check for supporting featuresnagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-16* ext/tk/lib/tk/bindtag.rb: bug fix [ruby-talk: 123667]nagai
* 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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-15* ext/curses/curses.c (window_subwin): call NUM2INT() beforeshugo
GetWINDOW(). (backported from CVS HEAD) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-15* ext/openssl/ossl_x509name.c (ossl_x509name_to_a): avoid SEGVgotoyuzo
(rollback the previous commit). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-15* ext/openssl/ossl_digest.c (ossl_digest_initialize): [ruby-dev:25198]matz
* lib/cgi/session.rb (CGI::Session::initialize): generate new session if given session_id does not exist. [ruby-list:40368] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-14devided the method DL::Types#encode_type into three methods.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-14* ext/openssl/ossl.c (ossl_raise): avoid buffer overrun. [ruby-dev:25187]gotoyuzo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-11* eval.c (run_trap_eval): prototype; avoid VC++ warnings.usa
* ext/socket/getaddrinfo.c: fix typo. fixed: [ruby-core:03947] * win32/win32.c: need to include dln.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-09* ext/socket/socket.c (sock_listen): get OpenFile just before callingnobu
listen(2). fixed: [ruby-dev:25149] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-09Port socket library to VMS.akiyoshi
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-09* ext/sdbm/init.c (GetDBM): typo.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-09* ext/dbm/dbm.c (fdbm_select): [ruby-dev:25132]matz
* ext/sdbm/init.c: ditto. * ext/gdbm/gdbm.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-08* ext/tcltklib/tcltklib.c (ip_init): set root-win title to "ruby" whennagai
the running script is '-e one-liner' or '-' (stdin). * ext/tcltklib/extconf.rb: add find_library("#{lib}#{ver}",..) for stub libs * ext/tk/lib/tk/textmark.rb: TkTextMarkCurrent and TkTextMarkAnchor have a wrong parent class. * ext/tk/lib/tk/dialog.rb: rename TkDialog2 --> TkDialogObj and TkWarning2 --> TkWarningObj (old names are changed to alias names) * ext/tk/lib/tk/dialog.rb: bug fix of treatment of 'prev_command' option and hashes for configuration * ext/tk/lib/tk/dialog.rb: add TkDialogObj#name to return the button name * ext/tk/lib/tk/radiobutton.rb: rename enbugged method value() ==> get_value() and value=(val) ==> set_value(val). * ext/tk/lib/tk/menu.rb: add TkMenu.new_menuspec * ext/tk/lib/tk/menu.rb: add alias (TkMenuButton = TkMenubutton, TkOptionMenuButton = TkOptionMenubutton) * ext/tk/lib/tk/event.rb: new method aliases (same as option keys of event_generate) for Event object * ext/tk/lib/tk/font.rb: configinfo returns proper types of values * ext/tk/lib/tk.rb: bind methods accept subst_args + block * ext/tk/lib/tk/canvas.rb: ditto * ext/tk/lib/tk/canvastag.rb: ditto * ext/tk/lib/tk/frame.rb: ditto * ext/tk/lib/tk/text.rb: ditto * ext/tk/lib/tk/texttag.rb: ditto * ext/tk/lib/tk/toplevel.rb: ditto * ext/tk/lib/tkextlib/*: ditto and bug fix git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-07* ext/socket/socket.c (bsock_setsockopt): [ruby-dev:25039]matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-06* process.c (proc_setgroups): [ruby-dev:25081]matz
* re.c (rb_reg_eqq): document fix. [ruby-talk:122541] * ext/socket/socket.c (sock_connect): use rb_str_new4(). [ruby-dev:25052] * io.c (io_write): remove rb_str_locktmp(). [ruby-dev:25050] * io.c (io_fwrite): takes VALUE string as an argument. [ruby-dev:25050] * ext/socket/socket.c (sock_connect): remove rb_str_locktmp(). [ruby-dev:25050] * ext/socket/socket.c (udp_connect): [ruby-dev:25045] * ext/socket/socket.c (udp_bind): ditto. * ext/socket/socket.c (udp_send): ditto. * ext/socket/socket.c (bsock_send): ditto. * ext/socket/socket.c (s_recvfrom): ditto. * hash.c (rb_hash_hash): should provide "hash" method where "eql?" is redefined. [ruby-talk:122482] * ext/socket/socket.c (bsock_setsockopt): [ruby-dev:25039] * hash.c (rb_hash_hash): should provide "hash" method where "eql?" is redefined. [ruby-talk:122482] * ext/socket/socket.c (bsock_setsockopt): [ruby-dev:25039] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-05* ext/openssl/ossl_pkey_rsa.c (ossl_rsa_public_encrypt,gotoyuzo
ossl_rsa_public_decrypt, ossl_rsa_private_encrypt, ossl_rsa_private_decrypt): should take an optional argument to specify padding mode. [ruby-talk:122539] * ext/openssl/ossl_pkey_rsa.c (Init_ossl_rsa): add new constants PKCS1_PADDING, SSLV23_PADDING, NO_PADDING and PKCS1_OAEP_PADDING under OpenSSL::PKey::RSA. * test/openssl/test_pkey_rsa.rb: new file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-03* ext/readline/readline.c: check $SAFE. (backported from CVS HEAD)shugo
* test/readline/test_readline.rb: added tests for readline. (backported from CVS HEAD) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-03* original nkf2 revision 1.47naruse
* option --cp932inv turns on by default * new option --cp932: turns on all CP932 compatibility * changed option --no-cp932: turns off all CP932 compatibility git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-03ext/nkf/test.rb(mime_out2): add --no-cp932naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-03* ext/nkf/nkf.c: add constant NKF::VERSIONnaruse
* ext/nkf/nkf.c(guess): this becomes an alias of guess2 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-02* ext/tk/lib/tk.rb: widget configuration by TkWindow#method_missingnagai
returns proper object. "widget.option = val" returns val, and "widget.option(val)" returns self. * ext/tk/lib/tk/font.rb: TkFont#replace accepts only one font argument. * ext/tk/lib/tk/radiobutton.rb: add TkRadiobutton#value and value=(val). * ext/tk/lib/tk/spinbox.rb: callback substitution support on command option. * ext/tk/sample/demos-en/widget: bug fix (wrong image height) * ext/tk/sample/demos-jp/widget: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29* ext/stringio/stringio.c (strio_write): insufficiently filled stringnobu
being extended when overwriting. [ruby-core:03836] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-27String::IO -> StringIOakr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-26* ext/tk/lib/tk.rb: Tk.destroy uses TkWindow#epathnagai
* ext/tk/lib/tk/image.rb: bug fix * ext/tk/lib/tk/wm.rb: add 'iconphoto' method(Windows only) * ext/tk/lib/tkextlib/*: some methods uses TkWindow#epath git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25bugfix for [ruby-talk:121309].ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25Use 'P' instead of 'p' in types.rb.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-24Improved encode_type() in types.rb for [ruby-talk:121175].ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-22* ext/tk/lib/tk/menu.rb: improve usability of TkOptionMenubuttonnagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-20* original revision 1.7naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-19* add and change mime encode/decode testsnaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-19* original nkf.c rev:1.40naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-18* ext/stringio/stringio.c: needs fcntl.h for O_* constants.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-18* io.c, rubyio.h (rb_io_modenum_flags): exported.nobu
* ext/stringio/stringio.c (strio_initialize): allow Fixnum as mode as well as IO.new does. [ruby-dev:24896] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16* ext/stringio/stringio.c (strio_read): position was ignored when anobu
buffer was passed. http://www.yo.rim.or.jp/~nov/d/?date=20041116#p03 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-14* ext/gdbm/gdbm.c (fgdbm_store): StringValue() may alter stringmatz
pointer. [ruby-dev:24783] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-12* ext/tk/lib/tk/event.rb: remove $LOADED_FEATURES tricknagai
* ext/tk/lib/tk.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-10* dir.c (rb_glob2): do not allocate buffer from heap to avoidmatz
memory leaks. use string object for buffering instead. [ruby-dev:24738] * dir.c (join_path): ditto. * io.c (io_read): external input buffer may be modified even after rb_str_locktmp(). [ruby-dev:24735] * dir.c (fnmatch): p or s may be NULL. [ruby-dev:24749] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-09* ext/tcltklib/tcltklib.c: fix SEGV when compiled with Tcl/Tk8.3.x or oldernagai
* ext/tk/lib/tkextlib/tile/style.rb: bug fix git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-07* ext/tk/lib/tk.rb: bind-event methods accept multi substitution arguments.nagai
* ext/tk/lib/tk/canvas.rb: ditto. * ext/tk/lib/tk/canvastag.rb: ditto. * ext/tk/lib/tk/text.rb: ditto. * ext/tk/lib/tk/texttag.rb: ditto. * ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb: ditto. * ext/tk/lib/tkextlib/tktable/tktable.rb: ditto. * ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-05* ext/tk/lib/tk/scrollable.rb: divide Scrollable module into X_Scrollablenagai
and Y_Scrollable * ext/tk/lib/tk/entry.rb: include X_Scrollable instead of Scrollable * ext/tk/lib/tk/autoload.rb: define autoload for X_Scrollable and Y_Scrollable git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-05* ext/tk/lib/tk.rb: TkComm._at() supprts both of "@x,y" and "@x"nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-05* ext/tk/lib/tk/text.rb: sorry. bug fix again.nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-05* ext/tk/lib/tk/text.rb: bug fixnagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-04* ext/tk/lib/tk/variable.rb: forget to initialize instance_variablesnagai
of TkVarAccess objects git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-04* gc.c (gc_mark): enable GC stack checking.matz
* string.c (str_gsub): lock strings temporarily. [ruby-dev:24687] * ext/socket/socket.c (s_recvfrom): tmplock input buffer. [ruby-dev:24705] * array.c (rb_ary_uniq_bang): do not push frozen string from hash table. [ruby-dev:24695] * array.c (rb_ary_and): ditto. * array.c (rb_ary_or): ditto. * ext/enumerator/enumerator.c (each_cons_i): pass copy of an internal consequent array. [ruby-talk:118691] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-03* ext/tk/lib/tk.rb: support to use different Tcl commands betweennagai
configure and configinfo * ext/tk/lib/font.rb: ditto. * ext/tk/lib/itemconfig.rb: support to use different Tcl commands between item_configure and item_configinfo * ext/tk/lib/itemfont.rb: ditto. * ext/tk/extconf.rb: install SUPPORT_STATUS * ext/tk/lib/tkextlib: some bug fixes (see ext/tk/ChangeLog.tkextlib) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-03* follow nkf 2.0.4naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e