aboutsummaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* * process.c (proc_setgroups): [ruby-dev:25081]matz2004-12-061-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * re.c (rb_reg_eqq): document fix. [ruby-talk:122541] * io.c (io_fread): take VALUE argument. * ext/socket/socket.c (sock_connect): use rb_str_new4(). [ruby-dev:25052] * eval.c (rb_yield_0): [ruby-dev:25051] * 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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rubyio.h, intern.h, io.c, file.c, process.c, ext/socket/socket.c,akr2004-12-065-71/+47
| | | | | | | | | | | ext/pty/pty.c, ext/io/wait/wait.c, ext/openssl/ossl_ssl.c: Use own buffering mechanism instead of stdio. * io.c, ext/stringio/stringio.c, test/ruby/ut_eof.rb: EOF flag removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_pkey_rsa.c (ossl_rsa_public_encrypt,gotoyuzo2004-12-051-25/+40
| | | | | | | | | | | | | | | 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/trunk@7465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: widget configuration by TkWindow#method_missingnagai2004-12-026-5/+71
| | | | | | | | | | | | | 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/trunk@7442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * original nkf2 revision 1.47naruse2004-12-011-20/+30
| | | | | | | | | * mime encode/decode are improved * --cp932inv turns on as default * add long name option --cp932 which turns on all CP932 option git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add constant NKF::VERSIONnaruse2004-12-011-4/+4
| | | | | | | * NKF.guess becomes an alias of NKF.guess2 (based on nkf2) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add --no-cp932naruse2004-12-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_write): insufficiently filled stringnobu2004-11-291-1/+1
| | | | | | | being extended when overwriting. [ruby-core:03836] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* String::IO -> StringIOakr2004-11-271-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: Tk.destroy uses TkWindow#epathnagai2004-11-269-15/+57
| | | | | | | | | * 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/trunk@7386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bugfix for [ruby-talk:121309].ttate2004-11-253-13/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use 'P' instead of 'p' in types.rb.ttate2004-11-253-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* improved encode_type() in types.rb for [ruby-talk:121175].ttate2004-11-243-67/+128
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/menu.rb: improve usability of TkOptionMenubuttonnagai2004-11-221-18/+41
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/ripper/.cvsignore: add entries.aamine2004-11-201-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/ripper/depend: fix ripper.o dependency.aamine2004-11-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * follow original nkf.c 1.40.(improve mime encode/decode support)naruse2004-11-192-82/+412
| | | | | | | * add test for mime encode/decode git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c (readline_s_set_completion_append_character):shugo2004-11-191-4/+9
| | | | | | | accept nil. [ruby-core:03765] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/ripper/depend: Never regenerate lib/ripper/core.rb automatically. ↵aamine2004-11-181-3/+2
| | | | | | [ruby-dev:24911] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c: check $SAFE.shugo2004-11-181-15/+50
| | | | | | | * test/readline/test_readline.rb: added tests for readline. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c: needs fcntl.h for O_* constants.nobu2004-11-181-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c, rubyio.h (rb_io_modenum_flags): exported.nobu2004-11-181-10/+12
| | | | | | | | * 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/trunk@7304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_read): position was ignored when anobu2004-11-161-1/+1
| | | | | | | buffer was passed. http://www.yo.rim.or.jp/~nov/d/?date=20041116#p03 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_clear): avoid revealing NULL pointer.matz2004-11-143-3/+4
| | | | | | | | | | | | | | | | | | [ruby-dev:24766] * string.c (str_gsub): add paranoid check. [ruby-dev:24827] * string.c (str_mod_check): check frozen status as well. [ruby-dev:24801] * lib/mathn.rb (Integer::gcd2): faster implementation by <erlercw@siu.edu>. [ruby-talk:120232] * ext/gdbm/gdbm.c (fgdbm_store): StringValue() may alter string pointer. [ruby-dev:24783] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/event.rb: remove $LOADED_FEATURES tricknagai2004-11-122-14/+12
| | | | | | | * ext/tk/lib/tk.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (rb_glob2): do not allocate buffer from heap to avoidmatz2004-11-101-7/+0
| | | | | | | | | | | | | | | 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/trunk@7242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: fix SEGV when compiled with Tcl/Tk8.3.x or oldernagai2004-11-093-0/+15
| | | | | | | * ext/tk/lib/tkextlib/tile/style.rb: bug fix git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove dump listnaruse2004-11-091-2/+2
| | | | | | | * remove CR git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * nkf_test.pl rev:1.7naruse2004-11-091-135/+246
| | | | | | | * fix bug: mime tests fail git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * fix bug arround parse optionsnaruse2004-11-091-9/+12
| | | | | | | * add versioning constants git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * nkf.c rev:1.38naruse2004-11-091-86/+98
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: bind-event methods accept multi substitution arguments.nagai2004-11-079-74/+83
| | | | | | | | | | | | | * 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/trunk@7223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: rename WIN32OLE#ole_obj_help tosuke2004-11-062-6/+15
| | | | | | | | | WIN32OLE#ole_type. alias ole_obj_help to ole_type. * ext/win32ole/tests/testWIN32OLE.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* follow CVS Head of original nkf.naruse2004-11-052-19/+131
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/scrollable.rb: divide Scrollable module into X_Scrollablenagai2004-11-053-17/+28
| | | | | | | | | 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/trunk@7212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: TkComm._at() supprts both of "@x,y" and "@x"nagai2004-11-051-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/text.rb: sorry. bug fix again.nagai2004-11-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/text.rb: bug fixnagai2004-11-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_gsub): should have removed rb_str_unlocktmp(str).matz2004-11-041-0/+3
| | | | | | | | | | [ruby-dev:24708] * ext/socket/socket.c (s_recvfrom): buffer modification check. [ruby-dev:24708] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_gsub): string modify check no longer based onmatz2004-11-041-5/+7
| | | | | | | tmplock. [ruby-dev:24706] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/win32ole/win32ole.c(typelib_file_from_typelib): search "win16"suke2004-11-041-5/+31
| | | | | | | | | | | | entry to get library path. ext/win32ole/win32ole.c(oletypelib_path): ditto. ext/win32ole/win32ole.c(ole_typedesc2val): add VT_LPWSTR, VT_LPSTR, VT_ERROR case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/variable.rb: forget to initialize instance_variablesnagai2004-11-041-0/+7
| | | | | | | of TkVarAccess objects git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_mark): enable GC stack checking.matz2004-11-041-0/+2
| | | | | | | | | | * string.c (str_gsub): lock strings temporarily. [ruby-dev:24687] * ext/socket/socket.c (s_recvfrom): tmplock input buffer. [ruby-dev:24705] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add rdoc style document.suke2004-11-031-68/+371
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: support to use different Tcl commands betweennagai2004-11-0314-47/+89
| | | | | | | | | | | | | 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/trunk@7188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/enumerator/enumerator.c (each_cons_i): pass copy of anmatz2004-11-021-8/+5
| | | | | | | internal consequent array. [ruby-talk:118691] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST, ext/**/MANIFEST: removed.eban2004-11-0132-1051/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (MANIFEST): do not use anymore, use extconf.rb instead.eban2004-11-014-3/+8
| | | | | | | | * ext/enumerator/extconf.rb, ext/fcntl/extconf.rb, ext/stringio/extconf.rb: added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/ripper/MANIFEST: typofix(src.rb -> src_rb).eban2004-10-311-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add WIN32OLE.codepage, WIN32OLE.codepage=suke2004-10-312-6/+103
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e